@shival99/z-ui 2.0.18 → 2.0.19
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/fesm2022/shival99-z-ui-components-z-autocomplete.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-editor.mjs +27 -7
- package/fesm2022/shival99-z-ui-components-z-editor.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-filter.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-filter.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs +36 -17
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-input.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-input.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-menu.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-popover.mjs +20 -6
- package/fesm2022/shival99-z-ui-components-z-popover.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-select.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-select.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +7 -3
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-editor.d.ts +4 -1
- package/types/shival99-z-ui-components-z-gallery.d.ts +4 -1
- package/types/shival99-z-ui-components-z-popover.d.ts +7 -3
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-table.d.ts +2 -1
|
@@ -130,15 +130,15 @@ const getFileCategory = (file) => {
|
|
|
130
130
|
if (type === 'application/pdf' || ext === 'pdf') {
|
|
131
131
|
return 'pdf';
|
|
132
132
|
}
|
|
133
|
-
if (type.includes('word') || type.includes('document') || WORD_EXTENSIONS.includes(ext)) {
|
|
134
|
-
return 'word';
|
|
135
|
-
}
|
|
136
133
|
if (type.includes('excel') || type.includes('spreadsheet') || EXCEL_EXTENSIONS.includes(ext)) {
|
|
137
134
|
return 'excel';
|
|
138
135
|
}
|
|
139
136
|
if (type.includes('powerpoint') || type.includes('presentation') || POWERPOINT_EXTENSIONS.includes(ext)) {
|
|
140
137
|
return 'powerpoint';
|
|
141
138
|
}
|
|
139
|
+
if (type.includes('word') || type.includes('wordprocessingml') || WORD_EXTENSIONS.includes(ext)) {
|
|
140
|
+
return 'word';
|
|
141
|
+
}
|
|
142
142
|
if (type.startsWith('video/') || VIDEO_EXTENSIONS.includes(ext)) {
|
|
143
143
|
return 'video';
|
|
144
144
|
}
|
|
@@ -386,7 +386,7 @@ class ZGalleryItemComponent {
|
|
|
386
386
|
</div>
|
|
387
387
|
|
|
388
388
|
<div class="p-3">
|
|
389
|
-
<p class="text-foreground truncate text-sm leading-
|
|
389
|
+
<p class="text-foreground truncate text-sm leading-normal font-semibold" z-tooltip [zContent]="file().name">
|
|
390
390
|
{{ file().name }}
|
|
391
391
|
</p>
|
|
392
392
|
@if (formattedDate()) {
|
|
@@ -611,7 +611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
611
611
|
</div>
|
|
612
612
|
|
|
613
613
|
<div class="p-3">
|
|
614
|
-
<p class="text-foreground truncate text-sm leading-
|
|
614
|
+
<p class="text-foreground truncate text-sm leading-normal font-semibold" z-tooltip [zContent]="file().name">
|
|
615
615
|
{{ file().name }}
|
|
616
616
|
</p>
|
|
617
617
|
@if (formattedDate()) {
|
|
@@ -781,8 +781,9 @@ class ZGalleryPreviewComponent {
|
|
|
781
781
|
await this._loadText(url);
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
catch {
|
|
785
|
-
|
|
784
|
+
catch (error) {
|
|
785
|
+
const message = error instanceof Error ? error.message : 'Failed to load file content';
|
|
786
|
+
this.conversionError.set(message);
|
|
786
787
|
}
|
|
787
788
|
finally {
|
|
788
789
|
this.isConverting.set(false);
|
|
@@ -791,15 +792,19 @@ class ZGalleryPreviewComponent {
|
|
|
791
792
|
}
|
|
792
793
|
async _loadDocx(url) {
|
|
793
794
|
const response = await fetch(url);
|
|
795
|
+
this._assertSuccessfulResponse(response);
|
|
794
796
|
const arrayBuffer = await response.arrayBuffer();
|
|
795
|
-
const
|
|
797
|
+
const mammothModule = await import('mammoth');
|
|
798
|
+
const mammoth = mammothModule.default ?? mammothModule;
|
|
796
799
|
const result = await mammoth.convertToHtml({ arrayBuffer });
|
|
797
800
|
this.docHtmlContent.set(this._sanitizer.bypassSecurityTrustHtml(result.value));
|
|
798
801
|
}
|
|
799
802
|
async _loadExcel(url) {
|
|
800
803
|
const response = await fetch(url);
|
|
804
|
+
this._assertSuccessfulResponse(response);
|
|
801
805
|
const arrayBuffer = await response.arrayBuffer();
|
|
802
|
-
const
|
|
806
|
+
const xlsxModule = await import('xlsx');
|
|
807
|
+
const XLSX = xlsxModule.default ?? xlsxModule;
|
|
803
808
|
const workbook = XLSX.read(arrayBuffer);
|
|
804
809
|
const firstSheet = workbook.Sheets[workbook.SheetNames[0]];
|
|
805
810
|
const html = XLSX.utils.sheet_to_html(firstSheet);
|
|
@@ -807,9 +812,15 @@ class ZGalleryPreviewComponent {
|
|
|
807
812
|
}
|
|
808
813
|
async _loadText(url) {
|
|
809
814
|
const response = await fetch(url);
|
|
815
|
+
this._assertSuccessfulResponse(response);
|
|
810
816
|
const text = await response.text();
|
|
811
817
|
this.textContent.set(text);
|
|
812
818
|
}
|
|
819
|
+
_assertSuccessfulResponse(response) {
|
|
820
|
+
if (!response.ok) {
|
|
821
|
+
throw new Error(`Failed to fetch file: ${response.status}`);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
813
824
|
_completeLoading() {
|
|
814
825
|
const elapsed = Date.now() - this._loadingStartTime;
|
|
815
826
|
const remaining = this._minLoadingTime - elapsed;
|
|
@@ -1109,7 +1120,7 @@ class ZGalleryPreviewComponent {
|
|
|
1109
1120
|
</div>
|
|
1110
1121
|
} @else if (docHtmlContent()) {
|
|
1111
1122
|
<div
|
|
1112
|
-
class="absolute inset-0 overflow-auto rounded-lg bg-white p-8 shadow-2xl"
|
|
1123
|
+
class="absolute inset-0 overflow-auto rounded-lg bg-white p-8 text-gray-950 shadow-2xl"
|
|
1113
1124
|
[innerHTML]="docHtmlContent()"
|
|
1114
1125
|
></div>
|
|
1115
1126
|
}
|
|
@@ -1131,7 +1142,7 @@ class ZGalleryPreviewComponent {
|
|
|
1131
1142
|
</div>
|
|
1132
1143
|
} @else if (docHtmlContent()) {
|
|
1133
1144
|
<div
|
|
1134
|
-
class="absolute inset-0 overflow-auto rounded-lg bg-white p-4 shadow-2xl"
|
|
1145
|
+
class="absolute inset-0 overflow-auto rounded-lg bg-white p-4 text-gray-950 shadow-2xl"
|
|
1135
1146
|
[innerHTML]="docHtmlContent()"
|
|
1136
1147
|
></div>
|
|
1137
1148
|
}
|
|
@@ -1376,7 +1387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
1376
1387
|
</div>
|
|
1377
1388
|
} @else if (docHtmlContent()) {
|
|
1378
1389
|
<div
|
|
1379
|
-
class="absolute inset-0 overflow-auto rounded-lg bg-white p-8 shadow-2xl"
|
|
1390
|
+
class="absolute inset-0 overflow-auto rounded-lg bg-white p-8 text-gray-950 shadow-2xl"
|
|
1380
1391
|
[innerHTML]="docHtmlContent()"
|
|
1381
1392
|
></div>
|
|
1382
1393
|
}
|
|
@@ -1398,7 +1409,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
1398
1409
|
</div>
|
|
1399
1410
|
} @else if (docHtmlContent()) {
|
|
1400
1411
|
<div
|
|
1401
|
-
class="absolute inset-0 overflow-auto rounded-lg bg-white p-4 shadow-2xl"
|
|
1412
|
+
class="absolute inset-0 overflow-auto rounded-lg bg-white p-4 text-gray-950 shadow-2xl"
|
|
1402
1413
|
[innerHTML]="docHtmlContent()"
|
|
1403
1414
|
></div>
|
|
1404
1415
|
}
|
|
@@ -1528,6 +1539,7 @@ class ZGalleryComponent {
|
|
|
1528
1539
|
zMode = model('grid', ...(ngDevMode ? [{ debugName: "zMode" }] : []));
|
|
1529
1540
|
zSize = input('default', ...(ngDevMode ? [{ debugName: "zSize" }] : []));
|
|
1530
1541
|
zColumns = input(4, ...(ngDevMode ? [{ debugName: "zColumns" }] : []));
|
|
1542
|
+
zItemWidth = input(null, ...(ngDevMode ? [{ debugName: "zItemWidth" }] : []));
|
|
1531
1543
|
zShowDownload = input(true, ...(ngDevMode ? [{ debugName: "zShowDownload" }] : []));
|
|
1532
1544
|
zShowPreview = input(true, ...(ngDevMode ? [{ debugName: "zShowPreview" }] : []));
|
|
1533
1545
|
zShowRemove = input(false, ...(ngDevMode ? [{ debugName: "zShowRemove" }] : []));
|
|
@@ -1558,6 +1570,9 @@ class ZGalleryComponent {
|
|
|
1558
1570
|
return index === 1 ? 'list' : 'grid';
|
|
1559
1571
|
}, ...(ngDevMode ? [{ debugName: "currentMode" }] : []));
|
|
1560
1572
|
gridColumnsClass = computed(() => {
|
|
1573
|
+
if (this.zItemWidth()) {
|
|
1574
|
+
return 'justify-start';
|
|
1575
|
+
}
|
|
1561
1576
|
const cols = this.zColumns();
|
|
1562
1577
|
switch (cols) {
|
|
1563
1578
|
case 1:
|
|
@@ -1576,6 +1591,10 @@ class ZGalleryComponent {
|
|
|
1576
1591
|
return `grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-${cols}`;
|
|
1577
1592
|
}
|
|
1578
1593
|
}, ...(ngDevMode ? [{ debugName: "gridColumnsClass" }] : []));
|
|
1594
|
+
gridTemplateColumns = computed(() => {
|
|
1595
|
+
const itemWidth = this.zItemWidth();
|
|
1596
|
+
return itemWidth ? `repeat(auto-fit, minmax(${itemWidth}, 1fr))` : null;
|
|
1597
|
+
}, ...(ngDevMode ? [{ debugName: "gridTemplateColumns" }] : []));
|
|
1579
1598
|
containerClasses = computed(() => zMergeClasses(zGalleryVariants({ zSize: this.zSize() }), this.zClass()), ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
1580
1599
|
showHeader = computed(() => this.zTitle() || this.zShowSearch() || (this.zShowModeToggle() && this.zFiles().length > 0), ...(ngDevMode ? [{ debugName: "showHeader" }] : []));
|
|
1581
1600
|
toggleIconSize = computed(() => {
|
|
@@ -1730,7 +1749,7 @@ class ZGalleryComponent {
|
|
|
1730
1749
|
selectedFiles.forEach(file => this.onDownload(file));
|
|
1731
1750
|
}
|
|
1732
1751
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ZGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1733
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: ZGalleryComponent, isStandalone: true, selector: "z-gallery", inputs: { zFiles: { classPropertyName: "zFiles", publicName: "zFiles", isSignal: true, isRequired: false, transformFunction: null }, zMode: { classPropertyName: "zMode", publicName: "zMode", isSignal: true, isRequired: false, transformFunction: null }, zSize: { classPropertyName: "zSize", publicName: "zSize", isSignal: true, isRequired: false, transformFunction: null }, zColumns: { classPropertyName: "zColumns", publicName: "zColumns", isSignal: true, isRequired: false, transformFunction: null }, zShowDownload: { classPropertyName: "zShowDownload", publicName: "zShowDownload", isSignal: true, isRequired: false, transformFunction: null }, zShowPreview: { classPropertyName: "zShowPreview", publicName: "zShowPreview", isSignal: true, isRequired: false, transformFunction: null }, zShowRemove: { classPropertyName: "zShowRemove", publicName: "zShowRemove", isSignal: true, isRequired: false, transformFunction: null }, zShowModeToggle: { classPropertyName: "zShowModeToggle", publicName: "zShowModeToggle", isSignal: true, isRequired: false, transformFunction: null }, zShowSearch: { classPropertyName: "zShowSearch", publicName: "zShowSearch", isSignal: true, isRequired: false, transformFunction: null }, zServerSearch: { classPropertyName: "zServerSearch", publicName: "zServerSearch", isSignal: true, isRequired: false, transformFunction: null }, zSearchPlaceholder: { classPropertyName: "zSearchPlaceholder", publicName: "zSearchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, zToggleSize: { classPropertyName: "zToggleSize", publicName: "zToggleSize", isSignal: true, isRequired: false, transformFunction: null }, zTitle: { classPropertyName: "zTitle", publicName: "zTitle", isSignal: true, isRequired: false, transformFunction: null }, zEmptyText: { classPropertyName: "zEmptyText", publicName: "zEmptyText", isSignal: true, isRequired: false, transformFunction: null }, zEmptyIcon: { classPropertyName: "zEmptyIcon", publicName: "zEmptyIcon", isSignal: true, isRequired: false, transformFunction: null }, zClass: { classPropertyName: "zClass", publicName: "zClass", isSignal: true, isRequired: false, transformFunction: null }, zSelectable: { classPropertyName: "zSelectable", publicName: "zSelectable", isSignal: true, isRequired: false, transformFunction: null }, zSelectedFiles: { classPropertyName: "zSelectedFiles", publicName: "zSelectedFiles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { zMode: "zModeChange", zSelectedFiles: "zSelectedFilesChange", zOnDownload: "zOnDownload", zOnPreview: "zOnPreview", zOnRemove: "zOnRemove", zModeChange: "zModeChange", zSearchChange: "zSearchChange", zControl: "zControl", zSelectionChange: "zSelectionChange", zOnAction: "zOnAction" }, host: { classAttribute: "z-gallery block" }, exportAs: ["zGallery"], ngImport: i0, template: `
|
|
1752
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: ZGalleryComponent, isStandalone: true, selector: "z-gallery", inputs: { zFiles: { classPropertyName: "zFiles", publicName: "zFiles", isSignal: true, isRequired: false, transformFunction: null }, zMode: { classPropertyName: "zMode", publicName: "zMode", isSignal: true, isRequired: false, transformFunction: null }, zSize: { classPropertyName: "zSize", publicName: "zSize", isSignal: true, isRequired: false, transformFunction: null }, zColumns: { classPropertyName: "zColumns", publicName: "zColumns", isSignal: true, isRequired: false, transformFunction: null }, zItemWidth: { classPropertyName: "zItemWidth", publicName: "zItemWidth", isSignal: true, isRequired: false, transformFunction: null }, zShowDownload: { classPropertyName: "zShowDownload", publicName: "zShowDownload", isSignal: true, isRequired: false, transformFunction: null }, zShowPreview: { classPropertyName: "zShowPreview", publicName: "zShowPreview", isSignal: true, isRequired: false, transformFunction: null }, zShowRemove: { classPropertyName: "zShowRemove", publicName: "zShowRemove", isSignal: true, isRequired: false, transformFunction: null }, zShowModeToggle: { classPropertyName: "zShowModeToggle", publicName: "zShowModeToggle", isSignal: true, isRequired: false, transformFunction: null }, zShowSearch: { classPropertyName: "zShowSearch", publicName: "zShowSearch", isSignal: true, isRequired: false, transformFunction: null }, zServerSearch: { classPropertyName: "zServerSearch", publicName: "zServerSearch", isSignal: true, isRequired: false, transformFunction: null }, zSearchPlaceholder: { classPropertyName: "zSearchPlaceholder", publicName: "zSearchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, zToggleSize: { classPropertyName: "zToggleSize", publicName: "zToggleSize", isSignal: true, isRequired: false, transformFunction: null }, zTitle: { classPropertyName: "zTitle", publicName: "zTitle", isSignal: true, isRequired: false, transformFunction: null }, zEmptyText: { classPropertyName: "zEmptyText", publicName: "zEmptyText", isSignal: true, isRequired: false, transformFunction: null }, zEmptyIcon: { classPropertyName: "zEmptyIcon", publicName: "zEmptyIcon", isSignal: true, isRequired: false, transformFunction: null }, zClass: { classPropertyName: "zClass", publicName: "zClass", isSignal: true, isRequired: false, transformFunction: null }, zSelectable: { classPropertyName: "zSelectable", publicName: "zSelectable", isSignal: true, isRequired: false, transformFunction: null }, zSelectedFiles: { classPropertyName: "zSelectedFiles", publicName: "zSelectedFiles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { zMode: "zModeChange", zSelectedFiles: "zSelectedFilesChange", zOnDownload: "zOnDownload", zOnPreview: "zOnPreview", zOnRemove: "zOnRemove", zModeChange: "zModeChange", zSearchChange: "zSearchChange", zControl: "zControl", zSelectionChange: "zSelectionChange", zOnAction: "zOnAction" }, host: { classAttribute: "z-gallery block" }, exportAs: ["zGallery"], ngImport: i0, template: `
|
|
1734
1753
|
<div [class]="containerClasses()">
|
|
1735
1754
|
@if (showHeader()) {
|
|
1736
1755
|
<div class="mb-4 flex flex-wrap items-center justify-between gap-3">
|
|
@@ -1820,7 +1839,7 @@ class ZGalleryComponent {
|
|
|
1820
1839
|
|
|
1821
1840
|
@if (filteredFiles().length > 0) {
|
|
1822
1841
|
@if (currentMode() === 'grid') {
|
|
1823
|
-
<div class="grid gap-4" [class]="gridColumnsClass()">
|
|
1842
|
+
<div class="grid gap-4" [class]="gridColumnsClass()" [style.gridTemplateColumns]="gridTemplateColumns()">
|
|
1824
1843
|
@for (file of filteredFiles(); track file.id) {
|
|
1825
1844
|
<z-gallery-item
|
|
1826
1845
|
[file]="file"
|
|
@@ -1990,7 +2009,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
1990
2009
|
|
|
1991
2010
|
@if (filteredFiles().length > 0) {
|
|
1992
2011
|
@if (currentMode() === 'grid') {
|
|
1993
|
-
<div class="grid gap-4" [class]="gridColumnsClass()">
|
|
2012
|
+
<div class="grid gap-4" [class]="gridColumnsClass()" [style.gridTemplateColumns]="gridTemplateColumns()">
|
|
1994
2013
|
@for (file of filteredFiles(); track file.id) {
|
|
1995
2014
|
<z-gallery-item
|
|
1996
2015
|
[file]="file"
|
|
@@ -2058,7 +2077,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
2058
2077
|
},
|
|
2059
2078
|
exportAs: 'zGallery',
|
|
2060
2079
|
}]
|
|
2061
|
-
}], propDecorators: { zFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "zFiles", required: false }] }], zMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "zMode", required: false }] }, { type: i0.Output, args: ["zModeChange"] }], zSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSize", required: false }] }], zColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "zColumns", required: false }] }], zShowDownload: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowDownload", required: false }] }], zShowPreview: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowPreview", required: false }] }], zShowRemove: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowRemove", required: false }] }], zShowModeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowModeToggle", required: false }] }], zShowSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowSearch", required: false }] }], zServerSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "zServerSearch", required: false }] }], zSearchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSearchPlaceholder", required: false }] }], zToggleSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "zToggleSize", required: false }] }], zTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "zTitle", required: false }] }], zEmptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "zEmptyText", required: false }] }], zEmptyIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "zEmptyIcon", required: false }] }], zClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "zClass", required: false }] }], zSelectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSelectable", required: false }] }], zSelectedFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSelectedFiles", required: false }] }, { type: i0.Output, args: ["zSelectedFilesChange"] }], zOnDownload: [{ type: i0.Output, args: ["zOnDownload"] }], zOnPreview: [{ type: i0.Output, args: ["zOnPreview"] }], zOnRemove: [{ type: i0.Output, args: ["zOnRemove"] }], zModeChange: [{ type: i0.Output, args: ["zModeChange"] }], zSearchChange: [{ type: i0.Output, args: ["zSearchChange"] }], zControl: [{ type: i0.Output, args: ["zControl"] }], zSelectionChange: [{ type: i0.Output, args: ["zSelectionChange"] }], zOnAction: [{ type: i0.Output, args: ["zOnAction"] }] } });
|
|
2080
|
+
}], propDecorators: { zFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "zFiles", required: false }] }], zMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "zMode", required: false }] }, { type: i0.Output, args: ["zModeChange"] }], zSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSize", required: false }] }], zColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "zColumns", required: false }] }], zItemWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "zItemWidth", required: false }] }], zShowDownload: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowDownload", required: false }] }], zShowPreview: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowPreview", required: false }] }], zShowRemove: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowRemove", required: false }] }], zShowModeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowModeToggle", required: false }] }], zShowSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "zShowSearch", required: false }] }], zServerSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "zServerSearch", required: false }] }], zSearchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSearchPlaceholder", required: false }] }], zToggleSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "zToggleSize", required: false }] }], zTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "zTitle", required: false }] }], zEmptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "zEmptyText", required: false }] }], zEmptyIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "zEmptyIcon", required: false }] }], zClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "zClass", required: false }] }], zSelectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSelectable", required: false }] }], zSelectedFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "zSelectedFiles", required: false }] }, { type: i0.Output, args: ["zSelectedFilesChange"] }], zOnDownload: [{ type: i0.Output, args: ["zOnDownload"] }], zOnPreview: [{ type: i0.Output, args: ["zOnPreview"] }], zOnRemove: [{ type: i0.Output, args: ["zOnRemove"] }], zModeChange: [{ type: i0.Output, args: ["zModeChange"] }], zSearchChange: [{ type: i0.Output, args: ["zSearchChange"] }], zControl: [{ type: i0.Output, args: ["zControl"] }], zSelectionChange: [{ type: i0.Output, args: ["zSelectionChange"] }], zOnAction: [{ type: i0.Output, args: ["zOnAction"] }] } });
|
|
2062
2081
|
|
|
2063
2082
|
class ZGalleryFileIconComponent {
|
|
2064
2083
|
file = input.required(...(ngDevMode ? [{ debugName: "file" }] : []));
|