@sixbell-telco/sdk 3.0.0 → 3.1.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 +57 -16
- package/README.md +2 -2
- package/_index.css +24 -0
- package/components/card/card-section-body/card-section-body.component.d.ts +9 -1
- package/components/data-table/src/data-table.component.d.ts +6 -1
- package/components/table/src/table.component.d.ts +6 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -6
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +21 -21
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +59 -45
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +39 -33
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +16 -16
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +29 -29
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +45 -45
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +30 -30
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +6 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +6 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +12 -12
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +8 -8
- package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +8 -8
- package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +24 -18
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-text.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +6 -6
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +27 -27
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +15 -15
- package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +15 -15
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +12 -12
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/package.json +88 -83
|
@@ -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 { Component, computed, input, output } 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 */\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\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\tbase: [],\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: 'primary',\n\t\tsize: 'md',\n\t\ticonPosition: 'left',\n\t},\n});\n\n/** Possible button style variants */\nexport type ButtonVariantProps =\n\t| 'primary'\n\t| 'secondary'\n\t| 'tertiary'\n\t| 'accent'\n\t| 'info'\n\t| 'success'\n\t| 'warning'\n\t| 'error'\n\t| 'base'\n\t| null\n\t| 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})\nexport class ButtonComponent {\n\t/**\n\t * Button style variant\n\t * @defaultValue 'primary'\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<boolean>(false);\n\n\t/**\n\t * Outline button style (border with transparent fill)\n\t * @defaultValue false\n\t */\n\toutline = input<boolean>(false);\n\n\t/**\n\t * Link button style (appears as a hyperlink)\n\t * @defaultValue false\n\t */\n\tlink = input<boolean>(false);\n\n\t/**\n\t * Soft button style (muted/subdued color variant)\n\t * @defaultValue false\n\t */\n\tsoft = input<boolean>(false);\n\n\t/**\n\t * Dash button style (dashed border)\n\t * @defaultValue false\n\t */\n\tdash = input<boolean>(false);\n\n\t/**\n\t * Wide button style (increased horizontal padding)\n\t * @defaultValue false\n\t */\n\twide = input<boolean>(false);\n\n\t/**\n\t * Circular button shape\n\t * @defaultValue false\n\t */\n\tcircle = input<boolean>(false);\n\n\t/**\n\t * Square button shape\n\t * @defaultValue false\n\t */\n\tsquare = input<boolean>(false);\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input<boolean>(false);\n\n\t/**\n\t * Full-width button\n\t * @defaultValue false\n\t */\n\tblock = input<boolean>(false);\n\n\t/**\n\t * Show loading spinner\n\t * @defaultValue false\n\t */\n\tloader = input<boolean>(false);\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<boolean>(false);\n\n\t/**\n\t * Button is focusable\n\t * @defaultValue true\n\t */\n\tfocusable = input<boolean>(true);\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<boolean>(false);\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input<boolean>(false);\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},\n\t\t),\n\t);\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\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(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":";;;;;;;AAMA;;;AAGG;MACU,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,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,YAAA,IAAI,EAAE,EAAE;AACR,SAAA;AACD,QAAA,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;AACd,SAAA;AACD,QAAA,YAAY,EAAE;YACb,IAAI,EAAE,CAAC,EAAE,CAAC;YACV,KAAK,EAAE,CAAC,kBAAkB,CAAC;AAC3B,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE,EAAE;AACpB,IAAA,eAAe,EAAE;AAChB,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,IAAI,EAAE,IAAI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EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,eAAA,EAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,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,EAAA,oqBAqBA,EDyEW,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,aAAa,sFAAE,YAAY,EAAA,CAAA,EAAA,CAAA;;2FAIzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,EACZ,OAAA,EAAA,CAAC,aAAa,EAAE,YAAY,CAAC,EAAA,QAAA,EAAA,oqBAAA,EAAA;;;AE9FvC;;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 { Component, computed, input, output } 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 */\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\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\tbase: [],\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: 'primary',\n\t\tsize: 'md',\n\t\ticonPosition: 'left',\n\t},\n});\n\n/** Possible button style variants */\nexport type ButtonVariantProps =\n\t| 'primary'\n\t| 'secondary'\n\t| 'tertiary'\n\t| 'accent'\n\t| 'info'\n\t| 'success'\n\t| 'warning'\n\t| 'error'\n\t| 'base'\n\t| null\n\t| 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})\nexport class ButtonComponent {\n\t/**\n\t * Button style variant\n\t * @defaultValue 'primary'\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<boolean>(false);\n\n\t/**\n\t * Outline button style (border with transparent fill)\n\t * @defaultValue false\n\t */\n\toutline = input<boolean>(false);\n\n\t/**\n\t * Link button style (appears as a hyperlink)\n\t * @defaultValue false\n\t */\n\tlink = input<boolean>(false);\n\n\t/**\n\t * Soft button style (muted/subdued color variant)\n\t * @defaultValue false\n\t */\n\tsoft = input<boolean>(false);\n\n\t/**\n\t * Dash button style (dashed border)\n\t * @defaultValue false\n\t */\n\tdash = input<boolean>(false);\n\n\t/**\n\t * Wide button style (increased horizontal padding)\n\t * @defaultValue false\n\t */\n\twide = input<boolean>(false);\n\n\t/**\n\t * Circular button shape\n\t * @defaultValue false\n\t */\n\tcircle = input<boolean>(false);\n\n\t/**\n\t * Square button shape\n\t * @defaultValue false\n\t */\n\tsquare = input<boolean>(false);\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input<boolean>(false);\n\n\t/**\n\t * Full-width button\n\t * @defaultValue false\n\t */\n\tblock = input<boolean>(false);\n\n\t/**\n\t * Show loading spinner\n\t * @defaultValue false\n\t */\n\tloader = input<boolean>(false);\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<boolean>(false);\n\n\t/**\n\t * Button is focusable\n\t * @defaultValue true\n\t */\n\tfocusable = input<boolean>(true);\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<boolean>(false);\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input<boolean>(false);\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},\n\t\t),\n\t);\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\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(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":";;;;;;;AAMA;;;AAGG;MACU,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,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,YAAA,IAAI,EAAE,EAAE;AACR,SAAA;AACD,QAAA,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;YACd,EAAE,EAAE,CAAC,QAAQ,CAAC;AACd,SAAA;AACD,QAAA,YAAY,EAAE;YACb,IAAI,EAAE,CAAC,EAAE,CAAC;YACV,KAAK,EAAE,CAAC,kBAAkB,CAAC;AAC3B,SAAA;AACD,KAAA;AACD,IA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AA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,eAAA,EAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,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,EClG5B,oqBAqBA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDyEW,aAAa,sFAAE,YAAY,EAAA,CAAA,EAAA,CAAA;;4FAIzB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,EAAA,OAAA,EACZ,CAAC,aAAa,EAAE,YAAY,CAAC,EAAA,QAAA,EAAA,oqBAAA,EAAA;;;AE9FvC;;AAEG;;;;"}
|
|
@@ -3,8 +3,8 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { input, computed, ChangeDetectionStrategy, Component, InjectionToken, signal, inject, ElementRef, DestroyRef, EnvironmentInjector, contentChildren, afterRenderEffect, createComponent } from '@angular/core';
|
|
4
4
|
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
5
5
|
import { DividerComponent } from '@sixbell-telco/sdk/components/divider';
|
|
6
|
-
import { TextDirective } from '@sixbell-telco/sdk/directives/text';
|
|
7
6
|
import { cva } from 'class-variance-authority';
|
|
7
|
+
import { TextDirective } from '@sixbell-telco/sdk/directives/text';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A container component for card action buttons/controls
|
|
@@ -42,19 +42,19 @@ class CardActionsComponent {
|
|
|
42
42
|
'justify-center': this.alignment() === 'center',
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
46
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: CardActionsComponent, isStandalone: true, selector: "st-card-actions", inputs: { alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardActionsComponent, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ selector: 'st-card-actions', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n" }]
|
|
51
51
|
}] });
|
|
52
52
|
|
|
53
53
|
class CardBodyComponent {
|
|
54
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
55
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardBodyComponent, isStandalone: true, selector: "st-card-body", host: { classAttribute: "flex flex-col" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{
|
|
60
60
|
selector: 'st-card-body',
|
|
@@ -73,8 +73,8 @@ const CARD_TYPOGRAPHY_CONTEXT = new InjectionToken('CARD_TYPOGRAPHY_CONTEXT');
|
|
|
73
73
|
class CardFooterComponent {
|
|
74
74
|
divided = input(false);
|
|
75
75
|
contentClass = computed(() => (this.divided() ? 'mt-6' : ''));
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
77
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: CardFooterComponent, isStandalone: true, selector: "st-card-footer", inputs: { divided: { classPropertyName: "divided", publicName: "divided", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-col" }, ngImport: i0, template: `
|
|
78
78
|
@if (divided()) {
|
|
79
79
|
<st-divider variant="neutral" [withMargin]="false"></st-divider>
|
|
80
80
|
}
|
|
@@ -83,7 +83,7 @@ class CardFooterComponent {
|
|
|
83
83
|
</div>
|
|
84
84
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DividerComponent, selector: "st-divider", inputs: ["orientation", "placement", "variant", "withMargin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: 'st-card-footer',
|
|
@@ -104,10 +104,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
104
104
|
}] });
|
|
105
105
|
|
|
106
106
|
class CardHeaderAsideComponent {
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardHeaderAsideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardHeaderAsideComponent, isStandalone: true, selector: "st-card-header-aside", host: { classAttribute: "shrink-0" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardHeaderAsideComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{
|
|
113
113
|
selector: 'st-card-header-aside',
|
|
@@ -121,8 +121,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
121
121
|
|
|
122
122
|
const NON_PROMINENT_CARD_HEADER = signal(false).asReadonly();
|
|
123
123
|
class CardHeaderComponent {
|
|
124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
125
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
125
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardHeaderComponent, isStandalone: true, selector: "st-card-header", host: { classAttribute: "block" }, providers: [
|
|
126
126
|
{
|
|
127
127
|
provide: CARD_TYPOGRAPHY_CONTEXT,
|
|
128
128
|
useFactory: () => {
|
|
@@ -142,7 +142,7 @@ class CardHeaderComponent {
|
|
|
142
142
|
</div>
|
|
143
143
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
144
144
|
}
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
146
146
|
type: Component,
|
|
147
147
|
args: [{
|
|
148
148
|
selector: 'st-card-header',
|
|
@@ -173,17 +173,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
173
173
|
}]
|
|
174
174
|
}] });
|
|
175
175
|
|
|
176
|
+
const cardSectionBodyComponent = cva(['text-base-content', 'font-body', 'flex', 'flex-col', 'text-pretty'], {
|
|
177
|
+
variants: {
|
|
178
|
+
gap: {
|
|
179
|
+
tight: ['gap-1.5'],
|
|
180
|
+
normal: ['gap-3'],
|
|
181
|
+
relaxed: ['gap-4'],
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
defaultVariants: {
|
|
185
|
+
gap: 'relaxed',
|
|
186
|
+
},
|
|
187
|
+
});
|
|
176
188
|
class CardSectionBodyComponent {
|
|
177
|
-
|
|
178
|
-
|
|
189
|
+
gap = input('relaxed');
|
|
190
|
+
class = input('');
|
|
191
|
+
containerClass = computed(() => cn(cardSectionBodyComponent({ gap: this.gap() ?? 'relaxed' }), this.class()));
|
|
192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
193
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: CardSectionBodyComponent, isStandalone: true, selector: "st-card-section-body", inputs: { gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "containerClass()" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
179
194
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionBodyComponent, decorators: [{
|
|
181
196
|
type: Component,
|
|
182
197
|
args: [{
|
|
183
198
|
selector: 'st-card-section-body',
|
|
184
|
-
imports: [CommonModule],
|
|
185
199
|
host: {
|
|
186
|
-
class: '
|
|
200
|
+
'[class]': 'containerClass()',
|
|
187
201
|
},
|
|
188
202
|
template: '<ng-content></ng-content>',
|
|
189
203
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -191,10 +205,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
191
205
|
}] });
|
|
192
206
|
|
|
193
207
|
class CardSectionFooterComponent {
|
|
194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
195
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
208
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
209
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardSectionFooterComponent, isStandalone: true, selector: "st-card-section-footer", host: { classAttribute: "flex flex-col" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
196
210
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionFooterComponent, decorators: [{
|
|
198
212
|
type: Component,
|
|
199
213
|
args: [{
|
|
200
214
|
selector: 'st-card-section-footer',
|
|
@@ -208,10 +222,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
208
222
|
}] });
|
|
209
223
|
|
|
210
224
|
class CardSectionComponent {
|
|
211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
212
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
226
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardSectionComponent, isStandalone: true, selector: "st-card-section", host: { classAttribute: "flex flex-col gap-5" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
213
227
|
}
|
|
214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionComponent, decorators: [{
|
|
215
229
|
type: Component,
|
|
216
230
|
args: [{
|
|
217
231
|
selector: 'st-card-section',
|
|
@@ -268,10 +282,10 @@ class CardSectionGroupComponent {
|
|
|
268
282
|
}
|
|
269
283
|
this.dividerRefs = [];
|
|
270
284
|
}
|
|
271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
272
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
285
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
286
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: CardSectionGroupComponent, isStandalone: true, selector: "st-card-section-group", inputs: { divided: { classPropertyName: "divided", publicName: "divided", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-6" }, queries: [{ propertyName: "sections", predicate: CardSectionComponent, isSignal: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
273
287
|
}
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionGroupComponent, decorators: [{
|
|
275
289
|
type: Component,
|
|
276
290
|
args: [{
|
|
277
291
|
selector: 'st-card-section-group',
|
|
@@ -284,10 +298,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
284
298
|
}], ctorParameters: () => [] });
|
|
285
299
|
|
|
286
300
|
class CardSectionHeaderAsideComponent {
|
|
287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
288
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionHeaderAsideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
302
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardSectionHeaderAsideComponent, isStandalone: true, selector: "st-card-section-header-aside", host: { classAttribute: "shrink-0" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
289
303
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionHeaderAsideComponent, decorators: [{
|
|
291
305
|
type: Component,
|
|
292
306
|
args: [{
|
|
293
307
|
selector: 'st-card-section-header-aside',
|
|
@@ -301,8 +315,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
301
315
|
|
|
302
316
|
const SECTION_HEADER_PROMINENCE = signal(false).asReadonly();
|
|
303
317
|
class CardSectionHeaderComponent {
|
|
304
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
305
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
319
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: CardSectionHeaderComponent, isStandalone: true, selector: "st-card-section-header", host: { classAttribute: "block" }, providers: [{ provide: CARD_TYPOGRAPHY_CONTEXT, useValue: { area: 'section-header', prominent: SECTION_HEADER_PROMINENCE } }], ngImport: i0, template: `
|
|
306
320
|
<div class="flex flex-col gap-4 sm:flex-row sm:items-start">
|
|
307
321
|
<div class="flex min-w-0 flex-1 flex-col gap-1">
|
|
308
322
|
<ng-content></ng-content>
|
|
@@ -311,7 +325,7 @@ class CardSectionHeaderComponent {
|
|
|
311
325
|
</div>
|
|
312
326
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
313
327
|
}
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSectionHeaderComponent, decorators: [{
|
|
315
329
|
type: Component,
|
|
316
330
|
args: [{
|
|
317
331
|
selector: 'st-card-section-header',
|
|
@@ -370,14 +384,14 @@ class CardSubtitleComponent {
|
|
|
370
384
|
const toneClass = this.isCardHeader() && this.prominent() ? 'block text-base-content/70' : 'block text-base-content/60';
|
|
371
385
|
return [toneClass, this.class(), this.hostStaticClasses].filter(Boolean).join(' ');
|
|
372
386
|
});
|
|
373
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
374
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
388
|
+
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: `
|
|
375
389
|
<p [stText]="resolvedPreset()" [stTextClass]="resolvedClass()" stTextColor="base">
|
|
376
390
|
<ng-content></ng-content>
|
|
377
391
|
</p>
|
|
378
392
|
`, isInline: true, dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
379
393
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardSubtitleComponent, decorators: [{
|
|
381
395
|
type: Component,
|
|
382
396
|
args: [{
|
|
383
397
|
selector: 'st-card-subtitle',
|
|
@@ -434,8 +448,8 @@ class CardTitleComponent {
|
|
|
434
448
|
const classes = [this.hostStaticClasses, this.class(), 'block'].filter(Boolean).join(' ');
|
|
435
449
|
return classes;
|
|
436
450
|
});
|
|
437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
438
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
451
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
452
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: CardTitleComponent, isStandalone: true, selector: "st-card-title", inputs: { tagOverride: { classPropertyName: "tagOverride", publicName: "as", isSignal: true, isRequired: false, transformFunction: null }, 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: `
|
|
439
453
|
<ng-template #contentTpl><ng-content /></ng-template>
|
|
440
454
|
@switch (tag()) {
|
|
441
455
|
@case ('h2') {
|
|
@@ -451,7 +465,7 @@ class CardTitleComponent {
|
|
|
451
465
|
}
|
|
452
466
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
453
467
|
}
|
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardTitleComponent, decorators: [{
|
|
455
469
|
type: Component,
|
|
456
470
|
args: [{
|
|
457
471
|
selector: 'st-card-title',
|
|
@@ -588,10 +602,10 @@ class CardComponent {
|
|
|
588
602
|
'bg-base-200': !this.glass(),
|
|
589
603
|
glass: this.glass(),
|
|
590
604
|
}));
|
|
591
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
592
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: CardComponent, isStandalone: true, selector: "st-card", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, border: { classPropertyName: "border", publicName: "border", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, imageAlt: { classPropertyName: "imageAlt", publicName: "imageAlt", isSignal: true, isRequired: false, transformFunction: null }, imageOrientation: { classPropertyName: "imageOrientation", publicName: "imageOrientation", isSignal: true, isRequired: false, transformFunction: null }, imageAlignment: { classPropertyName: "imageAlignment", publicName: "imageAlignment", isSignal: true, isRequired: false, transformFunction: null }, imageAsBackground: { classPropertyName: "imageAsBackground", publicName: "imageAsBackground", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, glass: { classPropertyName: "glass", publicName: "glass", isSignal: true, isRequired: false, transformFunction: null }, dash: { classPropertyName: "dash", publicName: "dash", isSignal: true, isRequired: false, transformFunction: null }, block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: CARD_HAS_SECTIONS, useFactory: (card) => card.hasSections, deps: [CardComponent] }], queries: [{ propertyName: "sections", predicate: CardSectionComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@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", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
593
607
|
}
|
|
594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: CardComponent, decorators: [{
|
|
595
609
|
type: Component,
|
|
596
610
|
args: [{ selector: 'st-card', imports: [CommonModule], providers: [{ provide: CARD_HAS_SECTIONS, useFactory: (card) => card.hasSections, deps: [CardComponent] }], changeDetection: ChangeDetectionStrategy.OnPush, template: "@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" }]
|
|
597
611
|
}] });
|
|
@@ -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 { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\n\n@Component({\n\tselector: 'st-card-footer',\n\timports: [CommonModule, DividerComponent],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: `\n\t\t@if (divided()) {\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\tdivided = input<boolean>(false);\n\n\tprotected readonly contentClass = computed(() => (this.divided() ? '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 { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-card-section-body',\n\timports: [CommonModule],\n\thost: {\n\t\tclass: 'text-base-content font-body flex flex-col gap-4 text-pretty',\n\t},\n\ttemplate: '<ng-content></ng-content>',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardSectionBodyComponent {}\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\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<boolean>(false);\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 { 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<boolean>(false);\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<boolean>(false);\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input<boolean>(false);\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input<boolean>(false);\n\n\t/**\n\t * Dashed border style\n\t * @defaultValue false\n\t */\n\tdash = input<boolean>(false);\n\n\t/**\n\t * Full-width card\n\t * @defaultValue false\n\t */\n\tblock = input<boolean>(false);\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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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 { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { DividerComponent } from '@sixbell-telco/sdk/components/divider';\n\n@Component({\n\tselector: 'st-card-footer',\n\timports: [CommonModule, DividerComponent],\n\thost: {\n\t\tclass: 'flex flex-col',\n\t},\n\ttemplate: `\n\t\t@if (divided()) {\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\tdivided = input<boolean>(false);\n\n\tprotected readonly contentClass = computed(() => (this.divided() ? '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\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<boolean>(false);\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 { 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<boolean>(false);\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<boolean>(false);\n\n\t/**\n\t * Add drop shadow\n\t * @defaultValue false\n\t */\n\tshadow = input<boolean>(false);\n\n\t/**\n\t * Glass effect styling\n\t * @defaultValue false\n\t */\n\tglass = input<boolean>(false);\n\n\t/**\n\t * Dashed border style\n\t * @defaultValue false\n\t */\n\tdash = input<boolean>(false);\n\n\t/**\n\t * Full-width card\n\t * @defaultValue false\n\t */\n\tblock = input<boolean>(false);\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,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,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAA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