@acorex/components 6.5.27 → 6.5.29
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/acorex-components.d.ts +5 -0
- package/esm2020/acorex-components.mjs +5 -0
- 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 +11 -0
- package/esm2020/lib/button/button.component.mjs +71 -0
- package/esm2020/lib/button/button.module.mjs +21 -0
- 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 +98 -0
- package/esm2020/lib/checkbox/checkbox.module.mjs +20 -0
- 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 +702 -0
- package/esm2020/lib/date-picker/date-picker.module.mjs +25 -0
- package/esm2020/lib/dialog/dialog.component.mjs +24 -0
- package/esm2020/lib/dialog/dialog.module.mjs +21 -0
- package/esm2020/lib/dialog/dialog.service.mjs +150 -0
- package/esm2020/lib/drawer/content.component.mjs +18 -0
- package/esm2020/lib/drawer/drawer-container.component.mjs +36 -0
- package/esm2020/lib/drawer/drawer.component.mjs +142 -0
- package/esm2020/lib/drawer/drawer.module.mjs +23 -0
- package/esm2020/lib/dropdown/dropdown.component.mjs +176 -0
- package/esm2020/lib/dropdown/dropdown.module.mjs +26 -0
- 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 +19 -0
- package/esm2020/lib/label/label.module.mjs +21 -0
- 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 +21 -0
- package/esm2020/lib/loading/loading.service.mjs +45 -0
- package/esm2020/lib/menu/menu-item.component.mjs +47 -0
- package/esm2020/lib/menu/menu.component.mjs +86 -0
- package/esm2020/lib/menu/menu.module.mjs +22 -0
- package/esm2020/lib/menu/menu2.component.mjs +96 -0
- package/esm2020/lib/number-box/number-box.component.mjs +622 -0
- package/esm2020/lib/number-box/number-box.module.mjs +21 -0
- 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 +53 -0
- package/esm2020/lib/page/page.module.mjs +22 -0
- 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 +31 -0
- package/esm2020/lib/password-box/password-box.module.mjs +23 -0
- package/esm2020/lib/popover/custom-cdk-overlay.service.mjs +48 -0
- package/esm2020/lib/popover/overlay.service.mjs +90 -0
- package/esm2020/lib/popover/popover.component.mjs +127 -0
- package/esm2020/lib/popover/popover.module.mjs +19 -0
- package/esm2020/lib/popup/popup.component.mjs +147 -0
- package/esm2020/lib/popup/popup.module.mjs +25 -0
- package/esm2020/lib/popup/popup.service.mjs +93 -0
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +19 -0
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +19 -0
- 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 +71 -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 +154 -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 +395 -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 +62 -0
- package/esm2020/lib/query-builder/query-builder.service.mjs +197 -0
- package/esm2020/lib/search-bar/search-bar.component.mjs +283 -0
- package/esm2020/lib/search-bar/search-bar.module.mjs +63 -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 +961 -0
- package/esm2020/lib/selectbox/selectbox.module.mjs +44 -0
- package/esm2020/lib/selectbox/selectbox2.component.mjs +574 -0
- package/esm2020/lib/selection-list/selection-list.component.mjs +108 -0
- package/esm2020/lib/selection-list/selection-list.module.mjs +21 -0
- package/esm2020/lib/switch/switch.component.mjs +51 -0
- package/esm2020/lib/switch/switch.module.mjs +20 -0
- 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 +26 -0
- package/esm2020/lib/textarea/textarea.module.mjs +21 -0
- package/esm2020/lib/textbox/textbox.component.mjs +39 -0
- package/esm2020/lib/textbox/textbox.module.mjs +24 -0
- 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 +21 -0
- package/esm2020/lib/toast/toast.service.mjs +44 -0
- 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 +100 -0
- package/esm2020/lib/tooltip/tooltip.module.mjs +19 -0
- 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 +775 -0
- package/esm2020/lib/tree-view/tree-view.module.mjs +22 -0
- package/esm2020/lib/upload-file/upload-file.component.mjs +208 -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 +111 -0
- package/esm2020/lib/validation/validation.class.mjs +2 -0
- package/esm2020/lib/validation/validation.component.mjs +89 -0
- package/esm2020/lib/validation/validation.module.mjs +34 -0
- package/esm2020/public-api.mjs +158 -0
- package/fesm2015/acorex-components.mjs +15988 -0
- package/fesm2015/acorex-components.mjs.map +1 -0
- package/fesm2020/acorex-components.mjs +15923 -0
- package/fesm2020/acorex-components.mjs.map +1 -0
- 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 +18 -0
- package/lib/button/button.component.d.ts +21 -0
- package/lib/button/button.module.d.ts +8 -0
- 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/{src/lib/calendar/scheduler/scheduler.class.ts → lib/calendar/scheduler/scheduler.class.d.ts} +6 -20
- 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 +30 -0
- package/lib/checkbox/checkbox.module.d.ts +9 -0
- 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/{src/lib/data-source/read-param.ts → lib/data-source/read-param.d.ts} +3 -13
- 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 +14 -0
- package/lib/dialog/dialog.module.d.ts +10 -0
- package/lib/dialog/dialog.service.d.ts +36 -0
- package/lib/drawer/content.component.d.ts +7 -0
- package/lib/drawer/drawer-container.component.d.ts +10 -0
- package/lib/drawer/drawer.component.d.ts +34 -0
- package/lib/drawer/drawer.module.d.ts +10 -0
- package/lib/dropdown/dropdown.component.d.ts +38 -0
- package/lib/dropdown/dropdown.module.d.ts +13 -0
- 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 +9 -0
- package/lib/label/label.module.d.ts +8 -0
- 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 +10 -0
- package/lib/loading/loading.service.d.ts +13 -0
- package/lib/menu/menu-item.component.d.ts +18 -0
- package/lib/menu/menu.component.d.ts +35 -0
- package/lib/menu/menu.module.d.ts +11 -0
- package/lib/menu/menu2.component.d.ts +21 -0
- package/lib/number-box/number-box.component.d.ts +52 -0
- package/lib/number-box/number-box.module.d.ts +10 -0
- package/lib/page/content.component.d.ts +8 -0
- package/lib/page/footer.component.d.ts +5 -0
- package/lib/page/page.component.d.ts +16 -0
- package/lib/page/page.module.d.ts +11 -0
- 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 +12 -0
- package/lib/password-box/password-box.module.d.ts +10 -0
- package/lib/popover/custom-cdk-overlay.service.d.ts +19 -0
- package/lib/popover/overlay.service.d.ts +31 -0
- package/lib/popover/popover.component.d.ts +34 -0
- package/lib/popover/popover.module.d.ts +8 -0
- package/lib/popup/popup.component.d.ts +40 -0
- package/lib/popup/popup.module.d.ts +13 -0
- package/lib/popup/popup.service.d.ts +22 -0
- package/lib/progress-bar/progress-bar.component.d.ts +7 -0
- package/lib/progress-bar/progress-bar.module.d.ts +8 -0
- 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 +28 -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 +23 -0
- package/lib/query-builder/query-builder.service.d.ts +18 -0
- package/lib/search-bar/search-bar.component.d.ts +61 -0
- package/lib/search-bar/search-bar.module.d.ts +18 -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 +118 -0
- package/lib/selectbox/selectbox.module.d.ts +15 -0
- package/lib/selectbox/selectbox2.component.d.ts +103 -0
- package/lib/selection-list/selection-list.component.d.ts +32 -0
- package/lib/selection-list/selection-list.module.d.ts +10 -0
- package/lib/switch/switch.component.d.ts +20 -0
- package/lib/switch/switch.module.d.ts +9 -0
- 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 +12 -0
- package/lib/textarea/textarea.module.d.ts +8 -0
- package/lib/textbox/textbox.component.d.ts +16 -0
- package/lib/textbox/textbox.module.d.ts +11 -0
- 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 +9 -0
- package/lib/toast/toast.service.d.ts +18 -0
- 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 +21 -0
- package/lib/tooltip/tooltip.module.d.ts +8 -0
- 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 +121 -0
- package/lib/tree-view/tree-view.module.d.ts +11 -0
- package/lib/upload-file/upload-file.component.d.ts +42 -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 +23 -0
- package/lib/validation/validation.class.d.ts +16 -0
- package/lib/validation/validation.component.d.ts +25 -0
- package/lib/validation/validation.module.d.ts +11 -0
- package/package.json +32 -12
- package/{src/public-api.ts → public-api.d.ts} +2 -61
- package/karma.conf.js +0 -32
- package/ng-package.json +0 -10
- package/src/lib/accordion/accordion.component.ts +0 -43
- package/src/lib/accordion/accordion.module.ts +0 -11
- package/src/lib/accordion/api.ts +0 -2
- package/src/lib/base/base-page.class.ts +0 -116
- package/src/lib/base/components.class.ts +0 -9
- package/src/lib/base/element.class.ts +0 -344
- package/src/lib/base/events.class.ts +0 -32
- package/src/lib/button/button.component.html +0 -17
- package/src/lib/button/button.component.ts +0 -72
- package/src/lib/button/button.module.ts +0 -14
- package/src/lib/calendar/calendar-box/calendar-box.component.html +0 -68
- package/src/lib/calendar/calendar-box/calendar-box.component.ts +0 -461
- package/src/lib/calendar/calendar-box/calendar-box.module.ts +0 -16
- package/src/lib/calendar/scheduler/scheduler-views.property.ts +0 -38
- package/src/lib/calendar/scheduler/scheduler.component.html +0 -9
- package/src/lib/calendar/scheduler/scheduler.component.scss +0 -181
- package/src/lib/calendar/scheduler/scheduler.component.ts +0 -249
- package/src/lib/calendar/scheduler/scheduler.module.ts +0 -45
- package/src/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.ts +0 -133
- package/src/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.ts +0 -33
- package/src/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.html +0 -43
- package/src/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.scss +0 -66
- package/src/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.ts +0 -50
- package/src/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.html +0 -45
- package/src/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.scss +0 -19
- package/src/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.ts +0 -103
- package/src/lib/calendar/scheduler/views/month/scheduler-month-view.component.html +0 -39
- package/src/lib/calendar/scheduler/views/month/scheduler-month-view.component.scss +0 -55
- package/src/lib/calendar/scheduler/views/month/scheduler-month-view.component.ts +0 -233
- package/src/lib/calendar/scheduler/views/scheduler-view.component.ts +0 -124
- package/src/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.html +0 -50
- package/src/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.scss +0 -4
- package/src/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.ts +0 -92
- package/src/lib/checkbox/checkbox.component.html +0 -22
- package/src/lib/checkbox/checkbox.component.ts +0 -107
- package/src/lib/checkbox/checkbox.module.ts +0 -11
- package/src/lib/color-picker/color-box/color-box.component.html +0 -37
- package/src/lib/color-picker/color-box/color-box.component.scss +0 -60
- package/src/lib/color-picker/color-box/color-box.component.ts +0 -438
- package/src/lib/color-picker/color-picker.component.html +0 -31
- package/src/lib/color-picker/color-picker.component.ts +0 -87
- package/src/lib/color-picker/color-picker.module.ts +0 -16
- package/src/lib/context-menu/context-menu.component.html +0 -42
- package/src/lib/context-menu/context-menu.component.ts +0 -78
- package/src/lib/context-menu/context-menu.directive.ts +0 -159
- package/src/lib/context-menu/context-menu.module.ts +0 -15
- package/src/lib/data-filter/columns/filter-column-date.component.ts +0 -123
- package/src/lib/data-filter/columns/filter-column-number.component.ts +0 -100
- package/src/lib/data-filter/columns/filter-column-selection.component.ts +0 -69
- package/src/lib/data-filter/columns/filter-column-string.component.ts +0 -100
- package/src/lib/data-filter/filter-panel/filter-panel.component.html +0 -120
- package/src/lib/data-filter/filter-panel/filter-panel.component.scss +0 -143
- package/src/lib/data-filter/filter-panel/filter-panel.component.ts +0 -266
- package/src/lib/data-filter/filter.class.ts +0 -73
- package/src/lib/data-filter/filter.module.ts +0 -52
- package/src/lib/data-filter/toolbar/filter-toolbar.component.html +0 -5
- package/src/lib/data-filter/toolbar/filter-toolbar.component.scss +0 -17
- package/src/lib/data-filter/toolbar/filter-toolbar.component.ts +0 -179
- package/src/lib/data-list/core/data-list.component.ts +0 -62
- package/src/lib/data-list/list/list.component.html +0 -32
- package/src/lib/data-list/list/list.component.scss +0 -64
- package/src/lib/data-list/list/list.component.ts +0 -149
- package/src/lib/data-list/list/list.module.ts +0 -14
- package/src/lib/data-list/list/toolbar-list-view.component.ts +0 -63
- package/src/lib/data-source/datasource.component.ts +0 -50
- package/src/lib/data-source/datasource.module.ts +0 -11
- package/src/lib/date-picker/date-picker.component.html +0 -30
- package/src/lib/date-picker/date-picker.component.scss +0 -5
- package/src/lib/date-picker/date-picker.component.ts +0 -720
- package/src/lib/date-picker/date-picker.module.ts +0 -17
- package/src/lib/dialog/dialog.component.html +0 -5
- package/src/lib/dialog/dialog.component.scss +0 -32
- package/src/lib/dialog/dialog.component.ts +0 -32
- package/src/lib/dialog/dialog.module.ts +0 -13
- package/src/lib/dialog/dialog.service.ts +0 -178
- package/src/lib/drawer/content.component.ts +0 -18
- package/src/lib/drawer/drawer-container.component.ts +0 -37
- package/src/lib/drawer/drawer.component.ts +0 -151
- package/src/lib/drawer/drawer.module.ts +0 -16
- package/src/lib/dropdown/dropdown.component.html +0 -26
- package/src/lib/dropdown/dropdown.component.scss +0 -8
- package/src/lib/dropdown/dropdown.component.ts +0 -197
- package/src/lib/dropdown/dropdown.module.ts +0 -19
- package/src/lib/fieldset/fieldset.component.html +0 -6
- package/src/lib/fieldset/fieldset.component.ts +0 -49
- package/src/lib/fieldset/fieldset.module.ts +0 -11
- package/src/lib/form-group/form-group.component.html +0 -15
- package/src/lib/form-group/form-group.component.ts +0 -39
- package/src/lib/form-group/form-group.module.ts +0 -14
- package/src/lib/label/label.component.html +0 -5
- package/src/lib/label/label.component.ts +0 -18
- package/src/lib/label/label.module.ts +0 -14
- package/src/lib/loading/loading-indicator.component.html +0 -27
- package/src/lib/loading/loading-indicator.component.ts +0 -16
- package/src/lib/loading/loading-panel.component.ts +0 -37
- package/src/lib/loading/loading.module.ts +0 -13
- package/src/lib/loading/loading.service.ts +0 -44
- package/src/lib/menu/menu-item.component.ts +0 -41
- package/src/lib/menu/menu.component.html +0 -74
- package/src/lib/menu/menu.component.ts +0 -111
- package/src/lib/menu/menu.module.ts +0 -13
- package/src/lib/menu/menu2.component.scss +0 -59
- package/src/lib/menu/menu2.component.ts +0 -98
- package/src/lib/number-box/number-box.component.html +0 -32
- package/src/lib/number-box/number-box.component.ts +0 -641
- package/src/lib/number-box/number-box.module.ts +0 -13
- package/src/lib/page/content.component.ts +0 -18
- package/src/lib/page/footer.component.ts +0 -13
- package/src/lib/page/page.component.ts +0 -43
- package/src/lib/page/page.module.ts +0 -14
- package/src/lib/panel-box/panel-box.component.html +0 -19
- package/src/lib/panel-box/panel-box.component.scss +0 -25
- package/src/lib/panel-box/panel-box.component.ts +0 -87
- package/src/lib/panel-box/panel-box.module.ts +0 -10
- package/src/lib/password-box/password-box.component.html +0 -22
- package/src/lib/password-box/password-box.component.ts +0 -30
- package/src/lib/password-box/password-box.module.ts +0 -16
- package/src/lib/popover/custom-cdk-overlay.service.ts +0 -82
- package/src/lib/popover/overlay.service.ts +0 -102
- package/src/lib/popover/popover.component.html +0 -5
- package/src/lib/popover/popover.component.scss +0 -9
- package/src/lib/popover/popover.component.ts +0 -130
- package/src/lib/popover/popover.module.ts +0 -11
- package/src/lib/popup/popup.component.html +0 -33
- package/src/lib/popup/popup.component.scss +0 -167
- package/src/lib/popup/popup.component.ts +0 -184
- package/src/lib/popup/popup.module.ts +0 -16
- package/src/lib/popup/popup.service.ts +0 -103
- package/src/lib/progress-bar/progress-bar.component.html +0 -5
- package/src/lib/progress-bar/progress-bar.component.ts +0 -10
- package/src/lib/progress-bar/progress-bar.module.ts +0 -11
- package/src/lib/property-editor/editors/check-editor/check-editor.ts +0 -44
- package/src/lib/property-editor/editors/check-editor/check.module.ts +0 -14
- package/src/lib/property-editor/editors/color-editor/color.editor.ts +0 -30
- package/src/lib/property-editor/editors/color-editor/color.module.ts +0 -20
- package/src/lib/property-editor/editors/column-editor/column.editor.html +0 -75
- package/src/lib/property-editor/editors/column-editor/column.editor.scss +0 -193
- package/src/lib/property-editor/editors/column-editor/column.editor.ts +0 -124
- package/src/lib/property-editor/editors/column-editor/column.module.ts +0 -28
- package/src/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.html +0 -80
- package/src/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.scss +0 -71
- package/src/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.ts +0 -232
- package/src/lib/property-editor/editors/conditional-color-editor/conditional-color.module.ts +0 -52
- package/src/lib/property-editor/editors/date-editor/date.editor.ts +0 -49
- package/src/lib/property-editor/editors/date-editor/date.module.ts +0 -20
- package/src/lib/property-editor/editors/number-editor/number.editor.ts +0 -46
- package/src/lib/property-editor/editors/number-editor/number.module.ts +0 -20
- package/src/lib/property-editor/editors/range-editor/range.editor.html +0 -67
- package/src/lib/property-editor/editors/range-editor/range.editor.scss +0 -68
- package/src/lib/property-editor/editors/range-editor/range.editor.ts +0 -153
- package/src/lib/property-editor/editors/range-editor/range.module.ts +0 -37
- package/src/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.html +0 -8
- package/src/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.ts +0 -70
- package/src/lib/property-editor/editors/selectbox-editor/selectbox.editor.html +0 -8
- package/src/lib/property-editor/editors/selectbox-editor/selectbox.editor.ts +0 -77
- package/src/lib/property-editor/editors/selectbox-editor/selectbox.module.ts +0 -18
- package/src/lib/property-editor/editors/selection-editor/selection-editor.ts +0 -52
- package/src/lib/property-editor/editors/selection-editor/selection.module.ts +0 -14
- package/src/lib/property-editor/editors/switch-editor/number.editor.ts +0 -26
- package/src/lib/property-editor/editors/switch-editor/number.module.ts +0 -21
- package/src/lib/property-editor/editors/text-editor/text.editor.html +0 -5
- package/src/lib/property-editor/editors/text-editor/text.editor.ts +0 -31
- package/src/lib/property-editor/editors/text-editor/text.module.ts +0 -20
- package/src/lib/property-editor/editors/textarea-editor/textarea.editor.html +0 -9
- package/src/lib/property-editor/editors/textarea-editor/textarea.editor.ts +0 -37
- package/src/lib/property-editor/editors/textarea-editor/textarea.module.ts +0 -20
- package/src/lib/property-editor/editors/time-editor/time.editor.ts +0 -38
- package/src/lib/property-editor/editors/time-editor/time.module.ts +0 -20
- package/src/lib/property-editor/property-editor-renderer.directive.ts +0 -165
- package/src/lib/property-editor/property-editor.class.ts +0 -178
- package/src/lib/property-editor/property-editor.module.ts +0 -115
- package/src/lib/query-builder/query-builder-group.component.html +0 -68
- package/src/lib/query-builder/query-builder-group.component.ts +0 -122
- package/src/lib/query-builder/query-builder-popup/query-builder-popup.component.html +0 -82
- package/src/lib/query-builder/query-builder-popup/query-builder-popup.component.ts +0 -178
- package/src/lib/query-builder/query-builder-rule.component.html +0 -135
- package/src/lib/query-builder/query-builder-rule.component.ts +0 -390
- package/src/lib/query-builder/query-builder.class.ts +0 -53
- package/src/lib/query-builder/query-builder.component.html +0 -3
- package/src/lib/query-builder/query-builder.component.scss +0 -286
- package/src/lib/query-builder/query-builder.component.ts +0 -220
- package/src/lib/query-builder/query-builder.module.ts +0 -44
- package/src/lib/query-builder/query-builder.service.ts +0 -188
- package/src/lib/search-bar/search-bar.component.html +0 -30
- package/src/lib/search-bar/search-bar.component.scss +0 -114
- package/src/lib/search-bar/search-bar.component.ts +0 -287
- package/src/lib/search-bar/search-bar.module.ts +0 -33
- package/src/lib/searchbox/searchbox.component.html +0 -25
- package/src/lib/searchbox/searchbox.component.ts +0 -85
- package/src/lib/searchbox/searchbox.module.ts +0 -17
- package/src/lib/selectbox/selectbox.component.html +0 -100
- package/src/lib/selectbox/selectbox.component.ts +0 -984
- package/src/lib/selectbox/selectbox.module.ts +0 -31
- package/src/lib/selectbox/selectbox2.component.html +0 -78
- package/src/lib/selectbox/selectbox2.component.ts +0 -603
- package/src/lib/selection-list/selection-list.component.html +0 -21
- package/src/lib/selection-list/selection-list.component.ts +0 -115
- package/src/lib/selection-list/selection-list.module.ts +0 -13
- package/src/lib/switch/switch.component.html +0 -4
- package/src/lib/switch/switch.component.scss +0 -65
- package/src/lib/switch/switch.component.ts +0 -57
- package/src/lib/switch/switch.module.ts +0 -14
- package/src/lib/tab-page/tab-page-Renderer.component.ts +0 -70
- package/src/lib/tab-page/tab-page-host.component.ts +0 -110
- package/src/lib/tab-page/tab-page.module.ts +0 -13
- package/src/lib/tab-page/tab-page.service.ts +0 -176
- package/src/lib/tab-strip/tab-strip.component.html +0 -6
- package/src/lib/tab-strip/tab-strip.component.ts +0 -47
- package/src/lib/tab-strip/tab-strip.module.ts +0 -11
- package/src/lib/tab-view/dynamic-tabs.directive.ts +0 -17
- package/src/lib/tab-view/tab-view.component.html +0 -33
- package/src/lib/tab-view/tab-view.component.scss +0 -0
- package/src/lib/tab-view/tab-view.component.ts +0 -129
- package/src/lib/tab-view/tab-view.module.ts +0 -12
- package/src/lib/tab-view/tab.component.html +0 -8
- package/src/lib/tab-view/tab.component.ts +0 -15
- package/src/lib/textarea/textarea.component.html +0 -13
- package/src/lib/textarea/textarea.component.ts +0 -24
- package/src/lib/textarea/textarea.module.ts +0 -14
- package/src/lib/textbox/textbox.component.html +0 -22
- package/src/lib/textbox/textbox.component.ts +0 -38
- package/src/lib/textbox/textbox.module.ts +0 -16
- package/src/lib/time-picker/time-picker.component.html +0 -21
- package/src/lib/time-picker/time-picker.component.ts +0 -1003
- package/src/lib/time-picker/time-picker.module.ts +0 -15
- package/src/lib/toast/toast-message/toast-message.component.html +0 -17
- package/src/lib/toast/toast-message/toast-message.component.scss +0 -75
- package/src/lib/toast/toast-message/toast-message.component.ts +0 -64
- package/src/lib/toast/toast-wrapper/toast-wrapper.component.scss +0 -15
- package/src/lib/toast/toast-wrapper/toast-wrapper.component.ts +0 -13
- package/src/lib/toast/toast.module.ts +0 -12
- package/src/lib/toast/toast.service.ts +0 -64
- package/src/lib/toolbar/group-button/toolbar-group-button.component.ts +0 -54
- package/src/lib/toolbar/menu/toolbar-menu.component.html +0 -4
- package/src/lib/toolbar/menu/toolbar-menu.component.ts +0 -81
- package/src/lib/toolbar/search/toolbar-search.component.html +0 -4
- package/src/lib/toolbar/search/toolbar-search.component.scss +0 -24
- package/src/lib/toolbar/search/toolbar-search.component.ts +0 -61
- package/src/lib/toolbar/title/toolbar-title.component.ts +0 -35
- package/src/lib/toolbar/toolbar-item.ts +0 -4
- package/src/lib/toolbar/toolbar.component.html +0 -4
- package/src/lib/toolbar/toolbar.component.scss +0 -9
- package/src/lib/toolbar/toolbar.component.ts +0 -16
- package/src/lib/toolbar/toolbar.module.ts +0 -25
- package/src/lib/tooltip/tooltip.directive.ts +0 -101
- package/src/lib/tooltip/tooltip.module.ts +0 -11
- package/src/lib/tree-side-menu/tree-side-menu.component.html +0 -43
- package/src/lib/tree-side-menu/tree-side-menu.component.ts +0 -698
- package/src/lib/tree-side-menu/tree-side-menu.module.ts +0 -19
- package/src/lib/tree-view/tree-view.component.html +0 -46
- package/src/lib/tree-view/tree-view.component.ts +0 -835
- package/src/lib/tree-view/tree-view.module.ts +0 -16
- package/src/lib/upload-file/upload-file.component.html +0 -16
- package/src/lib/upload-file/upload-file.component.ts +0 -230
- package/src/lib/upload-file/upload-file.events.ts +0 -11
- package/src/lib/upload-file/upload-file.module.ts +0 -16
- package/src/lib/validation/validation-form.component.ts +0 -78
- package/src/lib/validation/validation-rule.widget.ts +0 -112
- package/src/lib/validation/validation.class.ts +0 -22
- package/src/lib/validation/validation.component.ts +0 -92
- package/src/lib/validation/validation.module.ts +0 -28
- package/src/test.ts +0 -28
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -6
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
@@ -1,179 +0,0 @@
|
|
1
|
-
import { Component, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
2
|
-
import { AXHtmlUtil, AXMenuItem } from '@acorex/core';
|
3
|
-
import { AXFilterPanelComponent } from '../filter-panel/filter-panel.component';
|
4
|
-
import { AXToolbarItem } from '../../toolbar/toolbar-item';
|
5
|
-
import { AXToolbarMenuComponent } from '../../toolbar/menu/toolbar-menu.component';
|
6
|
-
import { AXMenuComponent } from '../../menu/menu.component';
|
7
|
-
|
8
|
-
|
9
|
-
@Component({
|
10
|
-
selector: 'ax-toolbar-filter-view',
|
11
|
-
templateUrl: './filter-toolbar.component.html',
|
12
|
-
styleUrls: ['./filter-toolbar.component.scss'],
|
13
|
-
encapsulation: ViewEncapsulation.None,
|
14
|
-
providers: [{ provide: AXToolbarItem, useExisting: AXToolbarFilterViewComponent }]
|
15
|
-
})
|
16
|
-
export class AXToolbarFilterViewComponent {
|
17
|
-
constructor() { }
|
18
|
-
_uid: string = AXHtmlUtil.getUID();
|
19
|
-
|
20
|
-
@ViewChild('menu', { static: true }) menu: AXToolbarMenuComponent;
|
21
|
-
@ViewChild('contextMenu', { static: true }) contextMenu: AXMenuComponent;
|
22
|
-
|
23
|
-
@Input()
|
24
|
-
filterPanel: AXFilterPanelComponent;
|
25
|
-
|
26
|
-
contextMenuItems: AXMenuItem[] = [
|
27
|
-
// {
|
28
|
-
// name: 'addFolder',
|
29
|
-
// startIcon: 'fas fa-folder',
|
30
|
-
// text: 'New Folder',
|
31
|
-
// },
|
32
|
-
{
|
33
|
-
name: 'remove',
|
34
|
-
startIcon: 'fas fa-trash',
|
35
|
-
text: 'Delete',
|
36
|
-
},
|
37
|
-
];
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
menuItems: AXMenuItem[] = [
|
42
|
-
{
|
43
|
-
name: 'root',
|
44
|
-
startIcon: 'fas fa-filter',
|
45
|
-
text: 'Select All',
|
46
|
-
items: [
|
47
|
-
{
|
48
|
-
name: 'selectAll',
|
49
|
-
style: 'f',
|
50
|
-
text: 'Select All',
|
51
|
-
},
|
52
|
-
// {
|
53
|
-
// split: true,
|
54
|
-
// name: 'addFolder',
|
55
|
-
// startIcon: 'fas fa-folder',
|
56
|
-
// text: 'New Folder',
|
57
|
-
// },
|
58
|
-
{
|
59
|
-
divider: true,
|
60
|
-
name: 'save',
|
61
|
-
startIcon: 'fas fa-save',
|
62
|
-
text: 'Save'
|
63
|
-
},
|
64
|
-
{
|
65
|
-
divider: true,
|
66
|
-
name: 'saveAs',
|
67
|
-
startIcon: 'fas fa-save',
|
68
|
-
text: 'Save As...'
|
69
|
-
}
|
70
|
-
]
|
71
|
-
}
|
72
|
-
|
73
|
-
];
|
74
|
-
|
75
|
-
ngAfterViewInit(): void {
|
76
|
-
setTimeout(() => {
|
77
|
-
this.selectAll();
|
78
|
-
this.addPredefinedList();
|
79
|
-
}, 100);
|
80
|
-
}
|
81
|
-
|
82
|
-
addPredefinedList() {
|
83
|
-
this.filterPanel.predefinedFilters.forEach(c => {
|
84
|
-
const item = {
|
85
|
-
name: c.name,
|
86
|
-
text: c.title,
|
87
|
-
type: 'f',
|
88
|
-
startIcon: 'fas',
|
89
|
-
data: c.value,
|
90
|
-
style: this._uid,
|
91
|
-
uid: AXHtmlUtil.getUID()
|
92
|
-
};
|
93
|
-
this.root.items.splice(1, 0, item);
|
94
|
-
});
|
95
|
-
this.update();
|
96
|
-
}
|
97
|
-
|
98
|
-
public selectAll(): void {
|
99
|
-
this.setCurrent(this.root.items[0]);
|
100
|
-
this.filterPanel.clear();
|
101
|
-
this.update();
|
102
|
-
this.menu.close();
|
103
|
-
// this.contextMenu.close();
|
104
|
-
}
|
105
|
-
|
106
|
-
itemClick(e: AXMenuItem) {
|
107
|
-
|
108
|
-
if (e.style === 'f') {
|
109
|
-
if (e.name === 'selectAll') {
|
110
|
-
this.selectAll();
|
111
|
-
}
|
112
|
-
else {
|
113
|
-
this.setCurrent(e);
|
114
|
-
this.filterPanel.load(e.data);
|
115
|
-
}
|
116
|
-
}
|
117
|
-
else {
|
118
|
-
if (e.name === 'saveAs') {
|
119
|
-
const name = prompt('Please enter the name;');
|
120
|
-
if (name) {
|
121
|
-
const item = {
|
122
|
-
text: name,
|
123
|
-
type: 'f',
|
124
|
-
style: this._uid,
|
125
|
-
startIcon: 'fas',
|
126
|
-
data: this.filterPanel.value,
|
127
|
-
uid: AXHtmlUtil.getUID()
|
128
|
-
};
|
129
|
-
this.root.items.splice(1, 0, item);
|
130
|
-
this.setCurrent(item);
|
131
|
-
}
|
132
|
-
|
133
|
-
}
|
134
|
-
if (e.name === 'save') {
|
135
|
-
const selected = this.findSelected();
|
136
|
-
if (selected) {
|
137
|
-
selected.data = this.filterPanel.value;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
this.update();
|
142
|
-
}
|
143
|
-
|
144
|
-
private findSelected(): AXMenuItem {
|
145
|
-
return this.root.items.find(c => c.selected);
|
146
|
-
}
|
147
|
-
|
148
|
-
private get root(): AXMenuItem {
|
149
|
-
return this.menuItems[0];
|
150
|
-
}
|
151
|
-
|
152
|
-
public update(): void {
|
153
|
-
this.menu.update();
|
154
|
-
setTimeout(() => {
|
155
|
-
// this.contextMenu.update();
|
156
|
-
}, 100);
|
157
|
-
|
158
|
-
}
|
159
|
-
|
160
|
-
private setCurrent(e: AXMenuItem) {
|
161
|
-
this.root.text = e.text;
|
162
|
-
this.root.items.filter(c => c.style === 'f').forEach(c => {
|
163
|
-
c.selected = false;
|
164
|
-
c.startIcon = 'fas';
|
165
|
-
});
|
166
|
-
e.selected = true;
|
167
|
-
e.startIcon = 'fas fa-check';
|
168
|
-
this.root.items.find(c => c.name === 'save').visible = e.name !== 'selectAll';
|
169
|
-
}
|
170
|
-
|
171
|
-
onCtxClick(e: AXMenuItem) {
|
172
|
-
const target = this.contextMenu.currentTarget as HTMLElement;
|
173
|
-
const menuId = target.getAttribute('data-uid');
|
174
|
-
if (e.name === 'remove' && menuId) {
|
175
|
-
this.root.items = this.root.items.filter(c => c.uid !== menuId);
|
176
|
-
this.selectAll();
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import { ContentChild, Input, Directive } from '@angular/core';
|
2
|
-
import { AXDataSourceComponent } from '../../data-source/datasource.component';
|
3
|
-
import { AXDataSourceReadParams } from '../../data-source/read-param';
|
4
|
-
import { AXBaseComponent } from '../../base/element.class';
|
5
|
-
|
6
|
-
|
7
|
-
@Directive()
|
8
|
-
export abstract class AXDataListComponent extends AXBaseComponent {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
@Input()
|
13
|
-
items: any[] = [];
|
14
|
-
|
15
|
-
// @ContentChild(AXDataSourceComponent, { static: true })
|
16
|
-
// private _contentDataSource: AXDataSourceComponent;
|
17
|
-
|
18
|
-
// private _dataSource: AXDataSourceComponent;
|
19
|
-
|
20
|
-
// @Input()
|
21
|
-
// public get dataSource(): AXDataSourceComponent {
|
22
|
-
// return this._dataSource ? this._dataSource : this._contentDataSource;
|
23
|
-
// }
|
24
|
-
|
25
|
-
// public set dataSource(v: AXDataSourceComponent) {
|
26
|
-
// this._dataSource = v;
|
27
|
-
// }
|
28
|
-
|
29
|
-
|
30
|
-
abstract dataSource: AXDataSourceComponent;
|
31
|
-
|
32
|
-
|
33
|
-
// ngAfterContentInit(): void {
|
34
|
-
// this.configDataList();
|
35
|
-
// }
|
36
|
-
|
37
|
-
|
38
|
-
protected configDataList() {
|
39
|
-
if (this.dataSource) {
|
40
|
-
this.dataSource.onDataReceived.subscribe(c => {
|
41
|
-
this.dataReceived(c.data.result);
|
42
|
-
});
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
private dataReceived(data: any) {
|
47
|
-
this.items = data;
|
48
|
-
}
|
49
|
-
|
50
|
-
private params: AXDataSourceReadParams = {};
|
51
|
-
|
52
|
-
fetch(params: AXDataSourceReadParams = {}) {
|
53
|
-
this.params = params;
|
54
|
-
if (this.dataSource) {
|
55
|
-
this.dataSource.fetch(params);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
refresh() {
|
60
|
-
this.fetch(this.params);
|
61
|
-
}
|
62
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<div [style.height]="height" [style.width]="width">
|
2
|
-
<div class="ax-list-toolbar" *ngIf="toolbar">
|
3
|
-
<ng-content select="ax-toolbar"></ng-content>
|
4
|
-
</div>
|
5
|
-
<div class="ax-list-container" cdkDropList [id]="dropId" [cdkDropListConnectedTo]="connectedList"
|
6
|
-
(cdkDropListDropped)="dragDrop($event)" [cdkDropListData]="items"
|
7
|
-
[ngClass]="{'overflow-y': direction=='vertical' || direction=='horizontal-wrap','overflow-x': direction=='horizontal' || direction=='vertical-wrap'}">
|
8
|
-
<div class="item-wrapper" [ngClass]="direction">
|
9
|
-
<!-- <ng-container *ngIf="items && items.length; else emptyTemplate"> -->
|
10
|
-
<ng-container *ngIf="allowMoveItem; else elseTemplate">
|
11
|
-
<div class="ax-list-item" *ngFor="let item of items" cdkDrag [cdkDragData]="item">
|
12
|
-
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: item,direction:direction}">
|
13
|
-
</ng-container>
|
14
|
-
<div class="drop-placeholder" *cdkDragPlaceholder></div>
|
15
|
-
</div>
|
16
|
-
</ng-container>
|
17
|
-
<ng-template #elseTemplate>
|
18
|
-
<div class="ax-list-item" *ngFor="let item of items">
|
19
|
-
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: item,direction:direction }">
|
20
|
-
</ng-container>
|
21
|
-
</div>
|
22
|
-
</ng-template>
|
23
|
-
<!-- </ng-container> -->
|
24
|
-
|
25
|
-
</div>
|
26
|
-
<ng-container *ngIf="items==null || items.length==0">
|
27
|
-
<ng-container *ngTemplateOutlet="emptyTemplate">
|
28
|
-
</ng-container>
|
29
|
-
</ng-container>
|
30
|
-
|
31
|
-
</div>
|
32
|
-
</div>
|
@@ -1,64 +0,0 @@
|
|
1
|
-
.ax-list-container {
|
2
|
-
|
3
|
-
height: calc(100% - 45px);
|
4
|
-
min-height: 50px;
|
5
|
-
|
6
|
-
&.overflow-x {
|
7
|
-
overflow-x: auto;
|
8
|
-
overflow-y: hidden
|
9
|
-
}
|
10
|
-
|
11
|
-
&.overflow-y {
|
12
|
-
overflow-y: auto;
|
13
|
-
overflow-x: hidden
|
14
|
-
}
|
15
|
-
|
16
|
-
|
17
|
-
.item-wrapper {
|
18
|
-
height: auto;
|
19
|
-
display: flex;
|
20
|
-
}
|
21
|
-
|
22
|
-
.cdk-drop-list-dragging .cdk-drag {
|
23
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
24
|
-
}
|
25
|
-
|
26
|
-
.cdk-drag-animating {
|
27
|
-
transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
|
28
|
-
}
|
29
|
-
|
30
|
-
.drop-placeholder {
|
31
|
-
background: var(--gray-light-color);
|
32
|
-
border: dotted 2px var(--border-color);
|
33
|
-
min-height: 60px;
|
34
|
-
margin-bottom: 5px;
|
35
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
36
|
-
}
|
37
|
-
|
38
|
-
.vertical {
|
39
|
-
flex-direction: column;
|
40
|
-
}
|
41
|
-
|
42
|
-
.vertical-wrap {
|
43
|
-
flex-direction: column;
|
44
|
-
flex-wrap: wrap;
|
45
|
-
}
|
46
|
-
|
47
|
-
.horizontal-wrap {
|
48
|
-
flex-direction: row;
|
49
|
-
flex-wrap: wrap;
|
50
|
-
}
|
51
|
-
|
52
|
-
.horizontal {
|
53
|
-
flex-direction: row;
|
54
|
-
}
|
55
|
-
|
56
|
-
}
|
57
|
-
|
58
|
-
.ax-list-toolbar {
|
59
|
-
padding: 4px 5px;
|
60
|
-
background: #fff;
|
61
|
-
border: 1px solid var(--border-color);
|
62
|
-
border-radius: 4px;
|
63
|
-
margin-bottom: 10px;
|
64
|
-
}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
Component,
|
3
|
-
ContentChild,
|
4
|
-
TemplateRef,
|
5
|
-
Input,
|
6
|
-
Output,
|
7
|
-
EventEmitter
|
8
|
-
} from "@angular/core";
|
9
|
-
import { AXDataListComponent } from "../core/data-list.component";
|
10
|
-
import {
|
11
|
-
AXToolbarListViewComponent,
|
12
|
-
AXListViewDirection
|
13
|
-
} from "./toolbar-list-view.component";
|
14
|
-
import { ViewEncapsulation } from "@angular/core";
|
15
|
-
import { AXToolbarSearchComponent } from '../../toolbar/search/toolbar-search.component';
|
16
|
-
import { AXToolbarComponent } from '../../toolbar/toolbar.component';
|
17
|
-
import { AXEvent, AXValueEvent } from '../../base/events.class';
|
18
|
-
import { AXDataSourceComponent } from '../../data-source/datasource.component';
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
@Component({
|
26
|
-
selector: "ax-list",
|
27
|
-
templateUrl: "./list.component.html",
|
28
|
-
styleUrls: ["./list.component.scss"],
|
29
|
-
encapsulation: ViewEncapsulation.None
|
30
|
-
})
|
31
|
-
export class AXListComponent extends AXDataListComponent {
|
32
|
-
constructor() {
|
33
|
-
super();
|
34
|
-
}
|
35
|
-
@Input() width: string = "";
|
36
|
-
@Input() height: string = "auto";
|
37
|
-
|
38
|
-
@Input("dropId") public dropId: string;
|
39
|
-
@Input("connectedList") public connectedList: string[] = [];
|
40
|
-
|
41
|
-
@Input() public allowMoveItem: boolean = false;
|
42
|
-
|
43
|
-
|
44
|
-
@ContentChild(AXDataSourceComponent, { static: true })
|
45
|
-
private _contentDataSource: AXDataSourceComponent;
|
46
|
-
|
47
|
-
private _dataSource: AXDataSourceComponent;
|
48
|
-
|
49
|
-
@Input()
|
50
|
-
public get dataSource(): AXDataSourceComponent {
|
51
|
-
return this._dataSource ? this._dataSource : this._contentDataSource;
|
52
|
-
}
|
53
|
-
|
54
|
-
public set dataSource(v: AXDataSourceComponent) {
|
55
|
-
this._dataSource = v;
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
@ContentChild('itemTemplate', { static: true })
|
60
|
-
_contentItemTemplate: TemplateRef<any>;
|
61
|
-
|
62
|
-
|
63
|
-
private _itemTemplate: TemplateRef<any>;
|
64
|
-
@Input()
|
65
|
-
public get itemTemplate(): TemplateRef<any> {
|
66
|
-
return this._itemTemplate ? this._itemTemplate : this._contentItemTemplate;
|
67
|
-
}
|
68
|
-
public set itemTemplate(v: TemplateRef<any>) {
|
69
|
-
this._itemTemplate = v;
|
70
|
-
}
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
@ContentChild('emptyTemplate', { static: true })
|
76
|
-
_contentEmptyTemplate: TemplateRef<any>;
|
77
|
-
|
78
|
-
private _emptyTemplate: TemplateRef<any>;
|
79
|
-
@Input()
|
80
|
-
public get emptyTemplate(): TemplateRef<any> {
|
81
|
-
return this._emptyTemplate ? this._emptyTemplate : this._contentEmptyTemplate;
|
82
|
-
}
|
83
|
-
public set emptyTemplate(v: TemplateRef<any>) {
|
84
|
-
this._emptyTemplate = v;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
@ContentChild(AXToolbarSearchComponent, { static: true })
|
89
|
-
searchToolbar: AXToolbarSearchComponent;
|
90
|
-
|
91
|
-
@ContentChild(AXToolbarListViewComponent, { static: true })
|
92
|
-
viewToolbar: AXToolbarListViewComponent;
|
93
|
-
|
94
|
-
@ContentChild(AXToolbarComponent, { static: true })
|
95
|
-
toolbar: AXToolbarComponent;
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
@Output()
|
100
|
-
onDirectionChanged: EventEmitter<AXValueEvent<AXListViewDirection>> = new EventEmitter<AXValueEvent<AXListViewDirection>>();
|
101
|
-
|
102
|
-
private _direction: AXListViewDirection = "vertical";
|
103
|
-
@Input()
|
104
|
-
public get direction(): AXListViewDirection {
|
105
|
-
return this._direction;
|
106
|
-
}
|
107
|
-
public set direction(v: AXListViewDirection) {
|
108
|
-
if (this._direction != v) {
|
109
|
-
const old = this._direction;
|
110
|
-
this._direction = v;
|
111
|
-
this.setDirection(v);
|
112
|
-
this.onDirectionChanged.emit({
|
113
|
-
component: this,
|
114
|
-
value: v,
|
115
|
-
oldValue: old
|
116
|
-
});
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
|
121
|
-
ngAfterViewInit(): void {
|
122
|
-
this.fetch();
|
123
|
-
if (this.viewToolbar) {
|
124
|
-
this.viewToolbar.onDirectionChanged.subscribe(c => {
|
125
|
-
this.direction = c.value;
|
126
|
-
});
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
private setDirection(e: AXListViewDirection) {
|
131
|
-
this.direction = e;
|
132
|
-
}
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
// dragDrop(event: CdkDragDrop<any[]>) {
|
137
|
-
// if (event.previousContainer === event.container) {
|
138
|
-
// moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
|
139
|
-
// } else {
|
140
|
-
// transferArrayItem(event.previousContainer.data,
|
141
|
-
// event.container.data,
|
142
|
-
// event.previousIndex,
|
143
|
-
// event.currentIndex);
|
144
|
-
// }
|
145
|
-
// }
|
146
|
-
dragDrop(event: any) {
|
147
|
-
|
148
|
-
}
|
149
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { AXListComponent } from './list.component';
|
3
|
-
import { CommonModule } from '@angular/common';
|
4
|
-
import { AXToolbarListViewComponent } from './toolbar-list-view.component';
|
5
|
-
import { DragDropModule } from '@angular/cdk/drag-drop';
|
6
|
-
import { AXDataSourceModule } from '../../data-source/datasource.module';
|
7
|
-
|
8
|
-
@NgModule({
|
9
|
-
declarations: [AXListComponent, AXToolbarListViewComponent],
|
10
|
-
imports: [CommonModule, AXDataSourceModule, DragDropModule],
|
11
|
-
exports: [AXListComponent, AXToolbarListViewComponent],
|
12
|
-
providers: [],
|
13
|
-
})
|
14
|
-
export class AXListModule { }
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
2
|
-
import { AXToolbarItem } from '../../toolbar/toolbar-item';
|
3
|
-
import { AXValueEvent } from '../../base/events.class';
|
4
|
-
|
5
|
-
export type AXListViewDirection = "vertical" | "vertical-wrap" | "horizontal-wrap" | "horizontal";
|
6
|
-
|
7
|
-
@Component({
|
8
|
-
selector: 'ax-toolbar-list-view',
|
9
|
-
template: `
|
10
|
-
<div class="btn-group" role="group">
|
11
|
-
<button type="button" class="btn btn-light btn-sm" *ngIf="vertical" [class.active]="direction=='vertical'" (click)="direction='vertical'" title="vertical">
|
12
|
-
<i class="far fa-bars"></i>
|
13
|
-
</button>
|
14
|
-
<button type="button" class="btn btn-light btn-sm" *ngIf="verticalWrap" [class.active]="direction=='vertical-wrap'" (click)="direction='vertical-wrap'" title="vertical-wrap">
|
15
|
-
<i class="far fa-grip-horizontal"></i>
|
16
|
-
</button>
|
17
|
-
<button type="button" class="btn btn-light btn-sm" *ngIf="horizontalWrap" [class.active]="direction=='horizontal-wrap'" title="horizontal-wrap'" (click)="direction='horizontal-wrap'" title="horizontal-wrap">
|
18
|
-
<i class="far fa-bars fa-rotate-90"></i>
|
19
|
-
</button>
|
20
|
-
<button type="button" class="btn btn-light btn-sm" *ngIf="horizontal" [class.active]="direction=='horizontal'" (click)="direction='horizontal'" title="horizontal">
|
21
|
-
<i class="far fa-grip-horizontal fa-rotate-90"></i>
|
22
|
-
</button>
|
23
|
-
</div>
|
24
|
-
`,
|
25
|
-
providers: [{ provide: AXToolbarItem, useExisting: AXToolbarListViewComponent }]
|
26
|
-
})
|
27
|
-
export class AXToolbarListViewComponent {
|
28
|
-
constructor() { }
|
29
|
-
|
30
|
-
@Input('vertical')
|
31
|
-
vertical: boolean = true;
|
32
|
-
|
33
|
-
@Input('vertical-wrap')
|
34
|
-
verticalWrap: boolean = true;
|
35
|
-
|
36
|
-
@Input('horizontal-wrap')
|
37
|
-
horizontalWrap: boolean = true;
|
38
|
-
|
39
|
-
@Input('horizontal')
|
40
|
-
horizontal: boolean = true;
|
41
|
-
|
42
|
-
|
43
|
-
@Output()
|
44
|
-
onDirectionChanged: EventEmitter<AXValueEvent<AXListViewDirection>> = new EventEmitter<AXValueEvent<AXListViewDirection>>();
|
45
|
-
|
46
|
-
private _direction: AXListViewDirection = "vertical";
|
47
|
-
@Input()
|
48
|
-
public get direction(): AXListViewDirection {
|
49
|
-
return this._direction;
|
50
|
-
}
|
51
|
-
public set direction(v: AXListViewDirection) {
|
52
|
-
if (v != this._direction) {
|
53
|
-
const old = this._direction;
|
54
|
-
this._direction = v;
|
55
|
-
this.onDirectionChanged.emit({
|
56
|
-
component: this,
|
57
|
-
value: v,
|
58
|
-
oldValue: old
|
59
|
-
});
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { Component, ContentChild, EventEmitter, Input } from "@angular/core";
|
2
|
-
import { AXDataSourceReadParams, AXDataSourceRead, AXDataSourceReceivedResult } from './read-param';
|
3
|
-
import { AXBaseEvent, AXValueEvent } from '../base/events.class';
|
4
|
-
import { AXDataEvent } from '../base/events.class';
|
5
|
-
|
6
|
-
|
7
|
-
export class AXDataSourceReceivedEvent extends AXDataEvent<AXDataSourceReceivedResult>
|
8
|
-
{
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
@Component({
|
14
|
-
selector: "ax-data-source",
|
15
|
-
template: "<ng-content></ng-content>"
|
16
|
-
})
|
17
|
-
export class AXDataSourceComponent {
|
18
|
-
|
19
|
-
onDataReceived: EventEmitter<AXDataSourceReceivedEvent> = new EventEmitter<AXDataSourceReceivedEvent>();
|
20
|
-
onFetchStart: EventEmitter<AXBaseEvent> = new EventEmitter<AXBaseEvent>();
|
21
|
-
|
22
|
-
@Input()
|
23
|
-
provideData: (params: AXDataSourceReadParams) => Promise<any>;
|
24
|
-
|
25
|
-
@Input()
|
26
|
-
params: any;
|
27
|
-
|
28
|
-
fetch(params: AXDataSourceReadParams) {
|
29
|
-
this.onFetchStart.emit({ component: this });
|
30
|
-
if (this.provideData) {
|
31
|
-
if (params === null) {
|
32
|
-
params = this.params === undefined ? null : this.params;
|
33
|
-
} else {
|
34
|
-
params.extra = this.params;
|
35
|
-
}
|
36
|
-
|
37
|
-
//
|
38
|
-
this.provideData(params).then(_data => {
|
39
|
-
const data: AXDataSourceReceivedResult = new AXDataSourceReceivedResult();
|
40
|
-
data.result = _data;
|
41
|
-
data.requestId = params == null ? null : params.requestId;
|
42
|
-
this.onDataReceived.emit({
|
43
|
-
component: this,
|
44
|
-
data: data
|
45
|
-
});
|
46
|
-
});
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { AXDataSourceComponent } from './datasource.component';
|
3
|
-
import { AXHttpModule } from '@acorex/core';
|
4
|
-
|
5
|
-
@NgModule({
|
6
|
-
declarations: [AXDataSourceComponent],
|
7
|
-
imports: [],
|
8
|
-
exports: [AXDataSourceComponent],
|
9
|
-
providers: [],
|
10
|
-
})
|
11
|
-
export class AXDataSourceModule { }
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<ax-drop-down [readonly]="readonly" [fitParent]="false" [size]="size" [showDropDownButton]="false"
|
2
|
-
icon="far fa-calendar-alt" #dropdown maxHeight="unset">
|
3
|
-
<ng-container start>
|
4
|
-
<ng-content select="[start]">
|
5
|
-
</ng-content>
|
6
|
-
</ng-container>
|
7
|
-
<ng-container header>
|
8
|
-
<ax-text-box #input [textAlign]="textAlign" [(value)]="text" [readonly]="false" [textMask]="dateType"
|
9
|
-
[disabled]="disabled" [placeholder]="placeholder" [size]="size" (onkey)="handleKeyPress($event)"
|
10
|
-
(onFocus)="handleInputFocus()" (click)="handleClick()" (onBlur)="handleInputBlur()"
|
11
|
-
(onValueChanged)="textChange($event)"></ax-text-box>
|
12
|
-
</ng-container>
|
13
|
-
<ng-container panel>
|
14
|
-
<ax-calendar-box *ngIf="_renderPicker" [showTodayButton]="showTodayButton"
|
15
|
-
[selectableHoliday]="selectableHoliday" [min]="min" [max]="max" [size]="size" (onClick)="onClick($event)"
|
16
|
-
(onValueChanged)="onDateChange($event)" [type]="type" [(value)]="value" [dayStyle]="dayStyle"
|
17
|
-
[dayMinMaxResoan]="dayMinMaxResoan">
|
18
|
-
</ax-calendar-box>
|
19
|
-
</ng-container>
|
20
|
-
<ng-container end>
|
21
|
-
<ax-button end *ngIf="allowClear && value" [disabled]="disabled" icon="far fa-times icon" type="blank danger"
|
22
|
-
(click)="clear()" [size]="size" [tabIndex]="-1">
|
23
|
-
</ax-button>
|
24
|
-
<ax-button end icon="far fa-calendar-alt icon" type="light blank" (click)="handleButtonClick()"
|
25
|
-
[disabled]="disabled" [size]="size" [tabIndex]="-1"></ax-button>
|
26
|
-
<ng-content select="[end]">
|
27
|
-
</ng-content>
|
28
|
-
</ng-container>
|
29
|
-
|
30
|
-
</ax-drop-down>
|