@updevs/components 1.0.0-alpha.8 → 1.0.0-alpha.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -11
- package/assets/styles/_bootstrap-components.scss +18 -1
- package/assets/styles/_core.scss +9 -0
- package/assets/styles/_debug.scss +49 -0
- package/assets/styles/_props.scss +91 -0
- package/assets/styles/_seven-columns.scss +73 -0
- package/assets/styles/_updevs.scss +16 -0
- package/assets/styles/_utilities-marketing.scss +209 -0
- package/assets/styles/_utilities.scss +127 -92
- package/assets/styles/_variables-dark.scss +8 -6
- package/assets/styles/_variables.scss +325 -256
- package/assets/styles/helpers/_index.scss +143 -0
- package/assets/styles/layout/_core.scss +3 -2
- package/assets/styles/layout/_dark.scss +40 -35
- package/assets/styles/layout/_footer.scss +1 -1
- package/assets/styles/layout/_navbar.scss +31 -19
- package/assets/styles/layout/_page.scss +6 -5
- package/assets/styles/layout/_root.scss +26 -34
- package/assets/styles/marketing/_browser.scss +67 -0
- package/assets/styles/marketing/_core.scss +8 -0
- package/assets/styles/marketing/_filters.scss +0 -0
- package/assets/styles/marketing/_hero.scss +70 -0
- package/assets/styles/marketing/_pricing.scss +111 -0
- package/assets/styles/marketing/_sections.scss +124 -0
- package/assets/styles/marketing/_shape.scss +31 -0
- package/assets/styles/mixins/_functions.scss +53 -0
- package/assets/styles/mixins/_mixins.scss +9 -9
- package/assets/styles/ui/_accordion.scss +165 -11
- package/assets/styles/ui/_alerts.scss +80 -38
- package/assets/styles/ui/_avatars.scss +36 -9
- package/assets/styles/ui/_badges.scss +47 -13
- package/assets/styles/ui/_button-group.scss +1 -1
- package/assets/styles/ui/_buttons.scss +33 -37
- package/assets/styles/ui/_calendars.scss +2 -2
- package/assets/styles/ui/_cards.scss +9 -0
- package/assets/styles/ui/_carousel.scss +1 -1
- package/assets/styles/ui/_charts.scss +1 -1
- package/assets/styles/ui/_chat.scss +38 -0
- package/assets/styles/ui/_close.scss +54 -1
- package/assets/styles/ui/_datagrid.scss +1 -1
- package/assets/styles/ui/_dropdowns.scss +3 -0
- package/assets/styles/ui/_empty.scss +0 -5
- package/assets/styles/ui/_flags.scss +2 -2
- package/assets/styles/ui/_forms.scss +33 -7
- package/assets/styles/ui/_grid.scss +1 -1
- package/assets/styles/ui/_icons.scss +1 -1
- package/assets/styles/ui/_images.scss +4 -0
- package/assets/styles/ui/_lists.scss +12 -16
- package/assets/styles/ui/_loaders.scss +1 -1
- package/assets/styles/ui/_markdown.scss +15 -4
- package/assets/styles/ui/_modals.scss +2 -2
- package/assets/styles/ui/_nav.scss +17 -3
- package/assets/styles/ui/_offcanvas.scss +2 -2
- package/assets/styles/ui/_pagination.scss +2 -0
- package/assets/styles/ui/_payments.scss +1 -1
- package/assets/styles/ui/_placeholder.scss +1 -1
- package/assets/styles/ui/_progress.scss +1 -1
- package/assets/styles/ui/_ribbons.scss +1 -0
- package/assets/styles/ui/_segmented.scss +101 -0
- package/assets/styles/ui/_signature.scss +15 -0
- package/assets/styles/ui/_social.scss +52 -0
- package/assets/styles/ui/_status.scss +1 -1
- package/assets/styles/ui/_steps.scss +5 -1
- package/assets/styles/ui/_switch-icon.scss +1 -1
- package/assets/styles/ui/_tables.scss +27 -1
- package/assets/styles/ui/_tags.scss +1 -1
- package/assets/styles/ui/_timeline.scss +1 -1
- package/assets/styles/ui/_toasts.scss +0 -1
- package/assets/styles/ui/_tracking.scss +1 -1
- package/assets/styles/ui/_type.scss +169 -8
- package/assets/styles/ui/forms/_form-check.scss +1 -1
- package/assets/styles/ui/forms/_form-colorinput.scss +1 -1
- package/assets/styles/ui/forms/_form-custom.scss +1 -1
- package/assets/styles/ui/forms/_form-imagecheck.scss +6 -5
- package/assets/styles/ui/forms/_form-selectgroup.scss +2 -2
- package/assets/styles/ui/typo/_hr.scss +4 -2
- package/assets/styles/utils/_colors.scss +72 -11
- package/assets/styles/utils/_opacity.scss +1 -1
- package/assets/styles/utils/_scroll.scss +0 -2
- package/assets/styles/utils/_sizing.scss +1 -1
- package/assets/styles/utils/_text.scss +1 -2
- package/assets/styles/vendor/_apexcharts.scss +52 -0
- package/assets/styles/vendor/_coloris.scss +72 -0
- package/assets/styles/vendor/_dropzone.scss +27 -0
- package/assets/styles/vendor/_fslightbox.scss +13 -0
- package/assets/styles/vendor/_jsvectormap.scss +47 -0
- package/assets/styles/vendor/_litepicker.scss +69 -0
- package/assets/styles/vendor/_nouislider.scss +49 -0
- package/assets/styles/vendor/_plyr.scss +3 -0
- package/assets/styles/vendor/_stars-rating.scss +22 -0
- package/assets/styles/vendor/_tom-select.scss +81 -0
- package/assets/styles/vendor/_turbo.scss +3 -0
- package/assets/styles/vendor/_typed.scss +4 -0
- package/assets/styles/vendor/_wysiwyg.scss +46 -0
- package/badge/badge-config.model.d.ts +14 -0
- package/badge/badge.component.d.ts +23 -0
- package/badge/badge.config.d.ts +12 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +3 -0
- package/badge/upd-badge.module.d.ts +8 -0
- package/button/button.component.d.ts +51 -33
- package/button/upd-button.module.d.ts +3 -1
- package/calendar/calendar.component.d.ts +63 -0
- package/calendar/index.d.ts +1 -0
- package/calendar/models/calendar-date.model.d.ts +10 -0
- package/calendar/models/calendar-month.model.d.ts +7 -0
- package/calendar/models/calendar-selected.model.d.ts +5 -0
- package/calendar/models/calendar-user-event.model.d.ts +4 -0
- package/calendar/models/calendar-year.model.d.ts +6 -0
- package/calendar/models/date-range.model.d.ts +22 -0
- package/calendar/models/enums/calendar-view.enum.d.ts +5 -0
- package/calendar/models/public-api.d.ts +7 -0
- package/calendar/public-api.d.ts +5 -0
- package/calendar/services/calendar-range-strategy.service.d.ts +35 -0
- package/calendar/services/calendar-signals.service.d.ts +24 -0
- package/calendar/services/public-api.d.ts +1 -0
- package/calendar/types/calendar-view.type.d.ts +1 -0
- package/calendar/types/public-api.d.ts +1 -0
- package/calendar/upd-calendar.module.d.ts +13 -0
- package/card/card.component.d.ts +2 -2
- package/card/public-api.d.ts +1 -0
- package/card/types/public-api.d.ts +5 -0
- package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
- package/drag-and-drop/index.d.ts +1 -0
- package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
- package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
- package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
- package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
- package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
- package/drag-and-drop/models/public-api.d.ts +4 -0
- package/drag-and-drop/public-api.d.ts +3 -0
- package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
- package/dropdown/dropdown.component.d.ts +23 -6
- package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
- package/dropdown/models/dropdown-item.d.ts +7 -2
- package/dropdown/models/dropdown-item.type.d.ts +1 -1
- package/dropdown/models/public-api.d.ts +2 -0
- package/dropdown/models/toolbar.type.d.ts +1 -0
- package/esm2022/badge/badge-config.model.mjs +14 -0
- package/esm2022/badge/badge.component.mjs +48 -0
- package/esm2022/badge/badge.config.mjs +2 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/public-api.mjs +4 -0
- package/esm2022/badge/upd-badge.module.mjs +24 -0
- package/esm2022/badge/updevs-components-badge.mjs +5 -0
- package/esm2022/button/button.component.mjs +126 -132
- package/esm2022/button/index.mjs +1 -1
- package/esm2022/button/public-api.mjs +1 -1
- package/esm2022/button/upd-button.module.mjs +14 -6
- package/esm2022/button/updevs-components-button.mjs +1 -1
- package/esm2022/calendar/assets/i18n/en.json +16 -0
- package/esm2022/calendar/assets/i18n/pt.json +16 -0
- package/esm2022/calendar/calendar.component.mjs +318 -0
- package/esm2022/calendar/index.mjs +2 -0
- package/esm2022/calendar/models/calendar-date.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-month.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-selected.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
- package/esm2022/calendar/models/calendar-year.model.mjs +2 -0
- package/esm2022/calendar/models/date-range.model.mjs +18 -0
- package/esm2022/calendar/models/enums/calendar-view.enum.mjs +7 -0
- package/esm2022/calendar/models/public-api.mjs +8 -0
- package/esm2022/calendar/public-api.mjs +6 -0
- package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
- package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
- package/esm2022/calendar/services/public-api.mjs +2 -0
- package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
- package/esm2022/calendar/types/public-api.mjs +2 -0
- package/esm2022/calendar/upd-calendar.module.mjs +52 -0
- package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
- package/esm2022/card/card.component.mjs +4 -4
- package/esm2022/card/directives/card-actions.directive.mjs +4 -4
- package/esm2022/card/directives/card-footer.directive.mjs +4 -4
- package/esm2022/card/directives/card-header.directive.mjs +4 -4
- package/esm2022/card/directives/card-image.directive.mjs +4 -4
- package/esm2022/card/directives/public-api.mjs +1 -1
- package/esm2022/card/index.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -1
- package/esm2022/card/types/card-state.type.mjs +1 -1
- package/esm2022/card/types/card-style.type.mjs +1 -1
- package/esm2022/card/types/hover-effect.type.mjs +1 -1
- package/esm2022/card/types/public-api.mjs +6 -0
- package/esm2022/card/types/ribbon-style.type.mjs +1 -1
- package/esm2022/card/types/status-position.type.mjs +1 -1
- package/esm2022/card/upd-card.module.mjs +5 -5
- package/esm2022/card/updevs-components-card.mjs +1 -1
- package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
- package/esm2022/drag-and-drop/index.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
- package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
- package/esm2022/drag-and-drop/public-api.mjs +4 -0
- package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
- package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
- package/esm2022/dropdown/dropdown.component.mjs +79 -21
- package/esm2022/dropdown/index.mjs +1 -1
- package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
- package/esm2022/dropdown/models/dropdown-item.mjs +1 -1
- package/esm2022/dropdown/models/dropdown-item.type.mjs +1 -1
- package/esm2022/dropdown/models/public-api.mjs +3 -1
- package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
- package/esm2022/dropdown/public-api.mjs +1 -1
- package/esm2022/dropdown/upd-dropdown.module.mjs +5 -5
- package/esm2022/dropdown/updevs-components-dropdown.mjs +1 -1
- package/esm2022/form/assets/i18n/en.json +17 -0
- package/esm2022/form/assets/i18n/pt.json +17 -0
- package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +166 -0
- package/esm2022/form/form.component.mjs +180 -0
- package/esm2022/form/index.mjs +1 -1
- package/esm2022/form/models/attachment-rule.model.mjs +2 -0
- package/esm2022/form/models/button-field.model.mjs +2 -0
- package/esm2022/form/models/button-group-field.model.mjs +2 -0
- package/esm2022/form/models/checkbox-field.model.mjs +2 -0
- package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
- package/esm2022/form/models/dynamic-field.model.mjs +2 -0
- package/esm2022/form/models/enums/attachment-type.enum.mjs +15 -0
- package/esm2022/form/models/enums/dynamic-field.type.mjs +17 -0
- package/esm2022/form/models/enums/public-api.mjs +3 -0
- package/esm2022/form/models/file-upload-field.model.mjs +2 -0
- package/esm2022/form/models/form-config.mjs +2 -0
- package/esm2022/form/models/form-row.model.mjs +2 -0
- package/esm2022/form/models/form-update-on.type.mjs +2 -0
- package/esm2022/form/models/input-field.model.mjs +2 -0
- package/esm2022/form/models/masked-input-field.model.mjs +2 -0
- package/esm2022/form/models/public-api.mjs +19 -0
- package/esm2022/form/models/radio-field.model.mjs +2 -0
- package/esm2022/form/models/radio-group-field.model.mjs +2 -0
- package/esm2022/form/models/select-field.model.mjs +2 -0
- package/esm2022/form/models/single-select-field.model.mjs +2 -0
- package/esm2022/form/models/textarea-field.model.mjs +2 -0
- package/esm2022/form/models/validator-config.mjs +2 -0
- package/esm2022/form/public-api.mjs +4 -2
- package/esm2022/form/tools/errors-helper.mjs +54 -0
- package/esm2022/form/upd-form.module.mjs +84 -0
- package/esm2022/form/updevs-components-form.mjs +1 -1
- package/esm2022/form-controls/abstractions/base-control.mjs +46 -0
- package/esm2022/form-controls/abstractions/index.mjs +2 -0
- package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
- package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
- package/esm2022/form-controls/checkbox/checkbox.component.mjs +37 -51
- package/esm2022/form-controls/checkbox/index.mjs +1 -1
- package/esm2022/form-controls/checkbox/public-api.mjs +1 -1
- package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +12 -8
- package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +1 -1
- package/esm2022/form-controls/date-picker/date-picker.component.mjs +132 -0
- package/esm2022/form-controls/date-picker/index.mjs +2 -0
- package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
- package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
- package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
- package/esm2022/form-controls/file-upload/assets/i18n/en.json +15 -0
- package/esm2022/form-controls/file-upload/assets/i18n/pt.json +15 -0
- package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +2 -0
- package/esm2022/form-controls/file-upload/file-upload.component.mjs +169 -0
- package/esm2022/form-controls/file-upload/index.mjs +2 -0
- package/esm2022/form-controls/file-upload/public-api.mjs +4 -0
- package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +48 -0
- package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +5 -0
- package/esm2022/form-controls/input/directives/input-append.directive.mjs +4 -4
- package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +4 -4
- package/esm2022/form-controls/input/directives/public-api.mjs +1 -1
- package/esm2022/form-controls/input/index.mjs +1 -1
- package/esm2022/form-controls/input/input.component.mjs +75 -35
- package/esm2022/form-controls/input/public-api.mjs +1 -1
- package/esm2022/form-controls/input/types/input.type.mjs +1 -1
- package/esm2022/form-controls/input/types/loader-position.type.mjs +1 -1
- package/esm2022/form-controls/input/types/public-api.mjs +1 -1
- package/esm2022/form-controls/input/upd-input.module.mjs +5 -5
- package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +1 -1
- package/esm2022/form-controls/radio/index.mjs +1 -1
- package/esm2022/form-controls/radio/public-api.mjs +1 -1
- package/esm2022/form-controls/radio/radio.component.mjs +12 -25
- package/esm2022/form-controls/radio/upd-radio.module.mjs +14 -6
- package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +1 -1
- package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +38 -14
- package/esm2022/form-controls/select/components/single/select.component.mjs +45 -21
- package/esm2022/form-controls/select/index.mjs +1 -1
- package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +129 -106
- package/esm2022/form-controls/select/models/defaults.mjs +8 -0
- package/esm2022/form-controls/select/models/public-api.mjs +2 -1
- package/esm2022/form-controls/select/models/select-item.mjs +1 -1
- package/esm2022/form-controls/select/public-api.mjs +1 -1
- package/esm2022/form-controls/select/upd-select.module.mjs +10 -6
- package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +1 -1
- package/esm2022/form-controls/textarea/index.mjs +1 -1
- package/esm2022/form-controls/textarea/public-api.mjs +1 -1
- package/esm2022/form-controls/textarea/textarea.component.mjs +18 -36
- package/esm2022/form-controls/textarea/upd-textarea.module.mjs +5 -5
- package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +1 -1
- package/esm2022/form-controls/time-picker/index.mjs +1 -1
- package/esm2022/form-controls/time-picker/public-api.mjs +1 -1
- package/esm2022/form-controls/time-picker/time-picker.component.mjs +4 -4
- package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +5 -5
- package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +8 -7
- package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +1 -1
- package/esm2022/index.mjs +2 -0
- package/esm2022/layout/abstractions/base-page.component.mjs +6 -7
- package/esm2022/layout/abstractions/base.layout.mjs +31 -0
- package/esm2022/layout/abstractions/public-api.mjs +1 -1
- package/esm2022/layout/assets/i18n/en.json +24 -2
- package/esm2022/layout/assets/i18n/pt.json +24 -2
- package/esm2022/layout/index.mjs +1 -1
- package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +18 -7
- package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +32 -6
- package/esm2022/layout/layouts/public-api.mjs +1 -1
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +8 -22
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +24 -27
- package/esm2022/layout/models/login-page-config.model.mjs +20 -0
- package/esm2022/layout/models/login-page.config.mjs +2 -0
- package/esm2022/layout/models/public-api.mjs +2 -1
- package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
- package/esm2022/layout/models/security-layout.config.mjs +2 -0
- package/esm2022/layout/models/upd-layout-config.model.mjs +11 -17
- package/esm2022/layout/models/upd-layout.config.mjs +1 -1
- package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +5 -5
- package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +36 -9
- package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +4 -4
- package/esm2022/layout/pages/auth-flow/login/login.component.mjs +95 -12
- package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +4 -4
- package/esm2022/layout/pages/auth-flow/public-api.mjs +1 -1
- package/esm2022/layout/pages/public-api.mjs +1 -1
- package/esm2022/layout/partials/footer/footer.component.mjs +9 -24
- package/esm2022/layout/partials/footer/footer.module.mjs +28 -0
- package/esm2022/layout/partials/footer/public-api.mjs +2 -2
- package/esm2022/layout/partials/header/header-style.type.mjs +1 -1
- package/esm2022/layout/partials/header/header.component.mjs +115 -52
- package/esm2022/layout/partials/header/header.module.mjs +40 -0
- package/esm2022/layout/partials/header/public-api.mjs +2 -1
- package/esm2022/layout/partials/page-header/page-header.component.mjs +10 -9
- package/esm2022/layout/partials/page-header/public-api.mjs +1 -1
- package/esm2022/layout/partials/public-api.mjs +1 -1
- package/esm2022/layout/partials/sidebar/public-api.mjs +1 -1
- package/esm2022/layout/partials/sidebar/sidebar.component.mjs +177 -86
- package/esm2022/layout/public-api.mjs +1 -1
- package/esm2022/layout/services/public-api.mjs +1 -1
- package/esm2022/layout/services/upd-layout-config.service.mjs +4 -4
- package/esm2022/layout/tools/layout.constants.mjs +1 -1
- package/esm2022/layout/upd-layout.module.mjs +12 -8
- package/esm2022/layout/updevs-components-layout.mjs +1 -1
- package/esm2022/lib/index.mjs +1 -1
- package/esm2022/lib/models/public-api.mjs +2 -0
- package/esm2022/lib/models/row-column-size.mjs +2 -0
- package/esm2022/lib/public-api.mjs +3 -1
- package/esm2022/lib/tools/column-size.helper.mjs +12 -0
- package/esm2022/lib/tools/public-api.mjs +2 -0
- package/esm2022/lib/types/component-size.type.mjs +1 -1
- package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
- package/esm2022/lib/types/public-api.mjs +2 -1
- package/esm2022/lib/types/validation-status.type.mjs +1 -1
- package/esm2022/lib/upd-components.module.mjs +5 -5
- package/esm2022/link/index.mjs +1 -1
- package/esm2022/link/link.component.mjs +4 -4
- package/esm2022/link/public-api.mjs +1 -1
- package/esm2022/link/target.type.mjs +1 -1
- package/esm2022/link/upd-link.module.mjs +5 -5
- package/esm2022/link/updevs-components-link.mjs +1 -1
- package/esm2022/list/assets/i18n/en.json +7 -3
- package/esm2022/list/assets/i18n/pt.json +7 -3
- package/esm2022/list/index.mjs +1 -1
- package/esm2022/list/list.component.mjs +9 -29
- package/esm2022/list/models/badge-position.type.mjs +1 -1
- package/esm2022/list/models/list-item.mjs +1 -1
- package/esm2022/list/models/list-item.model.mjs +7 -2
- package/esm2022/list/models/public-api.mjs +1 -1
- package/esm2022/list/public-api.mjs +1 -1
- package/esm2022/list/upd-list.module.mjs +8 -7
- package/esm2022/list/updevs-components-list.mjs +1 -1
- package/esm2022/modal/assets/i18n/en.json +17 -0
- package/esm2022/modal/assets/i18n/pt.json +17 -0
- package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
- package/esm2022/modal/index.mjs +2 -0
- package/esm2022/modal/models/base.modal.mjs +14 -0
- package/esm2022/modal/models/modal-config.model.mjs +20 -0
- package/esm2022/modal/models/modal-ref.mjs +2 -0
- package/esm2022/modal/models/modal.config.mjs +2 -0
- package/esm2022/modal/models/public-api.mjs +4 -0
- package/esm2022/modal/public-api.mjs +4 -0
- package/esm2022/modal/services/modal-alert.service.mjs +99 -0
- package/esm2022/modal/services/modal.service.mjs +30 -0
- package/esm2022/modal/services/public-api.mjs +3 -0
- package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
- package/esm2022/modal/types/modal-size.type.mjs +2 -0
- package/esm2022/modal/upd-modal.module.mjs +90 -0
- package/esm2022/modal/updevs-components-modal.mjs +5 -0
- package/esm2022/paginator/assets/i18n/en.json +15 -0
- package/esm2022/paginator/assets/i18n/pt.json +15 -0
- package/esm2022/paginator/index.mjs +2 -0
- package/esm2022/paginator/paginator.component.mjs +66 -0
- package/esm2022/paginator/public-api.mjs +3 -0
- package/esm2022/paginator/upd-paginator.module.mjs +47 -0
- package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
- package/esm2022/popover/index.mjs +1 -1
- package/esm2022/popover/popover.component.mjs +6 -6
- package/esm2022/popover/popover.directive.mjs +23 -32
- package/esm2022/popover/public-api.mjs +1 -1
- package/esm2022/popover/upd-popover.module.mjs +5 -5
- package/esm2022/popover/updevs-components-popover.mjs +1 -1
- package/esm2022/pricing/index.mjs +2 -0
- package/esm2022/pricing/models/price-item-feature.model.mjs +2 -0
- package/esm2022/pricing/models/price-item-features-group.model.mjs +2 -0
- package/esm2022/pricing/models/price-item-tag.model.mjs +2 -0
- package/esm2022/pricing/models/price-item.model.mjs +2 -0
- package/esm2022/pricing/models/public-api.mjs +5 -0
- package/esm2022/pricing/pricing-cards/pricing-cards.component.mjs +27 -0
- package/esm2022/pricing/pricing-table/pricing-table.component.mjs +57 -0
- package/esm2022/pricing/public-api.mjs +5 -0
- package/esm2022/pricing/upd-pricing.module.mjs +49 -0
- package/esm2022/pricing/updevs-components-pricing.mjs +5 -0
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/table/abstractions/base-column.model.mjs +52 -0
- package/esm2022/table/abstractions/base.column.mjs +84 -0
- package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
- package/esm2022/table/abstractions/public-api.mjs +3 -0
- package/esm2022/table/assets/i18n/en.json +74 -0
- package/esm2022/table/assets/i18n/pt.json +74 -0
- package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
- package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
- package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
- package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
- package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
- package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
- package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
- package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
- package/esm2022/table/directives/public-api.mjs +2 -0
- package/esm2022/table/directives/table-column.directive.mjs +52 -0
- package/esm2022/table/index.mjs +2 -0
- package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
- package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
- package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
- package/esm2022/table/models/columns/image-column.model.mjs +11 -0
- package/esm2022/table/models/columns/number-column.model.mjs +17 -0
- package/esm2022/table/models/columns/public-api.mjs +7 -0
- package/esm2022/table/models/columns/text-column.model.mjs +11 -0
- package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
- package/esm2022/table/models/enums/public-api.mjs +2 -0
- package/esm2022/table/models/filter-item.model.mjs +2 -0
- package/esm2022/table/models/filter-operand.config.mjs +2 -0
- package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
- package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
- package/esm2022/table/models/public-api.mjs +5 -0
- package/esm2022/table/models/saved-view.model.mjs +2 -0
- package/esm2022/table/models/table-config.model.mjs +29 -0
- package/esm2022/table/models/table.config.mjs +2 -0
- package/esm2022/table/models/upd-table-config.model.mjs +9 -0
- package/esm2022/table/models/upd-table.config.mjs +2 -0
- package/esm2022/table/public-api.mjs +6 -0
- package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
- package/esm2022/table/services/storages/saved-views.storage.mjs +56 -0
- package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
- package/esm2022/table/services/upd-table-config.service.mjs +18 -0
- package/esm2022/table/table.component.mjs +439 -0
- package/esm2022/table/tools/filters.tools.mjs +48 -0
- package/esm2022/table/tools/table.constants.mjs +15 -0
- package/esm2022/table/upd-table.module.mjs +150 -0
- package/esm2022/table/updevs-components-table.mjs +5 -0
- package/esm2022/updevs-components.mjs +2 -2
- package/fesm2022/updevs-components-badge.mjs +89 -0
- package/fesm2022/updevs-components-badge.mjs.map +1 -0
- package/fesm2022/updevs-components-button.mjs +138 -136
- package/fesm2022/updevs-components-button.mjs.map +1 -1
- package/fesm2022/updevs-components-calendar.mjs +582 -0
- package/fesm2022/updevs-components-calendar.mjs.map +1 -0
- package/fesm2022/updevs-components-card.mjs +20 -20
- package/fesm2022/updevs-components-card.mjs.map +1 -1
- package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
- package/fesm2022/updevs-components-dropdown.mjs +83 -25
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-abstractions.mjs +53 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs +47 -57
- package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs +264 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-input.mjs +84 -44
- package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-radio.mjs +25 -30
- package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-select.mjs +219 -139
- package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-textarea.mjs +21 -39
- package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-time-picker.mjs +14 -13
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
- package/fesm2022/updevs-components-form.mjs +533 -10
- package/fesm2022/updevs-components-form.mjs.map +1 -1
- package/fesm2022/updevs-components-layout.mjs +757 -375
- package/fesm2022/updevs-components-layout.mjs.map +1 -1
- package/fesm2022/updevs-components-link.mjs +8 -8
- package/fesm2022/updevs-components-link.mjs.map +1 -1
- package/fesm2022/updevs-components-list.mjs +39 -53
- package/fesm2022/updevs-components-list.mjs.map +1 -1
- package/fesm2022/updevs-components-modal.mjs +504 -0
- package/fesm2022/updevs-components-modal.mjs.map +1 -0
- package/fesm2022/updevs-components-paginator.mjs +160 -0
- package/fesm2022/updevs-components-paginator.mjs.map +1 -0
- package/fesm2022/updevs-components-popover.mjs +30 -39
- package/fesm2022/updevs-components-popover.mjs.map +1 -1
- package/fesm2022/updevs-components-pricing.mjs +130 -0
- package/fesm2022/updevs-components-pricing.mjs.map +1 -0
- package/fesm2022/updevs-components-table.mjs +1754 -0
- package/fesm2022/updevs-components-table.mjs.map +1 -0
- package/fesm2022/updevs-components.mjs +17 -5
- package/fesm2022/updevs-components.mjs.map +1 -1
- package/form/components/dynamic-field/dynamic-field.component.d.ts +63 -0
- package/form/form.component.d.ts +64 -0
- package/form/models/attachment-rule.model.d.ts +35 -0
- package/form/models/button-field.model.d.ts +5 -0
- package/form/models/button-group-field.model.d.ts +5 -0
- package/form/models/checkbox-field.model.d.ts +4 -0
- package/form/models/checkbox-group-field.model.d.ts +6 -0
- package/form/models/dynamic-field.model.d.ts +49 -0
- package/form/models/enums/attachment-type.enum.d.ts +13 -0
- package/form/models/enums/dynamic-field.type.d.ts +15 -0
- package/form/models/enums/public-api.d.ts +2 -0
- package/form/models/file-upload-field.model.d.ts +16 -0
- package/form/models/form-config.d.ts +2 -0
- package/form/models/form-row.model.d.ts +10 -0
- package/form/models/form-update-on.type.d.ts +1 -0
- package/form/models/input-field.model.d.ts +9 -0
- package/form/models/masked-input-field.model.d.ts +6 -0
- package/form/models/public-api.d.ts +18 -0
- package/form/models/radio-field.model.d.ts +4 -0
- package/form/models/radio-group-field.model.d.ts +6 -0
- package/form/models/select-field.model.d.ts +29 -0
- package/form/models/single-select-field.model.d.ts +4 -0
- package/form/models/textarea-field.model.d.ts +10 -0
- package/form/models/validator-config.d.ts +5 -0
- package/form/public-api.d.ts +3 -1
- package/form/tools/errors-helper.d.ts +11 -0
- package/form/upd-form.module.d.ts +22 -0
- package/form-controls/abstractions/base-control.d.ts +29 -0
- package/form-controls/abstractions/index.d.ts +2 -0
- package/form-controls/abstractions/public-api.d.ts +2 -0
- package/form-controls/checkbox/checkbox.component.d.ts +14 -20
- package/form-controls/checkbox/upd-checkbox.module.d.ts +2 -1
- package/form-controls/date-picker/date-picker.component.d.ts +66 -0
- package/form-controls/date-picker/index.d.ts +1 -0
- package/form-controls/date-picker/public-api.d.ts +2 -0
- package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
- package/form-controls/file-upload/file-upload-changed.event.d.ts +4 -0
- package/form-controls/file-upload/file-upload.component.d.ts +46 -0
- package/form-controls/file-upload/index.d.ts +1 -0
- package/form-controls/file-upload/public-api.d.ts +3 -0
- package/form-controls/file-upload/upd-file-upload.module.d.ts +14 -0
- package/form-controls/input/input.component.d.ts +27 -14
- package/form-controls/radio/radio.component.d.ts +5 -12
- package/form-controls/radio/upd-radio.module.d.ts +3 -1
- package/form-controls/select/components/multiple/select-multiple.component.d.ts +13 -2
- package/form-controls/select/components/single/select.component.d.ts +12 -4
- package/form-controls/select/models/abstractions/base-select.component.d.ts +36 -32
- package/form-controls/select/models/defaults.d.ts +8 -0
- package/form-controls/select/models/public-api.d.ts +1 -0
- package/form-controls/select/upd-select.module.d.ts +3 -2
- package/form-controls/textarea/textarea.component.d.ts +11 -15
- package/form-controls/time-picker/upd-time-picker.module.d.ts +2 -2
- package/index.d.ts +1 -4
- package/layout/abstractions/base.layout.d.ts +15 -0
- package/layout/layouts/blank-layout/blank-layout.component.d.ts +5 -1
- package/layout/layouts/blank-layout/blank-layout.module.d.ts +8 -1
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +2 -8
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +14 -13
- package/layout/models/login-page-config.model.d.ts +46 -0
- package/layout/models/login-page.config.d.ts +44 -0
- package/layout/models/public-api.d.ts +1 -0
- package/layout/models/security-layout-config.model.d.ts +12 -0
- package/layout/models/security-layout.config.d.ts +10 -0
- package/layout/models/upd-layout-config.model.d.ts +9 -0
- package/layout/models/upd-layout.config.d.ts +9 -0
- package/layout/pages/auth-flow/auth-flow.module.d.ts +9 -2
- package/layout/pages/auth-flow/login/login.component.d.ts +20 -6
- package/layout/partials/footer/footer.component.d.ts +4 -13
- package/layout/partials/footer/footer.module.d.ts +9 -0
- package/layout/partials/footer/public-api.d.ts +1 -1
- package/layout/partials/header/header.component.d.ts +41 -21
- package/layout/partials/header/header.module.d.ts +12 -0
- package/layout/partials/header/public-api.d.ts +1 -0
- package/layout/partials/page-header/page-header.component.d.ts +2 -2
- package/layout/partials/sidebar/sidebar.component.d.ts +28 -1
- package/layout/upd-layout.module.d.ts +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/models/public-api.d.ts +2 -0
- package/lib/models/row-column-size.d.ts +23 -0
- package/lib/public-api.d.ts +3 -0
- package/lib/tools/column-size.helper.d.ts +6 -0
- package/lib/tools/public-api.d.ts +2 -0
- package/lib/types/component-size.type.d.ts +1 -0
- package/lib/types/horizontal-vertical.type.d.ts +2 -0
- package/lib/types/public-api.d.ts +2 -0
- package/lib/types/validation-status.type.d.ts +1 -0
- package/lib/upd-components.module.d.ts +1 -0
- package/list/list.component.d.ts +1 -16
- package/list/models/list-item.d.ts +4 -2
- package/list/models/list-item.model.d.ts +4 -2
- package/list/upd-list.module.d.ts +2 -2
- package/modal/components/modal-container/modal-container.component.d.ts +74 -0
- package/modal/index.d.ts +1 -0
- package/modal/models/base.modal.d.ts +8 -0
- package/modal/models/modal-config.model.d.ts +32 -0
- package/modal/models/modal-ref.d.ts +6 -0
- package/modal/models/modal.config.d.ts +30 -0
- package/modal/models/public-api.d.ts +3 -0
- package/modal/public-api.d.ts +3 -0
- package/modal/services/modal-alert.service.d.ts +22 -0
- package/modal/services/modal.service.d.ts +12 -0
- package/modal/services/public-api.d.ts +2 -0
- package/modal/types/modal-footer-style.type.d.ts +1 -0
- package/modal/types/modal-size.type.d.ts +1 -0
- package/modal/upd-modal.module.d.ts +18 -0
- package/package.json +67 -6
- package/paginator/index.d.ts +1 -0
- package/paginator/paginator.component.d.ts +42 -0
- package/paginator/public-api.d.ts +2 -0
- package/paginator/upd-paginator.module.d.ts +14 -0
- package/popover/popover.component.d.ts +2 -2
- package/pricing/index.d.ts +1 -0
- package/pricing/models/price-item-feature.model.d.ts +7 -0
- package/pricing/models/price-item-features-group.model.d.ts +5 -0
- package/pricing/models/price-item-tag.model.d.ts +6 -0
- package/pricing/models/price-item.model.d.ts +22 -0
- package/pricing/models/public-api.d.ts +4 -0
- package/pricing/pricing-cards/pricing-cards.component.d.ts +12 -0
- package/pricing/pricing-table/pricing-table.component.d.ts +30 -0
- package/pricing/public-api.d.ts +4 -0
- package/pricing/upd-pricing.module.d.ts +14 -0
- package/public-api.d.ts +1 -0
- package/table/abstractions/base-column.model.d.ts +31 -0
- package/table/abstractions/base.column.d.ts +26 -0
- package/table/abstractions/filters-operands.service.d.ts +8 -0
- package/table/abstractions/public-api.d.ts +2 -0
- package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
- package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
- package/table/components/columns/number-column/number-column.component.d.ts +7 -0
- package/table/components/columns/text-column/text-column.component.d.ts +9 -0
- package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
- package/table/components/filter-row/filter-row.component.d.ts +40 -0
- package/table/components/save-search/save-search.component.d.ts +17 -0
- package/table/components/search-section/search-section.component.d.ts +36 -0
- package/table/directives/public-api.d.ts +1 -0
- package/table/directives/table-column.directive.d.ts +14 -0
- package/table/index.d.ts +1 -0
- package/table/models/columns/boolean-column.model.d.ts +15 -0
- package/table/models/columns/date-time-column.model.d.ts +8 -0
- package/table/models/columns/guid-column.model.d.ts +4 -0
- package/table/models/columns/image-column.model.d.ts +6 -0
- package/table/models/columns/number-column.model.d.ts +8 -0
- package/table/models/columns/public-api.d.ts +6 -0
- package/table/models/columns/text-column.model.d.ts +6 -0
- package/table/models/enums/column-type.enum.d.ts +13 -0
- package/table/models/enums/public-api.d.ts +1 -0
- package/table/models/filter-item.model.d.ts +6 -0
- package/table/models/filter-operand.config.d.ts +9 -0
- package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
- package/table/models/public-api.d.ts +4 -0
- package/table/models/saved-view.model.d.ts +11 -0
- package/table/models/table-config.model.d.ts +33 -0
- package/table/models/table.config.d.ts +31 -0
- package/table/models/upd-table-config.model.d.ts +6 -0
- package/table/models/upd-table.config.d.ts +6 -0
- package/table/public-api.d.ts +5 -0
- package/table/services/default-filters-operands.service.d.ts +17 -0
- package/table/services/storages/saved-views.storage.d.ts +19 -0
- package/table/services/stores/filters-operands.store.d.ts +11 -0
- package/table/services/upd-table-config.service.d.ts +12 -0
- package/table/table.component.d.ts +81 -0
- package/table/tools/filters.tools.d.ts +9 -0
- package/table/tools/table.constants.d.ts +15 -0
- package/table/upd-table.module.d.ts +40 -0
- package/esm2022/form/form.module.mjs +0 -18
- package/esm2022/layout/partials/footer/footer-copyright.directive.mjs +0 -13
- package/form/form.module.d.ts +0 -7
- package/layout/partials/footer/footer-copyright.directive.d.ts +0 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormRowModel } from '@updevs/components/form';
|
|
4
|
+
import { BaseModal } from '@updevs/components/modal';
|
|
5
|
+
import { SavedViewModel } from '../../models/saved-view.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SaveSearchComponent extends BaseModal<SavedViewModel> implements OnInit {
|
|
8
|
+
formGroup: import("@angular/core").ModelSignal<FormGroup<{}>>;
|
|
9
|
+
formRows: FormRowModel[];
|
|
10
|
+
private readonly savedViewsStorage;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
cancel(): void;
|
|
13
|
+
save(): void;
|
|
14
|
+
private uniqueNameValidator;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SaveSearchComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SaveSearchComponent, "upd-save-search", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "formGroup": "formGroupChange"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TemplateRef, OnInit } from '@angular/core';
|
|
2
|
+
import { SearchRequestModel } from '@updevs/sdk/stores';
|
|
3
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
4
|
+
import { OptionalType, BgColorStyleType } from '@updevs/sdk/types';
|
|
5
|
+
import { BadgeConfig } from '@updevs/components/badge';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { FilterItemModel } from '../../models/filter-item.model';
|
|
8
|
+
import { TableConfigModel } from '../../models/table-config.model';
|
|
9
|
+
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class SearchSectionComponent<T> extends BaseComponent implements OnInit {
|
|
12
|
+
wrapperClass: string;
|
|
13
|
+
searchRequest: import("@angular/core").ModelSignal<SearchRequestModel>;
|
|
14
|
+
hasChanges: import("@angular/core").ModelSignal<boolean>;
|
|
15
|
+
columns: import("@angular/core").InputSignal<BaseColumnModel[]>;
|
|
16
|
+
isSearching: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
searchRequestSubject: import("@angular/core").InputSignal<Subject<SearchRequestModel>>;
|
|
18
|
+
config: import("@angular/core").InputSignal<TableConfigModel<T>>;
|
|
19
|
+
actionsTpl: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
20
|
+
activeFilters: import("@angular/core").WritableSignal<FilterItemModel[]>;
|
|
21
|
+
isFilterSectionOpen: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
canApplyFilters: import("@angular/core").Signal<boolean>;
|
|
23
|
+
canPerformActions: import("@angular/core").Signal<boolean>;
|
|
24
|
+
badgeConfig: import("@angular/core").Signal<OptionalType<BadgeConfig>>;
|
|
25
|
+
filterSectionBtnColor: import("@angular/core").Signal<BgColorStyleType | undefined>;
|
|
26
|
+
readonly searchSubject: Subject<string>;
|
|
27
|
+
private readonly filtersOperandsService;
|
|
28
|
+
constructor();
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
search(): void;
|
|
31
|
+
toggleFilterSection(): void;
|
|
32
|
+
onRowRemoved(): void;
|
|
33
|
+
addEmptyFilterRow(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchSectionComponent<any>, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchSectionComponent<any>, "upd-search-section", never, { "searchRequest": { "alias": "searchRequest"; "required": true; "isSignal": true; }; "hasChanges": { "alias": "hasChanges"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "isSearching": { "alias": "isSearching"; "required": true; "isSignal": true; }; "searchRequestSubject": { "alias": "searchRequestSubject"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "actionsTpl": { "alias": "actionsTpl"; "required": false; "isSignal": true; }; }, { "searchRequest": "searchRequestChange"; "hasChanges": "hasChangesChange"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './table-column.directive';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentType } from '@updevs/sdk/types';
|
|
2
|
+
import { BaseColumnModel } from '../abstractions/base-column.model';
|
|
3
|
+
import { BaseColumn } from '../abstractions/base.column';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableColumnDirective<TConfig extends BaseColumnModel> {
|
|
6
|
+
record: import("@angular/core").InputSignal<unknown>;
|
|
7
|
+
config: import("@angular/core").InputSignal<TConfig>;
|
|
8
|
+
private readonly viewContainerRef;
|
|
9
|
+
private readonly dynamicLoaderService;
|
|
10
|
+
constructor();
|
|
11
|
+
getComponentType(): ComponentType<BaseColumn<TConfig>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDirective<any>, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDirective<any>, "[updTableColumn]", never, { "record": { "alias": "record"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
package/table/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { ColorStyleType } from '@updevs/sdk/types';
|
|
4
|
+
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
5
|
+
export declare class BooleanColumnModel extends BaseColumnModel {
|
|
6
|
+
displayType: 'text' | 'toggle' | 'icon';
|
|
7
|
+
trueText: TextModel;
|
|
8
|
+
falseText: TextModel;
|
|
9
|
+
trueIcon: IconModel;
|
|
10
|
+
falseIcon: IconModel;
|
|
11
|
+
trueColor: ColorStyleType;
|
|
12
|
+
falseColor: ColorStyleType;
|
|
13
|
+
shouldColorHighlight: boolean;
|
|
14
|
+
constructor(init?: Partial<BooleanColumnModel>);
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DateTimeFormatEnum } from '@updevs/sdk/core';
|
|
2
|
+
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
3
|
+
export declare class DateTimeColumnModel extends BaseColumnModel {
|
|
4
|
+
format: DateTimeFormatEnum;
|
|
5
|
+
customFormat?: string;
|
|
6
|
+
get dateTimeFormat(): string;
|
|
7
|
+
constructor(init?: Partial<DateTimeColumnModel>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
2
|
+
export declare class NumberColumnModel extends BaseColumnModel {
|
|
3
|
+
minIntegerDigits: number;
|
|
4
|
+
minFractionDigits: number;
|
|
5
|
+
maxFractionDigits: number;
|
|
6
|
+
get numberFormat(): string;
|
|
7
|
+
constructor(init?: Partial<NumberColumnModel>);
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextTransformType } from '@updevs/sdk/types';
|
|
2
|
+
import { BaseColumnModel } from '../../abstractions/base-column.model';
|
|
3
|
+
export declare class TextColumnModel extends BaseColumnModel {
|
|
4
|
+
transform?: TextTransformType;
|
|
5
|
+
constructor(init?: Partial<TextColumnModel>);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './column-type.enum';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { FilterBooleanOperandEnum, FilterOperandEnum, FilterDateOperandEnum, FilterNumberOperandEnum } from '@updevs/sdk/stores';
|
|
4
|
+
export interface FilterOperandConfig {
|
|
5
|
+
operand: FilterOperandEnum | FilterBooleanOperandEnum | FilterDateOperandEnum | FilterNumberOperandEnum;
|
|
6
|
+
text: TextModel;
|
|
7
|
+
icon: IconModel;
|
|
8
|
+
requiresValue: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
2
|
+
import { FilterOperandConfig } from '../filter-operand.config';
|
|
3
|
+
export declare class BooleanFilterOperandsListModel {
|
|
4
|
+
static options: DictionaryType<FilterOperandConfig>;
|
|
5
|
+
static get optionsAsList(): FilterOperandConfig[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
2
|
+
import { FilterOperandConfig } from '../filter-operand.config';
|
|
3
|
+
export declare class DateFilterOperandsListModel {
|
|
4
|
+
static options: DictionaryType<FilterOperandConfig>;
|
|
5
|
+
static get optionsAsList(): FilterOperandConfig[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
2
|
+
import { FilterOperandConfig } from '../filter-operand.config';
|
|
3
|
+
export declare class GuidFilterOperandsListModel {
|
|
4
|
+
static options: DictionaryType<FilterOperandConfig>;
|
|
5
|
+
static get optionsAsList(): FilterOperandConfig[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
2
|
+
import { FilterOperandConfig } from '../filter-operand.config';
|
|
3
|
+
export declare class NumberFilterOperandsListModel {
|
|
4
|
+
static options: DictionaryType<FilterOperandConfig>;
|
|
5
|
+
static get optionsAsList(): FilterOperandConfig[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
2
|
+
import { FilterOperandConfig } from '../filter-operand.config';
|
|
3
|
+
export declare class StringFilterOperandsListModel {
|
|
4
|
+
static options: DictionaryType<FilterOperandConfig>;
|
|
5
|
+
static get optionsAsList(): FilterOperandConfig[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SearchRequestModel } from '@updevs/sdk/stores';
|
|
2
|
+
import { BaseColumnModel } from '../abstractions/base-column.model';
|
|
3
|
+
export interface SavedViewModel {
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
tableName: string;
|
|
7
|
+
isDefault?: boolean;
|
|
8
|
+
userId?: string;
|
|
9
|
+
request: SearchRequestModel;
|
|
10
|
+
columns: BaseColumnModel[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TextModel } from '@updevs/sdk';
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { BaseSearchStore } from '@updevs/sdk/stores';
|
|
4
|
+
import { GetByIdType } from '@updevs/sdk/types';
|
|
5
|
+
import { TableConfig } from './table.config';
|
|
6
|
+
import { BaseColumnModel } from '../abstractions/base-column.model';
|
|
7
|
+
export declare class TableConfigModel<T> implements TableConfig<T> {
|
|
8
|
+
name: string;
|
|
9
|
+
store?: BaseSearchStore<T>;
|
|
10
|
+
columns: BaseColumnModel[];
|
|
11
|
+
title?: TextModel;
|
|
12
|
+
canSearch: boolean;
|
|
13
|
+
canSaveViews: boolean;
|
|
14
|
+
canLoadSavedViews: boolean;
|
|
15
|
+
canManageColumns: boolean;
|
|
16
|
+
shouldAutoSearch: boolean;
|
|
17
|
+
hasCheckboxColumn: boolean;
|
|
18
|
+
isResponsive: boolean;
|
|
19
|
+
hasStickyHeader: boolean;
|
|
20
|
+
data: T[];
|
|
21
|
+
preSelectedItems: T[];
|
|
22
|
+
searchInputDebounceTime: number;
|
|
23
|
+
/**
|
|
24
|
+
* Actions added to each record row as a group of buttons.
|
|
25
|
+
*/
|
|
26
|
+
customActions: ButtonModel[];
|
|
27
|
+
/**
|
|
28
|
+
* Actions added to the header of the table as regular buttons.
|
|
29
|
+
*/
|
|
30
|
+
customHeaderActions: ButtonModel[];
|
|
31
|
+
constructor(init?: TableConfig<T>);
|
|
32
|
+
getIdFunction: GetByIdType<T>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TextModel } from '@updevs/sdk';
|
|
2
|
+
import { ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { BaseSearchStore } from '@updevs/sdk/stores';
|
|
4
|
+
import { GetByIdType } from '@updevs/sdk/types';
|
|
5
|
+
import { BaseColumnModel } from '../abstractions/base-column.model';
|
|
6
|
+
export interface TableConfig<T> {
|
|
7
|
+
name: string;
|
|
8
|
+
store?: BaseSearchStore<T>;
|
|
9
|
+
columns: BaseColumnModel[];
|
|
10
|
+
getIdFunction?: GetByIdType<T>;
|
|
11
|
+
title?: TextModel;
|
|
12
|
+
canSearch?: boolean;
|
|
13
|
+
canSaveViews?: boolean;
|
|
14
|
+
canLoadSavedViews?: boolean;
|
|
15
|
+
canManageColumns?: boolean;
|
|
16
|
+
shouldAutoSearch?: boolean;
|
|
17
|
+
hasCheckboxColumn?: boolean;
|
|
18
|
+
isResponsive?: boolean;
|
|
19
|
+
hasStickyHeader?: boolean;
|
|
20
|
+
data?: T[];
|
|
21
|
+
preSelectedItems?: T[];
|
|
22
|
+
searchInputDebounceTime?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Actions added to each record row as a group of buttons.
|
|
25
|
+
*/
|
|
26
|
+
customActions?: ButtonModel[];
|
|
27
|
+
/**
|
|
28
|
+
* Actions added to the header of the table as regular buttons.
|
|
29
|
+
*/
|
|
30
|
+
customHeaderActions?: ButtonModel[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DataTypeEnum } from '@updevs/sdk/stores';
|
|
2
|
+
import { NonNullableDictionaryType } from '@updevs/sdk/types';
|
|
3
|
+
import { FiltersOperandsService } from '../abstractions/filters-operands.service';
|
|
4
|
+
import { FilterOperandConfig } from '../models/filter-operand.config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DefaultFiltersOperandsService extends FiltersOperandsService {
|
|
7
|
+
get isLoaded(): boolean;
|
|
8
|
+
private _isLoaded;
|
|
9
|
+
private readonly configService;
|
|
10
|
+
private readonly filterOperandsStore;
|
|
11
|
+
private readonly cachedData;
|
|
12
|
+
constructor();
|
|
13
|
+
getOperands(type: DataTypeEnum): FilterOperandConfig[];
|
|
14
|
+
getAllOperands(): NonNullableDictionaryType<FilterOperandConfig[]>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFiltersOperandsService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultFiltersOperandsService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { BaseByUserSignalStorage } from '@updevs/sdk/security';
|
|
4
|
+
import { SavedViewModel } from '../../models/saved-view.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SavedViewsStorage extends BaseByUserSignalStorage {
|
|
7
|
+
private readonly lastStateKey;
|
|
8
|
+
constructor();
|
|
9
|
+
saveView(data: SavedViewModel): void;
|
|
10
|
+
saveLastState(data: SavedViewModel): void;
|
|
11
|
+
getById(tableName: string, id: string): Signal<OptionalType<SavedViewModel>>;
|
|
12
|
+
getAll(tableName: string): Signal<SavedViewModel[]>;
|
|
13
|
+
getLastState(tableName: string): Signal<OptionalType<SavedViewModel>>;
|
|
14
|
+
resetAllIsDefault(tableName: string): void;
|
|
15
|
+
removeViews(tableName: string, ...keys: string[]): void;
|
|
16
|
+
getByName(tableName: string, name: string): OptionalType<SavedViewModel>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedViewsStorage, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SavedViewsStorage>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseStore, DataTypeEnum } from '@updevs/sdk/stores';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { UpdTableConfigService } from '../upd-table-config.service';
|
|
4
|
+
import { FilterOperandConfig } from '../../models/filter-operand.config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FiltersOperandsStore extends BaseStore {
|
|
7
|
+
constructor(configService: UpdTableConfigService);
|
|
8
|
+
load(fieldType: DataTypeEnum): Observable<FilterOperandConfig[]>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersOperandsStore, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FiltersOperandsStore>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UpdTableConfig } from '../models/upd-table.config';
|
|
2
|
+
import { UpdTableConfigModel } from '../models/upd-table-config.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UpdTableConfigService {
|
|
5
|
+
/**
|
|
6
|
+
* Configuration (See: #upsee[p:models, i:UpdTableConfigModel]).
|
|
7
|
+
*/
|
|
8
|
+
readonly config: UpdTableConfigModel;
|
|
9
|
+
constructor(layoutConfig: UpdTableConfig);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdTableConfigService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdTableConfigService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OnInit, Signal, ElementRef } from '@angular/core';
|
|
2
|
+
import { TablerIconsType } from '@updevs/icons';
|
|
3
|
+
import { TextService } from '@updevs/sdk';
|
|
4
|
+
import { SelectionModel } from '@updevs/sdk/core';
|
|
5
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
6
|
+
import { BaseComponent, ButtonModel } from '@updevs/sdk/layout';
|
|
7
|
+
import { SearchRequestModel, ColumnSort } from '@updevs/sdk/stores';
|
|
8
|
+
import { DropdownItem } from '@updevs/components/dropdown';
|
|
9
|
+
import { Subject } from 'rxjs';
|
|
10
|
+
import { TableConfig } from './models/table.config';
|
|
11
|
+
import { TableConfigModel } from './models/table-config.model';
|
|
12
|
+
import { BaseColumnModel } from './abstractions/base-column.model';
|
|
13
|
+
import { FilterItemModel } from './models/filter-item.model';
|
|
14
|
+
import { SavedViewModel } from './models/saved-view.model';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export declare class TableComponent<T> extends BaseComponent implements OnInit {
|
|
17
|
+
savedViewsRef: Signal<ElementRef<any> | undefined>;
|
|
18
|
+
config: import("@angular/core").ModelSignal<TableConfig<T>>;
|
|
19
|
+
isSearching: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
+
selectedItems: Signal<T[]>;
|
|
21
|
+
activeSavedView: import("@angular/core").WritableSignal<OptionalType<SavedViewModel>>;
|
|
22
|
+
isMainCheckboxChecked: boolean;
|
|
23
|
+
isMainCheckboxIndeterminate: boolean;
|
|
24
|
+
isSavedViewsDropdownOpen: boolean;
|
|
25
|
+
get numberOfColumns(): number;
|
|
26
|
+
get hasWidth(): boolean;
|
|
27
|
+
get pendingWidthColClass(): string;
|
|
28
|
+
get isWidthInPixels(): boolean;
|
|
29
|
+
readonly searchRequest: import("@angular/core").ModelSignal<SearchRequestModel>;
|
|
30
|
+
readonly activeFilters: import("@angular/core").ModelSignal<FilterItemModel[]>;
|
|
31
|
+
readonly currentPage: import("@angular/core").ModelSignal<number>;
|
|
32
|
+
readonly pageSize: import("@angular/core").ModelSignal<number>;
|
|
33
|
+
readonly hasSearchChanged: import("@angular/core").WritableSignal<boolean>;
|
|
34
|
+
readonly totalRecords: import("@angular/core").WritableSignal<number>;
|
|
35
|
+
readonly configModel: Signal<TableConfigModel<T>>;
|
|
36
|
+
readonly data: Signal<T[]>;
|
|
37
|
+
readonly selectionModel: Signal<SelectionModel<T>>;
|
|
38
|
+
readonly currentSorting: import("@angular/core").WritableSignal<OptionalType<ColumnSort>>;
|
|
39
|
+
readonly hiddenColumns: Signal<number>;
|
|
40
|
+
readonly columns: import("@angular/core").WritableSignal<BaseColumnModel[]>;
|
|
41
|
+
readonly searchRequestSubject: Subject<SearchRequestModel>;
|
|
42
|
+
readonly textService: TextService;
|
|
43
|
+
readonly savedViewsOptions: Signal<DropdownItem[]>;
|
|
44
|
+
private get isRemote();
|
|
45
|
+
private get store();
|
|
46
|
+
private shouldForceSearch;
|
|
47
|
+
private columnsBackup;
|
|
48
|
+
private readonly currentData;
|
|
49
|
+
private readonly currentFavoriteButtons;
|
|
50
|
+
private readonly smallSizeSignal;
|
|
51
|
+
private readonly allSavedViews;
|
|
52
|
+
private readonly favoriteButtons;
|
|
53
|
+
private readonly serverResponseService;
|
|
54
|
+
private readonly savedViewsStorage;
|
|
55
|
+
private readonly modalService;
|
|
56
|
+
private readonly modalAlertService;
|
|
57
|
+
constructor();
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
toggleAllSelection(isChecked: boolean): void;
|
|
60
|
+
toggleItemSelection(record: T): void;
|
|
61
|
+
canSortColumn(columnName: string): boolean;
|
|
62
|
+
sortByColumn(columnName: string): void;
|
|
63
|
+
getSortingIcon(columnName: string): TablerIconsType;
|
|
64
|
+
onPageSettingsChanged(): void;
|
|
65
|
+
getRecordId(record: T): any;
|
|
66
|
+
openColumnsManagerModal(): void;
|
|
67
|
+
openSaveSearchModal(data?: SavedViewModel): void;
|
|
68
|
+
selectSavedView(item: DropdownItem): void;
|
|
69
|
+
resetViewState(): void;
|
|
70
|
+
reload(): void;
|
|
71
|
+
adaptCustomAction(btn: ButtonModel, item: T): ButtonModel;
|
|
72
|
+
private updateColumns;
|
|
73
|
+
private createColumnModel;
|
|
74
|
+
private getColumnByName;
|
|
75
|
+
private setupPreSelected;
|
|
76
|
+
private setupSearchResults;
|
|
77
|
+
private getActionButtons;
|
|
78
|
+
private getSavedViewOption;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "upd-table", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "searchRequest": { "alias": "searchRequest"; "required": false; "isSignal": true; }; "activeFilters": { "alias": "activeFilters"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "searchRequest": "searchRequestChange"; "activeFilters": "activeFiltersChange"; "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; }, never, never, false, never>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseFilter } from '@updevs/sdk/stores';
|
|
2
|
+
import { NonNullableDictionaryType } from '@updevs/sdk/types';
|
|
3
|
+
import { FilterItemModel } from '../models/filter-item.model';
|
|
4
|
+
import { BaseColumnModel } from '../abstractions/base-column.model';
|
|
5
|
+
import { FilterOperandConfig } from '../models/filter-operand.config';
|
|
6
|
+
export declare class FilterTools {
|
|
7
|
+
static convertToFilterItem(filters: BaseFilter[], operands: NonNullableDictionaryType<FilterOperandConfig[]>): FilterItemModel[];
|
|
8
|
+
static convertToRequestFilter(filters: FilterItemModel[], columns: BaseColumnModel[]): BaseFilter[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { UpdTableConfig } from '../models/upd-table.config';
|
|
3
|
+
/**
|
|
4
|
+
* Table constants.
|
|
5
|
+
*/
|
|
6
|
+
export declare class TableConstants {
|
|
7
|
+
/**
|
|
8
|
+
* Key to inject the default configuration.
|
|
9
|
+
*/
|
|
10
|
+
static defaultOptionsKey: string;
|
|
11
|
+
/**
|
|
12
|
+
* Injection token for the default configuration.
|
|
13
|
+
*/
|
|
14
|
+
static defaultOptionsInjectionToken: InjectionToken<UpdTableConfig>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import { UpdTableConfig } from './models/upd-table.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./table.component";
|
|
6
|
+
import * as i2 from "./components/search-section/search-section.component";
|
|
7
|
+
import * as i3 from "./components/filter-row/filter-row.component";
|
|
8
|
+
import * as i4 from "./directives/table-column.directive";
|
|
9
|
+
import * as i5 from "./components/columns/number-column/number-column.component";
|
|
10
|
+
import * as i6 from "./components/columns/date-time-column/date-time-column.component";
|
|
11
|
+
import * as i7 from "./components/columns/boolean-column/boolean-column.component";
|
|
12
|
+
import * as i8 from "./components/columns/text-column/text-column.component";
|
|
13
|
+
import * as i9 from "./components/columns-manager/columns-manager.component";
|
|
14
|
+
import * as i10 from "./components/save-search/save-search.component";
|
|
15
|
+
import * as i11 from "@angular/common";
|
|
16
|
+
import * as i12 from "@jsverse/transloco";
|
|
17
|
+
import * as i13 from "@updevs/icons";
|
|
18
|
+
import * as i14 from "@updevs/components/button";
|
|
19
|
+
import * as i15 from "@updevs/components/modal";
|
|
20
|
+
import * as i16 from "@updevs/components/paginator";
|
|
21
|
+
import * as i17 from "@updevs/components/form-controls/input";
|
|
22
|
+
import * as i18 from "@updevs/components/form-controls/checkbox";
|
|
23
|
+
import * as i19 from "@updevs/components/form-controls/select";
|
|
24
|
+
import * as i20 from "@updevs/components/drag-and-drop";
|
|
25
|
+
import * as i21 from "@updevs/components/form";
|
|
26
|
+
import * as i22 from "@updevs/components/dropdown";
|
|
27
|
+
import * as i23 from "@updevs/components/form-controls/time-picker";
|
|
28
|
+
import * as i24 from "@updevs/components/badge";
|
|
29
|
+
import * as i25 from "@updevs/components/popover";
|
|
30
|
+
export declare class UpdTableModule {
|
|
31
|
+
constructor(translocoService: TranslocoService);
|
|
32
|
+
/**
|
|
33
|
+
* Sets up the table module with the provided configuration.
|
|
34
|
+
* @param config Configuration.
|
|
35
|
+
*/
|
|
36
|
+
static forRoot(config: UpdTableConfig): ModuleWithProviders<UpdTableModule>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdTableModule, never>;
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdTableModule, [typeof i1.TableComponent, typeof i2.SearchSectionComponent, typeof i3.FilterRowComponent, typeof i4.TableColumnDirective, typeof i5.NumberColumnComponent, typeof i6.DateTimeColumnComponent, typeof i7.BooleanColumnComponent, typeof i8.TextColumnComponent, typeof i9.ColumnsManagerComponent, typeof i10.SaveSearchComponent], [typeof i11.CommonModule, typeof i12.TranslocoDirective, typeof i13.UpdIconsModule, typeof i14.UpdButtonModule, typeof i15.UpdModalModule, typeof i16.UpdPaginatorModule, typeof i17.UpdInputModule, typeof i18.UpdCheckboxModule, typeof i19.UpdSelectModule, typeof i20.UpdDragAndDropModule, typeof i21.UpdFormModule, typeof i22.UpdDropdownModule, typeof i23.UpdTimePickerModule, typeof i24.UpdBadgeModule, typeof i25.UpdPopoverModule], [typeof i1.TableComponent, typeof i4.TableColumnDirective]>;
|
|
39
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdTableModule>;
|
|
40
|
+
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FormModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: FormModule, imports: [CommonModule] }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormModule, imports: [CommonModule] }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FormModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [],
|
|
13
|
-
imports: [
|
|
14
|
-
CommonModule
|
|
15
|
-
]
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91cGRldnMvY29tcG9uZW50cy9mb3JtL3NyYy9mb3JtLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFRL0MsTUFBTSxPQUFPLFVBQVU7OEdBQVYsVUFBVTsrR0FBVixVQUFVLFlBSGYsWUFBWTsrR0FHUCxVQUFVLFlBSGYsWUFBWTs7MkZBR1AsVUFBVTtrQkFOdEIsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsRUFBRTtvQkFDaEIsT0FBTyxFQUFFO3dCQUNMLFlBQVk7cUJBQ2Y7aUJBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FooterCopyrightDirective {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FooterCopyrightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FooterCopyrightDirective, selector: "[updFooterCopyright]", ngImport: i0 }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FooterCopyrightDirective, decorators: [{
|
|
8
|
-
type: Directive,
|
|
9
|
-
args: [{
|
|
10
|
-
selector: '[updFooterCopyright]'
|
|
11
|
-
}]
|
|
12
|
-
}] });
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLWNvcHlyaWdodC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91cGRldnMvY29tcG9uZW50cy9sYXlvdXQvc3JjL3BhcnRpYWxzL2Zvb3Rlci9mb290ZXItY29weXJpZ2h0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUsxQyxNQUFNLE9BQU8sd0JBQXdCOzhHQUF4Qix3QkFBd0I7a0dBQXhCLHdCQUF3Qjs7MkZBQXhCLHdCQUF3QjtrQkFIcEMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsc0JBQXNCO2lCQUNuQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1t1cGRGb290ZXJDb3B5cmlnaHRdJ1xufSlcbmV4cG9ydCBjbGFzcyBGb290ZXJDb3B5cmlnaHREaXJlY3RpdmUge31cbiJdfQ==
|
package/form/form.module.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
export declare class FormModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormModule>;
|
|
7
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FooterCopyrightDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterCopyrightDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterCopyrightDirective, "[updFooterCopyright]", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|