yukit-web 1.2.0 → 1.2.2
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
CHANGED
|
@@ -12213,7 +12213,7 @@ var YuwActionsCellComponent = class YuwActionsCellComponent {
|
|
|
12213
12213
|
},
|
|
12214
12214
|
providers: [provideIcons({ lucidePencil })],
|
|
12215
12215
|
ngImport: i0,
|
|
12216
|
-
template: "<yuw-button variant=\"ghost\" size=\"icon\" [ariaLabel]=\"label()\" (clicked)=\"edit()\">\n <ng-icon name=\"lucidePencil\" size=\"16\" />\n</yuw-button>\n",
|
|
12216
|
+
template: "<yuw-button variant=\"ghost\" size=\"icon-xs\" [ariaLabel]=\"label()\" (clicked)=\"edit()\">\n <ng-icon name=\"lucidePencil\" size=\"16\" />\n</yuw-button>\n",
|
|
12217
12217
|
dependencies: [{
|
|
12218
12218
|
kind: "component",
|
|
12219
12219
|
type: NgIcon,
|
|
@@ -12266,7 +12266,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12266
12266
|
class: "yuw-reveal",
|
|
12267
12267
|
"(click)": "onHostClick($event)"
|
|
12268
12268
|
},
|
|
12269
|
-
template: "<yuw-button variant=\"ghost\" size=\"icon\" [ariaLabel]=\"label()\" (clicked)=\"edit()\">\n <ng-icon name=\"lucidePencil\" size=\"16\" />\n</yuw-button>\n"
|
|
12269
|
+
template: "<yuw-button variant=\"ghost\" size=\"icon-xs\" [ariaLabel]=\"label()\" (clicked)=\"edit()\">\n <ng-icon name=\"lucidePencil\" size=\"16\" />\n</yuw-button>\n"
|
|
12270
12270
|
}]
|
|
12271
12271
|
}],
|
|
12272
12272
|
propDecorators: {
|
|
@@ -19241,7 +19241,7 @@ var YuwsIconActionCellComponent = class YuwsIconActionCellComponent {
|
|
|
19241
19241
|
classAttribute: "yuw-reveal"
|
|
19242
19242
|
},
|
|
19243
19243
|
ngImport: i0,
|
|
19244
|
-
template: "<yuw-button\n size=\"icon\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [ariaLabel]=\"label()\"\n [yuwTooltip]=\"tooltip()\"\n [tooltipDisabled]=\"!tooltip()\"\n (clicked)=\"run()\"\n>\n <ng-icon [svg]=\"icon()\" size=\"16\" />\n</yuw-button>\n",
|
|
19244
|
+
template: "<yuw-button\n size=\"icon-xs\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [ariaLabel]=\"label()\"\n [yuwTooltip]=\"tooltip()\"\n [tooltipDisabled]=\"!tooltip()\"\n (clicked)=\"run()\"\n>\n <ng-icon [svg]=\"icon()\" size=\"16\" />\n</yuw-button>\n",
|
|
19245
19245
|
dependencies: [
|
|
19246
19246
|
{
|
|
19247
19247
|
kind: "component",
|
|
@@ -19305,7 +19305,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19305
19305
|
class: "yuw-reveal",
|
|
19306
19306
|
"(click)": "$event.stopPropagation()"
|
|
19307
19307
|
},
|
|
19308
|
-
template: "<yuw-button\n size=\"icon\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [ariaLabel]=\"label()\"\n [yuwTooltip]=\"tooltip()\"\n [tooltipDisabled]=\"!tooltip()\"\n (clicked)=\"run()\"\n>\n <ng-icon [svg]=\"icon()\" size=\"16\" />\n</yuw-button>\n"
|
|
19308
|
+
template: "<yuw-button\n size=\"icon-xs\"\n [variant]=\"variant()\"\n [color]=\"color()\"\n [ariaLabel]=\"label()\"\n [yuwTooltip]=\"tooltip()\"\n [tooltipDisabled]=\"!tooltip()\"\n (clicked)=\"run()\"\n>\n <ng-icon [svg]=\"icon()\" size=\"16\" />\n</yuw-button>\n"
|
|
19309
19309
|
}]
|
|
19310
19310
|
}],
|
|
19311
19311
|
propDecorators: {
|
|
@@ -19592,7 +19592,7 @@ var YuwsMenuActionsCellComponent = class YuwsMenuActionsCellComponent {
|
|
|
19592
19592
|
},
|
|
19593
19593
|
providers: [provideIcons({ lucideEllipsis })],
|
|
19594
19594
|
ngImport: i0,
|
|
19595
|
-
template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
|
|
19595
|
+
template: "<yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
|
|
19596
19596
|
dependencies: [
|
|
19597
19597
|
{
|
|
19598
19598
|
kind: "directive",
|
|
@@ -19679,7 +19679,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19679
19679
|
"(click)": "$event.stopPropagation()",
|
|
19680
19680
|
"(keydown)": "$event.stopPropagation()"
|
|
19681
19681
|
},
|
|
19682
|
-
template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
|
|
19682
|
+
template: "<yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
|
|
19683
19683
|
}]
|
|
19684
19684
|
}],
|
|
19685
19685
|
propDecorators: {
|
|
@@ -21847,6 +21847,7 @@ var YuwsListTableComponent = class YuwsListTableComponent {
|
|
|
21847
21847
|
...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
|
|
21848
21848
|
transform: booleanAttribute
|
|
21849
21849
|
});
|
|
21850
|
+
this.pinColumnLabel = input(...ngDevMode ? [void 0, { debugName: "pinColumnLabel" }] : /* istanbul ignore next */ []);
|
|
21850
21851
|
this.rowClass = input(...ngDevMode ? [void 0, { debugName: "rowClass" }] : /* istanbul ignore next */ []);
|
|
21851
21852
|
this.selectable = input(false, {
|
|
21852
21853
|
...ngDevMode ? { debugName: "selectable" } : /* istanbul ignore next */ {},
|
|
@@ -21926,6 +21927,13 @@ var YuwsListTableComponent = class YuwsListTableComponent {
|
|
|
21926
21927
|
isRequired: false,
|
|
21927
21928
|
transformFunction: null
|
|
21928
21929
|
},
|
|
21930
|
+
pinColumnLabel: {
|
|
21931
|
+
classPropertyName: "pinColumnLabel",
|
|
21932
|
+
publicName: "pinColumnLabel",
|
|
21933
|
+
isSignal: true,
|
|
21934
|
+
isRequired: false,
|
|
21935
|
+
transformFunction: null
|
|
21936
|
+
},
|
|
21929
21937
|
rowClass: {
|
|
21930
21938
|
classPropertyName: "rowClass",
|
|
21931
21939
|
publicName: "rowClass",
|
|
@@ -21961,7 +21969,7 @@ var YuwsListTableComponent = class YuwsListTableComponent {
|
|
|
21961
21969
|
isSignal: true
|
|
21962
21970
|
}],
|
|
21963
21971
|
ngImport: i0,
|
|
21964
|
-
template: "<yuw-datatable\n sortable\n paginated\n appearance=\"card\"\n [nextPageLabel]=\"labels().next\"\n [previousPageLabel]=\"labels().previous\"\n [paginationEllipsisSrText]=\"labels().ellipsis\"\n [paginationAriaLabel]=\"labels().ariaLabel\"\n [emptyText]=\"emptyText()\"\n [columns]=\"columns()\"\n [data]=\"data()\"\n [totalItems]=\"total()\"\n [loading]=\"loading()\"\n [rowClass]=\"rowClass()\"\n [selectable]=\"selectable()\"\n [pagination]=\"list().pagination()\"\n [sorting]=\"list().sorting()\"\n [(columnVisibility)]=\"columnVisibility\"\n (paginationChange)=\"list().pagination.set($event)\"\n (sortingChange)=\"list().sorting.set($event)\"\n (rowClicked)=\"rowClicked.emit($event)\"\n (selectedRowsChange)=\"selectedRowsChange.emit($event)\"\n>\n <yuws-page-size yuwDatatablePagination [list]=\"list()\" [labels]=\"labels().pageSize\" [disabled]=\"loading()\" />\n</yuw-datatable>\n",
|
|
21972
|
+
template: "<yuw-datatable\n sortable\n paginated\n appearance=\"card\"\n [nextPageLabel]=\"labels().next\"\n [previousPageLabel]=\"labels().previous\"\n [paginationEllipsisSrText]=\"labels().ellipsis\"\n [paginationAriaLabel]=\"labels().ariaLabel\"\n [emptyText]=\"emptyText()\"\n [columns]=\"columns()\"\n [data]=\"data()\"\n [totalItems]=\"total()\"\n [loading]=\"loading()\"\n [pinColumnLabel]=\"pinColumnLabel()\"\n [rowClass]=\"rowClass()\"\n [selectable]=\"selectable()\"\n [pagination]=\"list().pagination()\"\n [sorting]=\"list().sorting()\"\n [(columnVisibility)]=\"columnVisibility\"\n (paginationChange)=\"list().pagination.set($event)\"\n (sortingChange)=\"list().sorting.set($event)\"\n (rowClicked)=\"rowClicked.emit($event)\"\n (selectedRowsChange)=\"selectedRowsChange.emit($event)\"\n>\n <yuws-page-size yuwDatatablePagination [list]=\"list()\" [labels]=\"labels().pageSize\" [disabled]=\"loading()\" />\n</yuw-datatable>\n",
|
|
21965
21973
|
dependencies: [
|
|
21966
21974
|
{
|
|
21967
21975
|
kind: "component",
|
|
@@ -22041,7 +22049,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22041
22049
|
YuwDatatablePaginationDirective,
|
|
22042
22050
|
YuwsPageSizeComponent
|
|
22043
22051
|
],
|
|
22044
|
-
template: "<yuw-datatable\n sortable\n paginated\n appearance=\"card\"\n [nextPageLabel]=\"labels().next\"\n [previousPageLabel]=\"labels().previous\"\n [paginationEllipsisSrText]=\"labels().ellipsis\"\n [paginationAriaLabel]=\"labels().ariaLabel\"\n [emptyText]=\"emptyText()\"\n [columns]=\"columns()\"\n [data]=\"data()\"\n [totalItems]=\"total()\"\n [loading]=\"loading()\"\n [rowClass]=\"rowClass()\"\n [selectable]=\"selectable()\"\n [pagination]=\"list().pagination()\"\n [sorting]=\"list().sorting()\"\n [(columnVisibility)]=\"columnVisibility\"\n (paginationChange)=\"list().pagination.set($event)\"\n (sortingChange)=\"list().sorting.set($event)\"\n (rowClicked)=\"rowClicked.emit($event)\"\n (selectedRowsChange)=\"selectedRowsChange.emit($event)\"\n>\n <yuws-page-size yuwDatatablePagination [list]=\"list()\" [labels]=\"labels().pageSize\" [disabled]=\"loading()\" />\n</yuw-datatable>\n"
|
|
22052
|
+
template: "<yuw-datatable\n sortable\n paginated\n appearance=\"card\"\n [nextPageLabel]=\"labels().next\"\n [previousPageLabel]=\"labels().previous\"\n [paginationEllipsisSrText]=\"labels().ellipsis\"\n [paginationAriaLabel]=\"labels().ariaLabel\"\n [emptyText]=\"emptyText()\"\n [columns]=\"columns()\"\n [data]=\"data()\"\n [totalItems]=\"total()\"\n [loading]=\"loading()\"\n [pinColumnLabel]=\"pinColumnLabel()\"\n [rowClass]=\"rowClass()\"\n [selectable]=\"selectable()\"\n [pagination]=\"list().pagination()\"\n [sorting]=\"list().sorting()\"\n [(columnVisibility)]=\"columnVisibility\"\n (paginationChange)=\"list().pagination.set($event)\"\n (sortingChange)=\"list().sorting.set($event)\"\n (rowClicked)=\"rowClicked.emit($event)\"\n (selectedRowsChange)=\"selectedRowsChange.emit($event)\"\n>\n <yuws-page-size yuwDatatablePagination [list]=\"list()\" [labels]=\"labels().pageSize\" [disabled]=\"loading()\" />\n</yuw-datatable>\n"
|
|
22045
22053
|
}]
|
|
22046
22054
|
}],
|
|
22047
22055
|
propDecorators: {
|
|
@@ -22108,6 +22116,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22108
22116
|
required: false
|
|
22109
22117
|
}]
|
|
22110
22118
|
}],
|
|
22119
|
+
pinColumnLabel: [{
|
|
22120
|
+
type: i0.Input,
|
|
22121
|
+
args: [{
|
|
22122
|
+
isSignal: true,
|
|
22123
|
+
alias: "pinColumnLabel",
|
|
22124
|
+
required: false
|
|
22125
|
+
}]
|
|
22126
|
+
}],
|
|
22111
22127
|
rowClass: [{
|
|
22112
22128
|
type: i0.Input,
|
|
22113
22129
|
args: [{
|