cmat 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/animations/defaults.d.ts +11 -0
- package/animations/drop.d.ts +2 -0
- package/animations/expand-collapse.d.ts +2 -0
- package/animations/fade.d.ts +11 -0
- package/animations/index.d.ts +5 -0
- package/animations/public-api.d.ts +1 -0
- package/animations/shake.d.ts +2 -0
- package/animations/slide.d.ts +9 -0
- package/animations/transform.d.ts +2 -0
- package/animations/zoom.d.ts +3 -0
- package/components/adapter/datetime-adapter.d.ts +45 -0
- package/components/adapter/datetime-formats.d.ts +22 -0
- package/components/adapter/dayjs-date-adapter.d.ts +63 -0
- package/components/adapter/dayjs-date-formats.d.ts +2 -0
- package/components/adapter/dayjs-datetime-adapter.d.ts +22 -0
- package/components/adapter/dayjs-datetime-formats.d.ts +2 -0
- package/components/adapter/index.d.ts +5 -0
- package/components/adapter/native-datetime-adapter.d.ts +31 -0
- package/components/adapter/native-datetime-formats.d.ts +2 -0
- package/components/adapter/public-api.d.ts +8 -0
- package/components/breadcrumb/breadcrumb-item.directive.d.ts +10 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +57 -0
- package/components/breadcrumb/breadcrumb.component.scss +18 -0
- package/components/breadcrumb/breadcrumb.service.d.ts +126 -0
- package/components/breadcrumb/index.d.ts +5 -0
- package/components/breadcrumb/public-api.d.ts +3 -0
- package/components/breadcrumb/types/breadcrumb.config.d.ts +33 -0
- package/components/breadcrumb/types/breadcrumb.d.ts +23 -0
- package/components/card/card.component.d.ts +20 -0
- package/components/card/card.component.scss +63 -0
- package/components/card/card.types.d.ts +1 -0
- package/components/card/index.d.ts +5 -0
- package/components/card/public-api.d.ts +1 -0
- package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.d.ts +14 -0
- package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.scss +43 -0
- package/components/cascade/cascade-list/cascade-list.component.d.ts +52 -0
- package/components/cascade/cascade-list/cascade-list.component.scss +22 -0
- package/components/cascade/cascade-menu/cascade-menu.component.d.ts +10 -0
- package/components/cascade/cascade-menu/cascade-menu.component.scss +48 -0
- package/components/cascade/index.d.ts +5 -0
- package/components/cascade/options.interface.d.ts +8 -0
- package/components/cascade/public-api.d.ts +2 -0
- package/components/date-range/date-range.component.d.ts +134 -0
- package/components/date-range/date-range.component.scss +232 -0
- package/components/date-range/index.d.ts +5 -0
- package/components/date-range/public-api.d.ts +1 -0
- package/components/drawer/drawer.component.d.ts +75 -0
- package/components/drawer/drawer.component.scss +133 -0
- package/components/drawer/drawer.service.d.ts +26 -0
- package/components/drawer/drawer.types.d.ts +2 -0
- package/components/drawer/index.d.ts +5 -0
- package/components/drawer/public-api.d.ts +3 -0
- package/components/fullscreen/fullscreen.component.d.ts +18 -0
- package/components/fullscreen/fullscreen.types.d.ts +13 -0
- package/components/fullscreen/index.d.ts +5 -0
- package/components/fullscreen/public-api.d.ts +2 -0
- package/components/highlight/highlight.component.d.ts +21 -0
- package/components/highlight/highlight.component.scss +3 -0
- package/components/highlight/highlight.service.d.ts +7 -0
- package/components/highlight/index.d.ts +5 -0
- package/components/highlight/public-api.d.ts +2 -0
- package/components/masonry/index.d.ts +5 -0
- package/components/masonry/masonry.component.d.ts +13 -0
- package/components/masonry/public-api.d.ts +1 -0
- package/components/material-color-picker/base-color.d.ts +1 -0
- package/components/material-color-picker/index.d.ts +5 -0
- package/components/material-color-picker/material-color-picker.component.d.ts +35 -0
- package/components/material-color-picker/material-color-picker.component.scss +5 -0
- package/components/material-color-picker/public-api.d.ts +2 -0
- package/components/material-color-picker/selected-color.d.ts +5 -0
- package/components/material-datetimepicker/calendar-body.d.ts +43 -0
- package/components/material-datetimepicker/calendar-body.scss +58 -0
- package/components/material-datetimepicker/calendar.d.ts +146 -0
- package/components/material-datetimepicker/calendar.scss +194 -0
- package/components/material-datetimepicker/clock.d.ts +74 -0
- package/components/material-datetimepicker/clock.scss +90 -0
- package/components/material-datetimepicker/datetimepicker-animations.d.ts +4 -0
- package/components/material-datetimepicker/datetimepicker-content.scss +151 -0
- package/components/material-datetimepicker/datetimepicker-errors.d.ts +1 -0
- package/components/material-datetimepicker/datetimepicker-filtertype.d.ts +5 -0
- package/components/material-datetimepicker/datetimepicker-input.d.ts +106 -0
- package/components/material-datetimepicker/datetimepicker-intl.d.ts +51 -0
- package/components/material-datetimepicker/datetimepicker-toggle.d.ts +40 -0
- package/components/material-datetimepicker/datetimepicker-types.d.ts +13 -0
- package/components/material-datetimepicker/datetimepicker.d.ts +195 -0
- package/components/material-datetimepicker/datetimepicker.scss +145 -0
- package/components/material-datetimepicker/index.d.ts +5 -0
- package/components/material-datetimepicker/month-view.d.ts +64 -0
- package/components/material-datetimepicker/multi-year-view.d.ts +74 -0
- package/components/material-datetimepicker/public-api.d.ts +9 -0
- package/components/material-datetimepicker/time.d.ts +129 -0
- package/components/material-datetimepicker/time.scss +82 -0
- package/components/material-datetimepicker/year-view.d.ts +56 -0
- package/components/navigation/horizontal/components/basic/basic.component.d.ts +27 -0
- package/components/navigation/horizontal/components/branch/branch.component.d.ts +39 -0
- package/components/navigation/horizontal/components/divider/divider.component.d.ts +23 -0
- package/components/navigation/horizontal/components/spacer/spacer.component.d.ts +23 -0
- package/components/navigation/horizontal/horizontal.component.d.ts +43 -0
- package/components/navigation/horizontal/horizontal.component.scss +167 -0
- package/components/navigation/index.d.ts +5 -0
- package/components/navigation/navigation.service.d.ts +71 -0
- package/components/navigation/navigation.types.d.ts +34 -0
- package/components/navigation/public-api.d.ts +4 -0
- package/components/navigation/vertical/components/aside/aside.component.d.ts +63 -0
- package/components/navigation/vertical/components/basic/basic.component.d.ts +30 -0
- package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +74 -0
- package/components/navigation/vertical/components/divider/divider.component.d.ts +26 -0
- package/components/navigation/vertical/components/group/group.component.d.ts +36 -0
- package/components/navigation/vertical/components/spacer/spacer.component.d.ts +26 -0
- package/components/navigation/vertical/styles/appearances/compact.scss +103 -0
- package/components/navigation/vertical/styles/appearances/default.scss +550 -0
- package/components/navigation/vertical/styles/appearances/dense.scss +171 -0
- package/components/navigation/vertical/styles/appearances/thin.scss +91 -0
- package/components/navigation/vertical/vertical.component.d.ts +176 -0
- package/components/navigation/vertical/vertical.component.scss +4 -0
- package/components/pagination/index.d.ts +5 -0
- package/components/pagination/pagination.component.d.ts +24 -0
- package/components/pagination/pagination.directive.d.ts +40 -0
- package/components/pagination/pagination.instance.d.ts +11 -0
- package/components/pagination/pagination.pipe.d.ts +29 -0
- package/components/pagination/pagination.service.d.ts +20 -0
- package/components/pagination/public-api.d.ts +4 -0
- package/components/password-strength/animations/index.d.ts +4 -0
- package/components/password-strength/enum.d.ts +13 -0
- package/components/password-strength/index.d.ts +5 -0
- package/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.d.ts +11 -0
- package/components/password-strength/mat-password-strength/mat-password-strength.component.d.ts +52 -0
- package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.d.ts +16 -0
- package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.scss +19 -0
- package/components/password-strength/mat-password-strength-validator.d.ts +6 -0
- package/components/password-strength/public-api.d.ts +3 -0
- package/components/password-strength/regexp.class.d.ts +6 -0
- package/components/popover/index.d.ts +5 -0
- package/components/popover/popover.component.d.ts +139 -0
- package/components/popover/popover.component.scss +174 -0
- package/components/popover/popover.errors.d.ts +14 -0
- package/components/popover/popover.interfaces.d.ts +44 -0
- package/components/popover/popover.type.d.ts +5 -0
- package/components/popover/public-api.d.ts +1 -0
- package/components/progress-bar/index.d.ts +5 -0
- package/components/progress-bar/progress-bar.component.d.ts +17 -0
- package/components/progress-bar/progress-bar.component.scss +7 -0
- package/components/progress-bar/public-api.d.ts +1 -0
- package/components/rating/index.d.ts +5 -0
- package/components/rating/public-api.d.ts +1 -0
- package/components/rating/rating.component.d.ts +28 -0
- package/components/rating/rating.component.scss +33 -0
- package/components/select-search/default-options.d.ts +8 -0
- package/components/select-search/index.d.ts +5 -0
- package/components/select-search/public-api.d.ts +2 -0
- package/components/select-search/select-no-entries-found.directive.d.ts +5 -0
- package/components/select-search/select-search-clear.directive.d.ts +5 -0
- package/components/select-search/select-search.component.d.ts +91 -0
- package/components/select-search/select-search.component.scss +126 -0
- package/components/select-tree/index.d.ts +5 -0
- package/components/select-tree/public-api.d.ts +1 -0
- package/components/select-tree/select-tree.component.d.ts +85 -0
- package/components/select-tree/select-tree.component.scss +54 -0
- package/components/select-tree/select-tree.flatnode.d.ts +6 -0
- package/components/select-tree/select-tree.node.d.ts +5 -0
- package/components/timeline/index.d.ts +5 -0
- package/components/timeline/public-api.d.ts +2 -0
- package/components/timeline/timeline-item/timeline-item.component.d.ts +25 -0
- package/components/timeline/timeline-item/timeline-item.component.scss +329 -0
- package/components/timeline/timeline.component.d.ts +32 -0
- package/components/timeline/timeline.component.scss +42 -0
- package/components/toast/index.d.ts +5 -0
- package/components/toast/models/global-config.model.d.ts +12 -0
- package/components/toast/models/toast.model.d.ts +6 -0
- package/components/toast/models/type.model.d.ts +12 -0
- package/components/toast/public-api.d.ts +2 -0
- package/components/toast/toast-modal.component.d.ts +18 -0
- package/components/toast/toast-modal.component.scss +119 -0
- package/components/toast/toast.component.d.ts +17 -0
- package/components/toast/toast.component.scss +62 -0
- package/components/toast/toast.service.d.ts +26 -0
- package/components/transfer-picker/filter/filter.component.d.ts +24 -0
- package/components/transfer-picker/filter/filter.component.scss +40 -0
- package/components/transfer-picker/index.d.ts +5 -0
- package/components/transfer-picker/interface.d.ts +42 -0
- package/components/transfer-picker/public-api.d.ts +7 -0
- package/components/transfer-picker/search/search.component.d.ts +14 -0
- package/components/transfer-picker/search/search.component.scss +7 -0
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +49 -0
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.scss +25 -0
- package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.d.ts +12 -0
- package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.scss +27 -0
- package/components/transfer-picker/transfer-picker.component.d.ts +28 -0
- package/components/transfer-picker/transfer-picker.component.scss +8 -0
- package/components/transfer-picker/transfer-picker.service.d.ts +31 -0
- package/directives/animate-on-scroll/animate-on-scroll.directive.d.ts +29 -0
- package/directives/animate-on-scroll/index.d.ts +5 -0
- package/directives/animate-on-scroll/public-api.d.ts +1 -0
- package/directives/animate-on-scroll/scroll.service.d.ts +15 -0
- package/directives/autofocus/autofocus.directive.d.ts +10 -0
- package/directives/autofocus/index.d.ts +5 -0
- package/directives/autofocus/public-api.d.ts +1 -0
- package/directives/debounce/abstract-debounce.directive.d.ts +15 -0
- package/directives/debounce/debounce-click.directive.d.ts +8 -0
- package/directives/debounce/debounce-keyup.directive.d.ts +8 -0
- package/directives/debounce/index.d.ts +5 -0
- package/directives/debounce/public-api.d.ts +2 -0
- package/directives/digit-only/digit-only.directive.d.ts +34 -0
- package/directives/digit-only/index.d.ts +5 -0
- package/directives/digit-only/mask.directive.d.ts +14 -0
- package/directives/digit-only/public-api.d.ts +2 -0
- package/directives/equal-validator/equal-validator.directive.d.ts +14 -0
- package/directives/equal-validator/index.d.ts +5 -0
- package/directives/equal-validator/public-api.d.ts +1 -0
- package/esm2022/animations/cmat-animations.mjs +5 -0
- package/esm2022/animations/defaults.mjs +12 -0
- package/esm2022/animations/drop.mjs +26 -0
- package/esm2022/animations/expand-collapse.mjs +17 -0
- package/esm2022/animations/fade.mjs +170 -0
- package/esm2022/animations/public-api.mjs +19 -0
- package/esm2022/animations/shake.mjs +59 -0
- package/esm2022/animations/slide.mjs +124 -0
- package/esm2022/animations/transform.mjs +16 -0
- package/esm2022/animations/zoom.mjs +38 -0
- package/esm2022/cmat.mjs +5 -0
- package/esm2022/components/adapter/cmat-components-adapter.mjs +5 -0
- package/esm2022/components/adapter/datetime-adapter.mjs +127 -0
- package/esm2022/components/adapter/datetime-formats.mjs +3 -0
- package/esm2022/components/adapter/dayjs-date-adapter.mjs +198 -0
- package/esm2022/components/adapter/dayjs-date-formats.mjs +12 -0
- package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +100 -0
- package/esm2022/components/adapter/dayjs-datetime-formats.mjs +21 -0
- package/esm2022/components/adapter/native-datetime-adapter.mjs +130 -0
- package/esm2022/components/adapter/native-datetime-formats.mjs +15 -0
- package/esm2022/components/adapter/public-api.mjs +9 -0
- package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +19 -0
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +95 -0
- package/esm2022/components/breadcrumb/breadcrumb.service.mjs +336 -0
- package/esm2022/components/breadcrumb/cmat-components-breadcrumb.mjs +5 -0
- package/esm2022/components/breadcrumb/public-api.mjs +4 -0
- package/esm2022/components/breadcrumb/types/breadcrumb.config.mjs +2 -0
- package/esm2022/components/breadcrumb/types/breadcrumb.mjs +2 -0
- package/esm2022/components/card/card.component.mjs +58 -0
- package/esm2022/components/card/card.types.mjs +2 -0
- package/esm2022/components/card/cmat-components-card.mjs +5 -0
- package/esm2022/components/card/public-api.mjs +2 -0
- package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +53 -0
- package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +263 -0
- package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +29 -0
- package/esm2022/components/cascade/cmat-components-cascade.mjs +5 -0
- package/esm2022/components/cascade/options.interface.mjs +2 -0
- package/esm2022/components/cascade/public-api.mjs +3 -0
- package/esm2022/components/date-range/cmat-components-date-range.mjs +5 -0
- package/esm2022/components/date-range/date-range.component.mjs +540 -0
- package/esm2022/components/date-range/public-api.mjs +2 -0
- package/esm2022/components/drawer/cmat-components-drawer.mjs +5 -0
- package/esm2022/components/drawer/drawer.component.mjs +301 -0
- package/esm2022/components/drawer/drawer.service.mjs +41 -0
- package/esm2022/components/drawer/drawer.types.mjs +2 -0
- package/esm2022/components/drawer/public-api.mjs +4 -0
- package/esm2022/components/fullscreen/cmat-components-fullscreen.mjs +5 -0
- package/esm2022/components/fullscreen/fullscreen.component.mjs +101 -0
- package/esm2022/components/fullscreen/fullscreen.types.mjs +2 -0
- package/esm2022/components/fullscreen/public-api.mjs +3 -0
- package/esm2022/components/highlight/cmat-components-highlight.mjs +5 -0
- package/esm2022/components/highlight/highlight.component.mjs +80 -0
- package/esm2022/components/highlight/highlight.service.mjs +47 -0
- package/esm2022/components/highlight/public-api.mjs +3 -0
- package/esm2022/components/masonry/cmat-components-masonry.mjs +5 -0
- package/esm2022/components/masonry/masonry.component.mjs +54 -0
- package/esm2022/components/masonry/public-api.mjs +2 -0
- package/esm2022/components/material-color-picker/base-color.mjs +13 -0
- package/esm2022/components/material-color-picker/cmat-components-material-color-picker.mjs +5 -0
- package/esm2022/components/material-color-picker/material-color-picker.component.mjs +138 -0
- package/esm2022/components/material-color-picker/public-api.mjs +3 -0
- package/esm2022/components/material-color-picker/selected-color.mjs +3 -0
- package/esm2022/components/material-datetimepicker/calendar-body.mjs +80 -0
- package/esm2022/components/material-datetimepicker/calendar.mjs +678 -0
- package/esm2022/components/material-datetimepicker/clock.mjs +293 -0
- package/esm2022/components/material-datetimepicker/cmat-components-material-datetimepicker.mjs +5 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-animations.mjs +34 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-errors.mjs +6 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-filtertype.mjs +8 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +340 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +63 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +88 -0
- package/esm2022/components/material-datetimepicker/datetimepicker-types.mjs +2 -0
- package/esm2022/components/material-datetimepicker/datetimepicker.mjs +534 -0
- package/esm2022/components/material-datetimepicker/month-view.mjs +146 -0
- package/esm2022/components/material-datetimepicker/multi-year-view.mjs +198 -0
- package/esm2022/components/material-datetimepicker/public-api.mjs +10 -0
- package/esm2022/components/material-datetimepicker/time.mjs +456 -0
- package/esm2022/components/material-datetimepicker/year-view.mjs +125 -0
- package/esm2022/components/navigation/cmat-components-navigation.mjs +5 -0
- package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +70 -0
- package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +83 -0
- package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +47 -0
- package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +47 -0
- package/esm2022/components/navigation/horizontal/horizontal.component.mjs +88 -0
- package/esm2022/components/navigation/navigation.service.mjs +140 -0
- package/esm2022/components/navigation/navigation.types.mjs +3 -0
- package/esm2022/components/navigation/public-api.mjs +5 -0
- package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +162 -0
- package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +76 -0
- package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +279 -0
- package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +56 -0
- package/esm2022/components/navigation/vertical/components/group/group.component.mjs +79 -0
- package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +56 -0
- package/esm2022/components/navigation/vertical/vertical.component.mjs +586 -0
- package/esm2022/components/pagination/cmat-components-pagination.mjs +5 -0
- package/esm2022/components/pagination/pagination.component.mjs +71 -0
- package/esm2022/components/pagination/pagination.directive.mjs +197 -0
- package/esm2022/components/pagination/pagination.instance.mjs +2 -0
- package/esm2022/components/pagination/pagination.pipe.mjs +100 -0
- package/esm2022/components/pagination/pagination.service.mjs +90 -0
- package/esm2022/components/pagination/public-api.mjs +5 -0
- package/esm2022/components/password-strength/animations/index.mjs +48 -0
- package/esm2022/components/password-strength/cmat-components-password-strength.mjs +5 -0
- package/esm2022/components/password-strength/enum.mjs +17 -0
- package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +27 -0
- package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +206 -0
- package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +151 -0
- package/esm2022/components/password-strength/mat-password-strength-validator.mjs +36 -0
- package/esm2022/components/password-strength/public-api.mjs +4 -0
- package/esm2022/components/password-strength/regexp.class.mjs +8 -0
- package/esm2022/components/popover/cmat-components-popover.mjs +5 -0
- package/esm2022/components/popover/popover.component.mjs +350 -0
- package/esm2022/components/popover/popover.errors.mjs +27 -0
- package/esm2022/components/popover/popover.interfaces.mjs +2 -0
- package/esm2022/components/popover/popover.type.mjs +2 -0
- package/esm2022/components/popover/public-api.mjs +2 -0
- package/esm2022/components/progress-bar/cmat-components-progress-bar.mjs +5 -0
- package/esm2022/components/progress-bar/progress-bar.component.mjs +55 -0
- package/esm2022/components/progress-bar/public-api.mjs +2 -0
- package/esm2022/components/rating/cmat-components-rating.mjs +5 -0
- package/esm2022/components/rating/public-api.mjs +2 -0
- package/esm2022/components/rating/rating.component.mjs +91 -0
- package/esm2022/components/select-search/cmat-components-select-search.mjs +5 -0
- package/esm2022/components/select-search/default-options.mjs +16 -0
- package/esm2022/components/select-search/public-api.mjs +3 -0
- package/esm2022/components/select-search/select-no-entries-found.directive.mjs +14 -0
- package/esm2022/components/select-search/select-search-clear.directive.mjs +14 -0
- package/esm2022/components/select-search/select-search.component.mjs +488 -0
- package/esm2022/components/select-tree/cmat-components-select-tree.mjs +5 -0
- package/esm2022/components/select-tree/public-api.mjs +2 -0
- package/esm2022/components/select-tree/select-tree.component.mjs +458 -0
- package/esm2022/components/select-tree/select-tree.flatnode.mjs +3 -0
- package/esm2022/components/select-tree/select-tree.node.mjs +3 -0
- package/esm2022/components/timeline/cmat-components-timeline.mjs +5 -0
- package/esm2022/components/timeline/public-api.mjs +3 -0
- package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +68 -0
- package/esm2022/components/timeline/timeline.component.mjs +114 -0
- package/esm2022/components/toast/cmat-components-toast.mjs +5 -0
- package/esm2022/components/toast/models/global-config.model.mjs +2 -0
- package/esm2022/components/toast/models/toast.model.mjs +2 -0
- package/esm2022/components/toast/models/type.model.mjs +2 -0
- package/esm2022/components/toast/public-api.mjs +3 -0
- package/esm2022/components/toast/toast-modal.component.mjs +53 -0
- package/esm2022/components/toast/toast.component.mjs +30 -0
- package/esm2022/components/toast/toast.service.mjs +122 -0
- package/esm2022/components/transfer-picker/cmat-components-transfer-picker.mjs +5 -0
- package/esm2022/components/transfer-picker/filter/filter.component.mjs +85 -0
- package/esm2022/components/transfer-picker/interface.mjs +17 -0
- package/esm2022/components/transfer-picker/public-api.mjs +8 -0
- package/esm2022/components/transfer-picker/search/search.component.mjs +34 -0
- package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +178 -0
- package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +34 -0
- package/esm2022/components/transfer-picker/transfer-picker.component.mjs +82 -0
- package/esm2022/components/transfer-picker/transfer-picker.service.mjs +134 -0
- package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +126 -0
- package/esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs +5 -0
- package/esm2022/directives/animate-on-scroll/public-api.mjs +2 -0
- package/esm2022/directives/animate-on-scroll/scroll.service.mjs +38 -0
- package/esm2022/directives/autofocus/autofocus.directive.mjs +20 -0
- package/esm2022/directives/autofocus/cmat-directives-autofocus.mjs +5 -0
- package/esm2022/directives/autofocus/public-api.mjs +2 -0
- package/esm2022/directives/debounce/abstract-debounce.directive.mjs +34 -0
- package/esm2022/directives/debounce/cmat-directives-debounce.mjs +5 -0
- package/esm2022/directives/debounce/debounce-click.directive.mjs +25 -0
- package/esm2022/directives/debounce/debounce-keyup.directive.mjs +25 -0
- package/esm2022/directives/debounce/public-api.mjs +3 -0
- package/esm2022/directives/digit-only/cmat-directives-digit-only.mjs +5 -0
- package/esm2022/directives/digit-only/digit-only.directive.mjs +282 -0
- package/esm2022/directives/digit-only/mask.directive.mjs +69 -0
- package/esm2022/directives/digit-only/public-api.mjs +3 -0
- package/esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs +5 -0
- package/esm2022/directives/equal-validator/equal-validator.directive.mjs +54 -0
- package/esm2022/directives/equal-validator/public-api.mjs +2 -0
- package/esm2022/lib/mock-api/cmat-lib-mock-api.mjs +5 -0
- package/esm2022/lib/mock-api/mock-api.constants.mjs +3 -0
- package/esm2022/lib/mock-api/mock-api.interceptor.mjs +73 -0
- package/esm2022/lib/mock-api/mock-api.request-handler.mjs +48 -0
- package/esm2022/lib/mock-api/mock-api.service.mjs +93 -0
- package/esm2022/lib/mock-api/mock-api.types.mjs +2 -0
- package/esm2022/lib/mock-api/mock-api.utils.mjs +17 -0
- package/esm2022/lib/mock-api/public-api.mjs +6 -0
- package/esm2022/pipes/bytes/bytes.pipe.mjs +25 -0
- package/esm2022/pipes/bytes/cmat-pipes-bytes.mjs +5 -0
- package/esm2022/pipes/bytes/public-api.mjs +2 -0
- package/esm2022/pipes/date-format/cmat-pipes-date-format.mjs +5 -0
- package/esm2022/pipes/date-format/date-format.pipe.mjs +18 -0
- package/esm2022/pipes/date-format/public-api.mjs +2 -0
- package/esm2022/pipes/find-by-key/cmat-pipes-find-by-key.mjs +5 -0
- package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +23 -0
- package/esm2022/pipes/find-by-key/public-api.mjs +2 -0
- package/esm2022/pipes/group-by/cmat-pipes-group-by.mjs +5 -0
- package/esm2022/pipes/group-by/group-by.pipe.mjs +29 -0
- package/esm2022/pipes/group-by/public-api.mjs +2 -0
- package/esm2022/pipes/keys/cmat-pipes-keys.mjs +5 -0
- package/esm2022/pipes/keys/keys.pipe.mjs +26 -0
- package/esm2022/pipes/keys/public-api.mjs +2 -0
- package/esm2022/pipes/secure/cmat-pipes-secure.mjs +5 -0
- package/esm2022/pipes/secure/public-api.mjs +2 -0
- package/esm2022/pipes/secure/secure-pipe.mjs +43 -0
- package/esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs +5 -0
- package/esm2022/pipes/uppercase/public-api.mjs +2 -0
- package/esm2022/pipes/uppercase/uppercase.pipe.mjs +17 -0
- package/esm2022/public-api.mjs +2 -0
- package/esm2022/services/alert/alert.dialog.mjs +12 -0
- package/esm2022/services/alert/alert.message.mjs +9 -0
- package/esm2022/services/alert/alert.service.mjs +165 -0
- package/esm2022/services/alert/cmat-services-alert.mjs +5 -0
- package/esm2022/services/alert/enum.mjs +15 -0
- package/esm2022/services/alert/public-api.mjs +5 -0
- package/esm2022/services/config/cmat-services-config.mjs +5 -0
- package/esm2022/services/config/config.constants.mjs +3 -0
- package/esm2022/services/config/config.service.mjs +35 -0
- package/esm2022/services/config/public-api.mjs +4 -0
- package/esm2022/services/config/urlStateConfig.service.mjs +30 -0
- package/esm2022/services/confirmation/cmat-services-confirmation.mjs +5 -0
- package/esm2022/services/confirmation/confirmation.service.mjs +51 -0
- package/esm2022/services/confirmation/confirmation.types.mjs +2 -0
- package/esm2022/services/confirmation/dialog/dialog.component.mjs +25 -0
- package/esm2022/services/confirmation/public-api.mjs +3 -0
- package/esm2022/services/data/cmat-services-data.mjs +5 -0
- package/esm2022/services/data/data.service.mjs +169 -0
- package/esm2022/services/data/public-api.mjs +2 -0
- package/esm2022/services/loading/cmat-services-loading.mjs +5 -0
- package/esm2022/services/loading/loading.interceptor.mjs +29 -0
- package/esm2022/services/loading/loading.service.mjs +72 -0
- package/esm2022/services/loading/public-api.mjs +3 -0
- package/esm2022/services/local-storage/cmat-services-local-storage.mjs +5 -0
- package/esm2022/services/local-storage/local-storage.service.mjs +22 -0
- package/esm2022/services/local-storage/public-api.mjs +2 -0
- package/esm2022/services/media-watcher/cmat-services-media-watcher.mjs +5 -0
- package/esm2022/services/media-watcher/media-watcher.service.mjs +55 -0
- package/esm2022/services/media-watcher/public-api.mjs +2 -0
- package/esm2022/services/platform/cmat-services-platform.mjs +5 -0
- package/esm2022/services/platform/platform.service.mjs +46 -0
- package/esm2022/services/platform/public-api.mjs +2 -0
- package/esm2022/services/splash-screen/cmat-services-splash-screen.mjs +5 -0
- package/esm2022/services/splash-screen/public-api.mjs +2 -0
- package/esm2022/services/splash-screen/splash-screen.service.mjs +42 -0
- package/esm2022/services/title/cmat-services-title.mjs +5 -0
- package/esm2022/services/title/public-api.mjs +2 -0
- package/esm2022/services/title/title.service.mjs +46 -0
- package/esm2022/services/translation/cmat-services-translation.mjs +5 -0
- package/esm2022/services/translation/public-api.mjs +2 -0
- package/esm2022/services/translation/translation.service.mjs +62 -0
- package/esm2022/services/utils/cmat-services-utils.mjs +5 -0
- package/esm2022/services/utils/public-api.mjs +2 -0
- package/esm2022/services/utils/utils.service.mjs +391 -0
- package/esm2022/validators/cmat-validators.mjs +5 -0
- package/esm2022/validators/public-api.mjs +2 -0
- package/esm2022/validators/validators.mjs +33 -0
- package/esm2022/version/cmat-version.mjs +5 -0
- package/esm2022/version/public-api.mjs +2 -0
- package/esm2022/version/version.mjs +11 -0
- package/fesm2022/cmat-animations.mjs +466 -0
- package/fesm2022/cmat-animations.mjs.map +1 -0
- package/fesm2022/cmat-components-adapter.mjs +600 -0
- package/fesm2022/cmat-components-adapter.mjs.map +1 -0
- package/fesm2022/cmat-components-breadcrumb.mjs +449 -0
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/cmat-components-card.mjs +65 -0
- package/fesm2022/cmat-components-card.mjs.map +1 -0
- package/fesm2022/cmat-components-cascade.mjs +334 -0
- package/fesm2022/cmat-components-cascade.mjs.map +1 -0
- package/fesm2022/cmat-components-date-range.mjs +547 -0
- package/fesm2022/cmat-components-date-range.mjs.map +1 -0
- package/fesm2022/cmat-components-drawer.mjs +346 -0
- package/fesm2022/cmat-components-drawer.mjs.map +1 -0
- package/fesm2022/cmat-components-fullscreen.mjs +108 -0
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -0
- package/fesm2022/cmat-components-highlight.mjs +131 -0
- package/fesm2022/cmat-components-highlight.mjs.map +1 -0
- package/fesm2022/cmat-components-masonry.mjs +61 -0
- package/fesm2022/cmat-components-masonry.mjs.map +1 -0
- package/fesm2022/cmat-components-material-color-picker.mjs +160 -0
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -0
- package/fesm2022/cmat-components-material-datetimepicker.mjs +2976 -0
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -0
- package/fesm2022/cmat-components-navigation.mjs +1656 -0
- package/fesm2022/cmat-components-navigation.mjs.map +1 -0
- package/fesm2022/cmat-components-pagination.mjs +455 -0
- package/fesm2022/cmat-components-pagination.mjs.map +1 -0
- package/fesm2022/cmat-components-password-strength.mjs +489 -0
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -0
- package/fesm2022/cmat-components-popover.mjs +383 -0
- package/fesm2022/cmat-components-popover.mjs.map +1 -0
- package/fesm2022/cmat-components-progress-bar.mjs +62 -0
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -0
- package/fesm2022/cmat-components-rating.mjs +98 -0
- package/fesm2022/cmat-components-rating.mjs.map +1 -0
- package/fesm2022/cmat-components-select-search.mjs +531 -0
- package/fesm2022/cmat-components-select-search.mjs.map +1 -0
- package/fesm2022/cmat-components-select-tree.mjs +467 -0
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -0
- package/fesm2022/cmat-components-timeline.mjs +186 -0
- package/fesm2022/cmat-components-timeline.mjs.map +1 -0
- package/fesm2022/cmat-components-toast.mjs +205 -0
- package/fesm2022/cmat-components-toast.mjs.map +1 -0
- package/fesm2022/cmat-components-transfer-picker.mjs +536 -0
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -0
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +166 -0
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/cmat-directives-autofocus.mjs +27 -0
- package/fesm2022/cmat-directives-autofocus.mjs.map +1 -0
- package/fesm2022/cmat-directives-debounce.mjs +85 -0
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -0
- package/fesm2022/cmat-directives-digit-only.mjs +356 -0
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -0
- package/fesm2022/cmat-directives-equal-validator.mjs +61 -0
- package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -0
- package/fesm2022/cmat-lib-mock-api.mjs +232 -0
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -0
- package/fesm2022/cmat-pipes-bytes.mjs +32 -0
- package/fesm2022/cmat-pipes-bytes.mjs.map +1 -0
- package/fesm2022/cmat-pipes-date-format.mjs +25 -0
- package/fesm2022/cmat-pipes-date-format.mjs.map +1 -0
- package/fesm2022/cmat-pipes-find-by-key.mjs +30 -0
- package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -0
- package/fesm2022/cmat-pipes-group-by.mjs +36 -0
- package/fesm2022/cmat-pipes-group-by.mjs.map +1 -0
- package/fesm2022/cmat-pipes-keys.mjs +33 -0
- package/fesm2022/cmat-pipes-keys.mjs.map +1 -0
- package/fesm2022/cmat-pipes-secure.mjs +50 -0
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -0
- package/fesm2022/cmat-pipes-uppercase.mjs +24 -0
- package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -0
- package/fesm2022/cmat-services-alert.mjs +207 -0
- package/fesm2022/cmat-services-alert.mjs.map +1 -0
- package/fesm2022/cmat-services-config.mjs +69 -0
- package/fesm2022/cmat-services-config.mjs.map +1 -0
- package/fesm2022/cmat-services-confirmation.mjs +79 -0
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -0
- package/fesm2022/cmat-services-data.mjs +176 -0
- package/fesm2022/cmat-services-data.mjs.map +1 -0
- package/fesm2022/cmat-services-loading.mjs +104 -0
- package/fesm2022/cmat-services-loading.mjs.map +1 -0
- package/fesm2022/cmat-services-local-storage.mjs +29 -0
- package/fesm2022/cmat-services-local-storage.mjs.map +1 -0
- package/fesm2022/cmat-services-media-watcher.mjs +62 -0
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -0
- package/fesm2022/cmat-services-platform.mjs +53 -0
- package/fesm2022/cmat-services-platform.mjs.map +1 -0
- package/fesm2022/cmat-services-splash-screen.mjs +49 -0
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -0
- package/fesm2022/cmat-services-title.mjs +53 -0
- package/fesm2022/cmat-services-title.mjs.map +1 -0
- package/fesm2022/cmat-services-translation.mjs +69 -0
- package/fesm2022/cmat-services-translation.mjs.map +1 -0
- package/fesm2022/cmat-services-utils.mjs +398 -0
- package/fesm2022/cmat-services-utils.mjs.map +1 -0
- package/fesm2022/cmat-validators.mjs +39 -0
- package/fesm2022/cmat-validators.mjs.map +1 -0
- package/fesm2022/cmat-version.mjs +17 -0
- package/fesm2022/cmat-version.mjs.map +1 -0
- package/fesm2022/cmat.mjs +4 -0
- package/fesm2022/cmat.mjs.map +1 -0
- package/icons/CSV.svg +3 -0
- package/icons/EXCEL.svg +3 -0
- package/icons/FILE.svg +3 -0
- package/icons/GIF.svg +3 -0
- package/icons/JPG.svg +3 -0
- package/icons/PDF.svg +3 -0
- package/icons/PNG.svg +3 -0
- package/icons/PPT.svg +3 -0
- package/icons/TEXT.svg +3 -0
- package/icons/VIDEO.svg +3 -0
- package/icons/WORD.svg +3 -0
- package/icons/ZIP.svg +3 -0
- package/icons/arrow-cursor.svg +3 -0
- package/icons/material-icons/heroicons-outline.svg +893 -0
- package/icons/material-icons/heroicons-solid.svg +958 -0
- package/icons/material-icons/material-outline.svg +3586 -0
- package/icons/material-icons/material-solid.svg +3586 -0
- package/index.d.ts +5 -0
- package/lib/mock-api/index.d.ts +5 -0
- package/lib/mock-api/mock-api.constants.d.ts +2 -0
- package/lib/mock-api/mock-api.interceptor.d.ts +12 -0
- package/lib/mock-api/mock-api.request-handler.d.ts +18 -0
- package/lib/mock-api/mock-api.service.d.ts +22 -0
- package/lib/mock-api/mock-api.types.d.ts +9 -0
- package/lib/mock-api/mock-api.utils.d.ts +3 -0
- package/lib/mock-api/public-api.d.ts +5 -0
- package/package.json +344 -0
- package/pipes/bytes/bytes.pipe.d.ts +7 -0
- package/pipes/bytes/index.d.ts +5 -0
- package/pipes/bytes/public-api.d.ts +1 -0
- package/pipes/date-format/date-format.pipe.d.ts +7 -0
- package/pipes/date-format/index.d.ts +5 -0
- package/pipes/date-format/public-api.d.ts +1 -0
- package/pipes/find-by-key/find-by-key.pipe.d.ts +7 -0
- package/pipes/find-by-key/index.d.ts +5 -0
- package/pipes/find-by-key/public-api.d.ts +1 -0
- package/pipes/group-by/group-by.pipe.d.ts +7 -0
- package/pipes/group-by/index.d.ts +5 -0
- package/pipes/group-by/public-api.d.ts +1 -0
- package/pipes/keys/index.d.ts +5 -0
- package/pipes/keys/keys.pipe.d.ts +7 -0
- package/pipes/keys/public-api.d.ts +1 -0
- package/pipes/secure/index.d.ts +5 -0
- package/pipes/secure/public-api.d.ts +1 -0
- package/pipes/secure/secure-pipe.d.ts +18 -0
- package/pipes/uppercase/index.d.ts +5 -0
- package/pipes/uppercase/public-api.d.ts +1 -0
- package/pipes/uppercase/uppercase.pipe.d.ts +7 -0
- package/public-api.d.ts +1 -0
- package/services/alert/alert.dialog.d.ts +11 -0
- package/services/alert/alert.message.d.ts +8 -0
- package/services/alert/alert.service.d.ts +37 -0
- package/services/alert/enum.d.ts +12 -0
- package/services/alert/index.d.ts +5 -0
- package/services/alert/public-api.d.ts +4 -0
- package/services/config/config.constants.d.ts +6 -0
- package/services/config/config.service.d.ts +11 -0
- package/services/config/index.d.ts +5 -0
- package/services/config/public-api.d.ts +3 -0
- package/services/config/urlStateConfig.service.d.ts +10 -0
- package/services/confirmation/confirmation.service.d.ts +12 -0
- package/services/confirmation/confirmation.types.d.ts +21 -0
- package/services/confirmation/dialog/dialog.component.d.ts +10 -0
- package/services/confirmation/index.d.ts +5 -0
- package/services/confirmation/public-api.d.ts +2 -0
- package/services/data/data.service.d.ts +20 -0
- package/services/data/index.d.ts +5 -0
- package/services/data/public-api.d.ts +1 -0
- package/services/loading/index.d.ts +5 -0
- package/services/loading/loading.interceptor.d.ts +12 -0
- package/services/loading/loading.service.d.ts +24 -0
- package/services/loading/public-api.d.ts +2 -0
- package/services/local-storage/index.d.ts +5 -0
- package/services/local-storage/local-storage.service.d.ts +8 -0
- package/services/local-storage/public-api.d.ts +1 -0
- package/services/media-watcher/index.d.ts +5 -0
- package/services/media-watcher/media-watcher.service.d.ts +20 -0
- package/services/media-watcher/public-api.d.ts +1 -0
- package/services/platform/index.d.ts +5 -0
- package/services/platform/platform.service.d.ts +9 -0
- package/services/platform/public-api.d.ts +1 -0
- package/services/splash-screen/index.d.ts +5 -0
- package/services/splash-screen/public-api.d.ts +1 -0
- package/services/splash-screen/splash-screen.service.d.ts +14 -0
- package/services/title/index.d.ts +5 -0
- package/services/title/public-api.d.ts +1 -0
- package/services/title/title.service.d.ts +13 -0
- package/services/translation/index.d.ts +5 -0
- package/services/translation/public-api.d.ts +1 -0
- package/services/translation/translation.service.d.ts +20 -0
- package/services/utils/index.d.ts +5 -0
- package/services/utils/public-api.d.ts +1 -0
- package/services/utils/utils.service.d.ts +57 -0
- package/styles/components/input.scss +42 -0
- package/styles/main.scss +9 -0
- package/styles/overrides/angular-material.scss +1403 -0
- package/styles/overrides/fullcalendar.scss +550 -0
- package/styles/overrides/highlightjs.scss +81 -0
- package/styles/styles.scss +3 -0
- package/styles/tailwind.scss +86 -0
- package/styles/themes.scss +164 -0
- package/styles/user-themes.scss +1 -0
- package/tailwind/plugins/icon-size.js +49 -0
- package/tailwind/plugins/theming.js +256 -0
- package/tailwind/plugins/utilities.js +66 -0
- package/tailwind/utils/generate-contrasts.js +29 -0
- package/tailwind/utils/generate-palette.js +100 -0
- package/tailwind/utils/json-to-sass-map.js +67 -0
- package/validators/index.d.ts +5 -0
- package/validators/public-api.d.ts +1 -0
- package/validators/validators.d.ts +5 -0
- package/version/index.d.ts +5 -0
- package/version/public-api.d.ts +1 -0
- package/version/version.d.ts +9 -0
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, EventEmitter, Output } from '@angular/core';
|
|
3
|
+
import * as i3 from '@angular/material/icon';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import * as i2 from '@angular/material/core';
|
|
6
|
+
import { MatRippleModule } from '@angular/material/core';
|
|
7
|
+
import * as i1 from '@angular/material/button';
|
|
8
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
+
import { FormControl, Validators } from '@angular/forms';
|
|
10
|
+
import * as i1$1 from '@angular/material/progress-bar';
|
|
11
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
12
|
+
import { style, keyframes, animate, animation, animateChild, stagger, query, transition, trigger, useAnimation } from '@angular/animations';
|
|
13
|
+
import { NgIf } from '@angular/common';
|
|
14
|
+
import * as i1$2 from '@angular/material/card';
|
|
15
|
+
import { MatCardModule } from '@angular/material/card';
|
|
16
|
+
|
|
17
|
+
class CmatPassToggleVisibilityComponent {
|
|
18
|
+
constructor() {
|
|
19
|
+
this._type = 'text';
|
|
20
|
+
}
|
|
21
|
+
get type() {
|
|
22
|
+
return this.isVisible ? 'text' : 'password';
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPassToggleVisibilityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: CmatPassToggleVisibilityComponent, isStandalone: true, selector: "cmat-pass-toggle-visibility", inputs: { isVisible: "isVisible", tabindex: "tabindex" }, exportAs: ["cmatPassToggleVisibility"], ngImport: i0, template: "<button (click)=\"isVisible = !isVisible\" type=\"button\" class=\"mat-icon-button cdk-focused cdk-mouse-focused\"\n mat-icon-button [matRippleCentered]=\"true\" matRipple [attr.tabindex]=\"tabindex ? tabindex : null\">\n <mat-icon svgIcon=\"{{isVisible ? 'mat_outline:visibility' : 'mat_outline:visibility_off' }}\"></mat-icon>\n</button>", dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i2.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPassToggleVisibilityComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'cmat-pass-toggle-visibility', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'cmatPassToggleVisibility', standalone: true, imports: [MatButtonModule, MatRippleModule, MatIconModule], template: "<button (click)=\"isVisible = !isVisible\" type=\"button\" class=\"mat-icon-button cdk-focused cdk-mouse-focused\"\n mat-icon-button [matRippleCentered]=\"true\" matRipple [attr.tabindex]=\"tabindex ? tabindex : null\">\n <mat-icon svgIcon=\"{{isVisible ? 'mat_outline:visibility' : 'mat_outline:visibility_off' }}\"></mat-icon>\n</button>" }]
|
|
30
|
+
}], propDecorators: { isVisible: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], tabindex: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}] } });
|
|
35
|
+
|
|
36
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
37
|
+
var Colors;
|
|
38
|
+
(function (Colors) {
|
|
39
|
+
Colors["primary"] = "primary";
|
|
40
|
+
Colors["accent"] = "accent";
|
|
41
|
+
Colors["warn"] = "warn";
|
|
42
|
+
})(Colors || (Colors = {}));
|
|
43
|
+
var Criteria;
|
|
44
|
+
(function (Criteria) {
|
|
45
|
+
Criteria["at_least_eight_chars"] = "minChar";
|
|
46
|
+
Criteria["at_least_one_lower_case_char"] = "lowerCase";
|
|
47
|
+
Criteria["at_least_one_upper_case_char"] = "upperCase";
|
|
48
|
+
Criteria["at_least_one_digit_char"] = "digit";
|
|
49
|
+
Criteria["at_least_one_special_char"] = " specialChar";
|
|
50
|
+
Criteria["at_custom_chars"] = "customChars";
|
|
51
|
+
})(Criteria || (Criteria = {}));
|
|
52
|
+
|
|
53
|
+
class CmatPasswordStrengthValidator {
|
|
54
|
+
isUndefinedOrEmpty(control) {
|
|
55
|
+
if (!control || !control.value || control.value.length === 0) {
|
|
56
|
+
return void 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
validate(criteria, regex) {
|
|
60
|
+
return (control) => {
|
|
61
|
+
this.isUndefinedOrEmpty(control);
|
|
62
|
+
if (!regex.test(control.value)) {
|
|
63
|
+
const failed = {};
|
|
64
|
+
failed[criteria] = {
|
|
65
|
+
actualValue: control.value,
|
|
66
|
+
requiredPattern: regex
|
|
67
|
+
};
|
|
68
|
+
return failed;
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
confirm(password) {
|
|
74
|
+
return (control) => {
|
|
75
|
+
this.isUndefinedOrEmpty(control);
|
|
76
|
+
if (control.value !== password) {
|
|
77
|
+
return {
|
|
78
|
+
notConfirmed: {
|
|
79
|
+
password: password,
|
|
80
|
+
passwordConfirmation: control.value
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
return null;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
90
|
+
const RegExpValidator = {
|
|
91
|
+
'lowerCase': RegExp(/^(?=.*?[a-z])/),
|
|
92
|
+
'upperCase': RegExp(/^(?=.*?[A-Z])/),
|
|
93
|
+
'digit': RegExp(/^(?=.*?[0-9])/),
|
|
94
|
+
'specialChar': RegExp(/^(?=.*?[" !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"])/),
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
class CmatPasswordStrengthComponent {
|
|
98
|
+
constructor() {
|
|
99
|
+
this.enableLengthRule = true;
|
|
100
|
+
this.enableLowerCaseLetterRule = true;
|
|
101
|
+
this.enableUpperCaseLetterRule = true;
|
|
102
|
+
this.enableDigitRule = true;
|
|
103
|
+
this.enableSpecialCharRule = true;
|
|
104
|
+
this.min = 8;
|
|
105
|
+
this.max = 30;
|
|
106
|
+
this.warnThreshold = 21;
|
|
107
|
+
this.accentThreshold = 81;
|
|
108
|
+
this.strengthChanged = new EventEmitter();
|
|
109
|
+
this.criteriaMap = new Map();
|
|
110
|
+
// TO ACCESS VIA CONTENT CHILD
|
|
111
|
+
this.passwordFormControl = new FormControl();
|
|
112
|
+
this.passwordConfirmationFormControl = new FormControl();
|
|
113
|
+
this.validatorsArray = [];
|
|
114
|
+
this.cmatPasswordStrengthValidator = new CmatPasswordStrengthValidator();
|
|
115
|
+
this._strength = 0;
|
|
116
|
+
this._color = 'warn';
|
|
117
|
+
}
|
|
118
|
+
get strength() {
|
|
119
|
+
return this._strength ? this._strength : 0;
|
|
120
|
+
}
|
|
121
|
+
get color() {
|
|
122
|
+
return this._color;
|
|
123
|
+
}
|
|
124
|
+
ngOnInit() {
|
|
125
|
+
this.setRulesAndValidators();
|
|
126
|
+
if (this.password) {
|
|
127
|
+
this.calculatePasswordStrength();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
ngOnChanges(changes) {
|
|
131
|
+
if ((changes['externalError'] && changes['externalError'].firstChange) || changes['password'].isFirstChange()) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
else if (changes['externalError'] && changes['externalError'].currentValue) {
|
|
135
|
+
this._color = Colors.warn;
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
else if (changes['password'].previousValue === changes['password'].currentValue && !changes['password'].firstChange) {
|
|
139
|
+
this._checkPassword();
|
|
140
|
+
}
|
|
141
|
+
else if (this.password && this.password.length > 0) {
|
|
142
|
+
this._checkPassword();
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
this.reset();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
parseCustomValidatorsRegex() {
|
|
149
|
+
if (this.customValidator instanceof RegExp) {
|
|
150
|
+
return this.customValidator;
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
return RegExp(this.customValidator);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
setRulesAndValidators() {
|
|
157
|
+
this.validatorsArray = [];
|
|
158
|
+
this.criteriaMap = new Map();
|
|
159
|
+
this.passwordConfirmationFormControl
|
|
160
|
+
.setValidators(Validators.compose([
|
|
161
|
+
Validators.required, this.cmatPasswordStrengthValidator.confirm(this.password)
|
|
162
|
+
]));
|
|
163
|
+
this.validatorsArray.push(Validators.required);
|
|
164
|
+
if (this.enableLengthRule) {
|
|
165
|
+
this.criteriaMap.set(Criteria.at_least_eight_chars, RegExp(`^.{${this.min},${this.max}}$`));
|
|
166
|
+
this.validatorsArray.push(Validators.minLength(this.min));
|
|
167
|
+
this.validatorsArray.push(Validators.maxLength(this.max));
|
|
168
|
+
}
|
|
169
|
+
if (this.enableLowerCaseLetterRule) {
|
|
170
|
+
this.criteriaMap.set(Criteria.at_least_one_lower_case_char, RegExpValidator.lowerCase);
|
|
171
|
+
this.validatorsArray.push(Validators.pattern(RegExpValidator.lowerCase));
|
|
172
|
+
}
|
|
173
|
+
if (this.enableUpperCaseLetterRule) {
|
|
174
|
+
this.criteriaMap.set(Criteria.at_least_one_upper_case_char, RegExpValidator.upperCase);
|
|
175
|
+
this.validatorsArray.push(Validators.pattern(RegExpValidator.upperCase));
|
|
176
|
+
}
|
|
177
|
+
if (this.enableDigitRule) {
|
|
178
|
+
this.criteriaMap.set(Criteria.at_least_one_digit_char, RegExpValidator.digit);
|
|
179
|
+
this.validatorsArray.push(Validators.pattern(RegExpValidator.digit));
|
|
180
|
+
}
|
|
181
|
+
if (this.enableSpecialCharRule) {
|
|
182
|
+
this.criteriaMap.set(Criteria.at_least_one_special_char, RegExpValidator.specialChar);
|
|
183
|
+
this.validatorsArray.push(Validators.pattern(RegExpValidator.specialChar));
|
|
184
|
+
}
|
|
185
|
+
if (this.customValidator) {
|
|
186
|
+
this.criteriaMap.set(Criteria.at_custom_chars, this.parseCustomValidatorsRegex());
|
|
187
|
+
this.validatorsArray.push(Validators.pattern(this.parseCustomValidatorsRegex()));
|
|
188
|
+
}
|
|
189
|
+
this.criteriaMap.forEach((value, key) => {
|
|
190
|
+
this.validatorsArray.push(this.cmatPasswordStrengthValidator.validate(key, value));
|
|
191
|
+
});
|
|
192
|
+
this.passwordFormControl.setValidators(Validators.compose([...this.validatorsArray]));
|
|
193
|
+
this.validators = Validators.compose([...this.validatorsArray]);
|
|
194
|
+
}
|
|
195
|
+
calculatePasswordStrength() {
|
|
196
|
+
const requirements = [];
|
|
197
|
+
const unit = 100 / this.criteriaMap.size;
|
|
198
|
+
requirements.push(this.enableLengthRule ? this._containAtLeastMinChars() : false, this.enableLowerCaseLetterRule ? this._containAtLeastOneLowerCaseLetter() : false, this.enableUpperCaseLetterRule ? this._containAtLeastOneUpperCaseLetter() : false, this.enableDigitRule ? this._containAtLeastOneDigit() : false, this.enableSpecialCharRule ? this._containAtLeastOneSpecialChar() : false, this.customValidator ? this._containCustomChars() : false);
|
|
199
|
+
this._strength = requirements.filter(v => v).length * unit;
|
|
200
|
+
this.strengthChanged.emit(this.strength);
|
|
201
|
+
this.setRulesAndValidators();
|
|
202
|
+
if (this._strength < this.warnThreshold) {
|
|
203
|
+
this._color = Colors.warn;
|
|
204
|
+
}
|
|
205
|
+
else if (this._strength < this.accentThreshold) {
|
|
206
|
+
this._color = Colors.accent;
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
this._color = Colors.primary;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
reset() {
|
|
213
|
+
this._strength = 0;
|
|
214
|
+
this.containAtLeastMinChars =
|
|
215
|
+
this.containAtLeastOneLowerCaseLetter =
|
|
216
|
+
this.containAtLeastOneUpperCaseLetter =
|
|
217
|
+
this.containAtLeastOneDigit =
|
|
218
|
+
this.containAtCustomChars =
|
|
219
|
+
this.containAtLeastOneSpecialChar = false;
|
|
220
|
+
this._color = Colors.warn;
|
|
221
|
+
this.strengthChanged.emit(this.strength);
|
|
222
|
+
}
|
|
223
|
+
_containAtLeastMinChars() {
|
|
224
|
+
this.containAtLeastMinChars = this.password.length >= this.min;
|
|
225
|
+
return this.containAtLeastMinChars;
|
|
226
|
+
}
|
|
227
|
+
_containAtLeastOneLowerCaseLetter() {
|
|
228
|
+
this.containAtLeastOneLowerCaseLetter =
|
|
229
|
+
this.criteriaMap
|
|
230
|
+
.get(Criteria.at_least_one_lower_case_char)?.test(this.password);
|
|
231
|
+
return this.containAtLeastOneLowerCaseLetter || false;
|
|
232
|
+
}
|
|
233
|
+
_containAtLeastOneUpperCaseLetter() {
|
|
234
|
+
this.containAtLeastOneUpperCaseLetter =
|
|
235
|
+
this.criteriaMap
|
|
236
|
+
.get(Criteria.at_least_one_upper_case_char)?.test(this.password);
|
|
237
|
+
return this.containAtLeastOneUpperCaseLetter || false;
|
|
238
|
+
}
|
|
239
|
+
_containAtLeastOneDigit() {
|
|
240
|
+
this.containAtLeastOneDigit =
|
|
241
|
+
this.criteriaMap
|
|
242
|
+
.get(Criteria.at_least_one_digit_char)?.test(this.password);
|
|
243
|
+
return this.containAtLeastOneDigit || false;
|
|
244
|
+
}
|
|
245
|
+
_containAtLeastOneSpecialChar() {
|
|
246
|
+
this.containAtLeastOneSpecialChar =
|
|
247
|
+
this.criteriaMap
|
|
248
|
+
.get(Criteria.at_least_one_special_char)?.test(this.password);
|
|
249
|
+
return this.containAtLeastOneSpecialChar || false;
|
|
250
|
+
}
|
|
251
|
+
_containCustomChars() {
|
|
252
|
+
this.containAtCustomChars =
|
|
253
|
+
this.criteriaMap
|
|
254
|
+
.get(Criteria.at_custom_chars)?.test(this.password);
|
|
255
|
+
return this.containAtCustomChars || false;
|
|
256
|
+
}
|
|
257
|
+
_checkPassword() {
|
|
258
|
+
this.calculatePasswordStrength();
|
|
259
|
+
this.passwordConfirmationFormControl.updateValueAndValidity();
|
|
260
|
+
}
|
|
261
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPasswordStrengthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
262
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: CmatPasswordStrengthComponent, isStandalone: true, selector: "cmat-password-strength", inputs: { password: "password", externalError: "externalError", enableLengthRule: "enableLengthRule", enableLowerCaseLetterRule: "enableLowerCaseLetterRule", enableUpperCaseLetterRule: "enableUpperCaseLetterRule", enableDigitRule: "enableDigitRule", enableSpecialCharRule: "enableSpecialCharRule", min: "min", max: "max", customValidator: "customValidator", warnThreshold: "warnThreshold", accentThreshold: "accentThreshold" }, outputs: { strengthChanged: "strengthChanged" }, exportAs: ["cmatPasswordStrength"], usesOnChanges: true, ngImport: i0, template: "<mat-progress-bar mode=\"determinate\" [color]=\"color\" [value]=\"strength\"></mat-progress-bar>", dependencies: [{ kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPasswordStrengthComponent, decorators: [{
|
|
265
|
+
type: Component,
|
|
266
|
+
args: [{ selector: 'cmat-password-strength', exportAs: 'cmatPasswordStrength', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatProgressBarModule], template: "<mat-progress-bar mode=\"determinate\" [color]=\"color\" [value]=\"strength\"></mat-progress-bar>" }]
|
|
267
|
+
}], propDecorators: { password: [{
|
|
268
|
+
type: Input
|
|
269
|
+
}], externalError: [{
|
|
270
|
+
type: Input
|
|
271
|
+
}], enableLengthRule: [{
|
|
272
|
+
type: Input
|
|
273
|
+
}], enableLowerCaseLetterRule: [{
|
|
274
|
+
type: Input
|
|
275
|
+
}], enableUpperCaseLetterRule: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], enableDigitRule: [{
|
|
278
|
+
type: Input
|
|
279
|
+
}], enableSpecialCharRule: [{
|
|
280
|
+
type: Input
|
|
281
|
+
}], min: [{
|
|
282
|
+
type: Input
|
|
283
|
+
}], max: [{
|
|
284
|
+
type: Input
|
|
285
|
+
}], customValidator: [{
|
|
286
|
+
type: Input
|
|
287
|
+
}], warnThreshold: [{
|
|
288
|
+
type: Input
|
|
289
|
+
}], accentThreshold: [{
|
|
290
|
+
type: Input
|
|
291
|
+
}], strengthChanged: [{
|
|
292
|
+
type: Output
|
|
293
|
+
}] } });
|
|
294
|
+
|
|
295
|
+
const flipInX = flipIn(1, 1, 0);
|
|
296
|
+
const flipInY = flipIn(1, 0, 1);
|
|
297
|
+
const shake = animation(animate('{{ timing }}s {{ delay }}s', keyframes([
|
|
298
|
+
style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),
|
|
299
|
+
style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.1 }),
|
|
300
|
+
style({ transform: 'translate3d(10px, 0, 0)', offset: 0.2 }),
|
|
301
|
+
style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.3 }),
|
|
302
|
+
style({ transform: 'translate3d(10px, 0, 0)', offset: 0.4 }),
|
|
303
|
+
style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.5 }),
|
|
304
|
+
style({ transform: 'translate3d(10px, 0, 0)', offset: 0.6 }),
|
|
305
|
+
style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.7 }),
|
|
306
|
+
style({ transform: 'translate3d(10px, 0, 0)', offset: 0.8 }),
|
|
307
|
+
style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.9 }),
|
|
308
|
+
style({ transform: 'translate3d(0, 0, 0)', offset: 1 }),
|
|
309
|
+
])), { params: { timing: 1, delay: 0 } });
|
|
310
|
+
function flipIn(timing, rotateX, rotateY) {
|
|
311
|
+
const params = { timing: timing, delay: 0, rotateX, rotateY };
|
|
312
|
+
return animation([
|
|
313
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
314
|
+
style({ 'backface-visibility': 'visible' }),
|
|
315
|
+
animate('{{ timing }}s {{ delay }}s ease-in', keyframes([
|
|
316
|
+
style({
|
|
317
|
+
opacity: 0,
|
|
318
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)',
|
|
319
|
+
offset: 0,
|
|
320
|
+
}),
|
|
321
|
+
style({
|
|
322
|
+
opacity: 1,
|
|
323
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)',
|
|
324
|
+
offset: 0.4,
|
|
325
|
+
}),
|
|
326
|
+
style({
|
|
327
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)',
|
|
328
|
+
offset: 0.6,
|
|
329
|
+
}),
|
|
330
|
+
style({
|
|
331
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)',
|
|
332
|
+
offset: 0.8,
|
|
333
|
+
}),
|
|
334
|
+
style({
|
|
335
|
+
transform: 'perspective(400px) rotate3d(0, 0, 0, 0)',
|
|
336
|
+
offset: 1,
|
|
337
|
+
}),
|
|
338
|
+
])),
|
|
339
|
+
], { params });
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
class CmatPasswordStrengthInfoComponent {
|
|
343
|
+
constructor() {
|
|
344
|
+
this.enableScoreInfo = false;
|
|
345
|
+
this.lowerCaseCriteriaMsg = '包含至少一个小写字母';
|
|
346
|
+
this.upperCaseCriteriaMsg = '包含至少一个大写字母';
|
|
347
|
+
this.digitsCriteriaMsg = '包含至少一个数字';
|
|
348
|
+
this.specialCharsCriteriaMsg = '包含至少一个特殊字符';
|
|
349
|
+
this.customCharsCriteriaMsg = '包含至少一个传统字符';
|
|
350
|
+
}
|
|
351
|
+
ngOnInit() {
|
|
352
|
+
if (!this.minCharsCriteriaMsg) {
|
|
353
|
+
this.minCharsCriteriaMsg = `包含至少 ${this.passwordComponent.min} 个字符`;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPasswordStrengthInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
357
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: CmatPasswordStrengthInfoComponent, isStandalone: true, selector: "cmat-password-strength-info", inputs: { passwordComponent: "passwordComponent", enableScoreInfo: "enableScoreInfo", lowerCaseCriteriaMsg: "lowerCaseCriteriaMsg", upperCaseCriteriaMsg: "upperCaseCriteriaMsg", digitsCriteriaMsg: "digitsCriteriaMsg", specialCharsCriteriaMsg: "specialCharsCriteriaMsg", customCharsCriteriaMsg: "customCharsCriteriaMsg", minCharsCriteriaMsg: "minCharsCriteriaMsg" }, exportAs: ["cmatPasswordStrengthInfo"], ngImport: i0, template: "<mat-card @list class=\"info-card\">\n <mat-card-content>\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLowerCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneLowerCaseLetter; then done else error\" @flipY>\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{lowerCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableUpperCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneUpperCaseLetter; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{upperCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableDigitRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneDigit; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{digitsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableSpecialCharRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneSpecialChar; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{specialCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLengthRule\">\n <div *ngIf=\"passwordComponent.containAtLeastMinChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{minCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.customValidator\">\n <div *ngIf=\"passwordComponent.containAtCustomChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{customCharsCriteriaMsg}}</span>\n </div>\n\n <div *ngIf=\"enableScoreInfo\" class=\"info-row\" @items>\n <div *ngIf=\"passwordComponent.strength === 100; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>\u5BC6\u7801\u5F3A\u5EA6= {{passwordComponent.strength}} %100</span>\n </div>\n\n </mat-card-content>\n</mat-card>", styles: ["cmat-password-strength-info{margin-top:20px}cmat-password-strength-info .mat-mdc-card{@apply flex flex-row flex-1 m-2 box-border place-content-stretch items-stretch;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content{@apply flex flex-col box-border max-w-full place-content-stretch items-stretch;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content .mat-icon{@apply mr-4;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content .info-row{@apply flex flex-row box-border items-center;}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1$2.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], animations: [
|
|
358
|
+
// nice stagger effect when showing existing elements
|
|
359
|
+
trigger('list', [
|
|
360
|
+
transition(':enter', [
|
|
361
|
+
// child animation selector + stagger
|
|
362
|
+
query('@items', stagger(300, animateChild()))
|
|
363
|
+
]),
|
|
364
|
+
]),
|
|
365
|
+
trigger('items', [
|
|
366
|
+
// cubic-bezier for a tiny bouncing feel
|
|
367
|
+
transition(':enter', [
|
|
368
|
+
style({ transform: 'scale(0.5)', opacity: 0 }),
|
|
369
|
+
animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(1)', opacity: 1 }))
|
|
370
|
+
]),
|
|
371
|
+
transition(':leave', [
|
|
372
|
+
style({ transform: 'scale(1)', opacity: 1, height: '*' }),
|
|
373
|
+
animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(0.5)', opacity: 0, height: '0px', margin: '0px' }))
|
|
374
|
+
]),
|
|
375
|
+
]),
|
|
376
|
+
trigger('positiveState', [
|
|
377
|
+
transition(':enter', [
|
|
378
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
379
|
+
style({ 'backface-visibility': 'visible' }),
|
|
380
|
+
animate('{{ timing }}s {{ delay }}s ease-in', keyframes([
|
|
381
|
+
style({
|
|
382
|
+
opacity: 0,
|
|
383
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)',
|
|
384
|
+
offset: 0,
|
|
385
|
+
}),
|
|
386
|
+
style({
|
|
387
|
+
opacity: 1,
|
|
388
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)',
|
|
389
|
+
offset: 0.4,
|
|
390
|
+
}),
|
|
391
|
+
style({
|
|
392
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)',
|
|
393
|
+
offset: 0.6,
|
|
394
|
+
}),
|
|
395
|
+
style({
|
|
396
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)',
|
|
397
|
+
offset: 0.8,
|
|
398
|
+
}),
|
|
399
|
+
style({
|
|
400
|
+
transform: 'perspective(400px) rotate3d(0, 0, 0, 0)',
|
|
401
|
+
offset: 1,
|
|
402
|
+
}),
|
|
403
|
+
])),
|
|
404
|
+
], { params: { timing: 1, delay: 0, rotateX: 1, rotateY: 0 } }),
|
|
405
|
+
]),
|
|
406
|
+
trigger('negativeState', [
|
|
407
|
+
transition(':enter', useAnimation(shake)),
|
|
408
|
+
]),
|
|
409
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
410
|
+
}
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatPasswordStrengthInfoComponent, decorators: [{
|
|
412
|
+
type: Component,
|
|
413
|
+
args: [{ selector: 'cmat-password-strength-info', exportAs: 'cmatPasswordStrengthInfo', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
414
|
+
// nice stagger effect when showing existing elements
|
|
415
|
+
trigger('list', [
|
|
416
|
+
transition(':enter', [
|
|
417
|
+
// child animation selector + stagger
|
|
418
|
+
query('@items', stagger(300, animateChild()))
|
|
419
|
+
]),
|
|
420
|
+
]),
|
|
421
|
+
trigger('items', [
|
|
422
|
+
// cubic-bezier for a tiny bouncing feel
|
|
423
|
+
transition(':enter', [
|
|
424
|
+
style({ transform: 'scale(0.5)', opacity: 0 }),
|
|
425
|
+
animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(1)', opacity: 1 }))
|
|
426
|
+
]),
|
|
427
|
+
transition(':leave', [
|
|
428
|
+
style({ transform: 'scale(1)', opacity: 1, height: '*' }),
|
|
429
|
+
animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(0.5)', opacity: 0, height: '0px', margin: '0px' }))
|
|
430
|
+
]),
|
|
431
|
+
]),
|
|
432
|
+
trigger('positiveState', [
|
|
433
|
+
transition(':enter', [
|
|
434
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
435
|
+
style({ 'backface-visibility': 'visible' }),
|
|
436
|
+
animate('{{ timing }}s {{ delay }}s ease-in', keyframes([
|
|
437
|
+
style({
|
|
438
|
+
opacity: 0,
|
|
439
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)',
|
|
440
|
+
offset: 0,
|
|
441
|
+
}),
|
|
442
|
+
style({
|
|
443
|
+
opacity: 1,
|
|
444
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)',
|
|
445
|
+
offset: 0.4,
|
|
446
|
+
}),
|
|
447
|
+
style({
|
|
448
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)',
|
|
449
|
+
offset: 0.6,
|
|
450
|
+
}),
|
|
451
|
+
style({
|
|
452
|
+
transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)',
|
|
453
|
+
offset: 0.8,
|
|
454
|
+
}),
|
|
455
|
+
style({
|
|
456
|
+
transform: 'perspective(400px) rotate3d(0, 0, 0, 0)',
|
|
457
|
+
offset: 1,
|
|
458
|
+
}),
|
|
459
|
+
])),
|
|
460
|
+
], { params: { timing: 1, delay: 0, rotateX: 1, rotateY: 0 } }),
|
|
461
|
+
]),
|
|
462
|
+
trigger('negativeState', [
|
|
463
|
+
transition(':enter', useAnimation(shake)),
|
|
464
|
+
]),
|
|
465
|
+
], standalone: true, imports: [MatCardModule, NgIf, MatIconModule], template: "<mat-card @list class=\"info-card\">\n <mat-card-content>\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLowerCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneLowerCaseLetter; then done else error\" @flipY>\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{lowerCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableUpperCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneUpperCaseLetter; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{upperCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableDigitRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneDigit; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{digitsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableSpecialCharRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneSpecialChar; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{specialCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLengthRule\">\n <div *ngIf=\"passwordComponent.containAtLeastMinChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{minCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.customValidator\">\n <div *ngIf=\"passwordComponent.containAtCustomChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{customCharsCriteriaMsg}}</span>\n </div>\n\n <div *ngIf=\"enableScoreInfo\" class=\"info-row\" @items>\n <div *ngIf=\"passwordComponent.strength === 100; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>\u5BC6\u7801\u5F3A\u5EA6= {{passwordComponent.strength}} %100</span>\n </div>\n\n </mat-card-content>\n</mat-card>", styles: ["cmat-password-strength-info{margin-top:20px}cmat-password-strength-info .mat-mdc-card{@apply flex flex-row flex-1 m-2 box-border place-content-stretch items-stretch;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content{@apply flex flex-col box-border max-w-full place-content-stretch items-stretch;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content .mat-icon{@apply mr-4;}cmat-password-strength-info .mat-mdc-card .mat-mdc-card-content .info-row{@apply flex flex-row box-border items-center;}\n"] }]
|
|
466
|
+
}], propDecorators: { passwordComponent: [{
|
|
467
|
+
type: Input
|
|
468
|
+
}], enableScoreInfo: [{
|
|
469
|
+
type: Input
|
|
470
|
+
}], lowerCaseCriteriaMsg: [{
|
|
471
|
+
type: Input
|
|
472
|
+
}], upperCaseCriteriaMsg: [{
|
|
473
|
+
type: Input
|
|
474
|
+
}], digitsCriteriaMsg: [{
|
|
475
|
+
type: Input
|
|
476
|
+
}], specialCharsCriteriaMsg: [{
|
|
477
|
+
type: Input
|
|
478
|
+
}], customCharsCriteriaMsg: [{
|
|
479
|
+
type: Input
|
|
480
|
+
}], minCharsCriteriaMsg: [{
|
|
481
|
+
type: Input
|
|
482
|
+
}] } });
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Generated bundle index. Do not edit.
|
|
486
|
+
*/
|
|
487
|
+
|
|
488
|
+
export { CmatPassToggleVisibilityComponent, CmatPasswordStrengthComponent, CmatPasswordStrengthInfoComponent };
|
|
489
|
+
//# sourceMappingURL=cmat-components-password-strength.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmat-components-password-strength.mjs","sources":["../../../projects/cmat/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.ts","../../../projects/cmat/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.html","../../../projects/cmat/components/password-strength/enum.ts","../../../projects/cmat/components/password-strength/mat-password-strength-validator.ts","../../../projects/cmat/components/password-strength/regexp.class.ts","../../../projects/cmat/components/password-strength/mat-password-strength/mat-password-strength.component.ts","../../../projects/cmat/components/password-strength/mat-password-strength/mat-password-strength.component.html","../../../projects/cmat/components/password-strength/animations/index.ts","../../../projects/cmat/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.ts","../../../projects/cmat/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.html","../../../projects/cmat/components/password-strength/cmat-components-password-strength.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatButtonModule } from '@angular/material/button';\n\ntype Type = 'text' | 'password';\n\n@Component({\n selector: 'cmat-pass-toggle-visibility',\n templateUrl: './mat-pass-toggle-visibility.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'cmatPassToggleVisibility',\n standalone: true,\n imports: [MatButtonModule, MatRippleModule, MatIconModule]\n})\nexport class CmatPassToggleVisibilityComponent {\n @Input()\n isVisible: boolean;\n @Input()\n tabindex?: string;\n\n _type: Type = 'text';\n\n get type(): string {\n return this.isVisible ? 'text' : 'password';\n }\n\n}\n","<button (click)=\"isVisible = !isVisible\" type=\"button\" class=\"mat-icon-button cdk-focused cdk-mouse-focused\"\n mat-icon-button [matRippleCentered]=\"true\" matRipple [attr.tabindex]=\"tabindex ? tabindex : null\">\n <mat-icon svgIcon=\"{{isVisible ? 'mat_outline:visibility' : 'mat_outline:visibility_off' }}\"></mat-icon>\n</button>","/* eslint-disable @typescript-eslint/naming-convention */\r\nexport enum Colors {\r\n primary = 'primary',\r\n accent = 'accent',\r\n warn = 'warn'\r\n}\r\n\r\nexport enum Criteria {\r\n at_least_eight_chars = 'minChar',\r\n at_least_one_lower_case_char = 'lowerCase',\r\n at_least_one_upper_case_char = 'upperCase',\r\n at_least_one_digit_char = 'digit',\r\n at_least_one_special_char = ' specialChar',\r\n at_custom_chars = 'customChars'\r\n}\r\n","import { AbstractControl, ValidatorFn } from '@angular/forms';\r\n\r\nexport class CmatPasswordStrengthValidator {\r\n isUndefinedOrEmpty(control: AbstractControl): any | void {\r\n if (!control || !control.value || control.value.length === 0) {\r\n return void 0;\r\n }\r\n }\r\n\r\n validate(criteria: string, regex: RegExp): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: any } | null => {\r\n this.isUndefinedOrEmpty(control);\r\n if (!regex.test(control.value)) {\r\n const failed: any = {};\r\n failed[criteria] = {\r\n actualValue: control.value,\r\n requiredPattern: regex\r\n };\r\n return failed;\r\n }\r\n return null;\r\n };\r\n }\r\n\r\n confirm(password: string): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: any } | null => {\r\n this.isUndefinedOrEmpty(control);\r\n if (control.value !== password) {\r\n return {\r\n notConfirmed: {\r\n password: password,\r\n passwordConfirmation: control.value\r\n }\r\n };\r\n }\r\n return null;\r\n };\r\n }\r\n\r\n}\r\n","// eslint-disable-next-line @typescript-eslint/naming-convention\r\nexport const RegExpValidator = {\r\n 'lowerCase': RegExp(/^(?=.*?[a-z])/),\r\n 'upperCase': RegExp(/^(?=.*?[A-Z])/),\r\n 'digit': RegExp(/^(?=.*?[0-9])/),\r\n 'specialChar': RegExp(/^(?=.*?[\" !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\"])/),\r\n};\r\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewEncapsulation } from '@angular/core';\r\nimport { FormControl, ValidatorFn, Validators } from '@angular/forms';\r\nimport { ThemePalette } from '@angular/material/core';\r\nimport { Colors, Criteria } from '../enum';\r\nimport { CmatPasswordStrengthValidator } from '../mat-password-strength-validator';\r\nimport { RegExpValidator } from '../regexp.class';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\n\r\n@Component({\r\n selector: 'cmat-password-strength',\r\n exportAs: 'cmatPasswordStrength',\r\n templateUrl: './mat-password-strength.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [MatProgressBarModule]\r\n})\r\nexport class CmatPasswordStrengthComponent implements OnInit, OnChanges {\r\n @Input() password: string;\r\n @Input() externalError: boolean;\r\n\r\n @Input() enableLengthRule = true;\r\n @Input() enableLowerCaseLetterRule = true;\r\n @Input() enableUpperCaseLetterRule = true;\r\n @Input() enableDigitRule = true;\r\n @Input() enableSpecialCharRule = true;\r\n\r\n @Input() min = 8;\r\n @Input() max = 30;\r\n @Input() customValidator: RegExp;\r\n\r\n @Input() warnThreshold = 21;\r\n @Input() accentThreshold = 81;\r\n\r\n @Output()\r\n strengthChanged: EventEmitter<number> = new EventEmitter();\r\n\r\n criteriaMap = new Map<Criteria, RegExp>();\r\n\r\n containAtLeastMinChars: boolean | void;\r\n containAtLeastOneLowerCaseLetter: boolean | void;\r\n containAtLeastOneUpperCaseLetter: boolean | void;\r\n containAtLeastOneDigit: boolean | void;\r\n containAtLeastOneSpecialChar: boolean | void;\r\n containAtCustomChars: boolean | void;\r\n\r\n // TO ACCESS VIA CONTENT CHILD\r\n passwordFormControl: FormControl = new FormControl();\r\n passwordConfirmationFormControl: FormControl = new FormControl();\r\n\r\n validatorsArray: ValidatorFn[] = [];\r\n validators: ValidatorFn | null;\r\n cmatPasswordStrengthValidator = new CmatPasswordStrengthValidator();\r\n\r\n private _strength = 0;\r\n private _color: ThemePalette = 'warn';\r\n\r\n get strength(): number {\r\n return this._strength ? this._strength : 0;\r\n }\r\n get color(): ThemePalette {\r\n return this._color;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setRulesAndValidators();\r\n\r\n if (this.password) {\r\n this.calculatePasswordStrength();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ((changes['externalError'] && changes['externalError'].firstChange) || changes['password'].isFirstChange()) {\r\n return;\r\n } else if (changes['externalError'] && changes['externalError'].currentValue) {\r\n this._color = Colors.warn;\r\n return;\r\n } else if (changes['password'].previousValue === changes['password'].currentValue && !changes['password'].firstChange) {\r\n this._checkPassword();\r\n } else if (this.password && this.password.length > 0) {\r\n this._checkPassword();\r\n } else {\r\n this.reset();\r\n }\r\n }\r\n\r\n parseCustomValidatorsRegex(): RegExp {\r\n if (this.customValidator instanceof RegExp) {\r\n return this.customValidator;\r\n } else {\r\n return RegExp(this.customValidator);\r\n }\r\n }\r\n\r\n setRulesAndValidators(): void {\r\n this.validatorsArray = [];\r\n this.criteriaMap = new Map<Criteria, RegExp>();\r\n this.passwordConfirmationFormControl\r\n .setValidators(Validators.compose([\r\n Validators.required, this.cmatPasswordStrengthValidator.confirm(this.password)\r\n ]));\r\n this.validatorsArray.push(Validators.required);\r\n if (this.enableLengthRule) {\r\n this.criteriaMap.set(Criteria.at_least_eight_chars, RegExp(`^.{${this.min},${this.max}}$`));\r\n this.validatorsArray.push(Validators.minLength(this.min));\r\n this.validatorsArray.push(Validators.maxLength(this.max));\r\n }\r\n if (this.enableLowerCaseLetterRule) {\r\n this.criteriaMap.set(Criteria.at_least_one_lower_case_char, RegExpValidator.lowerCase);\r\n this.validatorsArray.push(Validators.pattern(RegExpValidator.lowerCase));\r\n }\r\n if (this.enableUpperCaseLetterRule) {\r\n this.criteriaMap.set(Criteria.at_least_one_upper_case_char, RegExpValidator.upperCase);\r\n this.validatorsArray.push(Validators.pattern(RegExpValidator.upperCase));\r\n }\r\n if (this.enableDigitRule) {\r\n this.criteriaMap.set(Criteria.at_least_one_digit_char, RegExpValidator.digit);\r\n this.validatorsArray.push(Validators.pattern(RegExpValidator.digit));\r\n }\r\n if (this.enableSpecialCharRule) {\r\n this.criteriaMap.set(Criteria.at_least_one_special_char, RegExpValidator.specialChar);\r\n this.validatorsArray.push(Validators.pattern(RegExpValidator.specialChar));\r\n }\r\n if (this.customValidator) {\r\n this.criteriaMap.set(Criteria.at_custom_chars, this.parseCustomValidatorsRegex());\r\n this.validatorsArray.push(Validators.pattern(this.parseCustomValidatorsRegex()));\r\n }\r\n\r\n this.criteriaMap.forEach((value: any, key: string) => {\r\n this.validatorsArray.push(this.cmatPasswordStrengthValidator.validate(key, value));\r\n });\r\n\r\n this.passwordFormControl.setValidators(Validators.compose([...this.validatorsArray]));\r\n this.validators = Validators.compose([...this.validatorsArray]);\r\n\r\n }\r\n\r\n calculatePasswordStrength(): void {\r\n const requirements: Array<boolean> = [];\r\n const unit = 100 / this.criteriaMap.size;\r\n\r\n requirements.push(\r\n this.enableLengthRule ? this._containAtLeastMinChars() : false,\r\n this.enableLowerCaseLetterRule ? this._containAtLeastOneLowerCaseLetter() : false,\r\n this.enableUpperCaseLetterRule ? this._containAtLeastOneUpperCaseLetter() : false,\r\n this.enableDigitRule ? this._containAtLeastOneDigit() : false,\r\n this.enableSpecialCharRule ? this._containAtLeastOneSpecialChar() : false,\r\n this.customValidator ? this._containCustomChars() : false\r\n );\r\n\r\n this._strength = requirements.filter(v => v).length * unit;\r\n this.strengthChanged.emit(this.strength);\r\n this.setRulesAndValidators();\r\n\r\n if (this._strength < this.warnThreshold) {\r\n this._color = Colors.warn;\r\n } else if (this._strength < this.accentThreshold) {\r\n this._color = Colors.accent;\r\n } else {\r\n this._color = Colors.primary;\r\n }\r\n }\r\n\r\n reset(): void {\r\n this._strength = 0;\r\n this.containAtLeastMinChars =\r\n this.containAtLeastOneLowerCaseLetter =\r\n this.containAtLeastOneUpperCaseLetter =\r\n this.containAtLeastOneDigit =\r\n this.containAtCustomChars =\r\n this.containAtLeastOneSpecialChar = false;\r\n\r\n this._color = Colors.warn;\r\n this.strengthChanged.emit(this.strength);\r\n }\r\n\r\n private _containAtLeastMinChars(): boolean {\r\n this.containAtLeastMinChars = this.password.length >= this.min;\r\n return this.containAtLeastMinChars;\r\n }\r\n\r\n private _containAtLeastOneLowerCaseLetter(): boolean {\r\n this.containAtLeastOneLowerCaseLetter =\r\n this.criteriaMap\r\n .get(Criteria.at_least_one_lower_case_char)?.test(this.password);\r\n return this.containAtLeastOneLowerCaseLetter || false;\r\n }\r\n\r\n private _containAtLeastOneUpperCaseLetter(): boolean {\r\n this.containAtLeastOneUpperCaseLetter =\r\n this.criteriaMap\r\n .get(Criteria.at_least_one_upper_case_char)?.test(this.password);\r\n return this.containAtLeastOneUpperCaseLetter || false;\r\n }\r\n\r\n private _containAtLeastOneDigit(): boolean {\r\n this.containAtLeastOneDigit =\r\n this.criteriaMap\r\n .get(Criteria.at_least_one_digit_char)?.test(this.password);\r\n return this.containAtLeastOneDigit || false;\r\n }\r\n\r\n private _containAtLeastOneSpecialChar(): boolean {\r\n this.containAtLeastOneSpecialChar =\r\n this.criteriaMap\r\n .get(Criteria.at_least_one_special_char)?.test(this.password);\r\n return this.containAtLeastOneSpecialChar || false;\r\n }\r\n\r\n private _containCustomChars(): boolean {\r\n this.containAtCustomChars =\r\n this.criteriaMap\r\n .get(Criteria.at_custom_chars)?.test(this.password);\r\n return this.containAtCustomChars || false;\r\n }\r\n\r\n private _checkPassword(): void {\r\n this.calculatePasswordStrength();\r\n this.passwordConfirmationFormControl.updateValueAndValidity();\r\n }\r\n}\r\n","<mat-progress-bar mode=\"determinate\" [color]=\"color\" [value]=\"strength\"></mat-progress-bar>","import { animate, animation, AnimationReferenceMetadata, keyframes, style } from '@angular/animations';\r\n\r\nexport const flipInX = flipIn(1, 1, 0);\r\nexport const flipInY = flipIn(1, 0, 1);\r\n\r\nexport const shake = animation(\r\n animate(\r\n '{{ timing }}s {{ delay }}s',\r\n keyframes([\r\n style({ transform: 'translate3d(0, 0, 0)', offset: 0 }),\r\n style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.1 }),\r\n style({ transform: 'translate3d(10px, 0, 0)', offset: 0.2 }),\r\n style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.3 }),\r\n style({ transform: 'translate3d(10px, 0, 0)', offset: 0.4 }),\r\n style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.5 }),\r\n style({ transform: 'translate3d(10px, 0, 0)', offset: 0.6 }),\r\n style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.7 }),\r\n style({ transform: 'translate3d(10px, 0, 0)', offset: 0.8 }),\r\n style({ transform: 'translate3d(-10px, 0, 0)', offset: 0.9 }),\r\n style({ transform: 'translate3d(0, 0, 0)', offset: 1 }),\r\n ])\r\n ),\r\n { params: { timing: 1, delay: 0 } }\r\n);\r\n\r\n\r\nfunction flipIn(timing: number, rotateX: number, rotateY: number): AnimationReferenceMetadata {\r\n const params = { timing: timing, delay: 0, rotateX, rotateY };\r\n\r\n return animation(\r\n [\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n style({ 'backface-visibility': 'visible' }),\r\n animate(\r\n '{{ timing }}s {{ delay }}s ease-in',\r\n keyframes([\r\n style({\r\n opacity: 0,\r\n transform:\r\n 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)',\r\n offset: 0,\r\n }),\r\n style({\r\n opacity: 1,\r\n transform:\r\n 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)',\r\n offset: 0.4,\r\n }),\r\n style({\r\n transform:\r\n 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)',\r\n offset: 0.6,\r\n }),\r\n style({\r\n transform:\r\n 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)',\r\n offset: 0.8,\r\n }),\r\n style({\r\n transform: 'perspective(400px) rotate3d(0, 0, 0, 0)',\r\n offset: 1,\r\n }),\r\n ])\r\n ),\r\n ],\r\n { params }\r\n );\r\n}\r\n","import { ChangeDetectionStrategy, Component, Input, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { CmatPasswordStrengthComponent } from '../mat-password-strength/mat-password-strength.component';\r\nimport { animate, animateChild, keyframes, query, stagger, style, transition, trigger, useAnimation } from '@angular/animations';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { NgIf } from '@angular/common';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { shake } from '../animations'\r\n\r\n@Component({\r\n selector: 'cmat-password-strength-info',\r\n exportAs: 'cmatPasswordStrengthInfo',\r\n templateUrl: './mat-password-strength-info.component.html',\r\n styleUrls: ['./mat-password-strength-info.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [\r\n // nice stagger effect when showing existing elements\r\n trigger('list', [\r\n transition(':enter', [\r\n // child animation selector + stagger\r\n query('@items', stagger(300, animateChild()))\r\n ]),\r\n ]),\r\n trigger('items', [\r\n // cubic-bezier for a tiny bouncing feel\r\n transition(':enter', [\r\n style({ transform: 'scale(0.5)', opacity: 0 }),\r\n animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(1)', opacity: 1 }))\r\n ]),\r\n transition(':leave', [\r\n style({ transform: 'scale(1)', opacity: 1, height: '*' }),\r\n animate('1s cubic-bezier(.8,-0.6,0.2,1.5)', style({ transform: 'scale(0.5)', opacity: 0, height: '0px', margin: '0px' }))\r\n ]),\r\n ]),\r\n trigger('positiveState', [\r\n transition(':enter', [\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n style({ 'backface-visibility': 'visible' }),\r\n animate('{{ timing }}s {{ delay }}s ease-in', keyframes([\r\n style({\r\n opacity: 0,\r\n transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)',\r\n offset: 0,\r\n }),\r\n style({\r\n opacity: 1,\r\n transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)',\r\n offset: 0.4,\r\n }),\r\n style({\r\n transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)',\r\n offset: 0.6,\r\n }),\r\n style({\r\n transform: 'perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)',\r\n offset: 0.8,\r\n }),\r\n style({\r\n transform: 'perspective(400px) rotate3d(0, 0, 0, 0)',\r\n offset: 1,\r\n }),\r\n ])),\r\n ], { params: { timing: 1, delay: 0, rotateX: 1, rotateY: 0 } }),\r\n ]),\r\n trigger('negativeState', [\r\n transition(':enter', useAnimation(shake)),\r\n ]),\r\n ],\r\n standalone: true,\r\n imports: [MatCardModule, NgIf, MatIconModule]\r\n})\r\nexport class CmatPasswordStrengthInfoComponent implements OnInit {\r\n\r\n @Input()\r\n passwordComponent: CmatPasswordStrengthComponent;\r\n\r\n @Input()\r\n enableScoreInfo = false;\r\n\r\n @Input()\r\n lowerCaseCriteriaMsg = '包含至少一个小写字母';\r\n\r\n @Input()\r\n upperCaseCriteriaMsg = '包含至少一个大写字母';\r\n\r\n @Input()\r\n digitsCriteriaMsg = '包含至少一个数字';\r\n\r\n @Input()\r\n specialCharsCriteriaMsg = '包含至少一个特殊字符';\r\n\r\n @Input()\r\n customCharsCriteriaMsg = '包含至少一个传统字符';\r\n\r\n @Input()\r\n minCharsCriteriaMsg: string;\r\n\r\n ngOnInit(): void {\r\n if (!this.minCharsCriteriaMsg) {\r\n this.minCharsCriteriaMsg = `包含至少 ${this.passwordComponent.min} 个字符`;\r\n }\r\n }\r\n\r\n}\r\n","<mat-card @list class=\"info-card\">\n <mat-card-content>\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLowerCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneLowerCaseLetter; then done else error\" @flipY>\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{lowerCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableUpperCaseLetterRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneUpperCaseLetter; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{upperCaseCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableDigitRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneDigit; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{digitsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableSpecialCharRule\">\n <div *ngIf=\"passwordComponent.containAtLeastOneSpecialChar; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{specialCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.enableLengthRule\">\n <div *ngIf=\"passwordComponent.containAtLeastMinChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{minCharsCriteriaMsg}}</span>\n </div>\n\n <div class=\"info-row\" @items *ngIf=\"passwordComponent.customValidator\">\n <div *ngIf=\"passwordComponent.containAtCustomChars; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>{{customCharsCriteriaMsg}}</span>\n </div>\n\n <div *ngIf=\"enableScoreInfo\" class=\"info-row\" @items>\n <div *ngIf=\"passwordComponent.strength === 100; then done else error\">\n </div>\n <ng-template #done>\n <mat-icon @positiveState color=\"primary\" svgIcon=\"mat_outline:done\"></mat-icon>\n </ng-template>\n <ng-template #error>\n <mat-icon @negativeState color=\"warn\" svgIcon=\"mat_outline:error\"></mat-icon>\n </ng-template>\n <span>密码强度= {{passwordComponent.strength}} %100</span>\n </div>\n\n </mat-card-content>\n</mat-card>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"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