@updevs/components 1.0.0-alpha.6 → 1.0.0-alpha.60
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/directives/card-actions.directive.d.ts +1 -2
- package/card/directives/card-footer.directive.d.ts +1 -2
- package/card/directives/card-header.directive.d.ts +1 -2
- package/card/directives/card-image.directive.d.ts +1 -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 +8 -8
- package/esm2022/card/directives/card-footer.directive.mjs +8 -8
- package/esm2022/card/directives/card-header.directive.mjs +8 -8
- package/esm2022/card/directives/card-image.directive.mjs +8 -8
- 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 +75 -18
- 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 +174 -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 +8 -8
- package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +8 -8
- 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 +33 -10
- package/esm2022/form-controls/select/components/single/select.component.mjs +31 -8
- package/esm2022/form-controls/select/index.mjs +1 -1
- package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +109 -88
- 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 +7 -8
- package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +9 -8
- 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 +8 -9
- 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 +13 -29
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +25 -28
- 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 +13 -27
- 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 +121 -60
- 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 +11 -11
- 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 +185 -95
- 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 +6 -6
- 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 +14 -34
- 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 +9 -8
- 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 +7 -7
- package/esm2022/popover/popover.directive.mjs +33 -42
- 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-cards/index.mjs +2 -0
- package/esm2022/pricing-cards/models/price-item-feature.model.mjs +2 -0
- package/esm2022/pricing-cards/models/price-item-features-group.model.mjs +2 -0
- package/esm2022/pricing-cards/models/price-item-tag.model.mjs +2 -0
- package/esm2022/pricing-cards/models/price-item.model.mjs +2 -0
- package/esm2022/pricing-cards/models/public-api.mjs +5 -0
- package/esm2022/pricing-cards/pricing-cards.component.mjs +25 -0
- package/esm2022/pricing-cards/public-api.mjs +4 -0
- package/esm2022/pricing-cards/upd-pricing-cards.module.mjs +40 -0
- package/esm2022/pricing-cards/updevs-components-pricing-cards.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 +32 -32
- 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 +78 -21
- 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 +80 -50
- 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 +185 -108
- 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 +18 -18
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
- package/fesm2022/updevs-components-form.mjs +541 -10
- package/fesm2022/updevs-components-form.mjs.map +1 -1
- package/fesm2022/updevs-components-layout.mjs +774 -395
- 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 +44 -58
- 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 +41 -50
- package/fesm2022/updevs-components-popover.mjs.map +1 -1
- package/fesm2022/updevs-components-pricing-cards.mjs +69 -0
- package/fesm2022/updevs-components-pricing-cards.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 +50 -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/directives/input-append.directive.d.ts +1 -2
- package/form-controls/input/directives/input-prepend.directive.d.ts +1 -2
- 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 +10 -2
- package/form-controls/select/models/abstractions/base-select.component.d.ts +35 -31
- 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-page.component.d.ts +1 -2
- 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 -9
- 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 -15
- 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 +44 -26
- 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 +29 -4
- 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 +4 -20
- 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 +78 -17
- 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/popover/popover.directive.d.ts +8 -10
- package/pricing-cards/index.d.ts +1 -0
- package/pricing-cards/models/price-item-feature.model.d.ts +5 -0
- package/pricing-cards/models/price-item-features-group.model.d.ts +5 -0
- package/pricing-cards/models/price-item-tag.model.d.ts +6 -0
- package/pricing-cards/models/price-item.model.d.ts +20 -0
- package/pricing-cards/models/public-api.d.ts +4 -0
- package/pricing-cards/pricing-cards.component.d.ts +11 -0
- package/pricing-cards/public-api.d.ts +3 -0
- package/pricing-cards/upd-pricing-cards.module.d.ts +12 -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 -15
- package/form/form.module.d.ts +0 -7
- package/layout/partials/footer/footer-copyright.directive.d.ts +0 -6
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UpdLayoutConfig } from './upd-layout.config';
|
|
2
|
+
import { SecurityLayoutConfigModel } from './security-layout-config.model';
|
|
2
3
|
/**
|
|
3
4
|
* Layout configuration.
|
|
4
5
|
*/
|
|
@@ -35,5 +36,13 @@ export declare class UpdLayoutConfigModel implements UpdLayoutConfig {
|
|
|
35
36
|
* Whether the logged user's menu should be displayed.
|
|
36
37
|
*/
|
|
37
38
|
showUserMenu?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the fluid layout (less padding) should be used.
|
|
41
|
+
*/
|
|
42
|
+
useFluidLayout?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Configuration for the pages related to the security.
|
|
45
|
+
*/
|
|
46
|
+
securityLayoutConfig: SecurityLayoutConfigModel;
|
|
38
47
|
constructor(init?: UpdLayoutConfig);
|
|
39
48
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SecurityLayoutConfig } from './security-layout.config';
|
|
1
2
|
/**
|
|
2
3
|
* Layout configuration.
|
|
3
4
|
*/
|
|
@@ -34,4 +35,12 @@ export interface UpdLayoutConfig {
|
|
|
34
35
|
* Whether the logged user's menu should be displayed.
|
|
35
36
|
*/
|
|
36
37
|
showUserMenu?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the fluid layout (less padding) should be used.
|
|
40
|
+
*/
|
|
41
|
+
useFluidLayout?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Configuration for the pages related to the security.
|
|
44
|
+
*/
|
|
45
|
+
securityLayoutConfig?: SecurityLayoutConfig;
|
|
37
46
|
}
|
|
@@ -5,9 +5,16 @@ import * as i3 from "./logged-out/logged-out.component";
|
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "./auth-flow-routing.module";
|
|
7
7
|
import * as i6 from "@updevs/components/button";
|
|
8
|
-
import * as i7 from "@
|
|
8
|
+
import * as i7 from "@updevs/icons";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@jsverse/transloco";
|
|
11
|
+
import * as i10 from "@updevs/components/link";
|
|
12
|
+
import * as i11 from "@updevs/components/card";
|
|
13
|
+
import * as i12 from "@updevs/components/form";
|
|
14
|
+
import * as i13 from "../../partials/footer/footer.module";
|
|
15
|
+
import * as i14 from "../../partials/header/header.module";
|
|
9
16
|
export declare class AuthFlowModule {
|
|
10
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthFlowModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthFlowModule, [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent], [typeof i4.CommonModule, typeof i5.AuthFlowRoutingModule, typeof i6.UpdButtonModule, typeof i7.FormsModule], [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthFlowModule, [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent], [typeof i4.CommonModule, typeof i5.AuthFlowRoutingModule, typeof i6.UpdButtonModule, typeof i7.UpdIconsModule, typeof i8.FormsModule, typeof i9.TranslocoDirective, typeof i10.UpdLinkModule, typeof i11.UpdCardModule, typeof i12.UpdFormModule, typeof i13.FooterModule, typeof i14.HeaderModule], [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent]>;
|
|
12
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuthFlowModule>;
|
|
13
20
|
}
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormRowModel } from '@updevs/components/form';
|
|
4
|
+
import { UpdLayoutConfigService } from '../../../services/upd-layout-config.service';
|
|
1
5
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LoginComponent {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
export declare class LoginComponent implements OnInit, OnDestroy {
|
|
7
|
+
formGroup: import("@angular/core").ModelSignal<FormGroup<{}>>;
|
|
8
|
+
formRows: FormRowModel[];
|
|
9
|
+
isSigningIn: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
readonly layoutConfigService: UpdLayoutConfigService;
|
|
11
|
+
readonly config: import("../../../models/login-page-config.model").LoginPageConfigModel;
|
|
12
|
+
get border(): string;
|
|
13
|
+
get linkClasses(): string[];
|
|
14
|
+
private get boxBgColor();
|
|
15
|
+
private readonly bodyClasses;
|
|
16
|
+
private readonly router;
|
|
6
17
|
private readonly authService;
|
|
7
18
|
private readonly layoutService;
|
|
8
|
-
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
9
21
|
login(): void;
|
|
22
|
+
goToRecoverPasswordPage(): void;
|
|
23
|
+
goToSignUpPage(): void;
|
|
10
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "upd-login", never, {}, {}, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "upd-login", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "formGroup": "formGroupChange"; }, never, never, false, never>;
|
|
12
26
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { LinkModel } from '@updevs/sdk/core';
|
|
3
|
-
import { BaseComponent } from '@updevs/sdk/layout';
|
|
4
|
-
import { TranslocoService } from '@ngneat/transloco';
|
|
3
|
+
import { BaseComponent, LayoutService } from '@updevs/sdk/layout';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class FooterComponent extends BaseComponent implements OnInit, OnChanges {
|
|
7
|
-
private translocoService;
|
|
8
6
|
wrapperClasses: string;
|
|
9
|
-
footerCopyrightTemplate?: TemplateRef<any>;
|
|
10
7
|
/**
|
|
11
8
|
* Whether the footer will always be shown.
|
|
12
9
|
*/
|
|
@@ -23,23 +20,15 @@ export declare class FooterComponent extends BaseComponent implements OnInit, On
|
|
|
23
20
|
* Current year.
|
|
24
21
|
*/
|
|
25
22
|
currentYear: number;
|
|
26
|
-
/**
|
|
27
|
-
* Text displayed in the copyright section before the symbol and year.
|
|
28
|
-
*/
|
|
29
|
-
copyrightPrefix: string;
|
|
30
|
-
/**
|
|
31
|
-
* Text displayed in the copyright section after the symbol and year.
|
|
32
|
-
*/
|
|
33
|
-
copyrightSuffix: string;
|
|
34
23
|
/**
|
|
35
24
|
* Version of the application.
|
|
36
25
|
*/
|
|
37
26
|
version?: string;
|
|
27
|
+
readonly layoutService: LayoutService;
|
|
38
28
|
private baseWrapperClasses;
|
|
39
|
-
constructor(translocoService: TranslocoService);
|
|
40
29
|
ngOnInit(): void;
|
|
41
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
42
31
|
private updateWrapperClasses;
|
|
43
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "upd-footer", never, {}, {},
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "upd-footer", never, {}, {}, never, never, false, never>;
|
|
45
34
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./footer.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@jsverse/transloco";
|
|
5
|
+
export declare class FooterModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FooterModule, [typeof i1.FooterComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule], [typeof i1.FooterComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FooterModule>;
|
|
9
|
+
}
|
|
@@ -1,33 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UpdCoreLayoutConfigService, BaseComponent, LayoutService } from '@updevs/sdk/layout';
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
3
2
|
import { TablerIconsType } from '@updevs/icons';
|
|
4
|
-
import {
|
|
3
|
+
import { TextService } from '@updevs/sdk';
|
|
4
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
5
|
+
import { DropdownItem } from '@updevs/components/dropdown';
|
|
6
|
+
import { NotificationModel } from '@updevs/sdk/notifications';
|
|
5
7
|
import { HeaderStyleType } from './header-style.type';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class HeaderComponent extends BaseComponent implements OnInit
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
9
|
+
export declare class HeaderComponent extends BaseComponent implements OnInit {
|
|
10
|
+
get classes(): string;
|
|
11
|
+
languageSwitcherRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
12
|
+
notificationsRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
13
|
+
loggedUserRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
isLanguageSwitcherDropdownOpen: boolean;
|
|
15
|
+
isNotificationsDropdownOpen: boolean;
|
|
16
|
+
isLoggedUserDropdownOpen: boolean;
|
|
17
|
+
readonly style: import("@angular/core").InputSignal<HeaderStyleType>;
|
|
18
|
+
readonly nextThemeIcon: import("@angular/core").Signal<TablerIconsType>;
|
|
19
|
+
readonly currentNotificationsIcon: import("@angular/core").Signal<TablerIconsType>;
|
|
20
|
+
readonly hasNewNotifications: import("@angular/core").Signal<boolean>;
|
|
21
|
+
readonly userInfo: import("@angular/core").Signal<import("@updevs/sdk/types").OptionalType<import("@updevs/sdk/core").UserInfoModel>>;
|
|
22
|
+
readonly textService: TextService;
|
|
23
|
+
readonly isSidebarMobileOpen: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
readonly shouldBlinkIfNewNotifications: import("@angular/core").Signal<boolean>;
|
|
25
|
+
readonly languagesOptions: import("@angular/core").Signal<DropdownItem[]>;
|
|
26
|
+
readonly loggedUserOptions: import("@angular/core").Signal<DropdownItem[]>;
|
|
27
|
+
readonly userIdentification: import("@angular/core").Signal<string>;
|
|
28
|
+
readonly userDescription: import("@angular/core").Signal<string>;
|
|
29
|
+
readonly latestNotifications: import("@angular/core").Signal<NotificationModel[]>;
|
|
30
|
+
readonly userInitials: import("@angular/core").Signal<string>;
|
|
31
|
+
private readonly securityStorage;
|
|
32
|
+
private readonly coreLayoutConfigService;
|
|
33
|
+
private readonly layoutService;
|
|
34
|
+
private readonly translocoService;
|
|
35
|
+
private readonly preferencesStorage;
|
|
36
|
+
private readonly notificationsService;
|
|
37
|
+
private readonly currentPreferences;
|
|
38
|
+
private readonly currentNotifications;
|
|
39
|
+
private readonly currentLanguageKey;
|
|
40
|
+
private readonly wrapperClasses;
|
|
41
|
+
readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
|
|
23
42
|
ngOnInit(): void;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
43
|
switchTheme(): void;
|
|
26
|
-
switchLanguage(): void;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
44
|
+
switchLanguage(item: DropdownItem): void;
|
|
45
|
+
selectLoggedUserMenuItem(item: DropdownItem): void;
|
|
46
|
+
readNotification(notification: NotificationModel): void;
|
|
47
|
+
removeNotification(notification: NotificationModel): void;
|
|
48
|
+
toggleSidebarOnMobile(): void;
|
|
31
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, { "style": { "alias": "style"; "required": false;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, { "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
33
51
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@jsverse/transloco";
|
|
5
|
+
import * as i4 from "@updevs/icons";
|
|
6
|
+
import * as i5 from "@updevs/components/dropdown";
|
|
7
|
+
import * as i6 from "@updevs/components/link";
|
|
8
|
+
export declare class HeaderModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule, typeof i4.UpdIconsModule, typeof i5.UpdDropdownModule, typeof i6.UpdLinkModule], [typeof i1.HeaderComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
12
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageHeaderModel } from '@updevs/sdk/layout';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class PageHeaderComponent {
|
|
4
|
-
model: PageHeaderModel
|
|
4
|
+
model: import("@angular/core").InputSignal<PageHeaderModel>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required":
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
|
@@ -1,21 +1,46 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { TextService } from '@updevs/sdk';
|
|
3
3
|
import { RouteDataModel } from '@updevs/sdk/routes';
|
|
4
4
|
import { BaseComponent } from '@updevs/sdk/layout';
|
|
5
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
6
|
+
import { DropdownItem } from '@updevs/components/dropdown';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class SidebarComponent extends BaseComponent implements OnInit {
|
|
7
|
-
private router;
|
|
8
9
|
wrapperClasses: string;
|
|
9
10
|
theme: string;
|
|
10
11
|
menuItems: RouteDataModel[];
|
|
11
|
-
|
|
12
|
+
isLoggedUserDropdownOpen: boolean;
|
|
13
|
+
readonly loggedUserRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
readonly textService: TextService;
|
|
15
|
+
readonly isSidebarMobileOpen: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
|
|
17
|
+
readonly userInfo: import("@angular/core").Signal<OptionalType<import("@updevs/sdk/core").UserInfoModel>>;
|
|
18
|
+
readonly userIdentification: import("@angular/core").Signal<string>;
|
|
19
|
+
readonly userDescription: import("@angular/core").Signal<string>;
|
|
20
|
+
readonly loggedUserOptions: import("@angular/core").Signal<DropdownItem[]>;
|
|
21
|
+
readonly userInitials: import("@angular/core").Signal<string>;
|
|
22
|
+
private currentRoute;
|
|
23
|
+
private menuItemsBackup;
|
|
24
|
+
private readonly router;
|
|
25
|
+
private readonly menuService;
|
|
26
|
+
private readonly layoutService;
|
|
27
|
+
private readonly securityStorage;
|
|
28
|
+
private readonly coreLayoutConfigService;
|
|
12
29
|
ngOnInit(): void;
|
|
13
30
|
onMenuItemClick(item: RouteDataModel): void;
|
|
14
31
|
hasChildren(item: RouteDataModel): boolean;
|
|
32
|
+
asMenuItem(item: any): RouteDataModel;
|
|
33
|
+
getItemClasses(item: RouteDataModel, activeClass: string, ...classes: string[]): string[];
|
|
34
|
+
toggleSidebarOnMobile(): void;
|
|
35
|
+
selectLoggedUserMenuItem(item: DropdownItem): void;
|
|
15
36
|
private findActiveNode;
|
|
16
37
|
private updateActiveRoute;
|
|
38
|
+
private setActivePath;
|
|
39
|
+
private getActivePath;
|
|
17
40
|
private resetMenuState;
|
|
41
|
+
private setItemActive;
|
|
18
42
|
private updateParents;
|
|
43
|
+
private findItemById;
|
|
19
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
20
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "upd-sidebar", never, {}, {}, never, never, false, never>;
|
|
21
46
|
}
|
|
@@ -3,6 +3,7 @@ import { UpdLayoutConfig } from './models/upd-layout.config';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@updevs/sdk/layout";
|
|
6
|
+
import * as i3 from "@updevs/sdk/notifications";
|
|
6
7
|
/**
|
|
7
8
|
* Layout module.
|
|
8
9
|
*/
|
|
@@ -13,6 +14,6 @@ export declare class UpdLayoutModule {
|
|
|
13
14
|
*/
|
|
14
15
|
static forRoot(config: UpdLayoutConfig): ModuleWithProviders<UpdLayoutModule>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdLayoutModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule], never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule, typeof i3.UpdNotificationsModule], never>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<UpdLayoutModule>;
|
|
18
19
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference path="row-column-size.ngtypecheck.d.ts" />
|
|
2
|
+
export interface RowColumnSize {
|
|
3
|
+
/**
|
|
4
|
+
* Applies to all breakpoints from 576px and up (col-X).
|
|
5
|
+
*/
|
|
6
|
+
default?: number;
|
|
7
|
+
/**
|
|
8
|
+
* For devices with 1200px and up (col-xl-X).
|
|
9
|
+
*/
|
|
10
|
+
extraLarge?: number;
|
|
11
|
+
/**
|
|
12
|
+
* For devices with 992px and up (col-lg-X).
|
|
13
|
+
*/
|
|
14
|
+
large?: number;
|
|
15
|
+
/**
|
|
16
|
+
* For devices with 768px and up (col-md-X).
|
|
17
|
+
*/
|
|
18
|
+
medium?: number;
|
|
19
|
+
/**
|
|
20
|
+
* For devices with 576px and up (col-sm-X).
|
|
21
|
+
*/
|
|
22
|
+
small?: number;
|
|
23
|
+
}
|
package/lib/public-api.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference path="column-size.helper.ngtypecheck.d.ts" />
|
|
2
|
+
import { RowColumnSize } from '../models/row-column-size';
|
|
3
|
+
export declare class ColumnSizeHelper {
|
|
4
|
+
static getSizeClasses(colSize?: RowColumnSize, defaultIfEmpty?: number): string;
|
|
5
|
+
static getClasses(...classes: string[]): string;
|
|
6
|
+
}
|
package/list/list.component.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ListItem } from './models/list-item';
|
|
3
3
|
import { ListItemModel } from './models/list-item.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ListComponent implements OnInit, OnChanges {
|
|
6
|
-
private renderer;
|
|
7
|
-
private elementRef;
|
|
8
6
|
localWrapperClasses: string;
|
|
9
7
|
/**
|
|
10
8
|
* List items.
|
|
@@ -29,27 +27,13 @@ export declare class ListComponent implements OnInit, OnChanges {
|
|
|
29
27
|
* Note: The unit should also be provided, i.e.: 350px, 35rem, etc.
|
|
30
28
|
*/
|
|
31
29
|
maxHeight?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Translation key used to inform no records have been found.
|
|
34
|
-
* If translation is not being used, you can insert the custom text here as well.
|
|
35
|
-
*/
|
|
36
|
-
noRecordsFoundKey?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Translation key used to describe 1 item found.
|
|
39
|
-
* If translation is not being used, you can insert the custom text here as well.
|
|
40
|
-
*/
|
|
41
|
-
itemFoundKey?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Translation key used to describe items (plural) found.
|
|
44
|
-
* If translation is not being used, you can insert the custom text here as well.
|
|
45
|
-
*/
|
|
46
|
-
itemsFoundKey?: string;
|
|
47
30
|
readonly checkboxChanged: EventEmitter<ListItem>;
|
|
48
31
|
readonly selectedItem: EventEmitter<ListItem>;
|
|
49
32
|
listItems: ListItemModel[];
|
|
50
33
|
currentSelection: ListItem[];
|
|
51
34
|
private localBackupItems;
|
|
52
|
-
|
|
35
|
+
private readonly renderer;
|
|
36
|
+
private readonly elementRef;
|
|
53
37
|
ngOnInit(): void;
|
|
54
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
55
39
|
onCheckboxChange(item: ListItem, isChecked: boolean): void;
|
|
@@ -58,5 +42,5 @@ export declare class ListComponent implements OnInit, OnChanges {
|
|
|
58
42
|
private setupStyle;
|
|
59
43
|
private updateWrapperClasses;
|
|
60
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "upd-list", never, { "items": { "alias": "items"; "required": false; }; "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isHoverable": { "alias": "isHoverable"; "required": false; }; "shouldDisplayItemsCounter": { "alias": "shouldDisplayItemsCounter"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; };
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "upd-list", never, { "items": { "alias": "items"; "required": false; }; "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isHoverable": { "alias": "isHoverable"; "required": false; }; "shouldDisplayItemsCounter": { "alias": "shouldDisplayItemsCounter"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "checkboxChanged": "checkboxChanged"; "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
62
46
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { BgColorStyleType } from '@updevs/sdk/types';
|
|
2
3
|
import { BadgePositionType } from './badge-position.type';
|
|
3
4
|
export interface ListItem {
|
|
4
5
|
id?: any;
|
|
5
6
|
text?: string;
|
|
6
7
|
description?: string;
|
|
7
|
-
icon?:
|
|
8
|
+
icon?: IconModel;
|
|
8
9
|
isChecked?: boolean;
|
|
9
10
|
isSwitch?: boolean;
|
|
10
11
|
hasCheckbox?: boolean;
|
|
@@ -12,6 +13,7 @@ export interface ListItem {
|
|
|
12
13
|
isActive?: boolean;
|
|
13
14
|
leftBoxText?: string;
|
|
14
15
|
leftBoxImage?: string;
|
|
16
|
+
leftBoxHtml?: string;
|
|
15
17
|
badgeColor?: BgColorStyleType;
|
|
16
18
|
badgeText?: string;
|
|
17
19
|
badgePosition?: BadgePositionType;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { BgColorStyleType } from '@updevs/sdk/types';
|
|
2
3
|
import { ListItem } from './list-item';
|
|
3
4
|
import { BadgePositionType } from './badge-position.type';
|
|
4
5
|
export declare class ListItemModel implements ListItem {
|
|
5
6
|
id?: any;
|
|
6
7
|
text?: string;
|
|
7
8
|
description?: string;
|
|
8
|
-
icon?:
|
|
9
|
+
icon?: IconModel;
|
|
9
10
|
isChecked?: boolean;
|
|
10
11
|
isSwitch?: boolean;
|
|
11
12
|
hasCheckbox?: boolean;
|
|
@@ -13,6 +14,7 @@ export declare class ListItemModel implements ListItem {
|
|
|
13
14
|
isActive?: boolean;
|
|
14
15
|
leftBoxText?: string;
|
|
15
16
|
leftBoxImage?: string;
|
|
17
|
+
leftBoxHtml?: string;
|
|
16
18
|
badgeColor?: BgColorStyleType;
|
|
17
19
|
badgeText?: string;
|
|
18
20
|
badgePosition?: BadgePositionType;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TranslocoService } from '@
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./list.component";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "@
|
|
5
|
+
import * as i3 from "@jsverse/transloco";
|
|
6
6
|
import * as i4 from "@updevs/components/form-controls/checkbox";
|
|
7
7
|
import * as i5 from "@updevs/icons";
|
|
8
8
|
export declare class UpdListModule {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NgComponentOutlet } from '@angular/common';
|
|
2
|
+
import { TemplateRef, Type, ElementRef, ComponentRef } from '@angular/core';
|
|
3
|
+
import { TextModel } from '@updevs/sdk';
|
|
4
|
+
import { BaseComponent, Overlay, ButtonModel } from '@updevs/sdk/layout';
|
|
5
|
+
import { TopBottomLeftRightType, OptionalType, BgColorStyleType } from '@updevs/sdk/types';
|
|
6
|
+
import { IconModel } from '@updevs/icons';
|
|
7
|
+
import { ModalSizeType } from '../../types/modal-size.type';
|
|
8
|
+
import { ModalConfig } from '../../models/modal.config';
|
|
9
|
+
import { ModalFooterStyleType } from '../../types/modal-footer-style.type';
|
|
10
|
+
import { ModalRef } from '../../models/modal-ref';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ModalContainerComponent extends BaseComponent implements ModalConfig, ModalRef {
|
|
13
|
+
id: string;
|
|
14
|
+
hostClass: string[];
|
|
15
|
+
role: string;
|
|
16
|
+
ariaHidden: boolean;
|
|
17
|
+
ariaModal: boolean;
|
|
18
|
+
tabIndex: number;
|
|
19
|
+
styleDisplay?: string;
|
|
20
|
+
dialog: import("@angular/core").Signal<ElementRef<any>>;
|
|
21
|
+
content: import("@angular/core").Signal<ElementRef<any>>;
|
|
22
|
+
bodyContentOutlet: import("@angular/core").Signal<NgComponentOutlet | undefined>;
|
|
23
|
+
size: ModalSizeType;
|
|
24
|
+
isVerticallyCentered: boolean;
|
|
25
|
+
isScrollable: boolean;
|
|
26
|
+
showCloseButton: boolean;
|
|
27
|
+
showCancelButton: boolean;
|
|
28
|
+
isTextCentered: boolean;
|
|
29
|
+
shouldDismissOnEsc: boolean;
|
|
30
|
+
shouldDismissOnOutsideClick: boolean;
|
|
31
|
+
isAlert: boolean;
|
|
32
|
+
statusColor?: BgColorStyleType;
|
|
33
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
34
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
35
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
36
|
+
bodyContentType?: Type<any>;
|
|
37
|
+
contentType?: Type<any>;
|
|
38
|
+
body?: TextModel;
|
|
39
|
+
title?: TextModel;
|
|
40
|
+
titleIcon?: IconModel;
|
|
41
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
42
|
+
footerLayout?: ModalFooterStyleType;
|
|
43
|
+
actionButtons: ButtonModel[];
|
|
44
|
+
overlay: Overlay;
|
|
45
|
+
modalContainerRef: ComponentRef<ModalContainerComponent>;
|
|
46
|
+
data?: any;
|
|
47
|
+
afterClose?: (result?: any) => void;
|
|
48
|
+
get classes(): string[];
|
|
49
|
+
get titleText(): string;
|
|
50
|
+
get bodyText(): string;
|
|
51
|
+
get statusColorClass(): string;
|
|
52
|
+
get sizeClass(): string;
|
|
53
|
+
private readonly openClass;
|
|
54
|
+
private readonly textService;
|
|
55
|
+
private readonly elementRef;
|
|
56
|
+
private readonly layoutService;
|
|
57
|
+
private readonly scrollbarService;
|
|
58
|
+
private readonly renderer;
|
|
59
|
+
private readonly document;
|
|
60
|
+
private get element();
|
|
61
|
+
prepareToShow(config?: ModalConfig): void;
|
|
62
|
+
show(): void;
|
|
63
|
+
close(result?: any): void;
|
|
64
|
+
buttonClick(event: MouseEvent, btn: ButtonModel): void;
|
|
65
|
+
getBodyInstance<T>(): OptionalType<T>;
|
|
66
|
+
private adjustDialog;
|
|
67
|
+
private setupConfig;
|
|
68
|
+
private setupActionButtons;
|
|
69
|
+
private setupListeners;
|
|
70
|
+
private clickCallback;
|
|
71
|
+
private escCallback;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "upd-modal-container", never, {}, {}, never, never, false, never>;
|
|
74
|
+
}
|
package/modal/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ModalRef } from './modal-ref';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class BaseModal<TData = any> {
|
|
4
|
+
modalRef: import("@angular/core").InputSignal<ModalRef>;
|
|
5
|
+
data: import("@angular/core").InputSignal<TData>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseModal<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseModal<any>, never, never, { "modalRef": { "alias": "modalRef"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|