cmat 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/index.d.ts +5 -5
- package/components/adapter/index.d.ts +188 -5
- package/components/breadcrumb/index.d.ts +245 -3
- package/components/card/index.d.ts +20 -5
- package/components/carousel/index.d.ts +177 -5
- package/components/cascade/index.d.ts +102 -5
- package/components/chip-input/index.d.ts +65 -5
- package/components/custom-formly/index.d.ts +677 -5
- package/components/date-range/index.d.ts +140 -5
- package/components/drawer/index.d.ts +105 -5
- package/components/fullscreen/index.d.ts +14 -5
- package/components/highlight/index.d.ts +30 -5
- package/components/image-viewer/index.d.ts +79 -5
- package/components/json-editor/index.d.ts +28 -5
- package/components/knob-input/index.d.ts +98 -5
- package/components/masonry/index.d.ts +16 -5
- package/components/material-color-picker/index.d.ts +46 -5
- package/components/material-datetimepicker/index.d.ts +756 -3
- package/components/navigation/index.d.ts +320 -5
- package/components/opt-input/index.d.ts +87 -5
- package/components/org-chart/index.d.ts +38 -5
- package/components/pagination/index.d.ts +122 -5
- package/components/password-strength/index.d.ts +92 -5
- package/components/popover/index.d.ts +292 -3
- package/components/progress-bar/index.d.ts +21 -5
- package/components/rating/index.d.ts +61 -5
- package/components/select-search/index.d.ts +109 -5
- package/components/select-table/index.d.ts +120 -5
- package/components/select-tree/index.d.ts +119 -5
- package/components/speed-dial/index.d.ts +67 -5
- package/components/timeline/index.d.ts +57 -5
- package/components/toast/index.d.ts +86 -5
- package/components/transfer-picker/index.d.ts +189 -3
- package/components/treetable/index.d.ts +44 -5
- package/components/upload/index.d.ts +115 -5
- package/components/x6-angular-shape/index.d.ts +43 -5
- package/directives/animate-on-scroll/index.d.ts +45 -5
- package/directives/arrow-cursor/index.d.ts +34 -5
- package/directives/autofocus/index.d.ts +11 -5
- package/directives/data-exporter/index.d.ts +54 -5
- package/directives/debounce/index.d.ts +32 -5
- package/directives/digit-only/index.d.ts +54 -5
- package/directives/equal-validator/index.d.ts +15 -5
- package/fesm2022/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-breadcrumb.mjs +9 -9
- package/fesm2022/cmat-components-card.mjs +3 -3
- package/fesm2022/cmat-components-carousel.mjs +21 -23
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +9 -9
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +4 -4
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +96 -96
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +5 -5
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +6 -6
- package/fesm2022/cmat-components-fullscreen.mjs +5 -5
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +6 -6
- package/fesm2022/cmat-components-image-viewer.mjs +5 -5
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +3 -3
- package/fesm2022/cmat-components-knob-input.mjs +5 -5
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +3 -3
- package/fesm2022/cmat-components-material-color-picker.mjs +3 -3
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +45 -47
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +46 -46
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +7 -7
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +9 -9
- package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +14 -18
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +15 -15
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +9 -9
- package/fesm2022/cmat-components-progress-bar.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs +3 -3
- package/fesm2022/cmat-components-select-search.mjs +10 -10
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-table.mjs +3 -3
- package/fesm2022/cmat-components-select-tree.mjs +3 -3
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +13 -16
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +12 -12
- package/fesm2022/cmat-components-toast.mjs +9 -9
- package/fesm2022/cmat-components-transfer-picker.mjs +20 -20
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +6 -6
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +10 -10
- package/fesm2022/cmat-components-upload.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
- package/fesm2022/cmat-directives-arrow-cursor.mjs +4 -5
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +22 -24
- package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
- 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-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 +3 -3
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-services-alert.mjs +7 -16
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +3 -3
- package/fesm2022/cmat-services-export-as.mjs +3 -3
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +3 -3
- package/fesm2022/cmat-services-platform.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +4 -5
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +3 -3
- package/fesm2022/cmat-services-translation.mjs +3 -3
- package/fesm2022/cmat-services-utils.mjs +5 -5
- package/fesm2022/cmat-services-utils.mjs.map +1 -1
- package/index.d.ts +2 -5
- package/lib/mock-api/index.d.ts +61 -5
- package/package.json +51 -51
- package/pipes/bytes/index.d.ts +10 -5
- package/pipes/date-format/index.d.ts +10 -5
- package/pipes/find-by-key/index.d.ts +10 -5
- package/pipes/group-by/index.d.ts +10 -5
- package/pipes/keys/index.d.ts +10 -5
- package/pipes/secure/index.d.ts +21 -5
- package/pipes/uppercase/index.d.ts +10 -5
- package/services/alert/index.d.ts +69 -5
- package/services/config/index.d.ts +30 -5
- package/services/confirmation/index.d.ts +44 -5
- package/services/data/index.d.ts +23 -5
- package/services/export-as/index.d.ts +55 -5
- package/services/loading/index.d.ts +36 -5
- package/services/local-storage/index.d.ts +11 -5
- package/services/media-watcher/index.d.ts +23 -5
- package/services/platform/index.d.ts +12 -5
- package/services/splash-screen/index.d.ts +17 -5
- package/services/title/index.d.ts +16 -5
- package/services/translation/index.d.ts +23 -5
- package/services/utils/index.d.ts +63 -5
- package/styles/themes.scss +2 -1
- package/validators/index.d.ts +8 -5
- package/version/index.d.ts +11 -5
- package/animations/defaults.d.ts +0 -11
- package/animations/dropdown.d.ts +0 -2
- package/animations/expand-collapse.d.ts +0 -2
- package/animations/fade.d.ts +0 -11
- package/animations/public-api.d.ts +0 -1
- package/animations/shake.d.ts +0 -2
- package/animations/slide.d.ts +0 -9
- package/animations/transform.d.ts +0 -2
- package/animations/zoom.d.ts +0 -3
- package/components/adapter/datetime-adapter.d.ts +0 -45
- package/components/adapter/datetime-formats.d.ts +0 -22
- package/components/adapter/dayjs-date-adapter.d.ts +0 -63
- package/components/adapter/dayjs-date-formats.d.ts +0 -2
- package/components/adapter/dayjs-datetime-adapter.d.ts +0 -22
- package/components/adapter/dayjs-datetime-formats.d.ts +0 -2
- package/components/adapter/native-datetime-adapter.d.ts +0 -31
- package/components/adapter/native-datetime-formats.d.ts +0 -2
- package/components/adapter/public-api.d.ts +0 -8
- package/components/breadcrumb/breadcrumb-item.directive.d.ts +0 -10
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -55
- package/components/breadcrumb/breadcrumb.service.d.ts +0 -126
- package/components/breadcrumb/public-api.d.ts +0 -5
- package/components/breadcrumb/types/breadcrumb.config.d.ts +0 -33
- package/components/breadcrumb/types/breadcrumb.d.ts +0 -23
- package/components/card/card.component.d.ts +0 -15
- package/components/card/card.types.d.ts +0 -1
- package/components/card/public-api.d.ts +0 -2
- package/components/carousel/carousel.component.d.ts +0 -136
- package/components/carousel/carousel.interface.d.ts +0 -38
- package/components/carousel/public-api.d.ts +0 -2
- package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.d.ts +0 -13
- package/components/cascade/cascade-list/cascade-list.component.d.ts +0 -79
- package/components/cascade/cascade-menu/cascade-menu.component.d.ts +0 -8
- package/components/cascade/options.interface.d.ts +0 -8
- package/components/cascade/public-api.d.ts +0 -3
- package/components/chip-input/chip-input.component.d.ts +0 -62
- package/components/chip-input/public-api.d.ts +0 -1
- package/components/custom-formly/extension/addons.extension.d.ts +0 -2
- package/components/custom-formly/public-api.d.ts +0 -30
- package/components/custom-formly/types/button/button.component.d.ts +0 -34
- package/components/custom-formly/types/cascade/cascade.component.d.ts +0 -39
- package/components/custom-formly/types/checklist/checklist.component.d.ts +0 -42
- package/components/custom-formly/types/chips/chips.component.d.ts +0 -28
- package/components/custom-formly/types/color-picker/color-picker.component.d.ts +0 -7
- package/components/custom-formly/types/date-range/date-range.component.d.ts +0 -21
- package/components/custom-formly/types/datepicker/datepicker.component.d.ts +0 -42
- package/components/custom-formly/types/knob/knob.component.d.ts +0 -36
- package/components/custom-formly/types/multicheckbox/multicheckbox.component.d.ts +0 -44
- package/components/custom-formly/types/number/number.component.d.ts +0 -21
- package/components/custom-formly/types/quill/quill.component.d.ts +0 -43
- package/components/custom-formly/types/radio/radio.component.d.ts +0 -44
- package/components/custom-formly/types/rating/rating.component.d.ts +0 -25
- package/components/custom-formly/types/repeat/repeat.component.d.ts +0 -16
- package/components/custom-formly/types/select/select.component.d.ts +0 -54
- package/components/custom-formly/types/select-table/select-table.component.d.ts +0 -40
- package/components/custom-formly/types/select-tree/select-tree.component.d.ts +0 -43
- package/components/custom-formly/types/stepper/horizontal/stepper.component.d.ts +0 -8
- package/components/custom-formly/types/stepper/stepper.type.d.ts +0 -6
- package/components/custom-formly/types/stepper/vertical/stepper.component.d.ts +0 -8
- package/components/custom-formly/types/table/table.component.d.ts +0 -43
- package/components/custom-formly/types/tabs/tab.component.d.ts +0 -7
- package/components/custom-formly/types/tags/tags.component.d.ts +0 -41
- package/components/custom-formly/types/textarea/textarea.component.d.ts +0 -13
- package/components/custom-formly/types/upload/upload.component.d.ts +0 -32
- package/components/custom-formly/wrappers/addons/addons.component.d.ts +0 -10
- package/components/custom-formly/wrappers/card/card.component.d.ts +0 -6
- package/components/custom-formly/wrappers/expansion/expansion.component.d.ts +0 -6
- package/components/custom-formly/wrappers/form-field/form-field.component.d.ts +0 -25
- package/components/custom-formly/wrappers/panel/panel.component.d.ts +0 -6
- package/components/date-range/date-range.component.d.ts +0 -137
- package/components/date-range/public-api.d.ts +0 -1
- package/components/drawer/drawer.component.d.ts +0 -75
- package/components/drawer/drawer.service.d.ts +0 -26
- package/components/drawer/drawer.types.d.ts +0 -2
- package/components/drawer/public-api.d.ts +0 -3
- package/components/fullscreen/fullscreen.component.d.ts +0 -11
- package/components/fullscreen/public-api.d.ts +0 -1
- package/components/highlight/highlight.component.d.ts +0 -21
- package/components/highlight/highlight.service.d.ts +0 -7
- package/components/highlight/public-api.d.ts +0 -2
- package/components/image-viewer/image-viewer.component.d.ts +0 -76
- package/components/image-viewer/public-api.d.ts +0 -1
- package/components/json-editor/json-editor.component.d.ts +0 -25
- package/components/json-editor/public-api.d.ts +0 -1
- package/components/knob-input/knob-input.component.d.ts +0 -95
- package/components/knob-input/public-api.d.ts +0 -1
- package/components/masonry/masonry.component.d.ts +0 -13
- package/components/masonry/public-api.d.ts +0 -1
- package/components/material-color-picker/base-color.d.ts +0 -2
- package/components/material-color-picker/material-color-picker.component.d.ts +0 -38
- package/components/material-color-picker/public-api.d.ts +0 -2
- package/components/material-color-picker/selected-color.d.ts +0 -5
- package/components/material-datetimepicker/calendar-body.d.ts +0 -42
- package/components/material-datetimepicker/calendar.d.ts +0 -145
- package/components/material-datetimepicker/clock.d.ts +0 -73
- package/components/material-datetimepicker/datetimepicker-animations.d.ts +0 -4
- package/components/material-datetimepicker/datetimepicker-errors.d.ts +0 -1
- package/components/material-datetimepicker/datetimepicker-filtertype.d.ts +0 -5
- package/components/material-datetimepicker/datetimepicker-input.d.ts +0 -106
- package/components/material-datetimepicker/datetimepicker-intl.d.ts +0 -51
- package/components/material-datetimepicker/datetimepicker-toggle.d.ts +0 -40
- package/components/material-datetimepicker/datetimepicker-types.d.ts +0 -13
- package/components/material-datetimepicker/datetimepicker.d.ts +0 -190
- package/components/material-datetimepicker/month-view.d.ts +0 -62
- package/components/material-datetimepicker/multi-year-view.d.ts +0 -74
- package/components/material-datetimepicker/public-api.d.ts +0 -10
- package/components/material-datetimepicker/time.d.ts +0 -129
- package/components/material-datetimepicker/year-view.d.ts +0 -56
- package/components/navigation/horizontal/components/basic/basic.component.d.ts +0 -27
- package/components/navigation/horizontal/components/branch/branch.component.d.ts +0 -39
- package/components/navigation/horizontal/components/divider/divider.component.d.ts +0 -23
- package/components/navigation/horizontal/components/spacer/spacer.component.d.ts +0 -23
- package/components/navigation/horizontal/horizontal.component.d.ts +0 -43
- package/components/navigation/navigation.service.d.ts +0 -71
- package/components/navigation/navigation.types.d.ts +0 -34
- package/components/navigation/public-api.d.ts +0 -4
- package/components/navigation/vertical/components/aside/aside.component.d.ts +0 -63
- package/components/navigation/vertical/components/basic/basic.component.d.ts +0 -24
- package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +0 -74
- package/components/navigation/vertical/components/divider/divider.component.d.ts +0 -26
- package/components/navigation/vertical/components/group/group.component.d.ts +0 -36
- package/components/navigation/vertical/components/spacer/spacer.component.d.ts +0 -26
- package/components/navigation/vertical/vertical.component.d.ts +0 -176
- package/components/opt-input/models/config.d.ts +0 -14
- package/components/opt-input/otp-input.component.d.ts +0 -70
- package/components/opt-input/public-api.d.ts +0 -1
- package/components/opt-input/utils/keyboard-util.d.ts +0 -9
- package/components/opt-input/utils/object-util.d.ts +0 -3
- package/components/org-chart/designer/chart-designer.component.d.ts +0 -17
- package/components/org-chart/node/chart-node.component.d.ts +0 -17
- package/components/org-chart/node/node.type.d.ts +0 -22
- package/components/org-chart/org-chart.component.d.ts +0 -12
- package/components/org-chart/public-api.d.ts +0 -2
- package/components/pagination/pagination.component.d.ts +0 -23
- package/components/pagination/pagination.directive.d.ts +0 -40
- package/components/pagination/pagination.instance.d.ts +0 -11
- package/components/pagination/pagination.pipe.d.ts +0 -29
- package/components/pagination/pagination.service.d.ts +0 -20
- package/components/pagination/public-api.d.ts +0 -5
- package/components/password-strength/animations/index.d.ts +0 -4
- package/components/password-strength/enum.d.ts +0 -13
- package/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.d.ts +0 -11
- package/components/password-strength/mat-password-strength/mat-password-strength.component.d.ts +0 -52
- package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.d.ts +0 -16
- package/components/password-strength/mat-password-strength-validator.d.ts +0 -6
- package/components/password-strength/public-api.d.ts +0 -3
- package/components/password-strength/regexp.class.d.ts +0 -6
- package/components/popover/popover-trigger.d.ts +0 -121
- package/components/popover/popover.component.d.ts +0 -136
- package/components/popover/popover.errors.d.ts +0 -14
- package/components/popover/popover.interfaces.d.ts +0 -43
- package/components/popover/popover.target.d.ts +0 -8
- package/components/popover/popover.type.d.ts +0 -5
- package/components/popover/public-api.d.ts +0 -4
- package/components/progress-bar/progress-bar.component.d.ts +0 -18
- package/components/progress-bar/public-api.d.ts +0 -1
- package/components/rating/public-api.d.ts +0 -1
- package/components/rating/rating.component.d.ts +0 -58
- package/components/select-search/default-options.d.ts +0 -8
- package/components/select-search/public-api.d.ts +0 -2
- package/components/select-search/select-no-entries-found.directive.d.ts +0 -5
- package/components/select-search/select-search-clear.directive.d.ts +0 -5
- package/components/select-search/select-search.component.d.ts +0 -91
- package/components/select-table/public-api.d.ts +0 -2
- package/components/select-table/select-table.component.d.ts +0 -96
- package/components/select-table/select-table.type.d.ts +0 -20
- package/components/select-tree/public-api.d.ts +0 -3
- package/components/select-tree/select-tree.component.d.ts +0 -105
- package/components/select-tree/select-tree.flatnode.d.ts +0 -6
- package/components/select-tree/select-tree.node.d.ts +0 -5
- package/components/speed-dial/public-api.d.ts +0 -2
- package/components/speed-dial/speed-dial.component.d.ts +0 -63
- package/components/timeline/public-api.d.ts +0 -2
- package/components/timeline/timeline-item/timeline-item.component.d.ts +0 -25
- package/components/timeline/timeline.component.d.ts +0 -30
- package/components/toast/models/global-config.model.d.ts +0 -12
- package/components/toast/models/toast.model.d.ts +0 -6
- package/components/toast/models/type.model.d.ts +0 -12
- package/components/toast/public-api.d.ts +0 -6
- package/components/toast/toast-modal.component.d.ts +0 -18
- package/components/toast/toast.component.d.ts +0 -17
- package/components/toast/toast.service.d.ts +0 -26
- package/components/transfer-picker/filter/filter.component.d.ts +0 -23
- package/components/transfer-picker/interface.d.ts +0 -41
- package/components/transfer-picker/public-api.d.ts +0 -7
- package/components/transfer-picker/search/search.component.d.ts +0 -14
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +0 -51
- package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.d.ts +0 -11
- package/components/transfer-picker/transfer-picker.component.d.ts +0 -28
- package/components/transfer-picker/transfer-picker.service.d.ts +0 -32
- package/components/treetable/public-api.d.ts +0 -2
- package/components/treetable/treetable.component.d.ts +0 -32
- package/components/treetable/treetable.interface.d.ts +0 -9
- package/components/upload/files.type.d.ts +0 -22
- package/components/upload/files.util.service.d.ts +0 -20
- package/components/upload/public-api.d.ts +0 -4
- package/components/upload/upload-queue/upload-queue.component.d.ts +0 -40
- package/components/upload/upload.component.d.ts +0 -32
- package/components/x6-angular-shape/node.d.ts +0 -11
- package/components/x6-angular-shape/public-api.d.ts +0 -3
- package/components/x6-angular-shape/registry.d.ts +0 -13
- package/components/x6-angular-shape/view.d.ts +0 -16
- package/directives/animate-on-scroll/animate-on-scroll.directive.d.ts +0 -29
- package/directives/animate-on-scroll/public-api.d.ts +0 -1
- package/directives/animate-on-scroll/scroll.service.d.ts +0 -15
- package/directives/arrow-cursor/arrow-cursor.directive.d.ts +0 -31
- package/directives/arrow-cursor/public-api.d.ts +0 -1
- package/directives/autofocus/autofocus.directive.d.ts +0 -8
- package/directives/autofocus/public-api.d.ts +0 -1
- package/directives/data-exporter/constants.d.ts +0 -26
- package/directives/data-exporter/data-exporter.directive.d.ts +0 -18
- package/directives/data-exporter/mime.d.ts +0 -5
- package/directives/data-exporter/options.d.ts +0 -21
- package/directives/data-exporter/public-api.d.ts +0 -2
- package/directives/data-exporter/services/exporters/csv-exporter.service.d.ts +0 -12
- package/directives/data-exporter/services/exporters/exporter.d.ts +0 -4
- package/directives/data-exporter/services/exporters/file-exporter.d.ts +0 -8
- package/directives/data-exporter/services/exporters/json-exporter.service.d.ts +0 -11
- package/directives/data-exporter/services/exporters/txt-exporter.service.d.ts +0 -12
- package/directives/data-exporter/services/exporters/worksheet-exporter.d.ts +0 -10
- package/directives/data-exporter/services/exporters/xls-exporter.service.d.ts +0 -14
- package/directives/data-exporter/services/exporters/xlsx-exporter.service.d.ts +0 -9
- package/directives/data-exporter/services/file-util.d.ts +0 -8
- package/directives/data-exporter/services/service-locator.service.d.ts +0 -11
- package/directives/debounce/abstract-debounce.directive.d.ts +0 -15
- package/directives/debounce/debounce-click.directive.d.ts +0 -8
- package/directives/debounce/debounce-keyup.directive.d.ts +0 -8
- package/directives/debounce/public-api.d.ts +0 -2
- package/directives/digit-only/digit-only.directive.d.ts +0 -36
- package/directives/digit-only/mask.directive.d.ts +0 -16
- package/directives/digit-only/public-api.d.ts +0 -2
- package/directives/equal-validator/equal-validator.directive.d.ts +0 -12
- package/directives/equal-validator/public-api.d.ts +0 -1
- package/lib/mock-api/mock-api.constants.d.ts +0 -2
- package/lib/mock-api/mock-api.interceptor.d.ts +0 -12
- package/lib/mock-api/mock-api.request-handler.d.ts +0 -16
- package/lib/mock-api/mock-api.service.d.ts +0 -20
- package/lib/mock-api/mock-api.types.d.ts +0 -7
- package/lib/mock-api/mock-api.utils.d.ts +0 -3
- package/lib/mock-api/public-api.d.ts +0 -5
- package/pipes/bytes/bytes.pipe.d.ts +0 -7
- package/pipes/bytes/public-api.d.ts +0 -1
- package/pipes/date-format/date-format.pipe.d.ts +0 -7
- package/pipes/date-format/public-api.d.ts +0 -1
- package/pipes/find-by-key/find-by-key.pipe.d.ts +0 -7
- package/pipes/find-by-key/public-api.d.ts +0 -1
- package/pipes/group-by/group-by.pipe.d.ts +0 -7
- package/pipes/group-by/public-api.d.ts +0 -1
- package/pipes/keys/keys.pipe.d.ts +0 -7
- package/pipes/keys/public-api.d.ts +0 -1
- package/pipes/secure/public-api.d.ts +0 -1
- package/pipes/secure/secure-pipe.d.ts +0 -18
- package/pipes/uppercase/public-api.d.ts +0 -1
- package/pipes/uppercase/uppercase.pipe.d.ts +0 -7
- package/public-api.d.ts +0 -1
- package/services/alert/alert.dialog.d.ts +0 -11
- package/services/alert/alert.message.d.ts +0 -8
- package/services/alert/alert.service.d.ts +0 -37
- package/services/alert/enum.d.ts +0 -12
- package/services/alert/public-api.d.ts +0 -4
- package/services/config/config.constants.d.ts +0 -6
- package/services/config/config.service.d.ts +0 -11
- package/services/config/public-api.d.ts +0 -3
- package/services/config/urlStateConfig.service.d.ts +0 -10
- package/services/confirmation/confirmation.service.d.ts +0 -12
- package/services/confirmation/confirmation.types.d.ts +0 -21
- package/services/confirmation/dialog/dialog.component.d.ts +0 -10
- package/services/confirmation/public-api.d.ts +0 -2
- package/services/data/data.service.d.ts +0 -20
- package/services/data/public-api.d.ts +0 -1
- package/services/export-as/export-as-config.model.d.ts +0 -8
- package/services/export-as/export-as.service.d.ts +0 -43
- package/services/export-as/public-api.d.ts +0 -2
- package/services/loading/loading.interceptor.d.ts +0 -12
- package/services/loading/loading.service.d.ts +0 -24
- package/services/loading/public-api.d.ts +0 -2
- package/services/local-storage/local-storage.service.d.ts +0 -8
- package/services/local-storage/public-api.d.ts +0 -1
- package/services/media-watcher/media-watcher.service.d.ts +0 -20
- package/services/media-watcher/public-api.d.ts +0 -1
- package/services/platform/platform.service.d.ts +0 -9
- package/services/platform/public-api.d.ts +0 -1
- package/services/splash-screen/public-api.d.ts +0 -1
- package/services/splash-screen/splash-screen.service.d.ts +0 -14
- package/services/title/public-api.d.ts +0 -1
- package/services/title/title.service.d.ts +0 -13
- package/services/translation/public-api.d.ts +0 -1
- package/services/translation/translation.service.d.ts +0 -20
- package/services/utils/public-api.d.ts +0 -1
- package/services/utils/utils.service.d.ts +0 -60
- package/validators/public-api.d.ts +0 -1
- package/validators/validators.d.ts +0 -5
- package/version/public-api.d.ts +0 -1
- package/version/version.d.ts +0 -9
|
@@ -1,5 +1,120 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { AfterViewInit, OnDestroy, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
5
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
|
+
import { MatSelect } from '@angular/material/select';
|
|
7
|
+
import { Sort } from '@angular/material/sort';
|
|
8
|
+
import { Subject } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
interface CmatSelectTableRow {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
id: string | number | null;
|
|
13
|
+
}
|
|
14
|
+
interface CmatSelectTableFilter {
|
|
15
|
+
enabled?: boolean;
|
|
16
|
+
type: 'string' | 'number';
|
|
17
|
+
comparator?: 'equalsIgnoreCase' | 'equals' | 'containsIgnoreCase' | 'contains' | 'startsWithIgnoreCase' | 'startsWith';
|
|
18
|
+
comparatorFn?: (value: any, filterValue: any, row: CmatSelectTableRow) => boolean;
|
|
19
|
+
}
|
|
20
|
+
interface CmatSelectTableColumn {
|
|
21
|
+
key: string;
|
|
22
|
+
name: string;
|
|
23
|
+
sortable: boolean;
|
|
24
|
+
filter: CmatSelectTableFilter;
|
|
25
|
+
}
|
|
26
|
+
interface CmatSelectTableDataSource<T extends CmatSelectTableRow> {
|
|
27
|
+
columns: CmatSelectTableColumn[];
|
|
28
|
+
data: T[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class CmatSelectTableComponent implements MatFormFieldControl<any>, ControlValueAccessor, AfterViewInit, OnDestroy, OnChanges {
|
|
32
|
+
ngControl: NgControl;
|
|
33
|
+
private _cd;
|
|
34
|
+
id: string;
|
|
35
|
+
dataSource: CmatSelectTableDataSource<CmatSelectTableRow>;
|
|
36
|
+
noEntriesFoundLabel: string;
|
|
37
|
+
showNoFoundLabel: boolean;
|
|
38
|
+
multiple: boolean;
|
|
39
|
+
overallSearchEnabled: boolean;
|
|
40
|
+
overallSearchVisible: boolean;
|
|
41
|
+
resetSortOnOpen: boolean;
|
|
42
|
+
resetFiltersOnOpen: boolean;
|
|
43
|
+
customTriggerLabelFn: (value: CmatSelectTableRow[]) => string;
|
|
44
|
+
triggerLabelSort: Sort;
|
|
45
|
+
customTriggerLabelTemplate: string;
|
|
46
|
+
canNull: boolean;
|
|
47
|
+
defaultSort: Sort;
|
|
48
|
+
resetOptionAction: () => void;
|
|
49
|
+
closed: EventEmitter<boolean>;
|
|
50
|
+
private _matSelectSearch;
|
|
51
|
+
private _sort;
|
|
52
|
+
private _table;
|
|
53
|
+
private _matOptions;
|
|
54
|
+
tableDataSource: CmatSelectTableRow[];
|
|
55
|
+
tableColumns: string[];
|
|
56
|
+
tableColumnsMap: Map<string, CmatSelectTableColumn>;
|
|
57
|
+
filteredOutRows: Record<string, CmatSelectTableRow>;
|
|
58
|
+
completeRowList: CmatSelectTableRow[];
|
|
59
|
+
overallSearchVisibleState: boolean;
|
|
60
|
+
overallFilterControl: FormControl;
|
|
61
|
+
selectControl: FormControl;
|
|
62
|
+
readonly stateChanges: Subject<void>;
|
|
63
|
+
focused: boolean;
|
|
64
|
+
touched: boolean;
|
|
65
|
+
private _matSelect;
|
|
66
|
+
private _filterControls;
|
|
67
|
+
private _nullRow;
|
|
68
|
+
private _unsubscribeAll;
|
|
69
|
+
private _completeValueList;
|
|
70
|
+
constructor(ngControl: NgControl, _cd: ChangeDetectorRef);
|
|
71
|
+
set matSelect(m: MatSelect);
|
|
72
|
+
clickedOut(): void;
|
|
73
|
+
ngAfterViewInit(): void;
|
|
74
|
+
ngOnDestroy(): void;
|
|
75
|
+
get placeholder(): string;
|
|
76
|
+
set placeholder(value: string);
|
|
77
|
+
private _placeholder;
|
|
78
|
+
get value(): any;
|
|
79
|
+
set value(value: any);
|
|
80
|
+
protected _value: any;
|
|
81
|
+
get empty(): boolean;
|
|
82
|
+
get errorState(): boolean;
|
|
83
|
+
get shouldLabelFloat(): boolean;
|
|
84
|
+
get required(): boolean;
|
|
85
|
+
set required(value: any);
|
|
86
|
+
protected _required: boolean;
|
|
87
|
+
get disabled(): boolean;
|
|
88
|
+
set disabled(value: BooleanInput);
|
|
89
|
+
protected _disabled: boolean;
|
|
90
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
91
|
+
registerOnTouched(fn: () => object): void;
|
|
92
|
+
setDisabledState(isDisabled: boolean): void;
|
|
93
|
+
setDescribedByIds(ids: string[]): void;
|
|
94
|
+
onContainerClick(): void;
|
|
95
|
+
onFocusIn(): void;
|
|
96
|
+
onFocusOut(event: FocusEvent): void;
|
|
97
|
+
writeValue(value: any): void;
|
|
98
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
99
|
+
emulateMatOptionClick(event: MouseEvent): void;
|
|
100
|
+
openedChange(opened: boolean): void;
|
|
101
|
+
filterFormControl(key: string): FormControl;
|
|
102
|
+
simpleTriggerLabelFn(value: CmatSelectTableRow[]): string;
|
|
103
|
+
toggleOverallSearch(): void;
|
|
104
|
+
addNullRow(): boolean;
|
|
105
|
+
compareObjects(o1: any, o2: any): boolean;
|
|
106
|
+
private _onModelChange;
|
|
107
|
+
private _onTouchedChange;
|
|
108
|
+
private _updateCompleteRowList;
|
|
109
|
+
private _applyColumnLevelFilters;
|
|
110
|
+
private _applyOverallFilter;
|
|
111
|
+
private _resetFilters;
|
|
112
|
+
private _sortingDataAccessor;
|
|
113
|
+
private _sortData;
|
|
114
|
+
private _checkAndResetSelection;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTableComponent, [{ optional: true; self: true; }, null]>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTableComponent, "cmat-select-table", ["cmatSelectTable"], { "id": { "alias": "id"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overallSearchEnabled": { "alias": "overallSearchEnabled"; "required": false; }; "overallSearchVisible": { "alias": "overallSearchVisible"; "required": false; }; "resetSortOnOpen": { "alias": "resetSortOnOpen"; "required": false; }; "resetFiltersOnOpen": { "alias": "resetFiltersOnOpen"; "required": false; }; "customTriggerLabelFn": { "alias": "customTriggerLabelFn"; "required": false; }; "triggerLabelSort": { "alias": "triggerLabelSort"; "required": false; }; "customTriggerLabelTemplate": { "alias": "customTriggerLabelTemplate"; "required": false; }; "canNull": { "alias": "canNull"; "required": false; }; "defaultSort": { "alias": "defaultSort"; "required": false; }; "resetOptionAction": { "alias": "resetOptionAction"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export { CmatSelectTableComponent };
|
|
120
|
+
export type { CmatSelectTableColumn, CmatSelectTableDataSource, CmatSelectTableFilter, CmatSelectTableRow };
|
|
@@ -1,5 +1,119 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
+
import { CdkTree } from '@angular/cdk/tree';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { OnChanges, AfterViewInit, OnDestroy, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
7
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
8
|
+
import { MatSelect } from '@angular/material/select';
|
|
9
|
+
import { ReplaySubject, Subject } from 'rxjs';
|
|
10
|
+
|
|
11
|
+
declare class CmatSelectTreeFlatNode {
|
|
12
|
+
id: string | number;
|
|
13
|
+
name: string;
|
|
14
|
+
level: number;
|
|
15
|
+
expandable: boolean;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class CmatSelectTreeNode {
|
|
19
|
+
id: string | number;
|
|
20
|
+
children: CmatSelectTreeNode[] | null;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnChanges, AfterViewInit, OnDestroy {
|
|
25
|
+
ngControl: NgControl;
|
|
26
|
+
private _changeDetectorRef;
|
|
27
|
+
id: string;
|
|
28
|
+
dataSource: CmatSelectTreeNode[];
|
|
29
|
+
noEntriesFoundLabel: string;
|
|
30
|
+
showNoFoundLabel: boolean;
|
|
31
|
+
multiple: boolean;
|
|
32
|
+
overallSearchEnabled: boolean;
|
|
33
|
+
canNull: boolean;
|
|
34
|
+
customTriggerLabelFn: (value: CmatSelectTreeNode[]) => string;
|
|
35
|
+
customTriggerLabelTemplate: string;
|
|
36
|
+
expandable: boolean;
|
|
37
|
+
showToggleAllCheckbox: boolean;
|
|
38
|
+
flatNodeMap: Map<CmatSelectTreeFlatNode, CmatSelectTreeNode>;
|
|
39
|
+
nestedNodeMap: Map<CmatSelectTreeNode, CmatSelectTreeFlatNode>;
|
|
40
|
+
selectedParent: CmatSelectTreeFlatNode | null;
|
|
41
|
+
checklistSelection: SelectionModel<CmatSelectTreeFlatNode>;
|
|
42
|
+
treeDataSource: CmatSelectTreeNode[];
|
|
43
|
+
dataFlatNodes: CmatSelectTreeFlatNode[];
|
|
44
|
+
overallFilterControl: FormControl;
|
|
45
|
+
isIndeterminate: boolean;
|
|
46
|
+
isChecked: boolean;
|
|
47
|
+
checkCount: number;
|
|
48
|
+
selectControl: FormControl;
|
|
49
|
+
matSelectData: ReplaySubject<any[]>;
|
|
50
|
+
readonly stateChanges: Subject<void>;
|
|
51
|
+
focused: boolean;
|
|
52
|
+
touched: boolean;
|
|
53
|
+
private _matSelect;
|
|
54
|
+
private _unsubscribeAll;
|
|
55
|
+
constructor(ngControl: NgControl, _changeDetectorRef: ChangeDetectorRef);
|
|
56
|
+
tree: CdkTree<CmatSelectTreeNode>;
|
|
57
|
+
set matSelect(m: MatSelect);
|
|
58
|
+
clickedOut(): void;
|
|
59
|
+
getLevel: (dataNode: CmatSelectTreeFlatNode) => number;
|
|
60
|
+
childrenAccessor: (node: CmatSelectTreeNode) => CmatSelectTreeNode[];
|
|
61
|
+
hasChild: (_: number, node: CmatSelectTreeNode) => boolean;
|
|
62
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
+
ngAfterViewInit(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
get placeholder(): string;
|
|
66
|
+
set placeholder(value: string);
|
|
67
|
+
private _placeholder;
|
|
68
|
+
get value(): any;
|
|
69
|
+
set value(value: any);
|
|
70
|
+
protected _value: any;
|
|
71
|
+
get empty(): boolean;
|
|
72
|
+
get errorState(): boolean;
|
|
73
|
+
get shouldLabelFloat(): boolean;
|
|
74
|
+
get required(): boolean;
|
|
75
|
+
set required(value: any);
|
|
76
|
+
protected _required: boolean;
|
|
77
|
+
get disabled(): boolean;
|
|
78
|
+
set disabled(value: BooleanInput);
|
|
79
|
+
protected _disabled: boolean;
|
|
80
|
+
registerOnChange(fn: any): void;
|
|
81
|
+
registerOnTouched(fn: any): void;
|
|
82
|
+
setDisabledState(isDisabled: boolean): void;
|
|
83
|
+
setDescribedByIds(ids: string[]): void;
|
|
84
|
+
onContainerClick(): void;
|
|
85
|
+
onFocusIn(): void;
|
|
86
|
+
onFocusOut(event: FocusEvent): void;
|
|
87
|
+
writeValue(value: any): void;
|
|
88
|
+
simpleTriggerLabelFn(value: CmatSelectTreeFlatNode[]): string;
|
|
89
|
+
/** Whether all the descendants of the node are selected. */
|
|
90
|
+
descendantsAllSelected(node: CmatSelectTreeFlatNode): boolean;
|
|
91
|
+
/** Whether part of the descendants are selected */
|
|
92
|
+
descendantsPartiallySelected(node: CmatSelectTreeFlatNode): boolean;
|
|
93
|
+
/** Toggle the to-do item selection. Select/deselect all the descendants node */
|
|
94
|
+
todoItemSelectionToggle(event: any, node: CmatSelectTreeFlatNode): void;
|
|
95
|
+
/** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
|
|
96
|
+
todoLeafItemSelectionToggle(event: any, node: CmatSelectTreeFlatNode): void;
|
|
97
|
+
clearSelection(): void;
|
|
98
|
+
toggleSelectAll(selectAllValue: boolean): void;
|
|
99
|
+
getChecklistSelectionIsSelected(i: CmatSelectTreeNode): boolean;
|
|
100
|
+
compareObjects(o1: any, o2: any): boolean;
|
|
101
|
+
private _onModelChange;
|
|
102
|
+
private _onTouchedChange;
|
|
103
|
+
private _init;
|
|
104
|
+
private _checkAllParentsSelection;
|
|
105
|
+
/** Check root node checked state and change it accordingly */
|
|
106
|
+
private _checkRootNodeSelection;
|
|
107
|
+
private _getParentNode;
|
|
108
|
+
private _updateChecklistSelection;
|
|
109
|
+
private _updateSelect;
|
|
110
|
+
private _applyColumnLevelFilters;
|
|
111
|
+
private _updateCheckState;
|
|
112
|
+
private _getFlattenNodes;
|
|
113
|
+
private _transformer;
|
|
114
|
+
private _getDescendants;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSelectTreeComponent, [{ optional: true; self: true; }, null]>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSelectTreeComponent, "cmat-select-tree", ["cmatSelectTree"], { "id": { "alias": "id"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "showNoFoundLabel": { "alias": "showNoFoundLabel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overallSearchEnabled": { "alias": "overallSearchEnabled"; "required": false; }; "canNull": { "alias": "canNull"; "required": false; }; "customTriggerLabelFn": { "alias": "customTriggerLabelFn"; "required": false; }; "customTriggerLabelTemplate": { "alias": "customTriggerLabelTemplate"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "showToggleAllCheckbox": { "alias": "showToggleAllCheckbox"; "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>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export { CmatSelectTreeComponent, CmatSelectTreeFlatNode, CmatSelectTreeNode };
|
|
@@ -1,5 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type Direction = 'up' | 'down' | 'left' | 'right';
|
|
5
|
+
type AnimationMode = 'fling' | 'scale';
|
|
6
|
+
declare class CmatSpeedDialActionsComponent implements AfterContentInit {
|
|
7
|
+
private _changeDetectorRef;
|
|
8
|
+
private _buttons;
|
|
9
|
+
miniFabVisible: boolean;
|
|
10
|
+
private readonly _renderer;
|
|
11
|
+
private readonly _parent;
|
|
12
|
+
private _showMiniFabAnimation;
|
|
13
|
+
private _hideMiniFab;
|
|
14
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
15
|
+
ngAfterContentInit(): void;
|
|
16
|
+
show(): void;
|
|
17
|
+
hide(): void;
|
|
18
|
+
private _initButtonStates;
|
|
19
|
+
private _resetAnimationState;
|
|
20
|
+
private _getTranslateFunction;
|
|
21
|
+
private _changeElementStyle;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSpeedDialActionsComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSpeedDialActionsComponent, "cmat-speed-dial-actions", never, {}, {}, ["_buttons"], ["[mat-mini-fab]"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
declare class CmatSpeedDialComponent implements OnDestroy, AfterContentInit {
|
|
26
|
+
readonly openChange: EventEmitter<boolean>;
|
|
27
|
+
private _childActions;
|
|
28
|
+
private readonly _elementRef;
|
|
29
|
+
private readonly _renderer;
|
|
30
|
+
private readonly _document;
|
|
31
|
+
private _isInitialized;
|
|
32
|
+
private _direction;
|
|
33
|
+
private _open;
|
|
34
|
+
private _animationMode;
|
|
35
|
+
private _fixed;
|
|
36
|
+
private _documentClickUnlistener;
|
|
37
|
+
get fixed(): boolean;
|
|
38
|
+
set fixed(fixed: boolean);
|
|
39
|
+
get open(): boolean;
|
|
40
|
+
set open(open: boolean);
|
|
41
|
+
get direction(): Direction;
|
|
42
|
+
set direction(direction: Direction);
|
|
43
|
+
get animationMode(): AnimationMode;
|
|
44
|
+
set animationMode(animationMode: AnimationMode);
|
|
45
|
+
ngAfterContentInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
toggle(): void;
|
|
48
|
+
onClick(): void;
|
|
49
|
+
setActionsVisibility(): void;
|
|
50
|
+
private _setElementClass;
|
|
51
|
+
private _processOutsideClickState;
|
|
52
|
+
private _setDocumentClickListener;
|
|
53
|
+
private _unsetDocumentClickListener;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSpeedDialComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSpeedDialComponent, "cmat-speed-dial", never, { "fixed": { "alias": "fixed"; "required": false; }; "open": { "alias": "open"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "animationMode": { "alias": "animationMode"; "required": false; }; }, { "openChange": "openChange"; }, ["_childActions"], ["cmat-speed-dial-trigger", "cmat-speed-dial-actions"], true, never>;
|
|
56
|
+
}
|
|
57
|
+
declare class CmatSpeedDialTriggerComponent {
|
|
58
|
+
spin: boolean;
|
|
59
|
+
private readonly _parent;
|
|
60
|
+
get sp(): boolean;
|
|
61
|
+
onClick(event: Event): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSpeedDialTriggerComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatSpeedDialTriggerComponent, "cmat-speed-dial-trigger", never, { "spin": { "alias": "spin"; "required": false; }; }, {}, never, ["[mat-fab]"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { CmatSpeedDialActionsComponent, CmatSpeedDialComponent, CmatSpeedDialTriggerComponent };
|
|
67
|
+
export type { AnimationMode, Direction };
|
|
@@ -1,5 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, OnInit, OnDestroy, QueryList, ElementRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class CmatTimelineItemIconDirective {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineItemIconDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatTimelineItemIconDirective, "ng-template[cmatTimelineItemIcon]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
declare class CmatTimelineItemLabelDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineItemLabelDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatTimelineItemLabelDirective, "ng-template[cmatTimelineItemLabel]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
declare class CmatTimelineItemComponent {
|
|
13
|
+
label?: string | null;
|
|
14
|
+
icon?: string | null;
|
|
15
|
+
svgIcon?: string | null;
|
|
16
|
+
iconUrl?: string | null;
|
|
17
|
+
class: string;
|
|
18
|
+
customIconTpl?: TemplateRef<any>;
|
|
19
|
+
customLabelTpl?: TemplateRef<any>;
|
|
20
|
+
private _contentEl;
|
|
21
|
+
private _fillEl;
|
|
22
|
+
updateVerticalCenteredLayout(): void;
|
|
23
|
+
updateHorizontalCenteredLayout(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineItemComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatTimelineItemComponent, "cmat-timeline-item", ["cmatTimelineItem"], { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconUrl": { "alias": "iconUrl"; "required": false; }; }, {}, ["customIconTpl", "customLabelTpl"], ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type CMAT_TIMELINE_POSITION = 'start' | 'end' | 'center' | 'center-alt';
|
|
29
|
+
type CMAT_TIMELINE_ORIENTATION = 'vertical' | 'horizontal';
|
|
30
|
+
declare class CmatTimelineComponent implements OnInit, OnDestroy {
|
|
31
|
+
private _host;
|
|
32
|
+
readonly items: QueryList<CmatTimelineItemComponent>;
|
|
33
|
+
readonly class = "cmat-timeline";
|
|
34
|
+
private _reverse;
|
|
35
|
+
private _position;
|
|
36
|
+
private _orientation;
|
|
37
|
+
private _unsubscribeAll;
|
|
38
|
+
constructor(_host: ElementRef);
|
|
39
|
+
get isStartPosition(): boolean;
|
|
40
|
+
get isEndPosition(): boolean;
|
|
41
|
+
get isCenterPosition(): boolean;
|
|
42
|
+
get isCenterAltPosition(): boolean;
|
|
43
|
+
get isVerticalOrientation(): boolean;
|
|
44
|
+
get isHorizontalOrientation(): boolean;
|
|
45
|
+
get isReverse(): boolean;
|
|
46
|
+
set position(position: CMAT_TIMELINE_POSITION);
|
|
47
|
+
set orientation(orientation: CMAT_TIMELINE_ORIENTATION);
|
|
48
|
+
set reverse(reverse: boolean);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
updateLayout(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatTimelineComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatTimelineComponent, "cmat-timeline", ["cmatTimeLine"], { "position": { "alias": "position"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { CmatTimelineComponent, CmatTimelineItemComponent, CmatTimelineItemIconDirective, CmatTimelineItemLabelDirective };
|
|
57
|
+
export type { CMAT_TIMELINE_ORIENTATION, CMAT_TIMELINE_POSITION };
|
|
@@ -1,5 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit, EventEmitter, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
type Prefixable = keyof Pick<CmatToastModel, 'theme' | 'position' | 'type'>;
|
|
6
|
+
type ToastAPrefix<Key extends Prefixable> = `toasta-${Key}`;
|
|
7
|
+
type Theme = 'material';
|
|
8
|
+
type GlobalTheme = `${ToastAPrefix<'theme'>}-${Theme}` | Theme;
|
|
9
|
+
type PositionY = 'bottom' | 'top';
|
|
10
|
+
type PositionX = 'right' | 'left' | 'center' | 'fullwidth';
|
|
11
|
+
type Position = `${PositionY}-${PositionX}` | 'center-center';
|
|
12
|
+
type GlobalPosition = `${ToastAPrefix<'position'>}-${Position}` | Position;
|
|
13
|
+
type Type = 'error' | 'info' | 'success' | 'wait' | 'warning';
|
|
14
|
+
type GlobalType = `${ToastAPrefix<'type'>}-${Type}` | Type;
|
|
15
|
+
|
|
16
|
+
interface GlobalConfigModel {
|
|
17
|
+
id?: number;
|
|
18
|
+
title?: string;
|
|
19
|
+
showClose?: boolean;
|
|
20
|
+
showDuration?: boolean;
|
|
21
|
+
theme?: GlobalTheme;
|
|
22
|
+
timeout?: number;
|
|
23
|
+
position?: GlobalPosition;
|
|
24
|
+
limit?: number;
|
|
25
|
+
isCountdown?: boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface CmatToastModel extends GlobalConfigModel {
|
|
29
|
+
type: GlobalType;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class CmatToastModalComponent implements AfterViewInit {
|
|
34
|
+
private _ref;
|
|
35
|
+
toast: CmatToastModel;
|
|
36
|
+
closeToastEvent: EventEmitter<number>;
|
|
37
|
+
progressPercent: number;
|
|
38
|
+
timeout: number;
|
|
39
|
+
private _progressInterval;
|
|
40
|
+
private _startTime;
|
|
41
|
+
constructor(_ref: ChangeDetectorRef);
|
|
42
|
+
ngAfterViewInit(): void;
|
|
43
|
+
handleProgress(): void;
|
|
44
|
+
close(toast: CmatToastModel): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatToastModalComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatToastModalComponent, "cmat-toast-modal", ["cmatToastModal"], { "toast": { "alias": "toast"; "required": false; }; }, { "closeToastEvent": "closeToastEvent"; }, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class CmatToastService {
|
|
50
|
+
toasts: CmatToastModel[];
|
|
51
|
+
private _positionSubject;
|
|
52
|
+
private _toastPopSubject;
|
|
53
|
+
private _globalConfigs;
|
|
54
|
+
private _counter;
|
|
55
|
+
get position$(): Observable<string>;
|
|
56
|
+
get toastPop$(): Observable<CmatToastModel[]>;
|
|
57
|
+
receiveGlobalConfigs(configs: GlobalConfigModel): void;
|
|
58
|
+
removeToast(toastId: number): void;
|
|
59
|
+
clearAll(): void;
|
|
60
|
+
clearLast(): void;
|
|
61
|
+
addToast(toast: CmatToastModel): void;
|
|
62
|
+
getGlobalConfigs(): GlobalConfigModel;
|
|
63
|
+
getToasts(): CmatToastModel[];
|
|
64
|
+
private _getDefaultToast;
|
|
65
|
+
private _setGlobalValues;
|
|
66
|
+
private _setPosition;
|
|
67
|
+
private _serveToast;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatToastService, never>;
|
|
69
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmatToastService>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class CmatToastComponent implements OnInit {
|
|
73
|
+
private _cmatToastService;
|
|
74
|
+
toasts$: Observable<CmatToastModel[]>;
|
|
75
|
+
position$: Observable<string>;
|
|
76
|
+
constructor(_cmatToastService: CmatToastService);
|
|
77
|
+
ngOnInit(): void;
|
|
78
|
+
listenForToastEvent(): void;
|
|
79
|
+
clearToast(toastId: any): void;
|
|
80
|
+
trackByFn(index: number, item: CmatToastModel): any;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatToastComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatToastComponent, "cmat-toast", ["cmatToast"], {}, {}, never, never, true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { CmatToastComponent, CmatToastModalComponent, CmatToastService };
|
|
86
|
+
export type { CmatToastModel, GlobalConfigModel, GlobalPosition, GlobalTheme, GlobalType, Position, PositionX, PositionY, Theme, ToastAPrefix, Type };
|