From 282bbd63a0fc2e0dc9ffa2627394127cfb65b4ad Mon Sep 17 00:00:00 2001 From: Dale Nguyen Date: Sat, 29 Jun 2024 14:34:42 -0400 Subject: [PATCH 1/3] chore: update styling --- docs/architectures/pdf-resize.tldr | 393 ++++++++++++++++++++--------- pdf/src/app/pages/(home).page.ts | 22 +- 2 files changed, 287 insertions(+), 128 deletions(-) diff --git a/docs/architectures/pdf-resize.tldr b/docs/architectures/pdf-resize.tldr index a31fba5..51762a0 100644 --- a/docs/architectures/pdf-resize.tldr +++ b/docs/architectures/pdf-resize.tldr @@ -7,28 +7,29 @@ "com.tldraw.asset": 1, "com.tldraw.camera": 1, "com.tldraw.document": 2, - "com.tldraw.instance": 24, + "com.tldraw.instance": 25, "com.tldraw.instance_page_state": 5, "com.tldraw.page": 1, "com.tldraw.instance_presence": 5, "com.tldraw.pointer": 1, "com.tldraw.shape": 4, - "com.tldraw.asset.bookmark": 1, - "com.tldraw.asset.image": 3, - "com.tldraw.asset.video": 3, + "com.tldraw.asset.bookmark": 2, + "com.tldraw.asset.image": 4, + "com.tldraw.asset.video": 4, "com.tldraw.shape.group": 0, "com.tldraw.shape.text": 2, "com.tldraw.shape.bookmark": 2, - "com.tldraw.shape.draw": 1, - "com.tldraw.shape.geo": 8, - "com.tldraw.shape.note": 6, - "com.tldraw.shape.line": 4, + "com.tldraw.shape.draw": 2, + "com.tldraw.shape.geo": 9, + "com.tldraw.shape.note": 7, + "com.tldraw.shape.line": 5, "com.tldraw.shape.frame": 0, - "com.tldraw.shape.arrow": 3, - "com.tldraw.shape.highlight": 0, + "com.tldraw.shape.arrow": 5, + "com.tldraw.shape.highlight": 1, "com.tldraw.shape.embed": 4, "com.tldraw.shape.image": 3, - "com.tldraw.shape.video": 2 + "com.tldraw.shape.video": 2, + "com.tldraw.binding.arrow": 0 } }, "records": [ @@ -42,9 +43,9 @@ { "id": "pointer:pointer", "typeName": "pointer", - "x": 103.41093946456904, - "y": 189.16876091957087, - "lastActivityTimestamp": 1717441424728, + "x": 556.4349137714677, + "y": 32.046347531343514, + "lastActivityTimestamp": 1719402855323, "meta": {} }, { @@ -64,7 +65,7 @@ "brush": null, "scribbles": [], "cursor": { - "type": "move", + "type": "default", "rotation": 0 }, "isFocusMode": false, @@ -74,12 +75,12 @@ "screenBounds": { "x": 0, "y": 0, - "w": 1550.4000244140625, - "h": 843.6000366210938 + "w": 1005.6000366210938, + "h": 762 }, "insets": [ false, - true, + false, true, false ], @@ -89,7 +90,6 @@ "chatMessage": "", "isChatting": false, "highlightedUserIds": [], - "canMoveCamera": true, "isFocused": true, "devicePixelRatio": 1.6666666269302368, "isCoarsePointer": false, @@ -104,12 +104,12 @@ "typeName": "instance" }, { - "editingShapeId": null, + "editingShapeId": "shape:dTNbTLPLL61ta_6jbjocN", "croppingShapeId": null, "selectedShapeIds": [ - "shape:oFsyCfAU5HECFOZuU9ajq" + "shape:dTNbTLPLL61ta_6jbjocN" ], - "hoveredShapeId": null, + "hoveredShapeId": "shape:dTNbTLPLL61ta_6jbjocN", "erasingShapeIds": [], "hintingShapeIds": [], "focusedGroupId": null, @@ -119,13 +119,166 @@ "typeName": "instance_page_state" }, { - "x": 45.60000108718877, - "y": 54.00000128746038, - "z": 1, + "x": -26.538951909468004, + "y": 138.4454676630347, + "z": 0.8723293017553589, "meta": {}, "id": "camera:page:page", "typeName": "camera" }, + { + "typeName": "binding", + "id": "binding:5Td9qNbzSm14QWcdywOzD", + "type": "arrow", + "fromId": "shape:Sk4MDr0pHuXyYrT9T-Y6R", + "toId": "shape:oFsyCfAU5HECFOZuU9ajq", + "meta": {}, + "props": { + "terminal": "start", + "normalizedAnchor": { + "x": 0.9315547598620971, + "y": 0.2095699483997506 + }, + "isExact": false, + "isPrecise": false + } + }, + { + "typeName": "binding", + "id": "binding:wqj8yXLoActCbJAMcYiBJ", + "type": "arrow", + "fromId": "shape:Sk4MDr0pHuXyYrT9T-Y6R", + "toId": "shape:aKckut0TkId9VCoFmJ3ZV", + "meta": {}, + "props": { + "terminal": "end", + "normalizedAnchor": { + "x": 0.07197993044839313, + "y": 0.4577187950407341 + }, + "isExact": false, + "isPrecise": true + } + }, + { + "typeName": "binding", + "id": "binding:qskgyMMhy14aBbKCiSt-z", + "type": "arrow", + "fromId": "shape:ehL39wa_JM_TRljlRywHz", + "toId": "shape:bTlPU6OKr2aPsY910zilR", + "meta": {}, + "props": { + "terminal": "end", + "normalizedAnchor": { + "x": 0.005209264155150209, + "y": 0.48348983720956906 + }, + "isExact": false, + "isPrecise": true + } + }, + { + "typeName": "binding", + "id": "binding:6h3Qnb-flKw0F3-u0k6I9", + "type": "arrow", + "fromId": "shape:BeBio8q6jC1G9rJi8hxD-", + "toId": "shape:zYeQQT2pi2txhvrM_Fo4d", + "meta": {}, + "props": { + "terminal": "end", + "normalizedAnchor": { + "x": 0.03009210596700703, + "y": 0.8238452580747774 + }, + "isExact": false, + "isPrecise": true + } + }, + { + "typeName": "binding", + "id": "binding:S1FqqT79RDK5yAQiUqLkK", + "type": "arrow", + "fromId": "shape:w4MfWsaCbCKWu8B9cIplq", + "toId": "shape:zYeQQT2pi2txhvrM_Fo4d", + "meta": {}, + "props": { + "terminal": "start", + "normalizedAnchor": { + "x": 0.9956299665859054, + "y": 0.4315237427805928 + }, + "isExact": false, + "isPrecise": false + } + }, + { + "typeName": "binding", + "id": "binding:s5VjqD2UtV-mdZgQ0DaUA", + "type": "arrow", + "fromId": "shape:w4MfWsaCbCKWu8B9cIplq", + "toId": "shape:pQUHJu2H6rgC9XWJTwtwf", + "meta": {}, + "props": { + "terminal": "end", + "normalizedAnchor": { + "x": 0.06223811084377685, + "y": 0.502875626773867 + }, + "isExact": false, + "isPrecise": true + } + }, + { + "typeName": "binding", + "id": "binding:2aOrMrz11rdbyP34LD9C0", + "type": "arrow", + "fromId": "shape:dp7it74B8lO44NtK2XOK2", + "toId": "shape:bTlPU6OKr2aPsY910zilR", + "meta": {}, + "props": { + "terminal": "start", + "normalizedAnchor": { + "x": 0.9947120888522598, + "y": 0.4568862137312613 + }, + "isExact": false, + "isPrecise": false + } + }, + { + "typeName": "binding", + "id": "binding:_qVK495rkb6HBrJNVJQ_Y", + "type": "arrow", + "fromId": "shape:dp7it74B8lO44NtK2XOK2", + "toId": "shape:pQUHJu2H6rgC9XWJTwtwf", + "meta": {}, + "props": { + "terminal": "end", + "normalizedAnchor": { + "x": 0.5196423759452327, + "y": 0.08667657836951285 + }, + "isExact": false, + "isPrecise": true + } + }, + { + "typeName": "binding", + "id": "binding:6mqho9jZyIWLVeyaOf6SV", + "type": "arrow", + "fromId": "shape:LJm3Uj55S8ftoMTEItCz6", + "toId": "shape:zYeQQT2pi2txhvrM_Fo4d", + "meta": {}, + "props": { + "terminal": "start", + "normalizedAnchor": { + "x": 0.3345457172071173, + "y": 0.9688007847023841 + }, + "isExact": false, + "isPrecise": false + } + }, { "x": 286.15313720703125, "y": 164.75157165527344, @@ -149,7 +302,8 @@ "align": "middle", "verticalAlign": "middle", "growY": 0, - "url": "" + "url": "", + "scale": 1 }, "parentId": "page:page", "index": "a1", @@ -178,7 +332,8 @@ "align": "middle", "verticalAlign": "middle", "growY": 0, - "url": "" + "url": "", + "scale": 1 }, "parentId": "page:page", "index": "a2", @@ -203,30 +358,19 @@ "labelColor": "black", "bend": 0, "start": { - "type": "binding", - "boundShapeId": "shape:oFsyCfAU5HECFOZuU9ajq", - "normalizedAnchor": { - "x": 0.9315547598620971, - "y": 0.2095699483997506 - }, - "isPrecise": false, - "isExact": false + "x": 0, + "y": 0 }, "end": { - "type": "binding", - "boundShapeId": "shape:aKckut0TkId9VCoFmJ3ZV", - "normalizedAnchor": { - "x": 0.07197993044839313, - "y": 0.4577187950407341 - }, - "isPrecise": true, - "isExact": false + "x": 0, + "y": 0 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", "text": "", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -253,7 +397,8 @@ "align": "middle", "verticalAlign": "middle", "growY": 0, - "url": "" + "url": "", + "scale": 1 }, "parentId": "page:page", "index": "a4", @@ -282,7 +427,8 @@ "align": "middle", "verticalAlign": "middle", "growY": 0, - "url": "" + "url": "", + "scale": 1 }, "parentId": "page:page", "index": "a5", @@ -307,25 +453,19 @@ "labelColor": "black", "bend": 0, "start": { - "type": "point", "x": 0, "y": 0 }, "end": { - "type": "binding", - "boundShapeId": "shape:bTlPU6OKr2aPsY910zilR", - "normalizedAnchor": { - "x": 0.005209264155150209, - "y": 0.48348983720956906 - }, - "isPrecise": true, - "isExact": false + "x": 0, + "y": 0 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", "text": "", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -348,25 +488,19 @@ "labelColor": "black", "bend": 0, "start": { - "type": "point", "x": 0, "y": 0 }, "end": { - "type": "binding", - "boundShapeId": "shape:zYeQQT2pi2txhvrM_Fo4d", - "normalizedAnchor": { - "x": 0.03009210596700703, - "y": 0.8238452580747774 - }, - "isPrecise": true, - "isExact": false + "x": 0, + "y": 0 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", "text": "", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -393,7 +527,8 @@ "align": "middle", "verticalAlign": "middle", "growY": 0, - "url": "" + "url": "", + "scale": 1 }, "parentId": "page:page", "index": "a7", @@ -418,30 +553,19 @@ "labelColor": "black", "bend": 0, "start": { - "type": "binding", - "boundShapeId": "shape:zYeQQT2pi2txhvrM_Fo4d", - "normalizedAnchor": { - "x": 0.9956299665859054, - "y": 0.4315237427805928 - }, - "isPrecise": false, - "isExact": false + "x": 0, + "y": 0 }, "end": { - "type": "binding", - "boundShapeId": "shape:pQUHJu2H6rgC9XWJTwtwf", - "normalizedAnchor": { - "x": 0.06223811084377685, - "y": 0.502875626773867 - }, - "isPrecise": true, - "isExact": false + "x": 0, + "y": 0 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", "text": "Trigger Event", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -464,30 +588,19 @@ "labelColor": "black", "bend": 0, "start": { - "type": "binding", - "boundShapeId": "shape:bTlPU6OKr2aPsY910zilR", - "normalizedAnchor": { - "x": 0.9947120888522598, - "y": 0.4568862137312613 - }, - "isPrecise": false, - "isExact": false + "x": 0, + "y": 0 }, "end": { - "type": "binding", - "boundShapeId": "shape:pQUHJu2H6rgC9XWJTwtwf", - "normalizedAnchor": { - "x": 0.5196423759452327, - "y": 0.08667657836951285 - }, - "isPrecise": true, - "isExact": false + "x": 0, + "y": 0 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", "text": "Retrieve file", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -510,20 +623,19 @@ "labelColor": "black", "bend": 47.76238143971562, "start": { - "type": "point", "x": 0, "y": 0 }, "end": { - "type": "point", "x": -269.7047119140625, "y": -182.7984390258789 }, "arrowheadStart": "none", "arrowheadEnd": "arrow", - "text": "upload resize file", + "text": "upload resized file", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -546,12 +658,10 @@ "labelColor": "black", "bend": -115.34878349086367, "start": { - "type": "point", "x": 0, "y": 0 }, "end": { - "type": "point", "x": -375.6187744140625, "y": -9.48748779296875 }, @@ -559,7 +669,8 @@ "arrowheadEnd": "arrow", "text": "save resized result", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" }, @@ -582,17 +693,10 @@ "labelColor": "black", "bend": -155.94947578387936, "start": { - "type": "binding", - "boundShapeId": "shape:zYeQQT2pi2txhvrM_Fo4d", - "normalizedAnchor": { - "x": 0.3345457172071173, - "y": 0.9688007847023841 - }, - "isPrecise": false, - "isExact": false + "x": 0, + "y": 0 }, "end": { - "type": "point", "x": -231.2203369140625, "y": -108.97500610351562 }, @@ -600,9 +704,62 @@ "arrowheadEnd": "arrow", "text": "display resized file", "labelPosition": 0.5, - "font": "draw" + "font": "draw", + "scale": 1 }, "typeName": "shape" + }, + { + "x": 604.3991476969574, + "y": 69.16679738709857, + "rotation": 0, + "isLocked": false, + "opacity": 1, + "meta": {}, + "id": "shape:dTNbTLPLL61ta_6jbjocN", + "type": "arrow", + "props": { + "dash": "draw", + "size": "m", + "fill": "none", + "color": "blue", + "labelColor": "black", + "bend": 96.7479756085921, + "start": { + "x": 0, + "y": 0 + }, + "end": { + "x": -272.2667410410149, + "y": 95.08486340318035 + }, + "arrowheadStart": "none", + "arrowheadEnd": "arrow", + "text": "download \nresized file", + "labelPosition": 0.593803011194761, + "font": "draw", + "scale": 1 + }, + "parentId": "page:page", + "index": "a1V", + "typeName": "shape" + }, + { + "meta": {}, + "id": "binding:lunMYNy8riEBZ3AxOT8x4", + "type": "arrow", + "fromId": "shape:dTNbTLPLL61ta_6jbjocN", + "toId": "shape:aKckut0TkId9VCoFmJ3ZV", + "props": { + "isPrecise": true, + "isExact": false, + "normalizedAnchor": { + "x": 0.4074206440496691, + "y": 0.05883399330307595 + }, + "terminal": "end" + }, + "typeName": "binding" } ] } \ No newline at end of file diff --git a/pdf/src/app/pages/(home).page.ts b/pdf/src/app/pages/(home).page.ts index b7fe48a..3bc757d 100644 --- a/pdf/src/app/pages/(home).page.ts +++ b/pdf/src/app/pages/(home).page.ts @@ -64,16 +64,18 @@ export const routeMeta: RouteMeta = {

} - - - Download PDF - - - + } From ee9f56fb5bd092d4d73915e1781c68f505a1d86e Mon Sep 17 00:00:00 2001 From: Dale Nguyen Date: Sat, 29 Jun 2024 15:03:51 -0400 Subject: [PATCH 2/3] feat: migrate Angular v18.1-next --- .prettierrc | 5 +- package.json | 22 ++++---- pdf/src/app/pages/(home).page.ts | 67 +++++++++++++----------- yarn.lock | 88 ++++++++++++++++---------------- 4 files changed, 92 insertions(+), 90 deletions(-) diff --git a/.prettierrc b/.prettierrc index fd496a8..058823f 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1 @@ -{ - "singleQuote": true, - "semi": false -} +{ "singleQuote": true, "semi": false, } diff --git a/package.json b/package.json index f3340f4..41db712 100644 --- a/package.json +++ b/package.json @@ -20,16 +20,16 @@ "dependencies": { "@analogjs/content": "1.5.0", "@analogjs/router": "1.5.0", - "@angular/animations": "18.1.0-next.2", - "@angular/common": "18.1.0-next.2", - "@angular/compiler": "18.1.0-next.2", - "@angular/core": "18.1.0-next.2", + "@angular/animations": "18.1.0-next.4", + "@angular/common": "18.1.0-next.4", + "@angular/compiler": "18.1.0-next.4", + "@angular/core": "18.1.0-next.4", "@angular/fire": "^17.1.0", - "@angular/forms": "18.1.0-next.2", - "@angular/platform-browser": "18.1.0-next.2", - "@angular/platform-browser-dynamic": "18.1.0-next.2", - "@angular/platform-server": "18.1.0-next.2", - "@angular/router": "18.1.0-next.2", + "@angular/forms": "18.1.0-next.4", + "@angular/platform-browser": "18.1.0-next.4", + "@angular/platform-browser-dynamic": "18.1.0-next.4", + "@angular/platform-server": "18.1.0-next.4", + "@angular/router": "18.1.0-next.4", "@google-cloud/firestore": "^7.7.0", "@google-cloud/storage": "^7.11.1", "firebase-admin": "^12.1.0", @@ -59,7 +59,7 @@ "@angular-eslint/eslint-plugin": "18.0.1", "@angular-eslint/eslint-plugin-template": "18.0.1", "@angular-eslint/template-parser": "18.0.1", - "@angular/compiler-cli": "18.1.0-next.2", + "@angular/compiler-cli": "18.1.0-next.4", "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "@nx/angular": "19.3.0", @@ -100,7 +100,7 @@ "nx": "19.3.0", "postcss": "^8.4.5", "postcss-url": "~10.1.3", - "prettier": "^2.6.2", + "prettier": "3.3.2", "tailwindcss": "^3.0.2", "ts-jest": "^29.1.0", "ts-node": "10.9.1", diff --git a/pdf/src/app/pages/(home).page.ts b/pdf/src/app/pages/(home).page.ts index 3bc757d..f553db7 100644 --- a/pdf/src/app/pages/(home).page.ts +++ b/pdf/src/app/pages/(home).page.ts @@ -44,38 +44,43 @@ export const routeMeta: RouteMeta = { class="mb-4" /> - @if(loading()) { -
-

Your file is uploaded and processing. Please wait for a moment ;)

