@cuby-ui/core 0.0.181 → 0.0.191
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 +24 -24
- package/animations/animations.d.ts +36 -0
- package/animations/index.d.ts +1 -0
- package/classes/accessors.d.ts +17 -0
- package/classes/driver.d.ts +16 -0
- package/classes/index.d.ts +3 -0
- package/classes/vehicle.d.ts +6 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
- package/components/accordion/accordion.component.d.ts +5 -5
- package/components/accordion/accordion.module.d.ts +11 -11
- package/components/accordion/index.d.ts +3 -3
- package/components/alert/alert.component.d.ts +13 -13
- package/components/alert/alert.interfaces.d.ts +9 -9
- package/components/alert/alert.module.d.ts +11 -11
- package/components/alert/alert.service.d.ts +7 -7
- package/components/alert/alert.tokens.d.ts +16 -16
- package/components/alert/alert.types.d.ts +3 -3
- package/components/alert/alerts.component.d.ts +17 -17
- package/components/alert/index.d.ts +8 -8
- package/components/badge/badge.component.d.ts +10 -10
- package/components/badge/badge.module.d.ts +8 -8
- package/components/badge/badge.options.d.ts +8 -8
- package/components/badge/index.d.ts +2 -2
- package/components/banner/banner.component.d.ts +21 -21
- package/components/banner/banner.module.d.ts +11 -11
- package/components/banner/banner.options.d.ts +13 -13
- package/components/banner/index.d.ts +3 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/components/breadcrumbs/index.d.ts +3 -3
- package/components/button/button.component.d.ts +38 -38
- package/components/button/button.module.d.ts +9 -9
- package/components/button/button.options.d.ts +9 -9
- package/components/button/index.d.ts +3 -3
- package/components/button-group/button-group.component.d.ts +5 -5
- package/components/button-group/button-group.module.d.ts +7 -7
- package/components/button-group/index.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +5 -5
- package/components/checkbox/checkbox.module.d.ts +7 -7
- package/components/checkbox/index.d.ts +2 -2
- package/components/context-menu/context-menu.component.d.ts +39 -39
- package/components/context-menu/context-menu.module.d.ts +9 -9
- package/components/context-menu/index.d.ts +2 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
- package/components/dialog/dialog.component.d.ts +33 -33
- package/components/dialog/dialog.interfaces.d.ts +11 -11
- package/components/dialog/dialog.module.d.ts +14 -14
- package/components/dialog/dialog.service.d.ts +7 -7
- package/components/dialog/dialog.tokens.d.ts +8 -8
- package/components/dialog/dialogs.component.d.ts +18 -18
- package/components/dialog/index.d.ts +8 -8
- package/components/form-field/form-field.component.d.ts +5 -5
- package/components/form-field/form-field.module.d.ts +7 -7
- package/components/form-field/index.d.ts +2 -2
- package/components/hint/hint.component.d.ts +7 -7
- package/components/hint/hint.module.d.ts +7 -7
- package/components/hint/index.d.ts +2 -2
- package/components/icon-button/icon-button.component.d.ts +13 -13
- package/components/icon-button/icon-button.module.d.ts +9 -9
- package/components/icon-button/index.d.ts +2 -2
- package/components/index.d.ts +26 -26
- package/components/input-number/index.d.ts +2 -2
- package/components/input-number/input-number.component.d.ts +38 -38
- package/components/input-number/input-number.module.d.ts +12 -12
- package/components/input-password/index.d.ts +2 -2
- package/components/input-password/input-password.component.d.ts +31 -31
- package/components/input-password/input-password.module.d.ts +11 -11
- package/components/input-text/index.d.ts +2 -2
- package/components/input-text/input-text.component.d.ts +31 -31
- package/components/input-text/input-text.module.d.ts +11 -11
- package/components/input-time/index.d.ts +3 -3
- package/components/input-time/input-time.component.d.ts +36 -36
- package/components/input-time/input-time.module.d.ts +12 -12
- package/components/input-time/input-time.options.d.ts +7 -7
- package/components/label/index.d.ts +2 -2
- package/components/label/label.component.d.ts +6 -6
- package/components/label/label.module.d.ts +8 -8
- package/components/notification/index.d.ts +3 -3
- package/components/notification/notification.component.d.ts +18 -18
- package/components/notification/notification.module.d.ts +9 -9
- package/components/notification/notification.options.d.ts +17 -17
- package/components/radio/index.d.ts +2 -2
- package/components/radio/radio.component.d.ts +5 -5
- package/components/radio/radio.module.d.ts +7 -7
- package/components/root/index.d.ts +3 -3
- package/components/root/root.component.d.ts +11 -11
- package/components/root/root.module.d.ts +11 -10
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +53 -53
- package/components/select/select.module.d.ts +11 -11
- package/components/svg/index.d.ts +2 -2
- package/components/svg/svg.component.d.ts +16 -16
- package/components/svg/svg.module.d.ts +8 -8
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab/index.d.ts +1 -1
- package/components/tabs/tab/tab.component.d.ts +8 -8
- package/components/tabs/tabs.component.d.ts +16 -16
- package/components/tabs/tabs.module.d.ts +8 -8
- package/components/textarea/index.d.ts +2 -2
- package/components/textarea/textarea.component.d.ts +10 -10
- package/components/textarea/textarea.module.d.ts +7 -7
- package/components/toggle/index.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -5
- package/components/toggle/toggle.module.d.ts +7 -7
- package/directives/index.d.ts +2 -1
- package/directives/text-field-controller/index.d.ts +8 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field.controller.d.ts +20 -20
- package/directives/tooltip/index.d.ts +16 -0
- package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
- package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
- package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
- package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
- package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
- package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
- package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
- package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
- package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
- package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
- package/directives/tooltip/tooltip.component.d.ts +33 -0
- package/directives/tooltip/tooltip.d.ts +13 -0
- package/directives/tooltip/tooltip.directive.d.ts +26 -0
- package/directives/tooltip/tooltip.providers.d.ts +5 -0
- package/directives/tooltip/tooltip.service.d.ts +13 -0
- package/directives/tooltip/tooltips.component.d.ts +12 -0
- package/esm2022/animations/animations.mjs +272 -0
- package/esm2022/animations/index.mjs +2 -0
- package/esm2022/classes/accessors.mjs +31 -0
- package/esm2022/classes/driver.mjs +35 -0
- package/esm2022/classes/index.mjs +4 -0
- package/esm2022/classes/vehicle.mjs +7 -0
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +28 -0
- package/esm2022/components/accordion/accordion.component.mjs +11 -0
- package/esm2022/components/accordion/accordion.module.mjs +37 -0
- package/{esm2020 → esm2022}/components/accordion/index.mjs +4 -4
- package/esm2022/components/alert/alert.component.mjs +36 -0
- package/esm2022/components/alert/alert.interfaces.mjs +2 -0
- package/{esm2020 → esm2022}/components/alert/alert.module.mjs +40 -40
- package/esm2022/components/alert/alert.service.mjs +17 -0
- package/{esm2020 → esm2022}/components/alert/alert.tokens.mjs +20 -20
- package/{esm2020 → esm2022}/components/alert/alert.types.mjs +2 -2
- package/esm2022/components/alert/alerts.component.mjs +36 -0
- package/{esm2020 → esm2022}/components/alert/index.mjs +9 -9
- package/esm2022/components/badge/badge.component.mjs +31 -0
- package/esm2022/components/badge/badge.module.mjs +18 -0
- package/{esm2020 → esm2022}/components/badge/badge.options.mjs +8 -8
- package/{esm2020 → esm2022}/components/badge/index.mjs +3 -3
- package/esm2022/components/banner/banner.component.mjs +68 -0
- package/esm2022/components/banner/banner.module.mjs +31 -0
- package/esm2022/components/banner/banner.options.mjs +6 -0
- package/{esm2020 → esm2022}/components/banner/index.mjs +4 -4
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +33 -0
- package/{esm2020 → esm2022}/components/breadcrumbs/index.mjs +4 -4
- package/esm2022/components/button/button.component.mjs +138 -0
- package/esm2022/components/button/button.module.mjs +24 -0
- package/esm2022/components/button/button.options.mjs +10 -0
- package/{esm2020 → esm2022}/components/button/index.mjs +4 -4
- package/esm2022/components/button-group/button-group.component.mjs +11 -0
- package/esm2022/components/button-group/button-group.module.mjs +16 -0
- package/{esm2020 → esm2022}/components/button-group/index.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
- package/{esm2020 → esm2022}/components/checkbox/checkbox.module.mjs +16 -16
- package/{esm2020 → esm2022}/components/checkbox/index.mjs +3 -3
- package/esm2022/components/context-menu/context-menu.component.mjs +146 -0
- package/esm2022/components/context-menu/context-menu.module.mjs +24 -0
- package/{esm2020 → esm2022}/components/context-menu/index.mjs +3 -3
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -0
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
- package/esm2022/components/dialog/dialog.component.mjs +67 -0
- package/esm2022/components/dialog/dialog.interfaces.mjs +2 -0
- package/esm2022/components/dialog/dialog.module.mjs +49 -0
- package/esm2022/components/dialog/dialog.service.mjs +17 -0
- package/{esm2020 → esm2022}/components/dialog/dialog.tokens.mjs +12 -12
- package/esm2022/components/dialog/dialogs.component.mjs +51 -0
- package/{esm2020 → esm2022}/components/dialog/index.mjs +9 -9
- package/esm2022/components/form-field/form-field.component.mjs +11 -0
- package/esm2022/components/form-field/form-field.module.mjs +16 -0
- package/{esm2020 → esm2022}/components/form-field/index.mjs +3 -3
- package/esm2022/components/hint/hint.component.mjs +19 -0
- package/esm2022/components/hint/hint.module.mjs +16 -0
- package/{esm2020 → esm2022}/components/hint/index.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.component.mjs +32 -0
- package/esm2022/components/icon-button/icon-button.module.mjs +24 -0
- package/{esm2020 → esm2022}/components/icon-button/index.mjs +3 -3
- package/{esm2020 → esm2022}/components/index.mjs +27 -27
- package/{esm2020 → esm2022}/components/input-number/index.mjs +3 -3
- package/esm2022/components/input-number/input-number.component.mjs +113 -0
- package/esm2022/components/input-number/input-number.module.mjs +36 -0
- package/{esm2020 → esm2022}/components/input-password/index.mjs +3 -3
- package/esm2022/components/input-password/input-password.component.mjs +89 -0
- package/esm2022/components/input-password/input-password.module.mjs +33 -0
- package/{esm2020 → esm2022}/components/input-text/index.mjs +3 -3
- package/esm2022/components/input-text/input-text.component.mjs +87 -0
- package/esm2022/components/input-text/input-text.module.mjs +33 -0
- package/{esm2020 → esm2022}/components/input-time/index.mjs +4 -4
- package/esm2022/components/input-time/input-time.component.mjs +99 -0
- package/esm2022/components/input-time/input-time.module.mjs +36 -0
- package/{esm2020 → esm2022}/components/input-time/input-time.options.mjs +8 -8
- package/{esm2020 → esm2022}/components/label/index.mjs +3 -3
- package/esm2022/components/label/label.component.mjs +17 -0
- package/{esm2020 → esm2022}/components/label/label.module.mjs +18 -18
- package/{esm2020 → esm2022}/components/notification/index.mjs +4 -4
- package/esm2022/components/notification/notification.component.mjs +47 -0
- package/esm2022/components/notification/notification.module.mjs +24 -0
- package/{esm2020 → esm2022}/components/notification/notification.options.mjs +53 -53
- package/{esm2020 → esm2022}/components/radio/index.mjs +3 -3
- package/{esm2020 → esm2022}/components/radio/radio.component.mjs +11 -11
- package/esm2022/components/radio/radio.module.mjs +16 -0
- package/{esm2020 → esm2022}/components/root/index.mjs +4 -4
- package/esm2022/components/root/root.component.mjs +32 -0
- package/esm2022/components/root/root.module.mjs +31 -0
- package/{esm2020 → esm2022}/components/root/root.options.mjs +1 -1
- package/{esm2020 → esm2022}/components/select/index.mjs +3 -3
- package/esm2022/components/select/select.component.mjs +172 -0
- package/esm2022/components/select/select.module.mjs +32 -0
- package/{esm2020 → esm2022}/components/svg/index.mjs +3 -3
- package/esm2022/components/svg/svg.component.mjs +50 -0
- package/esm2022/components/svg/svg.module.mjs +18 -0
- package/{esm2020 → esm2022}/components/tabs/index.mjs +4 -4
- package/{esm2020 → esm2022}/components/tabs/tab/index.mjs +1 -1
- package/{esm2020 → esm2022}/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2022/components/tabs/tabs.component.mjs +49 -0
- package/esm2022/components/tabs/tabs.module.mjs +18 -0
- package/{esm2020 → esm2022}/components/textarea/index.mjs +3 -3
- package/{esm2020 → esm2022}/components/textarea/textarea.component.mjs +35 -35
- package/{esm2020 → esm2022}/components/textarea/textarea.module.mjs +16 -16
- package/{esm2020 → esm2022}/components/toggle/index.mjs +3 -3
- package/esm2022/components/toggle/toggle.component.mjs +11 -0
- package/esm2022/components/toggle/toggle.module.mjs +16 -0
- package/{esm2020 → esm2022}/cuby-ui-core.mjs +4 -4
- package/esm2022/directives/index.mjs +3 -0
- package/{esm2020 → esm2022}/directives/text-field-controller/index.mjs +9 -9
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -0
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -0
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/{esm2020 → esm2022}/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -0
- package/esm2022/directives/tooltip/index.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -0
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -0
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -0
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
- package/esm2022/directives/tooltip/tooltip.component.mjs +110 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
- package/esm2022/directives/tooltip/tooltip.mjs +27 -0
- package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
- package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
- package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
- package/{esm2020 → esm2022}/index.mjs +7 -7
- package/{esm2020 → esm2022}/interfaces/context-menu-item.mjs +2 -2
- package/{esm2020 → esm2022}/interfaces/index.mjs +3 -3
- package/{esm2020 → esm2022}/interfaces/option.mjs +2 -2
- package/esm2022/services/index.mjs +5 -0
- package/esm2022/services/position.service.mjs +23 -0
- package/{esm2020 → esm2022}/services/theme.options.mjs +6 -6
- package/{esm2020 → esm2022}/services/theme.service.mjs +30 -30
- package/esm2022/services/visual-viewport.service.mjs +28 -0
- package/esm2022/tokens/animations-speed.mjs +8 -0
- package/esm2022/tokens/index.mjs +4 -0
- package/esm2022/tokens/reduced-motion.mjs +6 -0
- package/esm2022/tokens/viewport.mjs +31 -0
- package/esm2022/types/appearance.mjs +2 -0
- package/{esm2020 → esm2022}/types/hint-type.mjs +2 -2
- package/esm2022/types/index.mjs +10 -0
- package/esm2022/types/point.mjs +2 -0
- package/esm2022/types/portal-item.mjs +2 -0
- package/{esm2020 → esm2022}/types/position.mjs +2 -2
- package/{esm2020 → esm2022}/types/resizing.mjs +2 -2
- package/{esm2020 → esm2022}/types/shape.mjs +2 -2
- package/{esm2020 → esm2022}/types/size.mjs +2 -2
- package/{esm2020 → esm2022}/types/status.mjs +2 -2
- package/{esm2020 → esm2022}/utils/format/index.mjs +3 -3
- package/{esm2020 → esm2022}/utils/format/remove-spaces.mjs +4 -4
- package/{esm2020 → esm2022}/utils/format/replace.mjs +5 -5
- package/esm2022/utils/index.mjs +3 -0
- package/esm2022/utils/miscellaneous/index.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
- package/fesm2022/cuby-ui-core.mjs +3416 -0
- package/fesm2022/cuby-ui-core.mjs.map +1 -0
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/index.d.ts +6 -6
- package/interfaces/context-menu-item.d.ts +7 -7
- package/interfaces/index.d.ts +2 -2
- package/interfaces/option.d.ts +5 -5
- package/package.json +8 -14
- package/services/index.d.ts +4 -2
- package/services/position.service.d.ts +10 -0
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/services/visual-viewport.service.d.ts +9 -0
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +9 -9
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +5 -5
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +385 -385
- package/styles/variables/colors.scss +253 -253
- package/tokens/animations-speed.d.ts +4 -0
- package/tokens/index.d.ts +3 -0
- package/tokens/reduced-motion.d.ts +1 -0
- package/tokens/viewport.d.ts +7 -0
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +9 -7
- package/types/point.d.ts +1 -0
- package/types/portal-item.d.ts +9 -0
- package/types/position.d.ts +2 -2
- package/types/resizing.d.ts +2 -2
- package/types/shape.d.ts +1 -1
- package/types/size.d.ts +4 -4
- package/types/status.d.ts +1 -1
- package/utils/format/index.d.ts +2 -2
- package/utils/format/remove-spaces.d.ts +1 -1
- package/utils/format/replace.d.ts +1 -1
- package/utils/index.d.ts +2 -1
- package/utils/miscellaneous/index.d.ts +3 -0
- package/utils/miscellaneous/is-obscured.d.ts +4 -0
- package/utils/miscellaneous/override-options.d.ts +1 -0
- package/utils/miscellaneous/to-animation-options.d.ts +4 -0
- package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +0 -28
- package/esm2020/components/accordion/accordion.component.mjs +0 -11
- package/esm2020/components/accordion/accordion.module.mjs +0 -37
- package/esm2020/components/alert/alert.component.mjs +0 -36
- package/esm2020/components/alert/alert.interfaces.mjs +0 -2
- package/esm2020/components/alert/alert.service.mjs +0 -17
- package/esm2020/components/alert/alerts.component.mjs +0 -36
- package/esm2020/components/badge/badge.component.mjs +0 -31
- package/esm2020/components/badge/badge.module.mjs +0 -18
- package/esm2020/components/banner/banner.component.mjs +0 -68
- package/esm2020/components/banner/banner.module.mjs +0 -31
- package/esm2020/components/banner/banner.options.mjs +0 -6
- package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -16
- package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +0 -17
- package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +0 -33
- package/esm2020/components/button/button.component.mjs +0 -138
- package/esm2020/components/button/button.module.mjs +0 -24
- package/esm2020/components/button/button.options.mjs +0 -10
- package/esm2020/components/button-group/button-group.component.mjs +0 -11
- package/esm2020/components/button-group/button-group.module.mjs +0 -16
- package/esm2020/components/checkbox/checkbox.component.mjs +0 -11
- package/esm2020/components/context-menu/context-menu.component.mjs +0 -146
- package/esm2020/components/context-menu/context-menu.module.mjs +0 -24
- package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +0 -11
- package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +0 -28
- package/esm2020/components/dialog/dialog.component.mjs +0 -67
- package/esm2020/components/dialog/dialog.interfaces.mjs +0 -2
- package/esm2020/components/dialog/dialog.module.mjs +0 -50
- package/esm2020/components/dialog/dialog.service.mjs +0 -17
- package/esm2020/components/dialog/dialogs.component.mjs +0 -51
- package/esm2020/components/form-field/form-field.component.mjs +0 -11
- package/esm2020/components/form-field/form-field.module.mjs +0 -16
- package/esm2020/components/hint/hint.component.mjs +0 -19
- package/esm2020/components/hint/hint.module.mjs +0 -16
- package/esm2020/components/icon-button/icon-button.component.mjs +0 -32
- package/esm2020/components/icon-button/icon-button.module.mjs +0 -24
- package/esm2020/components/input-number/input-number.component.mjs +0 -113
- package/esm2020/components/input-number/input-number.module.mjs +0 -36
- package/esm2020/components/input-password/input-password.component.mjs +0 -89
- package/esm2020/components/input-password/input-password.module.mjs +0 -33
- package/esm2020/components/input-text/input-text.component.mjs +0 -87
- package/esm2020/components/input-text/input-text.module.mjs +0 -33
- package/esm2020/components/input-time/input-time.component.mjs +0 -99
- package/esm2020/components/input-time/input-time.module.mjs +0 -36
- package/esm2020/components/label/label.component.mjs +0 -17
- package/esm2020/components/notification/notification.component.mjs +0 -47
- package/esm2020/components/notification/notification.module.mjs +0 -24
- package/esm2020/components/radio/radio.module.mjs +0 -16
- package/esm2020/components/root/root.component.mjs +0 -31
- package/esm2020/components/root/root.module.mjs +0 -28
- package/esm2020/components/select/select.component.mjs +0 -172
- package/esm2020/components/select/select.module.mjs +0 -32
- package/esm2020/components/svg/svg.component.mjs +0 -50
- package/esm2020/components/svg/svg.module.mjs +0 -18
- package/esm2020/components/tabs/tabs.component.mjs +0 -49
- package/esm2020/components/tabs/tabs.module.mjs +0 -18
- package/esm2020/components/toggle/toggle.component.mjs +0 -11
- package/esm2020/components/toggle/toggle.module.mjs +0 -16
- package/esm2020/directives/index.mjs +0 -2
- package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +0 -40
- package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +0 -24
- package/esm2020/directives/text-field-controller/text-field.controller.mjs +0 -25
- package/esm2020/services/index.mjs +0 -3
- package/esm2020/types/appearance.mjs +0 -2
- package/esm2020/types/index.mjs +0 -8
- package/esm2020/utils/index.mjs +0 -2
- package/fesm2015/cuby-ui-core.mjs +0 -2326
- package/fesm2015/cuby-ui-core.mjs.map +0 -1
- package/fesm2020/cuby-ui-core.mjs +0 -2326
- package/fesm2020/cuby-ui-core.mjs.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { inject } from '@angular/core';
|
|
2
|
+
import { CUI_WINDOW, cuiCreateTokenFromFactory, cuiProvide } from '@cuby-ui/cdk';
|
|
3
|
+
/**
|
|
4
|
+
* Viewport accessor
|
|
5
|
+
*/
|
|
6
|
+
export const CUI_VIEWPORT = cuiCreateTokenFromFactory(() => {
|
|
7
|
+
const win = inject(CUI_WINDOW);
|
|
8
|
+
return {
|
|
9
|
+
type: 'viewport',
|
|
10
|
+
getClientRect() {
|
|
11
|
+
const rect = {
|
|
12
|
+
top: 0,
|
|
13
|
+
left: 0,
|
|
14
|
+
right: win.innerWidth,
|
|
15
|
+
bottom: win.innerHeight,
|
|
16
|
+
width: win.innerWidth,
|
|
17
|
+
height: win.innerHeight,
|
|
18
|
+
x: 0,
|
|
19
|
+
y: 0,
|
|
20
|
+
};
|
|
21
|
+
return {
|
|
22
|
+
...rect,
|
|
23
|
+
toJSON: () => JSON.stringify(rect),
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
});
|
|
28
|
+
export function cuiAsViewport(accessor) {
|
|
29
|
+
return cuiProvide(CUI_VIEWPORT, accessor);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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ZSBDdWlBcHBlYXJhbmNlRGVzdHJ1Y3RpdmUgPSAnZGVzdHJ1Y3RpdmUnO1xuXG5leHBvcnQgdHlwZSBDdWlBcHBlYXJhbmNlTGluayA9ICdsaW5rJztcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGludC10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90eXBlcy9oaW50LXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1aUhpbnRUeXBlID0gJ2luZm8nIHwgJ2Vycm9yJztcbiJdfQ==
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './appearance';
|
|
2
|
+
export * from './hint-type';
|
|
3
|
+
export * from './point';
|
|
4
|
+
export * from './portal-item';
|
|
5
|
+
export * from './position';
|
|
6
|
+
export * from './resizing';
|
|
7
|
+
export * from './shape';
|
|
8
|
+
export * from './size';
|
|
9
|
+
export * from './status';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcHBlYXJhbmNlJztcbmV4cG9ydCAqIGZyb20gJy4vaGludC10eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vcG9pbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9wb3J0YWwtaXRlbSc7XG5leHBvcnQgKiBmcm9tICcuL3Bvc2l0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vcmVzaXppbmcnO1xuZXhwb3J0ICogZnJvbSAnLi9zaGFwZSc7XG5leHBvcnQgKiBmcm9tICcuL3NpemUnO1xuZXhwb3J0ICogZnJvbSAnLi9zdGF0dXMnO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3BvaW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUT0RPOiBSZWZhY3RvciB0byBbeDogbnVtYmVyLCB5OiBudW1iZXJdIGFjcm9zcyB0aGUgbGlicmFyeVxuZXhwb3J0IHR5cGUgQ3VpUG9pbnQgPSBSZWFkb25seTxbbnVtYmVyLCBudW1iZXJdPjsiXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3BvcnRhbC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEN1aUFjdGl2ZVpvbmUgfSBmcm9tICdAY3VieS11aS9jZGsnO1xuaW1wb3J0IHR5cGUge1BvbHltb3JwaGV1c0NvbXBvbmVudCwgUG9seW1vcnBoZXVzQ29udGVudH0gZnJvbSAnQHRhaWdhLXVpL3BvbHltb3JwaGV1cyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VpUG9ydGFsSXRlbTxDID0gYW55PiB7XG4gICAgcmVhZG9ubHkgYWN0aXZlWm9uZT86IEN1aUFjdGl2ZVpvbmUgfCBudWxsO1xuICAgIHJlYWRvbmx5IGFwcGVhcmFuY2U/OiBzdHJpbmc7XG4gICAgcmVhZG9ubHkgY29tcG9uZW50OiBQb2x5bW9ycGhldXNDb21wb25lbnQ8YW55PjtcbiAgICByZWFkb25seSBjb250ZW50OiBQb2x5bW9ycGhldXNDb250ZW50PEM+O1xuICAgIHJlYWRvbmx5IGNvbnRleHQ/OiBDO1xufVxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9zaXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3Bvc2l0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlQb3NpdGlvbkNlbnRlciA9ICdjZW50ZXInO1xuXG5leHBvcnQgdHlwZSBDdWlQb3NpdGlvblJpZ2h0ID0gJ3JpZ2h0JztcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXppbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3Jlc2l6aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlSZXNpemluZ0h1ZyA9ICdodWcnO1xuXG5leHBvcnQgdHlwZSBDdWlSZXNpemluZ0ZpeGVkID0gJ2ZpeGVkJztcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3R5cGVzL3NoYXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDdWlTaGFwZVJvdW5kZWQgPSAncm91bmRlZCc7XG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l6ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdHlwZXMvc2l6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQ3VpU2l6ZVh4cyA9ICd4eHMnO1xuXG5leHBvcnQgdHlwZSBDdWlTaXplWHMgPSAneHMnO1xuXG5leHBvcnQgdHlwZSBDdWlTaXplU20gPSAgJ3NtJztcblxuZXhwb3J0IHR5cGUgQ3VpU2l6ZU1kID0gJ21kJztcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS90eXBlcy9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1aVN0YXR1cyA9ICdzdWNjZXNzJyB8ICdpbmZvJyB8ICdhbGVydCcgfCAnZXJyb3InO1xuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './remove-spaces';
|
|
2
|
-
export * from './replace';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './remove-spaces';
|
|
2
|
+
export * from './replace';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2Zvcm1hdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtc3BhY2VzJztcbmV4cG9ydCAqIGZyb20gJy4vcmVwbGFjZSc7XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function cuiRemoveSpaces(value) {
|
|
2
|
-
return value.replace(/\s+/g, '');
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export function cuiRemoveSpaces(value) {
|
|
2
|
+
return value.replace(/\s+/g, '');
|
|
3
|
+
}
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLXNwYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L3JlbW92ZS1zcGFjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGVBQWUsQ0FBQyxLQUFhO0lBQzNDLE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsRUFBRSxDQUFDLENBQUM7QUFDbkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBjdWlSZW1vdmVTcGFjZXModmFsdWU6IHN0cmluZyk6IHN0cmluZyB7XG4gIHJldHVybiB2YWx1ZS5yZXBsYWNlKC9cXHMrL2csICcnKTtcbn1cbiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function cuiReplace(value, search, replace) {
|
|
2
|
-
const regex = new RegExp(search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g');
|
|
3
|
-
return value.replace(regex, replace);
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export function cuiReplace(value, search, replace) {
|
|
2
|
+
const regex = new RegExp(search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g');
|
|
3
|
+
return value.replace(regex, replace);
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvdXRpbHMvZm9ybWF0L3JlcGxhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLFVBQVUsQ0FBQyxLQUFhLEVBQUUsTUFBYyxFQUFFLE9BQWU7SUFDdkUsTUFBTSxLQUFLLEdBQUcsSUFBSSxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxxQkFBcUIsRUFBRSxNQUFNLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUU3RSxPQUFPLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ3ZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gY3VpUmVwbGFjZSh2YWx1ZTogc3RyaW5nLCBzZWFyY2g6IHN0cmluZywgcmVwbGFjZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgY29uc3QgcmVnZXggPSBuZXcgUmVnRXhwKHNlYXJjaC5yZXBsYWNlKC9bLiorP14ke30oKXxbXFxdXFxcXF0vZywgJ1xcXFwkJicpLCAnZycpO1xuXG4gIHJldHVybiB2YWx1ZS5yZXBsYWNlKHJlZ2V4LCByZXBsYWNlKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './format';
|
|
2
|
+
export * from './miscellaneous';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFBO0FBQ3hCLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm1hdCdcbmV4cG9ydCAqIGZyb20gJy4vbWlzY2VsbGFuZW91cyc7XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './is-obscured';
|
|
2
|
+
export * from './override-options';
|
|
3
|
+
export * from './to-animation-options';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pcy1vYnNjdXJlZCc7XG5leHBvcnQgKiBmcm9tICcuL292ZXJyaWRlLW9wdGlvbnMnO1xuZXhwb3J0ICogZnJvbSAnLi90by1hbmltYXRpb24tb3B0aW9ucyc7XG4iXX0=
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { cuiGetElementObscures } from '@cuby-ui/cdk';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export function cuiIsObscured(el, exceptSelector = 'cui-hints') {
|
|
6
|
+
return !!cuiGetElementObscures(el)?.some((el) => !el.closest(exceptSelector));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JzY3VyZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvaXMtb2JzY3VyZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sY0FBYyxDQUFDO0FBRW5EOztHQUVHO0FBQ0gsTUFBTSxVQUFVLGFBQWEsQ0FBQyxFQUFlLEVBQUUsY0FBYyxHQUFHLFdBQVc7SUFDdkUsT0FBTyxDQUFDLENBQUMscUJBQXFCLENBQUMsRUFBRSxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztBQUNsRixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtjdWlHZXRFbGVtZW50T2JzY3VyZXN9IGZyb20gJ0BjdWJ5LXVpL2Nkayc7XG5cbi8qKlxuICogQGludGVybmFsXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBjdWlJc09ic2N1cmVkKGVsOiBIVE1MRWxlbWVudCwgZXhjZXB0U2VsZWN0b3IgPSAnY3VpLWhpbnRzJyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhIWN1aUdldEVsZW1lbnRPYnNjdXJlcyhlbCk/LnNvbWUoKGVsKSA9PiAhZWwuY2xvc2VzdChleGNlcHRTZWxlY3RvcikpO1xufVxuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function cuiOverrideOptions(override, fallback) {
|
|
2
|
+
return (directive, options) => {
|
|
3
|
+
const result = directive || { ...(options || fallback) };
|
|
4
|
+
Object.keys(override).forEach((key) => {
|
|
5
|
+
// Update directive props with new defaults before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ZGlyZWN0aXZlLCBvcHRpb25zKSA9PiB7XG4gICAgICAgIGNvbnN0IHJlc3VsdDogVCA9IGRpcmVjdGl2ZSB8fCB7Li4uKG9wdGlvbnMgfHwgZmFsbGJhY2spfTtcblxuICAgICAgICBPYmplY3Qua2V5cyhvdmVycmlkZSkuZm9yRWFjaCgoa2V5KSA9PiB7XG4gICAgICAgICAgICAvLyBVcGRhdGUgZGlyZWN0aXZlIHByb3BzIHdpdGggbmV3IGRlZmF1bHRzIGJlZm9yZSBpbnB1dHMgYXJlIHByb2Nlc3NlZFxuICAgICAgICAgICAgKHJlc3VsdCBhcyBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPilba2V5XSA9IG92ZXJyaWRlW2tleSBhcyBrZXlvZiBUXTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9O1xufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const CUI_ANIMATIONS_DEFAULT_DURATION = 300;
|
|
2
|
+
export function cuiToAnimationOptions(speed, easing) {
|
|
3
|
+
return {
|
|
4
|
+
value: '',
|
|
5
|
+
params: {
|
|
6
|
+
duration: cuiGetDuration(speed),
|
|
7
|
+
easing,
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function cuiGetDuration(speed) {
|
|
12
|
+
return speed && CUI_ANIMATIONS_DEFAULT_DURATION / speed;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG8tYW5pbWF0aW9uLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvdG8tYW5pbWF0aW9uLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1B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