@sixbell-telco/sdk 4.5.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +276 -986
- package/GLOSSARY.md +76 -0
- package/README.md +143 -1346
- package/banner.webp +0 -0
- package/components/badge/src/badge.component.d.ts +6 -1
- package/components/dropdown-menu/README.md +1 -0
- package/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.d.ts +2 -0
- package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +9 -2
- package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +6 -0
- package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +7 -0
- package/components/dropdown-menu/public-api.d.ts +1 -0
- package/components/dropdown-menu/src/directives/dropdown-menu-keyboard.directive.d.ts +54 -0
- package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +5 -0
- package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +15 -2
- package/components/forms/checkbox/src/checkbox.component.d.ts +12 -1
- package/components/status-illustration/README.md +38 -0
- package/components/status-illustration/index.d.ts +5 -0
- package/components/status-illustration/public-api.d.ts +1 -0
- package/components/status-illustration/src/status-illustration.component.d.ts +42 -0
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +1 -1
- package/components/tree/README.md +11 -1
- package/components/tree/src/tree.component.d.ts +44 -5
- package/components/wizard/README.md +17 -0
- package/components/wizard/services/wizard.service.d.ts +9 -0
- package/components/wizard/wizard-indicator/wizard-indicator.component.d.ts +71 -0
- package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +24 -1
- package/directives/text/src/text.directive.d.ts +6 -2
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +8 -2
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +92 -25
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +29 -3
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +271 -21
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +14 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +15 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-segmented-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-status-illustration.mjs +66 -0
- package/fesm2022/sixbell-telco-sdk-components-status-illustration.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -0
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +4 -4
- 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-tree.mjs +171 -51
- package/fesm2022/sixbell-telco-sdk-components-tree.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +123 -356
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs +4 -1
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-directives-truncate.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs +55 -13
- package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +23 -4
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/i18n/sdk/en.json +4 -1
- package/i18n/sdk/es.json +4 -1
- package/i18n/sdk/pt.json +4 -1
- package/layouts/README.md +16 -6
- package/layouts/src/page-banner/page-banner.component.d.ts +37 -6
- package/manifest.json +10943 -0
- package/package.json +58 -41
- package/schematics/lib/plan.cjs +179 -0
- package/schematics/lib/tokens.cjs +133 -0
- package/schematics/lib/workspace.cjs +118 -0
- package/schematics/manual-steps.json +90 -0
- package/schematics/migration.json +15 -0
- package/schematics/migrations/v4-0-0/assets.cjs +331 -0
- package/schematics/migrations/v4-0-0/canonical/enghouse_networks.json +360 -0
- package/schematics/migrations/v4-0-0/canonical/shell.json +25 -0
- package/schematics/migrations/v4-0-0/canonical/theme-assets.json +44 -0
- package/schematics/migrations/v4-0-0/canonical/themes.json +11 -0
- package/schematics/migrations/v4-0-0/index.cjs +96 -0
- package/schematics/migrations/v4-0-0/layout.cjs +269 -0
- package/schematics/migrations/v4-0-0/shell.cjs +1864 -0
- package/schematics/migrations/v4-6-0/index.cjs +394 -0
- package/src/_index.css +257 -26
- package/utils/theme/README.md +1 -1
- package/utils/theme/public-api.d.ts +1 -1
- package/utils/theme/src/models/theme.d.ts +10 -0
- package/utils/theme/src/theme-assets/theme-assets.service.d.ts +12 -1
- package/banner.png +0 -0
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +0 -85
- package/components/wizard/wizard-step/wizard-step.component.d.ts +0 -83
- package/components/wizard/wizard-sub-step/wizard-sub-step.component.d.ts +0 -95
|
@@ -236,7 +236,7 @@ class ButtonComponent {
|
|
|
236
236
|
glass: this.glass(),
|
|
237
237
|
'w-full': this.block(),
|
|
238
238
|
'btn-loading': this.loader(),
|
|
239
|
-
'shadow-
|
|
239
|
+
'shadow-overlay': this.shadow(),
|
|
240
240
|
'aria-pressed:inset-ring-base-content aria-pressed:inset-ring': this.isBaseToggleable() && !this.dash(),
|
|
241
241
|
'aria-pressed:border-[calc(var(--border)*2)] aria-pressed:border-dashed': this.isBaseToggleable() && this.dash(),
|
|
242
242
|
'aria-pressed:px-[calc(var(--btn-p)-var(--border))]': this.isBaseToggleable() && this.dash() && !this.circle() && !this.square(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-button.mjs","sources":["../../../projects/sdk/components/button/src/button.component.ts","../../../projects/sdk/components/button/src/button.component.html","../../../projects/sdk/components/button/sixbell-telco-sdk-components-button.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n\tafterRenderEffect,\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\tDestroyRef,\n\tElementRef,\n\tinject,\n\tinput,\n\tisDevMode,\n\tNgZone,\n\toutput,\n} from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * Generates base button classes with style variants\n */\n/** How long an icon-only button must stay unnamed, after its last DOM change, before the dev-mode warning. */\nconst UNNAMED_ICON_SETTLE_MS = 2000;\n\nconst hasAccessibleName = (button: HTMLButtonElement): boolean =>\n\t!!(\n\t\tbutton.getAttribute('aria-label')?.trim() ||\n\t\tbutton.getAttribute('aria-labelledby')?.trim() ||\n\t\tbutton.getAttribute('title')?.trim() ||\n\t\tbutton.textContent?.trim() ||\n\t\tbutton.querySelector('[role=\"img\"][aria-label]')\n\t);\n\nexport const buttonComponent = cva(['btn', 'text-pretty', 'font-body', 'font-medium', 'leading-normal', 'items-center', 'align-middle'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbase: ['btn-base'],\n\t\t\tprimary: ['btn-primary'],\n\t\t\tsecondary: ['btn-secondary'],\n\t\t\ttertiary: ['btn-tertiary'],\n\t\t\taccent: ['btn-accent'],\n\t\t\tinfo: ['btn-info'],\n\t\t\tsuccess: ['btn-success'],\n\t\t\twarning: ['btn-warning'],\n\t\t\terror: ['btn-error'],\n\t\t},\n\t\tsize: {\n\t\t\txs: ['btn-xs'],\n\t\t\tsm: ['btn-sm'],\n\t\t\tmd: ['btn-md'],\n\t\t\tlg: ['btn-lg'],\n\t\t\txl: ['btn-xl'],\n\t\t},\n\t\ticonPosition: {\n\t\t\tleft: [''],\n\t\t\tright: ['flex-row-reverse'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'base',\n\t\tsize: 'md',\n\t\ticonPosition: 'left',\n\t},\n});\n\n/** Possible button style variants */\nexport type ButtonVariantProps =\n\t'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'base' | null | undefined;\n\n/** Possible button size variants */\nexport type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Possible icon positions relative to button text */\nexport type ButtonIconPositionProps = 'left' | 'right' | null | undefined;\n\n/** Configuration object for button styling variants */\nexport type ButtonProps = {\n\tvariant?: ButtonVariantProps;\n\tsize?: ButtonSizeProps;\n\ticonPosition?: ButtonIconPositionProps;\n};\n\n/** Valid HTML button types */\nexport type HTMLButtonType = 'button' | 'submit' | 'reset';\n\n/**\n * A customizable button component with multiple variants and icon support\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports various styling variants, sizes, icon positions, and state modifiers.\n *\n * @example\n * ```html\n * <st-button\n * variant=\"primary\"\n * size=\"md\"\n * icon=\"check\"\n * iconPosition=\"left\"\n * >\n * Submit\n * </st-button>\n * ```\n */\n@Component({\n\tselector: 'st-button',\n\timports: [IconComponent, CommonModule],\n\ttemplateUrl: './button.component.html',\n\tstyles: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent {\n\tprivate readonly host: ElementRef<HTMLElement> = inject(ElementRef);\n\tprivate readonly zone = inject(NgZone);\n\tprivate unnamedIconWarned = false;\n\tprivate roleWarned = false;\n\tprivate nameWatch: { observer?: MutationObserver; timer?: ReturnType<typeof setTimeout> } | null = null;\n\n\t/**\n\t * Button style variant\n\t * @defaultValue 'base'\n\t */\n\tvariant = input<ButtonVariantProps>();\n\n\t/**\n\t * Ghost button style (transparent background)\n\t * @defaultValue false\n\t */\n\tghost = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Outline button style (border with transparent fill)\n\t * @defaultValue false\n\t */\n\toutline = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Link button style (appears as a hyperlink)\n\t * @defaultValue false\n\t */\n\tlink = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Soft button style (muted/subdued color variant)\n\t * @defaultValue false\n\t */\n\tsoft = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Dash button style (dashed border)\n\t * @defaultValue false\n\t */\n\tdash = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Wide button style (increased horizontal padding)\n\t * @defaultValue false\n\t */\n\twide = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Circular button shape\n\t * @defaultValue false\n\t */\n\tcircle = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Square button shape\n\t * @defaultValue false\n\t */\n\tsquare = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Full-width button\n\t * @defaultValue false\n\t */\n\tblock = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Show loading spinner\n\t * @defaultValue false\n\t */\n\tloader = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Button size variant\n\t * @defaultValue 'md'\n\t */\n\tsize = input<ButtonSizeProps>();\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Button is focusable\n\t * @defaultValue true\n\t */\n\tfocusable = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Icon name (from icon library)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Position of icon relative to text\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<ButtonIconPositionProps>();\n\n\t/**\n\t * HTML button type attribute\n\t * @defaultValue 'button'\n\t */\n\ttype = input<HTMLButtonType>('button');\n\n\t/**\n\t * Disabled state\n\t * @defaultValue false\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Accessible name forwarded to the inner `<button>` as `aria-label`.\n\t * Use it for icon-only buttons. Attributes bound on the `st-button` host are not forwarded.\n\t */\n\tariaLabel = input<string | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-expanded`.\n\t * Set it only when the button shows or hides another region; leave it unset otherwise.\n\t */\n\tariaExpanded = input<boolean | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-pressed` for toggle buttons.\n\t * Leave it unset for ordinary buttons.\n\t */\n\tariaPressed = input<boolean | 'mixed' | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-describedby`: the id(s) of elements that describe it,\n\t * such as a notice that explains why the button is disabled.\n\t */\n\tariaDescribedBy = input<string | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-controls`: the id(s) of the elements the button shows, hides or resizes.\n\t */\n\tariaControls = input<string | null | undefined>();\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on pointer down\n\t */\n\tpointerDown = output<PointerEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on activation (click or keyboard)\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the button container\n\t */\n\tcontainerClass = computed(() =>\n\t\tcn(\n\t\t\tbuttonComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tsize: this.size(),\n\t\t\t\ticonPosition: this.iconPosition(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'btn-ghost': this.ghost(),\n\t\t\t\t'btn-outline': this.outline(),\n\t\t\t\t'btn-link': this.link(),\n\t\t\t\t'btn-soft': this.soft(),\n\t\t\t\t'btn-dash': this.dash(),\n\t\t\t\t'btn-wide': this.wide(),\n\t\t\t\t'btn-circle': this.circle(),\n\t\t\t\t'btn-square': this.square(),\n\t\t\t\tglass: this.glass(),\n\t\t\t\t'w-full': this.block(),\n\t\t\t\t'btn-loading': this.loader(),\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t\t'aria-pressed:inset-ring-base-content aria-pressed:inset-ring': this.isBaseToggleable() && !this.dash(),\n\t\t\t\t'aria-pressed:border-[calc(var(--border)*2)] aria-pressed:border-dashed': this.isBaseToggleable() && this.dash(),\n\t\t\t\t'aria-pressed:px-[calc(var(--btn-p)-var(--border))]': this.isBaseToggleable() && this.dash() && !this.circle() && !this.square(),\n\t\t\t},\n\t\t),\n\t);\n\n\t/**\n\t * @internal A base outline/dash toggle differs from rest only by a light tint when pressed, so\n\t * `aria-pressed=\"true\"` also doubles its border: an inset `base-content` ring for outline, and twice the\n\t * dashed border width for dash (the padding shrinks by the same amount, so nothing shifts).\n\t */\n\tprivate readonly isBaseToggleable = computed(() => (this.variant() ?? 'base') === 'base' && (this.outline() || this.dash()));\n\n\tlinkClass = computed(() => {\n\t\treturn cn('link font-body inline-flex items-center gap-1 align-middle leading-normal font-normal no-underline', this.iconPosition(), {\n\t\t\t'link-primary': this.variant() === 'primary',\n\t\t\t'link-secondary': this.variant() === 'secondary',\n\t\t\t'link-tertiary': this.variant() === 'tertiary',\n\t\t\t'link-accent': this.variant() === 'accent',\n\t\t\t'link-success': this.variant() === 'success',\n\t\t\t'link-info': this.variant() === 'info',\n\t\t\t'link-warning': this.variant() === 'warning',\n\t\t\t'link-error': this.variant() === 'error',\n\t\t\t'text-[12px]': this.size() === 'xs',\n\t\t\t'text-[13px]': this.size() === 'sm',\n\t\t\t'text-[14px]': this.size() === 'md',\n\t\t\t'text-[15px]': this.size() === 'lg',\n\t\t\t'text-[16px]': this.size() === 'xl',\n\t\t\t'text-base-content/10 hover:text-base-content/10 cursor-default hover:cursor-default': this.disabled(),\n\t\t});\n\t});\n\n\tconstructor() {\n\t\tif (isDevMode()) {\n\t\t\tafterRenderEffect(() => {\n\t\t\t\tif (this.icon()) this.watchAccessibleName();\n\t\t\t});\n\t\t\tafterRenderEffect(() => this.checkDeclaredRole());\n\t\t\tinject(DestroyRef).onDestroy(() => this.stopNameWatch());\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Dev mode only: watches the inner button until its accessible name has settled\n\t * (no DOM change for UNNAMED_ICON_SETTLE_MS), then warns once if an icon-only button is still unnamed.\n\t * Names that arrive late, such as translations or projected text, do not warn.\n\t */\n\tprivate watchAccessibleName(): void {\n\t\tif (this.unnamedIconWarned || this.nameWatch) return;\n\t\tconst button = this.host.nativeElement.querySelector('button');\n\t\tif (!button) return;\n\t\tthis.zone.runOutsideAngular(() => {\n\t\t\tconst watch: { observer?: MutationObserver; timer?: ReturnType<typeof setTimeout> } = {};\n\t\t\tthis.nameWatch = watch;\n\t\t\tconst schedule = () => {\n\t\t\t\tclearTimeout(watch.timer);\n\t\t\t\twatch.timer = setTimeout(() => this.checkAccessibleName(button), UNNAMED_ICON_SETTLE_MS);\n\t\t\t};\n\t\t\tif (typeof MutationObserver !== 'undefined') {\n\t\t\t\twatch.observer = new MutationObserver(schedule);\n\t\t\t\twatch.observer.observe(button, {\n\t\t\t\t\tsubtree: true,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeFilter: ['aria-label', 'aria-labelledby', 'title'],\n\t\t\t\t});\n\t\t\t}\n\t\t\tschedule();\n\t\t});\n\t}\n\n\tprivate checkAccessibleName(button: HTMLButtonElement): void {\n\t\tthis.stopNameWatch();\n\t\tif (!this.icon() || hasAccessibleName(button)) return;\n\t\tthis.unnamedIconWarned = true;\n\t\tconsole.warn(\n\t\t\t'[st-button] An icon-only st-button has no accessible name. Set `ariaLabel` or project visually hidden text (`<span class=\"sr-only\">`).',\n\t\t\tthis.host.nativeElement,\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Dev mode only: warns once when a filled or outlined button has no declared role. `base` is meant\n\t * for `ghost` and `link` buttons; every other button should say what it does with a color variant.\n\t */\n\tprivate checkDeclaredRole(): void {\n\t\tif (this.roleWarned) return;\n\t\tconst variant = this.variant();\n\t\tif (this.ghost() || this.link() || (variant && variant !== 'base')) return;\n\t\tthis.roleWarned = true;\n\t\tconsole.warn(\n\t\t\t'[st-button] This st-button has no role variant. Set `variant` to `primary`, `secondary`, `tertiary` or a status color; keep `base` (or no variant) for `ghost` and `link` buttons only.',\n\t\t\tthis.host.nativeElement,\n\t\t);\n\t}\n\n\tprivate stopNameWatch(): void {\n\t\tthis.nameWatch?.observer?.disconnect();\n\t\tclearTimeout(this.nameWatch?.timer);\n\t\tthis.nameWatch = null;\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click events\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle pointer down events\n\t */\n\thandlePointerDown(event: PointerEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.pointerDown.emit(event);\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter keydown events\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space keydown events\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t}\n}\n","@let iconVar = icon();\n@let loaderVar = loader();\n@let focusableVar = focusable();\n<button\n\t[class]=\"link() === false ? containerClass() : linkClass()\"\n\t[type]=\"type()\"\n\t[disabled]=\"disabled()\"\n\t[tabIndex]=\"focusableVar ? 0 : -1\"\n\t[attr.aria-label]=\"ariaLabel() || null\"\n\t[attr.aria-expanded]=\"ariaExpanded() ?? null\"\n\t[attr.aria-pressed]=\"ariaPressed() ?? null\"\n\t[attr.aria-describedby]=\"ariaDescribedBy() || null\"\n\t[attr.aria-controls]=\"ariaControls() || null\"\n\t(pointerdown)=\"handlePointerDown($event)\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n>\n\t@if (iconVar) {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\t@if (loaderVar) {\n\t\t<span class=\"loading loading-spinner h-[1.2em] w-[1.2em]\"></span>\n\t}\n\t<ng-content></ng-content>\n</button>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAmBA;;;AAGG;AACH;AACA,MAAM,sBAAsB,GAAG,IAAI;AAEnC,MAAM,iBAAiB,GAAG,CAAC,MAAyB,KACnD,CAAC,EACA,MAAM,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE;AACzC,IAAA,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE;AAC9C,IAAA,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE;AACpC,IAAA,MAAM,CAAC,WAAW,EAAE,IAAI,EAAE;AAC1B,IAAA,MAAM,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAChD;MAEW,eAAe,GAAG,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,CAAC,EAAE;AACxI,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,SAAS,EAAE,CAAC,eAAe,CAAC;YAC5B,QAAQ,EAAE,CAAC,cAAc,CAAC;YAC1B,MAAM,EAAE,CAAC,YAAY,CAAC;YACtB,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,KAAK,EAAE,CAAC,WAAW,CAAC;AACpB,SAAA;AACD,QAAA,IAAI,EAAE;YACL,EAAE,EAAE,CAA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iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,YAAA,EAAA,cAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EClH5B,i6BA0BA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDmFW,aAAa,mGAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;+BACC,WAAW,EAAA,OAAA,EACZ,CAAC,aAAa,EAAE,YAAY,CAAC,EAAA,eAAA,EAGrB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,i6BAAA,EAAA;;;AEhHhD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-button.mjs","sources":["../../../projects/sdk/components/button/src/button.component.ts","../../../projects/sdk/components/button/src/button.component.html","../../../projects/sdk/components/button/sixbell-telco-sdk-components-button.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n\tafterRenderEffect,\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\tDestroyRef,\n\tElementRef,\n\tinject,\n\tinput,\n\tisDevMode,\n\tNgZone,\n\toutput,\n} from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * Generates base button classes with style variants\n */\n/** How long an icon-only button must stay unnamed, after its last DOM change, before the dev-mode warning. */\nconst UNNAMED_ICON_SETTLE_MS = 2000;\n\nconst hasAccessibleName = (button: HTMLButtonElement): boolean =>\n\t!!(\n\t\tbutton.getAttribute('aria-label')?.trim() ||\n\t\tbutton.getAttribute('aria-labelledby')?.trim() ||\n\t\tbutton.getAttribute('title')?.trim() ||\n\t\tbutton.textContent?.trim() ||\n\t\tbutton.querySelector('[role=\"img\"][aria-label]')\n\t);\n\nexport const buttonComponent = cva(['btn', 'text-pretty', 'font-body', 'font-medium', 'leading-normal', 'items-center', 'align-middle'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbase: ['btn-base'],\n\t\t\tprimary: ['btn-primary'],\n\t\t\tsecondary: ['btn-secondary'],\n\t\t\ttertiary: ['btn-tertiary'],\n\t\t\taccent: ['btn-accent'],\n\t\t\tinfo: ['btn-info'],\n\t\t\tsuccess: ['btn-success'],\n\t\t\twarning: ['btn-warning'],\n\t\t\terror: ['btn-error'],\n\t\t},\n\t\tsize: {\n\t\t\txs: ['btn-xs'],\n\t\t\tsm: ['btn-sm'],\n\t\t\tmd: ['btn-md'],\n\t\t\tlg: ['btn-lg'],\n\t\t\txl: ['btn-xl'],\n\t\t},\n\t\ticonPosition: {\n\t\t\tleft: [''],\n\t\t\tright: ['flex-row-reverse'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'base',\n\t\tsize: 'md',\n\t\ticonPosition: 'left',\n\t},\n});\n\n/** Possible button style variants */\nexport type ButtonVariantProps =\n\t'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'base' | null | undefined;\n\n/** Possible button size variants */\nexport type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Possible icon positions relative to button text */\nexport type ButtonIconPositionProps = 'left' | 'right' | null | undefined;\n\n/** Configuration object for button styling variants */\nexport type ButtonProps = {\n\tvariant?: ButtonVariantProps;\n\tsize?: ButtonSizeProps;\n\ticonPosition?: ButtonIconPositionProps;\n};\n\n/** Valid HTML button types */\nexport type HTMLButtonType = 'button' | 'submit' | 'reset';\n\n/**\n * A customizable button component with multiple variants and icon support\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports various styling variants, sizes, icon positions, and state modifiers.\n *\n * @example\n * ```html\n * <st-button\n * variant=\"primary\"\n * size=\"md\"\n * icon=\"check\"\n * iconPosition=\"left\"\n * >\n * Submit\n * </st-button>\n * ```\n */\n@Component({\n\tselector: 'st-button',\n\timports: [IconComponent, CommonModule],\n\ttemplateUrl: './button.component.html',\n\tstyles: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent {\n\tprivate readonly host: ElementRef<HTMLElement> = inject(ElementRef);\n\tprivate readonly zone = inject(NgZone);\n\tprivate unnamedIconWarned = false;\n\tprivate roleWarned = false;\n\tprivate nameWatch: { observer?: MutationObserver; timer?: ReturnType<typeof setTimeout> } | null = null;\n\n\t/**\n\t * Button style variant\n\t * @defaultValue 'base'\n\t */\n\tvariant = input<ButtonVariantProps>();\n\n\t/**\n\t * Ghost button style (transparent background)\n\t * @defaultValue false\n\t */\n\tghost = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Outline button style (border with transparent fill)\n\t * @defaultValue false\n\t */\n\toutline = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Link button style (appears as a hyperlink)\n\t * @defaultValue false\n\t */\n\tlink = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Soft button style (muted/subdued color variant)\n\t * @defaultValue false\n\t */\n\tsoft = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Dash button style (dashed border)\n\t * @defaultValue false\n\t */\n\tdash = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Wide button style (increased horizontal padding)\n\t * @defaultValue false\n\t */\n\twide = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Circular button shape\n\t * @defaultValue false\n\t */\n\tcircle = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Square button shape\n\t * @defaultValue false\n\t */\n\tsquare = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Full-width button\n\t * @defaultValue false\n\t */\n\tblock = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Show loading spinner\n\t * @defaultValue false\n\t */\n\tloader = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Button size variant\n\t * @defaultValue 'md'\n\t */\n\tsize = input<ButtonSizeProps>();\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Button is focusable\n\t * @defaultValue true\n\t */\n\tfocusable = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Icon name (from icon library)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Position of icon relative to text\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<ButtonIconPositionProps>();\n\n\t/**\n\t * HTML button type attribute\n\t * @defaultValue 'button'\n\t */\n\ttype = input<HTMLButtonType>('button');\n\n\t/**\n\t * Disabled state\n\t * @defaultValue false\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Accessible name forwarded to the inner `<button>` as `aria-label`.\n\t * Use it for icon-only buttons. Attributes bound on the `st-button` host are not forwarded.\n\t */\n\tariaLabel = input<string | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-expanded`.\n\t * Set it only when the button shows or hides another region; leave it unset otherwise.\n\t */\n\tariaExpanded = input<boolean | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-pressed` for toggle buttons.\n\t * Leave it unset for ordinary buttons.\n\t */\n\tariaPressed = input<boolean | 'mixed' | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-describedby`: the id(s) of elements that describe it,\n\t * such as a notice that explains why the button is disabled.\n\t */\n\tariaDescribedBy = input<string | null | undefined>();\n\n\t/**\n\t * Forwarded to the inner `<button>` as `aria-controls`: the id(s) of the elements the button shows, hides or resizes.\n\t */\n\tariaControls = input<string | null | undefined>();\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on pointer down\n\t */\n\tpointerDown = output<PointerEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on activation (click or keyboard)\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the button container\n\t */\n\tcontainerClass = computed(() =>\n\t\tcn(\n\t\t\tbuttonComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tsize: this.size(),\n\t\t\t\ticonPosition: this.iconPosition(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'btn-ghost': this.ghost(),\n\t\t\t\t'btn-outline': this.outline(),\n\t\t\t\t'btn-link': this.link(),\n\t\t\t\t'btn-soft': this.soft(),\n\t\t\t\t'btn-dash': this.dash(),\n\t\t\t\t'btn-wide': this.wide(),\n\t\t\t\t'btn-circle': this.circle(),\n\t\t\t\t'btn-square': this.square(),\n\t\t\t\tglass: this.glass(),\n\t\t\t\t'w-full': this.block(),\n\t\t\t\t'btn-loading': this.loader(),\n\t\t\t\t'shadow-overlay': this.shadow(),\n\t\t\t\t'aria-pressed:inset-ring-base-content aria-pressed:inset-ring': this.isBaseToggleable() && !this.dash(),\n\t\t\t\t'aria-pressed:border-[calc(var(--border)*2)] aria-pressed:border-dashed': this.isBaseToggleable() && this.dash(),\n\t\t\t\t'aria-pressed:px-[calc(var(--btn-p)-var(--border))]': this.isBaseToggleable() && this.dash() && !this.circle() && !this.square(),\n\t\t\t},\n\t\t),\n\t);\n\n\t/**\n\t * @internal A base outline/dash toggle differs from rest only by a light tint when pressed, so\n\t * `aria-pressed=\"true\"` also doubles its border: an inset `base-content` ring for outline, and twice the\n\t * dashed border width for dash (the padding shrinks by the same amount, so nothing shifts).\n\t */\n\tprivate readonly isBaseToggleable = computed(() => (this.variant() ?? 'base') === 'base' && (this.outline() || this.dash()));\n\n\tlinkClass = computed(() => {\n\t\treturn cn('link font-body inline-flex items-center gap-1 align-middle leading-normal font-normal no-underline', this.iconPosition(), {\n\t\t\t'link-primary': this.variant() === 'primary',\n\t\t\t'link-secondary': this.variant() === 'secondary',\n\t\t\t'link-tertiary': this.variant() === 'tertiary',\n\t\t\t'link-accent': this.variant() === 'accent',\n\t\t\t'link-success': this.variant() === 'success',\n\t\t\t'link-info': this.variant() === 'info',\n\t\t\t'link-warning': this.variant() === 'warning',\n\t\t\t'link-error': this.variant() === 'error',\n\t\t\t'text-[12px]': this.size() === 'xs',\n\t\t\t'text-[13px]': this.size() === 'sm',\n\t\t\t'text-[14px]': this.size() === 'md',\n\t\t\t'text-[15px]': this.size() === 'lg',\n\t\t\t'text-[16px]': this.size() === 'xl',\n\t\t\t'text-base-content/10 hover:text-base-content/10 cursor-default hover:cursor-default': this.disabled(),\n\t\t});\n\t});\n\n\tconstructor() {\n\t\tif (isDevMode()) {\n\t\t\tafterRenderEffect(() => {\n\t\t\t\tif (this.icon()) this.watchAccessibleName();\n\t\t\t});\n\t\t\tafterRenderEffect(() => this.checkDeclaredRole());\n\t\t\tinject(DestroyRef).onDestroy(() => this.stopNameWatch());\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Dev mode only: watches the inner button until its accessible name has settled\n\t * (no DOM change for UNNAMED_ICON_SETTLE_MS), then warns once if an icon-only button is still unnamed.\n\t * Names that arrive late, such as translations or projected text, do not warn.\n\t */\n\tprivate watchAccessibleName(): void {\n\t\tif (this.unnamedIconWarned || this.nameWatch) return;\n\t\tconst button = this.host.nativeElement.querySelector('button');\n\t\tif (!button) return;\n\t\tthis.zone.runOutsideAngular(() => {\n\t\t\tconst watch: { observer?: MutationObserver; timer?: ReturnType<typeof setTimeout> } = {};\n\t\t\tthis.nameWatch = watch;\n\t\t\tconst schedule = () => {\n\t\t\t\tclearTimeout(watch.timer);\n\t\t\t\twatch.timer = setTimeout(() => this.checkAccessibleName(button), UNNAMED_ICON_SETTLE_MS);\n\t\t\t};\n\t\t\tif (typeof MutationObserver !== 'undefined') {\n\t\t\t\twatch.observer = new MutationObserver(schedule);\n\t\t\t\twatch.observer.observe(button, {\n\t\t\t\t\tsubtree: true,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeFilter: ['aria-label', 'aria-labelledby', 'title'],\n\t\t\t\t});\n\t\t\t}\n\t\t\tschedule();\n\t\t});\n\t}\n\n\tprivate checkAccessibleName(button: HTMLButtonElement): void {\n\t\tthis.stopNameWatch();\n\t\tif (!this.icon() || hasAccessibleName(button)) return;\n\t\tthis.unnamedIconWarned = true;\n\t\tconsole.warn(\n\t\t\t'[st-button] An icon-only st-button has no accessible name. Set `ariaLabel` or project visually hidden text (`<span class=\"sr-only\">`).',\n\t\t\tthis.host.nativeElement,\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Dev mode only: warns once when a filled or outlined button has no declared role. `base` is meant\n\t * for `ghost` and `link` buttons; every other button should say what it does with a color variant.\n\t */\n\tprivate checkDeclaredRole(): void {\n\t\tif (this.roleWarned) return;\n\t\tconst variant = this.variant();\n\t\tif (this.ghost() || this.link() || (variant && variant !== 'base')) return;\n\t\tthis.roleWarned = true;\n\t\tconsole.warn(\n\t\t\t'[st-button] This st-button has no role variant. Set `variant` to `primary`, `secondary`, `tertiary` or a status color; keep `base` (or no variant) for `ghost` and `link` buttons only.',\n\t\t\tthis.host.nativeElement,\n\t\t);\n\t}\n\n\tprivate stopNameWatch(): void {\n\t\tthis.nameWatch?.observer?.disconnect();\n\t\tclearTimeout(this.nameWatch?.timer);\n\t\tthis.nameWatch = null;\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click events\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle pointer down events\n\t */\n\thandlePointerDown(event: PointerEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.pointerDown.emit(event);\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter keydown events\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space keydown events\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t}\n}\n","@let iconVar = icon();\n@let loaderVar = loader();\n@let focusableVar = focusable();\n<button\n\t[class]=\"link() === false ? containerClass() : linkClass()\"\n\t[type]=\"type()\"\n\t[disabled]=\"disabled()\"\n\t[tabIndex]=\"focusableVar ? 0 : -1\"\n\t[attr.aria-label]=\"ariaLabel() || null\"\n\t[attr.aria-expanded]=\"ariaExpanded() ?? null\"\n\t[attr.aria-pressed]=\"ariaPressed() ?? null\"\n\t[attr.aria-describedby]=\"ariaDescribedBy() || null\"\n\t[attr.aria-controls]=\"ariaControls() || null\"\n\t(pointerdown)=\"handlePointerDown($event)\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n>\n\t@if (iconVar) {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\t@if (loaderVar) {\n\t\t<span class=\"loading loading-spinner h-[1.2em] w-[1.2em]\"></span>\n\t}\n\t<ng-content></ng-content>\n</button>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAmBA;;;AAGG;AACH;AACA,MAAM,sBAAsB,GAAG,IAAI;AAEnC,MAAM,iBAAiB,GAAG,CAAC,MAAyB,KACnD,CAAC,EACA,MAAM,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE;AACzC,IAAA,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE;AAC9C,IAAA,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE;AACpC,IAAA,MAAM,CAAC,WAAW,EAAE,IAAI,EAAE;AAC1B,IAAA,MAAM,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAChD;MAEW,eAAe,GAAG,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,CAAC,EAAE;AACxI,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,SAAS,EAAE,CAAC,eAAe,CAAC;YAC5B,QAAQ,EAAE,CAAC,cAAc,CAAC;YAC1B,MAAM,EAAE,CAAC,YAAY,CAAC;YACtB,IAAI,EAAE,CAAC,UAAU,CAAC;YAClB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,KAAK,EAAE,CAAC,WAAW,CAAC;AACpB,SAAA;AACD,QAAA,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YAC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AA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,YAAA,EAAA,cAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EClH5B,i6BA0BA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDmFW,aAAa,mGAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;+BACC,WAAW,EAAA,OAAA,EACZ,CAAC,aAAa,EAAE,YAAY,CAAC,EAAA,eAAA,EAGrB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,i6BAAA,EAAA;;;AEhHhD;;AAEG;;;;"}
|
|
@@ -428,8 +428,8 @@ class CardSubtitleComponent {
|
|
|
428
428
|
return this.prominent() ? '7' : '8';
|
|
429
429
|
});
|
|
430
430
|
resolvedClass = computed(() => {
|
|
431
|
-
|
|
432
|
-
return [
|
|
431
|
+
// Muted theme token (AA on base-100/200 in both themes); the old /60 tone failed AA in light.
|
|
432
|
+
return ['block text-base-content-muted', this.class(), this.hostStaticClasses].filter(Boolean).join(' ');
|
|
433
433
|
});
|
|
434
434
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
435
435
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: CardSubtitleComponent, isStandalone: true, selector: "st-card-subtitle", inputs: { preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
|
|
@@ -643,7 +643,7 @@ class CardComponent {
|
|
|
643
643
|
'w-full': this.block(),
|
|
644
644
|
'card-side': this.imageOrientation() === 'horizontal' && this.image(),
|
|
645
645
|
'image-full': this.imageAsBackground(),
|
|
646
|
-
'shadow-
|
|
646
|
+
'shadow-overlay': this.shadow(),
|
|
647
647
|
'border-neutral border': this.border(),
|
|
648
648
|
'card-dash': this.dash(),
|
|
649
649
|
'bg-base-200': !this.glass(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-card.mjs","sources":["../../../projects/sdk/components/card/card-actions/card-actions.component.ts","../../../projects/sdk/components/card/card-actions/card-actions.component.html","../../../projects/sdk/components/card/card-body/card-body.component.ts","../../../projects/sdk/components/card/card-context.ts","../../../projects/sdk/components/card/card-footer/card-footer.component.ts","../../../projects/sdk/components/card/card-header-aside/card-header-aside.component.ts","../../../projects/sdk/components/card/card-header/card-header.component.ts","../../../projects/sdk/components/card/card-section-body/card-section-body.component.ts","../../../projects/sdk/components/card/card-section-footer/card-section-footer.component.ts","../../../projects/sdk/components/card/card-section/card-section.component.ts","../../../projects/sdk/components/card/card-section-group/card-section-group.component.ts","../../../projects/sdk/components/card/card-section-header-aside/card-section-header-aside.component.ts","../../../projects/sdk/components/card/card-section-header/card-section-header.component.ts","../../../projects/sdk/components/card/card-subtitle/card-subtitle.component.ts","../../../projects/sdk/components/card/card-title/card-title.component.ts","../../../projects/sdk/components/card/src/card.component.ts","../../../projects/sdk/components/card/src/card.component.html","../../../projects/sdk/components/card/sixbell-telco-sdk-components-card.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/** Possible alignment options for card actions */\nexport type CardActionsAligmentProps = 'left' | 'right' | 'center';\n\n/**\n * A container component for card action buttons/controls\n *\n * @remarks\n * Part of the card component ecosystem. Provides consistent layout\n * and alignment for card actions. Should be used inside `<st-card>`\n * components following content sections.\n *\n * @example\n * ```html\n * <st-card>\n * <st-card-footer>\n * <st-card-actions alignment=\"right\">\n * <button class=\"btn\">Action</button>\n * </st-card-actions>\n * </st-card-footer>\n * </st-card>\n * ```\n */\n@Component({\n\tselector: 'st-card-actions',\n\timports: [CommonModule],\n\ttemplateUrl: './card-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardActionsComponent {\n\t/**\n\t * Horizontal alignment of actions\n\t * @defaultValue 'left'\n\t */\n\talignment = input<CardActionsAligmentProps>('left');\n\n\t/**\n\t * @internal\n\t * Computed class string for the actions container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn('card-actions font-body text-pretty', {\n\t\t\t'justify-start': this.alignment() === 'left',\n\t\t\t'justify-end': this.alignment() === 'right',\n\t\t\t'justify-center': this.alignment() === 'center',\n\t\t});\n\t});\n}\n","<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-body',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardBodyComponent {}\n","import { InjectionToken, Signal } from '@angular/core';\n\nexport type CardTypographyArea = 'card-header' | 'section-header';\n\nexport type CardTypographyContext = {\n\tarea: CardTypographyArea;\n\tprominent: Signal<boolean>;\n};\n\nexport const CARD_HAS_SECTIONS = new InjectionToken<Signal<boolean>>('CARD_HAS_SECTIONS');\n\nexport const CARD_TYPOGRAPHY_CONTEXT = new InjectionToken<CardTypographyContext>('CARD_TYPOGRAPHY_CONTEXT');\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, signal } from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * Footer region of `st-card`, usually holding `st-card-actions`.\n *\n * @example\n * ```html\n * <st-card-footer sticky>\n * <st-card-actions>\n * <st-button variant=\"primary\">Save</st-button>\n * <st-button variant=\"tertiary\" [outline]=\"true\">Cancel</st-button>\n * </st-card-actions>\n * </st-card-footer>\n * ```\n */\n@Component({\n\tselector: 'st-card-footer',\n\timports: [CommonModule, DividerComponent],\n\thost: {\n\t\t'[class]': 'hostClass()',\n\t\t'[attr.data-sticky]': 'sticky() || null',\n\t\t'[attr.data-stuck]': 'stuck() || null',\n\t},\n\ttemplate: `\n\t\t@if (divided() && !sticky()) {\n\t\t\t<st-divider variant=\"neutral\" [withMargin]=\"false\"></st-divider>\n\t\t}\n\t\t<div [class]=\"contentClass()\">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardFooterComponent {\n\t/**\n\t * Draws a divider above the footer content\n\t * @defaultValue false\n\t */\n\tdivided = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Keeps the footer visible at the bottom of the viewport while a long card scrolls, on the card\n\t * surface with a top border and a static shadow (no motion). Use it for long create/edit forms.\n\t * Prefer it over `divided` for long forms; `divided` remains for static footers. With both set, the\n\t * border separates the actions and no divider is drawn. While it floats over the content (stuck) the\n\t * bottom corners are square; at rest at the end of the card they follow the card radius.\n\t * @defaultValue false\n\t */\n\tsticky = input(false, { transform: booleanAttribute });\n\n\tprivate readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t/** @internal `true` while the sticky footer floats over the content instead of resting at the card end */\n\tprotected readonly stuck = signal(false);\n\n\t/**\n\t * @internal The footer sits 1px past the scroll edge, so while stuck its bottom edge is clipped:\n\t * a visible footer with a ratio below 1, clipped at the bottom, is stuck. Off screen it is not.\n\t */\n\tprivate readonly stuckEffect = effect((onCleanup) => {\n\t\tif (!this.sticky() || typeof IntersectionObserver === 'undefined') {\n\t\t\tthis.stuck.set(false);\n\t\t\treturn;\n\t\t}\n\t\tconst observer = new IntersectionObserver(\n\t\t\t([entry]) =>\n\t\t\t\tthis.stuck.set(entry.isIntersecting && entry.intersectionRatio < 1 && entry.intersectionRect.bottom < entry.boundingClientRect.bottom),\n\t\t\t{ threshold: [1] },\n\t\t);\n\t\tobserver.observe(this.elementRef.nativeElement);\n\t\tonCleanup(() => observer.disconnect());\n\t});\n\n\tprotected readonly hostClass = computed(() =>\n\t\tcn('flex flex-col', {\n\t\t\t'border-base-300 rounded-b-box bg-base-200 sticky -bottom-px z-10 -mx-(--card-p,1.5rem) -mb-(--card-p,1.5rem) border-t px-(--card-p,1.5rem) py-4 shadow-[0_-8px_16px_-12px_var(--color-shadow-backdrop)] data-stuck:rounded-b-none':\n\t\t\t\tthis.sticky(),\n\t\t}),\n\t);\n\n\tprotected readonly contentClass = computed(() => (this.divided() && !this.sticky() ? 'mt-6' : ''));\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-header-aside',\n\thost: {\n\t\tclass: 'shrink-0',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardHeaderAsideComponent {}\n","import { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { CARD_HAS_SECTIONS, CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\nconst NON_PROMINENT_CARD_HEADER = signal(false).asReadonly();\n\n@Component({\n\tselector: 'st-card-header',\n\thost: {\n\t\tclass: 'block',\n\t},\n\ttemplate: `\n\t\t<div class=\"flex flex-col gap-4 sm:flex-row sm:items-start\">\n\t\t\t<div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t\t<ng-content select=\"st-card-header-aside\"></ng-content>\n\t\t</div>\n\t`,\n\tproviders: [\n\t\t{\n\t\t\tprovide: CARD_TYPOGRAPHY_CONTEXT,\n\t\t\tuseFactory: () => {\n\t\t\t\tconst prominent = inject(CARD_HAS_SECTIONS, { optional: true });\n\t\t\t\treturn {\n\t\t\t\t\tarea: 'card-header' as const,\n\t\t\t\t\tprominent: prominent ?? NON_PROMINENT_CARD_HEADER,\n\t\t\t\t};\n\t\t\t},\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardHeaderComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nconst cardSectionBodyComponent = cva(['text-base-content', 'font-body', 'flex', 'flex-col', 'text-pretty'], {\n\tvariants: {\n\t\tgap: {\n\t\t\ttight: ['gap-1.5'],\n\t\t\tnormal: ['gap-3'],\n\t\t\trelaxed: ['gap-4'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tgap: 'relaxed',\n\t},\n});\n\nexport type CardSectionBodyGapProps = 'tight' | 'normal' | 'relaxed' | null | undefined;\n\nexport type CardSectionBodyProps = {\n\tgap?: CardSectionBodyGapProps;\n\tclass?: string;\n};\n\n@Component({\n\tselector: 'st-card-section-body',\n\thost: {\n\t\t'[class]': 'containerClass()',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionBodyComponent {\n\tgap = input<CardSectionBodyGapProps>('relaxed');\n\tclass = input<string>('');\n\n\tcontainerClass = computed(() => cn(cardSectionBodyComponent({ gap: this.gap() ?? 'relaxed' }), this.class()));\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section-footer',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionFooterComponent {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col gap-5',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionComponent {}\n","import {\n\tChangeDetectionStrategy,\n\tComponent,\n\tComponentRef,\n\tDestroyRef,\n\tElementRef,\n\tEnvironmentInjector,\n\tafterRenderEffect,\n\tbooleanAttribute,\n\tcontentChildren,\n\tcreateComponent,\n\tinject,\n\tinput,\n} from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\nimport { CardSectionComponent } from '../card-section/card-section.component';\n\n@Component({\n\tselector: 'st-card-section-group',\n\thost: {\n\t\tclass: 'flex flex-col gap-6',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionGroupComponent {\n\tprivate readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\tprivate readonly destroyRef = inject(DestroyRef);\n\tprivate readonly envInjector = inject(EnvironmentInjector);\n\tprivate readonly dividerClass = 'st-card-section-group-divider';\n\tprivate dividerRefs: ComponentRef<DividerComponent>[] = [];\n\n\tdivided = input(false, { transform: booleanAttribute });\n\n\tprotected readonly sections = contentChildren(CardSectionComponent);\n\n\tconstructor() {\n\t\tafterRenderEffect(() => {\n\t\t\tthis.syncDividers();\n\t\t});\n\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.removeDividers();\n\t\t});\n\t}\n\n\tprivate syncDividers(): void {\n\t\tthis.removeDividers();\n\n\t\tif (!this.divided()) return;\n\n\t\tconst host = this.host.nativeElement;\n\t\tconst sections = Array.from(host.children).filter(\n\t\t\t(element): element is HTMLElement => element instanceof HTMLElement && element.tagName === 'ST-CARD-SECTION',\n\t\t);\n\n\t\tif (sections.length < 2) return;\n\n\t\tfor (let index = 0; index < sections.length - 1; index += 1) {\n\t\t\tconst dividerRef = createComponent(DividerComponent, {\n\t\t\t\tenvironmentInjector: this.envInjector,\n\t\t\t\telementInjector: undefined,\n\t\t\t});\n\n\t\t\tdividerRef.setInput('variant', 'neutral');\n\t\t\tdividerRef.changeDetectorRef.detectChanges();\n\n\t\t\tconst dividerHost = dividerRef.location.nativeElement as HTMLElement;\n\t\t\tdividerHost.classList.add(this.dividerClass);\n\t\t\tsections[index].insertAdjacentElement('afterend', dividerHost);\n\t\t\tthis.dividerRefs.push(dividerRef);\n\t\t}\n\t}\n\n\tprivate removeDividers(): void {\n\t\tfor (const dividerRef of this.dividerRefs) {\n\t\t\tdividerRef.location.nativeElement.remove();\n\t\t\tdividerRef.destroy();\n\t\t}\n\t\tthis.dividerRefs = [];\n\t}\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section-header-aside',\n\thost: {\n\t\tclass: 'shrink-0',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionHeaderAsideComponent {}\n","import { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\nconst SECTION_HEADER_PROMINENCE = signal(false).asReadonly();\n\n@Component({\n\tselector: 'st-card-section-header',\n\thost: {\n\t\tclass: 'block',\n\t},\n\ttemplate: `\n\t\t<div class=\"flex flex-col gap-4 sm:flex-row sm:items-start\">\n\t\t\t<div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t\t<ng-content select=\"st-card-section-header-aside\"></ng-content>\n\t\t</div>\n\t`,\n\tproviders: [{ provide: CARD_TYPOGRAPHY_CONTEXT, useValue: { area: 'section-header', prominent: SECTION_HEADER_PROMINENCE } }],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionHeaderComponent {}\n","import { ChangeDetectionStrategy, Component, ElementRef, computed, inject, input } from '@angular/core';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\n/**\n * A context-aware subtitle primitive for cards.\n *\n * @remarks\n * Renders as a `<p>` element with the prominent card-header preset inside `<st-card-header>` when the card contains sections.\n * If the card has no sections, the subtitle downgrades to the same preset used by section subtitles.\n * Preset and classes are overridable per instance.\n * Supports arbitrary inner HTML/components.\n *\n * Uses `display: contents` so the rendered paragraph element participates\n * directly in the parent flex layout.\n *\n * @example\n * ```html\n * <st-card-header>\n * <st-card-title>Title</st-card-title>\n * <st-card-subtitle>Last updated today</st-card-subtitle>\n * </st-card-header>\n * ```\n */\n@Component({\n\tselector: 'st-card-subtitle',\n\timports: [TextDirective],\n\ttemplate: `\n\t\t<p [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t<ng-content></ng-content>\n\t\t</p>\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSubtitleComponent {\n\tprivate readonly typographyContext = inject(CARD_TYPOGRAPHY_CONTEXT, { optional: true });\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\n\tpreset = input<TextPreset>(undefined);\n\tclass = input<string>('');\n\n\tprotected readonly isCardHeader = computed(() => this.typographyContext?.area === 'card-header');\n\tprotected readonly prominent = computed(() => this.typographyContext?.prominent() ?? false);\n\tprotected readonly resolvedPreset = computed(() => {\n\t\tconst override = this.preset();\n\t\tif (override) return override;\n\t\tif (!this.isCardHeader()) return '8';\n\t\treturn this.prominent() ? '7' : '8';\n\t});\n\tprotected readonly resolvedClass = computed(() => {\n\t\tconst toneClass = this.isCardHeader() && this.prominent() ? 'block text-base-content/70' : 'block text-base-content/60';\n\t\treturn [toneClass, this.class(), this.hostStaticClasses].filter(Boolean).join(' ');\n\t});\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, computed, inject, input } from '@angular/core';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\n/**\n * A context-aware title primitive for cards.\n *\n * @remarks\n * Renders as `<h2>` with prominent preset 2 inside `<st-card-header>` when the card contains sections.\n * If the card has no sections, the header title downgrades to preset 4 so the header does not overstate hierarchy.\n * Inside `<st-card-section-header>` (or standalone), it renders as `<h3>` with preset 4.\n * Semantic tag (`as`), preset, and classes are overridable per instance.\n * Supports arbitrary inner HTML/components (badges, links, icons).\n *\n * Uses `display: contents` so the rendered heading element participates\n * directly in the parent flex layout.\n *\n * @example\n * ```html\n * <st-card-header>\n * <st-card-title>Customer overview</st-card-title>\n * </st-card-header>\n * ```\n */\n@Component({\n\tselector: 'st-card-title',\n\timports: [NgTemplateOutlet, TextDirective],\n\ttemplate: `\n\t\t<ng-template #contentTpl><ng-content /></ng-template>\n\t\t@switch (tag()) {\n\t\t\t@case ('h2') {\n\t\t\t\t<h2 [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h2>\n\t\t\t}\n\t\t\t@default {\n\t\t\t\t<h3 [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h3>\n\t\t\t}\n\t\t}\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardTitleComponent {\n\tprivate readonly typographyContext = inject(CARD_TYPOGRAPHY_CONTEXT, { optional: true });\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\t// eslint-disable-next-line @angular-eslint/no-input-rename\n\ttagOverride = input<'h2' | 'h3' | undefined>(undefined, { alias: 'as' });\n\tpreset = input<TextPreset>(undefined);\n\tclass = input<string>('');\n\n\tprotected readonly isCardHeader = computed(() => this.typographyContext?.area === 'card-header');\n\tprotected readonly prominent = computed(() => this.typographyContext?.prominent() ?? false);\n\tprotected readonly tag = computed(() => this.tagOverride() ?? (this.isCardHeader() ? 'h2' : 'h3'));\n\tprotected readonly resolvedPreset = computed(() => {\n\t\tconst override = this.preset();\n\t\tif (override) return override;\n\t\tif (!this.isCardHeader()) return '4';\n\t\treturn this.prominent() ? '2' : '4';\n\t});\n\tprotected readonly resolvedClass = computed(() => {\n\t\tconst classes = [this.hostStaticClasses, this.class(), 'block'].filter(Boolean).join(' ');\n\t\treturn classes;\n\t});\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChildren, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { CARD_HAS_SECTIONS } from '../card-context';\nimport { CardSectionComponent } from '../card-section/card-section.component';\n\n/**\n * @internal\n * Generates base card classes with style variants\n */\nexport const cardComponent = cva(['card'], {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: 'card-xs',\n\t\t\tsm: 'card-sm',\n\t\t\tmd: 'card-md',\n\t\t\tlg: 'card-lg',\n\t\t\txl: 'card-xl',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'md',\n\t},\n});\n\n/** Possible card container size variants */\nexport type CardContainerSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Possible card image orientation options */\nexport type CardImageOrientationProps = 'vertical' | 'horizontal';\n\n/** Possible card image alignment options */\nexport type CardImageAlignmentProps = 'start' | 'end';\n\n/** Configuration object for card styling variants */\nexport type CardProps = {\n\tsize?: CardContainerSizeProps;\n\tborder?: boolean;\n\timage?: string | null;\n\timageAlt?: string;\n\timageOrientation?: CardImageOrientationProps;\n\timageAlignment?: CardImageAlignmentProps;\n\timageAsBackground?: boolean;\n\tshadow?: boolean;\n\tglass?: boolean;\n\tdash?: boolean;\n\tblock?: boolean;\n};\n\n/**\n * A customizable card component with multiple layout and styling options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports various sizes, image configurations, and decorative styles.\n *\n * @example\n * ```html\n * <st-card\n * size=\"md\"\n * border=\"true\"\n * image=\"background.jpg\"\n * imageOrientation=\"horizontal\"\n * >\n * <h3 class=\"card-title\">Card Title</h3>\n * <p>Card content</p>\n * </st-card>\n * ```\n */\n@Component({\n\tselector: 'st-card',\n\timports: [CommonModule],\n\ttemplateUrl: './card.component.html',\n\tproviders: [{ provide: CARD_HAS_SECTIONS, useFactory: (card: CardComponent) => card.hasSections, deps: [CardComponent] }],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardComponent {\n\tprotected readonly sections = contentChildren(CardSectionComponent, { descendants: true });\n\tprotected readonly hasSections = computed(() => this.sections().length > 0);\n\tprotected readonly bodyClass = computed(() => (this.hasSections() ? 'card-body gap-6' : 'card-body gap-5'));\n\n\t/**\n\t * Card container size variant\n\t * @defaultValue 'md'\n\t */\n\tsize = input<CardContainerSizeProps>();\n\n\t/**\n\t * Show border around card\n\t * @defaultValue false\n\t */\n\tborder = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Image source URL\n\t */\n\timage = input<string | null>(null);\n\n\t/**\n\t * Alt text for card image\n\t * @defaultValue 'card image'\n\t */\n\timageAlt = input<string>('card image');\n\n\t/**\n\t * Orientation of card image\n\t * @defaultValue 'vertical'\n\t */\n\timageOrientation = input<CardImageOrientationProps>('vertical');\n\n\t/**\n\t * Alignment of card image\n\t * @defaultValue 'start'\n\t */\n\timageAlignment = input<CardImageAlignmentProps>('start');\n\n\t/**\n\t * Use image as full background\n\t * @defaultValue false\n\t */\n\timageAsBackground = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Dashed border style\n\t * @defaultValue false\n\t */\n\tdash = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Full-width card\n\t * @defaultValue false\n\t */\n\tblock = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * @internal\n\t * Computed class string for the card container\n\t */\n\tcomponentClass = computed(() =>\n\t\tcn(\n\t\t\tcardComponent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'w-full': this.block(),\n\t\t\t\t'card-side': this.imageOrientation() === 'horizontal' && this.image(),\n\t\t\t\t'image-full': this.imageAsBackground(),\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t\t'border-neutral border': this.border(),\n\t\t\t\t'card-dash': this.dash(),\n\t\t\t\t'bg-base-200': !this.glass(),\n\t\t\t\tglass: this.glass(),\n\t\t\t},\n\t\t),\n\t);\n}\n","@let componentClassVar = this.componentClass();\n@let imageVar = this.image();\n@let imageAltVar = this.imageAlt();\n@let imageAlignmentVar = this.imageAlignment();\n<section [class]=\"componentClassVar\">\n\t@if (imageVar && imageAlignmentVar === 'start') {\n\t\t<figure>\n\t\t\t<img [src]=\"imageVar\" [alt]=\"imageAltVar\" />\n\t\t</figure>\n\t}\n\t<div [class]=\"bodyClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (imageVar && imageAlignmentVar === 'end') {\n\t\t<figure>\n\t\t\t<img [src]=\"imageVar\" [alt]=\"imageAltVar\" />\n\t\t</figure>\n\t}\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAOA;;;;;;;;;;;;;;;;;;AAkBG;MAOU,oBAAoB,CAAA;AAChC;;;AAGG;AACH,IAAA,SAAS,GAAG,KAAK,CAA2B,MAAM,CAA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AAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,SAAA,EAHd,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC,IAAmB,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,SAAA,EAI3E,oBAAoB,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC9EnE,mkBAmBA,2CDqDW,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKV,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,EAAA,OAAA,EACV,CAAC,YAAY,CAAC,EAAA,SAAA,EAEZ,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC,IAAmB,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,CAAA,aAAA,CAAe,EAAE,CAAC,EAAA,eAAA,EACxG,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mkBAAA,EAAA;;;AE3EhD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-card.mjs","sources":["../../../projects/sdk/components/card/card-actions/card-actions.component.ts","../../../projects/sdk/components/card/card-actions/card-actions.component.html","../../../projects/sdk/components/card/card-body/card-body.component.ts","../../../projects/sdk/components/card/card-context.ts","../../../projects/sdk/components/card/card-footer/card-footer.component.ts","../../../projects/sdk/components/card/card-header-aside/card-header-aside.component.ts","../../../projects/sdk/components/card/card-header/card-header.component.ts","../../../projects/sdk/components/card/card-section-body/card-section-body.component.ts","../../../projects/sdk/components/card/card-section-footer/card-section-footer.component.ts","../../../projects/sdk/components/card/card-section/card-section.component.ts","../../../projects/sdk/components/card/card-section-group/card-section-group.component.ts","../../../projects/sdk/components/card/card-section-header-aside/card-section-header-aside.component.ts","../../../projects/sdk/components/card/card-section-header/card-section-header.component.ts","../../../projects/sdk/components/card/card-subtitle/card-subtitle.component.ts","../../../projects/sdk/components/card/card-title/card-title.component.ts","../../../projects/sdk/components/card/src/card.component.ts","../../../projects/sdk/components/card/src/card.component.html","../../../projects/sdk/components/card/sixbell-telco-sdk-components-card.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/** Possible alignment options for card actions */\nexport type CardActionsAligmentProps = 'left' | 'right' | 'center';\n\n/**\n * A container component for card action buttons/controls\n *\n * @remarks\n * Part of the card component ecosystem. Provides consistent layout\n * and alignment for card actions. Should be used inside `<st-card>`\n * components following content sections.\n *\n * @example\n * ```html\n * <st-card>\n * <st-card-footer>\n * <st-card-actions alignment=\"right\">\n * <button class=\"btn\">Action</button>\n * </st-card-actions>\n * </st-card-footer>\n * </st-card>\n * ```\n */\n@Component({\n\tselector: 'st-card-actions',\n\timports: [CommonModule],\n\ttemplateUrl: './card-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardActionsComponent {\n\t/**\n\t * Horizontal alignment of actions\n\t * @defaultValue 'left'\n\t */\n\talignment = input<CardActionsAligmentProps>('left');\n\n\t/**\n\t * @internal\n\t * Computed class string for the actions container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn('card-actions font-body text-pretty', {\n\t\t\t'justify-start': this.alignment() === 'left',\n\t\t\t'justify-end': this.alignment() === 'right',\n\t\t\t'justify-center': this.alignment() === 'center',\n\t\t});\n\t});\n}\n","<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-body',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardBodyComponent {}\n","import { InjectionToken, Signal } from '@angular/core';\n\nexport type CardTypographyArea = 'card-header' | 'section-header';\n\nexport type CardTypographyContext = {\n\tarea: CardTypographyArea;\n\tprominent: Signal<boolean>;\n};\n\nexport const CARD_HAS_SECTIONS = new InjectionToken<Signal<boolean>>('CARD_HAS_SECTIONS');\n\nexport const CARD_TYPOGRAPHY_CONTEXT = new InjectionToken<CardTypographyContext>('CARD_TYPOGRAPHY_CONTEXT');\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, signal } from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * Footer region of `st-card`, usually holding `st-card-actions`.\n *\n * @example\n * ```html\n * <st-card-footer sticky>\n * <st-card-actions>\n * <st-button variant=\"primary\">Save</st-button>\n * <st-button variant=\"tertiary\" [outline]=\"true\">Cancel</st-button>\n * </st-card-actions>\n * </st-card-footer>\n * ```\n */\n@Component({\n\tselector: 'st-card-footer',\n\timports: [CommonModule, DividerComponent],\n\thost: {\n\t\t'[class]': 'hostClass()',\n\t\t'[attr.data-sticky]': 'sticky() || null',\n\t\t'[attr.data-stuck]': 'stuck() || null',\n\t},\n\ttemplate: `\n\t\t@if (divided() && !sticky()) {\n\t\t\t<st-divider variant=\"neutral\" [withMargin]=\"false\"></st-divider>\n\t\t}\n\t\t<div [class]=\"contentClass()\">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardFooterComponent {\n\t/**\n\t * Draws a divider above the footer content\n\t * @defaultValue false\n\t */\n\tdivided = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Keeps the footer visible at the bottom of the viewport while a long card scrolls, on the card\n\t * surface with a top border and a static shadow (no motion). Use it for long create/edit forms.\n\t * Prefer it over `divided` for long forms; `divided` remains for static footers. With both set, the\n\t * border separates the actions and no divider is drawn. While it floats over the content (stuck) the\n\t * bottom corners are square; at rest at the end of the card they follow the card radius.\n\t * @defaultValue false\n\t */\n\tsticky = input(false, { transform: booleanAttribute });\n\n\tprivate readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t/** @internal `true` while the sticky footer floats over the content instead of resting at the card end */\n\tprotected readonly stuck = signal(false);\n\n\t/**\n\t * @internal The footer sits 1px past the scroll edge, so while stuck its bottom edge is clipped:\n\t * a visible footer with a ratio below 1, clipped at the bottom, is stuck. Off screen it is not.\n\t */\n\tprivate readonly stuckEffect = effect((onCleanup) => {\n\t\tif (!this.sticky() || typeof IntersectionObserver === 'undefined') {\n\t\t\tthis.stuck.set(false);\n\t\t\treturn;\n\t\t}\n\t\tconst observer = new IntersectionObserver(\n\t\t\t([entry]) =>\n\t\t\t\tthis.stuck.set(entry.isIntersecting && entry.intersectionRatio < 1 && entry.intersectionRect.bottom < entry.boundingClientRect.bottom),\n\t\t\t{ threshold: [1] },\n\t\t);\n\t\tobserver.observe(this.elementRef.nativeElement);\n\t\tonCleanup(() => observer.disconnect());\n\t});\n\n\tprotected readonly hostClass = computed(() =>\n\t\tcn('flex flex-col', {\n\t\t\t'border-base-300 rounded-b-box bg-base-200 sticky -bottom-px z-10 -mx-(--card-p,1.5rem) -mb-(--card-p,1.5rem) border-t px-(--card-p,1.5rem) py-4 shadow-[0_-8px_16px_-12px_var(--color-shadow-backdrop)] data-stuck:rounded-b-none':\n\t\t\t\tthis.sticky(),\n\t\t}),\n\t);\n\n\tprotected readonly contentClass = computed(() => (this.divided() && !this.sticky() ? 'mt-6' : ''));\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-header-aside',\n\thost: {\n\t\tclass: 'shrink-0',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardHeaderAsideComponent {}\n","import { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { CARD_HAS_SECTIONS, CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\nconst NON_PROMINENT_CARD_HEADER = signal(false).asReadonly();\n\n@Component({\n\tselector: 'st-card-header',\n\thost: {\n\t\tclass: 'block',\n\t},\n\ttemplate: `\n\t\t<div class=\"flex flex-col gap-4 sm:flex-row sm:items-start\">\n\t\t\t<div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t\t<ng-content select=\"st-card-header-aside\"></ng-content>\n\t\t</div>\n\t`,\n\tproviders: [\n\t\t{\n\t\t\tprovide: CARD_TYPOGRAPHY_CONTEXT,\n\t\t\tuseFactory: () => {\n\t\t\t\tconst prominent = inject(CARD_HAS_SECTIONS, { optional: true });\n\t\t\t\treturn {\n\t\t\t\t\tarea: 'card-header' as const,\n\t\t\t\t\tprominent: prominent ?? NON_PROMINENT_CARD_HEADER,\n\t\t\t\t};\n\t\t\t},\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardHeaderComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nconst cardSectionBodyComponent = cva(['text-base-content', 'font-body', 'flex', 'flex-col', 'text-pretty'], {\n\tvariants: {\n\t\tgap: {\n\t\t\ttight: ['gap-1.5'],\n\t\t\tnormal: ['gap-3'],\n\t\t\trelaxed: ['gap-4'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tgap: 'relaxed',\n\t},\n});\n\nexport type CardSectionBodyGapProps = 'tight' | 'normal' | 'relaxed' | null | undefined;\n\nexport type CardSectionBodyProps = {\n\tgap?: CardSectionBodyGapProps;\n\tclass?: string;\n};\n\n@Component({\n\tselector: 'st-card-section-body',\n\thost: {\n\t\t'[class]': 'containerClass()',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionBodyComponent {\n\tgap = input<CardSectionBodyGapProps>('relaxed');\n\tclass = input<string>('');\n\n\tcontainerClass = computed(() => cn(cardSectionBodyComponent({ gap: this.gap() ?? 'relaxed' }), this.class()));\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section-footer',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionFooterComponent {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'flex flex-col gap-5',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionComponent {}\n","import {\n\tChangeDetectionStrategy,\n\tComponent,\n\tComponentRef,\n\tDestroyRef,\n\tElementRef,\n\tEnvironmentInjector,\n\tafterRenderEffect,\n\tbooleanAttribute,\n\tcontentChildren,\n\tcreateComponent,\n\tinject,\n\tinput,\n} from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\nimport { CardSectionComponent } from '../card-section/card-section.component';\n\n@Component({\n\tselector: 'st-card-section-group',\n\thost: {\n\t\tclass: 'flex flex-col gap-6',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionGroupComponent {\n\tprivate readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\tprivate readonly destroyRef = inject(DestroyRef);\n\tprivate readonly envInjector = inject(EnvironmentInjector);\n\tprivate readonly dividerClass = 'st-card-section-group-divider';\n\tprivate dividerRefs: ComponentRef<DividerComponent>[] = [];\n\n\tdivided = input(false, { transform: booleanAttribute });\n\n\tprotected readonly sections = contentChildren(CardSectionComponent);\n\n\tconstructor() {\n\t\tafterRenderEffect(() => {\n\t\t\tthis.syncDividers();\n\t\t});\n\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.removeDividers();\n\t\t});\n\t}\n\n\tprivate syncDividers(): void {\n\t\tthis.removeDividers();\n\n\t\tif (!this.divided()) return;\n\n\t\tconst host = this.host.nativeElement;\n\t\tconst sections = Array.from(host.children).filter(\n\t\t\t(element): element is HTMLElement => element instanceof HTMLElement && element.tagName === 'ST-CARD-SECTION',\n\t\t);\n\n\t\tif (sections.length < 2) return;\n\n\t\tfor (let index = 0; index < sections.length - 1; index += 1) {\n\t\t\tconst dividerRef = createComponent(DividerComponent, {\n\t\t\t\tenvironmentInjector: this.envInjector,\n\t\t\t\telementInjector: undefined,\n\t\t\t});\n\n\t\t\tdividerRef.setInput('variant', 'neutral');\n\t\t\tdividerRef.changeDetectorRef.detectChanges();\n\n\t\t\tconst dividerHost = dividerRef.location.nativeElement as HTMLElement;\n\t\t\tdividerHost.classList.add(this.dividerClass);\n\t\t\tsections[index].insertAdjacentElement('afterend', dividerHost);\n\t\t\tthis.dividerRefs.push(dividerRef);\n\t\t}\n\t}\n\n\tprivate removeDividers(): void {\n\t\tfor (const dividerRef of this.dividerRefs) {\n\t\t\tdividerRef.location.nativeElement.remove();\n\t\t\tdividerRef.destroy();\n\t\t}\n\t\tthis.dividerRefs = [];\n\t}\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section-header-aside',\n\thost: {\n\t\tclass: 'shrink-0',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionHeaderAsideComponent {}\n","import { ChangeDetectionStrategy, Component, signal } from '@angular/core';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\nconst SECTION_HEADER_PROMINENCE = signal(false).asReadonly();\n\n@Component({\n\tselector: 'st-card-section-header',\n\thost: {\n\t\tclass: 'block',\n\t},\n\ttemplate: `\n\t\t<div class=\"flex flex-col gap-4 sm:flex-row sm:items-start\">\n\t\t\t<div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t\t<ng-content select=\"st-card-section-header-aside\"></ng-content>\n\t\t</div>\n\t`,\n\tproviders: [{ provide: CARD_TYPOGRAPHY_CONTEXT, useValue: { area: 'section-header', prominent: SECTION_HEADER_PROMINENCE } }],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionHeaderComponent {}\n","import { ChangeDetectionStrategy, Component, ElementRef, computed, inject, input } from '@angular/core';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\n/**\n * A context-aware subtitle primitive for cards.\n *\n * @remarks\n * Renders as a `<p>` element with the prominent card-header preset inside `<st-card-header>` when the card contains sections.\n * If the card has no sections, the subtitle downgrades to the same preset used by section subtitles.\n * Preset and classes are overridable per instance.\n * Supports arbitrary inner HTML/components.\n *\n * Uses `display: contents` so the rendered paragraph element participates\n * directly in the parent flex layout.\n *\n * @example\n * ```html\n * <st-card-header>\n * <st-card-title>Title</st-card-title>\n * <st-card-subtitle>Last updated today</st-card-subtitle>\n * </st-card-header>\n * ```\n */\n@Component({\n\tselector: 'st-card-subtitle',\n\timports: [TextDirective],\n\ttemplate: `\n\t\t<p [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t<ng-content></ng-content>\n\t\t</p>\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSubtitleComponent {\n\tprivate readonly typographyContext = inject(CARD_TYPOGRAPHY_CONTEXT, { optional: true });\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\n\tpreset = input<TextPreset>(undefined);\n\tclass = input<string>('');\n\n\tprotected readonly isCardHeader = computed(() => this.typographyContext?.area === 'card-header');\n\tprotected readonly prominent = computed(() => this.typographyContext?.prominent() ?? false);\n\tprotected readonly resolvedPreset = computed(() => {\n\t\tconst override = this.preset();\n\t\tif (override) return override;\n\t\tif (!this.isCardHeader()) return '8';\n\t\treturn this.prominent() ? '7' : '8';\n\t});\n\tprotected readonly resolvedClass = computed(() => {\n\t\t// Muted theme token (AA on base-100/200 in both themes); the old /60 tone failed AA in light.\n\t\treturn ['block text-base-content-muted', this.class(), this.hostStaticClasses].filter(Boolean).join(' ');\n\t});\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, computed, inject, input } from '@angular/core';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { CARD_TYPOGRAPHY_CONTEXT } from '../card-context';\n\n/**\n * A context-aware title primitive for cards.\n *\n * @remarks\n * Renders as `<h2>` with prominent preset 2 inside `<st-card-header>` when the card contains sections.\n * If the card has no sections, the header title downgrades to preset 4 so the header does not overstate hierarchy.\n * Inside `<st-card-section-header>` (or standalone), it renders as `<h3>` with preset 4.\n * Semantic tag (`as`), preset, and classes are overridable per instance.\n * Supports arbitrary inner HTML/components (badges, links, icons).\n *\n * Uses `display: contents` so the rendered heading element participates\n * directly in the parent flex layout.\n *\n * @example\n * ```html\n * <st-card-header>\n * <st-card-title>Customer overview</st-card-title>\n * </st-card-header>\n * ```\n */\n@Component({\n\tselector: 'st-card-title',\n\timports: [NgTemplateOutlet, TextDirective],\n\ttemplate: `\n\t\t<ng-template #contentTpl><ng-content /></ng-template>\n\t\t@switch (tag()) {\n\t\t\t@case ('h2') {\n\t\t\t\t<h2 [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h2>\n\t\t\t}\n\t\t\t@default {\n\t\t\t\t<h3 [stText]=\"resolvedPreset()\" [stTextClass]=\"resolvedClass()\" stTextColor=\"base\">\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h3>\n\t\t\t}\n\t\t}\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardTitleComponent {\n\tprivate readonly typographyContext = inject(CARD_TYPOGRAPHY_CONTEXT, { optional: true });\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\t// eslint-disable-next-line @angular-eslint/no-input-rename\n\ttagOverride = input<'h2' | 'h3' | undefined>(undefined, { alias: 'as' });\n\tpreset = input<TextPreset>(undefined);\n\tclass = input<string>('');\n\n\tprotected readonly isCardHeader = computed(() => this.typographyContext?.area === 'card-header');\n\tprotected readonly prominent = computed(() => this.typographyContext?.prominent() ?? false);\n\tprotected readonly tag = computed(() => this.tagOverride() ?? (this.isCardHeader() ? 'h2' : 'h3'));\n\tprotected readonly resolvedPreset = computed(() => {\n\t\tconst override = this.preset();\n\t\tif (override) return override;\n\t\tif (!this.isCardHeader()) return '4';\n\t\treturn this.prominent() ? '2' : '4';\n\t});\n\tprotected readonly resolvedClass = computed(() => {\n\t\tconst classes = [this.hostStaticClasses, this.class(), 'block'].filter(Boolean).join(' ');\n\t\treturn classes;\n\t});\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChildren, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { CARD_HAS_SECTIONS } from '../card-context';\nimport { CardSectionComponent } from '../card-section/card-section.component';\n\n/**\n * @internal\n * Generates base card classes with style variants\n */\nexport const cardComponent = cva(['card'], {\n\tvariants: {\n\t\tsize: {\n\t\t\txs: 'card-xs',\n\t\t\tsm: 'card-sm',\n\t\t\tmd: 'card-md',\n\t\t\tlg: 'card-lg',\n\t\t\txl: 'card-xl',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: 'md',\n\t},\n});\n\n/** Possible card container size variants */\nexport type CardContainerSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Possible card image orientation options */\nexport type CardImageOrientationProps = 'vertical' | 'horizontal';\n\n/** Possible card image alignment options */\nexport type CardImageAlignmentProps = 'start' | 'end';\n\n/** Configuration object for card styling variants */\nexport type CardProps = {\n\tsize?: CardContainerSizeProps;\n\tborder?: boolean;\n\timage?: string | null;\n\timageAlt?: string;\n\timageOrientation?: CardImageOrientationProps;\n\timageAlignment?: CardImageAlignmentProps;\n\timageAsBackground?: boolean;\n\tshadow?: boolean;\n\tglass?: boolean;\n\tdash?: boolean;\n\tblock?: boolean;\n};\n\n/**\n * A customizable card component with multiple layout and styling options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports various sizes, image configurations, and decorative styles.\n *\n * @example\n * ```html\n * <st-card\n * size=\"md\"\n * border=\"true\"\n * image=\"background.jpg\"\n * imageOrientation=\"horizontal\"\n * >\n * <h3 class=\"card-title\">Card Title</h3>\n * <p>Card content</p>\n * </st-card>\n * ```\n */\n@Component({\n\tselector: 'st-card',\n\timports: [CommonModule],\n\ttemplateUrl: './card.component.html',\n\tproviders: [{ provide: CARD_HAS_SECTIONS, useFactory: (card: CardComponent) => card.hasSections, deps: [CardComponent] }],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardComponent {\n\tprotected readonly sections = contentChildren(CardSectionComponent, { descendants: true });\n\tprotected readonly hasSections = computed(() => this.sections().length > 0);\n\tprotected readonly bodyClass = computed(() => (this.hasSections() ? 'card-body gap-6' : 'card-body gap-5'));\n\n\t/**\n\t * Card container size variant\n\t * @defaultValue 'md'\n\t */\n\tsize = input<CardContainerSizeProps>();\n\n\t/**\n\t * Show border around card\n\t * @defaultValue false\n\t */\n\tborder = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Image source URL\n\t */\n\timage = input<string | null>(null);\n\n\t/**\n\t * Alt text for card image\n\t * @defaultValue 'card image'\n\t */\n\timageAlt = input<string>('card image');\n\n\t/**\n\t * Orientation of card image\n\t * @defaultValue 'vertical'\n\t */\n\timageOrientation = input<CardImageOrientationProps>('vertical');\n\n\t/**\n\t * Alignment of card image\n\t * @defaultValue 'start'\n\t */\n\timageAlignment = input<CardImageAlignmentProps>('start');\n\n\t/**\n\t * Use image as full background\n\t * @defaultValue false\n\t */\n\timageAsBackground = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Dashed border style\n\t * @defaultValue false\n\t */\n\tdash = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Full-width card\n\t * @defaultValue false\n\t */\n\tblock = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * @internal\n\t * Computed class string for the card container\n\t */\n\tcomponentClass = computed(() =>\n\t\tcn(\n\t\t\tcardComponent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'w-full': this.block(),\n\t\t\t\t'card-side': this.imageOrientation() === 'horizontal' && this.image(),\n\t\t\t\t'image-full': this.imageAsBackground(),\n\t\t\t\t'shadow-overlay': this.shadow(),\n\t\t\t\t'border-neutral border': this.border(),\n\t\t\t\t'card-dash': this.dash(),\n\t\t\t\t'bg-base-200': !this.glass(),\n\t\t\t\tglass: this.glass(),\n\t\t\t},\n\t\t),\n\t);\n}\n","@let componentClassVar = this.componentClass();\n@let imageVar = this.image();\n@let imageAltVar = this.imageAlt();\n@let imageAlignmentVar = this.imageAlignment();\n<section [class]=\"componentClassVar\">\n\t@if (imageVar && imageAlignmentVar === 'start') {\n\t\t<figure>\n\t\t\t<img [src]=\"imageVar\" [alt]=\"imageAltVar\" />\n\t\t</figure>\n\t}\n\t<div [class]=\"bodyClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t@if (imageVar && imageAlignmentVar === 'end') {\n\t\t<figure>\n\t\t\t<img [src]=\"imageVar\" [alt]=\"imageAltVar\" />\n\t\t</figure>\n\t}\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAOA;;;;;;;;;;;;;;;;;;AAkBG;MAOU,oBAAoB,CAAA;AAChC;;;AAGG;AACH,IAAA,SAAS,GAAG,KAAK,CAA2B,MAAM,CAAC;AAEnD;;;AAGG;AACH,IAAA,cAAc,GAAG,QAAQ,CAAC,MAAK;QAC9B,OAAO,EAAE,CAAC,oCAAoC,EAAE;AAC/C,YAAA,eAAe,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,MAAM;AAC5C,YAAA,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,OAAO;AAC3C,YAAA,gBAAgB,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,QAAQ;AAC/C,SAAA,CAAC;AACH,IAAA,CAAC,CAAC;wGAjBU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,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A,EACV,CAAC,YAAY,CAAC,EAAA,SAAA,EAEZ,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC,IAAmB,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,CAAA,aAAA,CAAe,EAAE,CAAC,EAAA,eAAA,EACxG,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mkBAAA,EAAA;;;AE3EhD;;AAEG;;;;"}
|
|
@@ -745,7 +745,7 @@ class DataTableHeadSelectionComponent {
|
|
|
745
745
|
(valueUpdated)="context.table.toggleAllPageRowsSelected()"
|
|
746
746
|
[size]="checkboxSize()"
|
|
747
747
|
></st-checkbox>
|
|
748
|
-
`, isInline: true, dependencies: [{ kind: "component", type: CheckboxComponent, selector: "st-checkbox", inputs: ["variant", "size", "label", "name", "value", "parentForm", "formControlName", "stopPropagation", "disabled"], outputs: ["valueChange", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
748
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CheckboxComponent, selector: "st-checkbox", inputs: ["variant", "size", "label", "name", "value", "parentForm", "formControlName", "stopPropagation", "cover", "disabled"], outputs: ["valueChange", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
749
749
|
}
|
|
750
750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableHeadSelectionComponent, decorators: [{
|
|
751
751
|
type: Component,
|
|
@@ -803,7 +803,7 @@ class DataTableRowSelectionComponent {
|
|
|
803
803
|
(valueUpdated)="context.row.toggleSelected()"
|
|
804
804
|
[size]="checkboxSize()"
|
|
805
805
|
></st-checkbox>
|
|
806
|
-
`, isInline: true, dependencies: [{ kind: "component", type: CheckboxComponent, selector: "st-checkbox", inputs: ["variant", "size", "label", "name", "value", "parentForm", "formControlName", "stopPropagation", "disabled"], outputs: ["valueChange", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
806
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CheckboxComponent, selector: "st-checkbox", inputs: ["variant", "size", "label", "name", "value", "parentForm", "formControlName", "stopPropagation", "cover", "disabled"], outputs: ["valueChange", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
807
807
|
}
|
|
808
808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableRowSelectionComponent, decorators: [{
|
|
809
809
|
type: Component,
|
|
@@ -1328,11 +1328,11 @@ class DataTableContainerComponent {
|
|
|
1328
1328
|
});
|
|
1329
1329
|
});
|
|
1330
1330
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1331
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: DataTableContainerComponent, isStandalone: true, selector: "st-data-table", inputs: { noDataIcon: { classPropertyName: "noDataIcon", publicName: "noDataIcon", isSignal: true, isRequired: false, transformFunction: null }, noResultsIcon: { classPropertyName: "noResultsIcon", publicName: "noResultsIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingRows: { classPropertyName: "loadingRows", publicName: "loadingRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", 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 }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", 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 }, hasActiveFiltersCallback: { classPropertyName: "hasActiveFiltersCallback", publicName: "hasActiveFiltersCallback", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", pageSizeChanged: "pageSizeChanged" }, providers: [DataTableContextService], queries: [{ propertyName: "customEmptyState", first: true, predicate: TABLE_EMPTY_STATE, isSignal: true }], ngImport: i0, template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content
|
|
1331
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: DataTableContainerComponent, isStandalone: true, selector: "st-data-table", inputs: { noDataIcon: { classPropertyName: "noDataIcon", publicName: "noDataIcon", isSignal: true, isRequired: false, transformFunction: null }, noResultsIcon: { classPropertyName: "noResultsIcon", publicName: "noResultsIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingRows: { classPropertyName: "loadingRows", publicName: "loadingRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", 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 }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", 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 }, hasActiveFiltersCallback: { classPropertyName: "hasActiveFiltersCallback", publicName: "hasActiveFiltersCallback", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", pageSizeChanged: "pageSizeChanged" }, providers: [DataTableContextService], queries: [{ propertyName: "customEmptyState", first: true, predicate: TABLE_EMPTY_STATE, isSignal: true }], ngImport: i0, template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content-muted\">\n\t\t\t\t\t\t<st-icon [icon]=\"noDataIcon()\" size=\"lg\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content-muted\">\n\t\t\t\t\t\t<st-icon [icon]=\"noResultsIcon()\" size=\"xl\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noResults.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-3\">\n\t\t\t\t\t\t<ng-content select=\"st-data-table-empty-actions\"></ng-content>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<table [class]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span class=\"sr-only\">{{ 'sdk.dataTable.entriesByPage' | translate }}</span>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginatorComponent, selector: "st-paginator", inputs: ["paginatorId", "maxSize", "type", "pages", "size", "currentPage"], outputs: ["pageChanged", "currentPageChange"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: SelectComponent, selector: "st-select", inputs: ["variant", "size", "showOptional", "optionalText", "required", "ghost", "name", "inputId", "placeholder", "label", "value", "options", "displayKey", "valueKey", "allowClear", "parentForm", "formControlName", "disabled", "stopPropagation"], outputs: ["valueChange", "disabledChange", "blurred", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1332
1332
|
}
|
|
1333
1333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableContainerComponent, decorators: [{
|
|
1334
1334
|
type: Component,
|
|
1335
|
-
args: [{ selector: 'st-data-table', imports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [DataTableContextService], template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content
|
|
1335
|
+
args: [{ selector: 'st-data-table', imports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [DataTableContextService], template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content-muted\">\n\t\t\t\t\t\t<st-icon [icon]=\"noDataIcon()\" size=\"lg\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content-muted\">\n\t\t\t\t\t\t<st-icon [icon]=\"noResultsIcon()\" size=\"xl\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noResults.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-3\">\n\t\t\t\t\t\t<ng-content select=\"st-data-table-empty-actions\"></ng-content>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<table [class]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span class=\"sr-only\">{{ 'sdk.dataTable.entriesByPage' | translate }}</span>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" }]
|
|
1336
1336
|
}], ctorParameters: () => [] });
|
|
1337
1337
|
|
|
1338
1338
|
/**
|