@acorex/components 18.4.3 → 18.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +0 -9
- package/action-sheet/lib/action-sheet.component.d.ts +3 -3
- package/alert/lib/alert.component.d.ts +15 -36
- package/comment/README.md +3 -0
- package/comment/index.d.ts +9 -0
- package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
- package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
- package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
- package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
- package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
- package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
- package/comment/lib/comment.module.d.ts +17 -0
- package/comment/lib/comment.types.d.ts +3 -0
- package/comment/lib/services/comment.service.d.ts +6 -0
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +1 -1
- package/esm2022/alert/lib/alert.component.mjs +37 -133
- package/esm2022/avatar/lib/avatar.component.mjs +2 -2
- package/esm2022/badge/lib/badge.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
- package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button.module.mjs +5 -26
- package/esm2022/check-box/lib/check-box.component.mjs +3 -11
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
- package/esm2022/color-box/lib/color-box.module.mjs +3 -11
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
- package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
- package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
- package/esm2022/comment/acorex-components-comment.mjs +5 -0
- package/esm2022/comment/index.mjs +10 -0
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
- package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
- package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
- package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
- package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
- package/esm2022/comment/lib/comment.module.mjs +48 -0
- package/esm2022/comment/lib/comment.types.mjs +2 -0
- package/esm2022/comment/lib/services/comment.service.mjs +19 -0
- package/esm2022/common/lib/classes/events.class.mjs +1 -1
- package/esm2022/common/lib/classes/styles.class.mjs +2 -10
- package/esm2022/common/lib/common.module.mjs +4 -20
- package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
- package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
- package/esm2022/common/lib/types/placement.mjs +6 -26
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
- package/esm2022/data-table/lib/base-data-table.class.mjs +3 -2
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +16 -12
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
- package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
- package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
- package/esm2022/decorators/lib/decorators.module.mjs +3 -14
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +4 -6
- package/esm2022/dialog/lib/dialog.module.mjs +2 -2
- package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
- package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
- package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
- package/esm2022/form/lib/form.config.mjs +1 -1
- package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
- package/esm2022/form/lib/validation-summary.component.mjs +30 -46
- package/esm2022/image/lib/image.component.mjs +2 -2
- package/esm2022/label/lib/label.component.mjs +2 -2
- package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
- package/esm2022/loading/lib/loading.component.mjs +5 -17
- package/esm2022/loading/lib/loading.config.mjs +1 -1
- package/esm2022/loading/lib/loading.directive.mjs +1 -1
- package/esm2022/loading/lib/loading.module.mjs +3 -11
- package/esm2022/loading/lib/loading.service.mjs +5 -11
- package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
- package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
- package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
- package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
- package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
- package/esm2022/nav/lib/nav.component.mjs +2 -2
- package/esm2022/navbar/lib/navbar.component.mjs +2 -2
- package/esm2022/notification/lib/notification.class.mjs +1 -1
- package/esm2022/notification/lib/notification.component.mjs +6 -10
- package/esm2022/notification/lib/notification.config.mjs +1 -1
- package/esm2022/notification/lib/notification.module.mjs +4 -18
- package/esm2022/notification/lib/notification.service.mjs +6 -13
- package/esm2022/number-box/lib/number-box.module.mjs +3 -13
- package/esm2022/page/lib/base-page.class.mjs +3 -3
- package/esm2022/password-box/lib/password-box.component.mjs +3 -13
- package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
- package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
- package/esm2022/picker/lib/picker.component.mjs +7 -13
- package/esm2022/popup/lib/popup.component.mjs +3 -3
- package/esm2022/popup/lib/popup.module.mjs +2 -2
- package/esm2022/popup/lib/popup.service.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
- package/esm2022/radio/lib/radio.component.mjs +2 -10
- package/esm2022/result/lib/result.component.mjs +2 -2
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
- package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
- package/esm2022/scss/lib/scss.module.mjs +2 -2
- package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
- package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
- package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
- package/esm2022/switch/lib/switch-content.component.mjs +1 -1
- package/esm2022/switch/lib/switch.component.mjs +3 -10
- package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
- package/esm2022/tabs/lib/tabs.class.mjs +1 -1
- package/esm2022/tabs/lib/tabs.component.mjs +1 -1
- package/esm2022/tag/lib/tag.component.mjs +2 -2
- package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
- package/esm2022/text-box/lib/text-box.component.mjs +3 -4
- package/esm2022/text-box/lib/text-box.module.mjs +4 -18
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/esm2022/toast/lib/toast.config.mjs +1 -1
- package/esm2022/toast/lib/toast.module.mjs +4 -16
- package/esm2022/toast/lib/toast.service.mjs +7 -16
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
- package/esm2022/uploader/lib/uploader.models.mjs +1 -1
- package/esm2022/uploader/lib/uploader.module.mjs +3 -11
- package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
- package/esm2022/wysiwyg/index.mjs +5 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +27 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
- package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +37 -132
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +4 -25
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +1 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -10
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +22 -53
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +153 -0
- package/fesm2022/acorex-components-comment.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +17 -78
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +12 -46
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +17 -12
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -14
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +7 -43
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +1 -3
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +3 -20
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +28 -44
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +11 -37
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-nav.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +8 -33
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -12
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +1 -11
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -12
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +1 -9
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +3 -21
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +1 -1
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +5 -28
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +3 -11
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +1 -8
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +30 -34
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +4 -19
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +7 -28
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +3 -11
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +183 -0
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
- package/form/lib/validation-rule.directive.d.ts +1 -1
- package/package.json +65 -53
- package/uploader/lib/uploader-list.component.d.ts +1 -1
- package/wysiwyg/README.md +3 -0
- package/wysiwyg/index.d.ts +4 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +12 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
- package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -90,15 +90,11 @@ export class AXLoadingService {
|
|
90
90
|
if (!this.hasLoadingStates(context, loaderId)) {
|
91
91
|
if (this.hasContextLoadingState(context)) {
|
92
92
|
this.loadingStates.get(context).set(loaderId, state);
|
93
|
-
this.loadingStates
|
94
|
-
.get(context)
|
95
|
-
.set(loaderId, new BehaviorSubject(state));
|
93
|
+
this.loadingStates$.get(context).set(loaderId, new BehaviorSubject(state));
|
96
94
|
}
|
97
95
|
else {
|
98
96
|
this.loadingStates.set(context, new Map([[loaderId, state]]));
|
99
|
-
this.loadingStates$.set(context, new Map([
|
100
|
-
[loaderId, new BehaviorSubject(state)],
|
101
|
-
]));
|
97
|
+
this.loadingStates$.set(context, new Map([[loaderId, new BehaviorSubject(state)]]));
|
102
98
|
}
|
103
99
|
}
|
104
100
|
else {
|
@@ -107,15 +103,13 @@ export class AXLoadingService {
|
|
107
103
|
}
|
108
104
|
}
|
109
105
|
hasLoadingStates(context, loaderId) {
|
110
|
-
return
|
111
|
-
this.hasLoaderLoadingState(context, loaderId));
|
106
|
+
return this.hasContextLoadingState(context) && this.hasLoaderLoadingState(context, loaderId);
|
112
107
|
}
|
113
108
|
hasContextLoadingState(context) {
|
114
109
|
return this.loadingStates.has(context) && this.loadingStates$.has(context);
|
115
110
|
}
|
116
111
|
hasLoaderLoadingState(context, loaderId) {
|
117
|
-
return
|
118
|
-
this.loadingStates$.get(context).has(loaderId));
|
112
|
+
return this.loadingStates.get(context).has(loaderId) && this.loadingStates$.get(context).has(loaderId);
|
119
113
|
}
|
120
114
|
getLoaderId(loaderId) {
|
121
115
|
return loaderId ?? DEFAULT_LOADER_ID;
|
@@ -126,4 +120,4 @@ export class AXLoadingService {
|
|
126
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingService, decorators: [{
|
127
121
|
type: Injectable
|
128
122
|
}] });
|
129
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xvYWRpbmcvc3JjL2xpYi9sb2FkaW5nLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE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LmxvYWRpbmdTdGF0ZXMuZ2V0KGNvbnRleHQpLmhhcyhsb2FkZXJJZCkgJiYgdGhpcy5sb2FkaW5nU3RhdGVzJC5nZXQoY29udGV4dCkuaGFzKGxvYWRlcklkKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBnZXRMb2FkZXJJZChsb2FkZXJJZD86IExvYWRlcklkKTogTG9hZGVySWQge1xuICAgIHJldHVybiBsb2FkZXJJZCA/PyBERUZBVUxUX0xPQURFUl9JRDtcbiAgfVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbG9hZGluZy1kaWFsb2cvc3JjL2xpYi9sb2FkaW5nLWRpYWxvZy5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhIb3RLZXlBY3Rpb24sIEFYU3R5bGVDb2xvclR5cGUsIEFYU3R5bGVMb29rVHlwZSB9IGZyb20gJ0BhY29yZXgvY29tcG9uZW50cy9jb21tb24nO1xuaW1wb3J0IHsgQVhEaWFsb2dCdXR0b25JdGVtIH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL2RpYWxvZyc7XG5pbXBvcnQgeyBBWFByb2dyZXNzTW9kZSB9IGZyb20gJ0BhY29yZXgvY29tcG9uZW50cy9wcm9ncmVzcy1iYXInO1xuZXhwb3J0IGludGVyZmFjZSBBWExvYWRpbmdEaWFsb2dDb25maWcge1xuICB0aXRsZTogc3RyaW5nO1xuICBtb2RlOiBBWFByb2dyZXNzTW9kZTtcbiAgc3RhdHVzPzogc3RyaW5nO1xuICB0ZXh0Pzogc3RyaW5nO1xuICBwcm9ncmVzc1ZhbHVlPzogbnVtYmVyO1xuICBwcm9ncmVzc0NvbG9yPzogQVhTdHlsZUNvbG9yVHlwZTtcbiAgcHJvZ3Jlc3NIZWlnaHQ/OiBudW1iZXI7XG4gIGJ1dHRvbnM/OiBBWExvYWRpbmdEaWFsb2dCdXR0b25JdGVtW107XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhMb2FkaW5nRGlhbG9nQnV0dG9uSXRlbSB7XG4gIHRleHQ6IHN0cmluZztcbiAgY29sb3I/OiBBWFN0eWxlQ29sb3JUeXBlO1xuICBsb29rPzogQVhTdHlsZUxvb2tUeXBlO1xuICBuYW1lPzogc3RyaW5nO1xuICBkaXNhYmxlZD86IGJvb2xlYW47XG4gIGxvYWRpbmc/OiBib29sZWFuO1xuICBob3RrZXk/OiBzdHJpbmcgfCBBWEhvdEtleUFjdGlvbjtcbiAgYXV0b2ZvY3VzPzogYm9vbGVhbjtcbiAgb25DbGljaz86IChlPzogeyBzb3VyY2U6IEFYRGlhbG9nQnV0dG9uSXRlbTsgaGFuZGxlZD86IGJvb2xlYW4gfSkgPT4gdm9pZDtcbn1cbmV4cG9ydCBpbnRlcmZhY2UgQVhEaWFsb2dSZWYge1xuICBjbG9zZSgpOiB2b2lkO1xuICBzZXRQcm9ncmVzc1ZhbHVlKHZhbHVlOiBudW1iZXIpO1xuICBzZXRQcm9ncmVzc1RleHQodGV4dDogc3RyaW5nKTtcbiAgc2V0RGlhbG9nVGl0bGUodGV4dDogc3RyaW5nKTtcbiAgc2V0UHJvZ3Jlc3NDb2xvcihjb2xvcjogQVhTdHlsZUNvbG9yVHlwZSk7XG4gIHNldFByb2dyZXNzU3RhdHVzKHN0YXR1czogc3RyaW5nKTtcbn1cbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { MXBaseComponent
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';
|
3
|
-
import { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation, signal
|
3
|
+
import { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation, signal } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
import * as i1 from "@angular/cdk/dialog";
|
6
6
|
import * as i2 from "@acorex/components/common";
|
@@ -45,9 +45,7 @@ export class AXLoadingDialogComponent extends MXBaseComponent {
|
|
45
45
|
}
|
46
46
|
}
|
47
47
|
_hasAutoFocus(button) {
|
48
|
-
const result = button.autofocus ||
|
49
|
-
this.data.buttons.length == 1 ||
|
50
|
-
!this.data.buttons.some((c) => c.autofocus);
|
48
|
+
const result = button.autofocus || this.data.buttons.length == 1 || !this.data.buttons.some((c) => c.autofocus);
|
51
49
|
return result;
|
52
50
|
}
|
53
51
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
@@ -60,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
60
58
|
type: Inject,
|
61
59
|
args: [DIALOG_DATA]
|
62
60
|
}] }, { type: i1.DialogRef }] });
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xvYWRpbmctZGlhbG9nL3NyYy9saWIvbG9hZGluZy1kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xvYWRpbmctZGlhbG9nL3Ny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Y29sb3JdPVwicHJvZ3Jlc3NDb2xvcigpXCJcbj48L2F4LXByb2dyZXNzLWJhcj5cbjxkaXYgY2xhc3M9XCJwcm9ncmVzcy1kZWNvcmF0b3JzXCI+XG4gIDxkaXY+e3sgcHJvZ3Jlc3NUZXh0KCkgfX08L2Rpdj5cbiAgPGRpdj57eyBwcm9ncmVzc1N0YXR1cygpIH19PC9kaXY+XG48L2Rpdj5cbjxheC1mb290ZXI+XG4gIEBmb3IgKGJ1dHRvbiBvZiBkYXRhLmJ1dHRvbnM7IHRyYWNrICRpbmRleCkge1xuICAgIDxheC1idXR0b25cbiAgICAgIFt0ZXh0XT1cImJ1dHRvbi50ZXh0IHwgdHJhbnNsYXRlIHwgYXN5bmNcIlxuICAgICAgW3RhYmluZGV4XT1cIiRpbmRleFwiXG4gICAgICBbYXhIb3RrZXldPVwiYnV0dG9uLmhvdGtleVwiXG4gICAgICBbYXhBdXRvRm9jdXNdPVwiX2hhc0F1dG9Gb2N1cyhidXR0b24pXCJcbiAgICAgIChvbkNsaWNrKT1cIl9oYW5kbGVCdXR0b25DbGljayhidXR0b24pXCJcbiAgICAgIFtsb29rXT1cImJ1dHRvbi5sb29rXCJcbiAgICAgIFtkaXNhYmxlZF09XCJidXR0b24uZGlzYWJsZWRcIlxuICAgICAgW2NvbG9yXT1cImJ1dHRvbi5jb2xvclwiXG4gICAgPlxuICAgICAgQGlmIChidXR0b24ubG9hZGluZykge1xuICAgICAgICA8YXgtbG9hZGluZz48L2F4LWxvYWRpbmc+XG4gICAgICB9XG4gICAgPC9heC1idXR0b24+XG4gIH1cbjwvYXgtZm9vdGVyPlxuIl19
|
@@ -12,35 +12,16 @@ import * as i0 from "@angular/core";
|
|
12
12
|
const COMPONENT = [AXLoadingDialogComponent];
|
13
13
|
export class AXLoadingDialogModule {
|
14
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, declarations: [AXLoadingDialogComponent], imports: [AXCommonModule,
|
16
|
-
|
17
|
-
AXLoadingModule,
|
18
|
-
AXDecoratorModule,
|
19
|
-
AXButtonModule,
|
20
|
-
AXTranslationModule,
|
21
|
-
AsyncPipe], exports: [AXLoadingDialogComponent] }); }
|
22
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, providers: [AXLoadingDialogService], imports: [AXCommonModule,
|
23
|
-
AXProgressBarModule,
|
24
|
-
AXLoadingModule,
|
25
|
-
AXDecoratorModule,
|
26
|
-
AXButtonModule,
|
27
|
-
AXTranslationModule] }); }
|
15
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, declarations: [AXLoadingDialogComponent], imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe], exports: [AXLoadingDialogComponent] }); }
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, providers: [AXLoadingDialogService], imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule] }); }
|
28
17
|
}
|
29
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
|
30
19
|
type: NgModule,
|
31
20
|
args: [{
|
32
21
|
declarations: [...COMPONENT],
|
33
|
-
imports: [
|
34
|
-
AXCommonModule,
|
35
|
-
AXProgressBarModule,
|
36
|
-
AXLoadingModule,
|
37
|
-
AXDecoratorModule,
|
38
|
-
AXButtonModule,
|
39
|
-
AXTranslationModule,
|
40
|
-
AsyncPipe,
|
41
|
-
],
|
22
|
+
imports: [AXCommonModule, AXProgressBarModule, AXLoadingModule, AXDecoratorModule, AXButtonModule, AXTranslationModule, AsyncPipe],
|
42
23
|
exports: [...COMPONENT],
|
43
24
|
providers: [AXLoadingDialogService],
|
44
25
|
}]
|
45
26
|
}] });
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xvYWRpbmctZGlhbG9nL3NyYy9saWIvbG9hZGluZy1kaWFsb2cubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM1QyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3RFLE9BQU8sRUFBRSxzQkFBc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
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXLoadingDialogService, decorators: [{
|
35
35
|
type: Injectable
|
36
36
|
}] });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9sb2FkaW5nLWRpYWxvZy9zcmMvbGliL2xvYWRpbmctZGlhbG9nLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRW5ELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQUd0RSxNQUFNLE9BQU8sc0JBQXNCO0lBRG5DO1FBRVUsV0FBTSxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQztLQXlCakM7SUF2QkMsNEdBQTRHO0lBRTVHLElBQUksQ0FBQyxPQUE4QjtRQUNqQyxNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyx3QkFBd0IsRUFBRTtZQUMzRCxXQUFXLEVBQUUsSUFBSTtZQUNqQixZQUFZLEVBQUUsSUFBSTtZQUNsQixZQUFZLEVBQUUsSUFBSTtZQUNsQixjQUFjLEVBQUUsSUFBSTtZQUNwQixpQkFBaUIsRUFBRSxJQUFJO1lBQ3ZCLFNBQVMsRUFBRSxJQUFJO1lBQ2YsSUFBSSxFQUFFLGFBQWE7WUFDbkIsVUFBVSxFQUFFLENBQU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GlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlPy5jbG9zZSgpLFxuICAgICAgc2V0UHJvZ3Jlc3NWYWx1ZTogKHZhbHVlOiBudW1iZXIpID0+IGRpYWxvZ1JlZi5jb21wb25lbnRJbnN0YW5jZT8uc2V0UHJvZ3Jlc3NWYWx1ZSh2YWx1ZSksXG4gICAgICBzZXREaWFsb2dUaXRsZTogKHRleHQ6IHN0cmluZykgPT4gZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlPy5zZXREaWFsb2dUaXRsZSh0ZXh0KSxcbiAgICAgIHNldFByb2dyZXNzVGV4dDogKHRleHQ6IHN0cmluZykgPT4gZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlPy5zZXRQcm9ncmVzc1RleHQodGV4dCksXG4gICAgICBzZXRQcm9ncmVzc1N0YXR1czogKHN0YXR1czogc3RyaW5nKSA9PiBkaWFsb2dSZWYuY29tcG9uZW50SW5zdGFuY2U/LnNldFByb2dyZXNzU3RhdHVzKHN0YXR1cyksXG4gICAgICBzZXRQcm9ncmVzc0NvbG9yOiAoY29sb3I6IEFYU3R5bGVDb2xvclR5cGUpID0+IGRpYWxvZ1JlZi5jb21wb25lbnRJbnN0YW5jZT8uc2V0UHJvZ3Jlc3NDb2xvcihjb2xvciksXG4gICAgfTtcbiAgfVxufVxuIl19
|
@@ -5,4 +5,4 @@ export class AXRootMenu {
|
|
5
5
|
this.openOn = signal('toggle');
|
6
6
|
}
|
7
7
|
}
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC1tZW51LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lbnUvc3JjL2xpYi9jbGFzcy9yb290LW1lbnUuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFrQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkQsTUFBTSxPQUFPLFVBQVU7SUFBdkI7UUFDRSxnQkFBVyxHQUFrQyxNQUFNLENBQUMsWUFBWSxDQUFDLENBQUM7UUFDbEUsV0FBTSxHQUF5QyxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUM7SUFDbEUsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhPcmllbnRhdGlvbiB9IGZyb20gJ0BhY29yZXgvY29tcG9uZW50cy9jb21tb24nO1xuaW1wb3J0IHsgV3JpdGFibGVTaWduYWwsIHNpZ25hbCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhNZW51UG9wb3ZlclRyaWdnZXIgfSBmcm9tICcuL3BvcG92ZXIuY2xhc3MnO1xuZXhwb3J0IGNsYXNzIEFYUm9vdE1lbnUge1xuICBvcmllbnRhdGlvbjogV3JpdGFibGVTaWduYWw8QVhPcmllbnRhdGlvbj4gPSBzaWduYWwoJ2hvcml6b250YWwnKTtcbiAgb3Blbk9uOiBXcml0YWJsZVNpZ25hbDxBWE1lbnVQb3BvdmVyVHJpZ2dlcj4gPSBzaWduYWwoJ3RvZ2dsZScpO1xufVxuIl19
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { MXInteractiveComponent
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation
|
1
|
+
import { MXInteractiveComponent } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
3
3
|
import { classes } from 'polytype';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export class AXNavItemComponent extends classes(MXInteractiveComponent) {
|
@@ -38,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
38
38
|
}], active: [{
|
39
39
|
type: Input
|
40
40
|
}] } });
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL25hdi9zcmMvbGliL25hdi1pdGVtL25hdi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9uYXYvc3JjL2xpYi9uYXYtaXRlbS9uYXYtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLHNCQUFzQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDakYsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuSCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sVUFBVSxDQUFDOztBQVNuQyxNQUFNLE9BQU8sa0JBQW1CLFNBQVEsT0FBTyxDQUFDLHNCQUFzQixDQUFDO0lBUHZFOztRQVNFLFlBQU8sR0FBK0IsSUFBSSxZQUFZLEVBQWdCLENBQUM7UUFHdkUsaUJBQVksR0FBMEIsSUFBSSxZQUFZLEVBQVcsQ0FBQztRQUUxRCxZQUFPLEdBQUcsS0FBSyxDQUFDO0tBa0J6QjtJQWpCQyxJQUNXLE1BQU07UUFDZixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUM7SUFDdEIsQ0FBQztJQUNELElBQVcsTUFBTSxDQUFDLENBQVU7UUFDMUIsSUFBSSxDQUFDLFNBQVMsQ0FBQztZQUNiL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GxpIGNsYXNzPVwiYXgtbmF2LWxpXCIgW2NsYXNzLmF4LXN0YXRlLWRpc2FibGVkXT1cImRpc2FibGVkXCIgW2NsYXNzLmF4LXN0YXRlLWFjdGl2ZV09XCJhY3RpdmVcIlxuICAoY2xpY2spPVwiX2hhbmRsZUNsaWNrRXZlbnQoJGV2ZW50KVwiPlxuICA8ZGl2IGNsYXNzPVwiYXgtc3RhcnQtbmF2XCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtcHJlZml4XCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICA8ZGl2IGNsYXNzPVwiYXgtZW5kLW5hdlwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXN1ZmZpeFwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L2xpPlxuXG48dWwgY2xhc3M9XCJheC1uYXYtY2hpbGRyZW5cIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc2lkZS1tZW51LWl0ZW0sIG5nLWNvbnRhaW5lclwiPjwvbmctY29udGVudD5cbjwvdWw+Il19
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export class AXNavComponent extends MXBaseComponent {
|
5
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNavComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
@@ -9,4 +9,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
9
9
|
type: Component,
|
10
10
|
args: [{ selector: 'ax-nav', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ul>\n <ng-content select=\"ax-nav-item,ax-title,ng-container\"></ng-content>\n</ul>\n", styles: ["ax-nav{display:flex;flex-direction:column;overflow-y:auto}ax-nav ax-title{margin-bottom:.5rem;display:block;padding:.15rem .5rem;line-height:1rem;font-weight:500;font-size:.75rem}ax-nav ax-nav-item .ax-nav-li{position:relative;min-width:140px;padding:.15rem .5rem;margin-bottom:.25rem;display:flex;cursor:pointer;align-items:center;justify-content:flex-start;overflow:hidden;font-size:.875rem;font-weight:400;transition-property:all;transition-duration:.15s;border-inline-start:1px solid transparent;color:rgba(var(--ax-color-neutral-500))}ax-nav ax-nav-item .ax-nav-li.ax-state-disabled{cursor:not-allowed;opacity:.5!important}ax-nav ax-nav-item .ax-nav-li:hover:not(ax-nav ax-nav-item .ax-nav-li:hover.ax-state-disabled){border-inline-start-color:rgba(var(--ax-color-primary-400));color:rgba(var(--ax-color-primary-400))}ax-nav ax-nav-item .ax-nav-li.ax-state-active:not(ax-nav ax-nav-item .ax-nav-li.ax-state-active.ax-state-disabled){border-inline-start-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-nav ax-nav-item .ax-nav-li .ax-start-nav{display:flex;align-items:center;gap:.5rem}ax-nav ax-nav-item .ax-nav-li .ax-start-nav ax-prefix{margin-inline-end:.5rem}ax-nav ax-nav-item .ax-nav-li .ax-end-nav{display:flex;align-items:center;gap:.5rem}ax-nav ax-nav-item .ax-nav-li .ax-end-nav ax-suffix{margin-inline-start:.5rem}ax-nav ax-nav-item .ax-nav-children{overflow:hidden}ax-nav ax-nav-item .ax-nav-children ax-nav-item .ax-nav-li{padding:.15rem 1rem}.ax-dark ax-nav ax-nav-item .ax-nav-li{color:rgba(var(--ax-color-neutral-300))}.ax-dark ax-nav ax-nav-item .ax-nav-li:hover:not(.ax-dark ax-nav ax-nav-item .ax-nav-li:hover.ax-state-disabled){border-inline-start-color:rgba(var(--ax-color-primary-300));color:rgba(var(--ax-color-primary-300))}.ax-dark ax-nav ax-nav-item .ax-nav-li.ax-state-active:not(.ax-dark ax-nav ax-nav-item .ax-nav-li.ax-state-active.ax-state-disabled){border-inline-start-color:rgba(var(--ax-color-primary-300));color:rgba(var(--ax-color-primary-200))}\n"] }]
|
11
11
|
}] });
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9uYXYvc3JjL2xpYi9uYXYuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL25hdi9zcmMvbGliL25hdi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDNUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTdEYsTUFBTSxPQUFPLGNBQWUsU0FBUSxlQUFlOzhHQUF0QyxjQUFjO2tHQUFkLGNBQWMscUVDVjNCLHlGQUdBOzsyRkRPYSxjQUFjO2tCQVAxQixTQUFTOytCQUNFLFFBQVEsbUJBR0QsdUJBQXVCLENBQUMsTUFBTSxpQkFDaEMsaUJBQWlCLENBQUMsSUFBSSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1YQmFzZUNvbXBvbmVudCB9IGZyb20gJ0BhY29yZXgvY29tcG9uZW50cy9jb21tb24nO1xuaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtbmF2JyxcbiAgdGVtcGxhdGVVcmw6ICcuL25hdi5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL25hdi5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbn0pXG5leHBvcnQgY2xhc3MgQVhOYXZDb21wb25lbnQgZXh0ZW5kcyBNWEJhc2VDb21wb25lbnQge31cbiIsIjx1bD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtbmF2LWl0ZW0sYXgtdGl0bGUsbmctY29udGFpbmVyXCI+PC9uZy1jb250ZW50PlxuPC91bD5cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MXLookComponent } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation
|
2
|
+
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export class AXNavbarComponent extends MXLookComponent {
|
5
5
|
get __hostClass() {
|
@@ -15,4 +15,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
15
15
|
type: HostBinding,
|
16
16
|
args: ['class']
|
17
17
|
}] } });
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9uYXZiYXIvc3JjL2xpYi9uYXZiYX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uYXZiYXIuY29tcG9uZW50LnNjc3MnXSxcbiAgaW5wdXRzOiBbJ2xvb2snXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG59KVxuZXhwb3J0IGNsYXNzIEFYTmF2YmFyQ29tcG9uZW50IGV4dGVuZHMgTVhMb29rQ29tcG9uZW50IHtcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgYXgtYWxlcnQgYXgtbm9uZSBheC1sb29rLSR7dGhpcy5sb29rfWA7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJheC1uYXZiYXItc3RhcnQtc2lkZVwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1wcmVmaXhcIj48L25nLWNvbnRlbnQ+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXRpdGxlXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG48bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48ZGl2IGNsYXNzPVwiYXgtbmF2YmFyLWVuZC1zaWRlXCI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXN1ZmZpeFwiPjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL25vdGlmaWNhdGlvbi9zcmMvbGliL25vdGlmaWNhdGlvbi5jbGFzcy50cyJd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O1xuICBjb2xvcjogQVhTdHlsZUNvbG9yVHlwZTtcbiAgdGltZU91dD86IG51bWJlcjtcbiAgdGltZU91dFByb2dyZXNzPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBBWE5vdGlmaWNhdGlvbkRhdGEge1xuICBidXR0b25zPzogQVhOb3RpZmljYXRpb25CdXR0b25JdGVtW107XG4gIGljb24/OiBzdHJpbmc7XG4gIHRpdGxlPzogc3RyaW5nO1xuICBjb250ZW50PzogQVhOb3RpZmljYXRpb25Db250ZW50VHlwZTtcbiAgbG9jYXRpb246IEFYTG9jYXRpb247XG4gIGNsb3NlQnV0dG9uOiBib29sZWFuO1xuICBjb2xvcjogQVhTdHlsZUNvbG9yVHlwZTtcbiAgdGltZU91dD86IG51bWJlcjtcbiAgdGltZU91dFByb2dyZXNzOiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEFYTm90aWZpY2F0aW9uUmVmIHtcbiAgY2xvc2UoKTogdm9pZDtcbn1cbiJdfQ==
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AXClosbaleComponent, MXBaseComponent
|
1
|
+
import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';
|
3
|
-
import { ComponentPortal, TemplatePortal
|
4
|
-
import { ChangeDetectionStrategy, Component, HostBinding, Inject, TemplateRef, ViewEncapsulation
|
3
|
+
import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
4
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Inject, TemplateRef, ViewEncapsulation } from '@angular/core';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "@angular/cdk/dialog";
|
7
7
|
import * as i2 from "@angular/cdk/portal";
|
@@ -86,15 +86,11 @@ export class AXNotificationComponent extends MXBaseComponent {
|
|
86
86
|
});
|
87
87
|
}
|
88
88
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
89
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXNotificationComponent, selector: "ax-notification", host: { properties: { "class": "this.__hostClass" } }, providers: [
|
90
|
-
{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent },
|
91
|
-
], usesInheritance: true, ngImport: i0, template: "<span class=\"ax-notification-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-notification-content\">\n <div class=\"ax-notification-title\">{{ config.title | translate | async }}</div>\n @if(_selectedPortal){\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\"></ng-template>\n } @else{\n <div>{{ config.content }}</div>\n }\n\n @if(config.buttons?.length){\n <div class=\"ax-notification-buttons\">\n @for(button of config.buttons; track $index){\n <ax-button class=\"ax-xs\" [text]=\"button.text | translate | async\" [color]=\"button.color\" [look]=\"button.look\"\n [disabled]=\"button.disabled\" (onClick)=\"_handleButtonClick(button)\">\n @if(button.loading){\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n }\n\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-notification-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: ["ax-notification{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-notification{width:24rem}}ax-notification .ax-notification-icon,ax-notification .ax-icon-close{font-size:1.25rem;line-height:1.75rem}ax-notification .ax-notification-icon{padding-inline-end:.75rem}ax-notification .ax-notification-content{display:flex;flex:1 1 0%;flex-direction:column;font-weight:400;color:rgba(var(--ax-color-on-surface-fore))}ax-notification .ax-notification-content .ax-notification-title{margin-bottom:.25rem;font-weight:500;line-height:1.5}ax-notification .ax-notification-content .ax-notification-buttons{margin-top:.75rem;display:flex;gap:.75rem}ax-notification .ax-notification-progress{position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-500))}ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-500))}ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-500))}ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-500))}ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-500))}ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-500))}ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-500))}ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-500))}ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-500))}ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-500))}.ax-dark ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-200))}.ax-dark ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-200))}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "component", type: i5.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
89
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXNotificationComponent, selector: "ax-notification", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent }], usesInheritance: true, ngImport: i0, template: "<span class=\"ax-notification-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-notification-content\">\n <div class=\"ax-notification-title\">{{ config.title | translate | async }}</div>\n @if(_selectedPortal){\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\"></ng-template>\n } @else{\n <div>{{ config.content }}</div>\n }\n\n @if(config.buttons?.length){\n <div class=\"ax-notification-buttons\">\n @for(button of config.buttons; track $index){\n <ax-button class=\"ax-xs\" [text]=\"button.text | translate | async\" [color]=\"button.color\" [look]=\"button.look\"\n [disabled]=\"button.disabled\" (onClick)=\"_handleButtonClick(button)\">\n @if(button.loading){\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n }\n\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-notification-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: ["ax-notification{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-notification{width:24rem}}ax-notification .ax-notification-icon,ax-notification .ax-icon-close{font-size:1.25rem;line-height:1.75rem}ax-notification .ax-notification-icon{padding-inline-end:.75rem}ax-notification .ax-notification-content{display:flex;flex:1 1 0%;flex-direction:column;font-weight:400;color:rgba(var(--ax-color-on-surface-fore))}ax-notification .ax-notification-content .ax-notification-title{margin-bottom:.25rem;font-weight:500;line-height:1.5}ax-notification .ax-notification-content .ax-notification-buttons{margin-top:.75rem;display:flex;gap:.75rem}ax-notification .ax-notification-progress{position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-500))}ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-500))}ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-500))}ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-500))}ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-500))}ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-500))}ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-500))}ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-500))}ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-500))}ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-500))}.ax-dark ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-200))}.ax-dark ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-200))}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "component", type: i5.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
92
90
|
}
|
93
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationComponent, decorators: [{
|
94
92
|
type: Component,
|
95
|
-
args: [{ selector: 'ax-notification', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
96
|
-
{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent },
|
97
|
-
], template: "<span class=\"ax-notification-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-notification-content\">\n <div class=\"ax-notification-title\">{{ config.title | translate | async }}</div>\n @if(_selectedPortal){\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\"></ng-template>\n } @else{\n <div>{{ config.content }}</div>\n }\n\n @if(config.buttons?.length){\n <div class=\"ax-notification-buttons\">\n @for(button of config.buttons; track $index){\n <ax-button class=\"ax-xs\" [text]=\"button.text | translate | async\" [color]=\"button.color\" [look]=\"button.look\"\n [disabled]=\"button.disabled\" (onClick)=\"_handleButtonClick(button)\">\n @if(button.loading){\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n }\n\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-notification-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: ["ax-notification{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-notification{width:24rem}}ax-notification .ax-notification-icon,ax-notification .ax-icon-close{font-size:1.25rem;line-height:1.75rem}ax-notification .ax-notification-icon{padding-inline-end:.75rem}ax-notification .ax-notification-content{display:flex;flex:1 1 0%;flex-direction:column;font-weight:400;color:rgba(var(--ax-color-on-surface-fore))}ax-notification .ax-notification-content .ax-notification-title{margin-bottom:.25rem;font-weight:500;line-height:1.5}ax-notification .ax-notification-content .ax-notification-buttons{margin-top:.75rem;display:flex;gap:.75rem}ax-notification .ax-notification-progress{position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-500))}ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-500))}ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-500))}ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-500))}ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-500))}ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-500))}ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-500))}ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-500))}ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-500))}ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-500))}.ax-dark ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-200))}.ax-dark ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-200))}\n"] }]
|
93
|
+
args: [{ selector: 'ax-notification', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent }], template: "<span class=\"ax-notification-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-notification-content\">\n <div class=\"ax-notification-title\">{{ config.title | translate | async }}</div>\n @if(_selectedPortal){\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\"></ng-template>\n } @else{\n <div>{{ config.content }}</div>\n }\n\n @if(config.buttons?.length){\n <div class=\"ax-notification-buttons\">\n @for(button of config.buttons; track $index){\n <ax-button class=\"ax-xs\" [text]=\"button.text | translate | async\" [color]=\"button.color\" [look]=\"button.look\"\n [disabled]=\"button.disabled\" (onClick)=\"_handleButtonClick(button)\">\n @if(button.loading){\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n </div>\n }\n\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-notification-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: ["ax-notification{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface));padding:1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-notification{width:24rem}}ax-notification .ax-notification-icon,ax-notification .ax-icon-close{font-size:1.25rem;line-height:1.75rem}ax-notification .ax-notification-icon{padding-inline-end:.75rem}ax-notification .ax-notification-content{display:flex;flex:1 1 0%;flex-direction:column;font-weight:400;color:rgba(var(--ax-color-on-surface-fore))}ax-notification .ax-notification-content .ax-notification-title{margin-bottom:.25rem;font-weight:500;line-height:1.5}ax-notification .ax-notification-content .ax-notification-buttons{margin-top:.75rem;display:flex;gap:.75rem}ax-notification .ax-notification-progress{position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-500))}ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-500))}ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-500))}ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-500))}ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-500))}ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-500))}ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-500))}ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-500))}ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-500))}ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-500))}.ax-dark ax-notification.ax-primary .ax-notification-icon{color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-primary .ax-notification-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-icon{color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-secondary .ax-notification-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-notification.ax-success .ax-notification-icon{color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-success .ax-notification-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-notification.ax-warning .ax-notification-icon{color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-warning .ax-notification-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-notification.ax-danger .ax-notification-icon{color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-danger .ax-notification-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-notification.ax-info .ax-notification-icon{color:rgba(var(--ax-color-info-200))}.ax-dark ax-notification.ax-info .ax-notification-progress{background-color:rgba(var(--ax-color-info-200))}\n"] }]
|
98
94
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
99
95
|
type: Inject,
|
100
96
|
args: [DIALOG_DATA]
|
@@ -102,4 +98,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
102
98
|
type: HostBinding,
|
103
99
|
args: ['class']
|
104
100
|
}] } });
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9ub3RpZmljYXRpb24vc3JjL2xpYi9ub3RpZmljYXRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb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IGNsYXNzPVwiYXgtbm90aWZpY2F0aW9uLXByb2dyZXNzXCIgW3N0eWxlLmFuaW1hdGlvbi1kdXJhdGlvbi5tc109XCJjb25maWcudGltZU91dFwiPjwvZGl2PlxufSJdfQ==
|
@@ -17,4 +17,4 @@ export function notificationConfig(config = {}) {
|
|
17
17
|
};
|
18
18
|
return result;
|
19
19
|
}
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9ub3RpZmljYXRpb24vc3JjL2xpYi9ub3RpZmljYXRpb24uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFVL0MsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUcsSUFBSSxjQUFjLENBQXVCLHdCQUF3QixFQUFFO0lBQ3ZHLFVBQVUsRUFBRSxNQUFNO0lBQ2xCLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQywyQkFBMkI7Q0FDM0MsQ0FBQyxDQUFDO0FBRUgsTUFBTSxDQUFDLE1BQU0sMkJBQTJCLEdBQXlCO0lBQy9ELEdBQUcsRUFBRSxDQUFDO0lBQ04sT0FBTyxFQUFFLElBQUk7SUFDYixlQUFlLEVBQUUsSUFBSTtJQUNyQixXQUFXLEVBQUUsSUFBSTtJQUNqQixRQUFRLEVBQUUsU0FBUztDQUNwQixDQUFDO0FBSUYsTUFBTSxVQUFVLGtCQUFrQixDQUFDLFNBQW9DLEVBQUU7SUFDdkUsTUFBTSxNQUFNLEdBQUc7UUFDYixHQUFHLDJCQUEyQjtRQUM5QixHQUFHLE1BQU07S0FDVix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NhdGlvbkNvbmZpZyA9IHt9KTogQVhOb3RpZmljYXRpb25Db25maWcge1xuICBjb25zdCByZXN1bHQgPSB7XG4gICAgLi4uQVhOb3RpZmljYXRpb25EZWZhdWx0Q29uZmlnLFxuICAgIC4uLmNvbmZpZyxcbiAgfTtcbiAgcmV0dXJuIHJlc3VsdDtcbn1cbiJdfQ==
|
@@ -1,33 +1,19 @@
|
|
1
1
|
import { AXButtonModule } from '@acorex/components/button';
|
2
2
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
3
3
|
import { AXLoadingModule } from '@acorex/components/loading';
|
4
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
4
5
|
import { DialogModule } from '@angular/cdk/dialog';
|
5
6
|
import { PortalModule } from '@angular/cdk/portal';
|
6
7
|
import { CommonModule } from '@angular/common';
|
7
8
|
import { NgModule } from '@angular/core';
|
8
9
|
import { AXNotificationComponent } from './notification.component';
|
9
10
|
import { AXNotificationService } from './notification.service';
|
10
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
const COMPONENT = [AXNotificationComponent];
|
13
|
-
const MODULES = [
|
14
|
-
CommonModule,
|
15
|
-
PortalModule,
|
16
|
-
AXButtonModule,
|
17
|
-
DialogModule,
|
18
|
-
AXLoadingModule,
|
19
|
-
AXDecoratorModule,
|
20
|
-
AXTranslationModule,
|
21
|
-
];
|
13
|
+
const MODULES = [CommonModule, PortalModule, AXButtonModule, DialogModule, AXLoadingModule, AXDecoratorModule, AXTranslationModule];
|
22
14
|
export class AXNotificationModule {
|
23
15
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
24
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationModule, declarations: [AXNotificationComponent], imports: [CommonModule,
|
25
|
-
PortalModule,
|
26
|
-
AXButtonModule,
|
27
|
-
DialogModule,
|
28
|
-
AXLoadingModule,
|
29
|
-
AXDecoratorModule,
|
30
|
-
AXTranslationModule], exports: [AXNotificationComponent] }); }
|
16
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationModule, declarations: [AXNotificationComponent], imports: [CommonModule, PortalModule, AXButtonModule, DialogModule, AXLoadingModule, AXDecoratorModule, AXTranslationModule], exports: [AXNotificationComponent] }); }
|
31
17
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationModule, providers: [AXNotificationService], imports: [MODULES] }); }
|
32
18
|
}
|
33
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXNotificationModule, decorators: [{
|
@@ -39,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
39
25
|
providers: [AXNotificationService],
|
40
26
|
}]
|
41
27
|
}] });
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9ub3RpZmljYXRpb24vc3JjL2xpYi9ub3RpZmljYXRpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU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