yukit-web 0.10.9 → 0.11.1
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/yukit-web.mjs +48 -56
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +12 -9
package/fesm2022/yukit-web.mjs
CHANGED
|
@@ -809,6 +809,7 @@ function createPagedList(options) {
|
|
|
809
809
|
};
|
|
810
810
|
}, ...ngDevMode ? [{ debugName: "range" }] : /* istanbul ignore next */ []);
|
|
811
811
|
effect(() => {
|
|
812
|
+
if (options.ready && !options.ready()) return;
|
|
812
813
|
const current = query();
|
|
813
814
|
untracked(() => options.load(current));
|
|
814
815
|
});
|
|
@@ -22160,13 +22161,10 @@ const SHARE_ICONS = {
|
|
|
22160
22161
|
var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
22161
22162
|
constructor() {
|
|
22162
22163
|
this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
22163
|
-
this.
|
|
22164
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
22165
|
-
transform: booleanAttribute
|
|
22166
|
-
});
|
|
22164
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22167
22165
|
this.source = input.required(...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
22168
22166
|
this.title = input(...ngDevMode ? [void 0, { debugName: "title" }] : /* istanbul ignore next */ []);
|
|
22169
|
-
this.
|
|
22167
|
+
this.shareRequested = output();
|
|
22170
22168
|
this.items = computed(() => YUW_TABLE_SHARE_FORMATS.map((format) => ({
|
|
22171
22169
|
format,
|
|
22172
22170
|
icon: SHARE_ICONS[format],
|
|
@@ -22174,8 +22172,8 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22174
22172
|
})), ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
22175
22173
|
}
|
|
22176
22174
|
async onShare(format) {
|
|
22177
|
-
if (
|
|
22178
|
-
this.
|
|
22175
|
+
if (this.serverSideFormats().includes(format)) {
|
|
22176
|
+
this.shareRequested.emit(format);
|
|
22179
22177
|
return;
|
|
22180
22178
|
}
|
|
22181
22179
|
try {
|
|
@@ -22214,9 +22212,9 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22214
22212
|
isRequired: true,
|
|
22215
22213
|
transformFunction: null
|
|
22216
22214
|
},
|
|
22217
|
-
|
|
22218
|
-
classPropertyName: "
|
|
22219
|
-
publicName: "
|
|
22215
|
+
serverSideFormats: {
|
|
22216
|
+
classPropertyName: "serverSideFormats",
|
|
22217
|
+
publicName: "serverSideFormats",
|
|
22220
22218
|
isSignal: true,
|
|
22221
22219
|
isRequired: false,
|
|
22222
22220
|
transformFunction: null
|
|
@@ -22236,7 +22234,7 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22236
22234
|
transformFunction: null
|
|
22237
22235
|
}
|
|
22238
22236
|
},
|
|
22239
|
-
outputs: {
|
|
22237
|
+
outputs: { shareRequested: "shareRequested" },
|
|
22240
22238
|
host: { classAttribute: "flex shrink-0" },
|
|
22241
22239
|
providers: [provideIcons({
|
|
22242
22240
|
lucideClipboardCopy,
|
|
@@ -22339,11 +22337,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22339
22337
|
required: true
|
|
22340
22338
|
}]
|
|
22341
22339
|
}],
|
|
22342
|
-
|
|
22340
|
+
serverSideFormats: [{
|
|
22343
22341
|
type: i0.Input,
|
|
22344
22342
|
args: [{
|
|
22345
22343
|
isSignal: true,
|
|
22346
|
-
alias: "
|
|
22344
|
+
alias: "serverSideFormats",
|
|
22347
22345
|
required: false
|
|
22348
22346
|
}]
|
|
22349
22347
|
}],
|
|
@@ -22363,9 +22361,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22363
22361
|
required: false
|
|
22364
22362
|
}]
|
|
22365
22363
|
}],
|
|
22366
|
-
|
|
22364
|
+
shareRequested: [{
|
|
22367
22365
|
type: i0.Output,
|
|
22368
|
-
args: ["
|
|
22366
|
+
args: ["shareRequested"]
|
|
22369
22367
|
}]
|
|
22370
22368
|
}
|
|
22371
22369
|
});
|
|
@@ -22383,10 +22381,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22383
22381
|
this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
22384
22382
|
this.search = model("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
22385
22383
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
22386
|
-
this.
|
|
22387
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
22388
|
-
transform: booleanAttribute
|
|
22389
|
-
});
|
|
22384
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22390
22385
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
22391
22386
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
22392
22387
|
this.showExport = input(false, {
|
|
@@ -22396,8 +22391,8 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22396
22391
|
this.viewMode = model(...ngDevMode ? [void 0, { debugName: "viewMode" }] : /* istanbul ignore next */ []);
|
|
22397
22392
|
this.viewModeIcons = input(...ngDevMode ? [void 0, { debugName: "viewModeIcons" }] : /* istanbul ignore next */ []);
|
|
22398
22393
|
this.exported = output();
|
|
22399
|
-
this.printRequested = output();
|
|
22400
22394
|
this.searched = output();
|
|
22395
|
+
this.shareRequested = output();
|
|
22401
22396
|
this.searchOpen = signal(false, ...ngDevMode ? [{ debugName: "searchOpen" }] : /* istanbul ignore next */ []);
|
|
22402
22397
|
this.share = computed(() => {
|
|
22403
22398
|
const source = this.shareSource();
|
|
@@ -22514,9 +22509,9 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22514
22509
|
isRequired: false,
|
|
22515
22510
|
transformFunction: null
|
|
22516
22511
|
},
|
|
22517
|
-
|
|
22518
|
-
classPropertyName: "
|
|
22519
|
-
publicName: "
|
|
22512
|
+
serverSideFormats: {
|
|
22513
|
+
classPropertyName: "serverSideFormats",
|
|
22514
|
+
publicName: "serverSideFormats",
|
|
22520
22515
|
isSignal: true,
|
|
22521
22516
|
isRequired: false,
|
|
22522
22517
|
transformFunction: null
|
|
@@ -22562,8 +22557,8 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22562
22557
|
search: "searchChange",
|
|
22563
22558
|
viewMode: "viewModeChange",
|
|
22564
22559
|
exported: "exported",
|
|
22565
|
-
|
|
22566
|
-
|
|
22560
|
+
searched: "searched",
|
|
22561
|
+
shareRequested: "shareRequested"
|
|
22567
22562
|
},
|
|
22568
22563
|
host: { classAttribute: "flex items-center gap-2" },
|
|
22569
22564
|
providers: [provideIcons({
|
|
@@ -22574,7 +22569,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22574
22569
|
lucideSettings2
|
|
22575
22570
|
})],
|
|
22576
22571
|
ngImport: i0,
|
|
22577
|
-
template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [labels]=\"share.labels\"\n [
|
|
22572
|
+
template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader class=\"px-2 pt-2 pb-1 text-sm text-muted-foreground\">{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (hasHiddenColumns()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n",
|
|
22578
22573
|
dependencies: [
|
|
22579
22574
|
{
|
|
22580
22575
|
kind: "component",
|
|
@@ -22718,11 +22713,11 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22718
22713
|
selector: "yuws-list-toolbar-share",
|
|
22719
22714
|
inputs: [
|
|
22720
22715
|
"labels",
|
|
22721
|
-
"
|
|
22716
|
+
"serverSideFormats",
|
|
22722
22717
|
"source",
|
|
22723
22718
|
"title"
|
|
22724
22719
|
],
|
|
22725
|
-
outputs: ["
|
|
22720
|
+
outputs: ["shareRequested"]
|
|
22726
22721
|
}
|
|
22727
22722
|
],
|
|
22728
22723
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -22759,7 +22754,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22759
22754
|
lucideSettings2
|
|
22760
22755
|
})],
|
|
22761
22756
|
host: { class: "flex items-center gap-2" },
|
|
22762
|
-
template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [labels]=\"share.labels\"\n [
|
|
22757
|
+
template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader class=\"px-2 pt-2 pb-1 text-sm text-muted-foreground\">{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (hasHiddenColumns()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n"
|
|
22763
22758
|
}]
|
|
22764
22759
|
}],
|
|
22765
22760
|
propDecorators: {
|
|
@@ -22825,11 +22820,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22825
22820
|
required: false
|
|
22826
22821
|
}]
|
|
22827
22822
|
}],
|
|
22828
|
-
|
|
22823
|
+
serverSideFormats: [{
|
|
22829
22824
|
type: i0.Input,
|
|
22830
22825
|
args: [{
|
|
22831
22826
|
isSignal: true,
|
|
22832
|
-
alias: "
|
|
22827
|
+
alias: "serverSideFormats",
|
|
22833
22828
|
required: false
|
|
22834
22829
|
}]
|
|
22835
22830
|
}],
|
|
@@ -22880,13 +22875,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22880
22875
|
type: i0.Output,
|
|
22881
22876
|
args: ["exported"]
|
|
22882
22877
|
}],
|
|
22883
|
-
printRequested: [{
|
|
22884
|
-
type: i0.Output,
|
|
22885
|
-
args: ["printRequested"]
|
|
22886
|
-
}],
|
|
22887
22878
|
searched: [{
|
|
22888
22879
|
type: i0.Output,
|
|
22889
22880
|
args: ["searched"]
|
|
22881
|
+
}],
|
|
22882
|
+
shareRequested: [{
|
|
22883
|
+
type: i0.Output,
|
|
22884
|
+
args: ["shareRequested"]
|
|
22890
22885
|
}]
|
|
22891
22886
|
}
|
|
22892
22887
|
});
|
|
@@ -24168,10 +24163,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24168
24163
|
this.search = model("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
24169
24164
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
24170
24165
|
this.selection = model({}, ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
|
|
24171
|
-
this.
|
|
24172
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
24173
|
-
transform: booleanAttribute
|
|
24174
|
-
});
|
|
24166
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
24175
24167
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
24176
24168
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
24177
24169
|
this.showExport = input(false, {
|
|
@@ -24181,11 +24173,11 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24181
24173
|
this.viewMode = model(...ngDevMode ? [void 0, { debugName: "viewMode" }] : /* istanbul ignore next */ []);
|
|
24182
24174
|
this.viewModeIcons = input(...ngDevMode ? [void 0, { debugName: "viewModeIcons" }] : /* istanbul ignore next */ []);
|
|
24183
24175
|
this.exported = output();
|
|
24184
|
-
this.printRequested = output();
|
|
24185
24176
|
this.searched = output();
|
|
24186
24177
|
this.setDeleted = output();
|
|
24187
24178
|
this.setRenamed = output();
|
|
24188
24179
|
this.setSaved = output();
|
|
24180
|
+
this.shareRequested = output();
|
|
24189
24181
|
this.isMobile = injectIsMobile();
|
|
24190
24182
|
}
|
|
24191
24183
|
static {
|
|
@@ -24283,9 +24275,9 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24283
24275
|
isRequired: false,
|
|
24284
24276
|
transformFunction: null
|
|
24285
24277
|
},
|
|
24286
|
-
|
|
24287
|
-
classPropertyName: "
|
|
24288
|
-
publicName: "
|
|
24278
|
+
serverSideFormats: {
|
|
24279
|
+
classPropertyName: "serverSideFormats",
|
|
24280
|
+
publicName: "serverSideFormats",
|
|
24289
24281
|
isSignal: true,
|
|
24290
24282
|
isRequired: false,
|
|
24291
24283
|
transformFunction: null
|
|
@@ -24332,11 +24324,11 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24332
24324
|
selection: "selectionChange",
|
|
24333
24325
|
viewMode: "viewModeChange",
|
|
24334
24326
|
exported: "exported",
|
|
24335
|
-
printRequested: "printRequested",
|
|
24336
24327
|
searched: "searched",
|
|
24337
24328
|
setDeleted: "setDeleted",
|
|
24338
24329
|
setRenamed: "setRenamed",
|
|
24339
|
-
setSaved: "setSaved"
|
|
24330
|
+
setSaved: "setSaved",
|
|
24331
|
+
shareRequested: "shareRequested"
|
|
24340
24332
|
},
|
|
24341
24333
|
host: { classAttribute: "flex items-center gap-3 max-md:flex-wrap max-md:gap-2" },
|
|
24342
24334
|
queries: [{
|
|
@@ -24345,7 +24337,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24345
24337
|
isSignal: true
|
|
24346
24338
|
}],
|
|
24347
24339
|
ngImport: i0,
|
|
24348
|
-
template: "<!-- Filters -->\n<div class=\"flex flex-1 items-center max-md:contents\">\n @if (filterGroups(); as groups) {\n <yuws-list-toolbar-filters\n [disabled]=\"filtersDisabled()\"\n [groups]=\"groups\"\n [contents]=\"filterContents()\"\n [idleColor]=\"idleColor()\"\n [labels]=\"labels().filters\"\n [sets]=\"filterSets()\"\n [(selection)]=\"selection\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n</div>\n\n<!-- Actions -->\n<div class=\"flex min-w-0 items-center gap-2 max-md:ms-auto\">\n <yuws-list-toolbar-actions\n [defaultHiddenColumns]=\"defaultHiddenColumns()\"\n [hideableColumns]=\"hideableColumns()\"\n [(hiddenColumns)]=\"hiddenColumns\"\n [isMobile]=\"isMobile()\"\n [labels]=\"labels()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n [
|
|
24340
|
+
template: "<!-- Filters -->\n<div class=\"flex flex-1 items-center max-md:contents\">\n @if (filterGroups(); as groups) {\n <yuws-list-toolbar-filters\n [disabled]=\"filtersDisabled()\"\n [groups]=\"groups\"\n [contents]=\"filterContents()\"\n [idleColor]=\"idleColor()\"\n [labels]=\"labels().filters\"\n [sets]=\"filterSets()\"\n [(selection)]=\"selection\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n</div>\n\n<!-- Actions -->\n<div class=\"flex min-w-0 items-center gap-2 max-md:ms-auto\">\n <yuws-list-toolbar-actions\n [defaultHiddenColumns]=\"defaultHiddenColumns()\"\n [hideableColumns]=\"hideableColumns()\"\n [(hiddenColumns)]=\"hiddenColumns\"\n [isMobile]=\"isMobile()\"\n [labels]=\"labels()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n [serverSideFormats]=\"serverSideFormats()\"\n [shareSource]=\"shareSource()\"\n [shareTitle]=\"shareTitle()\"\n [showExport]=\"showExport()\"\n [(viewMode)]=\"viewMode\"\n [viewModeIcons]=\"viewModeIcons()\"\n [(search)]=\"search\"\n (exported)=\"exported.emit($event)\"\n (shareRequested)=\"shareRequested.emit($event)\"\n (searched)=\"searched.emit($event)\"\n />\n\n <ng-content />\n</div>\n",
|
|
24349
24341
|
dependencies: [{
|
|
24350
24342
|
kind: "component",
|
|
24351
24343
|
type: YuwsListToolbarActionsComponent,
|
|
@@ -24358,7 +24350,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24358
24350
|
"labels",
|
|
24359
24351
|
"search",
|
|
24360
24352
|
"searchPlaceholder",
|
|
24361
|
-
"
|
|
24353
|
+
"serverSideFormats",
|
|
24362
24354
|
"shareSource",
|
|
24363
24355
|
"shareTitle",
|
|
24364
24356
|
"showExport",
|
|
@@ -24370,8 +24362,8 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24370
24362
|
"searchChange",
|
|
24371
24363
|
"viewModeChange",
|
|
24372
24364
|
"exported",
|
|
24373
|
-
"
|
|
24374
|
-
"
|
|
24365
|
+
"searched",
|
|
24366
|
+
"shareRequested"
|
|
24375
24367
|
]
|
|
24376
24368
|
}, {
|
|
24377
24369
|
kind: "component",
|
|
@@ -24409,7 +24401,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24409
24401
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24410
24402
|
imports: [YuwsListToolbarActionsComponent, YuwsListToolbarFiltersComponent],
|
|
24411
24403
|
host: { class: "flex items-center gap-3 max-md:flex-wrap max-md:gap-2" },
|
|
24412
|
-
template: "<!-- Filters -->\n<div class=\"flex flex-1 items-center max-md:contents\">\n @if (filterGroups(); as groups) {\n <yuws-list-toolbar-filters\n [disabled]=\"filtersDisabled()\"\n [groups]=\"groups\"\n [contents]=\"filterContents()\"\n [idleColor]=\"idleColor()\"\n [labels]=\"labels().filters\"\n [sets]=\"filterSets()\"\n [(selection)]=\"selection\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n</div>\n\n<!-- Actions -->\n<div class=\"flex min-w-0 items-center gap-2 max-md:ms-auto\">\n <yuws-list-toolbar-actions\n [defaultHiddenColumns]=\"defaultHiddenColumns()\"\n [hideableColumns]=\"hideableColumns()\"\n [(hiddenColumns)]=\"hiddenColumns\"\n [isMobile]=\"isMobile()\"\n [labels]=\"labels()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n [
|
|
24404
|
+
template: "<!-- Filters -->\n<div class=\"flex flex-1 items-center max-md:contents\">\n @if (filterGroups(); as groups) {\n <yuws-list-toolbar-filters\n [disabled]=\"filtersDisabled()\"\n [groups]=\"groups\"\n [contents]=\"filterContents()\"\n [idleColor]=\"idleColor()\"\n [labels]=\"labels().filters\"\n [sets]=\"filterSets()\"\n [(selection)]=\"selection\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n</div>\n\n<!-- Actions -->\n<div class=\"flex min-w-0 items-center gap-2 max-md:ms-auto\">\n <yuws-list-toolbar-actions\n [defaultHiddenColumns]=\"defaultHiddenColumns()\"\n [hideableColumns]=\"hideableColumns()\"\n [(hiddenColumns)]=\"hiddenColumns\"\n [isMobile]=\"isMobile()\"\n [labels]=\"labels()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n [serverSideFormats]=\"serverSideFormats()\"\n [shareSource]=\"shareSource()\"\n [shareTitle]=\"shareTitle()\"\n [showExport]=\"showExport()\"\n [(viewMode)]=\"viewMode\"\n [viewModeIcons]=\"viewModeIcons()\"\n [(search)]=\"search\"\n (exported)=\"exported.emit($event)\"\n (shareRequested)=\"shareRequested.emit($event)\"\n (searched)=\"searched.emit($event)\"\n />\n\n <ng-content />\n</div>\n"
|
|
24413
24405
|
}]
|
|
24414
24406
|
}],
|
|
24415
24407
|
propDecorators: {
|
|
@@ -24514,11 +24506,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24514
24506
|
type: i0.Output,
|
|
24515
24507
|
args: ["selectionChange"]
|
|
24516
24508
|
}],
|
|
24517
|
-
|
|
24509
|
+
serverSideFormats: [{
|
|
24518
24510
|
type: i0.Input,
|
|
24519
24511
|
args: [{
|
|
24520
24512
|
isSignal: true,
|
|
24521
|
-
alias: "
|
|
24513
|
+
alias: "serverSideFormats",
|
|
24522
24514
|
required: false
|
|
24523
24515
|
}]
|
|
24524
24516
|
}],
|
|
@@ -24569,10 +24561,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24569
24561
|
type: i0.Output,
|
|
24570
24562
|
args: ["exported"]
|
|
24571
24563
|
}],
|
|
24572
|
-
printRequested: [{
|
|
24573
|
-
type: i0.Output,
|
|
24574
|
-
args: ["printRequested"]
|
|
24575
|
-
}],
|
|
24576
24564
|
searched: [{
|
|
24577
24565
|
type: i0.Output,
|
|
24578
24566
|
args: ["searched"]
|
|
@@ -24588,6 +24576,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24588
24576
|
setSaved: [{
|
|
24589
24577
|
type: i0.Output,
|
|
24590
24578
|
args: ["setSaved"]
|
|
24579
|
+
}],
|
|
24580
|
+
shareRequested: [{
|
|
24581
|
+
type: i0.Output,
|
|
24582
|
+
args: ["shareRequested"]
|
|
24591
24583
|
}]
|
|
24592
24584
|
}
|
|
24593
24585
|
});
|