@acorex/components 21.0.1-next.55 → 21.0.1-next.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components-accordion.mjs +4 -4
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-audio-wave.mjs +2 -2
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs +4 -4
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-chips.mjs +2 -2
- package/fesm2022/acorex-components-circular-progress.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +6 -6
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-table.mjs +2 -2
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +8 -8
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +2 -2
- package/fesm2022/acorex-components-drawer.mjs +4 -4
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-editor.mjs +2 -2
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +2 -2
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +14 -14
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +2 -2
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs +4 -4
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-media-viewer.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +2 -2
- package/fesm2022/{acorex-components-modal-acorex-components-modal-DNU5kOlV.mjs → acorex-components-modal-acorex-components-modal-Bjw8EpLk.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-acorex-components-modal-DNU5kOlV.mjs.map → acorex-components-modal-acorex-components-modal-Bjw8EpLk.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-EDuWk0we.mjs → acorex-components-modal-modal-content.component-A2h_OC6e.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-modal-content.component-EDuWk0we.mjs.map → acorex-components-modal-modal-content.component-A2h_OC6e.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +2 -2
- package/fesm2022/acorex-components-notification.mjs +2 -2
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-paint.mjs +4 -4
- package/fesm2022/acorex-components-password-box.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -6
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-progress-bar.mjs +2 -2
- package/fesm2022/acorex-components-qrcode.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-rate-picker.mjs +2 -2
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-scheduler.mjs +18 -18
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-selection-list-2.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-sliding-item.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-time-duration.mjs +5 -0
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +4 -4
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs +23 -17
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +6 -6
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-tooltip.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../packages/components/decorators/src/lib/components/clear-button/clear-button.component.ts","../../../../packages/components/decorators/src/lib/components/close-button/close-button.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.html","../../../../packages/components/decorators/src/lib/components/full-screen/full-screen-button.component.ts","../../../../packages/components/decorators/src/lib/components/generic-content.component.ts","../../../../packages/components/decorators/src/lib/components/heading/heading.component.ts","../../../../packages/components/decorators/src/lib/components/icon/icon.component.ts","../../../../packages/components/decorators/src/lib/decorators.module.ts","../../../../packages/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe, NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Input,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button\n type=\"button\"\n tabIndex=\"-1\"\n role=\"button\"\n [attr.aria-label]=\"'@acorex:common.general.clear' | translate | async\"\n [title]=\"'@acorex:common.general.clear' | translate | async\"\n >\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass, AsyncPipe, AXTranslatorPipe],\n\n providers: [{ provide: AXComponent, useExisting: AXDecoratorClearButtonComponent }],\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n private _parent = inject<AXClearableComponent>(AXClearableComponent, { optional: true });\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-general-button-icon ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick(e: MouseEvent) {\n e.stopPropagation();\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe, NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n inject,\n input,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button\n type=\"button\"\n role=\"button\"\n [attr.aria-label]=\"\n closeAll()\n ? ('@acorex:common.general.close-all' | translate | async)\n : ('@acorex:common.general.close' | translate | async)\n \"\n [title]=\"\n closeAll()\n ? ('@acorex:common.general.close-all' | translate | async)\n : ('@acorex:common.general.close' | translate | async)\n \"\n >\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass, AsyncPipe, AXTranslatorPipe],\n providers: [{ provide: AXComponent, useExisting: AXDecoratorCloseButtonComponent }],\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n private _parent = inject<AXClosableComponent>(AXClosableComponent, { optional: true });\n\n // @Inject(AXClosableComponent) private _parent?: AXClosableComponent,\n closeAll = input(false);\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click')\n protected _handleOnClick() {\n if (this.closeAll()) {\n this._parent?.closeAll();\n } else {\n this._parent?.close();\n }\n }\n}\n","import { AXComponent } from '@acorex/cdk/common';\nimport { Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-color-indicator',\n templateUrl: './color-indicator.component.html',\n styleUrls: ['./color-indicator.component.compiled.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorColorIndicatorComponent }],\n})\nexport class AXDecoratorColorIndicatorComponent {\n previewColor = input();\n}\n","<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXFullScreenService } from '@acorex/core/full-screen';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-fullscreen-button',\n template: ` <button\n type=\"button\"\n tabIndex=\"-1\"\n role=\"button\"\n [attr.aria-label]=\"'@acorex:common.general.full-screen' | translate | async\"\n [title]=\"'@acorex:common.general.full-screen' | translate | async\"\n >\n <i class=\"ax-icon {{ this.isActive() ? 'ax-icon-close' : 'ax-icon-full-screen' }} \"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorFullScreenButtonComponent }],\n imports: [AsyncPipe, AXTranslatorPipe],\n styles: `\n ax-fullscreen-button {\n min-width: 1rem;\n }\n `,\n})\nexport class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {\n private readonly fullScreenService = inject(AXFullScreenService);\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n element = model<HTMLElement>();\n isActive = model(false);\n\n #init = afterNextRender(() => {\n this.elementRef.nativeElement.onclick = () => {\n this.isActive.update((prev) => !prev);\n };\n });\n\n #eff = effect(() => {\n if (this.isActive()) {\n this.fullScreenService.enter(this.element());\n } else {\n this.fullScreenService.exit(this.element());\n }\n });\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n { provide: AXComponent, useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { AXComponent, AXSurfaceType, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, input, ViewEncapsulation } from '@angular/core';\n\ntype AXHeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-heading',\n template: `<ng-content></ng-content>`,\n styleUrls: ['heading.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorHeadingComponent }],\n})\nexport class AXDecoratorHeadingComponent extends MXBaseComponent {\n darkMode = input(true);\n color = input<AXSurfaceType>('lightest');\n weight = input<AXHeadingWeight>('semibold');\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-heading-${this.color()} ax-${this.weight()} ${!this.darkMode() && 'ax-heading-no-dark'}`;\n }\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-icon', useExisting: AXDecoratorIconComponent },\n { provide: AXComponent, useExisting: AXDecoratorIconComponent },\n ],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button/close-button.component';\nimport { AXDecoratorColorIndicatorComponent } from './components/color-indicator/color-indicator.component';\nimport { AXDecoratorFullScreenButtonComponent } from './components/full-screen/full-screen-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorHeadingComponent } from './components/heading/heading.component';\nimport { AXDecoratorIconComponent } from './components/icon/icon.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent,\n AXDecoratorFullScreenButtonComponent,\n AXDecoratorHeadingComponent,\n AXDecoratorColorIndicatorComponent,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAYA;;;;AAIG;AAkBG,MAAO,+BAAgC,SAAQ,eAAe,CAAA;AAjBpE,IAAA,WAAA,GAAA;;QAkBU,IAAA,CAAA,OAAO,GAAG,MAAM,CAAuB,oBAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAExF;;AAEG;QACK,IAAA,CAAA,KAAK,GAAG,uBAAuB;AAqCxC,IAAA;AAnCC;;AAEG;AACH,IAAA,IACW,IAAI,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe;IACtC;AAEA;;;;AAIG;IACH,IAAW,IAAI,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,KAAK,GAAG,CAAC;IAChB;AAEA;;AAEG;AACH,IAAA,IACY,SAAS,GAAA;AACnB,QAAA,MAAM,MAAM,GACV,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE;QAC1G,OAAO,CAAA,uBAAA,EAA0B,MAAM,GAAG,WAAW,GAAG,EAAE,CAAA,CAAE;IAC9D;AAEA;;AAEG;AAEO,IAAA,cAAc,CAAC,CAAa,EAAA;QACpC,CAAC,CAAC,eAAe,EAAE;AACnB,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ;AAAE,YAAA,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;IACjF;8GA1CW,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IA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AAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACzBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../packages/components/decorators/src/lib/components/clear-button/clear-button.component.ts","../../../../packages/components/decorators/src/lib/components/close-button/close-button.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.ts","../../../../packages/components/decorators/src/lib/components/color-indicator/color-indicator.component.html","../../../../packages/components/decorators/src/lib/components/full-screen/full-screen-button.component.ts","../../../../packages/components/decorators/src/lib/components/generic-content.component.ts","../../../../packages/components/decorators/src/lib/components/heading/heading.component.ts","../../../../packages/components/decorators/src/lib/components/icon/icon.component.ts","../../../../packages/components/decorators/src/lib/decorators.module.ts","../../../../packages/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe, NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Input,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button\n type=\"button\"\n tabIndex=\"-1\"\n role=\"button\"\n [attr.aria-label]=\"'@acorex:common.general.clear' | translate | async\"\n [title]=\"'@acorex:common.general.clear' | translate | async\"\n >\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass, AsyncPipe, AXTranslatorPipe],\n\n providers: [{ provide: AXComponent, useExisting: AXDecoratorClearButtonComponent }],\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n private _parent = inject<AXClearableComponent>(AXClearableComponent, { optional: true });\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden =\n this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-general-button-icon ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick(e: MouseEvent) {\n e.stopPropagation();\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe, NgClass } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n inject,\n input,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button\n type=\"button\"\n role=\"button\"\n [attr.aria-label]=\"\n closeAll()\n ? ('@acorex:common.general.close-all' | translate | async)\n : ('@acorex:common.general.close' | translate | async)\n \"\n [title]=\"\n closeAll()\n ? ('@acorex:common.general.close-all' | translate | async)\n : ('@acorex:common.general.close' | translate | async)\n \"\n >\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgClass, AsyncPipe, AXTranslatorPipe],\n providers: [{ provide: AXComponent, useExisting: AXDecoratorCloseButtonComponent }],\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n private _parent = inject<AXClosableComponent>(AXClosableComponent, { optional: true });\n\n // @Inject(AXClosableComponent) private _parent?: AXClosableComponent,\n closeAll = input(false);\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click')\n protected _handleOnClick() {\n if (this.closeAll()) {\n this._parent?.closeAll();\n } else {\n this._parent?.close();\n }\n }\n}\n","import { AXComponent } from '@acorex/cdk/common';\nimport { Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-color-indicator',\n templateUrl: './color-indicator.component.html',\n styleUrls: ['./color-indicator.component.compiled.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorColorIndicatorComponent }],\n})\nexport class AXDecoratorColorIndicatorComponent {\n previewColor = input();\n}\n","<div [style]=\"{ backgroundColor: previewColor() }\" class=\"ax-indicator-color\"></div>\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { AXFullScreenService } from '@acorex/core/full-screen';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n inject,\n model,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-fullscreen-button',\n template: ` <button\n type=\"button\"\n tabIndex=\"-1\"\n role=\"button\"\n [attr.aria-label]=\"'@acorex:common.general.full-screen' | translate | async\"\n [title]=\"'@acorex:common.general.full-screen' | translate | async\"\n >\n <i class=\"ax-icon {{ this.isActive() ? 'ax-icon-close' : 'ax-icon-full-screen' }} \"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorFullScreenButtonComponent }],\n imports: [AsyncPipe, AXTranslatorPipe],\n styles: `\n ax-fullscreen-button {\n min-width: 1rem;\n }\n `,\n})\nexport class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {\n private readonly fullScreenService = inject(AXFullScreenService);\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n element = model<HTMLElement>();\n isActive = model(false);\n\n #init = afterNextRender(() => {\n this.elementRef.nativeElement.onclick = () => {\n this.isActive.update((prev) => !prev);\n };\n });\n\n #eff = effect(() => {\n if (this.isActive()) {\n this.fullScreenService.enter(this.element());\n } else {\n this.fullScreenService.exit(this.element());\n }\n });\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-subtitle', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n { provide: AXComponent, useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { AXComponent, AXSurfaceType, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, input, ViewEncapsulation } from '@angular/core';\n\ntype AXHeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-heading',\n template: `<ng-content></ng-content>`,\n styleUrls: ['heading.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXDecoratorHeadingComponent }],\n})\nexport class AXDecoratorHeadingComponent extends MXBaseComponent {\n darkMode = input(true);\n color = input<AXSurfaceType>('lightest');\n weight = input<AXHeadingWeight>('semibold');\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-heading-${this.color()} ax-${this.weight()} ${!this.darkMode() && 'ax-heading-no-dark'}`;\n }\n}\n","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-icon', useExisting: AXDecoratorIconComponent },\n { provide: AXComponent, useExisting: AXDecoratorIconComponent },\n ],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button/close-button.component';\nimport { AXDecoratorColorIndicatorComponent } from './components/color-indicator/color-indicator.component';\nimport { AXDecoratorFullScreenButtonComponent } from './components/full-screen/full-screen-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorHeadingComponent } from './components/heading/heading.component';\nimport { AXDecoratorIconComponent } from './components/icon/icon.component';\n\nconst COMPONENT = [\n AXDecoratorIconComponent,\n AXDecoratorClearButtonComponent,\n AXDecoratorCloseButtonComponent,\n AXDecoratorGenericComponent,\n AXDecoratorFullScreenButtonComponent,\n AXDecoratorHeadingComponent,\n AXDecoratorColorIndicatorComponent,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAYA;;;;AAIG;AAkBG,MAAO,+BAAgC,SAAQ,eAAe,CAAA;AAjBpE,IAAA,WAAA,GAAA;;QAkBU,IAAA,CAAA,OAAO,GAAG,MAAM,CAAuB,oBAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAExF;;AAEG;QACK,IAAA,CAAA,KAAK,GAAG,uBAAuB;AAqCxC,IAAA;AAnCC;;AAEG;AACH,IAAA,IACW,IAAI,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe;IACtC;AAEA;;;;AAIG;IACH,IAA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AA+B;IAC/B,2BAA2B;IAC3B,oCAAoC;IACpC,2BAA2B;IAC3B,kCAAkC;CACnC;AACD,MAAM,OAAO,GAAG,CAAC,YAAY,CAAC;MAOjB,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,OAAA,EAAA,CAPb,YAAY,EAR3B,wBAAwB;YACxB,+BAA+B;YAC/B,+BAA+B;YAC/B,2BAA2B;YAC3B,oCAAoC;YACpC,2BAA2B;AAC3B,YAAA,kCAAkC,aANlC,wBAAwB;YACxB,+BAA+B;YAC/B,+BAA+B;YAC/B,2BAA2B;YAC3B,oCAAoC;YACpC,2BAA2B;YAC3B,kCAAkC,CAAA,EAAA,CAAA,CAAA;AASvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJf,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACzBD;;AAEG;;;;"}
|
|
@@ -71,7 +71,7 @@ class AXDialogComponent extends MXBaseComponent {
|
|
|
71
71
|
provide: AXComponent,
|
|
72
72
|
useExisting: AXDialogComponent,
|
|
73
73
|
},
|
|
74
|
-
], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ax-dialog ax-orientation-{{ data().orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data().draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data().icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data().icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data().title | translate | async }}</div>\n <div class=\"ax-dialog-content\">{{ data().content | translate | async }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data().closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n\n <ax-footer>\n @for (button of data().buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}@layer components{.ax-dialog{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-lightest);width:93vw;color:var(--color-on-lightest);border-width:1px;border-color:var(--color-border-lightest);flex-direction:column;display:flex;position:relative;overflow:hidden}.ax-dialog:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}@media(min-width:48rem){.ax-dialog{width:75vw}}@media(min-width:64rem){.ax-dialog{width:50vw}}@media(min-width:80rem){.ax-dialog{width:35vw}}@media(min-width:96rem){.ax-dialog{width:w5vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row!important}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:calc(var(--spacing,.25rem) * 4)}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{margin:calc(var(--spacing,.25rem) * 0);text-align:center}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{gap:calc(var(--spacing,.25rem) * 2);padding:calc(var(--spacing,.25rem) * 6);display:flex}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{min-height:calc(var(--spacing,.25rem) * 12)!important;width:calc(var(--spacing,.25rem) * 12)!important;cursor:move!important;background-color:var(--ax-comp-bg,var(--color-surface))!important;font-size:var(--text-2xl,1.5rem)!important;line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)))!important;color:var(--ax-comp-text,var(--color-on-surface))!important;border-radius:3.40282e38px!important;justify-content:center!important;align-items:center!important;display:flex!important}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{flex:1;margin-inline-start:calc(var(--spacing,.25rem) * 4)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.ax-dialog ax-footer{padding-inline:calc(var(--spacing,.25rem) * 6);padding-block:calc(var(--spacing,.25rem) * 3);align-items:flex-end}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.2.
|
|
74
|
+
], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ax-dialog ax-orientation-{{ data().orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data().draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data().icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data().icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data().title | translate | async }}</div>\n <div class=\"ax-dialog-content\">{{ data().content | translate | async }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data().closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n\n <ax-footer>\n @for (button of data().buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}@layer components{.ax-dialog{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-lightest);width:93vw;color:var(--color-on-lightest);border-width:1px;border-color:var(--color-border-lightest);flex-direction:column;display:flex;position:relative;overflow:hidden}.ax-dialog:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}@media(min-width:48rem){.ax-dialog{width:75vw}}@media(min-width:64rem){.ax-dialog{width:50vw}}@media(min-width:80rem){.ax-dialog{width:35vw}}@media(min-width:96rem){.ax-dialog{width:w5vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row!important}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:calc(var(--spacing,.25rem) * 4)}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{margin:calc(var(--spacing,.25rem) * 0);text-align:center}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{gap:calc(var(--spacing,.25rem) * 2);padding:calc(var(--spacing,.25rem) * 6);display:flex}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{min-height:calc(var(--spacing,.25rem) * 12)!important;width:calc(var(--spacing,.25rem) * 12)!important;cursor:move!important;background-color:var(--ax-comp-bg,var(--color-surface))!important;font-size:var(--text-2xl,1.5rem)!important;line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)))!important;color:var(--ax-comp-text,var(--color-on-surface))!important;border-radius:3.40282e38px!important;justify-content:center!important;align-items:center!important;display:flex!important}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{flex:1;margin-inline-start:calc(var(--spacing,.25rem) * 4)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.ax-dialog ax-footer{padding-inline:calc(var(--spacing,.25rem) * 6);padding-block:calc(var(--spacing,.25rem) * 3);align-items:flex-end}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: AXHotkeyDirective, selector: "[axHotkey]", inputs: ["axHotkey"] }, { kind: "directive", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
75
75
|
}
|
|
76
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
@@ -97,7 +97,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
97
97
|
AXLoadingComponent,
|
|
98
98
|
AsyncPipe,
|
|
99
99
|
AXTranslatorPipe,
|
|
100
|
-
], template: "<div\n class=\"ax-dialog ax-orientation-{{ data().orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data().draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data().icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data().icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data().title | translate | async }}</div>\n <div class=\"ax-dialog-content\">{{ data().content | translate | async }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data().closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n\n <ax-footer>\n @for (button of data().buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}@layer components{.ax-dialog{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-lightest);width:93vw;color:var(--color-on-lightest);border-width:1px;border-color:var(--color-border-lightest);flex-direction:column;display:flex;position:relative;overflow:hidden}.ax-dialog:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}@media(min-width:48rem){.ax-dialog{width:75vw}}@media(min-width:64rem){.ax-dialog{width:50vw}}@media(min-width:80rem){.ax-dialog{width:35vw}}@media(min-width:96rem){.ax-dialog{width:w5vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row!important}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:calc(var(--spacing,.25rem) * 4)}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{margin:calc(var(--spacing,.25rem) * 0);text-align:center}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{gap:calc(var(--spacing,.25rem) * 2);padding:calc(var(--spacing,.25rem) * 6);display:flex}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{min-height:calc(var(--spacing,.25rem) * 12)!important;width:calc(var(--spacing,.25rem) * 12)!important;cursor:move!important;background-color:var(--ax-comp-bg,var(--color-surface))!important;font-size:var(--text-2xl,1.5rem)!important;line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)))!important;color:var(--ax-comp-text,var(--color-on-surface))!important;border-radius:3.40282e38px!important;justify-content:center!important;align-items:center!important;display:flex!important}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{flex:1;margin-inline-start:calc(var(--spacing,.25rem) * 4)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.ax-dialog ax-footer{padding-inline:calc(var(--spacing,.25rem) * 6);padding-block:calc(var(--spacing,.25rem) * 3);align-items:flex-end}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.2.
|
|
100
|
+
], template: "<div\n class=\"ax-dialog ax-orientation-{{ data().orientation }}\"\n tabindex=\"-1\"\n cdkDrag\n cdkDragHandle\n [cdkDragDisabled]=\"!data().draggable\"\n>\n <div class=\"ax-dialog-content-wrapper\">\n @if (data().icon !== 'none') {\n <div class=\"ax-dialog-icon-side\">\n <i class=\"ax-dialog-icon {{ data().icon }}\"></i>\n </div>\n }\n <div class=\"ax-dialog-content-side\">\n <div class=\"ax-dialog-title\">{{ data().title | translate | async }}</div>\n <div class=\"ax-dialog-content\">{{ data().content | translate | async }}</div>\n </div>\n <div class=\"ax-dialog-dismiss-icon\">\n @if (data().closeButton) {\n <i class=\"ax-icon ax-icon-close\"></i>\n }\n </div>\n </div>\n\n <ax-footer>\n @for (button of data().buttons; let i = $index; track i) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"i\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </ax-footer>\n</div>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial}}}@layer components{.ax-dialog{border-radius:var(--radius-xl,.75rem);border-style:var(--tw-border-style);background-color:var(--color-lightest);width:93vw;color:var(--color-on-lightest);border-width:1px;border-color:var(--color-border-lightest);flex-direction:column;display:flex;position:relative;overflow:hidden}.ax-dialog:where(.dark,.dark *){background-color:var(--color-darkest);color:var(--color-on-darkest);border-color:var(--color-border-darkest)}@media(min-width:48rem){.ax-dialog{width:75vw}}@media(min-width:64rem){.ax-dialog{width:50vw}}@media(min-width:80rem){.ax-dialog{width:35vw}}@media(min-width:96rem){.ax-dialog{width:w5vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row!important}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:calc(var(--spacing,.25rem) * 4)}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{margin:calc(var(--spacing,.25rem) * 0);text-align:center}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{gap:calc(var(--spacing,.25rem) * 2);padding:calc(var(--spacing,.25rem) * 6);display:flex}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{min-height:calc(var(--spacing,.25rem) * 12)!important;width:calc(var(--spacing,.25rem) * 12)!important;cursor:move!important;background-color:var(--ax-comp-bg,var(--color-surface))!important;font-size:var(--text-2xl,1.5rem)!important;line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)))!important;color:var(--ax-comp-text,var(--color-on-surface))!important;border-radius:3.40282e38px!important;justify-content:center!important;align-items:center!important;display:flex!important}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{flex:1;margin-inline-start:calc(var(--spacing,.25rem) * 4)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}.ax-dialog ax-footer{padding-inline:calc(var(--spacing,.25rem) * 6);padding-block:calc(var(--spacing,.25rem) * 3);align-items:flex-end}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
101
101
|
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], onClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "onClose", required: false }] }] } });
|
|
102
102
|
|
|
103
103
|
const AX_DIALOG_CONFIG = new InjectionToken('AX_DIALOG_CONFIG', {
|
|
@@ -17,14 +17,14 @@ class AXDrawerContainerComponent extends MXBaseComponent {
|
|
|
17
17
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AXDrawerContainerComponent, isStandalone: true, selector: "ax-drawer-container", providers: [{ provide: AXComponent, useExisting: AXDrawerContainerComponent }], usesInheritance: true, hostDirectives: [{ directive: i1.AXDrawerContainerDirective }], ngImport: i0, template: `
|
|
18
18
|
<ng-content select="ax-drawer"> </ng-content>
|
|
19
19
|
<ng-content select="ax-content"> </ng-content>
|
|
20
|
-
`, isInline: true, styles: ["@layer components{ax-drawer-container{width:100%;height:100%}ax-drawer-container>ax-content{flex:1;height:100%}}\n/*! tailwindcss v4.2.
|
|
20
|
+
`, isInline: true, styles: ["@layer components{ax-drawer-container{width:100%;height:100%}ax-drawer-container>ax-content{flex:1;height:100%}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
21
21
|
}
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'ax-drawer-container', template: `
|
|
25
25
|
<ng-content select="ax-drawer"> </ng-content>
|
|
26
26
|
<ng-content select="ax-content"> </ng-content>
|
|
27
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXDrawerContainerComponent }], hostDirectives: [AXDrawerContainerDirective], styles: ["@layer components{ax-drawer-container{width:100%;height:100%}ax-drawer-container>ax-content{flex:1;height:100%}}\n/*! tailwindcss v4.2.
|
|
27
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXDrawerContainerComponent }], hostDirectives: [AXDrawerContainerDirective], styles: ["@layer components{ax-drawer-container{width:100%;height:100%}ax-drawer-container>ax-content{flex:1;height:100%}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
28
28
|
}] });
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -98,7 +98,7 @@ class AXDrawerComponent extends MXBaseComponent {
|
|
|
98
98
|
], usesInheritance: true, hostDirectives: [{ directive: i1.AXDrawerItemDirective }], ngImport: i0, template: `
|
|
99
99
|
<ng-content select="ax-header"></ng-content>
|
|
100
100
|
<ng-content select="ax-content"></ng-content>
|
|
101
|
-
`, isInline: true, styles: ["@layer components{ax-drawer>ax-content{flex:1;width:100%;height:100%}}\n/*! tailwindcss v4.2.
|
|
101
|
+
`, isInline: true, styles: ["@layer components{ax-drawer>ax-content{flex:1;width:100%;height:100%}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
102
102
|
}
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
104
104
|
type: Component,
|
|
@@ -108,7 +108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
108
108
|
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
|
109
109
|
{ provide: AXComponent, useExisting: AXDrawerComponent },
|
|
110
110
|
{ provide: AXClosableComponent, useExisting: AXDrawerComponent },
|
|
111
|
-
], hostDirectives: [AXDrawerItemDirective], styles: ["@layer components{ax-drawer>ax-content{flex:1;width:100%;height:100%}}\n/*! tailwindcss v4.2.
|
|
111
|
+
], hostDirectives: [AXDrawerItemDirective], styles: ["@layer components{ax-drawer>ax-content{flex:1;width:100%;height:100%}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
112
112
|
}], propDecorators: { location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }], showBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBackdrop", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], transition: [{ type: i0.Input, args: [{ isSignal: true, alias: "transition", required: false }] }], closeOnBackdropClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnBackdropClick", required: false }] }], backdropClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropClass", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }], singleOpenMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "singleOpenMode", required: false }] }], onBackdropClick: [{ type: i0.Output, args: ["onBackdropClick"] }], collapsedStateChanged: [{ type: i0.Output, args: ["collapsedStateChanged"] }] } });
|
|
113
113
|
|
|
114
114
|
const COMPONENT = [AXDrawerComponent, AXDrawerContainerComponent];
|
|
@@ -108,7 +108,7 @@ class AXDropdownButtonComponent extends MXButtonBaseComponent {
|
|
|
108
108
|
useExisting: AXDropdownButtonComponent,
|
|
109
109
|
},
|
|
110
110
|
{ provide: AXComponent, useExisting: AXDropdownButtonComponent },
|
|
111
|
-
], viewQueries: [{ propertyName: "dropdownPanel", first: true, predicate: ["panel"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #dropdown>\n <ax-dropdown-panel placement=\"bottom-end\" #panel>\n <ng-content select=\"ax-button-item-list\"></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} {{ look }} ax-dropdown-split-button-divider\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-dropdown-button{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;align-items:center;display:inline-flex}ax-dropdown-button.ax-state-disabled ax-divider{opacity:.5}ax-dropdown-button ax-button{width:100%}ax-dropdown-button.ax-xs .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}ax-dropdown-button.ax-sm .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}ax-dropdown-button.ax-md .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}ax-dropdown-button.ax-lg .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))}ax-dropdown-button.ax-xl .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}ax-dropdown-button .ax-dropdown-split-button-divider{background-color:var(--ax-comp-bg-light);width:1px;height:100%}ax-dropdown-button .ax-dropdown-split-button-divider.ax-default{background-color:var(--color-light,rgba(var(--ax-sys-color-light-surface)))}ax-dropdown-button .ax-dropdown-split-button{border-inline-end-style:var(--tw-border-style);border-inline-end-width:0;border-start-end-radius:0;border-end-end-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.
|
|
111
|
+
], viewQueries: [{ propertyName: "dropdownPanel", first: true, predicate: ["panel"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #dropdown>\n <ax-dropdown-panel placement=\"bottom-end\" #panel>\n <ng-content select=\"ax-button-item-list\"></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} {{ look }} ax-dropdown-split-button-divider\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-dropdown-button{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;align-items:center;display:inline-flex}ax-dropdown-button.ax-state-disabled ax-divider{opacity:.5}ax-dropdown-button ax-button{width:100%}ax-dropdown-button.ax-xs .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}ax-dropdown-button.ax-sm .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}ax-dropdown-button.ax-md .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}ax-dropdown-button.ax-lg .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))}ax-dropdown-button.ax-xl .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}ax-dropdown-button .ax-dropdown-split-button-divider{background-color:var(--ax-comp-bg-light);width:1px;height:100%}ax-dropdown-button .ax-dropdown-split-button-divider.ax-default{background-color:var(--color-light,rgba(var(--ax-sys-color-light-surface)))}ax-dropdown-button .ax-dropdown-split-button{border-inline-end-style:var(--tw-border-style);border-inline-end-width:0;border-start-end-radius:0;border-end-end-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
112
112
|
}
|
|
113
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXDropdownButtonComponent, decorators: [{
|
|
114
114
|
type: Component,
|
|
@@ -124,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
124
124
|
NgTemplateOutlet,
|
|
125
125
|
AXDecoratorGenericComponent,
|
|
126
126
|
AXDecoratorIconComponent,
|
|
127
|
-
], template: "<ng-template #dropdown>\n <ax-dropdown-panel placement=\"bottom-end\" #panel>\n <ng-content select=\"ax-button-item-list\"></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} {{ look }} ax-dropdown-split-button-divider\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-dropdown-button{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;align-items:center;display:inline-flex}ax-dropdown-button.ax-state-disabled ax-divider{opacity:.5}ax-dropdown-button ax-button{width:100%}ax-dropdown-button.ax-xs .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}ax-dropdown-button.ax-sm .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}ax-dropdown-button.ax-md .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}ax-dropdown-button.ax-lg .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))}ax-dropdown-button.ax-xl .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}ax-dropdown-button .ax-dropdown-split-button-divider{background-color:var(--ax-comp-bg-light);width:1px;height:100%}ax-dropdown-button .ax-dropdown-split-button-divider.ax-default{background-color:var(--color-light,rgba(var(--ax-sys-color-light-surface)))}ax-dropdown-button .ax-dropdown-split-button{border-inline-end-style:var(--tw-border-style);border-inline-end-width:0;border-start-end-radius:0;border-end-end-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.
|
|
127
|
+
], template: "<ng-template #dropdown>\n <ax-dropdown-panel placement=\"bottom-end\" #panel>\n <ng-content select=\"ax-button-item-list\"></ng-content>\n </ax-dropdown-panel>\n</ng-template>\n<ng-template #decorator>\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner\"> </ng-content>\n</ng-template>\n\n@if (mode === 'dropdown') {\n <ax-button\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n\n <ax-suffix>\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n </ax-suffix>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n} @else {\n <ax-button\n class=\"ax-dropdown-split-button\"\n [look]=\"look\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (click)=\"_handleClick($event)\"\n [text]=\"text\"\n >\n <ax-prefix> <ng-container [ngTemplateOutlet]=\"decorator\"></ng-container></ax-prefix>\n </ax-button>\n\n <ax-divider class=\"ax-{{ color }} {{ look }} ax-dropdown-split-button-divider\"></ax-divider>\n\n <ax-button class=\"ax-dropdown-split-button-arrow\" [look]=\"look\" [color]=\"color\" [disabled]=\"disabled\">\n <ax-icon class=\"far fa-chevron-down\"> </ax-icon>\n\n <ng-container [ngTemplateOutlet]=\"dropdown\"></ng-container>\n </ax-button>\n}\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-dropdown-button{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));justify-content:center;align-items:center;display:inline-flex}ax-dropdown-button.ax-state-disabled ax-divider{opacity:.5}ax-dropdown-button ax-button{width:100%}ax-dropdown-button.ax-xs .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}ax-dropdown-button.ax-sm .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}ax-dropdown-button.ax-md .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ))}ax-dropdown-button.ax-lg .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-lg,1.125rem);line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))}ax-dropdown-button.ax-xl .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}ax-dropdown-button .ax-dropdown-split-button-divider{background-color:var(--ax-comp-bg-light);width:1px;height:100%}ax-dropdown-button .ax-dropdown-split-button-divider.ax-default{background-color:var(--color-light,rgba(var(--ax-sys-color-light-surface)))}ax-dropdown-button .ax-dropdown-split-button{border-inline-end-style:var(--tw-border-style);border-inline-end-width:0;border-start-end-radius:0;border-end-end-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0}ax-dropdown-button .ax-dropdown-split-button-arrow ax-icon{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
128
128
|
}], propDecorators: { dropdownPanel: [{
|
|
129
129
|
type: ViewChild,
|
|
130
130
|
args: ['panel']
|
|
@@ -423,7 +423,7 @@ class AXDropdownPanelComponent extends MXInteractiveComponent {
|
|
|
423
423
|
useExisting: AXDropdownPanelComponent,
|
|
424
424
|
},
|
|
425
425
|
{ provide: AXComponent, useExisting: AXDropdownPanelComponent },
|
|
426
|
-
], viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div>\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: ["@layer components{.ax-actionsheet-base .ax-overlay-pane{width:100%}.ax-overlay-pane:has(ax-menu){--tw-border-style:none;border-style:none}.ax-overlay-pane:has(ax-menu) .ax-menu-container{visibility:visible;opacity:1}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item{height:calc(var(--spacing,.25rem) * 9);cursor:pointer;width:100%;padding-inline:calc(var(--spacing,.25rem) * 3);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;align-items:center;display:flex;border-radius:0!important}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-prefix,.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-suffix{opacity:1}}\n/*! tailwindcss v4.2.
|
|
426
|
+
], viewQueries: [{ propertyName: "_popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div>\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: ["@layer components{.ax-actionsheet-base .ax-overlay-pane{width:100%}.ax-overlay-pane:has(ax-menu){--tw-border-style:none;border-style:none}.ax-overlay-pane:has(ax-menu) .ax-menu-container{visibility:visible;opacity:1}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item{height:calc(var(--spacing,.25rem) * 9);cursor:pointer;width:100%;padding-inline:calc(var(--spacing,.25rem) * 3);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;align-items:center;display:flex;border-radius:0!important}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-prefix,.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-suffix{opacity:1}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disablePanelClass", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "repositionOnScroll", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
427
427
|
}
|
|
428
428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
429
429
|
type: Component,
|
|
@@ -433,7 +433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
433
433
|
useExisting: AXDropdownPanelComponent,
|
|
434
434
|
},
|
|
435
435
|
{ provide: AXComponent, useExisting: AXDropdownPanelComponent },
|
|
436
|
-
], host: { ngSkipHydration: 'true' }, imports: [AXPopoverComponent], template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div>\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: ["@layer components{.ax-actionsheet-base .ax-overlay-pane{width:100%}.ax-overlay-pane:has(ax-menu){--tw-border-style:none;border-style:none}.ax-overlay-pane:has(ax-menu) .ax-menu-container{visibility:visible;opacity:1}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item{height:calc(var(--spacing,.25rem) * 9);cursor:pointer;width:100%;padding-inline:calc(var(--spacing,.25rem) * 3);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;align-items:center;display:flex;border-radius:0!important}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-prefix,.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-suffix{opacity:1}}\n/*! tailwindcss v4.2.
|
|
436
|
+
], host: { ngSkipHydration: 'true' }, imports: [AXPopoverComponent], template: "<ax-popover\n [target]=\"_target\"\n [placement]=\"_placement\"\n [openOn]=\"'toggle'\"\n [closeOn]=\"'clickOut'\"\n [adaptivityEnabled]=\"adaptivityEnabled\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\"\n>\n <div>\n <ng-content> </ng-content>\n </div>\n</ax-popover>\n", styles: ["@layer components{.ax-actionsheet-base .ax-overlay-pane{width:100%}.ax-overlay-pane:has(ax-menu){--tw-border-style:none;border-style:none}.ax-overlay-pane:has(ax-menu) .ax-menu-container{visibility:visible;opacity:1}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item{height:calc(var(--spacing,.25rem) * 9);cursor:pointer;width:100%;padding-inline:calc(var(--spacing,.25rem) * 3);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;align-items:center;display:flex;border-radius:0!important}.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-prefix,.ax-overlay-pane:has(ax-menu) .ax-menu-container .ax-action-item:hover>.ax-action-item-suffix{opacity:1}}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
437
437
|
}], ctorParameters: () => [], propDecorators: { placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], _target: [{
|
|
438
438
|
type: Input
|
|
439
439
|
}], _popover: [{
|
|
@@ -143,7 +143,7 @@ class AXEditorComponent extends classes((MXInputBaseValueComponent), MXLookCompo
|
|
|
143
143
|
</div>
|
|
144
144
|
<ng-content select="ax-validation-rule"> </ng-content>
|
|
145
145
|
<div class="ax-error-container"></div>
|
|
146
|
-
`, isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-editor{display:block}ax-editor>.ax-editor-container{display:block;height:fit-content!important}ax-editor.ax-rtl .ce-toolbar__actions{width:100%;right:auto}ax-editor.ax-disable{cursor:not-allowed;opacity:.5}ax-editor .ce-inline-toolbar{background-color:var(--color-surface,rgba(var(--ax-sys-color-surface)))!important}ax-editor .colorPlugin svg{fill:var(--color-on-surface,rgba(var(--ax-sys-color-on-surface)))!important}ax-editor .ce-inline-toolbar{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface)))!important}ax-editor .ce-toolbar__plus{color:unset!important}ax-editor .ce-popover{background-color:var(--color-darker,rgba(var(--ax-sys-color-darker-surface)))!important}ax-editor .ce-popover-item{color:unset!important}ax-editor .ce-popover--opened{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface)))!important}ax-editor .ce-popover-item__icon,ax-editor .cdx-search-field{background-color:unset!important}ax-editor .ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)))!important}ax-editor .ce-toolbar__plus:hover{background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))!important}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.
|
|
146
|
+
`, isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-editor{display:block}ax-editor>.ax-editor-container{display:block;height:fit-content!important}ax-editor.ax-rtl .ce-toolbar__actions{width:100%;right:auto}ax-editor.ax-disable{cursor:not-allowed;opacity:.5}ax-editor .ce-inline-toolbar{background-color:var(--color-surface)!important;background-color:var(--color-surface,rgba(var(--ax-sys-color-surface-surface)))!important}ax-editor .colorPlugin svg{fill:var(--color-on-surface,rgba(var(--ax-sys-color-on-surface-surface)))!important}ax-editor .ce-inline-toolbar{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface-surface)))!important}ax-editor .ce-toolbar__plus{color:unset!important}ax-editor .ce-popover{background-color:var(--color-darker,rgba(var(--ax-sys-color-darker-surface)))!important}ax-editor .ce-popover-item{color:unset!important}ax-editor .ce-popover--opened{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface-surface)))!important}ax-editor .ce-popover-item__icon,ax-editor .cdx-search-field{background-color:unset!important}ax-editor .ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)))!important}ax-editor .ce-toolbar__plus:hover{background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))!important}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
147
147
|
}
|
|
148
148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXEditorComponent, decorators: [{
|
|
149
149
|
type: Component,
|
|
@@ -162,7 +162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
162
162
|
useExisting: forwardRef(() => AXEditorComponent),
|
|
163
163
|
multi: true,
|
|
164
164
|
},
|
|
165
|
-
], inputs: ['look', 'readonly', 'disabled', 'value'], outputs: ['onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-editor{display:block}ax-editor>.ax-editor-container{display:block;height:fit-content!important}ax-editor.ax-rtl .ce-toolbar__actions{width:100%;right:auto}ax-editor.ax-disable{cursor:not-allowed;opacity:.5}ax-editor .ce-inline-toolbar{background-color:var(--color-surface,rgba(var(--ax-sys-color-surface)))!important}ax-editor .colorPlugin svg{fill:var(--color-on-surface,rgba(var(--ax-sys-color-on-surface)))!important}ax-editor .ce-inline-toolbar{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface)))!important}ax-editor .ce-toolbar__plus{color:unset!important}ax-editor .ce-popover{background-color:var(--color-darker,rgba(var(--ax-sys-color-darker-surface)))!important}ax-editor .ce-popover-item{color:unset!important}ax-editor .ce-popover--opened{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface)))!important}ax-editor .ce-popover-item__icon,ax-editor .cdx-search-field{background-color:unset!important}ax-editor .ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)))!important}ax-editor .ce-toolbar__plus:hover{background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))!important}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.
|
|
165
|
+
], inputs: ['look', 'readonly', 'disabled', 'value'], outputs: ['onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-editor{display:block}ax-editor>.ax-editor-container{display:block;height:fit-content!important}ax-editor.ax-rtl .ce-toolbar__actions{width:100%;right:auto}ax-editor.ax-disable{cursor:not-allowed;opacity:.5}ax-editor .ce-inline-toolbar{background-color:var(--color-surface)!important;background-color:var(--color-surface,rgba(var(--ax-sys-color-surface-surface)))!important}ax-editor .colorPlugin svg{fill:var(--color-on-surface,rgba(var(--ax-sys-color-on-surface-surface)))!important}ax-editor .ce-inline-toolbar{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface-surface)))!important}ax-editor .ce-toolbar__plus{color:unset!important}ax-editor .ce-popover{background-color:var(--color-darker,rgba(var(--ax-sys-color-darker-surface)))!important}ax-editor .ce-popover-item{color:unset!important}ax-editor .ce-popover--opened{border-style:var(--tw-border-style)!important;border-width:1px!important;border-color:var(--color-border-surface,rgba(var(--ax-sys-color-border-surface-surface)))!important}ax-editor .ce-popover-item__icon,ax-editor .cdx-search-field{background-color:unset!important}ax-editor .ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-lightest,rgba(var(--ax-sys-color-lightest-surface)))!important}ax-editor .ce-toolbar__plus:hover{background-color:var(--color-darkest,rgba(var(--ax-sys-color-darkest-surface)))!important}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
166
166
|
}], propDecorators: { editorHolder: [{ type: i0.ViewChild, args: ['r', { isSignal: true }] }], modules: [{ type: i0.Input, args: [{ isSignal: true, alias: "modules", required: false }] }], imageConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "imageConfig", required: false }] }], __hostClass: [{
|
|
167
167
|
type: HostBinding,
|
|
168
168
|
args: ['class']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-editor.mjs","sources":["../../../../packages/components/editor/src/lib/editor.component.ts","../../../../packages/components/editor/src/lib/editor.module.ts","../../../../packages/components/editor/src/acorex-components-editor.ts"],"sourcesContent":["import {\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/cdk/common';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { AXHtmlUtil } from '@acorex/core/utils';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n inject,\n input,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport type EditorJS from '@editorjs/editorjs';\nimport type { OutputData } from '@editorjs/editorjs';\nimport { classes } from 'polytype';\nimport { EditorJsTool, type ImageToolConfig } from './editor.type';\n\n@Component({\n selector: 'ax-editor',\n template: `\n <div class=\"ax-editor-container ax-default {{ look }}\">\n <div class=\"ax-editor-holder\" #r></div>\n </div>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n <div class=\"ax-error-container\"></div>\n `,\n styleUrl: './editor.component.compiled.css',\n providers: [\n { provide: AXComponent, useExisting: AXEditorComponent },\n { provide: AXFocusableComponent, useExisting: AXEditorComponent },\n { provide: AXValuableComponent, useExisting: AXEditorComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXEditorComponent),\n multi: true,\n },\n ],\n inputs: ['look', 'readonly', 'disabled', 'value'],\n outputs: ['onValueChanged'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXEditorComponent extends classes(MXInputBaseValueComponent<OutputData>, MXLookComponent) {\n private toolLoaders: Record<EditorJsTool, () => Promise<any>> = {\n header: () => import('@editorjs/header'),\n list: () => import('@editorjs/list'),\n raw: () => import('@editorjs/raw'),\n quote: () => import('@editorjs/quote'),\n codeBox: () => import('@bomdi/codebox'),\n underline: () => import('@editorjs/underline'),\n color: () => import('editorjs-text-color-plugin'),\n image: () => import('@editorjs/image'),\n // linkTool: () => import('@editorjs/link'),\n // table: () => import('@editorjs/table'),\n // attaches: () => import('@editorjs/attaches'),\n // alignmentTuneTool: () => import('editorjs-text-alignment-blocktune'),\n // hyperlink: () => import('editorjs-hyperlink'),\n // delimiter: () => import('@editorjs/delimiter'),\n // inlineCode: () => import('@editorjs/inline-code'),\n // embed: () => import('@editorjs/embed'),\n // warning: () => import('@editorjs/warning'),\n // checklist: () => import('@editorjs/checklist'),\n // marker: () => import('@editorjs/marker'),\n // dragDrop: () => import('editorjs-drag-drop'),\n // undo: () => import('editorjs-undo'),\n // nestedList: () => import('@editorjs/nested-list'),\n // tooltip: () => import('editorjs-tooltip'),\n // paragraphWithAlignment: () => import('editorjs-paragraph-with-alignment'),\n };\n\n private editorHolder = viewChild<ElementRef<HTMLDivElement>>('r');\n\n private platform = inject(AXPlatform);\n\n modules = input<EditorJsTool[]>(['header', 'list', 'codeBox', 'underline', 'color']);\n\n imageConfig = input<ImageToolConfig>();\n\n protected editorClass: EditorJS;\n\n private colorConfig: any = {\n defaultColor: '#FF1300',\n type: 'text',\n customPicker: true,\n colorCollections: [\n '#EC7878',\n '#9C27B0',\n '#673AB7',\n '#3F51B5',\n '#0070FF',\n '#03A9F4',\n '#00BCD4',\n '#4CAF50',\n '#8BC34A',\n '#CDDC39',\n '#FFF',\n ],\n };\n\n private markerConfig: any = {\n defaultColor: '#FFBF00',\n type: 'marker',\n };\n\n private async loadEditorJsTools(selectedTools: EditorJsTool[]): Promise<Record<string, any>> {\n const results = await Promise.all(\n selectedTools.map(async (name) => {\n try {\n const mod = await this.toolLoaders[name]();\n const ToolClass = mod.default || mod;\n return [name, ToolClass];\n } catch (error) {\n console.error(`❌ Failed to load ${name}:`, error);\n return null;\n }\n }),\n );\n\n return Object.fromEntries(results.filter((r) => r).map(([key, value]) => [key, { class: value }]));\n }\n\n #init = afterNextRender(async () => {\n const tools = await this.loadEditorJsTools(this.modules());\n\n if (tools['color']) {\n tools['marker'] = { ...tools['color'] };\n tools['color'].config = this.colorConfig;\n tools['marker'].config = this.markerConfig;\n }\n\n if (tools['image'] && this.imageConfig()) {\n tools['image'].config = this.imageConfig();\n }\n\n if (tools['codeBox']) {\n let theme: any;\n if (this.platform.themeMode() === 'dark' || this.platform.themeMode() === 'light') {\n theme = this.platform.themeMode();\n } else {\n theme = 'light';\n }\n tools['codeBox'].config = { useDefaultTheme: theme };\n }\n\n const EditorJS = (await import('@editorjs/editorjs')).default;\n\n if (tools['codeBox'].class.default) tools['codeBox'].class = tools['codeBox'].class.default;\n\n this.editorClass = new EditorJS({\n holder: this.editorHolder().nativeElement,\n tools,\n onChange: async (e) => {\n const content = await e.saver.save();\n if (content.blocks.length) {\n this.commitValue(content, true);\n } else {\n this.commitValue(null, true);\n }\n },\n data: this.value,\n readOnly: this.readonly || this.disabled,\n });\n });\n\n @HostBinding('class')\n private get __hostClass(): string[] {\n const style = [];\n if (this.disabled) style.push('ax-disable');\n if (AXHtmlUtil.isRtl()) style.push('ax-rtl');\n return style;\n }\n\n @HostBinding('attr.name')\n private get __hostName(): string {\n return this.name;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { AXEditorComponent } from './editor.component';\n\nconst COMPONENT = [AXEditorComponent];\n\nconst MODULES = [];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class EditorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAoDM,MAAO,iBAAkB,SAAQ,OAAO,EAAC,yBAAqC,GAA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AA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA;sBA8F/D,WAAW;uBAAC,OAAO;;sBAQnB,WAAW;uBAAC,WAAW;;;ACnL1B,MAAM,SAAS,GAAG,CAAC,iBAAiB,CAAC;AAErC,MAAM,OAAO,GAAG,EAAE;MAOL,YAAY,CAAA;8GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAZ,YAAY,EAAA,OAAA,EAAA,CATN,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAAjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AASvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJV,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-editor.mjs","sources":["../../../../packages/components/editor/src/lib/editor.component.ts","../../../../packages/components/editor/src/lib/editor.module.ts","../../../../packages/components/editor/src/acorex-components-editor.ts"],"sourcesContent":["import {\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/cdk/common';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { AXHtmlUtil } from '@acorex/core/utils';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n inject,\n input,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport type EditorJS from '@editorjs/editorjs';\nimport type { OutputData } from '@editorjs/editorjs';\nimport { classes } from 'polytype';\nimport { EditorJsTool, type ImageToolConfig } from './editor.type';\n\n@Component({\n selector: 'ax-editor',\n template: `\n <div class=\"ax-editor-container ax-default {{ look }}\">\n <div class=\"ax-editor-holder\" #r></div>\n </div>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n <div class=\"ax-error-container\"></div>\n `,\n styleUrl: './editor.component.compiled.css',\n providers: [\n { provide: AXComponent, useExisting: AXEditorComponent },\n { provide: AXFocusableComponent, useExisting: AXEditorComponent },\n { provide: AXValuableComponent, useExisting: AXEditorComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXEditorComponent),\n multi: true,\n },\n ],\n inputs: ['look', 'readonly', 'disabled', 'value'],\n outputs: ['onValueChanged'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXEditorComponent extends classes(MXInputBaseValueComponent<OutputData>, MXLookComponent) {\n private toolLoaders: Record<EditorJsTool, () => Promise<any>> = {\n header: () => import('@editorjs/header'),\n list: () => import('@editorjs/list'),\n raw: () => import('@editorjs/raw'),\n quote: () => import('@editorjs/quote'),\n codeBox: () => import('@bomdi/codebox'),\n underline: () => import('@editorjs/underline'),\n color: () => import('editorjs-text-color-plugin'),\n image: () => import('@editorjs/image'),\n // linkTool: () => import('@editorjs/link'),\n // table: () => import('@editorjs/table'),\n // attaches: () => import('@editorjs/attaches'),\n // alignmentTuneTool: () => import('editorjs-text-alignment-blocktune'),\n // hyperlink: () => import('editorjs-hyperlink'),\n // delimiter: () => import('@editorjs/delimiter'),\n // inlineCode: () => import('@editorjs/inline-code'),\n // embed: () => import('@editorjs/embed'),\n // warning: () => import('@editorjs/warning'),\n // checklist: () => import('@editorjs/checklist'),\n // marker: () => import('@editorjs/marker'),\n // dragDrop: () => import('editorjs-drag-drop'),\n // undo: () => import('editorjs-undo'),\n // nestedList: () => import('@editorjs/nested-list'),\n // tooltip: () => import('editorjs-tooltip'),\n // paragraphWithAlignment: () => import('editorjs-paragraph-with-alignment'),\n };\n\n private editorHolder = viewChild<ElementRef<HTMLDivElement>>('r');\n\n private platform = inject(AXPlatform);\n\n modules = input<EditorJsTool[]>(['header', 'list', 'codeBox', 'underline', 'color']);\n\n imageConfig = input<ImageToolConfig>();\n\n protected editorClass: EditorJS;\n\n private colorConfig: any = {\n defaultColor: '#FF1300',\n type: 'text',\n customPicker: true,\n colorCollections: [\n '#EC7878',\n '#9C27B0',\n '#673AB7',\n '#3F51B5',\n '#0070FF',\n '#03A9F4',\n '#00BCD4',\n '#4CAF50',\n '#8BC34A',\n '#CDDC39',\n '#FFF',\n ],\n };\n\n private markerConfig: any = {\n defaultColor: '#FFBF00',\n type: 'marker',\n };\n\n private async loadEditorJsTools(selectedTools: EditorJsTool[]): Promise<Record<string, any>> {\n const results = await Promise.all(\n selectedTools.map(async (name) => {\n try {\n const mod = await this.toolLoaders[name]();\n const ToolClass = mod.default || mod;\n return [name, ToolClass];\n } catch (error) {\n console.error(`❌ Failed to load ${name}:`, error);\n return null;\n }\n }),\n );\n\n return Object.fromEntries(results.filter((r) => r).map(([key, value]) => [key, { class: value }]));\n }\n\n #init = afterNextRender(async () => {\n const tools = await this.loadEditorJsTools(this.modules());\n\n if (tools['color']) {\n tools['marker'] = { ...tools['color'] };\n tools['color'].config = this.colorConfig;\n tools['marker'].config = this.markerConfig;\n }\n\n if (tools['image'] && this.imageConfig()) {\n tools['image'].config = this.imageConfig();\n }\n\n if (tools['codeBox']) {\n let theme: any;\n if (this.platform.themeMode() === 'dark' || this.platform.themeMode() === 'light') {\n theme = this.platform.themeMode();\n } else {\n theme = 'light';\n }\n tools['codeBox'].config = { useDefaultTheme: theme };\n }\n\n const EditorJS = (await import('@editorjs/editorjs')).default;\n\n if (tools['codeBox'].class.default) tools['codeBox'].class = tools['codeBox'].class.default;\n\n this.editorClass = new EditorJS({\n holder: this.editorHolder().nativeElement,\n tools,\n onChange: async (e) => {\n const content = await e.saver.save();\n if (content.blocks.length) {\n this.commitValue(content, true);\n } else {\n this.commitValue(null, true);\n }\n },\n data: this.value,\n readOnly: this.readonly || this.disabled,\n });\n });\n\n @HostBinding('class')\n private get __hostClass(): string[] {\n const style = [];\n if (this.disabled) style.push('ax-disable');\n if (AXHtmlUtil.isRtl()) style.push('ax-rtl');\n return style;\n }\n\n @HostBinding('attr.name')\n private get __hostName(): string {\n return this.name;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { AXEditorComponent } from './editor.component';\n\nconst COMPONENT = [AXEditorComponent];\n\nconst MODULES = [];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class EditorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAoDM,MAAO,iBAAkB,SAAQ,OAAO,EAAC,yBAAqC,GAAE,eAAe,CAAC,CAAA;AAzBtG,IAAA,WAAA,GAAA;;AA0BU,QAAA,IAAA,CAAA,WAAW,GAA6C;AAC9D,YAAA,MAAM,EAAE,MAAM,OAAO,kBAAkB,CAAC;AACxC,YAAA,IAAI,EAAE,MAAM,OAAO,gBAAgB,CAAC;AACpC,YAAA,GAAG,EAAE,MAAM,OAAO,eAAe,CAAC;AAClC,YAAA,KAAK,EAAE,MAAM,OAAO,iBAAiB,CAAC;AACtC,YAAA,OAAO,EAAE,MAAM,OAAO,gBAAgB,CAAC;AACvC,YAAA,SAAS,EAAE,MAAM,OAAO,qBAAqB,CAAC;AAC9C,Y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AAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAZ,YAAY,EAAA,OAAA,EAAA,CATN,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAAjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AASvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJV,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -375,11 +375,11 @@ class AXFormFieldComponent extends MXBaseComponent {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
378
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.3", type: AXFormFieldComponent, isStandalone: true, selector: "ax-form-field", inputs: { labelMode: { classPropertyName: "labelMode", publicName: "labelMode", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, providers: [AXUnsubscriber, { provide: AXComponent, useExisting: AXFormFieldComponent }], queries: [{ propertyName: "input", first: true, predicate: AXValuableComponent, descendants: true }, { propertyName: "label", first: true, predicate: AXLabelComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer utilities{form .ax-error-message{margin-top:calc(var(--spacing,.25rem) * 1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)))}form.ax-float-error .ax-error-message:before{content:\"\";inset-inline-start:calc(var(--spacing,.25rem) * 2);top:calc(var(--spacing,.25rem) * -1);z-index:-10;width:calc(var(--spacing,.25rem) * 3);height:calc(var(--spacing,.25rem) * 3);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));position:absolute;rotate:45deg}form.ax-float-error .ax-error-message{inset-inline-start:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);z-index:20;--tw-translate-y:100%;height:fit-content;translate:var(--tw-translate-x) var(--tw-translate-y);border-radius:var(--radius-sm,.25rem);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));padding-inline:calc(var(--spacing,.25rem) * 2);padding-block:calc(var(--spacing,.25rem) * .5);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)));color:var(--color-on-danger,rgba(var(--ax-sys-color-on-danger-surface)));position:absolute}:is(.ax-md ax-form-field.ax-state-floating-label,.ax-md ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(.ax-sm ax-form-field.ax-state-floating-label,.ax-sm ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 12)}:is(.ax-xs ax-form-field.ax-state-floating-label,.ax-xs ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 10)}:is(.ax-lg ax-form-field.ax-state-floating-label,.ax-lg ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 16)}:is(.ax-xl ax-form-field.ax-state-floating-label,.ax-xl ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 18)}ax-form-field{width:100%;display:block;position:relative}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label,ax-form-field.ax-state-over-label.ax-md) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container{align-items:center}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-content,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-input,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-suffix{padding-top:calc(var(--spacing,.25rem) * 7)!important;padding-bottom:calc(var(--spacing,.25rem) * 2)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 3)!important;padding-bottom:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-suffix{padding-top:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label{z-index:10;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);inset-inline-start:calc(var(--spacing,.25rem) * 3);position:absolute;top:50%}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-input::placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-suffix{opacity:0}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label{inset-inline-start:calc(var(--spacing,.25rem) * 3);top:calc(var(--spacing,.25rem) * 4);padding-inline:calc(var(--spacing,.25rem) * 1);padding:calc(var(--spacing,.25rem) * 0)!important}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-input::placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-suffix{opacity:1}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-input,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 1)!important}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}\n/*! tailwindcss v4.2.
|
|
378
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.3", type: AXFormFieldComponent, isStandalone: true, selector: "ax-form-field", inputs: { labelMode: { classPropertyName: "labelMode", publicName: "labelMode", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, providers: [AXUnsubscriber, { provide: AXComponent, useExisting: AXFormFieldComponent }], queries: [{ propertyName: "input", first: true, predicate: AXValuableComponent, descendants: true }, { propertyName: "label", first: true, predicate: AXLabelComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer utilities{form .ax-error-message{margin-top:calc(var(--spacing,.25rem) * 1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)))}form.ax-float-error .ax-error-message:before{content:\"\";inset-inline-start:calc(var(--spacing,.25rem) * 2);top:calc(var(--spacing,.25rem) * -1);z-index:-10;width:calc(var(--spacing,.25rem) * 3);height:calc(var(--spacing,.25rem) * 3);background-color:var(--color-danger-600);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));position:absolute;rotate:45deg}form.ax-float-error .ax-error-message{inset-inline-start:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);z-index:20;--tw-translate-y:100%;height:fit-content;translate:var(--tw-translate-x) var(--tw-translate-y);border-radius:var(--radius-sm,.25rem);background-color:var(--color-danger-600);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));padding-inline:calc(var(--spacing,.25rem) * 2);padding-block:calc(var(--spacing,.25rem) * .5);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)));color:var(--color-on-danger,rgba(var(--ax-sys-color-on-danger-surface)));position:absolute}:is(.ax-md ax-form-field.ax-state-floating-label,.ax-md ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(.ax-sm ax-form-field.ax-state-floating-label,.ax-sm ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 12)}:is(.ax-xs ax-form-field.ax-state-floating-label,.ax-xs ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 10)}:is(.ax-lg ax-form-field.ax-state-floating-label,.ax-lg ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 16)}:is(.ax-xl ax-form-field.ax-state-floating-label,.ax-xl ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 18)}ax-form-field{width:100%;display:block;position:relative}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label,ax-form-field.ax-state-over-label.ax-md) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container{align-items:center}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-content,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-input,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-suffix{padding-top:calc(var(--spacing,.25rem) * 7)!important;padding-bottom:calc(var(--spacing,.25rem) * 2)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 3)!important;padding-bottom:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-suffix{padding-top:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label{z-index:10;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);inset-inline-start:calc(var(--spacing,.25rem) * 3);position:absolute;top:50%}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-input::placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-suffix{opacity:0}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label{inset-inline-start:calc(var(--spacing,.25rem) * 3);top:calc(var(--spacing,.25rem) * 4);padding-inline:calc(var(--spacing,.25rem) * 1);padding:calc(var(--spacing,.25rem) * 0)!important}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-input::placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-suffix{opacity:1}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-input,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 1)!important}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
379
379
|
}
|
|
380
380
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
381
381
|
type: Component,
|
|
382
|
-
args: [{ selector: 'ax-form-field', template: `<ng-content></ng-content>`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [AXUnsubscriber, { provide: AXComponent, useExisting: AXFormFieldComponent }], styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer utilities{form .ax-error-message{margin-top:calc(var(--spacing,.25rem) * 1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)))}form.ax-float-error .ax-error-message:before{content:\"\";inset-inline-start:calc(var(--spacing,.25rem) * 2);top:calc(var(--spacing,.25rem) * -1);z-index:-10;width:calc(var(--spacing,.25rem) * 3);height:calc(var(--spacing,.25rem) * 3);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));position:absolute;rotate:45deg}form.ax-float-error .ax-error-message{inset-inline-start:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);z-index:20;--tw-translate-y:100%;height:fit-content;translate:var(--tw-translate-x) var(--tw-translate-y);border-radius:var(--radius-sm,.25rem);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));padding-inline:calc(var(--spacing,.25rem) * 2);padding-block:calc(var(--spacing,.25rem) * .5);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)));color:var(--color-on-danger,rgba(var(--ax-sys-color-on-danger-surface)));position:absolute}:is(.ax-md ax-form-field.ax-state-floating-label,.ax-md ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(.ax-sm ax-form-field.ax-state-floating-label,.ax-sm ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 12)}:is(.ax-xs ax-form-field.ax-state-floating-label,.ax-xs ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 10)}:is(.ax-lg ax-form-field.ax-state-floating-label,.ax-lg ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 16)}:is(.ax-xl ax-form-field.ax-state-floating-label,.ax-xl ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 18)}ax-form-field{width:100%;display:block;position:relative}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label,ax-form-field.ax-state-over-label.ax-md) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container{align-items:center}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-content,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-input,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-suffix{padding-top:calc(var(--spacing,.25rem) * 7)!important;padding-bottom:calc(var(--spacing,.25rem) * 2)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 3)!important;padding-bottom:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-suffix{padding-top:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label{z-index:10;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);inset-inline-start:calc(var(--spacing,.25rem) * 3);position:absolute;top:50%}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-input::placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-suffix{opacity:0}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label{inset-inline-start:calc(var(--spacing,.25rem) * 3);top:calc(var(--spacing,.25rem) * 4);padding-inline:calc(var(--spacing,.25rem) * 1);padding:calc(var(--spacing,.25rem) * 0)!important}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-input::placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-suffix{opacity:1}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-input,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 1)!important}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}\n/*! tailwindcss v4.2.
|
|
382
|
+
args: [{ selector: 'ax-form-field', template: `<ng-content></ng-content>`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [AXUnsubscriber, { provide: AXComponent, useExisting: AXFormFieldComponent }], styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer utilities{form .ax-error-message{margin-top:calc(var(--spacing,.25rem) * 1);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)))}form.ax-float-error .ax-error-message:before{content:\"\";inset-inline-start:calc(var(--spacing,.25rem) * 2);top:calc(var(--spacing,.25rem) * -1);z-index:-10;width:calc(var(--spacing,.25rem) * 3);height:calc(var(--spacing,.25rem) * 3);background-color:var(--color-danger-600);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));position:absolute;rotate:45deg}form.ax-float-error .ax-error-message{inset-inline-start:calc(var(--spacing,.25rem) * 0);bottom:calc(var(--spacing,.25rem) * 0);z-index:20;--tw-translate-y:100%;height:fit-content;translate:var(--tw-translate-x) var(--tw-translate-y);border-radius:var(--radius-sm,.25rem);background-color:var(--color-danger-600);background-color:var(--color-danger-600,rgba(var(--ax-sys-color-danger-600)));padding-inline:calc(var(--spacing,.25rem) * 2);padding-block:calc(var(--spacing,.25rem) * .5);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)));color:var(--color-on-danger,rgba(var(--ax-sys-color-on-danger-surface)));position:absolute}:is(.ax-md ax-form-field.ax-state-floating-label,.ax-md ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(.ax-sm ax-form-field.ax-state-floating-label,.ax-sm ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 12)}:is(.ax-xs ax-form-field.ax-state-floating-label,.ax-xs ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 10)}:is(.ax-lg ax-form-field.ax-state-floating-label,.ax-lg ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 16)}:is(.ax-xl ax-form-field.ax-state-floating-label,.ax-xl ax-form-field.ax-state-over-label) .ax-editor-container{height:calc(var(--spacing,.25rem) * 18)}ax-form-field{width:100%;display:block;position:relative}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label,ax-form-field.ax-state-over-label.ax-md) .ax-editor-container{height:calc(var(--spacing,.25rem) * 14)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container{align-items:center}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-content,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-input,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container ax-suffix{padding-top:calc(var(--spacing,.25rem) * 7)!important;padding-bottom:calc(var(--spacing,.25rem) * 2)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 3)!important;padding-bottom:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-editor-container .ax-editor-container .ax-content ax-suffix{padding-top:calc(var(--spacing,.25rem) * 0)!important}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label{z-index:10;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);inset-inline-start:calc(var(--spacing,.25rem) * 3);position:absolute;top:50%}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0)}:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-input::placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) .ax-placeholder,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-prefix,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label) ax-suffix{opacity:0}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label{inset-inline-start:calc(var(--spacing,.25rem) * 3);top:calc(var(--spacing,.25rem) * 4);padding-inline:calc(var(--spacing,.25rem) * 1);padding:calc(var(--spacing,.25rem) * 0)!important}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-label label{margin-bottom:calc(var(--spacing,.25rem) * 0);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)))}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-input::placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) .ax-placeholder,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-suffix{opacity:1}:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-input,:is(:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-has-value,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-focused,:is(ax-form-field.ax-state-floating-label,ax-form-field.ax-state-over-label).ax-state-over-label) ax-prefix .ax-editor-container .ax-content{padding-top:calc(var(--spacing,.25rem) * 1)!important}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}\n/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n"] }]
|
|
383
383
|
}], ctorParameters: () => [], propDecorators: { labelMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelMode", required: false }] }], input: [{
|
|
384
384
|
type: ContentChild,
|
|
385
385
|
args: [AXValuableComponent]
|