@updevs/components 1.0.0-alpha.99 → 1.0.0-beta.1
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/fesm2022/updevs-components-badge.mjs +21 -21
- package/fesm2022/updevs-components-badge.mjs.map +1 -1
- package/fesm2022/updevs-components-button.mjs +39 -39
- package/fesm2022/updevs-components-button.mjs.map +1 -1
- package/fesm2022/updevs-components-calendar.mjs +41 -41
- package/fesm2022/updevs-components-calendar.mjs.map +1 -1
- package/fesm2022/updevs-components-card.mjs +24 -20
- package/fesm2022/updevs-components-card.mjs.map +1 -1
- package/fesm2022/updevs-components-drag-and-drop.mjs +17 -17
- package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -1
- package/fesm2022/updevs-components-dropdown.mjs +10 -10
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-abstractions.mjs +19 -19
- package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-checkbox.mjs +16 -16
- package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-date-picker.mjs +8 -8
- package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-file-upload.mjs +26 -26
- package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-input.mjs +16 -14
- package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-radio.mjs +8 -8
- package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-select.mjs +52 -48
- package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-textarea.mjs +15 -15
- package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -1
- package/fesm2022/updevs-components-form-controls-time-picker.mjs +12 -12
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
- package/fesm2022/updevs-components-form.mjs +31 -31
- package/fesm2022/updevs-components-form.mjs.map +1 -1
- package/fesm2022/updevs-components-layout.mjs +112 -110
- 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 +8 -8
- package/fesm2022/updevs-components-list.mjs.map +1 -1
- package/fesm2022/updevs-components-modal.mjs +25 -24
- package/fesm2022/updevs-components-modal.mjs.map +1 -1
- package/fesm2022/updevs-components-paginator.mjs +36 -36
- package/fesm2022/updevs-components-paginator.mjs.map +1 -1
- package/fesm2022/updevs-components-popover.mjs +13 -12
- package/fesm2022/updevs-components-popover.mjs.map +1 -1
- package/fesm2022/updevs-components-pricing.mjs +22 -22
- package/fesm2022/updevs-components-pricing.mjs.map +1 -1
- package/fesm2022/updevs-components-table.mjs +181 -208
- package/fesm2022/updevs-components-table.mjs.map +1 -1
- package/fesm2022/updevs-components.mjs +4 -4
- package/package.json +67 -111
- package/types/updevs-components-badge.d.ts +44 -0
- package/types/updevs-components-button.d.ts +75 -0
- package/types/updevs-components-calendar.d.ts +175 -0
- package/{card/card.component.d.ts → types/updevs-components-card.d.ts} +50 -12
- package/types/updevs-components-drag-and-drop.d.ts +74 -0
- package/{dropdown/dropdown.component.d.ts → types/updevs-components-dropdown.d.ts} +52 -8
- package/types/updevs-components-form-controls-abstractions.d.ts +49 -0
- package/types/updevs-components-form-controls-checkbox.d.ts +33 -0
- package/{form-controls/date-picker/date-picker.component.d.ts → types/updevs-components-form-controls-date-picker.d.ts} +17 -3
- package/types/updevs-components-form-controls-file-upload.d.ts +69 -0
- package/{form-controls/input/input.component.d.ts → types/updevs-components-form-controls-input.d.ts} +33 -7
- package/{form-controls/radio/radio.component.d.ts → types/updevs-components-form-controls-radio.d.ts} +14 -2
- package/types/updevs-components-form-controls-select.d.ts +200 -0
- package/types/updevs-components-form-controls-textarea.d.ts +31 -0
- package/types/updevs-components-form-controls-time-picker.d.ts +164 -0
- package/types/updevs-components-form.d.ts +356 -0
- package/types/updevs-components-layout.d.ts +490 -0
- package/{link/link.component.d.ts → types/updevs-components-link.d.ts} +16 -4
- package/types/updevs-components-list.d.ts +107 -0
- package/types/updevs-components-modal.d.ts +155 -0
- package/types/updevs-components-paginator.d.ts +58 -0
- package/types/updevs-components-popover.d.ts +63 -0
- package/types/updevs-components-pricing.d.ts +91 -0
- package/types/updevs-components-table.d.ts +619 -0
- package/types/updevs-components.d.ts +44 -0
- package/badge/badge-config.model.d.ts +0 -14
- package/badge/badge.component.d.ts +0 -23
- package/badge/badge.config.d.ts +0 -12
- package/badge/index.d.ts +0 -1
- package/badge/public-api.d.ts +0 -3
- package/badge/upd-badge.module.d.ts +0 -8
- package/button/button.component.d.ts +0 -62
- package/button/index.d.ts +0 -1
- package/button/public-api.d.ts +0 -2
- package/button/upd-button.module.d.ts +0 -10
- package/calendar/calendar.component.d.ts +0 -63
- package/calendar/index.d.ts +0 -1
- package/calendar/models/calendar-date.model.d.ts +0 -10
- package/calendar/models/calendar-month.model.d.ts +0 -7
- package/calendar/models/calendar-selected.model.d.ts +0 -5
- package/calendar/models/calendar-user-event.model.d.ts +0 -4
- package/calendar/models/calendar-year.model.d.ts +0 -6
- package/calendar/models/date-range.model.d.ts +0 -22
- package/calendar/models/enums/calendar-view.enum.d.ts +0 -5
- package/calendar/models/public-api.d.ts +0 -7
- package/calendar/public-api.d.ts +0 -5
- package/calendar/services/calendar-range-strategy.service.d.ts +0 -35
- package/calendar/services/calendar-signals.service.d.ts +0 -24
- package/calendar/services/public-api.d.ts +0 -1
- package/calendar/types/calendar-view.type.d.ts +0 -1
- package/calendar/types/public-api.d.ts +0 -1
- package/calendar/upd-calendar.module.d.ts +0 -13
- package/card/directives/card-actions.directive.d.ts +0 -7
- package/card/directives/card-footer.directive.d.ts +0 -7
- package/card/directives/card-header.directive.d.ts +0 -7
- package/card/directives/card-image.directive.d.ts +0 -7
- package/card/directives/public-api.d.ts +0 -4
- package/card/index.d.ts +0 -1
- package/card/public-api.d.ts +0 -4
- package/card/types/card-state.type.d.ts +0 -1
- package/card/types/card-style.type.d.ts +0 -1
- package/card/types/hover-effect.type.d.ts +0 -1
- package/card/types/public-api.d.ts +0 -5
- package/card/types/ribbon-style.type.d.ts +0 -1
- package/card/types/status-position.type.d.ts +0 -1
- package/card/upd-card.module.d.ts +0 -14
- package/drag-and-drop/drag-and-drop.component.d.ts +0 -26
- package/drag-and-drop/index.d.ts +0 -1
- package/drag-and-drop/models/drag-and-drop-column.config.d.ts +0 -8
- package/drag-and-drop/models/drag-and-drop-column.model.d.ts +0 -10
- package/drag-and-drop/models/drag-and-drop-item.d.ts +0 -7
- package/drag-and-drop/models/drag-and-drop-item.model.d.ts +0 -13
- package/drag-and-drop/models/drag-and-drop.config.d.ts +0 -6
- package/drag-and-drop/models/public-api.d.ts +0 -4
- package/drag-and-drop/public-api.d.ts +0 -3
- package/drag-and-drop/upd-drag-and-drop.module.d.ts +0 -9
- package/dropdown/index.d.ts +0 -1
- package/dropdown/models/dropdown-action-clicked.model.d.ts +0 -6
- package/dropdown/models/dropdown-item.d.ts +0 -25
- package/dropdown/models/dropdown-item.type.d.ts +0 -1
- package/dropdown/models/public-api.d.ts +0 -4
- package/dropdown/models/toolbar.type.d.ts +0 -1
- package/dropdown/public-api.d.ts +0 -3
- package/dropdown/upd-dropdown.module.d.ts +0 -12
- package/esm2022/badge/badge-config.model.mjs +0 -14
- package/esm2022/badge/badge.component.mjs +0 -48
- package/esm2022/badge/badge.config.mjs +0 -2
- package/esm2022/badge/index.mjs +0 -2
- package/esm2022/badge/public-api.mjs +0 -4
- package/esm2022/badge/upd-badge.module.mjs +0 -24
- package/esm2022/badge/updevs-components-badge.mjs +0 -5
- package/esm2022/button/button.component.mjs +0 -157
- package/esm2022/button/index.mjs +0 -2
- package/esm2022/button/public-api.mjs +0 -3
- package/esm2022/button/upd-button.module.mjs +0 -32
- package/esm2022/button/updevs-components-button.mjs +0 -5
- package/esm2022/calendar/assets/i18n/en.json +0 -16
- package/esm2022/calendar/assets/i18n/pt.json +0 -16
- package/esm2022/calendar/calendar.component.mjs +0 -318
- package/esm2022/calendar/index.mjs +0 -2
- package/esm2022/calendar/models/calendar-date.model.mjs +0 -2
- package/esm2022/calendar/models/calendar-month.model.mjs +0 -2
- package/esm2022/calendar/models/calendar-selected.model.mjs +0 -2
- package/esm2022/calendar/models/calendar-user-event.model.mjs +0 -2
- package/esm2022/calendar/models/calendar-year.model.mjs +0 -2
- package/esm2022/calendar/models/date-range.model.mjs +0 -18
- package/esm2022/calendar/models/enums/calendar-view.enum.mjs +0 -7
- package/esm2022/calendar/models/public-api.mjs +0 -8
- package/esm2022/calendar/public-api.mjs +0 -6
- package/esm2022/calendar/services/calendar-range-strategy.service.mjs +0 -99
- package/esm2022/calendar/services/calendar-signals.service.mjs +0 -47
- package/esm2022/calendar/services/public-api.mjs +0 -2
- package/esm2022/calendar/types/calendar-view.type.mjs +0 -2
- package/esm2022/calendar/types/public-api.mjs +0 -2
- package/esm2022/calendar/upd-calendar.module.mjs +0 -52
- package/esm2022/calendar/updevs-components-calendar.mjs +0 -5
- package/esm2022/card/card.component.mjs +0 -136
- package/esm2022/card/directives/card-actions.directive.mjs +0 -16
- package/esm2022/card/directives/card-footer.directive.mjs +0 -16
- package/esm2022/card/directives/card-header.directive.mjs +0 -16
- package/esm2022/card/directives/card-image.directive.mjs +0 -16
- package/esm2022/card/directives/public-api.mjs +0 -5
- package/esm2022/card/index.mjs +0 -2
- package/esm2022/card/public-api.mjs +0 -5
- package/esm2022/card/types/card-state.type.mjs +0 -2
- package/esm2022/card/types/card-style.type.mjs +0 -2
- package/esm2022/card/types/hover-effect.type.mjs +0 -2
- package/esm2022/card/types/public-api.mjs +0 -6
- package/esm2022/card/types/ribbon-style.type.mjs +0 -2
- package/esm2022/card/types/status-position.type.mjs +0 -2
- package/esm2022/card/upd-card.module.mjs +0 -50
- package/esm2022/card/updevs-components-card.mjs +0 -5
- package/esm2022/drag-and-drop/drag-and-drop.component.mjs +0 -134
- package/esm2022/drag-and-drop/index.mjs +0 -2
- package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +0 -2
- package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +0 -9
- package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +0 -2
- package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +0 -14
- package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +0 -2
- package/esm2022/drag-and-drop/models/public-api.mjs +0 -5
- package/esm2022/drag-and-drop/public-api.mjs +0 -4
- package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +0 -28
- package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +0 -5
- package/esm2022/dropdown/dropdown.component.mjs +0 -203
- package/esm2022/dropdown/index.mjs +0 -2
- package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +0 -2
- package/esm2022/dropdown/models/dropdown-item.mjs +0 -2
- package/esm2022/dropdown/models/dropdown-item.type.mjs +0 -2
- package/esm2022/dropdown/models/public-api.mjs +0 -5
- package/esm2022/dropdown/models/toolbar.type.mjs +0 -2
- package/esm2022/dropdown/public-api.mjs +0 -4
- package/esm2022/dropdown/upd-dropdown.module.mjs +0 -40
- package/esm2022/dropdown/updevs-components-dropdown.mjs +0 -5
- package/esm2022/form/assets/i18n/en.json +0 -17
- package/esm2022/form/assets/i18n/pt.json +0 -17
- package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +0 -180
- package/esm2022/form/form.component.mjs +0 -180
- package/esm2022/form/index.mjs +0 -2
- package/esm2022/form/models/attachment-rule.model.mjs +0 -2
- package/esm2022/form/models/button-field.model.mjs +0 -2
- package/esm2022/form/models/button-group-field.model.mjs +0 -2
- package/esm2022/form/models/checkbox-field.model.mjs +0 -2
- package/esm2022/form/models/checkbox-group-field.model.mjs +0 -2
- package/esm2022/form/models/dynamic-field.model.mjs +0 -2
- package/esm2022/form/models/enums/attachment-type.enum.mjs +0 -15
- package/esm2022/form/models/enums/dynamic-field.type.mjs +0 -17
- package/esm2022/form/models/enums/public-api.mjs +0 -3
- package/esm2022/form/models/file-upload-field.model.mjs +0 -2
- package/esm2022/form/models/form-config.mjs +0 -2
- package/esm2022/form/models/form-row.model.mjs +0 -2
- package/esm2022/form/models/form-update-on.type.mjs +0 -2
- package/esm2022/form/models/input-field.model.mjs +0 -2
- package/esm2022/form/models/masked-input-field.model.mjs +0 -2
- package/esm2022/form/models/public-api.mjs +0 -19
- package/esm2022/form/models/radio-field.model.mjs +0 -2
- package/esm2022/form/models/radio-group-field.model.mjs +0 -2
- package/esm2022/form/models/select-field.model.mjs +0 -2
- package/esm2022/form/models/single-select-field.model.mjs +0 -2
- package/esm2022/form/models/textarea-field.model.mjs +0 -2
- package/esm2022/form/models/validator-config.mjs +0 -2
- package/esm2022/form/public-api.mjs +0 -4
- package/esm2022/form/tools/errors-helper.mjs +0 -54
- package/esm2022/form/upd-form.module.mjs +0 -84
- package/esm2022/form/updevs-components-form.mjs +0 -5
- package/esm2022/form-controls/abstractions/base-control.mjs +0 -99
- package/esm2022/form-controls/abstractions/index.mjs +0 -2
- package/esm2022/form-controls/abstractions/public-api.mjs +0 -2
- package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +0 -5
- package/esm2022/form-controls/checkbox/checkbox.component.mjs +0 -63
- package/esm2022/form-controls/checkbox/index.mjs +0 -2
- package/esm2022/form-controls/checkbox/public-api.mjs +0 -3
- package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +0 -32
- package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +0 -5
- package/esm2022/form-controls/date-picker/date-picker.component.mjs +0 -132
- package/esm2022/form-controls/date-picker/index.mjs +0 -2
- package/esm2022/form-controls/date-picker/public-api.mjs +0 -3
- package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +0 -40
- package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +0 -5
- package/esm2022/form-controls/file-upload/assets/i18n/en.json +0 -15
- package/esm2022/form-controls/file-upload/assets/i18n/pt.json +0 -15
- package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +0 -2
- package/esm2022/form-controls/file-upload/file-upload.component.mjs +0 -177
- package/esm2022/form-controls/file-upload/index.mjs +0 -2
- package/esm2022/form-controls/file-upload/public-api.mjs +0 -4
- package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +0 -48
- package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +0 -5
- package/esm2022/form-controls/input/directives/input-append.directive.mjs +0 -16
- package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +0 -16
- package/esm2022/form-controls/input/directives/public-api.mjs +0 -3
- package/esm2022/form-controls/input/index.mjs +0 -2
- package/esm2022/form-controls/input/input.component.mjs +0 -205
- package/esm2022/form-controls/input/public-api.mjs +0 -5
- package/esm2022/form-controls/input/types/input.type.mjs +0 -2
- package/esm2022/form-controls/input/types/loader-position.type.mjs +0 -2
- package/esm2022/form-controls/input/types/public-api.mjs +0 -3
- package/esm2022/form-controls/input/upd-input.module.mjs +0 -46
- package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +0 -5
- package/esm2022/form-controls/radio/index.mjs +0 -2
- package/esm2022/form-controls/radio/public-api.mjs +0 -3
- package/esm2022/form-controls/radio/radio.component.mjs +0 -62
- package/esm2022/form-controls/radio/upd-radio.module.mjs +0 -32
- package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +0 -5
- package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +0 -109
- package/esm2022/form-controls/select/components/single/select.component.mjs +0 -190
- package/esm2022/form-controls/select/index.mjs +0 -2
- package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +0 -246
- package/esm2022/form-controls/select/models/defaults.mjs +0 -8
- package/esm2022/form-controls/select/models/public-api.mjs +0 -4
- package/esm2022/form-controls/select/models/select-item.mjs +0 -2
- package/esm2022/form-controls/select/models/types.mjs +0 -2
- package/esm2022/form-controls/select/public-api.mjs +0 -5
- package/esm2022/form-controls/select/upd-select.module.mjs +0 -57
- package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +0 -5
- package/esm2022/form-controls/textarea/index.mjs +0 -2
- package/esm2022/form-controls/textarea/public-api.mjs +0 -3
- package/esm2022/form-controls/textarea/textarea.component.mjs +0 -51
- package/esm2022/form-controls/textarea/upd-textarea.module.mjs +0 -24
- package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +0 -5
- package/esm2022/form-controls/time-picker/assets/i18n/en.json +0 -5
- package/esm2022/form-controls/time-picker/assets/i18n/pt.json +0 -5
- package/esm2022/form-controls/time-picker/index.mjs +0 -2
- package/esm2022/form-controls/time-picker/public-api.mjs +0 -4
- package/esm2022/form-controls/time-picker/time-picker.component.mjs +0 -130
- package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +0 -124
- package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +0 -61
- package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +0 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/layout/abstractions/base-page.component.mjs +0 -23
- package/esm2022/layout/abstractions/base.layout.mjs +0 -31
- package/esm2022/layout/abstractions/public-api.mjs +0 -2
- package/esm2022/layout/assets/i18n/en.json +0 -27
- package/esm2022/layout/assets/i18n/pt.json +0 -27
- package/esm2022/layout/index.mjs +0 -2
- package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +0 -22
- package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +0 -50
- package/esm2022/layout/layouts/public-api.mjs +0 -5
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +0 -17
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +0 -78
- package/esm2022/layout/models/login-page-config.model.mjs +0 -20
- package/esm2022/layout/models/login-page.config.mjs +0 -2
- package/esm2022/layout/models/public-api.mjs +0 -3
- package/esm2022/layout/models/security-layout-config.model.mjs +0 -10
- package/esm2022/layout/models/security-layout.config.mjs +0 -2
- package/esm2022/layout/models/upd-layout-config.model.mjs +0 -24
- package/esm2022/layout/models/upd-layout.config.mjs +0 -2
- package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +0 -28
- package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +0 -73
- package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +0 -11
- package/esm2022/layout/pages/auth-flow/login/login.component.mjs +0 -110
- package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +0 -11
- package/esm2022/layout/pages/auth-flow/public-api.mjs +0 -6
- package/esm2022/layout/pages/public-api.mjs +0 -2
- package/esm2022/layout/partials/footer/footer.component.mjs +0 -52
- package/esm2022/layout/partials/footer/footer.module.mjs +0 -28
- package/esm2022/layout/partials/footer/public-api.mjs +0 -3
- package/esm2022/layout/partials/header/header-style.type.mjs +0 -2
- package/esm2022/layout/partials/header/header.component.mjs +0 -140
- package/esm2022/layout/partials/header/header.module.mjs +0 -40
- package/esm2022/layout/partials/header/public-api.mjs +0 -4
- package/esm2022/layout/partials/page-header/page-header.component.mjs +0 -15
- package/esm2022/layout/partials/page-header/public-api.mjs +0 -2
- package/esm2022/layout/partials/public-api.mjs +0 -5
- package/esm2022/layout/partials/sidebar/public-api.mjs +0 -2
- package/esm2022/layout/partials/sidebar/sidebar.component.mjs +0 -234
- package/esm2022/layout/public-api.mjs +0 -8
- package/esm2022/layout/services/public-api.mjs +0 -2
- package/esm2022/layout/services/upd-layout-config.service.mjs +0 -21
- package/esm2022/layout/tools/layout.constants.mjs +0 -15
- package/esm2022/layout/upd-layout.module.mjs +0 -47
- package/esm2022/layout/updevs-components-layout.mjs +0 -5
- package/esm2022/lib/index.mjs +0 -2
- package/esm2022/lib/models/public-api.mjs +0 -2
- package/esm2022/lib/models/row-column-size.mjs +0 -2
- package/esm2022/lib/public-api.mjs +0 -5
- package/esm2022/lib/tools/column-size.helper.mjs +0 -12
- package/esm2022/lib/tools/public-api.mjs +0 -2
- package/esm2022/lib/types/component-size.type.mjs +0 -2
- package/esm2022/lib/types/horizontal-vertical.type.mjs +0 -2
- package/esm2022/lib/types/public-api.mjs +0 -4
- package/esm2022/lib/types/validation-status.type.mjs +0 -2
- package/esm2022/lib/upd-components.module.mjs +0 -14
- package/esm2022/link/index.mjs +0 -2
- package/esm2022/link/link.component.mjs +0 -51
- package/esm2022/link/public-api.mjs +0 -4
- package/esm2022/link/target.type.mjs +0 -2
- package/esm2022/link/upd-link.module.mjs +0 -24
- package/esm2022/link/updevs-components-link.mjs +0 -5
- package/esm2022/list/assets/i18n/en.json +0 -9
- package/esm2022/list/assets/i18n/pt.json +0 -9
- package/esm2022/list/index.mjs +0 -2
- package/esm2022/list/list.component.mjs +0 -117
- package/esm2022/list/models/badge-position.type.mjs +0 -2
- package/esm2022/list/models/list-item.mjs +0 -2
- package/esm2022/list/models/list-item.model.mjs +0 -20
- package/esm2022/list/models/public-api.mjs +0 -3
- package/esm2022/list/public-api.mjs +0 -4
- package/esm2022/list/upd-list.module.mjs +0 -44
- package/esm2022/list/updevs-components-list.mjs +0 -5
- package/esm2022/modal/assets/i18n/en.json +0 -17
- package/esm2022/modal/assets/i18n/pt.json +0 -17
- package/esm2022/modal/components/modal-container/modal-container.component.mjs +0 -216
- package/esm2022/modal/index.mjs +0 -2
- package/esm2022/modal/models/base.modal.mjs +0 -14
- package/esm2022/modal/models/modal-config.model.mjs +0 -20
- package/esm2022/modal/models/modal-ref.mjs +0 -2
- package/esm2022/modal/models/modal.config.mjs +0 -2
- package/esm2022/modal/models/public-api.mjs +0 -4
- package/esm2022/modal/public-api.mjs +0 -4
- package/esm2022/modal/services/modal-alert.service.mjs +0 -99
- package/esm2022/modal/services/modal.service.mjs +0 -30
- package/esm2022/modal/services/public-api.mjs +0 -3
- package/esm2022/modal/types/modal-footer-style.type.mjs +0 -2
- package/esm2022/modal/types/modal-size.type.mjs +0 -2
- package/esm2022/modal/upd-modal.module.mjs +0 -90
- package/esm2022/modal/updevs-components-modal.mjs +0 -5
- package/esm2022/paginator/assets/i18n/en.json +0 -15
- package/esm2022/paginator/assets/i18n/pt.json +0 -15
- package/esm2022/paginator/index.mjs +0 -2
- package/esm2022/paginator/paginator.component.mjs +0 -66
- package/esm2022/paginator/public-api.mjs +0 -3
- package/esm2022/paginator/upd-paginator.module.mjs +0 -47
- package/esm2022/paginator/updevs-components-paginator.mjs +0 -5
- package/esm2022/popover/index.mjs +0 -2
- package/esm2022/popover/popover.component.mjs +0 -65
- package/esm2022/popover/popover.directive.mjs +0 -120
- package/esm2022/popover/public-api.mjs +0 -4
- package/esm2022/popover/upd-popover.module.mjs +0 -29
- package/esm2022/popover/updevs-components-popover.mjs +0 -5
- package/esm2022/pricing/index.mjs +0 -2
- package/esm2022/pricing/models/price-item-feature.model.mjs +0 -2
- package/esm2022/pricing/models/price-item-features-group.model.mjs +0 -2
- package/esm2022/pricing/models/price-item-tag.model.mjs +0 -2
- package/esm2022/pricing/models/price-item.model.mjs +0 -2
- package/esm2022/pricing/models/public-api.mjs +0 -5
- package/esm2022/pricing/pricing-cards/pricing-cards.component.mjs +0 -27
- package/esm2022/pricing/pricing-table/pricing-table.component.mjs +0 -57
- package/esm2022/pricing/public-api.mjs +0 -5
- package/esm2022/pricing/upd-pricing.module.mjs +0 -49
- package/esm2022/pricing/updevs-components-pricing.mjs +0 -5
- package/esm2022/public-api.mjs +0 -2
- package/esm2022/table/abstractions/base-column.model.mjs +0 -52
- package/esm2022/table/abstractions/base.column.mjs +0 -84
- package/esm2022/table/abstractions/filters-operands.service.mjs +0 -3
- package/esm2022/table/abstractions/public-api.mjs +0 -4
- package/esm2022/table/assets/i18n/en.json +0 -74
- package/esm2022/table/assets/i18n/pt.json +0 -74
- package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +0 -26
- package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +0 -13
- package/esm2022/table/components/columns/number-column/number-column.component.mjs +0 -13
- package/esm2022/table/components/columns/text-column/text-column.component.mjs +0 -31
- package/esm2022/table/components/columns-manager/columns-manager.component.mjs +0 -36
- package/esm2022/table/components/filter-row/filter-row.component.mjs +0 -124
- package/esm2022/table/components/save-search/save-search.component.mjs +0 -72
- package/esm2022/table/components/search-section/search-section.component.mjs +0 -84
- package/esm2022/table/directives/public-api.mjs +0 -2
- package/esm2022/table/directives/table-column.directive.mjs +0 -54
- package/esm2022/table/index.mjs +0 -2
- package/esm2022/table/models/columns/boolean-column.model.mjs +0 -22
- package/esm2022/table/models/columns/custom-column.model.mjs +0 -11
- package/esm2022/table/models/columns/date-time-column.model.mjs +0 -16
- package/esm2022/table/models/columns/guid-column.model.mjs +0 -13
- package/esm2022/table/models/columns/image-column.model.mjs +0 -11
- package/esm2022/table/models/columns/number-column.model.mjs +0 -17
- package/esm2022/table/models/columns/public-api.mjs +0 -8
- package/esm2022/table/models/columns/text-column.model.mjs +0 -11
- package/esm2022/table/models/enums/column-type.enum.mjs +0 -15
- package/esm2022/table/models/enums/public-api.mjs +0 -2
- package/esm2022/table/models/filter-item.model.mjs +0 -2
- package/esm2022/table/models/filter-operand.config.mjs +0 -2
- package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +0 -25
- package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +0 -25
- package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +0 -31
- package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +0 -31
- package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +0 -16
- package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +0 -25
- package/esm2022/table/models/operands-lists/select-filter-operands-list.model.mjs +0 -12
- package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +0 -45
- package/esm2022/table/models/public-api.mjs +0 -5
- package/esm2022/table/models/saved-view.model.mjs +0 -2
- package/esm2022/table/models/table-config.model.mjs +0 -40
- package/esm2022/table/models/table.config.mjs +0 -2
- package/esm2022/table/models/upd-table-config.model.mjs +0 -9
- package/esm2022/table/models/upd-table.config.mjs +0 -2
- package/esm2022/table/public-api.mjs +0 -6
- package/esm2022/table/services/current-search-request.service.mjs +0 -280
- package/esm2022/table/services/default-filters-operands.service.mjs +0 -64
- package/esm2022/table/services/storages/saved-views.storage.mjs +0 -56
- package/esm2022/table/services/stores/filters-operands.store.mjs +0 -19
- package/esm2022/table/services/upd-table-config.service.mjs +0 -18
- package/esm2022/table/table.component.mjs +0 -435
- package/esm2022/table/tools/filters.tools.mjs +0 -75
- package/esm2022/table/tools/table.constants.mjs +0 -15
- package/esm2022/table/upd-table.module.mjs +0 -150
- package/esm2022/table/updevs-components-table.mjs +0 -5
- package/esm2022/updevs-components.mjs +0 -5
- package/form/components/dynamic-field/dynamic-field.component.d.ts +0 -65
- package/form/form.component.d.ts +0 -64
- package/form/index.d.ts +0 -1
- package/form/models/attachment-rule.model.d.ts +0 -35
- package/form/models/button-field.model.d.ts +0 -5
- package/form/models/button-group-field.model.d.ts +0 -5
- package/form/models/checkbox-field.model.d.ts +0 -4
- package/form/models/checkbox-group-field.model.d.ts +0 -6
- package/form/models/dynamic-field.model.d.ts +0 -56
- package/form/models/enums/attachment-type.enum.d.ts +0 -13
- package/form/models/enums/dynamic-field.type.d.ts +0 -15
- package/form/models/enums/public-api.d.ts +0 -2
- package/form/models/file-upload-field.model.d.ts +0 -16
- package/form/models/form-config.d.ts +0 -2
- package/form/models/form-row.model.d.ts +0 -10
- package/form/models/form-update-on.type.d.ts +0 -1
- package/form/models/input-field.model.d.ts +0 -9
- package/form/models/masked-input-field.model.d.ts +0 -6
- package/form/models/public-api.d.ts +0 -18
- package/form/models/radio-field.model.d.ts +0 -4
- package/form/models/radio-group-field.model.d.ts +0 -6
- package/form/models/select-field.model.d.ts +0 -29
- package/form/models/single-select-field.model.d.ts +0 -4
- package/form/models/textarea-field.model.d.ts +0 -10
- package/form/models/validator-config.d.ts +0 -5
- package/form/public-api.d.ts +0 -3
- package/form/tools/errors-helper.d.ts +0 -11
- package/form/upd-form.module.d.ts +0 -22
- package/form-controls/abstractions/base-control.d.ts +0 -47
- package/form-controls/abstractions/index.d.ts +0 -2
- package/form-controls/abstractions/public-api.d.ts +0 -2
- package/form-controls/checkbox/checkbox.component.d.ts +0 -21
- package/form-controls/checkbox/index.d.ts +0 -1
- package/form-controls/checkbox/public-api.d.ts +0 -2
- package/form-controls/checkbox/upd-checkbox.module.d.ts +0 -10
- package/form-controls/date-picker/index.d.ts +0 -1
- package/form-controls/date-picker/public-api.d.ts +0 -2
- package/form-controls/date-picker/upd-date-picker.module.d.ts +0 -12
- package/form-controls/file-upload/file-upload-changed.event.d.ts +0 -4
- package/form-controls/file-upload/file-upload.component.d.ts +0 -48
- package/form-controls/file-upload/index.d.ts +0 -1
- package/form-controls/file-upload/public-api.d.ts +0 -3
- package/form-controls/file-upload/upd-file-upload.module.d.ts +0 -14
- package/form-controls/input/directives/input-append.directive.d.ts +0 -7
- package/form-controls/input/directives/input-prepend.directive.d.ts +0 -7
- package/form-controls/input/directives/public-api.d.ts +0 -2
- package/form-controls/input/index.d.ts +0 -1
- package/form-controls/input/public-api.d.ts +0 -4
- package/form-controls/input/types/input.type.d.ts +0 -1
- package/form-controls/input/types/loader-position.type.d.ts +0 -1
- package/form-controls/input/types/public-api.d.ts +0 -2
- package/form-controls/input/upd-input.module.d.ts +0 -13
- package/form-controls/radio/index.d.ts +0 -1
- package/form-controls/radio/public-api.d.ts +0 -2
- package/form-controls/radio/upd-radio.module.d.ts +0 -10
- package/form-controls/select/components/multiple/select-multiple.component.d.ts +0 -31
- package/form-controls/select/components/single/select.component.d.ts +0 -35
- package/form-controls/select/index.d.ts +0 -1
- package/form-controls/select/models/abstractions/base-select.component.d.ts +0 -88
- package/form-controls/select/models/defaults.d.ts +0 -8
- package/form-controls/select/models/public-api.d.ts +0 -3
- package/form-controls/select/models/select-item.d.ts +0 -25
- package/form-controls/select/models/types.d.ts +0 -4
- package/form-controls/select/public-api.d.ts +0 -4
- package/form-controls/select/upd-select.module.d.ts +0 -16
- package/form-controls/textarea/index.d.ts +0 -1
- package/form-controls/textarea/public-api.d.ts +0 -2
- package/form-controls/textarea/textarea.component.d.ts +0 -21
- package/form-controls/textarea/upd-textarea.module.d.ts +0 -8
- package/form-controls/time-picker/index.d.ts +0 -1
- package/form-controls/time-picker/public-api.d.ts +0 -3
- package/form-controls/time-picker/time-picker.component.d.ts +0 -78
- package/form-controls/time-picker/time-selector/time-selector.component.d.ts +0 -69
- package/form-controls/time-picker/upd-time-picker.module.d.ts +0 -17
- package/index.d.ts +0 -2
- package/layout/abstractions/base-page.component.d.ts +0 -12
- package/layout/abstractions/base.layout.d.ts +0 -15
- package/layout/abstractions/public-api.d.ts +0 -1
- package/layout/index.d.ts +0 -1
- package/layout/layouts/blank-layout/blank-layout.component.d.ts +0 -9
- package/layout/layouts/blank-layout/blank-layout.module.d.ts +0 -15
- package/layout/layouts/public-api.d.ts +0 -4
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +0 -6
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +0 -21
- package/layout/models/login-page-config.model.d.ts +0 -46
- package/layout/models/login-page.config.d.ts +0 -44
- package/layout/models/public-api.d.ts +0 -2
- package/layout/models/security-layout-config.model.d.ts +0 -12
- package/layout/models/security-layout.config.d.ts +0 -10
- package/layout/models/upd-layout-config.model.d.ts +0 -48
- package/layout/models/upd-layout.config.d.ts +0 -46
- package/layout/pages/auth-flow/auth-flow-routing.module.d.ts +0 -12
- package/layout/pages/auth-flow/auth-flow.module.d.ts +0 -20
- package/layout/pages/auth-flow/logged-out/logged-out.component.d.ts +0 -5
- package/layout/pages/auth-flow/login/login.component.d.ts +0 -26
- package/layout/pages/auth-flow/oauth-callback/oauth-callback.component.d.ts +0 -5
- package/layout/pages/auth-flow/public-api.d.ts +0 -5
- package/layout/pages/public-api.d.ts +0 -1
- package/layout/partials/footer/footer.component.d.ts +0 -34
- package/layout/partials/footer/footer.module.d.ts +0 -9
- package/layout/partials/footer/public-api.d.ts +0 -2
- package/layout/partials/header/header-style.type.d.ts +0 -1
- package/layout/partials/header/header.component.d.ts +0 -51
- package/layout/partials/header/header.module.d.ts +0 -12
- package/layout/partials/header/public-api.d.ts +0 -3
- package/layout/partials/page-header/page-header.component.d.ts +0 -7
- package/layout/partials/page-header/public-api.d.ts +0 -1
- package/layout/partials/public-api.d.ts +0 -4
- package/layout/partials/sidebar/public-api.d.ts +0 -1
- package/layout/partials/sidebar/sidebar.component.d.ts +0 -46
- package/layout/public-api.d.ts +0 -7
- package/layout/services/public-api.d.ts +0 -1
- package/layout/services/upd-layout-config.service.d.ts +0 -15
- package/layout/tools/layout.constants.d.ts +0 -15
- package/layout/upd-layout.module.d.ts +0 -19
- package/lib/index.d.ts +0 -2
- package/lib/models/public-api.d.ts +0 -2
- package/lib/models/row-column-size.d.ts +0 -23
- package/lib/public-api.d.ts +0 -5
- package/lib/tools/column-size.helper.d.ts +0 -6
- package/lib/tools/public-api.d.ts +0 -2
- package/lib/types/component-size.type.d.ts +0 -2
- package/lib/types/horizontal-vertical.type.d.ts +0 -2
- package/lib/types/public-api.d.ts +0 -4
- package/lib/types/validation-status.type.d.ts +0 -2
- package/lib/upd-components.module.d.ts +0 -7
- package/link/index.d.ts +0 -1
- package/link/public-api.d.ts +0 -3
- package/link/target.type.d.ts +0 -1
- package/link/upd-link.module.d.ts +0 -8
- package/list/index.d.ts +0 -1
- package/list/list.component.d.ts +0 -47
- package/list/models/badge-position.type.d.ts +0 -1
- package/list/models/list-item.d.ts +0 -21
- package/list/models/list-item.model.d.ts +0 -26
- package/list/models/public-api.d.ts +0 -2
- package/list/public-api.d.ts +0 -3
- package/list/upd-list.module.d.ts +0 -13
- package/modal/components/modal-container/modal-container.component.d.ts +0 -74
- package/modal/index.d.ts +0 -1
- package/modal/models/base.modal.d.ts +0 -8
- package/modal/models/modal-config.model.d.ts +0 -32
- package/modal/models/modal-ref.d.ts +0 -6
- package/modal/models/modal.config.d.ts +0 -30
- package/modal/models/public-api.d.ts +0 -3
- package/modal/public-api.d.ts +0 -3
- package/modal/services/modal-alert.service.d.ts +0 -22
- package/modal/services/modal.service.d.ts +0 -12
- package/modal/services/public-api.d.ts +0 -2
- package/modal/types/modal-footer-style.type.d.ts +0 -1
- package/modal/types/modal-size.type.d.ts +0 -1
- package/modal/upd-modal.module.d.ts +0 -18
- package/paginator/index.d.ts +0 -1
- package/paginator/paginator.component.d.ts +0 -42
- package/paginator/public-api.d.ts +0 -2
- package/paginator/upd-paginator.module.d.ts +0 -14
- package/popover/index.d.ts +0 -1
- package/popover/popover.component.d.ts +0 -22
- package/popover/popover.directive.d.ts +0 -33
- package/popover/public-api.d.ts +0 -3
- package/popover/upd-popover.module.d.ts +0 -9
- package/pricing/index.d.ts +0 -1
- package/pricing/models/price-item-feature.model.d.ts +0 -7
- package/pricing/models/price-item-features-group.model.d.ts +0 -5
- package/pricing/models/price-item-tag.model.d.ts +0 -6
- package/pricing/models/price-item.model.d.ts +0 -22
- package/pricing/models/public-api.d.ts +0 -4
- package/pricing/pricing-cards/pricing-cards.component.d.ts +0 -12
- package/pricing/pricing-table/pricing-table.component.d.ts +0 -30
- package/pricing/public-api.d.ts +0 -4
- package/pricing/upd-pricing.module.d.ts +0 -14
- package/public-api.d.ts +0 -2
- package/table/abstractions/base-column.model.d.ts +0 -29
- package/table/abstractions/base.column.d.ts +0 -26
- package/table/abstractions/filters-operands.service.d.ts +0 -8
- package/table/abstractions/public-api.d.ts +0 -3
- package/table/components/columns/boolean-column/boolean-column.component.d.ts +0 -9
- package/table/components/columns/date-time-column/date-time-column.component.d.ts +0 -7
- package/table/components/columns/number-column/number-column.component.d.ts +0 -7
- package/table/components/columns/text-column/text-column.component.d.ts +0 -9
- package/table/components/columns-manager/columns-manager.component.d.ts +0 -15
- package/table/components/filter-row/filter-row.component.d.ts +0 -41
- package/table/components/save-search/save-search.component.d.ts +0 -17
- package/table/components/search-section/search-section.component.d.ts +0 -33
- package/table/directives/public-api.d.ts +0 -1
- package/table/directives/table-column.directive.d.ts +0 -14
- package/table/index.d.ts +0 -1
- package/table/models/columns/boolean-column.model.d.ts +0 -15
- package/table/models/columns/custom-column.model.d.ts +0 -5
- package/table/models/columns/date-time-column.model.d.ts +0 -8
- package/table/models/columns/guid-column.model.d.ts +0 -4
- package/table/models/columns/image-column.model.d.ts +0 -6
- package/table/models/columns/number-column.model.d.ts +0 -8
- package/table/models/columns/public-api.d.ts +0 -7
- package/table/models/columns/text-column.model.d.ts +0 -6
- package/table/models/enums/column-type.enum.d.ts +0 -13
- package/table/models/enums/public-api.d.ts +0 -1
- package/table/models/filter-item.model.d.ts +0 -7
- package/table/models/filter-operand.config.d.ts +0 -9
- package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +0 -6
- package/table/models/operands-lists/date-filter-operands-list.model.d.ts +0 -6
- package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +0 -5
- package/table/models/operands-lists/filter-operands-list.config.d.ts +0 -5
- package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +0 -6
- package/table/models/operands-lists/number-filter-operands-list.model.d.ts +0 -6
- package/table/models/operands-lists/select-filter-operands-list.model.d.ts +0 -6
- package/table/models/operands-lists/string-filter-operands-list.model.d.ts +0 -6
- package/table/models/public-api.d.ts +0 -4
- package/table/models/saved-view.model.d.ts +0 -11
- package/table/models/table-config.model.d.ts +0 -44
- package/table/models/table.config.d.ts +0 -42
- package/table/models/upd-table-config.model.d.ts +0 -6
- package/table/models/upd-table.config.d.ts +0 -6
- package/table/public-api.d.ts +0 -5
- package/table/services/current-search-request.service.d.ts +0 -174
- package/table/services/default-filters-operands.service.d.ts +0 -17
- package/table/services/storages/saved-views.storage.d.ts +0 -19
- package/table/services/stores/filters-operands.store.d.ts +0 -11
- package/table/services/upd-table-config.service.d.ts +0 -12
- package/table/table.component.d.ts +0 -77
- package/table/tools/filters.tools.d.ts +0 -9
- package/table/tools/table.constants.d.ts +0 -15
- package/table/upd-table.module.d.ts +0 -40
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
2
|
+
import * as _updevs_sdk_stores from '@updevs/sdk/stores';
|
|
3
|
+
import { FilterTypeEnum, DataTypeEnum, FilterOperandEnum, FilterBooleanOperandEnum, FilterDateOperandEnum, FilterNumberOperandEnum, BaseSearchStore, SearchRequestModel, BaseFilter, ColumnSort } from '@updevs/sdk/stores';
|
|
4
|
+
import { WidthModel, ButtonModel, BaseComponent } from '@updevs/sdk/layout';
|
|
5
|
+
import { TextAlignmentType, TextDecorationType, FontWeightType, OverflowStrategyType, OptionalType, NonNullableDictionaryType, ComponentType, ColorStyleType, TextTransformType, GetByIdType, BgColorStyleType } from '@updevs/sdk/types';
|
|
6
|
+
import * as _angular_core from '@angular/core';
|
|
7
|
+
import { Provider, OnInit, Signal, ElementRef, TemplateRef, EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
8
|
+
import * as i13 from '@updevs/icons';
|
|
9
|
+
import { IconModel, TablerIconsType } from '@updevs/icons';
|
|
10
|
+
import { DateTimeFormatEnum, KeyValueModel, SelectionModel } from '@updevs/sdk/core';
|
|
11
|
+
import * as i22 from '@updevs/components/dropdown';
|
|
12
|
+
import { DropdownItem } from '@updevs/components/dropdown';
|
|
13
|
+
import { Subject } from 'rxjs';
|
|
14
|
+
import * as i12 from '@jsverse/transloco';
|
|
15
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
16
|
+
import * as i24 from '@updevs/components/badge';
|
|
17
|
+
import { BadgeConfig } from '@updevs/components/badge';
|
|
18
|
+
import * as i19 from '@updevs/components/form-controls/select';
|
|
19
|
+
import { SelectItem } from '@updevs/components/form-controls/select';
|
|
20
|
+
import * as i20 from '@updevs/components/drag-and-drop';
|
|
21
|
+
import { DragAndDropColumnConfig, DragAndDropColumnModel } from '@updevs/components/drag-and-drop';
|
|
22
|
+
import * as i15 from '@updevs/components/modal';
|
|
23
|
+
import { BaseModal } from '@updevs/components/modal';
|
|
24
|
+
import { FormGroup } from '@angular/forms';
|
|
25
|
+
import * as i21 from '@updevs/components/form';
|
|
26
|
+
import { FormRowModel } from '@updevs/components/form';
|
|
27
|
+
import * as i11 from '@angular/common';
|
|
28
|
+
import * as i14 from '@updevs/components/button';
|
|
29
|
+
import * as i16 from '@updevs/components/paginator';
|
|
30
|
+
import * as i17 from '@updevs/components/form-controls/input';
|
|
31
|
+
import * as i18 from '@updevs/components/form-controls/checkbox';
|
|
32
|
+
import * as i23 from '@updevs/components/form-controls/time-picker';
|
|
33
|
+
import * as i25 from '@updevs/components/popover';
|
|
34
|
+
|
|
35
|
+
declare enum ColumnTypeEnum {
|
|
36
|
+
Text = 1,
|
|
37
|
+
DateTime = 2,
|
|
38
|
+
Number = 3,
|
|
39
|
+
Boolean = 4,
|
|
40
|
+
Date = 5,
|
|
41
|
+
Time = 6,
|
|
42
|
+
Image = 7,
|
|
43
|
+
Currency = 8,
|
|
44
|
+
Custom = 9,
|
|
45
|
+
Masked = 10,
|
|
46
|
+
Guid = 11
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class BaseColumnModel {
|
|
50
|
+
name: string;
|
|
51
|
+
title?: TextModel;
|
|
52
|
+
titleAlignment: TextAlignmentType;
|
|
53
|
+
allowSort: boolean;
|
|
54
|
+
isItalic: boolean;
|
|
55
|
+
type: ColumnTypeEnum;
|
|
56
|
+
width?: WidthModel;
|
|
57
|
+
alignment: TextAlignmentType;
|
|
58
|
+
decoration?: TextDecorationType;
|
|
59
|
+
weight: FontWeightType;
|
|
60
|
+
overflowStrategy: OverflowStrategyType;
|
|
61
|
+
shouldSpaceAfterPrefix: boolean;
|
|
62
|
+
shouldSpaceBeforeSuffix: boolean;
|
|
63
|
+
isHidden: boolean;
|
|
64
|
+
prefix?: TextModel;
|
|
65
|
+
suffix?: TextModel;
|
|
66
|
+
filterType?: FilterTypeEnum;
|
|
67
|
+
get dataType(): DataTypeEnum;
|
|
68
|
+
get widthClass(): string;
|
|
69
|
+
get widthSize(): number;
|
|
70
|
+
get pixelsSize(): OptionalType<number>;
|
|
71
|
+
constructor(columnType: ColumnTypeEnum, init?: Partial<BaseColumnModel>);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare abstract class BaseColumn<TConfig extends BaseColumnModel> {
|
|
75
|
+
private static readonly alignmentClassMap;
|
|
76
|
+
private static readonly overflowClassMap;
|
|
77
|
+
private static readonly decorationClassMap;
|
|
78
|
+
private static readonly weightClassMap;
|
|
79
|
+
record: any;
|
|
80
|
+
config: TConfig;
|
|
81
|
+
get value(): any;
|
|
82
|
+
get isTextType(): boolean;
|
|
83
|
+
get prefix(): string;
|
|
84
|
+
get suffix(): string;
|
|
85
|
+
get prefixSpace(): string;
|
|
86
|
+
get suffixSpace(): string;
|
|
87
|
+
readonly textService: TextService;
|
|
88
|
+
private get alignmentClass();
|
|
89
|
+
private get overflowClass();
|
|
90
|
+
private get decorationClass();
|
|
91
|
+
private get weightClass();
|
|
92
|
+
getRecordAs<T>(): T;
|
|
93
|
+
getClasses(): string[];
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseColumn<any>, never>;
|
|
95
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseColumn<any>, never, never, {}, {}, never, never, false, never>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
interface FilterOperandConfig {
|
|
99
|
+
operand: FilterOperandEnum | FilterBooleanOperandEnum | FilterDateOperandEnum | FilterNumberOperandEnum;
|
|
100
|
+
text: TextModel;
|
|
101
|
+
icon: IconModel;
|
|
102
|
+
requiresValue: boolean;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare abstract class FiltersOperandsService {
|
|
106
|
+
abstract get isLoaded(): boolean;
|
|
107
|
+
abstract getOperands(type: FilterTypeEnum): FilterOperandConfig[];
|
|
108
|
+
abstract getAllOperands(): NonNullableDictionaryType<FilterOperandConfig[]>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare class TableColumnDirective<TConfig extends BaseColumnModel> {
|
|
112
|
+
record: _angular_core.InputSignal<unknown>;
|
|
113
|
+
config: _angular_core.InputSignal<TConfig>;
|
|
114
|
+
private readonly viewContainerRef;
|
|
115
|
+
private readonly dynamicLoaderService;
|
|
116
|
+
constructor();
|
|
117
|
+
getComponentType(): ComponentType<BaseColumn<TConfig>>;
|
|
118
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnDirective<any>, never>;
|
|
119
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableColumnDirective<any>, "[updTableColumn]", never, { "record": { "alias": "record"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class BooleanColumnModel extends BaseColumnModel {
|
|
123
|
+
displayType: 'text' | 'toggle' | 'icon';
|
|
124
|
+
trueText: TextModel;
|
|
125
|
+
falseText: TextModel;
|
|
126
|
+
trueIcon: IconModel;
|
|
127
|
+
falseIcon: IconModel;
|
|
128
|
+
trueColor: ColorStyleType;
|
|
129
|
+
falseColor: ColorStyleType;
|
|
130
|
+
shouldColorHighlight: boolean;
|
|
131
|
+
constructor(init?: Partial<BooleanColumnModel>);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class CustomColumnModel extends BaseColumnModel {
|
|
135
|
+
component: any;
|
|
136
|
+
constructor(init?: Partial<CustomColumnModel>);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class DateTimeColumnModel extends BaseColumnModel {
|
|
140
|
+
format: DateTimeFormatEnum;
|
|
141
|
+
customFormat?: string;
|
|
142
|
+
get dateTimeFormat(): string;
|
|
143
|
+
constructor(init?: Partial<DateTimeColumnModel>);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare class TextColumnModel extends BaseColumnModel {
|
|
147
|
+
transform?: TextTransformType;
|
|
148
|
+
constructor(init?: Partial<TextColumnModel>);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare class GuidColumnModel extends TextColumnModel {
|
|
152
|
+
constructor(init?: Partial<GuidColumnModel>);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
declare class ImageColumnModel extends BaseColumnModel {
|
|
156
|
+
imageWidth?: number;
|
|
157
|
+
imageHeight?: number;
|
|
158
|
+
constructor(init?: Partial<ImageColumnModel>);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare class NumberColumnModel extends BaseColumnModel {
|
|
162
|
+
minIntegerDigits: number;
|
|
163
|
+
minFractionDigits: number;
|
|
164
|
+
maxFractionDigits: number;
|
|
165
|
+
get numberFormat(): string;
|
|
166
|
+
constructor(init?: Partial<NumberColumnModel>);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface FilterFieldConfig {
|
|
170
|
+
name: string;
|
|
171
|
+
label: TextModel;
|
|
172
|
+
type: FilterTypeEnum;
|
|
173
|
+
allowedValues?: KeyValueModel[];
|
|
174
|
+
customOperands?: FilterOperandConfig[];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
interface TableConfig<T> {
|
|
178
|
+
name: string;
|
|
179
|
+
store?: BaseSearchStore<T>;
|
|
180
|
+
columns: BaseColumnModel[];
|
|
181
|
+
getIdFunction?: GetByIdType<T>;
|
|
182
|
+
title?: TextModel;
|
|
183
|
+
canSearch?: boolean;
|
|
184
|
+
canSaveViews?: boolean;
|
|
185
|
+
canLoadSavedViews?: boolean;
|
|
186
|
+
canManageColumns?: boolean;
|
|
187
|
+
shouldAutoSearch?: boolean;
|
|
188
|
+
hasCheckboxColumn?: boolean;
|
|
189
|
+
isResponsive?: boolean;
|
|
190
|
+
hasStickyHeader?: boolean;
|
|
191
|
+
data?: T[];
|
|
192
|
+
preSelectedItems?: T[];
|
|
193
|
+
searchInputDebounceTime?: number;
|
|
194
|
+
/**
|
|
195
|
+
* Actions added to each record row as a group of buttons.
|
|
196
|
+
*/
|
|
197
|
+
customActions?: ButtonModel[];
|
|
198
|
+
/**
|
|
199
|
+
* Actions added to the header of the table as regular buttons.
|
|
200
|
+
*/
|
|
201
|
+
customHeaderActions?: ButtonModel[];
|
|
202
|
+
/**
|
|
203
|
+
* Define custom filterable fields.
|
|
204
|
+
* If not provided and useColumnsAsFilters is true, filters will be auto-generated from columns.
|
|
205
|
+
*/
|
|
206
|
+
filterFields?: FilterFieldConfig[];
|
|
207
|
+
/**
|
|
208
|
+
* Whether to use columns as filters.
|
|
209
|
+
* If false, filterFields must be provided.
|
|
210
|
+
*/
|
|
211
|
+
useColumnsAsFilters?: boolean;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
interface UpdTableConfig {
|
|
215
|
+
shouldLoadFieldsFromServer?: boolean;
|
|
216
|
+
urlToLoadOperandsFromServer?: string;
|
|
217
|
+
filtersOperandsService?: Provider;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
declare class TableConfigModel<T> implements TableConfig<T> {
|
|
221
|
+
name: string;
|
|
222
|
+
store?: BaseSearchStore<T>;
|
|
223
|
+
columns: BaseColumnModel[];
|
|
224
|
+
title?: TextModel;
|
|
225
|
+
canSearch: boolean;
|
|
226
|
+
canSaveViews: boolean;
|
|
227
|
+
canLoadSavedViews: boolean;
|
|
228
|
+
canManageColumns: boolean;
|
|
229
|
+
shouldAutoSearch: boolean;
|
|
230
|
+
hasCheckboxColumn: boolean;
|
|
231
|
+
isResponsive: boolean;
|
|
232
|
+
hasStickyHeader: boolean;
|
|
233
|
+
data: T[];
|
|
234
|
+
preSelectedItems: T[];
|
|
235
|
+
searchInputDebounceTime: number;
|
|
236
|
+
/**
|
|
237
|
+
* Actions added to each record row as a group of buttons.
|
|
238
|
+
*/
|
|
239
|
+
customActions: ButtonModel[];
|
|
240
|
+
/**
|
|
241
|
+
* Actions added to the header of the table as regular buttons.
|
|
242
|
+
*/
|
|
243
|
+
customHeaderActions: ButtonModel[];
|
|
244
|
+
/**
|
|
245
|
+
* Define custom filterable fields.
|
|
246
|
+
* If not provided and useColumnsAsFilters is true, filters will be auto-generated from columns.
|
|
247
|
+
*/
|
|
248
|
+
filterFields: FilterFieldConfig[];
|
|
249
|
+
/**
|
|
250
|
+
* Whether to use columns as filters.
|
|
251
|
+
* If false, filterFields must be provided.
|
|
252
|
+
*/
|
|
253
|
+
useColumnsAsFilters: boolean;
|
|
254
|
+
constructor(init?: TableConfig<T>);
|
|
255
|
+
getIdFunction: GetByIdType<T>;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
interface SavedViewModel {
|
|
259
|
+
id?: string;
|
|
260
|
+
name?: string;
|
|
261
|
+
tableName: string;
|
|
262
|
+
isDefault?: boolean;
|
|
263
|
+
userId?: string;
|
|
264
|
+
request: SearchRequestModel;
|
|
265
|
+
columns: BaseColumnModel[];
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Service to manage the current search request state across table components.
|
|
270
|
+
* Uses Angular signals for reactive state management, eliminating the need for prop drilling.
|
|
271
|
+
* Should be provided at the table component level so each table instance has its own state.
|
|
272
|
+
*/
|
|
273
|
+
declare class CurrentSearchRequestService {
|
|
274
|
+
private readonly _searchRequest;
|
|
275
|
+
private readonly _isSearching;
|
|
276
|
+
private readonly _hasChanges;
|
|
277
|
+
/**
|
|
278
|
+
* Read-only signal for the current search request
|
|
279
|
+
*/
|
|
280
|
+
readonly searchRequest: _angular_core.Signal<SearchRequestModel>;
|
|
281
|
+
/**
|
|
282
|
+
* Read-only signal for the searching state
|
|
283
|
+
*/
|
|
284
|
+
readonly isSearching: _angular_core.Signal<boolean>;
|
|
285
|
+
/**
|
|
286
|
+
* Read-only signal indicating if the search request has changed from default
|
|
287
|
+
*/
|
|
288
|
+
readonly hasChanges: _angular_core.Signal<boolean>;
|
|
289
|
+
/**
|
|
290
|
+
* Subject to trigger search operations
|
|
291
|
+
*/
|
|
292
|
+
readonly searchRequestSubject: Subject<SearchRequestModel>;
|
|
293
|
+
/**
|
|
294
|
+
* Count of active filters (non-hidden)
|
|
295
|
+
*/
|
|
296
|
+
readonly activeFilterCount: _angular_core.Signal<number>;
|
|
297
|
+
/**
|
|
298
|
+
* Whether there are any active filters
|
|
299
|
+
*/
|
|
300
|
+
readonly hasFilters: _angular_core.Signal<boolean>;
|
|
301
|
+
/**
|
|
302
|
+
* Count of visible (non-hidden) filters
|
|
303
|
+
*/
|
|
304
|
+
readonly visibleFilterCount: _angular_core.Signal<number>;
|
|
305
|
+
/**
|
|
306
|
+
* Whether there's a search description/text query
|
|
307
|
+
*/
|
|
308
|
+
readonly hasDescription: _angular_core.Signal<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* Whether there are any sortings applied
|
|
311
|
+
*/
|
|
312
|
+
readonly hasSorting: _angular_core.Signal<boolean>;
|
|
313
|
+
/**
|
|
314
|
+
* The current sorting (first one if multiple exist)
|
|
315
|
+
*/
|
|
316
|
+
readonly currentSorting: _angular_core.Signal<_updevs_sdk_stores.ColumnSort | undefined>;
|
|
317
|
+
/**
|
|
318
|
+
* Whether any search criteria is active (filters, description, or sorting)
|
|
319
|
+
*/
|
|
320
|
+
readonly hasAnySearchCriteria: _angular_core.Signal<boolean>;
|
|
321
|
+
/**
|
|
322
|
+
* Current page number (1-indexed for display)
|
|
323
|
+
*/
|
|
324
|
+
readonly currentPageNumber: _angular_core.Signal<number>;
|
|
325
|
+
/**
|
|
326
|
+
* Whether pagination is configured
|
|
327
|
+
*/
|
|
328
|
+
readonly hasPagination: _angular_core.Signal<boolean>;
|
|
329
|
+
/**
|
|
330
|
+
* Updates the entire search request
|
|
331
|
+
* @param request The new search request
|
|
332
|
+
*/
|
|
333
|
+
updateSearchRequest(request: SearchRequestModel): void;
|
|
334
|
+
/**
|
|
335
|
+
* Partially updates the search request
|
|
336
|
+
* @param partial Partial search request properties to update
|
|
337
|
+
*/
|
|
338
|
+
patchSearchRequest(partial: Partial<SearchRequestModel>): void;
|
|
339
|
+
/**
|
|
340
|
+
* Sets the searching state
|
|
341
|
+
* @param isSearching Whether a search is in progress
|
|
342
|
+
*/
|
|
343
|
+
setSearching(isSearching: boolean): void;
|
|
344
|
+
/**
|
|
345
|
+
* Resets the search request to default state
|
|
346
|
+
*/
|
|
347
|
+
reset(): void;
|
|
348
|
+
/**
|
|
349
|
+
* Triggers a search operation by emitting on the searchRequestSubject
|
|
350
|
+
*/
|
|
351
|
+
triggerSearch(): void;
|
|
352
|
+
/**
|
|
353
|
+
* Manually sets the hasChanges flag
|
|
354
|
+
* Useful for changes that aren't part of the search request but should enable Save View
|
|
355
|
+
* (e.g., column visibility changes)
|
|
356
|
+
* @param hasChanges Whether there are changes
|
|
357
|
+
*/
|
|
358
|
+
setHasChanges(hasChanges: boolean): void;
|
|
359
|
+
/**
|
|
360
|
+
* Adds a filter to the search request
|
|
361
|
+
* @param filter The filter to add
|
|
362
|
+
*/
|
|
363
|
+
addFilter(filter: BaseFilter): void;
|
|
364
|
+
/**
|
|
365
|
+
* Removes a filter by name
|
|
366
|
+
* @param filterName The name of the filter column to remove
|
|
367
|
+
*/
|
|
368
|
+
removeFilter(filterName: string): void;
|
|
369
|
+
/**
|
|
370
|
+
* Removes a filter by index
|
|
371
|
+
* @param index The index of the filter to remove
|
|
372
|
+
*/
|
|
373
|
+
removeFilterByIndex(index: number): void;
|
|
374
|
+
/**
|
|
375
|
+
* Updates a specific filter by column name
|
|
376
|
+
* @param columnName The column name of the filter to update
|
|
377
|
+
* @param newData Partial filter properties to update
|
|
378
|
+
*/
|
|
379
|
+
updateFilter(columnName: string, newData: Partial<BaseFilter>): void;
|
|
380
|
+
/**
|
|
381
|
+
* Updates a filter by its index position
|
|
382
|
+
* @param index The index of the filter to update
|
|
383
|
+
* @param newData Partial filter properties to update
|
|
384
|
+
*/
|
|
385
|
+
updateFilterByIndex(index: number, newData: Partial<BaseFilter>): void;
|
|
386
|
+
/**
|
|
387
|
+
* Clears all filters
|
|
388
|
+
*/
|
|
389
|
+
clearFilters(): void;
|
|
390
|
+
/**
|
|
391
|
+
* Sets the sorting (replaces existing sortings)
|
|
392
|
+
* @param column The column name to sort by
|
|
393
|
+
* @param direction The sort direction
|
|
394
|
+
*/
|
|
395
|
+
setSorting(column: string, direction: any): void;
|
|
396
|
+
/**
|
|
397
|
+
* Clears all sorting
|
|
398
|
+
*/
|
|
399
|
+
clearSorting(): void;
|
|
400
|
+
/**
|
|
401
|
+
* Sets the search description/text query
|
|
402
|
+
* @param description The search text
|
|
403
|
+
*/
|
|
404
|
+
setDescription(description: string): void;
|
|
405
|
+
/**
|
|
406
|
+
* Clears the search description
|
|
407
|
+
*/
|
|
408
|
+
clearDescription(): void;
|
|
409
|
+
/**
|
|
410
|
+
* Clears ALL search criteria (filters, description, sorting)
|
|
411
|
+
* Note: Does not reset pagination - use reset() for that
|
|
412
|
+
*/
|
|
413
|
+
clearAll(): void;
|
|
414
|
+
/**
|
|
415
|
+
* Clears all search criteria except pagination
|
|
416
|
+
* Useful when you want to reset search but maintain current page
|
|
417
|
+
*/
|
|
418
|
+
clearAllExceptPagination(): void;
|
|
419
|
+
/**
|
|
420
|
+
* Deep comparison of two search requests
|
|
421
|
+
* @param a First search request
|
|
422
|
+
* @param b Second search request
|
|
423
|
+
* @returns true if they are equal, false otherwise
|
|
424
|
+
*/
|
|
425
|
+
private areSearchRequestsEqual;
|
|
426
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CurrentSearchRequestService, never>;
|
|
427
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CurrentSearchRequestService>;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
declare class TableComponent<T> extends BaseComponent implements OnInit {
|
|
431
|
+
savedViewsRef: Signal<ElementRef<any> | undefined>;
|
|
432
|
+
config: _angular_core.ModelSignal<TableConfig<T>>;
|
|
433
|
+
selectedItems: Signal<T[]>;
|
|
434
|
+
activeSavedView: _angular_core.WritableSignal<OptionalType<SavedViewModel>>;
|
|
435
|
+
isMainCheckboxChecked: boolean;
|
|
436
|
+
isMainCheckboxIndeterminate: boolean;
|
|
437
|
+
isSavedViewsDropdownOpen: boolean;
|
|
438
|
+
get numberOfColumns(): number;
|
|
439
|
+
get hasWidth(): boolean;
|
|
440
|
+
get pendingWidthColClass(): string;
|
|
441
|
+
get isWidthInPixels(): boolean;
|
|
442
|
+
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
443
|
+
readonly pageSize: _angular_core.ModelSignal<number>;
|
|
444
|
+
readonly totalRecords: _angular_core.WritableSignal<number>;
|
|
445
|
+
readonly configModel: Signal<TableConfigModel<T>>;
|
|
446
|
+
readonly data: Signal<T[]>;
|
|
447
|
+
readonly selectionModel: Signal<SelectionModel<T>>;
|
|
448
|
+
readonly currentSorting: _angular_core.WritableSignal<OptionalType<ColumnSort>>;
|
|
449
|
+
readonly hiddenColumns: Signal<number>;
|
|
450
|
+
readonly columns: _angular_core.WritableSignal<BaseColumnModel[]>;
|
|
451
|
+
readonly textService: TextService;
|
|
452
|
+
readonly currentSearchRequestService: CurrentSearchRequestService;
|
|
453
|
+
readonly savedViewsOptions: Signal<DropdownItem[]>;
|
|
454
|
+
private get isRemote();
|
|
455
|
+
private get store();
|
|
456
|
+
private shouldForceSearch;
|
|
457
|
+
private columnsBackup;
|
|
458
|
+
private readonly currentData;
|
|
459
|
+
private readonly currentFavoriteButtons;
|
|
460
|
+
private readonly smallSizeSignal;
|
|
461
|
+
private readonly allSavedViews;
|
|
462
|
+
private readonly favoriteButtons;
|
|
463
|
+
private readonly serverResponseService;
|
|
464
|
+
private readonly savedViewsStorage;
|
|
465
|
+
private readonly modalService;
|
|
466
|
+
private readonly modalAlertService;
|
|
467
|
+
constructor();
|
|
468
|
+
ngOnInit(): void;
|
|
469
|
+
toggleAllSelection(isChecked: boolean): void;
|
|
470
|
+
toggleItemSelection(record: T): void;
|
|
471
|
+
canSortColumn(columnName: string): boolean;
|
|
472
|
+
sortByColumn(columnName: string): void;
|
|
473
|
+
getSortingIcon(columnName: string): TablerIconsType;
|
|
474
|
+
onPageSettingsChanged(): void;
|
|
475
|
+
getRecordId(record: T): any;
|
|
476
|
+
openColumnsManagerModal(): void;
|
|
477
|
+
openSaveSearchModal(data?: SavedViewModel): void;
|
|
478
|
+
selectSavedView(item: DropdownItem): void;
|
|
479
|
+
resetViewState(): void;
|
|
480
|
+
reload(): void;
|
|
481
|
+
adaptCustomAction(btn: ButtonModel, item: T): ButtonModel;
|
|
482
|
+
private updateColumns;
|
|
483
|
+
private createColumnModel;
|
|
484
|
+
private getColumnByName;
|
|
485
|
+
private setupPreSelected;
|
|
486
|
+
private setupSearchResults;
|
|
487
|
+
private getActionButtons;
|
|
488
|
+
private getSavedViewOption;
|
|
489
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
490
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "upd-table", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; }, never, never, false, never>;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
interface FilterItemModel {
|
|
494
|
+
name?: string;
|
|
495
|
+
operandConfig?: FilterOperandConfig;
|
|
496
|
+
value?: any;
|
|
497
|
+
isHidden?: boolean;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
declare class SearchSectionComponent<T> extends BaseComponent implements OnInit {
|
|
501
|
+
wrapperClass: string;
|
|
502
|
+
readonly columns: _angular_core.InputSignal<BaseColumnModel[]>;
|
|
503
|
+
readonly config: _angular_core.InputSignal<TableConfigModel<T>>;
|
|
504
|
+
readonly actionsTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
505
|
+
readonly activeFilters: _angular_core.Signal<FilterItemModel[]>;
|
|
506
|
+
readonly isFilterSectionOpen: _angular_core.WritableSignal<boolean>;
|
|
507
|
+
readonly canApplyFilters: _angular_core.Signal<boolean>;
|
|
508
|
+
readonly canPerformActions: _angular_core.Signal<boolean>;
|
|
509
|
+
readonly badgeConfig: _angular_core.Signal<OptionalType<BadgeConfig>>;
|
|
510
|
+
readonly filterSectionBtnColor: _angular_core.Signal<BgColorStyleType | undefined>;
|
|
511
|
+
readonly searchSubject: Subject<string>;
|
|
512
|
+
private readonly filtersOperandsService;
|
|
513
|
+
readonly currentSearchRequestService: CurrentSearchRequestService;
|
|
514
|
+
constructor();
|
|
515
|
+
ngOnInit(): void;
|
|
516
|
+
search(): void;
|
|
517
|
+
toggleFilterSection(): void;
|
|
518
|
+
onRowRemoved(): void;
|
|
519
|
+
addEmptyFilterRow(): void;
|
|
520
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchSectionComponent<any>, never>;
|
|
521
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchSectionComponent<any>, "upd-search-section", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "actionsTpl": { "alias": "actionsTpl"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
declare class FilterRowComponent extends BaseComponent implements OnInit {
|
|
525
|
+
wrapperClasses: string;
|
|
526
|
+
readonly removed: EventEmitter<void>;
|
|
527
|
+
FilterTypeEnum: typeof FilterTypeEnum;
|
|
528
|
+
rowIndex: _angular_core.InputSignal<number>;
|
|
529
|
+
columns: _angular_core.InputSignal<BaseColumnModel[]>;
|
|
530
|
+
isDisabled: _angular_core.InputSignal<boolean>;
|
|
531
|
+
store: _angular_core.InputSignal<BaseSearchStore<any> | undefined>;
|
|
532
|
+
filterFields: _angular_core.InputSignal<FilterFieldConfig[] | undefined>;
|
|
533
|
+
currentFilter: _angular_core.InputSignal<FilterItemModel | undefined>;
|
|
534
|
+
currentField: _angular_core.WritableSignal<OptionalType<SelectItem>>;
|
|
535
|
+
currentOperand: _angular_core.WritableSignal<OptionalType<FilterOperandConfig>>;
|
|
536
|
+
fieldsOptions: _angular_core.WritableSignal<SelectItem[]>;
|
|
537
|
+
comparisonOperatorOptions: _angular_core.WritableSignal<SelectItem[]>;
|
|
538
|
+
fieldAllowedValues: _angular_core.WritableSignal<SelectItem[]>;
|
|
539
|
+
isValueSectionEnabled: _angular_core.WritableSignal<boolean>;
|
|
540
|
+
get fieldType(): FilterTypeEnum;
|
|
541
|
+
get selectedField(): OptionalType<SelectItem>;
|
|
542
|
+
get selectedOperand(): OptionalType<SelectItem>;
|
|
543
|
+
get selectedValue(): OptionalType<any>;
|
|
544
|
+
private currentOperands;
|
|
545
|
+
private readonly configService;
|
|
546
|
+
private readonly filtersOperandsService;
|
|
547
|
+
private readonly textService;
|
|
548
|
+
private readonly currentSearchRequestService;
|
|
549
|
+
ngOnInit(): void;
|
|
550
|
+
onSelectField(item?: SelectItem): void;
|
|
551
|
+
onSelectOperand(item?: SelectItem): void;
|
|
552
|
+
updateValue(value?: any): void;
|
|
553
|
+
removeFilterItem(): void;
|
|
554
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterRowComponent, never>;
|
|
555
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterRowComponent, "upd-filter-row", never, { "rowIndex": { "alias": "rowIndex"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": true; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "filterFields": { "alias": "filterFields"; "required": false; "isSignal": true; }; "currentFilter": { "alias": "currentFilter"; "required": false; "isSignal": true; }; }, { "removed": "removed"; }, never, never, false, never>;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
declare class NumberColumnComponent extends BaseColumn<NumberColumnModel> {
|
|
559
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberColumnComponent, never>;
|
|
560
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberColumnComponent, "upd-number-column", never, {}, {}, never, never, false, never>;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
declare class DateTimeColumnComponent extends BaseColumn<DateTimeColumnModel> {
|
|
564
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateTimeColumnComponent, never>;
|
|
565
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimeColumnComponent, "upd-date-time-column", never, {}, {}, never, never, false, never>;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
declare class BooleanColumnComponent extends BaseColumn<BooleanColumnModel> {
|
|
569
|
+
getClasses(): string[];
|
|
570
|
+
private get colorClass();
|
|
571
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BooleanColumnComponent, never>;
|
|
572
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BooleanColumnComponent, "upd-boolean-column", never, {}, {}, never, never, false, never>;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
declare class TextColumnComponent extends BaseColumn<TextColumnModel> {
|
|
576
|
+
getClasses(): string[];
|
|
577
|
+
private get transformClass();
|
|
578
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextColumnComponent, never>;
|
|
579
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextColumnComponent, "upd-text-column", never, {}, {}, never, never, false, never>;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
declare class ColumnsManagerComponent<T> extends BaseModal<TableConfig<T>> {
|
|
583
|
+
config: _angular_core.Signal<{
|
|
584
|
+
columns: DragAndDropColumnConfig[];
|
|
585
|
+
canReorder: boolean;
|
|
586
|
+
}>;
|
|
587
|
+
columns: _angular_core.WritableSignal<DragAndDropColumnModel[]>;
|
|
588
|
+
private readonly visibleColumn;
|
|
589
|
+
private readonly hiddenColumn;
|
|
590
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnsManagerComponent<any>, never>;
|
|
591
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnsManagerComponent<any>, "upd-columns-manager", never, {}, {}, never, never, false, never>;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
declare class SaveSearchComponent extends BaseModal<SavedViewModel> implements OnInit {
|
|
595
|
+
formGroup: _angular_core.ModelSignal<FormGroup<{}>>;
|
|
596
|
+
formRows: FormRowModel[];
|
|
597
|
+
private readonly savedViewsStorage;
|
|
598
|
+
ngOnInit(): void;
|
|
599
|
+
cancel(): void;
|
|
600
|
+
save(): void;
|
|
601
|
+
private uniqueNameValidator;
|
|
602
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SaveSearchComponent, never>;
|
|
603
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SaveSearchComponent, "upd-save-search", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "formGroup": "formGroupChange"; }, never, never, false, never>;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
declare class UpdTableModule {
|
|
607
|
+
constructor(translocoService: TranslocoService);
|
|
608
|
+
/**
|
|
609
|
+
* Sets up the table module with the provided configuration.
|
|
610
|
+
* @param config Configuration.
|
|
611
|
+
*/
|
|
612
|
+
static forRoot(config: UpdTableConfig): ModuleWithProviders<UpdTableModule>;
|
|
613
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdTableModule, never>;
|
|
614
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdTableModule, [typeof TableComponent, typeof SearchSectionComponent, typeof FilterRowComponent, typeof TableColumnDirective, typeof NumberColumnComponent, typeof DateTimeColumnComponent, typeof BooleanColumnComponent, typeof TextColumnComponent, typeof ColumnsManagerComponent, typeof 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 TableComponent, typeof TableColumnDirective]>;
|
|
615
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdTableModule>;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export { BaseColumn, BaseColumnModel, BooleanColumnModel, ColumnTypeEnum, CustomColumnModel, DateTimeColumnModel, FiltersOperandsService, GuidColumnModel, ImageColumnModel, NumberColumnModel, TableColumnDirective, TableComponent, TextColumnModel, UpdTableModule };
|
|
619
|
+
export type { TableConfig, UpdTableConfig };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
interface RowColumnSize {
|
|
4
|
+
/**
|
|
5
|
+
* Applies to all breakpoints from 576px and up (col-X).
|
|
6
|
+
*/
|
|
7
|
+
default?: number;
|
|
8
|
+
/**
|
|
9
|
+
* For devices with 1200px and up (col-xl-X).
|
|
10
|
+
*/
|
|
11
|
+
extraLarge?: number;
|
|
12
|
+
/**
|
|
13
|
+
* For devices with 992px and up (col-lg-X).
|
|
14
|
+
*/
|
|
15
|
+
large?: number;
|
|
16
|
+
/**
|
|
17
|
+
* For devices with 768px and up (col-md-X).
|
|
18
|
+
*/
|
|
19
|
+
medium?: number;
|
|
20
|
+
/**
|
|
21
|
+
* For devices with 576px and up (col-sm-X).
|
|
22
|
+
*/
|
|
23
|
+
small?: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class ColumnSizeHelper {
|
|
27
|
+
static getSizeClasses(colSize?: RowColumnSize, defaultIfEmpty?: number): string;
|
|
28
|
+
static getClasses(...classes: string[]): string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type ComponentSizeType = 'small' | 'default' | 'large';
|
|
32
|
+
|
|
33
|
+
type HorizontalVerticalType = 'horizontal' | 'vertical';
|
|
34
|
+
|
|
35
|
+
type ValidationStatusType = 'valid' | 'invalid';
|
|
36
|
+
|
|
37
|
+
declare class UpdComponentsModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdComponentsModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdComponentsModule, never, never, never>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdComponentsModule>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { ColumnSizeHelper, UpdComponentsModule };
|
|
44
|
+
export type { ComponentSizeType, HorizontalVerticalType, RowColumnSize, ValidationStatusType };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';
|
|
2
|
-
import { TextModel } from '@updevs/sdk';
|
|
3
|
-
import { BadgeConfig } from './badge.config';
|
|
4
|
-
export declare class BadgeConfigModel implements BadgeConfig {
|
|
5
|
-
bgColor: BgColorStyleType;
|
|
6
|
-
textColor?: ColorStyleType;
|
|
7
|
-
text?: TextModel;
|
|
8
|
-
isOutline: boolean;
|
|
9
|
-
isPill: boolean;
|
|
10
|
-
isNotification: boolean;
|
|
11
|
-
isBlinking: boolean;
|
|
12
|
-
customClasses: string;
|
|
13
|
-
constructor(init?: BadgeConfig);
|
|
14
|
-
}
|