@acorex/components 6.5.29 → 6.5.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/acorex-components.d.ts +5 -5
- package/esm2020/acorex-components.mjs +4 -4
- package/esm2020/lib/accordion/accordion.component.mjs +44 -44
- package/esm2020/lib/accordion/accordion.module.mjs +20 -20
- package/esm2020/lib/base/base-page.class.mjs +94 -94
- package/esm2020/lib/base/components.class.mjs +17 -17
- package/esm2020/lib/base/element.class.mjs +294 -294
- package/esm2020/lib/base/events.class.mjs +11 -11
- package/esm2020/lib/button/button.component.mjs +71 -71
- package/esm2020/lib/button/button.module.mjs +21 -21
- package/esm2020/lib/calendar/calendar-box/calendar-box.component.mjs +413 -413
- package/esm2020/lib/calendar/calendar-box/calendar-box.module.mjs +22 -22
- package/esm2020/lib/calendar/scheduler/scheduler-views.property.mjs +54 -54
- package/esm2020/lib/calendar/scheduler/scheduler.class.mjs +18 -18
- package/esm2020/lib/calendar/scheduler/scheduler.component.mjs +213 -213
- package/esm2020/lib/calendar/scheduler/scheduler.module.mjs +68 -68
- package/esm2020/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +132 -132
- package/esm2020/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +37 -37
- package/esm2020/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +47 -47
- package/esm2020/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +95 -95
- package/esm2020/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +204 -204
- package/esm2020/lib/calendar/scheduler/views/scheduler-view.component.mjs +99 -99
- package/esm2020/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +77 -77
- package/esm2020/lib/checkbox/checkbox.component.mjs +98 -98
- package/esm2020/lib/checkbox/checkbox.module.mjs +20 -20
- package/esm2020/lib/color-picker/color-box/color-box.component.mjs +422 -422
- package/esm2020/lib/color-picker/color-picker.component.mjs +82 -82
- package/esm2020/lib/color-picker/color-picker.module.mjs +24 -24
- package/esm2020/lib/context-menu/context-menu.component.mjs +65 -65
- package/esm2020/lib/context-menu/context-menu.directive.mjs +135 -135
- package/esm2020/lib/context-menu/context-menu.module.mjs +20 -20
- package/esm2020/lib/data-filter/columns/filter-column-date.component.mjs +138 -138
- package/esm2020/lib/data-filter/columns/filter-column-number.component.mjs +117 -117
- package/esm2020/lib/data-filter/columns/filter-column-selection.component.mjs +74 -74
- package/esm2020/lib/data-filter/columns/filter-column-string.component.mjs +117 -117
- package/esm2020/lib/data-filter/filter-panel/filter-panel.component.mjs +258 -258
- package/esm2020/lib/data-filter/filter.class.mjs +44 -44
- package/esm2020/lib/data-filter/filter.module.mjs +90 -90
- package/esm2020/lib/data-filter/toolbar/filter-toolbar.component.mjs +166 -166
- package/esm2020/lib/data-list/core/data-list.component.mjs +40 -40
- package/esm2020/lib/data-list/list/list.component.mjs +124 -124
- package/esm2020/lib/data-list/list/list.module.mjs +22 -22
- package/esm2020/lib/data-list/list/toolbar-list-view.component.mjs +85 -85
- package/esm2020/lib/data-source/datasource.component.mjs +47 -47
- package/esm2020/lib/data-source/datasource.module.mjs +18 -18
- package/esm2020/lib/data-source/read-param.mjs +5 -5
- package/esm2020/lib/date-picker/date-picker.component.mjs +702 -702
- package/esm2020/lib/date-picker/date-picker.module.mjs +25 -25
- package/esm2020/lib/dialog/dialog.component.mjs +24 -24
- package/esm2020/lib/dialog/dialog.module.mjs +21 -21
- package/esm2020/lib/dialog/dialog.service.mjs +150 -150
- package/esm2020/lib/drawer/content.component.mjs +18 -18
- package/esm2020/lib/drawer/drawer-container.component.mjs +36 -36
- package/esm2020/lib/drawer/drawer.component.mjs +142 -142
- package/esm2020/lib/drawer/drawer.module.mjs +23 -23
- package/esm2020/lib/dropdown/dropdown.component.mjs +176 -176
- package/esm2020/lib/dropdown/dropdown.module.mjs +26 -26
- package/esm2020/lib/fieldset/fieldset.component.mjs +59 -59
- package/esm2020/lib/fieldset/fieldset.module.mjs +19 -19
- package/esm2020/lib/form-group/form-group.component.mjs +34 -34
- package/esm2020/lib/form-group/form-group.module.mjs +21 -21
- package/esm2020/lib/label/label.component.mjs +19 -19
- package/esm2020/lib/label/label.module.mjs +21 -21
- package/esm2020/lib/loading/loading-indicator.component.mjs +17 -17
- package/esm2020/lib/loading/loading-panel.component.mjs +44 -44
- package/esm2020/lib/loading/loading.module.mjs +21 -21
- package/esm2020/lib/loading/loading.service.mjs +45 -45
- package/esm2020/lib/menu/menu-item.component.mjs +47 -47
- package/esm2020/lib/menu/menu.component.mjs +86 -86
- package/esm2020/lib/menu/menu.module.mjs +22 -22
- package/esm2020/lib/menu/menu2.component.mjs +96 -96
- package/esm2020/lib/number-box/number-box.component.mjs +622 -622
- package/esm2020/lib/number-box/number-box.module.mjs +21 -21
- package/esm2020/lib/page/content.component.mjs +32 -32
- package/esm2020/lib/page/footer.component.mjs +19 -19
- package/esm2020/lib/page/page.component.mjs +53 -53
- package/esm2020/lib/page/page.module.mjs +22 -22
- package/esm2020/lib/panel-box/panel-box.component.mjs +88 -88
- package/esm2020/lib/panel-box/panel-box.module.mjs +19 -19
- package/esm2020/lib/password-box/password-box.component.mjs +31 -31
- package/esm2020/lib/password-box/password-box.module.mjs +23 -23
- package/esm2020/lib/popover/custom-cdk-overlay.service.mjs +48 -48
- package/esm2020/lib/popover/overlay.service.mjs +90 -90
- package/esm2020/lib/popover/popover.component.mjs +127 -127
- package/esm2020/lib/popover/popover.module.mjs +19 -19
- package/esm2020/lib/popup/popup.component.mjs +147 -147
- package/esm2020/lib/popup/popup.module.mjs +25 -25
- package/esm2020/lib/popup/popup.service.mjs +93 -93
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +19 -19
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +19 -19
- package/esm2020/lib/property-editor/editors/check-editor/check-editor.mjs +61 -61
- package/esm2020/lib/property-editor/editors/check-editor/check.module.mjs +22 -22
- package/esm2020/lib/property-editor/editors/color-editor/color.editor.mjs +38 -38
- package/esm2020/lib/property-editor/editors/color-editor/color.module.mjs +24 -24
- package/esm2020/lib/property-editor/editors/column-editor/column.editor.mjs +115 -115
- package/esm2020/lib/property-editor/editors/column-editor/column.module.mjs +32 -32
- package/esm2020/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +211 -211
- package/esm2020/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +78 -78
- package/esm2020/lib/property-editor/editors/date-editor/date.editor.mjs +51 -51
- package/esm2020/lib/property-editor/editors/date-editor/date.module.mjs +24 -24
- package/esm2020/lib/property-editor/editors/number-editor/number.editor.mjs +63 -63
- package/esm2020/lib/property-editor/editors/number-editor/number.module.mjs +24 -24
- package/esm2020/lib/property-editor/editors/range-editor/range.editor.mjs +140 -140
- package/esm2020/lib/property-editor/editors/range-editor/range.module.mjs +61 -61
- package/esm2020/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +72 -72
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +71 -71
- package/esm2020/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +25 -25
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +69 -69
- package/esm2020/lib/property-editor/editors/selection-editor/selection.module.mjs +22 -22
- package/esm2020/lib/property-editor/editors/switch-editor/number.editor.mjs +29 -29
- package/esm2020/lib/property-editor/editors/switch-editor/number.module.mjs +25 -25
- package/esm2020/lib/property-editor/editors/text-editor/text.editor.mjs +32 -32
- package/esm2020/lib/property-editor/editors/text-editor/text.module.mjs +24 -24
- package/esm2020/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +32 -32
- package/esm2020/lib/property-editor/editors/textarea-editor/textarea.module.mjs +24 -24
- package/esm2020/lib/property-editor/editors/time-editor/time.editor.mjs +43 -43
- package/esm2020/lib/property-editor/editors/time-editor/time.module.mjs +24 -24
- package/esm2020/lib/property-editor/property-editor-renderer.directive.mjs +154 -154
- package/esm2020/lib/property-editor/property-editor.class.mjs +101 -101
- package/esm2020/lib/property-editor/property-editor.module.mjs +196 -196
- package/esm2020/lib/query-builder/query-builder-group.component.mjs +124 -124
- package/esm2020/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +171 -171
- package/esm2020/lib/query-builder/query-builder-rule.component.mjs +395 -395
- package/esm2020/lib/query-builder/query-builder.class.mjs +20 -20
- package/esm2020/lib/query-builder/query-builder.component.mjs +82 -82
- package/esm2020/lib/query-builder/query-builder.module.mjs +62 -62
- package/esm2020/lib/query-builder/query-builder.service.mjs +197 -197
- package/esm2020/lib/search-bar/search-bar.component.mjs +283 -283
- package/esm2020/lib/search-bar/search-bar.module.mjs +63 -63
- package/esm2020/lib/searchbox/searchbox.component.mjs +79 -79
- package/esm2020/lib/searchbox/searchbox.module.mjs +24 -24
- package/esm2020/lib/selectbox/selectbox.component.mjs +961 -961
- package/esm2020/lib/selectbox/selectbox.module.mjs +44 -44
- package/esm2020/lib/selectbox/selectbox2.component.mjs +574 -574
- package/esm2020/lib/selection-list/selection-list.component.mjs +108 -108
- package/esm2020/lib/selection-list/selection-list.module.mjs +21 -21
- package/esm2020/lib/switch/switch.component.mjs +51 -51
- package/esm2020/lib/switch/switch.module.mjs +20 -20
- package/esm2020/lib/tab-page/tab-page-Renderer.component.mjs +71 -71
- package/esm2020/lib/tab-page/tab-page-host.component.mjs +116 -116
- package/esm2020/lib/tab-page/tab-page.module.mjs +21 -21
- package/esm2020/lib/tab-page/tab-page.service.mjs +156 -156
- package/esm2020/lib/tab-strip/tab-strip.component.mjs +36 -36
- package/esm2020/lib/tab-strip/tab-strip.module.mjs +19 -19
- package/esm2020/lib/tab-view/dynamic-tabs.directive.mjs +24 -24
- package/esm2020/lib/tab-view/tab-view.component.mjs +105 -105
- package/esm2020/lib/tab-view/tab-view.module.mjs +21 -21
- package/esm2020/lib/tab-view/tab.component.mjs +30 -30
- package/esm2020/lib/textarea/textarea.component.mjs +26 -26
- package/esm2020/lib/textarea/textarea.module.mjs +21 -21
- package/esm2020/lib/textbox/textbox.component.mjs +39 -39
- package/esm2020/lib/textbox/textbox.module.mjs +24 -24
- package/esm2020/lib/time-picker/time-picker.component.mjs +943 -943
- package/esm2020/lib/time-picker/time-picker.module.mjs +22 -22
- package/esm2020/lib/toast/toast-message/toast-message.component.mjs +74 -74
- package/esm2020/lib/toast/toast-wrapper/toast-wrapper.component.mjs +13 -13
- package/esm2020/lib/toast/toast.module.mjs +21 -21
- package/esm2020/lib/toast/toast.service.mjs +44 -44
- package/esm2020/lib/toolbar/group-button/toolbar-group-button.component.mjs +78 -78
- package/esm2020/lib/toolbar/menu/toolbar-menu.component.mjs +57 -57
- package/esm2020/lib/toolbar/search/toolbar-search.component.mjs +54 -54
- package/esm2020/lib/toolbar/title/toolbar-title.component.mjs +47 -47
- package/esm2020/lib/toolbar/toolbar-item.mjs +6 -6
- package/esm2020/lib/toolbar/toolbar.component.mjs +13 -13
- package/esm2020/lib/toolbar/toolbar.module.mjs +40 -40
- package/esm2020/lib/tooltip/tooltip.directive.mjs +100 -100
- package/esm2020/lib/tooltip/tooltip.module.mjs +19 -19
- package/esm2020/lib/tree-side-menu/tree-side-menu.component.mjs +646 -646
- package/esm2020/lib/tree-side-menu/tree-side-menu.module.mjs +35 -35
- package/esm2020/lib/tree-view/tree-view.component.mjs +775 -775
- package/esm2020/lib/tree-view/tree-view.module.mjs +22 -22
- package/esm2020/lib/upload-file/upload-file.component.mjs +208 -208
- package/esm2020/lib/upload-file/upload-file.events.mjs +2 -2
- package/esm2020/lib/upload-file/upload-file.module.mjs +24 -24
- package/esm2020/lib/validation/validation-form.component.mjs +65 -65
- package/esm2020/lib/validation/validation-rule.widget.mjs +111 -111
- package/esm2020/lib/validation/validation.class.mjs +2 -2
- package/esm2020/lib/validation/validation.component.mjs +89 -89
- package/esm2020/lib/validation/validation.module.mjs +34 -34
- package/esm2020/public-api.mjs +158 -158
- package/fesm2015/acorex-components.mjs +15616 -15616
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +15552 -15552
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/accordion/accordion.component.d.ts +13 -13
- package/lib/accordion/accordion.module.d.ts +9 -9
- package/lib/base/base-page.class.d.ts +46 -46
- package/lib/base/components.class.d.ts +10 -10
- package/lib/base/element.class.d.ts +106 -106
- package/lib/base/events.class.d.ts +18 -18
- package/lib/button/button.component.d.ts +21 -21
- package/lib/button/button.module.d.ts +8 -8
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +81 -81
- package/lib/calendar/calendar-box/calendar-box.module.d.ts +11 -11
- package/lib/calendar/scheduler/scheduler-views.property.d.ts +19 -19
- package/lib/calendar/scheduler/scheduler.class.d.ts +36 -36
- package/lib/calendar/scheduler/scheduler.component.d.ts +39 -39
- package/lib/calendar/scheduler/scheduler.module.d.ts +21 -21
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.d.ts +25 -25
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.d.ts +14 -14
- package/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.d.ts +16 -16
- package/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.d.ts +26 -26
- package/lib/calendar/scheduler/views/month/scheduler-month-view.component.d.ts +37 -37
- package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +28 -28
- package/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.d.ts +24 -24
- package/lib/checkbox/checkbox.component.d.ts +30 -30
- package/lib/checkbox/checkbox.module.d.ts +9 -9
- package/lib/color-picker/color-box/color-box.component.d.ts +25 -25
- package/lib/color-picker/color-picker.component.d.ts +30 -30
- package/lib/color-picker/color-picker.module.d.ts +13 -13
- package/lib/context-menu/context-menu.component.d.ts +22 -22
- package/lib/context-menu/context-menu.directive.d.ts +38 -38
- package/lib/context-menu/context-menu.module.d.ts +9 -9
- package/lib/data-filter/columns/filter-column-date.component.d.ts +22 -22
- package/lib/data-filter/columns/filter-column-number.component.d.ts +15 -15
- package/lib/data-filter/columns/filter-column-selection.component.d.ts +18 -18
- package/lib/data-filter/columns/filter-column-string.component.d.ts +15 -15
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +45 -45
- package/lib/data-filter/filter.class.d.ts +40 -40
- package/lib/data-filter/filter.module.d.ts +24 -24
- package/lib/data-filter/toolbar/filter-toolbar.component.d.ts +25 -25
- package/lib/data-list/core/data-list.component.d.ts +15 -15
- package/lib/data-list/list/list.component.d.ts +40 -40
- package/lib/data-list/list/list.module.d.ts +11 -11
- package/lib/data-list/list/toolbar-list-view.component.d.ts +17 -17
- package/lib/data-source/datasource.component.d.ts +16 -16
- package/lib/data-source/datasource.module.d.ts +7 -7
- package/lib/data-source/read-param.d.ts +40 -40
- package/lib/date-picker/date-picker.component.d.ts +81 -81
- package/lib/date-picker/date-picker.module.d.ts +14 -14
- package/lib/dialog/dialog.component.d.ts +14 -14
- package/lib/dialog/dialog.module.d.ts +10 -10
- package/lib/dialog/dialog.service.d.ts +36 -36
- package/lib/drawer/content.component.d.ts +7 -7
- package/lib/drawer/drawer-container.component.d.ts +10 -10
- package/lib/drawer/drawer.component.d.ts +34 -34
- package/lib/drawer/drawer.module.d.ts +10 -10
- package/lib/dropdown/dropdown.component.d.ts +38 -38
- package/lib/dropdown/dropdown.module.d.ts +13 -13
- package/lib/fieldset/fieldset.component.d.ts +11 -11
- package/lib/fieldset/fieldset.module.d.ts +8 -8
- package/lib/form-group/form-group.component.d.ts +14 -14
- package/lib/form-group/form-group.module.d.ts +8 -8
- package/lib/label/label.component.d.ts +9 -9
- package/lib/label/label.module.d.ts +8 -8
- package/lib/loading/loading-indicator.component.d.ts +9 -9
- package/lib/loading/loading-panel.component.d.ts +13 -13
- package/lib/loading/loading.module.d.ts +10 -10
- package/lib/loading/loading.service.d.ts +13 -13
- package/lib/menu/menu-item.component.d.ts +18 -18
- package/lib/menu/menu.component.d.ts +35 -35
- package/lib/menu/menu.module.d.ts +11 -11
- package/lib/menu/menu2.component.d.ts +21 -21
- package/lib/number-box/number-box.component.d.ts +52 -52
- package/lib/number-box/number-box.module.d.ts +10 -10
- package/lib/page/content.component.d.ts +8 -8
- package/lib/page/footer.component.d.ts +5 -5
- package/lib/page/page.component.d.ts +16 -16
- package/lib/page/page.module.d.ts +11 -11
- package/lib/panel-box/panel-box.component.d.ts +19 -19
- package/lib/panel-box/panel-box.module.d.ts +8 -8
- package/lib/password-box/password-box.component.d.ts +12 -12
- package/lib/password-box/password-box.module.d.ts +10 -10
- package/lib/popover/custom-cdk-overlay.service.d.ts +19 -19
- package/lib/popover/overlay.service.d.ts +31 -31
- package/lib/popover/popover.component.d.ts +34 -34
- package/lib/popover/popover.module.d.ts +8 -8
- package/lib/popup/popup.component.d.ts +40 -40
- package/lib/popup/popup.module.d.ts +13 -13
- package/lib/popup/popup.service.d.ts +22 -22
- package/lib/progress-bar/progress-bar.component.d.ts +7 -7
- package/lib/progress-bar/progress-bar.module.d.ts +8 -8
- package/lib/property-editor/editors/check-editor/check-editor.d.ts +19 -19
- package/lib/property-editor/editors/check-editor/check.module.d.ts +11 -11
- package/lib/property-editor/editors/color-editor/color.editor.d.ts +13 -13
- package/lib/property-editor/editors/color-editor/color.module.d.ts +12 -12
- package/lib/property-editor/editors/column-editor/column.editor.d.ts +34 -34
- package/lib/property-editor/editors/column-editor/column.module.d.ts +20 -20
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.d.ts +44 -44
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.module.d.ts +19 -19
- package/lib/property-editor/editors/date-editor/date.editor.d.ts +28 -28
- package/lib/property-editor/editors/date-editor/date.module.d.ts +12 -12
- package/lib/property-editor/editors/number-editor/number.editor.d.ts +20 -20
- package/lib/property-editor/editors/number-editor/number.module.d.ts +12 -12
- package/lib/property-editor/editors/range-editor/range.editor.d.ts +29 -29
- package/lib/property-editor/editors/range-editor/range.module.d.ts +18 -18
- package/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.d.ts +29 -29
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +28 -28
- package/lib/property-editor/editors/selectbox-editor/selectbox.module.d.ts +14 -14
- package/lib/property-editor/editors/selection-editor/selection-editor.d.ts +25 -25
- package/lib/property-editor/editors/selection-editor/selection.module.d.ts +11 -11
- package/lib/property-editor/editors/switch-editor/number.editor.d.ts +11 -11
- package/lib/property-editor/editors/switch-editor/number.module.d.ts +13 -13
- package/lib/property-editor/editors/text-editor/text.editor.d.ts +18 -18
- package/lib/property-editor/editors/text-editor/text.module.d.ts +12 -12
- package/lib/property-editor/editors/textarea-editor/textarea.editor.d.ts +17 -17
- package/lib/property-editor/editors/textarea-editor/textarea.module.d.ts +12 -12
- package/lib/property-editor/editors/time-editor/time.editor.d.ts +17 -17
- package/lib/property-editor/editors/time-editor/time.module.d.ts +12 -12
- package/lib/property-editor/property-editor-renderer.directive.d.ts +30 -30
- package/lib/property-editor/property-editor.class.d.ts +92 -92
- package/lib/property-editor/property-editor.module.d.ts +21 -21
- package/lib/query-builder/query-builder-group.component.d.ts +33 -33
- package/lib/query-builder/query-builder-popup/query-builder-popup.component.d.ts +35 -35
- package/lib/query-builder/query-builder-rule.component.d.ts +45 -45
- package/lib/query-builder/query-builder.class.d.ts +45 -45
- package/lib/query-builder/query-builder.component.d.ts +27 -27
- package/lib/query-builder/query-builder.module.d.ts +23 -23
- package/lib/query-builder/query-builder.service.d.ts +18 -18
- package/lib/search-bar/search-bar.component.d.ts +61 -61
- package/lib/search-bar/search-bar.module.d.ts +18 -18
- package/lib/searchbox/searchbox.component.d.ts +22 -22
- package/lib/searchbox/searchbox.module.d.ts +13 -13
- package/lib/selectbox/selectbox.component.d.ts +118 -118
- package/lib/selectbox/selectbox.module.d.ts +15 -15
- package/lib/selectbox/selectbox2.component.d.ts +103 -103
- package/lib/selection-list/selection-list.component.d.ts +32 -32
- package/lib/selection-list/selection-list.module.d.ts +10 -10
- package/lib/switch/switch.component.d.ts +20 -20
- package/lib/switch/switch.module.d.ts +9 -9
- package/lib/tab-page/tab-page-Renderer.component.d.ts +16 -16
- package/lib/tab-page/tab-page-host.component.d.ts +25 -25
- package/lib/tab-page/tab-page.module.d.ts +10 -10
- package/lib/tab-page/tab-page.service.d.ts +30 -30
- package/lib/tab-strip/tab-strip.component.d.ts +28 -28
- package/lib/tab-strip/tab-strip.module.d.ts +8 -8
- package/lib/tab-view/dynamic-tabs.directive.d.ts +16 -16
- package/lib/tab-view/tab-view.component.d.ts +26 -26
- package/lib/tab-view/tab-view.module.d.ts +10 -10
- package/lib/tab-view/tab.component.d.ts +12 -12
- package/lib/textarea/textarea.component.d.ts +12 -12
- package/lib/textarea/textarea.module.d.ts +8 -8
- package/lib/textbox/textbox.component.d.ts +16 -16
- package/lib/textbox/textbox.module.d.ts +11 -11
- package/lib/time-picker/time-picker.component.d.ts +52 -52
- package/lib/time-picker/time-picker.module.d.ts +11 -11
- package/lib/toast/toast-message/toast-message.component.d.ts +18 -18
- package/lib/toast/toast-wrapper/toast-wrapper.component.d.ts +8 -8
- package/lib/toast/toast.module.d.ts +9 -9
- package/lib/toast/toast.service.d.ts +18 -18
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +12 -12
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +24 -24
- package/lib/toolbar/search/toolbar-search.component.d.ts +16 -16
- package/lib/toolbar/title/toolbar-title.component.d.ts +9 -9
- package/lib/toolbar/toolbar-item.d.ts +3 -3
- package/lib/toolbar/toolbar.component.d.ts +8 -8
- package/lib/toolbar/toolbar.module.d.ts +14 -14
- package/lib/tooltip/tooltip.directive.d.ts +21 -21
- package/lib/tooltip/tooltip.module.d.ts +8 -8
- package/lib/tree-side-menu/tree-side-menu.component.d.ts +111 -111
- package/lib/tree-side-menu/tree-side-menu.module.d.ts +11 -11
- package/lib/tree-view/tree-view.component.d.ts +121 -121
- package/lib/tree-view/tree-view.module.d.ts +11 -11
- package/lib/upload-file/upload-file.component.d.ts +42 -42
- package/lib/upload-file/upload-file.events.d.ts +10 -10
- package/lib/upload-file/upload-file.module.d.ts +13 -13
- package/lib/validation/validation-form.component.d.ts +19 -19
- package/lib/validation/validation-rule.widget.d.ts +23 -23
- package/lib/validation/validation.class.d.ts +16 -16
- package/lib/validation/validation.component.d.ts +25 -25
- package/lib/validation/validation.module.d.ts +11 -11
- package/package.json +1 -1
- package/public-api.d.ts +155 -155
@@ -1,74 +1,74 @@
|
|
1
|
-
import { Component, Input, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "../../selection-list/selection-list.component";
|
5
|
-
export class AXFilterColumnSelectionComponent extends AXFilterColumnComponent {
|
6
|
-
constructor(cdr) {
|
7
|
-
super(cdr);
|
8
|
-
this.cdr = cdr;
|
9
|
-
this.selectedItems = [];
|
10
|
-
this.items = [];
|
11
|
-
this.mode = 'single';
|
12
|
-
this.dataType = 'number';
|
13
|
-
}
|
14
|
-
get condition() {
|
15
|
-
const values = this.selectedItems.map(c => c.value);
|
16
|
-
if (values.length === 0) {
|
17
|
-
return null;
|
18
|
-
}
|
19
|
-
return {
|
20
|
-
condition: this.mode === 'single' ? 'equal' : 'contains',
|
21
|
-
field: this.field,
|
22
|
-
dataType: this.dataType,
|
23
|
-
value: this.mode === 'single' ? values[0] : values
|
24
|
-
};
|
25
|
-
}
|
26
|
-
clear() {
|
27
|
-
this.selectedItems = [];
|
28
|
-
super.clear();
|
29
|
-
}
|
30
|
-
onSelectChange(e) {
|
31
|
-
this.valueChange.emit();
|
32
|
-
}
|
33
|
-
setFilter(value, operator) {
|
34
|
-
if (value instanceof Array) {
|
35
|
-
this.selectedItems = this.items.filter(c => value.some(z => z === c.value));
|
36
|
-
}
|
37
|
-
else {
|
38
|
-
this.selectedItems = [this.items.find(c => c.value === value)];
|
39
|
-
}
|
40
|
-
super.setFilter(value, operator);
|
41
|
-
}
|
42
|
-
}
|
43
|
-
AXFilterColumnSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnSelectionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
44
|
-
AXFilterColumnSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXFilterColumnSelectionComponent, selector: "ax-filter-column-selection", inputs: { items: "items", mode: "mode", dataType: "dataType" }, providers: [
|
45
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnSelectionComponent }
|
46
|
-
], usesInheritance: true, ngImport: i0, template: `
|
47
|
-
<div class="ax-filter-section">
|
48
|
-
<ax-selection-list [items]="items" (selectedItemsChange)="onSelectChange($event)" [mode]="mode" direction="vertical" [(selectedItems)]="selectedItems">
|
49
|
-
</ax-selection-list>
|
50
|
-
</div>
|
51
|
-
`, isInline: true, components: [{ type: i1.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["readonly", "value", "disabled", "size", "direction", "items", "mode", "textField", "valueField", "selectedItems", "selectedValues"], outputs: ["selectionChanged", "selectedItemsChange", "selectedValuesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnSelectionComponent, decorators: [{
|
53
|
-
type: Component,
|
54
|
-
args: [{
|
55
|
-
selector: 'ax-filter-column-selection',
|
56
|
-
template: `
|
57
|
-
<div class="ax-filter-section">
|
58
|
-
<ax-selection-list [items]="items" (selectedItemsChange)="onSelectChange($event)" [mode]="mode" direction="vertical" [(selectedItems)]="selectedItems">
|
59
|
-
</ax-selection-list>
|
60
|
-
</div>
|
61
|
-
`,
|
62
|
-
providers: [
|
63
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnSelectionComponent }
|
64
|
-
],
|
65
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
66
|
-
}]
|
67
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
68
|
-
type: Input
|
69
|
-
}], mode: [{
|
70
|
-
type: Input
|
71
|
-
}], dataType: [{
|
72
|
-
type: Input
|
73
|
-
}] } });
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, Input, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "../../selection-list/selection-list.component";
|
5
|
+
export class AXFilterColumnSelectionComponent extends AXFilterColumnComponent {
|
6
|
+
constructor(cdr) {
|
7
|
+
super(cdr);
|
8
|
+
this.cdr = cdr;
|
9
|
+
this.selectedItems = [];
|
10
|
+
this.items = [];
|
11
|
+
this.mode = 'single';
|
12
|
+
this.dataType = 'number';
|
13
|
+
}
|
14
|
+
get condition() {
|
15
|
+
const values = this.selectedItems.map(c => c.value);
|
16
|
+
if (values.length === 0) {
|
17
|
+
return null;
|
18
|
+
}
|
19
|
+
return {
|
20
|
+
condition: this.mode === 'single' ? 'equal' : 'contains',
|
21
|
+
field: this.field,
|
22
|
+
dataType: this.dataType,
|
23
|
+
value: this.mode === 'single' ? values[0] : values
|
24
|
+
};
|
25
|
+
}
|
26
|
+
clear() {
|
27
|
+
this.selectedItems = [];
|
28
|
+
super.clear();
|
29
|
+
}
|
30
|
+
onSelectChange(e) {
|
31
|
+
this.valueChange.emit();
|
32
|
+
}
|
33
|
+
setFilter(value, operator) {
|
34
|
+
if (value instanceof Array) {
|
35
|
+
this.selectedItems = this.items.filter(c => value.some(z => z === c.value));
|
36
|
+
}
|
37
|
+
else {
|
38
|
+
this.selectedItems = [this.items.find(c => c.value === value)];
|
39
|
+
}
|
40
|
+
super.setFilter(value, operator);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
AXFilterColumnSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnSelectionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
44
|
+
AXFilterColumnSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXFilterColumnSelectionComponent, selector: "ax-filter-column-selection", inputs: { items: "items", mode: "mode", dataType: "dataType" }, providers: [
|
45
|
+
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnSelectionComponent }
|
46
|
+
], usesInheritance: true, ngImport: i0, template: `
|
47
|
+
<div class="ax-filter-section">
|
48
|
+
<ax-selection-list [items]="items" (selectedItemsChange)="onSelectChange($event)" [mode]="mode" direction="vertical" [(selectedItems)]="selectedItems">
|
49
|
+
</ax-selection-list>
|
50
|
+
</div>
|
51
|
+
`, isInline: true, components: [{ type: i1.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["readonly", "value", "disabled", "size", "direction", "items", "mode", "textField", "valueField", "selectedItems", "selectedValues"], outputs: ["selectionChanged", "selectedItemsChange", "selectedValuesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnSelectionComponent, decorators: [{
|
53
|
+
type: Component,
|
54
|
+
args: [{
|
55
|
+
selector: 'ax-filter-column-selection',
|
56
|
+
template: `
|
57
|
+
<div class="ax-filter-section">
|
58
|
+
<ax-selection-list [items]="items" (selectedItemsChange)="onSelectChange($event)" [mode]="mode" direction="vertical" [(selectedItems)]="selectedItems">
|
59
|
+
</ax-selection-list>
|
60
|
+
</div>
|
61
|
+
`,
|
62
|
+
providers: [
|
63
|
+
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnSelectionComponent }
|
64
|
+
],
|
65
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
66
|
+
}]
|
67
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
68
|
+
type: Input
|
69
|
+
}], mode: [{
|
70
|
+
type: Input
|
71
|
+
}], dataType: [{
|
72
|
+
type: Input
|
73
|
+
}] } });
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWNvbHVtbi1zZWxlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpbHRlci9jb2x1bW5zL2ZpbHRlci1jb2x1bW4tc2VsZWN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RixPQUFPLEVBQXFCLHVCQUF1QixFQUFFLE1BQU0saUJBQWlCLENBQUM7OztBQWdCN0UsTUFBTSxPQUFPLGdDQUFpQyxTQUFRLHVCQUF1QjtJQWdCekUsWUFBc0IsR0FBc0I7UUFDeEMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBRE8sUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFiNUMsa0JBQWEsR0FBVSxFQUFFLENBQUM7UUFHMUIsVUFBSyxHQUFrQixFQUFFLENBQUM7UUFHMUIsU0FBSSxHQUFHLFFBQVEsQ0FBQztRQUdoQixhQUFRLEdBQVEsUUFBUSxDQUFDO0lBTXpCLENBQUM7SUFFRCxJQUFJLFNBQVM7UUFDVCxNQUFNLE1BQU0sR0FBRyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ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y5pdGVtcy5maW5kKGMgPT4gYy52YWx1ZSA9PT0gdmFsdWUpXTtcbiAgICAgICAgfVxuICAgICAgICBzdXBlci5zZXRGaWx0ZXIodmFsdWUsIG9wZXJhdG9yKTtcbiAgICB9XG59XG4iXX0=
|
@@ -1,117 +1,117 @@
|
|
1
|
-
import { Component, ChangeDetectorRef } from '@angular/core';
|
2
|
-
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
-
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
4
|
-
import { Observable } from 'rxjs';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "../../textbox/textbox.component";
|
7
|
-
import * as i2 from "@angular/forms";
|
8
|
-
import * as i3 from "@angular/common";
|
9
|
-
export class AXFilterColumnStringComponent extends AXFilterColumnComponent {
|
10
|
-
constructor(cdr) {
|
11
|
-
super(cdr);
|
12
|
-
this.cdr = cdr;
|
13
|
-
this.operator = 'contains';
|
14
|
-
this.operators = [
|
15
|
-
{
|
16
|
-
title: 'is',
|
17
|
-
value: 'equal'
|
18
|
-
},
|
19
|
-
{
|
20
|
-
title: `isn't`,
|
21
|
-
value: 'not-equal'
|
22
|
-
},
|
23
|
-
{
|
24
|
-
title: 'contains',
|
25
|
-
value: 'contains'
|
26
|
-
},
|
27
|
-
{
|
28
|
-
title: 'not contains',
|
29
|
-
value: 'not-contains'
|
30
|
-
},
|
31
|
-
{
|
32
|
-
title: 'start with',
|
33
|
-
value: 'start-with'
|
34
|
-
},
|
35
|
-
{
|
36
|
-
title: 'end with',
|
37
|
-
value: 'end-with'
|
38
|
-
},
|
39
|
-
{
|
40
|
-
title: 'is empty',
|
41
|
-
value: 'is-empty'
|
42
|
-
},
|
43
|
-
{
|
44
|
-
title: `isn't empty`,
|
45
|
-
value: 'is-not-empty'
|
46
|
-
}
|
47
|
-
];
|
48
|
-
}
|
49
|
-
onOperatorChange(e) {
|
50
|
-
this.valueChange.emit();
|
51
|
-
}
|
52
|
-
// TODO: Check this method work correctly
|
53
|
-
onTextChange(e) {
|
54
|
-
if (!this.searchChangeObserver) {
|
55
|
-
return new Observable(observer => {
|
56
|
-
this.searchChangeObserver = observer;
|
57
|
-
})
|
58
|
-
.pipe(debounceTime(500))
|
59
|
-
.pipe(distinctUntilChanged())
|
60
|
-
.subscribe(c => {
|
61
|
-
this.valueChange.emit();
|
62
|
-
});
|
63
|
-
}
|
64
|
-
this.searchChangeObserver.next(e);
|
65
|
-
}
|
66
|
-
get condition() {
|
67
|
-
return {
|
68
|
-
condition: this.operator,
|
69
|
-
field: this.field,
|
70
|
-
dataType: 'string',
|
71
|
-
value: this.value
|
72
|
-
};
|
73
|
-
}
|
74
|
-
}
|
75
|
-
AXFilterColumnStringComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnStringComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
76
|
-
AXFilterColumnStringComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXFilterColumnStringComponent, selector: "ax-filter-column-string", providers: [
|
77
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnStringComponent }
|
78
|
-
], usesInheritance: true, ngImport: i0, template: `
|
79
|
-
<div class="ax-filter-section">
|
80
|
-
<div>
|
81
|
-
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
82
|
-
<option *ngFor="let o of operators" value="{{o.value}}">
|
83
|
-
{{o.title}}
|
84
|
-
</option>
|
85
|
-
</select>
|
86
|
-
</div>
|
87
|
-
<div>
|
88
|
-
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
89
|
-
</ax-text-box>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
`, isInline: true, components: [{ type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }], directives: [{ type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnStringComponent, decorators: [{
|
94
|
-
type: Component,
|
95
|
-
args: [{
|
96
|
-
selector: 'ax-filter-column-string',
|
97
|
-
template: `
|
98
|
-
<div class="ax-filter-section">
|
99
|
-
<div>
|
100
|
-
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
101
|
-
<option *ngFor="let o of operators" value="{{o.value}}">
|
102
|
-
{{o.title}}
|
103
|
-
</option>
|
104
|
-
</select>
|
105
|
-
</div>
|
106
|
-
<div>
|
107
|
-
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
108
|
-
</ax-text-box>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
`,
|
112
|
-
providers: [
|
113
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnStringComponent }
|
114
|
-
]
|
115
|
-
}]
|
116
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, ChangeDetectorRef } from '@angular/core';
|
2
|
+
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
+
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "../../textbox/textbox.component";
|
7
|
+
import * as i2 from "@angular/forms";
|
8
|
+
import * as i3 from "@angular/common";
|
9
|
+
export class AXFilterColumnStringComponent extends AXFilterColumnComponent {
|
10
|
+
constructor(cdr) {
|
11
|
+
super(cdr);
|
12
|
+
this.cdr = cdr;
|
13
|
+
this.operator = 'contains';
|
14
|
+
this.operators = [
|
15
|
+
{
|
16
|
+
title: 'is',
|
17
|
+
value: 'equal'
|
18
|
+
},
|
19
|
+
{
|
20
|
+
title: `isn't`,
|
21
|
+
value: 'not-equal'
|
22
|
+
},
|
23
|
+
{
|
24
|
+
title: 'contains',
|
25
|
+
value: 'contains'
|
26
|
+
},
|
27
|
+
{
|
28
|
+
title: 'not contains',
|
29
|
+
value: 'not-contains'
|
30
|
+
},
|
31
|
+
{
|
32
|
+
title: 'start with',
|
33
|
+
value: 'start-with'
|
34
|
+
},
|
35
|
+
{
|
36
|
+
title: 'end with',
|
37
|
+
value: 'end-with'
|
38
|
+
},
|
39
|
+
{
|
40
|
+
title: 'is empty',
|
41
|
+
value: 'is-empty'
|
42
|
+
},
|
43
|
+
{
|
44
|
+
title: `isn't empty`,
|
45
|
+
value: 'is-not-empty'
|
46
|
+
}
|
47
|
+
];
|
48
|
+
}
|
49
|
+
onOperatorChange(e) {
|
50
|
+
this.valueChange.emit();
|
51
|
+
}
|
52
|
+
// TODO: Check this method work correctly
|
53
|
+
onTextChange(e) {
|
54
|
+
if (!this.searchChangeObserver) {
|
55
|
+
return new Observable(observer => {
|
56
|
+
this.searchChangeObserver = observer;
|
57
|
+
})
|
58
|
+
.pipe(debounceTime(500))
|
59
|
+
.pipe(distinctUntilChanged())
|
60
|
+
.subscribe(c => {
|
61
|
+
this.valueChange.emit();
|
62
|
+
});
|
63
|
+
}
|
64
|
+
this.searchChangeObserver.next(e);
|
65
|
+
}
|
66
|
+
get condition() {
|
67
|
+
return {
|
68
|
+
condition: this.operator,
|
69
|
+
field: this.field,
|
70
|
+
dataType: 'string',
|
71
|
+
value: this.value
|
72
|
+
};
|
73
|
+
}
|
74
|
+
}
|
75
|
+
AXFilterColumnStringComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnStringComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
76
|
+
AXFilterColumnStringComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXFilterColumnStringComponent, selector: "ax-filter-column-string", providers: [
|
77
|
+
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnStringComponent }
|
78
|
+
], usesInheritance: true, ngImport: i0, template: `
|
79
|
+
<div class="ax-filter-section">
|
80
|
+
<div>
|
81
|
+
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
82
|
+
<option *ngFor="let o of operators" value="{{o.value}}">
|
83
|
+
{{o.title}}
|
84
|
+
</option>
|
85
|
+
</select>
|
86
|
+
</div>
|
87
|
+
<div>
|
88
|
+
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
89
|
+
</ax-text-box>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
`, isInline: true, components: [{ type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }], directives: [{ type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXFilterColumnStringComponent, decorators: [{
|
94
|
+
type: Component,
|
95
|
+
args: [{
|
96
|
+
selector: 'ax-filter-column-string',
|
97
|
+
template: `
|
98
|
+
<div class="ax-filter-section">
|
99
|
+
<div>
|
100
|
+
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
101
|
+
<option *ngFor="let o of operators" value="{{o.value}}">
|
102
|
+
{{o.title}}
|
103
|
+
</option>
|
104
|
+
</select>
|
105
|
+
</div>
|
106
|
+
<div>
|
107
|
+
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
108
|
+
</ax-text-box>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
`,
|
112
|
+
providers: [
|
113
|
+
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnStringComponent }
|
114
|
+
]
|
115
|
+
}]
|
116
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWNvbHVtbi1zdHJpbmcuY29tcG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dGxlOiBgaXNuJ3RgLFxuICAgICAgICAgICAgdmFsdWU6ICdub3QtZXF1YWwnXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIHRpdGxlOiAnY29udGFpbnMnLFxuICAgICAgICAgICAgdmFsdWU6ICdjb250YWlucydcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgdGl0bGU6ICdub3QgY29udGFpbnMnLFxuICAgICAgICAgICAgdmFsdWU6ICdub3QtY29udGFpbnMnXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIHRpdGxlOiAnc3RhcnQgd2l0aCcsXG4gICAgICAgICAgICB2YWx1ZTogJ3N0YXJ0LXdpdGgnXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIHRpdGxlOiAnZW5kIHdpdGgnLFxuICAgICAgICAgICAgdmFsdWU6ICdlbmQtd2l0aCdcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgdGl0bGU6ICdpcyBlbXB0eScsXG4gICAgICAgICAgICB2YWx1ZTogJ2lzLWVtcHR5J1xuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICB0aXRsZTogYGlzbid0IGVtcHR5YCxcbiAgICAgICAgICAgIHZhbHVlOiAnaXMtbm90LWVtcHR5J1xuICAgICAgICB9XG4gICAgXTtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBjZHI6IENoYW5nZURldGVjdG9yUmVmKSB7XG4gICAgICAgIHN1cGVyKGNkcik7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBzZWFyY2hDaGFuZ2VPYnNlcnZlcjogYW55O1xuXG4gICAgb25PcGVyYXRvckNoYW5nZShlKSB7XG5cbiAgICAgICAgdGhpcy52YWx1ZUNoYW5nZS5lbWl0KCk7XG5cbiAgICB9XG5cbiAgICAvLyBUT0RPOiBDaGVjayB0aGlzIG1ldGhvZCB3b3JrIGNvcnJlY3RseVxuICAgIG9uVGV4dENoYW5nZShlKSB7XG4gICAgICAgIGlmICghdGhpcy5zZWFyY2hDaGFuZ2VPYnNlcnZlcikge1xuICAgICAgICAgICAgcmV0dXJuIG5ldyBPYnNlcnZhYmxlKG9ic2VydmVyID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnNlYXJjaENoYW5nZU9ic2VydmVyID0gb2JzZXJ2ZXI7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIC5waXBlKGRlYm91bmNlVGltZSg1MDApKVxuICAgICAgICAgICAgICAgIC5waXBlKGRpc3RpbmN0VW50aWxDaGFuZ2VkKCkpXG4gICAgICAgICAgICAgICAgLnN1YnNjcmliZShjID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy52YWx1ZUNoYW5nZS5lbWl0KCk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZWFyY2hDaGFuZ2VPYnNlcnZlci5uZXh0KGUpO1xuICAgIH1cblxuICAgIGdldCBjb25kaXRpb24oKTogQVhGaWx0ZXJDb25kaXRpb24ge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgY29uZGl0aW9uOiB0aGlzLm9wZXJhdG9yLFxuICAgICAgICAgICAgZmllbGQ6IHRoaXMuZmllbGQsXG4gICAgICAgICAgICBkYXRhVHlwZTogJ3N0cmluZycsXG4gICAgICAgICAgICB2YWx1ZTogdGhpcy52YWx1ZVxuICAgICAgICB9XG4gICAgfVxufVxuIl19
|