@sixbell-telco/sdk 0.7.1 → 0.7.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/CHANGELOG.md +59 -27
- package/README.md +337 -54
- package/components/audio-player/src/audio-player.component.d.ts +1 -2
- package/components/button/src/button.component.d.ts +2 -2
- package/components/countdown/src/countdown.component.d.ts +1 -5
- package/components/dual-list/src/dual-list.component.d.ts +2 -3
- package/components/forms/combobox/src/combobox.component.d.ts +1 -1
- package/components/forms/form-error/src/form-error.component.d.ts +1 -8
- package/components/forms/input/src/input.component.d.ts +1 -1
- package/components/forms/select/src/select.component.d.ts +3 -1
- package/components/icon/src/icon.component.d.ts +2 -2
- package/components/product-card/src/product-card.component.d.ts +1 -2
- package/components/table/src/table.component.d.ts +3 -12
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +10 -2
- package/directives/typography/src/typography.directive.d.ts +1 -1
- package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +3 -3
- package/esm2022/components/audio-player/button-play/button-play.component.mjs +5 -5
- package/esm2022/components/audio-player/src/audio-player.component.mjs +5 -4
- package/esm2022/components/audio-player/track-info/track-info.component.mjs +4 -3
- package/esm2022/components/avatar/src/avatar.component.mjs +3 -3
- package/esm2022/components/badge/src/badge.component.mjs +6 -5
- package/esm2022/components/button/src/button.component.mjs +6 -7
- package/esm2022/components/countdown/src/countdown.component.mjs +4 -7
- package/esm2022/components/dropdown/src/dropdown.component.mjs +6 -6
- package/esm2022/components/dual-list/src/dual-list.component.mjs +15 -5
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +10 -8
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +4 -3
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +6 -5
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +4 -11
- package/esm2022/components/forms/input/src/input.component.mjs +12 -12
- package/esm2022/components/forms/select/src/select.component.mjs +9 -7
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +9 -8
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +31 -31
- package/esm2022/components/icon/src/icon.component.mjs +5 -4
- package/esm2022/components/link/src/link.component.mjs +2 -2
- package/esm2022/components/product-card/src/product-card.component.mjs +4 -7
- package/esm2022/components/tab/src/tab.component.mjs +5 -5
- package/esm2022/components/table/src/table.component.mjs +23 -19
- package/esm2022/components/tooltip/src/tooltip.component.mjs +2 -2
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +22 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +4 -3
- package/esm2022/directives/typography/src/typography.directive.mjs +2 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +12 -11
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +5 -4
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +5 -6
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +3 -6
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +14 -4
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +9 -7
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +3 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +5 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -10
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +11 -11
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +8 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +8 -7
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +30 -30
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +4 -3
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +3 -6
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +22 -18
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +23 -4
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +57 -57
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { input, signal, Component, ChangeDetectionStrategy, Host, output, computed, contentChild, contentChildren, effect } from '@angular/core';
|
|
4
|
+
import { TranslatePipe } from '@ngx-translate/core';
|
|
4
5
|
import { SelectComponent } from '@sixbell-telco/sdk/components/forms/select';
|
|
5
6
|
import { IconComponent } from '@sixbell-telco/sdk/components/icon';
|
|
6
7
|
import { matInfoOutline } from '@sixbell-telco/sdk/components/icon/material/outline';
|
|
@@ -145,13 +146,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
|
|
|
145
146
|
* @internal
|
|
146
147
|
* Generates base table classes with size variants
|
|
147
148
|
*/
|
|
148
|
-
const tableContent = cva(['table', '
|
|
149
|
+
const tableContent = cva(['table', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content', '[&_th]:px-4', '[&_td]:px-4'], {
|
|
149
150
|
variants: {
|
|
150
151
|
size: {
|
|
151
|
-
xs: ['table-xs'],
|
|
152
|
-
sm: ['table-sm'],
|
|
153
|
-
md: ['table-md'],
|
|
154
|
-
lg: ['table-lg'],
|
|
152
|
+
xs: ['table-xs', '[&_td]:text-[0.823rem]', '[&_th]:text-[0.823rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],
|
|
153
|
+
sm: ['table-sm', '[&_td]:text-[0.878rem]', '[&_th]:text-[0.878rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],
|
|
154
|
+
md: ['table-md', '[&_td]:text-[0.937rem]', '[&_th]:text-[0.937rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],
|
|
155
|
+
lg: ['table-lg', '[&_td]:text-base', '[&_th]:text-base', '[&_th]:leading-normal', '[&_td]:leading-tight'],
|
|
155
156
|
},
|
|
156
157
|
},
|
|
157
158
|
compoundVariants: [],
|
|
@@ -237,12 +238,6 @@ class TableComponent {
|
|
|
237
238
|
* @defaultValue 'default'
|
|
238
239
|
*/
|
|
239
240
|
paginatorType = input('default');
|
|
240
|
-
/** Label for items per page selector */
|
|
241
|
-
labelEntriesByPage = input('entradas por página');
|
|
242
|
-
/** Label for "X of Y" entries display */
|
|
243
|
-
labelShowEntriesOf = input('de');
|
|
244
|
-
/** Label for total entries display */
|
|
245
|
-
labelShowEntries = input('entradas');
|
|
246
241
|
/** @internal Info icon reference */
|
|
247
242
|
infoIcon = matInfoOutline;
|
|
248
243
|
/**
|
|
@@ -255,11 +250,6 @@ class TableComponent {
|
|
|
255
250
|
* @defaultValue 0
|
|
256
251
|
*/
|
|
257
252
|
totalItems = input(0);
|
|
258
|
-
/**
|
|
259
|
-
* Error message displayed when no data is available
|
|
260
|
-
* @defaultValue 'No se encontraron resultados'
|
|
261
|
-
*/
|
|
262
|
-
error = input('No se encontraron resultados');
|
|
263
253
|
/**
|
|
264
254
|
* Pagination configuration
|
|
265
255
|
* @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }
|
|
@@ -351,6 +341,20 @@ class TableComponent {
|
|
|
351
341
|
'gap-4 pb-4': this.size() === 'lg',
|
|
352
342
|
});
|
|
353
343
|
}
|
|
344
|
+
get paginatorTextSize() {
|
|
345
|
+
switch (this.size()) {
|
|
346
|
+
case 'xs':
|
|
347
|
+
return 'body-xxs';
|
|
348
|
+
case 'sm':
|
|
349
|
+
return 'body-xxs';
|
|
350
|
+
case 'md':
|
|
351
|
+
return 'body-xs';
|
|
352
|
+
case 'lg':
|
|
353
|
+
return 'body-xs';
|
|
354
|
+
default:
|
|
355
|
+
return 'body-xs';
|
|
356
|
+
}
|
|
357
|
+
}
|
|
354
358
|
/** @internal Reference to header checkbox component */
|
|
355
359
|
header = contentChild(TableHeaderCheckboxComponent, { descendants: true });
|
|
356
360
|
/** @internal List of row checkbox components */
|
|
@@ -401,11 +405,11 @@ class TableComponent {
|
|
|
401
405
|
this.header()?.checked.set(false);
|
|
402
406
|
}
|
|
403
407
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
404
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: TableComponent, isStandalone: true, selector: "st-table", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null },
|
|
408
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: TableComponent, isStandalone: true, selector: "st-table", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, showItemsPerPage: { classPropertyName: "showItemsPerPage", publicName: "showItemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, showEntries: { classPropertyName: "showEntries", publicName: "showEntries", isSignal: true, isRequired: false, transformFunction: null }, showPagination: { classPropertyName: "showPagination", publicName: "showPagination", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange", onCheck: "onCheck" }, queries: [{ propertyName: "header", first: true, predicate: TableHeaderCheckboxComponent, descendants: true, isSignal: true }, { propertyName: "rows", predicate: TableRowCheckboxComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.entriesByPage' | translate }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.totalEntries' | translate: { total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.entriesRange' | translate: { range: paginationRange(), total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral p-6\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.emptyListMessage' | translate }}</span>\n\t\t</div>\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginatorComponent, selector: "st-paginator", inputs: ["paginatorId", "maxSize", "type", "pages", "currentPage"], outputs: ["onPageChange", "currentPageChange"] }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "component", type: SelectComponent, selector: "st-select", inputs: ["variant", "size", "ghost", "name", "placeholder", "label", "value", "options", "emptyOptionText", "trackBy", "key", "parentForm", "formControlName", "disabled"], outputs: ["valueChange", "disabledChange", "onChange"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
405
409
|
}
|
|
406
410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TableComponent, decorators: [{
|
|
407
411
|
type: Component,
|
|
408
|
-
args: [{ selector: 'st-table', standalone: true, imports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t
|
|
412
|
+
args: [{ selector: 'st-table', standalone: true, imports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.entriesByPage' | translate }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.totalEntries' | translate: { total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.entriesRange' | translate: { range: paginationRange(), total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral p-6\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.emptyListMessage' | translate }}</span>\n\t\t</div>\n\t</div>\n}\n" }]
|
|
409
413
|
}] });
|
|
410
414
|
|
|
411
415
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-table.mjs","sources":["../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Header checkbox component for the table.\n *\n * This component renders a checkbox within a table header row,\n * allowing users to select or deselect all rows in the table.\n *\n * @remarks\n * Utilizes Angular's dependency injection to access the parent {@link TableComponent}\n * and propagate the checkbox state changes.\n *\n * @example\n * ```html\n * <tr header-checkbox></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Signal that tracks the checked state of the header checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableHeaderCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access table-level operations.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the event when the header checkbox is toggled.\n\t *\n\t * This method notifies the parent table component to either select or deselect all rows.\n\t *\n\t * @param value - The new checked state (true to select all rows, false to deselect all).\n\t */\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Row checkbox component for table row selection.\n *\n * This component renders a checkbox within a table row,\n * enabling individual row selection. It interacts with the parent\n * {@link TableComponent} to update the selection state.\n *\n * @example\n * ```html\n * <tr row-checkbox [identifier]=\"rowId\"></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Unique identifier for the table row.\n\t *\n\t * This input is required to track the specific row in the table.\n\t */\n\tidentifier = input.required();\n\n\t/**\n\t * Signal that tracks the checked state of the row checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableRowCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access\n\t * table-level operations for row selection.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the selection event of the row checkbox.\n\t *\n\t * This method notifies the parent table component to update the selection state\n\t * for the corresponding row, based on the checkbox's new value.\n\t *\n\t * @param value - The new checked state (true for selected, false for deselected).\n\t */\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, input, output, signal } from '@angular/core';\nimport { SelectComponent } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfoOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginatorComponent } from '@sixbell-telco/sdk/components/paginator';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\n/** Type definition for pagination display variants */\nexport type PaginationType = 'default' | 'dots';\n\n/**\n * @internal\n * Generates base table classes with size variants\n */\nexport const tableContent = cva(\n\t['table', 'font-body', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs'],\n\t\t\t\tsm: ['table-sm'],\n\t\t\t\tmd: ['table-md'],\n\t\t\t\tlg: ['table-lg'],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/** Possible table size variants */\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\n/**\n * @internal\n * Generates table container classes with height variants\n */\nexport const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['max-h-72 h-full'],\n\t\t\tmd: ['max-h-80 h-full'],\n\t\t\tlg: ['max-h-96 h-full'],\n\t\t\txl: ['max-h-[36rem] h-full'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\n\n/** Possible table container height values */\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Configuration object for table styling variants */\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Combines table content and container classes\n */\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cx(tableContent({ size }), tableContainer({ containerHeight }));\n\n/** Pagination configuration structure */\nexport type TablePagination = {\n\tid: string;\n\tcurrentPage: number;\n\titemsPerPage: number;\n\tsearch: string;\n};\n\n/**\n * A feature-rich data table component with sorting, pagination, and row selection\n *\n * @remarks\n * Integrates with Tailwind CSS for styling and supports responsive layouts.\n * Includes built-in pagination controls and checkbox selection functionality.\n *\n * @example\n * ```html\n * <st-table\n * [data]=\"users\"\n * [totalItems]=\"100\"\n * [pagination]=\"{ currentPage: 1, itemsPerPage: 10 }\"\n * (onPageChange)=\"handlePageChange($event)\"\n * size=\"md\"\n * height=\"lg\"\n * zebra\n * >\n * <!-- Table columns and content -->\n * </st-table>\n * ```\n */\n@Component({\n\tselector: 'st-table',\n\tstandalone: true,\n\timports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>();\n\n\t/**\n\t * Table container height preset\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>();\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input<boolean>(false);\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input<boolean>(false);\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input<boolean>(false);\n\n\t/**\n\t * Pagination control display variant\n\t * @defaultValue 'default'\n\t */\n\tpaginatorType = input<PaginationType>('default');\n\n\t/** Label for items per page selector */\n\tlabelEntriesByPage = input<string>('entradas por página');\n\n\t/** Label for \"X of Y\" entries display */\n\tlabelShowEntriesOf = input<string>('de');\n\n\t/** Label for total entries display */\n\tlabelShowEntries = input<string>('entradas');\n\n\t/** @internal Info icon reference */\n\tinfoIcon = matInfoOutline;\n\n\t/**\n\t * Array of data items to display\n\t * @defaultValue []\n\t */\n\tdata = input<unknown[]>([]);\n\n\t/**\n\t * Total number of items across all pages\n\t * @defaultValue 0\n\t */\n\ttotalItems = input<number>(0);\n\n\t/**\n\t * Error message displayed when no data is available\n\t * @defaultValue 'No se encontraron resultados'\n\t */\n\terror = input<string>('No se encontraron resultados');\n\n\t/**\n\t * Pagination configuration\n\t * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }\n\t */\n\tpagination = input<TablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t});\n\n\t/**\n\t * Maximum number of pagination buttons to display\n\t * @defaultValue 7\n\t */\n\tmaxSize = input<number>(7);\n\n\t/** Event emitted when page changes */\n\tonPageChange = output<number>();\n\n\t/** Event emitted when page size changes */\n\tonPageSizeChange = output<number>();\n\n\t/**\n\t * Show items per page selector\n\t * @defaultValue true\n\t */\n\tshowItemsPerPage = input<boolean>(true);\n\n\t/**\n\t * Show entries count display\n\t * @defaultValue true\n\t */\n\tshowEntries = input<boolean>(true);\n\n\t/**\n\t * Show pagination controls\n\t * @defaultValue true\n\t */\n\tshowPagination = input<boolean>(true);\n\n\t/**\n\t * Computed display range for current page entries\n\t * @example \"1-10\" of 100 entries\n\t */\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\t/**\n\t * Handles page navigation events\n\t * @param page - New page number\n\t */\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageChange.emit(page);\n\t}\n\n\t/**\n\t * Handles page size changes\n\t * @param size - New items per page value\n\t */\n\thandlePageSizeChange(size: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageSizeChange.emit(size);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\tget tableClass() {\n\t\treturn cn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table container classes based on height input\n\t */\n\tget tableContainerClass() {\n\t\treturn cn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\tget containerClass() {\n\t\treturn cn('flex flex-col gap-3 rounded-box border border-solid border-neutral pb-3', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t});\n\t}\n\n\t/** @internal Reference to header checkbox component */\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\n\t/** @internal List of row checkbox components */\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\n\t/** @internal Track selected row identifiers */\n\tidentifiers = signal<Set<unknown>>(new Set());\n\n\t/** Event emitted with array of selected item identifiers */\n\tonCheck = output<unknown[]>();\n\n\t/** @internal Sync checkbox state with output */\n\tcheckEffect = effect(() => {\n\t\tthis.onCheck.emit(Array.from(this.identifiers()));\n\t});\n\n\t/**\n\t * Toggle all row checkboxes\n\t * @param value - Whether to check or uncheck all rows\n\t */\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle individual checkbox toggle\n\t * @param value - Checkbox state\n\t * @param identifier - Unique row identifier\n\t */\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\t/** @internal Clear all selections */\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral p-6\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ error() }}</span>\n\t\t</div>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TableComponent"],"mappings":";;;;;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MASU,4BAA4B,CAAA;AA2BZ,IAAA,KAAA,CAAA;AA1B5B;;;;AAIG;AACH,IAAA,eAAe,GAAG,KAAK,CAAuB,SAAS,CAAC,CAAC;AAEzD;;;;AAIG;AACH,IAAA,YAAY,GAAG,KAAK,CAAoB,IAAI,CAAC,CAAC;AAE9C;;;;AAIG;AACH,IAAA,OAAO,GAAG,MAAM,CAAU,KAAK,CAAC,CAAC;AAEjC;;;;AAIG;AACH,IAAA,WAAA,CAA4B,KAAqB,EAAA;QAArB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAgB;KAAI;AAErD;;;;;;AAMG;AACH,IAAA,eAAe,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KAClC;wGAtCW,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,cAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,eAAA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AAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAInF,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,cACR,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,CAAC,EAE/E,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2hGAAA,EAAA,CAAA;;;AE/GhD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-table.mjs","sources":["../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Header checkbox component for the table.\n *\n * This component renders a checkbox within a table header row,\n * allowing users to select or deselect all rows in the table.\n *\n * @remarks\n * Utilizes Angular's dependency injection to access the parent {@link TableComponent}\n * and propagate the checkbox state changes.\n *\n * @example\n * ```html\n * <tr header-checkbox></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Signal that tracks the checked state of the header checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableHeaderCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access table-level operations.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the event when the header checkbox is toggled.\n\t *\n\t * This method notifies the parent table component to either select or deselect all rows.\n\t *\n\t * @param value - The new checked state (true to select all rows, false to deselect all).\n\t */\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Row checkbox component for table row selection.\n *\n * This component renders a checkbox within a table row,\n * enabling individual row selection. It interacts with the parent\n * {@link TableComponent} to update the selection state.\n *\n * @example\n * ```html\n * <tr row-checkbox [identifier]=\"rowId\"></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Unique identifier for the table row.\n\t *\n\t * This input is required to track the specific row in the table.\n\t */\n\tidentifier = input.required();\n\n\t/**\n\t * Signal that tracks the checked state of the row checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableRowCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access\n\t * table-level operations for row selection.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the selection event of the row checkbox.\n\t *\n\t * This method notifies the parent table component to update the selection state\n\t * for the corresponding row, based on the checkbox's new value.\n\t *\n\t * @param value - The new checked state (true for selected, false for deselected).\n\t */\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, input, output, signal } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { SelectComponent } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfoOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginatorComponent } from '@sixbell-telco/sdk/components/paginator';\nimport { TypographyDirective, TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\n/** Type definition for pagination display variants */\nexport type PaginationType = 'default' | 'dots';\n\n/**\n * @internal\n * Generates base table classes with size variants\n */\nexport const tableContent = cva(\n\t['table', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content', '[&_th]:px-4', '[&_td]:px-4'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs', '[&_td]:text-[0.823rem]', '[&_th]:text-[0.823rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],\n\t\t\t\tsm: ['table-sm', '[&_td]:text-[0.878rem]', '[&_th]:text-[0.878rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],\n\t\t\t\tmd: ['table-md', '[&_td]:text-[0.937rem]', '[&_th]:text-[0.937rem]', '[&_th]:leading-normal', '[&_td]:leading-tight'],\n\t\t\t\tlg: ['table-lg', '[&_td]:text-base', '[&_th]:text-base', '[&_th]:leading-normal', '[&_td]:leading-tight'],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/** Possible table size variants */\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\n/**\n * @internal\n * Generates table container classes with height variants\n */\nexport const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['max-h-72 h-full'],\n\t\t\tmd: ['max-h-80 h-full'],\n\t\t\tlg: ['max-h-96 h-full'],\n\t\t\txl: ['max-h-[36rem] h-full'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\n\n/** Possible table container height values */\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Configuration object for table styling variants */\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Combines table content and container classes\n */\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cx(tableContent({ size }), tableContainer({ containerHeight }));\n\n/** Pagination configuration structure */\nexport type TablePagination = {\n\tid: string;\n\tcurrentPage: number;\n\titemsPerPage: number;\n\tsearch: string;\n};\n\n/**\n * A feature-rich data table component with sorting, pagination, and row selection\n *\n * @remarks\n * Integrates with Tailwind CSS for styling and supports responsive layouts.\n * Includes built-in pagination controls and checkbox selection functionality.\n *\n * @example\n * ```html\n * <st-table\n * [data]=\"users\"\n * [totalItems]=\"100\"\n * [pagination]=\"{ currentPage: 1, itemsPerPage: 10 }\"\n * (onPageChange)=\"handlePageChange($event)\"\n * size=\"md\"\n * height=\"lg\"\n * zebra\n * >\n * <!-- Table columns and content -->\n * </st-table>\n * ```\n */\n@Component({\n\tselector: 'st-table',\n\tstandalone: true,\n\timports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent, TranslatePipe],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>();\n\n\t/**\n\t * Table container height preset\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>();\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input<boolean>(false);\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input<boolean>(false);\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input<boolean>(false);\n\n\t/**\n\t * Pagination control display variant\n\t * @defaultValue 'default'\n\t */\n\tpaginatorType = input<PaginationType>('default');\n\n\t/** @internal Info icon reference */\n\tinfoIcon = matInfoOutline;\n\n\t/**\n\t * Array of data items to display\n\t * @defaultValue []\n\t */\n\tdata = input<unknown[]>([]);\n\n\t/**\n\t * Total number of items across all pages\n\t * @defaultValue 0\n\t */\n\ttotalItems = input<number>(0);\n\n\t/**\n\t * Pagination configuration\n\t * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }\n\t */\n\tpagination = input<TablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t});\n\n\t/**\n\t * Maximum number of pagination buttons to display\n\t * @defaultValue 7\n\t */\n\tmaxSize = input<number>(7);\n\n\t/** Event emitted when page changes */\n\tonPageChange = output<number>();\n\n\t/** Event emitted when page size changes */\n\tonPageSizeChange = output<number>();\n\n\t/**\n\t * Show items per page selector\n\t * @defaultValue true\n\t */\n\tshowItemsPerPage = input<boolean>(true);\n\n\t/**\n\t * Show entries count display\n\t * @defaultValue true\n\t */\n\tshowEntries = input<boolean>(true);\n\n\t/**\n\t * Show pagination controls\n\t * @defaultValue true\n\t */\n\tshowPagination = input<boolean>(true);\n\n\t/**\n\t * Computed display range for current page entries\n\t * @example \"1-10\" of 100 entries\n\t */\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\t/**\n\t * Handles page navigation events\n\t * @param page - New page number\n\t */\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageChange.emit(page);\n\t}\n\n\t/**\n\t * Handles page size changes\n\t * @param size - New items per page value\n\t */\n\thandlePageSizeChange(size: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageSizeChange.emit(size);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\tget tableClass() {\n\t\treturn cn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table container classes based on height input\n\t */\n\tget tableContainerClass() {\n\t\treturn cn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\tget containerClass() {\n\t\treturn cn('flex flex-col gap-3 rounded-box border border-solid border-neutral pb-3', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t});\n\t}\n\n\tget paginatorTextSize(): TypographyVariantProps {\n\t\tswitch (this.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'body-xxs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'body-xxs';\n\t\t\tcase 'md':\n\t\t\t\treturn 'body-xs';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'body-xs';\n\t\t\tdefault:\n\t\t\t\treturn 'body-xs';\n\t\t}\n\t}\n\n\t/** @internal Reference to header checkbox component */\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\n\t/** @internal List of row checkbox components */\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\n\t/** @internal Track selected row identifiers */\n\tidentifiers = signal<Set<unknown>>(new Set());\n\n\t/** Event emitted with array of selected item identifiers */\n\tonCheck = output<unknown[]>();\n\n\t/** @internal Sync checkbox state with output */\n\tcheckEffect = effect(() => {\n\t\tthis.onCheck.emit(Array.from(this.identifiers()));\n\t});\n\n\t/**\n\t * Toggle all row checkboxes\n\t * @param value - Whether to check or uncheck all rows\n\t */\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle individual checkbox toggle\n\t * @param value - Checkbox state\n\t * @param identifier - Unique row identifier\n\t */\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\t/** @internal Clear all selections */\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.entriesByPage' | translate }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.totalEntries' | translate: { total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ 'sdk.table.entriesRange' | translate: { range: paginationRange(), total: total } }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral p-6\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"paginatorTextSize\" [tyColor]=\"'inherit'\">{{ 'sdk.table.emptyListMessage' | translate }}</span>\n\t\t</div>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TableComponent"],"mappings":";;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MASU,4BAA4B,CAAA;AA2BZ,IAAA,KAAA,CAAA;AA1B5B;;;;AAIG;AACH,IAAA,eAAe,GAAG,KAAK,CAAuB,SAAS,CAAC,CAAC;AAEzD;;;;AAIG;AACH,IAAA,YAAY,GAAG,KAAK,CAAoB,IAAI,CAAC,CAAC;AAE9C;;;;AAIG;AACH,IAAA,OAAO,GAAG,MAAM,CAAU,KAAK,CAAC,CAAC;AAEjC;;;;AAIG;AACH,IAAA,WAAA,CAA4B,KAAqB,EAAA;QAArB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAgB;KAAI;AAErD;;;;;;AAMG;AACH,IAAA,eAAe,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KAClC;wGAtCW,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,cAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAA5B,4BAA4B,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A,SAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,aAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,KAAA,EAAA,YAAA,EAAA,iBAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,gBAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,aAAa,kFAAE,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAIlG,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,cACR,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,EAE9F,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,k+FAAA,EAAA,CAAA;;;AEhHhD;;AAEG;;;;"}
|
|
@@ -3,7 +3,7 @@ import { input, Component } from '@angular/core';
|
|
|
3
3
|
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
4
4
|
import { cva } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center'], {
|
|
6
|
+
const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top'], {
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
9
9
|
primary: ['tooltip-primary'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t\tposition: 'bottom',\n\t},\n});\n\nexport type TooltipVariantProps = 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'error' | 'info' | null | undefined;\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\n@Component({\n\tselector: 'st-tooltip',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n})\nexport class TooltipComponent {\n\tvariant = input<TooltipVariantProps>();\n\tposition = input<TooltipPositionProps>();\n\tlabel = input.required<string>();\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t);\n\t}\n}\n","<div [class]=\"componentClass\" [attr.data-tip]=\"label()\">\n\t<ng-content></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIO,MAAM,gBAAgB,GAAG,GAAG,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,cAAc,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t\tposition: 'bottom',\n\t},\n});\n\nexport type TooltipVariantProps = 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'error' | 'info' | null | undefined;\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\n@Component({\n\tselector: 'st-tooltip',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n})\nexport class TooltipComponent {\n\tvariant = input<TooltipVariantProps>();\n\tposition = input<TooltipPositionProps>();\n\tlabel = input.required<string>();\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t);\n\t}\n}\n","<div [class]=\"componentClass\" [attr.data-tip]=\"label()\">\n\t<ng-content></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIO,MAAM,gBAAgB,GAAG,GAAG,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,CAAC,EAAE;AAC5F,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,SAAS,EAAE,CAAC,mBAAmB,CAAC;YAChC,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,KAAK,EAAE,CAAC,eAAe,CAAC;YACxB,IAAI,EAAE,CAAC,cAAc,CAAC;AACtB,SAAA;AACD,QAAA,QAAQ,EAAE;YACT,GAAG,EAAE,CAAC,aAAa,CAAC;YACpB,MAAM,EAAE,CAAC,gBAAgB,CAAC;YAC1B,KAAK,EAAE,CAAC,eAAe,CAAC;YACxB,IAAI,EAAE,CAAC,cAAc,CAAC;AACtB,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE,EAAE;AACpB,IAAA,eAAe,EAAE;AAChB,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,QAAQ,EAAE,QAAQ;AAClB,KAAA;AACD,CAAA,EAAE;MAiBU,gBAAgB,CAAA;IAC5B,OAAO,GAAG,KAAK,EAAuB,CAAC;IACvC,QAAQ,GAAG,KAAK,EAAwB,CAAC;AACzC,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAEjC,IAAA,IAAI,cAAc,GAAA;QACjB,OAAO,EAAE,CACR,gBAAgB,CAAC;AAChB,YAAA,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;AACvB,SAAA,CAAC,CACF,CAAC;KACF;wGAXW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,wcC5C7B,qGAGA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FDyCa,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAP5B,SAAS;+BACC,YAAY,EAAA,UAAA,EACV,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,qGAAA,EAAA,CAAA;;;AExCZ;;AAEG;;;;"}
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, Component, ChangeDetectionStrategy, contentChildren, model, output, computed, Host } from '@angular/core';
|
|
2
|
+
import { inject, signal, input, Component, ChangeDetectionStrategy, contentChildren, model, output, computed, Host } from '@angular/core';
|
|
3
3
|
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
4
4
|
import { NgClass } from '@angular/common';
|
|
5
|
+
import { TranslateService, _, TranslatePipe } from '@ngx-translate/core';
|
|
5
6
|
import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
|
|
6
7
|
import { matCheckOutline, matKeyboardBackspaceOutline } from '@sixbell-telco/sdk/components/icon/material/outline';
|
|
7
8
|
import { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';
|
|
8
9
|
import { IconComponent } from '@sixbell-telco/sdk/components/icon';
|
|
9
10
|
|
|
10
11
|
class WizardMarkerComponent {
|
|
12
|
+
translateService = inject(TranslateService);
|
|
13
|
+
completed = signal('completed');
|
|
14
|
+
inProgress = signal('in progress');
|
|
15
|
+
pending = signal('pending');
|
|
11
16
|
content = input.required();
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
this.initTranslatations();
|
|
19
|
+
}
|
|
12
20
|
getStatusMarkerMessage(content) {
|
|
13
|
-
return content.status() === 'completed' ?
|
|
21
|
+
return content.status() === 'completed' ? this.completed() : content.status() === 'in progress' ? this.inProgress() : this.pending();
|
|
14
22
|
}
|
|
15
23
|
getStepStatusMarkerClasses(content) {
|
|
16
24
|
return cn('rounded-btn-xs', {
|
|
@@ -19,6 +27,17 @@ class WizardMarkerComponent {
|
|
|
19
27
|
'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-tertiary border-[2px] border-tertiary px-[10px] py-[3px]': content.status() === 'pending',
|
|
20
28
|
});
|
|
21
29
|
}
|
|
30
|
+
initTranslatations() {
|
|
31
|
+
this.translateService.get(_('sdk.wizard.wizardMarker.completed')).subscribe((res) => {
|
|
32
|
+
this.completed.set(res);
|
|
33
|
+
});
|
|
34
|
+
this.translateService.get(_('sdk.wizard.wizardMarker.inProgress')).subscribe((res) => {
|
|
35
|
+
this.inProgress.set(res);
|
|
36
|
+
});
|
|
37
|
+
this.translateService.get(_('sdk.wizard.wizardMarker.pending')).subscribe((res) => {
|
|
38
|
+
this.pending.set(res);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
22
41
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: WizardMarkerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
42
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.12", type: WizardMarkerComponent, isStandalone: true, selector: "st-wizard-marker", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@let contentVar = content();\n<div [class]=\"getStepStatusMarkerClasses(contentVar)\">\n\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">{{ getStatusMarkerMessage(contentVar) }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
24
43
|
}
|
|
@@ -166,11 +185,11 @@ class WizardWrapperComponent {
|
|
|
166
185
|
return { outerClasses, innerClasses };
|
|
167
186
|
}
|
|
168
187
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: WizardWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { currentStep: { classPropertyName: "currentStep", publicName: "currentStep", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentStep: "currentStepChange", onBack: "onBack", oncompleted: "oncompleted" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">
|
|
188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { currentStep: { classPropertyName: "currentStep", publicName: "currentStep", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentStep: "currentStepChange", onBack: "onBack", oncompleted: "oncompleted" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">{{ 'sdk.wizard.wizardWrapper.back' | translate }}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.end' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.next' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n</div>\n", dependencies: [{ kind: "component", type: WizardStepComponent, selector: "st-wizard-step", inputs: ["status", "content", "currentStep"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "component", type: WizardMarkerComponent, selector: "st-wizard-marker", inputs: ["content"] }, { kind: "component", type: WizardSubStepComponent, selector: "st-wizard-sub-step", inputs: ["content", "currentStep"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
170
189
|
}
|
|
171
190
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: WizardWrapperComponent, decorators: [{
|
|
172
191
|
type: Component,
|
|
173
|
-
args: [{ selector: 'st-wizard', standalone: true, imports: [WizardStepComponent, ButtonComponent, NgClass, TypographyDirective, WizardMarkerComponent, WizardSubStepComponent], template: "@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">
|
|
192
|
+
args: [{ selector: 'st-wizard', standalone: true, imports: [WizardStepComponent, ButtonComponent, NgClass, TypographyDirective, WizardMarkerComponent, WizardSubStepComponent, TranslatePipe], template: "@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">{{ 'sdk.wizard.wizardWrapper.back' | translate }}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.end' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.next' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n</div>\n" }]
|
|
174
193
|
}] });
|
|
175
194
|
|
|
176
195
|
class WizardContentComponent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-wizard.mjs","sources":["../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.ts","../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.html","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.ts","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.html","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.ts","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.html","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.ts","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.html","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.ts","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.html","../../../projects/sdk/components/wizard/sixbell-telco-sdk-components-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-marker',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\ttemplateUrl: './wizard-marker.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardMarkerComponent {\n\tcontent = input.required<WizardContentComponent>();\n\n\tgetStatusMarkerMessage(content: WizardContentComponent) {\n\t\treturn content.status() === 'completed' ? 'Completado' : content.status() === 'in progress' ? 'En progreso' : 'Pendiente';\n\t}\n\n\tgetStepStatusMarkerClasses(content: WizardContentComponent) {\n\t\treturn cn('rounded-btn-xs', {\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-primary bg-opacity-20 text-primary px-3 py-[5px]': content.status() === 'completed',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary border-[2px] border-secondary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'in progress',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-tertiary border-[2px] border-tertiary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'pending',\n\t\t});\n\t}\n}\n","@let contentVar = content();\n<div [class]=\"getStepStatusMarkerClasses(contentVar)\">\n\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">{{ getStatusMarkerMessage(contentVar) }}</span>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCheckOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent, WizardStepStatus } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-step',\n\ttemplateUrl: './wizard-step.component.html',\n\tstandalone: true,\n\timports: [TypographyDirective, IconComponent],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardStepComponent {\n\tstatus = input.required<WizardStepStatus>();\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\ticon = matCheckOutline;\n\n\tgetStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst outerClasses = cn(\n\t\t\t'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border-[1px] border-solid p-[2px] font-medium text-neutral-content',\n\t\t\t{\n\t\t\t\t'border-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t\t'border-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t\t'border-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t\t},\n\t\t);\n\t\tconst innerClasses = cn('flex h-full w-full items-center justify-center rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n\n\tget stepNumberClasses() {\n\t\treturn cn({\n\t\t\t'hidden opacity-0': this.status() === 'completed',\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n\n\tget stepIconClasses() {\n\t\treturn cn({\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'completed',\n\t\t\t'hidden opacity-0': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n\n<div [class]=\"getStepClasses(currentStepVar, contentVar).outerClasses\">\n\t<div [class]=\"getStepClasses(currentStepVar, contentVar).innerClasses\">\n\t\t<div [class]=\"stepNumberClasses\">\n\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">\n\t\t\t\t{{ contentVar.step() + 1 }}\n\t\t\t</span>\n\t\t</div>\n\t\t<st-icon [class]=\"stepIconClasses\" [icon]=\"icon\" color=\"inherit\" size=\"md\"></st-icon>\n\t</div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-sub-step',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-sub-step.component.html',\n})\nexport class WizardSubStepComponent {\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetSubStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst leftClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-secondary notCurrentSte relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst centerClasses = cn('h-3 min-h-3 w-3 min-w-3 rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-primary currentStep inProgress transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst rightClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary currentStep inProgress relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\treturn { leftClasses, centerClasses, rightClasses };\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n<div class=\"flex flex-1 -translate-y-3 items-center\">\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).leftClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).centerClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).rightClasses\"></div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { Component, computed, contentChildren, model, output } from '@angular/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { matKeyboardBackspaceOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\nimport { WizardMarkerComponent } from '../wizard-marker/wizard-marker.component';\nimport { WizardStepComponent } from '../wizard-step/wizard-step.component';\nimport { WizardSubStepComponent } from '../wizard-sub-step/wizard-sub-step.component';\n\n@Component({\n\tselector: 'st-wizard',\n\ttemplateUrl: './wizard-wrapper.component.html',\n\tstandalone: true,\n\timports: [WizardStepComponent, ButtonComponent, NgClass, TypographyDirective, WizardMarkerComponent, WizardSubStepComponent],\n})\nexport class WizardWrapperComponent {\n\tcontents = contentChildren(WizardContentComponent);\n\tcurrentStep = model(0);\n\n\tonBack = output();\n\toncompleted = output();\n\n\tisFirstStep = computed(() => this.currentStep() === 0);\n\tisLastStep = computed(() => this.currentStep() === this.contents().length - 1);\n\n\tallStepsAreValid = computed(() => this.contents().every((step) => step.isValid()));\n\tisCurrentStepValid = computed(() => this.contents()[this.currentStep()].isValid());\n\n\ticon = matKeyboardBackspaceOutline;\n\n\thandlePreviousStep() {\n\t\tif (this.currentStep() <= 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() - 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleNextStep() {\n\t\tif (this.currentStep() >= this.contents().length - 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() + 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleBack() {\n\t\tthis.onBack.emit();\n\t}\n\n\thandleComplete() {\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.oncompleted.emit();\n\t}\n\n\thandleStepStatusChange(step: WizardContentComponent) {\n\t\tthis.contents().forEach((s) => {\n\t\t\tif (s.step() < step.step()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() > step.step()) {\n\t\t\t\ts.status.set('pending');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && !step.isValid()) {\n\t\t\t\ts.status.set('in progress');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && step.isValid()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n\t}\n\n\tgetStepClasses(currentStep: number, step: WizardContentComponent) {\n\t\tconst outerClasses = cn({\n\t\t\t'border-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'border-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'border-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\tconst innerClasses = cn({\n\t\t\t'bg-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n}\n","@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">Volver</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">Anterior</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">Finalizar</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">Siguiente</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n</div>\n","import { Component, computed, Host, input, model } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardWrapperComponent } from '../wizard-wrapper/wizard-wrapper.component';\n\nexport type WizardStepStatus = 'in progress' | 'pending' | 'completed';\n\n@Component({\n\tselector: 'st-wizard-content',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-content.component.html',\n})\nexport class WizardContentComponent {\n\tstep = input(0);\n\tname = input('');\n\tstatus = model.required<WizardStepStatus>();\n\tisValid = model.required<boolean>();\n\tlabel = input('');\n\tclasses = input('');\n\n\tcurrentStep = computed(() => this.wizard.currentStep());\n\tisStepActive = computed(() => this.step() === this.currentStep());\n\n\tconstructor(@Host() private wizard: WizardWrapperComponent) {}\n\n\tget componentClass() {\n\t\treturn cn('animate-fade-in animate-duration-300', this.classes());\n\t}\n}\n","@if (this.isStepActive()) {\n\t<div [class]=\"componentClass\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.WizardWrapperComponent"],"mappings":";;;;;;;;;MAYa,qBAAqB,CAAA;AACjC,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAA0B,CAAC;AAEnD,IAAA,sBAAsB,CAAC,OAA+B,EAAA;QACrD,OAAO,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW,GAAG,YAAY,GA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N,MAAM,CAAwB;KAAI;AAE9D,IAAA,IAAI,cAAc,GAAA;QACjB,OAAO,EAAE,CAAC,sCAAsC,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;KAClE;wGAfW,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,sBAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,+2BCZnC,+GAKA,EAAA,CAAA,CAAA;;4FDOa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;+BACC,mBAAmB,EAAA,UAAA,EACjB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,+GAAA,EAAA,CAAA;;0BAcE,IAAI;;;AEvBlB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-wizard.mjs","sources":["../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.ts","../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.html","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.ts","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.html","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.ts","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.html","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.ts","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.html","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.ts","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.html","../../../projects/sdk/components/wizard/sixbell-telco-sdk-components-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, input, OnInit, signal } from '@angular/core';\nimport { _, TranslateService } from '@ngx-translate/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-marker',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\ttemplateUrl: './wizard-marker.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardMarkerComponent implements OnInit {\n\ttranslateService = inject(TranslateService);\n\n\tcompleted = signal('completed');\n\tinProgress = signal('in progress');\n\tpending = signal('pending');\n\n\tcontent = input.required<WizardContentComponent>();\n\n\tngOnInit(): void {\n\t\tthis.initTranslatations();\n\t}\n\n\tgetStatusMarkerMessage(content: WizardContentComponent) {\n\t\treturn content.status() === 'completed' ? this.completed() : content.status() === 'in progress' ? this.inProgress() : this.pending();\n\t}\n\n\tgetStepStatusMarkerClasses(content: WizardContentComponent) {\n\t\treturn cn('rounded-btn-xs', {\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-primary bg-opacity-20 text-primary px-3 py-[5px]': content.status() === 'completed',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary border-[2px] border-secondary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'in progress',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-tertiary border-[2px] border-tertiary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'pending',\n\t\t});\n\t}\n\n\tinitTranslatations() {\n\t\tthis.translateService.get(_('sdk.wizard.wizardMarker.completed')).subscribe((res: string) => {\n\t\t\tthis.completed.set(res);\n\t\t});\n\t\tthis.translateService.get(_('sdk.wizard.wizardMarker.inProgress')).subscribe((res: string) => {\n\t\t\tthis.inProgress.set(res);\n\t\t});\n\t\tthis.translateService.get(_('sdk.wizard.wizardMarker.pending')).subscribe((res: string) => {\n\t\t\tthis.pending.set(res);\n\t\t});\n\t}\n}\n","@let contentVar = content();\n<div [class]=\"getStepStatusMarkerClasses(contentVar)\">\n\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">{{ getStatusMarkerMessage(contentVar) }}</span>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCheckOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent, WizardStepStatus } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-step',\n\ttemplateUrl: './wizard-step.component.html',\n\tstandalone: true,\n\timports: [TypographyDirective, IconComponent],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardStepComponent {\n\tstatus = input.required<WizardStepStatus>();\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\ticon = matCheckOutline;\n\n\tgetStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst outerClasses = cn(\n\t\t\t'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border-[1px] border-solid p-[2px] font-medium text-neutral-content',\n\t\t\t{\n\t\t\t\t'border-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t\t'border-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t\t'border-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t\t},\n\t\t);\n\t\tconst innerClasses = cn('flex h-full w-full items-center justify-center rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n\n\tget stepNumberClasses() {\n\t\treturn cn({\n\t\t\t'hidden opacity-0': this.status() === 'completed',\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n\n\tget stepIconClasses() {\n\t\treturn cn({\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'completed',\n\t\t\t'hidden opacity-0': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n\n<div [class]=\"getStepClasses(currentStepVar, contentVar).outerClasses\">\n\t<div [class]=\"getStepClasses(currentStepVar, contentVar).innerClasses\">\n\t\t<div [class]=\"stepNumberClasses\">\n\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">\n\t\t\t\t{{ contentVar.step() + 1 }}\n\t\t\t</span>\n\t\t</div>\n\t\t<st-icon [class]=\"stepIconClasses\" [icon]=\"icon\" color=\"inherit\" size=\"md\"></st-icon>\n\t</div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'st-wizard-sub-step',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-sub-step.component.html',\n})\nexport class WizardSubStepComponent {\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetSubStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst leftClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-secondary notCurrentSte relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst centerClasses = cn('h-3 min-h-3 w-3 min-w-3 rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-primary currentStep inProgress transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst rightClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary currentStep inProgress relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\treturn { leftClasses, centerClasses, rightClasses };\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n<div class=\"flex flex-1 -translate-y-3 items-center\">\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).leftClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).centerClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).rightClasses\"></div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { Component, computed, contentChildren, model, output } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { matKeyboardBackspaceOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\nimport { WizardMarkerComponent } from '../wizard-marker/wizard-marker.component';\nimport { WizardStepComponent } from '../wizard-step/wizard-step.component';\nimport { WizardSubStepComponent } from '../wizard-sub-step/wizard-sub-step.component';\n\n@Component({\n\tselector: 'st-wizard',\n\ttemplateUrl: './wizard-wrapper.component.html',\n\tstandalone: true,\n\timports: [WizardStepComponent, ButtonComponent, NgClass, TypographyDirective, WizardMarkerComponent, WizardSubStepComponent, TranslatePipe],\n})\nexport class WizardWrapperComponent {\n\tcontents = contentChildren(WizardContentComponent);\n\tcurrentStep = model(0);\n\n\tonBack = output();\n\toncompleted = output();\n\n\tisFirstStep = computed(() => this.currentStep() === 0);\n\tisLastStep = computed(() => this.currentStep() === this.contents().length - 1);\n\n\tallStepsAreValid = computed(() => this.contents().every((step) => step.isValid()));\n\tisCurrentStepValid = computed(() => this.contents()[this.currentStep()].isValid());\n\n\ticon = matKeyboardBackspaceOutline;\n\n\thandlePreviousStep() {\n\t\tif (this.currentStep() <= 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() - 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleNextStep() {\n\t\tif (this.currentStep() >= this.contents().length - 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() + 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleBack() {\n\t\tthis.onBack.emit();\n\t}\n\n\thandleComplete() {\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.oncompleted.emit();\n\t}\n\n\thandleStepStatusChange(step: WizardContentComponent) {\n\t\tthis.contents().forEach((s) => {\n\t\t\tif (s.step() < step.step()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() > step.step()) {\n\t\t\t\ts.status.set('pending');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && !step.isValid()) {\n\t\t\t\ts.status.set('in progress');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && step.isValid()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n\t}\n\n\tgetStepClasses(currentStep: number, step: WizardContentComponent) {\n\t\tconst outerClasses = cn({\n\t\t\t'border-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'border-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'border-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\tconst innerClasses = cn({\n\t\t\t'bg-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n}\n","@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">{{ 'sdk.wizard.wizardWrapper.back' | translate }}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.end' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">{{\n\t\t\t\t\t'sdk.wizard.wizardWrapper.next' | translate\n\t\t\t\t}}</st-button>\n\t\t\t</div>\n\t\t}\n\t</div>\n</div>\n","import { Component, computed, Host, input, model } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardWrapperComponent } from '../wizard-wrapper/wizard-wrapper.component';\n\nexport type WizardStepStatus = 'in progress' | 'pending' | 'completed';\n\n@Component({\n\tselector: 'st-wizard-content',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-content.component.html',\n})\nexport class WizardContentComponent {\n\tstep = input(0);\n\tname = input('');\n\tstatus = model.required<WizardStepStatus>();\n\tisValid = model.required<boolean>();\n\tlabel = input('');\n\tclasses = input('');\n\n\tcurrentStep = computed(() => this.wizard.currentStep());\n\tisStepActive = computed(() => this.step() === this.currentStep());\n\n\tconstructor(@Host() private wizard: WizardWrapperComponent) {}\n\n\tget componentClass() {\n\t\treturn cn('animate-fade-in animate-duration-300', this.classes());\n\t}\n}\n","@if (this.isStepActive()) {\n\t<div [class]=\"componentClass\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.WizardWrapperComponent"],"mappings":";;;;;;;;;;MAaa,qBAAqB,CAAA;AACjC,IAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAE5C,IAAA,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAChC,IAAA,UAAU,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AACnC,IAAA,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAE5B,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAA0B,CAAC;IAEnD,QAAQ,GAAA;QACP,IAAI,CAAC,kBAAkB,EAAE,CAAC;KAC1B;AAED,IAAA,sBAAsB,CAAC,OAA+B,EAAA;AACrD,QAAA,OAAO,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,aAAa,GAAG,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;KACrI;AAED,IAAA,0BAA0B,CAAC,OAA+B,EAAA;QACzD,OAAO,EAAE,CAAC,gBAAgB,EAAE;AAC3B,YAAA,uGAAuG,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW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C,CAAC;AAElE,IAAA,WAAA,CAA4B,MAA8B,EAAA;QAA9B,IAAM,CAAA,MAAA,GAAN,MAAM,CAAwB;KAAI;AAE9D,IAAA,IAAI,cAAc,GAAA;QACjB,OAAO,EAAE,CAAC,sCAAsC,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;KAClE;wGAfW,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,sBAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,+2BCZnC,+GAKA,EAAA,CAAA,CAAA;;4FDOa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;+BACC,mBAAmB,EAAA,UAAA,EACjB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,+GAAA,EAAA,CAAA;;0BAcE,IAAI;;;AEvBlB;;AAEG;;;;"}
|
|
@@ -19,6 +19,7 @@ const typographyDirective = cva([], {
|
|
|
19
19
|
body: ['text-base', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight'],
|
|
20
20
|
'body-sm': ['text-[0.937rem]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight'],
|
|
21
21
|
'body-xs': ['text-[0.878rem]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight'],
|
|
22
|
+
'body-xxs': ['text-[0.823rem]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight'],
|
|
22
23
|
inherit: ['font-body'],
|
|
23
24
|
},
|
|
24
25
|
color: {
|