@updevs/components 1.0.0-alpha.6 → 1.0.0-alpha.61
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 +72 -11
- 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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { TextModel } from '@updevs/sdk';
|
|
4
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
|
+
import { IconModel } from '@updevs/icons';
|
|
6
|
+
import { ModalConfig } from './modal.config';
|
|
7
|
+
import { ModalSizeType } from '../types/modal-size.type';
|
|
8
|
+
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
9
|
+
export declare class ModalConfigModel implements ModalConfig {
|
|
10
|
+
size: ModalSizeType;
|
|
11
|
+
isVerticallyCentered: boolean;
|
|
12
|
+
isScrollable: boolean;
|
|
13
|
+
showCancelButton: boolean;
|
|
14
|
+
showCloseButton: boolean;
|
|
15
|
+
isTextCentered: boolean;
|
|
16
|
+
shouldDismissOnEsc: boolean;
|
|
17
|
+
shouldDismissOnOutsideClick: boolean;
|
|
18
|
+
isAlert: boolean;
|
|
19
|
+
statusColor?: BgColorStyleType;
|
|
20
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
21
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
22
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
23
|
+
bodyContentType?: Type<any>;
|
|
24
|
+
body?: TextModel;
|
|
25
|
+
title?: TextModel;
|
|
26
|
+
titleIcon?: IconModel;
|
|
27
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
28
|
+
footerLayout?: ModalFooterStyleType;
|
|
29
|
+
actionButtons: ButtonModel[];
|
|
30
|
+
data?: any;
|
|
31
|
+
constructor(init?: Partial<ModalConfig>);
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
4
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
|
+
import { IconModel } from '@updevs/icons';
|
|
6
|
+
import { ModalSizeType } from '../types/modal-size.type';
|
|
7
|
+
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
8
|
+
export interface ModalConfig {
|
|
9
|
+
size?: ModalSizeType;
|
|
10
|
+
isVerticallyCentered?: boolean;
|
|
11
|
+
isScrollable?: boolean;
|
|
12
|
+
showCancelButton?: boolean;
|
|
13
|
+
showCloseButton?: boolean;
|
|
14
|
+
shouldDismissOnEsc?: boolean;
|
|
15
|
+
shouldDismissOnOutsideClick?: boolean;
|
|
16
|
+
isAlert?: boolean;
|
|
17
|
+
isTextCentered?: boolean;
|
|
18
|
+
statusColor?: BgColorStyleType;
|
|
19
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
20
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
21
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
22
|
+
bodyContentType?: Type<any>;
|
|
23
|
+
body?: TextModel;
|
|
24
|
+
title?: TextModel;
|
|
25
|
+
titleIcon?: IconModel;
|
|
26
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
27
|
+
footerLayout?: ModalFooterStyleType;
|
|
28
|
+
actionButtons?: ButtonModel[];
|
|
29
|
+
data?: any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TextModel } from '@updevs/sdk';
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { TopBottomLeftRightType, BgColorStyleType } from '@updevs/sdk/types';
|
|
4
|
+
import { IconModel } from '@updevs/icons';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { ModalSizeType } from '../types/modal-size.type';
|
|
7
|
+
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
8
|
+
import { ModalRef } from '../models/modal-ref';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ModalAlertService {
|
|
11
|
+
private readonly modalService;
|
|
12
|
+
private readonly defaultIconModel;
|
|
13
|
+
showWarning(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
|
|
14
|
+
showError(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
|
|
15
|
+
showInfo(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
|
|
16
|
+
showSuccess(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
|
|
17
|
+
showConfirm(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): Observable<boolean>;
|
|
18
|
+
showCustom(message: TextModel, title: TextModel, titleIcon: IconModel, titleIconPosition: TopBottomLeftRightType, statusColor: BgColorStyleType, actionButtons?: ButtonModel[], size?: ModalSizeType, footerLayout?: ModalFooterStyleType): ModalRef;
|
|
19
|
+
private open;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalAlertService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalAlertService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentType } from '@updevs/sdk/types';
|
|
2
|
+
import { ModalConfig } from '../models/modal.config';
|
|
3
|
+
import { ModalRef } from '../models/modal-ref';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ModalService {
|
|
6
|
+
private readonly dynamicComponentLoaderService;
|
|
7
|
+
private readonly overlayService;
|
|
8
|
+
private readonly applicationRef;
|
|
9
|
+
open<T>(contentType?: ComponentType<T>, config?: ModalConfig, rootElement?: Element, shouldDisposeOnClick?: boolean, shouldDisposeOnEsc?: boolean): ModalRef;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModalFooterStyleType = 'full-width' | 'default' | 'centered';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModalSizeType = 'regular' | 'small' | 'extra-large' | 'large';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MessagesService } from '@updevs/sdk/messages';
|
|
2
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import { ModalAlertService } from './services/modal-alert.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./components/modal-container/modal-container.component";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@updevs/sdk/layout";
|
|
8
|
+
import * as i4 from "@updevs/components/button";
|
|
9
|
+
import * as i5 from "@updevs/icons";
|
|
10
|
+
import * as i6 from "@updevs/sdk/messages";
|
|
11
|
+
import * as i7 from "@jsverse/transloco";
|
|
12
|
+
export declare class UpdModalModule {
|
|
13
|
+
constructor(translocoService: TranslocoService, modalAlertService: ModalAlertService, messagesService: MessagesService);
|
|
14
|
+
private setupMessagesService;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdModalModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdModalModule, [typeof i1.ModalContainerComponent], [typeof i2.CommonModule, typeof i3.UpdCoreLayoutModule, typeof i4.UpdButtonModule, typeof i5.UpdIconsModule, typeof i6.UpdMessagesModule, typeof i7.TranslocoDirective], never>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdModalModule>;
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@updevs/components",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.61",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
9
|
-
"@updevs/
|
|
5
|
+
"@angular/common": "^18.0.1 || ^19.0.0",
|
|
6
|
+
"@angular/core": "^18.0.1 || ^19.0.0",
|
|
7
|
+
"@jsverse/transloco": "^7.4.2",
|
|
8
|
+
"@jsverse/transloco-messageformat": "^7.0.1",
|
|
9
|
+
"@updevs/icons": "^1.0.9",
|
|
10
|
+
"@updevs/sdk": "^1.0.0-alpha.44"
|
|
10
11
|
},
|
|
11
12
|
"dependencies": {
|
|
12
13
|
"tslib": "^2.3.0"
|
|
@@ -27,11 +28,11 @@
|
|
|
27
28
|
"esm": "./esm2022/updevs-components.mjs",
|
|
28
29
|
"default": "./fesm2022/updevs-components.mjs"
|
|
29
30
|
},
|
|
30
|
-
"./
|
|
31
|
-
"types": "./
|
|
32
|
-
"esm2022": "./esm2022/
|
|
33
|
-
"esm": "./esm2022/
|
|
34
|
-
"default": "./fesm2022/updevs-components-
|
|
31
|
+
"./badge": {
|
|
32
|
+
"types": "./badge/index.d.ts",
|
|
33
|
+
"esm2022": "./esm2022/badge/updevs-components-badge.mjs",
|
|
34
|
+
"esm": "./esm2022/badge/updevs-components-badge.mjs",
|
|
35
|
+
"default": "./fesm2022/updevs-components-badge.mjs"
|
|
35
36
|
},
|
|
36
37
|
"./card": {
|
|
37
38
|
"types": "./card/index.d.ts",
|
|
@@ -39,6 +40,24 @@
|
|
|
39
40
|
"esm": "./esm2022/card/updevs-components-card.mjs",
|
|
40
41
|
"default": "./fesm2022/updevs-components-card.mjs"
|
|
41
42
|
},
|
|
43
|
+
"./button": {
|
|
44
|
+
"types": "./button/index.d.ts",
|
|
45
|
+
"esm2022": "./esm2022/button/updevs-components-button.mjs",
|
|
46
|
+
"esm": "./esm2022/button/updevs-components-button.mjs",
|
|
47
|
+
"default": "./fesm2022/updevs-components-button.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./calendar": {
|
|
50
|
+
"types": "./calendar/index.d.ts",
|
|
51
|
+
"esm2022": "./esm2022/calendar/updevs-components-calendar.mjs",
|
|
52
|
+
"esm": "./esm2022/calendar/updevs-components-calendar.mjs",
|
|
53
|
+
"default": "./fesm2022/updevs-components-calendar.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./drag-and-drop": {
|
|
56
|
+
"types": "./drag-and-drop/index.d.ts",
|
|
57
|
+
"esm2022": "./esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs",
|
|
58
|
+
"esm": "./esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs",
|
|
59
|
+
"default": "./fesm2022/updevs-components-drag-and-drop.mjs"
|
|
60
|
+
},
|
|
42
61
|
"./dropdown": {
|
|
43
62
|
"types": "./dropdown/index.d.ts",
|
|
44
63
|
"esm2022": "./esm2022/dropdown/updevs-components-dropdown.mjs",
|
|
@@ -69,18 +88,60 @@
|
|
|
69
88
|
"esm": "./esm2022/list/updevs-components-list.mjs",
|
|
70
89
|
"default": "./fesm2022/updevs-components-list.mjs"
|
|
71
90
|
},
|
|
91
|
+
"./modal": {
|
|
92
|
+
"types": "./modal/index.d.ts",
|
|
93
|
+
"esm2022": "./esm2022/modal/updevs-components-modal.mjs",
|
|
94
|
+
"esm": "./esm2022/modal/updevs-components-modal.mjs",
|
|
95
|
+
"default": "./fesm2022/updevs-components-modal.mjs"
|
|
96
|
+
},
|
|
97
|
+
"./paginator": {
|
|
98
|
+
"types": "./paginator/index.d.ts",
|
|
99
|
+
"esm2022": "./esm2022/paginator/updevs-components-paginator.mjs",
|
|
100
|
+
"esm": "./esm2022/paginator/updevs-components-paginator.mjs",
|
|
101
|
+
"default": "./fesm2022/updevs-components-paginator.mjs"
|
|
102
|
+
},
|
|
72
103
|
"./popover": {
|
|
73
104
|
"types": "./popover/index.d.ts",
|
|
74
105
|
"esm2022": "./esm2022/popover/updevs-components-popover.mjs",
|
|
75
106
|
"esm": "./esm2022/popover/updevs-components-popover.mjs",
|
|
76
107
|
"default": "./fesm2022/updevs-components-popover.mjs"
|
|
77
108
|
},
|
|
109
|
+
"./pricing-cards": {
|
|
110
|
+
"types": "./pricing-cards/index.d.ts",
|
|
111
|
+
"esm2022": "./esm2022/pricing-cards/updevs-components-pricing-cards.mjs",
|
|
112
|
+
"esm": "./esm2022/pricing-cards/updevs-components-pricing-cards.mjs",
|
|
113
|
+
"default": "./fesm2022/updevs-components-pricing-cards.mjs"
|
|
114
|
+
},
|
|
115
|
+
"./table": {
|
|
116
|
+
"types": "./table/index.d.ts",
|
|
117
|
+
"esm2022": "./esm2022/table/updevs-components-table.mjs",
|
|
118
|
+
"esm": "./esm2022/table/updevs-components-table.mjs",
|
|
119
|
+
"default": "./fesm2022/updevs-components-table.mjs"
|
|
120
|
+
},
|
|
121
|
+
"./form-controls/abstractions": {
|
|
122
|
+
"types": "./form-controls/abstractions/index.d.ts",
|
|
123
|
+
"esm2022": "./esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs",
|
|
124
|
+
"esm": "./esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs",
|
|
125
|
+
"default": "./fesm2022/updevs-components-form-controls-abstractions.mjs"
|
|
126
|
+
},
|
|
78
127
|
"./form-controls/checkbox": {
|
|
79
128
|
"types": "./form-controls/checkbox/index.d.ts",
|
|
80
129
|
"esm2022": "./esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs",
|
|
81
130
|
"esm": "./esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs",
|
|
82
131
|
"default": "./fesm2022/updevs-components-form-controls-checkbox.mjs"
|
|
83
132
|
},
|
|
133
|
+
"./form-controls/file-upload": {
|
|
134
|
+
"types": "./form-controls/file-upload/index.d.ts",
|
|
135
|
+
"esm2022": "./esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs",
|
|
136
|
+
"esm": "./esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs",
|
|
137
|
+
"default": "./fesm2022/updevs-components-form-controls-file-upload.mjs"
|
|
138
|
+
},
|
|
139
|
+
"./form-controls/date-picker": {
|
|
140
|
+
"types": "./form-controls/date-picker/index.d.ts",
|
|
141
|
+
"esm2022": "./esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs",
|
|
142
|
+
"esm": "./esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs",
|
|
143
|
+
"default": "./fesm2022/updevs-components-form-controls-date-picker.mjs"
|
|
144
|
+
},
|
|
84
145
|
"./form-controls/input": {
|
|
85
146
|
"types": "./form-controls/input/index.d.ts",
|
|
86
147
|
"esm2022": "./esm2022/form-controls/input/updevs-components-form-controls-input.mjs",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Signal, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
3
|
+
import { SelectItem } from '@updevs/components/form-controls/select';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PaginatorComponent {
|
|
6
|
+
hostClasses: string;
|
|
7
|
+
readonly changed: EventEmitter<void>;
|
|
8
|
+
startPageIndex: import("@angular/core").InputSignal<0 | 1>;
|
|
9
|
+
currentPage: import("@angular/core").ModelSignal<number>;
|
|
10
|
+
wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
11
|
+
availablePageSizes: import("@angular/core").InputSignal<number[]>;
|
|
12
|
+
defaultInitPageSize: import("@angular/core").InputSignal<number>;
|
|
13
|
+
pageSize: import("@angular/core").ModelSignal<number>;
|
|
14
|
+
shouldDisplayFirstIcon: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
shouldDisplayFirstText: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
shouldDisplayPreviousIcon: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
shouldDisplayPreviousText: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
shouldDisplayNextIcon: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
shouldDisplayNextText: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
shouldDisplayLastIcon: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
shouldDisplayLastText: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
previousDescription: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
23
|
+
nextDescription: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
24
|
+
totalRecords: import("@angular/core").InputSignal<number>;
|
|
25
|
+
isFirstDisabled: Signal<boolean>;
|
|
26
|
+
isPreviousDisabled: Signal<boolean>;
|
|
27
|
+
isNextDisabled: Signal<boolean>;
|
|
28
|
+
isLastDisabled: Signal<boolean>;
|
|
29
|
+
pageOptions: Signal<SelectItem[]>;
|
|
30
|
+
selectedPageSize: Signal<SelectItem | undefined>;
|
|
31
|
+
totalPages: Signal<number>;
|
|
32
|
+
currentFirstDisplayed: Signal<number>;
|
|
33
|
+
currentLastDisplayed: Signal<number>;
|
|
34
|
+
readonly textService: TextService;
|
|
35
|
+
private expectedLast;
|
|
36
|
+
private readonly defaultWrapperClasses;
|
|
37
|
+
constructor();
|
|
38
|
+
onSelectPageSize(page?: SelectItem): void;
|
|
39
|
+
selectPage(page: number): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "upd-paginator", never, { "startPageIndex": { "alias": "startPageIndex"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "availablePageSizes": { "alias": "availablePageSizes"; "required": false; "isSignal": true; }; "defaultInitPageSize": { "alias": "defaultInitPageSize"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "shouldDisplayFirstIcon": { "alias": "shouldDisplayFirstIcon"; "required": false; "isSignal": true; }; "shouldDisplayFirstText": { "alias": "shouldDisplayFirstText"; "required": false; "isSignal": true; }; "shouldDisplayPreviousIcon": { "alias": "shouldDisplayPreviousIcon"; "required": false; "isSignal": true; }; "shouldDisplayPreviousText": { "alias": "shouldDisplayPreviousText"; "required": false; "isSignal": true; }; "shouldDisplayNextIcon": { "alias": "shouldDisplayNextIcon"; "required": false; "isSignal": true; }; "shouldDisplayNextText": { "alias": "shouldDisplayNextText"; "required": false; "isSignal": true; }; "shouldDisplayLastIcon": { "alias": "shouldDisplayLastIcon"; "required": false; "isSignal": true; }; "shouldDisplayLastText": { "alias": "shouldDisplayLastText"; "required": false; "isSignal": true; }; "previousDescription": { "alias": "previousDescription"; "required": false; "isSignal": true; }; "nextDescription": { "alias": "nextDescription"; "required": false; "isSignal": true; }; "totalRecords": { "alias": "totalRecords"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./paginator.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@updevs/icons";
|
|
6
|
+
import * as i4 from "@updevs/components/button";
|
|
7
|
+
import * as i5 from "@updevs/components/form-controls/select";
|
|
8
|
+
import * as i6 from "@jsverse/transloco";
|
|
9
|
+
export declare class UpdPaginatorModule {
|
|
10
|
+
constructor(translocoService: TranslocoService);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdPaginatorModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdPaginatorModule, [typeof i1.PaginatorComponent], [typeof i2.CommonModule, typeof i3.UpdIconsModule, typeof i4.UpdButtonModule, typeof i5.UpdSelectModule, typeof i6.TranslocoDirective], [typeof i1.PaginatorComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdPaginatorModule>;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PopoverComponent implements OnInit, OnChanges {
|
|
@@ -14,7 +14,7 @@ export declare class PopoverComponent implements OnInit, OnChanges {
|
|
|
14
14
|
get isVisible(): boolean;
|
|
15
15
|
private _isVisible;
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
-
ngOnChanges(
|
|
17
|
+
ngOnChanges(): void;
|
|
18
18
|
setVisible(isVisible: boolean): void;
|
|
19
19
|
private updateClasses;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
3
|
-
import { PositioningService, DynamicComponentLoaderService } from '@updevs/sdk/layout';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class PopoverDirective {
|
|
6
|
-
private elementRef;
|
|
7
|
-
private renderer;
|
|
8
|
-
private viewContainerRef;
|
|
9
|
-
private ngZone;
|
|
10
|
-
private injector;
|
|
11
|
-
private positioningService;
|
|
12
|
-
private dynamicComponentLoaderService;
|
|
13
5
|
text?: string;
|
|
14
6
|
title?: string;
|
|
15
7
|
popoverTitleTemplate?: TemplateRef<any>;
|
|
@@ -22,7 +14,13 @@ export declare class PopoverDirective {
|
|
|
22
14
|
*/
|
|
23
15
|
actAsTooltip: boolean;
|
|
24
16
|
private popoverComponentRef?;
|
|
25
|
-
|
|
17
|
+
private readonly elementRef;
|
|
18
|
+
private readonly renderer;
|
|
19
|
+
private readonly viewContainerRef;
|
|
20
|
+
private readonly ngZone;
|
|
21
|
+
private readonly injector;
|
|
22
|
+
private readonly positioningService;
|
|
23
|
+
private readonly dynamicComponentLoaderService;
|
|
26
24
|
onMouseEnter(): void;
|
|
27
25
|
onMouseLeave(): void;
|
|
28
26
|
onClick(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { BaseEntityModel } from '@updevs/sdk/core';
|
|
4
|
+
import { BgColorStyleType } from '@updevs/sdk/types';
|
|
5
|
+
import { RibbonStyleType } from '@updevs/components/card';
|
|
6
|
+
import { PriceItemFeature } from './price-item-feature.model';
|
|
7
|
+
import { PriceItemFeaturesGroup } from './price-item-features-group.model';
|
|
8
|
+
import { PriceItemTagModel } from './price-item-tag.model';
|
|
9
|
+
export interface PriceItemModel extends BaseEntityModel {
|
|
10
|
+
title: string;
|
|
11
|
+
price: string;
|
|
12
|
+
chooseThisText: TextModel;
|
|
13
|
+
currentText?: TextModel;
|
|
14
|
+
tags?: PriceItemTagModel[];
|
|
15
|
+
highlightColor?: BgColorStyleType;
|
|
16
|
+
ribbonStyle?: RibbonStyleType;
|
|
17
|
+
ribbonIcon?: IconModel;
|
|
18
|
+
groupedFeatures?: PriceItemFeaturesGroup[];
|
|
19
|
+
features?: PriceItemFeature[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TextService } from '@updevs/sdk';
|
|
2
|
+
import { PriceItemModel } from './models/price-item.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PricingCardsComponent {
|
|
5
|
+
readonly items: import("@angular/core").InputSignal<PriceItemModel[]>;
|
|
6
|
+
readonly selected: import("@angular/core").OutputEmitterRef<PriceItemModel>;
|
|
7
|
+
readonly textService: TextService;
|
|
8
|
+
selectOption(item: PriceItemModel): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PricingCardsComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PricingCardsComponent, "upd-pricing-cards", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./pricing-cards.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@updevs/components/card";
|
|
5
|
+
import * as i4 from "@updevs/icons";
|
|
6
|
+
import * as i5 from "@updevs/components/button";
|
|
7
|
+
import * as i6 from "@updevs/components/badge";
|
|
8
|
+
export declare class UpdPricingCardsModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdPricingCardsModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdPricingCardsModule, [typeof i1.PricingCardsComponent], [typeof i2.CommonModule, typeof i3.UpdCardModule, typeof i4.UpdIconsModule, typeof i5.UpdButtonModule, typeof i6.UpdBadgeModule], [typeof i1.PricingCardsComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdPricingCardsModule>;
|
|
12
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TextModel } from '@updevs/sdk';
|
|
2
|
+
import { DataTypeEnum } from '@updevs/sdk/stores';
|
|
3
|
+
import { WidthModel } from '@updevs/sdk/layout';
|
|
4
|
+
import { OptionalType, TextAlignmentType, TextDecorationType, OverflowStrategyType, FontWeightType } from '@updevs/sdk/types';
|
|
5
|
+
import { ColumnTypeEnum } from '../models/enums/column-type.enum';
|
|
6
|
+
export declare class BaseColumnModel {
|
|
7
|
+
name: string;
|
|
8
|
+
title?: TextModel;
|
|
9
|
+
titleAlignment: TextAlignmentType;
|
|
10
|
+
allowSort: boolean;
|
|
11
|
+
isItalic: boolean;
|
|
12
|
+
type: ColumnTypeEnum;
|
|
13
|
+
/**
|
|
14
|
+
* Width.
|
|
15
|
+
*/
|
|
16
|
+
width?: WidthModel;
|
|
17
|
+
alignment: TextAlignmentType;
|
|
18
|
+
decoration?: TextDecorationType;
|
|
19
|
+
weight: FontWeightType;
|
|
20
|
+
overflowStrategy: OverflowStrategyType;
|
|
21
|
+
shouldSpaceAfterPrefix: boolean;
|
|
22
|
+
shouldSpaceBeforeSuffix: boolean;
|
|
23
|
+
isHidden: boolean;
|
|
24
|
+
prefix?: TextModel;
|
|
25
|
+
suffix?: TextModel;
|
|
26
|
+
get dataType(): DataTypeEnum;
|
|
27
|
+
get widthClass(): string;
|
|
28
|
+
get widthSize(): number;
|
|
29
|
+
get pixelsSize(): OptionalType<number>;
|
|
30
|
+
constructor(columnType: ColumnTypeEnum, init?: Partial<BaseColumnModel>);
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TextService } from '@updevs/sdk';
|
|
2
|
+
import { BaseColumnModel } from './base-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare abstract class BaseColumn<TConfig extends BaseColumnModel> {
|
|
5
|
+
private static readonly alignmentClassMap;
|
|
6
|
+
private static readonly overflowClassMap;
|
|
7
|
+
private static readonly decorationClassMap;
|
|
8
|
+
private static readonly weightClassMap;
|
|
9
|
+
record: any;
|
|
10
|
+
config: TConfig;
|
|
11
|
+
get value(): any;
|
|
12
|
+
get isTextType(): boolean;
|
|
13
|
+
get prefix(): string;
|
|
14
|
+
get suffix(): string;
|
|
15
|
+
get prefixSpace(): string;
|
|
16
|
+
get suffixSpace(): string;
|
|
17
|
+
readonly textService: TextService;
|
|
18
|
+
private get alignmentClass();
|
|
19
|
+
private get overflowClass();
|
|
20
|
+
private get decorationClass();
|
|
21
|
+
private get weightClass();
|
|
22
|
+
getRecordAs<T>(): T;
|
|
23
|
+
getClasses(): string[];
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseColumn<any>, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseColumn<any>, never, never, {}, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataTypeEnum } from '@updevs/sdk/stores';
|
|
2
|
+
import { NonNullableDictionaryType } from '@updevs/sdk/types';
|
|
3
|
+
import { FilterOperandConfig } from '../models/filter-operand.config';
|
|
4
|
+
export declare abstract class FiltersOperandsService {
|
|
5
|
+
abstract get isLoaded(): boolean;
|
|
6
|
+
abstract getOperands(type: DataTypeEnum): FilterOperandConfig[];
|
|
7
|
+
abstract getAllOperands(): NonNullableDictionaryType<FilterOperandConfig[]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseColumn } from '../../../abstractions/base.column';
|
|
2
|
+
import { BooleanColumnModel } from '../../../models/columns/boolean-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BooleanColumnComponent extends BaseColumn<BooleanColumnModel> {
|
|
5
|
+
getClasses(): string[];
|
|
6
|
+
private get colorClass();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanColumnComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanColumnComponent, "upd-boolean-column", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseColumn } from '../../../abstractions/base.column';
|
|
2
|
+
import { DateTimeColumnModel } from '../../../models/columns/date-time-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateTimeColumnComponent extends BaseColumn<DateTimeColumnModel> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeColumnComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeColumnComponent, "upd-date-time-column", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseColumn } from '../../../abstractions/base.column';
|
|
2
|
+
import { NumberColumnModel } from '../../../models/columns/number-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumberColumnComponent extends BaseColumn<NumberColumnModel> {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberColumnComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberColumnComponent, "upd-number-column", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseColumn } from '../../../abstractions/base.column';
|
|
2
|
+
import { TextColumnModel } from '../../../models/columns/text-column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TextColumnComponent extends BaseColumn<TextColumnModel> {
|
|
5
|
+
getClasses(): string[];
|
|
6
|
+
private get transformClass();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextColumnComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextColumnComponent, "upd-text-column", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DragAndDropColumnConfig, DragAndDropColumnModel } from '@updevs/components/drag-and-drop';
|
|
2
|
+
import { BaseModal } from '@updevs/components/modal';
|
|
3
|
+
import { TableConfig } from '../../models/table.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ColumnsManagerComponent<T> extends BaseModal<TableConfig<T>> {
|
|
6
|
+
config: import("@angular/core").Signal<{
|
|
7
|
+
columns: DragAndDropColumnConfig[];
|
|
8
|
+
canReorder: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
columns: import("@angular/core").WritableSignal<DragAndDropColumnModel[]>;
|
|
11
|
+
private readonly visibleColumn;
|
|
12
|
+
private readonly hiddenColumn;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsManagerComponent<any>, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsManagerComponent<any>, "upd-columns-manager", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|