yukit-web 0.10.9 → 0.11.0
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 +47 -56
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +8 -8
package/fesm2022/yukit-web.mjs
CHANGED
|
@@ -22160,13 +22160,10 @@ const SHARE_ICONS = {
|
|
|
22160
22160
|
var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
22161
22161
|
constructor() {
|
|
22162
22162
|
this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
22163
|
-
this.
|
|
22164
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
22165
|
-
transform: booleanAttribute
|
|
22166
|
-
});
|
|
22163
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22167
22164
|
this.source = input.required(...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
22168
22165
|
this.title = input(...ngDevMode ? [void 0, { debugName: "title" }] : /* istanbul ignore next */ []);
|
|
22169
|
-
this.
|
|
22166
|
+
this.shareRequested = output();
|
|
22170
22167
|
this.items = computed(() => YUW_TABLE_SHARE_FORMATS.map((format) => ({
|
|
22171
22168
|
format,
|
|
22172
22169
|
icon: SHARE_ICONS[format],
|
|
@@ -22174,8 +22171,8 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22174
22171
|
})), ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
22175
22172
|
}
|
|
22176
22173
|
async onShare(format) {
|
|
22177
|
-
if (
|
|
22178
|
-
this.
|
|
22174
|
+
if (this.serverSideFormats().includes(format)) {
|
|
22175
|
+
this.shareRequested.emit(format);
|
|
22179
22176
|
return;
|
|
22180
22177
|
}
|
|
22181
22178
|
try {
|
|
@@ -22214,9 +22211,9 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22214
22211
|
isRequired: true,
|
|
22215
22212
|
transformFunction: null
|
|
22216
22213
|
},
|
|
22217
|
-
|
|
22218
|
-
classPropertyName: "
|
|
22219
|
-
publicName: "
|
|
22214
|
+
serverSideFormats: {
|
|
22215
|
+
classPropertyName: "serverSideFormats",
|
|
22216
|
+
publicName: "serverSideFormats",
|
|
22220
22217
|
isSignal: true,
|
|
22221
22218
|
isRequired: false,
|
|
22222
22219
|
transformFunction: null
|
|
@@ -22236,7 +22233,7 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22236
22233
|
transformFunction: null
|
|
22237
22234
|
}
|
|
22238
22235
|
},
|
|
22239
|
-
outputs: {
|
|
22236
|
+
outputs: { shareRequested: "shareRequested" },
|
|
22240
22237
|
host: { classAttribute: "flex shrink-0" },
|
|
22241
22238
|
providers: [provideIcons({
|
|
22242
22239
|
lucideClipboardCopy,
|
|
@@ -22339,11 +22336,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22339
22336
|
required: true
|
|
22340
22337
|
}]
|
|
22341
22338
|
}],
|
|
22342
|
-
|
|
22339
|
+
serverSideFormats: [{
|
|
22343
22340
|
type: i0.Input,
|
|
22344
22341
|
args: [{
|
|
22345
22342
|
isSignal: true,
|
|
22346
|
-
alias: "
|
|
22343
|
+
alias: "serverSideFormats",
|
|
22347
22344
|
required: false
|
|
22348
22345
|
}]
|
|
22349
22346
|
}],
|
|
@@ -22363,9 +22360,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22363
22360
|
required: false
|
|
22364
22361
|
}]
|
|
22365
22362
|
}],
|
|
22366
|
-
|
|
22363
|
+
shareRequested: [{
|
|
22367
22364
|
type: i0.Output,
|
|
22368
|
-
args: ["
|
|
22365
|
+
args: ["shareRequested"]
|
|
22369
22366
|
}]
|
|
22370
22367
|
}
|
|
22371
22368
|
});
|
|
@@ -22383,10 +22380,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22383
22380
|
this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
22384
22381
|
this.search = model("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
22385
22382
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
22386
|
-
this.
|
|
22387
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
22388
|
-
transform: booleanAttribute
|
|
22389
|
-
});
|
|
22383
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22390
22384
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
22391
22385
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
22392
22386
|
this.showExport = input(false, {
|
|
@@ -22396,8 +22390,8 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22396
22390
|
this.viewMode = model(...ngDevMode ? [void 0, { debugName: "viewMode" }] : /* istanbul ignore next */ []);
|
|
22397
22391
|
this.viewModeIcons = input(...ngDevMode ? [void 0, { debugName: "viewModeIcons" }] : /* istanbul ignore next */ []);
|
|
22398
22392
|
this.exported = output();
|
|
22399
|
-
this.printRequested = output();
|
|
22400
22393
|
this.searched = output();
|
|
22394
|
+
this.shareRequested = output();
|
|
22401
22395
|
this.searchOpen = signal(false, ...ngDevMode ? [{ debugName: "searchOpen" }] : /* istanbul ignore next */ []);
|
|
22402
22396
|
this.share = computed(() => {
|
|
22403
22397
|
const source = this.shareSource();
|
|
@@ -22514,9 +22508,9 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22514
22508
|
isRequired: false,
|
|
22515
22509
|
transformFunction: null
|
|
22516
22510
|
},
|
|
22517
|
-
|
|
22518
|
-
classPropertyName: "
|
|
22519
|
-
publicName: "
|
|
22511
|
+
serverSideFormats: {
|
|
22512
|
+
classPropertyName: "serverSideFormats",
|
|
22513
|
+
publicName: "serverSideFormats",
|
|
22520
22514
|
isSignal: true,
|
|
22521
22515
|
isRequired: false,
|
|
22522
22516
|
transformFunction: null
|
|
@@ -22562,8 +22556,8 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22562
22556
|
search: "searchChange",
|
|
22563
22557
|
viewMode: "viewModeChange",
|
|
22564
22558
|
exported: "exported",
|
|
22565
|
-
|
|
22566
|
-
|
|
22559
|
+
searched: "searched",
|
|
22560
|
+
shareRequested: "shareRequested"
|
|
22567
22561
|
},
|
|
22568
22562
|
host: { classAttribute: "flex items-center gap-2" },
|
|
22569
22563
|
providers: [provideIcons({
|
|
@@ -22574,7 +22568,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22574
22568
|
lucideSettings2
|
|
22575
22569
|
})],
|
|
22576
22570
|
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 [
|
|
22571
|
+
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
22572
|
dependencies: [
|
|
22579
22573
|
{
|
|
22580
22574
|
kind: "component",
|
|
@@ -22718,11 +22712,11 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22718
22712
|
selector: "yuws-list-toolbar-share",
|
|
22719
22713
|
inputs: [
|
|
22720
22714
|
"labels",
|
|
22721
|
-
"
|
|
22715
|
+
"serverSideFormats",
|
|
22722
22716
|
"source",
|
|
22723
22717
|
"title"
|
|
22724
22718
|
],
|
|
22725
|
-
outputs: ["
|
|
22719
|
+
outputs: ["shareRequested"]
|
|
22726
22720
|
}
|
|
22727
22721
|
],
|
|
22728
22722
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -22759,7 +22753,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22759
22753
|
lucideSettings2
|
|
22760
22754
|
})],
|
|
22761
22755
|
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 [
|
|
22756
|
+
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
22757
|
}]
|
|
22764
22758
|
}],
|
|
22765
22759
|
propDecorators: {
|
|
@@ -22825,11 +22819,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22825
22819
|
required: false
|
|
22826
22820
|
}]
|
|
22827
22821
|
}],
|
|
22828
|
-
|
|
22822
|
+
serverSideFormats: [{
|
|
22829
22823
|
type: i0.Input,
|
|
22830
22824
|
args: [{
|
|
22831
22825
|
isSignal: true,
|
|
22832
|
-
alias: "
|
|
22826
|
+
alias: "serverSideFormats",
|
|
22833
22827
|
required: false
|
|
22834
22828
|
}]
|
|
22835
22829
|
}],
|
|
@@ -22880,13 +22874,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22880
22874
|
type: i0.Output,
|
|
22881
22875
|
args: ["exported"]
|
|
22882
22876
|
}],
|
|
22883
|
-
printRequested: [{
|
|
22884
|
-
type: i0.Output,
|
|
22885
|
-
args: ["printRequested"]
|
|
22886
|
-
}],
|
|
22887
22877
|
searched: [{
|
|
22888
22878
|
type: i0.Output,
|
|
22889
22879
|
args: ["searched"]
|
|
22880
|
+
}],
|
|
22881
|
+
shareRequested: [{
|
|
22882
|
+
type: i0.Output,
|
|
22883
|
+
args: ["shareRequested"]
|
|
22890
22884
|
}]
|
|
22891
22885
|
}
|
|
22892
22886
|
});
|
|
@@ -24168,10 +24162,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24168
24162
|
this.search = model("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
24169
24163
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
24170
24164
|
this.selection = model({}, ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
|
|
24171
|
-
this.
|
|
24172
|
-
...ngDevMode ? { debugName: "serverSidePrint" } : /* istanbul ignore next */ {},
|
|
24173
|
-
transform: booleanAttribute
|
|
24174
|
-
});
|
|
24165
|
+
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
24175
24166
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
24176
24167
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
24177
24168
|
this.showExport = input(false, {
|
|
@@ -24181,11 +24172,11 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24181
24172
|
this.viewMode = model(...ngDevMode ? [void 0, { debugName: "viewMode" }] : /* istanbul ignore next */ []);
|
|
24182
24173
|
this.viewModeIcons = input(...ngDevMode ? [void 0, { debugName: "viewModeIcons" }] : /* istanbul ignore next */ []);
|
|
24183
24174
|
this.exported = output();
|
|
24184
|
-
this.printRequested = output();
|
|
24185
24175
|
this.searched = output();
|
|
24186
24176
|
this.setDeleted = output();
|
|
24187
24177
|
this.setRenamed = output();
|
|
24188
24178
|
this.setSaved = output();
|
|
24179
|
+
this.shareRequested = output();
|
|
24189
24180
|
this.isMobile = injectIsMobile();
|
|
24190
24181
|
}
|
|
24191
24182
|
static {
|
|
@@ -24283,9 +24274,9 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24283
24274
|
isRequired: false,
|
|
24284
24275
|
transformFunction: null
|
|
24285
24276
|
},
|
|
24286
|
-
|
|
24287
|
-
classPropertyName: "
|
|
24288
|
-
publicName: "
|
|
24277
|
+
serverSideFormats: {
|
|
24278
|
+
classPropertyName: "serverSideFormats",
|
|
24279
|
+
publicName: "serverSideFormats",
|
|
24289
24280
|
isSignal: true,
|
|
24290
24281
|
isRequired: false,
|
|
24291
24282
|
transformFunction: null
|
|
@@ -24332,11 +24323,11 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24332
24323
|
selection: "selectionChange",
|
|
24333
24324
|
viewMode: "viewModeChange",
|
|
24334
24325
|
exported: "exported",
|
|
24335
|
-
printRequested: "printRequested",
|
|
24336
24326
|
searched: "searched",
|
|
24337
24327
|
setDeleted: "setDeleted",
|
|
24338
24328
|
setRenamed: "setRenamed",
|
|
24339
|
-
setSaved: "setSaved"
|
|
24329
|
+
setSaved: "setSaved",
|
|
24330
|
+
shareRequested: "shareRequested"
|
|
24340
24331
|
},
|
|
24341
24332
|
host: { classAttribute: "flex items-center gap-3 max-md:flex-wrap max-md:gap-2" },
|
|
24342
24333
|
queries: [{
|
|
@@ -24345,7 +24336,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24345
24336
|
isSignal: true
|
|
24346
24337
|
}],
|
|
24347
24338
|
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 [
|
|
24339
|
+
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
24340
|
dependencies: [{
|
|
24350
24341
|
kind: "component",
|
|
24351
24342
|
type: YuwsListToolbarActionsComponent,
|
|
@@ -24358,7 +24349,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24358
24349
|
"labels",
|
|
24359
24350
|
"search",
|
|
24360
24351
|
"searchPlaceholder",
|
|
24361
|
-
"
|
|
24352
|
+
"serverSideFormats",
|
|
24362
24353
|
"shareSource",
|
|
24363
24354
|
"shareTitle",
|
|
24364
24355
|
"showExport",
|
|
@@ -24370,8 +24361,8 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24370
24361
|
"searchChange",
|
|
24371
24362
|
"viewModeChange",
|
|
24372
24363
|
"exported",
|
|
24373
|
-
"
|
|
24374
|
-
"
|
|
24364
|
+
"searched",
|
|
24365
|
+
"shareRequested"
|
|
24375
24366
|
]
|
|
24376
24367
|
}, {
|
|
24377
24368
|
kind: "component",
|
|
@@ -24409,7 +24400,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24409
24400
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24410
24401
|
imports: [YuwsListToolbarActionsComponent, YuwsListToolbarFiltersComponent],
|
|
24411
24402
|
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 [
|
|
24403
|
+
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
24404
|
}]
|
|
24414
24405
|
}],
|
|
24415
24406
|
propDecorators: {
|
|
@@ -24514,11 +24505,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24514
24505
|
type: i0.Output,
|
|
24515
24506
|
args: ["selectionChange"]
|
|
24516
24507
|
}],
|
|
24517
|
-
|
|
24508
|
+
serverSideFormats: [{
|
|
24518
24509
|
type: i0.Input,
|
|
24519
24510
|
args: [{
|
|
24520
24511
|
isSignal: true,
|
|
24521
|
-
alias: "
|
|
24512
|
+
alias: "serverSideFormats",
|
|
24522
24513
|
required: false
|
|
24523
24514
|
}]
|
|
24524
24515
|
}],
|
|
@@ -24569,10 +24560,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24569
24560
|
type: i0.Output,
|
|
24570
24561
|
args: ["exported"]
|
|
24571
24562
|
}],
|
|
24572
|
-
printRequested: [{
|
|
24573
|
-
type: i0.Output,
|
|
24574
|
-
args: ["printRequested"]
|
|
24575
|
-
}],
|
|
24576
24563
|
searched: [{
|
|
24577
24564
|
type: i0.Output,
|
|
24578
24565
|
args: ["searched"]
|
|
@@ -24588,6 +24575,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24588
24575
|
setSaved: [{
|
|
24589
24576
|
type: i0.Output,
|
|
24590
24577
|
args: ["setSaved"]
|
|
24578
|
+
}],
|
|
24579
|
+
shareRequested: [{
|
|
24580
|
+
type: i0.Output,
|
|
24581
|
+
args: ["shareRequested"]
|
|
24591
24582
|
}]
|
|
24592
24583
|
}
|
|
24593
24584
|
});
|