@updevs/components 1.0.0-alpha.1 → 1.0.0-alpha.10
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 +99 -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 +787 -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,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OauthCallbackComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OauthCallbackComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OauthCallbackComponent, "upd-oauth-callback", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth-flow/public-api';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FooterCopyrightDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterCopyrightDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterCopyrightDirective, "[updFooterCopyright]", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TemplateRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { LinkModel } from '@updevs/sdk/core';
|
|
3
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FooterComponent extends BaseComponent implements OnInit, OnChanges {
|
|
6
|
+
wrapperClasses: string;
|
|
7
|
+
footerCopyrightTemplate?: TemplateRef<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the footer will always be shown.
|
|
10
|
+
*/
|
|
11
|
+
isSticky: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the footer is transparent or not.
|
|
14
|
+
*/
|
|
15
|
+
isTransparent: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Links.
|
|
18
|
+
*/
|
|
19
|
+
links: LinkModel[];
|
|
20
|
+
/**
|
|
21
|
+
* Current year.
|
|
22
|
+
*/
|
|
23
|
+
currentYear: number;
|
|
24
|
+
/**
|
|
25
|
+
* Version of the application.
|
|
26
|
+
*/
|
|
27
|
+
version?: string;
|
|
28
|
+
private baseWrapperClasses;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
private updateWrapperClasses;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "upd-footer", never, {}, {}, ["footerCopyrightTemplate"], never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type HeaderStyleType = 'light' | 'dark' | 'transparent';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
3
|
+
import { TablerIconsType } from '@updevs/icons';
|
|
4
|
+
import { HeaderStyleType } from './header-style.type';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HeaderComponent extends BaseComponent implements OnInit, OnChanges {
|
|
7
|
+
wrapperClasses: string;
|
|
8
|
+
style: HeaderStyleType;
|
|
9
|
+
showSearchBar: boolean;
|
|
10
|
+
nextThemeIcon: TablerIconsType;
|
|
11
|
+
nextThemeColor: string;
|
|
12
|
+
currentNotificationsIcon: TablerIconsType;
|
|
13
|
+
hasNewNotifications: boolean;
|
|
14
|
+
showNotifications: boolean;
|
|
15
|
+
showLanguageSwitcher: boolean;
|
|
16
|
+
showUserMenu: boolean;
|
|
17
|
+
private baseWrapperClasses;
|
|
18
|
+
private readonly coreLayoutConfigService;
|
|
19
|
+
private readonly layoutService;
|
|
20
|
+
private readonly translocoService;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
switchTheme(): void;
|
|
24
|
+
switchLanguage(): void;
|
|
25
|
+
openNotifications(): void;
|
|
26
|
+
private setupNotifications;
|
|
27
|
+
private updateNotificationsIcon;
|
|
28
|
+
private updateWrapperClasses;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, { "style": { "alias": "style"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PageHeaderModel } from '@updevs/sdk/layout';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PageHeaderComponent {
|
|
4
|
+
model: PageHeaderModel;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './page-header.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sidebar.component';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RouteDataModel } from '@updevs/sdk/routes';
|
|
3
|
+
import { BaseComponent } from '@updevs/sdk/layout';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SidebarComponent extends BaseComponent implements OnInit {
|
|
6
|
+
wrapperClasses: string;
|
|
7
|
+
theme: string;
|
|
8
|
+
menuItems: RouteDataModel[];
|
|
9
|
+
private readonly router;
|
|
10
|
+
private readonly menuService;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
onMenuItemClick(item: RouteDataModel): void;
|
|
13
|
+
hasChildren(item: RouteDataModel): boolean;
|
|
14
|
+
asMenuItem(item: any): RouteDataModel;
|
|
15
|
+
getItemClasses(item: RouteDataModel, activeClass: string, ...classes: string[]): string[];
|
|
16
|
+
private findActiveNode;
|
|
17
|
+
private updateActiveRoute;
|
|
18
|
+
private resetMenuState;
|
|
19
|
+
private updateParents;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "upd-sidebar", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './abstractions/public-api';
|
|
2
|
+
export * from './layouts/public-api';
|
|
3
|
+
export * from './models/public-api';
|
|
4
|
+
export * from './pages/public-api';
|
|
5
|
+
export * from './partials/public-api';
|
|
6
|
+
export * from './services/public-api';
|
|
7
|
+
export * from './upd-layout.module';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './upd-layout-config.service';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UpdLayoutConfigModel } from '../models/upd-layout-config.model';
|
|
2
|
+
import { UpdLayoutConfig } from '../models/upd-layout.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Layout configuration data.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UpdLayoutConfigService {
|
|
8
|
+
/**
|
|
9
|
+
* Configuration (See: #upsee[p:models, i:UpdCoreLayoutConfigModel]).
|
|
10
|
+
*/
|
|
11
|
+
readonly config: UpdLayoutConfigModel;
|
|
12
|
+
constructor(layoutConfig: UpdLayoutConfig);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdLayoutConfigService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdLayoutConfigService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { UpdLayoutConfig } from '../models/upd-layout.config';
|
|
3
|
+
/**
|
|
4
|
+
* Layout constants.
|
|
5
|
+
*/
|
|
6
|
+
export declare class LayoutConstants {
|
|
7
|
+
/**
|
|
8
|
+
* Key to inject the default configuration.
|
|
9
|
+
*/
|
|
10
|
+
static defaultOptionsKey: string;
|
|
11
|
+
/**
|
|
12
|
+
* Injection token for the default configuration.
|
|
13
|
+
*/
|
|
14
|
+
static defaultOptionsInjectionToken: InjectionToken<UpdLayoutConfig>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { UpdLayoutConfig } from './models/upd-layout.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@updevs/sdk/layout";
|
|
6
|
+
/**
|
|
7
|
+
* Layout module.
|
|
8
|
+
*/
|
|
9
|
+
export declare class UpdLayoutModule {
|
|
10
|
+
/**
|
|
11
|
+
* Sets up the layout module with the provided configuration.
|
|
12
|
+
* @param config Configuration (See: #updsee[p:abstractions, i:UpdCoreLayoutConfig]).
|
|
13
|
+
*/
|
|
14
|
+
static forRoot(config: UpdLayoutConfig): ModuleWithProviders<UpdLayoutModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdLayoutModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule], never>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdLayoutModule>;
|
|
18
|
+
}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference path="column-size.helper.ngtypecheck.d.ts" />
|
|
2
|
+
import { RowColumnSize } from '../models/row-column-size';
|
|
3
|
+
export declare class ColumnSizeHelper {
|
|
4
|
+
static getSizeClasses(colSize?: RowColumnSize, defaultIfEmpty?: number): string;
|
|
5
|
+
static getClasses(...classes: string[]): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference path="upd-components.module.ngtypecheck.d.ts" />
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UpdComponentsModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdComponentsModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdComponentsModule, never, never, never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdComponentsModule>;
|
|
7
|
+
}
|
package/link/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { LinkTargetType } from './target.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LinkComponent implements OnInit, OnChanges {
|
|
5
|
+
href?: string;
|
|
6
|
+
target: LinkTargetType;
|
|
7
|
+
customClasses: string[];
|
|
8
|
+
isNavigation: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Emitted when the link is clicked.
|
|
11
|
+
* **NOTE:** The name of the event can not be 'click'. It would generate a conflict with the HTML event of same name.
|
|
12
|
+
* That would cause strange behaviors like preventing `isDisabled` from working correctly.
|
|
13
|
+
*/
|
|
14
|
+
readonly clicked: EventEmitter<any>;
|
|
15
|
+
classes: string[];
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
onClick(event: MouseEvent): void;
|
|
19
|
+
private updateWrapperClasses;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "upd-link", never, { "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "isNavigation": { "alias": "isNavigation"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type LinkTargetType = '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./link.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class UpdLinkModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdLinkModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLinkModule, [typeof i1.LinkComponent], [typeof i2.CommonModule], [typeof i1.LinkComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdLinkModule>;
|
|
8
|
+
}
|
package/list/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ListItem } from './models/list-item';
|
|
3
|
+
import { ListItemModel } from './models/list-item.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ListComponent implements OnInit, OnChanges {
|
|
6
|
+
localWrapperClasses: string;
|
|
7
|
+
/**
|
|
8
|
+
* List items.
|
|
9
|
+
* If provided, the single will be considered static.
|
|
10
|
+
*/
|
|
11
|
+
items?: ListItem[];
|
|
12
|
+
/**
|
|
13
|
+
* Whether the content should overflow or not.
|
|
14
|
+
*/
|
|
15
|
+
shouldOverflow: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the list will fit the layout of the container.
|
|
18
|
+
* If set to false, the list's round borders will be visible. It'll have a detached behavior.
|
|
19
|
+
*/
|
|
20
|
+
isFlush: boolean;
|
|
21
|
+
isVisible: boolean;
|
|
22
|
+
isHoverable: boolean;
|
|
23
|
+
shouldDisplayItemsCounter: boolean;
|
|
24
|
+
wrapperClasses: string;
|
|
25
|
+
/**
|
|
26
|
+
* Maximum height of the component.
|
|
27
|
+
* Note: The unit should also be provided, i.e.: 350px, 35rem, etc.
|
|
28
|
+
*/
|
|
29
|
+
maxHeight?: string;
|
|
30
|
+
readonly checkboxChanged: EventEmitter<ListItem>;
|
|
31
|
+
readonly selectedItem: EventEmitter<ListItem>;
|
|
32
|
+
listItems: ListItemModel[];
|
|
33
|
+
currentSelection: ListItem[];
|
|
34
|
+
private localBackupItems;
|
|
35
|
+
private readonly renderer;
|
|
36
|
+
private readonly elementRef;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
onCheckboxChange(item: ListItem, isChecked: boolean): void;
|
|
40
|
+
onSelectItem(evt: any, item: ListItem): void;
|
|
41
|
+
private setupItems;
|
|
42
|
+
private setupStyle;
|
|
43
|
+
private updateWrapperClasses;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "upd-list", never, { "items": { "alias": "items"; "required": false; }; "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isHoverable": { "alias": "isHoverable"; "required": false; }; "shouldDisplayItemsCounter": { "alias": "shouldDisplayItemsCounter"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "checkboxChanged": "checkboxChanged"; "selectedItem": "selectedItem"; }, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BadgePositionType = 'left' | 'left-box-bottom-right';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { BgColorStyleType } from '@updevs/sdk/layout';
|
|
3
|
+
import { BadgePositionType } from './badge-position.type';
|
|
4
|
+
export interface ListItem {
|
|
5
|
+
id?: any;
|
|
6
|
+
text?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
icon?: IconModel;
|
|
9
|
+
isChecked?: boolean;
|
|
10
|
+
isSwitch?: boolean;
|
|
11
|
+
hasCheckbox?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
isActive?: boolean;
|
|
14
|
+
leftBoxText?: string;
|
|
15
|
+
leftBoxImage?: string;
|
|
16
|
+
badgeColor?: BgColorStyleType;
|
|
17
|
+
badgeText?: string;
|
|
18
|
+
badgePosition?: BadgePositionType;
|
|
19
|
+
children?: ListItem[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IconModel } from '@updevs/icons';
|
|
2
|
+
import { BgColorStyleType } from '@updevs/sdk/layout';
|
|
3
|
+
import { ListItem } from './list-item';
|
|
4
|
+
import { BadgePositionType } from './badge-position.type';
|
|
5
|
+
export declare class ListItemModel implements ListItem {
|
|
6
|
+
id?: any;
|
|
7
|
+
text?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
icon?: IconModel;
|
|
10
|
+
isChecked?: boolean;
|
|
11
|
+
isSwitch?: boolean;
|
|
12
|
+
hasCheckbox?: boolean;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
isActive?: boolean;
|
|
15
|
+
leftBoxText?: string;
|
|
16
|
+
leftBoxImage?: string;
|
|
17
|
+
badgeColor?: BgColorStyleType;
|
|
18
|
+
badgeText?: string;
|
|
19
|
+
badgePosition?: BadgePositionType;
|
|
20
|
+
children?: ListItemModel[];
|
|
21
|
+
get hasLeftBox(): boolean;
|
|
22
|
+
get hasLeftBadge(): boolean;
|
|
23
|
+
get hasBottomRightBadge(): boolean;
|
|
24
|
+
constructor(init?: ListItem);
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./list.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@jsverse/transloco";
|
|
6
|
+
import * as i4 from "@updevs/components/form-controls/checkbox";
|
|
7
|
+
import * as i5 from "@updevs/icons";
|
|
8
|
+
export declare class UpdListModule {
|
|
9
|
+
constructor(translocoService: TranslocoService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdListModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UpdListModule, [typeof i1.ListComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule, typeof i4.UpdCheckboxModule, typeof i5.UpdIconsModule], [typeof i1.ListComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UpdListModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NgComponentOutlet } from '@angular/common';
|
|
2
|
+
import { TemplateRef, Type, ElementRef, ComponentRef } from '@angular/core';
|
|
3
|
+
import { TextModel } from '@updevs/sdk';
|
|
4
|
+
import { BgColorStyleType, BaseComponent, Overlay, ButtonModel } from '@updevs/sdk/layout';
|
|
5
|
+
import { TopBottomLeftRightType, OptionalType } from '@updevs/sdk/types';
|
|
6
|
+
import { IconModel } from '@updevs/icons';
|
|
7
|
+
import { ModalSizeType } from '../../types/modal-size.type';
|
|
8
|
+
import { ModalConfig } from '../../models/modal.config';
|
|
9
|
+
import { ModalFooterStyleType } from '../../types/modal-footer-style.type';
|
|
10
|
+
import { ModalRef } from '../../models/modal-ref';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class ModalContainerComponent extends BaseComponent implements ModalConfig, ModalRef {
|
|
13
|
+
id: string;
|
|
14
|
+
hostClass: string[];
|
|
15
|
+
role: string;
|
|
16
|
+
ariaHidden: boolean;
|
|
17
|
+
ariaModal: boolean;
|
|
18
|
+
tabIndex: number;
|
|
19
|
+
styleDisplay?: string;
|
|
20
|
+
dialog: import("@angular/core").Signal<ElementRef<any>>;
|
|
21
|
+
content: import("@angular/core").Signal<ElementRef<any>>;
|
|
22
|
+
bodyContentOutlet: import("@angular/core").Signal<NgComponentOutlet | undefined>;
|
|
23
|
+
size: ModalSizeType;
|
|
24
|
+
isVerticallyCentered: boolean;
|
|
25
|
+
isScrollable: boolean;
|
|
26
|
+
showCloseButton: boolean;
|
|
27
|
+
showCancelButton: boolean;
|
|
28
|
+
isTextCentered: boolean;
|
|
29
|
+
shouldDismissOnEsc: boolean;
|
|
30
|
+
shouldDismissOnOutsideClick: boolean;
|
|
31
|
+
isAlert: boolean;
|
|
32
|
+
statusColor?: BgColorStyleType;
|
|
33
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
34
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
35
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
36
|
+
bodyContentType?: Type<any>;
|
|
37
|
+
contentType?: Type<any>;
|
|
38
|
+
body?: TextModel;
|
|
39
|
+
title?: TextModel;
|
|
40
|
+
titleIcon?: IconModel;
|
|
41
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
42
|
+
footerLayout?: ModalFooterStyleType;
|
|
43
|
+
actionButtons: ButtonModel[];
|
|
44
|
+
overlay: Overlay;
|
|
45
|
+
modalContainerRef: ComponentRef<ModalContainerComponent>;
|
|
46
|
+
data?: any;
|
|
47
|
+
afterClose?: (result?: any) => void;
|
|
48
|
+
get classes(): string[];
|
|
49
|
+
get titleText(): string;
|
|
50
|
+
get bodyText(): string;
|
|
51
|
+
get statusColorClass(): string;
|
|
52
|
+
get sizeClass(): string;
|
|
53
|
+
private readonly openClass;
|
|
54
|
+
private readonly textService;
|
|
55
|
+
private readonly elementRef;
|
|
56
|
+
private readonly layoutService;
|
|
57
|
+
private readonly scrollbarService;
|
|
58
|
+
private readonly renderer;
|
|
59
|
+
private readonly document;
|
|
60
|
+
private get element();
|
|
61
|
+
prepareToShow(config?: ModalConfig): void;
|
|
62
|
+
show(): void;
|
|
63
|
+
close(result?: any): void;
|
|
64
|
+
buttonClick(event: MouseEvent, btn: ButtonModel): void;
|
|
65
|
+
getBodyInstance<T>(): OptionalType<T>;
|
|
66
|
+
private adjustDialog;
|
|
67
|
+
private setupConfig;
|
|
68
|
+
private setupActionButtons;
|
|
69
|
+
private setupListeners;
|
|
70
|
+
private clickCallback;
|
|
71
|
+
private escCallback;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "upd-modal-container", never, {}, {}, never, never, false, never>;
|
|
74
|
+
}
|
package/modal/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ModalRef } from './modal-ref';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class BaseModal<TData = any> {
|
|
4
|
+
modalRef: import("@angular/core").InputSignal<ModalRef>;
|
|
5
|
+
data: import("@angular/core").InputSignal<TData>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseModal<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseModal<any>, never, never, { "modalRef": { "alias": "modalRef"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { BgColorStyleType, ButtonModel } from '@updevs/sdk/layout';
|
|
3
|
+
import { TextModel } from '@updevs/sdk';
|
|
4
|
+
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
5
|
+
import { IconModel } from '@updevs/icons';
|
|
6
|
+
import { ModalConfig } from './modal.config';
|
|
7
|
+
import { ModalSizeType } from '../types/modal-size.type';
|
|
8
|
+
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
9
|
+
export declare class ModalConfigModel implements ModalConfig {
|
|
10
|
+
size: ModalSizeType;
|
|
11
|
+
isVerticallyCentered: boolean;
|
|
12
|
+
isScrollable: boolean;
|
|
13
|
+
showCancelButton: boolean;
|
|
14
|
+
showCloseButton: boolean;
|
|
15
|
+
isTextCentered: boolean;
|
|
16
|
+
shouldDismissOnEsc: boolean;
|
|
17
|
+
shouldDismissOnOutsideClick: boolean;
|
|
18
|
+
isAlert: boolean;
|
|
19
|
+
statusColor?: BgColorStyleType;
|
|
20
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
21
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
22
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
23
|
+
bodyContentType?: Type<any>;
|
|
24
|
+
body?: TextModel;
|
|
25
|
+
title?: TextModel;
|
|
26
|
+
titleIcon?: IconModel;
|
|
27
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
28
|
+
footerLayout?: ModalFooterStyleType;
|
|
29
|
+
actionButtons: ButtonModel[];
|
|
30
|
+
data?: any;
|
|
31
|
+
constructor(init?: Partial<ModalConfig>);
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { TextModel } from '@updevs/sdk';
|
|
3
|
+
import { BgColorStyleType, ButtonModel } from '@updevs/sdk/layout';
|
|
4
|
+
import { TopBottomLeftRightType } from '@updevs/sdk/types';
|
|
5
|
+
import { IconModel } from '@updevs/icons';
|
|
6
|
+
import { ModalSizeType } from '../types/modal-size.type';
|
|
7
|
+
import { ModalFooterStyleType } from '../types/modal-footer-style.type';
|
|
8
|
+
export interface ModalConfig {
|
|
9
|
+
size?: ModalSizeType;
|
|
10
|
+
isVerticallyCentered?: boolean;
|
|
11
|
+
isScrollable?: boolean;
|
|
12
|
+
showCancelButton?: boolean;
|
|
13
|
+
showCloseButton?: boolean;
|
|
14
|
+
shouldDismissOnEsc?: boolean;
|
|
15
|
+
shouldDismissOnOutsideClick?: boolean;
|
|
16
|
+
isAlert?: boolean;
|
|
17
|
+
isTextCentered?: boolean;
|
|
18
|
+
statusColor?: BgColorStyleType;
|
|
19
|
+
headerTemplateRef?: TemplateRef<any>;
|
|
20
|
+
footerTemplateRef?: TemplateRef<any>;
|
|
21
|
+
bodyTemplateRef?: TemplateRef<any>;
|
|
22
|
+
bodyContentType?: Type<any>;
|
|
23
|
+
body?: TextModel;
|
|
24
|
+
title?: TextModel;
|
|
25
|
+
titleIcon?: IconModel;
|
|
26
|
+
titleIconPosition?: TopBottomLeftRightType;
|
|
27
|
+
footerLayout?: ModalFooterStyleType;
|
|
28
|
+
actionButtons?: ButtonModel[];
|
|
29
|
+
data?: any;
|
|
30
|
+
}
|