@ngstarter-ui/components 21.0.34 → 21.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +6 -13
- package/fesm2022/ngstarter-ui-components-panel.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +187 -54
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngstarter-ui-components-panel.d.ts +1 -1
- package/types/ngstarter-ui-components-pdf-viewer.d.ts +22 -1
|
@@ -6864,13 +6864,13 @@
|
|
|
6864
6864
|
"exampleTopics": [
|
|
6865
6865
|
"Basic pdf viewer"
|
|
6866
6866
|
],
|
|
6867
|
-
"minimalExample": "<ngs-pdf-viewer\n [src]=\"src()\"\n [documentName]=\"documentName()\"\n [wasmUrl]=\"wasmUrl\"\n [showAnnotationsPanel]=\"true\"\n [annotationsDataSource]=\"annotationsDataSource\"\n class=\"pdf-viewer-example\"
|
|
6867
|
+
"minimalExample": "<ngs-pdf-viewer\n [src]=\"src()\"\n [documentName]=\"documentName()\"\n [wasmUrl]=\"wasmUrl\"\n [showAnnotationsPanel]=\"true\"\n [annotationsDataSource]=\"annotationsDataSource\"\n class=\"pdf-viewer-example\">\n <ng-template ngsPdfViewerAnnotation=\"risk\" let-annotation let-goToPage=\"goToPage\">\n <article class=\"rounded-2xl border border-border bg-surface p-4 shadow-xs\">\n <header class=\"flex items-start gap-3\">\n <span class=\"flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-full bg-primary-container text-xs font-semibold text-on-primary-container\">\n {{ annotation.avatarLabel || annotation.author.charAt(0) }}\n </span>\n <span class=\"min-w-0 flex-1\">\n <span class=\"block truncate text-sm font-semibold text-on-surface\">{{ annotation.author }}</span>\n @if (annotation.time) {\n <span class=\"block truncate text-xs text-on-surface-variant\">{{ annotation.time }}</span>\n }\n </span>\n <span class=\"rounded-full bg-surface-container-high px-2 py-1 text-xs font-medium tracking-normal text-on-surface-variant uppercase\">\n Risk\n </span>\n </header>\n <p class=\"mt-3 mb-0 text-base leading-relaxed text-on-surface\">{{ annotation.text }}</p>\n <footer class=\"mt-4 flex items-center justify-between gap-2\">\n <button\n ngsButton=\"tonal\"\n type=\"button\"\n (click)=\"goToPage(annotation.pageNumber)\">\n Page {{ annotation.pageNumber }}\n </button>\n <button ngsButton=\"text\" type=\"button\">\n Reply\n </button>\n <\n...",
|
|
6868
6868
|
"exampleFiles": [
|
|
6869
6869
|
{
|
|
6870
6870
|
"name": "basic-pdf-viewer-example",
|
|
6871
6871
|
"title": "Basic pdf viewer",
|
|
6872
6872
|
"file": "projects/docs/src/app/libraries/pdf-viewer/_examples/basic-pdf-viewer-example/basic-pdf-viewer-example.html",
|
|
6873
|
-
"source": "<ngs-pdf-viewer\n [src]=\"src()\"\n [documentName]=\"documentName()\"\n [wasmUrl]=\"wasmUrl\"\n [showAnnotationsPanel]=\"true\"\n [annotationsDataSource]=\"annotationsDataSource\"\n class=\"pdf-viewer-example\"
|
|
6873
|
+
"source": "<ngs-pdf-viewer\n [src]=\"src()\"\n [documentName]=\"documentName()\"\n [wasmUrl]=\"wasmUrl\"\n [showAnnotationsPanel]=\"true\"\n [annotationsDataSource]=\"annotationsDataSource\"\n class=\"pdf-viewer-example\">\n <ng-template ngsPdfViewerAnnotation=\"risk\" let-annotation let-goToPage=\"goToPage\">\n <article class=\"rounded-2xl border border-border bg-surface p-4 shadow-xs\">\n <header class=\"flex items-start gap-3\">\n <span class=\"flex size-9 shrink-0 items-center justify-center overflow-hidden rounded-full bg-primary-container text-xs font-semibold text-on-primary-container\">\n {{ annotation.avatarLabel || annotation.author.charAt(0) }}\n </span>\n <span class=\"min-w-0 flex-1\">\n <span class=\"block truncate text-sm font-semibold text-on-surface\">{{ annotation.author }}</span>\n @if (annotation.time) {\n <span class=\"block truncate text-xs text-on-surface-variant\">{{ annotation.time }}</span>\n }\n </span>\n <span class=\"rounded-full bg-surface-container-high px-2 py-1 text-xs font-medium tracking-normal text-on-surface-variant uppercase\">\n Risk\n </span>\n </header>\n <p class=\"mt-3 mb-0 text-base leading-relaxed text-on-surface\">{{ annotation.text }}</p>\n <footer class=\"mt-4 flex items-center justify-between gap-2\">\n <button\n ngsButton=\"tonal\"\n type=\"button\"\n (click)=\"goToPage(annotation.pageNumber)\">\n Page {{ annotation.pageNumber }}\n </button>\n <button ngsButton=\"text\" type=\"button\">\n Reply\n </button>\n <\n..."
|
|
6874
6874
|
}
|
|
6875
6875
|
],
|
|
6876
6876
|
"previewAsset": "projects/components/pdf-viewer/preview.svg",
|
|
@@ -6947,21 +6947,14 @@
|
|
|
6947
6947
|
"searchChanged"
|
|
6948
6948
|
],
|
|
6949
6949
|
"cssTokens": [
|
|
6950
|
-
"--ngs-
|
|
6951
|
-
"--ngs-card-padding",
|
|
6952
|
-
"--ngs-card-radius",
|
|
6953
|
-
"--ngs-color-border",
|
|
6954
|
-
"--ngs-color-on-surface",
|
|
6955
|
-
"--ngs-color-on-surface-variant",
|
|
6956
|
-
"--ngs-color-surface",
|
|
6957
|
-
"--ngs-color-surface-container-lowest",
|
|
6958
|
-
"--ngs-font-size-base",
|
|
6959
|
-
"--ngs-font-size-sm",
|
|
6950
|
+
"--ngs-color-primary",
|
|
6960
6951
|
"--ngs-pdf-viewer-aside-width",
|
|
6961
6952
|
"--ngs-pdf-viewer-height",
|
|
6962
6953
|
"--ngs-pdf-viewer-min-height",
|
|
6954
|
+
"--ngs-pdf-viewer-page-gap",
|
|
6955
|
+
"--ngs-pdf-viewer-page-padding",
|
|
6963
6956
|
"--ngs-pdf-viewer-sidebar-width",
|
|
6964
|
-
"--ngs-
|
|
6957
|
+
"--ngs-pdf-viewer-spread-gap"
|
|
6965
6958
|
],
|
|
6966
6959
|
"example": null
|
|
6967
6960
|
},
|
|
@@ -127,5 +127,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
127
127
|
* Generated bundle index. Do not edit.
|
|
128
128
|
*/
|
|
129
129
|
|
|
130
|
-
export { PANEL_CONTENT, Panel, PanelAside, PanelContent, PanelFooter, PanelHeader, PanelSidebar };
|
|
130
|
+
export { PANEL_CONTENT, Panel, PanelAside, PanelContent, PanelFooter, PanelHeader, PanelSidebar, PanelSubheader };
|
|
131
131
|
//# sourceMappingURL=ngstarter-ui-components-panel.mjs.map
|