@acorex/components 7.3.1 → 7.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/lib/button-group.component.d.ts +6 -6
- package/button/lib/button-item.component.d.ts +6 -6
- package/color-picker/lib/color-picker.component.d.ts +16 -16
- package/common/index.d.ts +1 -2
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +4 -4
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +3 -3
- package/esm2022/alert/lib/alert.component.mjs +3 -3
- package/esm2022/alert/lib/alert.module.mjs +4 -4
- package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.module.mjs +4 -4
- package/esm2022/badge/lib/badge.component.mjs +3 -3
- package/esm2022/badge/lib/badge.module.mjs +4 -4
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
- package/esm2022/button/lib/button-group.component.mjs +3 -3
- package/esm2022/button/lib/button-item.component.mjs +3 -3
- package/esm2022/button/lib/button.component.mjs +8 -7
- package/esm2022/button/lib/button.module.mjs +4 -4
- package/esm2022/calendar/lib/calendar-range.component.mjs +3 -3
- package/esm2022/calendar/lib/calendar.class.mjs +3 -3
- package/esm2022/calendar/lib/calendar.component.mjs +3 -3
- package/esm2022/calendar/lib/calendar.module.mjs +4 -4
- package/esm2022/check-box/lib/check-box.component.mjs +3 -3
- package/esm2022/check-box/lib/check-box.module.mjs +4 -4
- package/esm2022/chips/lib/chips.component.mjs +3 -3
- package/esm2022/chips/lib/chips.module.mjs +4 -4
- package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.module.mjs +4 -4
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
- package/esm2022/color-palette/lib/color-palette.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
- package/esm2022/color-picker/lib/color-picker.component.mjs +6 -6
- package/esm2022/color-picker/lib/color-picker.module.mjs +4 -4
- package/esm2022/common/index.mjs +2 -3
- package/esm2022/common/lib/classes/components.class.mjs +21 -21
- package/esm2022/common/lib/common.module.mjs +4 -4
- package/esm2022/common/lib/components/base-component.class.mjs +3 -3
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +3 -3
- package/esm2022/common/lib/components/value-component.class.mjs +3 -3
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +3 -3
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +3 -3
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
- package/esm2022/common/lib/services/dom.service.mjs +3 -3
- package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
- package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
- package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +6 -6
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager.module.mjs +4 -4
- package/esm2022/data-table/lib/data-column.directive.mjs +3 -3
- package/esm2022/data-table/lib/data-table.component.mjs +3 -3
- package/esm2022/data-table/lib/data-table.module.mjs +4 -4
- package/esm2022/date-picker/lib/datepicker.component.mjs +5 -5
- package/esm2022/date-picker/lib/datepicker.module.mjs +4 -4
- package/esm2022/decorators/lib/clear-button.component.mjs +3 -3
- package/esm2022/decorators/lib/close-button.component.mjs +3 -3
- package/esm2022/decorators/lib/decorators.module.mjs +4 -4
- package/esm2022/decorators/lib/generic-content.component.mjs +3 -3
- package/esm2022/decorators/lib/icon.component.mjs +3 -3
- package/esm2022/dialog/lib/dialog.component.mjs +3 -3
- package/esm2022/dialog/lib/dialog.module.mjs +4 -4
- package/esm2022/dialog/lib/dialog.service.mjs +3 -3
- package/esm2022/drawer/lib/drawer-container.component.mjs +3 -3
- package/esm2022/drawer/lib/drawer.component.mjs +3 -3
- package/esm2022/drawer/lib/drawer.module.mjs +4 -4
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +5 -5
- package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
- package/esm2022/form/lib/form-field.component.mjs +3 -3
- package/esm2022/form/lib/form.component.mjs +3 -3
- package/esm2022/form/lib/form.module.mjs +4 -4
- package/esm2022/form/lib/validation-rule.widget.mjs +3 -3
- package/esm2022/form/lib/validation-summary.component.mjs +3 -3
- package/esm2022/image/lib/image.component.mjs +3 -3
- package/esm2022/image/lib/image.module.mjs +4 -4
- package/esm2022/label/lib/label.component.mjs +3 -3
- package/esm2022/label/lib/label.module.mjs +4 -4
- package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
- package/esm2022/loading/lib/loading.component.mjs +6 -6
- package/esm2022/loading/lib/loading.directive.mjs +20 -51
- package/esm2022/loading/lib/loading.module.mjs +6 -6
- package/esm2022/loading/lib/loading.service.mjs +36 -28
- package/esm2022/menu/lib/menu.component.mjs +3 -3
- package/esm2022/menu/lib/menu.module.mjs +4 -4
- package/esm2022/mixin/index.mjs +1 -2
- package/esm2022/mixin/lib/base-components.class.mjs +3 -3
- package/esm2022/notification/lib/notification.component.mjs +3 -3
- package/esm2022/notification/lib/notification.module.mjs +4 -4
- package/esm2022/notification/lib/notification.service.mjs +3 -3
- package/esm2022/number-box/lib/number-box.component.mjs +3 -3
- package/esm2022/number-box/lib/number-box.module.mjs +4 -4
- package/esm2022/otp/lib/otp.component.mjs +3 -3
- package/esm2022/otp/lib/otp.module.mjs +4 -4
- package/esm2022/page/lib/base-page.class.mjs +20 -21
- package/esm2022/page/lib/page.component.mjs +13 -13
- package/esm2022/page/lib/page.module.mjs +4 -4
- package/esm2022/password-box/lib/password-box.component.mjs +3 -3
- package/esm2022/password-box/lib/password-box.module.mjs +4 -4
- package/esm2022/popover/lib/dropdown-component.class.mjs +3 -3
- package/esm2022/popover/lib/popover.component.mjs +62 -23
- package/esm2022/popover/lib/popover.module.mjs +4 -4
- package/esm2022/popup/lib/popup.component.mjs +8 -8
- package/esm2022/popup/lib/popup.module.mjs +6 -6
- package/esm2022/popup/lib/popup.service.mjs +3 -3
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +9 -13
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
- package/esm2022/radio/lib/radio.component.mjs +3 -3
- package/esm2022/radio/lib/radio.module.mjs +4 -4
- package/esm2022/range-slider/lib/range-slider.component.mjs +3 -3
- package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
- package/esm2022/result/lib/result.component.mjs +3 -3
- package/esm2022/result/lib/result.module.mjs +4 -4
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +3 -3
- package/esm2022/scheduler/lib/scheduler.component.mjs +3 -3
- package/esm2022/scheduler/lib/scheduler.module.mjs +4 -4
- package/esm2022/search-box/lib/search-box.component.mjs +3 -3
- package/esm2022/search-box/lib/search-box.module.mjs +4 -4
- package/esm2022/select-box/lib/select-box.component.mjs +6 -6
- package/esm2022/select-box/lib/select-box.module.mjs +4 -4
- package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
- package/esm2022/selection-list/lib/selection-list.module.mjs +4 -4
- package/esm2022/switch/lib/switch-content.component.mjs +3 -3
- package/esm2022/switch/lib/switch.component.mjs +3 -3
- package/esm2022/switch/lib/switch.module.mjs +4 -4
- package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
- package/esm2022/tabs/lib/tabs.component.mjs +3 -3
- package/esm2022/tabs/lib/tabs.module.mjs +4 -4
- package/esm2022/tag/lib/tag.component.mjs +3 -3
- package/esm2022/tag/lib/tag.module.mjs +4 -4
- package/esm2022/text-area/lib/text-area.component.mjs +3 -3
- package/esm2022/text-area/lib/text-area.module.mjs +4 -4
- package/esm2022/text-box/lib/mask-options.directive.mjs +3 -3
- package/esm2022/text-box/lib/text-box.component.mjs +3 -3
- package/esm2022/text-box/lib/text-box.module.mjs +4 -4
- package/esm2022/time-box/lib/time-box.component.mjs +3 -3
- package/esm2022/time-box/lib/time-box.module.mjs +4 -4
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/esm2022/toast/lib/toast.config.mjs +9 -3
- package/esm2022/toast/lib/toast.module.mjs +10 -6
- package/esm2022/toast/lib/toast.service.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
- package/esm2022/uploader/lib/uploader.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader.module.mjs +4 -4
- package/fesm2022/acorex-components-action-sheet.mjs +10 -10
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button.mjs +17 -16
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- 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-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-palette.mjs +25 -25
- package/fesm2022/acorex-components-color-picker.mjs +9 -9
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +58 -208
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +7 -7
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-table.mjs +10 -10
- package/fesm2022/acorex-components-date-picker.mjs +8 -8
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +16 -16
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-drawer.mjs +10 -10
- package/fesm2022/acorex-components-dropdown.mjs +8 -8
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-loading.mjs +93 -116
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +7 -7
- package/fesm2022/acorex-components-mixin.mjs +4 -22
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- 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 +55 -56
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +7 -7
- package/fesm2022/acorex-components-popover.mjs +68 -29
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +15 -15
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +12 -16
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-scheduler.mjs +10 -10
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +9 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- 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-box.mjs +7 -7
- package/fesm2022/acorex-components-toast.mjs +23 -13
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-uploader.mjs +7 -7
- package/loading/lib/loading.directive.d.ts +10 -17
- package/loading/lib/loading.module.d.ts +1 -1
- package/loading/lib/loading.service.d.ts +10 -15
- package/mixin/index.d.ts +0 -1
- package/mixin/lib/base-components.class.d.ts +2 -2
- package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
- package/mixin/lib/button-mixin.class.d.ts +2 -2
- package/mixin/lib/clickable-mixin.class.d.ts +2 -2
- package/mixin/lib/color-look-mixing.class.d.ts +2 -2
- package/mixin/lib/datalist-component.class.d.ts +10 -10
- package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
- package/mixin/lib/interactive-mixin.class.d.ts +4 -4
- package/mixin/lib/mixin.class.d.ts +61 -61
- package/mixin/lib/page-component.class.d.ts +2 -2
- package/mixin/lib/selection-component.class.d.ts +2 -2
- package/mixin/lib/sizable-mixin.class.d.ts +2 -2
- package/mixin/lib/textbox-mixin.class.d.ts +2 -2
- package/mixin/lib/value-mixin.class.d.ts +8 -8
- package/package.json +16 -19
- package/page/lib/base-page.class.d.ts +6 -10
- package/page/lib/page.component.d.ts +4 -4
- package/popover/lib/popover.component.d.ts +13 -5
- package/progress-bar/lib/progress-bar.component.d.ts +3 -8
- package/tabs/lib/tab-item.component.d.ts +2 -2
- package/common/lib/services/custom-cdk-overlay.service.d.ts +0 -19
- package/common/lib/services/overlay.service.d.ts +0 -34
- package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +0 -49
- package/esm2022/common/lib/services/overlay.service.mjs +0 -113
- package/esm2022/mixin/lib/loading-mixin.class.mjs +0 -18
- package/mixin/lib/loading-mixin.class.d.ts +0 -40
@@ -12,10 +12,10 @@ class AXTooltipComponent extends AXBaseComponentMixin {
|
|
12
12
|
super(elementRef, cdr);
|
13
13
|
this.text = '';
|
14
14
|
}
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.8", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div>\n</div>\n", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
17
17
|
}
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipComponent, decorators: [{
|
19
19
|
type: Component,
|
20
20
|
args: [{ selector: 'ax-tooltip', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div>\n</div>\n", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"] }]
|
21
21
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
@@ -155,10 +155,10 @@ class AXTooltipDirective {
|
|
155
155
|
this.overlayRef.detach();
|
156
156
|
this.cdr.markForCheck();
|
157
157
|
}
|
158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
159
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1.Overlay }, { token: i1.OverlayPositionBuilder }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
159
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.8", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPosition", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, ngImport: i0 }); }
|
160
160
|
}
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
162
162
|
type: Directive,
|
163
163
|
args: [{ selector: '[axTooltip]' }]
|
164
164
|
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i1.OverlayPositionBuilder }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
@@ -178,11 +178,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
178
178
|
const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
179
179
|
const MODULES = [CommonModule, OverlayModule];
|
180
180
|
class AXTooltipModule {
|
181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
182
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
183
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
182
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] }); }
|
183
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipModule, imports: [MODULES] }); }
|
184
184
|
}
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXTooltipModule, decorators: [{
|
186
186
|
type: NgModule,
|
187
187
|
args: [{
|
188
188
|
declarations: [...COMPONENT],
|
@@ -73,10 +73,10 @@ class AXUploaderComponent extends AXBaseComponentMixin {
|
|
73
73
|
get __defaultClass() {
|
74
74
|
return !this._placeholder?.nativeElement.childNodes.length;
|
75
75
|
}
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
77
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component }); }
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.8", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div #contentRef><ng-content></ng-content></div>\n</ng-container>\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\n browse</span></div>\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
78
78
|
}
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderComponent, decorators: [{
|
80
80
|
type: Component,
|
81
81
|
args: [{ selector: 'ax-uploader', encapsulation: ViewEncapsulation.None, template: "<ng-container>\n <div #contentRef><ng-content></ng-content></div>\n</ng-container>\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\n browse</span></div>\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"] }]
|
82
82
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXFileService }]; }, propDecorators: { onValueChanged: [{
|
@@ -100,11 +100,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
100
100
|
}] } });
|
101
101
|
|
102
102
|
class AXUploaderModule {
|
103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
104
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
105
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
104
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] }); }
|
105
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] }); }
|
106
106
|
}
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.8", ngImport: i0, type: AXUploaderModule, decorators: [{
|
108
108
|
type: NgModule,
|
109
109
|
args: [{
|
110
110
|
declarations: [AXUploaderComponent],
|
@@ -1,22 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { AXLoadingService } from './loading.service';
|
2
3
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXLoadingDirective
|
4
|
+
export declare class AXLoadingDirective {
|
4
5
|
protected readonly elementRef: ElementRef;
|
5
|
-
protected readonly
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
isLoading: boolean;
|
10
|
-
|
11
|
-
|
12
|
-
protected hostElement: HTMLDivElement;
|
13
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver);
|
14
|
-
ngOnChanges(changes: any): void;
|
15
|
-
private addLoadingIndicator;
|
16
|
-
private removeLoadingIndicator;
|
17
|
-
private init;
|
18
|
-
private initSpinnerComponent;
|
19
|
-
private initOverlayElement;
|
6
|
+
protected readonly loadingService: AXLoadingService;
|
7
|
+
private _hostElement;
|
8
|
+
private _loadingRef;
|
9
|
+
private _isLoading;
|
10
|
+
get isLoading(): boolean;
|
11
|
+
set isLoading(v: boolean);
|
12
|
+
constructor(elementRef: ElementRef, loadingService: AXLoadingService);
|
20
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDirective, never>;
|
21
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXLoadingDirective, "[axIsLoading]", never, { "isLoading": { "alias": "axIsLoading"; "required": false; }; }, {}, never, never, false, never>;
|
22
15
|
}
|
@@ -7,6 +7,6 @@ import * as i5 from "@angular/cdk/overlay";
|
|
7
7
|
import * as i6 from "@angular/cdk/portal";
|
8
8
|
export declare class AXLoadingModule {
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.PortalModule], [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent, typeof i3.AXLoadingSpinnerComponent], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.PortalModule], [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent, typeof i3.AXLoadingSpinnerComponent]>;
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingModule>;
|
12
12
|
}
|
@@ -1,22 +1,17 @@
|
|
1
|
-
import {
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import { AXOverlayService } from '@acorex/components/common';
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
4
2
|
import * as i0 from "@angular/core";
|
5
3
|
type LoadingContext = object;
|
6
4
|
type LoaderId = string | number;
|
7
5
|
export declare class AXLoadingService {
|
8
|
-
protected
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
constructor(zoneRef: NgZone, overlayService: AXOverlayService);
|
13
|
-
private _stack;
|
14
|
-
show(options?: {
|
6
|
+
protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
|
7
|
+
protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
|
8
|
+
private dialog;
|
9
|
+
show(config?: {
|
15
10
|
location?: Element;
|
16
11
|
type?: string;
|
17
|
-
context?:
|
12
|
+
context?: unknown;
|
18
13
|
}): number;
|
19
|
-
hide(id:
|
14
|
+
hide(id: number): void;
|
20
15
|
doLoading<V>(source$: Observable<V>, context: LoadingContext, loaderId?: LoaderId): Observable<V>;
|
21
16
|
isLoading(context: LoadingContext, loaderId?: LoaderId): boolean;
|
22
17
|
isLoading$(context: LoadingContext, loaderId?: LoaderId | any): Observable<boolean>;
|
@@ -24,9 +19,9 @@ export declare class AXLoadingService {
|
|
24
19
|
endLoading(context: LoadingContext, loaderId?: LoaderId): void;
|
25
20
|
clearLoadings(): void;
|
26
21
|
protected setLoadingState(context: LoadingContext, state: boolean, loaderId: LoaderId): void;
|
27
|
-
protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId):
|
28
|
-
protected hasContextLoadingState(context: LoadingContext):
|
29
|
-
protected hasLoaderLoadingState(context: LoadingContext, loaderId: LoaderId):
|
22
|
+
protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId): boolean;
|
23
|
+
protected hasContextLoadingState(context: LoadingContext): boolean;
|
24
|
+
protected hasLoaderLoadingState(context: LoadingContext, loaderId: LoaderId): boolean;
|
30
25
|
protected getLoaderId(loaderId?: LoaderId): LoaderId;
|
31
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingService, never>;
|
32
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingService>;
|
package/mixin/index.d.ts
CHANGED
@@ -8,7 +8,6 @@ export * from './lib/datalist-component.class';
|
|
8
8
|
export * from './lib/datalist.class';
|
9
9
|
export * from './lib/dropdown-mixin.class';
|
10
10
|
export * from './lib/interactive-mixin.class';
|
11
|
-
export * from './lib/loading-mixin.class';
|
12
11
|
export * from './lib/mixin.class';
|
13
12
|
export * from './lib/page-component.class';
|
14
13
|
export * from './lib/selection-component.class';
|
@@ -57,9 +57,9 @@ export declare function _BaseComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
57
57
|
/**
|
58
58
|
* A token that specifies the layout direction of component.
|
59
59
|
*/
|
60
|
-
"__#
|
60
|
+
"__#4802@#rtl": boolean;
|
61
61
|
rtl: boolean;
|
62
|
-
"__#
|
62
|
+
"__#4802@#elementRef": ElementRef<any>;
|
63
63
|
_cdr: ChangeDetectorRef;
|
64
64
|
_isInited: boolean;
|
65
65
|
_isRendered: boolean;
|
@@ -6,8 +6,8 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
6
6
|
new (...args: any[]): {
|
7
7
|
textField: string;
|
8
8
|
valueField: string;
|
9
|
-
"__#
|
10
|
-
"__#
|
9
|
+
"__#4803@#isLoading": boolean;
|
10
|
+
"__#4803@#loadedItems": any;
|
11
11
|
visibleField: string;
|
12
12
|
disableField: string;
|
13
13
|
hasChildField: string;
|
@@ -16,7 +16,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
16
16
|
displayMode: 'horizontal' | 'vertical' | 'sidemenu';
|
17
17
|
dividerField: string;
|
18
18
|
onMenuItemClick: EventEmitter<AXItemClickEvent<any>>;
|
19
|
-
"__#
|
19
|
+
"__#4803@#items": any;
|
20
20
|
items: any;
|
21
21
|
readonly displayItems: any;
|
22
22
|
readonly isLoading: boolean;
|
@@ -27,9 +27,9 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
27
27
|
_getItemDisplayTextTemplte(item: any): any;
|
28
28
|
refresh(): void;
|
29
29
|
id: string;
|
30
|
-
"__#
|
30
|
+
"__#4802@#rtl": boolean;
|
31
31
|
rtl: boolean;
|
32
|
-
"__#
|
32
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
33
33
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
34
34
|
_isInited: boolean;
|
35
35
|
_isRendered: boolean;
|
@@ -26,9 +26,9 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
26
26
|
'ax-state-selected': boolean;
|
27
27
|
};
|
28
28
|
id: string;
|
29
|
-
"__#
|
29
|
+
"__#4802@#rtl": boolean;
|
30
30
|
rtl: boolean;
|
31
|
-
"__#
|
31
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
32
32
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
33
33
|
_isInited: boolean;
|
34
34
|
_isRendered: boolean;
|
@@ -11,9 +11,9 @@ export declare function _ClickableComponenetMixin<TBase extends Constructor<AXBa
|
|
11
11
|
onClick: EventEmitter<AXClickEvent>;
|
12
12
|
_emitOnClickEvent(e: MouseEvent): void;
|
13
13
|
id: string;
|
14
|
-
"__#
|
14
|
+
"__#4802@#rtl": boolean;
|
15
15
|
rtl: boolean;
|
16
|
-
"__#
|
16
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
17
17
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
18
18
|
_isInited: boolean;
|
19
19
|
_isRendered: boolean;
|
@@ -17,9 +17,9 @@ export declare function _ColorLookComponentMixin<TBase extends Constructor<AXBas
|
|
17
17
|
*/
|
18
18
|
look: AXStyleLookType;
|
19
19
|
id: string;
|
20
|
-
"__#
|
20
|
+
"__#4802@#rtl": boolean;
|
21
21
|
rtl: boolean;
|
22
|
-
"__#
|
22
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
23
23
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
24
24
|
_isInited: boolean;
|
25
25
|
_isRendered: boolean;
|
@@ -7,16 +7,16 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
7
7
|
textField: string;
|
8
8
|
childrenField: string;
|
9
9
|
pageSize: number;
|
10
|
-
"__#
|
11
|
-
"__#
|
12
|
-
"__#
|
13
|
-
"__#
|
14
|
-
"__#
|
15
|
-
"__#
|
10
|
+
"__#4804@#currentPage": number;
|
11
|
+
"__#4804@#isLoading": boolean;
|
12
|
+
"__#4804@#loadedItems": any[];
|
13
|
+
"__#4804@#flatItems": any[];
|
14
|
+
"__#4804@#totalItems": number;
|
15
|
+
"__#4804@#isLazy": boolean;
|
16
16
|
readonly totalCount: number;
|
17
17
|
readonly isLazy: boolean;
|
18
18
|
readonly loadedCount: number;
|
19
|
-
"__#
|
19
|
+
"__#4804@#items": AXDataListItems;
|
20
20
|
items: AXDataListItems;
|
21
21
|
readonly displayItems: any[];
|
22
22
|
readonly flatItems: any[];
|
@@ -26,15 +26,15 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
26
26
|
searchQuery?: string;
|
27
27
|
}): void;
|
28
28
|
_onDataLoaded(): void;
|
29
|
-
"__#
|
29
|
+
"__#4804@#generateFlatItems"(): void;
|
30
30
|
_getItemDisplayTextTemplte(item: any): any;
|
31
31
|
_trackByFunction(item: any): any;
|
32
32
|
refresh(): void;
|
33
33
|
empty(): void;
|
34
34
|
id: string;
|
35
|
-
"__#
|
35
|
+
"__#4802@#rtl": boolean;
|
36
36
|
rtl: boolean;
|
37
|
-
"__#
|
37
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
38
38
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
39
39
|
_isInited: boolean;
|
40
40
|
_isRendered: boolean;
|
@@ -23,9 +23,9 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
|
|
23
23
|
open(): void;
|
24
24
|
readonly isOpen: boolean;
|
25
25
|
id: string;
|
26
|
-
"__#
|
26
|
+
"__#4802@#rtl": boolean;
|
27
27
|
rtl: boolean;
|
28
|
-
"__#
|
28
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
29
29
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
30
30
|
_isInited: boolean;
|
31
31
|
_isRendered: boolean;
|
@@ -3,12 +3,12 @@ import { AXBaseComponent } from "./base-components.class";
|
|
3
3
|
import { Constructor } from "./constratctor";
|
4
4
|
import { AXFocusEvent } from "@acorex/components/common";
|
5
5
|
export declare function _InteractiveComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): (abstract new (...args: any[]) => {
|
6
|
-
"__#
|
6
|
+
"__#4805@#disabled": boolean;
|
7
7
|
/**
|
8
8
|
* If set to true, it disables the component.
|
9
9
|
*/
|
10
10
|
disabled: boolean;
|
11
|
-
"__#
|
11
|
+
"__#4805@#tabIndex": number;
|
12
12
|
/**
|
13
13
|
* Specifies the tabindex of the component.
|
14
14
|
*/
|
@@ -34,9 +34,9 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
34
34
|
*/
|
35
35
|
hasFocus(): boolean;
|
36
36
|
id: string;
|
37
|
-
"__#
|
37
|
+
"__#4802@#rtl": boolean;
|
38
38
|
rtl: boolean;
|
39
|
-
"__#
|
39
|
+
"__#4802@#elementRef": import("@angular/core").ElementRef<any>;
|
40
40
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
41
41
|
_isInited: boolean;
|
42
42
|
_isRendered: boolean;
|