@acorex/components 19.11.6 → 19.11.7
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-action-sheet.mjs +10 -10
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs +10 -10
- package/fesm2022/acorex-components-button.mjs +13 -13
- package/fesm2022/acorex-components-calendar.mjs +13 -13
- package/fesm2022/acorex-components-check-box.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-palette.mjs +25 -25
- package/fesm2022/acorex-components-comment.mjs +28 -28
- package/fesm2022/acorex-components-common.mjs +91 -91
- package/fesm2022/acorex-components-conversation.mjs +49 -49
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-table.mjs +37 -37
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
- package/fesm2022/acorex-components-decorators.mjs +25 -25
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
- package/fesm2022/acorex-components-dropdown.mjs +13 -13
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
- package/fesm2022/acorex-components-image-editor.mjs +46 -38
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-kbd.mjs +10 -10
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-list.mjs +7 -7
- package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
- package/fesm2022/acorex-components-loading.mjs +16 -16
- package/fesm2022/acorex-components-map.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs +37 -34
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +20 -20
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-notification.mjs +10 -10
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +185 -106
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +12 -12
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-popover.mjs +7 -7
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-scheduler.mjs +13 -13
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-side-menu.mjs +13 -13
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-step-wizard.mjs +13 -13
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs +10 -10
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tree-view.mjs +10 -10
- package/fesm2022/acorex-components-uploader.mjs +22 -22
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +2 -1
- package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -0
- package/package.json +5 -5
- package/paint/index.d.ts +4 -2
- package/paint/lib/paint/paint-container/paint-container.component.d.ts +4 -1
- package/paint/lib/paint/paint-tools/paint-eraser-tool/paint-eraser-tool.component.d.ts +15 -0
- package/paint/lib/paint/paint-tools/paint-highlight-tool/paint-highlight-tool.component.d.ts +18 -0
- package/paint/lib/paint/paint-tools/paint-pen-tool/paint-pen-tool.component.d.ts +18 -0
- package/paint/lib/paint/paint-tools-selector/paint-tools-selector.component.d.ts +9 -0
- package/paint/lib/paint/paint.service.d.ts +5 -2
- package/paint/lib/paint.module.d.ts +5 -3
- package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +0 -17
- package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +0 -36
@@ -27,10 +27,10 @@ class AXChipsComponent extends MXColorComponent {
|
|
27
27
|
get __hostClass() {
|
28
28
|
return `ax-${this.color} ax-${this.look()} ${this.size()}`;
|
29
29
|
}
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: AXChipsComponent, isStandalone: true, selector: "ax-chips", inputs: { tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", look: "lookChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, hostDirectives: [{ directive: i1.AXRippleDirective }], ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXChipsComponent, isStandalone: true, selector: "ax-chips", inputs: { tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", look: "lookChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, hostDirectives: [{ directive: i1.AXRippleDirective }], ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
32
32
|
}
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXChipsComponent, decorators: [{
|
34
34
|
type: Component,
|
35
35
|
args: [{ selector: 'ax-chips', inputs: ['tabIndex', 'color'], hostDirectives: [AXRippleDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"] }]
|
36
36
|
}], propDecorators: { __hostClass: [{
|
@@ -39,11 +39,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
39
39
|
}] } });
|
40
40
|
|
41
41
|
class AXChipsModule {
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
43
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
44
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
43
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: AXChipsModule, imports: [CommonModule, AXChipsComponent], exports: [AXChipsComponent] }); }
|
44
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXChipsModule, imports: [CommonModule] }); }
|
45
45
|
}
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXChipsModule, decorators: [{
|
47
47
|
type: NgModule,
|
48
48
|
args: [{
|
49
49
|
imports: [CommonModule, AXChipsComponent],
|
@@ -83,10 +83,10 @@ class AXCircularProgressComponent extends MXColorComponent {
|
|
83
83
|
this.progress.set(65);
|
84
84
|
}
|
85
85
|
}
|
86
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
87
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
87
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.5", type: AXCircularProgressComponent, isStandalone: true, selector: "ax-circular-progress", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, stroke: { classPropertyName: "stroke", publicName: "stroke", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { progress: "progressChange", stroke: "strokeChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "circle", first: true, predicate: ["circle"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
88
88
|
}
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressComponent, decorators: [{
|
90
90
|
type: Component,
|
91
91
|
args: [{ selector: 'ax-circular-progress', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"] }]
|
92
92
|
}], ctorParameters: () => [], propDecorators: { __hostClass: [{
|
@@ -95,11 +95,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
95
95
|
}] } });
|
96
96
|
|
97
97
|
class AXCircularProgressModule {
|
98
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
99
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
100
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
98
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
99
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressModule, imports: [AXCircularProgressComponent], exports: [AXCircularProgressComponent] }); }
|
100
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressModule }); }
|
101
101
|
}
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCircularProgressModule, decorators: [{
|
103
103
|
type: NgModule,
|
104
104
|
args: [{
|
105
105
|
imports: [AXCircularProgressComponent],
|
@@ -152,8 +152,8 @@ class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponen
|
|
152
152
|
get __hostClass() {
|
153
153
|
return [`${this.disabled ? 'ax-state-disabled' : ''}`, `ax-${this.parent?.look ? this.parent.look : this.look}`];
|
154
154
|
}
|
155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
156
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i1.MXLookableComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
156
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXCollapseComponent, isStandalone: true, selector: "ax-collapse", inputs: { disabled: "disabled", look: "look", isCollapsed: "isCollapsed", showHeader: "showHeader", caption: "caption", icon: "icon", isLoading: "isLoading", headerTemplate: "headerTemplate" }, outputs: { onClick: "onClick", isCollapsedChange: "isCollapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.ax-dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
157
157
|
trigger('collapse', [
|
158
158
|
state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),
|
159
159
|
state('true', style({ height: '0', visibility: 'hidden' })),
|
@@ -162,7 +162,7 @@ class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponen
|
|
162
162
|
]),
|
163
163
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
164
164
|
}
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
166
166
|
type: Component,
|
167
167
|
args: [{ selector: 'ax-collapse', inputs: ['disabled', 'look'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [
|
168
168
|
trigger('collapse', [
|
@@ -324,15 +324,15 @@ class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent)
|
|
324
324
|
get __hostClass() {
|
325
325
|
return ['ax-collapse-group', `ax-${this.look}`];
|
326
326
|
}
|
327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
328
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
328
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: AXCollapseGroupComponent, isStandalone: true, selector: "ax-collapse-group", inputs: { look: "look", accordion: "accordion", activeIndex: "activeIndex" }, outputs: { accordionChange: "accordionChange", activeIndexChange: "activeIndexChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
329
329
|
{
|
330
330
|
provide: MXLookableComponent,
|
331
331
|
useExisting: AXCollapseGroupComponent,
|
332
332
|
},
|
333
333
|
], queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
334
334
|
}
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
336
336
|
type: Component,
|
337
337
|
args: [{
|
338
338
|
selector: 'ax-collapse-group',
|
@@ -366,11 +366,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
366
366
|
const COMPONENT = [AXCollapseComponent, AXCollapseGroupComponent];
|
367
367
|
const MODULES = [CommonModule, AXLoadingModule];
|
368
368
|
class AXCollapseModule {
|
369
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
370
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
371
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
370
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseModule, imports: [CommonModule, AXLoadingModule, AXCollapseComponent, AXCollapseGroupComponent], exports: [AXCollapseComponent, AXCollapseGroupComponent] }); }
|
371
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseModule, imports: [MODULES, AXCollapseComponent] }); }
|
372
372
|
}
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXCollapseModule, decorators: [{
|
374
374
|
type: NgModule,
|
375
375
|
args: [{
|
376
376
|
imports: [...MODULES, ...COMPONENT],
|
@@ -67,8 +67,8 @@ class AXColorBoxComponent extends classes(MXDropdownBoxBaseComponent, (MXInputBa
|
|
67
67
|
internalValueChanged(value) {
|
68
68
|
//this.close();
|
69
69
|
}
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
71
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
71
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXColorBoxComponent, isStandalone: true, selector: "ax-color-box", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: false, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, showBadge: { classPropertyName: "showBadge", publicName: "showBadge", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, showClearButton: { classPropertyName: "showClearButton", publicName: "showClearButton", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange" }, host: { attributes: { "ngSkipHydration": "true" } }, providers: [
|
72
72
|
{ provide: AXComponent, useExisting: AXColorBoxComponent },
|
73
73
|
{ provide: AXFocusableComponent, useExisting: AXColorBoxComponent },
|
74
74
|
{ provide: AXValuableComponent, useExisting: AXColorBoxComponent },
|
@@ -80,7 +80,7 @@ class AXColorBoxComponent extends classes(MXDropdownBoxBaseComponent, (MXInputBa
|
|
80
80
|
},
|
81
81
|
], viewQueries: [{ propertyName: "palettePicker", first: true, predicate: AXColorPalettePickerComponent, descendants: true, isSignal: true }, { propertyName: "picker", first: true, predicate: AXColorPalleteComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: AXDropdownBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-dropdown-box\n [look]=\"look\"\n [disabled]=\"disabled\"\n (onOpened)=\"_handleOnOpenedEvent($event)\"\n (onClosed)=\"_handleOnClosedEvent($event)\"\n>\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <div class=\"ax-content\" (click)=\"_handleInputClickEvent($event)\" [tabindex]=\"tabIndex\">\n @if (value && showBadge()) {\n <div class=\"color-badge\" [ngStyle]=\"{ 'background-color': value }\"></div>\n } @else {\n <div class=\"color-placeholder\">{{ placeholder }}</div>\n }\n @if (showValue()) {\n <div class=\"color-value\">{{ value }}</div>\n }\n </div>\n @if (showClearButton()) {\n @if (value && !disabled && !readonly) {\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n }\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"ax-editor-button\"\n [tabIndex]=\"-1\"\n [disabled]=\"disabled\"\n (click)=\"_handleArrowClickEvent($event)\"\n >\n <span class=\"ax-icon ax-icon-color-palette\"></span>\n </button>\n }\n <ng-content select=\"ax-suffix\"> </ng-content>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-color-palette\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n >\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-swatches></ax-color-palette-swatches>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </ng-container>\n</ax-dropdown-box>\n", styles: ["ax-color-box{--ax-comp-editor-decorator-button-x: 0;--ax-comp-editor-decorator-padding-x: 0;display:flex;flex:1 1 0%}ax-color-box .ax-editor-container{padding-inline-start:calc(var(--ax-comp-color-box-gap, .75rem) / 2);width:var(--ax-comp-color-box-width, 100%);font-size:var(--ax-comp-color-box-font-size, var(--ax-comp-editor-font-size))}ax-color-box .ax-editor-container .ax-content{gap:var(--ax-comp-color-box-gap, .75rem);display:flex;height:100%;flex:1 1 0%;align-items:center;outline-color:transparent}ax-color-box .ax-editor-container .ax-content .color-badge{width:var(--ax-comp-color-box-badge-width, 2.5rem);height:calc(100% - var(--ax-comp-color-box-gap, .75rem));display:block;border-radius:.25rem;border-width:1px;border-color:rgba(var(--ax-sys-color-border-surface))}ax-color-box .ax-editor-container .ax-content .color-placeholder{font-size:inherit;font-weight:400;color:rgb(var(--ax-sys-color-input-text),.5)}ax-color-box .ax-editor-container .ax-content .color-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}ax-color-box .ax-editor-container .ax-clear-button{margin:0!important}\n"], dependencies: [{ kind: "component", type: AXDropdownBoxComponent, selector: "ax-dropdown-box", inputs: ["disabled", "look", "hasInput"], outputs: ["disabledChange", "onBlur", "onFocus", "onClick", "onOpened", "onClosed"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker" }, { kind: "component", type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: ["colors"] }, { kind: "component", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
82
82
|
}
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxComponent, decorators: [{
|
84
84
|
type: Component,
|
85
85
|
args: [{ selector: 'ax-color-box', inputs: ['disabled', 'readonly', 'tabIndex', 'placeholder', 'minValue', 'maxValue', 'value', 'state', 'name', 'id', 'type', 'look'], outputs: ['valueChange', 'stateChange', 'onValueChanged', 'onBlur', 'onFocus', 'readonlyChange', 'disabledChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
86
86
|
{ provide: AXComponent, useExisting: AXColorBoxComponent },
|
@@ -112,11 +112,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
112
112
|
const COMPONENT = [AXColorBoxComponent];
|
113
113
|
const MODULES = [CommonModule, FormsModule, AXColorPaletteModule, AXDropdownModule];
|
114
114
|
class AXColorBoxModule {
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
116
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
117
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
116
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxModule, imports: [CommonModule, FormsModule, AXColorPaletteModule, AXDropdownModule, AXColorBoxComponent], exports: [AXColorBoxComponent] }); }
|
117
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxModule, imports: [MODULES, COMPONENT] }); }
|
118
118
|
}
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorBoxModule, decorators: [{
|
120
120
|
type: NgModule,
|
121
121
|
args: [{
|
122
122
|
imports: [...MODULES, ...COMPONENT],
|
@@ -18,17 +18,17 @@ import { AXSliderModule } from '@acorex/components/slider';
|
|
18
18
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
19
19
|
|
20
20
|
class AXColorPaletteParentComponent {
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
22
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteParentComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteParentComponent }); }
|
23
23
|
}
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteParentComponent, decorators: [{
|
25
25
|
type: Injectable
|
26
26
|
}] });
|
27
27
|
class AXColorPaletteChildComponent {
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteChildComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteChildComponent }); }
|
30
30
|
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteChildComponent, decorators: [{
|
32
32
|
type: Injectable
|
33
33
|
}] });
|
34
34
|
const AXDefaultColorPalette = [
|
@@ -430,8 +430,8 @@ class AXColorPaletteInputComponent extends MXBaseComponent {
|
|
430
430
|
get __hostClass() {
|
431
431
|
return `ax-color-palette-input`;
|
432
432
|
}
|
433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
434
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteInputComponent, deps: [{ token: AXColorPaletteParentComponent }, { token: i1.AXUnsubscriber }], target: i0.ɵɵFactoryTarget.Component }); }
|
434
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXColorPaletteInputComponent, isStandalone: true, selector: "ax-color-palette-input", host: { properties: { "class": "this.__hostClass" } }, providers: [
|
435
435
|
{
|
436
436
|
provide: AXColorPaletteChildComponent,
|
437
437
|
useExisting: AXColorPaletteInputComponent,
|
@@ -439,7 +439,7 @@ class AXColorPaletteInputComponent extends MXBaseComponent {
|
|
439
439
|
AXUnsubscriber,
|
440
440
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"palette-inputs ax-sm\">\n <div class=\"select-box-container\">\n <ax-select-box\n [dataSource]=\"['hex', 'rgba']\"\n [(ngModel)]=\"_colorMode\"\n (ngModelChange)=\"_handleChangeInputMode()\"\n [disabled]=\"_parent.disabled\"\n >\n </ax-select-box>\n </div>\n @switch (_colorMode) {\n @case ('hex') {\n <div>\n <ax-text-box\n [ngModel]=\"_hex\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n [state]=\"isValid ? 'clear' : 'error'\"\n (onValueChanged)=\"_handleHEXAValueChanged($event)\"\n [mask-options]=\"_hexMaskOptions\"\n >\n </ax-text-box>\n </div>\n }\n @case ('rgba') {\n <div>\n <ax-number-box\n name=\"r\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.r\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n </div>\n <div>\n <ax-number-box\n name=\"g\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.g\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n </div>\n <div>\n <ax-number-box\n name=\"b\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.b\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n </div>\n <div>\n <ax-number-box\n name=\"a\"\n [minValue]=\"0\"\n [maxValue]=\"1\"\n [ngModel]=\"_rgba.a\"\n [decimals]=\"2\"\n [step]=\"0.1\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n [showSpinButtons]=\"false\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n </div>\n }\n }\n</div>\n", styles: [".ax-bold{font-weight:700}\n"], dependencies: [{ kind: "component", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "component", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "type", "changeOnScroll", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
441
441
|
}
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteInputComponent, decorators: [{
|
443
443
|
type: Component,
|
444
444
|
args: [{ selector: 'ax-color-palette-input', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
445
445
|
{
|
@@ -656,8 +656,8 @@ class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
656
656
|
get __hostClass() {
|
657
657
|
return `ax-color-palette-picker`;
|
658
658
|
}
|
659
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
660
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
659
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalettePickerComponent, deps: [{ token: AXColorPaletteParentComponent }, { token: i1.AXUnsubscriber }], target: i0.ɵɵFactoryTarget.Component }); }
|
660
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.5", type: AXColorPalettePickerComponent, isStandalone: true, selector: "ax-color-palette-picker", host: { properties: { "class": "this.__hostClass" } }, providers: [
|
661
661
|
{
|
662
662
|
provide: AXColorPaletteChildComponent,
|
663
663
|
useExisting: AXColorPalettePickerComponent,
|
@@ -665,7 +665,7 @@ class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
665
665
|
AXUnsubscriber,
|
666
666
|
], viewQueries: [{ propertyName: "circle", first: true, predicate: ["circle"], descendants: true, isSignal: true }, { propertyName: "sample", first: true, predicate: ["sample"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\" (pointerdown)=\"handleDown($event)\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\"></div>\n <div #circle class=\"ax-color-box-pointer\"></div>\n </div>\n</div>\n<div class=\"ax-pickers-container\">\n <div class=\"ax-slider-container\">\n <ax-range-slider\n [min]=\"0\"\n [max]=\"99\"\n [mode]=\"'single'\"\n [ngModel]=\"_gradient\"\n class=\"ax-color-box-gradient\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (ngModelChange)=\"_handleGradientChanged($event)\"\n [style.--ax-comp-range-slider-color]=\"colorBoxGradientBG()\"\n >\n </ax-range-slider>\n <ax-range-slider\n [min]=\"0\"\n [max]=\"1\"\n [step]=\"0.01\"\n [ngModel]=\"_rgba.a\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n class=\"ax-color-box-transparent\"\n (ngModelChange)=\"_handleAlphaChanged($event)\"\n [style.--ax-comp-range-slider-color]=\"\n colorBoxTransparentColor.r +\n ',' +\n colorBoxTransparentColor.g +\n ',' +\n colorBoxTransparentColor.b +\n ',' +\n colorBoxTransparentColor.a\n \"\n [style.--ax-comp-color-palette-transparent-color]=\"\n 'rgba(' +\n colorBoxTransparentColor.r +\n ',' +\n colorBoxTransparentColor.g +\n ',' +\n colorBoxTransparentColor.b +\n ')'\n \"\n >\n </ax-range-slider>\n </div>\n <div class=\"ax-color-sample\" #sample></div>\n</div>\n", dependencies: [{ kind: "component", type: AXRangeSliderComponent, selector: "ax-range-slider", inputs: ["disabled", "readonly", "orientation", "color", "values", "mode", "min", "max", "step", "snap", "tooltipMode", "snapMode", "hasStep", "hasSnap", "hasLable", "hasTooltip"], outputs: ["valuesChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
667
667
|
}
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
669
669
|
type: Component,
|
670
670
|
args: [{ selector: 'ax-color-palette-picker', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
671
671
|
{
|
@@ -723,8 +723,8 @@ class AXColorPalettePreviewComponent extends MXBaseComponent {
|
|
723
723
|
get __hostClass() {
|
724
724
|
return `ax-color-palette-preview`;
|
725
725
|
}
|
726
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
727
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalettePreviewComponent, deps: [{ token: AXColorPaletteParentComponent }, { token: i0.NgZone }, { token: i1.AXUnsubscriber }], target: i0.ɵɵFactoryTarget.Component }); }
|
727
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: AXColorPalettePreviewComponent, isStandalone: true, selector: "ax-color-palette-preview", host: { properties: { "classs": "this.__hostClass" } }, providers: [
|
728
728
|
{
|
729
729
|
provide: AXColorPaletteChildComponent,
|
730
730
|
useExisting: AXColorPalettePreviewComponent,
|
@@ -732,7 +732,7 @@ class AXColorPalettePreviewComponent extends MXBaseComponent {
|
|
732
732
|
AXUnsubscriber,
|
733
733
|
], usesInheritance: true, ngImport: i0, template: `<div class="palette-preview-overlay" [class.ax-state-disabled]="_parent.disabled"></div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
734
734
|
}
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalettePreviewComponent, decorators: [{
|
736
736
|
type: Component,
|
737
737
|
args: [{
|
738
738
|
selector: 'ax-color-palette-preview',
|
@@ -819,8 +819,8 @@ class AXColorPaletteSwatchesComponent extends MXBaseComponent {
|
|
819
819
|
code: color.code.toLowerCase(),
|
820
820
|
};
|
821
821
|
}
|
822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
823
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
822
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteSwatchesComponent, deps: [{ token: AXColorPaletteParentComponent }, { token: i1.AXUnsubscriber }], target: i0.ɵɵFactoryTarget.Component }); }
|
823
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXColorPaletteSwatchesComponent, isStandalone: true, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: { colors: "colors" }, providers: [
|
824
824
|
{
|
825
825
|
provide: AXColorPaletteChildComponent,
|
826
826
|
useExisting: AXColorPaletteSwatchesComponent,
|
@@ -837,7 +837,7 @@ class AXColorPaletteSwatchesComponent extends MXBaseComponent {
|
|
837
837
|
}
|
838
838
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
839
839
|
}
|
840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteSwatchesComponent, decorators: [{
|
841
841
|
type: Component,
|
842
842
|
args: [{
|
843
843
|
selector: 'ax-color-palette-swatches, ax-color-palette-favorite',
|
@@ -880,8 +880,8 @@ class AXColorPalleteComponent extends MXValueComponent {
|
|
880
880
|
get __hostDisabled() {
|
881
881
|
return this.disabled;
|
882
882
|
}
|
883
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
884
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalleteComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
884
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXColorPalleteComponent, isStandalone: true, selector: "ax-color-palette", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", value: "value", state: "state", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", readonlyChange: "readonlyChange", disabledChange: "disabledChange" }, host: { properties: { "class.ax-state-disabled": "this.__hostDisabled" } }, providers: [
|
885
885
|
{ provide: AXValuableComponent, useExisting: AXColorPalleteComponent },
|
886
886
|
{
|
887
887
|
provide: NG_VALUE_ACCESSOR,
|
@@ -894,7 +894,7 @@ class AXColorPalleteComponent extends MXValueComponent {
|
|
894
894
|
},
|
895
895
|
], queries: [{ propertyName: "_children", predicate: AXColorPaletteChildComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select='ax-header'></ng-content>\n\n@if(_children?.length){\n<ng-container [ngTemplateOutlet]=\"custom\"></ng-container>\n} @else{\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\n\n}\n<ng-template #custom>\n <ng-content select='ax-color-palette-preview'></ng-content>\n <ng-content select='ax-color-palette-picker'></ng-content>\n <ng-content select='ax-color-palette-swatches'></ng-content>\n <ng-content select='ax-color-palette-favorite'></ng-content>\n <ng-content select='ax-color-palette-input'></ng-content>\n</ng-template>\n<ng-template #default>\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-swatches></ax-color-palette-swatches>\n <ax-color-palette-input></ax-color-palette-input>\n</ng-template>\n<ng-content select='ax-footer'></ng-content>", styles: ["ax-color-palette{display:flex;width:100%;flex-direction:column;padding:.5rem;gap:.5rem}@media (min-width: 768px){ax-color-palette{width:20rem}}ax-color-palette.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-color-palette.ax-state-disabled ax-color-palette-swatches div:hover,ax-color-palette.ax-state-disabled ax-color-palette-swatches div.ax-state-selected,ax-color-palette.ax-state-disabled ax-color-palette-favorite div:hover,ax-color-palette.ax-state-disabled ax-color-palette-favorite div.ax-state-selected{cursor:not-allowed;opacity:.5}ax-color-palette ax-header,ax-color-palette ax-footer{display:flex}ax-color-palette ax-color-palette-preview{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=) left center;position:relative;height:6rem;width:100%;gap:.5rem}ax-color-palette ax-color-palette-preview .palette-preview-overlay{position:absolute;inset-inline-start:0px;display:flex;height:100%;width:100%;align-items:center;justify-content:center;border-bottom-width:1px;text-transform:uppercase}ax-color-palette ax-color-palette-favorite{display:block}ax-color-palette ax-color-palette-swatches,ax-color-palette ax-color-palette-favorite{display:grid;max-height:9rem;grid-template-columns:repeat(11,minmax(0,1fr));gap:.5rem;overflow-y:auto;overflow-x:hidden;padding:.5rem;scrollbar-width:thin}ax-color-palette ax-color-palette-swatches div,ax-color-palette ax-color-palette-favorite div{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface))}ax-color-palette ax-color-palette-swatches div:before,ax-color-palette ax-color-palette-swatches div:after,ax-color-palette ax-color-palette-favorite div:before,ax-color-palette ax-color-palette-favorite div:after{content:\"\"}ax-color-palette ax-color-palette-swatches div:before,ax-color-palette ax-color-palette-favorite div:before{float:left;padding-top:100%}ax-color-palette ax-color-palette-swatches div:after,ax-color-palette ax-color-palette-favorite div:after{clear:both;display:block}ax-color-palette ax-color-palette-swatches div:hover,ax-color-palette ax-color-palette-swatches div.ax-state-selected,ax-color-palette ax-color-palette-favorite div:hover,ax-color-palette ax-color-palette-favorite div.ax-state-selected{border-color:rgba(var(--ax-sys-color-border-lighter-surface));border-width:2px}ax-color-palette ax-color-palette-input{display:flex;gap:.5rem}ax-color-palette ax-color-palette-input .palette-inputs{display:flex;flex:1 1 0%;gap:.5rem}ax-color-palette ax-color-palette-input .palette-inputs .select-box-container{width:fit-content}ax-color-palette ax-color-palette-input .palette-inputs div{width:100%;text-align:center}ax-color-palette ax-color-palette-input .palette-inputs .ax-editor-container .ax-input{padding:0;text-align:center}ax-color-palette ax-color-palette-picker{display:flex;flex-direction:column;gap:.5rem}ax-color-palette ax-color-palette-picker .ax-color-box-overlay-trans{overflow:hidden;border-radius:.25rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=);touch-action:none}ax-color-palette ax-color-palette-picker .ax-color-box-overlay{position:relative;display:flex;height:8rem;width:100%}ax-color-palette ax-color-palette-picker .ax-color-box-overlay .ax-color-box-pointer{position:relative;z-index:10;height:1rem;width:1rem;border-radius:9999px;border-width:.25rem;background-color:transparent;box-shadow:#00000080 0 0 5px;border-color:rgba(var(--ax-sys-color-light))}ax-color-palette ax-color-palette-picker .ax-color-box-overlay .ax-color-box-overlay-g1,ax-color-palette ax-color-palette-picker .ax-color-box-overlay .ax-color-box-overlay-g2{position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;height:100%;width:100%}ax-color-palette ax-color-palette-picker .ax-color-box-overlay .ax-color-box-overlay-g1{background:linear-gradient(to right,#fff,#fff0);z-index:0}ax-color-palette ax-color-palette-picker .ax-color-box-overlay .ax-color-box-overlay-g2{z-index:10;background:linear-gradient(to bottom,transparent 0%,#000 100%)}ax-color-palette ax-color-palette-picker .ax-pickers-container{gap:1rem;display:flex}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container{width:100%;gap:.5rem;display:flex;flex-direction:column}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider{--ax-comp-range-slider-ring-size: 0;--ax-comp-range-slider-bar-height: 1rem;--ax-comp-range-slider-handler-size: 1rem;--ax-comp-range-slider-ring-color: var(--ax-sys-color-border-surface);padding:0}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider .ax-range-slider-handler{border-width:.25rem;border-color:rgba(var(--ax-sys-color-light));box-shadow:#00000080 0 0 5px}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider .ax-range-slider-handler:hover{box-shadow:#00000080 0 0 7px}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider.ax-color-box-gradient .ax-range-slider-bar{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider.ax-color-box-gradient .ax-range-slider-highlight{background:transparent!important}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider.ax-color-box-transparent .ax-range-slider-bar{background-image:linear-gradient(to right,rgba(255,255,255,0),var(--ax-comp-color-palette-transparent-color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=)}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-slider-container ax-range-slider.ax-color-box-transparent .ax-range-slider-highlight{background:transparent!important}ax-color-palette ax-color-palette-picker .ax-pickers-container .ax-color-sample{width:var(--ax-comp-color-palette-color-sample-width, 3.5rem);border-radius:.25rem}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { kind: "component", type: AXColorPalettePickerComponent, selector: "ax-color-palette-picker" }, { kind: "component", type: AXColorPaletteSwatchesComponent, selector: "ax-color-palette-swatches, ax-color-palette-favorite", inputs: ["colors"] }, { kind: "component", type: AXColorPaletteInputComponent, selector: "ax-color-palette-input" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
896
896
|
}
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPalleteComponent, decorators: [{
|
898
898
|
type: Component,
|
899
899
|
args: [{ selector: 'ax-color-palette', inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'state', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'stateChange', 'onValueChanged', 'readonlyChange', 'disabledChange'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
900
900
|
{ provide: AXValuableComponent, useExisting: AXColorPalleteComponent },
|
@@ -936,8 +936,8 @@ const CONPONENTS = [
|
|
936
936
|
AXColorPalettePickerComponent,
|
937
937
|
];
|
938
938
|
class AXColorPaletteModule {
|
939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
940
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
939
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
940
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteModule, imports: [CommonModule, FormsModule,
|
941
941
|
AXTextBoxModule,
|
942
942
|
AXLabelModule,
|
943
943
|
AXButtonModule,
|
@@ -955,11 +955,11 @@ class AXColorPaletteModule {
|
|
955
955
|
AXColorPaletteSwatchesComponent,
|
956
956
|
AXColorPaletteInputComponent,
|
957
957
|
AXColorPalettePickerComponent] }); }
|
958
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
958
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteModule, imports: [CommonModule, MODULES, AXColorPalleteComponent,
|
959
959
|
AXColorPaletteInputComponent,
|
960
960
|
AXColorPalettePickerComponent] }); }
|
961
961
|
}
|
962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXColorPaletteModule, decorators: [{
|
963
963
|
type: NgModule,
|
964
964
|
args: [{
|
965
965
|
imports: [CommonModule, ...MODULES, ...CONPONENTS],
|