@acorex/components 5.2.2 → 5.2.53
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/README.md +2 -23
- package/esm2020/lib/accordion/accordion.component.mjs +44 -0
- package/esm2020/lib/accordion/accordion.module.mjs +20 -0
- package/esm2020/lib/base/base-page.class.mjs +94 -0
- package/esm2020/lib/base/components.class.mjs +17 -0
- package/esm2020/lib/base/element.class.mjs +294 -0
- package/esm2020/lib/base/events.class.mjs +6 -53
- package/esm2020/lib/button/button.component.mjs +58 -50
- package/esm2020/lib/button/button.module.mjs +11 -23
- package/esm2020/lib/calendar/calendar-box/calendar-box.component.mjs +413 -0
- package/esm2020/lib/calendar/calendar-box/calendar-box.module.mjs +22 -0
- package/esm2020/lib/calendar/scheduler/scheduler-views.property.mjs +54 -0
- package/esm2020/lib/calendar/scheduler/scheduler.class.mjs +18 -0
- package/esm2020/lib/calendar/scheduler/scheduler.component.mjs +213 -0
- package/esm2020/lib/calendar/scheduler/scheduler.module.mjs +68 -0
- package/esm2020/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +132 -0
- package/esm2020/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +37 -0
- package/esm2020/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +47 -0
- package/esm2020/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +95 -0
- package/esm2020/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +204 -0
- package/esm2020/lib/calendar/scheduler/views/scheduler-view.component.mjs +99 -0
- package/esm2020/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +77 -0
- package/esm2020/lib/checkbox/checkbox.component.mjs +88 -31
- package/esm2020/lib/checkbox/checkbox.module.mjs +7 -8
- package/esm2020/lib/color-picker/color-box/color-box.component.mjs +422 -0
- package/esm2020/lib/color-picker/color-picker.component.mjs +82 -0
- package/esm2020/lib/color-picker/color-picker.module.mjs +24 -0
- package/esm2020/lib/context-menu/context-menu.component.mjs +65 -0
- package/esm2020/lib/context-menu/context-menu.directive.mjs +135 -0
- package/esm2020/lib/context-menu/context-menu.module.mjs +20 -0
- package/esm2020/lib/data-filter/columns/filter-column-date.component.mjs +138 -0
- package/esm2020/lib/data-filter/columns/filter-column-number.component.mjs +117 -0
- package/esm2020/lib/data-filter/columns/filter-column-selection.component.mjs +74 -0
- package/esm2020/lib/data-filter/columns/filter-column-string.component.mjs +117 -0
- package/esm2020/lib/data-filter/filter-panel/filter-panel.component.mjs +258 -0
- package/esm2020/lib/data-filter/filter.class.mjs +44 -0
- package/esm2020/lib/data-filter/filter.module.mjs +90 -0
- package/esm2020/lib/data-filter/toolbar/filter-toolbar.component.mjs +166 -0
- package/esm2020/lib/data-list/core/data-list.component.mjs +40 -0
- package/esm2020/lib/data-list/list/list.component.mjs +124 -0
- package/esm2020/lib/data-list/list/list.module.mjs +22 -0
- package/esm2020/lib/data-list/list/toolbar-list-view.component.mjs +85 -0
- package/esm2020/lib/data-source/datasource.component.mjs +47 -0
- package/esm2020/lib/data-source/datasource.module.mjs +18 -0
- package/esm2020/lib/data-source/read-param.mjs +5 -0
- package/esm2020/lib/date-picker/date-picker.component.mjs +705 -0
- package/esm2020/lib/date-picker/date-picker.module.mjs +25 -0
- package/esm2020/lib/dialog/dialog.component.mjs +17 -33
- package/esm2020/lib/dialog/dialog.module.mjs +10 -15
- package/esm2020/lib/dialog/dialog.service.mjs +129 -123
- package/esm2020/lib/drawer/content.component.mjs +18 -0
- package/esm2020/lib/drawer/drawer-container.component.mjs +25 -72
- package/esm2020/lib/drawer/drawer.component.mjs +100 -130
- package/esm2020/lib/drawer/drawer.module.mjs +7 -7
- package/esm2020/lib/dropdown/dropdown.component.mjs +177 -0
- package/esm2020/lib/dropdown/dropdown.module.mjs +17 -15
- package/esm2020/lib/fieldset/fieldset.component.mjs +59 -0
- package/esm2020/lib/fieldset/fieldset.module.mjs +19 -0
- package/esm2020/lib/form-group/form-group.component.mjs +34 -0
- package/esm2020/lib/form-group/form-group.module.mjs +21 -0
- package/esm2020/lib/label/label.component.mjs +13 -19
- package/esm2020/lib/label/label.module.mjs +5 -5
- package/esm2020/lib/loading/loading-indicator.component.mjs +17 -0
- package/esm2020/lib/loading/loading-panel.component.mjs +44 -0
- package/esm2020/lib/loading/loading.module.mjs +12 -26
- package/esm2020/lib/loading/loading.service.mjs +14 -123
- package/esm2020/lib/menu/menu-item.component.mjs +47 -0
- package/esm2020/lib/menu/menu.component.mjs +70 -119
- package/esm2020/lib/menu/menu.module.mjs +12 -30
- package/esm2020/lib/menu/menu2.component.mjs +96 -0
- package/esm2020/lib/number-box/number-box.component.mjs +586 -185
- package/esm2020/lib/number-box/number-box.module.mjs +10 -27
- package/esm2020/lib/page/content.component.mjs +32 -0
- package/esm2020/lib/page/footer.component.mjs +19 -0
- package/esm2020/lib/page/page.component.mjs +44 -49
- package/esm2020/lib/page/page.module.mjs +13 -10
- package/esm2020/lib/panel-box/panel-box.component.mjs +88 -0
- package/esm2020/lib/panel-box/panel-box.module.mjs +19 -0
- package/esm2020/lib/password-box/password-box.component.mjs +22 -50
- package/esm2020/lib/password-box/password-box.module.mjs +9 -21
- package/esm2020/lib/popover/custom-cdk-overlay.service.mjs +48 -0
- package/esm2020/lib/popover/overlay.service.mjs +87 -0
- package/esm2020/lib/popover/popover.component.mjs +83 -218
- package/esm2020/lib/popover/popover.module.mjs +5 -5
- package/esm2020/lib/popup/popup.component.mjs +112 -88
- package/esm2020/lib/popup/popup.module.mjs +14 -14
- package/esm2020/lib/popup/popup.service.mjs +20 -22
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +12 -27
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +6 -6
- package/esm2020/lib/property-editor/editors/check-editor/check-editor.mjs +61 -0
- package/esm2020/lib/property-editor/editors/check-editor/check.module.mjs +22 -0
- package/esm2020/lib/property-editor/editors/color-editor/color.editor.mjs +38 -0
- package/esm2020/lib/property-editor/editors/color-editor/color.module.mjs +24 -0
- package/esm2020/lib/property-editor/editors/column-editor/column.editor.mjs +115 -0
- package/esm2020/lib/property-editor/editors/column-editor/column.module.mjs +32 -0
- package/esm2020/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +211 -0
- package/esm2020/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +78 -0
- package/esm2020/lib/property-editor/editors/date-editor/date.editor.mjs +51 -0
- package/esm2020/lib/property-editor/editors/date-editor/date.module.mjs +24 -0
- package/esm2020/lib/property-editor/editors/number-editor/number.editor.mjs +63 -0
- package/esm2020/lib/property-editor/editors/number-editor/number.module.mjs +24 -0
- package/esm2020/lib/property-editor/editors/range-editor/range.editor.mjs +140 -0
- package/esm2020/lib/property-editor/editors/range-editor/range.module.mjs +61 -0
- package/esm2020/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +72 -0
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +78 -0
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +25 -0
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +69 -0
- package/esm2020/lib/property-editor/editors/selection-editor/selection.module.mjs +22 -0
- package/esm2020/lib/property-editor/editors/switch-editor/number.editor.mjs +29 -0
- package/esm2020/lib/property-editor/editors/switch-editor/number.module.mjs +25 -0
- package/esm2020/lib/property-editor/editors/text-editor/text.editor.mjs +32 -0
- package/esm2020/lib/property-editor/editors/text-editor/text.module.mjs +24 -0
- package/esm2020/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +32 -0
- package/esm2020/lib/property-editor/editors/textarea-editor/textarea.module.mjs +24 -0
- package/esm2020/lib/property-editor/editors/time-editor/time.editor.mjs +43 -0
- package/esm2020/lib/property-editor/editors/time-editor/time.module.mjs +24 -0
- package/esm2020/lib/property-editor/property-editor-renderer.directive.mjs +152 -0
- package/esm2020/lib/property-editor/property-editor.class.mjs +101 -0
- package/esm2020/lib/property-editor/property-editor.module.mjs +196 -0
- package/esm2020/lib/query-builder/query-builder-group.component.mjs +124 -0
- package/esm2020/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +171 -0
- package/esm2020/lib/query-builder/query-builder-rule.component.mjs +357 -0
- package/esm2020/lib/query-builder/query-builder.class.mjs +20 -0
- package/esm2020/lib/query-builder/query-builder.component.mjs +82 -0
- package/esm2020/lib/query-builder/query-builder.module.mjs +59 -0
- package/esm2020/lib/query-builder/query-builder.service.mjs +191 -0
- package/esm2020/lib/search-bar/search-bar.component.mjs +235 -0
- package/esm2020/lib/search-bar/search-bar.module.mjs +28 -0
- package/esm2020/lib/searchbox/searchbox.component.mjs +79 -0
- package/esm2020/lib/searchbox/searchbox.module.mjs +24 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +886 -261
- package/esm2020/lib/selectbox/selectbox.module.mjs +33 -58
- package/esm2020/lib/selectbox/selectbox2.component.mjs +574 -0
- package/esm2020/lib/selection-list/selection-list.component.mjs +91 -40
- package/esm2020/lib/selection-list/selection-list.module.mjs +7 -10
- package/esm2020/lib/switch/switch.component.mjs +41 -23
- package/esm2020/lib/switch/switch.module.mjs +6 -7
- package/esm2020/lib/tab-page/tab-page-Renderer.component.mjs +71 -0
- package/esm2020/lib/tab-page/tab-page-host.component.mjs +116 -0
- package/esm2020/lib/tab-page/tab-page.module.mjs +21 -0
- package/esm2020/lib/tab-page/tab-page.service.mjs +156 -0
- package/esm2020/lib/tab-strip/tab-strip.component.mjs +36 -0
- package/esm2020/lib/tab-strip/tab-strip.module.mjs +19 -0
- package/esm2020/lib/tab-view/dynamic-tabs.directive.mjs +24 -0
- package/esm2020/lib/tab-view/tab-view.component.mjs +105 -0
- package/esm2020/lib/tab-view/tab-view.module.mjs +21 -0
- package/esm2020/lib/tab-view/tab.component.mjs +30 -0
- package/esm2020/lib/textarea/textarea.component.mjs +19 -18
- package/esm2020/lib/textarea/textarea.module.mjs +13 -18
- package/esm2020/lib/textbox/textbox.component.mjs +35 -23
- package/esm2020/lib/textbox/textbox.module.mjs +15 -34
- package/esm2020/lib/time-picker/time-picker.component.mjs +943 -0
- package/esm2020/lib/time-picker/time-picker.module.mjs +22 -0
- package/esm2020/lib/toast/toast-message/toast-message.component.mjs +74 -0
- package/esm2020/lib/toast/toast-wrapper/toast-wrapper.component.mjs +13 -0
- package/esm2020/lib/toast/toast.module.mjs +12 -13
- package/esm2020/lib/toast/toast.service.mjs +27 -97
- package/esm2020/lib/toolbar/group-button/toolbar-group-button.component.mjs +78 -0
- package/esm2020/lib/toolbar/menu/toolbar-menu.component.mjs +57 -0
- package/esm2020/lib/toolbar/search/toolbar-search.component.mjs +54 -0
- package/esm2020/lib/toolbar/title/toolbar-title.component.mjs +47 -0
- package/esm2020/lib/toolbar/toolbar-item.mjs +6 -0
- package/esm2020/lib/toolbar/toolbar.component.mjs +13 -0
- package/esm2020/lib/toolbar/toolbar.module.mjs +40 -0
- package/esm2020/lib/tooltip/tooltip.directive.mjs +84 -70
- package/esm2020/lib/tooltip/tooltip.module.mjs +8 -12
- package/esm2020/lib/tree-side-menu/tree-side-menu.component.mjs +646 -0
- package/esm2020/lib/tree-side-menu/tree-side-menu.module.mjs +35 -0
- package/esm2020/lib/tree-view/tree-view.component.mjs +726 -0
- package/esm2020/lib/tree-view/tree-view.module.mjs +22 -0
- package/esm2020/lib/upload-file/upload-file.component.mjs +170 -0
- package/esm2020/lib/upload-file/upload-file.events.mjs +2 -0
- package/esm2020/lib/upload-file/upload-file.module.mjs +24 -0
- package/esm2020/lib/validation/validation-form.component.mjs +65 -0
- package/esm2020/lib/validation/validation-rule.widget.mjs +25 -27
- package/esm2020/lib/validation/validation.class.mjs +1 -1
- package/esm2020/lib/validation/validation.component.mjs +89 -0
- package/esm2020/lib/validation/validation.module.mjs +12 -10
- package/esm2020/public-api.mjs +158 -51
- package/fesm2015/acorex-components.mjs +14726 -7264
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +14592 -7157
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/accordion/accordion.component.d.ts +13 -0
- package/lib/accordion/accordion.module.d.ts +9 -0
- package/lib/base/base-page.class.d.ts +46 -0
- package/lib/base/components.class.d.ts +10 -0
- package/lib/base/element.class.d.ts +106 -0
- package/lib/base/events.class.d.ts +8 -75
- package/lib/button/button.component.d.ts +18 -18
- package/lib/button/button.module.d.ts +2 -6
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +81 -0
- package/lib/calendar/calendar-box/calendar-box.module.d.ts +11 -0
- package/lib/calendar/scheduler/scheduler-views.property.d.ts +19 -0
- package/lib/calendar/scheduler/scheduler.class.d.ts +36 -0
- package/lib/calendar/scheduler/scheduler.component.d.ts +39 -0
- package/lib/calendar/scheduler/scheduler.module.d.ts +21 -0
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.d.ts +25 -0
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.d.ts +14 -0
- package/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.d.ts +16 -0
- package/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.d.ts +26 -0
- package/lib/calendar/scheduler/views/month/scheduler-month-view.component.d.ts +37 -0
- package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +28 -0
- package/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.d.ts +24 -0
- package/lib/checkbox/checkbox.component.d.ts +27 -8
- package/lib/checkbox/checkbox.module.d.ts +1 -2
- package/lib/color-picker/color-box/color-box.component.d.ts +25 -0
- package/lib/color-picker/color-picker.component.d.ts +30 -0
- package/lib/color-picker/color-picker.module.d.ts +13 -0
- package/lib/context-menu/context-menu.component.d.ts +22 -0
- package/lib/context-menu/context-menu.directive.d.ts +38 -0
- package/lib/context-menu/context-menu.module.d.ts +9 -0
- package/lib/data-filter/columns/filter-column-date.component.d.ts +22 -0
- package/lib/data-filter/columns/filter-column-number.component.d.ts +15 -0
- package/lib/data-filter/columns/filter-column-selection.component.d.ts +18 -0
- package/lib/data-filter/columns/filter-column-string.component.d.ts +15 -0
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +45 -0
- package/lib/data-filter/filter.class.d.ts +40 -0
- package/lib/data-filter/filter.module.d.ts +24 -0
- package/lib/data-filter/toolbar/filter-toolbar.component.d.ts +25 -0
- package/lib/data-list/core/data-list.component.d.ts +15 -0
- package/lib/data-list/list/list.component.d.ts +40 -0
- package/lib/data-list/list/list.module.d.ts +11 -0
- package/lib/data-list/list/toolbar-list-view.component.d.ts +17 -0
- package/lib/data-source/datasource.component.d.ts +16 -0
- package/lib/data-source/datasource.module.d.ts +7 -0
- package/lib/data-source/read-param.d.ts +40 -0
- package/lib/date-picker/date-picker.component.d.ts +81 -0
- package/lib/date-picker/date-picker.module.d.ts +14 -0
- package/lib/dialog/dialog.component.d.ts +10 -11
- package/lib/dialog/dialog.module.d.ts +3 -6
- package/lib/dialog/dialog.service.d.ts +31 -31
- package/lib/{decorators → drawer}/content.component.d.ts +1 -2
- package/lib/drawer/drawer-container.component.d.ts +7 -10
- package/lib/drawer/drawer.component.d.ts +22 -21
- package/lib/drawer/drawer.module.d.ts +2 -2
- package/lib/dropdown/dropdown.component.d.ts +38 -0
- package/lib/dropdown/dropdown.module.d.ts +7 -7
- package/lib/fieldset/fieldset.component.d.ts +11 -0
- package/lib/fieldset/fieldset.module.d.ts +8 -0
- package/lib/form-group/form-group.component.d.ts +14 -0
- package/lib/form-group/form-group.module.d.ts +8 -0
- package/lib/label/label.component.d.ts +6 -9
- package/lib/loading/loading-indicator.component.d.ts +9 -0
- package/lib/loading/loading-panel.component.d.ts +13 -0
- package/lib/loading/loading.module.d.ts +5 -8
- package/lib/loading/loading.service.d.ts +4 -39
- package/lib/menu/menu-item.component.d.ts +18 -0
- package/lib/menu/menu.component.d.ts +30 -37
- package/lib/menu/menu.module.d.ts +5 -6
- package/lib/menu/menu2.component.d.ts +21 -0
- package/lib/number-box/number-box.component.d.ts +49 -72
- package/lib/number-box/number-box.module.d.ts +3 -6
- package/lib/page/content.component.d.ts +8 -0
- package/lib/page/{page-footer.component.d.ts → footer.component.d.ts} +1 -3
- package/lib/page/page.component.d.ts +9 -7
- package/lib/page/page.module.d.ts +6 -3
- package/lib/panel-box/panel-box.component.d.ts +19 -0
- package/lib/panel-box/panel-box.module.d.ts +8 -0
- package/lib/password-box/password-box.component.d.ts +8 -19
- package/lib/password-box/password-box.module.d.ts +3 -5
- package/lib/{base → popover}/custom-cdk-overlay.service.d.ts +0 -0
- package/lib/{base → popover}/overlay.service.d.ts +2 -3
- package/lib/popover/popover.component.d.ts +23 -42
- package/lib/popup/popup.component.d.ts +26 -32
- package/lib/popup/popup.module.d.ts +3 -2
- package/lib/popup/popup.service.d.ts +9 -25
- package/lib/progress-bar/progress-bar.component.d.ts +4 -15
- package/lib/property-editor/editors/check-editor/check-editor.d.ts +19 -0
- package/lib/property-editor/editors/check-editor/check.module.d.ts +11 -0
- package/lib/property-editor/editors/color-editor/color.editor.d.ts +13 -0
- package/lib/property-editor/editors/color-editor/color.module.d.ts +12 -0
- package/lib/property-editor/editors/column-editor/column.editor.d.ts +34 -0
- package/lib/property-editor/editors/column-editor/column.module.d.ts +20 -0
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.d.ts +44 -0
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.module.d.ts +19 -0
- package/lib/property-editor/editors/date-editor/date.editor.d.ts +28 -0
- package/lib/property-editor/editors/date-editor/date.module.d.ts +12 -0
- package/lib/property-editor/editors/number-editor/number.editor.d.ts +20 -0
- package/lib/property-editor/editors/number-editor/number.module.d.ts +12 -0
- package/lib/property-editor/editors/range-editor/range.editor.d.ts +29 -0
- package/lib/property-editor/editors/range-editor/range.module.d.ts +18 -0
- package/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.d.ts +29 -0
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +29 -0
- package/lib/property-editor/editors/selectbox-editor/selectbox.module.d.ts +14 -0
- package/lib/property-editor/editors/selection-editor/selection-editor.d.ts +25 -0
- package/lib/property-editor/editors/selection-editor/selection.module.d.ts +11 -0
- package/lib/property-editor/editors/switch-editor/number.editor.d.ts +11 -0
- package/lib/property-editor/editors/switch-editor/number.module.d.ts +13 -0
- package/lib/property-editor/editors/text-editor/text.editor.d.ts +18 -0
- package/lib/property-editor/editors/text-editor/text.module.d.ts +12 -0
- package/lib/property-editor/editors/textarea-editor/textarea.editor.d.ts +17 -0
- package/lib/property-editor/editors/textarea-editor/textarea.module.d.ts +12 -0
- package/lib/property-editor/editors/time-editor/time.editor.d.ts +17 -0
- package/lib/property-editor/editors/time-editor/time.module.d.ts +12 -0
- package/lib/property-editor/property-editor-renderer.directive.d.ts +30 -0
- package/lib/property-editor/property-editor.class.d.ts +92 -0
- package/lib/property-editor/property-editor.module.d.ts +21 -0
- package/lib/query-builder/query-builder-group.component.d.ts +33 -0
- package/lib/query-builder/query-builder-popup/query-builder-popup.component.d.ts +35 -0
- package/lib/query-builder/query-builder-rule.component.d.ts +45 -0
- package/lib/query-builder/query-builder.class.d.ts +45 -0
- package/lib/query-builder/query-builder.component.d.ts +27 -0
- package/lib/query-builder/query-builder.module.d.ts +22 -0
- package/lib/query-builder/query-builder.service.d.ts +18 -0
- package/lib/search-bar/search-bar.component.d.ts +50 -0
- package/lib/search-bar/search-bar.module.d.ts +17 -0
- package/lib/searchbox/searchbox.component.d.ts +22 -0
- package/lib/searchbox/searchbox.module.d.ts +13 -0
- package/lib/selectbox/selectbox.component.d.ts +112 -70
- package/lib/selectbox/selectbox.module.d.ts +9 -14
- package/lib/selectbox/selectbox2.component.d.ts +103 -0
- package/lib/selection-list/selection-list.component.d.ts +27 -18
- package/lib/selection-list/selection-list.module.d.ts +1 -4
- package/lib/switch/switch.component.d.ts +17 -9
- package/lib/switch/switch.module.d.ts +1 -2
- package/lib/tab-page/tab-page-Renderer.component.d.ts +16 -0
- package/lib/tab-page/tab-page-host.component.d.ts +25 -0
- package/lib/tab-page/tab-page.module.d.ts +10 -0
- package/lib/tab-page/tab-page.service.d.ts +30 -0
- package/lib/tab-strip/tab-strip.component.d.ts +28 -0
- package/lib/tab-strip/tab-strip.module.d.ts +8 -0
- package/lib/tab-view/dynamic-tabs.directive.d.ts +16 -0
- package/lib/tab-view/tab-view.component.d.ts +26 -0
- package/lib/tab-view/tab-view.module.d.ts +10 -0
- package/lib/tab-view/tab.component.d.ts +12 -0
- package/lib/textarea/textarea.component.d.ts +8 -8
- package/lib/textarea/textarea.module.d.ts +4 -5
- package/lib/textbox/textbox.component.d.ts +12 -12
- package/lib/textbox/textbox.module.d.ts +4 -6
- package/lib/time-picker/time-picker.component.d.ts +52 -0
- package/lib/time-picker/time-picker.module.d.ts +11 -0
- package/lib/toast/toast-message/toast-message.component.d.ts +18 -0
- package/lib/toast/toast-wrapper/toast-wrapper.component.d.ts +8 -0
- package/lib/toast/toast.module.d.ts +4 -4
- package/lib/toast/toast.service.d.ts +13 -13
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +12 -0
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +24 -0
- package/lib/toolbar/search/toolbar-search.component.d.ts +16 -0
- package/lib/toolbar/title/toolbar-title.component.d.ts +9 -0
- package/lib/toolbar/toolbar-item.d.ts +3 -0
- package/lib/toolbar/toolbar.component.d.ts +8 -0
- package/lib/toolbar/toolbar.module.d.ts +14 -0
- package/lib/tooltip/tooltip.directive.d.ts +16 -13
- package/lib/tooltip/tooltip.module.d.ts +3 -5
- package/lib/tree-side-menu/tree-side-menu.component.d.ts +111 -0
- package/lib/tree-side-menu/tree-side-menu.module.d.ts +11 -0
- package/lib/tree-view/tree-view.component.d.ts +117 -0
- package/lib/tree-view/tree-view.module.d.ts +11 -0
- package/lib/upload-file/upload-file.component.d.ts +38 -0
- package/lib/upload-file/upload-file.events.d.ts +10 -0
- package/lib/upload-file/upload-file.module.d.ts +13 -0
- package/lib/validation/validation-form.component.d.ts +19 -0
- package/lib/validation/validation-rule.widget.d.ts +8 -10
- package/lib/validation/validation.class.d.ts +1 -2
- package/lib/validation/validation.component.d.ts +25 -0
- package/lib/validation/validation.module.d.ts +5 -3
- package/package.json +6 -8
- package/public-api.d.ts +155 -49
- package/esm2020/lib/action-sheet/action-sheet-item.component.mjs +0 -37
- package/esm2020/lib/action-sheet/action-sheet.component.mjs +0 -87
- package/esm2020/lib/action-sheet/action-sheet.module.mjs +0 -22
- package/esm2020/lib/action-sheet/index.mjs +0 -4
- package/esm2020/lib/alert/alert-button.component.mjs +0 -51
- package/esm2020/lib/alert/alert-content.component.mjs +0 -21
- package/esm2020/lib/alert/alert-footer.component.mjs +0 -27
- package/esm2020/lib/alert/alert-suffix.component.mjs +0 -27
- package/esm2020/lib/alert/alert-title.component.mjs +0 -23
- package/esm2020/lib/alert/alert.component.mjs +0 -123
- package/esm2020/lib/alert/alert.module.mjs +0 -44
- package/esm2020/lib/alert/index.mjs +0 -8
- package/esm2020/lib/avatar/avatar-group.component.mjs +0 -17
- package/esm2020/lib/avatar/avatar.component.mjs +0 -42
- package/esm2020/lib/avatar/avatar.module.mjs +0 -22
- package/esm2020/lib/avatar/index.mjs +0 -4
- package/esm2020/lib/badge/badge.component.mjs +0 -28
- package/esm2020/lib/badge/badge.module.mjs +0 -21
- package/esm2020/lib/badge/index.mjs +0 -3
- package/esm2020/lib/base/common.module.mjs +0 -19
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +0 -47
- package/esm2020/lib/base/drawing.class.mjs +0 -11
- package/esm2020/lib/base/index.mjs +0 -9
- package/esm2020/lib/base/infinite-scroll.directive.mjs +0 -63
- package/esm2020/lib/base/mixin/base-components.class.mjs +0 -100
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +0 -136
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +0 -91
- package/esm2020/lib/base/mixin/clickable-mixin.class.mjs +0 -24
- package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +0 -48
- package/esm2020/lib/base/mixin/constratctor.mjs +0 -2
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +0 -148
- package/esm2020/lib/base/mixin/datalist.class.mjs +0 -3
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +0 -99
- package/esm2020/lib/base/mixin/index.mjs +0 -3
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +0 -84
- package/esm2020/lib/base/mixin/loading-mixin.class.mjs +0 -18
- package/esm2020/lib/base/mixin/mixin.class.mjs +0 -27
- package/esm2020/lib/base/mixin/selection-component.class.mjs +0 -181
- package/esm2020/lib/base/mixin/sizable-mixin.class.mjs +0 -18
- package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +0 -34
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +0 -209
- package/esm2020/lib/base/overlay.service.mjs +0 -91
- package/esm2020/lib/base/responsive.directive.mjs +0 -34
- package/esm2020/lib/base/styles.class.mjs +0 -4
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.class.mjs +0 -2
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.component.mjs +0 -20
- package/esm2020/lib/breadcrumbs/breadcrumbs.component.mjs +0 -18
- package/esm2020/lib/breadcrumbs/breadcrumbs.module.mjs +0 -20
- package/esm2020/lib/breadcrumbs/index.mjs +0 -5
- package/esm2020/lib/button/button-group.component.mjs +0 -124
- package/esm2020/lib/button/button-item.class.mjs +0 -2
- package/esm2020/lib/button/button-item.component.mjs +0 -80
- package/esm2020/lib/button/index.mjs +0 -6
- package/esm2020/lib/calendar/calendar.class.mjs +0 -126
- package/esm2020/lib/calendar/calendar.component.mjs +0 -332
- package/esm2020/lib/calendar/calendar.module.mjs +0 -26
- package/esm2020/lib/calendar/index.mjs +0 -3
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +0 -56
- package/esm2020/lib/carousel/carousel-item.component.mjs +0 -21
- package/esm2020/lib/carousel/carousel-pager.component.mjs +0 -74
- package/esm2020/lib/carousel/carousel-splidejs.class.mjs +0 -91
- package/esm2020/lib/carousel/carousel.class.mjs +0 -10
- package/esm2020/lib/carousel/carousel.component.mjs +0 -438
- package/esm2020/lib/carousel/carousel.module.mjs +0 -24
- package/esm2020/lib/carousel/index.mjs +0 -7
- package/esm2020/lib/checkbox/index.mjs +0 -3
- package/esm2020/lib/collapse/collapse-group.component.mjs +0 -50
- package/esm2020/lib/collapse/collapse.component.mjs +0 -42
- package/esm2020/lib/collapse/collapse.module.mjs +0 -20
- package/esm2020/lib/collapse/index.mjs +0 -4
- package/esm2020/lib/datalist/datalist.component.mjs +0 -75
- package/esm2020/lib/datalist/datalist.module.mjs +0 -24
- package/esm2020/lib/datalist/index.mjs +0 -3
- package/esm2020/lib/datepicker/datepicker.component.mjs +0 -185
- package/esm2020/lib/datepicker/datepicker.module.mjs +0 -47
- package/esm2020/lib/datepicker/index.mjs +0 -3
- package/esm2020/lib/decorators/addon.component.mjs +0 -20
- package/esm2020/lib/decorators/content.component.mjs +0 -26
- package/esm2020/lib/decorators/decorators.module.mjs +0 -25
- package/esm2020/lib/decorators/header.component.mjs +0 -26
- package/esm2020/lib/decorators/index.mjs +0 -8
- package/esm2020/lib/decorators/prefix.component.mjs +0 -26
- package/esm2020/lib/decorators/suffix.component.mjs +0 -26
- package/esm2020/lib/dialog/dialog.class.mjs +0 -2
- package/esm2020/lib/dialog/index.mjs +0 -5
- package/esm2020/lib/drawer/drawer-content.component.mjs +0 -27
- package/esm2020/lib/drawer/index.mjs +0 -5
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +0 -80
- package/esm2020/lib/dropdown/index.mjs +0 -3
- package/esm2020/lib/form/form-field.component.mjs +0 -20
- package/esm2020/lib/form/form-field.module.mjs +0 -21
- package/esm2020/lib/form/form-hint.component.mjs +0 -20
- package/esm2020/lib/form/form.component.mjs +0 -59
- package/esm2020/lib/form/index.mjs +0 -5
- package/esm2020/lib/icon/icon.component.mjs +0 -28
- package/esm2020/lib/icon/icon.module.mjs +0 -21
- package/esm2020/lib/icon/index.mjs +0 -3
- package/esm2020/lib/input-mask/index.mjs +0 -3
- package/esm2020/lib/input-mask/input-mask.component.mjs +0 -56
- package/esm2020/lib/input-mask/input-mask.module.mjs +0 -24
- package/esm2020/lib/label/index.mjs +0 -3
- package/esm2020/lib/loading/index.mjs +0 -6
- package/esm2020/lib/loading/loading-spinner.component.mjs +0 -35
- package/esm2020/lib/loading/loading.component.mjs +0 -62
- package/esm2020/lib/loading/loading.directive.mjs +0 -67
- package/esm2020/lib/menu/index.mjs +0 -3
- package/esm2020/lib/number-box/index.mjs +0 -3
- package/esm2020/lib/page/base-page.class.mjs +0 -86
- package/esm2020/lib/page/index.mjs +0 -6
- package/esm2020/lib/page/page-footer.component.mjs +0 -28
- package/esm2020/lib/page/page-header.component.mjs +0 -28
- package/esm2020/lib/password-box/index.mjs +0 -3
- package/esm2020/lib/picker/index.mjs +0 -3
- package/esm2020/lib/picker/picker.component.mjs +0 -48
- package/esm2020/lib/picker/picker.module.mjs +0 -20
- package/esm2020/lib/popover/index.mjs +0 -3
- package/esm2020/lib/popup/index.mjs +0 -4
- package/esm2020/lib/progress-bar/index.mjs +0 -3
- package/esm2020/lib/radio/index.mjs +0 -3
- package/esm2020/lib/radio/radio.component.mjs +0 -34
- package/esm2020/lib/radio/radio.module.mjs +0 -22
- package/esm2020/lib/range-slider/index.mjs +0 -3
- package/esm2020/lib/range-slider/range-slider.component.mjs +0 -16
- package/esm2020/lib/range-slider/range-slider.module.mjs +0 -21
- package/esm2020/lib/rating/index.mjs +0 -3
- package/esm2020/lib/rating/rating.component.mjs +0 -41
- package/esm2020/lib/rating/rating.component.module.mjs +0 -19
- package/esm2020/lib/result/index.mjs +0 -3
- package/esm2020/lib/result/result.component.mjs +0 -23
- package/esm2020/lib/result/result.module.mjs +0 -19
- package/esm2020/lib/selectbox/index.mjs +0 -3
- package/esm2020/lib/selection-list/index.mjs +0 -3
- package/esm2020/lib/switch/index.mjs +0 -3
- package/esm2020/lib/tabs/index.mjs +0 -6
- package/esm2020/lib/tabs/tab-content.directive.mjs +0 -29
- package/esm2020/lib/tabs/tab-item.component.mjs +0 -121
- package/esm2020/lib/tabs/tabs.class.mjs +0 -4
- package/esm2020/lib/tabs/tabs.component.mjs +0 -95
- package/esm2020/lib/tabs/tabs.module.mjs +0 -25
- package/esm2020/lib/textarea/index.mjs +0 -3
- package/esm2020/lib/textbox/index.mjs +0 -3
- package/esm2020/lib/time-box/index.mjs +0 -3
- package/esm2020/lib/time-box/time-box.component.mjs +0 -262
- package/esm2020/lib/time-box/time-box.module.mjs +0 -32
- package/esm2020/lib/toast/index.mjs +0 -5
- package/esm2020/lib/toast/toast.class.mjs +0 -2
- package/esm2020/lib/toast/toast.component.mjs +0 -52
- package/esm2020/lib/tooltip/index.mjs +0 -4
- package/esm2020/lib/tooltip/tooltip.component.mjs +0 -38
- package/esm2020/lib/treeview/index.mjs +0 -3
- package/esm2020/lib/treeview/tree-view.component.mjs +0 -108
- package/esm2020/lib/treeview/tree-view.module.mjs +0 -20
- package/esm2020/lib/validation/index.mjs +0 -3
- package/lib/action-sheet/action-sheet-item.component.d.ts +0 -15
- package/lib/action-sheet/action-sheet.component.d.ts +0 -19
- package/lib/action-sheet/action-sheet.module.d.ts +0 -11
- package/lib/action-sheet/index.d.ts +0 -3
- package/lib/alert/alert-button.component.d.ts +0 -13
- package/lib/alert/alert-content.component.d.ts +0 -5
- package/lib/alert/alert-footer.component.d.ts +0 -5
- package/lib/alert/alert-suffix.component.d.ts +0 -5
- package/lib/alert/alert-title.component.d.ts +0 -5
- package/lib/alert/alert.component.d.ts +0 -75
- package/lib/alert/alert.module.d.ts +0 -14
- package/lib/alert/index.d.ts +0 -7
- package/lib/avatar/avatar-group.component.d.ts +0 -8
- package/lib/avatar/avatar.component.d.ts +0 -22
- package/lib/avatar/avatar.module.d.ts +0 -9
- package/lib/avatar/index.d.ts +0 -3
- package/lib/badge/badge.component.d.ts +0 -41
- package/lib/badge/badge.module.d.ts +0 -8
- package/lib/badge/index.d.ts +0 -2
- package/lib/base/common.module.d.ts +0 -8
- package/lib/base/drawing.class.d.ts +0 -9
- package/lib/base/index.d.ts +0 -8
- package/lib/base/infinite-scroll.directive.d.ts +0 -25
- package/lib/base/mixin/base-components.class.d.ts +0 -85
- package/lib/base/mixin/base-menu-mixin.class.d.ts +0 -52
- package/lib/base/mixin/button-mixin.class.d.ts +0 -63
- package/lib/base/mixin/clickable-mixin.class.d.ts +0 -35
- package/lib/base/mixin/color-look-mixing.class.d.ts +0 -43
- package/lib/base/mixin/constratctor.d.ts +0 -4
- package/lib/base/mixin/datalist-component.class.d.ts +0 -58
- package/lib/base/mixin/datalist.class.d.ts +0 -11
- package/lib/base/mixin/dropdown-mixin.class.d.ts +0 -48
- package/lib/base/mixin/index.d.ts +0 -2
- package/lib/base/mixin/interactive-mixin.class.d.ts +0 -59
- package/lib/base/mixin/loading-mixin.class.d.ts +0 -39
- package/lib/base/mixin/mixin.class.d.ts +0 -687
- package/lib/base/mixin/selection-component.class.d.ts +0 -60
- package/lib/base/mixin/sizable-mixin.class.d.ts +0 -33
- package/lib/base/mixin/textbox-mixin.class.d.ts +0 -56
- package/lib/base/mixin/value-mixin.class.d.ts +0 -64
- package/lib/base/responsive.directive.d.ts +0 -10
- package/lib/base/styles.class.d.ts +0 -17
- package/lib/breadcrumbs/breadcrumbs-item.class.d.ts +0 -9
- package/lib/breadcrumbs/breadcrumbs-item.component.d.ts +0 -12
- package/lib/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/lib/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/lib/breadcrumbs/index.d.ts +0 -4
- package/lib/button/button-group.component.d.ts +0 -36
- package/lib/button/button-item.class.d.ts +0 -22
- package/lib/button/button-item.component.d.ts +0 -79
- package/lib/button/index.d.ts +0 -5
- package/lib/calendar/calendar.class.d.ts +0 -50
- package/lib/calendar/calendar.component.d.ts +0 -50
- package/lib/calendar/calendar.module.d.ts +0 -13
- package/lib/calendar/index.d.ts +0 -2
- package/lib/carousel/carousel-arrows.component.d.ts +0 -15
- package/lib/carousel/carousel-item.component.d.ts +0 -8
- package/lib/carousel/carousel-pager.component.d.ts +0 -22
- package/lib/carousel/carousel-splidejs.class.d.ts +0 -18
- package/lib/carousel/carousel.class.d.ts +0 -71
- package/lib/carousel/carousel.component.d.ts +0 -110
- package/lib/carousel/carousel.module.d.ts +0 -11
- package/lib/carousel/index.d.ts +0 -6
- package/lib/checkbox/index.d.ts +0 -2
- package/lib/collapse/collapse-group.component.d.ts +0 -15
- package/lib/collapse/collapse.component.d.ts +0 -16
- package/lib/collapse/collapse.module.d.ts +0 -9
- package/lib/collapse/index.d.ts +0 -3
- package/lib/datalist/datalist.component.d.ts +0 -25
- package/lib/datalist/datalist.module.d.ts +0 -11
- package/lib/datalist/index.d.ts +0 -2
- package/lib/datepicker/datepicker.component.d.ts +0 -151
- package/lib/datepicker/datepicker.module.d.ts +0 -16
- package/lib/datepicker/index.d.ts +0 -2
- package/lib/decorators/addon.component.d.ts +0 -8
- package/lib/decorators/decorators.module.d.ts +0 -12
- package/lib/decorators/header.component.d.ts +0 -8
- package/lib/decorators/index.d.ts +0 -7
- package/lib/decorators/prefix.component.d.ts +0 -8
- package/lib/decorators/suffix.component.d.ts +0 -8
- package/lib/dialog/dialog.class.d.ts +0 -12
- package/lib/dialog/index.d.ts +0 -4
- package/lib/drawer/drawer-content.component.d.ts +0 -8
- package/lib/drawer/index.d.ts +0 -4
- package/lib/dropdown/dropdown-panel.component.d.ts +0 -27
- package/lib/dropdown/index.d.ts +0 -2
- package/lib/form/form-field.component.d.ts +0 -8
- package/lib/form/form-field.module.d.ts +0 -10
- package/lib/form/form-hint.component.d.ts +0 -8
- package/lib/form/form.component.d.ts +0 -21
- package/lib/form/index.d.ts +0 -4
- package/lib/icon/icon.component.d.ts +0 -10
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/icon/index.d.ts +0 -2
- package/lib/input-mask/index.d.ts +0 -2
- package/lib/input-mask/input-mask.component.d.ts +0 -25
- package/lib/input-mask/input-mask.module.d.ts +0 -10
- package/lib/label/index.d.ts +0 -2
- package/lib/loading/index.d.ts +0 -5
- package/lib/loading/loading-spinner.component.d.ts +0 -6
- package/lib/loading/loading.component.d.ts +0 -21
- package/lib/loading/loading.directive.d.ts +0 -22
- package/lib/menu/index.d.ts +0 -2
- package/lib/number-box/index.d.ts +0 -2
- package/lib/page/base-page.class.d.ts +0 -45
- package/lib/page/index.d.ts +0 -5
- package/lib/page/page-header.component.d.ts +0 -7
- package/lib/password-box/index.d.ts +0 -2
- package/lib/picker/index.d.ts +0 -2
- package/lib/picker/picker.component.d.ts +0 -21
- package/lib/picker/picker.module.d.ts +0 -9
- package/lib/popover/index.d.ts +0 -2
- package/lib/popup/index.d.ts +0 -3
- package/lib/progress-bar/index.d.ts +0 -2
- package/lib/radio/index.d.ts +0 -2
- package/lib/radio/radio.component.d.ts +0 -17
- package/lib/radio/radio.module.d.ts +0 -9
- package/lib/range-slider/index.d.ts +0 -2
- package/lib/range-slider/range-slider.component.d.ts +0 -8
- package/lib/range-slider/range-slider.module.d.ts +0 -8
- package/lib/rating/index.d.ts +0 -2
- package/lib/rating/rating.component.d.ts +0 -21
- package/lib/rating/rating.component.module.d.ts +0 -8
- package/lib/result/index.d.ts +0 -2
- package/lib/result/result.component.d.ts +0 -12
- package/lib/result/result.module.d.ts +0 -8
- package/lib/selectbox/index.d.ts +0 -2
- package/lib/selection-list/index.d.ts +0 -2
- package/lib/switch/index.d.ts +0 -2
- package/lib/tabs/index.d.ts +0 -5
- package/lib/tabs/tab-content.directive.d.ts +0 -11
- package/lib/tabs/tab-item.component.d.ts +0 -49
- package/lib/tabs/tabs.class.d.ts +0 -6
- package/lib/tabs/tabs.component.d.ts +0 -24
- package/lib/tabs/tabs.module.d.ts +0 -12
- package/lib/textarea/index.d.ts +0 -2
- package/lib/textbox/index.d.ts +0 -2
- package/lib/time-box/index.d.ts +0 -2
- package/lib/time-box/time-box.component.d.ts +0 -48
- package/lib/time-box/time-box.module.d.ts +0 -11
- package/lib/toast/index.d.ts +0 -4
- package/lib/toast/toast.class.d.ts +0 -14
- package/lib/toast/toast.component.d.ts +0 -24
- package/lib/tooltip/index.d.ts +0 -3
- package/lib/tooltip/tooltip.component.d.ts +0 -10
- package/lib/treeview/index.d.ts +0 -2
- package/lib/treeview/tree-view.component.d.ts +0 -33
- package/lib/treeview/tree-view.module.d.ts +0 -9
- package/lib/validation/index.d.ts +0 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { AXToolbarItem } from '../toolbar-item';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class AXToolbarTitleComponent {
|
|
6
|
+
constructor() { }
|
|
7
|
+
get text() {
|
|
8
|
+
return this._text;
|
|
9
|
+
}
|
|
10
|
+
set text(v) {
|
|
11
|
+
if (v !== this._text) {
|
|
12
|
+
this._text = v;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
AXToolbarTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
AXToolbarTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXToolbarTitleComponent, selector: "ax-toolbar-title", inputs: { text: "text" }, providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }], ngImport: i0, template: `
|
|
18
|
+
<ng-container *ngIf="text; else elseTemplate">
|
|
19
|
+
<div class="title">{{text}}</div>
|
|
20
|
+
</ng-container>
|
|
21
|
+
<ng-template #elseTemplate>
|
|
22
|
+
<ng-content></ng-content>
|
|
23
|
+
</ng-template>`, isInline: true, styles: [".title{height:100%;display:flex;align-items:center}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarTitleComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'ax-toolbar-title',
|
|
28
|
+
template: `
|
|
29
|
+
<ng-container *ngIf="text; else elseTemplate">
|
|
30
|
+
<div class="title">{{text}}</div>
|
|
31
|
+
</ng-container>
|
|
32
|
+
<ng-template #elseTemplate>
|
|
33
|
+
<ng-content></ng-content>
|
|
34
|
+
</ng-template>`,
|
|
35
|
+
styles: [`
|
|
36
|
+
.title{
|
|
37
|
+
height: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
`],
|
|
42
|
+
providers: [{ provide: AXToolbarItem, useExisting: AXToolbarTitleComponent }]
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}] } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvdGl0bGUvdG9vbGJhci10aXRsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQXdCLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBb0JoRCxNQUFNLE9BQU8sdUJBQXVCO0lBQ2hDLGdCQUFnQixDQUFDO0lBR2pCLElBQ1csSUFBSTtRQUNYLE9BQU8sSUFBSS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wiPnt7dGV4dH19PC9kaXY+XHJcbiAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XHJcbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPmAsXHJcbiAgICBzdHlsZXM6IFtgXHJcbiAgICAgICAgLnRpdGxle1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XHJcbiAgICAgICAgfVxyXG4gICAgYF0sXHJcbiAgICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFYVG9vbGJhckl0ZW0sIHVzZUV4aXN0aW5nOiBBWFRvb2xiYXJUaXRsZUNvbXBvbmVudCB9XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhUb29sYmFyVGl0bGVDb21wb25lbnQge1xyXG4gICAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgICBwcml2YXRlIF90ZXh0OiBzdHJpbmc7XHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIGdldCB0ZXh0KCk6IHN0cmluZyB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3RleHQ7XHJcbiAgICB9XHJcbiAgICBwdWJsaWMgc2V0IHRleHQodjogc3RyaW5nKSB7XHJcbiAgICAgICAgaWYgKHYgIT09IHRoaXMuX3RleHQpIHtcclxuICAgICAgICAgICAgdGhpcy5fdGV4dCA9IHY7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export class AXToolbarItem {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.alignment = "center";
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXItaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQWdCLGFBQWE7SUFBbkM7UUFFSSxjQUFTLEdBQXdCLFFBQVEsQ0FBQztJQUM5QyxDQUFDO0NBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgYWJzdHJhY3QgY2xhc3MgQVhUb29sYmFySXRlbVxyXG57XHJcbiAgICBhbGlnbm1lbnQ6XCJzdGFydFwifFwiZW5kXCJ8XCJjZW50ZXJcIj1cImNlbnRlclwiO1xyXG59Il19
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class AXToolbarComponent {
|
|
4
|
+
constructor() { }
|
|
5
|
+
ngOnInit() { }
|
|
6
|
+
}
|
|
7
|
+
AXToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
AXToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXToolbarComponent, selector: "ax-toolbar", ngImport: i0, template: "<div class=\"ax-toolbar\">\r\n <ng-content>\r\n </ng-content>\r\n</div>", styles: ["ax-toolbar{width:100%}ax-toolbar .ax-toolbar{display:flex;width:100%;justify-content:space-between;align-items:center}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{ selector: 'ax-toolbar', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-toolbar\">\r\n <ng-content>\r\n </ng-content>\r\n</div>", styles: ["ax-toolbar{width:100%}ax-toolbar .ax-toolbar{display:flex;width:100%;justify-content:space-between;align-items:center}\n"] }]
|
|
12
|
+
}], ctorParameters: function () { return []; } });
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVNyRSxNQUFNLE9BQU8sa0JBQWtCO0lBRTNCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVEsS0FBVyxDQUFDOztnSEFKWCxrQkFBa0I7b0dBQWxCLGtCQUFrQixrRENUL0IsK0VBR007NEZETU8sa0JBQWtCO2tCQU45QixTQUFTOytCQUNJLFlBQVksaUJBR1IsaUJBQWlCLENBQUMsSUFBSSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdheC10b29sYmFyJyxcclxuICAgIHRlbXBsYXRlVXJsOiAnLi90b29sYmFyLmNvbXBvbmVudC5odG1sJyxcclxuICAgIHN0eWxlVXJsczogWycuL3Rvb2xiYXIuY29tcG9uZW50LnNjc3MnXSxcclxuICAgIGVuY2Fwc3VsYXRpb246Vmlld0VuY2Fwc3VsYXRpb24uTm9uZVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhUb29sYmFyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICAgIG5nT25Jbml0KCk6IHZvaWQgeyB9XHJcbiAgICBcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiYXgtdG9vbGJhclwiPlxyXG4gICAgPG5nLWNvbnRlbnQ+XHJcbiAgICA8L25nLWNvbnRlbnQ+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXToolbarComponent } from './toolbar.component';
|
|
4
|
+
import { AXToolbarMenuComponent } from './menu/toolbar-menu.component';
|
|
5
|
+
import { AXToolbarSearchComponent } from './search/toolbar-search.component';
|
|
6
|
+
import { AXToolbarTitleComponent } from './title/toolbar-title.component';
|
|
7
|
+
import { AXToolbarButtonGroupComponent } from './group-button/toolbar-group-button.component';
|
|
8
|
+
import { AXPopoverModule } from '../popover/popover.module';
|
|
9
|
+
import { AXMenuModule } from '../menu/menu.module';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
const COMPONENTS = [
|
|
12
|
+
AXToolbarComponent,
|
|
13
|
+
AXToolbarMenuComponent,
|
|
14
|
+
AXToolbarSearchComponent,
|
|
15
|
+
AXToolbarTitleComponent,
|
|
16
|
+
AXToolbarButtonGroupComponent
|
|
17
|
+
];
|
|
18
|
+
export class AXToolbarModule {
|
|
19
|
+
}
|
|
20
|
+
AXToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
+
AXToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarModule, declarations: [AXToolbarComponent,
|
|
22
|
+
AXToolbarMenuComponent,
|
|
23
|
+
AXToolbarSearchComponent,
|
|
24
|
+
AXToolbarTitleComponent,
|
|
25
|
+
AXToolbarButtonGroupComponent], imports: [CommonModule, AXPopoverModule, AXMenuModule], exports: [AXToolbarComponent,
|
|
26
|
+
AXToolbarMenuComponent,
|
|
27
|
+
AXToolbarSearchComponent,
|
|
28
|
+
AXToolbarTitleComponent,
|
|
29
|
+
AXToolbarButtonGroupComponent] });
|
|
30
|
+
AXToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarModule, providers: [], imports: [[CommonModule, AXPopoverModule, AXMenuModule]] });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXToolbarModule, decorators: [{
|
|
32
|
+
type: NgModule,
|
|
33
|
+
args: [{
|
|
34
|
+
declarations: [COMPONENTS],
|
|
35
|
+
imports: [CommonModule, AXPopoverModule, AXMenuModule],
|
|
36
|
+
exports: [COMPONENTS],
|
|
37
|
+
providers: [],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2xiYXIvdG9vbGJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYX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gQVhUb29sYmFyQ29tcG9uZW50LFxyXG4gICAgQVhUb29sYmFyTWVudUNvbXBvbmVudCxcclxuICAgIEFYVG9vbGJhclNlYXJjaENvbXBvbmVudCxcclxuICAgIEFYVG9vbGJhclRpdGxlQ29tcG9uZW50LFxyXG4gICAgQVhUb29sYmFyQnV0dG9uR3JvdXBDb21wb25lbnRcclxuXVxyXG5cclxuQE5nTW9kdWxlKHtcclxuICAgIGRlY2xhcmF0aW9uczogW0NPTVBPTkVOVFNdLFxyXG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgQVhQb3BvdmVyTW9kdWxlLCBBWE1lbnVNb2R1bGVdLFxyXG4gICAgZXhwb3J0czogW0NPTVBPTkVOVFNdLFxyXG4gICAgcHJvdmlkZXJzOiBbXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYVG9vbGJhck1vZHVsZSB7IH0iXX0=
|
|
@@ -1,86 +1,100 @@
|
|
|
1
|
-
import { Directive,
|
|
2
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
-
import { AXTooltipComponent } from './tooltip.component';
|
|
1
|
+
import { Directive, Input, ElementRef, HostListener, Renderer2 } from '@angular/core';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
6
3
|
export class AXTooltipDirective {
|
|
7
|
-
constructor(
|
|
8
|
-
this.
|
|
9
|
-
this.
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
4
|
+
constructor(el, renderer) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
this.renderer = renderer;
|
|
7
|
+
this.placement = 'top';
|
|
8
|
+
this.delay = 500;
|
|
9
|
+
this.offset = 17;
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
overlayY: 'bottom',
|
|
23
|
-
offsetY: -8,
|
|
24
|
-
};
|
|
25
|
-
break;
|
|
26
|
-
case 'right':
|
|
27
|
-
this.positions = {
|
|
28
|
-
originX: 'end',
|
|
29
|
-
originY: 'center',
|
|
30
|
-
overlayX: 'start',
|
|
31
|
-
overlayY: 'center',
|
|
32
|
-
offsetX: 8,
|
|
33
|
-
};
|
|
34
|
-
break;
|
|
35
|
-
case 'bottom':
|
|
36
|
-
this.positions = {
|
|
37
|
-
originX: 'center',
|
|
38
|
-
originY: 'bottom',
|
|
39
|
-
overlayX: 'center',
|
|
40
|
-
overlayY: 'top',
|
|
41
|
-
offsetY: 8,
|
|
42
|
-
};
|
|
43
|
-
break;
|
|
44
|
-
case 'left':
|
|
45
|
-
this.positions = {
|
|
46
|
-
originX: 'start',
|
|
47
|
-
originY: 'center',
|
|
48
|
-
overlayX: 'end',
|
|
49
|
-
overlayY: 'center',
|
|
50
|
-
offsetX: -8,
|
|
51
|
-
};
|
|
52
|
-
break;
|
|
11
|
+
onMouseEnter() {
|
|
12
|
+
if (!this.tooltip && this.tooltipTitle) {
|
|
13
|
+
this.show();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
onMouseLeave() {
|
|
17
|
+
if (this.tooltip && this.tooltipTitle) {
|
|
18
|
+
this.hide();
|
|
53
19
|
}
|
|
54
|
-
const positionStrategy = this.overlayPositionBuilder
|
|
55
|
-
.flexibleConnectedTo(this.elementRef)
|
|
56
|
-
.withPositions([this.positions]);
|
|
57
|
-
this.overlayRef = this.overlay.create({ positionStrategy });
|
|
58
20
|
}
|
|
59
21
|
show() {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
22
|
+
this.create();
|
|
23
|
+
this.setPosition();
|
|
24
|
+
this.renderer.addClass(this.tooltip, 'ax-tooltip-show');
|
|
63
25
|
}
|
|
64
26
|
hide() {
|
|
65
|
-
this.
|
|
27
|
+
if (this.tooltip) {
|
|
28
|
+
try {
|
|
29
|
+
this.renderer.removeClass(this.tooltip, 'ax-tooltip-show');
|
|
30
|
+
this.renderer.removeChild(document.body, this.tooltip);
|
|
31
|
+
this.tooltip = null;
|
|
32
|
+
}
|
|
33
|
+
catch (error) { }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
create() {
|
|
37
|
+
if (this.tooltipTitle) {
|
|
38
|
+
this.tooltip = this.renderer.createElement('span');
|
|
39
|
+
this.renderer.appendChild(this.tooltip, this.renderer.createText(this.tooltipTitle) // textNode
|
|
40
|
+
);
|
|
41
|
+
this.renderer.appendChild(document.body, this.tooltip);
|
|
42
|
+
this.renderer.addClass(this.tooltip, 'ax-tooltip');
|
|
43
|
+
this.renderer.addClass(this.tooltip, `ax-tooltip-${this.placement}`);
|
|
44
|
+
this.renderer.setStyle(this.tooltip, '-webkit-transition', `opacity ${this.delay}ms`);
|
|
45
|
+
this.renderer.setStyle(this.tooltip, '-moz-transition', `opacity ${this.delay}ms`);
|
|
46
|
+
this.renderer.setStyle(this.tooltip, '-o-transition', `opacity ${this.delay}ms`);
|
|
47
|
+
this.renderer.setStyle(this.tooltip, 'transition', `opacity ${this.delay}ms`);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
ngOnDestroy() {
|
|
51
|
+
this.hide();
|
|
52
|
+
}
|
|
53
|
+
setPosition() {
|
|
54
|
+
const hostPos = this.el.nativeElement.getBoundingClientRect();
|
|
55
|
+
const tooltipPos = this.tooltip.getBoundingClientRect();
|
|
56
|
+
const scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
57
|
+
let top;
|
|
58
|
+
let left;
|
|
59
|
+
if (this.placement === 'top') {
|
|
60
|
+
top = hostPos.top - tooltipPos.height - this.offset;
|
|
61
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
62
|
+
}
|
|
63
|
+
if (this.placement === 'bottom') {
|
|
64
|
+
top = hostPos.bottom + this.offset;
|
|
65
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
66
|
+
}
|
|
67
|
+
if (this.placement === 'left') {
|
|
68
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
69
|
+
left = hostPos.left - tooltipPos.width - this.offset;
|
|
70
|
+
}
|
|
71
|
+
if (this.placement === 'right') {
|
|
72
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
73
|
+
left = hostPos.right + this.offset;
|
|
74
|
+
}
|
|
75
|
+
this.renderer.setStyle(this.tooltip, 'top', `${top + scrollPos}px`);
|
|
76
|
+
this.renderer.setStyle(this.tooltip, 'left', `${left}px`);
|
|
66
77
|
}
|
|
67
78
|
}
|
|
68
|
-
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
69
|
-
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
79
|
+
AXTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
80
|
+
AXTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { tooltipTitle: ["tooltip", "tooltipTitle"], placement: "placement", delay: "delay" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0 });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipDirective, decorators: [{
|
|
71
82
|
type: Directive,
|
|
72
|
-
args: [{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}], position: [{
|
|
83
|
+
args: [{
|
|
84
|
+
selector: '[axTooltip]'
|
|
85
|
+
}]
|
|
86
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { tooltipTitle: [{
|
|
77
87
|
type: Input,
|
|
78
|
-
args: ['
|
|
79
|
-
}],
|
|
88
|
+
args: ['tooltip']
|
|
89
|
+
}], placement: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], delay: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], onMouseEnter: [{
|
|
80
94
|
type: HostListener,
|
|
81
95
|
args: ['mouseenter']
|
|
82
|
-
}],
|
|
96
|
+
}], onMouseLeave: [{
|
|
83
97
|
type: HostListener,
|
|
84
|
-
args: ['
|
|
98
|
+
args: ['mouseleave']
|
|
85
99
|
}] } });
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2x0aXAvdG9vbHRpcC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3RGLE1BQU0sT0FBTyxrQkFBa0I7SUFPN0IsWUFBb0IsRUFBYyxFQUFVLFFBQW1CO1FBQTNDLE9BQUUsR0FBRixFQUFFLENBQVk7UUFBVSxhQUFRLEdBQVIsUUFBUSxDQUFXO1FBTHRELGNBQVMsR0FBVyxLQUFLLENBQUM7UUFDMUIsVUFBSyxHQUFXLEdBQUcsQ0FBQztRQUU3QixXQUFNLEdBQUcsRUFBRSxDQUFDO0lBSVosQ0FBQztJQUcyQixZ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
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AXTooltipComponent } from './tooltip.component';
|
|
4
3
|
import { AXTooltipDirective } from './tooltip.directive';
|
|
5
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
|
|
8
|
-
const MODULES = [CommonModule, OverlayModule];
|
|
9
5
|
export class AXTooltipModule {
|
|
10
6
|
}
|
|
11
|
-
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
12
|
-
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.
|
|
13
|
-
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
7
|
+
AXTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
AXTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipDirective], imports: [CommonModule], exports: [AXTooltipDirective] });
|
|
9
|
+
AXTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipModule, providers: [], imports: [[CommonModule]] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTooltipModule, decorators: [{
|
|
15
11
|
type: NgModule,
|
|
16
12
|
args: [{
|
|
17
|
-
declarations: [
|
|
18
|
-
imports: [
|
|
19
|
-
exports: [
|
|
13
|
+
declarations: [AXTooltipDirective],
|
|
14
|
+
imports: [CommonModule],
|
|
15
|
+
exports: [AXTooltipDirective],
|
|
20
16
|
providers: [],
|
|
21
17
|
}]
|
|
22
18
|
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3Rvb2x0aXAvdG9vbHRpcC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBUXpELE1BQU0sT0FBTyxlQUFlOzs2R0FBZixlQUFlOzhHQUFmLGVBQWUsaUJBTFQsa0JBQWtCLGFBQ3RCLFlBQVksYUFDYixrQkFBa0I7OEdBR25CLGVBQWUsYUFGYixFQUFFLFlBRkosQ0FBRSxZQUFZLENBQUU7NEZBSWhCLGVBQWU7a0JBTjNCLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsa0JBQWtCLENBQUM7b0JBQ2xDLE9BQU8sRUFBRSxDQUFFLFlBQVksQ0FBRTtvQkFDekIsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7b0JBQzdCLFNBQVMsRUFBRSxFQUFFO2lCQUNoQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9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