@updevs/components 1.0.0-alpha.8 → 1.0.0-alpha.81
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 +75 -35
- 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 +84 -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 +27 -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
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { SimpleChanges, OnInit, OnChanges,
|
|
1
|
+
import { SimpleChanges, OnInit, OnChanges, EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { IconModel } from '@updevs/icons';
|
|
3
3
|
import { UpdMaskConfig } from '@updevs/sdk/mask';
|
|
4
|
-
import {
|
|
4
|
+
import { ComponentSizeType, HorizontalVerticalType } from '@updevs/components';
|
|
5
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
5
7
|
import { InputType } from './types/input.type';
|
|
6
8
|
import { InputAppendDirective } from './directives/input-append.directive';
|
|
7
9
|
import { InputPrependDirective } from './directives/input-prepend.directive';
|
|
8
10
|
import { LoaderPositionType } from './types/loader-position.type';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class InputComponent implements OnInit, OnChanges {
|
|
12
|
+
export declare class InputComponent extends BaseControl implements OnInit, OnChanges {
|
|
11
13
|
hostWrapperClasses: string;
|
|
14
|
+
inputElement?: ElementRef<HTMLInputElement>;
|
|
15
|
+
maskedInputElement?: ElementRef<HTMLInputElement>;
|
|
12
16
|
appendTemplate?: InputAppendDirective;
|
|
13
17
|
prependTemplate?: InputPrependDirective;
|
|
14
18
|
type: InputType;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
label?: string;
|
|
17
19
|
mask?: string;
|
|
18
20
|
maskConfig?: UpdMaskConfig;
|
|
19
|
-
hint?: string;
|
|
20
|
-
hintTemplate?: TemplateRef<any>;
|
|
21
|
-
hintAsTooltip: boolean;
|
|
22
21
|
value?: any;
|
|
23
22
|
size: ComponentSizeType;
|
|
24
23
|
customClasses?: string;
|
|
25
24
|
wrapperClasses?: string;
|
|
26
|
-
name?: string;
|
|
27
25
|
maxLength?: number;
|
|
28
|
-
isDisabled: boolean;
|
|
29
26
|
isPlainText: boolean;
|
|
30
27
|
isReadOnly: boolean;
|
|
31
28
|
isLoading: boolean;
|
|
@@ -35,20 +32,36 @@ export declare class InputComponent implements OnInit, OnChanges {
|
|
|
35
32
|
isPrependButton: boolean;
|
|
36
33
|
isAppendButton: boolean;
|
|
37
34
|
isFloating: boolean;
|
|
38
|
-
isRequired: boolean;
|
|
39
35
|
loaderPosition: LoaderPositionType;
|
|
40
36
|
prependIconModel?: IconModel;
|
|
41
37
|
appendIconModel?: IconModel;
|
|
42
|
-
validationStatus?: ValidationStatusType;
|
|
43
38
|
isValidationStatusLight: boolean;
|
|
44
|
-
|
|
39
|
+
layout: HorizontalVerticalType;
|
|
45
40
|
readonly valueChange: EventEmitter<any>;
|
|
41
|
+
readonly blurred: EventEmitter<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Emitted when any key is pressed.
|
|
44
|
+
*/
|
|
45
|
+
readonly keyDown: EventEmitter<any>;
|
|
46
|
+
/**
|
|
47
|
+
* Emitted when the ESC key is pressed.
|
|
48
|
+
*/
|
|
49
|
+
readonly keyDownEsc: EventEmitter<void>;
|
|
50
|
+
/**
|
|
51
|
+
* Emitted when the ENTER key is released.
|
|
52
|
+
*/
|
|
53
|
+
readonly keyUpEnter: EventEmitter<void>;
|
|
46
54
|
classes: string[];
|
|
47
55
|
get shouldDisplayInnerLabel(): boolean;
|
|
56
|
+
get labelSizeClasses(): string;
|
|
57
|
+
get validationClass(): string;
|
|
58
|
+
get validationBorderClass(): string;
|
|
59
|
+
readonly valueChangedSub: Subject<string>;
|
|
48
60
|
ngOnInit(): void;
|
|
49
61
|
ngOnChanges(changes: SimpleChanges): void;
|
|
50
62
|
onInputChange(evt: Event): void;
|
|
63
|
+
focus(): void;
|
|
51
64
|
private updateClasses;
|
|
52
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "upd-input", never, { "type": { "alias": "type"; "required": false; }; "
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "upd-input", never, { "type": { "alias": "type"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "maskConfig": { "alias": "maskConfig"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isPlainText": { "alias": "isPlainText"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isRound": { "alias": "isRound"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isInputGroupFlat": { "alias": "isInputGroupFlat"; "required": false; }; "isPrependButton": { "alias": "isPrependButton"; "required": false; }; "isAppendButton": { "alias": "isAppendButton"; "required": false; }; "isFloating": { "alias": "isFloating"; "required": false; }; "loaderPosition": { "alias": "loaderPosition"; "required": false; }; "prependIconModel": { "alias": "prependIconModel"; "required": false; }; "appendIconModel": { "alias": "appendIconModel"; "required": false; }; "isValidationStatusLight": { "alias": "isValidationStatusLight"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "valueChange": "valueChange"; "blurred": "blurred"; "keyDown": "keyDown"; "keyDownEsc": "keyDownEsc"; "keyUpEnter": "keyUpEnter"; }, ["appendTemplate", "prependTemplate"], never, false, never>;
|
|
54
67
|
}
|
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
import { OnInit, OnChanges,
|
|
2
|
-
import {
|
|
1
|
+
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RadioComponent implements OnInit, OnChanges {
|
|
4
|
+
export declare class RadioComponent extends BaseControl implements OnInit, OnChanges {
|
|
5
5
|
wrapperClasses: string;
|
|
6
|
-
label?: string;
|
|
7
6
|
value?: any;
|
|
8
7
|
customClasses?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
isDisabled: boolean;
|
|
12
|
-
isReadOnly: boolean;
|
|
13
8
|
isChecked: boolean;
|
|
14
9
|
isInline: boolean;
|
|
15
|
-
validationStatus?: ValidationStatusType;
|
|
16
|
-
invalidStatusText?: string;
|
|
17
10
|
readonly selected: EventEmitter<void>;
|
|
18
11
|
classes: string[];
|
|
19
12
|
ngOnInit(): void;
|
|
20
|
-
ngOnChanges(
|
|
13
|
+
ngOnChanges(): void;
|
|
21
14
|
private updateClasses;
|
|
22
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "upd-radio", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "upd-radio", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "value": { "alias": "value"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isInline": { "alias": "isInline"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
24
17
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./radio.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@updevs/components/popover";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
4
6
|
export declare class UpdRadioModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdRadioModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdRadioModule, [typeof i1.RadioComponent], [typeof i2.CommonModule], [typeof i1.RadioComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdRadioModule, [typeof i1.RadioComponent], [typeof i2.CommonModule, typeof i3.UpdPopoverModule, typeof i4.ReactiveFormsModule], [typeof i1.RadioComponent]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<UpdRadioModule>;
|
|
8
10
|
}
|
|
@@ -5,14 +5,25 @@ import { SelectItem } from '../../models/select-item';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SelectMultipleComponent extends BaseSelectComponent {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Returns the selected items.
|
|
9
|
+
* Triggered when items are selected.
|
|
9
10
|
*/
|
|
10
11
|
readonly selectedItems: EventEmitter<SelectItem[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the selected Ids.
|
|
14
|
+
* Triggered when items are selected.
|
|
15
|
+
*/
|
|
16
|
+
readonly selectedIds: EventEmitter<any[]>;
|
|
17
|
+
/**
|
|
18
|
+
* An array of primitive values to set the selection programmatically.
|
|
19
|
+
*/
|
|
20
|
+
readonly selectedValues: import("@angular/core").InputSignal<SelectItem[] | undefined>;
|
|
11
21
|
currentSelection: SelectItem[];
|
|
22
|
+
constructor();
|
|
12
23
|
clearSelection(): void;
|
|
13
24
|
onSelectItem(item: ListItem): void;
|
|
14
25
|
onRemoveItem(item: SelectItem): void;
|
|
15
26
|
private updateActiveItemsOnList;
|
|
16
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectMultipleComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectMultipleComponent, "upd-select-multiple", never, {}, { "selectedItems": "selectedItems"; }, never, never, false, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectMultipleComponent, "upd-select-multiple", never, { "selectedValues": { "alias": "selectedValues"; "required": false; "isSignal": true; }; }, { "selectedItems": "selectedItems"; "selectedIds": "selectedIds"; }, never, never, false, never>;
|
|
18
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
2
2
|
import { ListItem } from '@updevs/components/list';
|
|
3
3
|
import { BaseSelectComponent } from '../../models/abstractions/base-select.component';
|
|
4
4
|
import { SelectItem } from '../../models/select-item';
|
|
@@ -7,14 +7,22 @@ export declare class SelectComponent extends BaseSelectComponent {
|
|
|
7
7
|
/**
|
|
8
8
|
* If true, it'll use the default style of the OS, no search capabilities.
|
|
9
9
|
*/
|
|
10
|
-
useSystemStyle: boolean
|
|
10
|
+
readonly useSystemStyle: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
readonly shouldShowClearButton: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
readonly shouldTruncateSelectedText: import("@angular/core").InputSignal<OptionalType<boolean>>;
|
|
13
|
+
readonly isCompact: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
readonly value: import("@angular/core").InputSignal<any>;
|
|
15
|
+
readonly shouldShowHintWithoutLabel: import("@angular/core").Signal<boolean>;
|
|
11
16
|
/**
|
|
12
17
|
* Triggered when an item is selected.
|
|
13
18
|
*/
|
|
14
|
-
readonly selectedItem:
|
|
19
|
+
readonly selectedItem: import("@angular/core").OutputEmitterRef<OptionalType<SelectItem>>;
|
|
15
20
|
currentSelection?: SelectItem;
|
|
21
|
+
get canTruncateText(): boolean;
|
|
22
|
+
constructor();
|
|
16
23
|
onSelectItem(item: ListItem): void;
|
|
24
|
+
onSystemSelect(event: any): void;
|
|
17
25
|
clearSelection(): void;
|
|
18
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "upd-select", never, { "useSystemStyle": { "alias": "useSystemStyle"; "required": false; }; }, { "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "upd-select", never, { "useSystemStyle": { "alias": "useSystemStyle"; "required": false; "isSignal": true; }; "shouldShowClearButton": { "alias": "shouldShowClearButton"; "required": false; "isSignal": true; }; "shouldTruncateSelectedText": { "alias": "shouldTruncateSelectedText"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
20
28
|
}
|
|
@@ -1,72 +1,74 @@
|
|
|
1
|
-
import { ElementRef, OnInit
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
|
|
3
|
+
import { HorizontalVerticalType } from '@updevs/components';
|
|
3
4
|
import { ListItem } from '@updevs/components/list';
|
|
4
|
-
import {
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
5
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
6
|
import { SelectItem } from '../select-item';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class BaseSelectComponent extends
|
|
9
|
-
wrapperClasses:
|
|
10
|
-
componentBox
|
|
11
|
-
searchBox
|
|
12
|
-
searchBoxChild
|
|
13
|
-
list
|
|
8
|
+
export declare abstract class BaseSelectComponent extends BaseControl implements OnInit {
|
|
9
|
+
get wrapperClasses(): "row" | "";
|
|
10
|
+
readonly componentBox: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
11
|
+
readonly searchBox: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
12
|
+
readonly searchBoxChild: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
13
|
+
readonly list: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
readonly dropdownOpenStatusChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
14
15
|
/**
|
|
15
16
|
* Select items.
|
|
16
17
|
* If provided, the select will be considered static.
|
|
17
18
|
*/
|
|
18
|
-
items
|
|
19
|
+
readonly items: import("@angular/core").InputSignal<SelectItem[] | undefined>;
|
|
19
20
|
/**
|
|
20
21
|
* Store used to load/filter the items.
|
|
21
22
|
*/
|
|
22
|
-
store
|
|
23
|
+
readonly store: import("@angular/core").InputSignal<BaseSearchStore<any> | undefined>;
|
|
23
24
|
/**
|
|
24
25
|
* Observable used to load/filter the items.
|
|
25
26
|
*/
|
|
26
|
-
observable
|
|
27
|
+
readonly observable: import("@angular/core").InputSignal<ObservableSearchType | undefined>;
|
|
27
28
|
/**
|
|
28
29
|
* Name of the property in the object that represents the ID/key of the option.
|
|
29
30
|
* **Note:** used only for remote data.
|
|
30
31
|
*/
|
|
31
|
-
itemKey
|
|
32
|
+
readonly itemKey: import("@angular/core").InputSignal<string | undefined>;
|
|
32
33
|
/**
|
|
33
34
|
* Name of the property in the object that represents the value/description of the option.
|
|
34
35
|
* **Note:** used only for remote data.
|
|
35
36
|
*/
|
|
36
|
-
itemValue
|
|
37
|
+
readonly itemValue: import("@angular/core").InputSignal<string | undefined>;
|
|
37
38
|
/**
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
label?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Placeholder.
|
|
39
|
+
* Maximum height of the dropdown.
|
|
43
40
|
*/
|
|
44
|
-
|
|
41
|
+
readonly dropdownMaxHeight: import("@angular/core").InputSignal<number>;
|
|
42
|
+
readonly typeaheadDebounce: import("@angular/core").InputSignal<number>;
|
|
43
|
+
readonly shouldAutoSearch: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
readonly shouldCloseOnOutsideClick: import("@angular/core").InputSignal<boolean>;
|
|
45
|
+
readonly layout: import("@angular/core").InputSignal<HorizontalVerticalType>;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
* Value coming from a parent field when the rule `AttachmentTypeEnum.ParentLoad` is active.
|
|
48
|
+
* `upd-select` can use it to fetch the dependent list.
|
|
47
49
|
*/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
shouldAutoSearch: boolean;
|
|
51
|
-
shouldCloseOnOutsideClick: boolean;
|
|
52
|
-
readonly dropdownOpenStatusChange: EventEmitter<boolean>;
|
|
50
|
+
readonly parentValue: import("@angular/core").InputSignal<unknown>;
|
|
51
|
+
layoutClasses: import("@angular/core").Signal<string[]>;
|
|
53
52
|
isLoading: boolean;
|
|
54
|
-
localItems: SelectItem[]
|
|
53
|
+
localItems: import("@angular/core").WritableSignal<SelectItem[]>;
|
|
55
54
|
listItems: ListItem[];
|
|
56
55
|
dropdownClasses: string;
|
|
57
56
|
get isDropdownOpen(): boolean;
|
|
58
57
|
set isDropdownOpen(value: boolean);
|
|
58
|
+
get labelSizeClasses(): string;
|
|
59
59
|
protected _currentTerm?: string;
|
|
60
60
|
protected _localBackupItems: SelectItem[];
|
|
61
|
-
private
|
|
61
|
+
private hasExternalList;
|
|
62
62
|
private _isDropdownOpen;
|
|
63
|
+
private hostWrapperClasses;
|
|
64
|
+
private previousParentValue?;
|
|
63
65
|
private readonly searchInputSubject;
|
|
64
66
|
private readonly renderer;
|
|
65
67
|
private readonly ngZone;
|
|
66
68
|
private readonly domEventsService;
|
|
67
69
|
private readonly positioningService;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
private readonly injector;
|
|
71
|
+
protected constructor();
|
|
70
72
|
ngOnInit(): void;
|
|
71
73
|
openDropdown(): void;
|
|
72
74
|
search(term?: string): void;
|
|
@@ -75,6 +77,8 @@ export declare abstract class BaseSelectComponent extends BaseComponent implemen
|
|
|
75
77
|
private searchRemote;
|
|
76
78
|
private getListItem;
|
|
77
79
|
private updatePosition;
|
|
80
|
+
abstract clearSelection(): void;
|
|
81
|
+
abstract onSelectItem(item: ListItem): void;
|
|
78
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseSelectComponent, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelectComponent, never, never, { "items": { "alias": "items"; "required": false; }; "store": { "alias": "store"; "required": false; }; "observable": { "alias": "observable"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "
|
|
83
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelectComponent, never, never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "observable": { "alias": "observable"; "required": false; "isSignal": true; }; "itemKey": { "alias": "itemKey"; "required": false; "isSignal": true; }; "itemValue": { "alias": "itemValue"; "required": false; "isSignal": true; }; "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; "isSignal": true; }; "typeaheadDebounce": { "alias": "typeaheadDebounce"; "required": false; "isSignal": true; }; "shouldAutoSearch": { "alias": "shouldAutoSearch"; "required": false; "isSignal": true; }; "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "parentValue": { "alias": "parentValue"; "required": false; "isSignal": true; }; }, { "dropdownOpenStatusChange": "dropdownOpenStatusChange"; }, never, never, false, never>;
|
|
80
84
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HorizontalVerticalType } from '@updevs/components';
|
|
2
|
+
export declare class Defaults {
|
|
3
|
+
static dropdownMaxHeight: number;
|
|
4
|
+
static typeaheadDebounce: number;
|
|
5
|
+
static shouldAutoSearch: boolean;
|
|
6
|
+
static shouldCloseOnOutsideClick: boolean;
|
|
7
|
+
static layout: HorizontalVerticalType;
|
|
8
|
+
}
|
|
@@ -7,9 +7,10 @@ import * as i5 from "@updevs/components/list";
|
|
|
7
7
|
import * as i6 from "@updevs/components/form-controls/input";
|
|
8
8
|
import * as i7 from "@updevs/icons";
|
|
9
9
|
import * as i8 from "@updevs/components/button";
|
|
10
|
-
import * as i9 from "@
|
|
10
|
+
import * as i9 from "@updevs/components/popover";
|
|
11
|
+
import * as i10 from "@jsverse/transloco";
|
|
11
12
|
export declare class UpdSelectModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdSelectModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdSelectModule, [typeof i1.SelectComponent, typeof i2.SelectMultipleComponent], [typeof i3.CommonModule, typeof i4.UpdCoreLayoutModule, typeof i5.UpdListModule, typeof i6.UpdInputModule, typeof i7.UpdIconsModule, typeof i8.UpdButtonModule, typeof i9.TranslocoModule], [typeof i1.SelectComponent, typeof i2.SelectMultipleComponent]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdSelectModule, [typeof i1.SelectComponent, typeof i2.SelectMultipleComponent], [typeof i3.CommonModule, typeof i4.UpdCoreLayoutModule, typeof i5.UpdListModule, typeof i6.UpdInputModule, typeof i7.UpdIconsModule, typeof i8.UpdButtonModule, typeof i9.UpdPopoverModule, typeof i10.TranslocoModule], [typeof i1.SelectComponent, typeof i2.SelectMultipleComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<UpdSelectModule>;
|
|
15
16
|
}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { OnInit, OnChanges
|
|
1
|
+
import { OnInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TextareaComponent implements OnInit, OnChanges {
|
|
4
|
+
export declare class TextareaComponent extends BaseControl implements OnInit, OnChanges {
|
|
4
5
|
hostWrapperClasses: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
maxLength?: number;
|
|
12
|
-
rows?: number;
|
|
13
|
-
isDisabled: boolean;
|
|
14
|
-
isReadOnly: boolean;
|
|
15
|
-
displayCharactersCount: boolean;
|
|
6
|
+
value: import("@angular/core").ModelSignal<string | undefined>;
|
|
7
|
+
customClasses: import("@angular/core").InputSignal<string | undefined>;
|
|
8
|
+
wrapperClasses: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
10
|
+
rows: import("@angular/core").InputSignal<number | undefined>;
|
|
11
|
+
displayCharactersCount: import("@angular/core").InputSignal<boolean>;
|
|
16
12
|
classes: string[];
|
|
17
13
|
ngOnInit(): void;
|
|
18
|
-
ngOnChanges(
|
|
14
|
+
ngOnChanges(): void;
|
|
19
15
|
updateValue(event?: any): void;
|
|
20
16
|
private updateClasses;
|
|
21
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "upd-textarea", never, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "upd-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "displayCharactersCount": { "alias": "displayCharactersCount"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, false, never>;
|
|
23
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TranslocoService } from '@
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./time-picker.component";
|
|
4
4
|
import * as i2 from "./time-selector/time-selector.component";
|
|
5
5
|
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "@
|
|
6
|
+
import * as i4 from "@jsverse/transloco";
|
|
7
7
|
import * as i5 from "@updevs/components/form-controls/input";
|
|
8
8
|
import * as i6 from "@updevs/icons";
|
|
9
9
|
import * as i7 from "@updevs/components/button";
|
package/index.d.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseComponent, LayoutService } from '@updevs/sdk/layout';
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { UpdLayoutConfigService } from '../services/upd-layout-config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Basic layout structure.
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class BaseLayout extends BaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
protected readonly _layoutConfigService: UpdLayoutConfigService;
|
|
10
|
+
protected readonly _layoutService: LayoutService;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayout, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseLayout, never, never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseLayout } from '../../abstractions/base.layout';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BlankLayoutComponent {
|
|
4
|
+
export declare class BlankLayoutComponent extends BaseLayout implements OnInit {
|
|
5
|
+
readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
|
|
6
|
+
ngOnInit(): void;
|
|
3
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlankLayoutComponent, never>;
|
|
4
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<BlankLayoutComponent, "upd-blank-layout", never, {}, {}, never, never, false, never>;
|
|
5
9
|
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./blank-layout.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@jsverse/transloco";
|
|
6
|
+
import * as i5 from "@updevs/components/dropdown";
|
|
7
|
+
import * as i6 from "@updevs/icons";
|
|
8
|
+
import * as i7 from "@updevs/components/link";
|
|
9
|
+
import * as i8 from "../../partials/footer/footer.module";
|
|
10
|
+
import * as i9 from "../../partials/header/header.module";
|
|
4
11
|
export declare class BlankLayoutModule {
|
|
5
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlankLayoutModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BlankLayoutModule, [typeof i1.BlankLayoutComponent], [typeof i2.CommonModule], [typeof i1.BlankLayoutComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BlankLayoutModule, [typeof i1.BlankLayoutComponent], [typeof i2.CommonModule, typeof i3.RouterOutlet, typeof i4.TranslocoPipe, typeof i5.UpdDropdownModule, typeof i6.UpdIconsModule, typeof i7.UpdLinkModule, typeof i8.FooterModule, typeof i9.HeaderModule], [typeof i1.BlankLayoutComponent]>;
|
|
7
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<BlankLayoutModule>;
|
|
8
15
|
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BaseComponent, PageHeaderModel } from '@updevs/sdk/layout';
|
|
1
|
+
import { BaseLayout } from '../../abstractions/base.layout';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class VerticalSidebarLayoutComponent extends
|
|
5
|
-
showPageHeader: boolean;
|
|
6
|
-
pageHeader?: PageHeaderModel;
|
|
7
|
-
private readonly changeDetectorRef;
|
|
8
|
-
private readonly layoutService;
|
|
9
|
-
ngOnInit(): void;
|
|
3
|
+
export declare class VerticalSidebarLayoutComponent extends BaseLayout {
|
|
10
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalSidebarLayoutComponent, never>;
|
|
11
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalSidebarLayoutComponent, "upd-vertical-sidebar-layout", never, {}, {}, never, never, false, never>;
|
|
12
6
|
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { TranslocoService } from '@
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./vertical-sidebar-layout.component";
|
|
4
|
-
import * as i2 from "../../partials/
|
|
5
|
-
import * as i3 from "../../partials/header/header.component";
|
|
6
|
-
import * as i4 from "
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "@
|
|
9
|
-
import * as i7 from "@
|
|
10
|
-
import * as i8 from "@
|
|
11
|
-
import * as i9 from "@updevs/
|
|
12
|
-
import * as i10 from "@updevs/
|
|
13
|
-
import * as i11 from "@updevs/components/
|
|
14
|
-
import * as i12 from "
|
|
4
|
+
import * as i2 from "../../partials/sidebar/sidebar.component";
|
|
5
|
+
import * as i3 from "../../partials/page-header/page-header.component";
|
|
6
|
+
import * as i4 from "@angular/common";
|
|
7
|
+
import * as i5 from "@angular/router";
|
|
8
|
+
import * as i6 from "@jsverse/transloco";
|
|
9
|
+
import * as i7 from "@updevs/icons";
|
|
10
|
+
import * as i8 from "@updevs/sdk/layout";
|
|
11
|
+
import * as i9 from "@updevs/components/button";
|
|
12
|
+
import * as i10 from "@updevs/components/link";
|
|
13
|
+
import * as i11 from "@updevs/components/dropdown";
|
|
14
|
+
import * as i12 from "../../partials/footer/footer.module";
|
|
15
|
+
import * as i13 from "../../partials/header/header.module";
|
|
15
16
|
export declare class VerticalSidebarLayoutModule {
|
|
16
17
|
constructor(translocoService: TranslocoService);
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalSidebarLayoutModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VerticalSidebarLayoutModule, [typeof i1.VerticalSidebarLayoutComponent, typeof i2.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VerticalSidebarLayoutModule, [typeof i1.VerticalSidebarLayoutComponent, typeof i2.SidebarComponent, typeof i3.PageHeaderComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.TranslocoModule, typeof i7.UpdIconsModule, typeof i8.UpdCoreLayoutModule, typeof i9.UpdButtonModule, typeof i10.UpdLinkModule, typeof i11.UpdDropdownModule, typeof i12.FooterModule, typeof i13.HeaderModule], [typeof i1.VerticalSidebarLayoutComponent, typeof i2.SidebarComponent, typeof i3.PageHeaderComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<VerticalSidebarLayoutModule>;
|
|
20
21
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
2
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
3
|
+
import { LoginPageConfig } from './login-page.config';
|
|
4
|
+
/**
|
|
5
|
+
* Configuration of the login page layout.
|
|
6
|
+
*/
|
|
7
|
+
export declare class LoginPageConfigModel implements LoginPageConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Layout of the login page.
|
|
10
|
+
*/
|
|
11
|
+
layout: 'centered-box' | 'box-with-picture' | 'cover';
|
|
12
|
+
/**
|
|
13
|
+
* Background color of the login box (exclusive with bgStyle).
|
|
14
|
+
* Should be the name of a CSS class.
|
|
15
|
+
*/
|
|
16
|
+
bgColor?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Background color of the login box (exclusive with bgColor).
|
|
19
|
+
*/
|
|
20
|
+
bgStyle?: BgColorStyleType;
|
|
21
|
+
/**
|
|
22
|
+
* Color of the border used in the login page.
|
|
23
|
+
*/
|
|
24
|
+
borderColor: ColorStyleType;
|
|
25
|
+
/**
|
|
26
|
+
* Color of the sign-in button.
|
|
27
|
+
*/
|
|
28
|
+
signInButtonColor: ColorStyleType;
|
|
29
|
+
/**
|
|
30
|
+
* Color of all links in the login page.
|
|
31
|
+
*/
|
|
32
|
+
linksColor: ColorStyleType;
|
|
33
|
+
/**
|
|
34
|
+
* Route with the page to recover the user's password.
|
|
35
|
+
*/
|
|
36
|
+
recoverPasswordRoute?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Route with the page to register a user.
|
|
39
|
+
*/
|
|
40
|
+
signUpRoute?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Buttons used for social login (google, facebook, etc).
|
|
43
|
+
*/
|
|
44
|
+
socialLoginButtons: ButtonModel[];
|
|
45
|
+
constructor(init?: LoginPageConfig);
|
|
46
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
2
|
+
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration of the login page layout.
|
|
5
|
+
*/
|
|
6
|
+
export interface LoginPageConfig {
|
|
7
|
+
/**
|
|
8
|
+
* Layout of the login page.
|
|
9
|
+
*/
|
|
10
|
+
layout?: 'centered-box' | 'box-with-picture' | 'cover';
|
|
11
|
+
/**
|
|
12
|
+
* Background color of the login box (exclusive with bgStyle).
|
|
13
|
+
* Should be the name of a CSS class.
|
|
14
|
+
*/
|
|
15
|
+
bgColor?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Background color of the login box (exclusive with bgColor).
|
|
18
|
+
*/
|
|
19
|
+
bgStyle?: BgColorStyleType;
|
|
20
|
+
/**
|
|
21
|
+
* Color of the border used in the login page.
|
|
22
|
+
*/
|
|
23
|
+
borderColor?: ColorStyleType;
|
|
24
|
+
/**
|
|
25
|
+
* Color of the sign-in button.
|
|
26
|
+
*/
|
|
27
|
+
signInButtonColor?: ColorStyleType;
|
|
28
|
+
/**
|
|
29
|
+
* Color of all links in the login page.
|
|
30
|
+
*/
|
|
31
|
+
linksColor?: ColorStyleType;
|
|
32
|
+
/**
|
|
33
|
+
* Route with the page to recover the user's password.
|
|
34
|
+
*/
|
|
35
|
+
recoverPasswordRoute?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Route with the page to register a user.
|
|
38
|
+
*/
|
|
39
|
+
signUpRoute?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Buttons used for social login (google, facebook, etc).
|
|
42
|
+
*/
|
|
43
|
+
socialLoginButtons?: ButtonModel[];
|
|
44
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SecurityLayoutConfig } from './security-layout.config';
|
|
2
|
+
import { LoginPageConfigModel } from './login-page-config.model';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for the pages related to the security.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SecurityLayoutConfigModel implements SecurityLayoutConfig {
|
|
7
|
+
/**
|
|
8
|
+
* Configuration of the login page.
|
|
9
|
+
*/
|
|
10
|
+
loginPage: LoginPageConfigModel;
|
|
11
|
+
constructor(init?: SecurityLayoutConfig);
|
|
12
|
+
}
|