@updevs/components 1.0.0-alpha.98 → 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,74 @@
|
|
|
1
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { WritableSignal, OnInit } from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import * as i3 from '@updevs/icons';
|
|
6
|
+
|
|
7
|
+
interface DragAndDropItem {
|
|
8
|
+
name: string;
|
|
9
|
+
text: TextModel;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
canDrag?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface DragAndDropColumnConfig {
|
|
15
|
+
name: string;
|
|
16
|
+
title?: TextModel;
|
|
17
|
+
items: DragAndDropItem[];
|
|
18
|
+
canBeEmpty?: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface DragAndDropConfig {
|
|
22
|
+
columns: DragAndDropColumnConfig[];
|
|
23
|
+
showHandler?: boolean;
|
|
24
|
+
canReorder?: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class DragAndDropItemModel implements DragAndDropItem {
|
|
28
|
+
name: string;
|
|
29
|
+
text: TextModel;
|
|
30
|
+
isDisabled: boolean;
|
|
31
|
+
canDrag: boolean;
|
|
32
|
+
canBeEmpty: boolean;
|
|
33
|
+
isBeingDragged: _angular_core.WritableSignal<boolean>;
|
|
34
|
+
origin?: string;
|
|
35
|
+
get isDraggable(): boolean;
|
|
36
|
+
constructor(init: DragAndDropItem);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare class DragAndDropColumnModel {
|
|
40
|
+
name: string;
|
|
41
|
+
title?: TextModel;
|
|
42
|
+
items: WritableSignal<DragAndDropItemModel[]>;
|
|
43
|
+
constructor(init: DragAndDropColumnConfig);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class DragAndDropComponent implements OnInit {
|
|
47
|
+
config: _angular_core.InputSignal<DragAndDropConfig>;
|
|
48
|
+
columns: _angular_core.ModelSignal<DragAndDropColumnModel[]>;
|
|
49
|
+
readonly showHandler: _angular_core.Signal<boolean>;
|
|
50
|
+
readonly canReorder: _angular_core.Signal<boolean>;
|
|
51
|
+
readonly textService: TextService;
|
|
52
|
+
private readonly isReordering;
|
|
53
|
+
private readonly draggedItem;
|
|
54
|
+
private dragEnterCounter;
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
canShowHandler(item: DragAndDropItemModel): boolean;
|
|
57
|
+
startDrag(event: DragEvent, item: DragAndDropItemModel, origin: string): void;
|
|
58
|
+
endDrag(item: DragAndDropItemModel): void;
|
|
59
|
+
drop(event: DragEvent, destination: string): void;
|
|
60
|
+
dragOver(event: DragEvent, destination: string): void;
|
|
61
|
+
dragEnter(): void;
|
|
62
|
+
dragLeave(columnName: string): void;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DragAndDropComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DragAndDropComponent, "upd-drag-and-drop", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, { "columns": "columnsChange"; }, never, never, false, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare class UpdDragAndDropModule {
|
|
68
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdDragAndDropModule, never>;
|
|
69
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdDragAndDropModule, [typeof DragAndDropComponent], [typeof i2.CommonModule, typeof i3.UpdIconsModule], [typeof DragAndDropComponent]>;
|
|
70
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdDragAndDropModule>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export { DragAndDropColumnModel, DragAndDropComponent, UpdDragAndDropModule };
|
|
74
|
+
export type { DragAndDropColumnConfig, DragAndDropConfig, DragAndDropItem };
|
|
@@ -1,10 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { TextService } from '@updevs/sdk';
|
|
5
|
-
import {
|
|
6
|
-
import * as i0 from
|
|
7
|
-
|
|
1
|
+
import { ButtonModel, BaseComponent } from '@updevs/sdk/layout';
|
|
2
|
+
import * as i3 from '@updevs/icons';
|
|
3
|
+
import { IconModel } from '@updevs/icons';
|
|
4
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
5
|
+
import { BgColorStyleType, LeftRightType, TopBottomLeftRightType, OverflowStrategyType } from '@updevs/sdk/types';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
import { OnInit, OnChanges, ElementRef, EventEmitter } from '@angular/core';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
import * as i4 from '@updevs/components/form-controls/radio';
|
|
10
|
+
import * as i5 from '@updevs/components/form-controls/checkbox';
|
|
11
|
+
import * as i6 from '@updevs/components/button';
|
|
12
|
+
|
|
13
|
+
type DropdownItemType = 'default' | 'radio' | 'checkbox' | 'divider' | 'with-toolbar';
|
|
14
|
+
|
|
15
|
+
type ToolbarType = 'grouped' | 'spaced';
|
|
16
|
+
|
|
17
|
+
interface DropdownItem {
|
|
18
|
+
id?: any;
|
|
19
|
+
text?: TextModel;
|
|
20
|
+
icon?: IconModel;
|
|
21
|
+
type: DropdownItemType;
|
|
22
|
+
toolbarType?: ToolbarType;
|
|
23
|
+
/**
|
|
24
|
+
* If type is checkbox, and this is set, the switch style will be used.
|
|
25
|
+
*/
|
|
26
|
+
isSwitch?: boolean;
|
|
27
|
+
isDisabled?: boolean;
|
|
28
|
+
isActive?: boolean;
|
|
29
|
+
leftBoxText?: string;
|
|
30
|
+
leftBoxImage?: string;
|
|
31
|
+
badgeColor?: BgColorStyleType;
|
|
32
|
+
badgeText?: string;
|
|
33
|
+
isChecked?: boolean;
|
|
34
|
+
actionButtons?: ButtonModel[];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface DropdownActionClickedModel {
|
|
38
|
+
button: ButtonModel;
|
|
39
|
+
item: DropdownItem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class DropdownComponent extends BaseComponent implements OnInit, OnChanges {
|
|
8
43
|
localWrapperClasses: string;
|
|
9
44
|
items: DropdownItem[];
|
|
10
45
|
header?: string;
|
|
@@ -46,7 +81,7 @@ export declare class DropdownComponent extends BaseComponent implements OnInit,
|
|
|
46
81
|
readonly isOpenChange: EventEmitter<boolean>;
|
|
47
82
|
readonly selectedItem: EventEmitter<DropdownItem>;
|
|
48
83
|
readonly checkboxChanged: EventEmitter<DropdownItem>;
|
|
49
|
-
textOverflowStrategy:
|
|
84
|
+
textOverflowStrategy: i0.InputSignal<OverflowStrategyType>;
|
|
50
85
|
readonly textService: TextService;
|
|
51
86
|
get isOpen(): boolean;
|
|
52
87
|
get overflowClass(): string;
|
|
@@ -78,3 +113,12 @@ export declare class DropdownComponent extends BaseComponent implements OnInit,
|
|
|
78
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
79
114
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "upd-dropdown", never, { "items": { "alias": "items"; "required": false; }; "header": { "alias": "header"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; }; "arrowType": { "alias": "arrowType"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "elementsExcludedFromOutsideClick": { "alias": "elementsExcludedFromOutsideClick"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "dropdownReference": { "alias": "dropdownReference"; "required": false; }; "dropdownReferencePosition": { "alias": "dropdownReferencePosition"; "required": false; }; "textOverflowStrategy": { "alias": "textOverflowStrategy"; "required": false; "isSignal": true; }; }, { "isOpenChange": "isOpenChange"; "selectedItem": "selectedItem"; "checkboxChanged": "checkboxChanged"; }, never, ["*"], false, never>;
|
|
80
115
|
}
|
|
116
|
+
|
|
117
|
+
declare class UpdDropdownModule {
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdDropdownModule, never>;
|
|
119
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdDropdownModule, [typeof DropdownComponent], [typeof i2.CommonModule, typeof i3.UpdIconsModule, typeof i4.UpdRadioModule, typeof i5.UpdCheckboxModule, typeof i6.UpdButtonModule], [typeof DropdownComponent]>;
|
|
120
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdDropdownModule>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { DropdownComponent, UpdDropdownModule };
|
|
124
|
+
export type { DropdownActionClickedModel, DropdownItem, DropdownItemType, ToolbarType };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
5
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
6
|
+
import { RowColumnSize, ValidationStatusType } from '@updevs/components';
|
|
7
|
+
|
|
8
|
+
declare abstract class BaseControl extends BaseComponent {
|
|
9
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
10
|
+
readonly placeholder: _angular_core.InputSignal<TextModel | undefined>;
|
|
11
|
+
readonly label: _angular_core.InputSignal<TextModel | undefined>;
|
|
12
|
+
readonly description: _angular_core.InputSignal<TextModel | undefined>;
|
|
13
|
+
readonly validationStatusDescriptions: _angular_core.InputSignal<TextModel[]>;
|
|
14
|
+
readonly labelColSize: _angular_core.InputSignal<RowColumnSize | undefined>;
|
|
15
|
+
readonly showValidStatus: _angular_core.InputSignal<boolean>;
|
|
16
|
+
readonly isRequired: _angular_core.InputSignal<boolean>;
|
|
17
|
+
readonly isDisabled: _angular_core.ModelSignal<boolean>;
|
|
18
|
+
readonly hint: _angular_core.InputSignal<TextModel | undefined>;
|
|
19
|
+
readonly hintTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
20
|
+
readonly hintAsTooltip: _angular_core.InputSignal<boolean>;
|
|
21
|
+
readonly validationStatus: _angular_core.InputSignal<ValidationStatusType | undefined>;
|
|
22
|
+
readonly control: _angular_core.InputSignal<AbstractControl<any, any, any> | undefined>;
|
|
23
|
+
protected readonly _textService: TextService;
|
|
24
|
+
private readonly destroyRef;
|
|
25
|
+
get placeholderText(): string;
|
|
26
|
+
get labelText(): string;
|
|
27
|
+
get descriptionText(): string;
|
|
28
|
+
get validationStatusTexts(): string[];
|
|
29
|
+
get hintText(): string;
|
|
30
|
+
constructor();
|
|
31
|
+
/**
|
|
32
|
+
* Updates the value in the form control.
|
|
33
|
+
* @param value The value to set in the form control.
|
|
34
|
+
* @param emitEvent Whether to emit the valueChanges event.
|
|
35
|
+
*/
|
|
36
|
+
protected _updateFormControl(value: any, emitEvent?: boolean): void;
|
|
37
|
+
/**
|
|
38
|
+
* Updates the component's value.
|
|
39
|
+
*/
|
|
40
|
+
protected abstract _updateValue(value: any): void;
|
|
41
|
+
/**
|
|
42
|
+
* Gets the current component value.
|
|
43
|
+
*/
|
|
44
|
+
protected abstract _getValue(): any;
|
|
45
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseControl, never>;
|
|
46
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseControl, never, never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "validationStatusDescriptions": { "alias": "validationStatusDescriptions"; "required": false; "isSignal": true; }; "labelColSize": { "alias": "labelColSize"; "required": false; "isSignal": true; }; "showValidStatus": { "alias": "showValidStatus"; "required": false; "isSignal": true; }; "isRequired": { "alias": "isRequired"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "hintTemplate": { "alias": "hintTemplate"; "required": false; "isSignal": true; }; "hintAsTooltip": { "alias": "hintAsTooltip"; "required": false; "isSignal": true; }; "validationStatus": { "alias": "validationStatus"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, { "isDisabled": "isDisabledChange"; }, never, never, false, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { BaseControl };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import * as i3 from '@angular/forms';
|
|
6
|
+
import * as i4 from '@updevs/components/popover';
|
|
7
|
+
|
|
8
|
+
declare class CheckboxComponent extends BaseControl {
|
|
9
|
+
wrapperClasses: string;
|
|
10
|
+
checkboxInput?: ElementRef;
|
|
11
|
+
readonly changed: EventEmitter<boolean>;
|
|
12
|
+
value: _angular_core.InputSignal<any>;
|
|
13
|
+
customClasses: _angular_core.InputSignal<string | undefined>;
|
|
14
|
+
isChecked: _angular_core.ModelSignal<boolean>;
|
|
15
|
+
isInline: _angular_core.InputSignal<boolean>;
|
|
16
|
+
isSwitch: _angular_core.InputSignal<boolean>;
|
|
17
|
+
isIndeterminate: _angular_core.ModelSignal<boolean>;
|
|
18
|
+
classes: _angular_core.Signal<string[]>;
|
|
19
|
+
constructor();
|
|
20
|
+
onSelectChange(event: Event): void;
|
|
21
|
+
protected _getValue(): any;
|
|
22
|
+
protected _updateValue(value: any): void;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "upd-checkbox", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "isChecked": { "alias": "isChecked"; "required": false; "isSignal": true; }; "isInline": { "alias": "isInline"; "required": false; "isSignal": true; }; "isSwitch": { "alias": "isSwitch"; "required": false; "isSignal": true; }; "isIndeterminate": { "alias": "isIndeterminate"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "isChecked": "isCheckedChange"; "isIndeterminate": "isIndeterminateChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class UpdCheckboxModule {
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdCheckboxModule, never>;
|
|
29
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdCheckboxModule, [typeof CheckboxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.UpdPopoverModule], [typeof CheckboxComponent]>;
|
|
30
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdCheckboxModule>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { CheckboxComponent, UpdCheckboxModule };
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
3
|
import { BaseComponent } from '@updevs/sdk/layout';
|
|
3
4
|
import { OptionalType } from '@updevs/sdk/types';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import * as i4 from '@updevs/components/calendar';
|
|
6
|
+
import { CalendarComponent, CalendarSelectedModel } from '@updevs/components/calendar';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@updevs/components/button';
|
|
9
|
+
import * as i5 from '@updevs/icons';
|
|
10
|
+
import * as i6 from '@updevs/components/form-controls/input';
|
|
11
|
+
|
|
12
|
+
declare class DatePickerComponent extends BaseComponent {
|
|
7
13
|
componentBox?: ElementRef;
|
|
8
14
|
calendarWrapper?: ElementRef;
|
|
9
15
|
calendarComponent: CalendarComponent;
|
|
@@ -64,3 +70,11 @@ export declare class DatePickerComponent extends BaseComponent {
|
|
|
64
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
65
71
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "upd-date-picker", never, { "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; }; "shouldCloseOnSelectionFinished": { "alias": "shouldCloseOnSelectionFinished"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
66
72
|
}
|
|
73
|
+
|
|
74
|
+
declare class UpdDatePickerModule {
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdDatePickerModule, never>;
|
|
76
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdDatePickerModule, [typeof DatePickerComponent], [typeof i2.CommonModule, typeof i3.UpdButtonModule, typeof i4.UpdCalendarModule, typeof i5.UpdIconsModule, typeof i6.UpdInputModule], [typeof DatePickerComponent]>;
|
|
77
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdDatePickerModule>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export { DatePickerComponent, UpdDatePickerModule };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { HorizontalVerticalType } from '@updevs/components';
|
|
4
|
+
import { TextModel } from '@updevs/sdk';
|
|
5
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
7
|
+
import * as i3 from '@jsverse/transloco';
|
|
8
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
9
|
+
import * as i2 from '@angular/common';
|
|
10
|
+
import * as i4 from '@updevs/components/button';
|
|
11
|
+
import * as i5 from '@updevs/icons';
|
|
12
|
+
import * as i6 from '@updevs/components/popover';
|
|
13
|
+
|
|
14
|
+
interface FileUploadChangedEvent {
|
|
15
|
+
file: File;
|
|
16
|
+
dataUrl: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class FileUploadComponent extends BaseControl {
|
|
20
|
+
hostWrapperClasses: string;
|
|
21
|
+
readonly fileChanged: EventEmitter<OptionalType<FileUploadChangedEvent>>;
|
|
22
|
+
readonly fileName: _angular_core.InputSignal<string | undefined>;
|
|
23
|
+
readonly title: _angular_core.InputSignal<TextModel | undefined>;
|
|
24
|
+
readonly allowFilesDrop: _angular_core.InputSignal<boolean>;
|
|
25
|
+
readonly isMultiple: _angular_core.InputSignal<boolean>;
|
|
26
|
+
readonly allowedExtensions: _angular_core.InputSignal<string>;
|
|
27
|
+
readonly minFileSize: _angular_core.InputSignal<number | undefined>;
|
|
28
|
+
readonly maxFileSize: _angular_core.InputSignal<number | undefined>;
|
|
29
|
+
readonly layout: _angular_core.InputSignal<HorizontalVerticalType>;
|
|
30
|
+
readonly isOver: _angular_core.WritableSignal<boolean>;
|
|
31
|
+
readonly showValidationStatus: _angular_core.Signal<boolean>;
|
|
32
|
+
readonly validationStatusClass: _angular_core.Signal<string>;
|
|
33
|
+
readonly validationStatusBorderClass: _angular_core.Signal<"" | "border-danger" | "border-success">;
|
|
34
|
+
readonly errorsList: _angular_core.Signal<string[]>;
|
|
35
|
+
readonly currentFiles: _angular_core.WritableSignal<OptionalType<File[]>>;
|
|
36
|
+
readonly labelSizeClasses: _angular_core.Signal<string>;
|
|
37
|
+
readonly firstFileName: _angular_core.Signal<string | undefined>;
|
|
38
|
+
get titleText(): string;
|
|
39
|
+
get dropDescriptionText(): string;
|
|
40
|
+
get supportsAdvancedUpload(): boolean;
|
|
41
|
+
private readonly defaultMobileDesc;
|
|
42
|
+
private readonly defaultDesktopDesc;
|
|
43
|
+
private readonly fileUploadErrors;
|
|
44
|
+
private readonly platformService;
|
|
45
|
+
onFileChange(event: Event): void;
|
|
46
|
+
removeFile(): void;
|
|
47
|
+
onDrag(event: DragEvent): void;
|
|
48
|
+
onDragStart(event: DragEvent): void;
|
|
49
|
+
onDragEnd(event: DragEvent): void;
|
|
50
|
+
onDragOver(event: DragEvent): void;
|
|
51
|
+
onDragEnter(event: DragEvent): void;
|
|
52
|
+
onDragLeave(event: DragEvent): void;
|
|
53
|
+
onDrop(event: DragEvent): void;
|
|
54
|
+
protected _getValue(): any;
|
|
55
|
+
protected _updateValue(value: any): void;
|
|
56
|
+
private getFileErrors;
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
58
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileUploadComponent, "upd-file-upload", never, { "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "allowFilesDrop": { "alias": "allowFilesDrop"; "required": false; "isSignal": true; }; "isMultiple": { "alias": "isMultiple"; "required": false; "isSignal": true; }; "allowedExtensions": { "alias": "allowedExtensions"; "required": false; "isSignal": true; }; "minFileSize": { "alias": "minFileSize"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "fileChanged": "fileChanged"; }, never, never, false, never>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare class UpdFileUploadModule {
|
|
62
|
+
constructor(translocoService: TranslocoService);
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdFileUploadModule, never>;
|
|
64
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdFileUploadModule, [typeof FileUploadComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule, typeof i4.UpdButtonModule, typeof i5.UpdIconsModule, typeof i6.UpdPopoverModule], [typeof FileUploadComponent]>;
|
|
65
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdFileUploadModule>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { FileUploadComponent, UpdFileUploadModule };
|
|
69
|
+
export type { FileUploadChangedEvent };
|
|
@@ -1,15 +1,32 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, OnInit, OnChanges, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i5 from '@updevs/icons';
|
|
2
4
|
import { IconModel } from '@updevs/icons';
|
|
5
|
+
import * as i6 from '@updevs/sdk/mask';
|
|
3
6
|
import { UpdMaskConfig } from '@updevs/sdk/mask';
|
|
4
7
|
import { ComponentSizeType, HorizontalVerticalType } from '@updevs/components';
|
|
5
8
|
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
9
|
import { Subject } from 'rxjs';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
import * as i4 from '@angular/common';
|
|
11
|
+
import * as i7 from '@updevs/components/popover';
|
|
12
|
+
|
|
13
|
+
declare class InputAppendDirective {
|
|
14
|
+
readonly templateRef: TemplateRef<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputAppendDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputAppendDirective, "ng-template[updInputAppend]", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class InputPrependDirective {
|
|
20
|
+
readonly templateRef: TemplateRef<any>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPrependDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputPrependDirective, "ng-template[updInputPrepend]", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type InputType = 'text' | 'number' | 'email' | 'file' | 'hidden' | 'password';
|
|
26
|
+
|
|
27
|
+
type LoaderPositionType = 'append' | 'prepend';
|
|
28
|
+
|
|
29
|
+
declare class InputComponent extends BaseControl implements OnInit, OnChanges {
|
|
13
30
|
hostWrapperClasses: string;
|
|
14
31
|
inputElement?: ElementRef<HTMLInputElement>;
|
|
15
32
|
maskedInputElement?: ElementRef<HTMLInputElement>;
|
|
@@ -67,3 +84,12 @@ export declare class InputComponent extends BaseControl implements OnInit, OnCha
|
|
|
67
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
68
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "upd-input", never, { "type": { "alias": "type"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "maskConfig": { "alias": "maskConfig"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isPlainText": { "alias": "isPlainText"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isRound": { "alias": "isRound"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isInputGroupFlat": { "alias": "isInputGroupFlat"; "required": false; }; "isPrependButton": { "alias": "isPrependButton"; "required": false; }; "isAppendButton": { "alias": "isAppendButton"; "required": false; }; "isFloating": { "alias": "isFloating"; "required": false; }; "loaderPosition": { "alias": "loaderPosition"; "required": false; }; "prependIconModel": { "alias": "prependIconModel"; "required": false; }; "appendIconModel": { "alias": "appendIconModel"; "required": false; }; "isValidationStatusLight": { "alias": "isValidationStatusLight"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "valueChange": "valueChange"; "blurred": "blurred"; "keyDown": "keyDown"; "keyDownEsc": "keyDownEsc"; "keyUpEnter": "keyUpEnter"; }, ["appendTemplate", "prependTemplate"], never, false, never>;
|
|
69
86
|
}
|
|
87
|
+
|
|
88
|
+
declare class UpdInputModule {
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdInputModule, never>;
|
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdInputModule, [typeof InputComponent, typeof InputAppendDirective, typeof InputPrependDirective], [typeof i4.CommonModule, typeof i5.UpdIconsModule, typeof i6.UpdMaskModule, typeof i7.UpdPopoverModule], [typeof InputComponent, typeof InputAppendDirective, typeof InputPrependDirective]>;
|
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdInputModule>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { InputAppendDirective, InputComponent, InputPrependDirective, UpdInputModule };
|
|
95
|
+
export type { InputType, LoaderPositionType };
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
|
2
3
|
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
3
|
-
import * as
|
|
4
|
-
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import * as i3 from '@updevs/components/popover';
|
|
6
|
+
import * as i4 from '@angular/forms';
|
|
7
|
+
|
|
8
|
+
declare class RadioComponent extends BaseControl implements OnInit, OnChanges {
|
|
5
9
|
wrapperClasses: string;
|
|
6
10
|
value?: any;
|
|
7
11
|
customClasses?: string;
|
|
@@ -18,3 +22,11 @@ export declare class RadioComponent extends BaseControl implements OnInit, OnCha
|
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
19
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "upd-radio", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "value": { "alias": "value"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isInline": { "alias": "isInline"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
20
24
|
}
|
|
25
|
+
|
|
26
|
+
declare class UpdRadioModule {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdRadioModule, never>;
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdRadioModule, [typeof RadioComponent], [typeof i2.CommonModule, typeof i3.UpdPopoverModule, typeof i4.ReactiveFormsModule], [typeof RadioComponent]>;
|
|
29
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdRadioModule>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { RadioComponent, UpdRadioModule };
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { HorizontalVerticalType } from '@updevs/components';
|
|
2
|
+
import * as i5 from '@updevs/components/list';
|
|
3
|
+
import { ListItem } from '@updevs/components/list';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
|
|
7
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
8
|
+
import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
|
|
9
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
10
|
+
import * as i3 from '@angular/common';
|
|
11
|
+
import * as i4 from '@updevs/sdk/layout';
|
|
12
|
+
import * as i6 from '@updevs/components/form-controls/input';
|
|
13
|
+
import * as i7 from '@updevs/icons';
|
|
14
|
+
import * as i8 from '@updevs/components/button';
|
|
15
|
+
import * as i9 from '@updevs/components/popover';
|
|
16
|
+
import * as i10 from '@jsverse/transloco';
|
|
17
|
+
|
|
18
|
+
declare class Defaults {
|
|
19
|
+
static dropdownMaxHeight: number;
|
|
20
|
+
static typeaheadDebounce: number;
|
|
21
|
+
static shouldAutoSearch: boolean;
|
|
22
|
+
static shouldCloseOnOutsideClick: boolean;
|
|
23
|
+
static layout: HorizontalVerticalType;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface SelectItem {
|
|
27
|
+
/**
|
|
28
|
+
* Value of the single item if selected.
|
|
29
|
+
* If grouped, will be the group key.
|
|
30
|
+
*/
|
|
31
|
+
value?: any;
|
|
32
|
+
/**
|
|
33
|
+
* Description of the single item.
|
|
34
|
+
* If grouped, will be the group name.
|
|
35
|
+
*/
|
|
36
|
+
text: string;
|
|
37
|
+
/**
|
|
38
|
+
* Full object's data.
|
|
39
|
+
*/
|
|
40
|
+
objectData?: any;
|
|
41
|
+
/**
|
|
42
|
+
* Allows to customize the list item.
|
|
43
|
+
*/
|
|
44
|
+
listItem?: ListItem;
|
|
45
|
+
/**
|
|
46
|
+
* Children.
|
|
47
|
+
*/
|
|
48
|
+
children?: SelectItem[];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
type ParentLoaderType = (parentId: any, term?: string) => Observable<SelectItem[]>;
|
|
52
|
+
type GetItemByIdType = (id: any) => Observable<SelectItem>;
|
|
53
|
+
|
|
54
|
+
declare abstract class BaseSelectComponent extends BaseControl implements OnInit {
|
|
55
|
+
get wrapperClasses(): "row" | "";
|
|
56
|
+
readonly componentBox: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
57
|
+
readonly searchBox: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
58
|
+
readonly searchBoxChild: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
59
|
+
readonly list: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
60
|
+
readonly dropdownOpenStatusChange: _angular_core.OutputEmitterRef<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* Select items.
|
|
63
|
+
* If provided, the select will be considered static.
|
|
64
|
+
*/
|
|
65
|
+
readonly items: _angular_core.InputSignal<SelectItem[] | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Store used to load/filter the items.
|
|
68
|
+
*/
|
|
69
|
+
readonly store: _angular_core.InputSignal<BaseSearchStore<any> | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Observable used to load/filter the items.
|
|
72
|
+
*/
|
|
73
|
+
readonly observable: _angular_core.InputSignal<ObservableSearchType | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Name of the property in the object that represents the ID/key of the option.
|
|
76
|
+
* **Note:** used only for remote data.
|
|
77
|
+
*/
|
|
78
|
+
readonly itemKey: _angular_core.InputSignal<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Name of the property in the object that represents the value/description of the option.
|
|
81
|
+
* **Note:** used only for remote data.
|
|
82
|
+
*/
|
|
83
|
+
readonly itemValue: _angular_core.InputSignal<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Maximum height of the dropdown.
|
|
86
|
+
*/
|
|
87
|
+
readonly dropdownMaxHeight: _angular_core.InputSignal<number>;
|
|
88
|
+
readonly typeaheadDebounce: _angular_core.InputSignal<number>;
|
|
89
|
+
readonly shouldAutoSearch: _angular_core.InputSignal<boolean>;
|
|
90
|
+
readonly shouldCloseOnOutsideClick: _angular_core.InputSignal<boolean>;
|
|
91
|
+
readonly layout: _angular_core.InputSignal<HorizontalVerticalType>;
|
|
92
|
+
/**
|
|
93
|
+
* Value coming from a parent field when the rule `AttachmentTypeEnum.ParentLoad` is active.
|
|
94
|
+
* `upd-select` can use it to fetch the dependent list.
|
|
95
|
+
*/
|
|
96
|
+
readonly parentValue: _angular_core.InputSignal<unknown>;
|
|
97
|
+
readonly parentSelectedId: _angular_core.InputSignal<any>;
|
|
98
|
+
readonly parentDependentLoader: _angular_core.InputSignal<ParentLoaderType | undefined>;
|
|
99
|
+
readonly getItemById: _angular_core.InputSignal<GetItemByIdType | undefined>;
|
|
100
|
+
layoutClasses: _angular_core.Signal<string[]>;
|
|
101
|
+
isLoading: boolean;
|
|
102
|
+
localItems: _angular_core.WritableSignal<SelectItem[]>;
|
|
103
|
+
listItems: ListItem[];
|
|
104
|
+
dropdownClasses: string;
|
|
105
|
+
get isDropdownOpen(): boolean;
|
|
106
|
+
set isDropdownOpen(value: boolean);
|
|
107
|
+
get labelSizeClasses(): string;
|
|
108
|
+
protected _currentTerm?: string;
|
|
109
|
+
protected _localBackupItems: SelectItem[];
|
|
110
|
+
private hasInternalList;
|
|
111
|
+
private _isDropdownOpen;
|
|
112
|
+
private hostWrapperClasses;
|
|
113
|
+
private previousParentValue?;
|
|
114
|
+
private readonly searchInputSubject;
|
|
115
|
+
private readonly renderer;
|
|
116
|
+
private readonly ngZone;
|
|
117
|
+
private readonly domEventsService;
|
|
118
|
+
private readonly positioningService;
|
|
119
|
+
private readonly injector;
|
|
120
|
+
protected constructor();
|
|
121
|
+
ngOnInit(): void;
|
|
122
|
+
openDropdown(): void;
|
|
123
|
+
search(term?: string): void;
|
|
124
|
+
protected _setupLocalItems(items: SelectItem[]): void;
|
|
125
|
+
private searchLocal;
|
|
126
|
+
private searchExternal;
|
|
127
|
+
private getListItem;
|
|
128
|
+
private updatePosition;
|
|
129
|
+
abstract clearSelection(): void;
|
|
130
|
+
abstract onSelectItem(item: ListItem): void;
|
|
131
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseSelectComponent, never>;
|
|
132
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseSelectComponent, never, never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "observable": { "alias": "observable"; "required": false; "isSignal": true; }; "itemKey": { "alias": "itemKey"; "required": false; "isSignal": true; }; "itemValue": { "alias": "itemValue"; "required": false; "isSignal": true; }; "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; "isSignal": true; }; "typeaheadDebounce": { "alias": "typeaheadDebounce"; "required": false; "isSignal": true; }; "shouldAutoSearch": { "alias": "shouldAutoSearch"; "required": false; "isSignal": true; }; "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "parentValue": { "alias": "parentValue"; "required": false; "isSignal": true; }; "parentSelectedId": { "alias": "parentSelectedId"; "required": false; "isSignal": true; }; "parentDependentLoader": { "alias": "parentDependentLoader"; "required": false; "isSignal": true; }; "getItemById": { "alias": "getItemById"; "required": false; "isSignal": true; }; }, { "dropdownOpenStatusChange": "dropdownOpenStatusChange"; }, never, never, false, never>;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
declare class SelectComponent extends BaseSelectComponent {
|
|
136
|
+
/**
|
|
137
|
+
* If true, it'll use the default style of the OS, no search capabilities.
|
|
138
|
+
*/
|
|
139
|
+
readonly useSystemStyle: _angular_core.InputSignal<boolean>;
|
|
140
|
+
readonly shouldShowClearButton: _angular_core.InputSignal<boolean>;
|
|
141
|
+
readonly shouldTruncateSelectedText: _angular_core.InputSignal<OptionalType<boolean>>;
|
|
142
|
+
readonly isCompact: _angular_core.InputSignal<boolean>;
|
|
143
|
+
readonly value: _angular_core.ModelSignal<any>;
|
|
144
|
+
readonly shouldShowHintWithoutLabel: _angular_core.Signal<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Triggered when an item is selected.
|
|
147
|
+
*/
|
|
148
|
+
readonly selectedItem: _angular_core.OutputEmitterRef<OptionalType<SelectItem>>;
|
|
149
|
+
currentSelection?: SelectItem;
|
|
150
|
+
get canTruncateText(): boolean;
|
|
151
|
+
private isFetchingMissingItem;
|
|
152
|
+
constructor();
|
|
153
|
+
onSelectItem(item: ListItem): void;
|
|
154
|
+
search(term?: string): void;
|
|
155
|
+
clearSelection(isInternalCall?: boolean): void;
|
|
156
|
+
onSystemSelect(event: any): void;
|
|
157
|
+
protected _getValue(): any;
|
|
158
|
+
protected _updateValue(value: any): void;
|
|
159
|
+
private loadDependentData;
|
|
160
|
+
private clearData;
|
|
161
|
+
private fetchMissingItem;
|
|
162
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "upd-select", never, { "useSystemStyle": { "alias": "useSystemStyle"; "required": false; "isSignal": true; }; "shouldShowClearButton": { "alias": "shouldShowClearButton"; "required": false; "isSignal": true; }; "shouldTruncateSelectedText": { "alias": "shouldTruncateSelectedText"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare class SelectMultipleComponent extends BaseSelectComponent {
|
|
167
|
+
/**
|
|
168
|
+
* Returns the selected items.
|
|
169
|
+
* Triggered when items are selected.
|
|
170
|
+
*/
|
|
171
|
+
readonly selectedItems: EventEmitter<SelectItem[]>;
|
|
172
|
+
/**
|
|
173
|
+
* Returns the selected Ids.
|
|
174
|
+
* Triggered when items are selected.
|
|
175
|
+
*/
|
|
176
|
+
readonly selectedIds: EventEmitter<any[]>;
|
|
177
|
+
/**
|
|
178
|
+
* An array of primitive values to set the selection programmatically.
|
|
179
|
+
*/
|
|
180
|
+
readonly selectedValues: _angular_core.InputSignal<SelectItem[] | undefined>;
|
|
181
|
+
currentSelection: SelectItem[];
|
|
182
|
+
constructor();
|
|
183
|
+
clearSelection(): void;
|
|
184
|
+
onSelectItem(item: ListItem): void;
|
|
185
|
+
onRemoveItem(item: SelectItem): void;
|
|
186
|
+
protected _getValue(): any;
|
|
187
|
+
protected _updateValue(value: any): void;
|
|
188
|
+
private updateActiveItemsOnList;
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectMultipleComponent, never>;
|
|
190
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectMultipleComponent, "upd-select-multiple", never, { "selectedValues": { "alias": "selectedValues"; "required": false; "isSignal": true; }; }, { "selectedItems": "selectedItems"; "selectedIds": "selectedIds"; }, never, never, false, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare class UpdSelectModule {
|
|
194
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdSelectModule, never>;
|
|
195
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdSelectModule, [typeof SelectComponent, typeof SelectMultipleComponent], [typeof i3.CommonModule, typeof i4.UpdCoreLayoutModule, typeof i5.UpdListModule, typeof i6.UpdInputModule, typeof i7.UpdIconsModule, typeof i8.UpdButtonModule, typeof i9.UpdPopoverModule, typeof i10.TranslocoModule], [typeof SelectComponent, typeof SelectMultipleComponent]>;
|
|
196
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdSelectModule>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export { Defaults, SelectComponent, SelectMultipleComponent, UpdSelectModule };
|
|
200
|
+
export type { GetItemByIdType, ParentLoaderType, SelectItem };
|