@updevs/components 1.0.0-alpha.1 → 1.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -21
- package/assets/styles/_bootstrap-components.scss +55 -0
- package/assets/styles/_bootstrap-config.scss +7 -0
- package/assets/styles/_bootstrap-override.scss +78 -0
- package/assets/styles/_config.scss +9 -0
- package/assets/styles/_core.scss +71 -0
- package/assets/styles/_mixins.scss +2 -0
- package/assets/styles/_seven-columns.scss +73 -0
- package/assets/styles/_updevs.scss +13 -0
- package/assets/styles/_utilities.scss +98 -0
- package/assets/styles/_variables-dark.scss +17 -0
- package/assets/styles/_variables.scss +934 -0
- package/assets/styles/fonts/_webfonts.scss +15 -0
- package/assets/styles/layout/_animations.scss +62 -0
- package/assets/styles/layout/_core.scss +61 -0
- package/assets/styles/layout/_dark.scss +72 -0
- package/assets/styles/layout/_footer.scss +12 -0
- package/assets/styles/layout/_navbar.scss +380 -0
- package/assets/styles/layout/_page.scss +169 -0
- package/assets/styles/layout/_root.scss +72 -0
- package/assets/styles/mixins/_functions.scss +43 -0
- package/assets/styles/mixins/_mixins.scss +68 -0
- package/assets/styles/ui/_accordion.scss +24 -0
- package/assets/styles/ui/_alerts.scss +59 -0
- package/assets/styles/ui/_avatars.scss +118 -0
- package/assets/styles/ui/_badges.scss +79 -0
- package/assets/styles/ui/_breadcrumbs.scss +50 -0
- package/assets/styles/ui/_button-group.scss +16 -0
- package/assets/styles/ui/_buttons.scss +265 -0
- package/assets/styles/ui/_calendars.scss +104 -0
- package/assets/styles/ui/_cards.scss +586 -0
- package/assets/styles/ui/_carousel.scss +68 -0
- package/assets/styles/ui/_charts.scss +61 -0
- package/assets/styles/ui/_chips.scss +0 -0
- package/assets/styles/ui/_close.scss +7 -0
- package/assets/styles/ui/_datagrid.scss +17 -0
- package/assets/styles/ui/_dropdowns.scss +117 -0
- package/assets/styles/ui/_empty.scss +65 -0
- package/assets/styles/ui/_flags.scss +31 -0
- package/assets/styles/ui/_forms.scss +224 -0
- package/assets/styles/ui/_grid.scss +115 -0
- package/assets/styles/ui/_icons.scss +72 -0
- package/assets/styles/ui/_images.scss +15 -0
- package/assets/styles/ui/_legend.scss +12 -0
- package/assets/styles/ui/_lists.scss +127 -0
- package/assets/styles/ui/_loaders.scss +72 -0
- package/assets/styles/ui/_login.scss +3 -0
- package/assets/styles/ui/_markdown.scss +42 -0
- package/assets/styles/ui/_modals.scss +67 -0
- package/assets/styles/ui/_nav.scss +92 -0
- package/assets/styles/ui/_offcanvas.scss +17 -0
- package/assets/styles/ui/_pagination.scss +56 -0
- package/assets/styles/ui/_payments.scss +28 -0
- package/assets/styles/ui/_placeholder.scss +9 -0
- package/assets/styles/ui/_popovers.scss +2 -0
- package/assets/styles/ui/_progress.scss +107 -0
- package/assets/styles/ui/_ribbons.scss +156 -0
- package/assets/styles/ui/_stars.scss +13 -0
- package/assets/styles/ui/_status.scss +163 -0
- package/assets/styles/ui/_steps.scss +152 -0
- package/assets/styles/ui/_switch-icon.scss +211 -0
- package/assets/styles/ui/_tables.scss +150 -0
- package/assets/styles/ui/_tags.scss +57 -0
- package/assets/styles/ui/_timeline.scss +61 -0
- package/assets/styles/ui/_toasts.scss +19 -0
- package/assets/styles/ui/_toolbar.scss +10 -0
- package/assets/styles/ui/_tracking.scss +29 -0
- package/assets/styles/ui/_type.scss +169 -0
- package/assets/styles/ui/forms/_form-check.scss +91 -0
- package/assets/styles/ui/forms/_form-colorinput.scss +54 -0
- package/assets/styles/ui/forms/_form-custom.scss +28 -0
- package/assets/styles/ui/forms/_form-icon.scss +35 -0
- package/assets/styles/ui/forms/_form-imagecheck.scss +104 -0
- package/assets/styles/ui/forms/_form-selectgroup.scss +153 -0
- package/assets/styles/ui/forms/_validation.scss +13 -0
- package/assets/styles/ui/typo/_hr.scss +74 -0
- package/assets/styles/utils/_background.scss +15 -0
- package/assets/styles/utils/_colors.scss +40 -0
- package/assets/styles/utils/_opacity.scss +7 -0
- package/assets/styles/utils/_scroll.scss +47 -0
- package/assets/styles/utils/_shadow.scss +17 -0
- package/assets/styles/utils/_sizing.scss +10 -0
- package/assets/styles/utils/_text.scss +15 -0
- package/badge/badge-config.model.d.ts +14 -0
- package/badge/badge.component.d.ts +24 -0
- package/badge/badge.config.d.ts +12 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +3 -0
- package/badge/upd-badge.module.d.ts +8 -0
- package/button/button.component.d.ts +61 -0
- package/button/index.d.ts +1 -0
- package/button/public-api.d.ts +2 -0
- package/button/upd-button.module.d.ts +10 -0
- package/calendar/calendar.component.d.ts +127 -0
- package/calendar/components/calendar-body/calendar-body.component.d.ts +263 -0
- package/calendar/components/calendar-header/calendar-header.component.d.ts +57 -0
- package/calendar/components/calendar-month-view/calendar-month-view.component.d.ts +151 -0
- package/calendar/components/calendar-multi-year-view/calendar-multi-year-view.component.d.ts +10 -0
- package/calendar/components/calendar-year-view/calendar-year-view.component.d.ts +9 -0
- package/calendar/index.d.ts +1 -0
- package/calendar/models/calendar-cell.model.d.ts +16 -0
- package/calendar/models/calendar-user-event.model.d.ts +4 -0
- package/calendar/models/date-range.model.d.ts +26 -0
- package/calendar/models/public-api.d.ts +2 -0
- package/calendar/public-api.d.ts +5 -0
- package/calendar/services/calendar-range-strategy.service.d.ts +35 -0
- package/calendar/services/calendar-signals.service.d.ts +24 -0
- package/calendar/services/calendar.service.d.ts +15 -0
- package/calendar/services/public-api.d.ts +1 -0
- package/calendar/tools/events-options.d.ts +12 -0
- package/calendar/tools/keyboard-tools.d.ts +9 -0
- package/calendar/tools/passive-listeners.d.ts +16 -0
- package/calendar/types/calendar-cell-class-function.type.d.ts +3 -0
- package/calendar/types/calendar-cell-css-classes.type.d.ts +3 -0
- package/calendar/types/calendar-view.type.d.ts +1 -0
- package/calendar/types/modifier-key.type.d.ts +1 -0
- package/calendar/types/public-api.d.ts +1 -0
- package/calendar/upd-calendar.module.d.ts +18 -0
- package/card/card.component.d.ts +54 -0
- package/card/directives/card-actions.directive.d.ts +7 -0
- package/card/directives/card-footer.directive.d.ts +7 -0
- package/card/directives/card-header.directive.d.ts +7 -0
- package/card/directives/card-image.directive.d.ts +7 -0
- package/card/directives/public-api.d.ts +4 -0
- package/card/index.d.ts +1 -0
- package/card/public-api.d.ts +3 -0
- package/card/types/card-state.type.d.ts +1 -0
- package/card/types/card-style.type.d.ts +1 -0
- package/card/types/hover-effect.type.d.ts +1 -0
- package/card/types/ribbon-style.type.d.ts +1 -0
- package/card/types/status-position.type.d.ts +1 -0
- package/card/upd-card.module.d.ts +14 -0
- package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
- package/drag-and-drop/index.d.ts +1 -0
- package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
- package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
- package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
- package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
- package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
- package/drag-and-drop/models/public-api.d.ts +4 -0
- package/drag-and-drop/public-api.d.ts +3 -0
- package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
- package/dropdown/dropdown.component.d.ts +76 -0
- package/dropdown/index.d.ts +1 -0
- package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
- package/dropdown/models/dropdown-item.d.ts +24 -0
- package/dropdown/models/dropdown-item.type.d.ts +1 -0
- package/dropdown/models/public-api.d.ts +4 -0
- package/dropdown/models/toolbar.type.d.ts +1 -0
- package/dropdown/public-api.d.ts +3 -0
- package/dropdown/upd-dropdown.module.d.ts +12 -0
- package/esm2022/badge/badge-config.model.mjs +14 -0
- package/esm2022/badge/badge.component.mjs +50 -0
- package/esm2022/badge/badge.config.mjs +2 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/public-api.mjs +4 -0
- package/esm2022/badge/upd-badge.module.mjs +24 -0
- package/esm2022/badge/updevs-components-badge.mjs +5 -0
- package/esm2022/button/button.component.mjs +157 -0
- package/esm2022/button/index.mjs +2 -0
- package/esm2022/button/public-api.mjs +3 -0
- package/esm2022/button/upd-button.module.mjs +32 -0
- package/esm2022/button/updevs-components-button.mjs +5 -0
- package/esm2022/calendar/assets/i18n/en.json +16 -0
- package/esm2022/calendar/assets/i18n/pt.json +16 -0
- package/esm2022/calendar/calendar.component.mjs +247 -0
- package/esm2022/calendar/components/calendar-body/calendar-body.component.mjs +515 -0
- package/esm2022/calendar/components/calendar-header/calendar-header.component.mjs +144 -0
- package/esm2022/calendar/components/calendar-month-view/calendar-month-view.component.mjs +423 -0
- package/esm2022/calendar/components/calendar-multi-year-view/calendar-multi-year-view.component.mjs +18 -0
- package/esm2022/calendar/components/calendar-year-view/calendar-year-view.component.mjs +17 -0
- package/esm2022/calendar/index.mjs +2 -0
- package/esm2022/calendar/models/calendar-cell.model.mjs +18 -0
- package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
- package/esm2022/calendar/models/date-range.model.mjs +18 -0
- package/esm2022/calendar/models/public-api.mjs +3 -0
- package/esm2022/calendar/public-api.mjs +6 -0
- package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
- package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
- package/esm2022/calendar/services/calendar.service.mjs +40 -0
- package/esm2022/calendar/services/public-api.mjs +2 -0
- package/esm2022/calendar/tools/events-options.mjs +14 -0
- package/esm2022/calendar/tools/keyboard-tools.mjs +14 -0
- package/esm2022/calendar/tools/passive-listeners.mjs +29 -0
- package/esm2022/calendar/types/calendar-cell-class-function.type.mjs +2 -0
- package/esm2022/calendar/types/calendar-cell-css-classes.type.mjs +2 -0
- package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
- package/esm2022/calendar/types/modifier-key.type.mjs +2 -0
- package/esm2022/calendar/types/public-api.mjs +2 -0
- package/esm2022/calendar/upd-calendar.module.mjs +69 -0
- package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
- package/esm2022/card/card.component.mjs +136 -0
- package/esm2022/card/directives/card-actions.directive.mjs +16 -0
- package/esm2022/card/directives/card-footer.directive.mjs +16 -0
- package/esm2022/card/directives/card-header.directive.mjs +16 -0
- package/esm2022/card/directives/card-image.directive.mjs +16 -0
- package/esm2022/card/directives/public-api.mjs +5 -0
- package/esm2022/card/index.mjs +2 -0
- package/esm2022/card/public-api.mjs +4 -0
- package/esm2022/card/types/card-state.type.mjs +2 -0
- package/esm2022/card/types/card-style.type.mjs +2 -0
- package/esm2022/card/types/hover-effect.type.mjs +2 -0
- package/esm2022/card/types/ribbon-style.type.mjs +2 -0
- package/esm2022/card/types/status-position.type.mjs +2 -0
- package/esm2022/card/upd-card.module.mjs +50 -0
- package/esm2022/card/updevs-components-card.mjs +5 -0
- package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
- package/esm2022/drag-and-drop/index.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
- package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
- package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
- package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
- package/esm2022/drag-and-drop/public-api.mjs +4 -0
- package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
- package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
- package/esm2022/dropdown/dropdown.component.mjs +182 -0
- package/esm2022/dropdown/index.mjs +2 -0
- package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
- package/esm2022/dropdown/models/dropdown-item.mjs +2 -0
- package/esm2022/dropdown/models/dropdown-item.type.mjs +2 -0
- package/esm2022/dropdown/models/public-api.mjs +5 -0
- package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
- package/esm2022/dropdown/public-api.mjs +4 -0
- package/esm2022/dropdown/upd-dropdown.module.mjs +40 -0
- package/esm2022/dropdown/updevs-components-dropdown.mjs +5 -0
- package/esm2022/form/assets/i18n/en.json +17 -0
- package/esm2022/form/assets/i18n/pt.json +17 -0
- package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +96 -0
- package/esm2022/form/form.component.mjs +102 -0
- package/esm2022/form/index.mjs +2 -0
- package/esm2022/form/models/checkbox-field.model.mjs +2 -0
- package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
- package/esm2022/form/models/dynamic-field.model.mjs +2 -0
- package/esm2022/form/models/enums/dynamic-field.type.mjs +14 -0
- package/esm2022/form/models/enums/public-api.mjs +2 -0
- package/esm2022/form/models/form-row.model.mjs +2 -0
- package/esm2022/form/models/public-api.mjs +6 -0
- package/esm2022/form/models/radio-field.model.mjs +2 -0
- package/esm2022/form/models/radio-group-field.model.mjs +2 -0
- package/esm2022/form/models/select-field.model.mjs +2 -0
- package/esm2022/form/models/single-select-field.model.mjs +2 -0
- package/esm2022/form/models/textarea-field.model.mjs +2 -0
- package/esm2022/form/models/validator-config.mjs +2 -0
- package/esm2022/form/public-api.mjs +4 -0
- package/esm2022/form/tools/errors-helper.mjs +54 -0
- package/esm2022/form/upd-form.module.mjs +75 -0
- package/esm2022/form/updevs-components-form.mjs +5 -0
- package/esm2022/form-controls/abstractions/base-control.mjs +40 -0
- package/esm2022/form-controls/abstractions/index.mjs +2 -0
- package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
- package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
- package/esm2022/form-controls/checkbox/checkbox.component.mjs +53 -0
- package/esm2022/form-controls/checkbox/index.mjs +2 -0
- package/esm2022/form-controls/checkbox/public-api.mjs +3 -0
- package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +32 -0
- package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +5 -0
- package/esm2022/form-controls/date-picker/date-picker.component.mjs +147 -0
- package/esm2022/form-controls/date-picker/index.mjs +2 -0
- package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
- package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
- package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
- package/esm2022/form-controls/input/directives/input-append.directive.mjs +16 -0
- package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +16 -0
- package/esm2022/form-controls/input/directives/public-api.mjs +3 -0
- package/esm2022/form-controls/input/index.mjs +2 -0
- package/esm2022/form-controls/input/input.component.mjs +189 -0
- package/esm2022/form-controls/input/public-api.mjs +5 -0
- package/esm2022/form-controls/input/types/input.type.mjs +2 -0
- package/esm2022/form-controls/input/types/loader-position.type.mjs +2 -0
- package/esm2022/form-controls/input/types/public-api.mjs +3 -0
- package/esm2022/form-controls/input/upd-input.module.mjs +46 -0
- package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +5 -0
- package/esm2022/form-controls/radio/index.mjs +2 -0
- package/esm2022/form-controls/radio/public-api.mjs +3 -0
- package/esm2022/form-controls/radio/radio.component.mjs +56 -0
- package/esm2022/form-controls/radio/upd-radio.module.mjs +32 -0
- package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +5 -0
- package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +76 -0
- package/esm2022/form-controls/select/components/single/select.component.mjs +72 -0
- package/esm2022/form-controls/select/index.mjs +2 -0
- package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +221 -0
- package/esm2022/form-controls/select/models/defaults.mjs +8 -0
- package/esm2022/form-controls/select/models/public-api.mjs +3 -0
- package/esm2022/form-controls/select/models/select-item.mjs +2 -0
- package/esm2022/form-controls/select/public-api.mjs +5 -0
- package/esm2022/form-controls/select/upd-select.module.mjs +57 -0
- package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +5 -0
- package/esm2022/form-controls/textarea/index.mjs +2 -0
- package/esm2022/form-controls/textarea/public-api.mjs +3 -0
- package/esm2022/form-controls/textarea/textarea.component.mjs +46 -0
- package/esm2022/form-controls/textarea/upd-textarea.module.mjs +24 -0
- package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +5 -0
- package/esm2022/form-controls/time-picker/assets/i18n/en.json +5 -0
- package/esm2022/form-controls/time-picker/assets/i18n/pt.json +5 -0
- package/esm2022/form-controls/time-picker/index.mjs +2 -0
- package/esm2022/form-controls/time-picker/public-api.mjs +4 -0
- package/esm2022/form-controls/time-picker/time-picker.component.mjs +130 -0
- package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +124 -0
- package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +60 -0
- package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +5 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/layout/abstractions/base-page.component.mjs +23 -0
- package/esm2022/layout/abstractions/base.layout.mjs +31 -0
- package/esm2022/layout/abstractions/public-api.mjs +2 -0
- package/esm2022/layout/assets/i18n/en.json +20 -0
- package/esm2022/layout/assets/i18n/pt.json +20 -0
- package/esm2022/layout/index.mjs +2 -0
- package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +11 -0
- package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +24 -0
- package/esm2022/layout/layouts/public-api.mjs +5 -0
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +31 -0
- package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +80 -0
- package/esm2022/layout/models/login-page-config.model.mjs +20 -0
- package/esm2022/layout/models/login-page.config.mjs +2 -0
- package/esm2022/layout/models/public-api.mjs +3 -0
- package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
- package/esm2022/layout/models/security-layout.config.mjs +2 -0
- package/esm2022/layout/models/upd-layout-config.model.mjs +24 -0
- package/esm2022/layout/models/upd-layout.config.mjs +2 -0
- package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +28 -0
- package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +65 -0
- package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +11 -0
- package/esm2022/layout/pages/auth-flow/login/login.component.mjs +97 -0
- package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +11 -0
- package/esm2022/layout/pages/auth-flow/public-api.mjs +6 -0
- package/esm2022/layout/pages/public-api.mjs +2 -0
- package/esm2022/layout/partials/footer/footer-copyright.directive.mjs +13 -0
- package/esm2022/layout/partials/footer/footer.component.mjs +55 -0
- package/esm2022/layout/partials/footer/public-api.mjs +3 -0
- package/esm2022/layout/partials/header/header-style.type.mjs +2 -0
- package/esm2022/layout/partials/header/header.component.mjs +77 -0
- package/esm2022/layout/partials/header/public-api.mjs +3 -0
- package/esm2022/layout/partials/page-header/page-header.component.mjs +15 -0
- package/esm2022/layout/partials/page-header/public-api.mjs +2 -0
- package/esm2022/layout/partials/public-api.mjs +5 -0
- package/esm2022/layout/partials/sidebar/public-api.mjs +2 -0
- package/esm2022/layout/partials/sidebar/sidebar.component.mjs +112 -0
- package/esm2022/layout/public-api.mjs +8 -0
- package/esm2022/layout/services/public-api.mjs +2 -0
- package/esm2022/layout/services/upd-layout-config.service.mjs +21 -0
- package/esm2022/layout/tools/layout.constants.mjs +15 -0
- package/esm2022/layout/upd-layout.module.mjs +43 -0
- package/esm2022/layout/updevs-components-layout.mjs +5 -0
- package/esm2022/lib/index.mjs +2 -0
- package/esm2022/lib/models/public-api.mjs +2 -0
- package/esm2022/lib/models/row-column-size.mjs +2 -0
- package/esm2022/lib/public-api.mjs +5 -0
- package/esm2022/lib/tools/column-size.helper.mjs +12 -0
- package/esm2022/lib/tools/public-api.mjs +2 -0
- package/esm2022/lib/types/component-size.type.mjs +2 -0
- package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
- package/esm2022/lib/types/public-api.mjs +4 -0
- package/esm2022/lib/types/validation-status.type.mjs +2 -0
- package/esm2022/lib/upd-components.module.mjs +14 -0
- package/esm2022/link/index.mjs +2 -0
- package/esm2022/link/link.component.mjs +51 -0
- package/esm2022/link/public-api.mjs +4 -0
- package/esm2022/link/target.type.mjs +2 -0
- package/esm2022/link/upd-link.module.mjs +24 -0
- package/esm2022/link/updevs-components-link.mjs +5 -0
- package/esm2022/list/assets/i18n/en.json +9 -0
- package/esm2022/list/assets/i18n/pt.json +9 -0
- package/esm2022/list/index.mjs +2 -0
- package/esm2022/list/list.component.mjs +113 -0
- package/esm2022/list/models/badge-position.type.mjs +2 -0
- package/esm2022/list/models/list-item.mjs +2 -0
- package/esm2022/list/models/list-item.model.mjs +15 -0
- package/esm2022/list/models/public-api.mjs +3 -0
- package/esm2022/list/public-api.mjs +4 -0
- package/esm2022/list/upd-list.module.mjs +43 -0
- package/esm2022/list/updevs-components-list.mjs +5 -0
- package/esm2022/modal/assets/i18n/en.json +17 -0
- package/esm2022/modal/assets/i18n/pt.json +17 -0
- package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
- package/esm2022/modal/index.mjs +2 -0
- package/esm2022/modal/models/base.modal.mjs +14 -0
- package/esm2022/modal/models/modal-config.model.mjs +20 -0
- package/esm2022/modal/models/modal-ref.mjs +2 -0
- package/esm2022/modal/models/modal.config.mjs +2 -0
- package/esm2022/modal/models/public-api.mjs +4 -0
- package/esm2022/modal/public-api.mjs +4 -0
- package/esm2022/modal/services/modal-alert.service.mjs +99 -0
- package/esm2022/modal/services/modal.service.mjs +30 -0
- package/esm2022/modal/services/public-api.mjs +3 -0
- package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
- package/esm2022/modal/types/modal-size.type.mjs +2 -0
- package/esm2022/modal/upd-modal.module.mjs +89 -0
- package/esm2022/modal/updevs-components-modal.mjs +5 -0
- package/esm2022/paginator/assets/i18n/en.json +15 -0
- package/esm2022/paginator/assets/i18n/pt.json +15 -0
- package/esm2022/paginator/index.mjs +2 -0
- package/esm2022/paginator/paginator.component.mjs +66 -0
- package/esm2022/paginator/public-api.mjs +3 -0
- package/esm2022/paginator/upd-paginator.module.mjs +46 -0
- package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
- package/esm2022/popover/index.mjs +2 -0
- package/esm2022/popover/popover.component.mjs +65 -0
- package/esm2022/popover/popover.directive.mjs +129 -0
- package/esm2022/popover/public-api.mjs +4 -0
- package/esm2022/popover/upd-popover.module.mjs +29 -0
- package/esm2022/popover/updevs-components-popover.mjs +5 -0
- package/esm2022/public-api.mjs +2 -0
- package/esm2022/table/abstractions/base-column.model.mjs +52 -0
- package/esm2022/table/abstractions/base.column.mjs +98 -0
- package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
- package/esm2022/table/abstractions/public-api.mjs +3 -0
- package/esm2022/table/assets/i18n/en.json +74 -0
- package/esm2022/table/assets/i18n/pt.json +74 -0
- package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
- package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
- package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
- package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
- package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
- package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
- package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
- package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
- package/esm2022/table/directives/public-api.mjs +2 -0
- package/esm2022/table/directives/table-column.directive.mjs +51 -0
- package/esm2022/table/index.mjs +2 -0
- package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
- package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
- package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
- package/esm2022/table/models/columns/image-column.model.mjs +11 -0
- package/esm2022/table/models/columns/number-column.model.mjs +17 -0
- package/esm2022/table/models/columns/public-api.mjs +7 -0
- package/esm2022/table/models/columns/text-column.model.mjs +11 -0
- package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
- package/esm2022/table/models/enums/public-api.mjs +2 -0
- package/esm2022/table/models/filter-item.model.mjs +2 -0
- package/esm2022/table/models/filter-operand.config.mjs +2 -0
- package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
- package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
- package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
- package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
- package/esm2022/table/models/public-api.mjs +5 -0
- package/esm2022/table/models/saved-view.model.mjs +2 -0
- package/esm2022/table/models/table-config.model.mjs +21 -0
- package/esm2022/table/models/table.config.mjs +2 -0
- package/esm2022/table/models/upd-table-config.model.mjs +9 -0
- package/esm2022/table/models/upd-table.config.mjs +2 -0
- package/esm2022/table/public-api.mjs +6 -0
- package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
- package/esm2022/table/services/storages/saved-views.storage.mjs +63 -0
- package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
- package/esm2022/table/services/upd-table-config.service.mjs +18 -0
- package/esm2022/table/table.component.mjs +382 -0
- package/esm2022/table/tools/filters.tools.mjs +48 -0
- package/esm2022/table/tools/table.constants.mjs +15 -0
- package/esm2022/table/upd-table.module.mjs +149 -0
- package/esm2022/table/updevs-components-table.mjs +5 -0
- package/esm2022/updevs-components.mjs +5 -0
- package/fesm2022/updevs-components-badge.mjs +91 -0
- package/fesm2022/updevs-components-badge.mjs.map +1 -0
- package/fesm2022/updevs-components-button.mjs +193 -0
- package/fesm2022/updevs-components-button.mjs.map +1 -0
- package/fesm2022/updevs-components-calendar.mjs +1711 -0
- package/fesm2022/updevs-components-calendar.mjs.map +1 -0
- package/fesm2022/updevs-components-card.mjs +238 -0
- package/fesm2022/updevs-components-card.mjs.map +1 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
- package/fesm2022/updevs-components-dropdown.mjs +226 -0
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs +47 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs +89 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs +190 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-input.mjs +263 -0
- package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-radio.mjs +92 -0
- package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-select.mjs +423 -0
- package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-textarea.mjs +74 -0
- package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-time-picker.mjs +344 -0
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form.mjs +378 -0
- package/fesm2022/updevs-components-form.mjs.map +1 -0
- package/fesm2022/updevs-components-layout.mjs +785 -0
- package/fesm2022/updevs-components-layout.mjs.map +1 -0
- package/fesm2022/updevs-components-link.mjs +79 -0
- package/fesm2022/updevs-components-link.mjs.map +1 -0
- package/fesm2022/updevs-components-list.mjs +205 -0
- package/fesm2022/updevs-components-list.mjs.map +1 -0
- package/fesm2022/updevs-components-modal.mjs +503 -0
- package/fesm2022/updevs-components-modal.mjs.map +1 -0
- package/fesm2022/updevs-components-paginator.mjs +159 -0
- package/fesm2022/updevs-components-paginator.mjs.map +1 -0
- package/fesm2022/updevs-components-popover.mjs +223 -0
- package/fesm2022/updevs-components-popover.mjs.map +1 -0
- package/fesm2022/updevs-components-table.mjs +1715 -0
- package/fesm2022/updevs-components-table.mjs.map +1 -0
- package/fesm2022/updevs-components.mjs +33 -0
- package/fesm2022/updevs-components.mjs.map +1 -0
- package/form/components/dynamic-field/dynamic-field.component.d.ts +45 -0
- package/form/form.component.d.ts +60 -0
- package/form/index.d.ts +1 -0
- package/form/models/checkbox-field.model.d.ts +4 -0
- package/form/models/checkbox-group-field.model.d.ts +6 -0
- package/form/models/dynamic-field.model.d.ts +30 -0
- package/form/models/enums/dynamic-field.type.d.ts +12 -0
- package/form/models/enums/public-api.d.ts +1 -0
- package/form/models/form-row.model.d.ts +8 -0
- package/form/models/public-api.d.ts +5 -0
- package/form/models/radio-field.model.d.ts +4 -0
- package/form/models/radio-group-field.model.d.ts +6 -0
- package/form/models/select-field.model.d.ts +28 -0
- package/form/models/single-select-field.model.d.ts +4 -0
- package/form/models/textarea-field.model.d.ts +10 -0
- package/form/models/validator-config.d.ts +5 -0
- package/form/public-api.d.ts +3 -0
- package/form/tools/errors-helper.d.ts +11 -0
- package/form/upd-form.module.d.ts +20 -0
- package/form-controls/abstractions/base-control.d.ts +24 -0
- package/form-controls/abstractions/index.d.ts +2 -0
- package/form-controls/abstractions/public-api.d.ts +2 -0
- package/form-controls/checkbox/checkbox.component.d.ts +21 -0
- package/form-controls/checkbox/index.d.ts +1 -0
- package/form-controls/checkbox/public-api.d.ts +2 -0
- package/form-controls/checkbox/upd-checkbox.module.d.ts +10 -0
- package/form-controls/date-picker/date-picker.component.d.ts +87 -0
- package/form-controls/date-picker/index.d.ts +1 -0
- package/form-controls/date-picker/public-api.d.ts +2 -0
- package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
- package/form-controls/input/directives/input-append.directive.d.ts +7 -0
- package/form-controls/input/directives/input-prepend.directive.d.ts +7 -0
- package/form-controls/input/directives/public-api.d.ts +2 -0
- package/form-controls/input/index.d.ts +1 -0
- package/form-controls/input/input.component.d.ts +66 -0
- package/form-controls/input/public-api.d.ts +4 -0
- package/form-controls/input/types/input.type.d.ts +1 -0
- package/form-controls/input/types/loader-position.type.d.ts +1 -0
- package/form-controls/input/types/public-api.d.ts +2 -0
- package/form-controls/input/upd-input.module.d.ts +13 -0
- package/form-controls/radio/index.d.ts +1 -0
- package/form-controls/radio/public-api.d.ts +2 -0
- package/form-controls/radio/radio.component.d.ts +19 -0
- package/form-controls/radio/upd-radio.module.d.ts +10 -0
- package/form-controls/select/components/multiple/select-multiple.component.d.ts +25 -0
- package/form-controls/select/components/single/select.component.d.ts +26 -0
- package/form-controls/select/index.d.ts +1 -0
- package/form-controls/select/models/abstractions/base-select.component.d.ts +83 -0
- package/form-controls/select/models/defaults.d.ts +8 -0
- package/form-controls/select/models/public-api.d.ts +2 -0
- package/form-controls/select/models/select-item.d.ts +25 -0
- package/form-controls/select/public-api.d.ts +4 -0
- package/form-controls/select/upd-select.module.d.ts +16 -0
- package/form-controls/textarea/index.d.ts +1 -0
- package/form-controls/textarea/public-api.d.ts +2 -0
- package/form-controls/textarea/textarea.component.d.ts +21 -0
- package/form-controls/textarea/upd-textarea.module.d.ts +8 -0
- package/form-controls/time-picker/index.d.ts +1 -0
- package/form-controls/time-picker/public-api.d.ts +3 -0
- package/form-controls/time-picker/time-picker.component.d.ts +78 -0
- package/form-controls/time-picker/time-selector/time-selector.component.d.ts +69 -0
- package/form-controls/time-picker/upd-time-picker.module.d.ts +17 -0
- package/index.d.ts +2 -0
- package/layout/abstractions/base-page.component.d.ts +12 -0
- package/layout/abstractions/base.layout.d.ts +15 -0
- package/layout/abstractions/public-api.d.ts +1 -0
- package/layout/index.d.ts +1 -0
- package/layout/layouts/blank-layout/blank-layout.component.d.ts +5 -0
- package/layout/layouts/blank-layout/blank-layout.module.d.ts +8 -0
- package/layout/layouts/public-api.d.ts +4 -0
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +12 -0
- package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +21 -0
- package/layout/models/login-page-config.model.d.ts +37 -0
- package/layout/models/login-page.config.d.ts +35 -0
- package/layout/models/public-api.d.ts +2 -0
- package/layout/models/security-layout-config.model.d.ts +12 -0
- package/layout/models/security-layout.config.d.ts +10 -0
- package/layout/models/upd-layout-config.model.d.ts +48 -0
- package/layout/models/upd-layout.config.d.ts +46 -0
- package/layout/pages/auth-flow/auth-flow-routing.module.d.ts +12 -0
- package/layout/pages/auth-flow/auth-flow.module.d.ts +18 -0
- package/layout/pages/auth-flow/logged-out/logged-out.component.d.ts +5 -0
- package/layout/pages/auth-flow/login/login.component.d.ts +23 -0
- package/layout/pages/auth-flow/oauth-callback/oauth-callback.component.d.ts +5 -0
- package/layout/pages/auth-flow/public-api.d.ts +5 -0
- package/layout/pages/public-api.d.ts +1 -0
- package/layout/partials/footer/footer-copyright.directive.d.ts +5 -0
- package/layout/partials/footer/footer.component.d.ts +34 -0
- package/layout/partials/footer/public-api.d.ts +2 -0
- package/layout/partials/header/header-style.type.d.ts +1 -0
- package/layout/partials/header/header.component.d.ts +31 -0
- package/layout/partials/header/public-api.d.ts +2 -0
- package/layout/partials/page-header/page-header.component.d.ts +7 -0
- package/layout/partials/page-header/public-api.d.ts +1 -0
- package/layout/partials/public-api.d.ts +4 -0
- package/layout/partials/sidebar/public-api.d.ts +1 -0
- package/layout/partials/sidebar/sidebar.component.d.ts +22 -0
- package/layout/public-api.d.ts +7 -0
- package/layout/services/public-api.d.ts +1 -0
- package/layout/services/upd-layout-config.service.d.ts +15 -0
- package/layout/tools/layout.constants.d.ts +15 -0
- package/layout/upd-layout.module.d.ts +18 -0
- package/lib/index.d.ts +2 -0
- package/lib/models/public-api.d.ts +2 -0
- package/lib/models/row-column-size.d.ts +6 -0
- package/lib/public-api.d.ts +5 -0
- package/lib/tools/column-size.helper.d.ts +6 -0
- package/lib/tools/public-api.d.ts +2 -0
- package/lib/types/component-size.type.d.ts +2 -0
- package/lib/types/horizontal-vertical.type.d.ts +2 -0
- package/lib/types/public-api.d.ts +4 -0
- package/lib/types/validation-status.type.d.ts +2 -0
- package/lib/upd-components.module.d.ts +7 -0
- package/link/index.d.ts +1 -0
- package/link/link.component.d.ts +22 -0
- package/link/public-api.d.ts +3 -0
- package/link/target.type.d.ts +1 -0
- package/link/upd-link.module.d.ts +8 -0
- package/list/index.d.ts +1 -0
- package/list/list.component.d.ts +46 -0
- package/list/models/badge-position.type.d.ts +1 -0
- package/list/models/list-item.d.ts +20 -0
- package/list/models/list-item.model.d.ts +25 -0
- package/list/models/public-api.d.ts +2 -0
- package/list/public-api.d.ts +3 -0
- package/list/upd-list.module.d.ts +13 -0
- package/modal/components/modal-container/modal-container.component.d.ts +74 -0
- package/modal/index.d.ts +1 -0
- package/modal/models/base.modal.d.ts +8 -0
- package/modal/models/modal-config.model.d.ts +32 -0
- package/modal/models/modal-ref.d.ts +6 -0
- package/modal/models/modal.config.d.ts +30 -0
- package/modal/models/public-api.d.ts +3 -0
- package/modal/public-api.d.ts +3 -0
- package/modal/services/modal-alert.service.d.ts +22 -0
- package/modal/services/modal.service.d.ts +12 -0
- package/modal/services/public-api.d.ts +2 -0
- package/modal/types/modal-footer-style.type.d.ts +1 -0
- package/modal/types/modal-size.type.d.ts +1 -0
- package/modal/upd-modal.module.d.ts +18 -0
- package/package.json +158 -14
- package/paginator/index.d.ts +1 -0
- package/paginator/paginator.component.d.ts +42 -0
- package/paginator/public-api.d.ts +2 -0
- package/paginator/upd-paginator.module.d.ts +14 -0
- package/popover/index.d.ts +1 -0
- package/popover/popover.component.d.ts +22 -0
- package/popover/popover.directive.d.ts +33 -0
- package/popover/public-api.d.ts +3 -0
- package/popover/upd-popover.module.d.ts +9 -0
- package/public-api.d.ts +2 -0
- package/table/abstractions/base-column.model.d.ts +31 -0
- package/table/abstractions/base.column.d.ts +22 -0
- package/table/abstractions/filters-operands.service.d.ts +8 -0
- package/table/abstractions/public-api.d.ts +2 -0
- package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
- package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
- package/table/components/columns/number-column/number-column.component.d.ts +7 -0
- package/table/components/columns/text-column/text-column.component.d.ts +9 -0
- package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
- package/table/components/filter-row/filter-row.component.d.ts +40 -0
- package/table/components/save-search/save-search.component.d.ts +17 -0
- package/table/components/search-section/search-section.component.d.ts +36 -0
- package/table/directives/public-api.d.ts +1 -0
- package/table/directives/table-column.directive.d.ts +14 -0
- package/table/index.d.ts +1 -0
- package/table/models/columns/boolean-column.model.d.ts +15 -0
- package/table/models/columns/date-time-column.model.d.ts +8 -0
- package/table/models/columns/guid-column.model.d.ts +4 -0
- package/table/models/columns/image-column.model.d.ts +6 -0
- package/table/models/columns/number-column.model.d.ts +8 -0
- package/table/models/columns/public-api.d.ts +6 -0
- package/table/models/columns/text-column.model.d.ts +6 -0
- package/table/models/enums/column-type.enum.d.ts +13 -0
- package/table/models/enums/public-api.d.ts +1 -0
- package/table/models/filter-item.model.d.ts +6 -0
- package/table/models/filter-operand.config.d.ts +9 -0
- package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
- package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
- package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
- package/table/models/public-api.d.ts +4 -0
- package/table/models/saved-view.model.d.ts +11 -0
- package/table/models/table-config.model.d.ts +24 -0
- package/table/models/table.config.d.ts +22 -0
- package/table/models/upd-table-config.model.d.ts +6 -0
- package/table/models/upd-table.config.d.ts +6 -0
- package/table/public-api.d.ts +5 -0
- package/table/services/default-filters-operands.service.d.ts +17 -0
- package/table/services/storages/saved-views.storage.d.ts +22 -0
- package/table/services/stores/filters-operands.store.d.ts +11 -0
- package/table/services/upd-table-config.service.d.ts +12 -0
- package/table/table.component.d.ts +78 -0
- package/table/tools/filters.tools.d.ts +9 -0
- package/table/tools/table.constants.d.ts +15 -0
- package/table/upd-table.module.d.ts +40 -0
- package/CHANGELOG.md +0 -8
- package/ng-package.json +0 -7
- package/src/lib/components.component.spec.ts +0 -23
- package/src/lib/components.component.ts +0 -14
- package/src/lib/components.module.ts +0 -17
- package/src/lib/components.service.spec.ts +0 -16
- package/src/lib/components.service.ts +0 -9
- package/src/public-api.ts +0 -7
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dynamic-field.type';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RequiredPermissionsModel } from '@updevs/sdk/security';
|
|
2
|
+
import { DynamicFieldModel } from './dynamic-field.model';
|
|
3
|
+
export interface FormRowModel {
|
|
4
|
+
fields: DynamicFieldModel[];
|
|
5
|
+
isCompact?: boolean;
|
|
6
|
+
isHidden?: boolean;
|
|
7
|
+
requiredPermissions?: RequiredPermissionsModel;
|
|
8
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SelectItem } from '@updevs/components/form-controls/select';
|
|
2
|
+
import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
|
|
3
|
+
import { DynamicFieldModel } from './dynamic-field.model';
|
|
4
|
+
export interface SelectFieldModel extends DynamicFieldModel {
|
|
5
|
+
items?: SelectItem[];
|
|
6
|
+
store?: BaseSearchStore<any>;
|
|
7
|
+
/**
|
|
8
|
+
* Observable used to load/filter the items.
|
|
9
|
+
*/
|
|
10
|
+
observable?: ObservableSearchType;
|
|
11
|
+
/**
|
|
12
|
+
* Name of the property in the object that represents the ID/key of the option.
|
|
13
|
+
* **Note:** used only for remote data.
|
|
14
|
+
*/
|
|
15
|
+
itemKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of the property in the object that represents the value/description of the option.
|
|
18
|
+
* **Note:** used only for remote data.
|
|
19
|
+
*/
|
|
20
|
+
itemValue?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum height of the dropdown.
|
|
23
|
+
*/
|
|
24
|
+
dropdownMaxHeight?: number;
|
|
25
|
+
typeaheadDebounce?: number;
|
|
26
|
+
shouldAutoSearch?: boolean;
|
|
27
|
+
shouldCloseOnOutsideClick?: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicFieldModel } from './dynamic-field.model';
|
|
2
|
+
export interface TextareaFieldModel extends DynamicFieldModel {
|
|
3
|
+
value?: string;
|
|
4
|
+
customClasses?: string;
|
|
5
|
+
wrapperClasses?: string;
|
|
6
|
+
maxLength?: number;
|
|
7
|
+
rows?: number;
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
displayCharactersCount?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractControl } from '@angular/forms';
|
|
2
|
+
import { DictionaryType } from '@updevs/sdk/types';
|
|
3
|
+
import { ValidatorConfig } from '../models/validator-config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ErrorsHelper {
|
|
6
|
+
private errors;
|
|
7
|
+
private readonly textService;
|
|
8
|
+
getMessages(control: AbstractControl, customConfig?: DictionaryType<ValidatorConfig>): string[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsHelper, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorsHelper>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./form.component";
|
|
4
|
+
import * as i2 from "./components/dynamic-field/dynamic-field.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/forms";
|
|
7
|
+
import * as i5 from "@updevs/components/button";
|
|
8
|
+
import * as i6 from "@jsverse/transloco";
|
|
9
|
+
import * as i7 from "@updevs/components/form-controls/input";
|
|
10
|
+
import * as i8 from "@updevs/components/form-controls/checkbox";
|
|
11
|
+
import * as i9 from "@updevs/components/form-controls/radio";
|
|
12
|
+
import * as i10 from "@updevs/components/form-controls/date-picker";
|
|
13
|
+
import * as i11 from "@updevs/components/form-controls/select";
|
|
14
|
+
import * as i12 from "@updevs/components/form-controls/textarea";
|
|
15
|
+
export declare class UpdFormModule {
|
|
16
|
+
constructor(translocoService: TranslocoService);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdFormModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdFormModule, [typeof i1.FormComponent, typeof i2.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 i1.FormComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdFormModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference path="base-control.ngtypecheck.d.ts" />
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { TextModel, TextService } from '@updevs/sdk';
|
|
4
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
5
|
+
import { ValidationStatusType } from '@updevs/components';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare abstract class BaseControl extends BaseComponent {
|
|
8
|
+
placeholder: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
9
|
+
label: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
10
|
+
description: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
11
|
+
validationStatusDescriptions: import("@angular/core").InputSignal<TextModel[]>;
|
|
12
|
+
hint: import("@angular/core").InputSignal<TextModel | undefined>;
|
|
13
|
+
hintTemplate: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
14
|
+
hintAsTooltip: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
validationStatus: import("@angular/core").InputSignal<ValidationStatusType | undefined>;
|
|
16
|
+
get placeholderText(): string;
|
|
17
|
+
get labelText(): string;
|
|
18
|
+
get descriptionText(): string;
|
|
19
|
+
get validationStatusTexts(): string[];
|
|
20
|
+
get hintText(): string;
|
|
21
|
+
protected readonly _textService: TextService;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseControl, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseControl, never, never, { "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; }; "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; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckboxComponent extends BaseControl {
|
|
5
|
+
wrapperClasses: string;
|
|
6
|
+
checkboxInput: ElementRef;
|
|
7
|
+
readonly changed: EventEmitter<boolean>;
|
|
8
|
+
value: import("@angular/core").InputSignal<any>;
|
|
9
|
+
customClasses: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
+
isDisabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
isChecked: import("@angular/core").ModelSignal<boolean>;
|
|
13
|
+
isInline: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
isSwitch: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
isIndeterminate: import("@angular/core").ModelSignal<boolean>;
|
|
16
|
+
classes: import("@angular/core").Signal<string[]>;
|
|
17
|
+
constructor();
|
|
18
|
+
onSelectChange(event: Event): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "upd-checkbox", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "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>;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@updevs/components/popover";
|
|
6
|
+
export declare class UpdCheckboxModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdCheckboxModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdCheckboxModule, [typeof i1.CheckboxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.UpdPopoverModule], [typeof i1.CheckboxComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdCheckboxModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
3
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
4
|
+
import { CalendarViewType, CalendarUserEventModel, DateRangeModel } from '@updevs/components/calendar';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatePickerComponent extends BaseComponent {
|
|
7
|
+
componentBox?: ElementRef;
|
|
8
|
+
calendar?: ElementRef;
|
|
9
|
+
shouldCloseOnOutsideClick: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The minimum selectable date.
|
|
12
|
+
*/
|
|
13
|
+
minDate?: Date;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum selectable date.
|
|
16
|
+
*/
|
|
17
|
+
maxDate?: Date;
|
|
18
|
+
/**
|
|
19
|
+
* The date to open the calendar to initially
|
|
20
|
+
*/
|
|
21
|
+
get startAt(): OptionalType<Date>;
|
|
22
|
+
set startAt(value: OptionalType<Date>);
|
|
23
|
+
/**
|
|
24
|
+
* The view that the calendar should start in.
|
|
25
|
+
*/
|
|
26
|
+
startView: CalendarViewType;
|
|
27
|
+
dateFilter?: (date: Date) => boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the user is currently selecting a range of dates.
|
|
30
|
+
*/
|
|
31
|
+
isRange: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Emits the year chosen in multiyear view.
|
|
34
|
+
* This doesn't imply a change on the selected date.
|
|
35
|
+
*/
|
|
36
|
+
readonly yearSelected: EventEmitter<Date>;
|
|
37
|
+
/**
|
|
38
|
+
* Emits the month chosen in year view.
|
|
39
|
+
* This doesn't imply a change on the selected date.
|
|
40
|
+
*/
|
|
41
|
+
readonly monthSelected: EventEmitter<Date>;
|
|
42
|
+
/**
|
|
43
|
+
* Emits when the current view changes.
|
|
44
|
+
*/
|
|
45
|
+
readonly viewChanged: EventEmitter<CalendarViewType>;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the dropdown is open.
|
|
48
|
+
*/
|
|
49
|
+
isDropdownOpen: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Start of the comparison range.
|
|
52
|
+
*/
|
|
53
|
+
comparisonStart?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* End of the comparison range.
|
|
56
|
+
*/
|
|
57
|
+
comparisonEnd?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* ARIA Accessible name of the `<input matStartDate/>`
|
|
60
|
+
*/
|
|
61
|
+
startDateAccessibleName?: string;
|
|
62
|
+
/**
|
|
63
|
+
* ARIA Accessible name of the `<input matEndDate/>`
|
|
64
|
+
*/
|
|
65
|
+
endDateAccessibleName?: string;
|
|
66
|
+
selectedData: DateRangeModel;
|
|
67
|
+
get hasSelectedData(): boolean;
|
|
68
|
+
get startDate(): string;
|
|
69
|
+
get endDate(): string;
|
|
70
|
+
readonly id: string;
|
|
71
|
+
private _startAt?;
|
|
72
|
+
private readonly rangeSelectionStrategy;
|
|
73
|
+
private readonly dateService;
|
|
74
|
+
private readonly domEventsService;
|
|
75
|
+
private readonly positioningService;
|
|
76
|
+
private readonly ngZone;
|
|
77
|
+
private readonly renderer;
|
|
78
|
+
clearSelection(): void;
|
|
79
|
+
openDropdown(): void;
|
|
80
|
+
handleUserSelection(event: CalendarUserEventModel<OptionalType<Date>>): void;
|
|
81
|
+
handleUserDragDrop(event: CalendarUserEventModel<DateRangeModel>): void;
|
|
82
|
+
updateStartDate(value: any): void;
|
|
83
|
+
updateEndDate(value: any): void;
|
|
84
|
+
private updatePosition;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "upd-date-picker", never, { "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; }, never, never, false, never>;
|
|
87
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./date-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@updevs/components/button";
|
|
5
|
+
import * as i4 from "@updevs/components/calendar";
|
|
6
|
+
import * as i5 from "@updevs/icons";
|
|
7
|
+
import * as i6 from "@updevs/components/form-controls/input";
|
|
8
|
+
export declare class UpdDatePickerModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdDatePickerModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdDatePickerModule, [typeof i1.DatePickerComponent], [typeof i2.CommonModule, typeof i3.UpdButtonModule, typeof i4.UpdCalendarModule, typeof i5.UpdIconsModule, typeof i6.UpdInputModule], [typeof i1.DatePickerComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdDatePickerModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputAppendDirective {
|
|
4
|
+
readonly templateRef: TemplateRef<any>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputAppendDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputAppendDirective, "ng-template[updInputAppend]", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputPrependDirective {
|
|
4
|
+
readonly templateRef: TemplateRef<any>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPrependDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputPrependDirective, "ng-template[updInputPrepend]", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { SimpleChanges, OnInit, OnChanges, EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconModel } from '@updevs/icons';
|
|
3
|
+
import { UpdMaskConfig } from '@updevs/sdk/mask';
|
|
4
|
+
import { ComponentSizeType, HorizontalVerticalType, RowColumnSize } from '@updevs/components';
|
|
5
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { InputType } from './types/input.type';
|
|
8
|
+
import { InputAppendDirective } from './directives/input-append.directive';
|
|
9
|
+
import { InputPrependDirective } from './directives/input-prepend.directive';
|
|
10
|
+
import { LoaderPositionType } from './types/loader-position.type';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class InputComponent extends BaseControl implements OnInit, OnChanges {
|
|
13
|
+
hostWrapperClasses: string;
|
|
14
|
+
appendTemplate?: InputAppendDirective;
|
|
15
|
+
prependTemplate?: InputPrependDirective;
|
|
16
|
+
type: InputType;
|
|
17
|
+
mask?: string;
|
|
18
|
+
maskConfig?: UpdMaskConfig;
|
|
19
|
+
value?: any;
|
|
20
|
+
size: ComponentSizeType;
|
|
21
|
+
customClasses?: string;
|
|
22
|
+
wrapperClasses?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
maxLength?: number;
|
|
25
|
+
isDisabled: boolean;
|
|
26
|
+
isPlainText: boolean;
|
|
27
|
+
isReadOnly: boolean;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
isRound: boolean;
|
|
30
|
+
isFlush: boolean;
|
|
31
|
+
isInputGroupFlat: boolean;
|
|
32
|
+
isPrependButton: boolean;
|
|
33
|
+
isAppendButton: boolean;
|
|
34
|
+
isFloating: boolean;
|
|
35
|
+
isRequired: boolean;
|
|
36
|
+
loaderPosition: LoaderPositionType;
|
|
37
|
+
prependIconModel?: IconModel;
|
|
38
|
+
appendIconModel?: IconModel;
|
|
39
|
+
isValidationStatusLight: boolean;
|
|
40
|
+
layout: HorizontalVerticalType;
|
|
41
|
+
labelColSize?: RowColumnSize;
|
|
42
|
+
readonly valueChange: EventEmitter<any>;
|
|
43
|
+
readonly blurred: EventEmitter<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Emitted when any key is pressed.
|
|
46
|
+
*/
|
|
47
|
+
readonly keyDown: EventEmitter<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Emitted when the ESC key is pressed.
|
|
50
|
+
*/
|
|
51
|
+
readonly keyDownEsc: EventEmitter<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Emitted when the ENTER key is released.
|
|
54
|
+
*/
|
|
55
|
+
readonly keyUpEnter: EventEmitter<void>;
|
|
56
|
+
classes: string[];
|
|
57
|
+
get shouldDisplayInnerLabel(): boolean;
|
|
58
|
+
get labelSizeClasses(): string;
|
|
59
|
+
readonly valueChangedSub: Subject<string>;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
+
onInputChange(evt: Event): void;
|
|
63
|
+
private updateClasses;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
65
|
+
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; }; "name": { "alias": "name"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "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; }; "isRequired": { "alias": "isRequired"; "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; }; "labelColSize": { "alias": "labelColSize"; "required": false; }; }, { "valueChange": "valueChange"; "blurred": "blurred"; "keyDown": "keyDown"; "keyDownEsc": "keyDownEsc"; "keyUpEnter": "keyUpEnter"; }, ["appendTemplate", "prependTemplate"], never, false, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputType = 'text' | 'number' | 'email' | 'file' | 'hidden' | 'password';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type LoaderPositionType = 'append' | 'prepend';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.component";
|
|
3
|
+
import * as i2 from "./directives/input-append.directive";
|
|
4
|
+
import * as i3 from "./directives/input-prepend.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@updevs/icons";
|
|
7
|
+
import * as i6 from "@updevs/sdk/mask";
|
|
8
|
+
import * as i7 from "@updevs/components/popover";
|
|
9
|
+
export declare class UpdInputModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdInputModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdInputModule, [typeof i1.InputComponent, typeof i2.InputAppendDirective, typeof i3.InputPrependDirective], [typeof i4.CommonModule, typeof i5.UpdIconsModule, typeof i6.UpdMaskModule, typeof i7.UpdPopoverModule], [typeof i1.InputComponent, typeof i2.InputAppendDirective, typeof i3.InputPrependDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdInputModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RadioComponent extends BaseControl implements OnInit, OnChanges {
|
|
5
|
+
wrapperClasses: string;
|
|
6
|
+
value?: any;
|
|
7
|
+
customClasses?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
isChecked: boolean;
|
|
11
|
+
isInline: boolean;
|
|
12
|
+
readonly selected: EventEmitter<void>;
|
|
13
|
+
classes: string[];
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnChanges(): void;
|
|
16
|
+
private updateClasses;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "upd-radio", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "value": { "alias": "value"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isInline": { "alias": "isInline"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@updevs/components/popover";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class UpdRadioModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdRadioModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdRadioModule, [typeof i1.RadioComponent], [typeof i2.CommonModule, typeof i3.UpdPopoverModule, typeof i4.ReactiveFormsModule], [typeof i1.RadioComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdRadioModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ListItem } from '@updevs/components/list';
|
|
3
|
+
import { BaseSelectComponent } from '../../models/abstractions/base-select.component';
|
|
4
|
+
import { SelectItem } from '../../models/select-item';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SelectMultipleComponent extends BaseSelectComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the selected items.
|
|
9
|
+
* Triggered when items are selected.
|
|
10
|
+
*/
|
|
11
|
+
readonly selectedItems: EventEmitter<SelectItem[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the selected Ids.
|
|
14
|
+
* Triggered when items are selected.
|
|
15
|
+
*/
|
|
16
|
+
readonly selectedIds: EventEmitter<any[]>;
|
|
17
|
+
currentSelection: SelectItem[];
|
|
18
|
+
constructor();
|
|
19
|
+
clearSelection(): void;
|
|
20
|
+
onSelectItem(item: ListItem): void;
|
|
21
|
+
onRemoveItem(item: SelectItem): void;
|
|
22
|
+
private updateActiveItemsOnList;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectMultipleComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectMultipleComponent, "upd-select-multiple", never, {}, { "selectedItems": "selectedItems"; "selectedIds": "selectedIds"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { OptionalType } from '@updevs/sdk/types';
|
|
3
|
+
import { ListItem } from '@updevs/components/list';
|
|
4
|
+
import { BaseSelectComponent } from '../../models/abstractions/base-select.component';
|
|
5
|
+
import { SelectItem } from '../../models/select-item';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectComponent extends BaseSelectComponent {
|
|
8
|
+
/**
|
|
9
|
+
* If true, it'll use the default style of the OS, no search capabilities.
|
|
10
|
+
*/
|
|
11
|
+
useSystemStyle: boolean;
|
|
12
|
+
shouldShowClearButton: boolean;
|
|
13
|
+
isCompact: boolean;
|
|
14
|
+
set selected(item: OptionalType<SelectItem>);
|
|
15
|
+
/**
|
|
16
|
+
* Triggered when an item is selected.
|
|
17
|
+
*/
|
|
18
|
+
readonly selectedItem: EventEmitter<OptionalType<SelectItem>>;
|
|
19
|
+
currentSelection?: SelectItem;
|
|
20
|
+
constructor();
|
|
21
|
+
onSelectItem(item: ListItem): void;
|
|
22
|
+
onSystemSelect(event: any): void;
|
|
23
|
+
clearSelection(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "upd-select", never, { "useSystemStyle": { "alias": "useSystemStyle"; "required": false; }; "shouldShowClearButton": { "alias": "shouldShowClearButton"; "required": false; }; "isCompact": { "alias": "isCompact"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ElementRef, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
|
|
3
|
+
import { HorizontalVerticalType, RowColumnSize } from '@updevs/components';
|
|
4
|
+
import { ListItem } from '@updevs/components/list';
|
|
5
|
+
import { BaseControl } from '@updevs/components/form-controls/abstractions';
|
|
6
|
+
import { SelectItem } from '../select-item';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class BaseSelectComponent extends BaseControl implements OnInit {
|
|
9
|
+
get wrapperClasses(): "row" | "";
|
|
10
|
+
readonly dropdownOpenStatusChange: EventEmitter<boolean>;
|
|
11
|
+
componentBox: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
12
|
+
searchBox: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
13
|
+
searchBoxChild: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
14
|
+
list: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Name of the HTML component.
|
|
17
|
+
*/
|
|
18
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Select items.
|
|
21
|
+
* If provided, the select will be considered static.
|
|
22
|
+
*/
|
|
23
|
+
items: import("@angular/core").InputSignal<SelectItem[] | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Store used to load/filter the items.
|
|
26
|
+
*/
|
|
27
|
+
store: import("@angular/core").InputSignal<BaseSearchStore<any> | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Observable used to load/filter the items.
|
|
30
|
+
*/
|
|
31
|
+
observable: import("@angular/core").InputSignal<ObservableSearchType | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Name of the property in the object that represents the ID/key of the option.
|
|
34
|
+
* **Note:** used only for remote data.
|
|
35
|
+
*/
|
|
36
|
+
itemKey: import("@angular/core").InputSignal<string | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Name of the property in the object that represents the value/description of the option.
|
|
39
|
+
* **Note:** used only for remote data.
|
|
40
|
+
*/
|
|
41
|
+
itemValue: import("@angular/core").InputSignal<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Maximum height of the dropdown.
|
|
44
|
+
*/
|
|
45
|
+
dropdownMaxHeight: import("@angular/core").InputSignal<number>;
|
|
46
|
+
typeaheadDebounce: import("@angular/core").InputSignal<number>;
|
|
47
|
+
shouldAutoSearch: import("@angular/core").InputSignal<boolean>;
|
|
48
|
+
shouldCloseOnOutsideClick: import("@angular/core").InputSignal<boolean>;
|
|
49
|
+
layout: import("@angular/core").InputSignal<HorizontalVerticalType>;
|
|
50
|
+
labelColSize: import("@angular/core").InputSignal<RowColumnSize | undefined>;
|
|
51
|
+
isDisabled: import("@angular/core").InputSignal<boolean>;
|
|
52
|
+
layoutClasses: import("@angular/core").Signal<string[]>;
|
|
53
|
+
isLoading: boolean;
|
|
54
|
+
localItems: SelectItem[];
|
|
55
|
+
listItems: ListItem[];
|
|
56
|
+
dropdownClasses: string;
|
|
57
|
+
get isDropdownOpen(): boolean;
|
|
58
|
+
set isDropdownOpen(value: boolean);
|
|
59
|
+
get labelSizeClasses(): string;
|
|
60
|
+
protected _currentTerm?: string;
|
|
61
|
+
protected _localBackupItems: SelectItem[];
|
|
62
|
+
private hasExternalList;
|
|
63
|
+
private _isDropdownOpen;
|
|
64
|
+
private hostWrapperClasses;
|
|
65
|
+
private readonly searchInputSubject;
|
|
66
|
+
private readonly renderer;
|
|
67
|
+
private readonly ngZone;
|
|
68
|
+
private readonly domEventsService;
|
|
69
|
+
private readonly positioningService;
|
|
70
|
+
protected constructor();
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
openDropdown(): void;
|
|
73
|
+
search(term?: string): void;
|
|
74
|
+
protected _setupLocalItems(items: SelectItem[]): void;
|
|
75
|
+
private searchLocal;
|
|
76
|
+
private searchRemote;
|
|
77
|
+
private getListItem;
|
|
78
|
+
private updatePosition;
|
|
79
|
+
abstract clearSelection(): void;
|
|
80
|
+
abstract onSelectItem(item: ListItem): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseSelectComponent, never>;
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelectComponent, never, never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "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; }; "labelColSize": { "alias": "labelColSize"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; }, { "dropdownOpenStatusChange": "dropdownOpenStatusChange"; }, never, never, false, never>;
|
|
83
|
+
}
|