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
package/animations/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
import * as _angular_animations from '@angular/animations';
|
|
2
|
+
|
|
3
|
+
declare const cmatAnimations: _angular_animations.AnimationTriggerMetadata[];
|
|
4
|
+
|
|
5
|
+
export { cmatAnimations };
|
|
@@ -1,5 +1,188 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { DateAdapter, MatDateFormats } from '@angular/material/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
5
|
+
|
|
6
|
+
declare abstract class DatetimeAdapter<D> extends DateAdapter<D> {
|
|
7
|
+
protected _delegate: DateAdapter<D>;
|
|
8
|
+
constructor(_delegate: DateAdapter<D>);
|
|
9
|
+
getValidDateOrNull(obj: any): D | null;
|
|
10
|
+
compareDatetime(first: D, second: D, respectMinutePart?: boolean): number | boolean;
|
|
11
|
+
sameDatetime(first: D | null, second: D | null): boolean;
|
|
12
|
+
sameYear(first: D, second: D): boolean;
|
|
13
|
+
sameDay(first: D, second: D): boolean;
|
|
14
|
+
sameHour(first: D, second: D): boolean;
|
|
15
|
+
sameMinute(first: D, second: D): boolean;
|
|
16
|
+
sameMonthAndYear(first: D | null, second: D | null): boolean;
|
|
17
|
+
clone(date: D): D;
|
|
18
|
+
addCalendarYears(date: D, years: number): D;
|
|
19
|
+
addCalendarMonths(date: D, months: number): D;
|
|
20
|
+
addCalendarDays(date: D, days: number): D;
|
|
21
|
+
getYear(date: D): number;
|
|
22
|
+
getMonth(date: D): number;
|
|
23
|
+
getDate(date: D): number;
|
|
24
|
+
getDayOfWeek(date: D): number;
|
|
25
|
+
getMonthNames(style: any): string[];
|
|
26
|
+
getDateNames(): string[];
|
|
27
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
28
|
+
getYearName(date: D): string;
|
|
29
|
+
getFirstDayOfWeek(): number;
|
|
30
|
+
getNumDaysInMonth(date: D): number;
|
|
31
|
+
createDate(year: number, month: number, date: number): D;
|
|
32
|
+
today(): D;
|
|
33
|
+
parse(value: any, parseFormat: any): D | null;
|
|
34
|
+
format(date: D, displayFormat: any): string;
|
|
35
|
+
toIso8601(date: D): string;
|
|
36
|
+
isDateInstance(obj: any): boolean;
|
|
37
|
+
isValid(date: D): boolean;
|
|
38
|
+
invalid(): D;
|
|
39
|
+
clampDate(date: D, min?: D | null, max?: D | null): D;
|
|
40
|
+
abstract getHour(date: D): number;
|
|
41
|
+
abstract getMinute(date: D): number;
|
|
42
|
+
abstract getFirstDateOfMonth(date: D): D;
|
|
43
|
+
abstract isInNextMonth(startDate: D, endDate: D): boolean;
|
|
44
|
+
abstract getHourNames(): string[];
|
|
45
|
+
abstract getMinuteNames(): string[];
|
|
46
|
+
abstract addCalendarHours(date: D, months: number): D;
|
|
47
|
+
abstract addCalendarMinutes(date: D, months: number): D;
|
|
48
|
+
abstract createDatetime(year: number, month: number, date: number, hour: number, minute: number): D;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
interface CmatDatetimeFormats {
|
|
52
|
+
parse: {
|
|
53
|
+
dateInput?: any;
|
|
54
|
+
monthInput?: any;
|
|
55
|
+
timeInput?: any;
|
|
56
|
+
datetimeInput?: any;
|
|
57
|
+
yearInput?: any;
|
|
58
|
+
};
|
|
59
|
+
display: {
|
|
60
|
+
dateInput: any;
|
|
61
|
+
monthInput: any;
|
|
62
|
+
timeInput: any;
|
|
63
|
+
datetimeInput: any;
|
|
64
|
+
yearInput: any;
|
|
65
|
+
monthYearLabel: any;
|
|
66
|
+
dateA11yLabel: any;
|
|
67
|
+
monthYearA11yLabel: any;
|
|
68
|
+
popupHeaderDateLabel: any;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
declare const CMAT_DATETIME_FORMATS: InjectionToken<CmatDatetimeFormats>;
|
|
72
|
+
|
|
73
|
+
declare class CNativeDatetimeAdapter extends DatetimeAdapter<Date> {
|
|
74
|
+
constructor(matDateLocale: string, _delegate: DateAdapter<Date>);
|
|
75
|
+
clone(date: Date): Date;
|
|
76
|
+
getHour(date: Date): number;
|
|
77
|
+
getMinute(date: Date): number;
|
|
78
|
+
isInNextMonth(startDate: Date, endDate: Date): boolean;
|
|
79
|
+
createDatetime(year: number, month: number, date: number, hour: number, minute: number): Date;
|
|
80
|
+
getFirstDateOfMonth(date: Date): Date;
|
|
81
|
+
getHourNames(): string[];
|
|
82
|
+
getMinuteNames(): string[];
|
|
83
|
+
addCalendarYears(date: Date, years: number): Date;
|
|
84
|
+
addCalendarMonths(date: Date, months: number): Date;
|
|
85
|
+
addCalendarDays(date: Date, days: number): Date;
|
|
86
|
+
addCalendarHours(date: Date, hours: number): Date;
|
|
87
|
+
addCalendarMinutes(date: Date, minutes: number): Date;
|
|
88
|
+
toIso8601(date: Date): string;
|
|
89
|
+
private _getDateInNextMonth;
|
|
90
|
+
/**
|
|
91
|
+
* Pads a number to make it two digits.
|
|
92
|
+
*
|
|
93
|
+
* @param n The number to pad.
|
|
94
|
+
* @returns The padded number.
|
|
95
|
+
*/
|
|
96
|
+
private _2digit;
|
|
97
|
+
private _createDateWithOverflow;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CNativeDatetimeAdapter, [{ optional: true; }, null]>;
|
|
99
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CNativeDatetimeAdapter>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare const CMAT_NATIVE_DATETIME_FORMATS: CmatDatetimeFormats;
|
|
103
|
+
|
|
104
|
+
declare class DayjsDatetimeAdapter extends DatetimeAdapter<Dayjs> {
|
|
105
|
+
private _localeData;
|
|
106
|
+
constructor(matDateLocale: string, _delegate: DateAdapter<Dayjs>);
|
|
107
|
+
setLocale(locale: string): void;
|
|
108
|
+
getHour(date: Dayjs): number;
|
|
109
|
+
getMinute(date: Dayjs): number;
|
|
110
|
+
isInNextMonth(startDate: Dayjs, endDate: Dayjs): boolean;
|
|
111
|
+
createDatetime(year: number, month: number, date: number, hour: number, minute: number): Dayjs;
|
|
112
|
+
getFirstDateOfMonth(date: Dayjs): Dayjs;
|
|
113
|
+
getHourNames(): string[];
|
|
114
|
+
getMinuteNames(): string[];
|
|
115
|
+
addCalendarHours(date: Dayjs, hours: number): Dayjs;
|
|
116
|
+
addCalendarMinutes(date: Dayjs, minutes: number): Dayjs;
|
|
117
|
+
deserialize(value: any): Dayjs | null;
|
|
118
|
+
private _getDateInNextMonth;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DayjsDatetimeAdapter, [{ optional: true; }, null]>;
|
|
120
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DayjsDatetimeAdapter>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare const CMAT_DAYJS_DATETIME_FORMATS: CmatDatetimeFormats;
|
|
124
|
+
|
|
125
|
+
interface DayJsDateAdapterOptions {
|
|
126
|
+
/**
|
|
127
|
+
* Turns the use of utc dates on or off.
|
|
128
|
+
* Changing this will change how Angular Material components like DatePicker output dates.
|
|
129
|
+
* {@default false}
|
|
130
|
+
*/
|
|
131
|
+
useUtc?: boolean;
|
|
132
|
+
}
|
|
133
|
+
/** InjectionToken for Dayjs date adapter to configure options. */
|
|
134
|
+
declare const CMAT_DAYJS_DATE_ADAPTER_OPTIONS: InjectionToken<DayJsDateAdapterOptions>;
|
|
135
|
+
declare function CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY(): DayJsDateAdapterOptions;
|
|
136
|
+
declare class DayjsDateAdapter extends DateAdapter<Dayjs> {
|
|
137
|
+
dateLocale: string;
|
|
138
|
+
private _options?;
|
|
139
|
+
private _localeData;
|
|
140
|
+
constructor(dateLocale: string, _options?: DayJsDateAdapterOptions | undefined);
|
|
141
|
+
private get _shouldUseUtc();
|
|
142
|
+
setLocale(locale: string): void;
|
|
143
|
+
getYear(date: Dayjs): number;
|
|
144
|
+
getMonth(date: Dayjs): number;
|
|
145
|
+
getDate(date: Dayjs): number;
|
|
146
|
+
getDayOfWeek(date: Dayjs): number;
|
|
147
|
+
getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
148
|
+
getDateNames(): string[];
|
|
149
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
150
|
+
getYearName(date: Dayjs): string;
|
|
151
|
+
getFirstDayOfWeek(): number;
|
|
152
|
+
getNumDaysInMonth(date: Dayjs): number;
|
|
153
|
+
clone(date: Dayjs): Dayjs;
|
|
154
|
+
createDate(year: number, month: number, date: number): Dayjs;
|
|
155
|
+
today(): Dayjs;
|
|
156
|
+
parse(value: any, parseFormat: string): Dayjs | null;
|
|
157
|
+
format(date: Dayjs, displayFormat: string): string;
|
|
158
|
+
addCalendarYears(date: Dayjs, years: number): Dayjs;
|
|
159
|
+
addCalendarMonths(date: Dayjs, months: number): Dayjs;
|
|
160
|
+
addCalendarDays(date: Dayjs, days: number): Dayjs;
|
|
161
|
+
toIso8601(date: Dayjs): string;
|
|
162
|
+
/**
|
|
163
|
+
* Attempts to deserialize a value to a valid date object. This is different from parsing in that
|
|
164
|
+
* deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
|
|
165
|
+
* string). The default implementation does not allow any deserialization, it simply checks that
|
|
166
|
+
* the given value is already a valid date object or null. The `<mat-datepicker>` will call this
|
|
167
|
+
* method on all of it's `@Input()` properties that accept dates. It is therefore possible to
|
|
168
|
+
* support passing values from your backend directly to these properties by overriding this method
|
|
169
|
+
* to also deserialize the format used by your backend.
|
|
170
|
+
*
|
|
171
|
+
* @param value The value to be deserialized into a date object.
|
|
172
|
+
* @returns The deserialized date object, either a valid date, null if the value can be
|
|
173
|
+
* deserialized into a null date (e.g. the empty string), or an invalid date.
|
|
174
|
+
*/
|
|
175
|
+
deserialize(value: any): Dayjs | null;
|
|
176
|
+
isDateInstance(obj: any): boolean;
|
|
177
|
+
isValid(date: Dayjs): boolean;
|
|
178
|
+
invalid(): Dayjs;
|
|
179
|
+
private _dayJs;
|
|
180
|
+
private _initializeParser;
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DayjsDateAdapter, [{ optional: true; }, { optional: true; }]>;
|
|
182
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DayjsDateAdapter>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare const CMAT_DAYJS_DATE_FORMATS: MatDateFormats;
|
|
186
|
+
|
|
187
|
+
export { CMAT_DATETIME_FORMATS, CMAT_DAYJS_DATETIME_FORMATS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY, CMAT_DAYJS_DATE_FORMATS, CMAT_NATIVE_DATETIME_FORMATS, CNativeDatetimeAdapter, DatetimeAdapter, DayjsDateAdapter, DayjsDatetimeAdapter };
|
|
188
|
+
export type { CmatDatetimeFormats, DayJsDateAdapterOptions };
|
|
@@ -1,5 +1,247 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
|
|
1
6
|
/**
|
|
2
|
-
*
|
|
7
|
+
* This directive is used to customize the breadcrumb label behavior
|
|
8
|
+
* *cmatBreadcrumbItem directive can be used in the child element of cmat-breadcrumb
|
|
9
|
+
* Usage: refer to the demo - app.component.html
|
|
3
10
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
11
|
+
declare class CmatBreadcrumbItemDirective {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbItemDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatBreadcrumbItemDirective, "[cmatBreadcrumbItem]", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface CmatBreadcrumb {
|
|
17
|
+
/**
|
|
18
|
+
* actual route path with resolved param. Ex /mentor/2, connect/edit
|
|
19
|
+
*/
|
|
20
|
+
routeLink?: string;
|
|
21
|
+
/**
|
|
22
|
+
* route with path params converted to a RegExp
|
|
23
|
+
* path '/mentor/:id' becomes routeRegex '/mentor/[^/]+', which can be matched against when needed
|
|
24
|
+
*/
|
|
25
|
+
routeRegex?: string;
|
|
26
|
+
/**
|
|
27
|
+
* This is additional info on each breadcrumb item whether label is auto generated or user specified
|
|
28
|
+
* isAutoGeneratedLabel has to be present at component level but not at the service,
|
|
29
|
+
* since we may need to support multiple breadcrumb components in same app
|
|
30
|
+
*/
|
|
31
|
+
isAutoGeneratedLabel?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Query params in string form.
|
|
34
|
+
*/
|
|
35
|
+
queryParams?: any;
|
|
36
|
+
fragment?: string;
|
|
37
|
+
routeInterceptor?: (breadcrumb: CmatBreadcrumb, routeLink?: string) => string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Breadcrumb config provided as part of App Route Config
|
|
42
|
+
*/
|
|
43
|
+
interface CmatBreadcrumbObject {
|
|
44
|
+
/**
|
|
45
|
+
* breadcrumb label for a route
|
|
46
|
+
*/
|
|
47
|
+
label?: string | CmatBreadcrumbFunction;
|
|
48
|
+
/**
|
|
49
|
+
* unique alias name for a route path that can be used to dynamically update a route's breadcrumb label via breadcrumbService.set()
|
|
50
|
+
*/
|
|
51
|
+
alias?: string;
|
|
52
|
+
/**
|
|
53
|
+
* hide or show the breadcrumb item
|
|
54
|
+
*/
|
|
55
|
+
skip?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* disable a certain breadcrumb in the list. Not clickable.
|
|
58
|
+
* It may be needed when the routing has the path, but navigating to that path is of no use
|
|
59
|
+
*/
|
|
60
|
+
disable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* custom data for each breadcrumb that is passed back to ng-template
|
|
63
|
+
*/
|
|
64
|
+
info?: unknown;
|
|
65
|
+
/**
|
|
66
|
+
* Interceptor for breadcrumb click action that returns the dynamic path
|
|
67
|
+
* Consumers can change the breadcrumb routing dynamically with this approach
|
|
68
|
+
*/
|
|
69
|
+
routeInterceptor?: (breadcrumb: CmatBreadcrumb, routeLink?: string) => string;
|
|
70
|
+
}
|
|
71
|
+
type CmatBreadcrumbFunction = (resolvedLabel?: string) => string;
|
|
72
|
+
|
|
73
|
+
type CmatBreadcrumbDefinition = CmatBreadcrumb & CmatBreadcrumbObject;
|
|
74
|
+
declare class CmatBreadcrumbService implements OnDestroy {
|
|
75
|
+
private _activatedRoute;
|
|
76
|
+
private _router;
|
|
77
|
+
private _baseHref;
|
|
78
|
+
private _unsubscribeAll;
|
|
79
|
+
/**
|
|
80
|
+
* dynamicBreadcrumbStore holds information about dynamically updated breadcrumbs.
|
|
81
|
+
* Breadcrumbs can be set from anywhere (component, service) in the app.
|
|
82
|
+
* On every breadcrumb update check this store and use the info if available.
|
|
83
|
+
*/
|
|
84
|
+
private _dynamicBreadcrumbStore;
|
|
85
|
+
/**
|
|
86
|
+
* breadcrumbList for the current route
|
|
87
|
+
* When breadcrumb info is changed dynamically, check if the currentBreadcrumbs is effected
|
|
88
|
+
* If effected, update the change and emit a new stream
|
|
89
|
+
*/
|
|
90
|
+
private _currentBreadcrumbs;
|
|
91
|
+
private _previousBreadcrumbs;
|
|
92
|
+
/**
|
|
93
|
+
* Breadcrumbs observable to be subscribed by BreadcrumbComponent
|
|
94
|
+
* Emits on every route change OR dynamic update of breadcrumb
|
|
95
|
+
*/
|
|
96
|
+
private _breadcrumbs;
|
|
97
|
+
constructor(_activatedRoute: ActivatedRoute, _router: Router);
|
|
98
|
+
get breadcrumbs$(): Observable<CmatBreadcrumbDefinition[]>;
|
|
99
|
+
ngOnDestroy(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Update breadcrumb dynamically
|
|
102
|
+
*
|
|
103
|
+
* key can be a path | alias
|
|
104
|
+
*
|
|
105
|
+
* 1) Using complete route path. route can be passed the same way you define angular routes
|
|
106
|
+
* - path can be passed as 'exact path(routeLink)' or 'path with params(routeRegex)'
|
|
107
|
+
* - update label Ex: set('/mentor', 'Mentor'), set('/mentor/:id', 'Mentor Details')
|
|
108
|
+
* - change visibility Ex: set('/mentor/:id/edit', { skip: true })
|
|
109
|
+
* ------------------------------------------ OR ------------------------------------------
|
|
110
|
+
* 2) Using route alias (prefixed with '@'). alias should be unique for a route
|
|
111
|
+
* - update label Ex: set('@mentor', 'Enabler')
|
|
112
|
+
* - change visibility Ex: set('@mentorEdit', { skip: true })
|
|
113
|
+
*
|
|
114
|
+
*
|
|
115
|
+
* value can be string | BreadcrumbObject | BreadcrumbFunction
|
|
116
|
+
*/
|
|
117
|
+
set(key: string, breadcrumb: string | CmatBreadcrumbObject): void;
|
|
118
|
+
/**
|
|
119
|
+
* Whenever route changes build breadcrumb list again
|
|
120
|
+
*/
|
|
121
|
+
private _detectRouteChanges;
|
|
122
|
+
private _setupBreadcrumbs;
|
|
123
|
+
private _getRootBreadcrumb;
|
|
124
|
+
private _prepareBreadcrumbItem;
|
|
125
|
+
private _prepareBreadcrumbList;
|
|
126
|
+
private _getFromStore;
|
|
127
|
+
/**
|
|
128
|
+
* use exact match instead of regexp.test
|
|
129
|
+
* for /mentor/[^/]+ we should match '/mentor/12' but not '/mentor/12/abc'
|
|
130
|
+
*/
|
|
131
|
+
private _matchRegex;
|
|
132
|
+
/**
|
|
133
|
+
* if the path segment has route params, read the param value from url
|
|
134
|
+
* for each segment of route this gets called
|
|
135
|
+
*
|
|
136
|
+
* for mentor/:id/view - it gets called with mentor, :id, view 3 times
|
|
137
|
+
*/
|
|
138
|
+
private _resolvePathSegment;
|
|
139
|
+
/**
|
|
140
|
+
* queryParams & fragments for previous breadcrumb path are copied over to new list
|
|
141
|
+
*/
|
|
142
|
+
private _getQueryParamsFromPreviousList;
|
|
143
|
+
/**
|
|
144
|
+
* set current activated route query params to the last breadcrumb item
|
|
145
|
+
*/
|
|
146
|
+
private _setQueryParamsForActiveBreadcrumb;
|
|
147
|
+
/**
|
|
148
|
+
* For a specific route, breadcrumb can be defined either on parent OR it's child(which has empty path)
|
|
149
|
+
* When both are defined, child takes precedence
|
|
150
|
+
*
|
|
151
|
+
* Ex: Below we are setting breadcrumb on both parent and child.
|
|
152
|
+
* So, child takes precedence and "Defined On Child" is displayed for the route 'home'
|
|
153
|
+
* { path: 'home', loadChildren: './home/home.module#HomeModule' , data: {breadcrumb: "Defined On Module"}}
|
|
154
|
+
* AND
|
|
155
|
+
* children: [
|
|
156
|
+
* { path: '', component: ShowUserComponent, data: {breadcrumb: "Defined On Child" }
|
|
157
|
+
* ]
|
|
158
|
+
*/
|
|
159
|
+
private _parseRouteData;
|
|
160
|
+
/**
|
|
161
|
+
* get empty children of a module or Component. Empty child is the one with path: ''
|
|
162
|
+
* When parent and it's children (that has empty route path) define data merge them both with child taking precedence
|
|
163
|
+
*/
|
|
164
|
+
private _mergeWithBaseChildData;
|
|
165
|
+
/**
|
|
166
|
+
* Update the store to reuse for dynamic declarations
|
|
167
|
+
* If the store already has this route definition update it, else add
|
|
168
|
+
*/
|
|
169
|
+
private _updateStore;
|
|
170
|
+
/**
|
|
171
|
+
* If breadcrumb is present in current breadcrumbs update it and emit new stream
|
|
172
|
+
*/
|
|
173
|
+
private _updateCurrentBreadcrumbs;
|
|
174
|
+
/**
|
|
175
|
+
* For a route with path param, we create regex dynamically from angular route syntax
|
|
176
|
+
* '/mentor/:id' becomes '/mentor/[^/]',
|
|
177
|
+
* breadcrumbService.set('/mentor/:id', 'Uday') should update 'Uday' as label for '/mentor/2' OR 'mentor/ada'
|
|
178
|
+
*/
|
|
179
|
+
private _buildRegex;
|
|
180
|
+
private _ensureLeadingSlash;
|
|
181
|
+
/**
|
|
182
|
+
* In App's RouteConfig, breadcrumb can be defined as a string OR a function OR an object
|
|
183
|
+
*
|
|
184
|
+
* string: simple static breadcrumb label for a path
|
|
185
|
+
* function: callback that gets invoked with resolved path param
|
|
186
|
+
* object: additional data defined along with breadcrumb label that gets passed to *cmatBreadcrumbItem directive
|
|
187
|
+
*/
|
|
188
|
+
private _extractLabel;
|
|
189
|
+
private _extractObject;
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbService, never>;
|
|
191
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CmatBreadcrumbService>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
declare class CmatBreadcrumbComponent implements OnInit {
|
|
195
|
+
private _breadcrumbService;
|
|
196
|
+
/**
|
|
197
|
+
* 面包屑项目可以使用此模板进行自定义
|
|
198
|
+
* 模板上下文提供标签、附加信息、第一个和最后一个索引
|
|
199
|
+
* 用例:
|
|
200
|
+
* 1) 添加图标和标签
|
|
201
|
+
* 2) i18n. {{breadcrumb | translate}}
|
|
202
|
+
* 3) 更改文本大小写 {{breadcrumb | titlecase}}
|
|
203
|
+
*/
|
|
204
|
+
itemTemplate: any;
|
|
205
|
+
/**
|
|
206
|
+
* 如果为true,即使没有任何映射标签,面包屑也会自动生成
|
|
207
|
+
* 默认标签与路由segment相同
|
|
208
|
+
*/
|
|
209
|
+
autoGenerate: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* 默认情况下,查询参数将与breadcrumbs一起保留
|
|
212
|
+
*/
|
|
213
|
+
preserveQueryParams: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* 默认情况下,fragments参数将与breadcrumbs一起保留
|
|
216
|
+
*/
|
|
217
|
+
preserveFragment: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* 可提供覆盖样式,增加特异性
|
|
220
|
+
*/
|
|
221
|
+
class: string;
|
|
222
|
+
/**
|
|
223
|
+
* anchorTarget = "_blank" 使breadcrumb链接在新选项卡中打开
|
|
224
|
+
*/
|
|
225
|
+
anchorTarget: '_blank' | void;
|
|
226
|
+
breadcrumbs$: Observable<CmatBreadcrumbDefinition[]>;
|
|
227
|
+
separatorTemplate: TemplateRef<any> | null;
|
|
228
|
+
private _separator;
|
|
229
|
+
constructor(_breadcrumbService: CmatBreadcrumbService);
|
|
230
|
+
get separator(): string | void;
|
|
231
|
+
/**
|
|
232
|
+
* 面包屑分隔符, 默认'/'.
|
|
233
|
+
* 用户可以通过传递字符串或模板来自定义分隔符
|
|
234
|
+
*
|
|
235
|
+
* 字符串 --> Ex: <cmat-breadcrumb separator="-"></cmat-breadcrumb>
|
|
236
|
+
*
|
|
237
|
+
* 模板 --> Ex: <cmat-breadcrumb [separator]="separatorTemplate"></cmat-breadcrumb>
|
|
238
|
+
* <ng-template #separatorTemplate><mat-icon>arrow_right</mat-icon></ng-template>
|
|
239
|
+
*/
|
|
240
|
+
set separator(value: string | TemplateRef<void>);
|
|
241
|
+
ngOnInit(): void;
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatBreadcrumbComponent, never>;
|
|
243
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatBreadcrumbComponent, "cmat-breadcrumb", ["cmatBreadcrumb"], { "autoGenerate": { "alias": "autoGenerate"; "required": false; }; "preserveQueryParams": { "alias": "preserveQueryParams"; "required": false; }; "preserveFragment": { "alias": "preserveFragment"; "required": false; }; "class": { "alias": "class"; "required": false; }; "anchorTarget": { "alias": "anchorTarget"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export { CmatBreadcrumbComponent, CmatBreadcrumbItemDirective, CmatBreadcrumbService };
|
|
247
|
+
export type { CmatBreadcrumb, CmatBreadcrumbDefinition, CmatBreadcrumbFunction, CmatBreadcrumbObject };
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
type CmatCardFace = 'front' | 'back';
|
|
6
|
+
|
|
7
|
+
declare class CmatCardComponent implements OnChanges {
|
|
8
|
+
static ngAcceptInputType_expanded: BooleanInput;
|
|
9
|
+
static ngAcceptInputType_flippable: BooleanInput;
|
|
10
|
+
expanded: boolean;
|
|
11
|
+
face: CmatCardFace;
|
|
12
|
+
flippable: boolean;
|
|
13
|
+
get classList(): any;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCardComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCardComponent, "cmat-card", ["cmatCard"], { "expanded": { "alias": "expanded"; "required": false; }; "face": { "alias": "face"; "required": false; }; "flippable": { "alias": "flippable"; "required": false; }; }, {}, never, ["[cmatCardFront]", "[cmatCardBack]", "*", "[cmatCardExpansion]"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { CmatCardComponent };
|
|
20
|
+
export type { CmatCardFace };
|
|
@@ -1,5 +1,177 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterContentInit, OnChanges, AfterContentChecked, OnDestroy, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface CmatCarouselResponsiveOptions {
|
|
5
|
+
/**
|
|
6
|
+
* 响应模式的断点。
|
|
7
|
+
*/
|
|
8
|
+
breakpoint: string;
|
|
9
|
+
/**
|
|
10
|
+
* 断点上可见项目的数量。
|
|
11
|
+
*/
|
|
12
|
+
numVisible: number;
|
|
13
|
+
/**
|
|
14
|
+
* 断点上滚动的项目数。
|
|
15
|
+
*/
|
|
16
|
+
numScroll: number;
|
|
17
|
+
}
|
|
18
|
+
interface CmatCarouselPageEvent {
|
|
19
|
+
page?: number;
|
|
20
|
+
}
|
|
21
|
+
interface CmatCarouselTemplates {
|
|
22
|
+
header(): TemplateRef<any>;
|
|
23
|
+
item(context: {
|
|
24
|
+
$implicit: any;
|
|
25
|
+
}): TemplateRef<{
|
|
26
|
+
$implicit: any;
|
|
27
|
+
}>;
|
|
28
|
+
/**
|
|
29
|
+
* previousicon自定义模板。
|
|
30
|
+
*/
|
|
31
|
+
previousicon(): TemplateRef<any>;
|
|
32
|
+
/**
|
|
33
|
+
* nexticon自定义模板。
|
|
34
|
+
*/
|
|
35
|
+
nexticon(): TemplateRef<any>;
|
|
36
|
+
/**
|
|
37
|
+
* footer自定义模板。
|
|
38
|
+
*/
|
|
39
|
+
footer(): TemplateRef<any>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class CmatCarouselHeaderComponent {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCarouselHeaderComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCarouselHeaderComponent, "cmat-carousel-header", never, {}, {}, never, ["*"], true, never>;
|
|
45
|
+
}
|
|
46
|
+
declare class CmatCarouselFooterComponent {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCarouselFooterComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCarouselFooterComponent, "cmat-carousel-footer", never, {}, {}, never, ["*"], true, never>;
|
|
49
|
+
}
|
|
50
|
+
declare class CmatCarouselTemplateDirective {
|
|
51
|
+
template: TemplateRef<any>;
|
|
52
|
+
type: string | undefined;
|
|
53
|
+
name: string | undefined;
|
|
54
|
+
constructor(template: TemplateRef<any>);
|
|
55
|
+
getType(): string;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCarouselTemplateDirective, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatCarouselTemplateDirective, "[cmatCarouselTemplate]", never, { "type": { "alias": "type"; "required": false; }; "name": { "alias": "cmatCarouselTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
declare class CmatCarouselComponent implements AfterContentInit, OnChanges, AfterContentChecked, OnDestroy {
|
|
60
|
+
el: ElementRef;
|
|
61
|
+
zone: NgZone;
|
|
62
|
+
cd: ChangeDetectorRef;
|
|
63
|
+
private renderer;
|
|
64
|
+
private _document;
|
|
65
|
+
private _platformId;
|
|
66
|
+
get page(): number;
|
|
67
|
+
set page(val: number);
|
|
68
|
+
get numVisible(): number;
|
|
69
|
+
set numVisible(val: number);
|
|
70
|
+
get numScroll(): number;
|
|
71
|
+
set numScroll(val: number);
|
|
72
|
+
responsiveOptions: CmatCarouselResponsiveOptions[] | undefined;
|
|
73
|
+
orientation: 'horizontal' | 'vertical';
|
|
74
|
+
navigatorsType: 'normal' | 'arrow';
|
|
75
|
+
verticalViewPortHeight: string;
|
|
76
|
+
arrowSelector: string;
|
|
77
|
+
contentClass: string;
|
|
78
|
+
indicatorsContentClass: string;
|
|
79
|
+
indicatorsContentStyle: Record<string, any> | null | undefined;
|
|
80
|
+
indicatorStyleClass: string;
|
|
81
|
+
indicatorStyle: Record<string, any> | null | undefined;
|
|
82
|
+
get data(): any[];
|
|
83
|
+
set data(val: any[]);
|
|
84
|
+
circular: boolean;
|
|
85
|
+
showIndicators: boolean;
|
|
86
|
+
showNavigators: boolean;
|
|
87
|
+
autoplayInterval: number;
|
|
88
|
+
style: Record<string, any> | null | undefined;
|
|
89
|
+
styleClass: string;
|
|
90
|
+
pageEvent: EventEmitter<CmatCarouselPageEvent>;
|
|
91
|
+
itemsContainer: ElementRef | undefined;
|
|
92
|
+
indicatorContent: ElementRef | undefined;
|
|
93
|
+
headerFacet: QueryList<CmatCarouselHeaderComponent> | undefined;
|
|
94
|
+
footerFacet: QueryList<CmatCarouselFooterComponent> | undefined;
|
|
95
|
+
templates: QueryList<CmatCarouselTemplateDirective> | undefined;
|
|
96
|
+
prevState: any;
|
|
97
|
+
defaultNumScroll: number;
|
|
98
|
+
defaultNumVisible: number;
|
|
99
|
+
carouselStyle: any;
|
|
100
|
+
id: string | undefined;
|
|
101
|
+
totalShiftedItems: number;
|
|
102
|
+
isRemainingItemsAdded: boolean;
|
|
103
|
+
animationTimeout: any;
|
|
104
|
+
translateTimeout: any;
|
|
105
|
+
remainingItems: number;
|
|
106
|
+
startPos: any;
|
|
107
|
+
documentResizeListener: any;
|
|
108
|
+
clonedItemsForStarting: any[] | undefined;
|
|
109
|
+
clonedItemsForFinishing: any[] | undefined;
|
|
110
|
+
allowAutoplay: boolean | undefined;
|
|
111
|
+
interval: any;
|
|
112
|
+
isCreated: boolean | undefined;
|
|
113
|
+
swipeThreshold: number;
|
|
114
|
+
itemTemplate: TemplateRef<any> | null;
|
|
115
|
+
headerTemplate: TemplateRef<any> | null;
|
|
116
|
+
footerTemplate: TemplateRef<any> | null;
|
|
117
|
+
previousIconTemplate: TemplateRef<any> | null;
|
|
118
|
+
nextIconTemplate: TemplateRef<any> | null;
|
|
119
|
+
window: Window;
|
|
120
|
+
private _numVisible;
|
|
121
|
+
private _numScroll;
|
|
122
|
+
private _oldNumScroll;
|
|
123
|
+
private _page;
|
|
124
|
+
private _data;
|
|
125
|
+
constructor(el: ElementRef, zone: NgZone, cd: ChangeDetectorRef, renderer: Renderer2, _document: Document, _platformId: any);
|
|
126
|
+
ngOnChanges(simpleChange: SimpleChanges): void;
|
|
127
|
+
ngAfterContentInit(): void;
|
|
128
|
+
ngAfterContentChecked(): void;
|
|
129
|
+
ngOnDestroy(): void;
|
|
130
|
+
firstIndex(): number;
|
|
131
|
+
lastIndex(): number;
|
|
132
|
+
totalDots(): number;
|
|
133
|
+
totalDotsArray(): number[];
|
|
134
|
+
isVertical(): boolean;
|
|
135
|
+
isCircular(): boolean;
|
|
136
|
+
isAutoplay(): boolean | undefined;
|
|
137
|
+
isForwardNavDisabled(): boolean;
|
|
138
|
+
isBackwardNavDisabled(): boolean;
|
|
139
|
+
isEmpty(): boolean;
|
|
140
|
+
navForward(e: MouseEvent | TouchEvent | null, index?: number): void;
|
|
141
|
+
navBackward(e: MouseEvent | TouchEvent | null, index?: number): void;
|
|
142
|
+
onDotClick(e: MouseEvent, index: number): void;
|
|
143
|
+
onIndicatorKeydown(event: KeyboardEvent): void;
|
|
144
|
+
isPlaying(): boolean;
|
|
145
|
+
onTransitionEnd(): void;
|
|
146
|
+
onTouchStart(e: TouchEvent): void;
|
|
147
|
+
onTouchMove(e: TouchEvent | MouseEvent): void;
|
|
148
|
+
onTouchEnd(e: TouchEvent): void;
|
|
149
|
+
arrowCursorClick(cursorSide: string | null): void;
|
|
150
|
+
private _changePageOnTouch;
|
|
151
|
+
private _bindDocumentListeners;
|
|
152
|
+
private _unbindDocumentListeners;
|
|
153
|
+
private _onRightKey;
|
|
154
|
+
private _onLeftKey;
|
|
155
|
+
private _onHomeKey;
|
|
156
|
+
private _onEndKey;
|
|
157
|
+
private _onTabKey;
|
|
158
|
+
private _changedFocusedIndicator;
|
|
159
|
+
private _step;
|
|
160
|
+
private _startAutoplay;
|
|
161
|
+
private _stopAutoplay;
|
|
162
|
+
private _findFocusedIndicatorIndex;
|
|
163
|
+
private _createStyle;
|
|
164
|
+
private _calculatePosition;
|
|
165
|
+
private _updateSlideAccessibility;
|
|
166
|
+
private _updateCarouselItemsAccessibility;
|
|
167
|
+
private _setCloneItems;
|
|
168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCarouselComponent, never>;
|
|
169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCarouselComponent, "cmat-carousel", never, { "page": { "alias": "page"; "required": false; }; "numVisible": { "alias": "numVisible"; "required": false; }; "numScroll": { "alias": "numScroll"; "required": false; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "navigatorsType": { "alias": "navigatorsType"; "required": false; }; "verticalViewPortHeight": { "alias": "verticalViewPortHeight"; "required": false; }; "arrowSelector": { "alias": "arrowSelector"; "required": false; }; "contentClass": { "alias": "contentClass"; "required": false; }; "indicatorsContentClass": { "alias": "indicatorsContentClass"; "required": false; }; "indicatorsContentStyle": { "alias": "indicatorsContentStyle"; "required": false; }; "indicatorStyleClass": { "alias": "indicatorStyleClass"; "required": false; }; "indicatorStyle": { "alias": "indicatorStyle"; "required": false; }; "data": { "alias": "data"; "required": false; }; "circular": { "alias": "circular"; "required": false; }; "showIndicators": { "alias": "showIndicators"; "required": false; }; "showNavigators": { "alias": "showNavigators"; "required": false; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, { "pageEvent": "pageEvent"; }, ["headerFacet", "footerFacet", "templates"], ["cmat-carousel-header", "cmat-carousel-footer"], true, never>;
|
|
170
|
+
static ngAcceptInputType_circular: unknown;
|
|
171
|
+
static ngAcceptInputType_showIndicators: unknown;
|
|
172
|
+
static ngAcceptInputType_showNavigators: unknown;
|
|
173
|
+
static ngAcceptInputType_autoplayInterval: unknown;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export { CmatCarouselComponent, CmatCarouselFooterComponent, CmatCarouselHeaderComponent, CmatCarouselTemplateDirective };
|
|
177
|
+
export type { CmatCarouselPageEvent, CmatCarouselResponsiveOptions, CmatCarouselTemplates };
|