-
- } @if(errorMessage()) { -

{{ errorMessage() }}

- } @if(downloadUrl$ | async; as downloadUrl) { - - - @if(this.newFileSize() < this.currentFileSize()) { -

- Congratulations! Your file is reduced by - {{ - this.currentFileSize() - this.newFileSize() | byteSizeFormatter - }}! -

+ @if (loading()) { +
+

+ Your file is uploaded and processing. Please wait for a moment ;) +

+
} - + @if (errorMessage()) { +

{{ errorMessage() }}

+ } + + @if (downloadUrl$ | async; as downloadUrl) { + + @if (this.newFileSize() < this.currentFileSize()) { +

+ Congratulations! Your file is reduced by + {{ + this.currentFileSize() - this.newFileSize() | byteSizeFormatter + }}! +

+ } + + } @@ -108,7 +113,7 @@ export default class HomeComponent extends PdfHandlerBase { const storageRef = ref( this.storage, - `${this.generateFilePath()}/${fileName}` + `${this.generateFilePath()}/${fileName}`, ) const result = await uploadBytesResumable(storageRef, file) const { uid = 'anonymous' } = diff --git a/yarn.lock b/yarn.lock index 416ba7e..aa70949 100644 --- a/yarn.lock +++ b/yarn.lock @@ -233,10 +233,10 @@ dependencies: "@angular-eslint/bundled-angular-compiler" "18.0.1" -"@angular/animations@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-18.1.0-next.2.tgz#524c3ac31ec40fa89dd404acbd32d84facd6ac88" - integrity sha512-wD/f6ucqMvLMTIdnYqc1A5RPNfxGoyY6picw9kVwd8/5fvvfwb+jgaCwvQbSXTzdSV703Lbs7iQHSKU0xHqIZA== +"@angular/animations@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-18.1.0-next.4.tgz#2c8c28e6e91851ca722695d81370a97ce3b61c8c" + integrity sha512-zghQrsRcMgXSvViw7EKkL5Y/d/PG0hm9+MO8cy7knM6GCpjPISLCu0xkFA83oJRdfhAGi5MAGBeMMtsFsxahHQ== dependencies: tslib "^2.3.0" @@ -271,17 +271,17 @@ vite "5.2.11" watchpack "2.4.1" -"@angular/common@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/common/-/common-18.1.0-next.2.tgz#20e45f954f2c83091d88756aef1c4af01a02c8b8" - integrity sha512-cgwSj9dpJMCIDW2DtkSbHR3aQ3gcLRqrPW0P80XYJiGn4uLLpyYwcoagJ/LHRWpRjN5Zq8dUoffU7Bn5DY/vqw== +"@angular/common@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/common/-/common-18.1.0-next.4.tgz#9db0f33089165b387c54c0f8673f51630b48f6cd" + integrity sha512-TlvhkPDR5dmByNT0gT5hZt7NRaRw9C2mQoIck9pj3NHxcNmWjMzL9Gunnoga3DkMsyUzyUbEclKXkKc/iPGYpQ== dependencies: tslib "^2.3.0" -"@angular/compiler-cli@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-18.1.0-next.2.tgz#04e3bde8e5840a9f279c947f4181de6187691329" - integrity sha512-p5oqK0PNgNk2LsDJfnfe3gClj63BN9ltLaZ1phwawan7GGHhzWPtq2GB9lD9tsHPhfZvbB2N+MudwZ7JwO/a9Q== +"@angular/compiler-cli@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-18.1.0-next.4.tgz#7c6c3069535d9aaa8eed2592971dbb0d7ff5ab8a" + integrity sha512-OVJV8qNy9e4rLnYi0q4WQWFeYvAfFgk0c8z0D7LsWjP6ZUjS2Jzun1lkGR1QFf3QtFh+yRo/8xkpgPL+9GVxGw== dependencies: "@babel/core" "7.24.7" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -292,17 +292,17 @@ tslib "^2.3.0" yargs "^17.2.1" -"@angular/compiler@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-18.1.0-next.2.tgz#4c00403aa23cd53997ac3022e10f0d8e9b125bcb" - integrity sha512-mIM9PU9ucZGJmh/eJ6y6jcTDOT1k18W0SdHuTWqICjUNGAOdT8QYAFBhpEtwB6eArxEWrbLXN7ypV9DYsHfdlQ== +"@angular/compiler@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-18.1.0-next.4.tgz#a69cb9cafbb703ad2d15803ff61a7318ed0c2685" + integrity sha512-56oDkkM2h+AKHWP6H4sgGV0NH8xotWi1HIG5oEsPiiKjOY/mAJbnKHyTdd4jS/HZ+b+KFzfoqOU1ud/OVkVyJQ== dependencies: tslib "^2.3.0" -"@angular/core@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-18.1.0-next.2.tgz#17c61d6876c1ce0a6abe4e5d54c5976e3e40d083" - integrity sha512-HJCfA8pdUlY2P0Fo7yPp1GwDw1a7ukLyQPnopJ4Ewmv/3Pe+/LfzbOz+9jweRew7k3gHGejL9JHwCs78e0iXJA== +"@angular/core@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-18.1.0-next.4.tgz#df0b965eb63dbe30d32060ff18ebf1caf44756d3" + integrity sha512-tSn2Zpt+tdmNws7twzRkvVnj6G4TPxSxP93CzWZgK9ipvm0+1d5TleR84v73YFhNoN4fL0cgxuWsm3fP2+2oXg== dependencies: tslib "^2.3.0" @@ -328,39 +328,39 @@ tslib "^2.3.0" winston "^3.0.0" -"@angular/forms@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-18.1.0-next.2.tgz#106a80a68ebfd10a634f6cfaf4102d7af2e556cd" - integrity sha512-Jmy3K3ktNl4o1rC70mxddMOhU/OhA1v1CHoRk33GyQJK5M0dthyTFwj3puG5WB+GffJq3cUFNZq8TPPRJ3y6xw== +"@angular/forms@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-18.1.0-next.4.tgz#2b54a31ad84b943238852816fadebefffd1ff8b5" + integrity sha512-PZAajkpxfV8AWGfuluHQXJg3WzQhzhbUVwY9TUyQWNJ+SDxO2opSjEMVKPpEcVboVEeZgbuyv6Wn2YbmlCvKMg== dependencies: tslib "^2.3.0" -"@angular/platform-browser-dynamic@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.1.0-next.2.tgz#173f74d63fcb782b97049679d9d8bec5215e5b15" - integrity sha512-S0lE4TyWBMdaSMpOXGcBTry/pMG2dqb2zQ5hYXQyBcGoioXJuy8tmiAgr3g2acwiSSgvHy5NIdN0/6+aICkfzw== +"@angular/platform-browser-dynamic@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.1.0-next.4.tgz#a4fd5fc35d1aace7dc5d9718cc8599962bfb1ba0" + integrity sha512-/WelYivY+ttqvcDkNfSa2UqkjvNzavozyUtXav5h4hgZ6CS4BRAlKfZ89K+wplwKnMys3BzQ5XqXi92mXokvyw== dependencies: tslib "^2.3.0" -"@angular/platform-browser@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-18.1.0-next.2.tgz#d61f8661e017127d71180ea0e6316dcf653bb48f" - integrity sha512-uMU1JpPP0nv24ib1ApkBmy1GDe02YJAsIr2MJ9oQ/m2AWut4kSiybzkTBvGM0XjLjfeWFnffEhM2ydnijwu3/A== +"@angular/platform-browser@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-18.1.0-next.4.tgz#9993b02321630a44d1d4d7d1f79e24475526be49" + integrity sha512-fssmwFONBomVxzAlerrd0kVuzISyIhmYkwaZAOA1i6KhZj5l1yzSvgx4M5bshvooEddJNySud+nvE8tFNe0l/Q== dependencies: tslib "^2.3.0" -"@angular/platform-server@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-18.1.0-next.2.tgz#ffc4299fdac77333d84309883a6d1261a3f8c20d" - integrity sha512-3uo9LkbJpCuZ4L4D0Z2DRn6lTxwOTdzIMNkgvCbAqbz1WXKaJ8Ux5HQ98LZ8TRszQHBFC77dzlgf0vdQxV+GZA== +"@angular/platform-server@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-18.1.0-next.4.tgz#f1572cf1296a7076e020500217a1a241eac4792a" + integrity sha512-pKI4C4SjhvdDVUy4PwXO+c5035oHKSPSzQFTERbs54DpSMd/H/F2vGEvorLpDaLbP72/d57feiQsUtln4oOL4w== dependencies: tslib "^2.3.0" xhr2 "^0.2.0" -"@angular/router@18.1.0-next.2": - version "18.1.0-next.2" - resolved "https://registry.yarnpkg.com/@angular/router/-/router-18.1.0-next.2.tgz#73c6e2707e3f043eaf1fc0323bcc1bfdcd06185c" - integrity sha512-coQ/KtR6DE8xLzl9v8jW3C6jNvGMtNG/0mKW+uoDF8rk8Wi8u5ZTDc4O2ThDG1PT711y5d6zcjnXiCWH2VpWzg== +"@angular/router@18.1.0-next.4": + version "18.1.0-next.4" + resolved "https://registry.yarnpkg.com/@angular/router/-/router-18.1.0-next.4.tgz#7ccec782296f2118d452ec3d0efbcbcfbccfc829" + integrity sha512-61myyv+DuuSaRMlRDBmdtX4x4Fb1MdWbeWo0dH9rW/FGCot5NbzFDvR6vTF/N/oVxbqYMO75ihAUyEDNmWoVUQ== dependencies: tslib "^2.3.0" @@ -12635,10 +12635,10 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@^2.6.2: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a" + integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA== pretty-bytes@^6.1.1: version "6.1.1" From 69d3d0d20f416dcb387c9a5b40d385cfec6660bf Mon Sep 17 00:00:00 2001 From: Dale Nguyen Date: Sun, 30 Jun 2024 21:00:09 -0400 Subject: [PATCH 3/3] chore: fix lint --- libs/ui/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ui/package.json b/libs/ui/package.json index aa4e48e..fbef68d 100644 --- a/libs/ui/package.json +++ b/libs/ui/package.json @@ -2,11 +2,11 @@ "name": "@pdfun/ui", "version": "0.0.1", "peerDependencies": { - "@angular/common": "^18.0.0", - "@angular/core": "^18.0.0", - "@angular/router": "18.0.0", + "@angular/common": "^18.1.0-next.4", + "@angular/core": "^18.1.0-next.4", + "@angular/router": "18.1.0-next.4", "primeng": "17.18.0", - "@nx/angular": "19.1.0" + "@nx/angular": "19.3.0" }, "sideEffects": false }