@acorex/components 5.0.10 → 5.0.16
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/{esm2015/acorex-components.js → esm2020/acorex-components.mjs} +0 -0
- package/{esm2015/lib/alert/alert-button.component.js → esm2020/lib/alert/alert-button.component.mjs} +3 -3
- package/{esm2015/lib/alert/alert-contnet.component.js → esm2020/lib/alert/alert-contnet.component.mjs} +3 -3
- package/{esm2015/lib/alert/alert-footer.component.js → esm2020/lib/alert/alert-footer.component.mjs} +3 -3
- package/{esm2015/lib/alert/alert-suffix.component.js → esm2020/lib/alert/alert-suffix.component.mjs} +3 -3
- package/{esm2015/lib/alert/alert-title.component.js → esm2020/lib/alert/alert-title.component.mjs} +3 -3
- package/esm2020/lib/alert/alert.component.mjs +124 -0
- package/{esm2015/lib/alert/alert.module.js → esm2020/lib/alert/alert.module.mjs} +4 -4
- package/{esm2015/lib/alert/index.js → esm2020/lib/alert/index.mjs} +0 -0
- package/{esm2015/lib/avatar/avatar.component.js → esm2020/lib/avatar/avatar.component.mjs} +5 -12
- package/{esm2015/lib/avatar/avatar.module.js → esm2020/lib/avatar/avatar.module.mjs} +4 -4
- package/{esm2015/lib/avatar/index.js → esm2020/lib/avatar/index.mjs} +0 -0
- package/{esm2015/lib/badge/badge.component.js → esm2020/lib/badge/badge.component.mjs} +5 -11
- package/{esm2015/lib/badge/badge.module.js → esm2020/lib/badge/badge.module.mjs} +4 -4
- package/{esm2015/lib/badge/index.js → esm2020/lib/badge/index.mjs} +0 -0
- package/{esm2015/lib/base/common.module.js → esm2020/lib/base/common.module.mjs} +4 -4
- package/{esm2015/lib/base/custom-cdk-overlay.service.js → esm2020/lib/base/custom-cdk-overlay.service.mjs} +6 -6
- package/{esm2015/lib/base/drawing.class.js → esm2020/lib/base/drawing.class.mjs} +0 -0
- package/{esm2015/lib/base/events.class.js → esm2020/lib/base/events.class.mjs} +0 -0
- package/{esm2015/lib/base/index.js → esm2020/lib/base/index.mjs} +0 -0
- package/esm2020/lib/base/mixin/base-components.class.mjs +102 -0
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +116 -0
- package/esm2020/lib/base/mixin/clickable-mixin.class.mjs +24 -0
- package/{esm2015/lib/base/mixin/constratctor.js → esm2020/lib/base/mixin/constratctor.mjs} +0 -0
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +96 -0
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +89 -0
- package/{esm2015/lib/base/mixin/index.js → esm2020/lib/base/mixin/index.mjs} +0 -0
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +77 -0
- package/{esm2015/lib/base/mixin/loading-mixin.class.js → esm2020/lib/base/mixin/loading-mixin.class.mjs} +0 -0
- package/{esm2015/lib/base/mixin/mixin.class.js → esm2020/lib/base/mixin/mixin.class.mjs} +2 -2
- package/{esm2015/lib/base/mixin/selection-component.class.js → esm2020/lib/base/mixin/selection-component.class.mjs} +0 -0
- package/{esm2015/lib/base/mixin/sizable-mixin.class.js → esm2020/lib/base/mixin/sizable-mixin.class.mjs} +0 -0
- package/{esm2015/lib/base/mixin/textbox-mixin.class.js → esm2020/lib/base/mixin/textbox-mixin.class.mjs} +0 -0
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +196 -0
- package/{esm2015/lib/base/overlay.service.js → esm2020/lib/base/overlay.service.mjs} +3 -3
- package/{esm2015/lib/base/responsive.directive.js → esm2020/lib/base/responsive.directive.mjs} +3 -3
- package/{esm2015/lib/base/styles.class.js → esm2020/lib/base/styles.class.mjs} +0 -0
- package/{esm2015/lib/button/button-group.component.js → esm2020/lib/button/button-group.component.mjs} +8 -15
- package/{esm2015/lib/button/button-item.class.js → esm2020/lib/button/button-item.class.mjs} +0 -0
- package/{esm2015/lib/button/button-item.component.js → esm2020/lib/button/button-item.component.mjs} +3 -3
- package/esm2020/lib/button/button.component.mjs +65 -0
- package/{esm2015/lib/button/button.module.js → esm2020/lib/button/button.module.mjs} +4 -4
- package/{esm2015/lib/button/index.js → esm2020/lib/button/index.mjs} +0 -0
- package/esm2020/lib/calendar/calendar.class.mjs +97 -0
- package/esm2020/lib/calendar/calendar.component.mjs +230 -0
- package/{esm2015/lib/calendar/calendar.module.js → esm2020/lib/calendar/calendar.module.mjs} +4 -4
- package/{esm2015/lib/calendar/index.js → esm2020/lib/calendar/index.mjs} +0 -0
- package/{esm2015/lib/carousel/carousel-arrows.component.js → esm2020/lib/carousel/carousel-arrows.component.mjs} +3 -3
- package/{esm2015/lib/carousel/carousel-item.component.js → esm2020/lib/carousel/carousel-item.component.mjs} +3 -3
- package/{esm2015/lib/carousel/carousel-pager.component.js → esm2020/lib/carousel/carousel-pager.component.mjs} +3 -3
- package/{esm2015/lib/carousel/carousel-splidejs.class.js → esm2020/lib/carousel/carousel-splidejs.class.mjs} +0 -0
- package/{esm2015/lib/carousel/carousel.class.js → esm2020/lib/carousel/carousel.class.mjs} +3 -3
- package/{esm2015/lib/carousel/carousel.component.js → esm2020/lib/carousel/carousel.component.mjs} +7 -15
- package/{esm2015/lib/carousel/carousel.module.js → esm2020/lib/carousel/carousel.module.mjs} +4 -4
- package/{esm2015/lib/carousel/index.js → esm2020/lib/carousel/index.mjs} +0 -0
- package/esm2020/lib/checkbox/checkbox.component.mjs +51 -0
- package/{esm2015/lib/checkbox/checkbox.module.js → esm2020/lib/checkbox/checkbox.module.mjs} +4 -4
- package/{esm2015/lib/checkbox/index.js → esm2020/lib/checkbox/index.mjs} +0 -0
- package/esm2020/lib/datalist/datalist.component.mjs +73 -0
- package/{esm2015/lib/datalist/datalist.module.js → esm2020/lib/datalist/datalist.module.mjs} +4 -4
- package/{esm2015/lib/datalist/index.js → esm2020/lib/datalist/index.mjs} +0 -0
- package/esm2020/lib/datepicker/datepicker.component.mjs +125 -0
- package/esm2020/lib/datepicker/datepicker.module.mjs +47 -0
- package/{esm2015/lib/datepicker/index.js → esm2020/lib/datepicker/index.mjs} +0 -0
- package/{esm2015/lib/decorators/content.component.js → esm2020/lib/decorators/content.component.mjs} +3 -3
- package/{esm2015/lib/decorators/decorators.module.js → esm2020/lib/decorators/decorators.module.mjs} +4 -4
- package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
- package/{esm2015/lib/decorators/prefix.component.js → esm2020/lib/decorators/prefix.component.mjs} +3 -3
- package/{esm2015/lib/decorators/suffix.component.js → esm2020/lib/decorators/suffix.component.mjs} +3 -3
- package/{esm2015/lib/dialog/dialog.class.js → esm2020/lib/dialog/dialog.class.mjs} +0 -0
- package/{esm2015/lib/dialog/dialog.component.js → esm2020/lib/dialog/dialog.component.mjs} +5 -10
- package/{esm2015/lib/dialog/dialog.module.js → esm2020/lib/dialog/dialog.module.mjs} +4 -4
- package/esm2020/lib/dialog/dialog.service.mjs +145 -0
- package/{esm2015/lib/dialog/index.js → esm2020/lib/dialog/index.mjs} +0 -0
- package/{esm2015/lib/drawer/drawer-container.component.js → esm2020/lib/drawer/drawer-container.component.mjs} +3 -3
- package/{esm2015/lib/drawer/drawer-content.component.js → esm2020/lib/drawer/drawer-content.component.mjs} +3 -3
- package/{esm2015/lib/drawer/drawer.component.js → esm2020/lib/drawer/drawer.component.mjs} +3 -3
- package/{esm2015/lib/drawer/drawer.module.js → esm2020/lib/drawer/drawer.module.mjs} +4 -4
- package/{esm2015/lib/drawer/index.js → esm2020/lib/drawer/index.mjs} +0 -0
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +80 -0
- package/esm2020/lib/dropdown/dropdown.component.mjs +28 -0
- package/{esm2015/lib/dropdown/dropdown.module.js → esm2020/lib/dropdown/dropdown.module.mjs} +4 -4
- package/{esm2015/lib/dropdown/index.js → esm2020/lib/dropdown/index.mjs} +0 -0
- package/{esm2015/lib/form/form-field.component.js → esm2020/lib/form/form-field.component.mjs} +3 -3
- package/{esm2015/lib/form/form-field.module.js → esm2020/lib/form/form-field.module.mjs} +4 -4
- package/{esm2015/lib/form/form-hint.component.js → esm2020/lib/form/form-hint.component.mjs} +5 -5
- package/{esm2015/lib/form/form.component.js → esm2020/lib/form/form.component.mjs} +3 -3
- package/{esm2015/lib/form/index.js → esm2020/lib/form/index.mjs} +0 -0
- package/{esm2015/lib/icon/icon.component.js → esm2020/lib/icon/icon.component.mjs} +3 -3
- package/{esm2015/lib/icon/icon.module.js → esm2020/lib/icon/icon.module.mjs} +4 -4
- package/{esm2015/lib/icon/index.js → esm2020/lib/icon/index.mjs} +0 -0
- package/{esm2015/lib/input-mask/index.js → esm2020/lib/input-mask/index.mjs} +0 -0
- package/{esm2015/lib/input-mask/input-mask.component.js → esm2020/lib/input-mask/input-mask.component.mjs} +3 -3
- package/{esm2015/lib/input-mask/input-mask.module.js → esm2020/lib/input-mask/input-mask.module.mjs} +4 -4
- package/{esm2015/lib/label/index.js → esm2020/lib/label/index.mjs} +0 -0
- package/{esm2015/lib/label/label.component.js → esm2020/lib/label/label.component.mjs} +5 -10
- package/{esm2015/lib/label/label.module.js → esm2020/lib/label/label.module.mjs} +4 -4
- package/{esm2015/lib/loading/index.js → esm2020/lib/loading/index.mjs} +0 -0
- package/{esm2015/lib/loading/loading-spinner.component.js → esm2020/lib/loading/loading-spinner.component.mjs} +3 -3
- package/{esm2015/lib/loading/loading.component.js → esm2020/lib/loading/loading.component.mjs} +3 -3
- package/{esm2015/lib/loading/loading.directive.js → esm2020/lib/loading/loading.directive.mjs} +3 -3
- package/{esm2015/lib/loading/loading.module.js → esm2020/lib/loading/loading.module.mjs} +4 -4
- package/esm2020/lib/loading/loading.service.mjs +154 -0
- package/{esm2015/lib/number-box/index.js → esm2020/lib/number-box/index.mjs} +0 -0
- package/{esm2015/lib/number-box/number-box.component.js → esm2020/lib/number-box/number-box.component.mjs} +9 -17
- package/{esm2015/lib/number-box/number-box.module.js → esm2020/lib/number-box/number-box.module.mjs} +4 -4
- package/esm2020/lib/page/base-page.class.mjs +67 -0
- package/{esm2015/lib/page/index.js → esm2020/lib/page/index.mjs} +0 -0
- package/{esm2015/lib/page/page-footer.component.js → esm2020/lib/page/page-footer.component.mjs} +3 -3
- package/{esm2015/lib/page/page.component.js → esm2020/lib/page/page.component.mjs} +3 -3
- package/{esm2015/lib/page/page.module.js → esm2020/lib/page/page.module.mjs} +4 -4
- package/{esm2015/lib/password-box/index.js → esm2020/lib/password-box/index.mjs} +0 -0
- package/{esm2015/lib/password-box/password-box.component.js → esm2020/lib/password-box/password-box.component.mjs} +7 -15
- package/{esm2015/lib/password-box/password-box.module.js → esm2020/lib/password-box/password-box.module.mjs} +4 -4
- package/{esm2015/lib/popover/index.js → esm2020/lib/popover/index.mjs} +0 -0
- package/esm2020/lib/popover/popover.component.mjs +213 -0
- package/{esm2015/lib/popover/popover.module.js → esm2020/lib/popover/popover.module.mjs} +4 -4
- package/{esm2015/lib/popup/index.js → esm2020/lib/popup/index.mjs} +0 -0
- package/{esm2015/lib/popup/popup.component.js → esm2020/lib/popup/popup.component.mjs} +5 -10
- package/{esm2015/lib/popup/popup.module.js → esm2020/lib/popup/popup.module.mjs} +4 -4
- package/esm2020/lib/popup/popup.service.mjs +93 -0
- package/{esm2015/lib/radio/index.js → esm2020/lib/radio/index.mjs} +0 -0
- package/esm2020/lib/radio/radio.component.mjs +16 -0
- package/{esm2015/lib/radio/radio.module.js → esm2020/lib/radio/radio.module.mjs} +4 -4
- package/{esm2015/lib/range-slider/index.js → esm2020/lib/range-slider/index.mjs} +0 -0
- package/{esm2015/lib/range-slider/range-slider.component.js → esm2020/lib/range-slider/range-slider.component.mjs} +5 -11
- package/{esm2015/lib/range-slider/range-slider.module.js → esm2020/lib/range-slider/range-slider.module.mjs} +4 -4
- package/{esm2015/lib/selectbox/index.js → esm2020/lib/selectbox/index.mjs} +0 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +193 -0
- package/{esm2015/lib/selectbox/selectbox.module.js → esm2020/lib/selectbox/selectbox.module.mjs} +4 -4
- package/{esm2015/lib/selection-list/index.js → esm2020/lib/selection-list/index.mjs} +0 -0
- package/esm2020/lib/selection-list/selection-list.component.mjs +40 -0
- package/{esm2015/lib/selection-list/selection-list.module.js → esm2020/lib/selection-list/selection-list.module.mjs} +4 -4
- package/{esm2015/lib/side-menu/index.js → esm2020/lib/side-menu/index.mjs} +0 -0
- package/{esm2015/lib/side-menu/side-menu.component.js → esm2020/lib/side-menu/side-menu.component.mjs} +5 -11
- package/{esm2015/lib/side-menu/side-menu.module.js → esm2020/lib/side-menu/side-menu.module.mjs} +4 -4
- package/{esm2015/lib/switch/index.js → esm2020/lib/switch/index.mjs} +0 -0
- package/{esm2015/lib/switch/switch.component.js → esm2020/lib/switch/switch.component.mjs} +5 -12
- package/{esm2015/lib/switch/switch.module.js → esm2020/lib/switch/switch.module.mjs} +6 -7
- package/{esm2015/lib/tabs/index.js → esm2020/lib/tabs/index.mjs} +0 -0
- package/{esm2015/lib/tabs/tab-content.directive.js → esm2020/lib/tabs/tab-content.directive.mjs} +5 -5
- package/{esm2015/lib/tabs/tab-item.component.js → esm2020/lib/tabs/tab-item.component.mjs} +5 -5
- package/{esm2015/lib/tabs/tab-strip.component.js → esm2020/lib/tabs/tab-strip.component.mjs} +5 -12
- package/{esm2015/lib/tabs/tab-view.component.js → esm2020/lib/tabs/tab-view.component.mjs} +5 -12
- package/{esm2015/lib/tabs/tab.component.js → esm2020/lib/tabs/tab.component.mjs} +3 -3
- package/{esm2015/lib/tabs/tabs.class.js → esm2020/lib/tabs/tabs.class.mjs} +0 -0
- package/{esm2015/lib/tabs/tabs.component.js → esm2020/lib/tabs/tabs.component.mjs} +3 -3
- package/{esm2015/lib/tabs/tabs.module.js → esm2020/lib/tabs/tabs.module.mjs} +4 -4
- package/{esm2015/lib/textbox/index.js → esm2020/lib/textbox/index.mjs} +0 -0
- package/{esm2015/lib/textbox/textbox.component.js → esm2020/lib/textbox/textbox.component.mjs} +7 -15
- package/{esm2015/lib/textbox/textbox.module.js → esm2020/lib/textbox/textbox.module.mjs} +4 -4
- package/{esm2015/lib/time-box/index.js → esm2020/lib/time-box/index.mjs} +0 -0
- package/{esm2015/lib/time-box/time-box.component.js → esm2020/lib/time-box/time-box.component.mjs} +5 -13
- package/{esm2015/lib/time-box/time-box.module.js → esm2020/lib/time-box/time-box.module.mjs} +4 -4
- package/{esm2015/lib/toast/index.js → esm2020/lib/toast/index.mjs} +0 -0
- package/{esm2015/lib/toast/toast.class.js → esm2020/lib/toast/toast.class.mjs} +0 -0
- package/esm2020/lib/toast/toast.component.mjs +44 -0
- package/{esm2015/lib/toast/toast.module.js → esm2020/lib/toast/toast.module.mjs} +4 -4
- package/{esm2015/lib/toast/toast.service.js → esm2020/lib/toast/toast.service.mjs} +3 -3
- package/{esm2015/lib/tooltip/index.js → esm2020/lib/tooltip/index.mjs} +0 -0
- package/{esm2015/lib/tooltip/tooltip.component.js → esm2020/lib/tooltip/tooltip.component.mjs} +6 -13
- package/{esm2015/lib/tooltip/tooltip.directive.js → esm2020/lib/tooltip/tooltip.directive.mjs} +3 -3
- package/{esm2015/lib/tooltip/tooltip.module.js → esm2020/lib/tooltip/tooltip.module.mjs} +4 -4
- package/{esm2015/lib/validation/index.js → esm2020/lib/validation/index.mjs} +0 -0
- package/{esm2015/lib/validation/validation-rule.widget.js → esm2020/lib/validation/validation-rule.widget.mjs} +3 -3
- package/{esm2015/lib/validation/validation.class.js → esm2020/lib/validation/validation.class.mjs} +0 -0
- package/{esm2015/lib/validation/validation.module.js → esm2020/lib/validation/validation.module.mjs} +4 -4
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/acorex-components.mjs +6423 -0
- package/fesm2015/acorex-components.mjs.map +1 -0
- package/{fesm2015/acorex-components.js → fesm2020/acorex-components.mjs} +1061 -1193
- package/fesm2020/acorex-components.mjs.map +1 -0
- package/lib/base/mixin/base-components.class.d.ts +21 -18
- package/lib/base/mixin/button-mixin.class.d.ts +11 -17
- package/lib/base/mixin/clickable-mixin.class.d.ts +3 -9
- package/lib/base/mixin/datalist-component.class.d.ts +9 -15
- package/lib/base/mixin/dropdown-mixin.class.d.ts +16 -12
- package/lib/base/mixin/interactive-mixin.class.d.ts +6 -14
- package/lib/base/mixin/loading-mixin.class.d.ts +3 -9
- package/lib/base/mixin/mixin.class.d.ts +167 -165
- package/lib/base/mixin/selection-component.class.d.ts +3 -9
- package/lib/base/mixin/sizable-mixin.class.d.ts +3 -9
- package/lib/base/mixin/textbox-mixin.class.d.ts +4 -12
- package/lib/base/mixin/value-mixin.class.d.ts +15 -20
- package/lib/button/button-item.component.d.ts +8 -20
- package/lib/calendar/calendar.class.d.ts +38 -0
- package/lib/calendar/calendar.component.d.ts +5 -26
- package/lib/datepicker/datepicker.component.d.ts +170 -16
- package/lib/datepicker/datepicker.module.d.ts +8 -2
- package/lib/dropdown/dropdown-panel.component.d.ts +4 -5
- package/lib/dropdown/dropdown.component.d.ts +5 -6
- package/package.json +21 -8
- package/bundles/acorex-components.umd.js +0 -7633
- package/bundles/acorex-components.umd.js.map +0 -1
- package/esm2015/lib/alert/alert.component.js +0 -130
- package/esm2015/lib/base/mixin/base-components.class.js +0 -86
- package/esm2015/lib/base/mixin/button-mixin.class.js +0 -129
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +0 -24
- package/esm2015/lib/base/mixin/datalist-component.class.js +0 -97
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +0 -36
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +0 -77
- package/esm2015/lib/base/mixin/value-mixin.class.js +0 -190
- package/esm2015/lib/button/button.component.js +0 -73
- package/esm2015/lib/calendar/calendar.component.js +0 -287
- package/esm2015/lib/checkbox/checkbox.component.js +0 -59
- package/esm2015/lib/datalist/datalist.component.js +0 -81
- package/esm2015/lib/datepicker/datepicker.component.js +0 -80
- package/esm2015/lib/datepicker/datepicker.module.js +0 -23
- package/esm2015/lib/dialog/dialog.service.js +0 -146
- package/esm2015/lib/dropdown/dropdown-base.class.js +0 -98
- package/esm2015/lib/dropdown/dropdown-panel.component.js +0 -84
- package/esm2015/lib/dropdown/dropdown.component.js +0 -32
- package/esm2015/lib/loading/loading.service.js +0 -155
- package/esm2015/lib/page/base-page.class.js +0 -67
- package/esm2015/lib/popover/popover.component.js +0 -220
- package/esm2015/lib/popup/popup.service.js +0 -94
- package/esm2015/lib/radio/radio.component.js +0 -22
- package/esm2015/lib/selectbox/selectbox.component.js +0 -201
- package/esm2015/lib/selection-list/selection-list.component.js +0 -47
- package/esm2015/lib/toast/toast.component.js +0 -50
- package/fesm2015/acorex-components.js.map +0 -1
- package/lib/dropdown/dropdown-base.class.d.ts +0 -94
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional, ViewChild, ContentChild, ElementRef,
|
|
3
|
+
import { Injectable, Inject, EventEmitter, Directive, NgModule, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, HostListener, ContentChildren, Optional, ViewChild, ContentChild, ElementRef, TemplateRef, ViewChildren } from '@angular/core';
|
|
4
4
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
5
5
|
import * as i2 from '@acorex/core';
|
|
6
|
-
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXTranslator, AXConfig } from '@acorex/core';
|
|
6
|
+
import { AXObjectUtil, AXDateTime, AXDateTimeRange, AXDateTimeModule, AXDrawingUtil, AXStringUtil, AXTranslator, AXConfig } from '@acorex/core';
|
|
7
7
|
import { Subscription, Subject, fromEvent, merge, asyncScheduler, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { debounceTime, distinctUntilChanged, throttleTime, observeOn, finalize } from 'rxjs/operators';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
10
10
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
11
|
import * as i3 from '@angular/forms';
|
|
12
12
|
import { FormsModule } from '@angular/forms';
|
|
13
|
-
import * as i1$
|
|
13
|
+
import * as i1$3 from '@angular/cdk/portal';
|
|
14
14
|
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
15
15
|
import _ from 'lodash';
|
|
16
16
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
17
17
|
import { OverlayModule, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
18
|
+
import * as i1$2 from 'ngx-mask';
|
|
19
|
+
import { NgxMaskModule } from 'ngx-mask';
|
|
18
20
|
import * as i2$1 from '@angular/cdk/a11y';
|
|
19
21
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
20
22
|
import * as i3$1 from '@angular/cdk/drag-drop';
|
|
21
23
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
22
24
|
import * as i2$2 from '@angular/cdk/bidi';
|
|
23
|
-
import * as i1$3 from 'ngx-mask';
|
|
24
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
25
25
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _AXBaseComponent_elementRef;
|
|
28
28
|
class AXBaseComponent {
|
|
29
29
|
/**
|
|
30
30
|
* @ignore
|
|
31
31
|
*/
|
|
32
32
|
constructor(...args) {
|
|
33
33
|
this.id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
|
|
34
|
-
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
34
|
+
_AXBaseComponent_elementRef.set(this, void 0);
|
|
35
|
+
__classPrivateFieldSet(this, _AXBaseComponent_elementRef, args[0], "f");
|
|
36
36
|
this._cdr = args[1];
|
|
37
37
|
}
|
|
38
38
|
ngOnInit() {
|
|
@@ -47,7 +47,7 @@ class AXBaseComponent {
|
|
|
47
47
|
this._onInternalDestroy();
|
|
48
48
|
}
|
|
49
49
|
_getHostElement() {
|
|
50
|
-
return __classPrivateFieldGet(this,
|
|
50
|
+
return __classPrivateFieldGet(this, _AXBaseComponent_elementRef, "f").nativeElement;
|
|
51
51
|
}
|
|
52
52
|
_getInnerElement() {
|
|
53
53
|
return this._getHostElement().firstElementChild;
|
|
@@ -78,16 +78,32 @@ class AXBaseComponent {
|
|
|
78
78
|
}
|
|
79
79
|
onDestroy() {
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
return option
|
|
81
|
+
_onOptionChanging(option) {
|
|
82
|
+
return option?.value;
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
_onOptionChanged(option) {
|
|
85
|
+
}
|
|
86
|
+
_setOption(option) {
|
|
87
|
+
const oldValue = this[option.name];
|
|
88
|
+
const newValue = this._onOptionChanging({ name: option.name, value: option.value });
|
|
89
|
+
//TODO : check real changes
|
|
90
|
+
if (oldValue != newValue) {
|
|
91
|
+
if (option.beforeCallback)
|
|
92
|
+
option.beforeCallback();
|
|
93
|
+
this[`_${option.name}`] = option.value;
|
|
94
|
+
this._onOptionChanged({ name: option.name, newValue, oldValue });
|
|
95
|
+
const emitter = this[`${option.name}Change`];
|
|
96
|
+
if (emitter)
|
|
97
|
+
emitter.emit(newValue);
|
|
98
|
+
if (option.afterCallback)
|
|
99
|
+
option.afterCallback();
|
|
100
|
+
}
|
|
85
101
|
}
|
|
86
102
|
}
|
|
87
|
-
|
|
88
|
-
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
89
|
-
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
_AXBaseComponent_elementRef = new WeakMap();
|
|
104
|
+
AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBaseComponent, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
105
|
+
AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBaseComponent });
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBaseComponent, decorators: [{
|
|
91
107
|
type: Injectable
|
|
92
108
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
93
109
|
type: Inject,
|
|
@@ -108,120 +124,108 @@ const BASE_INPUTS = [
|
|
|
108
124
|
const BASE_OUTPUT = [];
|
|
109
125
|
|
|
110
126
|
function _ButtonComponentMixin(Base) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
super(...args);
|
|
115
|
-
/**
|
|
116
|
-
* Defines the primary text to show inside the button.
|
|
117
|
-
*/
|
|
118
|
-
this.text = '';
|
|
119
|
-
/**
|
|
120
|
-
* Trigger click event by Enter Key
|
|
121
|
-
*/
|
|
122
|
-
this.submitBehavior = false;
|
|
123
|
-
/**
|
|
124
|
-
* Trigger click event by Esc Key
|
|
125
|
-
*/
|
|
126
|
-
this.cancelBehavior = false;
|
|
127
|
-
this.colorChange = new EventEmitter();
|
|
128
|
-
_color.set(this, 'primary');
|
|
129
|
-
this.lookChange = new EventEmitter();
|
|
130
|
-
_look.set(this, null);
|
|
131
|
-
this.toggleableChange = new EventEmitter();
|
|
132
|
-
_toggleable.set(this, false);
|
|
133
|
-
this.selectedChange = new EventEmitter();
|
|
134
|
-
_selected.set(this, false);
|
|
135
|
-
}
|
|
127
|
+
return class extends Base {
|
|
128
|
+
constructor(...args) {
|
|
129
|
+
super(...args);
|
|
136
130
|
/**
|
|
137
|
-
*
|
|
131
|
+
* Defines the primary text to show inside the button.
|
|
138
132
|
*/
|
|
139
|
-
|
|
140
|
-
return __classPrivateFieldGet(this, _color);
|
|
141
|
-
}
|
|
142
|
-
set color(value) {
|
|
143
|
-
value = this.onOptionChanging({ name: 'color', value: value });
|
|
144
|
-
if (value != __classPrivateFieldGet(this, _color)) {
|
|
145
|
-
const oldValue = this.color;
|
|
146
|
-
__classPrivateFieldSet(this, _color, value);
|
|
147
|
-
this.colorChange.emit(value);
|
|
148
|
-
this.onOptionChanged({ name: 'color', oldValue, newValue: value });
|
|
149
|
-
this._cdr.markForCheck();
|
|
150
|
-
}
|
|
151
|
-
}
|
|
133
|
+
this.text = '';
|
|
152
134
|
/**
|
|
153
|
-
*
|
|
135
|
+
* Trigger click event by Enter Key
|
|
154
136
|
*/
|
|
155
|
-
|
|
156
|
-
return __classPrivateFieldGet(this, _look);
|
|
157
|
-
}
|
|
158
|
-
set look(value) {
|
|
159
|
-
value = this.onOptionChanging({ name: 'look', value: value });
|
|
160
|
-
if (value != __classPrivateFieldGet(this, _look)) {
|
|
161
|
-
const oldValue = this.color;
|
|
162
|
-
__classPrivateFieldSet(this, _look, value);
|
|
163
|
-
this.lookChange.emit(value);
|
|
164
|
-
this.onOptionChanged({ name: 'look', oldValue, newValue: value });
|
|
165
|
-
this._cdr.markForCheck();
|
|
166
|
-
}
|
|
167
|
-
}
|
|
137
|
+
this.submitBehavior = false;
|
|
168
138
|
/**
|
|
169
|
-
*
|
|
139
|
+
* Trigger click event by Esc Key
|
|
170
140
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
141
|
+
this.cancelBehavior = false;
|
|
142
|
+
this.colorChange = new EventEmitter();
|
|
143
|
+
this._color = 'primary';
|
|
144
|
+
this.lookChange = new EventEmitter();
|
|
145
|
+
this._look = null;
|
|
146
|
+
this.toggleableChange = new EventEmitter();
|
|
147
|
+
this._toggleable = false;
|
|
148
|
+
this.selectedChange = new EventEmitter();
|
|
149
|
+
this._selected = false;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Predefined color schemes
|
|
153
|
+
*/
|
|
154
|
+
get color() {
|
|
155
|
+
return this._color;
|
|
156
|
+
}
|
|
157
|
+
set color(value) {
|
|
158
|
+
this._setOption({
|
|
159
|
+
name: 'color',
|
|
160
|
+
value,
|
|
161
|
+
afterCallback: () => {
|
|
162
|
+
this._cdr.markForCheck();
|
|
181
163
|
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Predefined look schemes
|
|
168
|
+
*/
|
|
169
|
+
get look() {
|
|
170
|
+
return this._look;
|
|
171
|
+
}
|
|
172
|
+
set look(value) {
|
|
173
|
+
this._setOption({
|
|
174
|
+
name: 'look',
|
|
175
|
+
value,
|
|
176
|
+
afterCallback: () => {
|
|
195
177
|
this._cdr.markForCheck();
|
|
196
|
-
this.onOptionChanged({ name: 'selected', oldValue, newValue: value });
|
|
197
178
|
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Provides visual styling that indicates if the Button is active
|
|
183
|
+
*/
|
|
184
|
+
get toggleable() {
|
|
185
|
+
return this._toggleable;
|
|
186
|
+
}
|
|
187
|
+
set toggleable(value) {
|
|
188
|
+
this._setOption({
|
|
189
|
+
name: 'toggleable',
|
|
190
|
+
value
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if the Button is selected or not
|
|
195
|
+
*/
|
|
196
|
+
get selected() {
|
|
197
|
+
return this._selected;
|
|
198
|
+
}
|
|
199
|
+
set selected(value) {
|
|
200
|
+
this._setOption({
|
|
201
|
+
name: 'selected',
|
|
202
|
+
value,
|
|
203
|
+
afterCallback: () => {
|
|
204
|
+
this._cdr.markForCheck();
|
|
205
205
|
}
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
_onInternalViewInit() {
|
|
209
|
+
super._onInternalViewInit();
|
|
210
|
+
if (this.submitBehavior) {
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
this.focus();
|
|
213
|
+
}, 0);
|
|
206
214
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
_look = new WeakMap(),
|
|
222
|
-
_toggleable = new WeakMap(),
|
|
223
|
-
_selected = new WeakMap(),
|
|
224
|
-
_a;
|
|
215
|
+
}
|
|
216
|
+
_onInternalDestroy() {
|
|
217
|
+
super._onInternalDestroy();
|
|
218
|
+
}
|
|
219
|
+
get _classes() {
|
|
220
|
+
const cssClasses = {
|
|
221
|
+
'ax-button-icon': !this.text,
|
|
222
|
+
'ax-state-disabled': this["disabled"],
|
|
223
|
+
'ax-state-selected': this.selected
|
|
224
|
+
};
|
|
225
|
+
cssClasses[`ax-${this.color || 'primary'}${this.look ? '-' + this.look : ''}`] = true;
|
|
226
|
+
return cssClasses;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
225
229
|
}
|
|
226
230
|
const BUTTON_INPUTS = [
|
|
227
231
|
'text',
|
|
@@ -275,57 +279,56 @@ function _DatalistComponenetMixin(Base) {
|
|
|
275
279
|
_items.set(this, []);
|
|
276
280
|
}
|
|
277
281
|
get totalCount() {
|
|
278
|
-
return __classPrivateFieldGet(this, _totalItems);
|
|
282
|
+
return __classPrivateFieldGet(this, _totalItems, "f");
|
|
279
283
|
}
|
|
280
284
|
get loadedCount() {
|
|
281
|
-
|
|
282
|
-
return ((_a = __classPrivateFieldGet(this, _loadedItems)) === null || _a === void 0 ? void 0 : _a.length) || 0;
|
|
285
|
+
return __classPrivateFieldGet(this, _loadedItems, "f")?.length || 0;
|
|
283
286
|
}
|
|
284
287
|
get items() {
|
|
285
|
-
return __classPrivateFieldGet(this, _items);
|
|
288
|
+
return __classPrivateFieldGet(this, _items, "f");
|
|
286
289
|
}
|
|
287
290
|
set items(v) {
|
|
288
|
-
__classPrivateFieldSet(this, _items, v);
|
|
291
|
+
__classPrivateFieldSet(this, _items, v, "f");
|
|
289
292
|
}
|
|
290
293
|
get displayItems() {
|
|
291
294
|
if (Array.isArray(this.items)) {
|
|
292
|
-
return __classPrivateFieldGet(this, _items) || [];
|
|
295
|
+
return __classPrivateFieldGet(this, _items, "f") || [];
|
|
293
296
|
}
|
|
294
|
-
else if (typeof __classPrivateFieldGet(this, _items) == 'function') {
|
|
295
|
-
return __classPrivateFieldGet(this, _loadedItems) || [];
|
|
297
|
+
else if (typeof __classPrivateFieldGet(this, _items, "f") == 'function') {
|
|
298
|
+
return __classPrivateFieldGet(this, _loadedItems, "f") || [];
|
|
296
299
|
}
|
|
297
300
|
return [];
|
|
298
301
|
}
|
|
299
302
|
get isLoading() {
|
|
300
|
-
return __classPrivateFieldGet(this, _isLoading);
|
|
303
|
+
return __classPrivateFieldGet(this, _isLoading, "f");
|
|
301
304
|
}
|
|
302
305
|
_fetchData() {
|
|
303
|
-
if ((this.loadedCount >= this.totalCount && this.totalCount != 0) || __classPrivateFieldGet(this, _isLoading) || !__classPrivateFieldGet(this, _isLazy)) {
|
|
306
|
+
if ((this.loadedCount >= this.totalCount && this.totalCount != 0) || __classPrivateFieldGet(this, _isLoading, "f") || !__classPrivateFieldGet(this, _isLazy, "f")) {
|
|
304
307
|
return;
|
|
305
308
|
}
|
|
306
|
-
if (__classPrivateFieldGet(this, _items)) {
|
|
307
|
-
__classPrivateFieldSet(this, _isLoading, true);
|
|
308
|
-
__classPrivateFieldGet(this, _items).call(this, { skip: __classPrivateFieldGet(this, _currentPage) * this.pageSize, take: this.pageSize }).then(c => {
|
|
309
|
+
if (__classPrivateFieldGet(this, _items, "f")) {
|
|
310
|
+
__classPrivateFieldSet(this, _isLoading, true, "f");
|
|
311
|
+
__classPrivateFieldGet(this, _items, "f").call(this, { skip: __classPrivateFieldGet(this, _currentPage, "f") * this.pageSize, take: this.pageSize }).then(c => {
|
|
309
312
|
var _a;
|
|
310
313
|
if (Array.isArray(c)) {
|
|
311
|
-
__classPrivateFieldSet(this, _loadedItems, c);
|
|
312
|
-
__classPrivateFieldSet(this, _totalItems, c.length);
|
|
314
|
+
__classPrivateFieldSet(this, _loadedItems, c, "f");
|
|
315
|
+
__classPrivateFieldSet(this, _totalItems, c.length, "f");
|
|
313
316
|
}
|
|
314
317
|
else {
|
|
315
|
-
__classPrivateFieldSet(this, _totalItems, c.total ||
|
|
316
|
-
__classPrivateFieldSet(this, _loadedItems, __classPrivateFieldGet(this, _loadedItems).concat(c.items));
|
|
317
|
-
__classPrivateFieldSet(this, _currentPage,
|
|
318
|
+
__classPrivateFieldSet(this, _totalItems, c.total || c.items?.length || 0, "f");
|
|
319
|
+
__classPrivateFieldSet(this, _loadedItems, __classPrivateFieldGet(this, _loadedItems, "f").concat(c.items), "f");
|
|
320
|
+
__classPrivateFieldSet(this, _currentPage, (_a = __classPrivateFieldGet(this, _currentPage, "f"), _a++, _a), "f");
|
|
318
321
|
}
|
|
319
322
|
this._cdr.markForCheck();
|
|
320
323
|
}).finally(() => {
|
|
321
|
-
__classPrivateFieldSet(this, _isLoading, false);
|
|
324
|
+
__classPrivateFieldSet(this, _isLoading, false, "f");
|
|
322
325
|
this._onDataLoaded();
|
|
323
326
|
});
|
|
324
327
|
}
|
|
325
328
|
}
|
|
326
329
|
_onInternalInit() {
|
|
327
|
-
if (typeof __classPrivateFieldGet(this, _items) == 'function') {
|
|
328
|
-
__classPrivateFieldSet(this, _isLazy, true);
|
|
330
|
+
if (typeof __classPrivateFieldGet(this, _items, "f") == 'function') {
|
|
331
|
+
__classPrivateFieldSet(this, _isLazy, true, "f");
|
|
329
332
|
this._fetchData();
|
|
330
333
|
}
|
|
331
334
|
super._onInternalInit();
|
|
@@ -354,17 +357,15 @@ function _DatalistComponenetMixin(Base) {
|
|
|
354
357
|
}
|
|
355
358
|
|
|
356
359
|
function _DropdownComponenetMixin(Base) {
|
|
357
|
-
var _readonly;
|
|
358
360
|
class Mixin extends Base {
|
|
359
361
|
constructor(...args) {
|
|
360
362
|
super(...args);
|
|
361
|
-
_readonly.set(this, false);
|
|
362
363
|
this.fitParent = true;
|
|
364
|
+
this.readonly = false;
|
|
363
365
|
this.onOpened = new EventEmitter();
|
|
364
366
|
this.onClosed = new EventEmitter();
|
|
367
|
+
this.position = [];
|
|
365
368
|
}
|
|
366
|
-
get readonly() { return __classPrivateFieldGet(this, _readonly); }
|
|
367
|
-
set readonly(value) { __classPrivateFieldSet(this, _readonly, coerceBooleanProperty(value)); }
|
|
368
369
|
_emitOnOpenedEvent() {
|
|
369
370
|
//** call from interactive mixin **//
|
|
370
371
|
//(this as any).focus();
|
|
@@ -375,27 +376,84 @@ function _DropdownComponenetMixin(Base) {
|
|
|
375
376
|
});
|
|
376
377
|
}
|
|
377
378
|
_emitOnClosedEvent() {
|
|
378
|
-
this.focus();
|
|
379
379
|
this.onClosed.emit({
|
|
380
380
|
component: this,
|
|
381
381
|
htmlElement: this._getHostElement()
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
+
onViewInit() {
|
|
385
|
+
if (this.dropdownWidth == null) {
|
|
386
|
+
if (this.fitParent === true) {
|
|
387
|
+
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
// wait for documentElement
|
|
391
|
+
setTimeout(() => {
|
|
392
|
+
if (this.position.length == 0) {
|
|
393
|
+
const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
|
|
394
|
+
const list = [
|
|
395
|
+
{
|
|
396
|
+
originX: 'start',
|
|
397
|
+
originY: 'bottom',
|
|
398
|
+
overlayX: 'start',
|
|
399
|
+
overlayY: 'top',
|
|
400
|
+
offsetY: offset
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
originX: 'start',
|
|
404
|
+
originY: 'top',
|
|
405
|
+
overlayX: 'start',
|
|
406
|
+
overlayY: 'bottom',
|
|
407
|
+
offsetY: -offset
|
|
408
|
+
}
|
|
409
|
+
];
|
|
410
|
+
this.position.push(...list);
|
|
411
|
+
}
|
|
412
|
+
}, 500);
|
|
413
|
+
}
|
|
414
|
+
toggle() {
|
|
415
|
+
if (this['disabled'] !== true) {
|
|
416
|
+
this.popover.toggle();
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
close() {
|
|
420
|
+
if (!this.isOpen || this['disabled']) {
|
|
421
|
+
return;
|
|
422
|
+
}
|
|
423
|
+
this.popover.close();
|
|
424
|
+
this._emitOnClosedEvent();
|
|
425
|
+
}
|
|
426
|
+
open() {
|
|
427
|
+
if (this.isOpen || this['disabled']) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
this.popover.open();
|
|
431
|
+
this._emitOnOpenedEvent();
|
|
432
|
+
}
|
|
433
|
+
get isOpen() {
|
|
434
|
+
return this.popover?.isOpen;
|
|
435
|
+
}
|
|
384
436
|
}
|
|
385
|
-
_readonly = new WeakMap();
|
|
386
437
|
return Mixin;
|
|
387
|
-
}
|
|
438
|
+
}
|
|
439
|
+
const DROPDOWN_INPUTS = [
|
|
440
|
+
'isOpen',
|
|
441
|
+
'fitParent',
|
|
442
|
+
'dropdownWidth',
|
|
443
|
+
'position'
|
|
444
|
+
];
|
|
445
|
+
const DROPDOWN_OUTPUT = ['onOpened', 'onClosed'];
|
|
388
446
|
|
|
389
447
|
function _InteractiveComponenetMixin(Base) {
|
|
390
|
-
var
|
|
448
|
+
var _Mixin_disabled, _Mixin_tabIndex;
|
|
391
449
|
class Mixin extends Base {
|
|
392
450
|
/**
|
|
393
451
|
* @ignore
|
|
394
452
|
*/
|
|
395
453
|
constructor(...args) {
|
|
396
454
|
super(...args);
|
|
397
|
-
|
|
398
|
-
|
|
455
|
+
_Mixin_disabled.set(this, false);
|
|
456
|
+
_Mixin_tabIndex.set(this, null);
|
|
399
457
|
/**
|
|
400
458
|
* Fires each time the component gets focused.
|
|
401
459
|
* @event
|
|
@@ -410,22 +468,22 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
410
468
|
/**
|
|
411
469
|
* If set to true, it disables the component.
|
|
412
470
|
*/
|
|
413
|
-
get disabled() { return __classPrivateFieldGet(this,
|
|
471
|
+
get disabled() { return __classPrivateFieldGet(this, _Mixin_disabled, "f"); }
|
|
414
472
|
set disabled(value) {
|
|
415
|
-
value = this.
|
|
473
|
+
value = this._onOptionChanging({ name: 'disabled', value: value });
|
|
416
474
|
if (value != this.disabled) {
|
|
417
475
|
const oldValue = this.disabled;
|
|
418
|
-
__classPrivateFieldSet(this,
|
|
419
|
-
this.
|
|
476
|
+
__classPrivateFieldSet(this, _Mixin_disabled, coerceBooleanProperty(value), "f");
|
|
477
|
+
this._onOptionChanged({ name: 'disabled', oldValue, newValue: value });
|
|
420
478
|
this._cdr.markForCheck();
|
|
421
479
|
}
|
|
422
480
|
}
|
|
423
481
|
/**
|
|
424
482
|
* Specifies the tabindex of the component.
|
|
425
483
|
*/
|
|
426
|
-
get tabIndex() { return this.disabled || this.readonly ? -1 : __classPrivateFieldGet(this,
|
|
484
|
+
get tabIndex() { return this.disabled || this.readonly ? -1 : __classPrivateFieldGet(this, _Mixin_tabIndex, "f"); }
|
|
427
485
|
set tabIndex(value) {
|
|
428
|
-
__classPrivateFieldSet(this,
|
|
486
|
+
__classPrivateFieldSet(this, _Mixin_tabIndex, value != null ? coerceNumberProperty(value) : 0, "f");
|
|
429
487
|
}
|
|
430
488
|
_emitOnFocusEvent(e) {
|
|
431
489
|
this.onFocus.emit({
|
|
@@ -451,7 +509,7 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
451
509
|
}
|
|
452
510
|
}
|
|
453
511
|
}
|
|
454
|
-
|
|
512
|
+
_Mixin_disabled = new WeakMap(), _Mixin_tabIndex = new WeakMap();
|
|
455
513
|
return Mixin;
|
|
456
514
|
}
|
|
457
515
|
const INTERACTIVE_INPUTS = [
|
|
@@ -660,39 +718,39 @@ function _ValueComponenetMixin(Base) {
|
|
|
660
718
|
* If set to true, user cannot change the value of component.
|
|
661
719
|
*/
|
|
662
720
|
get readonly() {
|
|
663
|
-
return __classPrivateFieldGet(this, _readonly);
|
|
721
|
+
return __classPrivateFieldGet(this, _readonly, "f");
|
|
664
722
|
}
|
|
665
723
|
set readonly(value) {
|
|
666
|
-
__classPrivateFieldSet(this, _readonly, coerceBooleanProperty(value));
|
|
724
|
+
__classPrivateFieldSet(this, _readonly, coerceBooleanProperty(value), "f");
|
|
667
725
|
}
|
|
668
726
|
get allowNull() {
|
|
669
|
-
return __classPrivateFieldGet(this, _allowNull);
|
|
727
|
+
return __classPrivateFieldGet(this, _allowNull, "f");
|
|
670
728
|
}
|
|
671
729
|
set allowNull(value) {
|
|
672
|
-
__classPrivateFieldSet(this, _allowNull, coerceBooleanProperty(value));
|
|
730
|
+
__classPrivateFieldSet(this, _allowNull, coerceBooleanProperty(value), "f");
|
|
673
731
|
}
|
|
674
732
|
get name() {
|
|
675
|
-
return __classPrivateFieldGet(this, _name);
|
|
733
|
+
return __classPrivateFieldGet(this, _name, "f");
|
|
676
734
|
}
|
|
677
735
|
set name(value) {
|
|
678
|
-
__classPrivateFieldSet(this, _name, value);
|
|
736
|
+
__classPrivateFieldSet(this, _name, value, "f");
|
|
679
737
|
}
|
|
680
738
|
get debounceTime() {
|
|
681
|
-
return __classPrivateFieldGet(this, _debounceTime);
|
|
739
|
+
return __classPrivateFieldGet(this, _debounceTime, "f");
|
|
682
740
|
}
|
|
683
741
|
set debounceTime(value) {
|
|
684
|
-
__classPrivateFieldSet(this, _debounceTime, coerceNumberProperty(value));
|
|
742
|
+
__classPrivateFieldSet(this, _debounceTime, coerceNumberProperty(value), "f");
|
|
685
743
|
}
|
|
686
744
|
get value() {
|
|
687
|
-
return __classPrivateFieldGet(this, _value);
|
|
745
|
+
return __classPrivateFieldGet(this, _value, "f");
|
|
688
746
|
}
|
|
689
747
|
set value(v) {
|
|
690
|
-
v = this.
|
|
748
|
+
v = this._onInternalValueChanging(v);
|
|
691
749
|
if (!this._isInited || this.debounceTime == 0) {
|
|
692
750
|
this._setValue(v);
|
|
693
751
|
}
|
|
694
752
|
else {
|
|
695
|
-
__classPrivateFieldGet(this, _valueSubject).next(v);
|
|
753
|
+
__classPrivateFieldGet(this, _valueSubject, "f").next(v);
|
|
696
754
|
}
|
|
697
755
|
}
|
|
698
756
|
_emitOnValueChangedEvent(oldValue, newValue) {
|
|
@@ -703,7 +761,12 @@ function _ValueComponenetMixin(Base) {
|
|
|
703
761
|
oldValue: oldValue,
|
|
704
762
|
name: this.name
|
|
705
763
|
});
|
|
706
|
-
this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value));
|
|
764
|
+
this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value, "f"));
|
|
765
|
+
}
|
|
766
|
+
_onInternalValueChanging(value) {
|
|
767
|
+
if (this.readonly)
|
|
768
|
+
return this.value;
|
|
769
|
+
return this._onValueChanging(value);
|
|
707
770
|
}
|
|
708
771
|
_onValueChanging(value) {
|
|
709
772
|
return value;
|
|
@@ -711,23 +774,24 @@ function _ValueComponenetMixin(Base) {
|
|
|
711
774
|
_onValueChanged(oldValue, newValue) { }
|
|
712
775
|
_onInternalInit() {
|
|
713
776
|
this._getHostElement().setAttribute('ax-form-input', 'true');
|
|
714
|
-
__classPrivateFieldSet(this, _valueSubscription, __classPrivateFieldGet(this, _valueSubject
|
|
777
|
+
__classPrivateFieldSet(this, _valueSubscription, __classPrivateFieldGet(this, _valueSubject, "f")
|
|
778
|
+
.pipe(debounceTime(__classPrivateFieldGet(this, _debounceTime, "f")))
|
|
715
779
|
.pipe(distinctUntilChanged())
|
|
716
780
|
.subscribe((v) => {
|
|
717
781
|
this._setValue(v);
|
|
718
|
-
}));
|
|
782
|
+
}), "f");
|
|
719
783
|
super._onInternalInit();
|
|
720
784
|
}
|
|
721
785
|
_onInternalDestroy() {
|
|
722
|
-
__classPrivateFieldGet(this, _valueSubscription).unsubscribe();
|
|
786
|
+
__classPrivateFieldGet(this, _valueSubscription, "f").unsubscribe();
|
|
723
787
|
super.onDestroy();
|
|
724
788
|
}
|
|
725
789
|
_setValue(v) {
|
|
726
|
-
const old = __classPrivateFieldGet(this, _value);
|
|
790
|
+
const old = __classPrivateFieldGet(this, _value, "f");
|
|
727
791
|
// TODO: check real equality
|
|
728
792
|
if (v != old) {
|
|
729
|
-
__classPrivateFieldSet(this, _value, v);
|
|
730
|
-
this._emitOnValueChangedEvent(old, __classPrivateFieldGet(this, _value));
|
|
793
|
+
__classPrivateFieldSet(this, _value, v, "f");
|
|
794
|
+
this._emitOnValueChangedEvent(old, __classPrivateFieldGet(this, _value, "f"));
|
|
731
795
|
this._cdr.markForCheck();
|
|
732
796
|
if (v == null || v == undefined || v == '') {
|
|
733
797
|
this._setErrorState('clear');
|
|
@@ -751,7 +815,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
751
815
|
}
|
|
752
816
|
return new Promise((resolve) => {
|
|
753
817
|
Promise.all(rules
|
|
754
|
-
.filter((c) =>
|
|
818
|
+
.filter((c) => typeof c?.validate === 'function')
|
|
755
819
|
.map((c) => {
|
|
756
820
|
return c.validate(this.value);
|
|
757
821
|
})).then((d) => {
|
|
@@ -771,8 +835,8 @@ function _ValueComponenetMixin(Base) {
|
|
|
771
835
|
const container = this._getHostElement().classList.contains('ax-editor-container') ?
|
|
772
836
|
this._getHostElement() :
|
|
773
837
|
this._getHostElement().querySelector('.ax-editor-container');
|
|
774
|
-
const formField = container
|
|
775
|
-
const label = formField
|
|
838
|
+
const formField = container?.closest('.ax-form-field');
|
|
839
|
+
const label = formField?.querySelector('ax-label');
|
|
776
840
|
const target = container || this._getInnerElement();
|
|
777
841
|
const parent = target.parentElement;
|
|
778
842
|
switch (state) {
|
|
@@ -780,7 +844,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
780
844
|
if (parent.querySelector('span.ax-error-msg')) {
|
|
781
845
|
parent.removeChild(parent.querySelector('span.ax-error-msg'));
|
|
782
846
|
}
|
|
783
|
-
label
|
|
847
|
+
label?.classList.remove('ax-state-error');
|
|
784
848
|
target.classList.remove('ax-state-error', 'ax-state-success');
|
|
785
849
|
break;
|
|
786
850
|
case 'success':
|
|
@@ -795,7 +859,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
795
859
|
span.classList.add('ax-error-msg');
|
|
796
860
|
parent.appendChild(span);
|
|
797
861
|
}
|
|
798
|
-
label
|
|
862
|
+
label?.classList.add('ax-state-error');
|
|
799
863
|
target.classList.add('ax-state-error');
|
|
800
864
|
break;
|
|
801
865
|
}
|
|
@@ -865,7 +929,7 @@ const AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_
|
|
|
865
929
|
const AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
866
930
|
const AXBaseValueDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
|
|
867
931
|
const AXBaseSelectionDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent))))));
|
|
868
|
-
const
|
|
932
|
+
const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(AXBaseComponent)));
|
|
869
933
|
|
|
870
934
|
/**
|
|
871
935
|
* Contains native event
|
|
@@ -951,19 +1015,19 @@ class AXResponsiveDirective {
|
|
|
951
1015
|
this._observer.unobserve(this._elementRef.nativeElement);
|
|
952
1016
|
}
|
|
953
1017
|
}
|
|
954
|
-
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
955
|
-
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1018
|
+
AXResponsiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXResponsiveDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1019
|
+
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: AXResponsiveDirective, selector: "[ax-responsive]", ngImport: i0 });
|
|
1020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
957
1021
|
type: Directive,
|
|
958
1022
|
args: [{ selector: '[ax-responsive]' }]
|
|
959
1023
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
960
1024
|
|
|
961
1025
|
class AXCommonModule {
|
|
962
1026
|
}
|
|
963
|
-
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
964
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
965
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1027
|
+
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1028
|
+
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective], exports: [AXResponsiveDirective] });
|
|
1029
|
+
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCommonModule, providers: [], imports: [[]] });
|
|
1030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
967
1031
|
type: NgModule,
|
|
968
1032
|
args: [{
|
|
969
1033
|
imports: [],
|
|
@@ -973,7 +1037,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
973
1037
|
}]
|
|
974
1038
|
}] });
|
|
975
1039
|
|
|
976
|
-
var
|
|
1040
|
+
var _AXAlertComponent_visible;
|
|
977
1041
|
/**
|
|
978
1042
|
* Regular description
|
|
979
1043
|
*
|
|
@@ -986,7 +1050,7 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
986
1050
|
constructor(elementRef, cdr) {
|
|
987
1051
|
super(elementRef, cdr);
|
|
988
1052
|
this.typeChange = new EventEmitter();
|
|
989
|
-
|
|
1053
|
+
_AXAlertComponent_visible.set(this, void 0);
|
|
990
1054
|
}
|
|
991
1055
|
/**
|
|
992
1056
|
* The Alert allows you to set different types of alerts
|
|
@@ -1019,11 +1083,11 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
1019
1083
|
* set the visibility of the Alert
|
|
1020
1084
|
*/
|
|
1021
1085
|
get visible() {
|
|
1022
|
-
return __classPrivateFieldGet(this,
|
|
1086
|
+
return __classPrivateFieldGet(this, _AXAlertComponent_visible, "f");
|
|
1023
1087
|
}
|
|
1024
1088
|
set visible(v) {
|
|
1025
|
-
if (__classPrivateFieldGet(this,
|
|
1026
|
-
__classPrivateFieldSet(this,
|
|
1089
|
+
if (__classPrivateFieldGet(this, _AXAlertComponent_visible, "f") != v) {
|
|
1090
|
+
__classPrivateFieldSet(this, _AXAlertComponent_visible, v, "f");
|
|
1027
1091
|
const host = this._getHostElement();
|
|
1028
1092
|
if (v) {
|
|
1029
1093
|
host.classList.remove('ax-state-hidden');
|
|
@@ -1071,18 +1135,12 @@ class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
1071
1135
|
this.visible = true;
|
|
1072
1136
|
}
|
|
1073
1137
|
}
|
|
1074
|
-
|
|
1075
|
-
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1076
|
-
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1138
|
+
_AXAlertComponent_visible = new WeakMap();
|
|
1139
|
+
AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1140
|
+
AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertComponent, selector: "ax-alert", inputs: { icon: "icon", color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { typeChange: "typeChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-alert ax-none" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertComponent, decorators: [{
|
|
1078
1142
|
type: Component,
|
|
1079
|
-
args: [{
|
|
1080
|
-
selector: 'ax-alert',
|
|
1081
|
-
templateUrl: './alert.component.html',
|
|
1082
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1083
|
-
encapsulation: ViewEncapsulation.None,
|
|
1084
|
-
host: { class: 'ax-alert ax-none' }
|
|
1085
|
-
}]
|
|
1143
|
+
args: [{ selector: 'ax-alert', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-alert ax-none' }, template: "<div class=\"ax-alert-icon\" *ngIf=\"icon\">\r\n <i class=\"{{icon}} fa-lg\"></i>\r\n</div>\r\n<div class=\"ax-alert-body\">\r\n <ng-content select=\"ax-alert-title\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-alert-footer\">\r\n </ng-content>\r\n</div>\r\n<ng-content select=\"ax-alert-suffix\">\r\n</ng-content>" }]
|
|
1086
1144
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { icon: [{
|
|
1087
1145
|
type: Input
|
|
1088
1146
|
}], typeChange: [{
|
|
@@ -1100,12 +1158,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1100
1158
|
|
|
1101
1159
|
class AXAlertTitleComponent {
|
|
1102
1160
|
}
|
|
1103
|
-
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1104
|
-
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1161
|
+
AXAlertTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1162
|
+
AXAlertTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertTitleComponent, selector: "ax-alert-title", host: { classAttribute: "ax-alert-title" }, ngImport: i0, template: `
|
|
1105
1163
|
<ng-content>
|
|
1106
1164
|
</ng-content>
|
|
1107
1165
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertTitleComponent, decorators: [{
|
|
1109
1167
|
type: Component,
|
|
1110
1168
|
args: [{
|
|
1111
1169
|
selector: 'ax-alert-title',
|
|
@@ -1133,12 +1191,12 @@ class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
|
1133
1191
|
this._emitOnBlurEvent(e);
|
|
1134
1192
|
}
|
|
1135
1193
|
}
|
|
1136
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1137
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1194
|
+
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1195
|
+
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { title: "title", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" }, classAttribute: "ax-alert-button" }, usesInheritance: true, ngImport: i0, template: `
|
|
1138
1196
|
{{title}}
|
|
1139
1197
|
<i *ngIf="icon" class="{{icon}}"></i>
|
|
1140
1198
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
1142
1200
|
type: Component,
|
|
1143
1201
|
args: [{
|
|
1144
1202
|
selector: 'ax-alert-button',
|
|
@@ -1168,11 +1226,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1168
1226
|
|
|
1169
1227
|
class AXAlertContentComponent {
|
|
1170
1228
|
}
|
|
1171
|
-
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1172
|
-
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1229
|
+
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1230
|
+
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
|
|
1173
1231
|
</ng-content>
|
|
1174
1232
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
1176
1234
|
type: Component,
|
|
1177
1235
|
args: [{
|
|
1178
1236
|
selector: 'ax-alert-content',
|
|
@@ -1187,14 +1245,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1187
1245
|
|
|
1188
1246
|
class AXAlertSuffixComponent {
|
|
1189
1247
|
}
|
|
1190
|
-
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1191
|
-
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1248
|
+
AXAlertSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1249
|
+
AXAlertSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertSuffixComponent, selector: "ax-alert-suffix", host: { classAttribute: "ax-alert-suffix" }, ngImport: i0, template: `
|
|
1192
1250
|
<div class="ax-alert-buttons">
|
|
1193
1251
|
<ng-content select="ax-alert-button">
|
|
1194
1252
|
</ng-content>
|
|
1195
1253
|
</div>
|
|
1196
1254
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertSuffixComponent, decorators: [{
|
|
1198
1256
|
type: Component,
|
|
1199
1257
|
args: [{
|
|
1200
1258
|
selector: 'ax-alert-suffix',
|
|
@@ -1212,14 +1270,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1212
1270
|
|
|
1213
1271
|
class AXAlertFooterComponent {
|
|
1214
1272
|
}
|
|
1215
|
-
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1216
|
-
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1273
|
+
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1274
|
+
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
|
|
1217
1275
|
<div class="ax-alert-buttons">
|
|
1218
1276
|
<ng-content select="ax-alert-button">
|
|
1219
1277
|
</ng-content>
|
|
1220
1278
|
</div>
|
|
1221
1279
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
1223
1281
|
type: Component,
|
|
1224
1282
|
args: [{
|
|
1225
1283
|
selector: 'ax-alert-footer',
|
|
@@ -1246,8 +1304,8 @@ const COMPONENT$o = [
|
|
|
1246
1304
|
const MODULES$o = [CommonModule];
|
|
1247
1305
|
class AXAlertModule {
|
|
1248
1306
|
}
|
|
1249
|
-
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1250
|
-
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1307
|
+
AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1308
|
+
AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent,
|
|
1251
1309
|
AXAlertContentComponent,
|
|
1252
1310
|
AXAlertTitleComponent,
|
|
1253
1311
|
AXAlertButtonComponent,
|
|
@@ -1258,8 +1316,8 @@ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1258
1316
|
AXAlertButtonComponent,
|
|
1259
1317
|
AXAlertFooterComponent,
|
|
1260
1318
|
AXAlertSuffixComponent] });
|
|
1261
|
-
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1319
|
+
AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertModule, providers: [], imports: [[...MODULES$o]] });
|
|
1320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAlertModule, decorators: [{
|
|
1263
1321
|
type: NgModule,
|
|
1264
1322
|
args: [{
|
|
1265
1323
|
declarations: [...COMPONENT$o],
|
|
@@ -1298,18 +1356,11 @@ class AXAvatarComponent extends AXSizableComponentMixin {
|
|
|
1298
1356
|
this._abbr = v;
|
|
1299
1357
|
}
|
|
1300
1358
|
}
|
|
1301
|
-
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1302
|
-
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1359
|
+
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1360
|
+
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXAvatarComponent, selector: "ax-avatar", inputs: { rtl: "rtl", cssClass: "cssClass", cssStyle: "cssStyle", size: "size", image: "image", title: "title", icon: "icon", abbr: "abbr" }, host: { classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "\r\n<div>Hi ax-avatar</div>\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
1304
1362
|
type: Component,
|
|
1305
|
-
args: [{
|
|
1306
|
-
selector: 'ax-avatar',
|
|
1307
|
-
templateUrl: './avatar.component.html',
|
|
1308
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1309
|
-
encapsulation: ViewEncapsulation.None,
|
|
1310
|
-
inputs: [...BASE_INPUTS, ...SIZABLE_INPUTS],
|
|
1311
|
-
host: { class: 'ax-avatar' }
|
|
1312
|
-
}]
|
|
1363
|
+
args: [{ selector: 'ax-avatar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...BASE_INPUTS, ...SIZABLE_INPUTS], host: { class: 'ax-avatar' }, template: "\r\n<div>Hi ax-avatar</div>\r\n" }]
|
|
1313
1364
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { image: [{
|
|
1314
1365
|
type: Input
|
|
1315
1366
|
}], title: [{
|
|
@@ -1324,10 +1375,10 @@ const COMPONENT$n = [AXAvatarComponent];
|
|
|
1324
1375
|
const MODULES$n = [CommonModule];
|
|
1325
1376
|
class AXAvatarModule {
|
|
1326
1377
|
}
|
|
1327
|
-
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1328
|
-
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1329
|
-
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1378
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1379
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent], imports: [CommonModule], exports: [AXAvatarComponent] });
|
|
1380
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarModule, providers: [], imports: [[...MODULES$n]] });
|
|
1381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
1331
1382
|
type: NgModule,
|
|
1332
1383
|
args: [{
|
|
1333
1384
|
declarations: [...COMPONENT$n],
|
|
@@ -1348,17 +1399,11 @@ class AXBadgeComponent extends AXBaseComponentMixin {
|
|
|
1348
1399
|
return [`ax-bg-${this.color}-100`, `ax-text-${this.color}-500`].join(' ');
|
|
1349
1400
|
}
|
|
1350
1401
|
}
|
|
1351
|
-
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1352
|
-
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1402
|
+
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1403
|
+
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXBadgeComponent, selector: "ax-badge", inputs: { text: "text", color: "color" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-badge" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
1354
1405
|
type: Component,
|
|
1355
|
-
args: [{
|
|
1356
|
-
selector: 'ax-badge',
|
|
1357
|
-
templateUrl: './badge.component.html',
|
|
1358
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1359
|
-
encapsulation: ViewEncapsulation.None,
|
|
1360
|
-
host: { class: 'ax-badge' }
|
|
1361
|
-
}]
|
|
1406
|
+
args: [{ selector: 'ax-badge', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-badge' }, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
1362
1407
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
1363
1408
|
type: Input
|
|
1364
1409
|
}], color: [{
|
|
@@ -1372,10 +1417,10 @@ const COMPONENT$m = [AXBadgeComponent];
|
|
|
1372
1417
|
const MODULES$m = [CommonModule];
|
|
1373
1418
|
class AXBadgeModule {
|
|
1374
1419
|
}
|
|
1375
|
-
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1376
|
-
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1377
|
-
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1420
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1421
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
1422
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeModule, providers: [], imports: [[...MODULES$m]] });
|
|
1423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
1379
1424
|
type: NgModule,
|
|
1380
1425
|
args: [{
|
|
1381
1426
|
declarations: [...COMPONENT$m],
|
|
@@ -1423,19 +1468,11 @@ class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
1423
1468
|
return Object.entries(this._classes).filter(c => c[1]).map(c => c[0]).concat(...[`ax-${this.size}`]).join(' ');
|
|
1424
1469
|
}
|
|
1425
1470
|
}
|
|
1426
|
-
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1427
|
-
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1471
|
+
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1472
|
+
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", tabIndex: "tabIndex", size: "size", text: "text", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", color: "color", look: "look", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { attributes: { "role": "button" }, listeners: { "document:keydown.escape": "onKeydownHandler($event)", "click": "_emitOnClickEvent($event)", "focus": "_emitOnFocusEvent($event)", "blur": "_emitOnBlurEvent($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
1429
1474
|
type: Component,
|
|
1430
|
-
args: [{
|
|
1431
|
-
selector: 'ax-button',
|
|
1432
|
-
templateUrl: './button.component.html',
|
|
1433
|
-
inputs: ['disabled', 'tabIndex', 'size', ...BUTTON_INPUTS],
|
|
1434
|
-
outputs: [...BUTTON_OUTPUT],
|
|
1435
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1436
|
-
encapsulation: ViewEncapsulation.None,
|
|
1437
|
-
host: { role: 'button' }
|
|
1438
|
-
}]
|
|
1475
|
+
args: [{ selector: 'ax-button', inputs: ['disabled', 'tabIndex', 'size', ...BUTTON_INPUTS], outputs: [...BUTTON_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { role: 'button' }, template: "<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\">{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button> -->\r\n<!-- <button [ngClass]=\"_classes\" class=\"{{cssClass}} ax-{{size}}\" [disabled]=\"disabled\" [tabindex]=\"tabIndex\" [attr.style]=\"cssStyle\" (click)=\"_emitOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"> -->\r\n<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span *ngIf=\"text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-dropdown-panel\">\r\n</ng-content>\r\n<!-- </button> -->" }]
|
|
1439
1476
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onKeydownHandler: [{
|
|
1440
1477
|
type: HostListener,
|
|
1441
1478
|
args: ['document:keydown.escape', ['$event']]
|
|
@@ -1469,7 +1506,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1469
1506
|
return this._selection;
|
|
1470
1507
|
}
|
|
1471
1508
|
set selection(value) {
|
|
1472
|
-
value = this.
|
|
1509
|
+
value = this._onOptionChanging({ name: 'selection', value: value });
|
|
1473
1510
|
const oldValue = this.selection;
|
|
1474
1511
|
if (value != oldValue) {
|
|
1475
1512
|
this._selection = value;
|
|
@@ -1484,7 +1521,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1484
1521
|
return this._color;
|
|
1485
1522
|
}
|
|
1486
1523
|
set color(value) {
|
|
1487
|
-
value = this.
|
|
1524
|
+
value = this._onOptionChanging({ name: 'color', value: value });
|
|
1488
1525
|
const oldValue = this.color;
|
|
1489
1526
|
if (value != oldValue) {
|
|
1490
1527
|
this._color = value;
|
|
@@ -1499,7 +1536,7 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1499
1536
|
return this._look;
|
|
1500
1537
|
}
|
|
1501
1538
|
set look(value) {
|
|
1502
|
-
value = this.
|
|
1539
|
+
value = this._onOptionChanging({ name: 'look', value: value });
|
|
1503
1540
|
const oldValue = this.look;
|
|
1504
1541
|
if (value != oldValue) {
|
|
1505
1542
|
this._look = value;
|
|
@@ -1549,18 +1586,11 @@ class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
|
1549
1586
|
});
|
|
1550
1587
|
}
|
|
1551
1588
|
}
|
|
1552
|
-
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1553
|
-
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1589
|
+
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1590
|
+
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { cssClass: "cssClass", size: "size", cssStyle: "cssStyle", rtl: "rtl", disabled: "disabled", selection: "selection", color: "color", look: "look" }, outputs: { selectionChange: "selectionChange", colorChange: "colorChange", lookChange: "lookChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
|
|
1555
1592
|
type: Component,
|
|
1556
|
-
args: [{
|
|
1557
|
-
selector: 'ax-button-group',
|
|
1558
|
-
templateUrl: 'button-group.component.html',
|
|
1559
|
-
inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'],
|
|
1560
|
-
encapsulation: ViewEncapsulation.None,
|
|
1561
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1562
|
-
host: { class: 'ax-button-group', role: 'group' }
|
|
1563
|
-
}]
|
|
1593
|
+
args: [{ selector: 'ax-button-group', inputs: ['cssClass', 'size', 'cssStyle', 'rtl', 'disabled'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-button-group', role: 'group' }, template: "<ng-content select=\"ax-button\">\r\n</ng-content>" }]
|
|
1564
1594
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
|
|
1565
1595
|
type: Output
|
|
1566
1596
|
}], selection: [{
|
|
@@ -1606,8 +1636,8 @@ class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
1606
1636
|
return Object.entries(cssClasses).filter(c => c[1]).map(c => c[0]).join(' ');
|
|
1607
1637
|
}
|
|
1608
1638
|
}
|
|
1609
|
-
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1610
|
-
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1639
|
+
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1640
|
+
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, styleAttribute: "cssStyle" }, usesInheritance: true, ngImport: i0, template: `
|
|
1611
1641
|
<ng-content select="ax-prefix">
|
|
1612
1642
|
</ng-content>
|
|
1613
1643
|
<ng-content select="ax-icon">
|
|
@@ -1616,7 +1646,7 @@ AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1616
1646
|
<ng-content select="ax-suffix">
|
|
1617
1647
|
</ng-content>
|
|
1618
1648
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
|
1620
1650
|
type: Component,
|
|
1621
1651
|
args: [{
|
|
1622
1652
|
selector: 'ax-button-item',
|
|
@@ -1660,12 +1690,12 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
|
1660
1690
|
super(elementRef, cdr);
|
|
1661
1691
|
}
|
|
1662
1692
|
}
|
|
1663
|
-
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1664
|
-
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1693
|
+
AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1694
|
+
AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDecoratorPrefixComponent, selector: "ax-prefix", usesInheritance: true, ngImport: i0, template: `
|
|
1665
1695
|
<ng-content select="ax-button,ax-loading,ax-icon,ax-badge">
|
|
1666
1696
|
</ng-content>
|
|
1667
1697
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
|
|
1669
1699
|
type: Component,
|
|
1670
1700
|
args: [{
|
|
1671
1701
|
selector: 'ax-prefix',
|
|
@@ -1683,12 +1713,12 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
|
1683
1713
|
super(elementRef, cdr);
|
|
1684
1714
|
}
|
|
1685
1715
|
}
|
|
1686
|
-
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1687
|
-
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1716
|
+
AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1717
|
+
AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDecoratorSuffixComponent, selector: "ax-suffix", usesInheritance: true, ngImport: i0, template: `
|
|
1688
1718
|
<ng-content select="ax-button,ax-icon,ax-badge">
|
|
1689
1719
|
</ng-content>
|
|
1690
1720
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
|
|
1692
1722
|
type: Component,
|
|
1693
1723
|
args: [{
|
|
1694
1724
|
selector: 'ax-suffix',
|
|
@@ -1706,12 +1736,12 @@ class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
|
|
1706
1736
|
super(elementRef, cdr);
|
|
1707
1737
|
}
|
|
1708
1738
|
}
|
|
1709
|
-
AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1710
|
-
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1739
|
+
AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1740
|
+
AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDecoratorContentComponent, selector: "ax-content", usesInheritance: true, ngImport: i0, template: `
|
|
1711
1741
|
<ng-content>
|
|
1712
1742
|
</ng-content>
|
|
1713
1743
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
|
|
1715
1745
|
type: Component,
|
|
1716
1746
|
args: [{
|
|
1717
1747
|
selector: 'ax-content',
|
|
@@ -1728,10 +1758,10 @@ const COMPONENT$l = [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXD
|
|
|
1728
1758
|
const MODULES$l = [CommonModule];
|
|
1729
1759
|
class AXEditorDecoratorModule {
|
|
1730
1760
|
}
|
|
1731
|
-
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1732
|
-
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1733
|
-
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1761
|
+
AXEditorDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXEditorDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1762
|
+
AXEditorDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXEditorDecoratorModule, declarations: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent], imports: [CommonModule], exports: [AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDecoratorContentComponent] });
|
|
1763
|
+
AXEditorDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXEditorDecoratorModule, providers: [], imports: [[...MODULES$l]] });
|
|
1764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXEditorDecoratorModule, decorators: [{
|
|
1735
1765
|
type: NgModule,
|
|
1736
1766
|
args: [{
|
|
1737
1767
|
declarations: [...COMPONENT$l],
|
|
@@ -1749,9 +1779,9 @@ class AXIconComponent extends AXSizableComponentMixin {
|
|
|
1749
1779
|
return `ax-ic ${this.icon}`;
|
|
1750
1780
|
}
|
|
1751
1781
|
}
|
|
1752
|
-
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1753
|
-
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1782
|
+
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1783
|
+
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
1755
1785
|
type: Component,
|
|
1756
1786
|
args: [{
|
|
1757
1787
|
selector: 'ax-icon',
|
|
@@ -1770,10 +1800,10 @@ const COMPONENT$k = [AXIconComponent];
|
|
|
1770
1800
|
const MODULES$k = [CommonModule];
|
|
1771
1801
|
class AXIconModule {
|
|
1772
1802
|
}
|
|
1773
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1774
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1775
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1803
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1804
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
1805
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES$k]] });
|
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, decorators: [{
|
|
1777
1807
|
type: NgModule,
|
|
1778
1808
|
args: [{
|
|
1779
1809
|
declarations: [...COMPONENT$k],
|
|
@@ -1791,14 +1821,14 @@ const COMPONENT$j = [
|
|
|
1791
1821
|
const MODULES$j = [CommonModule, AXIconModule, AXEditorDecoratorModule];
|
|
1792
1822
|
class AXButtonModule {
|
|
1793
1823
|
}
|
|
1794
|
-
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1795
|
-
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1824
|
+
AXButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1825
|
+
AXButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent,
|
|
1796
1826
|
AXButtonItemComponent,
|
|
1797
1827
|
AXButtonGroupComponent], imports: [CommonModule, AXIconModule, AXEditorDecoratorModule], exports: [AXButtonComponent,
|
|
1798
1828
|
AXButtonItemComponent,
|
|
1799
1829
|
AXButtonGroupComponent] });
|
|
1800
|
-
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1830
|
+
AXButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonModule, providers: [], imports: [[MODULES$j]] });
|
|
1831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXButtonModule, decorators: [{
|
|
1802
1832
|
type: NgModule,
|
|
1803
1833
|
args: [{
|
|
1804
1834
|
imports: [MODULES$j],
|
|
@@ -1808,73 +1838,125 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
1808
1838
|
}]
|
|
1809
1839
|
}] });
|
|
1810
1840
|
|
|
1811
|
-
class
|
|
1841
|
+
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
1812
1842
|
constructor(elementRef, cdr) {
|
|
1813
1843
|
super(elementRef, cdr);
|
|
1814
|
-
this.
|
|
1815
|
-
this._today = new AXDateTime(new Date());
|
|
1816
|
-
this._navText = '';
|
|
1817
|
-
this._todayText = '';
|
|
1818
|
-
this._slots = [];
|
|
1844
|
+
this.activeViewChange = new EventEmitter();
|
|
1819
1845
|
this._activeView = 'days';
|
|
1820
1846
|
this.depthChange = new EventEmitter();
|
|
1821
1847
|
this._depth = 'days';
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
case 'years':
|
|
1827
|
-
let y = current.startOf('year').year;
|
|
1828
|
-
let min = y - (y % 10) - 1;
|
|
1829
|
-
let max = min + 11;
|
|
1830
|
-
return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
1831
|
-
case 'months':
|
|
1832
|
-
//TODO: check add month function
|
|
1833
|
-
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
1834
|
-
default:
|
|
1835
|
-
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
1836
|
-
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
1837
|
-
}
|
|
1848
|
+
this.minChange = new EventEmitter();
|
|
1849
|
+
this.maxChange = new EventEmitter();
|
|
1850
|
+
this.disabledDatesChange = new EventEmitter();
|
|
1851
|
+
this.holidayDatesChange = new EventEmitter();
|
|
1838
1852
|
}
|
|
1839
1853
|
get activeView() {
|
|
1840
1854
|
return this._activeView;
|
|
1841
1855
|
}
|
|
1842
1856
|
set activeView(v) {
|
|
1843
|
-
this.
|
|
1844
|
-
this._genearteSlots();
|
|
1857
|
+
this._setOption({ name: 'activeView', value: v });
|
|
1845
1858
|
}
|
|
1846
1859
|
get depth() {
|
|
1847
1860
|
return this._depth;
|
|
1848
1861
|
}
|
|
1849
1862
|
set depth(v) {
|
|
1850
|
-
this.
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1863
|
+
this._setOption({
|
|
1864
|
+
name: 'depth',
|
|
1865
|
+
value: v,
|
|
1866
|
+
beforeCallback: () => {
|
|
1867
|
+
this._activeView = v;
|
|
1868
|
+
}
|
|
1869
|
+
});
|
|
1854
1870
|
}
|
|
1855
1871
|
get min() {
|
|
1856
1872
|
return this._min;
|
|
1857
1873
|
}
|
|
1858
1874
|
set min(v) {
|
|
1859
|
-
this.
|
|
1875
|
+
this._setOption({ name: 'min', value: v });
|
|
1860
1876
|
}
|
|
1861
1877
|
get max() {
|
|
1862
1878
|
return this._max;
|
|
1863
1879
|
}
|
|
1864
1880
|
set max(v) {
|
|
1865
|
-
this.
|
|
1881
|
+
this._setOption({ name: 'max', value: v });
|
|
1866
1882
|
}
|
|
1867
1883
|
get disabledDates() {
|
|
1868
1884
|
return this._disabledDates;
|
|
1869
1885
|
}
|
|
1870
1886
|
set disabledDates(v) {
|
|
1871
|
-
this.
|
|
1887
|
+
this._setOption({ name: 'disabledDates', value: v });
|
|
1872
1888
|
}
|
|
1873
1889
|
get holidayDates() {
|
|
1874
1890
|
return this._holidayDates;
|
|
1875
1891
|
}
|
|
1876
1892
|
set holidayDates(v) {
|
|
1877
|
-
this.
|
|
1893
|
+
this._setOption({ name: 'holidayDates', value: v });
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarBaseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1897
|
+
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarBaseComponent });
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
1899
|
+
type: Injectable
|
|
1900
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeViewChange: [{
|
|
1901
|
+
type: Output
|
|
1902
|
+
}], activeView: [{
|
|
1903
|
+
type: Input
|
|
1904
|
+
}], depthChange: [{
|
|
1905
|
+
type: Output
|
|
1906
|
+
}], depth: [{
|
|
1907
|
+
type: Input
|
|
1908
|
+
}], minChange: [{
|
|
1909
|
+
type: Output
|
|
1910
|
+
}], min: [{
|
|
1911
|
+
type: Input
|
|
1912
|
+
}], maxChange: [{
|
|
1913
|
+
type: Output
|
|
1914
|
+
}], max: [{
|
|
1915
|
+
type: Input
|
|
1916
|
+
}], disabledDatesChange: [{
|
|
1917
|
+
type: Output
|
|
1918
|
+
}], disabledDates: [{
|
|
1919
|
+
type: Input
|
|
1920
|
+
}], holidayDatesChange: [{
|
|
1921
|
+
type: Output
|
|
1922
|
+
}], holidayDates: [{
|
|
1923
|
+
type: Input
|
|
1924
|
+
}] } });
|
|
1925
|
+
const CALENDAR_INPUTS = [
|
|
1926
|
+
'depth',
|
|
1927
|
+
'activeView',
|
|
1928
|
+
'min',
|
|
1929
|
+
'max',
|
|
1930
|
+
'disabledDates',
|
|
1931
|
+
'holidayDates',
|
|
1932
|
+
];
|
|
1933
|
+
const CALENDAR_OUTPUTS = ['depthChange'];
|
|
1934
|
+
|
|
1935
|
+
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
1936
|
+
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
1937
|
+
constructor(elementRef, cdr) {
|
|
1938
|
+
super(elementRef, cdr);
|
|
1939
|
+
this.cdr = cdr;
|
|
1940
|
+
this._today = new AXDateTime(new Date());
|
|
1941
|
+
this._navText = '';
|
|
1942
|
+
this._todayText = '';
|
|
1943
|
+
this._slots = [];
|
|
1944
|
+
}
|
|
1945
|
+
get _viewRange() {
|
|
1946
|
+
const current = this._viewStartDate || this._today;
|
|
1947
|
+
switch (this.activeView) {
|
|
1948
|
+
case 'years':
|
|
1949
|
+
let y = current.startOf('year').year;
|
|
1950
|
+
let min = y - (y % 10) - 1;
|
|
1951
|
+
let max = min + 11;
|
|
1952
|
+
return new AXDateTimeRange(AXDateTime.convert(new Date(min, 0), this._today.calendar.name()), AXDateTime.convert(new Date(max, 0), this._today.calendar.name()));
|
|
1953
|
+
case 'months':
|
|
1954
|
+
//TODO: check add month function
|
|
1955
|
+
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
1956
|
+
default:
|
|
1957
|
+
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
1958
|
+
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
1959
|
+
}
|
|
1878
1960
|
}
|
|
1879
1961
|
onInit() {
|
|
1880
1962
|
this.goToday();
|
|
@@ -1996,6 +2078,11 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
1996
2078
|
else if (this.activeView == 'months')
|
|
1997
2079
|
this.activeView = 'years';
|
|
1998
2080
|
}
|
|
2081
|
+
_onOptionChanged(option) {
|
|
2082
|
+
if (option.name == 'depth' || option.name == 'activeView') {
|
|
2083
|
+
this._genearteSlots();
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
1999
2086
|
_onValueChanged(oldValue, newValue) {
|
|
2000
2087
|
this._genearteSlots();
|
|
2001
2088
|
}
|
|
@@ -2033,7 +2120,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2033
2120
|
}
|
|
2034
2121
|
isDisabled(date) {
|
|
2035
2122
|
if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {
|
|
2036
|
-
|
|
2123
|
+
;
|
|
2037
2124
|
return this.disabledDates.some(d => date.equal(d, 'day'));
|
|
2038
2125
|
}
|
|
2039
2126
|
else if (typeof this.disabledDates == 'function') {
|
|
@@ -2054,33 +2141,12 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2054
2141
|
return date.dayOfWeek == 7 || date.dayOfWeek == 1;
|
|
2055
2142
|
}
|
|
2056
2143
|
}
|
|
2057
|
-
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2058
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2144
|
+
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2145
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCalendarComponent, selector: "ax-calendar", inputs: { readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", disabled: "disabled", tabIndex: "tabIndex", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2060
2147
|
type: Component,
|
|
2061
|
-
args: [{
|
|
2062
|
-
|
|
2063
|
-
templateUrl: './calendar.component.html',
|
|
2064
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2065
|
-
inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS],
|
|
2066
|
-
outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT],
|
|
2067
|
-
encapsulation: ViewEncapsulation.None,
|
|
2068
|
-
}]
|
|
2069
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { activeView: [{
|
|
2070
|
-
type: Input
|
|
2071
|
-
}], depthChange: [{
|
|
2072
|
-
type: Output
|
|
2073
|
-
}], depth: [{
|
|
2074
|
-
type: Input
|
|
2075
|
-
}], min: [{
|
|
2076
|
-
type: Input
|
|
2077
|
-
}], max: [{
|
|
2078
|
-
type: Input
|
|
2079
|
-
}], disabledDates: [{
|
|
2080
|
-
type: Input
|
|
2081
|
-
}], holidayDates: [{
|
|
2082
|
-
type: Input
|
|
2083
|
-
}], __hostClass: [{
|
|
2148
|
+
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\" (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\" [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\" \r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div>SU</div>\r\n <div>MO</div>\r\n <div>TU</div>\r\n <div>WE</div>\r\n <div>TH</div>\r\n <div>FR</div>\r\n <div>SA</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick(slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\" (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>" }]
|
|
2149
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
2084
2150
|
type: HostBinding,
|
|
2085
2151
|
args: ['class']
|
|
2086
2152
|
}] } });
|
|
@@ -2089,10 +2155,10 @@ const COMPONENT$i = [AXCalendarComponent];
|
|
|
2089
2155
|
const MODULES$i = [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule];
|
|
2090
2156
|
class AXCalendarModule {
|
|
2091
2157
|
}
|
|
2092
|
-
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2093
|
-
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2094
|
-
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2158
|
+
AXCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2159
|
+
AXCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarModule, declarations: [AXCalendarComponent], imports: [CommonModule, AXButtonModule, AXIconModule, AXEditorDecoratorModule, AXDateTimeModule], exports: [AXCalendarComponent] });
|
|
2160
|
+
AXCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarModule, providers: [], imports: [[...MODULES$i]] });
|
|
2161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCalendarModule, decorators: [{
|
|
2096
2162
|
type: NgModule,
|
|
2097
2163
|
args: [{
|
|
2098
2164
|
declarations: [...COMPONENT$i],
|
|
@@ -2104,9 +2170,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2104
2170
|
|
|
2105
2171
|
class AXCarouselCore {
|
|
2106
2172
|
}
|
|
2107
|
-
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2108
|
-
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2173
|
+
AXCarouselCore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselCore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2174
|
+
AXCarouselCore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselCore });
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselCore, decorators: [{
|
|
2110
2176
|
type: Injectable
|
|
2111
2177
|
}] });
|
|
2112
2178
|
|
|
@@ -2330,8 +2396,7 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2330
2396
|
this._visibleIndex = v;
|
|
2331
2397
|
}
|
|
2332
2398
|
get items() {
|
|
2333
|
-
|
|
2334
|
-
return (_a = this._items) !== null && _a !== void 0 ? _a : [];
|
|
2399
|
+
return this._items ?? [];
|
|
2335
2400
|
}
|
|
2336
2401
|
set items(v) {
|
|
2337
2402
|
const oldValue = this.items.slice();
|
|
@@ -2371,24 +2436,17 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2371
2436
|
this.core.destroy();
|
|
2372
2437
|
}
|
|
2373
2438
|
}
|
|
2374
|
-
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2375
|
-
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2439
|
+
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: AXCarouselCore }], target: i0.ɵɵFactoryTarget.Component });
|
|
2440
|
+
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCarouselComponent, selector: "ax-carousel", inputs: { pageSize: "pageSize", gap: "gap", autoplay: "autoplay", interval: "interval", padding: "padding", centered: "centered", vertical: "vertical", loop: "loop", rewind: "rewind" }, outputs: { onOptionsChanged: "onOptionsChanged", onSlideChanged: "onSlideChanged", pageSizeChange: "pageSizeChange", autoplayChange: "autoplayChange", intervalChange: "intervalChange", paddingChange: "paddingChange", centeredChange: "centeredChange", verticalChange: "verticalChange", loopChange: "loopChange", rewindChange: "rewindChange", onItemsChanged: "onItemsChanged" }, host: { classAttribute: "ax-carousel" }, providers: [{
|
|
2376
2441
|
provide: AXCarouselCore,
|
|
2377
2442
|
useClass: AXCarouselSplideJS
|
|
2378
2443
|
}], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-carousel-list-container\">\r\n <div class=\"ax-carousel-list\">\r\n <ng-content select=\"ax-carousel-item\">\r\n </ng-content>\r\n </div>\r\n <ng-content select=\"ax-carousel-arrows\">\r\n </ng-content>\r\n</div>\r\n\r\n<ng-content select=\"ax-carousel-pager\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselComponent, decorators: [{
|
|
2380
2445
|
type: Component,
|
|
2381
|
-
args: [{
|
|
2382
|
-
selector: 'ax-carousel',
|
|
2383
|
-
templateUrl: './carousel.component.html',
|
|
2384
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2385
|
-
encapsulation: ViewEncapsulation.None,
|
|
2386
|
-
host: { class: 'ax-carousel' },
|
|
2387
|
-
providers: [{
|
|
2446
|
+
args: [{ selector: 'ax-carousel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-carousel' }, providers: [{
|
|
2388
2447
|
provide: AXCarouselCore,
|
|
2389
2448
|
useClass: AXCarouselSplideJS
|
|
2390
|
-
}]
|
|
2391
|
-
}]
|
|
2449
|
+
}], template: "<div class=\"ax-carousel-list-container\">\r\n <div class=\"ax-carousel-list\">\r\n <ng-content select=\"ax-carousel-item\">\r\n </ng-content>\r\n </div>\r\n <ng-content select=\"ax-carousel-arrows\">\r\n </ng-content>\r\n</div>\r\n\r\n<ng-content select=\"ax-carousel-pager\">\r\n</ng-content>" }]
|
|
2392
2450
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: AXCarouselCore }]; }, propDecorators: { onOptionsChanged: [{
|
|
2393
2451
|
type: Output
|
|
2394
2452
|
}], onSlideChanged: [{
|
|
@@ -2436,9 +2494,9 @@ class AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
|
2436
2494
|
super(elementRef, cdr);
|
|
2437
2495
|
}
|
|
2438
2496
|
}
|
|
2439
|
-
AXCarouselItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2440
|
-
AXCarouselItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2497
|
+
AXCarouselItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2498
|
+
AXCarouselItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCarouselItemComponent, selector: "ax-carousel-item", host: { classAttribute: "ax-carousel-item" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselItemComponent, decorators: [{
|
|
2442
2500
|
type: Component,
|
|
2443
2501
|
args: [{
|
|
2444
2502
|
selector: 'ax-carousel-item',
|
|
@@ -2465,8 +2523,8 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
|
2465
2523
|
this.parent.next();
|
|
2466
2524
|
}
|
|
2467
2525
|
}
|
|
2468
|
-
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2469
|
-
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2526
|
+
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselArrowsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2527
|
+
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCarouselArrowsComponent, selector: "ax-carousel-arrows", outputs: { onNextClick: "onNextClick", onPrevClick: "onPrevClick" }, host: { classAttribute: "ax-carousel-arrows" }, usesInheritance: true, ngImport: i0, template: `
|
|
2470
2528
|
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
2471
2529
|
<i class="ax-ic ax-ic-keyboard-arrow-left"></i>
|
|
2472
2530
|
</button>
|
|
@@ -2474,7 +2532,7 @@ AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
2474
2532
|
<i class="ax-ic ax-ic-keyboard-arrow-right"></i>
|
|
2475
2533
|
</button>
|
|
2476
2534
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselArrowsComponent, decorators: [{
|
|
2478
2536
|
type: Component,
|
|
2479
2537
|
args: [{
|
|
2480
2538
|
selector: 'ax-carousel-arrows',
|
|
@@ -2548,12 +2606,12 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
2548
2606
|
});
|
|
2549
2607
|
}
|
|
2550
2608
|
}
|
|
2551
|
-
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2552
|
-
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2609
|
+
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselPagerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2610
|
+
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0, template: `
|
|
2553
2611
|
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
2554
2612
|
</button>
|
|
2555
2613
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
2557
2615
|
type: Component,
|
|
2558
2616
|
args: [{
|
|
2559
2617
|
selector: 'ax-carousel-pager',
|
|
@@ -2571,10 +2629,10 @@ const COMPONENT$h = [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArr
|
|
|
2571
2629
|
const MODULES$h = [CommonModule];
|
|
2572
2630
|
class AXCarouselModule {
|
|
2573
2631
|
}
|
|
2574
|
-
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2575
|
-
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2576
|
-
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2632
|
+
AXCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2633
|
+
AXCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselModule, declarations: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent], imports: [CommonModule], exports: [AXCarouselComponent, AXCarouselItemComponent, AXCarouselArrowsComponent, AXCarouselPagerComponent] });
|
|
2634
|
+
AXCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselModule, providers: [], imports: [[...MODULES$h]] });
|
|
2635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCarouselModule, decorators: [{
|
|
2578
2636
|
type: NgModule,
|
|
2579
2637
|
args: [{
|
|
2580
2638
|
declarations: [...COMPONENT$h],
|
|
@@ -2589,9 +2647,9 @@ class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
|
2589
2647
|
super(elementRef, cdr);
|
|
2590
2648
|
}
|
|
2591
2649
|
}
|
|
2592
|
-
AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2593
|
-
AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2650
|
+
AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2651
|
+
AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormFieldComponent, selector: "ax-form-field", usesInheritance: true, ngImport: i0, template: '<div class="ax-form-field"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
2595
2653
|
type: Component,
|
|
2596
2654
|
args: [{
|
|
2597
2655
|
selector: 'ax-form-field',
|
|
@@ -2606,13 +2664,13 @@ class AXFormHintComponent extends AXBaseComponentMixin {
|
|
|
2606
2664
|
super(elementRef, cdr);
|
|
2607
2665
|
}
|
|
2608
2666
|
}
|
|
2609
|
-
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2610
|
-
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2667
|
+
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2668
|
+
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
2612
2670
|
type: Component,
|
|
2613
2671
|
args: [{
|
|
2614
2672
|
selector: 'ax-form-hint',
|
|
2615
|
-
template: ' <p class="ax-text-
|
|
2673
|
+
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
2616
2674
|
encapsulation: ViewEncapsulation.None,
|
|
2617
2675
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2618
2676
|
}]
|
|
@@ -2654,9 +2712,9 @@ class AXFormComponent extends AXBaseComponentMixin {
|
|
|
2654
2712
|
});
|
|
2655
2713
|
}
|
|
2656
2714
|
}
|
|
2657
|
-
AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2658
|
-
AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2715
|
+
AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2716
|
+
AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXFormComponent, selector: "ax-form", usesInheritance: true, ngImport: i0, template: '<div class="ax-form"><ng-content></ng-content></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
2660
2718
|
type: Component,
|
|
2661
2719
|
args: [{
|
|
2662
2720
|
selector: 'ax-form',
|
|
@@ -2668,10 +2726,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2668
2726
|
|
|
2669
2727
|
class AXFormModule {
|
|
2670
2728
|
}
|
|
2671
|
-
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2672
|
-
AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2673
|
-
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2729
|
+
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2730
|
+
AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, declarations: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent], imports: [CommonModule], exports: [AXFormFieldComponent, AXFormComponent, AXFormHintComponent] });
|
|
2731
|
+
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
2732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, decorators: [{
|
|
2675
2733
|
type: NgModule,
|
|
2676
2734
|
args: [{
|
|
2677
2735
|
imports: [CommonModule],
|
|
@@ -2686,26 +2744,21 @@ class AXLabelComponent extends AXBaseComponentMixin {
|
|
|
2686
2744
|
super(elementRef, cdr);
|
|
2687
2745
|
}
|
|
2688
2746
|
}
|
|
2689
|
-
AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2690
|
-
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2747
|
+
AXLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2748
|
+
AXLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXLabelComponent, selector: "ax-label", usesInheritance: true, ngImport: i0, template: "<label>\r\n <ng-content></ng-content>\r\n</label>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelComponent, decorators: [{
|
|
2692
2750
|
type: Component,
|
|
2693
|
-
args: [{
|
|
2694
|
-
selector: 'ax-label',
|
|
2695
|
-
templateUrl: './label.component.html',
|
|
2696
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2697
|
-
encapsulation: ViewEncapsulation.None
|
|
2698
|
-
}]
|
|
2751
|
+
args: [{ selector: 'ax-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<label>\r\n <ng-content></ng-content>\r\n</label>" }]
|
|
2699
2752
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2700
2753
|
|
|
2701
2754
|
const COMPONENT$g = [AXLabelComponent];
|
|
2702
2755
|
const MODULES$g = [CommonModule];
|
|
2703
2756
|
class AXLabelModule {
|
|
2704
2757
|
}
|
|
2705
|
-
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2706
|
-
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2707
|
-
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2758
|
+
AXLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2759
|
+
AXLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, declarations: [AXLabelComponent], imports: [CommonModule], exports: [AXLabelComponent] });
|
|
2760
|
+
AXLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, providers: [], imports: [[...MODULES$g]] });
|
|
2761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLabelModule, decorators: [{
|
|
2709
2762
|
type: NgModule,
|
|
2710
2763
|
args: [{
|
|
2711
2764
|
declarations: [...COMPONENT$g],
|
|
@@ -2721,13 +2774,12 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2721
2774
|
}
|
|
2722
2775
|
onInit() {
|
|
2723
2776
|
super.onInit();
|
|
2724
|
-
|
|
2777
|
+
;
|
|
2725
2778
|
if (!this.allowNull && this.value == null) {
|
|
2726
2779
|
this.value = false;
|
|
2727
2780
|
}
|
|
2728
2781
|
}
|
|
2729
2782
|
_onValueChanging(value) {
|
|
2730
|
-
debugger;
|
|
2731
2783
|
if (this.allowNull && value == null) {
|
|
2732
2784
|
this._stateIndeterminate = true;
|
|
2733
2785
|
}
|
|
@@ -2738,7 +2790,7 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2738
2790
|
return value;
|
|
2739
2791
|
}
|
|
2740
2792
|
_handleOnClickEvent(e) {
|
|
2741
|
-
|
|
2793
|
+
;
|
|
2742
2794
|
if (this.readonly || this.disabled) {
|
|
2743
2795
|
e.preventDefault();
|
|
2744
2796
|
e.stopPropagation();
|
|
@@ -2746,18 +2798,11 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
|
2746
2798
|
}
|
|
2747
2799
|
}
|
|
2748
2800
|
}
|
|
2749
|
-
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2750
|
-
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2801
|
+
AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2802
|
+
AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, queries: [{ propertyName: "_hint", predicate: AXFormHintComponent }, { propertyName: "_label", predicate: AXLabelComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <div class=\"ax-wrapper ax-flex ax-flex-row \" [class.ax-items-center]=\"_hint.length==0\"\r\n [class.ax-items-start]=\"_hint.length>=0\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"disabled\">\r\n <input [id]=\"id\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-suffix ax-ms-3\" *ngIf=\"_label.length||_hint.length\">\r\n <div *ngIf=\"_label.length\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n </div>\r\n <div *ngIf=\"_hint.length\">\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n </div>\r\n</div> -->\r\n\r\n<div class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", directives: [{ type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
|
|
2752
2804
|
type: Component,
|
|
2753
|
-
args: [{
|
|
2754
|
-
selector: 'ax-check-box',
|
|
2755
|
-
templateUrl: './checkbox.component.html',
|
|
2756
|
-
inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS],
|
|
2757
|
-
outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT],
|
|
2758
|
-
encapsulation: ViewEncapsulation.None,
|
|
2759
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2760
|
-
}]
|
|
2805
|
+
args: [{ selector: 'ax-check-box', inputs: [...INTERACTIVE_INPUTS, ...VALUE_INPUTS], outputs: [...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- <div class=\"ax-wrapper ax-flex ax-flex-row \" [class.ax-items-center]=\"_hint.length==0\"\r\n [class.ax-items-start]=\"_hint.length>=0\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"disabled\">\r\n <input [id]=\"id\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <div class=\"ax-suffix ax-ms-3\" *ngIf=\"_label.length||_hint.length\">\r\n <div *ngIf=\"_label.length\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n </div>\r\n <div *ngIf=\"_hint.length\">\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n </div>\r\n</div> -->\r\n\r\n<div class=\"ax-flex ax-items-start\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id\" class=\"ax-h-4 ax-w-4\" type=\"checkbox\" [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\" [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <ng-content select=\"ax-label\"></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
2761
2806
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _hint: [{
|
|
2762
2807
|
type: ContentChildren,
|
|
2763
2808
|
args: [AXFormHintComponent]
|
|
@@ -2768,10 +2813,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2768
2813
|
|
|
2769
2814
|
class AXCheckBoxModule {
|
|
2770
2815
|
}
|
|
2771
|
-
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2772
|
-
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2773
|
-
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2816
|
+
AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2817
|
+
AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule], exports: [AXCheckBoxComponent] });
|
|
2818
|
+
AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxModule, providers: [], imports: [[CommonModule, FormsModule]] });
|
|
2819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCheckBoxModule, decorators: [{
|
|
2775
2820
|
type: NgModule,
|
|
2776
2821
|
args: [{
|
|
2777
2822
|
declarations: [AXCheckBoxComponent],
|
|
@@ -2825,19 +2870,11 @@ class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
|
2825
2870
|
}, 100);
|
|
2826
2871
|
}
|
|
2827
2872
|
}
|
|
2828
|
-
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2829
|
-
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2873
|
+
AXDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2874
|
+
AXDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDataListComponent, selector: "ax-datalist", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", items: "items", pageSize: "pageSize", itemTemplate: "itemTemplate", emptyTemplate: "emptyTemplate", loadingTemplate: "loadingTemplate" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { classAttribute: "ax-list ax-list-container" }, queries: [{ propertyName: "_contentItemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "_contentEmptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, static: true }, { propertyName: "_contentloadingTemplate", first: true, predicate: ["loadingTemplate"], descendants: true, static: true }], viewQueries: [{ propertyName: "_container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListComponent, decorators: [{
|
|
2831
2876
|
type: Component,
|
|
2832
|
-
args: [{
|
|
2833
|
-
selector: 'ax-datalist',
|
|
2834
|
-
templateUrl: './datalist.component.html',
|
|
2835
|
-
inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', 'items', 'pageSize'],
|
|
2836
|
-
outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
|
|
2837
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2838
|
-
encapsulation: ViewEncapsulation.None,
|
|
2839
|
-
host: { class: 'ax-list ax-list-container' }
|
|
2840
|
-
}]
|
|
2877
|
+
args: [{ selector: 'ax-datalist', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', 'items', 'pageSize'], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-list ax-list-container' }, template: "<div class=\"ax-list-items-container ax-default ax-vertical\" (scroll)=\"_handleListScroll($event)\" #container>\r\n <ng-container *ngFor=\"let item of displayItems;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else elseTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ item ? _getItemDisplayTextTemplte(item) : 'Loading...'}}\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>" }]
|
|
2841
2878
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _container: [{
|
|
2842
2879
|
type: ViewChild,
|
|
2843
2880
|
args: ['container']
|
|
@@ -2862,10 +2899,10 @@ const COMPONENT$f = [AXDataListComponent];
|
|
|
2862
2899
|
const MODULES$f = [CommonModule, AXButtonModule];
|
|
2863
2900
|
class AXDataListModule {
|
|
2864
2901
|
}
|
|
2865
|
-
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2866
|
-
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2867
|
-
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2902
|
+
AXDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2903
|
+
AXDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListModule, declarations: [AXDataListComponent], imports: [CommonModule, AXButtonModule], exports: [AXDataListComponent] });
|
|
2904
|
+
AXDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListModule, providers: [], imports: [[...MODULES$f]] });
|
|
2905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDataListModule, decorators: [{
|
|
2869
2906
|
type: NgModule,
|
|
2870
2907
|
args: [{
|
|
2871
2908
|
declarations: [...COMPONENT$f],
|
|
@@ -2969,11 +3006,10 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
2969
3006
|
}
|
|
2970
3007
|
//
|
|
2971
3008
|
onDestroy() {
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
(_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
3009
|
+
this._overlayRef?.detach();
|
|
3010
|
+
this._overlayRef?.dispose();
|
|
2975
3011
|
this._subs.forEach(s => {
|
|
2976
|
-
s
|
|
3012
|
+
s?.unsubscribe();
|
|
2977
3013
|
});
|
|
2978
3014
|
}
|
|
2979
3015
|
_handleKeydownHandler(e) {
|
|
@@ -2993,11 +3029,10 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
2993
3029
|
}
|
|
2994
3030
|
//
|
|
2995
3031
|
close() {
|
|
2996
|
-
var _a;
|
|
2997
3032
|
if (!this.isOpen) {
|
|
2998
3033
|
return;
|
|
2999
3034
|
}
|
|
3000
|
-
|
|
3035
|
+
this._overlayRef?.detach();
|
|
3001
3036
|
this._emitOnClosedEvent();
|
|
3002
3037
|
}
|
|
3003
3038
|
//
|
|
@@ -3055,16 +3090,11 @@ class AXPopoverComponent extends AXBaseComponent {
|
|
|
3055
3090
|
this._subs.push(sub);
|
|
3056
3091
|
}
|
|
3057
3092
|
}
|
|
3058
|
-
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3059
|
-
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3093
|
+
AXPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$1.Overlay }, { token: i2.AXPlatform }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3094
|
+
AXPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXPopoverComponent, selector: "ax-popover", inputs: { target: "target", position: "position", openTrigger: "openTrigger", closeTrigger: "closeTrigger", hasBackdrop: "hasBackdrop", backdropClass: "backdropClass" }, host: { listeners: { "document:keydown": "_handleKeydownHandler($event)" } }, viewQueries: [{ propertyName: "_baseTemplate", first: true, predicate: ["baseTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverComponent, decorators: [{
|
|
3061
3096
|
type: Component,
|
|
3062
|
-
args: [{
|
|
3063
|
-
selector: 'ax-popover',
|
|
3064
|
-
templateUrl: './popover.component.html',
|
|
3065
|
-
encapsulation: ViewEncapsulation.None,
|
|
3066
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3067
|
-
}]
|
|
3097
|
+
args: [{ selector: 'ax-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #baseTemplate>\r\n <ng-content></ng-content>\r\n</ng-template>" }]
|
|
3068
3098
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$1.Overlay }, { type: i2.AXPlatform }, { type: i0.ViewContainerRef }]; }, propDecorators: { target: [{
|
|
3069
3099
|
type: Input
|
|
3070
3100
|
}], position: [{
|
|
@@ -3085,314 +3115,296 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3085
3115
|
args: ['document:keydown', ['$event']]
|
|
3086
3116
|
}] } });
|
|
3087
3117
|
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
args: [{
|
|
3096
|
-
declarations: [AXPopoverComponent],
|
|
3097
|
-
imports: [CommonModule],
|
|
3098
|
-
exports: [AXPopoverComponent],
|
|
3099
|
-
providers: []
|
|
3100
|
-
}]
|
|
3101
|
-
}] });
|
|
3102
|
-
|
|
3103
|
-
const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(AXBaseComponent));
|
|
3104
|
-
class AXBaseDropDownComponent extends AXBaseDropdownMixin {
|
|
3105
|
-
constructor() {
|
|
3106
|
-
super(...arguments);
|
|
3107
|
-
this.fitParent = true;
|
|
3108
|
-
this.onOpened = new EventEmitter();
|
|
3109
|
-
this.onClosed = new EventEmitter();
|
|
3110
|
-
this.position = [];
|
|
3118
|
+
const AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXCalendarBaseComponent))));
|
|
3119
|
+
class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
3120
|
+
constructor(_elementRef, _cdr) {
|
|
3121
|
+
super(_elementRef, _cdr);
|
|
3122
|
+
this.formatChange = new EventEmitter();
|
|
3123
|
+
this._format = 'YYYY-MM-dd';
|
|
3124
|
+
this._target = this._getHostElement();
|
|
3111
3125
|
}
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
//(this as any).focus();
|
|
3115
|
-
//
|
|
3116
|
-
this.onOpened.emit({
|
|
3117
|
-
component: this,
|
|
3118
|
-
htmlElement: this._getHostElement()
|
|
3119
|
-
});
|
|
3126
|
+
get format() {
|
|
3127
|
+
return this._format;
|
|
3120
3128
|
}
|
|
3121
|
-
|
|
3122
|
-
this.
|
|
3123
|
-
|
|
3124
|
-
|
|
3129
|
+
set format(v) {
|
|
3130
|
+
this._setOption({
|
|
3131
|
+
name: 'format',
|
|
3132
|
+
value: v
|
|
3125
3133
|
});
|
|
3126
3134
|
}
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
if (this.fitParent === true) {
|
|
3130
|
-
this.dropdownWidth = this._getInnerElement().offsetWidth;
|
|
3131
|
-
}
|
|
3132
|
-
}
|
|
3133
|
-
// wait for documentElement
|
|
3134
|
-
setTimeout(() => {
|
|
3135
|
-
if (this.position.length == 0) {
|
|
3136
|
-
const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
|
|
3137
|
-
const list = [
|
|
3138
|
-
{
|
|
3139
|
-
originX: 'start',
|
|
3140
|
-
originY: 'bottom',
|
|
3141
|
-
overlayX: 'start',
|
|
3142
|
-
overlayY: 'top',
|
|
3143
|
-
offsetY: offset
|
|
3144
|
-
},
|
|
3145
|
-
{
|
|
3146
|
-
originX: 'start',
|
|
3147
|
-
originY: 'top',
|
|
3148
|
-
overlayX: 'start',
|
|
3149
|
-
overlayY: 'bottom',
|
|
3150
|
-
offsetY: -offset
|
|
3151
|
-
}
|
|
3152
|
-
];
|
|
3153
|
-
this.position.push(...list);
|
|
3154
|
-
}
|
|
3155
|
-
}, 500);
|
|
3135
|
+
_handleArrowClickEvent(e) {
|
|
3136
|
+
this.toggle();
|
|
3156
3137
|
}
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
}
|
|
3138
|
+
_onValueChanged(oldValue, newValue) {
|
|
3139
|
+
this.displayText = newValue ? AXDateTime.convert(newValue).format(this._format) : null;
|
|
3140
|
+
this.close();
|
|
3161
3141
|
}
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3142
|
+
_handleOnKeydownEvent(e) {
|
|
3143
|
+
const ignore = () => {
|
|
3144
|
+
e.preventDefault();
|
|
3145
|
+
e.stopPropagation();
|
|
3146
|
+
};
|
|
3147
|
+
const nums = Array(10).fill(0).map((v, i) => i.toString());
|
|
3148
|
+
const chars = ['Backspace', 'ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter'];
|
|
3149
|
+
const input = e.target;
|
|
3150
|
+
const key = (e.key);
|
|
3151
|
+
const valStr = input.value;
|
|
3152
|
+
const sStart = input.selectionStart;
|
|
3153
|
+
const sEnd = input.selectionEnd;
|
|
3154
|
+
const dateVal = new AXDateTime(this.value);
|
|
3155
|
+
// //
|
|
3156
|
+
if (![...nums, ...chars].includes(key)) {
|
|
3157
|
+
ignore();
|
|
3165
3158
|
}
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3159
|
+
if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {
|
|
3160
|
+
const re = /[a-zA-Z0-9]+/ig;
|
|
3161
|
+
const next = Array.from(valStr.substr(sEnd).matchAll(re));
|
|
3162
|
+
const prev = Array.from(valStr.substring(0, sStart).matchAll(re));
|
|
3163
|
+
ignore();
|
|
3164
|
+
this._highlightPart(input, (e.key === 'ArrowRight' ? (sEnd + (next[0]?.index || 0)) : (prev[prev.length - 1]?.index)));
|
|
3165
|
+
}
|
|
3166
|
+
else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
|
|
3167
|
+
const re = /[a-zA-Z0-9]+/ig;
|
|
3168
|
+
const sign = e.key === 'ArrowUp' ? +1 : -1;
|
|
3169
|
+
const parts = Array.from(this.format.matchAll(re));
|
|
3170
|
+
const word = valStr.substring(sStart, sEnd);
|
|
3171
|
+
const part = parts[Array.from(valStr.matchAll(re)).findIndex(c => c[0] == word)];
|
|
3172
|
+
if (part) {
|
|
3173
|
+
switch (part[0]) {
|
|
3174
|
+
case 'dd':
|
|
3175
|
+
case 'DD':
|
|
3176
|
+
this.value = dateVal.add('day', sign).date;
|
|
3177
|
+
break;
|
|
3178
|
+
case 'mm':
|
|
3179
|
+
case 'MMM':
|
|
3180
|
+
case 'MMMM':
|
|
3181
|
+
this.value = dateVal.add('month', sign).date;
|
|
3182
|
+
break;
|
|
3183
|
+
case 'yy':
|
|
3184
|
+
case 'YYYY':
|
|
3185
|
+
this.value = dateVal.add('year', sign).date;
|
|
3186
|
+
break;
|
|
3187
|
+
}
|
|
3188
|
+
setTimeout(() => {
|
|
3189
|
+
this._highlightPart(input, sEnd - 1);
|
|
3190
|
+
}, Math.max(10, this.debounceTime));
|
|
3191
|
+
}
|
|
3192
|
+
ignore();
|
|
3172
3193
|
}
|
|
3173
|
-
|
|
3174
|
-
|
|
3194
|
+
else if (e.key == 'Backspace') {
|
|
3195
|
+
if (this.allowNull) {
|
|
3196
|
+
this.value = null;
|
|
3197
|
+
}
|
|
3198
|
+
ignore();
|
|
3199
|
+
}
|
|
3200
|
+
// else if (nums.includes(key)) {
|
|
3201
|
+
// }
|
|
3202
|
+
// super._emitOnKeydownEvent(e);
|
|
3175
3203
|
}
|
|
3176
|
-
|
|
3177
|
-
|
|
3204
|
+
_handleOnInputClickEvent(e) {
|
|
3205
|
+
const input = e.target;
|
|
3206
|
+
this._highlightPart(input);
|
|
3207
|
+
e.preventDefault();
|
|
3208
|
+
e.stopPropagation();
|
|
3209
|
+
}
|
|
3210
|
+
_highlightPart(input, pos) {
|
|
3211
|
+
const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart);
|
|
3212
|
+
input.setSelectionRange(start, end);
|
|
3178
3213
|
}
|
|
3179
3214
|
}
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3183
|
-
type:
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
}],
|
|
3189
|
-
type: Output
|
|
3190
|
-
}], onClosed: [{
|
|
3215
|
+
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3216
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name", placeholder: "placeholder", maxLength: "maxLength", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ax-calendar \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [(value)]=\"value\"\r\n (onValueChanged)=\"_emitOnValueChangedEvent($event)\"\r\n [min]=\"min\"\r\n [min]=\"max\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n >\r\n\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange"] }], directives: [{ type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
3218
|
+
type: Component,
|
|
3219
|
+
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ax-calendar \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [(value)]=\"value\"\r\n (onValueChanged)=\"_emitOnValueChangedEvent($event)\"\r\n [min]=\"min\"\r\n [min]=\"max\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n >\r\n\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>" }]
|
|
3220
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
3221
|
+
type: ViewChild,
|
|
3222
|
+
args: [AXPopoverComponent]
|
|
3223
|
+
}], formatChange: [{
|
|
3191
3224
|
type: Output
|
|
3192
|
-
}],
|
|
3225
|
+
}], format: [{
|
|
3193
3226
|
type: Input
|
|
3194
3227
|
}] } });
|
|
3195
3228
|
|
|
3196
|
-
class
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3229
|
+
class AXPopoverModule {
|
|
3230
|
+
}
|
|
3231
|
+
AXPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3232
|
+
AXPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverModule, declarations: [AXPopoverComponent], imports: [CommonModule], exports: [AXPopoverComponent] });
|
|
3233
|
+
AXPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverModule, providers: [], imports: [[CommonModule]] });
|
|
3234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopoverModule, decorators: [{
|
|
3235
|
+
type: NgModule,
|
|
3236
|
+
args: [{
|
|
3237
|
+
declarations: [AXPopoverComponent],
|
|
3238
|
+
imports: [CommonModule],
|
|
3239
|
+
exports: [AXPopoverComponent],
|
|
3240
|
+
providers: []
|
|
3241
|
+
}]
|
|
3242
|
+
}] });
|
|
3243
|
+
|
|
3244
|
+
class AXInputMaskComponent {
|
|
3245
|
+
constructor() {
|
|
3246
|
+
this.showMaskTyped = false;
|
|
3247
|
+
this.clearIfNotMatch = false;
|
|
3200
3248
|
}
|
|
3201
|
-
|
|
3202
|
-
this.
|
|
3249
|
+
get prefix() {
|
|
3250
|
+
return this._prefix || '';
|
|
3251
|
+
}
|
|
3252
|
+
set prefix(v) {
|
|
3253
|
+
this._prefix = v;
|
|
3254
|
+
}
|
|
3255
|
+
get suffix() {
|
|
3256
|
+
return this._suffix || '';
|
|
3257
|
+
}
|
|
3258
|
+
set suffix(v) {
|
|
3259
|
+
this._suffix = v;
|
|
3203
3260
|
}
|
|
3204
3261
|
}
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3262
|
+
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3263
|
+
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
3208
3265
|
type: Component,
|
|
3209
3266
|
args: [{
|
|
3210
|
-
selector: 'ax-
|
|
3211
|
-
|
|
3212
|
-
|
|
3267
|
+
selector: 'ax-input-mask',
|
|
3268
|
+
template: '',
|
|
3269
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3213
3270
|
encapsulation: ViewEncapsulation.None,
|
|
3214
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3215
3271
|
}]
|
|
3216
|
-
}],
|
|
3217
|
-
type:
|
|
3218
|
-
|
|
3272
|
+
}], propDecorators: { prefix: [{
|
|
3273
|
+
type: Input
|
|
3274
|
+
}], suffix: [{
|
|
3275
|
+
type: Input
|
|
3276
|
+
}], showMaskTyped: [{
|
|
3277
|
+
type: Input
|
|
3278
|
+
}], clearIfNotMatch: [{
|
|
3279
|
+
type: Input
|
|
3280
|
+
}], mask: [{
|
|
3281
|
+
type: Input
|
|
3219
3282
|
}] } });
|
|
3220
3283
|
|
|
3221
|
-
|
|
3284
|
+
const COMPONENT$e = [AXInputMaskComponent];
|
|
3285
|
+
const MODULES$e = [CommonModule, NgxMaskModule.forRoot()];
|
|
3286
|
+
class AXInputMaskModule {
|
|
3287
|
+
}
|
|
3288
|
+
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3289
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$2.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
3290
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES$e]] });
|
|
3291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
3292
|
+
type: NgModule,
|
|
3293
|
+
args: [{
|
|
3294
|
+
declarations: [...COMPONENT$e],
|
|
3295
|
+
imports: [...MODULES$e],
|
|
3296
|
+
exports: [...COMPONENT$e],
|
|
3297
|
+
providers: [],
|
|
3298
|
+
}]
|
|
3299
|
+
}] });
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
3303
|
+
*
|
|
3304
|
+
* @category Components
|
|
3305
|
+
*/
|
|
3306
|
+
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
3307
|
+
/**
|
|
3308
|
+
* @ignore
|
|
3309
|
+
*/
|
|
3222
3310
|
constructor(elementRef, cdr) {
|
|
3223
3311
|
super(elementRef, cdr);
|
|
3224
|
-
this.dayItems = new Array(32);
|
|
3225
|
-
this.yearItems = [1990];
|
|
3226
|
-
this.monthItems = [
|
|
3227
|
-
'January',
|
|
3228
|
-
'February',
|
|
3229
|
-
'March',
|
|
3230
|
-
'April',
|
|
3231
|
-
'May',
|
|
3232
|
-
'June',
|
|
3233
|
-
'July',
|
|
3234
|
-
'August',
|
|
3235
|
-
'September',
|
|
3236
|
-
'October',
|
|
3237
|
-
'November',
|
|
3238
|
-
'December',
|
|
3239
|
-
];
|
|
3240
|
-
this._showDays = true;
|
|
3241
|
-
this._showsMonths = false;
|
|
3242
|
-
this._showYears = false;
|
|
3243
|
-
this.createYears();
|
|
3244
|
-
}
|
|
3245
|
-
showMonths() {
|
|
3246
|
-
this._showDays = false;
|
|
3247
|
-
this._showYears = false;
|
|
3248
|
-
this._showsMonths = true;
|
|
3249
|
-
}
|
|
3250
|
-
showYears() {
|
|
3251
|
-
this._showsMonths = false;
|
|
3252
|
-
this._showDays = false;
|
|
3253
|
-
this._showYears = true;
|
|
3254
3312
|
}
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
this.
|
|
3258
|
-
this._showDays = true;
|
|
3259
|
-
}
|
|
3260
|
-
createYears() {
|
|
3261
|
-
let number = 1990;
|
|
3262
|
-
for (let i = 0; i < 40; i++) {
|
|
3263
|
-
number = number + 1;
|
|
3264
|
-
this.yearItems.push(number);
|
|
3265
|
-
}
|
|
3313
|
+
//TODO: prefix suffix text
|
|
3314
|
+
get hostClass() {
|
|
3315
|
+
return `${this.cssClass} ax-${this.size}`;
|
|
3266
3316
|
}
|
|
3267
3317
|
}
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3318
|
+
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3319
|
+
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$2.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
3271
3321
|
type: Component,
|
|
3272
|
-
args: [{
|
|
3273
|
-
selector: 'ax-date-picker',
|
|
3274
|
-
templateUrl: './datepicker.component.html',
|
|
3275
|
-
inputs: [
|
|
3322
|
+
args: [{ selector: 'ax-text-box', inputs: [
|
|
3276
3323
|
'disabled',
|
|
3277
3324
|
'readonly',
|
|
3278
3325
|
'tabIndex',
|
|
3279
3326
|
'cssClass',
|
|
3280
3327
|
'size',
|
|
3281
3328
|
...TEXTBOX_INPUTS,
|
|
3282
|
-
],
|
|
3283
|
-
outputs: [
|
|
3329
|
+
], outputs: [
|
|
3284
3330
|
'valueChange',
|
|
3285
3331
|
'onValueChanged',
|
|
3286
3332
|
'onBlur',
|
|
3287
3333
|
'onFocus',
|
|
3288
3334
|
...TEXTBOX_OUTPUT,
|
|
3289
|
-
],
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
class
|
|
3296
|
-
constructor(elementRef, cdr, _parent) {
|
|
3297
|
-
super(elementRef, cdr);
|
|
3298
|
-
this._parent = _parent;
|
|
3299
|
-
this.onItemClick = new EventEmitter();
|
|
3300
|
-
this._needBorder = false;
|
|
3301
|
-
this._subs = [];
|
|
3302
|
-
this._target = this._parent._getHostElement();
|
|
3303
|
-
}
|
|
3304
|
-
get items() {
|
|
3305
|
-
return this._items || [];
|
|
3306
|
-
}
|
|
3307
|
-
set items(v) {
|
|
3308
|
-
this._items = v;
|
|
3309
|
-
this._cdr.markForCheck();
|
|
3310
|
-
}
|
|
3311
|
-
_getAllButtons() {
|
|
3312
|
-
return [...Array.from(this._viewButtons), ...Array.from(this._contentButtons)];
|
|
3313
|
-
}
|
|
3314
|
-
onViewInit() {
|
|
3315
|
-
super.onViewInit();
|
|
3316
|
-
this._getAllButtons().forEach(c => {
|
|
3317
|
-
this._needBorder = true;
|
|
3318
|
-
this._subs.push(c.onClick.subscribe(this._handleOnItemClick.bind(this)));
|
|
3319
|
-
this._cdr.markForCheck();
|
|
3320
|
-
});
|
|
3321
|
-
}
|
|
3322
|
-
onDestroy() {
|
|
3323
|
-
this._subs.forEach(s => {
|
|
3324
|
-
s === null || s === void 0 ? void 0 : s.unsubscribe();
|
|
3325
|
-
});
|
|
3326
|
-
}
|
|
3327
|
-
_emitOnItemClickEvent(e, item) {
|
|
3328
|
-
this.onItemClick.emit({
|
|
3329
|
-
component: this,
|
|
3330
|
-
htmlElement: this._getHostElement(),
|
|
3331
|
-
nativeEvent: e.nativeEvent,
|
|
3332
|
-
name: item.name,
|
|
3333
|
-
data: item.data,
|
|
3334
|
-
});
|
|
3335
|
-
}
|
|
3336
|
-
_handleOnItemClick(e) {
|
|
3337
|
-
this.close();
|
|
3338
|
-
this._emitOnItemClickEvent(e, e.component);
|
|
3339
|
-
}
|
|
3340
|
-
}
|
|
3341
|
-
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3342
|
-
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
3344
|
-
type: Component,
|
|
3345
|
-
args: [{
|
|
3346
|
-
selector: 'ax-dropdown-panel',
|
|
3347
|
-
templateUrl: './dropdown-panel.component.html',
|
|
3348
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3349
|
-
encapsulation: ViewEncapsulation.None,
|
|
3350
|
-
}]
|
|
3351
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
3352
|
-
type: Optional
|
|
3353
|
-
}] }]; }, propDecorators: { _contentButtons: [{
|
|
3354
|
-
type: ContentChildren,
|
|
3355
|
-
args: [AXButtonItemComponent]
|
|
3356
|
-
}], _viewButtons: [{
|
|
3357
|
-
type: ViewChildren,
|
|
3358
|
-
args: [AXButtonItemComponent]
|
|
3359
|
-
}], onItemClick: [{
|
|
3360
|
-
type: Output
|
|
3361
|
-
}], popover: [{
|
|
3362
|
-
type: ViewChild,
|
|
3363
|
-
args: [AXPopoverComponent]
|
|
3364
|
-
}], items: [{
|
|
3365
|
-
type: Input
|
|
3335
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-text-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>" }]
|
|
3336
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
3337
|
+
type: ContentChild,
|
|
3338
|
+
args: [AXInputMaskComponent]
|
|
3339
|
+
}], hostClass: [{
|
|
3340
|
+
type: HostBinding,
|
|
3341
|
+
args: ['class']
|
|
3366
3342
|
}] } });
|
|
3367
3343
|
|
|
3368
|
-
class
|
|
3344
|
+
class AXTextBoxModule {
|
|
3369
3345
|
}
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3346
|
+
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3347
|
+
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
3348
|
+
FormsModule,
|
|
3349
|
+
AXButtonModule,
|
|
3350
|
+
AXEditorDecoratorModule,
|
|
3351
|
+
AXIconModule, i1$2.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
3352
|
+
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
3353
|
+
CommonModule,
|
|
3354
|
+
FormsModule,
|
|
3355
|
+
AXButtonModule,
|
|
3356
|
+
AXEditorDecoratorModule,
|
|
3357
|
+
AXIconModule,
|
|
3358
|
+
NgxMaskModule.forChild()
|
|
3359
|
+
]] });
|
|
3360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
3374
3361
|
type: NgModule,
|
|
3375
3362
|
args: [{
|
|
3376
|
-
imports: [
|
|
3377
|
-
|
|
3378
|
-
|
|
3363
|
+
imports: [
|
|
3364
|
+
CommonModule,
|
|
3365
|
+
FormsModule,
|
|
3366
|
+
AXButtonModule,
|
|
3367
|
+
AXEditorDecoratorModule,
|
|
3368
|
+
AXIconModule,
|
|
3369
|
+
NgxMaskModule.forChild()
|
|
3370
|
+
],
|
|
3371
|
+
exports: [AXTextBoxComponent],
|
|
3372
|
+
declarations: [AXTextBoxComponent],
|
|
3379
3373
|
providers: [],
|
|
3380
3374
|
}]
|
|
3381
3375
|
}] });
|
|
3382
3376
|
|
|
3383
|
-
const COMPONENT$
|
|
3384
|
-
const MODULES$
|
|
3377
|
+
const COMPONENT$d = [AXDatePickerComponent];
|
|
3378
|
+
const MODULES$d = [
|
|
3379
|
+
CommonModule,
|
|
3380
|
+
AXCalendarModule,
|
|
3381
|
+
AXTextBoxModule,
|
|
3382
|
+
AXButtonModule,
|
|
3383
|
+
AXPopoverModule,
|
|
3384
|
+
AXEditorDecoratorModule,
|
|
3385
|
+
AXIconModule,
|
|
3386
|
+
AXDateTimeModule,
|
|
3387
|
+
FormsModule
|
|
3388
|
+
];
|
|
3385
3389
|
class AXDatepickerModule {
|
|
3386
3390
|
}
|
|
3387
|
-
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3388
|
-
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
+
AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3392
|
+
AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
|
|
3393
|
+
AXCalendarModule,
|
|
3394
|
+
AXTextBoxModule,
|
|
3395
|
+
AXButtonModule,
|
|
3396
|
+
AXPopoverModule,
|
|
3397
|
+
AXEditorDecoratorModule,
|
|
3398
|
+
AXIconModule,
|
|
3399
|
+
AXDateTimeModule,
|
|
3400
|
+
FormsModule], exports: [AXDatePickerComponent] });
|
|
3401
|
+
AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatepickerModule, providers: [], imports: [[...MODULES$d]] });
|
|
3402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDatepickerModule, decorators: [{
|
|
3391
3403
|
type: NgModule,
|
|
3392
3404
|
args: [{
|
|
3393
|
-
declarations: [...COMPONENT$
|
|
3394
|
-
imports: [...MODULES$
|
|
3395
|
-
exports: [...COMPONENT$
|
|
3405
|
+
declarations: [...COMPONENT$d],
|
|
3406
|
+
imports: [...MODULES$d],
|
|
3407
|
+
exports: [...COMPONENT$d],
|
|
3396
3408
|
providers: [],
|
|
3397
3409
|
}]
|
|
3398
3410
|
}] });
|
|
@@ -3423,16 +3435,11 @@ class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
3423
3435
|
}
|
|
3424
3436
|
}
|
|
3425
3437
|
}
|
|
3426
|
-
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3427
|
-
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3438
|
+
AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3439
|
+
AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogComponent, decorators: [{
|
|
3429
3441
|
type: Component,
|
|
3430
|
-
args: [{
|
|
3431
|
-
selector: 'ax-dialog',
|
|
3432
|
-
templateUrl: './dialog.component.html',
|
|
3433
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3434
|
-
encapsulation: ViewEncapsulation.None
|
|
3435
|
-
}]
|
|
3442
|
+
args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-dialog ax-{{options.type}}\" tabindex=\"0\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n <footer class=\"ax-dialog-footer\">\r\n <ng-container *ngFor=\"let button of options.buttons\">\r\n <ax-button [text]=\"button.text\" [submitBehavior]=\"button.submitBehavior\" [cancelBehavior]=\"button.cancelBehavior\" (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\" [color]=\"button.color\"></ax-button>\r\n <div class=\"ax-ml-2\"></div>\r\n </ng-container>\r\n </footer>\r\n </div>\r\n\r\n</div>" }]
|
|
3436
3443
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
3437
3444
|
|
|
3438
3445
|
/**
|
|
@@ -3520,9 +3527,8 @@ class AXDialogService {
|
|
|
3520
3527
|
*/
|
|
3521
3528
|
show(options) {
|
|
3522
3529
|
return new Promise((resolve) => {
|
|
3523
|
-
var _a;
|
|
3524
3530
|
const popup = this.open(options);
|
|
3525
|
-
|
|
3531
|
+
options.buttons?.forEach((b) => {
|
|
3526
3532
|
const orginalClick = b.onClick;
|
|
3527
3533
|
b.onClick = () => {
|
|
3528
3534
|
popup.close();
|
|
@@ -3568,9 +3574,9 @@ class AXDialogService {
|
|
|
3568
3574
|
};
|
|
3569
3575
|
}
|
|
3570
3576
|
}
|
|
3571
|
-
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3572
|
-
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3577
|
+
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: i1$1.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3578
|
+
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
3579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, decorators: [{
|
|
3574
3580
|
type: Injectable,
|
|
3575
3581
|
args: [{ providedIn: 'root' }]
|
|
3576
3582
|
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: i1$1.ScrollStrategyOptions }]; } });
|
|
@@ -3600,11 +3606,11 @@ class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
3600
3606
|
this._cdr.markForCheck();
|
|
3601
3607
|
}
|
|
3602
3608
|
}
|
|
3603
|
-
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3604
|
-
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3609
|
+
AXLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3610
|
+
AXLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type" }, outputs: { visibleChange: "visibleChange" }, host: { classAttribute: "ax-loading" }, usesInheritance: true, ngImport: i0, template: `
|
|
3605
3611
|
<ng-template [cdkPortalOutlet]="_selectedPortal" ></ng-template>
|
|
3606
|
-
`, isInline: true, directives: [{ type: i1$
|
|
3607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3612
|
+
`, isInline: true, directives: [{ type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
|
3608
3614
|
type: Component,
|
|
3609
3615
|
args: [{
|
|
3610
3616
|
selector: 'ax-loading',
|
|
@@ -3625,8 +3631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3625
3631
|
|
|
3626
3632
|
class AXLoadingSpinnerComponent {
|
|
3627
3633
|
}
|
|
3628
|
-
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3629
|
-
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3634
|
+
AXLoadingSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3635
|
+
AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", ngImport: i0, template: `
|
|
3630
3636
|
<svg version="1.1" width="100" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3631
3637
|
x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve">
|
|
3632
3638
|
<path fill="current"
|
|
@@ -3636,7 +3642,7 @@ AXLoadingSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
3636
3642
|
</path>
|
|
3637
3643
|
</svg>
|
|
3638
3644
|
`, isInline: true });
|
|
3639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
|
|
3640
3646
|
type: Component,
|
|
3641
3647
|
args: [{
|
|
3642
3648
|
selector: 'ax-loading-spinner',
|
|
@@ -3705,9 +3711,9 @@ class AXLoadingDirective {
|
|
|
3705
3711
|
this.renderer.addClass(this.overlayElement, OVERLAY_CLASS);
|
|
3706
3712
|
}
|
|
3707
3713
|
}
|
|
3708
|
-
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3709
|
-
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3714
|
+
AXLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3715
|
+
AXLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: AXLoadingDirective, selector: "[axIsLoading]", inputs: { isLoading: ["axIsLoading", "isLoading"] }, usesOnChanges: true, ngImport: i0 });
|
|
3716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingDirective, decorators: [{
|
|
3711
3717
|
type: Directive,
|
|
3712
3718
|
args: [{
|
|
3713
3719
|
selector: '[axIsLoading]'
|
|
@@ -3717,8 +3723,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
3717
3723
|
args: ['axIsLoading']
|
|
3718
3724
|
}] } });
|
|
3719
3725
|
|
|
3720
|
-
const COMPONENT$
|
|
3721
|
-
const MODULES$
|
|
3726
|
+
const COMPONENT$c = [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent];
|
|
3727
|
+
const MODULES$c = [CommonModule, OverlayModule, PortalModule];
|
|
3722
3728
|
class AXLoadingModule {
|
|
3723
3729
|
constructor() {
|
|
3724
3730
|
AXConfig.set({
|
|
@@ -3730,15 +3736,15 @@ class AXLoadingModule {
|
|
|
3730
3736
|
});
|
|
3731
3737
|
}
|
|
3732
3738
|
}
|
|
3733
|
-
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3734
|
-
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3735
|
-
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3739
|
+
AXLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3740
|
+
AXLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingModule, declarations: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent], imports: [CommonModule, OverlayModule, PortalModule], exports: [AXLoadingComponent, AXLoadingDirective, AXLoadingSpinnerComponent] });
|
|
3741
|
+
AXLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingModule, providers: [], imports: [[...MODULES$c]] });
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingModule, decorators: [{
|
|
3737
3743
|
type: NgModule,
|
|
3738
3744
|
args: [{
|
|
3739
|
-
declarations: [...COMPONENT$
|
|
3740
|
-
imports: [...MODULES$
|
|
3741
|
-
exports: [...COMPONENT$
|
|
3745
|
+
declarations: [...COMPONENT$c],
|
|
3746
|
+
imports: [...MODULES$c],
|
|
3747
|
+
exports: [...COMPONENT$c],
|
|
3742
3748
|
providers: [],
|
|
3743
3749
|
}]
|
|
3744
3750
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3748,9 +3754,9 @@ class DynamicOverlayContainer extends OverlayContainer {
|
|
|
3748
3754
|
this._containerElement = containerElement;
|
|
3749
3755
|
}
|
|
3750
3756
|
}
|
|
3751
|
-
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3752
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3757
|
+
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlayContainer, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3758
|
+
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
|
3759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
|
3754
3760
|
type: Injectable,
|
|
3755
3761
|
args: [{
|
|
3756
3762
|
providedIn: 'root'
|
|
@@ -3771,9 +3777,9 @@ class DynamicOverlay extends Overlay {
|
|
|
3771
3777
|
return super.create(config);
|
|
3772
3778
|
}
|
|
3773
3779
|
}
|
|
3774
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3775
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3780
|
+
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1$1.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i1$1.OverlayPositionBuilder }, { token: i1$1.OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i2$2.Directionality }, { token: i0.RendererFactory2 }, { token: i1.Location }, { token: i1$1.OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3781
|
+
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
|
3782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicOverlay, decorators: [{
|
|
3777
3783
|
type: Injectable,
|
|
3778
3784
|
args: [{
|
|
3779
3785
|
providedIn: 'root'
|
|
@@ -3861,9 +3867,9 @@ class AXOverlayService {
|
|
|
3861
3867
|
};
|
|
3862
3868
|
}
|
|
3863
3869
|
}
|
|
3864
|
-
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3865
|
-
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3870
|
+
AXOverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1$1.Overlay }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3871
|
+
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
|
3872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXOverlayService, decorators: [{
|
|
3867
3873
|
type: Injectable,
|
|
3868
3874
|
args: [{ providedIn: 'root' }]
|
|
3869
3875
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$1.Overlay }, { type: i0.ApplicationRef }]; } });
|
|
@@ -3938,14 +3944,13 @@ class AXLoadingService {
|
|
|
3938
3944
|
// If loaderId is unspecified, the method will return a logical disjunction of all
|
|
3939
3945
|
// loader states in the context.
|
|
3940
3946
|
isLoading(context, loaderId) {
|
|
3941
|
-
var _a;
|
|
3942
3947
|
const loaderStates = this.loadingStates.get(context);
|
|
3943
3948
|
if (!loaderStates) {
|
|
3944
3949
|
return false;
|
|
3945
3950
|
}
|
|
3946
3951
|
else {
|
|
3947
3952
|
if (loaderId !== undefined) {
|
|
3948
|
-
return
|
|
3953
|
+
return loaderStates.get(this.getLoaderId(loaderId)) ?? false;
|
|
3949
3954
|
}
|
|
3950
3955
|
else {
|
|
3951
3956
|
return [...loaderStates.values()].filter(state => state).length > 0;
|
|
@@ -4005,12 +4010,12 @@ class AXLoadingService {
|
|
|
4005
4010
|
return this.loadingStates.get(context).has(loaderId) && this.loadingStates$.get(context).has(loaderId);
|
|
4006
4011
|
}
|
|
4007
4012
|
getLoaderId(loaderId) {
|
|
4008
|
-
return loaderId
|
|
4013
|
+
return loaderId ?? DEFAULT_LOADER_ID;
|
|
4009
4014
|
}
|
|
4010
4015
|
}
|
|
4011
|
-
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4012
|
-
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4016
|
+
AXLoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingService, deps: [{ token: i0.NgZone }, { token: AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4017
|
+
AXLoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingService, providedIn: 'root' });
|
|
4018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXLoadingService, decorators: [{
|
|
4014
4019
|
type: Injectable,
|
|
4015
4020
|
args: [{
|
|
4016
4021
|
providedIn: 'root'
|
|
@@ -4037,9 +4042,9 @@ class AXPageComponent extends AXBaseComponentMixin {
|
|
|
4037
4042
|
}
|
|
4038
4043
|
}
|
|
4039
4044
|
}
|
|
4040
|
-
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4041
|
-
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4045
|
+
AXPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4046
|
+
AXPageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageComponent });
|
|
4047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageComponent, decorators: [{
|
|
4043
4048
|
type: Injectable
|
|
4044
4049
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
4045
4050
|
type: Inject,
|
|
@@ -4048,14 +4053,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4048
4053
|
|
|
4049
4054
|
class AXPageFooterComponent {
|
|
4050
4055
|
}
|
|
4051
|
-
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4052
|
-
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4056
|
+
AXPageFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4057
|
+
AXPageFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXPageFooterComponent, selector: "ax-page-footer", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
|
|
4053
4058
|
<ng-content select="ax-prefix">
|
|
4054
4059
|
</ng-content>
|
|
4055
4060
|
<ng-content select="ax-suffix">
|
|
4056
4061
|
</ng-content>
|
|
4057
4062
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageFooterComponent, decorators: [{
|
|
4059
4064
|
type: Component,
|
|
4060
4065
|
args: [{
|
|
4061
4066
|
selector: 'ax-page-footer',
|
|
@@ -4104,7 +4109,7 @@ class AXBasePageComponent {
|
|
|
4104
4109
|
return this._isLoading;
|
|
4105
4110
|
}
|
|
4106
4111
|
set isLoading(v) {
|
|
4107
|
-
|
|
4112
|
+
;
|
|
4108
4113
|
this._isLoading = v;
|
|
4109
4114
|
if (this.pageContainer) {
|
|
4110
4115
|
this.pageContainer.isLoading = this.isLoading;
|
|
@@ -4122,9 +4127,9 @@ class AXBasePageComponent {
|
|
|
4122
4127
|
this.onClosed.unsubscribe();
|
|
4123
4128
|
}
|
|
4124
4129
|
}
|
|
4125
|
-
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4126
|
-
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4130
|
+
AXBasePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBasePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4131
|
+
AXBasePageComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBasePageComponent });
|
|
4132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXBasePageComponent, decorators: [{
|
|
4128
4133
|
type: Injectable
|
|
4129
4134
|
}], propDecorators: { pageContainer: [{
|
|
4130
4135
|
type: ViewChild,
|
|
@@ -4136,10 +4141,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4136
4141
|
|
|
4137
4142
|
class AXPageModule {
|
|
4138
4143
|
}
|
|
4139
|
-
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4140
|
-
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4141
|
-
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4144
|
+
AXPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4145
|
+
AXPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageModule, declarations: [AXPageFooterComponent], exports: [AXPageFooterComponent] });
|
|
4146
|
+
AXPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageModule, providers: [], imports: [[]] });
|
|
4147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPageModule, decorators: [{
|
|
4143
4148
|
type: NgModule,
|
|
4144
4149
|
args: [{
|
|
4145
4150
|
imports: [],
|
|
@@ -4149,19 +4154,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4149
4154
|
}]
|
|
4150
4155
|
}] });
|
|
4151
4156
|
|
|
4152
|
-
const COMPONENT$
|
|
4153
|
-
const MODULES$
|
|
4157
|
+
const COMPONENT$b = [AXDialogComponent];
|
|
4158
|
+
const MODULES$b = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
4154
4159
|
class AXDialogModule {
|
|
4155
4160
|
}
|
|
4156
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4157
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4158
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4161
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4162
|
+
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, declarations: [AXDialogComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule], exports: [AXDialogComponent] });
|
|
4163
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES$b]] });
|
|
4164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
4160
4165
|
type: NgModule,
|
|
4161
4166
|
args: [{
|
|
4162
|
-
declarations: [...COMPONENT$
|
|
4163
|
-
imports: [...MODULES$
|
|
4164
|
-
exports: [...COMPONENT$
|
|
4167
|
+
declarations: [...COMPONENT$b],
|
|
4168
|
+
imports: [...MODULES$b],
|
|
4169
|
+
exports: [...COMPONENT$b],
|
|
4165
4170
|
providers: [],
|
|
4166
4171
|
}]
|
|
4167
4172
|
}] });
|
|
@@ -4278,12 +4283,12 @@ class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
4278
4283
|
this.collapsed = true;
|
|
4279
4284
|
}
|
|
4280
4285
|
}
|
|
4281
|
-
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4282
|
-
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4286
|
+
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4287
|
+
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDrawerComponent, selector: "ax-drawer", inputs: { mode: "mode", location: "location", collapsed: "collapsed" }, outputs: { onChanged: "onChanged" }, host: { listeners: { "window:resize": "_handleWindowsResize($event)" }, classAttribute: "ax-drawer" }, usesInheritance: true, ngImport: i0, template: `
|
|
4283
4288
|
<ng-content>
|
|
4284
4289
|
</ng-content>
|
|
4285
4290
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
4287
4292
|
type: Component,
|
|
4288
4293
|
args: [{
|
|
4289
4294
|
selector: 'ax-drawer',
|
|
@@ -4346,8 +4351,8 @@ class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
|
4346
4351
|
});
|
|
4347
4352
|
}
|
|
4348
4353
|
}
|
|
4349
|
-
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4350
|
-
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4354
|
+
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4355
|
+
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDrawerContainerComponent, selector: "ax-drawer-container", inputs: { rtl: "rtl" }, host: { classAttribute: "ax-drawer-container" }, queries: [{ propertyName: "drawers", predicate: AXDrawerComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
4351
4356
|
<ng-content select="ax-drawer[location='start']">
|
|
4352
4357
|
</ng-content>
|
|
4353
4358
|
<ng-content select="ax-drawer-content">
|
|
@@ -4355,7 +4360,7 @@ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4355
4360
|
<ng-content select="ax-drawer[location='end']">
|
|
4356
4361
|
</ng-content>
|
|
4357
4362
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
4359
4364
|
type: Component,
|
|
4360
4365
|
args: [{
|
|
4361
4366
|
selector: 'ax-drawer-container',
|
|
@@ -4382,12 +4387,12 @@ class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
|
4382
4387
|
super(elementRef, cdr);
|
|
4383
4388
|
}
|
|
4384
4389
|
}
|
|
4385
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4386
|
-
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4390
|
+
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4391
|
+
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDrawerContentComponent, selector: "ax-drawer-content", host: { classAttribute: "ax-drawer-content" }, usesInheritance: true, ngImport: i0, template: `
|
|
4387
4392
|
<ng-content>
|
|
4388
4393
|
</ng-content>
|
|
4389
4394
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
4391
4396
|
type: Component,
|
|
4392
4397
|
args: [{
|
|
4393
4398
|
selector: 'ax-drawer-content',
|
|
@@ -4401,76 +4406,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
4401
4406
|
}]
|
|
4402
4407
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
4403
4408
|
|
|
4404
|
-
const COMPONENT$
|
|
4405
|
-
const MODULES$
|
|
4409
|
+
const COMPONENT$a = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent];
|
|
4410
|
+
const MODULES$a = [CommonModule];
|
|
4406
4411
|
class AXDrawerModule {
|
|
4407
4412
|
}
|
|
4408
|
-
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4409
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4410
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4413
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4414
|
+
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, declarations: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent], imports: [CommonModule], exports: [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent] });
|
|
4415
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES$a]] });
|
|
4416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
4412
4417
|
type: NgModule,
|
|
4413
4418
|
args: [{
|
|
4414
|
-
declarations: [...COMPONENT$
|
|
4415
|
-
imports: [...MODULES$
|
|
4416
|
-
exports: [...COMPONENT$
|
|
4419
|
+
declarations: [...COMPONENT$a],
|
|
4420
|
+
imports: [...MODULES$a],
|
|
4421
|
+
exports: [...COMPONENT$a],
|
|
4417
4422
|
providers: [],
|
|
4418
4423
|
}]
|
|
4419
4424
|
}] });
|
|
4420
4425
|
|
|
4421
|
-
class
|
|
4422
|
-
constructor() {
|
|
4423
|
-
|
|
4424
|
-
this.
|
|
4426
|
+
class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
4427
|
+
constructor(_elementRef, _cdr) {
|
|
4428
|
+
super(_elementRef, _cdr);
|
|
4429
|
+
this._target = this;
|
|
4425
4430
|
}
|
|
4426
|
-
|
|
4427
|
-
|
|
4431
|
+
_handleArrowClickEvent() {
|
|
4432
|
+
this.toggle();
|
|
4428
4433
|
}
|
|
4429
|
-
|
|
4430
|
-
|
|
4434
|
+
}
|
|
4435
|
+
AXDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4436
|
+
AXDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDropdownComponent, selector: "ax-drop-down", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-editor-container\" [class.ax-state-disabled]=\"disabled\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n</div>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ng-content select=\"[panel]\">\r\n </ng-content>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
4438
|
+
type: Component,
|
|
4439
|
+
args: [{ selector: 'ax-drop-down', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-editor-container\" [class.ax-state-disabled]=\"disabled\">\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-dropdown-content\" style=\"display: inline-flex;\" (click)=\"_handleArrowClickEvent()\">\r\n <ng-content select=\"[input]\">\r\n </ng-content>\r\n </div>\r\n <ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" [size]=\"size\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent()\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-button>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n</div>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [style.min-width.px]=\"dropdownWidth\">\r\n <ng-content select=\"[panel]\">\r\n </ng-content>\r\n </div>\r\n</ax-popover>" }]
|
|
4440
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
4441
|
+
type: ViewChild,
|
|
4442
|
+
args: [AXPopoverComponent]
|
|
4443
|
+
}] } });
|
|
4444
|
+
|
|
4445
|
+
class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
4446
|
+
constructor(elementRef, cdr, _parent) {
|
|
4447
|
+
super(elementRef, cdr);
|
|
4448
|
+
this._parent = _parent;
|
|
4449
|
+
this.onItemClick = new EventEmitter();
|
|
4450
|
+
this._needBorder = false;
|
|
4451
|
+
this._subs = [];
|
|
4452
|
+
this._target = this._parent._getHostElement();
|
|
4431
4453
|
}
|
|
4432
|
-
get
|
|
4433
|
-
return this.
|
|
4454
|
+
get items() {
|
|
4455
|
+
return this._items || [];
|
|
4434
4456
|
}
|
|
4435
|
-
set
|
|
4436
|
-
this.
|
|
4457
|
+
set items(v) {
|
|
4458
|
+
this._items = v;
|
|
4459
|
+
this._cdr.markForCheck();
|
|
4460
|
+
}
|
|
4461
|
+
_getAllButtons() {
|
|
4462
|
+
return [...Array.from(this._viewButtons), ...Array.from(this._contentButtons)];
|
|
4463
|
+
}
|
|
4464
|
+
onViewInit() {
|
|
4465
|
+
super.onViewInit();
|
|
4466
|
+
this._getAllButtons().forEach(c => {
|
|
4467
|
+
this._needBorder = true;
|
|
4468
|
+
this._subs.push(c.onClick.subscribe(this._handleOnItemClick.bind(this)));
|
|
4469
|
+
this._cdr.markForCheck();
|
|
4470
|
+
});
|
|
4471
|
+
}
|
|
4472
|
+
onDestroy() {
|
|
4473
|
+
this._subs.forEach(s => {
|
|
4474
|
+
s?.unsubscribe();
|
|
4475
|
+
});
|
|
4476
|
+
}
|
|
4477
|
+
_emitOnItemClickEvent(e, item) {
|
|
4478
|
+
this.onItemClick.emit({
|
|
4479
|
+
component: this,
|
|
4480
|
+
htmlElement: this._getHostElement(),
|
|
4481
|
+
nativeEvent: e.nativeEvent,
|
|
4482
|
+
name: item.name,
|
|
4483
|
+
data: item.data,
|
|
4484
|
+
});
|
|
4485
|
+
}
|
|
4486
|
+
_handleOnItemClick(e) {
|
|
4487
|
+
this.close();
|
|
4488
|
+
this._emitOnItemClickEvent(e, e.component);
|
|
4437
4489
|
}
|
|
4438
4490
|
}
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4491
|
+
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4492
|
+
AXDropdownPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", items: "items" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }, { propertyName: "_viewButtons", predicate: AXButtonItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", components: [{ type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
4442
4494
|
type: Component,
|
|
4443
|
-
args: [{
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
type:
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
}],
|
|
4495
|
+
args: [{ selector: 'ax-dropdown-panel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: [...DROPDOWN_INPUTS], outputs: [...DROPDOWN_OUTPUT], template: "<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'toggle'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane\" [class.ax-dropdown-list]=\"_needBorder\" >\r\n <ng-container *ngIf=\"items && items.length;else panelTpl\">\r\n <ax-button-item [text]=\"item.text\" [color]=\"item.color\" *ngFor=\"let item of items\">\r\n <ax-prefix *ngIf=\"item.iconClass\">\r\n <ax-icon [icon]=\"item.iconClass\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button-item>\r\n </ng-container>\r\n <ng-template #panelTpl>\r\n <ng-content select=\"[panel],ax-button-item\">\r\n </ng-content>\r\n </ng-template>\r\n </div>\r\n</ax-popover>" }]
|
|
4496
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXButtonComponent, decorators: [{
|
|
4497
|
+
type: Optional
|
|
4498
|
+
}] }]; }, propDecorators: { _contentButtons: [{
|
|
4499
|
+
type: ContentChildren,
|
|
4500
|
+
args: [AXButtonItemComponent]
|
|
4501
|
+
}], _viewButtons: [{
|
|
4502
|
+
type: ViewChildren,
|
|
4503
|
+
args: [AXButtonItemComponent]
|
|
4504
|
+
}], onItemClick: [{
|
|
4505
|
+
type: Output
|
|
4506
|
+
}], popover: [{
|
|
4507
|
+
type: ViewChild,
|
|
4508
|
+
args: [AXPopoverComponent]
|
|
4509
|
+
}], items: [{
|
|
4458
4510
|
type: Input
|
|
4459
4511
|
}] } });
|
|
4460
4512
|
|
|
4461
|
-
|
|
4462
|
-
const MODULES$a = [CommonModule, NgxMaskModule.forRoot()];
|
|
4463
|
-
class AXInputMaskModule {
|
|
4513
|
+
class AXDropdownModule {
|
|
4464
4514
|
}
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4515
|
+
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4516
|
+
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, declarations: [AXDropdownComponent, AXDropdownPanelComponent], imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule], exports: [AXDropdownComponent, AXDropdownPanelComponent] });
|
|
4517
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
4518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
4469
4519
|
type: NgModule,
|
|
4470
4520
|
args: [{
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4521
|
+
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
4522
|
+
exports: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
4523
|
+
declarations: [AXDropdownComponent, AXDropdownPanelComponent],
|
|
4474
4524
|
providers: [],
|
|
4475
4525
|
}]
|
|
4476
4526
|
}] });
|
|
@@ -4686,13 +4736,13 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4686
4736
|
this._maskService.thousandSeparator = this.separator;
|
|
4687
4737
|
this._maskService.allowNegativeNumbers = true;
|
|
4688
4738
|
const format = `separator.${this.scale}`;
|
|
4689
|
-
return this._maskService.applyMask(value
|
|
4739
|
+
return this._maskService.applyMask(value?.toString(), format);
|
|
4690
4740
|
}
|
|
4691
4741
|
else {
|
|
4692
4742
|
this._maskService.thousandSeparator = '';
|
|
4693
4743
|
this._maskService.allowNegativeNumbers = true;
|
|
4694
4744
|
const format = `separator.${this.scale}`;
|
|
4695
|
-
return this._maskService.applyMask(value
|
|
4745
|
+
return this._maskService.applyMask(value?.toString(), format);
|
|
4696
4746
|
}
|
|
4697
4747
|
}
|
|
4698
4748
|
_onValueChanged(oldValue, newValue) {
|
|
@@ -4705,33 +4755,25 @@ class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4705
4755
|
this._emitOnFocusEvent(e);
|
|
4706
4756
|
}
|
|
4707
4757
|
}
|
|
4708
|
-
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4709
|
-
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4758
|
+
AXNumberBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4759
|
+
AXNumberBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", separator: "separator", thousandSeparator: "thousandSeparator", step: "step", scale: "scale", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-number-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
|
|
4711
4761
|
type: Component,
|
|
4712
|
-
args: [{
|
|
4713
|
-
selector: 'ax-number-box',
|
|
4714
|
-
templateUrl: './number-box.component.html',
|
|
4715
|
-
inputs: [
|
|
4762
|
+
args: [{ selector: 'ax-number-box', inputs: [
|
|
4716
4763
|
'disabled',
|
|
4717
4764
|
'readonly',
|
|
4718
4765
|
'tabIndex',
|
|
4719
4766
|
'size',
|
|
4720
4767
|
'value',
|
|
4721
4768
|
...TEXTBOX_INPUTS,
|
|
4722
|
-
],
|
|
4723
|
-
outputs: [
|
|
4769
|
+
], outputs: [
|
|
4724
4770
|
'valueChange',
|
|
4725
4771
|
'onValueChanged',
|
|
4726
4772
|
'onBlur',
|
|
4727
4773
|
'onFocus',
|
|
4728
4774
|
...TEXTBOX_OUTPUT,
|
|
4729
|
-
],
|
|
4730
|
-
|
|
4731
|
-
encapsulation: ViewEncapsulation.None,
|
|
4732
|
-
host: { class: 'ax-number-box ax-editor-container' },
|
|
4733
|
-
}]
|
|
4734
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.MaskApplierService }]; }, propDecorators: { __hostClass: [{
|
|
4775
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-number-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\" [attr.min]=\"minValue\"\r\n [attr.max]=\"maxValue\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_handleOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\"\r\n autocomplete=\"off\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
4776
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { __hostClass: [{
|
|
4735
4777
|
type: HostBinding,
|
|
4736
4778
|
args: ['class']
|
|
4737
4779
|
}], separator: [{
|
|
@@ -4765,12 +4807,12 @@ const MODULES$9 = [
|
|
|
4765
4807
|
];
|
|
4766
4808
|
class AXNumberBoxModule {
|
|
4767
4809
|
}
|
|
4768
|
-
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4769
|
-
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4810
|
+
AXNumberBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4811
|
+
AXNumberBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
|
|
4770
4812
|
FormsModule,
|
|
4771
|
-
AXButtonModule, i1$
|
|
4772
|
-
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4813
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXNumberBoxComponent] });
|
|
4814
|
+
AXNumberBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxModule, providers: [], imports: [[...MODULES$9]] });
|
|
4815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXNumberBoxModule, decorators: [{
|
|
4774
4816
|
type: NgModule,
|
|
4775
4817
|
args: [{
|
|
4776
4818
|
declarations: [...COMPONENT$9],
|
|
@@ -4812,32 +4854,24 @@ class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
4812
4854
|
}
|
|
4813
4855
|
}
|
|
4814
4856
|
}
|
|
4815
|
-
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4816
|
-
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4857
|
+
AXPasswordBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4858
|
+
AXPasswordBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXPasswordBoxComponent, selector: "ax-password-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name", showToggleButton: "showToggleButton" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-password-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxComponent, decorators: [{
|
|
4818
4860
|
type: Component,
|
|
4819
|
-
args: [{
|
|
4820
|
-
selector: 'ax-password-box',
|
|
4821
|
-
templateUrl: 'password-box.component.html',
|
|
4822
|
-
inputs: [
|
|
4861
|
+
args: [{ selector: 'ax-password-box', inputs: [
|
|
4823
4862
|
'disabled',
|
|
4824
4863
|
'readonly',
|
|
4825
4864
|
'tabIndex',
|
|
4826
4865
|
'cssClass',
|
|
4827
4866
|
'size',
|
|
4828
4867
|
...TEXTBOX_INPUTS,
|
|
4829
|
-
],
|
|
4830
|
-
outputs: [
|
|
4868
|
+
], outputs: [
|
|
4831
4869
|
'valueChange',
|
|
4832
4870
|
'onValueChanged',
|
|
4833
4871
|
'onBlur',
|
|
4834
4872
|
'onFocus',
|
|
4835
4873
|
...TEXTBOX_OUTPUT,
|
|
4836
|
-
],
|
|
4837
|
-
encapsulation: ViewEncapsulation.None,
|
|
4838
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4839
|
-
host: { class: 'ax-password-box ax-editor-container' },
|
|
4840
|
-
}]
|
|
4874
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-password-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" [type]=\"_type\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"toggleType()\" [tabIndex]=\"-1\" *ngIf=\"showToggleButton\">\r\n <ax-icon [icon]=\"_icon\"></ax-icon>\r\n</ax-button>" }]
|
|
4841
4875
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
4842
4876
|
type: HostBinding,
|
|
4843
4877
|
args: ['class']
|
|
@@ -4855,14 +4889,14 @@ const MODULES$8 = [
|
|
|
4855
4889
|
];
|
|
4856
4890
|
class AXPasswordBoxModule {
|
|
4857
4891
|
}
|
|
4858
|
-
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4859
|
-
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
4892
|
+
AXPasswordBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4893
|
+
AXPasswordBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxModule, declarations: [AXPasswordBoxComponent], imports: [CommonModule,
|
|
4860
4894
|
FormsModule,
|
|
4861
4895
|
AXButtonModule,
|
|
4862
4896
|
AXEditorDecoratorModule,
|
|
4863
4897
|
AXIconModule], exports: [AXPasswordBoxComponent] });
|
|
4864
|
-
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4898
|
+
AXPasswordBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxModule, providers: [], imports: [[...MODULES$8]] });
|
|
4899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPasswordBoxModule, decorators: [{
|
|
4866
4900
|
type: NgModule,
|
|
4867
4901
|
args: [{
|
|
4868
4902
|
declarations: [...COMPONENT$8],
|
|
@@ -4952,16 +4986,11 @@ class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
4952
4986
|
}
|
|
4953
4987
|
onFullScreen() { }
|
|
4954
4988
|
}
|
|
4955
|
-
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4956
|
-
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4989
|
+
AXPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: AXLoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4990
|
+
AXPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXPopupComponent, selector: "ax-popup", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>", directives: [{ type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupComponent, decorators: [{
|
|
4958
4992
|
type: Component,
|
|
4959
|
-
args: [{
|
|
4960
|
-
selector: 'ax-popup',
|
|
4961
|
-
templateUrl: './popup.component.html',
|
|
4962
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4963
|
-
encapsulation: ViewEncapsulation.None,
|
|
4964
|
-
}]
|
|
4993
|
+
args: [{ selector: 'ax-popup', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-popup-wrapper\" aria-modal=\"true\" cdkTrapFocus>\r\n <div class=\"ax-popup ax-{{size}}\" tabindex=\"0\" cdkDrag>\r\n <ng-container *ngIf=\"showHeader\">\r\n <header cdkDragHandle class=\"ax-cursor-move\">\r\n <div>\r\n <div class=\"ax-text-lg ax-font-medium\">\r\n <span>\r\n {{title}}\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showCloseButton\">\r\n <i class=\"ax-ic ax-ic-close ax-text-gray ax-cursor-pointer\" (click)=\"_handleCloseClick()\"\r\n tabindex=\"1\"></i>\r\n </div>\r\n </header>\r\n </ng-container>\r\n <main>\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n </main>\r\n </div>\r\n</div>" }]
|
|
4965
4994
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: AXLoadingService }]; }, propDecorators: { onKeydownHandler: [{
|
|
4966
4995
|
type: HostListener,
|
|
4967
4996
|
args: ['keydown.escape', ['$event']]
|
|
@@ -5018,7 +5047,6 @@ class AXPopupService {
|
|
|
5018
5047
|
return promise;
|
|
5019
5048
|
}
|
|
5020
5049
|
closePopup(popup, com, result) {
|
|
5021
|
-
var _a, _b;
|
|
5022
5050
|
const closeFunc = (e) => {
|
|
5023
5051
|
com.dispose();
|
|
5024
5052
|
this.stack.pop();
|
|
@@ -5029,7 +5057,7 @@ class AXPopupService {
|
|
|
5029
5057
|
}
|
|
5030
5058
|
};
|
|
5031
5059
|
const e = { cancel: false };
|
|
5032
|
-
const closingFunc =
|
|
5060
|
+
const closingFunc = popup[TAB_META_KEY]?.component?.onClosing;
|
|
5033
5061
|
if (closingFunc) {
|
|
5034
5062
|
const res = closingFunc(e);
|
|
5035
5063
|
if (res instanceof Promise) {
|
|
@@ -5050,9 +5078,9 @@ class AXPopupService {
|
|
|
5050
5078
|
}
|
|
5051
5079
|
}
|
|
5052
5080
|
}
|
|
5053
|
-
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5054
|
-
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5081
|
+
AXPopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupService, deps: [{ token: AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5082
|
+
AXPopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupService });
|
|
5083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupService, decorators: [{
|
|
5056
5084
|
type: Injectable
|
|
5057
5085
|
}], ctorParameters: function () { return [{ type: AXOverlayService }]; } });
|
|
5058
5086
|
|
|
@@ -5060,10 +5088,10 @@ const COMPONENT$7 = [AXPopupComponent];
|
|
|
5060
5088
|
const MODULES$7 = [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule];
|
|
5061
5089
|
class AXPopupModule {
|
|
5062
5090
|
}
|
|
5063
|
-
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5064
|
-
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5065
|
-
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5091
|
+
AXPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5092
|
+
AXPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupModule, declarations: [AXPopupComponent], imports: [CommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule], exports: [AXPopupComponent] });
|
|
5093
|
+
AXPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupModule, providers: [AXPopupService], imports: [[...MODULES$7]] });
|
|
5094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPopupModule, decorators: [{
|
|
5067
5095
|
type: NgModule,
|
|
5068
5096
|
args: [{
|
|
5069
5097
|
declarations: [...COMPONENT$7],
|
|
@@ -5079,27 +5107,21 @@ class AXRadioComponent extends AXBaseComponentMixin {
|
|
|
5079
5107
|
//TODO: ax-radio
|
|
5080
5108
|
}
|
|
5081
5109
|
}
|
|
5082
|
-
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5083
|
-
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5110
|
+
AXRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5111
|
+
AXRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXRadioComponent, selector: "ax-radio", host: { classAttribute: "ax-radio" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioComponent, decorators: [{
|
|
5085
5113
|
type: Component,
|
|
5086
|
-
args: [{
|
|
5087
|
-
selector: 'ax-radio',
|
|
5088
|
-
templateUrl: './radio.component.html',
|
|
5089
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5090
|
-
encapsulation: ViewEncapsulation.None,
|
|
5091
|
-
host: { class: 'ax-radio' }
|
|
5092
|
-
}]
|
|
5114
|
+
args: [{ selector: 'ax-radio', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-radio' }, template: "<div class=\"ax-flex ax-items-start\">\n <div class=\"ax-flex ax-items-center ax-h-5\">\n <input [id]=\"id\" class=\"ax-radio\" type=\"radio\">\n </div>\n <div class=\"ax-ms-3 ax-text-sm\">\n <ng-content select=\"ax-label\"></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n </div>\n</div>\n<ng-content select=\"ax-validation-rule\"></ng-content>" }]
|
|
5093
5115
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
5094
5116
|
|
|
5095
5117
|
const COMPONENT$6 = [AXRadioComponent];
|
|
5096
5118
|
const MODULES$6 = [CommonModule];
|
|
5097
5119
|
class AXRadioModule {
|
|
5098
5120
|
}
|
|
5099
|
-
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5100
|
-
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5101
|
-
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5121
|
+
AXRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5122
|
+
AXRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioModule, declarations: [AXRadioComponent], imports: [CommonModule], exports: [AXRadioComponent] });
|
|
5123
|
+
AXRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioModule, providers: [], imports: [[...MODULES$6]] });
|
|
5124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRadioModule, decorators: [{
|
|
5103
5125
|
type: NgModule,
|
|
5104
5126
|
args: [{
|
|
5105
5127
|
declarations: [...COMPONENT$6],
|
|
@@ -5115,27 +5137,21 @@ class AXRangeSliderComponent extends AXBaseComponentMixin {
|
|
|
5115
5137
|
//TODO: ax-range-slider
|
|
5116
5138
|
}
|
|
5117
5139
|
}
|
|
5118
|
-
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5119
|
-
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5140
|
+
AXRangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5141
|
+
AXRangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXRangeSliderComponent, selector: "ax-range-slider", host: { classAttribute: "ax-range-slider" }, usesInheritance: true, ngImport: i0, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
|
|
5121
5143
|
type: Component,
|
|
5122
|
-
args: [{
|
|
5123
|
-
selector: 'ax-range-slider',
|
|
5124
|
-
templateUrl: './range-slider.component.html',
|
|
5125
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5126
|
-
encapsulation: ViewEncapsulation.None,
|
|
5127
|
-
host: { class: 'ax-range-slider' }
|
|
5128
|
-
}]
|
|
5144
|
+
args: [{ selector: 'ax-range-slider', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-range-slider' }, template: "<input type=\"range\" min=\"1\" max=\"100\" value=\"50\" class=\"ax-range-slider-input\">" }]
|
|
5129
5145
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
5130
5146
|
|
|
5131
5147
|
const COMPONENT$5 = [AXRangeSliderComponent];
|
|
5132
5148
|
const MODULES$5 = [CommonModule];
|
|
5133
5149
|
class AXRangeSliderModule {
|
|
5134
5150
|
}
|
|
5135
|
-
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5136
|
-
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5137
|
-
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5151
|
+
AXRangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5152
|
+
AXRangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] });
|
|
5153
|
+
AXRangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderModule, providers: [], imports: [[...MODULES$5]] });
|
|
5154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
|
5139
5155
|
type: NgModule,
|
|
5140
5156
|
args: [{
|
|
5141
5157
|
declarations: [...COMPONENT$5],
|
|
@@ -5312,19 +5328,11 @@ class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
5312
5328
|
this._currentfocusedIndex = index;
|
|
5313
5329
|
}
|
|
5314
5330
|
}
|
|
5315
|
-
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5316
|
-
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5331
|
+
AXSelectBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5332
|
+
AXSelectBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", fitParent: "fitParent", value: "value", items: "items", multiple: "multiple", allowNull: "allowNull", valueField: "valueField", textField: "textField" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { listeners: { "document:keydown": "_handleKeydown($event)" }, classAttribute: "ax-select-box" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: AXDropdownComponent, descendants: true }, { propertyName: "listContainer", first: true, predicate: ["listContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\" (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>", components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "disabled", "tabIndex"], outputs: ["onOpened", "onClosed", "onBlur", "onFocus"] }, { type: AXBadgeComponent, selector: "ax-badge", inputs: ["text", "color"] }, { type: AXDecoratorSuffixComponent, selector: "ax-suffix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "debounceTime", "name"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
|
5318
5334
|
type: Component,
|
|
5319
|
-
args: [{
|
|
5320
|
-
selector: 'ax-select-box',
|
|
5321
|
-
templateUrl: 'selectbox.component.html',
|
|
5322
|
-
inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'fitParent', 'value', 'items', 'multiple', 'allowNull', 'valueField', 'textField'],
|
|
5323
|
-
outputs: ['onOpened', 'onClosed', 'valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
|
|
5324
|
-
encapsulation: ViewEncapsulation.None,
|
|
5325
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5326
|
-
host: { 'class': 'ax-select-box' }
|
|
5327
|
-
}]
|
|
5335
|
+
args: [{ selector: 'ax-select-box', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'fitParent', 'value', 'items', 'multiple', 'allowNull', 'valueField', 'textField'], outputs: ['onOpened', 'onClosed', 'valueChange', 'onValueChanged', 'onBlur', 'onFocus'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { 'class': 'ax-select-box' }, template: "<ax-drop-down (onOpened)=\"_emitOnOpenedEvent()\" (onClosed)=\"_emitOnClosedEvent()\">\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\">\r\n </ng-content>\r\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\r\n <ng-template #singleSelectedTemplate>\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <span class=\"ax-mx-2\"> {{ _getItemDisplayTextTemplte(item) }}</span>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #multipleSelectedTemplate>\r\n <div class=\"ax-flex ax-mx-2\">\r\n <ng-container *ngFor=\"let item of selectedItems\">\r\n <ax-badge [text]=\"_getItemDisplayTextTemplte(item)\" color=\"light\" class=\"ax-me-2\">\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\" (click)=\"_handleBadgeRemove($event,item)\"></ax-icon>\r\n </ax-suffix>\r\n </ax-badge>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n <!-- <div class=\"ax-selectbox-input\">\r\n <input type=\"text\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleKeydown($event)\">\r\n </div> -->\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n </div>\r\n </ng-container>\r\n <div class=\"ax-list ax-list-container\" panel>\r\n <div class=\"ax-list-items-container ax-vertical ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index;trackBy : _trackByFunction\">\r\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\r\n <div class=\"ax-list-item\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item,direction:direction}\">\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #defualtTemplate>\r\n <ng-container *ngIf=\"!multiple; then singleTemplate; else multipleTemplate\"></ng-container>\r\n <ng-template #singleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n </div>\r\n </ng-template>\r\n <ng-template #multipleTemplate>\r\n <div class=\"ax-list-item\" [class.ax-state-selected]=\"isItemSelected(item)\" [attr.tabindex]=\"i\" (click)=\"_handleOnItemClick($event,item)\">\r\n <ax-check-box [value]=\"isItemSelected(item)\">\r\n </ax-check-box>\r\n {{ _getItemDisplayTextTemplte(item) }}\r\n\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"(displayItems==null || displayItems.length==0) && !isLoading\">\r\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"elseEmptyTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n Empty!\r\n </ng-template>\r\n </ng-container>\r\n <ng-container *ngIf=\"isLoading\">\r\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\r\n <ng-container *ngTemplateOutlet=\"loadingTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #elseLoadingTemplate>\r\n <div class=\"ax-list-loading-container\">\r\n <div><i class=\"fas fa-spinner ax-animate-spin\"></i> Loading ...</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ax-drop-down>" }]
|
|
5328
5336
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { dropdown: [{
|
|
5329
5337
|
type: ViewChild,
|
|
5330
5338
|
args: [AXDropdownComponent]
|
|
@@ -5338,10 +5346,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5338
5346
|
|
|
5339
5347
|
class AXSelectBoxModule {
|
|
5340
5348
|
}
|
|
5341
|
-
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5342
|
-
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5343
|
-
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5349
|
+
AXSelectBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5350
|
+
AXSelectBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxModule, declarations: [AXSelectBoxComponent], imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule], exports: [AXSelectBoxComponent] });
|
|
5351
|
+
AXSelectBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxModule, providers: [], imports: [[CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule]] });
|
|
5352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectBoxModule, decorators: [{
|
|
5345
5353
|
type: NgModule,
|
|
5346
5354
|
args: [{
|
|
5347
5355
|
imports: [CommonModule, AXDropdownModule, FormsModule, AXCheckBoxModule, AXBadgeModule, AXEditorDecoratorModule, AXIconModule],
|
|
@@ -5366,14 +5374,11 @@ class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
|
5366
5374
|
}
|
|
5367
5375
|
}
|
|
5368
5376
|
}
|
|
5369
|
-
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5370
|
-
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5377
|
+
AXSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5378
|
+
AXSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", cssClass: "cssClass", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
|
5372
5380
|
type: Component,
|
|
5373
|
-
args: [{
|
|
5374
|
-
selector: 'ax-selection-list',
|
|
5375
|
-
templateUrl: './selection-list.component.html',
|
|
5376
|
-
inputs: [
|
|
5381
|
+
args: [{ selector: 'ax-selection-list', inputs: [
|
|
5377
5382
|
'disabled',
|
|
5378
5383
|
'readonly',
|
|
5379
5384
|
'tabIndex',
|
|
@@ -5385,21 +5390,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5385
5390
|
'items',
|
|
5386
5391
|
'selectionMode',
|
|
5387
5392
|
'cssClass'
|
|
5388
|
-
],
|
|
5389
|
-
outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'],
|
|
5390
|
-
encapsulation: ViewEncapsulation.None,
|
|
5391
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5392
|
-
}]
|
|
5393
|
+
], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-selection-list ax-{{direction}}\">\r\n <ng-container *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\r\n <ng-template #checkboxList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-checkbox-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-checkbox\" type=\"checkbox\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #radioButtonList>\r\n <ng-container *ngFor=\"let item of displayItems;let i = index\">\r\n <div class=\"ax-flex ax-items-start ax-radio-container ax-mb-2\">\r\n <div class=\"ax-flex ax-items-center ax-h-5\">\r\n <input [id]=\"id+'-'+i\" class=\"ax-radio\" type=\"radio\" [attr.name]=\"id\" (change)=\"_handleOnItemValueChange(item, $event)\" [checked]=\"isItemSelected(item)\" [disabled]=\"disabled || item.disabled\" [readonly]=\"readonly || item.readonly\">\r\n </div>\r\n <div class=\"ax-ms-3 ax-text-sm\">\r\n <label [for]=\"id+'-'+i\" class=\"ax-font-medium ax-text-light-700 dark:ax-text-light-100\"> {{item[textField]}}</label>\r\n <p class=\"ax-text-light-500\"> {{item.hint ? item.hint : item[hintField]}}</p>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n <ng-content select=\"ax-validation-rule\">\r\n </ng-content>\r\n</div>" }]
|
|
5393
5394
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { direction: [{
|
|
5394
5395
|
type: Input
|
|
5395
5396
|
}] } });
|
|
5396
5397
|
|
|
5397
5398
|
class AXSelectionListModule {
|
|
5398
5399
|
}
|
|
5399
|
-
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5400
|
-
AXSelectionListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5401
|
-
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5400
|
+
AXSelectionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5401
|
+
AXSelectionListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [CommonModule, FormsModule, AXCheckBoxModule], exports: [AXSelectionListComponent] });
|
|
5402
|
+
AXSelectionListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListModule, providers: [], imports: [[CommonModule, FormsModule, AXCheckBoxModule]] });
|
|
5403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSelectionListModule, decorators: [{
|
|
5403
5404
|
type: NgModule,
|
|
5404
5405
|
args: [{
|
|
5405
5406
|
declarations: [AXSelectionListComponent],
|
|
@@ -5414,27 +5415,21 @@ class AXSideMenuComponent extends AXBaseComponentMixin {
|
|
|
5414
5415
|
super(elementRef, cdr);
|
|
5415
5416
|
}
|
|
5416
5417
|
}
|
|
5417
|
-
AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5418
|
-
AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5418
|
+
AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5419
|
+
AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXSideMenuComponent, selector: "ax-side-menu", host: { classAttribute: "ax-side-menu" }, usesInheritance: true, ngImport: i0, template: "\r\n<div>Hi ax-side-menu</div>\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuComponent, decorators: [{
|
|
5420
5421
|
type: Component,
|
|
5421
|
-
args: [{
|
|
5422
|
-
selector: 'ax-side-menu',
|
|
5423
|
-
templateUrl: './side-menu.component.html',
|
|
5424
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5425
|
-
encapsulation: ViewEncapsulation.None,
|
|
5426
|
-
host: { class: 'ax-side-menu' }
|
|
5427
|
-
}]
|
|
5422
|
+
args: [{ selector: 'ax-side-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-side-menu' }, template: "\r\n<div>Hi ax-side-menu</div>\r\n" }]
|
|
5428
5423
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
5429
5424
|
|
|
5430
5425
|
const COMPONENT$4 = [AXSideMenuComponent];
|
|
5431
5426
|
const MODULES$4 = [CommonModule];
|
|
5432
5427
|
class AXSideMenuModule {
|
|
5433
5428
|
}
|
|
5434
|
-
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5435
|
-
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5436
|
-
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5429
|
+
AXSideMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5430
|
+
AXSideMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuModule, declarations: [AXSideMenuComponent], imports: [CommonModule], exports: [AXSideMenuComponent] });
|
|
5431
|
+
AXSideMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuModule, providers: [], imports: [[...MODULES$4]] });
|
|
5432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSideMenuModule, decorators: [{
|
|
5438
5433
|
type: NgModule,
|
|
5439
5434
|
args: [{
|
|
5440
5435
|
declarations: [...COMPONENT$4],
|
|
@@ -5455,33 +5450,25 @@ class AXSwitchComponent extends AXBaseValueComponentMixin {
|
|
|
5455
5450
|
}
|
|
5456
5451
|
}
|
|
5457
5452
|
}
|
|
5458
|
-
AXSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5459
|
-
AXSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5453
|
+
AXSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5454
|
+
AXSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXSwitchComponent, selector: "ax-switch", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", allowNull: "allowNull", value: "value", debounceTime: "debounceTime", name: "name" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax-switch {{cssClass}} ax-{{size}}\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", directives: [{ type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchComponent, decorators: [{
|
|
5461
5456
|
type: Component,
|
|
5462
|
-
args: [{
|
|
5463
|
-
selector: 'ax-switch',
|
|
5464
|
-
templateUrl: './switch.component.html',
|
|
5465
|
-
inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'cssClass', 'cssStyle', ...VALUE_INPUTS],
|
|
5466
|
-
outputs: ['onBlur', 'onFocus', ...VALUE_OUTPUT],
|
|
5467
|
-
encapsulation: ViewEncapsulation.None,
|
|
5468
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5469
|
-
}]
|
|
5457
|
+
args: [{ selector: 'ax-switch', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'cssClass', 'cssStyle', ...VALUE_INPUTS], outputs: ['onBlur', 'onFocus', ...VALUE_OUTPUT], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax-switch {{cssClass}} ax-{{size}}\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [attr.style]=\"cssStyle\" (click)=\"handleOnClickEvent($event)\">\r\n <input type=\"checkbox\" [(ngModel)]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n <span class=\"ax-switch-slider\"></span>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
5470
5458
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
5471
5459
|
|
|
5472
5460
|
class AXSwitchModule {
|
|
5473
5461
|
}
|
|
5474
|
-
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5475
|
-
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5476
|
-
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5462
|
+
AXSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5463
|
+
AXSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchModule, declarations: [AXSwitchComponent], imports: [CommonModule, FormsModule], exports: [AXSwitchComponent] });
|
|
5464
|
+
AXSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchModule, providers: [], imports: [[CommonModule, FormsModule]] });
|
|
5465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSwitchModule, decorators: [{
|
|
5478
5466
|
type: NgModule,
|
|
5479
5467
|
args: [{
|
|
5480
5468
|
declarations: [AXSwitchComponent],
|
|
5481
5469
|
imports: [CommonModule, FormsModule],
|
|
5482
5470
|
exports: [AXSwitchComponent],
|
|
5483
|
-
|
|
5484
|
-
providers: [],
|
|
5471
|
+
providers: []
|
|
5485
5472
|
}]
|
|
5486
5473
|
}] });
|
|
5487
5474
|
|
|
@@ -5522,18 +5509,11 @@ class AXTabStripComponent extends AXSizableComponentMixin {
|
|
|
5522
5509
|
return [`ax-tabs`, `ax-tabs-${this.mode ? this.mode : 'default'}`, `ax-tabs-${this.direction}`, `${this.fitParent ? 'ax-tabs-fit' : ''}`].join(' ');
|
|
5523
5510
|
}
|
|
5524
5511
|
}
|
|
5525
|
-
AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5526
|
-
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5512
|
+
AXTabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabStripComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5513
|
+
AXTabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabStripComponent, selector: "ax-tab-strip", inputs: { size: "size", items: "items", mode: "mode", direction: "direction", fitParent: "fitParent", minWidth: "minWidth" }, outputs: { onSelectionChanged: "onSelectionChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tab-strip" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabStripComponent, decorators: [{
|
|
5528
5515
|
type: Component,
|
|
5529
|
-
args: [{
|
|
5530
|
-
selector: 'ax-tab-strip',
|
|
5531
|
-
templateUrl: './tab-strip.component.html',
|
|
5532
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5533
|
-
encapsulation: ViewEncapsulation.None,
|
|
5534
|
-
inputs: ['size'],
|
|
5535
|
-
host: { class: 'ax-tab-strip' },
|
|
5536
|
-
}]
|
|
5516
|
+
args: [{ selector: 'ax-tab-strip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['size'], host: { class: 'ax-tab-strip' }, template: "<ng-container *ngFor=\"let item of items;let i = index\">\r\n <div class=\"ax-tab-item\" [class.ax-state-active]=\"item.active\" [class.ax-state-disabled]=\"item.disabled\" *ngIf=\"item.visible!=false\" (click)=\"_handleClick(item,i)\">\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span *ngIf=\"item.text\">{{item.text}}</span>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n</ng-container>" }]
|
|
5537
5517
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
5538
5518
|
type: Input
|
|
5539
5519
|
}], mode: [{
|
|
@@ -5569,14 +5549,14 @@ class AXTabComponent extends AXBaseComponentMixin {
|
|
|
5569
5549
|
this._getHostElement().style.display = 'none';
|
|
5570
5550
|
}
|
|
5571
5551
|
}
|
|
5572
|
-
AXTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5573
|
-
AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5552
|
+
AXTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5553
|
+
AXTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabComponent, selector: "ax-tab", inputs: { name: "name", caption: "caption", tooltip: "tooltip", icon: "icon", visible: "visible", disabled: "disabled", data: "data" }, host: { styleAttribute: "display:none", classAttribute: "ax-tab" }, usesInheritance: true, ngImport: i0, template: `
|
|
5574
5554
|
<div *ngIf="_render" >
|
|
5575
5555
|
<ng-content>
|
|
5576
5556
|
</ng-content>
|
|
5577
5557
|
</div>
|
|
5578
5558
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabComponent, decorators: [{
|
|
5580
5560
|
type: Component,
|
|
5581
5561
|
args: [{
|
|
5582
5562
|
selector: 'ax-tab',
|
|
@@ -5630,18 +5610,11 @@ class AXTabViewComponent extends AXBaseComponent {
|
|
|
5630
5610
|
tabs[e.selectedIndex].show();
|
|
5631
5611
|
}
|
|
5632
5612
|
}
|
|
5633
|
-
AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5634
|
-
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5613
|
+
AXTabViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5614
|
+
AXTabViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabViewComponent, selector: "ax-tab-view", inputs: { size: "size" }, host: { classAttribute: "ax-tab-view" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabViewComponent, decorators: [{
|
|
5636
5616
|
type: Component,
|
|
5637
|
-
args: [{
|
|
5638
|
-
selector: 'ax-tab-view',
|
|
5639
|
-
templateUrl: './tab-view.component.html',
|
|
5640
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5641
|
-
encapsulation: ViewEncapsulation.None,
|
|
5642
|
-
inputs: ['size'],
|
|
5643
|
-
host: { class: 'ax-tab-view' }
|
|
5644
|
-
}]
|
|
5617
|
+
args: [{ selector: 'ax-tab-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['size'], host: { class: 'ax-tab-view' }, template: "<!-- <ax-tab-strip [items]=\"_tabs\" (onSelectionChanged)=\"_handleSelectionChanged($event)\">\r\n\r\n</ax-tab-strip> -->\r\n<div class=\"ax-tab-view-container\">\r\n <ng-content select=\"ax-tab\">\r\n </ng-content>\r\n</div>" }]
|
|
5645
5618
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
|
5646
5619
|
type: ContentChildren,
|
|
5647
5620
|
args: [AXTabComponent]
|
|
@@ -5665,7 +5638,7 @@ class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
5665
5638
|
}
|
|
5666
5639
|
// @HostBinding('class')
|
|
5667
5640
|
// private get __hostClass(): string {
|
|
5668
|
-
//
|
|
5641
|
+
// ;
|
|
5669
5642
|
// const classes: any = {
|
|
5670
5643
|
// 'ax-state-active': this.active
|
|
5671
5644
|
// }
|
|
@@ -5679,8 +5652,8 @@ class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
5679
5652
|
});
|
|
5680
5653
|
}
|
|
5681
5654
|
}
|
|
5682
|
-
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5683
|
-
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5655
|
+
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5656
|
+
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", width: "width", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "__hostClick($event)" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5684
5657
|
<ng-container *ngIf="headerTemplate;else header">
|
|
5685
5658
|
<ng-container [ngTemplateOutlet]="headerTemplate" [ngTemplateOutletContext]="{ $implicit: {text,active} }"></ng-container>
|
|
5686
5659
|
</ng-container>
|
|
@@ -5694,7 +5667,7 @@ AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
5694
5667
|
</ng-content>
|
|
5695
5668
|
</ng-template>
|
|
5696
5669
|
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabItemComponent, decorators: [{
|
|
5698
5671
|
type: Component,
|
|
5699
5672
|
args: [{
|
|
5700
5673
|
selector: 'ax-tab-item',
|
|
@@ -5766,14 +5739,14 @@ class AXTabsComponent extends AXBaseComponent {
|
|
|
5766
5739
|
this._cdr.markForCheck();
|
|
5767
5740
|
}
|
|
5768
5741
|
}
|
|
5769
|
-
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5770
|
-
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5742
|
+
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5743
|
+
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTabsComponent, selector: "ax-tabs", inputs: { fitParent: "fitParent", minWidth: "minWidth", content: "content" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
5771
5744
|
<div class="ax-items-wrapper">
|
|
5772
5745
|
<ng-content select="ax-tab-item">
|
|
5773
5746
|
</ng-content>
|
|
5774
5747
|
</div>
|
|
5775
5748
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsComponent, decorators: [{
|
|
5777
5750
|
type: Component,
|
|
5778
5751
|
args: [{
|
|
5779
5752
|
selector: 'ax-tabs',
|
|
@@ -5808,7 +5781,7 @@ class AXTabContentDirective {
|
|
|
5808
5781
|
return this._portal;
|
|
5809
5782
|
}
|
|
5810
5783
|
set portal(v) {
|
|
5811
|
-
|
|
5784
|
+
//;
|
|
5812
5785
|
if (v) {
|
|
5813
5786
|
this._portal = v;
|
|
5814
5787
|
this._viewContainerRef.clear();
|
|
@@ -5816,9 +5789,9 @@ class AXTabContentDirective {
|
|
|
5816
5789
|
}
|
|
5817
5790
|
}
|
|
5818
5791
|
}
|
|
5819
|
-
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5820
|
-
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5792
|
+
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5793
|
+
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
|
5794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
|
5822
5795
|
type: Directive,
|
|
5823
5796
|
args: [{
|
|
5824
5797
|
selector: '[axTabContent]',
|
|
@@ -5831,10 +5804,10 @@ const COMPONENT$3 = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective]
|
|
|
5831
5804
|
const MODULES$3 = [CommonModule, PortalModule, AXEditorDecoratorModule];
|
|
5832
5805
|
class AXTabsModule {
|
|
5833
5806
|
}
|
|
5834
|
-
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5835
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5836
|
-
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5807
|
+
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5808
|
+
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXEditorDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
|
5809
|
+
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsModule, providers: [], imports: [[...MODULES$3]] });
|
|
5810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTabsModule, decorators: [{
|
|
5838
5811
|
type: NgModule,
|
|
5839
5812
|
args: [{
|
|
5840
5813
|
declarations: [...COMPONENT$3],
|
|
@@ -5941,20 +5914,12 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
5941
5914
|
this._emitOnFocusEvent(e);
|
|
5942
5915
|
}
|
|
5943
5916
|
}
|
|
5944
|
-
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5945
|
-
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5917
|
+
AXTimeBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.MaskApplierService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5918
|
+
AXTimeBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", name: "name", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", displayTextChange: "displayTextChange" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-time-box ax-editor-container" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }], directives: [{ type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
|
|
5947
5920
|
type: Component,
|
|
5948
|
-
args: [{
|
|
5949
|
-
|
|
5950
|
-
templateUrl: './time-box.component.html',
|
|
5951
|
-
inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', ...TEXTBOX_INPUTS],
|
|
5952
|
-
outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', ...TEXTBOX_OUTPUT],
|
|
5953
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5954
|
-
encapsulation: ViewEncapsulation.None,
|
|
5955
|
-
host: { class: 'ax-time-box ax-editor-container' },
|
|
5956
|
-
}]
|
|
5957
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5921
|
+
args: [{ selector: 'ax-time-box', inputs: ['disabled', 'readonly', 'tabIndex', 'size', 'value', ...TEXTBOX_INPUTS], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', ...TEXTBOX_OUTPUT], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-time-box ax-editor-container' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" type=\"text\" [attr.pattern]=\"'[\\d\\.]*'\" [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <i class=\"ax-icon-x icon\"></i>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
|
5922
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.MaskApplierService }]; }, propDecorators: { hostClass: [{
|
|
5958
5923
|
type: HostBinding,
|
|
5959
5924
|
args: ['class']
|
|
5960
5925
|
}], minValue: [{
|
|
@@ -5978,12 +5943,12 @@ const MODULES$2 = [
|
|
|
5978
5943
|
];
|
|
5979
5944
|
class AXTimeBoxModule {
|
|
5980
5945
|
}
|
|
5981
|
-
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5982
|
-
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5946
|
+
AXTimeBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5947
|
+
AXTimeBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
|
|
5983
5948
|
FormsModule,
|
|
5984
|
-
AXButtonModule, i1$
|
|
5985
|
-
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5949
|
+
AXButtonModule, i1$2.NgxMaskModule], exports: [AXTimeBoxComponent] });
|
|
5950
|
+
AXTimeBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxModule, providers: [], imports: [[...MODULES$2]] });
|
|
5951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTimeBoxModule, decorators: [{
|
|
5987
5952
|
type: NgModule,
|
|
5988
5953
|
args: [{
|
|
5989
5954
|
declarations: [...COMPONENT$2],
|
|
@@ -6026,27 +5991,21 @@ class AXToastComponent extends AXBaseComponentMixin {
|
|
|
6026
5991
|
}
|
|
6027
5992
|
}
|
|
6028
5993
|
}
|
|
6029
|
-
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6030
|
-
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5994
|
+
AXToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5995
|
+
AXToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXToastComponent, selector: "ax-toast", host: { classAttribute: "ax-toast" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastComponent, decorators: [{
|
|
6032
5997
|
type: Component,
|
|
6033
|
-
args: [{
|
|
6034
|
-
selector: 'ax-toast',
|
|
6035
|
-
templateUrl: './toast.component.html',
|
|
6036
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6037
|
-
encapsulation: ViewEncapsulation.None,
|
|
6038
|
-
host: { class: 'ax-toast' }
|
|
6039
|
-
}]
|
|
5998
|
+
args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-toast' }, template: "<div class=\"ax-toast-icon-side\">\r\n <i class=\"ax-toast-icon {{_icon}}\"></i>\r\n</div>\r\n<div class=\"ax-toast-content-side\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div class=\"ax-toast-content\" *ngIf=\"options.content\">{{options.content}}</div>\r\n</div>\r\n<div class=\"ax-toast-dismiss-icon\">\r\n <i class=\"ax-ic ax-ic-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></i>\r\n</div>\r\n<div class=\"ax-toast-progress ax-{{options.type}}\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\">\r\n</div>" }]
|
|
6040
5999
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
6041
6000
|
|
|
6042
6001
|
const COMPONENT$1 = [AXToastComponent];
|
|
6043
6002
|
const MODULES$1 = [CommonModule, AXButtonModule];
|
|
6044
6003
|
class AXToastModule {
|
|
6045
6004
|
}
|
|
6046
|
-
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6047
|
-
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6048
|
-
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6005
|
+
AXToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6006
|
+
AXToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
|
|
6007
|
+
AXToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastModule, providers: [], imports: [[...MODULES$1]] });
|
|
6008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastModule, decorators: [{
|
|
6050
6009
|
type: NgModule,
|
|
6051
6010
|
args: [{
|
|
6052
6011
|
declarations: [...COMPONENT$1],
|
|
@@ -6158,9 +6117,9 @@ class AXToastService {
|
|
|
6158
6117
|
}
|
|
6159
6118
|
}
|
|
6160
6119
|
}
|
|
6161
|
-
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6162
|
-
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6120
|
+
AXToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6121
|
+
AXToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastService, providedIn: 'root' });
|
|
6122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXToastService, decorators: [{
|
|
6164
6123
|
type: Injectable,
|
|
6165
6124
|
args: [{ providedIn: 'root' }]
|
|
6166
6125
|
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; } });
|
|
@@ -6172,8 +6131,8 @@ class AXTooltipComponent extends AXBaseComponentMixin {
|
|
|
6172
6131
|
this.position = 'top';
|
|
6173
6132
|
}
|
|
6174
6133
|
}
|
|
6175
|
-
AXTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6176
|
-
AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6134
|
+
AXTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6135
|
+
AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, host: { classAttribute: "ax-tooltip" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\r\n <div class=\"ax-tooltip\" @tooltip>\r\n {{ text }}\r\n </div>\r\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{position}}\"></div>\r\n</div>", animations: [
|
|
6177
6136
|
trigger('tooltip', [
|
|
6178
6137
|
transition(':enter', [
|
|
6179
6138
|
style({ opacity: 0 }),
|
|
@@ -6182,15 +6141,9 @@ AXTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
6182
6141
|
transition(':leave', [animate(50, style({ opacity: 0 }))]),
|
|
6183
6142
|
]),
|
|
6184
6143
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipComponent, decorators: [{
|
|
6186
6145
|
type: Component,
|
|
6187
|
-
args: [{
|
|
6188
|
-
selector: 'ax-tooltip',
|
|
6189
|
-
templateUrl: './tooltip.component.html',
|
|
6190
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6191
|
-
encapsulation: ViewEncapsulation.None,
|
|
6192
|
-
host: { class: 'ax-tooltip' },
|
|
6193
|
-
animations: [
|
|
6146
|
+
args: [{ selector: 'ax-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-tooltip' }, animations: [
|
|
6194
6147
|
trigger('tooltip', [
|
|
6195
6148
|
transition(':enter', [
|
|
6196
6149
|
style({ opacity: 0 }),
|
|
@@ -6198,8 +6151,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6198
6151
|
]),
|
|
6199
6152
|
transition(':leave', [animate(50, style({ opacity: 0 }))]),
|
|
6200
6153
|
]),
|
|
6201
|
-
],
|
|
6202
|
-
}]
|
|
6154
|
+
], template: "<div class=\"ax-tooltip-container\">\r\n <div class=\"ax-tooltip\" @tooltip>\r\n {{ text }}\r\n </div>\r\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{position}}\"></div>\r\n</div>" }]
|
|
6203
6155
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
6204
6156
|
type: Input
|
|
6205
6157
|
}], position: [{
|
|
@@ -6268,9 +6220,9 @@ class AXTooltipDirective {
|
|
|
6268
6220
|
this.overlayRef.detach();
|
|
6269
6221
|
}
|
|
6270
6222
|
}
|
|
6271
|
-
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6272
|
-
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6223
|
+
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i1$1.OverlayPositionBuilder }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6224
|
+
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPositon", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseout": "hide()" } }, ngImport: i0 });
|
|
6225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
|
6274
6226
|
type: Directive,
|
|
6275
6227
|
args: [{ selector: '[axTooltip]' }]
|
|
6276
6228
|
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i1$1.OverlayPositionBuilder }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
@@ -6291,10 +6243,10 @@ const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
|
|
6291
6243
|
const MODULES = [CommonModule, OverlayModule];
|
|
6292
6244
|
class AXTooltipModule {
|
|
6293
6245
|
}
|
|
6294
|
-
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6295
|
-
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6296
|
-
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6246
|
+
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6247
|
+
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
|
|
6248
|
+
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipModule, providers: [], imports: [[...MODULES]] });
|
|
6249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTooltipModule, decorators: [{
|
|
6298
6250
|
type: NgModule,
|
|
6299
6251
|
args: [{
|
|
6300
6252
|
declarations: [...COMPONENT],
|
|
@@ -6304,90 +6256,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6304
6256
|
}]
|
|
6305
6257
|
}] });
|
|
6306
6258
|
|
|
6307
|
-
/**
|
|
6308
|
-
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
6309
|
-
*
|
|
6310
|
-
* @category Components
|
|
6311
|
-
*/
|
|
6312
|
-
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
6313
|
-
/**
|
|
6314
|
-
* @ignore
|
|
6315
|
-
*/
|
|
6316
|
-
constructor(elementRef, cdr) {
|
|
6317
|
-
super(elementRef, cdr);
|
|
6318
|
-
}
|
|
6319
|
-
//TODO: prefix suffix text
|
|
6320
|
-
get hostClass() {
|
|
6321
|
-
return `${this.cssClass} ax-${this.size}`;
|
|
6322
|
-
}
|
|
6323
|
-
}
|
|
6324
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6325
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", cssClass: "cssClass", size: "size", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", debounceTime: "debounceTime", value: "value", name: "name" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, host: { properties: { "class": "this.hostClass" }, classAttribute: "ax-text-box ax-editor-container" }, queries: [{ propertyName: "_contentMask", first: true, predicate: AXInputMaskComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input class=\"ax-input\" [attr.name]=\"name\" type=\"text\" [mask]=\"_contentMask?.mask\" [prefix]=\"_contentMask?.prefix\"\r\n [suffix]=\"_contentMask?.suffix\" [showMaskTyped]=\"_contentMask?.showMaskTyped\" [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxLength\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n [attr.autocomplete]=\"autoComplete ? 'on': 'off'\">\r\n<ax-button color=\"light\" look=\"blank\" [size]=\"size\" (onClick)=\"clear()\" [tabIndex]=\"-1\"\r\n *ngIf=\"value && allowNull && !(disabled || readonly)\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n </ax-prefix>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-input-mask\">\r\n</ng-content>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1$3.MaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
|
6327
|
-
type: Component,
|
|
6328
|
-
args: [{
|
|
6329
|
-
selector: 'ax-text-box',
|
|
6330
|
-
templateUrl: 'textbox.component.html',
|
|
6331
|
-
inputs: [
|
|
6332
|
-
'disabled',
|
|
6333
|
-
'readonly',
|
|
6334
|
-
'tabIndex',
|
|
6335
|
-
'cssClass',
|
|
6336
|
-
'size',
|
|
6337
|
-
...TEXTBOX_INPUTS,
|
|
6338
|
-
],
|
|
6339
|
-
outputs: [
|
|
6340
|
-
'valueChange',
|
|
6341
|
-
'onValueChanged',
|
|
6342
|
-
'onBlur',
|
|
6343
|
-
'onFocus',
|
|
6344
|
-
...TEXTBOX_OUTPUT,
|
|
6345
|
-
],
|
|
6346
|
-
encapsulation: ViewEncapsulation.None,
|
|
6347
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6348
|
-
host: { class: 'ax-text-box ax-editor-container' },
|
|
6349
|
-
}]
|
|
6350
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentMask: [{
|
|
6351
|
-
type: ContentChild,
|
|
6352
|
-
args: [AXInputMaskComponent]
|
|
6353
|
-
}], hostClass: [{
|
|
6354
|
-
type: HostBinding,
|
|
6355
|
-
args: ['class']
|
|
6356
|
-
}] } });
|
|
6357
|
-
|
|
6358
|
-
class AXTextBoxModule {
|
|
6359
|
-
}
|
|
6360
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6361
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent], imports: [CommonModule,
|
|
6362
|
-
FormsModule,
|
|
6363
|
-
AXButtonModule,
|
|
6364
|
-
AXEditorDecoratorModule,
|
|
6365
|
-
AXIconModule, i1$3.NgxMaskModule], exports: [AXTextBoxComponent] });
|
|
6366
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, providers: [], imports: [[
|
|
6367
|
-
CommonModule,
|
|
6368
|
-
FormsModule,
|
|
6369
|
-
AXButtonModule,
|
|
6370
|
-
AXEditorDecoratorModule,
|
|
6371
|
-
AXIconModule,
|
|
6372
|
-
NgxMaskModule.forChild()
|
|
6373
|
-
]] });
|
|
6374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
|
6375
|
-
type: NgModule,
|
|
6376
|
-
args: [{
|
|
6377
|
-
imports: [
|
|
6378
|
-
CommonModule,
|
|
6379
|
-
FormsModule,
|
|
6380
|
-
AXButtonModule,
|
|
6381
|
-
AXEditorDecoratorModule,
|
|
6382
|
-
AXIconModule,
|
|
6383
|
-
NgxMaskModule.forChild()
|
|
6384
|
-
],
|
|
6385
|
-
exports: [AXTextBoxComponent],
|
|
6386
|
-
declarations: [AXTextBoxComponent],
|
|
6387
|
-
providers: [],
|
|
6388
|
-
}]
|
|
6389
|
-
}] });
|
|
6390
|
-
|
|
6391
6259
|
// @dynamic
|
|
6392
6260
|
class AXValidationRules {
|
|
6393
6261
|
static addRule(name, rule) {
|
|
@@ -6475,9 +6343,9 @@ class AXValidationRuleComponent extends AXBaseComponentMixin {
|
|
|
6475
6343
|
});
|
|
6476
6344
|
}
|
|
6477
6345
|
}
|
|
6478
|
-
AXValidationRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6479
|
-
AXValidationRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6346
|
+
AXValidationRuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationRuleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6347
|
+
AXValidationRuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: { rule: "rule", message: "message", showMessage: "showMessage", value: "value", enabled: "enabled" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationRuleComponent, decorators: [{
|
|
6481
6349
|
type: Component,
|
|
6482
6350
|
args: [{
|
|
6483
6351
|
selector: 'ax-validation-rule',
|
|
@@ -6511,10 +6379,10 @@ class AXValidationModule {
|
|
|
6511
6379
|
});
|
|
6512
6380
|
}
|
|
6513
6381
|
}
|
|
6514
|
-
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6515
|
-
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6516
|
-
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6382
|
+
AXValidationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6383
|
+
AXValidationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationModule, declarations: [AXValidationRuleComponent], imports: [CommonModule], exports: [AXValidationRuleComponent] });
|
|
6384
|
+
AXValidationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationModule, providers: [], imports: [[CommonModule]] });
|
|
6385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXValidationModule, decorators: [{
|
|
6518
6386
|
type: NgModule,
|
|
6519
6387
|
args: [{
|
|
6520
6388
|
declarations: [AXValidationRuleComponent],
|
|
@@ -6533,5 +6401,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6533
6401
|
* Generated bundle index. Do not edit.
|
|
6534
6402
|
*/
|
|
6535
6403
|
|
|
6536
|
-
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule,
|
|
6537
|
-
//# sourceMappingURL=acorex-components.
|
|
6404
|
+
export { AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorContentComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownComponent, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXResponsiveDirective, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSideMenuComponent, AXSideMenuModule, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabStripComponent, AXTabViewComponent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
6405
|
+
//# sourceMappingURL=acorex-components.mjs.map
|