@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,31 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges } from '@angular/core';
|
|
3
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
|
|
6
|
+
declare class TextareaComponent extends BaseControl implements OnInit, OnChanges {
|
|
7
|
+
hostWrapperClasses: string;
|
|
8
|
+
value: _angular_core.ModelSignal<string | undefined>;
|
|
9
|
+
customClasses: _angular_core.InputSignal<string | undefined>;
|
|
10
|
+
wrapperClasses: _angular_core.InputSignal<string | undefined>;
|
|
11
|
+
maxLength: _angular_core.InputSignal<number | undefined>;
|
|
12
|
+
rows: _angular_core.InputSignal<number | undefined>;
|
|
13
|
+
displayCharactersCount: _angular_core.InputSignal<boolean>;
|
|
14
|
+
classes: string[];
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
updateValue(event?: any): void;
|
|
18
|
+
protected _getValue(): any;
|
|
19
|
+
protected _updateValue(value: any): void;
|
|
20
|
+
private updateClasses;
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "upd-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "displayCharactersCount": { "alias": "displayCharactersCount"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class UpdTextareaModule {
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdTextareaModule, never>;
|
|
27
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdTextareaModule, [typeof TextareaComponent], [typeof i2.CommonModule], [typeof TextareaComponent]>;
|
|
28
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdTextareaModule>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { TextareaComponent, UpdTextareaModule };
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import * as i4 from '@jsverse/transloco';
|
|
2
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { OnInit, OnChanges, ElementRef, SimpleChanges } from '@angular/core';
|
|
5
|
+
import * as i3 from '@angular/common';
|
|
6
|
+
import * as i5 from '@updevs/components/form-controls/input';
|
|
7
|
+
import * as i6 from '@updevs/icons';
|
|
8
|
+
import * as i7 from '@updevs/components/button';
|
|
9
|
+
import * as i8 from '@updevs/components/list';
|
|
10
|
+
import * as i9 from '@updevs/components/dropdown';
|
|
11
|
+
|
|
12
|
+
declare class TimePickerComponent implements OnInit, OnChanges {
|
|
13
|
+
inputRef?: ElementRef;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum height of the dropdown.
|
|
16
|
+
*/
|
|
17
|
+
dropdownMaxHeight: number;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the mask should be shown.
|
|
20
|
+
*/
|
|
21
|
+
showMask: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether seconds should be selectable.
|
|
24
|
+
*/
|
|
25
|
+
shouldSelectSeconds: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the 24-hour format will be used or the 12-hour one (AM/PM)
|
|
28
|
+
*/
|
|
29
|
+
shouldUse24hFormat: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Hour from which where the list will begin.
|
|
32
|
+
*/
|
|
33
|
+
startingHour: number;
|
|
34
|
+
/**
|
|
35
|
+
* Hour from which where the list will end.
|
|
36
|
+
*/
|
|
37
|
+
endingHour: number;
|
|
38
|
+
/**
|
|
39
|
+
* Interval between hours displayed.
|
|
40
|
+
*/
|
|
41
|
+
hourInterval: number;
|
|
42
|
+
/**
|
|
43
|
+
* Minute from which where the list will begin.
|
|
44
|
+
*/
|
|
45
|
+
startingMinute: number;
|
|
46
|
+
/**
|
|
47
|
+
* Minute from which where the list will end.
|
|
48
|
+
*/
|
|
49
|
+
endingMinute: number;
|
|
50
|
+
/**
|
|
51
|
+
* Interval between minutes displayed.
|
|
52
|
+
*/
|
|
53
|
+
minuteInterval: number;
|
|
54
|
+
/**
|
|
55
|
+
* Second from which where the list will begin.
|
|
56
|
+
*/
|
|
57
|
+
startingSecond: number;
|
|
58
|
+
/**
|
|
59
|
+
* Second from which where the list will end.
|
|
60
|
+
*/
|
|
61
|
+
endingSecond: number;
|
|
62
|
+
/**
|
|
63
|
+
* Interval between seconds displayed.
|
|
64
|
+
*/
|
|
65
|
+
secondInterval: number;
|
|
66
|
+
/**
|
|
67
|
+
* Custom list of hours to be displayed for selection.
|
|
68
|
+
*/
|
|
69
|
+
customHours?: number[];
|
|
70
|
+
/**
|
|
71
|
+
* Custom list of minutes to be displayed for selection.
|
|
72
|
+
*/
|
|
73
|
+
customMinutes?: number[];
|
|
74
|
+
/**
|
|
75
|
+
* Custom list of seconds to be displayed for selection.
|
|
76
|
+
*/
|
|
77
|
+
customSeconds?: number[];
|
|
78
|
+
maxWidth: number;
|
|
79
|
+
isDropdownOpen: boolean;
|
|
80
|
+
get inputMask(): string;
|
|
81
|
+
ngOnInit(): void;
|
|
82
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
83
|
+
openDropdown(): void;
|
|
84
|
+
private setupStyle;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "upd-time-picker", never, { "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; }; "showMask": { "alias": "showMask"; "required": false; }; "shouldSelectSeconds": { "alias": "shouldSelectSeconds"; "required": false; }; "shouldUse24hFormat": { "alias": "shouldUse24hFormat"; "required": false; }; "startingHour": { "alias": "startingHour"; "required": false; }; "endingHour": { "alias": "endingHour"; "required": false; }; "hourInterval": { "alias": "hourInterval"; "required": false; }; "startingMinute": { "alias": "startingMinute"; "required": false; }; "endingMinute": { "alias": "endingMinute"; "required": false; }; "minuteInterval": { "alias": "minuteInterval"; "required": false; }; "startingSecond": { "alias": "startingSecond"; "required": false; }; "endingSecond": { "alias": "endingSecond"; "required": false; }; "secondInterval": { "alias": "secondInterval"; "required": false; }; "customHours": { "alias": "customHours"; "required": false; }; "customMinutes": { "alias": "customMinutes"; "required": false; }; "customSeconds": { "alias": "customSeconds"; "required": false; }; }, {}, never, never, false, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class TimeSelectorComponent implements OnInit, OnChanges {
|
|
90
|
+
/**
|
|
91
|
+
* Whether seconds should be selectable.
|
|
92
|
+
*/
|
|
93
|
+
shouldSelectSeconds: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Whether the 24-hour format will be used or the 12-hour one (AM/PM)
|
|
96
|
+
*/
|
|
97
|
+
shouldUse24hFormat: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Hour from which where the list will begin.
|
|
100
|
+
*/
|
|
101
|
+
startingHour: number;
|
|
102
|
+
/**
|
|
103
|
+
* Hour from which where the list will end.
|
|
104
|
+
*/
|
|
105
|
+
endingHour: number;
|
|
106
|
+
/**
|
|
107
|
+
* Interval between hours displayed.
|
|
108
|
+
*/
|
|
109
|
+
hourInterval: number;
|
|
110
|
+
/**
|
|
111
|
+
* Minute from which where the list will begin.
|
|
112
|
+
*/
|
|
113
|
+
startingMinute: number;
|
|
114
|
+
/**
|
|
115
|
+
* Minute from which where the list will end.
|
|
116
|
+
*/
|
|
117
|
+
endingMinute: number;
|
|
118
|
+
/**
|
|
119
|
+
* Interval between minutes displayed.
|
|
120
|
+
*/
|
|
121
|
+
minuteInterval: number;
|
|
122
|
+
/**
|
|
123
|
+
* Second from which where the list will begin.
|
|
124
|
+
*/
|
|
125
|
+
startingSecond: number;
|
|
126
|
+
/**
|
|
127
|
+
* Second from which where the list will end.
|
|
128
|
+
*/
|
|
129
|
+
endingSecond: number;
|
|
130
|
+
/**
|
|
131
|
+
* Interval between seconds displayed.
|
|
132
|
+
*/
|
|
133
|
+
secondInterval: number;
|
|
134
|
+
/**
|
|
135
|
+
* Custom list of hours to be displayed for selection.
|
|
136
|
+
*/
|
|
137
|
+
customHours?: number[];
|
|
138
|
+
/**
|
|
139
|
+
* Custom list of minutes to be displayed for selection.
|
|
140
|
+
*/
|
|
141
|
+
customMinutes?: number[];
|
|
142
|
+
/**
|
|
143
|
+
* Custom list of seconds to be displayed for selection.
|
|
144
|
+
*/
|
|
145
|
+
customSeconds?: number[];
|
|
146
|
+
hoursList: number[];
|
|
147
|
+
minutesList: number[];
|
|
148
|
+
secondsList: number[];
|
|
149
|
+
ngOnInit(): void;
|
|
150
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
151
|
+
private setupTimeLists;
|
|
152
|
+
private setupTimeList;
|
|
153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSelectorComponent, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimeSelectorComponent, "upd-time-selector", never, { "shouldSelectSeconds": { "alias": "shouldSelectSeconds"; "required": false; }; "shouldUse24hFormat": { "alias": "shouldUse24hFormat"; "required": false; }; "startingHour": { "alias": "startingHour"; "required": false; }; "endingHour": { "alias": "endingHour"; "required": false; }; "hourInterval": { "alias": "hourInterval"; "required": false; }; "startingMinute": { "alias": "startingMinute"; "required": false; }; "endingMinute": { "alias": "endingMinute"; "required": false; }; "minuteInterval": { "alias": "minuteInterval"; "required": false; }; "startingSecond": { "alias": "startingSecond"; "required": false; }; "endingSecond": { "alias": "endingSecond"; "required": false; }; "secondInterval": { "alias": "secondInterval"; "required": false; }; "customHours": { "alias": "customHours"; "required": false; }; "customMinutes": { "alias": "customMinutes"; "required": false; }; "customSeconds": { "alias": "customSeconds"; "required": false; }; }, {}, never, never, false, never>;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare class UpdTimePickerModule {
|
|
158
|
+
constructor(translocoService: TranslocoService);
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdTimePickerModule, never>;
|
|
160
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdTimePickerModule, [typeof TimePickerComponent, typeof TimeSelectorComponent], [typeof i3.CommonModule, typeof i4.TranslocoModule, typeof i5.UpdInputModule, typeof i6.UpdIconsModule, typeof i7.UpdButtonModule, typeof i8.UpdListModule, typeof i9.UpdDropdownModule], [typeof TimePickerComponent, typeof TimeSelectorComponent]>;
|
|
161
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdTimePickerModule>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export { TimePickerComponent, TimeSelectorComponent, UpdTimePickerModule };
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { ButtonModel, BaseComponent } from '@updevs/sdk/layout';
|
|
2
|
+
import * as i4 from '@angular/forms';
|
|
3
|
+
import { ValidatorFn, FormControlStatus, FormGroup, FormControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { Signal, OnInit, EventEmitter, InputSignal } from '@angular/core';
|
|
6
|
+
import * as i14 from '@updevs/sdk';
|
|
7
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
8
|
+
import { RowColumnSize, HorizontalVerticalType, ValidationStatusType } from '@updevs/components';
|
|
9
|
+
import { RequiredPermissionsModel } from '@updevs/sdk/security';
|
|
10
|
+
import { DictionaryType, OptionalType } from '@updevs/sdk/types';
|
|
11
|
+
import * as i7 from '@updevs/components/form-controls/input';
|
|
12
|
+
import { InputType } from '@updevs/components/form-controls/input';
|
|
13
|
+
import { UpdMaskConfig } from '@updevs/sdk/mask';
|
|
14
|
+
import * as i11 from '@updevs/components/form-controls/select';
|
|
15
|
+
import { SelectItem, Defaults } from '@updevs/components/form-controls/select';
|
|
16
|
+
import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
|
|
17
|
+
import * as i6 from '@jsverse/transloco';
|
|
18
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
19
|
+
import * as i13 from '@updevs/components/form-controls/file-upload';
|
|
20
|
+
import { FileUploadChangedEvent } from '@updevs/components/form-controls/file-upload';
|
|
21
|
+
import * as i3 from '@angular/common';
|
|
22
|
+
import * as i5 from '@updevs/components/button';
|
|
23
|
+
import * as i8 from '@updevs/components/form-controls/checkbox';
|
|
24
|
+
import * as i9 from '@updevs/components/form-controls/radio';
|
|
25
|
+
import * as i10 from '@updevs/components/form-controls/date-picker';
|
|
26
|
+
import * as i12 from '@updevs/components/form-controls/textarea';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* How a parent field influences its child.
|
|
30
|
+
**/
|
|
31
|
+
declare enum AttachmentTypeEnum {
|
|
32
|
+
/**
|
|
33
|
+
* Enable / disable behaviour (default).
|
|
34
|
+
**/
|
|
35
|
+
Disabled = "disabled",
|
|
36
|
+
/**
|
|
37
|
+
* Child waits for the parent to have a value and (re)loads afterwards.
|
|
38
|
+
**/
|
|
39
|
+
ParentLoad = "parentLoad"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare enum DynamicFieldType {
|
|
43
|
+
Input = 1,
|
|
44
|
+
Select = 2,
|
|
45
|
+
SelectMultiple = 3,
|
|
46
|
+
Label = 4,
|
|
47
|
+
Checkbox = 5,
|
|
48
|
+
CheckboxGroup = 6,
|
|
49
|
+
Radio = 7,
|
|
50
|
+
RadioGroup = 8,
|
|
51
|
+
TextArea = 9,
|
|
52
|
+
FileUpload = 10,
|
|
53
|
+
MaskedInput = 11,
|
|
54
|
+
Button = 12,
|
|
55
|
+
ButtonGroup = 13
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Declarative relationship between two dynamic fields.
|
|
60
|
+
* P = parent value type, C = child value type.
|
|
61
|
+
*/
|
|
62
|
+
interface AttachmentRule<P = any, C = any> {
|
|
63
|
+
/**
|
|
64
|
+
* Name of the *parent* control inside the same FormGroup.
|
|
65
|
+
**/
|
|
66
|
+
name: string;
|
|
67
|
+
/**
|
|
68
|
+
* Kind of interaction (default = Disabled).
|
|
69
|
+
**/
|
|
70
|
+
type?: AttachmentTypeEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Returns true when the *child* must be disabled.
|
|
73
|
+
**/
|
|
74
|
+
disableIf?: (childValue: C, parentValue: P) => boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Disable when the parent is empty/null/''.
|
|
77
|
+
**/
|
|
78
|
+
disableIfEmpty?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Clear the child’s value the moment it becomes disabled.
|
|
81
|
+
**/
|
|
82
|
+
clearValueIfDisabled?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Clear the child when the parent turns empty.
|
|
85
|
+
**/
|
|
86
|
+
clearValueIfEmpty?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Return false to HIDE the child; true → show.
|
|
89
|
+
**/
|
|
90
|
+
visibleIf?: (childValue: C, parentValue: P) => boolean;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type FormUpdateOn = 'change' | 'blur' | 'submit';
|
|
94
|
+
|
|
95
|
+
interface DynamicFieldModel {
|
|
96
|
+
type: DynamicFieldType;
|
|
97
|
+
name: string;
|
|
98
|
+
isRequired?: boolean;
|
|
99
|
+
isDisabled?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* If the field is valid it will be marked as such, instead of just maintaining the default state.
|
|
102
|
+
*/
|
|
103
|
+
showValidStatus?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Initial value.
|
|
106
|
+
*/
|
|
107
|
+
initValue?: any;
|
|
108
|
+
/**
|
|
109
|
+
* Determines when the control validation is triggered.
|
|
110
|
+
* 'change' (default), 'blur', or 'submit'.
|
|
111
|
+
*/
|
|
112
|
+
updateOn?: FormUpdateOn;
|
|
113
|
+
placeholder?: TextModel;
|
|
114
|
+
label?: TextModel;
|
|
115
|
+
hint?: TextModel;
|
|
116
|
+
hintAsTooltip?: boolean;
|
|
117
|
+
colSize?: RowColumnSize;
|
|
118
|
+
labelColSize?: RowColumnSize;
|
|
119
|
+
validators?: ValidatorFn[];
|
|
120
|
+
requiredPermissions?: RequiredPermissionsModel;
|
|
121
|
+
/**
|
|
122
|
+
* Cross-field dependencies (optional).
|
|
123
|
+
**/
|
|
124
|
+
attachments?: AttachmentRule[];
|
|
125
|
+
isHidden?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Value coming from a parent field when the rule `AttachmentTypeEnum.ParentLoad` is active.
|
|
128
|
+
* `upd-select` can use it to fetch the dependent list.
|
|
129
|
+
*/
|
|
130
|
+
parentValue?: any;
|
|
131
|
+
/**
|
|
132
|
+
* A signal to control the visibility of the field.
|
|
133
|
+
*/
|
|
134
|
+
isVisible?: Signal<boolean>;
|
|
135
|
+
onValueChanged?: (value: any) => void;
|
|
136
|
+
onBlur?: () => void;
|
|
137
|
+
onFocus?: () => void;
|
|
138
|
+
onTouched?: () => void;
|
|
139
|
+
onInput?: (value: any) => void;
|
|
140
|
+
onEnter?: () => void;
|
|
141
|
+
onValidationStatusChanged?: (status: FormControlStatus) => void;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
interface ButtonFieldModel extends DynamicFieldModel {
|
|
145
|
+
model: ButtonModel;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
interface ButtonGroupFieldModel extends DynamicFieldModel {
|
|
149
|
+
buttons: ButtonModel[];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface RadioFieldModel extends DynamicFieldModel {
|
|
153
|
+
isInline?: boolean;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
interface CheckboxFieldModel extends RadioFieldModel {
|
|
157
|
+
isSwitch?: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
interface CheckboxGroupFieldModel extends CheckboxFieldModel {
|
|
161
|
+
options: DictionaryType<TextModel>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
interface FileUploadFieldModel extends DynamicFieldModel {
|
|
165
|
+
title?: TextModel;
|
|
166
|
+
allowFilesDrop?: boolean;
|
|
167
|
+
isMultiple?: boolean;
|
|
168
|
+
allowedExtensions?: string;
|
|
169
|
+
minFileSize?: number;
|
|
170
|
+
maxFileSize?: number;
|
|
171
|
+
saveAsDataUrl?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* If set, uses this property to store/read the name of the file.
|
|
174
|
+
* *NOTE*: Required when using saveAsDataUrl.
|
|
175
|
+
*/
|
|
176
|
+
fileNameFormProperty?: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
interface FormConfig {
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
interface FormRowModel {
|
|
183
|
+
fields: DynamicFieldModel[];
|
|
184
|
+
isCompact?: boolean;
|
|
185
|
+
isHidden?: boolean;
|
|
186
|
+
requiredPermissions?: RequiredPermissionsModel;
|
|
187
|
+
title?: TextModel;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
interface InputFieldModel extends DynamicFieldModel {
|
|
191
|
+
inputType?: InputType;
|
|
192
|
+
shouldSubmitOnEnter?: boolean;
|
|
193
|
+
prefix?: TextModel;
|
|
194
|
+
suffix?: TextModel;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
interface MaskedInputFieldModel extends InputFieldModel {
|
|
198
|
+
mask?: string;
|
|
199
|
+
maskConfig?: UpdMaskConfig;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
interface RadioGroupFieldModel extends RadioFieldModel {
|
|
203
|
+
options: DictionaryType<TextModel>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
interface SelectFieldModel extends DynamicFieldModel {
|
|
207
|
+
items?: SelectItem[];
|
|
208
|
+
store?: BaseSearchStore;
|
|
209
|
+
/**
|
|
210
|
+
* Observable used to load/filter the items.
|
|
211
|
+
*/
|
|
212
|
+
observable?: ObservableSearchType;
|
|
213
|
+
/**
|
|
214
|
+
* Name of the property in the object that represents the ID/key of the option.
|
|
215
|
+
* **Note:** used only for remote data.
|
|
216
|
+
*/
|
|
217
|
+
itemKey?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Name of the property in the object that represents the value/description of the option.
|
|
220
|
+
* **Note:** used only for remote data.
|
|
221
|
+
*/
|
|
222
|
+
itemValue?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Maximum height of the dropdown.
|
|
225
|
+
*/
|
|
226
|
+
dropdownMaxHeight?: number;
|
|
227
|
+
typeaheadDebounce?: number;
|
|
228
|
+
shouldAutoSearch?: boolean;
|
|
229
|
+
shouldCloseOnOutsideClick?: boolean;
|
|
230
|
+
shouldTruncateSelectedText?: boolean;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
interface SingleSelectFieldModel extends SelectFieldModel {
|
|
234
|
+
useSystemStyle?: boolean;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
interface TextareaFieldModel extends DynamicFieldModel {
|
|
238
|
+
value?: string;
|
|
239
|
+
customClasses?: string;
|
|
240
|
+
wrapperClasses?: string;
|
|
241
|
+
maxLength?: number;
|
|
242
|
+
rows?: number;
|
|
243
|
+
isDisabled?: boolean;
|
|
244
|
+
displayCharactersCount?: boolean;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
declare class FormComponent<T> extends BaseComponent implements OnInit {
|
|
248
|
+
readonly initialized: EventEmitter<void>;
|
|
249
|
+
readonly dataLoaded: EventEmitter<T>;
|
|
250
|
+
readonly submitted: EventEmitter<T>;
|
|
251
|
+
/**
|
|
252
|
+
* Rows to generate the form.
|
|
253
|
+
*/
|
|
254
|
+
rows: InputSignal<FormRowModel[]>;
|
|
255
|
+
/**
|
|
256
|
+
* Form's layout.
|
|
257
|
+
*/
|
|
258
|
+
layout: InputSignal<HorizontalVerticalType>;
|
|
259
|
+
/**
|
|
260
|
+
* Title of the form.
|
|
261
|
+
* Optional.
|
|
262
|
+
*/
|
|
263
|
+
title: InputSignal<OptionalType<TextModel>>;
|
|
264
|
+
/**
|
|
265
|
+
* Whether the actions section will be displayed.
|
|
266
|
+
*/
|
|
267
|
+
hasActionsSection: InputSignal<boolean>;
|
|
268
|
+
/**
|
|
269
|
+
* Whether the form is contained in a card.
|
|
270
|
+
* If true, it'll display a card as a form wrapper.
|
|
271
|
+
*/
|
|
272
|
+
isCard: InputSignal<boolean>;
|
|
273
|
+
/**
|
|
274
|
+
* Whether the form is in read only mode, which means no fields can be edited.
|
|
275
|
+
*/
|
|
276
|
+
isDisabled: i0.InputSignalWithTransform<boolean, string | boolean>;
|
|
277
|
+
/**
|
|
278
|
+
* Whether the form is loading.
|
|
279
|
+
*/
|
|
280
|
+
isLoading: InputSignal<boolean>;
|
|
281
|
+
/**
|
|
282
|
+
* Whether the form is saving.
|
|
283
|
+
*/
|
|
284
|
+
isSaving: InputSignal<boolean>;
|
|
285
|
+
/**
|
|
286
|
+
* Current form data.
|
|
287
|
+
*/
|
|
288
|
+
formData: i0.ModelSignal<T>;
|
|
289
|
+
formGroup: i0.ModelSignal<FormGroup<{}>>;
|
|
290
|
+
get titleText(): string;
|
|
291
|
+
readonly textService: TextService;
|
|
292
|
+
constructor();
|
|
293
|
+
ngOnInit(): void;
|
|
294
|
+
submit(): void;
|
|
295
|
+
private setupFormGroup;
|
|
296
|
+
/**
|
|
297
|
+
* Glue the declarative AttachmentRule array to actual FormControls.
|
|
298
|
+
**/
|
|
299
|
+
private bindAttachments;
|
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent<any>, never>;
|
|
301
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent<any>, "upd-form", never, { "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "hasActionsSection": { "alias": "hasActionsSection"; "required": false; "isSignal": true; }; "isCard": { "alias": "isCard"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isSaving": { "alias": "isSaving"; "required": false; "isSignal": true; }; "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "initialized": "initialized"; "dataLoaded": "dataLoaded"; "submitted": "submitted"; "formData": "formDataChange"; "formGroup": "formGroupChange"; }, never, never, false, never>;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare class DynamicFieldComponent extends BaseComponent implements OnInit {
|
|
305
|
+
get hostClasses(): string;
|
|
306
|
+
readonly submitForm: EventEmitter<void>;
|
|
307
|
+
DynamicFieldType: typeof DynamicFieldType;
|
|
308
|
+
SelectDefaults: typeof Defaults;
|
|
309
|
+
formGroup: InputSignal<FormGroup>;
|
|
310
|
+
field: InputSignal<DynamicFieldModel>;
|
|
311
|
+
layout: InputSignal<HorizontalVerticalType>;
|
|
312
|
+
validationStatus?: ValidationStatusType;
|
|
313
|
+
validationStatusDescriptions: TextModel[];
|
|
314
|
+
get formControl(): FormControl;
|
|
315
|
+
get inputField(): InputFieldModel;
|
|
316
|
+
get checkboxField(): CheckboxFieldModel;
|
|
317
|
+
get checkboxGroupField(): CheckboxGroupFieldModel;
|
|
318
|
+
get radioField(): CheckboxFieldModel;
|
|
319
|
+
get radioGroupField(): RadioGroupFieldModel;
|
|
320
|
+
get selectField(): SelectFieldModel;
|
|
321
|
+
get singleSelectField(): SingleSelectFieldModel;
|
|
322
|
+
get textareaField(): TextareaFieldModel;
|
|
323
|
+
get fileUploadField(): FileUploadFieldModel;
|
|
324
|
+
get maskedField(): MaskedInputFieldModel;
|
|
325
|
+
get buttonField(): ButtonFieldModel;
|
|
326
|
+
get buttonGroupField(): ButtonGroupFieldModel;
|
|
327
|
+
get checkboxGroupOptionsKeys(): string[];
|
|
328
|
+
get radioGroupOptionsKeys(): string[];
|
|
329
|
+
get fileNameControl(): OptionalType<FormControl>;
|
|
330
|
+
readonly textService: TextService;
|
|
331
|
+
private readonly wrapperClasses;
|
|
332
|
+
private readonly errorsHelper;
|
|
333
|
+
constructor();
|
|
334
|
+
ngOnInit(): void;
|
|
335
|
+
onBlur(): void;
|
|
336
|
+
onFocus(): void;
|
|
337
|
+
onInput(event: Event): void;
|
|
338
|
+
setControlValue(value: any): void;
|
|
339
|
+
getText(textModel?: TextModel): string;
|
|
340
|
+
getOptionDescription(key: string, type: 'checkbox' | 'radio'): OptionalType<TextModel>;
|
|
341
|
+
handleFileSelected(event?: FileUploadChangedEvent): void;
|
|
342
|
+
onInputEnter(): void;
|
|
343
|
+
private updateValidationDisplay;
|
|
344
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldComponent, never>;
|
|
345
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldComponent, "upd-dynamic-field", never, { "formGroup": { "alias": "formGroup"; "required": true; "isSignal": true; }; "field": { "alias": "field"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": true; "isSignal": true; }; }, { "submitForm": "submitForm"; }, never, never, false, never>;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
declare class UpdFormModule {
|
|
349
|
+
constructor(translocoService: TranslocoService);
|
|
350
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdFormModule, never>;
|
|
351
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdFormModule, [typeof FormComponent, typeof DynamicFieldComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.UpdButtonModule, typeof i6.TranslocoDirective, typeof i7.UpdInputModule, typeof i8.UpdCheckboxModule, typeof i9.UpdRadioModule, typeof i10.UpdDatePickerModule, typeof i11.UpdSelectModule, typeof i12.UpdTextareaModule, typeof i13.UpdFileUploadModule, typeof i14.UpdSdkModule], [typeof FormComponent]>;
|
|
352
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdFormModule>;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export { AttachmentTypeEnum, DynamicFieldType, FormComponent, UpdFormModule };
|
|
356
|
+
export type { AttachmentRule, ButtonFieldModel, ButtonGroupFieldModel, CheckboxFieldModel, CheckboxGroupFieldModel, DynamicFieldModel, FileUploadFieldModel, FormConfig, FormRowModel, InputFieldModel, MaskedInputFieldModel, RadioFieldModel, RadioGroupFieldModel, SelectFieldModel, SingleSelectFieldModel, TextareaFieldModel };
|