@updevs/components 1.0.0-alpha.8 → 1.0.0-alpha.80
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 +1 -11
- package/assets/styles/_bootstrap-components.scss +18 -1
- package/assets/styles/_core.scss +9 -0
- package/assets/styles/_debug.scss +49 -0
- package/assets/styles/_props.scss +91 -0
- package/assets/styles/_seven-columns.scss +73 -0
- package/assets/styles/_updevs.scss +16 -0
- package/assets/styles/_utilities-marketing.scss +209 -0
- package/assets/styles/_utilities.scss +127 -92
- package/assets/styles/_variables-dark.scss +8 -6
- package/assets/styles/_variables.scss +325 -256
- package/assets/styles/helpers/_index.scss +143 -0
- package/assets/styles/layout/_core.scss +3 -2
- package/assets/styles/layout/_dark.scss +40 -35
- package/assets/styles/layout/_footer.scss +1 -1
- package/assets/styles/layout/_navbar.scss +31 -19
- package/assets/styles/layout/_page.scss +6 -5
- package/assets/styles/layout/_root.scss +26 -34
- package/assets/styles/marketing/_browser.scss +67 -0
- package/assets/styles/marketing/_core.scss +8 -0
- package/assets/styles/marketing/_filters.scss +0 -0
- package/assets/styles/marketing/_hero.scss +70 -0
- package/assets/styles/marketing/_pricing.scss +111 -0
- package/assets/styles/marketing/_sections.scss +124 -0
- package/assets/styles/marketing/_shape.scss +31 -0
- package/assets/styles/mixins/_functions.scss +53 -0
- package/assets/styles/mixins/_mixins.scss +9 -9
- package/assets/styles/ui/_accordion.scss +165 -11
- package/assets/styles/ui/_alerts.scss +80 -38
- package/assets/styles/ui/_avatars.scss +36 -9
- package/assets/styles/ui/_badges.scss +47 -13
- package/assets/styles/ui/_button-group.scss +1 -1
- package/assets/styles/ui/_buttons.scss +33 -37
- package/assets/styles/ui/_calendars.scss +2 -2
- package/assets/styles/ui/_cards.scss +9 -0
- package/assets/styles/ui/_carousel.scss +1 -1
- package/assets/styles/ui/_charts.scss +1 -1
- package/assets/styles/ui/_chat.scss +38 -0
- package/assets/styles/ui/_close.scss +54 -1
- package/assets/styles/ui/_datagrid.scss +1 -1
- package/assets/styles/ui/_dropdowns.scss +3 -0
- package/assets/styles/ui/_empty.scss +0 -5
- package/assets/styles/ui/_flags.scss +2 -2
- package/assets/styles/ui/_forms.scss +33 -7
- package/assets/styles/ui/_grid.scss +1 -1
- package/assets/styles/ui/_icons.scss +1 -1
- package/assets/styles/ui/_images.scss +4 -0
- package/assets/styles/ui/_lists.scss +12 -16
- package/assets/styles/ui/_loaders.scss +1 -1
- package/assets/styles/ui/_markdown.scss +15 -4
- package/assets/styles/ui/_modals.scss +2 -2
- package/assets/styles/ui/_nav.scss +17 -3
- package/assets/styles/ui/_offcanvas.scss +2 -2
- package/assets/styles/ui/_pagination.scss +2 -0
- package/assets/styles/ui/_payments.scss +1 -1
- package/assets/styles/ui/_placeholder.scss +1 -1
- package/assets/styles/ui/_progress.scss +1 -1
- package/assets/styles/ui/_ribbons.scss +1 -0
- package/assets/styles/ui/_segmented.scss +101 -0
- package/assets/styles/ui/_signature.scss +15 -0
- package/assets/styles/ui/_social.scss +52 -0
- package/assets/styles/ui/_status.scss +1 -1
- package/assets/styles/ui/_steps.scss +5 -1
- package/assets/styles/ui/_switch-icon.scss +1 -1
- package/assets/styles/ui/_tables.scss +27 -1
- package/assets/styles/ui/_tags.scss +1 -1
- package/assets/styles/ui/_timeline.scss +1 -1
- package/assets/styles/ui/_toasts.scss +0 -1
- package/assets/styles/ui/_tracking.scss +1 -1
- package/assets/styles/ui/_type.scss +169 -8
- package/assets/styles/ui/forms/_form-check.scss +1 -1
- package/assets/styles/ui/forms/_form-colorinput.scss +1 -1
- package/assets/styles/ui/forms/_form-custom.scss +1 -1
- package/assets/styles/ui/forms/_form-imagecheck.scss +6 -5
- package/assets/styles/ui/forms/_form-selectgroup.scss +2 -2
- package/assets/styles/ui/typo/_hr.scss +4 -2
- package/assets/styles/utils/_colors.scss +72 -11
- package/assets/styles/utils/_opacity.scss +1 -1
- package/assets/styles/utils/_scroll.scss +0 -2
- package/assets/styles/utils/_sizing.scss +1 -1
- package/assets/styles/utils/_text.scss +1 -2
- package/assets/styles/vendor/_apexcharts.scss +52 -0
- package/assets/styles/vendor/_coloris.scss +72 -0
- package/assets/styles/vendor/_dropzone.scss +27 -0
- package/assets/styles/vendor/_fslightbox.scss +13 -0
- package/assets/styles/vendor/_jsvectormap.scss +47 -0
- package/assets/styles/vendor/_litepicker.scss +69 -0
- package/assets/styles/vendor/_nouislider.scss +49 -0
- package/assets/styles/vendor/_plyr.scss +3 -0
- package/assets/styles/vendor/_stars-rating.scss +22 -0
- package/assets/styles/vendor/_tom-select.scss +81 -0
- package/assets/styles/vendor/_turbo.scss +3 -0
- package/assets/styles/vendor/_typed.scss +4 -0
- package/assets/styles/vendor/_wysiwyg.scss +46 -0
- package/badge/badge-config.model.d.ts +14 -0
- package/badge/badge.component.d.ts +23 -0
- package/badge/badge.config.d.ts +12 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +3 -0
- package/badge/upd-badge.module.d.ts +8 -0
- package/button/button.component.d.ts +51 -33
- package/button/upd-button.module.d.ts +3 -1
- package/calendar/calendar.component.d.ts +63 -0
- package/calendar/index.d.ts +1 -0
- package/calendar/models/calendar-date.model.d.ts +10 -0
- package/calendar/models/calendar-month.model.d.ts +7 -0
- package/calendar/models/calendar-selected.model.d.ts +5 -0
- package/calendar/models/calendar-user-event.model.d.ts +4 -0
- package/calendar/models/calendar-year.model.d.ts +6 -0
- package/calendar/models/date-range.model.d.ts +22 -0
- package/calendar/models/enums/calendar-view.enum.d.ts +5 -0
- package/calendar/models/public-api.d.ts +7 -0
- package/calendar/public-api.d.ts +5 -0
- package/calendar/services/calendar-range-strategy.service.d.ts +35 -0
- package/calendar/services/calendar-signals.service.d.ts +24 -0
- package/calendar/services/public-api.d.ts +1 -0
- package/calendar/types/calendar-view.type.d.ts +1 -0
- package/calendar/types/public-api.d.ts +1 -0
- package/calendar/upd-calendar.module.d.ts +13 -0
- package/card/card.component.d.ts +2 -2
- package/card/public-api.d.ts +1 -0
- package/card/types/public-api.d.ts +5 -0
- package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
- package/drag-and-drop/index.d.ts +1 -0
- package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
- package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
- package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
- package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
- package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
- package/drag-and-drop/models/public-api.d.ts +4 -0
- package/drag-and-drop/public-api.d.ts +3 -0
- package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
- package/dropdown/dropdown.component.d.ts +23 -6
- package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
- package/dropdown/models/dropdown-item.d.ts +7 -2
- package/dropdown/models/dropdown-item.type.d.ts +1 -1
- package/dropdown/models/public-api.d.ts +2 -0
- package/dropdown/models/toolbar.type.d.ts +1 -0
- package/esm2022/badge/badge-config.model.mjs +14 -0
- package/esm2022/badge/badge.component.mjs +48 -0
- package/esm2022/badge/badge.config.mjs +2 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/public-api.mjs +4 -0
- package/esm2022/badge/upd-badge.module.mjs +24 -0
- package/esm2022/badge/updevs-components-badge.mjs +5 -0
- package/esm2022/button/button.component.mjs +126 -132
- package/esm2022/button/index.mjs +1 -1
- package/esm2022/button/public-api.mjs +1 -1
- package/esm2022/button/upd-button.module.mjs +14 -6
- package/esm2022/button/updevs-components-button.mjs +1 -1
- package/esm2022/calendar/assets/i18n/en.json +16 -0
- package/esm2022/calendar/assets/i18n/pt.json +16 -0
- package/esm2022/calendar/calendar.component.mjs +318 -0
- package/esm2022/calendar/index.mjs +2 -0
- package/esm2022/calendar/models/calendar-date.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-month.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-selected.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-year.model.mjs +2 -0
- package/esm2022/calendar/models/date-range.model.mjs +18 -0
- package/esm2022/calendar/models/enums/calendar-view.enum.mjs +7 -0
- package/esm2022/calendar/models/public-api.mjs +8 -0
- package/esm2022/calendar/public-api.mjs +6 -0
- package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
- package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
- package/esm2022/calendar/services/public-api.mjs +2 -0
- package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
- package/esm2022/calendar/types/public-api.mjs +2 -0
- package/esm2022/calendar/upd-calendar.module.mjs +52 -0
- package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
- package/esm2022/card/card.component.mjs +4 -4
- package/esm2022/card/directives/card-actions.directive.mjs +4 -4
- package/esm2022/card/directives/card-footer.directive.mjs +4 -4
- package/esm2022/card/directives/card-header.directive.mjs +4 -4
- package/esm2022/card/directives/card-image.directive.mjs +4 -4
- package/esm2022/card/directives/public-api.mjs +1 -1
- package/esm2022/card/index.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -1
- package/esm2022/card/types/card-state.type.mjs +1 -1
- package/esm2022/card/types/card-style.type.mjs +1 -1
- package/esm2022/card/types/hover-effect.type.mjs +1 -1
- package/esm2022/card/types/public-api.mjs +6 -0
- package/esm2022/card/types/ribbon-style.type.mjs +1 -1
- package/esm2022/card/types/status-position.type.mjs +1 -1
- package/esm2022/card/upd-card.module.mjs +5 -5
- package/esm2022/card/updevs-components-card.mjs +1 -1
- package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
- package/esm2022/drag-and-drop/index.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
- package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
- package/esm2022/drag-and-drop/public-api.mjs +4 -0
- package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
- package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
- package/esm2022/dropdown/dropdown.component.mjs +79 -21
- package/esm2022/dropdown/index.mjs +1 -1
- package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
- package/esm2022/dropdown/models/dropdown-item.mjs +1 -1
- package/esm2022/dropdown/models/dropdown-item.type.mjs +1 -1
- package/esm2022/dropdown/models/public-api.mjs +3 -1
- package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
- package/esm2022/dropdown/public-api.mjs +1 -1
- package/esm2022/dropdown/upd-dropdown.module.mjs +5 -5
- package/esm2022/dropdown/updevs-components-dropdown.mjs +1 -1
- package/esm2022/form/assets/i18n/en.json +17 -0
- package/esm2022/form/assets/i18n/pt.json +17 -0
- package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +166 -0
- package/esm2022/form/form.component.mjs +180 -0
- package/esm2022/form/index.mjs +1 -1
- package/esm2022/form/models/attachment-rule.model.mjs +2 -0
- package/esm2022/form/models/button-field.model.mjs +2 -0
- package/esm2022/form/models/button-group-field.model.mjs +2 -0
- package/esm2022/form/models/checkbox-field.model.mjs +2 -0
- package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
- package/esm2022/form/models/dynamic-field.model.mjs +2 -0
- package/esm2022/form/models/enums/attachment-type.enum.mjs +15 -0
- package/esm2022/form/models/enums/dynamic-field.type.mjs +17 -0
- package/esm2022/form/models/enums/public-api.mjs +3 -0
- package/esm2022/form/models/file-upload-field.model.mjs +2 -0
- package/esm2022/form/models/form-config.mjs +2 -0
- package/esm2022/form/models/form-row.model.mjs +2 -0
- package/esm2022/form/models/form-update-on.type.mjs +2 -0
- package/esm2022/form/models/input-field.model.mjs +2 -0
- package/esm2022/form/models/masked-input-field.model.mjs +2 -0
- package/esm2022/form/models/public-api.mjs +19 -0
- package/esm2022/form/models/radio-field.model.mjs +2 -0
- package/esm2022/form/models/radio-group-field.model.mjs +2 -0
- package/esm2022/form/models/select-field.model.mjs +2 -0
- package/esm2022/form/models/single-select-field.model.mjs +2 -0
- package/esm2022/form/models/textarea-field.model.mjs +2 -0
- package/esm2022/form/models/validator-config.mjs +2 -0
- package/esm2022/form/public-api.mjs +4 -2
- package/esm2022/form/tools/errors-helper.mjs +54 -0
- package/esm2022/form/upd-form.module.mjs +84 -0
- package/esm2022/form/updevs-components-form.mjs +1 -1
- package/esm2022/form-controls/abstractions/base-control.mjs +46 -0
- package/esm2022/form-controls/abstractions/index.mjs +2 -0
- package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
- package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
- package/esm2022/form-controls/checkbox/checkbox.component.mjs +37 -51
- package/esm2022/form-controls/checkbox/index.mjs +1 -1
- package/esm2022/form-controls/checkbox/public-api.mjs +1 -1
- package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +12 -8
- package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +1 -1
- package/esm2022/form-controls/date-picker/date-picker.component.mjs +132 -0
- package/esm2022/form-controls/date-picker/index.mjs +2 -0
- package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
- package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
- package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
- package/esm2022/form-controls/file-upload/assets/i18n/en.json +15 -0
- package/esm2022/form-controls/file-upload/assets/i18n/pt.json +15 -0
- package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +2 -0
- package/esm2022/form-controls/file-upload/file-upload.component.mjs +169 -0
- package/esm2022/form-controls/file-upload/index.mjs +2 -0
- package/esm2022/form-controls/file-upload/public-api.mjs +4 -0
- package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +48 -0
- package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +5 -0
- package/esm2022/form-controls/input/directives/input-append.directive.mjs +4 -4
- package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +4 -4
- package/esm2022/form-controls/input/directives/public-api.mjs +1 -1
- package/esm2022/form-controls/input/index.mjs +1 -1
- package/esm2022/form-controls/input/input.component.mjs +64 -34
- package/esm2022/form-controls/input/public-api.mjs +1 -1
- package/esm2022/form-controls/input/types/input.type.mjs +1 -1
- package/esm2022/form-controls/input/types/loader-position.type.mjs +1 -1
- package/esm2022/form-controls/input/types/public-api.mjs +1 -1
- package/esm2022/form-controls/input/upd-input.module.mjs +5 -5
- package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +1 -1
- package/esm2022/form-controls/radio/index.mjs +1 -1
- package/esm2022/form-controls/radio/public-api.mjs +1 -1
- package/esm2022/form-controls/radio/radio.component.mjs +12 -25
- package/esm2022/form-controls/radio/upd-radio.module.mjs +14 -6
- package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +1 -1
- package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +38 -14
- package/esm2022/form-controls/select/components/single/select.component.mjs +45 -21
- package/esm2022/form-controls/select/index.mjs +1 -1
- package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +129 -106
- package/esm2022/form-controls/select/models/defaults.mjs +8 -0
- package/esm2022/form-controls/select/models/public-api.mjs +2 -1
- package/esm2022/form-controls/select/models/select-item.mjs +1 -1
- package/esm2022/form-controls/select/public-api.mjs +1 -1
- package/esm2022/form-controls/select/upd-select.module.mjs +10 -6
- package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +1 -1
- package/esm2022/form-controls/textarea/index.mjs +1 -1
- package/esm2022/form-controls/textarea/public-api.mjs +1 -1
- package/esm2022/form-controls/textarea/textarea.component.mjs +18 -36
- package/esm2022/form-controls/textarea/upd-textarea.module.mjs +5 -5
- package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +1 -1
- package/esm2022/form-controls/time-picker/index.mjs +1 -1
- package/esm2022/form-controls/time-picker/public-api.mjs +1 -1
- package/esm2022/form-controls/time-picker/time-picker.component.mjs +4 -4
- package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +5 -5
- package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +8 -7
- package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +1 -1
- package/esm2022/index.mjs +2 -0
- package/esm2022/layout/abstractions/base-page.component.mjs +6 -7
- package/esm2022/layout/abstractions/base.layout.mjs +31 -0
- package/esm2022/layout/abstractions/public-api.mjs +1 -1
- package/esm2022/layout/assets/i18n/en.json +24 -2
- package/esm2022/layout/assets/i18n/pt.json +24 -2
- package/esm2022/layout/index.mjs +1 -1
- package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +18 -7
- package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +32 -6
- package/esm2022/layout/layouts/public-api.mjs +1 -1
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +8 -22
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +24 -27
- package/esm2022/layout/models/login-page-config.model.mjs +20 -0
- package/esm2022/layout/models/login-page.config.mjs +2 -0
- package/esm2022/layout/models/public-api.mjs +2 -1
- package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
- package/esm2022/layout/models/security-layout.config.mjs +2 -0
- package/esm2022/layout/models/upd-layout-config.model.mjs +11 -17
- package/esm2022/layout/models/upd-layout.config.mjs +1 -1
- package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +5 -5
- package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +36 -9
- package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +4 -4
- package/esm2022/layout/pages/auth-flow/login/login.component.mjs +95 -12
- package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +4 -4
- package/esm2022/layout/pages/auth-flow/public-api.mjs +1 -1
- package/esm2022/layout/pages/public-api.mjs +1 -1
- package/esm2022/layout/partials/footer/footer.component.mjs +9 -24
- package/esm2022/layout/partials/footer/footer.module.mjs +28 -0
- package/esm2022/layout/partials/footer/public-api.mjs +2 -2
- package/esm2022/layout/partials/header/header-style.type.mjs +1 -1
- package/esm2022/layout/partials/header/header.component.mjs +115 -52
- package/esm2022/layout/partials/header/header.module.mjs +40 -0
- package/esm2022/layout/partials/header/public-api.mjs +2 -1
- package/esm2022/layout/partials/page-header/page-header.component.mjs +10 -9
- package/esm2022/layout/partials/page-header/public-api.mjs +1 -1
- package/esm2022/layout/partials/public-api.mjs +1 -1
- package/esm2022/layout/partials/sidebar/public-api.mjs +1 -1
- package/esm2022/layout/partials/sidebar/sidebar.component.mjs +177 -86
- package/esm2022/layout/public-api.mjs +1 -1
- package/esm2022/layout/services/public-api.mjs +1 -1
- package/esm2022/layout/services/upd-layout-config.service.mjs +4 -4
- package/esm2022/layout/tools/layout.constants.mjs +1 -1
- package/esm2022/layout/upd-layout.module.mjs +12 -8
- package/esm2022/layout/updevs-components-layout.mjs +1 -1
- package/esm2022/lib/index.mjs +1 -1
- package/esm2022/lib/models/public-api.mjs +2 -0
- package/esm2022/lib/models/row-column-size.mjs +2 -0
- package/esm2022/lib/public-api.mjs +3 -1
- package/esm2022/lib/tools/column-size.helper.mjs +12 -0
- package/esm2022/lib/tools/public-api.mjs +2 -0
- package/esm2022/lib/types/component-size.type.mjs +1 -1
- package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
- package/esm2022/lib/types/public-api.mjs +2 -1
- package/esm2022/lib/types/validation-status.type.mjs +1 -1
- package/esm2022/lib/upd-components.module.mjs +5 -5
- package/esm2022/link/index.mjs +1 -1
- package/esm2022/link/link.component.mjs +4 -4
- package/esm2022/link/public-api.mjs +1 -1
- package/esm2022/link/target.type.mjs +1 -1
- package/esm2022/link/upd-link.module.mjs +5 -5
- package/esm2022/link/updevs-components-link.mjs +1 -1
- package/esm2022/list/assets/i18n/en.json +7 -3
- package/esm2022/list/assets/i18n/pt.json +7 -3
- package/esm2022/list/index.mjs +1 -1
- package/esm2022/list/list.component.mjs +9 -29
- package/esm2022/list/models/badge-position.type.mjs +1 -1
- package/esm2022/list/models/list-item.mjs +1 -1
- package/esm2022/list/models/list-item.model.mjs +7 -2
- package/esm2022/list/models/public-api.mjs +1 -1
- package/esm2022/list/public-api.mjs +1 -1
- package/esm2022/list/upd-list.module.mjs +8 -7
- package/esm2022/list/updevs-components-list.mjs +1 -1
- package/esm2022/modal/assets/i18n/en.json +17 -0
- package/esm2022/modal/assets/i18n/pt.json +17 -0
- package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
- package/esm2022/modal/index.mjs +2 -0
- package/esm2022/modal/models/base.modal.mjs +14 -0
- package/esm2022/modal/models/modal-config.model.mjs +20 -0
- package/esm2022/modal/models/modal-ref.mjs +2 -0
- package/esm2022/modal/models/modal.config.mjs +2 -0
- package/esm2022/modal/models/public-api.mjs +4 -0
- package/esm2022/modal/public-api.mjs +4 -0
- package/esm2022/modal/services/modal-alert.service.mjs +99 -0
- package/esm2022/modal/services/modal.service.mjs +30 -0
- package/esm2022/modal/services/public-api.mjs +3 -0
- package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
- package/esm2022/modal/types/modal-size.type.mjs +2 -0
- package/esm2022/modal/upd-modal.module.mjs +90 -0
- package/esm2022/modal/updevs-components-modal.mjs +5 -0
- package/esm2022/paginator/assets/i18n/en.json +15 -0
- package/esm2022/paginator/assets/i18n/pt.json +15 -0
- package/esm2022/paginator/index.mjs +2 -0
- package/esm2022/paginator/paginator.component.mjs +66 -0
- package/esm2022/paginator/public-api.mjs +3 -0
- package/esm2022/paginator/upd-paginator.module.mjs +47 -0
- package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
- package/esm2022/popover/index.mjs +1 -1
- package/esm2022/popover/popover.component.mjs +6 -6
- package/esm2022/popover/popover.directive.mjs +23 -32
- package/esm2022/popover/public-api.mjs +1 -1
- package/esm2022/popover/upd-popover.module.mjs +5 -5
- package/esm2022/popover/updevs-components-popover.mjs +1 -1
- package/esm2022/pricing/index.mjs +2 -0
- package/esm2022/pricing/models/price-item-feature.model.mjs +2 -0
- package/esm2022/pricing/models/price-item-features-group.model.mjs +2 -0
- package/esm2022/pricing/models/price-item-tag.model.mjs +2 -0
- package/esm2022/pricing/models/price-item.model.mjs +2 -0
- package/esm2022/pricing/models/public-api.mjs +5 -0
- package/esm2022/pricing/pricing-cards/pricing-cards.component.mjs +27 -0
- package/esm2022/pricing/pricing-table/pricing-table.component.mjs +57 -0
- package/esm2022/pricing/public-api.mjs +5 -0
- package/esm2022/pricing/upd-pricing.module.mjs +49 -0
- package/esm2022/pricing/updevs-components-pricing.mjs +5 -0
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/table/abstractions/base-column.model.mjs +52 -0
- package/esm2022/table/abstractions/base.column.mjs +84 -0
- package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
- package/esm2022/table/abstractions/public-api.mjs +3 -0
- package/esm2022/table/assets/i18n/en.json +74 -0
- package/esm2022/table/assets/i18n/pt.json +74 -0
- package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
- package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
- package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
- package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
- package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
- package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
- package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
- package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
- package/esm2022/table/directives/public-api.mjs +2 -0
- package/esm2022/table/directives/table-column.directive.mjs +52 -0
- package/esm2022/table/index.mjs +2 -0
- package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
- package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
- package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
- package/esm2022/table/models/columns/image-column.model.mjs +11 -0
- package/esm2022/table/models/columns/number-column.model.mjs +17 -0
- package/esm2022/table/models/columns/public-api.mjs +7 -0
- package/esm2022/table/models/columns/text-column.model.mjs +11 -0
- package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
- package/esm2022/table/models/enums/public-api.mjs +2 -0
- package/esm2022/table/models/filter-item.model.mjs +2 -0
- package/esm2022/table/models/filter-operand.config.mjs +2 -0
- package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
- package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
- package/esm2022/table/models/public-api.mjs +5 -0
- package/esm2022/table/models/saved-view.model.mjs +2 -0
- package/esm2022/table/models/table-config.model.mjs +29 -0
- package/esm2022/table/models/table.config.mjs +2 -0
- package/esm2022/table/models/upd-table-config.model.mjs +9 -0
- package/esm2022/table/models/upd-table.config.mjs +2 -0
- package/esm2022/table/public-api.mjs +6 -0
- package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
- package/esm2022/table/services/storages/saved-views.storage.mjs +56 -0
- package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
- package/esm2022/table/services/upd-table-config.service.mjs +18 -0
- package/esm2022/table/table.component.mjs +439 -0
- package/esm2022/table/tools/filters.tools.mjs +48 -0
- package/esm2022/table/tools/table.constants.mjs +15 -0
- package/esm2022/table/upd-table.module.mjs +150 -0
- package/esm2022/table/updevs-components-table.mjs +5 -0
- package/esm2022/updevs-components.mjs +2 -2
- package/fesm2022/updevs-components-badge.mjs +89 -0
- package/fesm2022/updevs-components-badge.mjs.map +1 -0
- package/fesm2022/updevs-components-button.mjs +138 -136
- package/fesm2022/updevs-components-button.mjs.map +1 -1
- package/fesm2022/updevs-components-calendar.mjs +582 -0
- package/fesm2022/updevs-components-calendar.mjs.map +1 -0
- package/fesm2022/updevs-components-card.mjs +20 -20
- package/fesm2022/updevs-components-card.mjs.map +1 -1
- package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
- package/fesm2022/updevs-components-dropdown.mjs +83 -25
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-abstractions.mjs +53 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs +47 -57
- package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs +264 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-input.mjs +74 -44
- package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-radio.mjs +25 -30
- package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-select.mjs +219 -139
- package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-textarea.mjs +21 -39
- package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-time-picker.mjs +14 -13
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
- package/fesm2022/updevs-components-form.mjs +533 -10
- package/fesm2022/updevs-components-form.mjs.map +1 -1
- package/fesm2022/updevs-components-layout.mjs +757 -375
- package/fesm2022/updevs-components-layout.mjs.map +1 -1
- package/fesm2022/updevs-components-link.mjs +8 -8
- package/fesm2022/updevs-components-link.mjs.map +1 -1
- package/fesm2022/updevs-components-list.mjs +39 -53
- package/fesm2022/updevs-components-list.mjs.map +1 -1
- package/fesm2022/updevs-components-modal.mjs +504 -0
- package/fesm2022/updevs-components-modal.mjs.map +1 -0
- package/fesm2022/updevs-components-paginator.mjs +160 -0
- package/fesm2022/updevs-components-paginator.mjs.map +1 -0
- package/fesm2022/updevs-components-popover.mjs +30 -39
- package/fesm2022/updevs-components-popover.mjs.map +1 -1
- package/fesm2022/updevs-components-pricing.mjs +130 -0
- package/fesm2022/updevs-components-pricing.mjs.map +1 -0
- package/fesm2022/updevs-components-table.mjs +1754 -0
- package/fesm2022/updevs-components-table.mjs.map +1 -0
- package/fesm2022/updevs-components.mjs +17 -5
- package/fesm2022/updevs-components.mjs.map +1 -1
- package/form/components/dynamic-field/dynamic-field.component.d.ts +63 -0
- package/form/form.component.d.ts +64 -0
- package/form/models/attachment-rule.model.d.ts +35 -0
- package/form/models/button-field.model.d.ts +5 -0
- package/form/models/button-group-field.model.d.ts +5 -0
- package/form/models/checkbox-field.model.d.ts +4 -0
- package/form/models/checkbox-group-field.model.d.ts +6 -0
- package/form/models/dynamic-field.model.d.ts +49 -0
- package/form/models/enums/attachment-type.enum.d.ts +13 -0
- package/form/models/enums/dynamic-field.type.d.ts +15 -0
- package/form/models/enums/public-api.d.ts +2 -0
- package/form/models/file-upload-field.model.d.ts +16 -0
- package/form/models/form-config.d.ts +2 -0
- package/form/models/form-row.model.d.ts +10 -0
- package/form/models/form-update-on.type.d.ts +1 -0
- package/form/models/input-field.model.d.ts +9 -0
- package/form/models/masked-input-field.model.d.ts +6 -0
- package/form/models/public-api.d.ts +18 -0
- package/form/models/radio-field.model.d.ts +4 -0
- package/form/models/radio-group-field.model.d.ts +6 -0
- package/form/models/select-field.model.d.ts +29 -0
- package/form/models/single-select-field.model.d.ts +4 -0
- package/form/models/textarea-field.model.d.ts +10 -0
- package/form/models/validator-config.d.ts +5 -0
- package/form/public-api.d.ts +3 -1
- package/form/tools/errors-helper.d.ts +11 -0
- package/form/upd-form.module.d.ts +22 -0
- package/form-controls/abstractions/base-control.d.ts +29 -0
- package/form-controls/abstractions/index.d.ts +2 -0
- package/form-controls/abstractions/public-api.d.ts +2 -0
- package/form-controls/checkbox/checkbox.component.d.ts +14 -20
- package/form-controls/checkbox/upd-checkbox.module.d.ts +2 -1
- package/form-controls/date-picker/date-picker.component.d.ts +66 -0
- package/form-controls/date-picker/index.d.ts +1 -0
- package/form-controls/date-picker/public-api.d.ts +2 -0
- package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
- package/form-controls/file-upload/file-upload-changed.event.d.ts +4 -0
- package/form-controls/file-upload/file-upload.component.d.ts +46 -0
- package/form-controls/file-upload/index.d.ts +1 -0
- package/form-controls/file-upload/public-api.d.ts +3 -0
- package/form-controls/file-upload/upd-file-upload.module.d.ts +14 -0
- package/form-controls/input/input.component.d.ts +24 -14
- package/form-controls/radio/radio.component.d.ts +5 -12
- package/form-controls/radio/upd-radio.module.d.ts +3 -1
- package/form-controls/select/components/multiple/select-multiple.component.d.ts +13 -2
- package/form-controls/select/components/single/select.component.d.ts +12 -4
- package/form-controls/select/models/abstractions/base-select.component.d.ts +36 -32
- package/form-controls/select/models/defaults.d.ts +8 -0
- package/form-controls/select/models/public-api.d.ts +1 -0
- package/form-controls/select/upd-select.module.d.ts +3 -2
- package/form-controls/textarea/textarea.component.d.ts +11 -15
- package/form-controls/time-picker/upd-time-picker.module.d.ts +2 -2
- package/index.d.ts +1 -4
- package/layout/abstractions/base.layout.d.ts +15 -0
- package/layout/layouts/blank-layout/blank-layout.component.d.ts +5 -1
- package/layout/layouts/blank-layout/blank-layout.module.d.ts +8 -1
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +2 -8
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +14 -13
- package/layout/models/login-page-config.model.d.ts +46 -0
- package/layout/models/login-page.config.d.ts +44 -0
- package/layout/models/public-api.d.ts +1 -0
- package/layout/models/security-layout-config.model.d.ts +12 -0
- package/layout/models/security-layout.config.d.ts +10 -0
- package/layout/models/upd-layout-config.model.d.ts +9 -0
- package/layout/models/upd-layout.config.d.ts +9 -0
- package/layout/pages/auth-flow/auth-flow.module.d.ts +9 -2
- package/layout/pages/auth-flow/login/login.component.d.ts +20 -6
- package/layout/partials/footer/footer.component.d.ts +4 -13
- package/layout/partials/footer/footer.module.d.ts +9 -0
- package/layout/partials/footer/public-api.d.ts +1 -1
- package/layout/partials/header/header.component.d.ts +41 -21
- package/layout/partials/header/header.module.d.ts +12 -0
- package/layout/partials/header/public-api.d.ts +1 -0
- package/layout/partials/page-header/page-header.component.d.ts +2 -2
- package/layout/partials/sidebar/sidebar.component.d.ts +28 -1
- package/layout/upd-layout.module.d.ts +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/models/public-api.d.ts +2 -0
- package/lib/models/row-column-size.d.ts +23 -0
- package/lib/public-api.d.ts +3 -0
- package/lib/tools/column-size.helper.d.ts +6 -0
- package/lib/tools/public-api.d.ts +2 -0
- package/lib/types/component-size.type.d.ts +1 -0
- package/lib/types/horizontal-vertical.type.d.ts +2 -0
- package/lib/types/public-api.d.ts +2 -0
- package/lib/types/validation-status.type.d.ts +1 -0
- package/lib/upd-components.module.d.ts +1 -0
- package/list/list.component.d.ts +1 -16
- package/list/models/list-item.d.ts +4 -2
- package/list/models/list-item.model.d.ts +4 -2
- package/list/upd-list.module.d.ts +2 -2
- package/modal/components/modal-container/modal-container.component.d.ts +74 -0
- package/modal/index.d.ts +1 -0
- package/modal/models/base.modal.d.ts +8 -0
- package/modal/models/modal-config.model.d.ts +32 -0
- package/modal/models/modal-ref.d.ts +6 -0
- package/modal/models/modal.config.d.ts +30 -0
- package/modal/models/public-api.d.ts +3 -0
- package/modal/public-api.d.ts +3 -0
- package/modal/services/modal-alert.service.d.ts +22 -0
- package/modal/services/modal.service.d.ts +12 -0
- package/modal/services/public-api.d.ts +2 -0
- package/modal/types/modal-footer-style.type.d.ts +1 -0
- package/modal/types/modal-size.type.d.ts +1 -0
- package/modal/upd-modal.module.d.ts +18 -0
- package/package.json +67 -6
- package/paginator/index.d.ts +1 -0
- package/paginator/paginator.component.d.ts +42 -0
- package/paginator/public-api.d.ts +2 -0
- package/paginator/upd-paginator.module.d.ts +14 -0
- package/popover/popover.component.d.ts +2 -2
- package/pricing/index.d.ts +1 -0
- package/pricing/models/price-item-feature.model.d.ts +7 -0
- package/pricing/models/price-item-features-group.model.d.ts +5 -0
- package/pricing/models/price-item-tag.model.d.ts +6 -0
- package/pricing/models/price-item.model.d.ts +22 -0
- package/pricing/models/public-api.d.ts +4 -0
- package/pricing/pricing-cards/pricing-cards.component.d.ts +12 -0
- package/pricing/pricing-table/pricing-table.component.d.ts +30 -0
- package/pricing/public-api.d.ts +4 -0
- package/pricing/upd-pricing.module.d.ts +14 -0
- package/public-api.d.ts +1 -0
- package/table/abstractions/base-column.model.d.ts +31 -0
- package/table/abstractions/base.column.d.ts +26 -0
- package/table/abstractions/filters-operands.service.d.ts +8 -0
- package/table/abstractions/public-api.d.ts +2 -0
- package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
- package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
- package/table/components/columns/number-column/number-column.component.d.ts +7 -0
- package/table/components/columns/text-column/text-column.component.d.ts +9 -0
- package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
- package/table/components/filter-row/filter-row.component.d.ts +40 -0
- package/table/components/save-search/save-search.component.d.ts +17 -0
- package/table/components/search-section/search-section.component.d.ts +36 -0
- package/table/directives/public-api.d.ts +1 -0
- package/table/directives/table-column.directive.d.ts +14 -0
- package/table/index.d.ts +1 -0
- package/table/models/columns/boolean-column.model.d.ts +15 -0
- package/table/models/columns/date-time-column.model.d.ts +8 -0
- package/table/models/columns/guid-column.model.d.ts +4 -0
- package/table/models/columns/image-column.model.d.ts +6 -0
- package/table/models/columns/number-column.model.d.ts +8 -0
- package/table/models/columns/public-api.d.ts +6 -0
- package/table/models/columns/text-column.model.d.ts +6 -0
- package/table/models/enums/column-type.enum.d.ts +13 -0
- package/table/models/enums/public-api.d.ts +1 -0
- package/table/models/filter-item.model.d.ts +6 -0
- package/table/models/filter-operand.config.d.ts +9 -0
- package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
- package/table/models/public-api.d.ts +4 -0
- package/table/models/saved-view.model.d.ts +11 -0
- package/table/models/table-config.model.d.ts +33 -0
- package/table/models/table.config.d.ts +31 -0
- package/table/models/upd-table-config.model.d.ts +6 -0
- package/table/models/upd-table.config.d.ts +6 -0
- package/table/public-api.d.ts +5 -0
- package/table/services/default-filters-operands.service.d.ts +17 -0
- package/table/services/storages/saved-views.storage.d.ts +19 -0
- package/table/services/stores/filters-operands.store.d.ts +11 -0
- package/table/services/upd-table-config.service.d.ts +12 -0
- package/table/table.component.d.ts +81 -0
- package/table/tools/filters.tools.d.ts +9 -0
- package/table/tools/table.constants.d.ts +15 -0
- package/table/upd-table.module.d.ts +40 -0
- package/esm2022/form/form.module.mjs +0 -18
- package/esm2022/layout/partials/footer/footer-copyright.directive.mjs +0 -13
- package/form/form.module.d.ts +0 -7
- package/layout/partials/footer/footer-copyright.directive.d.ts +0 -5
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.jvm-tooltip {
|
|
2
|
+
background: var(--#{$prefix}bg-surface-inverted);
|
|
3
|
+
color: var(--#{$prefix}text-inverted);
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
font-size: $h5-font-size;
|
|
6
|
+
box-shadow: $card-box-shadow;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.jvm-series-container .jvm-legend .jvm-legend-title {
|
|
10
|
+
border-bottom: 0;
|
|
11
|
+
font-weight: var(--#{$prefix}font-weight-medium);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.jvm-series-container .jvm-legend {
|
|
15
|
+
background-color: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
16
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
17
|
+
min-width: 8rem;
|
|
18
|
+
|
|
19
|
+
.jvm-legend-inner .jvm-legend-tick {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
.jvm-legend-tick-sample {
|
|
24
|
+
width: .75rem;
|
|
25
|
+
height: .75rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.jvm-zoom-btn {
|
|
31
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
32
|
+
background: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
33
|
+
color: var(--#{$prefix}body-color);
|
|
34
|
+
padding: 0;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
line-height: 1;
|
|
39
|
+
width: 1.5rem;
|
|
40
|
+
height: 1.5rem;
|
|
41
|
+
font-size: 1rem;
|
|
42
|
+
box-shadow: $card-box-shadow;
|
|
43
|
+
|
|
44
|
+
&.jvm-zoomout {
|
|
45
|
+
top: 2.5rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.litepicker {
|
|
2
|
+
--litepicker-month-weekday-color: #{var(--#{$prefix}secondary)};
|
|
3
|
+
--litepicker-button-prev-month-color: #{var(--#{$prefix}secondary)};
|
|
4
|
+
--litepicker-button-next-month-color: #{var(--#{$prefix}secondary)};
|
|
5
|
+
--litepicker-button-prev-month-color-hover: #{ var(--#{$prefix}primary) };
|
|
6
|
+
--litepicker-button-next-month-color-hover: #{ var(--#{$prefix}primary) };
|
|
7
|
+
--litepicker-day-color: var(--#{$prefix}body-color);
|
|
8
|
+
--litepicker-day-color-hover: #{ var(--#{$prefix}primary) };
|
|
9
|
+
--litepicker-is-start-color-bg: #{ var(--#{$prefix}primary) };
|
|
10
|
+
--litepicker-is-end-color-bg: #{ var(--#{$prefix}primary) };
|
|
11
|
+
--litepicker-is-in-range-color: #{ var(--#{$prefix}info) };
|
|
12
|
+
--litepicker-is-today-color: #{ var(--#{$prefix}primary) };
|
|
13
|
+
--litepicker-month-header-color: var(--#{$prefix}body-color);
|
|
14
|
+
--litepicker-container-months-color-bg: var(--#{$prefix}bg-surface);
|
|
15
|
+
font: inherit;
|
|
16
|
+
user-select: none;
|
|
17
|
+
|
|
18
|
+
.day-item.is-in-range {
|
|
19
|
+
--litepicker-day-color: var(--#{$prefix}light);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
fill: none !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.container__main {
|
|
27
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
28
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
29
|
+
box-shadow: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.container__months {
|
|
33
|
+
.month-item-name,
|
|
34
|
+
.month-item-year {
|
|
35
|
+
font-weight: var(--#{$prefix}font-weight-medium) !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.button-next-month,
|
|
39
|
+
.button-previous-month {
|
|
40
|
+
cursor: pointer !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.month-item-weekdays-row {
|
|
44
|
+
> div {
|
|
45
|
+
padding: .5rem 0 !important;
|
|
46
|
+
font-size: $h5-font-size;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.container__days {
|
|
52
|
+
.day-item {
|
|
53
|
+
cursor: pointer !important;
|
|
54
|
+
padding: .5rem 0 !important;
|
|
55
|
+
@include transition(color $transition-time, background-color $transition-time, border-color $transition-time);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.datepicker-inline & {
|
|
60
|
+
box-shadow: $input-box-shadow;
|
|
61
|
+
|
|
62
|
+
.container__months {
|
|
63
|
+
box-shadow: none;
|
|
64
|
+
background-color: var(--#{$prefix}bg-forms);
|
|
65
|
+
border-radius: calc(var(--#{$prefix}border-radius) - 1px);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.noUi-target {
|
|
2
|
+
border: 0;
|
|
3
|
+
box-shadow: none;
|
|
4
|
+
background: none;
|
|
5
|
+
border-radius: 0;
|
|
6
|
+
color: $form-range-thumb-bg;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.noUi-horizontal {
|
|
10
|
+
height: add($form-range-track-height, 1rem);
|
|
11
|
+
padding: .5rem 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.noUi-base {
|
|
15
|
+
background: $form-range-track-bg;
|
|
16
|
+
border-radius: $form-range-track-border-radius;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.noUi-handle {
|
|
20
|
+
width: $form-range-thumb-width;
|
|
21
|
+
height: $form-range-thumb-height;
|
|
22
|
+
border: $form-range-thumb-border;
|
|
23
|
+
box-shadow: $form-range-thumb-box-shadow;
|
|
24
|
+
border-radius: $form-range-thumb-border-radius;
|
|
25
|
+
background: currentColor;
|
|
26
|
+
outline: 0;
|
|
27
|
+
|
|
28
|
+
&:before,
|
|
29
|
+
&:after {
|
|
30
|
+
content: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.noUi-horizontal & {
|
|
34
|
+
width: $form-range-thumb-width;
|
|
35
|
+
height: $form-range-thumb-height;
|
|
36
|
+
top: (-$form-range-thumb-height * .5);
|
|
37
|
+
right: (-$form-range-thumb-height * .5);
|
|
38
|
+
margin: 1px 1px 0 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.noUi-active,
|
|
42
|
+
&:focus {
|
|
43
|
+
box-shadow: $form-range-thumb-focus-box-shadow;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.noUi-connect {
|
|
48
|
+
background: currentColor;
|
|
49
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--gl-star-size: auto;
|
|
3
|
+
--gl-star-color: var(--#{$prefix}yellow);
|
|
4
|
+
--gl-star-color-inactive: var(--#{$prefix}border-color);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[data-star-rating] {
|
|
8
|
+
svg {
|
|
9
|
+
width: var(--#{$prefix}icon-size, --gl-star-size);
|
|
10
|
+
height: var(--#{$prefix}icon-size, --gl-star-size);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:not(.gl-active) > .gl-star-full {
|
|
14
|
+
color: var(--gl-star-color-inactive) !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.gl-active > .gl-star-full {
|
|
18
|
+
color: var(--gl-star-color);
|
|
19
|
+
fill: currentColor;
|
|
20
|
+
stroke: currentColor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
$select-color-dropdown: #fff;
|
|
2
|
+
$select-color-dropdown-border-top: red;
|
|
3
|
+
$input-border-width: 1px;
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--ts-pr-clear-button: 0rem;
|
|
7
|
+
--ts-pr-caret: 0rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ts-input {
|
|
11
|
+
color: inherit;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.focus .ts-control {
|
|
15
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
.ts-control {
|
|
20
|
+
color: inherit;
|
|
21
|
+
|
|
22
|
+
.dropdown-menu {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: auto;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ts-wrapper {
|
|
29
|
+
.form-control,
|
|
30
|
+
.form-select,
|
|
31
|
+
&.form-control,
|
|
32
|
+
&.form-select {
|
|
33
|
+
box-shadow: $input-box-shadow;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.is-invalid,
|
|
37
|
+
&.is-valid {
|
|
38
|
+
.ts-control {
|
|
39
|
+
--ts-pr-clear-button: 1.5rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ts-dropdown {
|
|
45
|
+
background: var(--#{$prefix}bg-surface);
|
|
46
|
+
color: var(--#{$prefix}body-color);
|
|
47
|
+
box-shadow: var(--#{$prefix}shadow-dropdown);
|
|
48
|
+
z-index: $zindex-dropdown;
|
|
49
|
+
|
|
50
|
+
.option {
|
|
51
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ts-control,
|
|
56
|
+
.ts-control input {
|
|
57
|
+
color: var(--#{$prefix}body-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ts-control input {
|
|
61
|
+
&::placeholder{
|
|
62
|
+
color: $input-placeholder-color;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ts-wrapper.multi,
|
|
67
|
+
.ts-wrapper.multi.disabled {
|
|
68
|
+
.ts-control > div {
|
|
69
|
+
background: var(--#{$prefix}bg-surface-secondary);
|
|
70
|
+
border: 1px solid var(--#{$prefix}border-color);
|
|
71
|
+
color: var(--#{$prefix}body-color);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ts-wrapper.disabled .ts-control {
|
|
76
|
+
opacity: 1;
|
|
77
|
+
|
|
78
|
+
&> div.item {
|
|
79
|
+
color: var(--#{$prefix}gray-500);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.tox-hugerte {
|
|
2
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
3
|
+
border-radius: $border-radius !important;
|
|
4
|
+
font-family: var(--#{$prefix}font-sans-serif) !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tox-toolbar__group {
|
|
8
|
+
padding: 0 .5rem 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.tox .tox-toolbar__primary {
|
|
12
|
+
background: transparent !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tox:not(.tox-hugerte-inline) {
|
|
16
|
+
.tox-editor-header {
|
|
17
|
+
border-bottom: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
18
|
+
box-shadow: none !important;
|
|
19
|
+
padding: 0 !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tox-tbtn {
|
|
24
|
+
margin: 0 !important;
|
|
25
|
+
background: var(--#{$prefix}bg-surface) !important;
|
|
26
|
+
|
|
27
|
+
&:hover,
|
|
28
|
+
&.tox-tbtn--enabled {
|
|
29
|
+
background: var(--#{$prefix}bg-surface-secondary) !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.tox-edit-area {
|
|
34
|
+
&::before {
|
|
35
|
+
border: none !important
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tox-statusbar {
|
|
40
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color) !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tox .tox-toolbar-overlord,
|
|
44
|
+
.tox:not(.tox-hugerte-inline) .tox-editor-header {
|
|
45
|
+
background: transparent !important;
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { BadgeConfig } from './badge.config';
|
|
4
|
+
export declare class BadgeConfigModel implements BadgeConfig {
|
|
5
|
+
bgColor: BgColorStyleType;
|
|
6
|
+
textColor?: ColorStyleType;
|
|
7
|
+
text?: TextModel;
|
|
8
|
+
isOutline: boolean;
|
|
9
|
+
isPill: boolean;
|
|
10
|
+
isNotification: boolean;
|
|
11
|
+
isBlinking: boolean;
|
|
12
|
+
customClasses: string;
|
|
13
|
+
constructor(init?: BadgeConfig);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { BadgeConfig } from './badge.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BadgeComponent {
|
|
6
|
+
get hostClasses(): string;
|
|
7
|
+
config: import("@angular/core").InputSignal<BadgeConfig | undefined>;
|
|
8
|
+
bgColor: import("@angular/core").InputSignal<BgColorStyleType>;
|
|
9
|
+
textColor: import("@angular/core").InputSignal<ColorStyleType | undefined>;
|
|
10
|
+
text: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
11
|
+
isOutline: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
isPill: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
isNotification: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
isBlinking: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
customClasses: import("@angular/core").InputSignal<string>;
|
|
16
|
+
get badgeText(): string;
|
|
17
|
+
private readonly configModel;
|
|
18
|
+
private readonly classes;
|
|
19
|
+
private readonly fullClassString;
|
|
20
|
+
private readonly textService;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "upd-badge", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "bgColor": { "alias": "bgColor"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "isOutline": { "alias": "isOutline"; "required": false; "isSignal": true; }; "isPill": { "alias": "isPill"; "required": false; "isSignal": true; }; "isNotification": { "alias": "isNotification"; "required": false; "isSignal": true; }; "isBlinking": { "alias": "isBlinking"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
export interface BadgeConfig {
|
|
4
|
+
bgColor?: BgColorStyleType;
|
|
5
|
+
textColor?: ColorStyleType;
|
|
6
|
+
text?: TextModel;
|
|
7
|
+
isOutline?: boolean;
|
|
8
|
+
isPill?: boolean;
|
|
9
|
+
isNotification?: boolean;
|
|
10
|
+
isBlinking?: boolean;
|
|
11
|
+
customClasses?: string;
|
|
12
|
+
}
|
package/badge/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class UpdBadgeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdBadgeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdBadgeModule, [typeof i1.BadgeComponent], [typeof i2.CommonModule], [typeof i1.BadgeComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdBadgeModule>;
|
|
8
|
+
}
|
|
@@ -1,43 +1,61 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconModel } from '@updevs/icons';
|
|
3
|
+
import { TextModel } from '@updevs/sdk';
|
|
4
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
5
|
+
import { LeftRightType, OptionalType, BrandType, BgColorStyleType } from '@updevs/sdk/types';
|
|
6
|
+
import { BadgeConfig } from '@updevs/components/badge';
|
|
3
7
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ButtonComponent
|
|
5
|
-
classes: string[];
|
|
6
|
-
|
|
7
|
-
model?: ButtonModel;
|
|
8
|
-
colorStyle?: ColorStyleType;
|
|
9
|
-
brandColorStyle?: BrandType;
|
|
10
|
-
customClasses?: string;
|
|
11
|
-
isActive: boolean;
|
|
12
|
-
isDisabled: boolean;
|
|
13
|
-
isOutline: boolean;
|
|
14
|
-
isGhost: boolean;
|
|
15
|
-
isSquare: boolean;
|
|
16
|
-
isPill: boolean;
|
|
17
|
-
isIcon: boolean;
|
|
18
|
-
isLoading: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Whether the button should act as a list (top-bottom alignment instead of left-right related to neighbors).
|
|
21
|
-
*/
|
|
22
|
-
isList: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the button should be floating in the bottom right corner.
|
|
25
|
-
*/
|
|
26
|
-
isFloating: boolean;
|
|
27
|
-
isAction: boolean;
|
|
28
|
-
isNavigationLink: boolean;
|
|
29
|
-
shouldIgnoreBtnClass: boolean;
|
|
8
|
+
export declare class ButtonComponent {
|
|
9
|
+
get classes(): string[];
|
|
10
|
+
get titleAttr(): OptionalType<string>;
|
|
30
11
|
/**
|
|
31
12
|
* Emitted when the button is clicked.
|
|
32
13
|
* **NOTE:** The name of the event can not be 'click'. It would generate a conflict with the HTML event of same name.
|
|
33
14
|
* That would cause strange behaviors like preventing `isDisabled` from working correctly.
|
|
34
15
|
*/
|
|
35
16
|
readonly clicked: EventEmitter<any>;
|
|
36
|
-
|
|
37
|
-
|
|
17
|
+
model: import("@angular/core").InputSignal<ButtonModel | undefined>;
|
|
18
|
+
text: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
19
|
+
brandColorStyle: import("@angular/core").InputSignal<BrandType | undefined>;
|
|
20
|
+
customClasses: import("@angular/core").InputSignal<string | undefined>;
|
|
21
|
+
isOutline: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
isGhost: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
isSquare: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
isPill: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
isIcon: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
isLoading: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the button should act as a list (top-bottom alignment instead of left-right related to neighbors).
|
|
29
|
+
*/
|
|
30
|
+
isList: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the button should be floating in the bottom right corner.
|
|
33
|
+
*/
|
|
34
|
+
isFloating: import("@angular/core").InputSignal<boolean>;
|
|
35
|
+
isAction: import("@angular/core").InputSignal<boolean>;
|
|
36
|
+
isNavigationLink: import("@angular/core").InputSignal<boolean>;
|
|
37
|
+
isLink: import("@angular/core").InputSignal<boolean>;
|
|
38
|
+
shouldIgnoreBtnClass: import("@angular/core").InputSignal<boolean>;
|
|
39
|
+
iconModel: import("@angular/core").InputSignal<IconModel | undefined>;
|
|
40
|
+
iconPosition: import("@angular/core").InputSignal<LeftRightType>;
|
|
41
|
+
isDisabled: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
isActive: import("@angular/core").InputSignal<boolean>;
|
|
43
|
+
badgeConfig: import("@angular/core").InputSignal<BadgeConfig | undefined>;
|
|
44
|
+
colorStyle: import("@angular/core").InputSignal<BgColorStyleType | undefined>;
|
|
45
|
+
size: import("@angular/core").InputSignal<import("@updevs/sdk/types").SizeType>;
|
|
46
|
+
title: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
47
|
+
get mainText(): string;
|
|
48
|
+
get _iconModel(): OptionalType<IconModel>;
|
|
49
|
+
get _iconPosition(): LeftRightType;
|
|
50
|
+
get _isIcon(): boolean;
|
|
51
|
+
private get sizeClass();
|
|
52
|
+
private _size;
|
|
53
|
+
private _title;
|
|
54
|
+
private _colorStyle;
|
|
55
|
+
private _brandColorStyle;
|
|
56
|
+
private buttonClasses;
|
|
57
|
+
private readonly textService;
|
|
38
58
|
onClick(event: MouseEvent): void;
|
|
39
|
-
private updateClasses;
|
|
40
|
-
private setupFromModel;
|
|
41
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "upd-button", never, { "text": { "alias": "text"; "required": false; }; "
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "upd-button", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "brandColorStyle": { "alias": "brandColorStyle"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "isOutline": { "alias": "isOutline"; "required": false; "isSignal": true; }; "isGhost": { "alias": "isGhost"; "required": false; "isSignal": true; }; "isSquare": { "alias": "isSquare"; "required": false; "isSignal": true; }; "isPill": { "alias": "isPill"; "required": false; "isSignal": true; }; "isIcon": { "alias": "isIcon"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isList": { "alias": "isList"; "required": false; "isSignal": true; }; "isFloating": { "alias": "isFloating"; "required": false; "isSignal": true; }; "isAction": { "alias": "isAction"; "required": false; "isSignal": true; }; "isNavigationLink": { "alias": "isNavigationLink"; "required": false; "isSignal": true; }; "isLink": { "alias": "isLink"; "required": false; "isSignal": true; }; "shouldIgnoreBtnClass": { "alias": "shouldIgnoreBtnClass"; "required": false; "isSignal": true; }; "iconModel": { "alias": "iconModel"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "badgeConfig": { "alias": "badgeConfig"; "required": false; "isSignal": true; }; "colorStyle": { "alias": "colorStyle"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
|
|
43
61
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@updevs/icons";
|
|
5
|
+
import * as i4 from "@updevs/components/badge";
|
|
4
6
|
export declare class UpdButtonModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdButtonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule], [typeof i1.ButtonComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.UpdIconsModule, typeof i4.UpdBadgeModule], [typeof i1.ButtonComponent]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<UpdButtonModule>;
|
|
8
10
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { CalendarViewEnum } from './models/enums/calendar-view.enum';
|
|
4
|
+
import { CalendarDateModel } from './models/calendar-date.model';
|
|
5
|
+
import { CalendarMonthModel } from './models/calendar-month.model';
|
|
6
|
+
import { CalendarYearModel } from './models/calendar-year.model';
|
|
7
|
+
import { CalendarSelectedModel } from './models/calendar-selected.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CalendarComponent implements OnInit {
|
|
10
|
+
readonly selectedDate: import("@angular/core").InputSignal<OptionalType<Date>>;
|
|
11
|
+
readonly selectedStartDate: import("@angular/core").InputSignal<OptionalType<Date>>;
|
|
12
|
+
readonly selectedEndDate: import("@angular/core").InputSignal<OptionalType<Date>>;
|
|
13
|
+
readonly minDate: import("@angular/core").InputSignal<OptionalType<Date>>;
|
|
14
|
+
readonly maxDate: import("@angular/core").InputSignal<OptionalType<Date>>;
|
|
15
|
+
readonly disabledDatesFilter: import("@angular/core").InputSignal<OptionalType<(date: Date) => boolean>>;
|
|
16
|
+
readonly isRange: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
readonly shouldRemoveExternalBorder: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
readonly selected: import("@angular/core").OutputEmitterRef<OptionalType<CalendarSelectedModel>>;
|
|
19
|
+
readonly monthChanged: import("@angular/core").OutputEmitterRef<Date>;
|
|
20
|
+
CalendarViewEnum: typeof CalendarViewEnum;
|
|
21
|
+
readonly currentView: import("@angular/core").WritableSignal<CalendarViewEnum>;
|
|
22
|
+
readonly currentDate: import("@angular/core").WritableSignal<Date>;
|
|
23
|
+
readonly yearRange: import("@angular/core").WritableSignal<{
|
|
24
|
+
start: number;
|
|
25
|
+
end: number;
|
|
26
|
+
}>;
|
|
27
|
+
readonly currentYear: import("@angular/core").Signal<number>;
|
|
28
|
+
readonly currentMonth: import("@angular/core").Signal<number>;
|
|
29
|
+
readonly currentMonthName: import("@angular/core").Signal<string>;
|
|
30
|
+
readonly calendarDays: import("@angular/core").Signal<CalendarDateModel[]>;
|
|
31
|
+
readonly calendarMonths: import("@angular/core").Signal<CalendarMonthModel[]>;
|
|
32
|
+
readonly calendarYears: import("@angular/core").Signal<CalendarYearModel[]>;
|
|
33
|
+
readonly weekDayNames: import("@angular/core").Signal<string[]>;
|
|
34
|
+
private readonly internalSelectedDate;
|
|
35
|
+
private readonly internalSelectedStartDate;
|
|
36
|
+
private readonly internalSelectedEndDate;
|
|
37
|
+
private readonly dateService;
|
|
38
|
+
private rangeSelectionState;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
onHeaderClick(): void;
|
|
41
|
+
onPreviousClick(): void;
|
|
42
|
+
onNextClick(): void;
|
|
43
|
+
onDateClick(dateModel: CalendarDateModel): void;
|
|
44
|
+
onMonthClick(monthModel: CalendarMonthModel): void;
|
|
45
|
+
onYearClick(yearModel: CalendarYearModel): void;
|
|
46
|
+
clearSelection(): void;
|
|
47
|
+
private syncInternalState;
|
|
48
|
+
private handleRangeSelection;
|
|
49
|
+
private generateCalendarDays;
|
|
50
|
+
private generateCalendarMonths;
|
|
51
|
+
private generateCalendarYears;
|
|
52
|
+
private isDateSelected;
|
|
53
|
+
private isDateInRange;
|
|
54
|
+
private isDateRangeStart;
|
|
55
|
+
private isDateRangeEnd;
|
|
56
|
+
private isDateDisabled;
|
|
57
|
+
private isMonthDisabled;
|
|
58
|
+
private isYearDisabled;
|
|
59
|
+
private updateYearRange;
|
|
60
|
+
private moveYearRange;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "upd-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "selectedStartDate": { "alias": "selectedStartDate"; "required": false; "isSignal": true; }; "selectedEndDate": { "alias": "selectedEndDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDatesFilter": { "alias": "disabledDatesFilter"; "required": false; "isSignal": true; }; "isRange": { "alias": "isRange"; "required": false; "isSignal": true; }; "shouldRemoveExternalBorder": { "alias": "shouldRemoveExternalBorder"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "monthChanged": "monthChanged"; }, never, never, false, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A class representing a range of dates.
|
|
3
|
+
*/
|
|
4
|
+
export declare class DateRangeModel {
|
|
5
|
+
/**
|
|
6
|
+
* The start date of the range.
|
|
7
|
+
*/
|
|
8
|
+
readonly start?: Date | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The end date of the range.
|
|
11
|
+
*/
|
|
12
|
+
readonly end?: Date | undefined;
|
|
13
|
+
constructor(
|
|
14
|
+
/**
|
|
15
|
+
* The start date of the range.
|
|
16
|
+
*/
|
|
17
|
+
start?: Date | undefined,
|
|
18
|
+
/**
|
|
19
|
+
* The end date of the range.
|
|
20
|
+
*/
|
|
21
|
+
end?: Date | undefined);
|
|
22
|
+
}
|