cmat 0.0.7 → 0.0.8
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/components/adapter/dayjs-datetime-adapter.d.ts +1 -1
- package/components/breadcrumb/breadcrumb.service.d.ts +1 -1
- package/components/card/card.component.d.ts +1 -1
- package/components/cascade/cascade-list/cascade-list.component.d.ts +45 -21
- package/components/chip-input/chip-input.component.d.ts +39 -12
- package/components/custom-formly/extension/addons.extension.d.ts +2 -0
- package/components/custom-formly/index.d.ts +5 -0
- package/components/custom-formly/public-api.d.ts +21 -0
- package/components/custom-formly/types/button/button.component.d.ts +18 -0
- package/components/custom-formly/types/checklist/checklist.component.d.ts +41 -0
- package/components/custom-formly/types/chips/chips.component.d.ts +27 -0
- package/components/custom-formly/types/multicheckbox/multicheckbox.component.d.ts +44 -0
- package/components/custom-formly/types/number/number.component.d.ts +20 -0
- package/components/custom-formly/types/radio/radio.component.d.ts +44 -0
- package/components/custom-formly/types/rating/rating.component.d.ts +24 -0
- package/components/custom-formly/types/repeat/repeat.component.d.ts +16 -0
- package/components/custom-formly/types/select/select.component.d.ts +54 -0
- package/components/custom-formly/types/select-tree/select-tree.component.d.ts +43 -0
- package/components/custom-formly/types/stepper/horizontal/stepper.component.d.ts +9 -0
- package/components/custom-formly/types/stepper/stepper.type.d.ts +6 -0
- package/components/custom-formly/types/stepper/vertical/stepper.component.d.ts +9 -0
- package/components/custom-formly/types/table/table.component.d.ts +43 -0
- package/components/custom-formly/types/tabs/tab.component.d.ts +8 -0
- package/components/custom-formly/types/tags/tags.component.d.ts +41 -0
- package/components/custom-formly/types/textarea/textarea.component.d.ts +13 -0
- package/components/custom-formly/wrappers/addons/addons.component.d.ts +10 -0
- package/components/custom-formly/wrappers/card/card.component.d.ts +6 -0
- package/components/custom-formly/wrappers/expansion/expansion.component.d.ts +6 -0
- package/components/custom-formly/wrappers/panel/panel.component.d.ts +6 -0
- package/components/date-range/date-range.component.d.ts +8 -6
- package/components/drawer/drawer.component.d.ts +2 -2
- package/components/fullscreen/fullscreen.component.d.ts +2 -9
- package/components/fullscreen/public-api.d.ts +0 -1
- package/components/material-color-picker/material-color-picker.component.d.ts +8 -4
- package/components/material-datetimepicker/calendar.d.ts +2 -2
- package/components/material-datetimepicker/clock.d.ts +1 -1
- package/components/material-datetimepicker/datetimepicker-input.d.ts +1 -1
- package/components/material-datetimepicker/datetimepicker-toggle.d.ts +1 -1
- package/components/material-datetimepicker/datetimepicker.d.ts +5 -10
- package/components/material-datetimepicker/month-view.d.ts +1 -2
- package/components/material-datetimepicker/multi-year-view.d.ts +1 -1
- package/components/material-datetimepicker/time.d.ts +2 -2
- package/components/material-datetimepicker/year-view.d.ts +1 -1
- package/components/navigation/horizontal/components/basic/basic.component.d.ts +1 -1
- package/components/navigation/horizontal/components/branch/branch.component.d.ts +1 -1
- package/components/navigation/horizontal/horizontal.component.d.ts +2 -2
- package/components/navigation/vertical/components/aside/aside.component.d.ts +1 -1
- package/components/navigation/vertical/components/basic/basic.component.d.ts +1 -7
- package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +1 -1
- package/components/navigation/vertical/components/group/group.component.d.ts +1 -1
- package/components/navigation/vertical/vertical.component.d.ts +5 -5
- package/components/popover/popover-trigger.d.ts +1 -1
- package/components/popover/popover.component.d.ts +3 -3
- package/components/rating/rating.component.d.ts +38 -9
- package/components/select-search/select-search.component.d.ts +4 -4
- package/components/select-tree/select-tree.component.d.ts +50 -21
- package/components/toast/toast.component.d.ts +4 -4
- package/components/transfer-picker/filter/filter.component.d.ts +1 -1
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +2 -2
- package/components/transfer-picker/transfer-picker.component.d.ts +1 -1
- package/components/upload/files.type.d.ts +22 -0
- package/components/upload/files.util.service.d.ts +20 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/public-api.d.ts +4 -0
- package/components/upload/upload-queue/upload-queue.component.d.ts +39 -0
- package/components/upload/upload.component.d.ts +32 -0
- package/esm2022/animations/public-api.mjs +2 -2
- package/esm2022/components/adapter/dayjs-date-adapter.mjs +6 -6
- package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +5 -5
- package/esm2022/components/adapter/native-datetime-adapter.mjs +3 -3
- package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +3 -3
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
- package/esm2022/components/breadcrumb/breadcrumb.service.mjs +5 -5
- package/esm2022/components/card/card.component.mjs +5 -5
- package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +7 -7
- package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +207 -114
- package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +4 -4
- package/esm2022/components/chip-input/chip-input.component.mjs +152 -49
- package/esm2022/components/custom-formly/cmat-components-custom-formly.mjs +5 -0
- package/esm2022/components/custom-formly/extension/addons.extension.mjs +13 -0
- package/esm2022/components/custom-formly/public-api.mjs +22 -0
- package/esm2022/components/custom-formly/types/button/button.component.mjs +39 -0
- package/esm2022/components/custom-formly/types/checklist/checklist.component.mjs +161 -0
- package/esm2022/components/custom-formly/types/chips/chips.component.mjs +55 -0
- package/esm2022/components/custom-formly/types/multicheckbox/multicheckbox.component.mjs +89 -0
- package/esm2022/components/custom-formly/types/number/number.component.mjs +27 -0
- package/esm2022/components/custom-formly/types/radio/radio.component.mjs +88 -0
- package/esm2022/components/custom-formly/types/rating/rating.component.mjs +27 -0
- package/esm2022/components/custom-formly/types/repeat/repeat.component.mjs +28 -0
- package/esm2022/components/custom-formly/types/select/select.component.mjs +169 -0
- package/esm2022/components/custom-formly/types/select-tree/select-tree.component.mjs +66 -0
- package/esm2022/components/custom-formly/types/stepper/horizontal/stepper.component.mjs +31 -0
- package/esm2022/components/custom-formly/types/stepper/stepper.type.mjs +2 -0
- package/esm2022/components/custom-formly/types/stepper/vertical/stepper.component.mjs +31 -0
- package/esm2022/components/custom-formly/types/table/table.component.mjs +116 -0
- package/esm2022/components/custom-formly/types/tabs/tab.component.mjs +19 -0
- package/esm2022/components/custom-formly/types/tags/tags.component.mjs +149 -0
- package/esm2022/components/custom-formly/types/textarea/textarea.component.mjs +25 -0
- package/esm2022/components/custom-formly/wrappers/addons/addons.component.mjs +92 -0
- package/esm2022/components/custom-formly/wrappers/card/card.component.mjs +14 -0
- package/esm2022/components/custom-formly/wrappers/expansion/expansion.component.mjs +14 -0
- package/esm2022/components/custom-formly/wrappers/panel/panel.component.mjs +12 -0
- package/esm2022/components/date-range/date-range.component.mjs +26 -17
- package/esm2022/components/drawer/drawer.component.mjs +5 -5
- package/esm2022/components/drawer/drawer.service.mjs +3 -3
- package/esm2022/components/fullscreen/fullscreen.component.mjs +16 -73
- package/esm2022/components/fullscreen/public-api.mjs +1 -2
- package/esm2022/components/highlight/highlight.component.mjs +5 -5
- package/esm2022/components/highlight/highlight.service.mjs +3 -3
- package/esm2022/components/json-editor/json-editor.component.mjs +3 -3
- package/esm2022/components/masonry/masonry.component.mjs +5 -5
- package/esm2022/components/material-color-picker/material-color-picker.component.mjs +22 -12
- package/esm2022/components/material-datetimepicker/calendar-body.mjs +3 -3
- package/esm2022/components/material-datetimepicker/calendar.mjs +11 -12
- package/esm2022/components/material-datetimepicker/clock.mjs +5 -5
- package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +4 -5
- package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +3 -3
- package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +9 -9
- package/esm2022/components/material-datetimepicker/datetimepicker.mjs +17 -22
- package/esm2022/components/material-datetimepicker/month-view.mjs +5 -6
- package/esm2022/components/material-datetimepicker/multi-year-view.mjs +7 -8
- package/esm2022/components/material-datetimepicker/time.mjs +8 -8
- package/esm2022/components/material-datetimepicker/year-view.mjs +7 -8
- package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +8 -8
- package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +8 -8
- package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +5 -5
- package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +6 -6
- package/esm2022/components/navigation/horizontal/horizontal.component.mjs +6 -6
- package/esm2022/components/navigation/navigation.service.mjs +3 -3
- package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +11 -11
- package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +7 -24
- package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +10 -10
- package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +5 -5
- package/esm2022/components/navigation/vertical/components/group/group.component.mjs +9 -9
- package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +6 -6
- package/esm2022/components/navigation/vertical/vertical.component.mjs +11 -11
- package/esm2022/components/pagination/pagination.component.mjs +10 -10
- package/esm2022/components/pagination/pagination.directive.mjs +4 -4
- package/esm2022/components/pagination/pagination.pipe.mjs +4 -4
- package/esm2022/components/pagination/pagination.service.mjs +3 -3
- package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +6 -6
- package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +5 -5
- package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +6 -6
- package/esm2022/components/popover/popover-trigger.mjs +5 -5
- package/esm2022/components/popover/popover.component.mjs +8 -9
- package/esm2022/components/popover/popover.target.mjs +3 -3
- package/esm2022/components/progress-bar/progress-bar.component.mjs +6 -6
- package/esm2022/components/rating/rating.component.mjs +122 -23
- package/esm2022/components/select-search/select-no-entries-found.directive.mjs +3 -3
- package/esm2022/components/select-search/select-search-clear.directive.mjs +3 -3
- package/esm2022/components/select-search/select-search.component.mjs +15 -15
- package/esm2022/components/select-tree/select-tree.component.mjs +281 -157
- package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +9 -9
- package/esm2022/components/timeline/timeline.component.mjs +5 -5
- package/esm2022/components/toast/toast-modal.component.mjs +5 -5
- package/esm2022/components/toast/toast.component.mjs +6 -6
- package/esm2022/components/toast/toast.service.mjs +3 -3
- package/esm2022/components/transfer-picker/filter/filter.component.mjs +9 -9
- package/esm2022/components/transfer-picker/search/search.component.mjs +6 -6
- package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +11 -11
- package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +5 -5
- package/esm2022/components/transfer-picker/transfer-picker.component.mjs +7 -7
- package/esm2022/components/transfer-picker/transfer-picker.service.mjs +4 -4
- package/esm2022/components/upload/cmat-components-upload.mjs +5 -0
- package/esm2022/components/upload/files.type.mjs +2 -0
- package/esm2022/components/upload/files.util.service.mjs +100 -0
- package/esm2022/components/upload/public-api.mjs +5 -0
- package/esm2022/components/upload/upload-queue/upload-queue.component.mjs +154 -0
- package/esm2022/components/upload/upload.component.mjs +118 -0
- package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +3 -3
- package/esm2022/directives/animate-on-scroll/scroll.service.mjs +3 -3
- package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -3
- package/esm2022/directives/debounce/abstract-debounce.directive.mjs +3 -3
- package/esm2022/directives/debounce/debounce-click.directive.mjs +3 -3
- package/esm2022/directives/debounce/debounce-keyup.directive.mjs +3 -3
- package/esm2022/directives/digit-only/digit-only.directive.mjs +3 -3
- package/esm2022/directives/digit-only/mask.directive.mjs +3 -3
- package/esm2022/directives/equal-validator/equal-validator.directive.mjs +3 -3
- package/esm2022/lib/mock-api/mock-api.interceptor.mjs +5 -5
- package/esm2022/lib/mock-api/mock-api.service.mjs +3 -3
- package/esm2022/pipes/bytes/bytes.pipe.mjs +3 -3
- package/esm2022/pipes/date-format/date-format.pipe.mjs +3 -3
- package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +3 -3
- package/esm2022/pipes/group-by/group-by.pipe.mjs +3 -3
- package/esm2022/pipes/keys/keys.pipe.mjs +3 -3
- package/esm2022/pipes/secure/secure-pipe.mjs +5 -5
- package/esm2022/pipes/uppercase/uppercase.pipe.mjs +3 -3
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/services/alert/alert.service.mjs +7 -7
- package/esm2022/services/alert/enum.mjs +2 -2
- package/esm2022/services/config/config.service.mjs +5 -5
- package/esm2022/services/config/urlStateConfig.service.mjs +5 -5
- package/esm2022/services/confirmation/confirmation.service.mjs +5 -5
- package/esm2022/services/confirmation/dialog/dialog.component.mjs +7 -7
- package/esm2022/services/data/data.service.mjs +5 -5
- package/esm2022/services/loading/loading.interceptor.mjs +4 -4
- package/esm2022/services/loading/loading.service.mjs +3 -3
- package/esm2022/services/local-storage/local-storage.service.mjs +3 -3
- package/esm2022/services/media-watcher/media-watcher.service.mjs +5 -5
- package/esm2022/services/platform/platform.service.mjs +4 -4
- package/esm2022/services/splash-screen/splash-screen.service.mjs +6 -6
- package/esm2022/services/title/title.service.mjs +4 -4
- package/esm2022/services/translation/translation.service.mjs +3 -3
- package/esm2022/services/utils/utils.service.mjs +54 -9
- package/fesm2022/cmat-animations.mjs +15 -15
- package/fesm2022/cmat-animations.mjs.map +1 -1
- package/fesm2022/cmat-components-adapter.mjs +11 -11
- package/fesm2022/cmat-components-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +11 -11
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +4 -4
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +215 -123
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +153 -50
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +1141 -0
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -0
- package/fesm2022/cmat-components-date-range.mjs +27 -18
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +8 -8
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +16 -73
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +7 -7
- package/fesm2022/cmat-components-highlight.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +3 -3
- package/fesm2022/cmat-components-masonry.mjs +4 -4
- package/fesm2022/cmat-components-masonry.mjs.map +1 -1
- package/fesm2022/cmat-components-material-color-picker.mjs +21 -11
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +189 -195
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +166 -183
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +20 -20
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +13 -13
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +13 -14
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +6 -6
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +121 -22
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +41 -41
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +281 -157
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +12 -12
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +12 -12
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +33 -33
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +366 -0
- package/fesm2022/cmat-components-upload.mjs.map +1 -0
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-debounce.mjs +9 -9
- package/fesm2022/cmat-directives-digit-only.mjs +6 -6
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-lib-mock-api.mjs +6 -6
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +4 -4
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-services-alert.mjs +6 -6
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- package/fesm2022/cmat-services-config.mjs +7 -7
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +11 -11
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +5 -5
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-loading.mjs.map +1 -1
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +4 -4
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
- package/fesm2022/cmat-services-platform.mjs +3 -3
- package/fesm2022/cmat-services-platform.mjs.map +1 -1
- package/fesm2022/cmat-services-splash-screen.mjs +5 -5
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +3 -3
- package/fesm2022/cmat-services-title.mjs.map +1 -1
- package/fesm2022/cmat-services-translation.mjs +3 -3
- package/fesm2022/cmat-services-utils.mjs +53 -8
- package/fesm2022/cmat-services-utils.mjs.map +1 -1
- package/package.json +19 -7
- package/pipes/secure/secure-pipe.d.ts +1 -1
- package/services/alert/enum.d.ts +1 -1
- package/services/confirmation/confirmation.service.d.ts +1 -1
- package/services/data/data.service.d.ts +1 -1
- package/services/media-watcher/media-watcher.service.d.ts +1 -1
- package/services/title/title.service.d.ts +1 -1
- package/services/utils/utils.service.d.ts +1 -0
- package/styles/components/bundle.scss +18 -5
- package/styles/overrides/angular-material.scss +51 -52
- package/styles/tailwind.scss +2 -8
- package/styles/themes.scss +7 -7
- package/styles/user-themes.scss +1 -1
- package/tailwind/plugins/utilities.js +1 -1
- package/components/fullscreen/fullscreen.types.d.ts +0 -13
- package/esm2022/components/fullscreen/fullscreen.types.mjs +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateAdapter } from '@angular/material/core';
|
|
2
|
-
import { DatetimeAdapter } from './datetime-adapter';
|
|
3
2
|
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { DatetimeAdapter } from './datetime-adapter';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DayjsDatetimeAdapter extends DatetimeAdapter<Dayjs> {
|
|
6
6
|
private _localeData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
import { CmatBreadcrumb } from './types/breadcrumb';
|
|
5
5
|
import { CmatBreadcrumbObject } from './types/breadcrumb.config';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { CmatCardFace } from './card.types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CmatCardComponent implements OnChanges {
|
|
@@ -1,55 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
-
import { MatBottomSheet, MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
5
|
-
import { CmatCascadeOptionsInterface } from '../options.interface';
|
|
6
3
|
import { CdkOverlayOrigin, Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
7
4
|
import { CdkPortal } from '@angular/cdk/portal';
|
|
5
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
|
+
import { MatBottomSheet, MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
8
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
9
|
+
import { Subject } from 'rxjs';
|
|
10
|
+
import { CmatCascadeOptionsInterface } from '../options.interface';
|
|
8
11
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class CmatCascadeListComponent implements OnDestroy, OnInit, OnChanges, ControlValueAccessor {
|
|
12
|
+
export declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDestroy, OnInit, OnChanges, ControlValueAccessor {
|
|
13
|
+
ngControl: NgControl;
|
|
10
14
|
private _overlay;
|
|
11
15
|
private _breakpointObserver;
|
|
12
16
|
private _bottomSheet;
|
|
17
|
+
private _changeDetectorRef;
|
|
13
18
|
id: string;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
label: string;
|
|
17
19
|
options: Array<CmatCascadeOptionsInterface>;
|
|
18
20
|
clearable: boolean;
|
|
19
21
|
fullLevels: boolean;
|
|
20
22
|
changeOnSelect: boolean;
|
|
21
|
-
model: Array<string>;
|
|
22
|
-
modelChange: EventEmitter<any>;
|
|
23
23
|
overlayOrigin: CdkOverlayOrigin;
|
|
24
24
|
menuTemplate: CdkPortal;
|
|
25
|
+
private _inputElement;
|
|
25
26
|
overlayRef: OverlayRef;
|
|
26
27
|
bottomSheetRef: MatBottomSheetRef;
|
|
27
28
|
steps: Array<any>;
|
|
28
29
|
menuVisible: boolean;
|
|
29
30
|
currentLabels: Array<CmatCascadeOptionsInterface>;
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
readonly stateChanges: Subject<void>;
|
|
32
|
+
focused: boolean;
|
|
33
|
+
touched: boolean;
|
|
34
|
+
controlType: string;
|
|
32
35
|
private _unsubscribeAll;
|
|
33
|
-
constructor(_overlay: Overlay, _breakpointObserver: BreakpointObserver, _bottomSheet: MatBottomSheet);
|
|
36
|
+
constructor(ngControl: NgControl, _overlay: Overlay, _breakpointObserver: BreakpointObserver, _bottomSheet: MatBottomSheet, _changeDetectorRef: ChangeDetectorRef);
|
|
37
|
+
private _touchUi;
|
|
34
38
|
get touchUi(): boolean;
|
|
35
39
|
set touchUi(value: boolean);
|
|
40
|
+
get placeholder(): string;
|
|
41
|
+
set placeholder(value: string);
|
|
42
|
+
private _placeholder;
|
|
43
|
+
get value(): any;
|
|
44
|
+
set value(value: any);
|
|
45
|
+
protected _value: any;
|
|
46
|
+
get empty(): boolean;
|
|
47
|
+
get errorState(): boolean;
|
|
48
|
+
get shouldLabelFloat(): boolean;
|
|
49
|
+
get required(): boolean;
|
|
50
|
+
set required(value: any);
|
|
51
|
+
protected _required: boolean;
|
|
52
|
+
get disabled(): boolean;
|
|
53
|
+
set disabled(value: BooleanInput);
|
|
54
|
+
protected _disabled: boolean;
|
|
36
55
|
onTouched: () => any;
|
|
37
|
-
controlChange: () => any;
|
|
56
|
+
controlChange: (value: any[] | null) => any;
|
|
38
57
|
ngOnInit(): void;
|
|
39
58
|
ngOnChanges(changes: SimpleChanges): void;
|
|
40
59
|
ngOnDestroy(): void;
|
|
41
60
|
writeValue(value: any): void;
|
|
42
61
|
registerOnChange(fn: any): void;
|
|
43
62
|
registerOnTouched(fn: any): void;
|
|
63
|
+
setDisabledState(isDisabled: boolean): void;
|
|
64
|
+
setDescribedByIds(ids: string[]): void;
|
|
65
|
+
onContainerClick(): void;
|
|
44
66
|
clickHandle(event: MouseEvent): void;
|
|
45
|
-
|
|
46
|
-
clearValue(isFirst: boolean, event?: Event): void;
|
|
47
|
-
initSteps(index: number, options: CmatCascadeOptionsInterface[]): void;
|
|
48
|
-
selectHandle(event: Event, step: number, index: number): any;
|
|
67
|
+
clearValue(event?: Event): void;
|
|
49
68
|
showClearIcon(): boolean;
|
|
50
|
-
|
|
69
|
+
selectHandle(event: Event, step: number, index: number): any;
|
|
70
|
+
onFocusIn(): void;
|
|
71
|
+
onFocusOut(event: FocusEvent): void;
|
|
72
|
+
private _initSteps;
|
|
73
|
+
private _changeLabels;
|
|
74
|
+
private _openBottomSheet;
|
|
51
75
|
private _init;
|
|
52
76
|
private _setInputValue;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeListComponent,
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], { "id": { "alias": "id"; "required": false; }; "
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeListComponent, [{ optional: true; self: true; }, null, null, null, null]>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": true; }; "clearable": { "alias": "clearable"; "required": false; }; "fullLevels": { "alias": "fullLevels"; "required": false; }; "changeOnSelect": { "alias": "changeOnSelect"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
55
79
|
}
|
|
@@ -1,36 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
4
|
+
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
5
5
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
6
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
7
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CmatChipInputComponent implements ControlValueAccessor, OnDestroy {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export declare class CmatChipInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy {
|
|
10
|
+
ngControl: NgControl;
|
|
11
|
+
id: string;
|
|
12
|
+
private _inputElementRef;
|
|
10
13
|
selectableOptions: string[];
|
|
11
14
|
hasAutocomplete: boolean;
|
|
12
15
|
outputIsString: boolean;
|
|
13
16
|
separatorKey: string;
|
|
14
|
-
hasPrefixIcon: boolean;
|
|
15
|
-
prefixIcon: string;
|
|
16
17
|
inputControl: FormControl<string | null>;
|
|
17
18
|
filteredOptions$: Observable<string[] | null>;
|
|
18
19
|
selectedOptions$: BehaviorSubject<any>;
|
|
19
20
|
separatorKeysCodes: number[];
|
|
21
|
+
readonly stateChanges: Subject<void>;
|
|
22
|
+
focused: boolean;
|
|
23
|
+
touched: boolean;
|
|
24
|
+
controlType: string;
|
|
25
|
+
autocompleteOptionActive: boolean;
|
|
20
26
|
private readonly _maxFilteredItems;
|
|
21
27
|
private _unsubscribeAll;
|
|
22
|
-
constructor();
|
|
28
|
+
constructor(ngControl: NgControl);
|
|
23
29
|
ngOnDestroy(): void;
|
|
30
|
+
get placeholder(): string;
|
|
31
|
+
set placeholder(value: string);
|
|
32
|
+
private _placeholder;
|
|
33
|
+
get value(): any;
|
|
34
|
+
set value(value: any);
|
|
35
|
+
protected _value: any;
|
|
36
|
+
get empty(): boolean;
|
|
37
|
+
get errorState(): boolean;
|
|
38
|
+
get shouldLabelFloat(): boolean;
|
|
39
|
+
get required(): boolean;
|
|
40
|
+
set required(value: any);
|
|
41
|
+
protected _required: boolean;
|
|
42
|
+
get disabled(): boolean;
|
|
43
|
+
set disabled(value: BooleanInput);
|
|
44
|
+
protected _disabled: boolean;
|
|
24
45
|
registerOnChange(fn: any): void;
|
|
25
46
|
registerOnTouched(fn: any): void;
|
|
26
47
|
writeValue(value: any): void;
|
|
48
|
+
setDisabledState(isDisabled: boolean): void;
|
|
49
|
+
setDescribedByIds(ids: string[]): void;
|
|
50
|
+
onContainerClick(): void;
|
|
27
51
|
onAdd(event: MatChipInputEvent): void;
|
|
28
52
|
onRemove(option: string): void;
|
|
29
53
|
onSelected(event: MatAutocompleteSelectedEvent): void;
|
|
30
54
|
trackByFn(index: number): any;
|
|
55
|
+
onFocusIn(): void;
|
|
56
|
+
onFocusOut(event: FocusEvent): void;
|
|
57
|
+
onActivated(event: MatAutocompleteActivatedEvent): void;
|
|
31
58
|
private _onModelChange;
|
|
32
59
|
private _onTouchedChange;
|
|
33
60
|
private _filter;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatChipInputComponent,
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], { "
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatChipInputComponent, [{ optional: true; self: true; }]>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], { "id": { "alias": "id"; "required": false; }; "selectableOptions": { "alias": "selectableOptions"; "required": false; }; "hasAutocomplete": { "alias": "hasAutocomplete"; "required": false; }; "outputIsString": { "alias": "outputIsString"; "required": false; }; "separatorKey": { "alias": "separatorKey"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
63
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './extension/addons.extension';
|
|
2
|
+
export * from './wrappers/addons/addons.component';
|
|
3
|
+
export * from './wrappers/card/card.component';
|
|
4
|
+
export * from './wrappers/expansion/expansion.component';
|
|
5
|
+
export * from './wrappers/panel/panel.component';
|
|
6
|
+
export * from './types/button/button.component';
|
|
7
|
+
export * from './types/checklist/checklist.component';
|
|
8
|
+
export * from './types/chips/chips.component';
|
|
9
|
+
export * from './types/multicheckbox/multicheckbox.component';
|
|
10
|
+
export * from './types/number/number.component';
|
|
11
|
+
export * from './types/rating/rating.component';
|
|
12
|
+
export * from './types/radio/radio.component';
|
|
13
|
+
export * from './types/repeat/repeat.component';
|
|
14
|
+
export * from './types/select/select.component';
|
|
15
|
+
export * from './types/select-tree/select-tree.component';
|
|
16
|
+
export * from './types/stepper/horizontal/stepper.component';
|
|
17
|
+
export * from './types/stepper/vertical/stepper.component';
|
|
18
|
+
export * from './types/table/table.component';
|
|
19
|
+
export * from './types/tabs/tab.component';
|
|
20
|
+
export * from './types/tags/tags.component';
|
|
21
|
+
export * from './types/textarea/textarea.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface ButtonProps extends FormlyFieldProps {
|
|
5
|
+
color?: 'primary' | 'accent' | 'warn';
|
|
6
|
+
onClick?: any;
|
|
7
|
+
}
|
|
8
|
+
export declare class CmatButtonTypeComponent extends FieldType<FieldTypeConfig<ButtonProps>> {
|
|
9
|
+
defaultOptions: {
|
|
10
|
+
props: {
|
|
11
|
+
color: "primary";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
onClick($event: Event): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatButtonTypeComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatButtonTypeComponent, "cmat-button-type", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface CheckListProps extends FormlyFieldProps {
|
|
8
|
+
showAllCheck: boolean;
|
|
9
|
+
controlMaxHeight: boolean;
|
|
10
|
+
domain?: {
|
|
11
|
+
url?: string;
|
|
12
|
+
code?: string;
|
|
13
|
+
key?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare class CmatCheckListTypeComponent extends FieldType<FieldTypeConfig<CheckListProps>> implements OnInit, OnDestroy {
|
|
18
|
+
private _http;
|
|
19
|
+
isIndeterminate: boolean;
|
|
20
|
+
isChecked: boolean;
|
|
21
|
+
urlData: [];
|
|
22
|
+
optionsData: any[];
|
|
23
|
+
checklist: any[];
|
|
24
|
+
filteredData: any[];
|
|
25
|
+
private _filteredItems;
|
|
26
|
+
private _unsubscribeAll;
|
|
27
|
+
constructor(_http: HttpClient);
|
|
28
|
+
get filteredItems$(): Observable<any[] | null>;
|
|
29
|
+
get datas(): any[];
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
trackByFn(index: number, item: any): any;
|
|
33
|
+
filterByQuery(event: any): void;
|
|
34
|
+
toggleCheckList(data: any, event: any): void;
|
|
35
|
+
allCheckChange(check: boolean): void;
|
|
36
|
+
isCheck(data: any): boolean;
|
|
37
|
+
private _getAllCheckCountState;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCheckListTypeComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCheckListTypeComponent, "cmat-checklist-type", never, {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface ChipsInputProps extends FormlyFieldProps {
|
|
7
|
+
hasAutocomplete?: boolean;
|
|
8
|
+
autocompleteText?: string;
|
|
9
|
+
domain?: {
|
|
10
|
+
url?: string;
|
|
11
|
+
code?: string;
|
|
12
|
+
key?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare class CmatChipsInputTypeComponent extends FieldType<FieldTypeConfig<ChipsInputProps>> implements OnInit, OnDestroy {
|
|
17
|
+
private _http;
|
|
18
|
+
autocompleteUrlData: [];
|
|
19
|
+
private _unsubscribeAll;
|
|
20
|
+
constructor(_http: HttpClient);
|
|
21
|
+
get autocompleteText(): string[];
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatChipsInputTypeComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatChipsInputTypeComponent, "cmat-chips-input-type", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { QueryList, Type, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { MatCheckbox } from '@angular/material/checkbox';
|
|
4
|
+
import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface MultiCheckboxProps extends FormlyFieldProps {
|
|
9
|
+
labelPosition: 'before' | 'after';
|
|
10
|
+
domain?: {
|
|
11
|
+
url?: string;
|
|
12
|
+
code?: string;
|
|
13
|
+
key?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
|
|
18
|
+
type: 'multicheckbox' | Type<CmatMultiCheckboxTypeComponent>;
|
|
19
|
+
}
|
|
20
|
+
export declare class CmatMultiCheckboxTypeComponent extends FieldType<FieldTypeConfig<MultiCheckboxProps>> implements OnInit, OnDestroy {
|
|
21
|
+
private _http;
|
|
22
|
+
checkboxes: QueryList<MatCheckbox>;
|
|
23
|
+
defaultOptions: {
|
|
24
|
+
props: {
|
|
25
|
+
hideFieldUnderline: boolean;
|
|
26
|
+
floatLabel: "always";
|
|
27
|
+
color: "accent";
|
|
28
|
+
labelPosition: "after";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
private _urlData;
|
|
32
|
+
private _unsubscribeAll;
|
|
33
|
+
constructor(_http: HttpClient);
|
|
34
|
+
get urlData$(): Observable<any[]>;
|
|
35
|
+
onChange(value: any, checked: boolean): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
onContainerClick(): void;
|
|
39
|
+
isChecked(option: any): any;
|
|
40
|
+
trackByFn(index: number): any;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatMultiCheckboxTypeComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatMultiCheckboxTypeComponent, "cmat-multicheckbox-type", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface NumberProps extends FormlyFieldProps {
|
|
5
|
+
decimal: boolean;
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
}
|
|
9
|
+
export declare class CmatNumberTypeComponent extends FieldType<FieldTypeConfig<NumberProps>> {
|
|
10
|
+
defaultOptions: {
|
|
11
|
+
props: {
|
|
12
|
+
decimal: boolean;
|
|
13
|
+
min: number;
|
|
14
|
+
max: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatNumberTypeComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatNumberTypeComponent, "cmat-number-type", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AfterViewInit, OnDestroy, Type, OnInit } from '@angular/core';
|
|
3
|
+
import { MatRadioGroup } from '@angular/material/radio';
|
|
4
|
+
import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface RadioProps extends FormlyFieldProps {
|
|
9
|
+
labelPosition: 'before' | 'after';
|
|
10
|
+
domain?: {
|
|
11
|
+
url?: string;
|
|
12
|
+
code?: string;
|
|
13
|
+
key?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
18
|
+
type: 'radio' | Type<CmatRadioTypeComponent>;
|
|
19
|
+
}
|
|
20
|
+
export declare class CmatRadioTypeComponent extends FieldType<FieldTypeConfig<RadioProps>> implements OnInit, AfterViewInit, OnDestroy {
|
|
21
|
+
private _http;
|
|
22
|
+
radioGroup: MatRadioGroup;
|
|
23
|
+
defaultOptions: {
|
|
24
|
+
props: {
|
|
25
|
+
hideFieldUnderline: boolean;
|
|
26
|
+
floatLabel: "always";
|
|
27
|
+
tabindex: number;
|
|
28
|
+
labelPosition: "after";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
private focusObserver;
|
|
32
|
+
private _urlData;
|
|
33
|
+
private _unsubscribeAll;
|
|
34
|
+
constructor(_http: HttpClient);
|
|
35
|
+
get urlData$(): Observable<any[]>;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
onContainerClick(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
trackByFn(index: number): any;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatRadioTypeComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatRadioTypeComponent, "cmat-radio-type", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface RatingProps extends FormlyFieldProps {
|
|
5
|
+
stars: number;
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
hover: boolean;
|
|
8
|
+
half: boolean;
|
|
9
|
+
customColor?: string;
|
|
10
|
+
showMode?: 'horizontal' | 'vertical';
|
|
11
|
+
}
|
|
12
|
+
export declare class CmatRatingTypeComponent extends FieldType<FieldTypeConfig<RatingProps>> {
|
|
13
|
+
defaultOptions: {
|
|
14
|
+
props: {
|
|
15
|
+
stars: number;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
hover: boolean;
|
|
18
|
+
half: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatRatingTypeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatRatingTypeComponent, "cmat-rating-type", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FieldArrayType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface RepeatProps extends FormlyFieldProps {
|
|
4
|
+
addText: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class CmatRepeatTypeComponent extends FieldArrayType<FieldTypeConfig<RepeatProps>> {
|
|
7
|
+
defaultOptions: {
|
|
8
|
+
props: {
|
|
9
|
+
addText: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
trackByFn(index: number): any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatRepeatTypeComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatRepeatTypeComponent, "cmat-repeat-type", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
5
|
+
import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
6
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
7
|
+
import { ReplaySubject } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
disableOptionCentering?: boolean;
|
|
12
|
+
typeaheadDebounceInterval?: number;
|
|
13
|
+
search: boolean;
|
|
14
|
+
canNull: boolean;
|
|
15
|
+
showToggleAllCheckbox: boolean;
|
|
16
|
+
domain?: {
|
|
17
|
+
url?: string;
|
|
18
|
+
code?: string;
|
|
19
|
+
key?: string;
|
|
20
|
+
value?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export declare class CmatSelectTypeComponent extends FieldType<FieldTypeConfig<SelectProps>> implements OnInit, OnDestroy {
|
|
24
|
+
private _http;
|
|
25
|
+
defaultOptions: {
|
|
26
|
+
props: {
|
|
27
|
+
search: boolean;
|
|
28
|
+
canNull: boolean;
|
|
29
|
+
showToggleAllCheckbox: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
optionsData: any[];
|
|
33
|
+
filteredCustomDetails: ReplaySubject<any[]>;
|
|
34
|
+
filteredCache: any[];
|
|
35
|
+
isIndeterminate: boolean;
|
|
36
|
+
isChecked: boolean;
|
|
37
|
+
multiFilterCtrl: FormControl;
|
|
38
|
+
private _urlData;
|
|
39
|
+
private _unsubscribeAll;
|
|
40
|
+
constructor(_http: HttpClient);
|
|
41
|
+
get datas(): any[];
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
getAriaLabelledby(): string;
|
|
45
|
+
getAriaLabel(): string;
|
|
46
|
+
toggleSelectAll(selectAllValue: boolean): void;
|
|
47
|
+
filterMulti(): void;
|
|
48
|
+
setToggleAllCheckboxState(): void;
|
|
49
|
+
trackByFn(index: number): any;
|
|
50
|
+
compareWithFn(o1: any, o2: any): boolean;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTypeComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTypeComponent, "cmat-select-search-type", never, {}, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
5
|
+
import { FieldType } from '@ngx-formly/material';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/material/form-field';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface SelectTreeProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
search: boolean;
|
|
11
|
+
canNull: boolean;
|
|
12
|
+
showToggleAllCheckbox: boolean;
|
|
13
|
+
expandable: boolean;
|
|
14
|
+
customTriggerLabelTemplate: string;
|
|
15
|
+
domain?: {
|
|
16
|
+
url?: string;
|
|
17
|
+
code?: string;
|
|
18
|
+
key?: string;
|
|
19
|
+
value?: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare class CmatSelectTreeTypeComponent extends FieldType<FieldTypeConfig<SelectTreeProps>> implements OnInit, OnDestroy {
|
|
23
|
+
private _http;
|
|
24
|
+
private _changeDetectorRef;
|
|
25
|
+
defaultOptions: {
|
|
26
|
+
props: {
|
|
27
|
+
multiple: boolean;
|
|
28
|
+
search: boolean;
|
|
29
|
+
canNull: boolean;
|
|
30
|
+
showToggleAllCheckbox: boolean;
|
|
31
|
+
expandable: boolean;
|
|
32
|
+
customTriggerLabelTemplate: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
urlData: [];
|
|
36
|
+
private _unsubscribeAll;
|
|
37
|
+
constructor(_http: HttpClient, _changeDetectorRef: ChangeDetectorRef);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeTypeComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTreeTypeComponent, "cmat-select-tree-type", never, {}, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { StepperProps } from '../stepper.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CmatStepperHorizontalTypeComponent extends FieldType<FieldTypeConfig<StepperProps>> {
|
|
5
|
+
isValid(field: FormlyFieldConfig): boolean;
|
|
6
|
+
trackByFn(index: number): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatStepperHorizontalTypeComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatStepperHorizontalTypeComponent, "cmat-stepper-horizontal-type", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import { StepperProps } from '../stepper.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CmatStepperVerticalTypeComponent extends FieldType<FieldTypeConfig<StepperProps>> {
|
|
5
|
+
isValid(field: FormlyFieldConfig): boolean;
|
|
6
|
+
trackByFn(index: number): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatStepperVerticalTypeComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatStepperVerticalTypeComponent, "cmat-stepper-vertical-type", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|