yukit-web 0.11.2 → 0.11.4
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 +101 -9
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +31 -3
package/fesm2022/yukit-web.mjs
CHANGED
|
@@ -18229,11 +18229,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18229
18229
|
}]
|
|
18230
18230
|
}
|
|
18231
18231
|
});
|
|
18232
|
+
const SHAPE = {
|
|
18233
|
+
circle: "",
|
|
18234
|
+
square: "rounded-md after:rounded-md *:rounded-md"
|
|
18235
|
+
};
|
|
18232
18236
|
const AVATAR = {
|
|
18233
18237
|
sm: {
|
|
18234
18238
|
size: "sm",
|
|
18235
18239
|
class: ""
|
|
18236
18240
|
},
|
|
18241
|
+
base: {
|
|
18242
|
+
size: "default",
|
|
18243
|
+
class: "size-9"
|
|
18244
|
+
},
|
|
18237
18245
|
md: {
|
|
18238
18246
|
size: "default",
|
|
18239
18247
|
class: "h-11.25 w-11.25"
|
|
@@ -18241,6 +18249,7 @@ const AVATAR = {
|
|
|
18241
18249
|
};
|
|
18242
18250
|
const YUWS_AVATAR_NAME_HEADER_CLASS = {
|
|
18243
18251
|
sm: "indent-9",
|
|
18252
|
+
base: "indent-12",
|
|
18244
18253
|
md: "indent-14.25"
|
|
18245
18254
|
};
|
|
18246
18255
|
var YuwsAvatarNameCellComponent = class YuwsAvatarNameCellComponent {
|
|
@@ -18248,8 +18257,10 @@ var YuwsAvatarNameCellComponent = class YuwsAvatarNameCellComponent {
|
|
|
18248
18257
|
this.description = input(...ngDevMode ? [void 0, { debugName: "description" }] : /* istanbul ignore next */ []);
|
|
18249
18258
|
this.imageUrl = input(...ngDevMode ? [void 0, { debugName: "imageUrl" }] : /* istanbul ignore next */ []);
|
|
18250
18259
|
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
18260
|
+
this.shape = input("square", ...ngDevMode ? [{ debugName: "shape" }] : /* istanbul ignore next */ []);
|
|
18251
18261
|
this.size = input("sm", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
18252
18262
|
this.avatar = computed(() => AVATAR[this.size()], ...ngDevMode ? [{ debugName: "avatar" }] : /* istanbul ignore next */ []);
|
|
18263
|
+
this.avatarClass = computed(() => cn(this.avatar().class, SHAPE[this.shape()]), ...ngDevMode ? [{ debugName: "avatarClass" }] : /* istanbul ignore next */ []);
|
|
18253
18264
|
this.initials = computed(() => yuwsInitialsOf(this.name()), ...ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []);
|
|
18254
18265
|
}
|
|
18255
18266
|
static {
|
|
@@ -18291,6 +18302,13 @@ var YuwsAvatarNameCellComponent = class YuwsAvatarNameCellComponent {
|
|
|
18291
18302
|
isRequired: true,
|
|
18292
18303
|
transformFunction: null
|
|
18293
18304
|
},
|
|
18305
|
+
shape: {
|
|
18306
|
+
classPropertyName: "shape",
|
|
18307
|
+
publicName: "shape",
|
|
18308
|
+
isSignal: true,
|
|
18309
|
+
isRequired: false,
|
|
18310
|
+
transformFunction: null
|
|
18311
|
+
},
|
|
18294
18312
|
size: {
|
|
18295
18313
|
classPropertyName: "size",
|
|
18296
18314
|
publicName: "size",
|
|
@@ -18300,7 +18318,7 @@ var YuwsAvatarNameCellComponent = class YuwsAvatarNameCellComponent {
|
|
|
18300
18318
|
}
|
|
18301
18319
|
},
|
|
18302
18320
|
ngImport: i0,
|
|
18303
|
-
template: "<span class=\"flex items-center gap-3\">\n <yuw-avatar\n [size]=\"avatar().size\"\n [class]=\"
|
|
18321
|
+
template: "<span class=\"flex items-center gap-3\">\n <yuw-avatar\n [size]=\"avatar().size\"\n [class]=\"avatarClass()\"\n [src]=\"imageUrl()\"\n [alt]=\"name()\"\n [fallback]=\"initials()\"\n />\n <span class=\"flex min-w-0 flex-col\">\n <span class=\"font-medium\">{{ name() }}</span>\n @if (description()) {\n <span class=\"text-xs text-muted-foreground\">{{ description() }}</span>\n }\n </span>\n</span>\n",
|
|
18304
18322
|
dependencies: [{
|
|
18305
18323
|
kind: "component",
|
|
18306
18324
|
type: YuwAvatarComponent,
|
|
@@ -18331,7 +18349,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18331
18349
|
selector: "yuws-avatar-name-cell",
|
|
18332
18350
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18333
18351
|
imports: [YuwAvatarComponent],
|
|
18334
|
-
template: "<span class=\"flex items-center gap-3\">\n <yuw-avatar\n [size]=\"avatar().size\"\n [class]=\"
|
|
18352
|
+
template: "<span class=\"flex items-center gap-3\">\n <yuw-avatar\n [size]=\"avatar().size\"\n [class]=\"avatarClass()\"\n [src]=\"imageUrl()\"\n [alt]=\"name()\"\n [fallback]=\"initials()\"\n />\n <span class=\"flex min-w-0 flex-col\">\n <span class=\"font-medium\">{{ name() }}</span>\n @if (description()) {\n <span class=\"text-xs text-muted-foreground\">{{ description() }}</span>\n }\n </span>\n</span>\n"
|
|
18335
18353
|
}]
|
|
18336
18354
|
}],
|
|
18337
18355
|
propDecorators: {
|
|
@@ -18359,6 +18377,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18359
18377
|
required: true
|
|
18360
18378
|
}]
|
|
18361
18379
|
}],
|
|
18380
|
+
shape: [{
|
|
18381
|
+
type: i0.Input,
|
|
18382
|
+
args: [{
|
|
18383
|
+
isSignal: true,
|
|
18384
|
+
alias: "shape",
|
|
18385
|
+
required: false
|
|
18386
|
+
}]
|
|
18387
|
+
}],
|
|
18362
18388
|
size: [{
|
|
18363
18389
|
type: i0.Input,
|
|
18364
18390
|
args: [{
|
|
@@ -21526,6 +21552,7 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21526
21552
|
constructor() {
|
|
21527
21553
|
this.backLabel = input(...ngDevMode ? [void 0, { debugName: "backLabel" }] : /* istanbul ignore next */ []);
|
|
21528
21554
|
this.description = input(...ngDevMode ? [void 0, { debugName: "description" }] : /* istanbul ignore next */ []);
|
|
21555
|
+
this.imageFallback = input(...ngDevMode ? [void 0, { debugName: "imageFallback" }] : /* istanbul ignore next */ []);
|
|
21529
21556
|
this.imageUrl = input(...ngDevMode ? [void 0, { debugName: "imageUrl" }] : /* istanbul ignore next */ []);
|
|
21530
21557
|
this.primaryDisabled = input(false, {
|
|
21531
21558
|
...ngDevMode ? { debugName: "primaryDisabled" } : /* istanbul ignore next */ {},
|
|
@@ -21578,6 +21605,13 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21578
21605
|
isRequired: false,
|
|
21579
21606
|
transformFunction: null
|
|
21580
21607
|
},
|
|
21608
|
+
imageFallback: {
|
|
21609
|
+
classPropertyName: "imageFallback",
|
|
21610
|
+
publicName: "imageFallback",
|
|
21611
|
+
isSignal: true,
|
|
21612
|
+
isRequired: false,
|
|
21613
|
+
transformFunction: null
|
|
21614
|
+
},
|
|
21581
21615
|
imageUrl: {
|
|
21582
21616
|
classPropertyName: "imageUrl",
|
|
21583
21617
|
publicName: "imageUrl",
|
|
@@ -21652,7 +21686,7 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21652
21686
|
lucideArrowLeft
|
|
21653
21687
|
})],
|
|
21654
21688
|
ngImport: i0,
|
|
21655
|
-
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl()
|
|
21689
|
+
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl() || imageFallback()) {\n <yuw-avatar size=\"lg\" [src]=\"imageUrl()\" [alt]=\"title()\" [fallback]=\"imageFallback()\" />\n }\n <div class=\"flex flex-col overflow-hidden\">\n <h1 class=\"truncate text-2xl font-semibold text-foreground\">{{ title() }}</h1>\n @if (description()) {\n <p class=\"truncate text-sm text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n </div>\n </div>\n\n @if (primaryLabel() || secondaryLabel()) {\n <div class=\"flex shrink-0 items-center gap-2\">\n @if (secondaryLabel(); as label) {\n <yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n [disabled]=\"secondaryDisabled()\"\n (clicked)=\"secondaryClicked.emit($event)\"\n >\n @if (secondaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-md:hidden\">{{ label }}</span>\n </yuw-button>\n }\n\n @if (primaryLabel(); as label) {\n <yuw-button\n color=\"primary\"\n class=\"gap-2\"\n [disabled]=\"primaryDisabled()\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n (clicked)=\"primaryClicked.emit($event)\"\n >\n @if (primaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-sm:hidden\">{{ label }}</span>\n @if (primaryMobileLabel(); as mobileLabel) {\n <span class=\"sm:hidden\">{{ mobileLabel }}</span>\n }\n </yuw-button>\n }\n </div>\n }\n</div>\n",
|
|
21656
21690
|
dependencies: [
|
|
21657
21691
|
{
|
|
21658
21692
|
kind: "component",
|
|
@@ -21726,7 +21760,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21726
21760
|
lucidePlus,
|
|
21727
21761
|
lucideArrowLeft
|
|
21728
21762
|
})],
|
|
21729
|
-
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl()
|
|
21763
|
+
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl() || imageFallback()) {\n <yuw-avatar size=\"lg\" [src]=\"imageUrl()\" [alt]=\"title()\" [fallback]=\"imageFallback()\" />\n }\n <div class=\"flex flex-col overflow-hidden\">\n <h1 class=\"truncate text-2xl font-semibold text-foreground\">{{ title() }}</h1>\n @if (description()) {\n <p class=\"truncate text-sm text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n </div>\n </div>\n\n @if (primaryLabel() || secondaryLabel()) {\n <div class=\"flex shrink-0 items-center gap-2\">\n @if (secondaryLabel(); as label) {\n <yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n [disabled]=\"secondaryDisabled()\"\n (clicked)=\"secondaryClicked.emit($event)\"\n >\n @if (secondaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-md:hidden\">{{ label }}</span>\n </yuw-button>\n }\n\n @if (primaryLabel(); as label) {\n <yuw-button\n color=\"primary\"\n class=\"gap-2\"\n [disabled]=\"primaryDisabled()\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n (clicked)=\"primaryClicked.emit($event)\"\n >\n @if (primaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-sm:hidden\">{{ label }}</span>\n @if (primaryMobileLabel(); as mobileLabel) {\n <span class=\"sm:hidden\">{{ mobileLabel }}</span>\n }\n </yuw-button>\n }\n </div>\n }\n</div>\n"
|
|
21730
21764
|
}]
|
|
21731
21765
|
}],
|
|
21732
21766
|
propDecorators: {
|
|
@@ -21746,6 +21780,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21746
21780
|
required: false
|
|
21747
21781
|
}]
|
|
21748
21782
|
}],
|
|
21783
|
+
imageFallback: [{
|
|
21784
|
+
type: i0.Input,
|
|
21785
|
+
args: [{
|
|
21786
|
+
isSignal: true,
|
|
21787
|
+
alias: "imageFallback",
|
|
21788
|
+
required: false
|
|
21789
|
+
}]
|
|
21790
|
+
}],
|
|
21749
21791
|
imageUrl: [{
|
|
21750
21792
|
type: i0.Input,
|
|
21751
21793
|
args: [{
|
|
@@ -22198,12 +22240,13 @@ const SHARE_ICONS = {
|
|
|
22198
22240
|
};
|
|
22199
22241
|
var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
22200
22242
|
constructor() {
|
|
22243
|
+
this.formats = input(YUW_TABLE_SHARE_FORMATS, ...ngDevMode ? [{ debugName: "formats" }] : /* istanbul ignore next */ []);
|
|
22201
22244
|
this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
|
|
22202
22245
|
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22203
22246
|
this.source = input.required(...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
22204
22247
|
this.title = input(...ngDevMode ? [void 0, { debugName: "title" }] : /* istanbul ignore next */ []);
|
|
22205
22248
|
this.shareRequested = output();
|
|
22206
|
-
this.items = computed(() =>
|
|
22249
|
+
this.items = computed(() => this.formats().map((format) => ({
|
|
22207
22250
|
format,
|
|
22208
22251
|
icon: SHARE_ICONS[format],
|
|
22209
22252
|
label: this.labels()[format]
|
|
@@ -22243,6 +22286,13 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
|
|
|
22243
22286
|
isStandalone: true,
|
|
22244
22287
|
selector: "yuws-list-toolbar-share",
|
|
22245
22288
|
inputs: {
|
|
22289
|
+
formats: {
|
|
22290
|
+
classPropertyName: "formats",
|
|
22291
|
+
publicName: "formats",
|
|
22292
|
+
isSignal: true,
|
|
22293
|
+
isRequired: false,
|
|
22294
|
+
transformFunction: null
|
|
22295
|
+
},
|
|
22246
22296
|
labels: {
|
|
22247
22297
|
classPropertyName: "labels",
|
|
22248
22298
|
publicName: "labels",
|
|
@@ -22367,6 +22417,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22367
22417
|
}]
|
|
22368
22418
|
}],
|
|
22369
22419
|
propDecorators: {
|
|
22420
|
+
formats: [{
|
|
22421
|
+
type: i0.Input,
|
|
22422
|
+
args: [{
|
|
22423
|
+
isSignal: true,
|
|
22424
|
+
alias: "formats",
|
|
22425
|
+
required: false
|
|
22426
|
+
}]
|
|
22427
|
+
}],
|
|
22370
22428
|
labels: [{
|
|
22371
22429
|
type: i0.Input,
|
|
22372
22430
|
args: [{
|
|
@@ -22420,6 +22478,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22420
22478
|
this.search = model("", ...ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []);
|
|
22421
22479
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
22422
22480
|
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
22481
|
+
this.shareFormats = input(YUW_TABLE_SHARE_FORMATS, ...ngDevMode ? [{ debugName: "shareFormats" }] : /* istanbul ignore next */ []);
|
|
22423
22482
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
22424
22483
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
22425
22484
|
this.showExport = input(false, {
|
|
@@ -22554,6 +22613,13 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22554
22613
|
isRequired: false,
|
|
22555
22614
|
transformFunction: null
|
|
22556
22615
|
},
|
|
22616
|
+
shareFormats: {
|
|
22617
|
+
classPropertyName: "shareFormats",
|
|
22618
|
+
publicName: "shareFormats",
|
|
22619
|
+
isSignal: true,
|
|
22620
|
+
isRequired: false,
|
|
22621
|
+
transformFunction: null
|
|
22622
|
+
},
|
|
22557
22623
|
shareSource: {
|
|
22558
22624
|
classPropertyName: "shareSource",
|
|
22559
22625
|
publicName: "shareSource",
|
|
@@ -22607,7 +22673,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22607
22673
|
lucideSettings2
|
|
22608
22674
|
})],
|
|
22609
22675
|
ngImport: i0,
|
|
22610
|
-
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",
|
|
22676
|
+
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 [formats]=\"shareFormats()\"\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",
|
|
22611
22677
|
dependencies: [
|
|
22612
22678
|
{
|
|
22613
22679
|
kind: "component",
|
|
@@ -22750,6 +22816,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
|
|
|
22750
22816
|
type: YuwsListToolbarShareComponent,
|
|
22751
22817
|
selector: "yuws-list-toolbar-share",
|
|
22752
22818
|
inputs: [
|
|
22819
|
+
"formats",
|
|
22753
22820
|
"labels",
|
|
22754
22821
|
"serverSideFormats",
|
|
22755
22822
|
"source",
|
|
@@ -22792,7 +22859,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22792
22859
|
lucideSettings2
|
|
22793
22860
|
})],
|
|
22794
22861
|
host: { class: "flex items-center gap-2" },
|
|
22795
|
-
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"
|
|
22862
|
+
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 [formats]=\"shareFormats()\"\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"
|
|
22796
22863
|
}]
|
|
22797
22864
|
}],
|
|
22798
22865
|
propDecorators: {
|
|
@@ -22866,6 +22933,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22866
22933
|
required: false
|
|
22867
22934
|
}]
|
|
22868
22935
|
}],
|
|
22936
|
+
shareFormats: [{
|
|
22937
|
+
type: i0.Input,
|
|
22938
|
+
args: [{
|
|
22939
|
+
isSignal: true,
|
|
22940
|
+
alias: "shareFormats",
|
|
22941
|
+
required: false
|
|
22942
|
+
}]
|
|
22943
|
+
}],
|
|
22869
22944
|
shareSource: [{
|
|
22870
22945
|
type: i0.Input,
|
|
22871
22946
|
args: [{
|
|
@@ -24202,6 +24277,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24202
24277
|
this.searchPlaceholder = input(...ngDevMode ? [void 0, { debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
24203
24278
|
this.selection = model({}, ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
|
|
24204
24279
|
this.serverSideFormats = input([], ...ngDevMode ? [{ debugName: "serverSideFormats" }] : /* istanbul ignore next */ []);
|
|
24280
|
+
this.shareFormats = input(YUW_TABLE_SHARE_FORMATS, ...ngDevMode ? [{ debugName: "shareFormats" }] : /* istanbul ignore next */ []);
|
|
24205
24281
|
this.shareSource = input(...ngDevMode ? [void 0, { debugName: "shareSource" }] : /* istanbul ignore next */ []);
|
|
24206
24282
|
this.shareTitle = input(...ngDevMode ? [void 0, { debugName: "shareTitle" }] : /* istanbul ignore next */ []);
|
|
24207
24283
|
this.showExport = input(false, {
|
|
@@ -24320,6 +24396,13 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24320
24396
|
isRequired: false,
|
|
24321
24397
|
transformFunction: null
|
|
24322
24398
|
},
|
|
24399
|
+
shareFormats: {
|
|
24400
|
+
classPropertyName: "shareFormats",
|
|
24401
|
+
publicName: "shareFormats",
|
|
24402
|
+
isSignal: true,
|
|
24403
|
+
isRequired: false,
|
|
24404
|
+
transformFunction: null
|
|
24405
|
+
},
|
|
24323
24406
|
shareSource: {
|
|
24324
24407
|
classPropertyName: "shareSource",
|
|
24325
24408
|
publicName: "shareSource",
|
|
@@ -24375,7 +24458,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24375
24458
|
isSignal: true
|
|
24376
24459
|
}],
|
|
24377
24460
|
ngImport: i0,
|
|
24378
|
-
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",
|
|
24461
|
+
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 [shareFormats]=\"shareFormats()\"\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",
|
|
24379
24462
|
dependencies: [{
|
|
24380
24463
|
kind: "component",
|
|
24381
24464
|
type: YuwsListToolbarActionsComponent,
|
|
@@ -24389,6 +24472,7 @@ var YuwsListToolbarComponent = class YuwsListToolbarComponent {
|
|
|
24389
24472
|
"search",
|
|
24390
24473
|
"searchPlaceholder",
|
|
24391
24474
|
"serverSideFormats",
|
|
24475
|
+
"shareFormats",
|
|
24392
24476
|
"shareSource",
|
|
24393
24477
|
"shareTitle",
|
|
24394
24478
|
"showExport",
|
|
@@ -24439,7 +24523,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24439
24523
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24440
24524
|
imports: [YuwsListToolbarActionsComponent, YuwsListToolbarFiltersComponent],
|
|
24441
24525
|
host: { class: "flex items-center gap-3 max-md:flex-wrap max-md:gap-2" },
|
|
24442
|
-
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"
|
|
24526
|
+
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 [shareFormats]=\"shareFormats()\"\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"
|
|
24443
24527
|
}]
|
|
24444
24528
|
}],
|
|
24445
24529
|
propDecorators: {
|
|
@@ -24552,6 +24636,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24552
24636
|
required: false
|
|
24553
24637
|
}]
|
|
24554
24638
|
}],
|
|
24639
|
+
shareFormats: [{
|
|
24640
|
+
type: i0.Input,
|
|
24641
|
+
args: [{
|
|
24642
|
+
isSignal: true,
|
|
24643
|
+
alias: "shareFormats",
|
|
24644
|
+
required: false
|
|
24645
|
+
}]
|
|
24646
|
+
}],
|
|
24555
24647
|
shareSource: [{
|
|
24556
24648
|
type: i0.Input,
|
|
24557
24649
|
args: [{
|