@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
|
@@ -11,10 +11,10 @@ const COMPONENT = [AXDialogComponent];
|
|
|
11
11
|
const MODULES = [CommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXEditorDecoratorModule];
|
|
12
12
|
export class AXDialogModule {
|
|
13
13
|
}
|
|
14
|
-
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
AXDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
16
|
-
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
AXDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15
|
+
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] });
|
|
16
|
+
AXDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, providers: [], imports: [[...MODULES]] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogModule, decorators: [{
|
|
18
18
|
type: NgModule,
|
|
19
19
|
args: [{
|
|
20
20
|
declarations: [...COMPONENT],
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { AXTranslator } from '@acorex/core';
|
|
2
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import { AXDialogComponent } from './dialog.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/cdk/overlay";
|
|
7
|
+
/**
|
|
8
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
9
|
+
*
|
|
10
|
+
* @category Components
|
|
11
|
+
*/
|
|
12
|
+
export class AXDialogService {
|
|
13
|
+
/**
|
|
14
|
+
* @ignore
|
|
15
|
+
*/
|
|
16
|
+
constructor(overlayService, parentInjector, sso) {
|
|
17
|
+
this.overlayService = overlayService;
|
|
18
|
+
this.parentInjector = parentInjector;
|
|
19
|
+
this.sso = sso;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Show an alert box with 'Okay' button.
|
|
23
|
+
*/
|
|
24
|
+
alert(title, content, type = 'primary') {
|
|
25
|
+
return new Promise((resolve) => {
|
|
26
|
+
const popup = this.open({
|
|
27
|
+
title,
|
|
28
|
+
type: type,
|
|
29
|
+
content,
|
|
30
|
+
buttons: [
|
|
31
|
+
{
|
|
32
|
+
name: 'confirm',
|
|
33
|
+
text: AXTranslator.get('common.okay'),
|
|
34
|
+
color: type,
|
|
35
|
+
look: `twotone`,
|
|
36
|
+
onClick: () => {
|
|
37
|
+
popup.close();
|
|
38
|
+
if (resolve) {
|
|
39
|
+
resolve();
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Show a confirm box with 'Okay' & 'Cancel' buttons.
|
|
49
|
+
*/
|
|
50
|
+
confirm(title, content, type = 'primary') {
|
|
51
|
+
return new Promise((resolve, reject) => {
|
|
52
|
+
const popup = this.open({
|
|
53
|
+
title,
|
|
54
|
+
content,
|
|
55
|
+
type,
|
|
56
|
+
buttons: [
|
|
57
|
+
{
|
|
58
|
+
name: 'confirm',
|
|
59
|
+
text: AXTranslator.get('common.okay'),
|
|
60
|
+
color: type,
|
|
61
|
+
onClick: () => {
|
|
62
|
+
popup.close();
|
|
63
|
+
if (resolve) {
|
|
64
|
+
resolve();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
submitBehavior: true,
|
|
68
|
+
cancelBehavior: false,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'cancel',
|
|
72
|
+
text: AXTranslator.get('common.cancel'),
|
|
73
|
+
color: `light`,
|
|
74
|
+
onClick: () => {
|
|
75
|
+
popup.close();
|
|
76
|
+
if (reject) {
|
|
77
|
+
reject();
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
submitBehavior: false,
|
|
81
|
+
cancelBehavior: true,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Show a custom dialog box.
|
|
89
|
+
*/
|
|
90
|
+
show(options) {
|
|
91
|
+
return new Promise((resolve) => {
|
|
92
|
+
const popup = this.open(options);
|
|
93
|
+
options.buttons?.forEach((b) => {
|
|
94
|
+
const orginalClick = b.onClick;
|
|
95
|
+
b.onClick = () => {
|
|
96
|
+
popup.close();
|
|
97
|
+
if (orginalClick) {
|
|
98
|
+
orginalClick();
|
|
99
|
+
}
|
|
100
|
+
if (resolve) {
|
|
101
|
+
resolve({ name: b.name });
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
open(options) {
|
|
108
|
+
let positionStrategy = this.overlayService
|
|
109
|
+
.position()
|
|
110
|
+
.global()
|
|
111
|
+
.centerHorizontally()
|
|
112
|
+
.centerVertically();
|
|
113
|
+
const overlayRef = this.overlayService.create({
|
|
114
|
+
positionStrategy,
|
|
115
|
+
hasBackdrop: true,
|
|
116
|
+
scrollStrategy: this.sso.block(),
|
|
117
|
+
panelClass: ['ax-animate-fadeIn', 'ax-animate-faster'],
|
|
118
|
+
});
|
|
119
|
+
const dialogPortal = new ComponentPortal(AXDialogComponent, null, this.parentInjector);
|
|
120
|
+
const host = overlayRef.attach(dialogPortal);
|
|
121
|
+
if (host.instance) {
|
|
122
|
+
Object.assign(host.instance, {
|
|
123
|
+
options: options,
|
|
124
|
+
close: () => {
|
|
125
|
+
overlayRef.dispose();
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
setTimeout(() => {
|
|
129
|
+
host.changeDetectorRef.detectChanges();
|
|
130
|
+
}, 0);
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
close: () => {
|
|
134
|
+
host.instance.close();
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
AXDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: i1.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
140
|
+
AXDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, providedIn: 'root' });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDialogService, decorators: [{
|
|
142
|
+
type: Injectable,
|
|
143
|
+
args: [{ providedIn: 'root' }]
|
|
144
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }, { type: i1.ScrollStrategyOptions }]; } });
|
|
145
|
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lhbG9nU2VydmljZSB7XHJcblxyXG4gIC8qKlxyXG4gICogQGlnbm9yZVxyXG4gICovXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwcml2YXRlIG92ZXJsYXlTZXJ2aWNlOiBPdmVybGF5LFxyXG4gICAgcHJpdmF0ZSBwYXJlbnRJbmplY3RvcjogSW5qZWN0b3IsXHJcbiAgICBwcml2YXRlIHNzbzogU2Nyb2xsU3RyYXRlZ3lPcHRpb25zXHJcbiAgKSB7IH1cclxuXHJcbiAgLyoqXHJcbiAgKiAgU2hvdyBhbiBhbGVydCBib3ggd2l0aCAnT2theScgYnV0dG9uLlxyXG4gICovXHJcbiAgYWxlcnQodGl0bGU6IHN0cmluZywgY29udGVudDogc3RyaW5nLCB0eXBlOiBBWFN0eWxlQ29sb3JUeXBlID0gJ3ByaW1hcnknKTogUHJvbWlzZTx2b2lkPiB7XHJcbiAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUpID0+IHtcclxuICAgICAgY29uc3QgcG9wdXAgPSB0aGlzLm9wZW4oe1xyXG4gICAgICAgIHRpdGxlLFxyXG4gICAgICAgIHR5cGU6IHR5cGUsXHJcbiAgICAgICAgY29udGVudCxcclxuICAgICAgICBidXR0b25zOiBbXHJcbiAgICAgICAgICB7XHJcbiAgICAgICAgICAgIG5hbWU6ICdjb25maXJtJyxcclxuICAgICAgICAgICAgdGV4dDogQVhUcmFuc2xhdG9yLmdldCgnY29tbW9uLm9rYXknKSxcclxuICAgICAgICAgICAgY29sb3I6IHR5cGUsXHJcbiAgICAgICAgICAgIGxvb2s6IGB0d290b25lYCxcclxuICAgICAgICAgICAgb25DbGljazogKCkgPT4ge1xyXG4gICAgICAgICAgICAgIHBvcHVwLmNsb3NlKCk7XHJcbiAgICAgICAgICAgICAgaWYgKHJlc29sdmUpIHtcclxuICAgICAgICAgICAgICAgIHJlc29sdmUoKTtcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIF0sXHJcbiAgICAgIH0pO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAqICBTaG93IGEgY29uZmlybSBib3ggd2l0aCAnT2theScgJiAnQ2FuY2VsJyBidXR0b25zLlxyXG4gICovXHJcbiAgY29uZmlybSh0aXRsZTogc3RyaW5nLCBjb250ZW50OiBzdHJpbmcsIHR5cGU6IEFYU3R5bGVDb2xvclR5cGUgPSAncHJpbWFyeScpOiBQcm9taXNlPHZvaWQ+IHtcclxuICAgIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7XHJcbiAgICAgIGNvbnN0IHBvcHVwID0gdGhpcy5vcGVuKHtcclxuICAgICAgICB0aXRsZSxcclxuICAgICAgICBjb250ZW50LFxyXG4gICAgICAgIHR5cGUsXHJcbiAgICAgICAgYnV0dG9uczogW1xyXG4gICAgICAgICAge1xyXG4gICAgICAgICAgICBuYW1lOiAnY29uZmlybScsXHJcbiAgICAgICAgICAgIHRleHQ6IEFYVHJhbnNsYXRvci5nZXQoJ2NvbW1vbi5va2F5JyksXHJcbiAgICAgICAgICAgIGNvbG9yOiB0eXBlLFxyXG4gICAgICAgICAgICBvbkNsaWNrOiAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgcG9wdXAuY2xvc2UoKTtcclxuICAgICAgICAgICAgICBpZiAocmVzb2x2ZSkge1xyXG4gICAgICAgICAgICAgICAgcmVzb2x2ZSgpO1xyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgc3VibWl0QmVoYXZpb3I6IHRydWUsXHJcbiAgICAgICAgICAgIGNhbmNlbEJlaGF2aW9yOiBmYWxzZSxcclxuICAgICAgICAgIH0sXHJcbiAgICAgICAgICB7XHJcbiAgICAgICAgICAgIG5hbWU6ICdjYW5jZWwnLFxyXG4gICAgICAgICAgICB0ZXh0OiBBWFRyYW5zbGF0b3IuZ2V0KCdjb21tb24uY2FuY2VsJyksXHJcbiAgICAgICAgICAgIGNvbG9yOiBgbGlnaHRgLFxyXG4gICAgICAgICAgICBvbkNsaWNrOiAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgcG9wdXAuY2xvc2UoKTtcclxuICAgICAgICAgICAgICBpZiAocmVqZWN0KSB7XHJcbiAgICAgICAgICAgICAgICByZWplY3QoKTtcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIHN1Ym1pdEJlaGF2aW9yOiBmYWxzZSxcclxuICAgICAgICAgICAgY2FuY2VsQmVoYXZpb3I6IHRydWUsXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIF0sXHJcbiAgICAgIH0pO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAqICBTaG93IGEgY3VzdG9tIGRpYWxvZyBib3guXHJcbiAgKi9cclxuICBzaG93KG9wdGlvbnM6IEFYRGlhbG9nT3B0aW9ucyk6IFByb21pc2U8eyBuYW1lOiBzdHJpbmcgfT4ge1xyXG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlKSA9PiB7XHJcbiAgICAgIGNvbnN0IHBvcHVwID0gdGhpcy5vcGVuKG9wdGlvbnMpO1xyXG4gICAgICBvcHRpb25zLmJ1dHRvbnM/LmZvckVhY2goKGIpID0+IHtcclxuICAgICAgICBjb25zdCBvcmdpbmFsQ2xpY2sgPSBiLm9uQ2xpY2s7XHJcbiAgICAgICAgYi5vbkNsaWNrID0gKCkgPT4ge1xyXG4gICAgICAgICAgcG9wdXAuY2xvc2UoKTtcclxuICAgICAgICAgIGlmIChvcmdpbmFsQ2xpY2spIHtcclxuICAgICAgICAgICAgb3JnaW5hbENsaWNrKCk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgICBpZiAocmVzb2x2ZSkge1xyXG4gICAgICAgICAgICByZXNvbHZlKHsgbmFtZTogYi5uYW1lIH0pO1xyXG4gICAgICA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lKCk7XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgIGhvc3QuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0ZWN0Q2hhbmdlcygpO1xyXG4gICAgICB9LCAwKTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBjbG9zZTogKCkgPT4ge1xyXG4gICAgICAgIGhvc3QuaW5zdGFuY2UuY2xvc2UoKTtcclxuICAgICAgfSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
File without changes
|
|
@@ -40,8 +40,8 @@ export class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
AXDrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
43
|
+
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 });
|
|
44
|
+
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: `
|
|
45
45
|
<ng-content select="ax-drawer[location='start']">
|
|
46
46
|
</ng-content>
|
|
47
47
|
<ng-content select="ax-drawer-content">
|
|
@@ -49,7 +49,7 @@ AXDrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
49
49
|
<ng-content select="ax-drawer[location='end']">
|
|
50
50
|
</ng-content>
|
|
51
51
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'ax-drawer-container',
|
|
@@ -6,12 +6,12 @@ export class AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
|
6
6
|
super(elementRef, cdr);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
AXDrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
AXDrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9
|
+
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 });
|
|
10
|
+
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: `
|
|
11
11
|
<ng-content>
|
|
12
12
|
</ng-content>
|
|
13
13
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerContentComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: 'ax-drawer-content',
|
|
@@ -113,12 +113,12 @@ export class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
113
113
|
this.collapsed = true;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
AXDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
117
|
-
AXDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
116
|
+
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 });
|
|
117
|
+
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: `
|
|
118
118
|
<ng-content>
|
|
119
119
|
</ng-content>
|
|
120
120
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
|
122
122
|
type: Component,
|
|
123
123
|
args: [{
|
|
124
124
|
selector: 'ax-drawer',
|
|
@@ -8,10 +8,10 @@ const COMPONENT = [AXDrawerComponent, AXDrawerContainerComponent, AXDrawerConten
|
|
|
8
8
|
const MODULES = [CommonModule];
|
|
9
9
|
export class AXDrawerModule {
|
|
10
10
|
}
|
|
11
|
-
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
AXDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
13
|
-
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
AXDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
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] });
|
|
13
|
+
AXDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, providers: [], imports: [[...MODULES]] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDrawerModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
declarations: [...COMPONENT],
|
|
File without changes
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren, ViewChildren, EventEmitter, Output, Input, ViewChild, Optional } from '@angular/core';
|
|
2
|
+
import { AXBaseDropdownMixin } from '../base';
|
|
3
|
+
import { DROPDOWN_INPUTS, DROPDOWN_OUTPUT } from '../base/mixin/dropdown-mixin.class';
|
|
4
|
+
import { AXButtonItemComponent } from '../button';
|
|
5
|
+
import { AXPopoverComponent } from '../popover';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../button";
|
|
8
|
+
import * as i2 from "../popover/popover.component";
|
|
9
|
+
import * as i3 from "../button/button-item.component";
|
|
10
|
+
import * as i4 from "../decorators/prefix.component";
|
|
11
|
+
import * as i5 from "../icon/icon.component";
|
|
12
|
+
import * as i6 from "@angular/common";
|
|
13
|
+
export class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
14
|
+
constructor(elementRef, cdr, _parent) {
|
|
15
|
+
super(elementRef, cdr);
|
|
16
|
+
this._parent = _parent;
|
|
17
|
+
this.onItemClick = new EventEmitter();
|
|
18
|
+
this._needBorder = false;
|
|
19
|
+
this._subs = [];
|
|
20
|
+
this._target = this._parent._getHostElement();
|
|
21
|
+
}
|
|
22
|
+
get items() {
|
|
23
|
+
return this._items || [];
|
|
24
|
+
}
|
|
25
|
+
set items(v) {
|
|
26
|
+
this._items = v;
|
|
27
|
+
this._cdr.markForCheck();
|
|
28
|
+
}
|
|
29
|
+
_getAllButtons() {
|
|
30
|
+
return [...Array.from(this._viewButtons), ...Array.from(this._contentButtons)];
|
|
31
|
+
}
|
|
32
|
+
onViewInit() {
|
|
33
|
+
super.onViewInit();
|
|
34
|
+
this._getAllButtons().forEach(c => {
|
|
35
|
+
this._needBorder = true;
|
|
36
|
+
this._subs.push(c.onClick.subscribe(this._handleOnItemClick.bind(this)));
|
|
37
|
+
this._cdr.markForCheck();
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
onDestroy() {
|
|
41
|
+
this._subs.forEach(s => {
|
|
42
|
+
s?.unsubscribe();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
_emitOnItemClickEvent(e, item) {
|
|
46
|
+
this.onItemClick.emit({
|
|
47
|
+
component: this,
|
|
48
|
+
htmlElement: this._getHostElement(),
|
|
49
|
+
nativeEvent: e.nativeEvent,
|
|
50
|
+
name: item.name,
|
|
51
|
+
data: item.data,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
_handleOnItemClick(e) {
|
|
55
|
+
this.close();
|
|
56
|
+
this._emitOnItemClickEvent(e, e.component);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
AXDropdownPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownPanelComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXButtonComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
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: i2.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }, { type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"] }, { type: i4.AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: i5.AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownPanelComponent, decorators: [{
|
|
62
|
+
type: Component,
|
|
63
|
+
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>" }]
|
|
64
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXButtonComponent, decorators: [{
|
|
65
|
+
type: Optional
|
|
66
|
+
}] }]; }, propDecorators: { _contentButtons: [{
|
|
67
|
+
type: ContentChildren,
|
|
68
|
+
args: [AXButtonItemComponent]
|
|
69
|
+
}], _viewButtons: [{
|
|
70
|
+
type: ViewChildren,
|
|
71
|
+
args: [AXButtonItemComponent]
|
|
72
|
+
}], onItemClick: [{
|
|
73
|
+
type: Output
|
|
74
|
+
}], popover: [{
|
|
75
|
+
type: ViewChild,
|
|
76
|
+
args: [AXPopoverComponent]
|
|
77
|
+
}], items: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}] } });
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi9kcm9wZG93bi9kcm9wZG93bi1wYW5lbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL2Ryb3Bkb3duL2Ryb3Bkb3duLXBhbmVsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLHVCQUF1QixFQUd2QixlQUFlLEVBQ2YsWUFBWSxFQUVaLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUNMLFNBQVMsRUFDVCxRQUFRLEVBQ1gsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLG1CQUFtQixFQUFvQyxNQUFNLFNBQVMsQ0FBQztBQUNoRixPQUFPLEVBQUUsZUFBZSxFQUFFLGVBQWUsRUFBNEIsTUFBTSxvQ0FBb0MsQ0FBQztBQUVoSCxPQUFPLEVBQW1DLHFCQUFxQixFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ25G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j5cclxuICAgICAgICAgICAgICAgIDwvYXgtcHJlZml4PlxyXG4gICAgICAgICAgICA8L2F4LWJ1dHRvbi1pdGVtPlxyXG4gICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjcGFuZWxUcGw+XHJcbiAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltwYW5lbF0sYXgtYnV0dG9uLWl0ZW1cIj5cclxuICAgICAgICAgICAgPC9uZy1jb250ZW50PlxyXG4gICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICA8L2Rpdj5cclxuPC9heC1wb3BvdmVyPiJdfQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { AXBaseDropdownMixin } from '../base';
|
|
3
|
+
import { DROPDOWN_INPUTS, DROPDOWN_OUTPUT } from '../base/mixin/dropdown-mixin.class';
|
|
4
|
+
import { INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT } from '../base/mixin/interactive-mixin.class';
|
|
5
|
+
import { AXPopoverComponent } from '../popover/popover.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../button/button.component";
|
|
8
|
+
import * as i2 from "../icon/icon.component";
|
|
9
|
+
import * as i3 from "../popover/popover.component";
|
|
10
|
+
export class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
11
|
+
constructor(_elementRef, _cdr) {
|
|
12
|
+
super(_elementRef, _cdr);
|
|
13
|
+
this._target = this;
|
|
14
|
+
}
|
|
15
|
+
_handleArrowClickEvent() {
|
|
16
|
+
this.toggle();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
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 });
|
|
20
|
+
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: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "text", "submitBehavior", "cancelBehavior", "color", "look", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: i2.AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: i3.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
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>" }]
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popover: [{
|
|
25
|
+
type: ViewChild,
|
|
26
|
+
args: [AXPopoverComponent]
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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9XCJfaGFuZGxlQXJyb3dDbGlja0V2ZW50KClcIj5cclxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbaW5wdXRdXCI+XHJcbiAgICAgICAgPC9uZy1jb250ZW50PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8YXgtYnV0dG9uIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiIFt0YWJJbmRleF09XCItMVwiIFtzaXplXT1cInNpemVcIiBjb2xvcj1cImxpZ2h0XCIgbG9vaz1cImJsYW5rXCIgKG9uQ2xpY2spPVwiX2hhbmRsZUFycm93Q2xpY2tFdmVudCgpXCI+XHJcbiAgICAgICAgPGF4LWljb24gaWNvbj1cImF4LWljIGF4LWljLWNoZXZyb24gYXgtdHJhbnNmb3JtIGF4LS1yb3RhdGUtOTBcIj48L2F4LWljb24+XHJcbiAgICA8L2F4LWJ1dHRvbj5cclxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXN1ZmZpeFwiPlxyXG4gICAgPC9uZy1jb250ZW50PlxyXG48L2Rpdj5cclxuPGF4LXBvcG92ZXIgW3RhcmdldF09XCJfdGFyZ2V0XCIgW3Bvc2l0aW9uXT1cInBvc2l0aW9uXCIgW29wZW5UcmlnZ2VyXT1cIidtYW51YWwnXCIgW2Nsb3NlVHJpZ2dlcl09XCInY2xpY2tvdXQnXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwiYXgtb3ZlcmxheS1wYW5lXCIgIFtzdHlsZS5taW4td2lkdGgucHhdPVwiZHJvcGRvd25XaWR0aFwiPlxyXG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltwYW5lbF1cIj5cclxuICAgICAgICA8L25nLWNvbnRlbnQ+XHJcbiAgICA8L2Rpdj5cclxuPC9heC1wb3BvdmVyPiJdfQ==
|
package/{esm2015/lib/dropdown/dropdown.module.js → esm2020/lib/dropdown/dropdown.module.mjs}
RENAMED
|
@@ -10,10 +10,10 @@ import { AXDropdownComponent } from './dropdown.component';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class AXDropdownModule {
|
|
12
12
|
}
|
|
13
|
-
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
AXDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
15
|
-
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
AXDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
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] });
|
|
15
|
+
AXDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, providers: [], imports: [[CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule]] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDropdownModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
imports: [CommonModule, AXButtonModule, OverlayModule, AXIconModule, AXEditorDecoratorModule, AXPopoverModule],
|
|
File without changes
|
package/{esm2015/lib/form/form-field.component.js → esm2020/lib/form/form-field.component.mjs}
RENAMED
|
@@ -6,9 +6,9 @@ export class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
|
6
6
|
super(elementRef, cdr);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
AXFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
AXFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
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 });
|
|
10
|
+
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 });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormFieldComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{
|
|
14
14
|
selector: 'ax-form-field',
|
|
@@ -6,10 +6,10 @@ import { AXFormComponent } from './form.component';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class AXFormModule {
|
|
8
8
|
}
|
|
9
|
-
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
AXFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
11
|
-
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
AXFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
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] });
|
|
11
|
+
AXFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, providers: [], imports: [[CommonModule]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [CommonModule],
|
package/{esm2015/lib/form/form-hint.component.js → esm2020/lib/form/form-hint.component.mjs}
RENAMED
|
@@ -6,15 +6,15 @@ export class AXFormHintComponent extends AXBaseComponentMixin {
|
|
|
6
6
|
super(elementRef, cdr);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
AXFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
AXFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
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 });
|
|
10
|
+
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 });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormHintComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{
|
|
14
14
|
selector: 'ax-form-hint',
|
|
15
|
-
template: ' <p class="ax-text-
|
|
15
|
+
template: ' <p class="ax-text-light-400 ax-text-xs ax-py-1 dark:ax-text-light-300"><ng-content></ng-content></p>',
|
|
16
16
|
encapsulation: ViewEncapsulation.None,
|
|
17
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
18
|
}]
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1oaW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvZm9ybS9mb3JtLWhpbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBcUIsU0FBUyxFQUFzQixpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3SCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7QUFRakUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLG9CQUFvQjtJQUV6RCxZQUNJLFVBQXNCLEVBQ3RCLEdBQXNCO1FBRXRCLEtBQUssQ0FBQ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c3RydWN0b3IoXHJcbiAgICAgICAgZWxlbWVudFJlZjogRWxlbWVudFJlZixcclxuICAgICAgICBjZHI6IENoYW5nZURldGVjdG9yUmVmXHJcbiAgICApIHtcclxuICAgICAgICBzdXBlcihlbGVtZW50UmVmLCBjZHIpO1xyXG4gICAgfVxyXG59Il19
|
|
@@ -37,9 +37,9 @@ export class AXFormComponent extends AXBaseComponentMixin {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
AXFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
AXFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
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 });
|
|
41
|
+
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 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXFormComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: 'ax-form',
|
|
File without changes
|
|
@@ -9,9 +9,9 @@ export class AXIconComponent extends AXSizableComponentMixin {
|
|
|
9
9
|
return `ax-ic ${this.icon}`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
AXIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
AXIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
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 });
|
|
13
|
+
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 });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: 'ax-icon',
|
|
@@ -6,10 +6,10 @@ const COMPONENT = [AXIconComponent];
|
|
|
6
6
|
const MODULES = [CommonModule];
|
|
7
7
|
export class AXIconModule {
|
|
8
8
|
}
|
|
9
|
-
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
11
|
-
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
AXIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
AXIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, declarations: [AXIconComponent], imports: [CommonModule], exports: [AXIconComponent] });
|
|
11
|
+
AXIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, providers: [], imports: [[...MODULES]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXIconModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [...COMPONENT],
|
|
File without changes
|
|
File without changes
|
|
@@ -18,9 +18,9 @@ export class AXInputMaskComponent {
|
|
|
18
18
|
this._suffix = v;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
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 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: 'ax-input-mask',
|
package/{esm2015/lib/input-mask/input-mask.module.js → esm2020/lib/input-mask/input-mask.module.mjs}
RENAMED
|
@@ -8,10 +8,10 @@ const COMPONENT = [AXInputMaskComponent];
|
|
|
8
8
|
const MODULES = [CommonModule, NgxMaskModule.forRoot()];
|
|
9
9
|
export class AXInputMaskModule {
|
|
10
10
|
}
|
|
11
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
13
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1.NgxMaskModule], exports: [AXInputMaskComponent] });
|
|
13
|
+
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, providers: [], imports: [[...MODULES]] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
declarations: [...COMPONENT],
|
|
File without changes
|