@acorex/components 6.5.28 → 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,438 +0,0 @@
|
|
1
|
-
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
2
|
-
import { AXValidatableComponent } from '../../base/element.class';
|
3
|
-
import { AXColorUtil, AXColor } from '@acorex/core';
|
4
|
-
|
5
|
-
@Component({
|
6
|
-
selector: 'ax-color-box',
|
7
|
-
templateUrl: './color-box.component.html',
|
8
|
-
styleUrls: ['./color-box.component.scss'],
|
9
|
-
providers: [
|
10
|
-
{ provide: AXValidatableComponent, useExisting: AXColorBoxComponent },
|
11
|
-
]
|
12
|
-
})
|
13
|
-
export class AXColorBoxComponent extends AXValidatableComponent {
|
14
|
-
|
15
|
-
inputFormat: 'hex' | 'rgb' = 'hex';
|
16
|
-
|
17
|
-
constructor() {
|
18
|
-
super();
|
19
|
-
}
|
20
|
-
|
21
|
-
@Output()
|
22
|
-
onColorSelect: EventEmitter<string> = new EventEmitter<string>();
|
23
|
-
|
24
|
-
@Output()
|
25
|
-
valueChange: EventEmitter<string> = new EventEmitter<string>();
|
26
|
-
|
27
|
-
private _value: string;
|
28
|
-
|
29
|
-
@Input()
|
30
|
-
public get value(): string {
|
31
|
-
return this._value;
|
32
|
-
}
|
33
|
-
public set value(v: string) {
|
34
|
-
if (v != this._value) {
|
35
|
-
this._value = v;
|
36
|
-
if (v) {
|
37
|
-
const selected = this.colors.find(c => c.code === v);
|
38
|
-
if (selected) {
|
39
|
-
this.selectColor(selected);
|
40
|
-
}
|
41
|
-
else {
|
42
|
-
this.colors.forEach((i) => {
|
43
|
-
i.active = false
|
44
|
-
});
|
45
|
-
}
|
46
|
-
const rgb = AXColorUtil.hex2Rgb(v);
|
47
|
-
|
48
|
-
if (rgb) {
|
49
|
-
this.rColor = rgb.r;
|
50
|
-
this.gColor = rgb.g;
|
51
|
-
this.bColor = rgb.b;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
else {
|
55
|
-
this.rColor = null;
|
56
|
-
this.gColor = null;
|
57
|
-
this.bColor = null;
|
58
|
-
}
|
59
|
-
this.valueChange.emit(v);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
rColor: number = 0;
|
64
|
-
gColor: number = 0;
|
65
|
-
bColor: number = 0;
|
66
|
-
|
67
|
-
|
68
|
-
colors: AXColor[] = [
|
69
|
-
// Pink ***************************
|
70
|
-
{
|
71
|
-
code: '#FFC0CB',
|
72
|
-
},
|
73
|
-
{
|
74
|
-
code: '#FF69B4',
|
75
|
-
},
|
76
|
-
{
|
77
|
-
code: '#DB7093',
|
78
|
-
},
|
79
|
-
{
|
80
|
-
code: '#C71585',
|
81
|
-
},
|
82
|
-
// Purple ***************************
|
83
|
-
{
|
84
|
-
code: '#E6E6FA',
|
85
|
-
},
|
86
|
-
{
|
87
|
-
code: '#D8BFD8',
|
88
|
-
},
|
89
|
-
{
|
90
|
-
code: '#DDA0DD',
|
91
|
-
},
|
92
|
-
{
|
93
|
-
code: '#DA70D6',
|
94
|
-
},
|
95
|
-
{
|
96
|
-
code: '#FF00FF',
|
97
|
-
},
|
98
|
-
{
|
99
|
-
code: '#BA55D3',
|
100
|
-
},
|
101
|
-
{
|
102
|
-
code: '#9932CC',
|
103
|
-
},
|
104
|
-
{
|
105
|
-
code: '#8A2BE2',
|
106
|
-
|
107
|
-
},
|
108
|
-
{
|
109
|
-
code: '#8B008B',
|
110
|
-
},
|
111
|
-
{
|
112
|
-
code: '#9370DB',
|
113
|
-
},
|
114
|
-
{
|
115
|
-
code: '#7B68EE',
|
116
|
-
},
|
117
|
-
{
|
118
|
-
code: '#6A5ACD',
|
119
|
-
},
|
120
|
-
{
|
121
|
-
code: '#483D8B',
|
122
|
-
},
|
123
|
-
{
|
124
|
-
code: '#663399',
|
125
|
-
},
|
126
|
-
{
|
127
|
-
code: '#4B0082',
|
128
|
-
},
|
129
|
-
// Red ***************************
|
130
|
-
{
|
131
|
-
code: '#FFA07A',
|
132
|
-
},
|
133
|
-
{
|
134
|
-
code: '#FA8072',
|
135
|
-
},
|
136
|
-
{
|
137
|
-
code: '#F08080',
|
138
|
-
},
|
139
|
-
{
|
140
|
-
code: '#CD5C5C',
|
141
|
-
},
|
142
|
-
{
|
143
|
-
code: '#DC143C',
|
144
|
-
},
|
145
|
-
{
|
146
|
-
code: '#FF0000',
|
147
|
-
},
|
148
|
-
{
|
149
|
-
code: '#B22222',
|
150
|
-
},
|
151
|
-
{
|
152
|
-
code: '#8B0000',
|
153
|
-
},
|
154
|
-
// Orange ***************************
|
155
|
-
{
|
156
|
-
code: '#FFA500',
|
157
|
-
},
|
158
|
-
{
|
159
|
-
code: '#FF8C00',
|
160
|
-
},
|
161
|
-
{
|
162
|
-
code: '#FF7F50',
|
163
|
-
},
|
164
|
-
{
|
165
|
-
code: '#FF6347',
|
166
|
-
},
|
167
|
-
{
|
168
|
-
code: '#FF4500',
|
169
|
-
},
|
170
|
-
{
|
171
|
-
code: '#FFD700',
|
172
|
-
},
|
173
|
-
// Yellow ***************************
|
174
|
-
{
|
175
|
-
code: '#FFFF00',
|
176
|
-
},
|
177
|
-
{
|
178
|
-
code: '#FFFFE0',
|
179
|
-
},
|
180
|
-
{
|
181
|
-
code: '#FFFACD',
|
182
|
-
},
|
183
|
-
{
|
184
|
-
code: '#FFEFD5',
|
185
|
-
},
|
186
|
-
{
|
187
|
-
code: '#FFE4B5',
|
188
|
-
},
|
189
|
-
{
|
190
|
-
code: '#FFDAB9',
|
191
|
-
},
|
192
|
-
{
|
193
|
-
code: '#EEE8AA',
|
194
|
-
},
|
195
|
-
{
|
196
|
-
code: '#F0E68C',
|
197
|
-
},
|
198
|
-
{
|
199
|
-
code: '#BDB76B',
|
200
|
-
},
|
201
|
-
// Brown ***************************
|
202
|
-
// {
|
203
|
-
// code: '#FFF8DC'
|
204
|
-
// },
|
205
|
-
// {
|
206
|
-
// code: '#FFEBCD'
|
207
|
-
// },
|
208
|
-
// {
|
209
|
-
// code: '#FFE4C4'
|
210
|
-
// },
|
211
|
-
{
|
212
|
-
code: '#FFDEAD'
|
213
|
-
},
|
214
|
-
{
|
215
|
-
code: '#DEB887'
|
216
|
-
},
|
217
|
-
{
|
218
|
-
code: '#D2B48C'
|
219
|
-
},
|
220
|
-
{
|
221
|
-
code: '#DAA520'
|
222
|
-
},
|
223
|
-
{
|
224
|
-
code: '#B8860B'
|
225
|
-
},
|
226
|
-
{
|
227
|
-
code: '#CD853F'
|
228
|
-
},
|
229
|
-
{
|
230
|
-
code: '#D2691E'
|
231
|
-
},
|
232
|
-
{
|
233
|
-
code: '#8B4513'
|
234
|
-
},
|
235
|
-
{
|
236
|
-
code: '#A0522D'
|
237
|
-
},
|
238
|
-
// Green ***************************
|
239
|
-
{
|
240
|
-
code: '#ADFF2F',
|
241
|
-
},
|
242
|
-
{
|
243
|
-
code: '#7FFF00',
|
244
|
-
},
|
245
|
-
{
|
246
|
-
code: '#00FF00',
|
247
|
-
},
|
248
|
-
{
|
249
|
-
code: '#32CD32',
|
250
|
-
},
|
251
|
-
{
|
252
|
-
code: '#98FB98',
|
253
|
-
},
|
254
|
-
{
|
255
|
-
code: '#90EE90',
|
256
|
-
},
|
257
|
-
{
|
258
|
-
code: '#00FA9A',
|
259
|
-
},
|
260
|
-
{
|
261
|
-
code: '#00FF7F',
|
262
|
-
},
|
263
|
-
{
|
264
|
-
code: '#3CB371',
|
265
|
-
},
|
266
|
-
{
|
267
|
-
code: '#2E8B57',
|
268
|
-
},
|
269
|
-
{
|
270
|
-
code: '#228B22',
|
271
|
-
},
|
272
|
-
{
|
273
|
-
code: '#008000',
|
274
|
-
},
|
275
|
-
{
|
276
|
-
code: '#006400',
|
277
|
-
},
|
278
|
-
{
|
279
|
-
code: '#9ACD32',
|
280
|
-
},
|
281
|
-
{
|
282
|
-
code: '#6B8E23',
|
283
|
-
},
|
284
|
-
{
|
285
|
-
code: '#556B2F',
|
286
|
-
},
|
287
|
-
{
|
288
|
-
code: '#66CDAA',
|
289
|
-
},
|
290
|
-
{
|
291
|
-
code: '#8FBC8F',
|
292
|
-
},
|
293
|
-
{
|
294
|
-
code: '#20B2AA',
|
295
|
-
},
|
296
|
-
{
|
297
|
-
code: '#008B8B',
|
298
|
-
},
|
299
|
-
// Cyan ***************************
|
300
|
-
|
301
|
-
{
|
302
|
-
code: '#E0FFFF',
|
303
|
-
},
|
304
|
-
{
|
305
|
-
code: '#AFEEEE',
|
306
|
-
},
|
307
|
-
{
|
308
|
-
code: '#7FFFD4',
|
309
|
-
},
|
310
|
-
{
|
311
|
-
code: '#40E0D0',
|
312
|
-
},
|
313
|
-
{
|
314
|
-
code: '#48D1CC',
|
315
|
-
},
|
316
|
-
{
|
317
|
-
code: '#00CED1',
|
318
|
-
},
|
319
|
-
// Blue ***************************
|
320
|
-
{
|
321
|
-
code: '#5F9EA0'
|
322
|
-
},
|
323
|
-
{
|
324
|
-
code: '#4682B4'
|
325
|
-
},
|
326
|
-
{
|
327
|
-
code: '#B0C4DE'
|
328
|
-
},
|
329
|
-
{
|
330
|
-
code: '#ADD8E6'
|
331
|
-
},
|
332
|
-
{
|
333
|
-
code: '#B0E0E6'
|
334
|
-
},
|
335
|
-
{
|
336
|
-
code: '#87CEFA'
|
337
|
-
},
|
338
|
-
{
|
339
|
-
code: '#87CEEB'
|
340
|
-
},
|
341
|
-
{
|
342
|
-
code: '#6495ED'
|
343
|
-
},
|
344
|
-
{
|
345
|
-
code: '#00BFFF'
|
346
|
-
},
|
347
|
-
{
|
348
|
-
code: '#00FFFF',
|
349
|
-
},
|
350
|
-
{
|
351
|
-
code: '#1E90FF'
|
352
|
-
},
|
353
|
-
{
|
354
|
-
code: '#4169E1'
|
355
|
-
},
|
356
|
-
{
|
357
|
-
code: '#0000FF'
|
358
|
-
},
|
359
|
-
{
|
360
|
-
code: '#0000CD'
|
361
|
-
},
|
362
|
-
{
|
363
|
-
code: '#00008B'
|
364
|
-
},
|
365
|
-
{
|
366
|
-
code: '#191970'
|
367
|
-
},
|
368
|
-
// Gray
|
369
|
-
{
|
370
|
-
code: '#FFFFFF'
|
371
|
-
},
|
372
|
-
{
|
373
|
-
code: '#DCDCDC'
|
374
|
-
},
|
375
|
-
{
|
376
|
-
code: '#808080'
|
377
|
-
},
|
378
|
-
{
|
379
|
-
code: '#708090'
|
380
|
-
},
|
381
|
-
{
|
382
|
-
code: '#000000'
|
383
|
-
},
|
384
|
-
];
|
385
|
-
|
386
|
-
|
387
|
-
// validate(): Promise<IValidationRuleResult> {
|
388
|
-
|
389
|
-
// return new Promise<IValidationRuleResult>(resolve => {
|
390
|
-
// if (!this.validator) {
|
391
|
-
// resolve({ result: true });
|
392
|
-
// } else {
|
393
|
-
// // this.validator.validate(this.model).then(r => {
|
394
|
-
// // r.target = this;
|
395
|
-
// // if (r.result) {
|
396
|
-
// // this.errorText = null;
|
397
|
-
// // } else {
|
398
|
-
// // this.errorText = r.message;
|
399
|
-
// // }
|
400
|
-
// // resolve(r);
|
401
|
-
// // });
|
402
|
-
|
403
|
-
// resolve()
|
404
|
-
// }
|
405
|
-
// });
|
406
|
-
// }
|
407
|
-
|
408
|
-
focus() {
|
409
|
-
}
|
410
|
-
|
411
|
-
clear(): void {
|
412
|
-
this.value = null;
|
413
|
-
}
|
414
|
-
|
415
|
-
onColorClick(item: AXColor) {
|
416
|
-
this.value = item ? item.code : null;
|
417
|
-
this.selectColor(item);
|
418
|
-
this.onColorSelect.emit(this.value);
|
419
|
-
}
|
420
|
-
|
421
|
-
handleColorChange() {
|
422
|
-
this.value = AXColorUtil.rgb2Hex(this.rColor, this.gColor, this.bColor);
|
423
|
-
|
424
|
-
}
|
425
|
-
|
426
|
-
private selectColor(item: AXColor) {
|
427
|
-
this.colors.forEach((i) => {
|
428
|
-
i.active = false;
|
429
|
-
});
|
430
|
-
item.active = true
|
431
|
-
}
|
432
|
-
|
433
|
-
handleKeyEvent(e: KeyboardEvent) {
|
434
|
-
if (e.code == 'Enter' || e.code == 'NumpadEnter') {
|
435
|
-
this.onColorSelect.emit(this.value);
|
436
|
-
}
|
437
|
-
}
|
438
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<ax-drop-down #dropdown fitParent="false" [size]="size" [disabled]="disabled" [rtl]="rtl">
|
2
|
-
<ng-container start>
|
3
|
-
<ng-content select="[start]">
|
4
|
-
</ng-content>
|
5
|
-
</ng-container>
|
6
|
-
<ng-container header>
|
7
|
-
|
8
|
-
<div class="ax form-item" [class.disabled]="disabled" [attr.id]="uid" #fc>
|
9
|
-
<div class="content" #content>
|
10
|
-
<div class="ax form-control input {{size}}" [class.disabled]="disabled" [class.readonly]="readonly">
|
11
|
-
<ng-container *ngIf="value; else elseTemplate">
|
12
|
-
<div [style.background-color]="value" [style.color]="findTextColor(value)"
|
13
|
-
style="padding:0px 5px;width: 100%;display: flex;align-items: center;">
|
14
|
-
{{value}} </div>
|
15
|
-
</ng-container>
|
16
|
-
<ng-template #elseTemplate>
|
17
|
-
{{placeholder}}
|
18
|
-
</ng-template>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</ng-container>
|
23
|
-
<ng-container end>
|
24
|
-
<ng-content select="[end]">
|
25
|
-
</ng-content>
|
26
|
-
</ng-container>
|
27
|
-
<ng-container panel>
|
28
|
-
<ax-color-box [(value)]="value"
|
29
|
-
(onColorSelect)="handleItemClick($event)"></ax-color-box>
|
30
|
-
</ng-container>
|
31
|
-
</ax-drop-down>
|
@@ -1,87 +0,0 @@
|
|
1
|
-
import { Component, OnInit, ViewChild, Input, Output, EventEmitter, ContentChild, ElementRef } from '@angular/core';
|
2
|
-
import { AXValidatableComponent, AXBaseSizableComponent, AXBaseInputComponent, AXElementSize } from '../base/element.class';
|
3
|
-
import { AXColorBoxComponent } from './color-box/color-box.component';
|
4
|
-
import { AXColorUtil, AXConfig } from '@acorex/core';
|
5
|
-
import { AXDropdownComponent } from '../dropdown/dropdown.component';
|
6
|
-
import { AXValidation } from '../validation/validation.component';
|
7
|
-
|
8
|
-
|
9
|
-
@Component({
|
10
|
-
selector: 'ax-color-picker',
|
11
|
-
templateUrl: './color-picker.component.html',
|
12
|
-
providers: [
|
13
|
-
{ provide: AXValidatableComponent, useExisting: AXColorPickerComponent },
|
14
|
-
],
|
15
|
-
host: { style:'width: 100%' }
|
16
|
-
})
|
17
|
-
export class AXColorPickerComponent extends AXColorBoxComponent implements AXBaseSizableComponent, AXBaseInputComponent {
|
18
|
-
|
19
|
-
@ViewChild('dropdown', { static: true })
|
20
|
-
dropdown: AXDropdownComponent;
|
21
|
-
@Input() placeholder: string = '';
|
22
|
-
@Input() showClear: boolean = false;
|
23
|
-
|
24
|
-
@Input() label: string;
|
25
|
-
|
26
|
-
_text: string = '';
|
27
|
-
|
28
|
-
constructor(private ref: ElementRef) {
|
29
|
-
super();
|
30
|
-
}
|
31
|
-
|
32
|
-
@Input()
|
33
|
-
readonly: boolean;
|
34
|
-
@Input()
|
35
|
-
disabled: boolean;
|
36
|
-
@Input()
|
37
|
-
size: AXElementSize = 'md';
|
38
|
-
|
39
|
-
@Input()
|
40
|
-
rtl: boolean = AXConfig.get('layout.rtl');
|
41
|
-
|
42
|
-
@ContentChild(AXValidation, { static: true })
|
43
|
-
private _contentValidation: AXValidation;
|
44
|
-
|
45
|
-
private _validation: AXValidation;
|
46
|
-
|
47
|
-
@Input()
|
48
|
-
public get validation(): AXValidation {
|
49
|
-
return this._validation ? this._validation : this._contentValidation;
|
50
|
-
}
|
51
|
-
|
52
|
-
public set validation(v: AXValidation) {
|
53
|
-
this._validation = v;
|
54
|
-
}
|
55
|
-
|
56
|
-
|
57
|
-
ngOnInit() {
|
58
|
-
if (this.rtl == null) {
|
59
|
-
this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
ngAfterContentInit() {
|
65
|
-
this.initValidation(this.ref, 'value', this.validation);
|
66
|
-
}
|
67
|
-
|
68
|
-
focus(): void {
|
69
|
-
this.dropdown.focus();
|
70
|
-
}
|
71
|
-
|
72
|
-
// handleValueChange(c: string) {
|
73
|
-
|
74
|
-
// }
|
75
|
-
|
76
|
-
findTextColor(color: string) {
|
77
|
-
if (!color) {
|
78
|
-
return '#000';
|
79
|
-
}
|
80
|
-
return !(AXColorUtil.contrastToWhite(color) > 2.0) ? '#000' : '#fff';
|
81
|
-
}
|
82
|
-
|
83
|
-
handleItemClick(e) {
|
84
|
-
this.dropdown.close();
|
85
|
-
}
|
86
|
-
|
87
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXColorPickerComponent } from './color-picker.component';
|
4
|
-
import { AXColorBoxComponent } from './color-box/color-box.component';
|
5
|
-
import { AXValidationModule } from '../validation/validation.module';
|
6
|
-
import { AXDropdownModule } from '../dropdown/dropdown.module';
|
7
|
-
import { AXTextBoxModule } from '../textbox/textbox.module';
|
8
|
-
import { FormsModule } from '@angular/forms';
|
9
|
-
|
10
|
-
@NgModule({
|
11
|
-
declarations: [AXColorPickerComponent, AXColorBoxComponent],
|
12
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXValidationModule, AXTextBoxModule],
|
13
|
-
exports: [AXColorPickerComponent, AXColorBoxComponent],
|
14
|
-
providers: []
|
15
|
-
})
|
16
|
-
export class AXColorPickerModule { }
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<!-- <ul class="ax context-menu {{size}}" [style.width.px]="width">
|
2
|
-
<ng-container *ngFor="let item of items">
|
3
|
-
<li class="context-menu-item" [class.divider]="item.divider" [class.disabled]="item.disable">
|
4
|
-
<div class="startIcon">
|
5
|
-
<i class="{{item.icon}}"></i>
|
6
|
-
<i class="{{item.startIcon}}" *ngIf="!item.icon && item.startIcon"></i>
|
7
|
-
</div>
|
8
|
-
<span>{{item.text}}</span>
|
9
|
-
|
10
|
-
<div class="endIcon">
|
11
|
-
<i class="{{item.endIcon}}" *ngIf="!item.icon && item.startIcon"></i>
|
12
|
-
<i class="far fa-angle-left ax-menu-item-drop-icon"></i>
|
13
|
-
</div>
|
14
|
-
</li>
|
15
|
-
</ng-container>
|
16
|
-
|
17
|
-
</ul> -->
|
18
|
-
|
19
|
-
<ul #contex class="ax context-menu {{size}}" [style.width.px]="width"
|
20
|
-
[ngClass]="{'animate__animated animate__faster animate__fadeIn': show}">
|
21
|
-
<ng-container *ngTemplateOutlet="recursiveContextMenu; context:{ $implicit: items }"></ng-container>
|
22
|
-
</ul>
|
23
|
-
|
24
|
-
<ng-template #recursiveContextMenu let-items>
|
25
|
-
<li *ngFor="let item of items" class="context-menu-item" [class.divider]="item.divider"
|
26
|
-
[class.disabled]="item.disable" (click)="handleClickItem(item)">
|
27
|
-
<div class="startIcon">
|
28
|
-
<i class="{{item.icon}}"></i>
|
29
|
-
<i class="{{item.startIcon}}" *ngIf="!item.icon && item.startIcon"></i>
|
30
|
-
</div>
|
31
|
-
<span>{{item.text}}</span>
|
32
|
-
|
33
|
-
<div class="endIcon">
|
34
|
-
<i class="{{item.endIcon}}" *ngIf="!item.icon && item.startIcon"></i>
|
35
|
-
<i class="far fa-angle-left ax-menu-item-drop-icon" *ngIf="item.items?.length > 0"></i>
|
36
|
-
</div>
|
37
|
-
<ul class="ax context-menu child" *ngIf="item.items?.length > 0">
|
38
|
-
<ng-container *ngTemplateOutlet="recursiveContextMenu; context:{ $implicit: item.items }">
|
39
|
-
</ng-container>
|
40
|
-
</ul>
|
41
|
-
</li>
|
42
|
-
</ng-template>
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import { Component, Input, ElementRef, HostListener, ViewChild, Output, EventEmitter } from '@angular/core';
|
2
|
-
import { AXMenuItem } from '@acorex/core';
|
3
|
-
import { AXElementSize } from '../base/element.class';
|
4
|
-
import { AXBaseEvent } from '../base/events.class';
|
5
|
-
|
6
|
-
@Component({
|
7
|
-
selector: 'ax-context-menu',
|
8
|
-
templateUrl: './context-menu.component.html',
|
9
|
-
host: { class: 'ax context-menu-container' }
|
10
|
-
})
|
11
|
-
export class AXContextMenuComponent {
|
12
|
-
@Input()
|
13
|
-
size: AXElementSize = 'md';
|
14
|
-
|
15
|
-
@Input()
|
16
|
-
width: number;
|
17
|
-
|
18
|
-
@Input()
|
19
|
-
items: AXMenuItem[] = [];
|
20
|
-
|
21
|
-
@Output()
|
22
|
-
onItemClick: EventEmitter<any> = new EventEmitter<any>();
|
23
|
-
|
24
|
-
@Output()
|
25
|
-
onClosed: EventEmitter<AXBaseEvent> = new EventEmitter<AXBaseEvent>();
|
26
|
-
|
27
|
-
@ViewChild('contex')
|
28
|
-
contex: ElementRef<HTMLUListElement>;
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
show: boolean = false;
|
33
|
-
|
34
|
-
constructor(private container: ElementRef) {
|
35
|
-
}
|
36
|
-
|
37
|
-
ngAfterViewInit(): void {
|
38
|
-
}
|
39
|
-
|
40
|
-
close() {
|
41
|
-
this.show = false;
|
42
|
-
this.onClosed.emit({
|
43
|
-
component: this
|
44
|
-
});
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
open(_left, _top, _rtl = false) {
|
50
|
-
this.show = true;
|
51
|
-
setTimeout(() => {
|
52
|
-
const containRec = this.container.nativeElement.getBoundingClientRect();
|
53
|
-
let left = _rtl === false ? _left : _left - containRec.width;
|
54
|
-
let top = _top;
|
55
|
-
if (_rtl === false && _left + containRec.width > window.innerWidth) {
|
56
|
-
left = window.innerWidth - containRec.width;
|
57
|
-
} else if (_rtl === true && _left - containRec.width < 0) {
|
58
|
-
left = 0;
|
59
|
-
}
|
60
|
-
if (top + containRec.height > window.innerHeight) {
|
61
|
-
top = _top - containRec.height;
|
62
|
-
}
|
63
|
-
this.container.nativeElement.style.left = left + 'px';
|
64
|
-
this.container.nativeElement.style.top = top + 'px';
|
65
|
-
|
66
|
-
}, 5);
|
67
|
-
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
handleClickItem(item: AXMenuItem) {
|
74
|
-
if (!item.disable || item.disable === undefined) {
|
75
|
-
this.onItemClick.emit(item);
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|