@seniorsistemas/angular-components 17.31.2 → 18.0.0-develop-ae6477c0
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 +25 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/lib/accordion/accordion.component.d.ts +21 -0
- package/accordion/lib/accordion/accordion.module.d.ts +12 -0
- package/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.d.ts +30 -0
- package/accordion/lib/accordion/models/accordion-button-settings.d.ts +5 -0
- package/accordion/public-api.d.ts +3 -0
- package/alert/index.d.ts +5 -0
- package/alert/lib/alert/alert.component.d.ts +16 -0
- package/alert/lib/alert/alert.module.d.ts +8 -0
- package/alert/public-api.d.ts +2 -0
- package/autocomplete/index.d.ts +5 -0
- package/autocomplete/lib/autocomplete/autocomplete.component.d.ts +251 -0
- package/autocomplete/lib/autocomplete/components/autocomplete-chip/autocomplete-chip.component.d.ts +9 -0
- package/autocomplete/public-api.d.ts +1 -0
- package/badge/index.d.ts +5 -0
- package/badge/lib/badge/badge.component.d.ts +21 -0
- package/badge/lib/badge/badge.module.d.ts +10 -0
- package/badge/lib/badge/types/badge-colors.d.ts +1 -0
- package/badge/lib/badge/types/badge-types.d.ts +1 -0
- package/badge/public-api.d.ts +4 -0
- package/bignumber-input/index.d.ts +5 -0
- package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +42 -0
- package/bignumber-input/lib/bignumber-input/bignumber-input.module.d.ts +8 -0
- package/bignumber-input/public-api.d.ts +2 -0
- package/breadcrumb/index.d.ts +5 -0
- package/breadcrumb/lib/breadcrumb/breadcrumb.component.d.ts +25 -0
- package/breadcrumb/lib/breadcrumb/breadcrumb.module.d.ts +10 -0
- package/breadcrumb/public-api.d.ts +2 -0
- package/button/index.d.ts +5 -0
- package/button/lib/button/button.component.d.ts +35 -0
- package/button/lib/button/button.module.d.ts +7 -0
- package/button/lib/button/models/button-animations.d.ts +1 -0
- package/button/lib/button/models/button-badge-config.d.ts +6 -0
- package/button/lib/button/models/button-priority.d.ts +1 -0
- package/button/lib/button/models/button-size.d.ts +1 -0
- package/button/lib/button/models/index.d.ts +4 -0
- package/button/public-api.d.ts +3 -0
- package/calendar-mask/index.d.ts +5 -0
- package/calendar-mask/lib/calendar-mask/calendar-mask.directive.d.ts +69 -0
- package/calendar-mask/lib/calendar-mask/calendar-mask.module.d.ts +8 -0
- package/calendar-mask/public-api.d.ts +2 -0
- package/card/index.d.ts +5 -0
- package/card/lib/card/card.component.d.ts +26 -0
- package/card/lib/card/card.module.d.ts +9 -0
- package/card/public-api.d.ts +2 -0
- package/chat/index.d.ts +5 -0
- package/chat/lib/chat/chat.component.d.ts +11 -0
- package/chat/lib/chat/chat.module.d.ts +11 -0
- package/chat/lib/chat/components/chat-message/chat-message.component.d.ts +11 -0
- package/chat/lib/chat/types/chat-message.d.ts +8 -0
- package/chat/public-api.d.ts +3 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/lib/checkbox/checkbox.component.d.ts +19 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox-list/index.d.ts +5 -0
- package/checkbox-list/lib/checkbox-list/checkbox-list.component.d.ts +21 -0
- package/checkbox-list/lib/checkbox-list/checkbox-list.module.d.ts +9 -0
- package/checkbox-list/lib/checkbox-list/models/checkbox-list-data.d.ts +5 -0
- package/checkbox-list/lib/checkbox-list/models/checkbox-list-state.d.ts +7 -0
- package/checkbox-list/public-api.d.ts +4 -0
- package/chips/index.d.ts +5 -0
- package/chips/lib/chips/chip-item/chip-item.component.d.ts +25 -0
- package/chips/lib/chips/chips/chips.component.d.ts +66 -0
- package/chips/lib/chips/chips.module.d.ts +12 -0
- package/chips/lib/chips/models/chip-models.d.ts +7 -0
- package/chips/public-api.d.ts +3 -0
- package/code-editor/index.d.ts +5 -0
- package/code-editor/lib/code-editor/code-editor.component.d.ts +31 -0
- package/code-editor/lib/code-editor/code-editor.module.d.ts +9 -0
- package/code-editor/lib/code-editor/core/facades/core-facade.d.ts +34 -0
- package/code-editor/lib/code-editor/core/use-cases/core-linters.d.ts +6 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/codemirror-6-core.d.ts +27 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper.d.ts +15 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.d.ts +6 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/safe-http-communication.d.ts +12 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-safe-response.d.ts +8 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/models/types/diagnostic-severity.d.ts +1 -0
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/models/types/editor-theme.d.ts +3 -0
- package/code-editor/lib/code-editor/infra/utils/custom-http-client/custom-http-client.d.ts +34 -0
- package/code-editor/lib/code-editor/infra/utils/custom-translations/custom-translations-service.d.ts +25 -0
- package/code-editor/lib/code-editor/infra/utils/custom-translations/custom-translations.module.d.ts +16 -0
- package/code-editor/public-api.d.ts +4 -0
- package/collapse-link/index.d.ts +5 -0
- package/collapse-link/lib/collapse-link/collapse-link.component.d.ts +20 -0
- package/collapse-link/lib/collapse-link/collapse-link.module.d.ts +8 -0
- package/collapse-link/public-api.d.ts +2 -0
- package/common/index.d.ts +5 -0
- package/common/lib/angular-components.module.d.ts +13 -0
- package/common/lib/custom-http-client/custom-http-client.d.ts +34 -0
- package/common/lib/custom-http-client/json-response-formatters/format-blob-response.d.ts +6 -0
- package/common/lib/custom-http-client/json-response-formatters/format-json-response.d.ts +6 -0
- package/common/lib/debouce.d.ts +7 -0
- package/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.d.ts +5 -0
- package/common/lib/svg-factory/components/senior-icon/senior-icon.component.d.ts +5 -0
- package/common/lib/svg-factory/components/svg-factory-icons.d.ts +1 -0
- package/common/lib/svg-factory/index.d.ts +2 -0
- package/common/lib/svg-factory/svg-factory.directive.d.ts +15 -0
- package/common/lib/svg-factory/svg-factory.module.d.ts +10 -0
- package/common/public-api.d.ts +5 -0
- package/confirm-dialog/README.md +226 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/confirm-dialog/lib/confirm-dialog.model.d.ts +8 -0
- package/confirm-dialog/lib/confirm-dialog.service.d.ts +8 -0
- package/confirm-dialog/lib/popup-confirm-dialog/popup-confirm-dialog.component.d.ts +7 -0
- package/confirm-dialog/public-api.d.ts +2 -0
- package/control-errors/index.d.ts +5 -0
- package/control-errors/lib/control-errors/control-errors.component.d.ts +26 -0
- package/control-errors/lib/control-errors/control-errors.module.d.ts +9 -0
- package/control-errors/public-api.d.ts +2 -0
- package/country-phone-picker/index.d.ts +5 -0
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.d.ts +67 -0
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.d.ts +11 -0
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.service.d.ts +13 -0
- package/country-phone-picker/lib/country-phone-picker/resources/countries.d.ts +2 -0
- package/country-phone-picker/public-api.d.ts +6 -0
- package/currency/index.d.ts +5 -0
- package/currency/lib/currency.service.d.ts +12 -0
- package/currency/lib/models/currencies.d.ts +634 -0
- package/currency/lib/types/currency.d.ts +2 -0
- package/currency/public-api.d.ts +3 -0
- package/custom-fields/index.d.ts +5 -0
- package/custom-fields/lib/custom-fields/custom-fields.component.d.ts +86 -0
- package/custom-fields/lib/custom-fields/custom-fields.module.d.ts +13 -0
- package/custom-fields/lib/custom-fields/custom-fields.service.d.ts +20 -0
- package/custom-fields/public-api.d.ts +3 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/lib/src/dialog/dialog.component.d.ts +29 -0
- package/dialog/lib/src/dialog/models/active-dialog.d.ts +11 -0
- package/dialog/lib/src/dialog/models/dialog-models.d.ts +18 -0
- package/dialog/lib/src/dialog/services/dialog.service.d.ts +24 -0
- package/dialog/lib/src/dialog/services/internal-dialog.service.d.ts +10 -0
- package/dialog/public-api.d.ts +4 -0
- package/dynamic-form/index.d.ts +5 -0
- package/dynamic-form/lib/dynamic-form/components/field-label/field-label.component.d.ts +8 -0
- package/dynamic-form/lib/dynamic-form/components/grid/row/row.component.d.ts +15 -0
- package/dynamic-form/lib/dynamic-form/components/lookup/lookup.component.d.ts +164 -0
- package/dynamic-form/lib/dynamic-form/components/lookup/types/default-filter.d.ts +4 -0
- package/dynamic-form/lib/dynamic-form/components/lookup/types/label-options.d.ts +13 -0
- package/dynamic-form/lib/dynamic-form/components/structure/base-structure-component.d.ts +8 -0
- package/dynamic-form/lib/dynamic-form/components/structure/fieldset/fieldset.component.d.ts +12 -0
- package/dynamic-form/lib/dynamic-form/components/structure/section/section.component.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/configurations/grid/grid.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/configurations/grid/row.d.ts +8 -0
- package/dynamic-form/lib/dynamic-form/configurations/structure/fieldset.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/configurations/structure/section.d.ts +20 -0
- package/dynamic-form/lib/dynamic-form/configurations/structure/structure.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/dynamic-form.component.d.ts +19 -0
- package/dynamic-form/lib/dynamic-form/dynamic-form.d.ts +57 -0
- package/dynamic-form/lib/dynamic-form/dynamic-form.directive.d.ts +34 -0
- package/dynamic-form/lib/dynamic-form/dynamic-form.module.d.ts +83 -0
- package/dynamic-form/lib/dynamic-form/form-field/addon-config.d.ts +7 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/field-type.d.ts +32 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/autocomplete-field.d.ts +30 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/bignumber-field.d.ts +38 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/blob-field.d.ts +43 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-field.d.ts +29 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-switch-field.d.ts +11 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/button-field.d.ts +34 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/calendar-field.d.ts +45 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/checkbox-field.d.ts +9 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/chips-field.d.ts +24 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/country-phone-picker-field.d.ts +15 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/currency-field.d.ts +9 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/decimal-field.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/field.d.ts +96 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/lookup-field.d.ts +97 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/number-field.d.ts +47 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/password-field.d.ts +45 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/profile-picture.d.ts +35 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/radio-button-field.d.ts +23 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/select-field.d.ts +41 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/slider-field.d.ts +32 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/star-rating-field.d.ts +17 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-field.d.ts +24 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-ia-field.d.ts +26 -0
- package/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-field.d.ts +41 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.d.ts +17 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/base-field-component.d.ts +32 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/bignumber/bignumber-field.component.d.ts +27 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.d.ts +11 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/button-field/button-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/calendar/calendar-field.component.d.ts +35 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/checkbox/checkbox-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/chips/chips-field.component.d.ts +22 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/currency/currency-field.component.d.ts +660 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/editor/editor-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/file-upload/file-upload-field.component.d.ts +19 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/lookup/lookup-field.component.d.ts +9 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/number/number-field.component.d.ts +31 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/password/password-field.component.d.ts +22 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.d.ts +9 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/radio-button/radio-button-field.component.d.ts +17 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/select/select-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/slider/slider-field.component.d.ts +25 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/star-rating/star-rating-field.component.d.ts +10 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/text/text-field.component.d.ts +25 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/text-area/text-area-field.component.d.ts +14 -0
- package/dynamic-form/lib/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.d.ts +9 -0
- package/dynamic-form/lib/dynamic-form/form-field/form-field.d.ts +192 -0
- package/dynamic-form/lib/dynamic-form/services/dynamic-form-cache.d.ts +12 -0
- package/dynamic-form/public-api.d.ts +43 -0
- package/editable-overlay/index.d.ts +5 -0
- package/editable-overlay/lib/editable-overlay/editable-overlay.directive.d.ts +11 -0
- package/editable-overlay/lib/editable-overlay/editable-overlay.module.d.ts +8 -0
- package/editable-overlay/public-api.d.ts +2 -0
- package/empty-state/index.d.ts +5 -0
- package/empty-state/lib/empty-state/empty-state.component.d.ts +21 -0
- package/empty-state/lib/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/lib/empty-state/go-back/go-back.component.d.ts +13 -0
- package/empty-state/public-api.d.ts +3 -0
- package/esm2022/accordion/lib/accordion/accordion.component.mjs +90 -0
- package/esm2022/accordion/lib/accordion/accordion.module.mjs +36 -0
- package/esm2022/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.mjs +124 -0
- package/esm2022/accordion/lib/accordion/models/accordion-button-settings.mjs +2 -0
- package/esm2022/accordion/public-api.mjs +4 -0
- package/esm2022/accordion/seniorsistemas-angular-components-accordion.mjs +5 -0
- package/esm2022/alert/lib/alert/alert.component.mjs +44 -0
- package/esm2022/alert/lib/alert/alert.module.mjs +18 -0
- package/esm2022/alert/public-api.mjs +3 -0
- package/esm2022/alert/seniorsistemas-angular-components-alert.mjs +5 -0
- package/esm2022/autocomplete/lib/autocomplete/autocomplete.component.mjs +558 -0
- package/esm2022/autocomplete/lib/autocomplete/components/autocomplete-chip/autocomplete-chip.component.mjs +17 -0
- package/esm2022/autocomplete/public-api.mjs +2 -0
- package/esm2022/autocomplete/seniorsistemas-angular-components-autocomplete.mjs +5 -0
- package/esm2022/badge/lib/badge/badge.component.mjs +46 -0
- package/esm2022/badge/lib/badge/badge.module.mjs +20 -0
- package/esm2022/badge/lib/badge/types/badge-colors.mjs +4 -0
- package/esm2022/badge/lib/badge/types/badge-types.mjs +2 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/badge/seniorsistemas-angular-components-badge.mjs +5 -0
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +156 -0
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.module.mjs +21 -0
- package/esm2022/bignumber-input/public-api.mjs +3 -0
- package/esm2022/bignumber-input/seniorsistemas-angular-components-bignumber-input.mjs +5 -0
- package/esm2022/breadcrumb/lib/breadcrumb/breadcrumb.component.mjs +105 -0
- package/esm2022/breadcrumb/lib/breadcrumb/breadcrumb.module.mjs +20 -0
- package/esm2022/breadcrumb/public-api.mjs +3 -0
- package/esm2022/breadcrumb/seniorsistemas-angular-components-breadcrumb.mjs +5 -0
- package/esm2022/button/lib/button/button.component.mjs +100 -0
- package/esm2022/button/lib/button/button.module.mjs +18 -0
- package/esm2022/button/lib/button/models/button-animations.mjs +2 -0
- package/esm2022/button/lib/button/models/button-badge-config.mjs +2 -0
- package/esm2022/button/lib/button/models/button-priority.mjs +2 -0
- package/esm2022/button/lib/button/models/button-size.mjs +2 -0
- package/esm2022/button/lib/button/models/index.mjs +2 -0
- package/esm2022/button/public-api.mjs +4 -0
- package/esm2022/button/seniorsistemas-angular-components-button.mjs +5 -0
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.directive.mjs +611 -0
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.module.mjs +18 -0
- package/esm2022/calendar-mask/public-api.mjs +3 -0
- package/esm2022/calendar-mask/seniorsistemas-angular-components-calendar-mask.mjs +5 -0
- package/esm2022/card/lib/card/card.component.mjs +85 -0
- package/esm2022/card/lib/card/card.module.mjs +19 -0
- package/esm2022/card/public-api.mjs +3 -0
- package/esm2022/card/seniorsistemas-angular-components-card.mjs +5 -0
- package/esm2022/chat/lib/chat/chat.component.mjs +29 -0
- package/esm2022/chat/lib/chat/chat.module.mjs +22 -0
- package/esm2022/chat/lib/chat/components/chat-message/chat-message.component.mjs +29 -0
- package/esm2022/chat/lib/chat/types/chat-message.mjs +2 -0
- package/esm2022/chat/public-api.mjs +3 -0
- package/esm2022/chat/seniorsistemas-angular-components-chat.mjs +5 -0
- package/esm2022/checkbox/lib/checkbox/checkbox.component.mjs +67 -0
- package/esm2022/checkbox/public-api.mjs +2 -0
- package/esm2022/checkbox/seniorsistemas-angular-components-checkbox.mjs +5 -0
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.component.mjs +129 -0
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.module.mjs +19 -0
- package/esm2022/checkbox-list/lib/checkbox-list/models/checkbox-list-data.mjs +2 -0
- package/esm2022/checkbox-list/lib/checkbox-list/models/checkbox-list-state.mjs +2 -0
- package/esm2022/checkbox-list/public-api.mjs +3 -0
- package/esm2022/checkbox-list/seniorsistemas-angular-components-checkbox-list.mjs +5 -0
- package/esm2022/chips/lib/chips/chip-item/chip-item.component.mjs +67 -0
- package/esm2022/chips/lib/chips/chips/chips.component.mjs +241 -0
- package/esm2022/chips/lib/chips/chips.module.mjs +22 -0
- package/esm2022/chips/lib/chips/models/chip-models.mjs +2 -0
- package/esm2022/chips/public-api.mjs +3 -0
- package/esm2022/chips/seniorsistemas-angular-components-chips.mjs +5 -0
- package/esm2022/code-editor/lib/code-editor/code-editor.component.mjs +116 -0
- package/esm2022/code-editor/lib/code-editor/code-editor.module.mjs +32 -0
- package/esm2022/code-editor/lib/code-editor/core/facades/core-facade.mjs +91 -0
- package/esm2022/code-editor/lib/code-editor/core/facades/linter-facade.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/core/models/enums/marker-severity.mjs +7 -0
- package/esm2022/code-editor/lib/code-editor/core/models/index.mjs +5 -0
- package/esm2022/code-editor/lib/code-editor/core/models/interfaces/marker.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/core/use-cases/core-linters.mjs +11 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/codemirror-6-core.mjs +113 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/editor-languages.mjs +17 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/json/json.language.mjs +67 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-empty-state.mjs +29 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-loading-state.mjs +29 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper-style.mjs +17 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper.mjs +77 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/index.mjs +4 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-style.mjs +35 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.mjs +334 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.service.mjs +25 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/base-configs.mjs +18 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/grammar.mjs +37 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/completion-types.mjs +10 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/enum-type-order.mjs +8 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/keywords.mjs +12 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/meta-type.mjs +36 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/request-types.mjs +9 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/index.mjs +22 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/completion-Item.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/facade-metadata-name.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/fields-order-by.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/get-facade-metadata-by-path.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-context-metadata-by-id.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-expression-metadata.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-facade-metadata-names.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-expression-metadata.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-context-metadata.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-facade-metadata.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-field-metadata.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-page-request.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/safe-http-communication.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/tax-calculation-configs.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation-language-configs.mjs +11 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation.language.mjs +9 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-language-configs.mjs +14 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-safe-response.mjs +18 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/models/index.mjs +4 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/models/types/diagnostic-severity.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/models/types/editor-theme.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/editor-themes.mjs +15 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/autocomplete-tooltip.mjs +61 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/font-style.mjs +39 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/line-counter.mjs +25 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/scrollbars.mjs +18 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-highlight-style.mjs +16 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-style.mjs +13 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-theme.mjs +22 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/utils/convert-markers-to-diagnostics.mjs +15 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/utils/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/utils/is-current-position-inside-string.mjs +5 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-http-client/custom-http-client.mjs +82 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-http-client/json-response-formatters/format-blob-response.mjs +10 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-http-client/json-response-formatters/format-json-response.mjs +9 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-http-client/json-response-formatters/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-translations/custom-translations-service.mjs +37 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-translations/custom-translations.module.mjs +32 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-translations/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-translations/models/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/custom-translations/models/interfaces/translations.mjs +2 -0
- package/esm2022/code-editor/lib/code-editor/infra/utils/index.mjs +3 -0
- package/esm2022/code-editor/lib/code-editor/models/enums/languages.mjs +6 -0
- package/esm2022/code-editor/lib/code-editor/models/enums/themes.mjs +5 -0
- package/esm2022/code-editor/lib/code-editor/models/index.mjs +6 -0
- package/esm2022/code-editor/lib/code-editor/models/interfaces/editor-options.mjs +2 -0
- package/esm2022/code-editor/public-api.mjs +6 -0
- package/esm2022/code-editor/seniorsistemas-angular-components-code-editor.mjs +5 -0
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.component.mjs +81 -0
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.module.mjs +18 -0
- package/esm2022/collapse-link/public-api.mjs +3 -0
- package/esm2022/collapse-link/seniorsistemas-angular-components-collapse-link.mjs +5 -0
- package/esm2022/common/lib/angular-components.module.mjs +24 -0
- package/esm2022/common/lib/custom-http-client/custom-http-client.mjs +86 -0
- package/esm2022/common/lib/custom-http-client/json-response-formatters/format-blob-response.mjs +10 -0
- package/esm2022/common/lib/custom-http-client/json-response-formatters/format-json-response.mjs +9 -0
- package/esm2022/common/lib/debouce.mjs +35 -0
- package/esm2022/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.mjs +11 -0
- package/esm2022/common/lib/svg-factory/components/senior-icon/senior-icon.component.mjs +11 -0
- package/esm2022/common/lib/svg-factory/components/svg-factory-icons.mjs +2 -0
- package/esm2022/common/lib/svg-factory/index.mjs +3 -0
- package/esm2022/common/lib/svg-factory/svg-factory.directive.mjs +44 -0
- package/esm2022/common/lib/svg-factory/svg-factory.module.mjs +26 -0
- package/esm2022/common/public-api.mjs +5 -0
- package/esm2022/common/seniorsistemas-angular-components-common.mjs +5 -0
- package/esm2022/confirm-dialog/lib/confirm-dialog.model.mjs +2 -0
- package/esm2022/confirm-dialog/lib/confirm-dialog.service.mjs +34 -0
- package/esm2022/confirm-dialog/lib/popup-confirm-dialog/popup-confirm-dialog.component.mjs +17 -0
- package/esm2022/confirm-dialog/public-api.mjs +2 -0
- package/esm2022/confirm-dialog/seniorsistemas-angular-components-confirm-dialog.mjs +5 -0
- package/esm2022/control-errors/lib/control-errors/control-errors.component.mjs +52 -0
- package/esm2022/control-errors/lib/control-errors/control-errors.module.mjs +19 -0
- package/esm2022/control-errors/public-api.mjs +3 -0
- package/esm2022/control-errors/seniorsistemas-angular-components-control-errors.mjs +5 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.mjs +319 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.mjs +41 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.service.mjs +42 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/models/country-phone-data.mjs +2 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/models/ordination.mjs +7 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/models/phone-selection-data.mjs +2 -0
- package/esm2022/country-phone-picker/lib/country-phone-picker/resources/countries.mjs +228 -0
- package/esm2022/country-phone-picker/public-api.mjs +5 -0
- package/esm2022/country-phone-picker/seniorsistemas-angular-components-country-phone-picker.mjs +5 -0
- package/esm2022/currency/lib/currency.service.mjs +25 -0
- package/esm2022/currency/lib/models/currencies.mjs +161 -0
- package/esm2022/currency/lib/types/currency.mjs +2 -0
- package/esm2022/currency/public-api.mjs +3 -0
- package/esm2022/currency/seniorsistemas-angular-components-currency.mjs +5 -0
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.component.mjs +685 -0
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.module.mjs +45 -0
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.service.mjs +35 -0
- package/esm2022/custom-fields/lib/custom-fields/models/custom-field-type.mjs +17 -0
- package/esm2022/custom-fields/public-api.mjs +4 -0
- package/esm2022/custom-fields/seniorsistemas-angular-components-custom-fields.mjs +5 -0
- package/esm2022/dialog/lib/src/dialog/dialog.component.mjs +82 -0
- package/esm2022/dialog/lib/src/dialog/models/active-dialog.mjs +18 -0
- package/esm2022/dialog/lib/src/dialog/models/dialog-models.mjs +2 -0
- package/esm2022/dialog/lib/src/dialog/services/dialog.service.mjs +96 -0
- package/esm2022/dialog/lib/src/dialog/services/internal-dialog.service.mjs +29 -0
- package/esm2022/dialog/public-api.mjs +4 -0
- package/esm2022/dialog/seniorsistemas-angular-components-dialog.mjs +5 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/field-label/field-label.component.mjs +20 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/grid/row/row.component.mjs +41 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/lookup.component.mjs +640 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/types/default-filter.mjs +2 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/lookup/types/label-options.mjs +2 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/base-structure-component.mjs +2 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/fieldset/fieldset.component.mjs +27 -0
- package/esm2022/dynamic-form/lib/dynamic-form/components/structure/section/section.component.mjs +33 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/dynamic-config.mjs +71 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/dynamic-type.mjs +26 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid/grid.mjs +14 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid/row.mjs +10 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/grid-type.mjs +5 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/fieldset.mjs +10 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/section.mjs +31 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure/structure.mjs +9 -0
- package/esm2022/dynamic-form/lib/dynamic-form/configurations/structure-type.mjs +6 -0
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.component.mjs +41 -0
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.directive.mjs +107 -0
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.mjs +189 -0
- package/esm2022/dynamic-form/lib/dynamic-form/dynamic-form.module.mjs +293 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/addon-config.mjs +2 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/field-size.mjs +13 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/field-type.mjs +34 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/autocomplete-field.mjs +24 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/bignumber-field.mjs +37 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/blob-field.mjs +31 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-field.mjs +30 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/boolean-switch-field.mjs +15 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/button-field.mjs +47 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/calendar-field.mjs +56 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/checkbox-field.mjs +9 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/chips-field.mjs +25 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/country-phone-picker-field.mjs +15 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/currency-field.mjs +14 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/decimal-field.mjs +16 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/editor-field.mjs +15 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/field.mjs +64 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/lookup-field.mjs +66 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/number-field.mjs +38 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/password-field.mjs +33 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/profile-picture.mjs +35 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/radio-button-field.mjs +27 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/select-field.mjs +43 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/slider-field.mjs +30 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/star-rating-field.mjs +17 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-field.mjs +30 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-area-ia-field.mjs +32 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/configurations/fields/text-field.mjs +38 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.mjs +37 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/base-field-component.mjs +22 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +124 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +27 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +23 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/button-field/button-field.component.mjs +31 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/calendar/calendar-field.component.mjs +118 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/checkbox/checkbox-field.component.mjs +21 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/chips/chips-field.component.mjs +59 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.mjs +29 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/currency/currency-field.component.mjs +100 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/editor/editor-field.component.mjs +23 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/file-upload/file-upload-field.component.mjs +56 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/lookup/lookup-field.component.mjs +23 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/number/number-field.component.mjs +121 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/password/password-field.component.mjs +75 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.mjs +22 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +52 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/select/select-field.component.mjs +24 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/slider/slider-field.component.mjs +103 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/star-rating/star-rating-field.component.mjs +25 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text/text-field.component.mjs +88 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text-area/text-area-field.component.mjs +29 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.mjs +22 -0
- package/esm2022/dynamic-form/lib/dynamic-form/form-field/form-field.mjs +243 -0
- package/esm2022/dynamic-form/lib/dynamic-form/services/dynamic-form-cache.mjs +150 -0
- package/esm2022/dynamic-form/public-api.mjs +44 -0
- package/esm2022/dynamic-form/seniorsistemas-angular-components-dynamic-form.mjs +5 -0
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.directive.mjs +44 -0
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.module.mjs +18 -0
- package/esm2022/editable-overlay/public-api.mjs +3 -0
- package/esm2022/editable-overlay/seniorsistemas-angular-components-editable-overlay.mjs +5 -0
- package/esm2022/empty-state/lib/empty-state/empty-state.component.mjs +51 -0
- package/esm2022/empty-state/lib/empty-state/empty-state.module.mjs +22 -0
- package/esm2022/empty-state/lib/empty-state/go-back/go-back.component.mjs +34 -0
- package/esm2022/empty-state/public-api.mjs +4 -0
- package/esm2022/empty-state/seniorsistemas-angular-components-empty-state.mjs +5 -0
- package/esm2022/fieldset/lib/fieldset/fieldset.component.mjs +78 -0
- package/esm2022/fieldset/lib/fieldset/fieldset.models.mjs +2 -0
- package/esm2022/fieldset/lib/fieldset/fieldset.module.mjs +19 -0
- package/esm2022/fieldset/public-api.mjs +3 -0
- package/esm2022/fieldset/seniorsistemas-angular-components-fieldset.mjs +5 -0
- package/esm2022/file-upload/lib/file-upload/file-upload.component.mjs +293 -0
- package/esm2022/file-upload/lib/file-upload/file-upload.module.mjs +42 -0
- package/esm2022/file-upload/lib/file-upload/file-upload.service.mjs +18 -0
- package/esm2022/file-upload/lib/file-upload/models/file-dto.mjs +2 -0
- package/esm2022/file-upload/lib/file-upload/models/file-upload-permissions.mjs +2 -0
- package/esm2022/file-upload/lib/file-upload/models/list-blob-metadata.mjs +2 -0
- package/esm2022/file-upload/lib/file-upload/models/uploadError.mjs +2 -0
- package/esm2022/file-upload/lib/file-upload/models/validate-errors.mjs +2 -0
- package/esm2022/file-upload/public-api.mjs +3 -0
- package/esm2022/file-upload/seniorsistemas-angular-components-file-upload.mjs +5 -0
- package/esm2022/gantt/lib/gantt/components/gantt/arrow.mjs +87 -0
- package/esm2022/gantt/lib/gantt/components/gantt/bar.mjs +294 -0
- package/esm2022/gantt/lib/gantt/components/gantt/gantt-options.mjs +20 -0
- package/esm2022/gantt/lib/gantt/components/gantt/gantt.mjs +812 -0
- package/esm2022/gantt/lib/gantt/components/gantt/popup.mjs +110 -0
- package/esm2022/gantt/lib/gantt/components/gantt/utils/date-utils.mjs +116 -0
- package/esm2022/gantt/lib/gantt/components/gantt/utils/svg-utils.mjs +111 -0
- package/esm2022/gantt/lib/gantt/components/side-table/side-table.component.mjs +32 -0
- package/esm2022/gantt/lib/gantt/gantt.component.mjs +146 -0
- package/esm2022/gantt/lib/gantt/gantt.module.mjs +24 -0
- package/esm2022/gantt/lib/gantt/models/index.mjs +2 -0
- package/esm2022/gantt/lib/gantt/models/options.mjs +2 -0
- package/esm2022/gantt/lib/gantt/models/task.mjs +2 -0
- package/esm2022/gantt/lib/gantt/models/view-mode.mjs +12 -0
- package/esm2022/gantt/public-api.mjs +4 -0
- package/esm2022/gantt/seniorsistemas-angular-components-gantt.mjs +5 -0
- package/esm2022/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.mjs +73 -0
- package/esm2022/global-search/lib/global-search/global-search.component.mjs +140 -0
- package/esm2022/global-search/lib/global-search/global-search.module.mjs +78 -0
- package/esm2022/global-search/lib/global-search/types/global-search-size.enum.mjs +2 -0
- package/esm2022/global-search/public-api.mjs +5 -0
- package/esm2022/global-search/seniorsistemas-angular-components-global-search.mjs +5 -0
- package/esm2022/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.mjs +60 -0
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.component.mjs +56 -0
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.module.mjs +20 -0
- package/esm2022/grid-menu/lib/grid-menu/types/grid-menu-item.mjs +2 -0
- package/esm2022/grid-menu/public-api.mjs +4 -0
- package/esm2022/grid-menu/seniorsistemas-angular-components-grid-menu.mjs +5 -0
- package/esm2022/help-popover/lib/help-popover/help-popover/help-popover.component.mjs +84 -0
- package/esm2022/help-popover/lib/help-popover/help-popover.directive.mjs +314 -0
- package/esm2022/help-popover/lib/help-popover/help-popover.module.mjs +25 -0
- package/esm2022/help-popover/lib/help-popover/models/help-popover.models.mjs +2 -0
- package/esm2022/help-popover/public-api.mjs +4 -0
- package/esm2022/help-popover/seniorsistemas-angular-components-help-popover.mjs +5 -0
- package/esm2022/ia-insight/lib/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.mjs +13 -0
- package/esm2022/ia-insight/lib/ia-insight/components/ia-insight-card/ia-insight-card.component.mjs +94 -0
- package/esm2022/ia-insight/lib/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.mjs +59 -0
- package/esm2022/ia-insight/lib/ia-insight/ia-insight.component.mjs +68 -0
- package/esm2022/ia-insight/lib/ia-insight/ia-insight.module.mjs +47 -0
- package/esm2022/ia-insight/lib/ia-insight/models/ia-insight-item.mjs +2 -0
- package/esm2022/ia-insight/lib/ia-insight/models/ia-insight-template-types.mjs +2 -0
- package/esm2022/ia-insight/lib/ia-insight/models/index.mjs +2 -0
- package/esm2022/ia-insight/public-api.mjs +4 -0
- package/esm2022/ia-insight/seniorsistemas-angular-components-ia-insight.mjs +5 -0
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.component.mjs +179 -0
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.module.mjs +23 -0
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.service.mjs +73 -0
- package/esm2022/image-cropper/public-api.mjs +4 -0
- package/esm2022/image-cropper/seniorsistemas-angular-components-image-cropper.mjs +5 -0
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.mjs +28 -0
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.mjs +18 -0
- package/esm2022/infinite-scroll/public-api.mjs +3 -0
- package/esm2022/infinite-scroll/seniorsistemas-angular-components-infinite-scroll.mjs +5 -0
- package/esm2022/info-sign/lib/info-sign/components/info-sign/info-sign.component.mjs +17 -0
- package/esm2022/info-sign/lib/info-sign/info-sign.directive.mjs +68 -0
- package/esm2022/info-sign/lib/info-sign/info-sign.module.mjs +20 -0
- package/esm2022/info-sign/public-api.mjs +3 -0
- package/esm2022/info-sign/seniorsistemas-angular-components-info-sign.mjs +5 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.mjs +53 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.mjs +32 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +85 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.mjs +32 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.mjs +33 -0
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.mjs +32 -0
- package/esm2022/inline-edit/lib/inline-edit/components/index.mjs +8 -0
- package/esm2022/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.mjs +105 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/index.mjs +8 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-calendar-field.mjs +45 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-field.mjs +13 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-lookup-field.mjs +60 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-number-field.mjs +38 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-text-area-field.mjs +15 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-text-area-ia-field.mjs +7 -0
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-text-field.mjs +7 -0
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.component.mjs +66 -0
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.module.mjs +102 -0
- package/esm2022/inline-edit/lib/inline-edit/types/addon-config.mjs +2 -0
- package/esm2022/inline-edit/public-api.mjs +4 -0
- package/esm2022/inline-edit/seniorsistemas-angular-components-inline-edit.mjs +5 -0
- package/esm2022/interactive-content/lib/interactive-content/interactive-content.directive.mjs +63 -0
- package/esm2022/interactive-content/public-api.mjs +2 -0
- package/esm2022/interactive-content/seniorsistemas-angular-components-interactive-content.mjs +5 -0
- package/esm2022/kanban/lib/kanban/components/kanban-column/kanban-column.component.mjs +100 -0
- package/esm2022/kanban/lib/kanban/components/kanban-item/kanban-item.component.mjs +62 -0
- package/esm2022/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.mjs +17 -0
- package/esm2022/kanban/lib/kanban/kanban-event.service.mjs +26 -0
- package/esm2022/kanban/lib/kanban/kanban.component.mjs +219 -0
- package/esm2022/kanban/lib/kanban/kanban.module.mjs +56 -0
- package/esm2022/kanban/lib/kanban/types/index.mjs +2 -0
- package/esm2022/kanban/lib/kanban/types/kanban-data.mjs +2 -0
- package/esm2022/kanban/lib/kanban/types/kanban-template-types.mjs +2 -0
- package/esm2022/kanban/public-api.mjs +3 -0
- package/esm2022/kanban/seniorsistemas-angular-components-kanban.mjs +5 -0
- package/esm2022/label-value/lib/label-value/label-value.component.mjs +35 -0
- package/esm2022/label-value/lib/label-value/label-value.module.mjs +22 -0
- package/esm2022/label-value/lib/label-value/types/label-value-configuration.mjs +2 -0
- package/esm2022/label-value/public-api.mjs +3 -0
- package/esm2022/label-value/seniorsistemas-angular-components-label-value.mjs +5 -0
- package/esm2022/lib/locale/fallback.mjs +334 -0
- package/esm2022/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.mjs +11 -0
- package/esm2022/loading-state/lib/loading-state/components/loading-state-indicators.mjs +6 -0
- package/esm2022/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.mjs +12 -0
- package/esm2022/loading-state/lib/loading-state/loading-state.component.mjs +74 -0
- package/esm2022/loading-state/lib/loading-state/loading-state.directive.mjs +62 -0
- package/esm2022/loading-state/lib/loading-state/loading-state.module.mjs +30 -0
- package/esm2022/loading-state/public-api.mjs +5 -0
- package/esm2022/loading-state/seniorsistemas-angular-components-loading-state.mjs +5 -0
- package/esm2022/locale/lib/locale/locale.module.mjs +85 -0
- package/esm2022/locale/lib/locale/locale.service.mjs +87 -0
- package/esm2022/locale/lib/locale/options/calendar.mjs +24 -0
- package/esm2022/locale/lib/locale/options/index.mjs +27 -0
- package/esm2022/locale/lib/locale/options/number.mjs +9 -0
- package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +18 -0
- package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +38 -0
- package/esm2022/locale/lib/locale/pipes/localized-currency-impure.pipe.mjs +21 -0
- package/esm2022/locale/lib/locale/pipes/localized-currency.pipe.mjs +53 -0
- package/esm2022/locale/lib/locale/pipes/localized-date-impure.pipe.mjs +15 -0
- package/esm2022/locale/lib/locale/pipes/localized-date.pipe.mjs +23 -0
- package/esm2022/locale/lib/locale/pipes/localized-number.pipe.mjs +31 -0
- package/esm2022/locale/lib/locale/pipes/localized-time-impure.pipe.mjs +15 -0
- package/esm2022/locale/lib/locale/pipes/localized-time.pipe.mjs +23 -0
- package/esm2022/locale/public-api.mjs +13 -0
- package/esm2022/locale/seniorsistemas-angular-components-locale.mjs +5 -0
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.directive.mjs +63 -0
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.module.mjs +18 -0
- package/esm2022/localized-number-input/public-api.mjs +3 -0
- package/esm2022/localized-number-input/seniorsistemas-angular-components-localized-number-input.mjs +5 -0
- package/esm2022/mask/lib/mask/mask-formatter.module.mjs +16 -0
- package/esm2022/mask/lib/mask/mask-formatter.pipe.mjs +65 -0
- package/esm2022/mask/public-api.mjs +3 -0
- package/esm2022/mask/seniorsistemas-angular-components-mask.mjs +5 -0
- package/esm2022/mouse-events/lib/mouse-events/double-click.directive.mjs +37 -0
- package/esm2022/mouse-events/lib/mouse-events/long-press.directive.mjs +51 -0
- package/esm2022/mouse-events/lib/mouse-events/mouse-events.module.mjs +27 -0
- package/esm2022/mouse-events/public-api.mjs +4 -0
- package/esm2022/mouse-events/seniorsistemas-angular-components-mouse-events.mjs +5 -0
- package/esm2022/navigation-button/lib/navigation-button/models/index.mjs +2 -0
- package/esm2022/navigation-button/lib/navigation-button/models/navigation-button-item.mjs +2 -0
- package/esm2022/navigation-button/lib/navigation-button/models/navigation-button-step-changed-info.mjs +2 -0
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.component.mjs +134 -0
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.module.mjs +20 -0
- package/esm2022/navigation-button/public-api.mjs +4 -0
- package/esm2022/navigation-button/seniorsistemas-angular-components-navigation-button.mjs +5 -0
- package/esm2022/number-input/lib/number-input/number-input.directive.mjs +164 -0
- package/esm2022/number-input/lib/number-input/number-input.module.mjs +21 -0
- package/esm2022/number-input/public-api.mjs +3 -0
- package/esm2022/number-input/seniorsistemas-angular-components-number-input.mjs +5 -0
- package/esm2022/numeric/lib/numeric.module.mjs +18 -0
- package/esm2022/numeric/lib/numeric.pipe.mjs +29 -0
- package/esm2022/numeric/lib/numeric.service.mjs +92 -0
- package/esm2022/numeric/public-api.mjs +4 -0
- package/esm2022/numeric/seniorsistemas-angular-components-numeric.mjs +5 -0
- package/esm2022/object-card/lib/object-card/elements/field/object-card-field.component.mjs +51 -0
- package/esm2022/object-card/lib/object-card/elements/main/object-card-main.component.mjs +87 -0
- package/esm2022/object-card/lib/object-card/object-card.component.mjs +146 -0
- package/esm2022/object-card/lib/object-card/object-card.module.mjs +24 -0
- package/esm2022/object-card/public-api.mjs +5 -0
- package/esm2022/object-card/seniorsistemas-angular-components-object-card.mjs +5 -0
- package/esm2022/paginator/lib/models/paginator.models.mjs +2 -0
- package/esm2022/paginator/lib/paginator/paginator.component.mjs +138 -0
- package/esm2022/paginator/public-api.mjs +2 -0
- package/esm2022/paginator/seniorsistemas-angular-components-paginator.mjs +5 -0
- package/esm2022/panel/lib/panel/panel.component.mjs +91 -0
- package/esm2022/panel/lib/panel/panel.module.mjs +20 -0
- package/esm2022/panel/public-api.mjs +3 -0
- package/esm2022/panel/seniorsistemas-angular-components-panel.mjs +5 -0
- package/esm2022/password-strength/lib/password-strength/password-strength.component.mjs +92 -0
- package/esm2022/password-strength/lib/password-strength/password-strength.directive.mjs +210 -0
- package/esm2022/password-strength/lib/password-strength/password-strength.module.mjs +19 -0
- package/esm2022/password-strength/lib/password-strength/types/password-positions.mjs +2 -0
- package/esm2022/password-strength/lib/password-strength/types/password-strengths.mjs +2 -0
- package/esm2022/password-strength/public-api.mjs +4 -0
- package/esm2022/password-strength/seniorsistemas-angular-components-password-strength.mjs +5 -0
- package/esm2022/picklist/lib/picklist/picklist.component.mjs +299 -0
- package/esm2022/picklist/lib/picklist/picklist.module.mjs +36 -0
- package/esm2022/picklist/lib/picklist/types/index.mjs +2 -0
- package/esm2022/picklist/lib/picklist/types/picklist-item.mjs +2 -0
- package/esm2022/picklist/lib/picklist/types/picklist-template-types.mjs +2 -0
- package/esm2022/picklist/public-api.mjs +5 -0
- package/esm2022/picklist/seniorsistemas-angular-components-picklist.mjs +5 -0
- package/esm2022/product-header/lib/product-header/product-header.component.mjs +44 -0
- package/esm2022/product-header/lib/product-header/product-header.module.mjs +20 -0
- package/esm2022/product-header/public-api.mjs +3 -0
- package/esm2022/product-header/seniorsistemas-angular-components-product-header.mjs +5 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/models/confirmation-texts.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/models/cropper-labels-config.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/models/file-validation-errors.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/models/index.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/models/profile-picture-picker-data.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.mjs +277 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.mjs +25 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/validators/index.mjs +2 -0
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/validators/validators.mjs +28 -0
- package/esm2022/profile-picture-picker/public-api.mjs +4 -0
- package/esm2022/profile-picture-picker/seniorsistemas-angular-components-profile-picture-picker.mjs +5 -0
- package/esm2022/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.mjs +60 -0
- package/esm2022/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.mjs +19 -0
- package/esm2022/progressbar/lib/progressbar/progressbar.component.mjs +57 -0
- package/esm2022/progressbar/lib/progressbar/progressbar.module.mjs +21 -0
- package/esm2022/progressbar/lib/progressbar/types/index.mjs +2 -0
- package/esm2022/progressbar/lib/progressbar/types/progressbar-colors.mjs +2 -0
- package/esm2022/progressbar/lib/progressbar/types/progressbar-mode.mjs +2 -0
- package/esm2022/progressbar/public-api.mjs +4 -0
- package/esm2022/progressbar/seniorsistemas-angular-components-progressbar.mjs +5 -0
- package/esm2022/public-api.mjs +2 -0
- package/esm2022/radio-button/lib/radio-button/radio-button.component.mjs +82 -0
- package/esm2022/radio-button/lib/radio-button-group/models/radio-button-group.models.mjs +2 -0
- package/esm2022/radio-button/lib/radio-button-group/radio-button-group.component.mjs +62 -0
- package/esm2022/radio-button/lib/services/radio-button-registry.service.mjs +38 -0
- package/esm2022/radio-button/public-api.mjs +3 -0
- package/esm2022/radio-button/seniorsistemas-angular-components-radio-button.mjs +5 -0
- package/esm2022/rating-scale/lib/rating-scale/models/index.mjs +2 -0
- package/esm2022/rating-scale/lib/rating-scale/models/rating-scale-node.mjs +2 -0
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.component.mjs +54 -0
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.module.mjs +24 -0
- package/esm2022/rating-scale/public-api.mjs +3 -0
- package/esm2022/rating-scale/seniorsistemas-angular-components-rating-scale.mjs +5 -0
- package/esm2022/select/lib/select/components/select-option/select-option.component.mjs +27 -0
- package/esm2022/select/lib/select/select.component.mjs +610 -0
- package/esm2022/select/public-api.mjs +2 -0
- package/esm2022/select/seniorsistemas-angular-components-select.mjs +5 -0
- package/esm2022/select-button/lib/select-button/components/select-button-item/select-button-item.component.mjs +28 -0
- package/esm2022/select-button/lib/select-button/models/select-button-item.mjs +2 -0
- package/esm2022/select-button/lib/select-button/select-button.component.mjs +122 -0
- package/esm2022/select-button/lib/select-button/select-button.module.mjs +23 -0
- package/esm2022/select-button/public-api.mjs +3 -0
- package/esm2022/select-button/seniorsistemas-angular-components-select-button.mjs +5 -0
- package/esm2022/seniorsistemas-angular-components.mjs +5 -0
- package/esm2022/shared/lib/shared/border-button/border-button.component.mjs +19 -0
- package/esm2022/shared/lib/shared/border-button/border-button.module.mjs +19 -0
- package/esm2022/shared/lib/shared/helpers.mjs +31 -0
- package/esm2022/shared/lib/shared/models/border-button-options.mjs +2 -0
- package/esm2022/shared/lib/shared/models/severities.mjs +9 -0
- package/esm2022/shared/public-api.mjs +5 -0
- package/esm2022/shared/seniorsistemas-angular-components-shared.mjs +5 -0
- package/esm2022/sidebar/lib/sidebar/sidebar.component.mjs +114 -0
- package/esm2022/sidebar/lib/sidebar/sidebar.module.mjs +20 -0
- package/esm2022/sidebar/public-api.mjs +3 -0
- package/esm2022/sidebar/seniorsistemas-angular-components-sidebar.mjs +5 -0
- package/esm2022/slide-panel/lib/slide-panel/slide-panel.component.mjs +137 -0
- package/esm2022/slide-panel/lib/slide-panel/slide-panel.module.mjs +20 -0
- package/esm2022/slide-panel/lib/slide-panel/slide-panel.service.mjs +26 -0
- package/esm2022/slide-panel/public-api.mjs +4 -0
- package/esm2022/slide-panel/seniorsistemas-angular-components-slide-panel.mjs +5 -0
- package/esm2022/slider/lib/slider/slider.component.mjs +601 -0
- package/esm2022/slider/lib/slider/slider.module.mjs +19 -0
- package/esm2022/slider/public-api.mjs +3 -0
- package/esm2022/slider/seniorsistemas-angular-components-slider.mjs +5 -0
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.mjs +217 -0
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition.module.mjs +24 -0
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition.service.mjs +146 -0
- package/esm2022/speech-recognition/lib/speech-recognition/text-to-speech.service.mjs +81 -0
- package/esm2022/speech-recognition/public-api.mjs +5 -0
- package/esm2022/speech-recognition/seniorsistemas-angular-components-speech-recognition.mjs +5 -0
- package/esm2022/split-button/lib/split-button/models/index.mjs +2 -0
- package/esm2022/split-button/lib/split-button/models/split-button-option.mjs +2 -0
- package/esm2022/split-button/lib/split-button/models/split-button-type.mjs +2 -0
- package/esm2022/split-button/lib/split-button/split-button.component.mjs +64 -0
- package/esm2022/split-button/lib/split-button/split-button.module.mjs +18 -0
- package/esm2022/split-button/public-api.mjs +4 -0
- package/esm2022/split-button/seniorsistemas-angular-components-split-button.mjs +5 -0
- package/esm2022/star-rating/public-api.mjs +2 -0
- package/esm2022/star-rating/seniorsistemas-angular-components-star-rating.mjs +5 -0
- package/esm2022/star-rating/star-rating/star-rating-models.mjs +2 -0
- package/esm2022/star-rating/star-rating/star-rating.component.mjs +63 -0
- package/esm2022/stats-card/lib/stats-card/stats-card.component.mjs +119 -0
- package/esm2022/stats-card/lib/stats-card/stats-card.module.mjs +19 -0
- package/esm2022/stats-card/public-api.mjs +3 -0
- package/esm2022/stats-card/seniorsistemas-angular-components-stats-card.mjs +5 -0
- package/esm2022/steps/lib/steps/steps.component.mjs +122 -0
- package/esm2022/steps/lib/steps/steps.module.mjs +19 -0
- package/esm2022/steps/public-api.mjs +3 -0
- package/esm2022/steps/seniorsistemas-angular-components-steps.mjs +5 -0
- package/esm2022/structure/lib/structure/footer.component.mjs +14 -0
- package/esm2022/structure/lib/structure/header.component.mjs +14 -0
- package/esm2022/structure/lib/structure/structure.module.mjs +19 -0
- package/esm2022/structure/public-api.mjs +5 -0
- package/esm2022/structure/seniorsistemas-angular-components-structure.mjs +5 -0
- package/esm2022/switch/lib/switch/switch.component.mjs +93 -0
- package/esm2022/switch/lib/switch/switch.module.mjs +18 -0
- package/esm2022/switch/public-api.mjs +3 -0
- package/esm2022/switch/seniorsistemas-angular-components-switch.mjs +5 -0
- package/esm2022/table/lib/locale-utils.mjs +15 -0
- package/esm2022/table/lib/table/export-utils.mjs +112 -0
- package/esm2022/table/lib/table/navigation/navigation.directive.mjs +130 -0
- package/esm2022/table/lib/table/row-toggler/row-toggler.directive.mjs +38 -0
- package/esm2022/table/lib/table/table-column/index.mjs +3 -0
- package/esm2022/table/lib/table/table-column/models/badge-column.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/badge-configs.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/column-colors.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/column-values.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/column.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/dynamic-editable-grid.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/enum-badge-colors.mjs +10 -0
- package/esm2022/table/lib/table/table-column/models/enum-column-field-type.mjs +13 -0
- package/esm2022/table/lib/table/table-column/models/index.mjs +11 -0
- package/esm2022/table/lib/table/table-column/models/locale-options.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/models/number-locale-options.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-column/table-columns.component.mjs +299 -0
- package/esm2022/table/lib/table/table-paging/index.mjs +3 -0
- package/esm2022/table/lib/table/table-paging/models/custom-action.interface.mjs +2 -0
- package/esm2022/table/lib/table/table-paging/models/index.mjs +2 -0
- package/esm2022/table/lib/table/table-paging/table-paging.component.mjs +325 -0
- package/esm2022/table/lib/table/table.module.mjs +27 -0
- package/esm2022/table/public-api.mjs +6 -0
- package/esm2022/table/seniorsistemas-angular-components-table.mjs +5 -0
- package/esm2022/table-header/lib/table-header/table-header-checkbox.component.mjs +151 -0
- package/esm2022/table-header/lib/table-header/table-header-checkox.module.mjs +20 -0
- package/esm2022/table-header/public-api.mjs +3 -0
- package/esm2022/table-header/seniorsistemas-angular-components-table-header.mjs +5 -0
- package/esm2022/tabs/lib/tab-item/tab-item.component.mjs +36 -0
- package/esm2022/tabs/lib/tabs/tabs.component.mjs +51 -0
- package/esm2022/tabs/public-api.mjs +3 -0
- package/esm2022/tabs/seniorsistemas-angular-components-tabs.mjs +5 -0
- package/esm2022/template/lib/template/template.directive.mjs +22 -0
- package/esm2022/template/lib/template/template.module.mjs +17 -0
- package/esm2022/template/public-api.mjs +3 -0
- package/esm2022/template/seniorsistemas-angular-components-template.mjs +5 -0
- package/esm2022/text-area/lib/text-area/text-area.component.mjs +116 -0
- package/esm2022/text-area/lib/text-area.module.mjs +35 -0
- package/esm2022/text-area/public-api.mjs +3 -0
- package/esm2022/text-area/seniorsistemas-angular-components-text-area.mjs +5 -0
- package/esm2022/text-area-ia/lib/services/IAssist/iassist.service.mjs +77 -0
- package/esm2022/text-area-ia/lib/services/IAssist/models/iassist-input-data.mjs +3 -0
- package/esm2022/text-area-ia/lib/services/IAssist/models/iassist-response.mjs +3 -0
- package/esm2022/text-area-ia/lib/text-area-ia/text-area-ia.component.mjs +150 -0
- package/esm2022/text-area-ia/lib/text-area-ia/text-area-ia.module.mjs +50 -0
- package/esm2022/text-area-ia/public-api.mjs +3 -0
- package/esm2022/text-area-ia/seniorsistemas-angular-components-text-area-ia.mjs +5 -0
- package/esm2022/thumbnail/lib/thumbnail/thumbnail-size.mjs +2 -0
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.component.mjs +77 -0
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.module.mjs +20 -0
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.service.mjs +62 -0
- package/esm2022/thumbnail/public-api.mjs +4 -0
- package/esm2022/thumbnail/seniorsistemas-angular-components-thumbnail.mjs +5 -0
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.mjs +17 -0
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.mjs +42 -0
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.mjs +64 -0
- package/esm2022/thumbnails/lib/thumbnails/models/thumbnails-item.mjs +2 -0
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.component.mjs +48 -0
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.module.mjs +24 -0
- package/esm2022/thumbnails/public-api.mjs +3 -0
- package/esm2022/thumbnails/seniorsistemas-angular-components-thumbnails.mjs +5 -0
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.mjs +303 -0
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.mjs +11 -0
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.mjs +73 -0
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.mjs +179 -0
- package/esm2022/tiered-menu/lib/tiered-menu/models/index.mjs +2 -0
- package/esm2022/tiered-menu/lib/tiered-menu/models/tiered-menu-item-data.mjs +2 -0
- package/esm2022/tiered-menu/lib/tiered-menu/models/tiered-menu-item-internal-data.mjs +2 -0
- package/esm2022/tiered-menu/lib/tiered-menu/services/tiered-menu.event.service.mjs +17 -0
- package/esm2022/tiered-menu/lib/tiered-menu/services/tiered-menu.global.service.mjs +11 -0
- package/esm2022/tiered-menu/lib/tiered-menu/services/tiered-menu.service.mjs +54 -0
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.directive.mjs +234 -0
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.module.mjs +34 -0
- package/esm2022/tiered-menu/public-api.mjs +6 -0
- package/esm2022/tiered-menu/seniorsistemas-angular-components-tiered-menu.mjs +5 -0
- package/esm2022/tile/lib/tile/tile.component.mjs +65 -0
- package/esm2022/tile/lib/tile/tile.module.mjs +20 -0
- package/esm2022/tile/public-api.mjs +3 -0
- package/esm2022/tile/seniorsistemas-angular-components-tile.mjs +5 -0
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.mjs +24 -0
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.mjs +20 -0
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.mjs +26 -0
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.mjs +19 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.mjs +21 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.mjs +33 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.mjs +11 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.mjs +29 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.mjs +60 -0
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.mjs +33 -0
- package/esm2022/timeline/lib/timeline/models/timeline-item-severity.mjs +7 -0
- package/esm2022/timeline/lib/timeline/models/timeline-item-size.mjs +6 -0
- package/esm2022/timeline/lib/timeline/models/timeline-item.mjs +44 -0
- package/esm2022/timeline/lib/timeline/timeline.component.mjs +66 -0
- package/esm2022/timeline/lib/timeline/timeline.module.mjs +32 -0
- package/esm2022/timeline/public-api.mjs +6 -0
- package/esm2022/timeline/seniorsistemas-angular-components-timeline.mjs +5 -0
- package/esm2022/toast/lib/toast/toast.component.mjs +46 -0
- package/esm2022/toast/lib/toast/toast.module.mjs +17 -0
- package/esm2022/toast/lib/toast/toast.service.mjs +68 -0
- package/esm2022/toast/lib/toast/types/toast.mjs +2 -0
- package/esm2022/toast/public-api.mjs +4 -0
- package/esm2022/toast/seniorsistemas-angular-components-toast.mjs +5 -0
- package/esm2022/token-list/lib/token-list/models/index.mjs +2 -0
- package/esm2022/token-list/lib/token-list/models/token.mjs +2 -0
- package/esm2022/token-list/lib/token-list/token-list.component.mjs +42 -0
- package/esm2022/token-list/lib/token-list/token-list.module.mjs +18 -0
- package/esm2022/token-list/public-api.mjs +4 -0
- package/esm2022/token-list/seniorsistemas-angular-components-token-list.mjs +5 -0
- package/esm2022/tooltip/lib/tooltip/models/mobile-behavior.mjs +2 -0
- package/esm2022/tooltip/lib/tooltip/models/tooltip-event.mjs +2 -0
- package/esm2022/tooltip/lib/tooltip/models/tooltip-position.mjs +2 -0
- package/esm2022/tooltip/lib/tooltip/tooltip.component.mjs +18 -0
- package/esm2022/tooltip/lib/tooltip/tooltip.directive.mjs +339 -0
- package/esm2022/tooltip/lib/tooltip/tooltip.module.mjs +19 -0
- package/esm2022/tooltip/public-api.mjs +3 -0
- package/esm2022/tooltip/seniorsistemas-angular-components-tooltip.mjs +5 -0
- package/esm2022/tree/lib/tree/Models/tree.models.mjs +2 -0
- package/esm2022/tree/lib/tree/components/tree-node-item/tree-node-item.component.mjs +157 -0
- package/esm2022/tree/lib/tree/tree.component.mjs +238 -0
- package/esm2022/tree/lib/tree/tree.module.mjs +22 -0
- package/esm2022/tree/public-api.mjs +3 -0
- package/esm2022/tree/seniorsistemas-angular-components-tree.mjs +5 -0
- package/esm2022/utils/lib/utils/breakpoints.mjs +11 -0
- package/esm2022/utils/lib/utils/utils.mjs +104 -0
- package/esm2022/utils/public-api.mjs +3 -0
- package/esm2022/utils/seniorsistemas-angular-components-utils.mjs +5 -0
- package/esm2022/workspace-switch/lib/workspace-switch/models/index.mjs +2 -0
- package/esm2022/workspace-switch/lib/workspace-switch/models/workspace.mjs +2 -0
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.component.mjs +137 -0
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.module.mjs +18 -0
- package/esm2022/workspace-switch/public-api.mjs +3 -0
- package/esm2022/workspace-switch/seniorsistemas-angular-components-workspace-switch.mjs +5 -0
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs +250 -0
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-alert.mjs +66 -0
- package/fesm2022/seniorsistemas-angular-components-alert.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs +579 -0
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-badge.mjs +70 -0
- package/fesm2022/seniorsistemas-angular-components-badge.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +180 -0
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs +128 -0
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-button.mjs +122 -0
- package/fesm2022/seniorsistemas-angular-components-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs +633 -0
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-card.mjs +107 -0
- package/fesm2022/seniorsistemas-angular-components-card.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-chat.mjs +78 -0
- package/fesm2022/seniorsistemas-angular-components-chat.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs +151 -0
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs +74 -0
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-chips.mjs +327 -0
- package/fesm2022/seniorsistemas-angular-components-chips.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs +1535 -0
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs +103 -0
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-common.mjs +246 -0
- package/fesm2022/seniorsistemas-angular-components-common.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-confirm-dialog.mjs +54 -0
- package/fesm2022/seniorsistemas-angular-components-confirm-dialog.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs +75 -0
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs +631 -0
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-currency.mjs +193 -0
- package/fesm2022/seniorsistemas-angular-components-currency.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs +778 -0
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs +221 -0
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +3851 -0
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs +66 -0
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs +107 -0
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs +101 -0
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-file-upload.mjs +354 -0
- package/fesm2022/seniorsistemas-angular-components-file-upload.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs +1748 -0
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs +288 -0
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs +136 -0
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs +422 -0
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-ia-insight.mjs +267 -0
- package/fesm2022/seniorsistemas-angular-components-ia-insight.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs +273 -0
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs +50 -0
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs +105 -0
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +679 -0
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-interactive-content.mjs +70 -0
- package/fesm2022/seniorsistemas-angular-components-interactive-content.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs +456 -0
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs +61 -0
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs +185 -0
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-locale.mjs +409 -0
- package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs +85 -0
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-mask.mjs +85 -0
- package/fesm2022/seniorsistemas-angular-components-mask.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs +116 -0
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs +158 -0
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs +189 -0
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs +139 -0
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs +296 -0
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs +145 -0
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-panel.mjs +113 -0
- package/fesm2022/seniorsistemas-angular-components-panel.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs +321 -0
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-picklist.mjs +339 -0
- package/fesm2022/seniorsistemas-angular-components-picklist.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-product-header.mjs +68 -0
- package/fesm2022/seniorsistemas-angular-components-product-header.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs +334 -0
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs +152 -0
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-radio-button.mjs +182 -0
- package/fesm2022/seniorsistemas-angular-components-radio-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs +81 -0
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs +172 -0
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-select.mjs +639 -0
- package/fesm2022/seniorsistemas-angular-components-select.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-shared.mjs +82 -0
- package/fesm2022/seniorsistemas-angular-components-shared.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs +137 -0
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-slide-panel.mjs +182 -0
- package/fesm2022/seniorsistemas-angular-components-slide-panel.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-slider.mjs +624 -0
- package/fesm2022/seniorsistemas-angular-components-slider.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs +463 -0
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs +86 -0
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs +70 -0
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs +142 -0
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-steps.mjs +145 -0
- package/fesm2022/seniorsistemas-angular-components-steps.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-structure.mjs +48 -0
- package/fesm2022/seniorsistemas-angular-components-structure.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-switch.mjs +115 -0
- package/fesm2022/seniorsistemas-angular-components-switch.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs +175 -0
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-table.mjs +957 -0
- package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-tabs.mjs +91 -0
- package/fesm2022/seniorsistemas-angular-components-tabs.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-template.mjs +43 -0
- package/fesm2022/seniorsistemas-angular-components-template.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-text-area-ia.mjs +275 -0
- package/fesm2022/seniorsistemas-angular-components-text-area-ia.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs +154 -0
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs +159 -0
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs +182 -0
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs +877 -0
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-tile.mjs +89 -0
- package/fesm2022/seniorsistemas-angular-components-tile.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs +382 -0
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-toast.mjs +132 -0
- package/fesm2022/seniorsistemas-angular-components-toast.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs +64 -0
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs +376 -0
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-tree.mjs +417 -0
- package/fesm2022/seniorsistemas-angular-components-tree.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-utils.mjs +121 -0
- package/fesm2022/seniorsistemas-angular-components-utils.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs +159 -0
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs.map +1 -0
- package/fesm2022/seniorsistemas-angular-components.mjs +340 -0
- package/fesm2022/seniorsistemas-angular-components.mjs.map +1 -0
- package/fieldset/index.d.ts +5 -0
- package/fieldset/lib/fieldset/fieldset.component.d.ts +19 -0
- package/fieldset/lib/fieldset/fieldset.models.d.ts +4 -0
- package/fieldset/lib/fieldset/fieldset.module.d.ts +9 -0
- package/fieldset/public-api.d.ts +3 -0
- package/file-upload/index.d.ts +5 -0
- package/file-upload/lib/file-upload/file-upload.component.d.ts +80 -0
- package/file-upload/lib/file-upload/file-upload.module.d.ts +13 -0
- package/file-upload/lib/file-upload/file-upload.service.d.ts +9 -0
- package/file-upload/lib/file-upload/models/file-dto.d.ts +13 -0
- package/file-upload/lib/file-upload/models/file-upload-permissions.d.ts +2 -0
- package/file-upload/lib/file-upload/models/uploadError.d.ts +6 -0
- package/file-upload/lib/file-upload/models/validate-errors.d.ts +1 -0
- package/file-upload/public-api.d.ts +6 -0
- package/gantt/index.d.ts +5 -0
- package/gantt/lib/gantt/components/gantt/arrow.d.ts +16 -0
- package/gantt/lib/gantt/components/gantt/bar.d.ts +44 -0
- package/gantt/lib/gantt/components/gantt/gantt-options.d.ts +2 -0
- package/gantt/lib/gantt/components/gantt/gantt.d.ts +65 -0
- package/gantt/lib/gantt/components/gantt/popup.d.ts +15 -0
- package/gantt/lib/gantt/components/gantt/utils/svg-utils.d.ts +11 -0
- package/gantt/lib/gantt/components/side-table/side-table.component.d.ts +13 -0
- package/gantt/lib/gantt/gantt.component.d.ts +33 -0
- package/gantt/lib/gantt/gantt.module.d.ts +10 -0
- package/gantt/lib/gantt/models/index.d.ts +2 -0
- package/gantt/lib/gantt/models/options.d.ts +26 -0
- package/gantt/public-api.d.ts +4 -0
- package/global-search/index.d.ts +5 -0
- package/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.d.ts +27 -0
- package/global-search/lib/global-search/global-search.component.d.ts +37 -0
- package/global-search/lib/global-search/global-search.module.d.ts +17 -0
- package/global-search/lib/global-search/types/global-search-size.enum.d.ts +1 -0
- package/global-search/public-api.d.ts +4 -0
- package/grid-menu/index.d.ts +5 -0
- package/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.d.ts +17 -0
- package/grid-menu/lib/grid-menu/grid-menu.component.d.ts +16 -0
- package/grid-menu/lib/grid-menu/grid-menu.module.d.ts +10 -0
- package/grid-menu/lib/grid-menu/types/grid-menu-item.d.ts +11 -0
- package/grid-menu/public-api.d.ts +4 -0
- package/help-popover/index.d.ts +5 -0
- package/help-popover/lib/help-popover/help-popover/help-popover.component.d.ts +36 -0
- package/help-popover/lib/help-popover/help-popover.directive.d.ts +64 -0
- package/help-popover/lib/help-popover/help-popover.module.d.ts +10 -0
- package/help-popover/lib/help-popover/models/help-popover.models.d.ts +2 -0
- package/help-popover/public-api.d.ts +5 -0
- package/ia-insight/index.d.ts +5 -0
- package/ia-insight/lib/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.d.ts +5 -0
- package/ia-insight/lib/ia-insight/components/ia-insight-card/ia-insight-card.component.d.ts +25 -0
- package/ia-insight/lib/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.d.ts +21 -0
- package/ia-insight/lib/ia-insight/ia-insight.component.d.ts +29 -0
- package/ia-insight/lib/ia-insight/ia-insight.module.d.ts +17 -0
- package/ia-insight/lib/ia-insight/models/ia-insight-item.d.ts +21 -0
- package/ia-insight/lib/ia-insight/models/ia-insight-template-types.d.ts +1 -0
- package/ia-insight/lib/ia-insight/models/index.d.ts +2 -0
- package/ia-insight/public-api.d.ts +3 -0
- package/image-cropper/index.d.ts +5 -0
- package/image-cropper/lib/image-cropper/image-cropper.component.d.ts +46 -0
- package/image-cropper/lib/image-cropper/image-cropper.module.d.ts +13 -0
- package/image-cropper/lib/image-cropper/image-cropper.service.d.ts +42 -0
- package/image-cropper/public-api.d.ts +3 -0
- package/index.d.ts +5 -0
- package/infinite-scroll/index.d.ts +5 -0
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.d.ts +10 -0
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.d.ts +8 -0
- package/infinite-scroll/public-api.d.ts +2 -0
- package/info-sign/index.d.ts +5 -0
- package/info-sign/lib/info-sign/components/info-sign/info-sign.component.d.ts +10 -0
- package/info-sign/lib/info-sign/info-sign.directive.d.ts +18 -0
- package/info-sign/lib/info-sign/info-sign.module.d.ts +10 -0
- package/info-sign/public-api.d.ts +2 -0
- package/inline-edit/index.d.ts +5 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.d.ts +21 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.d.ts +13 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +22 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +13 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.d.ts +13 -0
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.d.ts +13 -0
- package/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +30 -0
- package/inline-edit/lib/inline-edit/fields/index.d.ts +14 -0
- package/inline-edit/lib/inline-edit/fields/inline-edit-calendar-field.d.ts +44 -0
- package/inline-edit/lib/inline-edit/fields/inline-edit-field.d.ts +15 -0
- package/inline-edit/lib/inline-edit/fields/inline-edit-lookup-field.d.ts +79 -0
- package/inline-edit/lib/inline-edit/fields/inline-edit-number-field.d.ts +40 -0
- package/inline-edit/lib/inline-edit/inline-edit.component.d.ts +15 -0
- package/inline-edit/lib/inline-edit/inline-edit.module.d.ts +29 -0
- package/inline-edit/lib/inline-edit/types/addon-config.d.ts +7 -0
- package/inline-edit/public-api.d.ts +4 -0
- package/interactive-content/index.d.ts +5 -0
- package/interactive-content/lib/interactive-content/interactive-content.directive.d.ts +18 -0
- package/interactive-content/public-api.d.ts +1 -0
- package/kanban/index.d.ts +5 -0
- package/kanban/lib/kanban/components/kanban-column/kanban-column.component.d.ts +23 -0
- package/kanban/lib/kanban/components/kanban-item/kanban-item.component.d.ts +21 -0
- package/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +6 -0
- package/kanban/lib/kanban/kanban-event.service.d.ts +15 -0
- package/kanban/lib/kanban/kanban.component.d.ts +46 -0
- package/kanban/lib/kanban/kanban.module.d.ts +18 -0
- package/kanban/lib/kanban/types/index.d.ts +2 -0
- package/kanban/lib/kanban/types/kanban-data.d.ts +27 -0
- package/kanban/lib/kanban/types/kanban-template-types.d.ts +1 -0
- package/kanban/public-api.d.ts +3 -0
- package/label-value/index.d.ts +5 -0
- package/label-value/lib/label-value/label-value.component.d.ts +12 -0
- package/label-value/lib/label-value/label-value.module.d.ts +12 -0
- package/label-value/lib/label-value/types/label-value-configuration.d.ts +29 -0
- package/label-value/public-api.d.ts +3 -0
- package/loading-state/index.d.ts +5 -0
- package/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.d.ts +5 -0
- package/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.d.ts +5 -0
- package/loading-state/lib/loading-state/loading-state.component.d.ts +23 -0
- package/loading-state/lib/loading-state/loading-state.directive.d.ts +22 -0
- package/loading-state/lib/loading-state/loading-state.module.d.ts +12 -0
- package/loading-state/public-api.d.ts +4 -0
- package/locale/index.d.ts +5 -0
- package/locale/lib/locale/locale.module.d.ts +19 -0
- package/locale/lib/locale/locale.service.d.ts +27 -0
- package/locale/lib/locale/options/calendar.d.ts +25 -0
- package/locale/lib/locale/options/index.d.ts +14 -0
- package/locale/lib/locale/options/number.d.ts +11 -0
- package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +9 -0
- package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +12 -0
- package/locale/lib/locale/pipes/localized-currency-impure.pipe.d.ts +11 -0
- package/locale/lib/locale/pipes/localized-currency.pipe.d.ts +22 -0
- package/locale/lib/locale/pipes/localized-date-impure.pipe.d.ts +7 -0
- package/locale/lib/locale/pipes/localized-date.pipe.d.ts +10 -0
- package/locale/lib/locale/pipes/localized-number.pipe.d.ts +17 -0
- package/locale/lib/locale/pipes/localized-time-impure.pipe.d.ts +7 -0
- package/locale/lib/locale/pipes/localized-time.pipe.d.ts +10 -0
- package/locale/public-api.d.ts +12 -0
- package/localized-number-input/index.d.ts +5 -0
- package/localized-number-input/lib/localized-number-input/localized-number-input.directive.d.ts +16 -0
- package/localized-number-input/lib/localized-number-input/localized-number-input.module.d.ts +8 -0
- package/localized-number-input/public-api.d.ts +2 -0
- package/mask/index.d.ts +5 -0
- package/mask/lib/mask/mask-formatter.module.d.ts +7 -0
- package/mask/lib/mask/mask-formatter.pipe.d.ts +8 -0
- package/mask/public-api.d.ts +2 -0
- package/mouse-events/index.d.ts +5 -0
- package/mouse-events/lib/mouse-events/double-click.directive.d.ts +12 -0
- package/mouse-events/lib/mouse-events/long-press.directive.d.ts +16 -0
- package/mouse-events/lib/mouse-events/mouse-events.module.d.ts +9 -0
- package/mouse-events/public-api.d.ts +3 -0
- package/navigation-button/index.d.ts +5 -0
- package/navigation-button/lib/navigation-button/models/index.d.ts +2 -0
- package/navigation-button/lib/navigation-button/models/navigation-button-step-changed-info.d.ts +5 -0
- package/navigation-button/lib/navigation-button/navigation-button.component.d.ts +33 -0
- package/navigation-button/lib/navigation-button/navigation-button.module.d.ts +10 -0
- package/navigation-button/public-api.d.ts +3 -0
- package/number-input/index.d.ts +5 -0
- package/number-input/lib/number-input/number-input.directive.d.ts +47 -0
- package/number-input/lib/number-input/number-input.module.d.ts +11 -0
- package/number-input/public-api.d.ts +2 -0
- package/numeric/index.d.ts +5 -0
- package/numeric/lib/numeric.module.d.ts +8 -0
- package/numeric/lib/numeric.pipe.d.ts +16 -0
- package/numeric/lib/numeric.service.d.ts +24 -0
- package/numeric/public-api.d.ts +3 -0
- package/object-card/index.d.ts +5 -0
- package/object-card/lib/object-card/elements/field/object-card-field.component.d.ts +20 -0
- package/object-card/lib/object-card/elements/main/object-card-main.component.d.ts +31 -0
- package/object-card/lib/object-card/object-card.component.d.ts +31 -0
- package/object-card/lib/object-card/object-card.module.d.ts +14 -0
- package/object-card/public-api.d.ts +4 -0
- package/package.json +554 -42
- package/paginator/index.d.ts +5 -0
- package/paginator/lib/models/paginator.models.d.ts +14 -0
- package/paginator/lib/paginator/paginator.component.d.ts +30 -0
- package/paginator/public-api.d.ts +2 -0
- package/panel/index.d.ts +5 -0
- package/panel/lib/panel/panel.component.d.ts +27 -0
- package/panel/lib/panel/panel.module.d.ts +10 -0
- package/panel/public-api.d.ts +2 -0
- package/password-strength/index.d.ts +5 -0
- package/password-strength/lib/password-strength/password-strength.component.d.ts +23 -0
- package/password-strength/lib/password-strength/password-strength.directive.d.ts +30 -0
- package/password-strength/lib/password-strength/password-strength.module.d.ts +9 -0
- package/password-strength/lib/password-strength/types/password-positions.d.ts +1 -0
- package/password-strength/lib/password-strength/types/password-strengths.d.ts +1 -0
- package/password-strength/public-api.d.ts +5 -0
- package/picklist/index.d.ts +5 -0
- package/picklist/lib/picklist/picklist.component.d.ts +74 -0
- package/picklist/lib/picklist/picklist.module.d.ts +12 -0
- package/picklist/lib/picklist/types/index.d.ts +2 -0
- package/picklist/lib/picklist/types/picklist-item.d.ts +4 -0
- package/picklist/lib/picklist/types/picklist-template-types.d.ts +1 -0
- package/picklist/public-api.d.ts +4 -0
- package/product-header/index.d.ts +5 -0
- package/product-header/lib/product-header/product-header.component.d.ts +15 -0
- package/product-header/lib/product-header/product-header.module.d.ts +10 -0
- package/product-header/public-api.d.ts +2 -0
- package/profile-picture-picker/index.d.ts +5 -0
- package/profile-picture-picker/lib/profile-picture-picker/models/file-validation-errors.d.ts +5 -0
- package/profile-picture-picker/lib/profile-picture-picker/models/index.d.ts +4 -0
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.d.ts +58 -0
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.d.ts +13 -0
- package/profile-picture-picker/lib/profile-picture-picker/validators/index.d.ts +1 -0
- package/profile-picture-picker/lib/profile-picture-picker/validators/validators.d.ts +7 -0
- package/profile-picture-picker/public-api.d.ts +4 -0
- package/progressbar/index.d.ts +5 -0
- package/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.d.ts +20 -0
- package/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.d.ts +8 -0
- package/progressbar/lib/progressbar/progressbar.component.d.ts +17 -0
- package/progressbar/lib/progressbar/progressbar.module.d.ts +10 -0
- package/progressbar/lib/progressbar/types/index.d.ts +2 -0
- package/progressbar/lib/progressbar/types/progressbar-colors.d.ts +1 -0
- package/progressbar/lib/progressbar/types/progressbar-mode.d.ts +1 -0
- package/progressbar/public-api.d.ts +3 -0
- package/public-api.d.ts +1 -4
- package/radio-button/index.d.ts +5 -0
- package/radio-button/lib/radio-button/radio-button.component.d.ts +31 -0
- package/radio-button/lib/radio-button-group/models/radio-button-group.models.d.ts +5 -0
- package/radio-button/lib/radio-button-group/radio-button-group.component.d.ts +25 -0
- package/radio-button/lib/services/radio-button-registry.service.d.ts +12 -0
- package/radio-button/public-api.d.ts +3 -0
- package/rating-scale/index.d.ts +5 -0
- package/rating-scale/lib/rating-scale/models/index.d.ts +1 -0
- package/rating-scale/lib/rating-scale/rating-scale.component.d.ts +18 -0
- package/rating-scale/lib/rating-scale/rating-scale.module.d.ts +9 -0
- package/rating-scale/public-api.d.ts +3 -0
- package/select/index.d.ts +5 -0
- package/select/lib/select/components/select-option/select-option.component.d.ts +14 -0
- package/select/lib/select/select.component.d.ts +266 -0
- package/select/public-api.d.ts +1 -0
- package/select-button/index.d.ts +5 -0
- package/select-button/lib/select-button/components/select-button-item/select-button-item.component.d.ts +10 -0
- package/select-button/lib/select-button/select-button.component.d.ts +22 -0
- package/select-button/lib/select-button/select-button.module.d.ts +9 -0
- package/select-button/public-api.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/lib/shared/border-button/border-button.component.d.ts +9 -0
- package/shared/lib/shared/border-button/border-button.module.d.ts +9 -0
- package/shared/lib/shared/models/border-button-options.d.ts +9 -0
- package/shared/lib/shared/models/severities.d.ts +8 -0
- package/shared/public-api.d.ts +6 -0
- package/sidebar/index.d.ts +5 -0
- package/sidebar/lib/sidebar/sidebar.component.d.ts +30 -0
- package/sidebar/lib/sidebar/sidebar.module.d.ts +10 -0
- package/sidebar/public-api.d.ts +2 -0
- package/slide-panel/index.d.ts +5 -0
- package/slide-panel/lib/slide-panel/slide-panel.component.d.ts +32 -0
- package/slide-panel/lib/slide-panel/slide-panel.module.d.ts +8 -0
- package/slide-panel/lib/slide-panel/slide-panel.service.d.ts +10 -0
- package/slide-panel/public-api.d.ts +3 -0
- package/slider/index.d.ts +5 -0
- package/slider/lib/slider/slider.component.d.ts +97 -0
- package/slider/lib/slider/slider.module.d.ts +9 -0
- package/slider/public-api.d.ts +2 -0
- package/speech-recognition/index.d.ts +5 -0
- package/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.d.ts +54 -0
- package/speech-recognition/lib/speech-recognition/speech-recognition.module.d.ts +9 -0
- package/speech-recognition/lib/speech-recognition/speech-recognition.service.d.ts +29 -0
- package/speech-recognition/lib/speech-recognition/text-to-speech.service.d.ts +26 -0
- package/speech-recognition/public-api.d.ts +4 -0
- package/split-button/index.d.ts +5 -0
- package/split-button/lib/split-button/models/index.d.ts +2 -0
- package/split-button/lib/split-button/models/split-button-type.d.ts +1 -0
- package/split-button/lib/split-button/split-button.component.d.ts +22 -0
- package/split-button/lib/split-button/split-button.module.d.ts +8 -0
- package/split-button/public-api.d.ts +3 -0
- package/star-rating/index.d.ts +5 -0
- package/star-rating/public-api.d.ts +2 -0
- package/star-rating/star-rating/star-rating-models.d.ts +1 -0
- package/star-rating/star-rating/star-rating.component.d.ts +20 -0
- package/stats-card/index.d.ts +5 -0
- package/stats-card/lib/stats-card/stats-card.component.d.ts +28 -0
- package/stats-card/lib/stats-card/stats-card.module.d.ts +9 -0
- package/stats-card/public-api.d.ts +2 -0
- package/steps/index.d.ts +5 -0
- package/steps/lib/steps/steps.component.d.ts +36 -0
- package/steps/lib/steps/steps.module.d.ts +9 -0
- package/steps/public-api.d.ts +2 -0
- package/structure/index.d.ts +5 -0
- package/structure/lib/structure/footer.component.d.ts +5 -0
- package/structure/lib/structure/header.component.d.ts +5 -0
- package/structure/lib/structure/structure.module.d.ts +9 -0
- package/structure/public-api.d.ts +4 -0
- package/styles.css +1 -0
- package/switch/index.d.ts +5 -0
- package/switch/lib/switch/switch.component.d.ts +25 -0
- package/switch/lib/switch/switch.module.d.ts +8 -0
- package/switch/public-api.d.ts +2 -0
- package/table/index.d.ts +5 -0
- package/table/lib/table/export-utils.d.ts +16 -0
- package/table/lib/table/navigation/navigation.directive.d.ts +18 -0
- package/table/lib/table/row-toggler/row-toggler.directive.d.ts +10 -0
- package/table/lib/table/table-column/index.d.ts +2 -0
- package/table/lib/table/table-column/models/badge-column.interface.d.ts +9 -0
- package/table/lib/table/table-column/models/badge-configs.interface.d.ts +5 -0
- package/table/lib/table/table-column/models/column-colors.d.ts +1 -0
- package/table/lib/table/table-column/models/column-values.interface.d.ts +18 -0
- package/table/lib/table/table-column/models/column.interface.d.ts +28 -0
- package/table/lib/table/table-column/models/dynamic-editable-grid.interface.d.ts +13 -0
- package/table/lib/table/table-column/models/index.d.ts +10 -0
- package/table/lib/table/table-column/models/locale-options.interface.d.ts +6 -0
- package/table/lib/table/table-column/models/number-locale-options.interface.d.ts +6 -0
- package/table/lib/table/table-column/table-columns.component.d.ts +53 -0
- package/table/lib/table/table-paging/index.d.ts +2 -0
- package/table/lib/table/table-paging/models/index.d.ts +1 -0
- package/table/lib/table/table-paging/table-paging.component.d.ts +65 -0
- package/table/lib/table/table.module.d.ts +17 -0
- package/table/public-api.d.ts +5 -0
- package/table-header/index.d.ts +5 -0
- package/table-header/lib/table-header/table-header-checkbox.component.d.ts +31 -0
- package/table-header/lib/table-header/table-header-checkox.module.d.ts +10 -0
- package/table-header/public-api.d.ts +2 -0
- package/tabs/index.d.ts +5 -0
- package/tabs/lib/tab-item/tab-item.component.d.ts +18 -0
- package/tabs/lib/tabs/tabs.component.d.ts +16 -0
- package/tabs/public-api.d.ts +2 -0
- package/template/index.d.ts +5 -0
- package/template/lib/template/template.directive.d.ts +8 -0
- package/template/lib/template/template.module.d.ts +8 -0
- package/template/public-api.d.ts +2 -0
- package/text-area/index.d.ts +5 -0
- package/text-area/lib/text-area/text-area.component.d.ts +36 -0
- package/text-area/lib/text-area.module.d.ts +11 -0
- package/text-area/public-api.d.ts +2 -0
- package/text-area-ia/index.d.ts +5 -0
- package/text-area-ia/lib/services/IAssist/iassist.service.d.ts +16 -0
- package/text-area-ia/lib/services/IAssist/models/iassist-input-data.d.ts +6 -0
- package/text-area-ia/lib/services/IAssist/models/iassist-response.d.ts +5 -0
- package/text-area-ia/lib/text-area-ia/text-area-ia.component.d.ts +47 -0
- package/text-area-ia/lib/text-area-ia/text-area-ia.module.d.ts +15 -0
- package/text-area-ia/public-api.d.ts +2 -0
- package/thumbnail/index.d.ts +5 -0
- package/thumbnail/lib/thumbnail/thumbnail-size.d.ts +1 -0
- package/thumbnail/lib/thumbnail/thumbnail.component.d.ts +27 -0
- package/thumbnail/lib/thumbnail/thumbnail.module.d.ts +8 -0
- package/thumbnail/lib/thumbnail/thumbnail.service.d.ts +10 -0
- package/thumbnail/public-api.d.ts +3 -0
- package/thumbnails/index.d.ts +5 -0
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +6 -0
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +11 -0
- package/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +23 -0
- package/thumbnails/lib/thumbnails/models/thumbnails-item.d.ts +20 -0
- package/thumbnails/lib/thumbnails/thumbnails.component.d.ts +20 -0
- package/thumbnails/lib/thumbnails/thumbnails.module.d.ts +14 -0
- package/thumbnails/public-api.d.ts +3 -0
- package/tiered-menu/index.d.ts +5 -0
- package/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +35 -0
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +5 -0
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +18 -0
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +27 -0
- package/tiered-menu/lib/tiered-menu/models/index.d.ts +2 -0
- package/tiered-menu/lib/tiered-menu/models/tiered-menu-item-data.d.ts +10 -0
- package/tiered-menu/lib/tiered-menu/models/tiered-menu-item-internal-data.d.ts +6 -0
- package/tiered-menu/lib/tiered-menu/services/tiered-menu.event.service.d.ts +14 -0
- package/tiered-menu/lib/tiered-menu/services/tiered-menu.global.service.d.ts +7 -0
- package/tiered-menu/lib/tiered-menu/services/tiered-menu.service.d.ts +15 -0
- package/tiered-menu/lib/tiered-menu/tiered-menu.directive.d.ts +46 -0
- package/tiered-menu/lib/tiered-menu/tiered-menu.module.d.ts +12 -0
- package/tiered-menu/public-api.d.ts +5 -0
- package/tile/index.d.ts +5 -0
- package/tile/lib/tile/tile.component.d.ts +19 -0
- package/tile/lib/tile/tile.module.d.ts +10 -0
- package/tile/public-api.d.ts +2 -0
- package/timeline/index.d.ts +5 -0
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.d.ts +9 -0
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.d.ts +10 -0
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.d.ts +10 -0
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.d.ts +9 -0
- package/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.d.ts +9 -0
- package/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.d.ts +13 -0
- package/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.d.ts +5 -0
- package/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.d.ts +11 -0
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.d.ts +24 -0
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.d.ts +13 -0
- package/timeline/lib/timeline/models/timeline-item.d.ts +27 -0
- package/timeline/lib/timeline/timeline.component.d.ts +23 -0
- package/timeline/lib/timeline/timeline.module.d.ts +11 -0
- package/timeline/public-api.d.ts +5 -0
- package/toast/index.d.ts +5 -0
- package/toast/lib/toast/toast.component.d.ts +15 -0
- package/toast/lib/toast/toast.module.d.ts +8 -0
- package/toast/lib/toast/toast.service.d.ts +15 -0
- package/toast/lib/toast/types/toast.d.ts +16 -0
- package/toast/public-api.d.ts +3 -0
- package/token-list/index.d.ts +5 -0
- package/token-list/lib/token-list/models/index.d.ts +1 -0
- package/token-list/lib/token-list/token-list.component.d.ts +16 -0
- package/token-list/lib/token-list/token-list.module.d.ts +8 -0
- package/token-list/public-api.d.ts +3 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/lib/tooltip/models/mobile-behavior.d.ts +1 -0
- package/tooltip/lib/tooltip/models/tooltip-event.d.ts +1 -0
- package/tooltip/lib/tooltip/models/tooltip-position.d.ts +1 -0
- package/tooltip/lib/tooltip/tooltip.component.d.ts +12 -0
- package/tooltip/lib/tooltip/tooltip.directive.d.ts +63 -0
- package/tooltip/lib/tooltip/tooltip.module.d.ts +9 -0
- package/tooltip/public-api.d.ts +5 -0
- package/tree/index.d.ts +5 -0
- package/tree/lib/tree/Models/tree.models.d.ts +28 -0
- package/tree/lib/tree/components/tree-node-item/tree-node-item.component.d.ts +38 -0
- package/tree/lib/tree/tree.component.d.ts +36 -0
- package/tree/lib/tree/tree.module.d.ts +12 -0
- package/tree/public-api.d.ts +3 -0
- package/utils/index.d.ts +5 -2
- package/utils/lib/utils/utils.d.ts +28 -0
- package/utils/public-api.d.ts +2 -0
- package/workspace-switch/index.d.ts +5 -0
- package/workspace-switch/lib/workspace-switch/models/index.d.ts +1 -0
- package/workspace-switch/lib/workspace-switch/workspace-switch.component.d.ts +33 -0
- package/workspace-switch/lib/workspace-switch/workspace-switch.module.d.ts +8 -0
- package/workspace-switch/public-api.d.ts +3 -0
- package/angular-components.module.d.ts +0 -9
- package/bundles/seniorsistemas-angular-components.umd.js +0 -24519
- package/bundles/seniorsistemas-angular-components.umd.js.map +0 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +0 -17
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +0 -1
- package/components/accessibility-events/accessibility-events.module.d.ts +0 -2
- package/components/accessibility-events/directives/accessibility-event.directive.d.ts +0 -14
- package/components/accessibility-events/index.d.ts +0 -2
- package/components/accordion/accordion.component.d.ts +0 -20
- package/components/accordion/accordion.module.d.ts +0 -2
- package/components/accordion/components/accordion-panel/accordion-panel.component.d.ts +0 -31
- package/components/accordion/index.d.ts +0 -3
- package/components/accordion/models/accordion-button-settings.d.ts +0 -4
- package/components/accordion/models/accordion-switch-settings.d.ts +0 -4
- package/components/alert/alert.component.d.ts +0 -13
- package/components/alert/alert.module.d.ts +0 -2
- package/components/alert/index.d.ts +0 -2
- package/components/badge/badge.component.d.ts +0 -20
- package/components/badge/badge.module.d.ts +0 -2
- package/components/badge/index.d.ts +0 -3
- package/components/badge/models/badge-colors.d.ts +0 -8
- package/components/badge/models/badge-types.d.ts +0 -4
- package/components/badge/models/index.d.ts +0 -2
- package/components/bignumber-input/bignumber-input.directive.d.ts +0 -29
- package/components/bignumber-input/bignumber-input.module.d.ts +0 -2
- package/components/bignumber-input/index.d.ts +0 -2
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -22
- package/components/breadcrumb/breadcrumb.module.d.ts +0 -2
- package/components/breadcrumb/index.d.ts +0 -2
- package/components/button/button.component.d.ts +0 -43
- package/components/button/button.module.d.ts +0 -2
- package/components/button/index.d.ts +0 -6
- package/components/button/models/button-animation.d.ts +0 -3
- package/components/button/models/button-badge-config.d.ts +0 -7
- package/components/button/models/button-priority.d.ts +0 -7
- package/components/button/models/button-size.d.ts +0 -4
- package/components/calendar-mask/calendar-mask.directive.d.ts +0 -66
- package/components/calendar-mask/calendar-mask.module.d.ts +0 -2
- package/components/calendar-mask/index.d.ts +0 -2
- package/components/card/card.component.d.ts +0 -22
- package/components/card/card.module.d.ts +0 -2
- package/components/card/index.d.ts +0 -3
- package/components/card/models/card-template-types.d.ts +0 -5
- package/components/chat/chat.component.d.ts +0 -7
- package/components/chat/chat.module.d.ts +0 -2
- package/components/chat/components/chat-message/chat-message.component.d.ts +0 -8
- package/components/chat/index.d.ts +0 -3
- package/components/chat/types/chat-message.d.ts +0 -8
- package/components/checkbox/checkbox.component.d.ts +0 -17
- package/components/checkbox/checkbox.module.d.ts +0 -2
- package/components/checkbox/index.d.ts +0 -3
- package/components/checkbox/models/checkbox-data.d.ts +0 -5
- package/components/checkbox/models/checkbox-state.d.ts +0 -6
- package/components/checkbox/models/index.d.ts +0 -2
- package/components/chips/chip-item/chip-item.component.d.ts +0 -22
- package/components/chips/chips/chips.component.d.ts +0 -55
- package/components/chips/chips.module.d.ts +0 -2
- package/components/chips/index.d.ts +0 -3
- package/components/chips/models/chip-models.d.ts +0 -7
- package/components/code-editor/code-editor.component.d.ts +0 -27
- package/components/code-editor/code-editor.module.d.ts +0 -2
- package/components/code-editor/core/facades/core-facade.d.ts +0 -34
- package/components/code-editor/core/use-cases/core-linters.d.ts +0 -6
- package/components/code-editor/index.d.ts +0 -3
- package/components/code-editor/infra/cores/codemirror-6/codemirror-6-core.d.ts +0 -27
- package/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper.d.ts +0 -15
- package/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.d.ts +0 -6
- package/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/safe-http-communication.d.ts +0 -12
- package/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-safe-response.d.ts +0 -8
- package/components/code-editor/infra/cores/codemirror-6/models/types/diagnostic-severity.d.ts +0 -1
- package/components/code-editor/infra/cores/codemirror-6/models/types/editor-theme.d.ts +0 -3
- package/components/code-editor/infra/utils/custom-http-client/custom-http-client.d.ts +0 -34
- package/components/code-editor/infra/utils/custom-translations/custom-translations-service.d.ts +0 -25
- package/components/code-editor/infra/utils/custom-translations/custom-translations.module.d.ts +0 -12
- package/components/collapse-link/collapse-link.component.d.ts +0 -17
- package/components/collapse-link/collapse-link.module.d.ts +0 -2
- package/components/collapse-link/index.d.ts +0 -2
- package/components/control-errors/control-errors.component.d.ts +0 -9
- package/components/control-errors/control-errors.module.d.ts +0 -2
- package/components/control-errors/index.d.ts +0 -2
- package/components/country-phone-picker/country-phone-picker.component.d.ts +0 -64
- package/components/country-phone-picker/country-phone-picker.module.d.ts +0 -2
- package/components/country-phone-picker/country-phone-picker.service.d.ts +0 -10
- package/components/country-phone-picker/index.d.ts +0 -4
- package/components/country-phone-picker/models/index.d.ts +0 -3
- package/components/country-phone-picker/resources/countries.d.ts +0 -2
- package/components/country-phone-picker/resources/index.d.ts +0 -1
- package/components/custom-fields/custom-fields.component.d.ts +0 -82
- package/components/custom-fields/custom-fields.module.d.ts +0 -2
- package/components/custom-fields/custom-fields.service.d.ts +0 -17
- package/components/custom-fields/index.d.ts +0 -3
- package/components/dynamic-form/components/dynamic-field/dynamic-field.component.d.ts +0 -12
- package/components/dynamic-form/components/field-label/field-label.component.d.ts +0 -5
- package/components/dynamic-form/components/field-label/field-label.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.d.ts +0 -14
- package/components/dynamic-form/components/fields/base-field-component.d.ts +0 -27
- package/components/dynamic-form/components/fields/bignumber/bignumber-field.component.d.ts +0 -24
- package/components/dynamic-form/components/fields/bignumber/bignumber-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/boolean/boolean-field.component.d.ts +0 -8
- package/components/dynamic-form/components/fields/boolean/boolean-switch-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/button-field/button-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/calendar/calendar-field.component.d.ts +0 -31
- package/components/dynamic-form/components/fields/checkbox/checkbox-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/checkbox/checkbox-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/chips/chips-field.component.d.ts +0 -19
- package/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.d.ts +0 -14
- package/components/dynamic-form/components/fields/currency/currency-field.component.d.ts +0 -21
- package/components/dynamic-form/components/fields/currency/currency-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/editor/editor-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/editor/editor-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/file-upload/file-upload.component.d.ts +0 -17
- package/components/dynamic-form/components/fields/index.d.ts +0 -21
- package/components/dynamic-form/components/fields/lookup/lookup-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/number/number-field.component.d.ts +0 -27
- package/components/dynamic-form/components/fields/number/number-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/password/password-field.component.d.ts +0 -19
- package/components/dynamic-form/components/fields/password/password-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.d.ts +0 -6
- package/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/radio-button/radio-button-field.component.d.ts +0 -15
- package/components/dynamic-form/components/fields/select/select-field.component.d.ts +0 -7
- package/components/dynamic-form/components/fields/slider/slider-field.component.d.ts +0 -22
- package/components/dynamic-form/components/fields/text/text-field.component.d.ts +0 -22
- package/components/dynamic-form/components/fields/text/text-field.module.d.ts +0 -2
- package/components/dynamic-form/components/fields/text-area/text-area-field.component.d.ts +0 -11
- package/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.d.ts +0 -28
- package/components/dynamic-form/components/grid/row/row.component.d.ts +0 -12
- package/components/dynamic-form/components/lookup/lookup.component.d.ts +0 -188
- package/components/dynamic-form/components/lookup/models/default-filter.d.ts +0 -4
- package/components/dynamic-form/components/lookup/models/index.d.ts +0 -1
- package/components/dynamic-form/components/structure/base-structure-component.d.ts +0 -8
- package/components/dynamic-form/components/structure/fieldset/fieldset.component.d.ts +0 -9
- package/components/dynamic-form/components/structure/section/section.component.d.ts +0 -11
- package/components/dynamic-form/configurations/addon-config.d.ts +0 -8
- package/components/dynamic-form/configurations/field-type.d.ts +0 -30
- package/components/dynamic-form/configurations/fields/autocomplete-field.d.ts +0 -30
- package/components/dynamic-form/configurations/fields/bignumber-field.d.ts +0 -36
- package/components/dynamic-form/configurations/fields/blob-field.d.ts +0 -43
- package/components/dynamic-form/configurations/fields/boolean-field.d.ts +0 -29
- package/components/dynamic-form/configurations/fields/boolean-switch-field.d.ts +0 -11
- package/components/dynamic-form/configurations/fields/button-field.d.ts +0 -37
- package/components/dynamic-form/configurations/fields/calendar-field.d.ts +0 -45
- package/components/dynamic-form/configurations/fields/checkbox-field.d.ts +0 -9
- package/components/dynamic-form/configurations/fields/chips-field.d.ts +0 -24
- package/components/dynamic-form/configurations/fields/country-phone-picker-field.d.ts +0 -15
- package/components/dynamic-form/configurations/fields/currency-field.d.ts +0 -8
- package/components/dynamic-form/configurations/fields/decimal-field.d.ts +0 -14
- package/components/dynamic-form/configurations/fields/field.d.ts +0 -96
- package/components/dynamic-form/configurations/fields/index.d.ts +0 -21
- package/components/dynamic-form/configurations/fields/lookup-field.d.ts +0 -94
- package/components/dynamic-form/configurations/fields/number-field.d.ts +0 -42
- package/components/dynamic-form/configurations/fields/password-field.d.ts +0 -45
- package/components/dynamic-form/configurations/fields/profile-picture.d.ts +0 -36
- package/components/dynamic-form/configurations/fields/radio-button-field.d.ts +0 -23
- package/components/dynamic-form/configurations/fields/select-field.d.ts +0 -37
- package/components/dynamic-form/configurations/fields/slider-field.d.ts +0 -31
- package/components/dynamic-form/configurations/fields/text-area-field.d.ts +0 -24
- package/components/dynamic-form/configurations/fields/text-area-ia-field.d.ts +0 -26
- package/components/dynamic-form/configurations/fields/text-field.d.ts +0 -41
- package/components/dynamic-form/configurations/form-field.d.ts +0 -190
- package/components/dynamic-form/configurations/grid/grid.d.ts +0 -14
- package/components/dynamic-form/configurations/grid/row.d.ts +0 -8
- package/components/dynamic-form/configurations/structure/fieldset.d.ts +0 -10
- package/components/dynamic-form/configurations/structure/section.d.ts +0 -20
- package/components/dynamic-form/configurations/structure/structure.d.ts +0 -15
- package/components/dynamic-form/dynamic-form.component.d.ts +0 -10
- package/components/dynamic-form/dynamic-form.d.ts +0 -56
- package/components/dynamic-form/dynamic-form.directive.d.ts +0 -28
- package/components/dynamic-form/dynamic-form.module.d.ts +0 -2
- package/components/dynamic-form/index.d.ts +0 -32
- package/components/dynamic-form/services/IAssist/iassist.service.d.ts +0 -13
- package/components/dynamic-form/services/IAssist/models/iassist-input-data.d.ts +0 -6
- package/components/dynamic-form/services/IAssist/models/iassist-response.d.ts +0 -5
- package/components/dynamic-form/services/IAssist/models/index.d.ts +0 -2
- package/components/editable-overlay/editable-overlay.directive.d.ts +0 -9
- package/components/editable-overlay/editable-overlay.module.d.ts +0 -2
- package/components/editable-overlay/index.d.ts +0 -2
- package/components/empty-state/empty-state.component.d.ts +0 -16
- package/components/empty-state/empty-state.module.d.ts +0 -2
- package/components/empty-state/go-back/go-back.component.d.ts +0 -11
- package/components/empty-state/index.d.ts +0 -2
- package/components/fieldset/fieldset.component.d.ts +0 -14
- package/components/fieldset/fieldset.models.d.ts +0 -4
- package/components/fieldset/fieldset.module.d.ts +0 -2
- package/components/fieldset/index.d.ts +0 -3
- package/components/file-upload/file-upload.component.d.ts +0 -76
- package/components/file-upload/file-upload.module.d.ts +0 -2
- package/components/file-upload/file-upload.service.d.ts +0 -6
- package/components/file-upload/index.d.ts +0 -3
- package/components/file-upload/models/file-dto.d.ts +0 -11
- package/components/file-upload/models/file-upload-permissions.d.ts +0 -6
- package/components/file-upload/models/index.d.ts +0 -4
- package/components/file-upload/models/uploadError.d.ts +0 -6
- package/components/file-upload/models/validate-errors.d.ts +0 -6
- package/components/gantt/components/gantt/arrow.d.ts +0 -16
- package/components/gantt/components/gantt/bar.d.ts +0 -44
- package/components/gantt/components/gantt/gantt-options.d.ts +0 -2
- package/components/gantt/components/gantt/gantt.d.ts +0 -64
- package/components/gantt/components/gantt/popup.d.ts +0 -14
- package/components/gantt/components/gantt/utils/svg-utils.d.ts +0 -11
- package/components/gantt/components/side-table/side-table.component.d.ts +0 -10
- package/components/gantt/gantt.component.d.ts +0 -30
- package/components/gantt/gantt.module.d.ts +0 -2
- package/components/gantt/index.d.ts +0 -3
- package/components/gantt/models/index.d.ts +0 -3
- package/components/gantt/models/options.d.ts +0 -26
- package/components/global-search/elements/dropdown/global-search-dropdown-item.component.d.ts +0 -24
- package/components/global-search/global-search-size.enum.d.ts +0 -5
- package/components/global-search/global-search.component.d.ts +0 -34
- package/components/global-search/global-search.module.d.ts +0 -2
- package/components/global-search/index.d.ts +0 -4
- package/components/grid-menu/components/grid-menu-item/grid-menu-item.component.d.ts +0 -14
- package/components/grid-menu/grid-menu.component.d.ts +0 -13
- package/components/grid-menu/grid-menu.module.d.ts +0 -2
- package/components/grid-menu/index.d.ts +0 -3
- package/components/grid-menu/types/grid-menu-item.d.ts +0 -11
- package/components/help-popover/help-popover/help-popover.component.d.ts +0 -32
- package/components/help-popover/help-popover.directive.d.ts +0 -64
- package/components/help-popover/help-popover.module.d.ts +0 -2
- package/components/help-popover/index.d.ts +0 -5
- package/components/help-popover/models/help-popover.models.d.ts +0 -2
- package/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.d.ts +0 -2
- package/components/ia-insight/components/ia-insight-card/ia-insight-card.component.d.ts +0 -22
- package/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.d.ts +0 -18
- package/components/ia-insight/ia-insight.component.d.ts +0 -28
- package/components/ia-insight/ia-insight.module.d.ts +0 -2
- package/components/ia-insight/index.d.ts +0 -3
- package/components/ia-insight/models/ia-insight-item.d.ts +0 -21
- package/components/ia-insight/models/ia-insight-template-types.d.ts +0 -5
- package/components/ia-insight/models/index.d.ts +0 -2
- package/components/image-cropper/image-cropper.component.d.ts +0 -42
- package/components/image-cropper/image-cropper.module.d.ts +0 -2
- package/components/image-cropper/image-cropper.service.d.ts +0 -39
- package/components/image-cropper/index.d.ts +0 -3
- package/components/index.d.ts +0 -76
- package/components/infinite-scroll/infinite-scroll.directive.d.ts +0 -7
- package/components/infinite-scroll/infinite-scroll.module.d.ts +0 -2
- package/components/info-sign/index.d.ts +0 -2
- package/components/info-sign/info-sign.component.d.ts +0 -7
- package/components/info-sign/info-sign.directive.d.ts +0 -16
- package/components/info-sign/info-sign.module.d.ts +0 -2
- package/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.d.ts +0 -17
- package/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.d.ts +0 -10
- package/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +0 -18
- package/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +0 -9
- package/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.d.ts +0 -10
- package/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.d.ts +0 -9
- package/components/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +0 -27
- package/components/inline-edit/fields/index.d.ts +0 -7
- package/components/inline-edit/fields/inline-edit-calendar-field.d.ts +0 -44
- package/components/inline-edit/fields/inline-edit-field.d.ts +0 -13
- package/components/inline-edit/fields/inline-edit-lookup-field.d.ts +0 -79
- package/components/inline-edit/fields/inline-edit-number-field.d.ts +0 -38
- package/components/inline-edit/index.d.ts +0 -3
- package/components/inline-edit/inline-edit.component.d.ts +0 -14
- package/components/inline-edit/inline-edit.module.d.ts +0 -2
- package/components/kanban/components/kanban-column/kanban-column.component.d.ts +0 -18
- package/components/kanban/components/kanban-item/kanban-item.component.d.ts +0 -16
- package/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +0 -3
- package/components/kanban/index.d.ts +0 -3
- package/components/kanban/kanban-event.service.d.ts +0 -12
- package/components/kanban/kanban.component.d.ts +0 -43
- package/components/kanban/kanban.module.d.ts +0 -2
- package/components/kanban/models/index.d.ts +0 -2
- package/components/kanban/models/kanban-data.d.ts +0 -27
- package/components/kanban/models/kanban-template-types.d.ts +0 -7
- package/components/label-value/index.d.ts +0 -3
- package/components/label-value/label-value.component.d.ts +0 -9
- package/components/label-value/label-value.module.d.ts +0 -2
- package/components/label-value/types/label-value-configuration.d.ts +0 -29
- package/components/loading-state/components/dots-indicator/dots-indicator.components.d.ts +0 -2
- package/components/loading-state/components/logo-indicator/logo-indicator.component.d.ts +0 -2
- package/components/loading-state/index.d.ts +0 -3
- package/components/loading-state/loading-state.component.d.ts +0 -20
- package/components/loading-state/loading-state.directive.d.ts +0 -19
- package/components/loading-state/loading-state.module.d.ts +0 -2
- package/components/locale/index.d.ts +0 -10
- package/components/locale/locale.module.d.ts +0 -5
- package/components/locale/locale.service.d.ts +0 -24
- package/components/locale/options/calendar.d.ts +0 -25
- package/components/locale/options/index.d.ts +0 -26
- package/components/locale/options/number.d.ts +0 -11
- package/components/locale/pipes/localized-bignumber-impure.pipe.d.ts +0 -6
- package/components/locale/pipes/localized-bignumber.pipe.d.ts +0 -9
- package/components/locale/pipes/localized-currency-impure.pipe.d.ts +0 -8
- package/components/locale/pipes/localized-currency.pipe.d.ts +0 -19
- package/components/locale/pipes/localized-date-impure.pipe.d.ts +0 -4
- package/components/locale/pipes/localized-date.pipe.d.ts +0 -7
- package/components/locale/pipes/localized-number.pipe.d.ts +0 -14
- package/components/locale/pipes/localized-time-impure.pipe.d.ts +0 -4
- package/components/locale/pipes/localized-time.pipe.d.ts +0 -7
- package/components/locale/pipes/numeric.pipe.d.ts +0 -13
- package/components/locale/services/numeric.service.d.ts +0 -27
- package/components/localized-number-input/index.d.ts +0 -2
- package/components/localized-number-input/localized-number-input.directive.d.ts +0 -13
- package/components/localized-number-input/localized-number-input.module.d.ts +0 -2
- package/components/mask/index.d.ts +0 -2
- package/components/mask/mask-formatter.module.d.ts +0 -2
- package/components/mask/mask-formatter.pipe.d.ts +0 -5
- package/components/mouse-events/double-click.directive.d.ts +0 -9
- package/components/mouse-events/index.d.ts +0 -3
- package/components/mouse-events/long-press.directive.d.ts +0 -13
- package/components/mouse-events/mouse-events.module.d.ts +0 -2
- package/components/navigation-button/index.d.ts +0 -3
- package/components/navigation-button/models/index.d.ts +0 -2
- package/components/navigation-button/models/navigation-button-step-changed-info.d.ts +0 -5
- package/components/navigation-button/navigation-button.component.d.ts +0 -30
- package/components/navigation-button/navigation-button.module.d.ts +0 -2
- package/components/number-input/index.d.ts +0 -2
- package/components/number-input/number-input.directive.d.ts +0 -44
- package/components/number-input/number-input.module.d.ts +0 -5
- package/components/object-card/elements/field/object-card-field.component.d.ts +0 -17
- package/components/object-card/elements/main/object-card-main.component.d.ts +0 -27
- package/components/object-card/index.d.ts +0 -4
- package/components/object-card/object-card.component.d.ts +0 -28
- package/components/object-card/object-card.module.d.ts +0 -2
- package/components/panel/index.d.ts +0 -2
- package/components/panel/panel.component.d.ts +0 -25
- package/components/panel/panel.module.d.ts +0 -2
- package/components/password-strength/index.d.ts +0 -4
- package/components/password-strength/models/index.d.ts +0 -2
- package/components/password-strength/models/password-positions.d.ts +0 -5
- package/components/password-strength/models/password-strengths.d.ts +0 -6
- package/components/password-strength/password-strength.component.d.ts +0 -19
- package/components/password-strength/password-strength.directive.d.ts +0 -26
- package/components/password-strength/password-strength.module.d.ts +0 -2
- package/components/picklist/index.d.ts +0 -4
- package/components/picklist/picklist/models/picklist-models.d.ts +0 -8
- package/components/picklist/picklist/picklist.component.d.ts +0 -71
- package/components/picklist/picklist.module.d.ts +0 -2
- package/components/product-header/index.d.ts +0 -2
- package/components/product-header/product-header.component.d.ts +0 -10
- package/components/product-header/product-header.module.d.ts +0 -2
- package/components/profile-picture-picker/index.d.ts +0 -3
- package/components/profile-picture-picker/models/file-validation-errors.d.ts +0 -10
- package/components/profile-picture-picker/models/index.d.ts +0 -4
- package/components/profile-picture-picker/profile-picture-picker.component.d.ts +0 -55
- package/components/profile-picture-picker/profile-picture-picker.module.d.ts +0 -2
- package/components/progressbar/components/progressbar-determinate/progressbar-determinate.component.d.ts +0 -17
- package/components/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.d.ts +0 -5
- package/components/progressbar/index.d.ts +0 -3
- package/components/progressbar/models/index.d.ts +0 -2
- package/components/progressbar/models/progressbar-colors.d.ts +0 -6
- package/components/progressbar/models/progressbar-mode.d.ts +0 -4
- package/components/progressbar/progressbar.component.d.ts +0 -15
- package/components/progressbar/progressbar.module.d.ts +0 -2
- package/components/rating-scale/index.d.ts +0 -3
- package/components/rating-scale/models/index.d.ts +0 -1
- package/components/rating-scale/rating-scale.component.d.ts +0 -15
- package/components/rating-scale/rating-scale.module.d.ts +0 -2
- package/components/select-button/components/select-button-item/select-button-item.component.d.ts +0 -7
- package/components/select-button/index.d.ts +0 -3
- package/components/select-button/models/index.d.ts +0 -1
- package/components/select-button/select-button.component.d.ts +0 -19
- package/components/select-button/select-button.module.d.ts +0 -2
- package/components/shared/border-button/border-button.component.d.ts +0 -9
- package/components/shared/border-button/border-button.module.d.ts +0 -2
- package/components/shared/index.d.ts +0 -3
- package/components/shared/models/border-button-options.d.ts +0 -9
- package/components/shared/models/enum-severity.d.ts +0 -7
- package/components/sidebar/index.d.ts +0 -2
- package/components/sidebar/sidebar.component.d.ts +0 -22
- package/components/sidebar/sidebar.module.d.ts +0 -2
- package/components/slide-panel/index.d.ts +0 -2
- package/components/slide-panel/slide-panel.component.d.ts +0 -32
- package/components/slide-panel/slide-panel.module.d.ts +0 -2
- package/components/slide-panel/slide-panel.service.d.ts +0 -7
- package/components/slider/index.d.ts +0 -2
- package/components/slider/slider.component.d.ts +0 -95
- package/components/slider/slider.module.d.ts +0 -2
- package/components/speech-recognition/speech-recognition/speech-recognition.component.d.ts +0 -51
- package/components/speech-recognition/speech-recognition.module.d.ts +0 -2
- package/components/speech-recognition/speech-recognition.service.d.ts +0 -26
- package/components/speech-recognition/text-to-speech.service.d.ts +0 -23
- package/components/split-button/index.d.ts +0 -4
- package/components/split-button/models/split-button-type.d.ts +0 -5
- package/components/split-button/split-button.component.d.ts +0 -19
- package/components/split-button/split-button.module.d.ts +0 -2
- package/components/stats-card/index.d.ts +0 -2
- package/components/stats-card/stats-card.component.d.ts +0 -26
- package/components/stats-card/stats-card.module.d.ts +0 -2
- package/components/steps/index.d.ts +0 -2
- package/components/steps/steps.component.d.ts +0 -38
- package/components/steps/steps.module.d.ts +0 -2
- package/components/structure/footer.component.d.ts +0 -2
- package/components/structure/header.component.d.ts +0 -4
- package/components/structure/index.d.ts +0 -3
- package/components/structure/structure.module.d.ts +0 -2
- package/components/switch/index.d.ts +0 -2
- package/components/switch/switch.component.d.ts +0 -22
- package/components/switch/switch.module.d.ts +0 -2
- package/components/table/frozen-position/frozen-position.directive.d.ts +0 -28
- package/components/table/index.d.ts +0 -6
- package/components/table/navigation/navigation.directive.d.ts +0 -15
- package/components/table/row-toggler/row-toggler.directive.d.ts +0 -7
- package/components/table/table-column/index.d.ts +0 -1
- package/components/table/table-column/models/badge-column.interface.d.ts +0 -9
- package/components/table/table-column/models/badge-configs.interface.d.ts +0 -5
- package/components/table/table-column/models/column-colors.d.ts +0 -1
- package/components/table/table-column/models/column-values.interface.d.ts +0 -17
- package/components/table/table-column/models/column.interface.d.ts +0 -27
- package/components/table/table-column/models/dynamic-editable-grid.interface.d.ts +0 -13
- package/components/table/table-column/models/index.d.ts +0 -9
- package/components/table/table-column/models/locale-options.interface.d.ts +0 -6
- package/components/table/table-column/models/number-locale-options.interface.d.ts +0 -6
- package/components/table/table-column/table-columns.component.d.ts +0 -49
- package/components/table/table-paging/index.d.ts +0 -1
- package/components/table/table-paging/models/index.d.ts +0 -1
- package/components/table/table-paging/table-paging.component.d.ts +0 -63
- package/components/table/table.module.d.ts +0 -2
- package/components/table-header/index.d.ts +0 -2
- package/components/table-header/table-header-checkbox.component.d.ts +0 -25
- package/components/table-header/table-header-checkox.module.d.ts +0 -2
- package/components/template/index.d.ts +0 -2
- package/components/template/template.directive.d.ts +0 -6
- package/components/template/template.module.d.ts +0 -2
- package/components/text-area/index.d.ts +0 -2
- package/components/text-area/text-area/text-area.component.d.ts +0 -32
- package/components/text-area/text-area.module.d.ts +0 -2
- package/components/text-area-ia/index.d.ts +0 -2
- package/components/text-area-ia/text-area-ia.component.d.ts +0 -44
- package/components/text-area-ia/text-area-ia.module.d.ts +0 -2
- package/components/thumbnail/index.d.ts +0 -3
- package/components/thumbnail/thumbnail-size.d.ts +0 -5
- package/components/thumbnail/thumbnail.component.d.ts +0 -24
- package/components/thumbnail/thumbnail.module.d.ts +0 -2
- package/components/thumbnail/thumbnail.service.d.ts +0 -7
- package/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +0 -3
- package/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +0 -8
- package/components/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +0 -20
- package/components/thumbnails/index.d.ts +0 -3
- package/components/thumbnails/models/thumbnails-item.d.ts +0 -20
- package/components/thumbnails/thumbnails.component.d.ts +0 -17
- package/components/thumbnails/thumbnails.module.d.ts +0 -2
- package/components/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +0 -32
- package/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +0 -2
- package/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +0 -15
- package/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +0 -24
- package/components/tiered-menu/index.d.ts +0 -3
- package/components/tiered-menu/models/index.d.ts +0 -2
- package/components/tiered-menu/models/tiered-menu-item-data.d.ts +0 -9
- package/components/tiered-menu/models/tiered-menu-item-internal-data.d.ts +0 -6
- package/components/tiered-menu/services/tiered-menu.event.service.d.ts +0 -11
- package/components/tiered-menu/services/tiered-menu.global.service.d.ts +0 -4
- package/components/tiered-menu/services/tiered-menu.service.d.ts +0 -12
- package/components/tiered-menu/tiered-menu.directive.d.ts +0 -41
- package/components/tiered-menu/tiered-menu.module.d.ts +0 -2
- package/components/tiered-menu/utils.d.ts +0 -2
- package/components/tile/index.d.ts +0 -2
- package/components/tile/tile.component.d.ts +0 -16
- package/components/tile/tile.module.d.ts +0 -2
- package/components/timeline/components/horizontal-timeline/horizontal-timeline.component.d.ts +0 -6
- package/components/timeline/components/horizontal-timeline/horizontal-timeline.module.d.ts +0 -2
- package/components/timeline/components/timeline-icon-item/timeline-icon-item.component.d.ts +0 -7
- package/components/timeline/components/timeline-icon-item/timeline-icon-item.module.d.ts +0 -2
- package/components/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.d.ts +0 -6
- package/components/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.d.ts +0 -10
- package/components/timeline/components/vertical-timeline/components/range-line/range-line.component.d.ts +0 -2
- package/components/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.d.ts +0 -8
- package/components/timeline/components/vertical-timeline/vertical-timeline.component.d.ts +0 -21
- package/components/timeline/components/vertical-timeline/vertical-timeline.module.d.ts +0 -2
- package/components/timeline/index.d.ts +0 -3
- package/components/timeline/models/index.d.ts +0 -3
- package/components/timeline/models/timeline-item.d.ts +0 -27
- package/components/timeline/timeline.component.d.ts +0 -20
- package/components/timeline/timeline.module.d.ts +0 -2
- package/components/toast/index.d.ts +0 -3
- package/components/toast/toast.component.d.ts +0 -12
- package/components/toast/toast.module.d.ts +0 -2
- package/components/toast/toast.service.d.ts +0 -12
- package/components/toast/types/toast.d.ts +0 -16
- package/components/token-list/index.d.ts +0 -3
- package/components/token-list/models/index.d.ts +0 -1
- package/components/token-list/token-list.component.d.ts +0 -13
- package/components/token-list/token-list.module.d.ts +0 -2
- package/components/tooltip/index.d.ts +0 -2
- package/components/tooltip/models/index.d.ts +0 -3
- package/components/tooltip/models/mobile-behavior.d.ts +0 -4
- package/components/tooltip/models/tooltip-event.d.ts +0 -4
- package/components/tooltip/models/tooltip-position.d.ts +0 -6
- package/components/tooltip/tooltip.component.d.ts +0 -9
- package/components/tooltip/tooltip.directive.d.ts +0 -57
- package/components/tooltip/tooltip.module.d.ts +0 -2
- package/components/tree/Models/tree.models.d.ts +0 -28
- package/components/tree/components/tree-node-item/tree-node-item.component.d.ts +0 -35
- package/components/tree/index.d.ts +0 -3
- package/components/tree/tree.component.d.ts +0 -33
- package/components/tree/tree.module.d.ts +0 -2
- package/components/utils/debouce.d.ts +0 -4
- package/components/utils/export-utils.d.ts +0 -9
- package/components/utils/index.d.ts +0 -5
- package/components/utils/utils.d.ts +0 -25
- package/components/workspace-switch/index.d.ts +0 -3
- package/components/workspace-switch/models/index.d.ts +0 -1
- package/components/workspace-switch/workspace-switch.component.d.ts +0 -30
- package/components/workspace-switch/workspace-switch.module.d.ts +0 -2
- package/esm2015/angular-components.module.js +0 -22
- package/esm2015/components/accessibility-events/accessibility-events.module.js +0 -17
- package/esm2015/components/accessibility-events/directives/accessibility-event.directive.js +0 -61
- package/esm2015/components/accessibility-events/index.js +0 -3
- package/esm2015/components/accordion/accordion.component.js +0 -100
- package/esm2015/components/accordion/accordion.module.js +0 -31
- package/esm2015/components/accordion/components/accordion-panel/accordion-panel.component.js +0 -118
- package/esm2015/components/accordion/index.js +0 -4
- package/esm2015/components/accordion/models/accordion-button-settings.js +0 -1
- package/esm2015/components/accordion/models/accordion-switch-settings.js +0 -1
- package/esm2015/components/alert/alert.component.js +0 -47
- package/esm2015/components/alert/alert.module.js +0 -15
- package/esm2015/components/alert/index.js +0 -3
- package/esm2015/components/badge/badge.component.js +0 -61
- package/esm2015/components/badge/badge.module.js +0 -17
- package/esm2015/components/badge/index.js +0 -4
- package/esm2015/components/badge/models/badge-colors.js +0 -12
- package/esm2015/components/badge/models/badge-types.js +0 -6
- package/esm2015/components/badge/models/index.js +0 -3
- package/esm2015/components/bignumber-input/bignumber-input.directive.js +0 -148
- package/esm2015/components/bignumber-input/bignumber-input.module.js +0 -15
- package/esm2015/components/bignumber-input/index.js +0 -3
- package/esm2015/components/breadcrumb/breadcrumb.component.js +0 -90
- package/esm2015/components/breadcrumb/breadcrumb.module.js +0 -17
- package/esm2015/components/breadcrumb/index.js +0 -3
- package/esm2015/components/button/button.component.js +0 -138
- package/esm2015/components/button/button.module.js +0 -20
- package/esm2015/components/button/index.js +0 -6
- package/esm2015/components/button/models/button-animation.js +0 -5
- package/esm2015/components/button/models/button-badge-config.js +0 -1
- package/esm2015/components/button/models/button-priority.js +0 -9
- package/esm2015/components/button/models/button-size.js +0 -6
- package/esm2015/components/calendar-mask/calendar-mask.directive.js +0 -573
- package/esm2015/components/calendar-mask/calendar-mask.module.js +0 -15
- package/esm2015/components/calendar-mask/index.js +0 -3
- package/esm2015/components/card/card.component.js +0 -73
- package/esm2015/components/card/card.module.js +0 -16
- package/esm2015/components/card/index.js +0 -4
- package/esm2015/components/card/models/card-template-types.js +0 -7
- package/esm2015/components/chat/chat.component.js +0 -32
- package/esm2015/components/chat/chat.module.js +0 -18
- package/esm2015/components/chat/components/chat-message/chat-message.component.js +0 -28
- package/esm2015/components/chat/index.js +0 -3
- package/esm2015/components/chat/types/chat-message.js +0 -1
- package/esm2015/components/checkbox/checkbox.component.js +0 -107
- package/esm2015/components/checkbox/checkbox.module.js +0 -16
- package/esm2015/components/checkbox/index.js +0 -3
- package/esm2015/components/checkbox/models/checkbox-data.js +0 -1
- package/esm2015/components/checkbox/models/checkbox-state.js +0 -1
- package/esm2015/components/checkbox/models/index.js +0 -1
- package/esm2015/components/chips/chip-item/chip-item.component.js +0 -68
- package/esm2015/components/chips/chips/chips.component.js +0 -228
- package/esm2015/components/chips/chips.module.js +0 -24
- package/esm2015/components/chips/index.js +0 -3
- package/esm2015/components/chips/models/chip-models.js +0 -1
- package/esm2015/components/code-editor/code-editor.component.js +0 -116
- package/esm2015/components/code-editor/code-editor.module.js +0 -24
- package/esm2015/components/code-editor/core/facades/core-facade.js +0 -91
- package/esm2015/components/code-editor/core/facades/linter-facade.js +0 -1
- package/esm2015/components/code-editor/core/models/enums/marker-severity.js +0 -7
- package/esm2015/components/code-editor/core/models/index.js +0 -3
- package/esm2015/components/code-editor/core/models/interfaces/marker.js +0 -1
- package/esm2015/components/code-editor/core/use-cases/core-linters.js +0 -9
- package/esm2015/components/code-editor/index.js +0 -5
- package/esm2015/components/code-editor/infra/cores/codemirror-6/codemirror-6-core.js +0 -120
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/editor-languages.js +0 -17
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/json/json.language.js +0 -67
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-empty-state.js +0 -29
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-loading-state.js +0 -29
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper-style.js +0 -17
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper.js +0 -75
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/index.js +0 -4
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-style.js +0 -35
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.js +0 -341
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.service.js +0 -34
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/base-configs.js +0 -18
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/grammar.js +0 -37
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/completion-types.js +0 -10
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/enum-type-order.js +0 -8
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/keywords.js +0 -12
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/meta-type.js +0 -36
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/request-types.js +0 -9
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/index.js +0 -7
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/completion-Item.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/facade-metadata-name.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/fields-order-by.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/get-facade-metadata-by-path.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-context-metadata-by-id.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-expression-metadata.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-facade-metadata-names.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-expression-metadata.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-context-metadata.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-facade-metadata.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-field-metadata.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-page-request.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/safe-http-communication.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/tax-calculation-configs.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation-language-configs.js +0 -10
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation.language.js +0 -9
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-language-configs.js +0 -15
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-safe-response.js +0 -16
- package/esm2015/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/index.js +0 -3
- package/esm2015/components/code-editor/infra/cores/codemirror-6/models/index.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/models/types/diagnostic-severity.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/models/types/editor-theme.js +0 -1
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/editor-themes.js +0 -15
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/autocomplete-tooltip.js +0 -61
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/font-style.js +0 -29
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/line-counter.js +0 -25
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/scrollbars.js +0 -18
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-highlight-style.js +0 -16
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-style.js +0 -13
- package/esm2015/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-theme.js +0 -22
- package/esm2015/components/code-editor/infra/cores/codemirror-6/utils/convert-markers-to-diagnostics.js +0 -18
- package/esm2015/components/code-editor/infra/cores/codemirror-6/utils/index.js +0 -3
- package/esm2015/components/code-editor/infra/cores/codemirror-6/utils/is-current-position-inside-string.js +0 -6
- package/esm2015/components/code-editor/infra/utils/custom-http-client/custom-http-client.js +0 -80
- package/esm2015/components/code-editor/infra/utils/custom-http-client/json-response-formatters/format-blob-response.js +0 -13
- package/esm2015/components/code-editor/infra/utils/custom-http-client/json-response-formatters/format-json-response.js +0 -12
- package/esm2015/components/code-editor/infra/utils/custom-http-client/json-response-formatters/index.js +0 -3
- package/esm2015/components/code-editor/infra/utils/custom-translations/custom-translations-service.js +0 -37
- package/esm2015/components/code-editor/infra/utils/custom-translations/custom-translations.module.js +0 -30
- package/esm2015/components/code-editor/infra/utils/custom-translations/index.js +0 -3
- package/esm2015/components/code-editor/infra/utils/custom-translations/models/index.js +0 -1
- package/esm2015/components/code-editor/infra/utils/custom-translations/models/interfaces/translations.js +0 -1
- package/esm2015/components/code-editor/infra/utils/index.js +0 -3
- package/esm2015/components/code-editor/models/enums/languages.js +0 -6
- package/esm2015/components/code-editor/models/enums/themes.js +0 -5
- package/esm2015/components/code-editor/models/index.js +0 -4
- package/esm2015/components/code-editor/models/interfaces/editor-options.js +0 -1
- package/esm2015/components/collapse-link/collapse-link.component.js +0 -73
- package/esm2015/components/collapse-link/collapse-link.module.js +0 -15
- package/esm2015/components/collapse-link/index.js +0 -3
- package/esm2015/components/control-errors/control-errors.component.js +0 -37
- package/esm2015/components/control-errors/control-errors.module.js +0 -16
- package/esm2015/components/control-errors/index.js +0 -3
- package/esm2015/components/country-phone-picker/country-phone-picker.component.js +0 -301
- package/esm2015/components/country-phone-picker/country-phone-picker.module.js +0 -27
- package/esm2015/components/country-phone-picker/country-phone-picker.service.js +0 -43
- package/esm2015/components/country-phone-picker/index.js +0 -5
- package/esm2015/components/country-phone-picker/models/country-phone-data.js +0 -1
- package/esm2015/components/country-phone-picker/models/index.js +0 -2
- package/esm2015/components/country-phone-picker/models/ordination.js +0 -7
- package/esm2015/components/country-phone-picker/models/phone-selection-data.js +0 -1
- package/esm2015/components/country-phone-picker/resources/countries.js +0 -228
- package/esm2015/components/country-phone-picker/resources/index.js +0 -2
- package/esm2015/components/custom-fields/custom-fields.component.js +0 -609
- package/esm2015/components/custom-fields/custom-fields.module.js +0 -30
- package/esm2015/components/custom-fields/custom-fields.service.js +0 -36
- package/esm2015/components/custom-fields/index.js +0 -4
- package/esm2015/components/custom-fields/models/custom-field-type.js +0 -17
- package/esm2015/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +0 -37
- package/esm2015/components/dynamic-form/components/field-label/field-label.component.js +0 -18
- package/esm2015/components/dynamic-form/components/field-label/field-label.module.js +0 -19
- package/esm2015/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +0 -32
- package/esm2015/components/dynamic-form/components/fields/base-field-component.js +0 -9
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +0 -113
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +0 -32
- package/esm2015/components/dynamic-form/components/fields/boolean/boolean-field.component.js +0 -20
- package/esm2015/components/dynamic-form/components/fields/boolean/boolean-switch-field.component.js +0 -17
- package/esm2015/components/dynamic-form/components/fields/button-field/button-field.component.js +0 -31
- package/esm2015/components/dynamic-form/components/fields/calendar/calendar-field.component.js +0 -106
- package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +0 -17
- package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +0 -17
- package/esm2015/components/dynamic-form/components/fields/chips/chips-field.component.js +0 -53
- package/esm2015/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +0 -32
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.component.js +0 -71
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +0 -30
- package/esm2015/components/dynamic-form/components/fields/editor/editor-field.component.js +0 -18
- package/esm2015/components/dynamic-form/components/fields/editor/editor-field.module.js +0 -18
- package/esm2015/components/dynamic-form/components/fields/file-upload/file-upload.component.js +0 -51
- package/esm2015/components/dynamic-form/components/fields/index.js +0 -22
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +0 -17
- package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +0 -109
- package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +0 -34
- package/esm2015/components/dynamic-form/components/fields/password/password-field.component.js +0 -77
- package/esm2015/components/dynamic-form/components/fields/password/password-field.module.js +0 -30
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +0 -17
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +0 -24
- package/esm2015/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +0 -60
- package/esm2015/components/dynamic-form/components/fields/select/select-field.component.js +0 -18
- package/esm2015/components/dynamic-form/components/fields/slider/slider-field.component.js +0 -111
- package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +0 -86
- package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +0 -32
- package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +0 -26
- package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +0 -92
- package/esm2015/components/dynamic-form/components/grid/row/row.component.js +0 -77
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +0 -585
- package/esm2015/components/dynamic-form/components/lookup/models/default-filter.js +0 -1
- package/esm2015/components/dynamic-form/components/lookup/models/index.js +0 -1
- package/esm2015/components/dynamic-form/components/structure/base-structure-component.js +0 -1
- package/esm2015/components/dynamic-form/components/structure/fieldset/fieldset.component.js +0 -31
- package/esm2015/components/dynamic-form/components/structure/section/section.component.js +0 -52
- package/esm2015/components/dynamic-form/configurations/addon-config.js +0 -1
- package/esm2015/components/dynamic-form/configurations/dynamic-config.js +0 -71
- package/esm2015/components/dynamic-form/configurations/dynamic-type.js +0 -26
- package/esm2015/components/dynamic-form/configurations/field-size.js +0 -9
- package/esm2015/components/dynamic-form/configurations/field-type.js +0 -32
- package/esm2015/components/dynamic-form/configurations/fields/autocomplete-field.js +0 -11
- package/esm2015/components/dynamic-form/configurations/fields/bignumber-field.js +0 -23
- package/esm2015/components/dynamic-form/configurations/fields/blob-field.js +0 -19
- package/esm2015/components/dynamic-form/configurations/fields/boolean-field.js +0 -21
- package/esm2015/components/dynamic-form/configurations/fields/boolean-switch-field.js +0 -13
- package/esm2015/components/dynamic-form/configurations/fields/button-field.js +0 -30
- package/esm2015/components/dynamic-form/configurations/fields/calendar-field.js +0 -37
- package/esm2015/components/dynamic-form/configurations/fields/checkbox-field.js +0 -8
- package/esm2015/components/dynamic-form/configurations/fields/chips-field.js +0 -17
- package/esm2015/components/dynamic-form/configurations/fields/country-phone-picker-field.js +0 -11
- package/esm2015/components/dynamic-form/configurations/fields/currency-field.js +0 -12
- package/esm2015/components/dynamic-form/configurations/fields/decimal-field.js +0 -14
- package/esm2015/components/dynamic-form/configurations/fields/editor-field.js +0 -11
- package/esm2015/components/dynamic-form/configurations/fields/field.js +0 -41
- package/esm2015/components/dynamic-form/configurations/fields/index.js +0 -22
- package/esm2015/components/dynamic-form/configurations/fields/lookup-field.js +0 -33
- package/esm2015/components/dynamic-form/configurations/fields/number-field.js +0 -23
- package/esm2015/components/dynamic-form/configurations/fields/password-field.js +0 -20
- package/esm2015/components/dynamic-form/configurations/fields/profile-picture.js +0 -21
- package/esm2015/components/dynamic-form/configurations/fields/radio-button-field.js +0 -19
- package/esm2015/components/dynamic-form/configurations/fields/select-field.js +0 -26
- package/esm2015/components/dynamic-form/configurations/fields/slider-field.js +0 -21
- package/esm2015/components/dynamic-form/configurations/fields/text-area-field.js +0 -20
- package/esm2015/components/dynamic-form/configurations/fields/text-area-ia-field.js +0 -21
- package/esm2015/components/dynamic-form/configurations/fields/text-field.js +0 -24
- package/esm2015/components/dynamic-form/configurations/form-field.js +0 -92
- package/esm2015/components/dynamic-form/configurations/grid/grid.js +0 -10
- package/esm2015/components/dynamic-form/configurations/grid/row.js +0 -7
- package/esm2015/components/dynamic-form/configurations/grid-type.js +0 -5
- package/esm2015/components/dynamic-form/configurations/structure/fieldset.js +0 -8
- package/esm2015/components/dynamic-form/configurations/structure/section.js +0 -29
- package/esm2015/components/dynamic-form/configurations/structure/structure.js +0 -7
- package/esm2015/components/dynamic-form/configurations/structure-type.js +0 -6
- package/esm2015/components/dynamic-form/dynamic-form.component.js +0 -32
- package/esm2015/components/dynamic-form/dynamic-form.directive.js +0 -80
- package/esm2015/components/dynamic-form/dynamic-form.js +0 -196
- package/esm2015/components/dynamic-form/dynamic-form.module.js +0 -191
- package/esm2015/components/dynamic-form/index.js +0 -31
- package/esm2015/components/dynamic-form/services/IAssist/iassist.service.js +0 -75
- package/esm2015/components/dynamic-form/services/IAssist/models/iassist-input-data.js +0 -1
- package/esm2015/components/dynamic-form/services/IAssist/models/iassist-response.js +0 -1
- package/esm2015/components/dynamic-form/services/IAssist/models/index.js +0 -1
- package/esm2015/components/editable-overlay/editable-overlay.directive.js +0 -42
- package/esm2015/components/editable-overlay/editable-overlay.module.js +0 -15
- package/esm2015/components/editable-overlay/index.js +0 -3
- package/esm2015/components/empty-state/empty-state.component.js +0 -57
- package/esm2015/components/empty-state/empty-state.module.js +0 -19
- package/esm2015/components/empty-state/go-back/go-back.component.js +0 -37
- package/esm2015/components/empty-state/index.js +0 -3
- package/esm2015/components/fieldset/fieldset.component.js +0 -68
- package/esm2015/components/fieldset/fieldset.models.js +0 -1
- package/esm2015/components/fieldset/fieldset.module.js +0 -16
- package/esm2015/components/fieldset/index.js +0 -3
- package/esm2015/components/file-upload/file-upload.component.js +0 -285
- package/esm2015/components/file-upload/file-upload.module.js +0 -27
- package/esm2015/components/file-upload/file-upload.service.js +0 -19
- package/esm2015/components/file-upload/index.js +0 -4
- package/esm2015/components/file-upload/models/file-dto.js +0 -1
- package/esm2015/components/file-upload/models/file-upload-permissions.js +0 -12
- package/esm2015/components/file-upload/models/index.js +0 -3
- package/esm2015/components/file-upload/models/list-blob-metadata.js +0 -1
- package/esm2015/components/file-upload/models/uploadError.js +0 -1
- package/esm2015/components/file-upload/models/validate-errors.js +0 -8
- package/esm2015/components/gantt/components/gantt/arrow.js +0 -82
- package/esm2015/components/gantt/components/gantt/bar.js +0 -264
- package/esm2015/components/gantt/components/gantt/gantt-options.js +0 -20
- package/esm2015/components/gantt/components/gantt/gantt.js +0 -808
- package/esm2015/components/gantt/components/gantt/popup.js +0 -100
- package/esm2015/components/gantt/components/gantt/utils/date-utils.js +0 -127
- package/esm2015/components/gantt/components/gantt/utils/svg-utils.js +0 -119
- package/esm2015/components/gantt/components/side-table/side-table.component.js +0 -32
- package/esm2015/components/gantt/gantt.component.js +0 -160
- package/esm2015/components/gantt/gantt.module.js +0 -20
- package/esm2015/components/gantt/index.js +0 -4
- package/esm2015/components/gantt/models/index.js +0 -2
- package/esm2015/components/gantt/models/options.js +0 -1
- package/esm2015/components/gantt/models/task.js +0 -1
- package/esm2015/components/gantt/models/view-mode.js +0 -12
- package/esm2015/components/global-search/elements/dropdown/global-search-dropdown-item.component.js +0 -76
- package/esm2015/components/global-search/global-search-size.enum.js +0 -7
- package/esm2015/components/global-search/global-search.component.js +0 -135
- package/esm2015/components/global-search/global-search.module.js +0 -50
- package/esm2015/components/global-search/index.js +0 -5
- package/esm2015/components/grid-menu/components/grid-menu-item/grid-menu-item.component.js +0 -66
- package/esm2015/components/grid-menu/grid-menu.component.js +0 -61
- package/esm2015/components/grid-menu/grid-menu.module.js +0 -17
- package/esm2015/components/grid-menu/index.js +0 -3
- package/esm2015/components/grid-menu/types/grid-menu-item.js +0 -1
- package/esm2015/components/help-popover/help-popover/help-popover.component.js +0 -82
- package/esm2015/components/help-popover/help-popover.directive.js +0 -328
- package/esm2015/components/help-popover/help-popover.module.js +0 -20
- package/esm2015/components/help-popover/index.js +0 -4
- package/esm2015/components/help-popover/models/help-popover.models.js +0 -1
- package/esm2015/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +0 -13
- package/esm2015/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +0 -94
- package/esm2015/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +0 -60
- package/esm2015/components/ia-insight/ia-insight.component.js +0 -82
- package/esm2015/components/ia-insight/ia-insight.module.js +0 -40
- package/esm2015/components/ia-insight/index.js +0 -4
- package/esm2015/components/ia-insight/models/ia-insight-item.js +0 -1
- package/esm2015/components/ia-insight/models/ia-insight-template-types.js +0 -7
- package/esm2015/components/ia-insight/models/index.js +0 -2
- package/esm2015/components/image-cropper/image-cropper.component.js +0 -183
- package/esm2015/components/image-cropper/image-cropper.module.js +0 -20
- package/esm2015/components/image-cropper/image-cropper.service.js +0 -62
- package/esm2015/components/image-cropper/index.js +0 -4
- package/esm2015/components/index.js +0 -77
- package/esm2015/components/infinite-scroll/infinite-scroll.directive.js +0 -30
- package/esm2015/components/infinite-scroll/infinite-scroll.module.js +0 -21
- package/esm2015/components/info-sign/index.js +0 -3
- package/esm2015/components/info-sign/info-sign.component.js +0 -13
- package/esm2015/components/info-sign/info-sign.directive.js +0 -68
- package/esm2015/components/info-sign/info-sign.module.js +0 -24
- package/esm2015/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +0 -51
- package/esm2015/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +0 -30
- package/esm2015/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +0 -75
- package/esm2015/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +0 -30
- package/esm2015/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +0 -30
- package/esm2015/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +0 -30
- package/esm2015/components/inline-edit/components/index.js +0 -8
- package/esm2015/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +0 -98
- package/esm2015/components/inline-edit/fields/index.js +0 -8
- package/esm2015/components/inline-edit/fields/inline-edit-calendar-field.js +0 -26
- package/esm2015/components/inline-edit/fields/inline-edit-field.js +0 -9
- package/esm2015/components/inline-edit/fields/inline-edit-lookup-field.js +0 -32
- package/esm2015/components/inline-edit/fields/inline-edit-number-field.js +0 -24
- package/esm2015/components/inline-edit/fields/inline-edit-text-area-field.js +0 -11
- package/esm2015/components/inline-edit/fields/inline-edit-text-area-ia-field.js +0 -7
- package/esm2015/components/inline-edit/fields/inline-edit-text-field.js +0 -7
- package/esm2015/components/inline-edit/index.js +0 -4
- package/esm2015/components/inline-edit/inline-edit.component.js +0 -70
- package/esm2015/components/inline-edit/inline-edit.module.js +0 -62
- package/esm2015/components/kanban/components/kanban-column/kanban-column.component.js +0 -96
- package/esm2015/components/kanban/components/kanban-item/kanban-item.component.js +0 -60
- package/esm2015/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.js +0 -19
- package/esm2015/components/kanban/index.js +0 -4
- package/esm2015/components/kanban/kanban-event.service.js +0 -27
- package/esm2015/components/kanban/kanban.component.js +0 -217
- package/esm2015/components/kanban/kanban.module.js +0 -45
- package/esm2015/components/kanban/models/index.js +0 -2
- package/esm2015/components/kanban/models/kanban-data.js +0 -1
- package/esm2015/components/kanban/models/kanban-template-types.js +0 -9
- package/esm2015/components/label-value/index.js +0 -3
- package/esm2015/components/label-value/label-value.component.js +0 -31
- package/esm2015/components/label-value/label-value.module.js +0 -20
- package/esm2015/components/label-value/types/label-value-configuration.js +0 -1
- package/esm2015/components/loading-state/components/dots-indicator/dots-indicator.components.js +0 -13
- package/esm2015/components/loading-state/components/loading-state-indicators.js +0 -6
- package/esm2015/components/loading-state/components/logo-indicator/logo-indicator.component.js +0 -13
- package/esm2015/components/loading-state/index.js +0 -4
- package/esm2015/components/loading-state/loading-state.component.js +0 -73
- package/esm2015/components/loading-state/loading-state.directive.js +0 -60
- package/esm2015/components/loading-state/loading-state.module.js +0 -31
- package/esm2015/components/locale/index.js +0 -11
- package/esm2015/components/locale/locale.module.js +0 -71
- package/esm2015/components/locale/locale.service.js +0 -89
- package/esm2015/components/locale/options/calendar.js +0 -29
- package/esm2015/components/locale/options/index.js +0 -24
- package/esm2015/components/locale/options/number.js +0 -9
- package/esm2015/components/locale/pipes/localized-bignumber-impure.pipe.js +0 -16
- package/esm2015/components/locale/pipes/localized-bignumber.pipe.js +0 -39
- package/esm2015/components/locale/pipes/localized-currency-impure.pipe.js +0 -19
- package/esm2015/components/locale/pipes/localized-currency.pipe.js +0 -53
- package/esm2015/components/locale/pipes/localized-date-impure.pipe.js +0 -13
- package/esm2015/components/locale/pipes/localized-date.pipe.js +0 -24
- package/esm2015/components/locale/pipes/localized-number.pipe.js +0 -31
- package/esm2015/components/locale/pipes/localized-time-impure.pipe.js +0 -13
- package/esm2015/components/locale/pipes/localized-time.pipe.js +0 -24
- package/esm2015/components/locale/pipes/numeric.pipe.js +0 -28
- package/esm2015/components/locale/services/numeric.service.js +0 -86
- package/esm2015/components/localized-number-input/index.js +0 -3
- package/esm2015/components/localized-number-input/localized-number-input.directive.js +0 -58
- package/esm2015/components/localized-number-input/localized-number-input.module.js +0 -15
- package/esm2015/components/mask/index.js +0 -3
- package/esm2015/components/mask/mask-formatter.module.js +0 -13
- package/esm2015/components/mask/mask-formatter.pipe.js +0 -71
- package/esm2015/components/mouse-events/double-click.directive.js +0 -38
- package/esm2015/components/mouse-events/index.js +0 -4
- package/esm2015/components/mouse-events/long-press.directive.js +0 -49
- package/esm2015/components/mouse-events/mouse-events.module.js +0 -22
- package/esm2015/components/navigation-button/index.js +0 -3
- package/esm2015/components/navigation-button/models/index.js +0 -1
- package/esm2015/components/navigation-button/models/navigation-button-item.js +0 -1
- package/esm2015/components/navigation-button/models/navigation-button-step-changed-info.js +0 -1
- package/esm2015/components/navigation-button/navigation-button.component.js +0 -126
- package/esm2015/components/navigation-button/navigation-button.module.js +0 -17
- package/esm2015/components/number-input/index.js +0 -3
- package/esm2015/components/number-input/number-input.directive.js +0 -162
- package/esm2015/components/number-input/number-input.module.js +0 -18
- package/esm2015/components/object-card/elements/field/object-card-field.component.js +0 -53
- package/esm2015/components/object-card/elements/main/object-card-main.component.js +0 -93
- package/esm2015/components/object-card/index.js +0 -5
- package/esm2015/components/object-card/object-card.component.js +0 -137
- package/esm2015/components/object-card/object-card.module.js +0 -21
- package/esm2015/components/panel/index.js +0 -3
- package/esm2015/components/panel/panel.component.js +0 -84
- package/esm2015/components/panel/panel.module.js +0 -17
- package/esm2015/components/password-strength/index.js +0 -5
- package/esm2015/components/password-strength/models/index.js +0 -3
- package/esm2015/components/password-strength/models/password-positions.js +0 -7
- package/esm2015/components/password-strength/models/password-strengths.js +0 -8
- package/esm2015/components/password-strength/password-strength.component.js +0 -95
- package/esm2015/components/password-strength/password-strength.directive.js +0 -196
- package/esm2015/components/password-strength/password-strength.module.js +0 -19
- package/esm2015/components/picklist/index.js +0 -5
- package/esm2015/components/picklist/picklist/models/picklist-models.js +0 -6
- package/esm2015/components/picklist/picklist/picklist.component.js +0 -305
- package/esm2015/components/picklist/picklist.module.js +0 -25
- package/esm2015/components/product-header/index.js +0 -3
- package/esm2015/components/product-header/product-header.component.js +0 -45
- package/esm2015/components/product-header/product-header.module.js +0 -17
- package/esm2015/components/profile-picture-picker/index.js +0 -4
- package/esm2015/components/profile-picture-picker/models/confirmation-texts.js +0 -1
- package/esm2015/components/profile-picture-picker/models/cropper-labels-config.js +0 -1
- package/esm2015/components/profile-picture-picker/models/file-validation-errors.js +0 -8
- package/esm2015/components/profile-picture-picker/models/index.js +0 -2
- package/esm2015/components/profile-picture-picker/models/profile-picture-picker-data.js +0 -1
- package/esm2015/components/profile-picture-picker/profile-picture-picker.component.js +0 -262
- package/esm2015/components/profile-picture-picker/profile-picture-picker.module.js +0 -33
- package/esm2015/components/progressbar/components/progressbar-determinate/progressbar-determinate.component.js +0 -61
- package/esm2015/components/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.js +0 -19
- package/esm2015/components/progressbar/index.js +0 -4
- package/esm2015/components/progressbar/models/index.js +0 -3
- package/esm2015/components/progressbar/models/progressbar-colors.js +0 -8
- package/esm2015/components/progressbar/models/progressbar-mode.js +0 -6
- package/esm2015/components/progressbar/progressbar.component.js +0 -62
- package/esm2015/components/progressbar/progressbar.module.js +0 -21
- package/esm2015/components/rating-scale/index.js +0 -3
- package/esm2015/components/rating-scale/models/index.js +0 -1
- package/esm2015/components/rating-scale/models/rating-scale-node.js +0 -1
- package/esm2015/components/rating-scale/rating-scale.component.js +0 -52
- package/esm2015/components/rating-scale/rating-scale.module.js +0 -19
- package/esm2015/components/select-button/components/select-button-item/select-button-item.component.js +0 -34
- package/esm2015/components/select-button/index.js +0 -3
- package/esm2015/components/select-button/models/index.js +0 -1
- package/esm2015/components/select-button/models/select-button-item.js +0 -1
- package/esm2015/components/select-button/select-button.component.js +0 -114
- package/esm2015/components/select-button/select-button.module.js +0 -19
- package/esm2015/components/shared/border-button/border-button.component.js +0 -26
- package/esm2015/components/shared/border-button/border-button.module.js +0 -16
- package/esm2015/components/shared/helpers.js +0 -30
- package/esm2015/components/shared/index.js +0 -3
- package/esm2015/components/shared/models/border-button-options.js +0 -1
- package/esm2015/components/shared/models/enum-severity.js +0 -9
- package/esm2015/components/sidebar/index.js +0 -3
- package/esm2015/components/sidebar/sidebar.component.js +0 -72
- package/esm2015/components/sidebar/sidebar.module.js +0 -19
- package/esm2015/components/slide-panel/index.js +0 -3
- package/esm2015/components/slide-panel/slide-panel.component.js +0 -140
- package/esm2015/components/slide-panel/slide-panel.module.js +0 -17
- package/esm2015/components/slide-panel/slide-panel.service.js +0 -27
- package/esm2015/components/slider/index.js +0 -3
- package/esm2015/components/slider/slider.component.js +0 -620
- package/esm2015/components/slider/slider.module.js +0 -16
- package/esm2015/components/speech-recognition/speech-recognition/speech-recognition.component.js +0 -224
- package/esm2015/components/speech-recognition/speech-recognition.module.js +0 -19
- package/esm2015/components/speech-recognition/speech-recognition.service.js +0 -151
- package/esm2015/components/speech-recognition/text-to-speech.service.js +0 -84
- package/esm2015/components/split-button/index.js +0 -4
- package/esm2015/components/split-button/models/split-button-option.js +0 -1
- package/esm2015/components/split-button/models/split-button-type.js +0 -7
- package/esm2015/components/split-button/split-button.component.js +0 -68
- package/esm2015/components/split-button/split-button.module.js +0 -15
- package/esm2015/components/stats-card/index.js +0 -3
- package/esm2015/components/stats-card/stats-card.component.js +0 -124
- package/esm2015/components/stats-card/stats-card.module.js +0 -23
- package/esm2015/components/steps/index.js +0 -3
- package/esm2015/components/steps/steps.component.js +0 -97
- package/esm2015/components/steps/steps.module.js +0 -16
- package/esm2015/components/structure/footer.component.js +0 -12
- package/esm2015/components/structure/header.component.js +0 -18
- package/esm2015/components/structure/index.js +0 -4
- package/esm2015/components/structure/structure.module.js +0 -16
- package/esm2015/components/switch/index.js +0 -3
- package/esm2015/components/switch/switch.component.js +0 -92
- package/esm2015/components/switch/switch.module.js +0 -15
- package/esm2015/components/table/frozen-position/frozen-position.directive.js +0 -203
- package/esm2015/components/table/index.js +0 -6
- package/esm2015/components/table/navigation/navigation.directive.js +0 -134
- package/esm2015/components/table/row-toggler/row-toggler.directive.js +0 -36
- package/esm2015/components/table/table-column/index.js +0 -2
- package/esm2015/components/table/table-column/models/badge-column.interface.js +0 -1
- package/esm2015/components/table/table-column/models/badge-configs.interface.js +0 -1
- package/esm2015/components/table/table-column/models/column-colors.js +0 -1
- package/esm2015/components/table/table-column/models/column-values.interface.js +0 -1
- package/esm2015/components/table/table-column/models/column.interface.js +0 -1
- package/esm2015/components/table/table-column/models/dynamic-editable-grid.interface.js +0 -1
- package/esm2015/components/table/table-column/models/enum-badge-colors.js +0 -10
- package/esm2015/components/table/table-column/models/enum-column-field-type.js +0 -13
- package/esm2015/components/table/table-column/models/index.js +0 -3
- package/esm2015/components/table/table-column/models/locale-options.interface.js +0 -1
- package/esm2015/components/table/table-column/models/number-locale-options.interface.js +0 -1
- package/esm2015/components/table/table-column/table-columns.component.js +0 -285
- package/esm2015/components/table/table-paging/index.js +0 -1
- package/esm2015/components/table/table-paging/models/custom-action.interface.js +0 -1
- package/esm2015/components/table/table-paging/models/index.js +0 -1
- package/esm2015/components/table/table-paging/table-paging.component.js +0 -313
- package/esm2015/components/table/table.module.js +0 -45
- package/esm2015/components/table-header/index.js +0 -3
- package/esm2015/components/table-header/table-header-checkbox.component.js +0 -141
- package/esm2015/components/table-header/table-header-checkox.module.js +0 -15
- package/esm2015/components/template/index.js +0 -3
- package/esm2015/components/template/template.directive.js +0 -20
- package/esm2015/components/template/template.module.js +0 -15
- package/esm2015/components/text-area/index.js +0 -3
- package/esm2015/components/text-area/text-area/text-area.component.js +0 -115
- package/esm2015/components/text-area/text-area.module.js +0 -24
- package/esm2015/components/text-area-ia/index.js +0 -3
- package/esm2015/components/text-area-ia/text-area-ia.component.js +0 -144
- package/esm2015/components/text-area-ia/text-area-ia.module.js +0 -32
- package/esm2015/components/thumbnail/index.js +0 -4
- package/esm2015/components/thumbnail/thumbnail-size.js +0 -7
- package/esm2015/components/thumbnail/thumbnail.component.js +0 -80
- package/esm2015/components/thumbnail/thumbnail.module.js +0 -17
- package/esm2015/components/thumbnail/thumbnail.service.js +0 -61
- package/esm2015/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.js +0 -16
- package/esm2015/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.js +0 -41
- package/esm2015/components/thumbnails/components/thumbnail-item/thumbnail-item.component.js +0 -66
- package/esm2015/components/thumbnails/index.js +0 -3
- package/esm2015/components/thumbnails/models/thumbnails-item.js +0 -1
- package/esm2015/components/thumbnails/thumbnails.component.js +0 -56
- package/esm2015/components/thumbnails/thumbnails.module.js +0 -21
- package/esm2015/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +0 -283
- package/esm2015/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.js +0 -13
- package/esm2015/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +0 -76
- package/esm2015/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +0 -178
- package/esm2015/components/tiered-menu/index.js +0 -3
- package/esm2015/components/tiered-menu/models/index.js +0 -1
- package/esm2015/components/tiered-menu/models/tiered-menu-item-data.js +0 -1
- package/esm2015/components/tiered-menu/models/tiered-menu-item-internal-data.js +0 -1
- package/esm2015/components/tiered-menu/services/tiered-menu.event.service.js +0 -18
- package/esm2015/components/tiered-menu/services/tiered-menu.global.service.js +0 -9
- package/esm2015/components/tiered-menu/services/tiered-menu.service.js +0 -51
- package/esm2015/components/tiered-menu/tiered-menu.directive.js +0 -220
- package/esm2015/components/tiered-menu/tiered-menu.module.js +0 -29
- package/esm2015/components/tiered-menu/utils.js +0 -7
- package/esm2015/components/tile/index.js +0 -3
- package/esm2015/components/tile/tile.component.js +0 -71
- package/esm2015/components/tile/tile.module.js +0 -24
- package/esm2015/components/timeline/components/horizontal-timeline/horizontal-timeline.component.js +0 -25
- package/esm2015/components/timeline/components/horizontal-timeline/horizontal-timeline.module.js +0 -21
- package/esm2015/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +0 -25
- package/esm2015/components/timeline/components/timeline-icon-item/timeline-icon-item.module.js +0 -19
- package/esm2015/components/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.js +0 -26
- package/esm2015/components/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.js +0 -35
- package/esm2015/components/timeline/components/vertical-timeline/components/range-line/range-line.component.js +0 -13
- package/esm2015/components/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.js +0 -28
- package/esm2015/components/timeline/components/vertical-timeline/vertical-timeline.component.js +0 -53
- package/esm2015/components/timeline/components/vertical-timeline/vertical-timeline.module.js +0 -29
- package/esm2015/components/timeline/index.js +0 -4
- package/esm2015/components/timeline/models/index.js +0 -4
- package/esm2015/components/timeline/models/timeline-item-severity.js +0 -7
- package/esm2015/components/timeline/models/timeline-item-size.js +0 -6
- package/esm2015/components/timeline/models/timeline-item.js +0 -37
- package/esm2015/components/timeline/timeline.component.js +0 -66
- package/esm2015/components/timeline/timeline.module.js +0 -27
- package/esm2015/components/toast/index.js +0 -4
- package/esm2015/components/toast/toast.component.js +0 -51
- package/esm2015/components/toast/toast.module.js +0 -14
- package/esm2015/components/toast/toast.service.js +0 -68
- package/esm2015/components/toast/types/toast.js +0 -1
- package/esm2015/components/token-list/index.js +0 -3
- package/esm2015/components/token-list/models/index.js +0 -1
- package/esm2015/components/token-list/models/token.js +0 -1
- package/esm2015/components/token-list/token-list.component.js +0 -50
- package/esm2015/components/token-list/token-list.module.js +0 -15
- package/esm2015/components/tooltip/index.js +0 -3
- package/esm2015/components/tooltip/models/index.js +0 -4
- package/esm2015/components/tooltip/models/mobile-behavior.js +0 -6
- package/esm2015/components/tooltip/models/tooltip-event.js +0 -6
- package/esm2015/components/tooltip/models/tooltip-position.js +0 -8
- package/esm2015/components/tooltip/tooltip.component.js +0 -21
- package/esm2015/components/tooltip/tooltip.directive.js +0 -331
- package/esm2015/components/tooltip/tooltip.module.js +0 -19
- package/esm2015/components/tree/Models/tree.models.js +0 -1
- package/esm2015/components/tree/components/tree-node-item/tree-node-item.component.js +0 -154
- package/esm2015/components/tree/index.js +0 -3
- package/esm2015/components/tree/tree.component.js +0 -254
- package/esm2015/components/tree/tree.module.js +0 -20
- package/esm2015/components/utils/breakpoints.js +0 -11
- package/esm2015/components/utils/debouce.js +0 -35
- package/esm2015/components/utils/export-utils.js +0 -89
- package/esm2015/components/utils/index.js +0 -6
- package/esm2015/components/utils/locale-utils.js +0 -15
- package/esm2015/components/utils/utils.js +0 -44
- package/esm2015/components/workspace-switch/index.js +0 -3
- package/esm2015/components/workspace-switch/models/index.js +0 -1
- package/esm2015/components/workspace-switch/models/workspace.js +0 -1
- package/esm2015/components/workspace-switch/workspace-switch.component.js +0 -143
- package/esm2015/components/workspace-switch/workspace-switch.module.js +0 -15
- package/esm2015/locale/fallback.js +0 -333
- package/esm2015/public-api.js +0 -5
- package/esm2015/seniorsistemas-angular-components.js +0 -117
- package/esm2015/utils/currency/currency.service.js +0 -189
- package/esm2015/utils/currency/index.js +0 -2
- package/esm2015/utils/index.js +0 -3
- package/esm2015/utils/svg-factory/components/iassist-icon/iassist-icon.component.js +0 -11
- package/esm2015/utils/svg-factory/components/senior-icon/senior-icon.component.js +0 -11
- package/esm2015/utils/svg-factory/components/svg-factory-icons.js +0 -6
- package/esm2015/utils/svg-factory/index.js +0 -3
- package/esm2015/utils/svg-factory/svg-factory.directive.js +0 -49
- package/esm2015/utils/svg-factory/svg-factory.module.js +0 -21
- package/esm5/angular-components.module.js +0 -26
- package/esm5/components/accessibility-events/accessibility-events.module.js +0 -20
- package/esm5/components/accessibility-events/directives/accessibility-event.directive.js +0 -67
- package/esm5/components/accessibility-events/index.js +0 -3
- package/esm5/components/accordion/accordion.component.js +0 -115
- package/esm5/components/accordion/accordion.module.js +0 -34
- package/esm5/components/accordion/components/accordion-panel/accordion-panel.component.js +0 -124
- package/esm5/components/accordion/index.js +0 -4
- package/esm5/components/accordion/models/accordion-button-settings.js +0 -1
- package/esm5/components/accordion/models/accordion-switch-settings.js +0 -1
- package/esm5/components/alert/alert.component.js +0 -52
- package/esm5/components/alert/alert.module.js +0 -18
- package/esm5/components/alert/index.js +0 -3
- package/esm5/components/badge/badge.component.js +0 -62
- package/esm5/components/badge/badge.module.js +0 -20
- package/esm5/components/badge/index.js +0 -4
- package/esm5/components/badge/models/badge-colors.js +0 -12
- package/esm5/components/badge/models/badge-types.js +0 -6
- package/esm5/components/badge/models/index.js +0 -3
- package/esm5/components/bignumber-input/bignumber-input.directive.js +0 -153
- package/esm5/components/bignumber-input/bignumber-input.module.js +0 -18
- package/esm5/components/bignumber-input/index.js +0 -3
- package/esm5/components/breadcrumb/breadcrumb.component.js +0 -95
- package/esm5/components/breadcrumb/breadcrumb.module.js +0 -20
- package/esm5/components/breadcrumb/index.js +0 -3
- package/esm5/components/button/button.component.js +0 -141
- package/esm5/components/button/button.module.js +0 -23
- package/esm5/components/button/index.js +0 -6
- package/esm5/components/button/models/button-animation.js +0 -5
- package/esm5/components/button/models/button-badge-config.js +0 -1
- package/esm5/components/button/models/button-priority.js +0 -9
- package/esm5/components/button/models/button-size.js +0 -6
- package/esm5/components/calendar-mask/calendar-mask.directive.js +0 -584
- package/esm5/components/calendar-mask/calendar-mask.module.js +0 -18
- package/esm5/components/calendar-mask/index.js +0 -3
- package/esm5/components/card/card.component.js +0 -79
- package/esm5/components/card/card.module.js +0 -19
- package/esm5/components/card/index.js +0 -4
- package/esm5/components/card/models/card-template-types.js +0 -7
- package/esm5/components/chat/chat.component.js +0 -34
- package/esm5/components/chat/chat.module.js +0 -21
- package/esm5/components/chat/components/chat-message/chat-message.component.js +0 -29
- package/esm5/components/chat/index.js +0 -3
- package/esm5/components/chat/types/chat-message.js +0 -1
- package/esm5/components/checkbox/checkbox.component.js +0 -116
- package/esm5/components/checkbox/checkbox.module.js +0 -19
- package/esm5/components/checkbox/index.js +0 -3
- package/esm5/components/checkbox/models/checkbox-data.js +0 -1
- package/esm5/components/checkbox/models/checkbox-state.js +0 -1
- package/esm5/components/checkbox/models/index.js +0 -1
- package/esm5/components/chips/chip-item/chip-item.component.js +0 -77
- package/esm5/components/chips/chips/chips.component.js +0 -235
- package/esm5/components/chips/chips.module.js +0 -27
- package/esm5/components/chips/index.js +0 -3
- package/esm5/components/chips/models/chip-models.js +0 -1
- package/esm5/components/code-editor/code-editor.component.js +0 -131
- package/esm5/components/code-editor/code-editor.module.js +0 -27
- package/esm5/components/code-editor/core/facades/core-facade.js +0 -102
- package/esm5/components/code-editor/core/facades/linter-facade.js +0 -1
- package/esm5/components/code-editor/core/models/enums/marker-severity.js +0 -7
- package/esm5/components/code-editor/core/models/index.js +0 -3
- package/esm5/components/code-editor/core/models/interfaces/marker.js +0 -1
- package/esm5/components/code-editor/core/use-cases/core-linters.js +0 -13
- package/esm5/components/code-editor/index.js +0 -5
- package/esm5/components/code-editor/infra/cores/codemirror-6/codemirror-6-core.js +0 -132
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/editor-languages.js +0 -21
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/json/json.language.js +0 -25
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-empty-state.js +0 -29
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-loading-state.js +0 -29
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper-style.js +0 -17
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper.js +0 -68
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/index.js +0 -4
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-style.js +0 -35
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.js +0 -355
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.service.js +0 -46
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/base-configs.js +0 -19
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/grammar.js +0 -2
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/completion-types.js +0 -10
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/enum-type-order.js +0 -8
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/keywords.js +0 -12
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/meta-type.js +0 -36
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/request-types.js +0 -9
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/index.js +0 -7
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/completion-Item.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/facade-metadata-name.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/fields-order-by.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/get-facade-metadata-by-path.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-context-metadata-by-id.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-expression-metadata.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-facade-metadata-names.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-expression-metadata.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-context-metadata.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-facade-metadata.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-field-metadata.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-page-request.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/safe-http-communication.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/tax-calculation-configs.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation-language-configs.js +0 -14
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation.language.js +0 -9
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-language-configs.js +0 -15
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-safe-response.js +0 -27
- package/esm5/components/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/index.js +0 -3
- package/esm5/components/code-editor/infra/cores/codemirror-6/models/index.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/models/types/diagnostic-severity.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/models/types/editor-theme.js +0 -1
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/editor-themes.js +0 -19
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/autocomplete-tooltip.js +0 -61
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/font-style.js +0 -30
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/line-counter.js +0 -25
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/scrollbars.js +0 -18
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-highlight-style.js +0 -16
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-style.js +0 -13
- package/esm5/components/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-theme.js +0 -22
- package/esm5/components/code-editor/infra/cores/codemirror-6/utils/convert-markers-to-diagnostics.js +0 -18
- package/esm5/components/code-editor/infra/cores/codemirror-6/utils/index.js +0 -3
- package/esm5/components/code-editor/infra/cores/codemirror-6/utils/is-current-position-inside-string.js +0 -6
- package/esm5/components/code-editor/infra/utils/custom-http-client/custom-http-client.js +0 -126
- package/esm5/components/code-editor/infra/utils/custom-http-client/json-response-formatters/format-blob-response.js +0 -21
- package/esm5/components/code-editor/infra/utils/custom-http-client/json-response-formatters/format-json-response.js +0 -14
- package/esm5/components/code-editor/infra/utils/custom-http-client/json-response-formatters/index.js +0 -3
- package/esm5/components/code-editor/infra/utils/custom-translations/custom-translations-service.js +0 -41
- package/esm5/components/code-editor/infra/utils/custom-translations/custom-translations.module.js +0 -31
- package/esm5/components/code-editor/infra/utils/custom-translations/index.js +0 -3
- package/esm5/components/code-editor/infra/utils/custom-translations/models/index.js +0 -1
- package/esm5/components/code-editor/infra/utils/custom-translations/models/interfaces/translations.js +0 -1
- package/esm5/components/code-editor/infra/utils/index.js +0 -3
- package/esm5/components/code-editor/models/enums/languages.js +0 -6
- package/esm5/components/code-editor/models/enums/themes.js +0 -5
- package/esm5/components/code-editor/models/index.js +0 -4
- package/esm5/components/code-editor/models/interfaces/editor-options.js +0 -1
- package/esm5/components/collapse-link/collapse-link.component.js +0 -75
- package/esm5/components/collapse-link/collapse-link.module.js +0 -18
- package/esm5/components/collapse-link/index.js +0 -3
- package/esm5/components/control-errors/control-errors.component.js +0 -40
- package/esm5/components/control-errors/control-errors.module.js +0 -19
- package/esm5/components/control-errors/index.js +0 -3
- package/esm5/components/country-phone-picker/country-phone-picker.component.js +0 -327
- package/esm5/components/country-phone-picker/country-phone-picker.module.js +0 -30
- package/esm5/components/country-phone-picker/country-phone-picker.service.js +0 -46
- package/esm5/components/country-phone-picker/index.js +0 -5
- package/esm5/components/country-phone-picker/models/country-phone-data.js +0 -1
- package/esm5/components/country-phone-picker/models/index.js +0 -2
- package/esm5/components/country-phone-picker/models/ordination.js +0 -7
- package/esm5/components/country-phone-picker/models/phone-selection-data.js +0 -1
- package/esm5/components/country-phone-picker/resources/countries.js +0 -228
- package/esm5/components/country-phone-picker/resources/index.js +0 -2
- package/esm5/components/custom-fields/custom-fields.component.js +0 -649
- package/esm5/components/custom-fields/custom-fields.module.js +0 -33
- package/esm5/components/custom-fields/custom-fields.service.js +0 -37
- package/esm5/components/custom-fields/index.js +0 -4
- package/esm5/components/custom-fields/models/custom-field-type.js +0 -17
- package/esm5/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +0 -38
- package/esm5/components/dynamic-form/components/field-label/field-label.component.js +0 -21
- package/esm5/components/dynamic-form/components/field-label/field-label.module.js +0 -22
- package/esm5/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +0 -33
- package/esm5/components/dynamic-form/components/fields/base-field-component.js +0 -13
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +0 -122
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +0 -35
- package/esm5/components/dynamic-form/components/fields/boolean/boolean-field.component.js +0 -23
- package/esm5/components/dynamic-form/components/fields/boolean/boolean-switch-field.component.js +0 -20
- package/esm5/components/dynamic-form/components/fields/button-field/button-field.component.js +0 -34
- package/esm5/components/dynamic-form/components/fields/calendar/calendar-field.component.js +0 -107
- package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +0 -20
- package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +0 -20
- package/esm5/components/dynamic-form/components/fields/chips/chips-field.component.js +0 -55
- package/esm5/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +0 -33
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.component.js +0 -75
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +0 -33
- package/esm5/components/dynamic-form/components/fields/editor/editor-field.component.js +0 -23
- package/esm5/components/dynamic-form/components/fields/editor/editor-field.module.js +0 -21
- package/esm5/components/dynamic-form/components/fields/file-upload/file-upload.component.js +0 -55
- package/esm5/components/dynamic-form/components/fields/index.js +0 -22
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +0 -20
- package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +0 -122
- package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +0 -37
- package/esm5/components/dynamic-form/components/fields/password/password-field.component.js +0 -79
- package/esm5/components/dynamic-form/components/fields/password/password-field.module.js +0 -33
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +0 -20
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +0 -27
- package/esm5/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +0 -51
- package/esm5/components/dynamic-form/components/fields/select/select-field.component.js +0 -23
- package/esm5/components/dynamic-form/components/fields/slider/slider-field.component.js +0 -123
- package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +0 -94
- package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +0 -35
- package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +0 -27
- package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +0 -94
- package/esm5/components/dynamic-form/components/grid/row/row.component.js +0 -37
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +0 -598
- package/esm5/components/dynamic-form/components/lookup/models/default-filter.js +0 -1
- package/esm5/components/dynamic-form/components/lookup/models/index.js +0 -1
- package/esm5/components/dynamic-form/components/structure/base-structure-component.js +0 -1
- package/esm5/components/dynamic-form/components/structure/fieldset/fieldset.component.js +0 -26
- package/esm5/components/dynamic-form/components/structure/section/section.component.js +0 -44
- package/esm5/components/dynamic-form/configurations/addon-config.js +0 -1
- package/esm5/components/dynamic-form/configurations/dynamic-config.js +0 -73
- package/esm5/components/dynamic-form/configurations/dynamic-type.js +0 -26
- package/esm5/components/dynamic-form/configurations/field-size.js +0 -12
- package/esm5/components/dynamic-form/configurations/field-type.js +0 -32
- package/esm5/components/dynamic-form/configurations/fields/autocomplete-field.js +0 -16
- package/esm5/components/dynamic-form/configurations/fields/bignumber-field.js +0 -28
- package/esm5/components/dynamic-form/configurations/fields/blob-field.js +0 -24
- package/esm5/components/dynamic-form/configurations/fields/boolean-field.js +0 -28
- package/esm5/components/dynamic-form/configurations/fields/boolean-switch-field.js +0 -18
- package/esm5/components/dynamic-form/configurations/fields/button-field.js +0 -35
- package/esm5/components/dynamic-form/configurations/fields/calendar-field.js +0 -42
- package/esm5/components/dynamic-form/configurations/fields/checkbox-field.js +0 -13
- package/esm5/components/dynamic-form/configurations/fields/chips-field.js +0 -22
- package/esm5/components/dynamic-form/configurations/fields/country-phone-picker-field.js +0 -16
- package/esm5/components/dynamic-form/configurations/fields/currency-field.js +0 -17
- package/esm5/components/dynamic-form/configurations/fields/decimal-field.js +0 -19
- package/esm5/components/dynamic-form/configurations/fields/editor-field.js +0 -16
- package/esm5/components/dynamic-form/configurations/fields/field.js +0 -49
- package/esm5/components/dynamic-form/configurations/fields/index.js +0 -22
- package/esm5/components/dynamic-form/configurations/fields/lookup-field.js +0 -51
- package/esm5/components/dynamic-form/configurations/fields/number-field.js +0 -28
- package/esm5/components/dynamic-form/configurations/fields/password-field.js +0 -25
- package/esm5/components/dynamic-form/configurations/fields/profile-picture.js +0 -26
- package/esm5/components/dynamic-form/configurations/fields/radio-button-field.js +0 -26
- package/esm5/components/dynamic-form/configurations/fields/select-field.js +0 -33
- package/esm5/components/dynamic-form/configurations/fields/slider-field.js +0 -26
- package/esm5/components/dynamic-form/configurations/fields/text-area-field.js +0 -25
- package/esm5/components/dynamic-form/configurations/fields/text-area-ia-field.js +0 -26
- package/esm5/components/dynamic-form/configurations/fields/text-field.js +0 -29
- package/esm5/components/dynamic-form/configurations/form-field.js +0 -96
- package/esm5/components/dynamic-form/configurations/grid/grid.js +0 -13
- package/esm5/components/dynamic-form/configurations/grid/row.js +0 -11
- package/esm5/components/dynamic-form/configurations/grid-type.js +0 -5
- package/esm5/components/dynamic-form/configurations/structure/fieldset.js +0 -13
- package/esm5/components/dynamic-form/configurations/structure/section.js +0 -34
- package/esm5/components/dynamic-form/configurations/structure/structure.js +0 -10
- package/esm5/components/dynamic-form/configurations/structure-type.js +0 -6
- package/esm5/components/dynamic-form/dynamic-form.component.js +0 -33
- package/esm5/components/dynamic-form/dynamic-form.directive.js +0 -85
- package/esm5/components/dynamic-form/dynamic-form.js +0 -215
- package/esm5/components/dynamic-form/dynamic-form.module.js +0 -194
- package/esm5/components/dynamic-form/index.js +0 -31
- package/esm5/components/dynamic-form/services/IAssist/iassist.service.js +0 -58
- package/esm5/components/dynamic-form/services/IAssist/models/iassist-input-data.js +0 -1
- package/esm5/components/dynamic-form/services/IAssist/models/iassist-response.js +0 -1
- package/esm5/components/dynamic-form/services/IAssist/models/index.js +0 -1
- package/esm5/components/editable-overlay/editable-overlay.directive.js +0 -45
- package/esm5/components/editable-overlay/editable-overlay.module.js +0 -18
- package/esm5/components/editable-overlay/index.js +0 -3
- package/esm5/components/empty-state/empty-state.component.js +0 -59
- package/esm5/components/empty-state/empty-state.module.js +0 -22
- package/esm5/components/empty-state/go-back/go-back.component.js +0 -38
- package/esm5/components/empty-state/index.js +0 -3
- package/esm5/components/fieldset/fieldset.component.js +0 -69
- package/esm5/components/fieldset/fieldset.models.js +0 -1
- package/esm5/components/fieldset/fieldset.module.js +0 -19
- package/esm5/components/fieldset/index.js +0 -3
- package/esm5/components/file-upload/file-upload.component.js +0 -304
- package/esm5/components/file-upload/file-upload.module.js +0 -30
- package/esm5/components/file-upload/file-upload.service.js +0 -22
- package/esm5/components/file-upload/index.js +0 -4
- package/esm5/components/file-upload/models/file-dto.js +0 -1
- package/esm5/components/file-upload/models/file-upload-permissions.js +0 -12
- package/esm5/components/file-upload/models/index.js +0 -3
- package/esm5/components/file-upload/models/list-blob-metadata.js +0 -1
- package/esm5/components/file-upload/models/uploadError.js +0 -1
- package/esm5/components/file-upload/models/validate-errors.js +0 -8
- package/esm5/components/gantt/components/gantt/arrow.js +0 -81
- package/esm5/components/gantt/components/gantt/bar.js +0 -299
- package/esm5/components/gantt/components/gantt/gantt-options.js +0 -20
- package/esm5/components/gantt/components/gantt/gantt.js +0 -924
- package/esm5/components/gantt/components/gantt/popup.js +0 -84
- package/esm5/components/gantt/components/gantt/utils/date-utils.js +0 -135
- package/esm5/components/gantt/components/gantt/utils/svg-utils.js +0 -121
- package/esm5/components/gantt/components/side-table/side-table.component.js +0 -33
- package/esm5/components/gantt/gantt.component.js +0 -162
- package/esm5/components/gantt/gantt.module.js +0 -23
- package/esm5/components/gantt/index.js +0 -4
- package/esm5/components/gantt/models/index.js +0 -2
- package/esm5/components/gantt/models/options.js +0 -1
- package/esm5/components/gantt/models/task.js +0 -1
- package/esm5/components/gantt/models/view-mode.js +0 -12
- package/esm5/components/global-search/elements/dropdown/global-search-dropdown-item.component.js +0 -78
- package/esm5/components/global-search/global-search-size.enum.js +0 -7
- package/esm5/components/global-search/global-search.component.js +0 -137
- package/esm5/components/global-search/global-search.module.js +0 -53
- package/esm5/components/global-search/index.js +0 -5
- package/esm5/components/grid-menu/components/grid-menu-item/grid-menu-item.component.js +0 -79
- package/esm5/components/grid-menu/grid-menu.component.js +0 -66
- package/esm5/components/grid-menu/grid-menu.module.js +0 -20
- package/esm5/components/grid-menu/index.js +0 -3
- package/esm5/components/grid-menu/types/grid-menu-item.js +0 -1
- package/esm5/components/help-popover/help-popover/help-popover.component.js +0 -115
- package/esm5/components/help-popover/help-popover.directive.js +0 -348
- package/esm5/components/help-popover/help-popover.module.js +0 -23
- package/esm5/components/help-popover/index.js +0 -4
- package/esm5/components/help-popover/models/help-popover.models.js +0 -1
- package/esm5/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +0 -16
- package/esm5/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +0 -96
- package/esm5/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +0 -61
- package/esm5/components/ia-insight/ia-insight.component.js +0 -83
- package/esm5/components/ia-insight/ia-insight.module.js +0 -43
- package/esm5/components/ia-insight/index.js +0 -4
- package/esm5/components/ia-insight/models/ia-insight-item.js +0 -1
- package/esm5/components/ia-insight/models/ia-insight-template-types.js +0 -7
- package/esm5/components/ia-insight/models/index.js +0 -2
- package/esm5/components/image-cropper/image-cropper.component.js +0 -185
- package/esm5/components/image-cropper/image-cropper.module.js +0 -23
- package/esm5/components/image-cropper/image-cropper.service.js +0 -70
- package/esm5/components/image-cropper/index.js +0 -4
- package/esm5/components/index.js +0 -77
- package/esm5/components/infinite-scroll/infinite-scroll.directive.js +0 -31
- package/esm5/components/infinite-scroll/infinite-scroll.module.js +0 -24
- package/esm5/components/info-sign/index.js +0 -3
- package/esm5/components/info-sign/info-sign.component.js +0 -16
- package/esm5/components/info-sign/info-sign.directive.js +0 -69
- package/esm5/components/info-sign/info-sign.module.js +0 -27
- package/esm5/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +0 -53
- package/esm5/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +0 -33
- package/esm5/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +0 -99
- package/esm5/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +0 -33
- package/esm5/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +0 -33
- package/esm5/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +0 -33
- package/esm5/components/inline-edit/components/index.js +0 -8
- package/esm5/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +0 -112
- package/esm5/components/inline-edit/fields/index.js +0 -8
- package/esm5/components/inline-edit/fields/inline-edit-calendar-field.js +0 -31
- package/esm5/components/inline-edit/fields/inline-edit-field.js +0 -11
- package/esm5/components/inline-edit/fields/inline-edit-lookup-field.js +0 -50
- package/esm5/components/inline-edit/fields/inline-edit-number-field.js +0 -29
- package/esm5/components/inline-edit/fields/inline-edit-text-area-field.js +0 -16
- package/esm5/components/inline-edit/fields/inline-edit-text-area-ia-field.js +0 -11
- package/esm5/components/inline-edit/fields/inline-edit-text-field.js +0 -11
- package/esm5/components/inline-edit/index.js +0 -4
- package/esm5/components/inline-edit/inline-edit.component.js +0 -84
- package/esm5/components/inline-edit/inline-edit.module.js +0 -65
- package/esm5/components/kanban/components/kanban-column/kanban-column.component.js +0 -99
- package/esm5/components/kanban/components/kanban-item/kanban-item.component.js +0 -62
- package/esm5/components/kanban/components/kanban-item-dragging/kanban-item-dragging.component.js +0 -20
- package/esm5/components/kanban/index.js +0 -4
- package/esm5/components/kanban/kanban-event.service.js +0 -28
- package/esm5/components/kanban/kanban.component.js +0 -221
- package/esm5/components/kanban/kanban.module.js +0 -48
- package/esm5/components/kanban/models/index.js +0 -2
- package/esm5/components/kanban/models/kanban-data.js +0 -1
- package/esm5/components/kanban/models/kanban-template-types.js +0 -9
- package/esm5/components/label-value/index.js +0 -3
- package/esm5/components/label-value/label-value.component.js +0 -34
- package/esm5/components/label-value/label-value.module.js +0 -23
- package/esm5/components/label-value/types/label-value-configuration.js +0 -1
- package/esm5/components/loading-state/components/dots-indicator/dots-indicator.components.js +0 -16
- package/esm5/components/loading-state/components/loading-state-indicators.js +0 -6
- package/esm5/components/loading-state/components/logo-indicator/logo-indicator.component.js +0 -16
- package/esm5/components/loading-state/index.js +0 -4
- package/esm5/components/loading-state/loading-state.component.js +0 -81
- package/esm5/components/loading-state/loading-state.directive.js +0 -65
- package/esm5/components/loading-state/loading-state.module.js +0 -34
- package/esm5/components/locale/index.js +0 -11
- package/esm5/components/locale/locale.module.js +0 -75
- package/esm5/components/locale/locale.service.js +0 -93
- package/esm5/components/locale/options/calendar.js +0 -33
- package/esm5/components/locale/options/index.js +0 -28
- package/esm5/components/locale/options/number.js +0 -12
- package/esm5/components/locale/pipes/localized-bignumber-impure.pipe.js +0 -21
- package/esm5/components/locale/pipes/localized-bignumber.pipe.js +0 -40
- package/esm5/components/locale/pipes/localized-currency-impure.pipe.js +0 -25
- package/esm5/components/locale/pipes/localized-currency.pipe.js +0 -59
- package/esm5/components/locale/pipes/localized-date-impure.pipe.js +0 -18
- package/esm5/components/locale/pipes/localized-date.pipe.js +0 -26
- package/esm5/components/locale/pipes/localized-number.pipe.js +0 -32
- package/esm5/components/locale/pipes/localized-time-impure.pipe.js +0 -18
- package/esm5/components/locale/pipes/localized-time.pipe.js +0 -26
- package/esm5/components/locale/pipes/numeric.pipe.js +0 -32
- package/esm5/components/locale/services/numeric.service.js +0 -87
- package/esm5/components/localized-number-input/index.js +0 -3
- package/esm5/components/localized-number-input/localized-number-input.directive.js +0 -61
- package/esm5/components/localized-number-input/localized-number-input.module.js +0 -18
- package/esm5/components/mask/index.js +0 -3
- package/esm5/components/mask/mask-formatter.module.js +0 -16
- package/esm5/components/mask/mask-formatter.pipe.js +0 -72
- package/esm5/components/mouse-events/double-click.directive.js +0 -40
- package/esm5/components/mouse-events/index.js +0 -4
- package/esm5/components/mouse-events/long-press.directive.js +0 -51
- package/esm5/components/mouse-events/mouse-events.module.js +0 -25
- package/esm5/components/navigation-button/index.js +0 -3
- package/esm5/components/navigation-button/models/index.js +0 -1
- package/esm5/components/navigation-button/models/navigation-button-item.js +0 -1
- package/esm5/components/navigation-button/models/navigation-button-step-changed-info.js +0 -1
- package/esm5/components/navigation-button/navigation-button.component.js +0 -131
- package/esm5/components/navigation-button/navigation-button.module.js +0 -20
- package/esm5/components/number-input/index.js +0 -3
- package/esm5/components/number-input/number-input.directive.js +0 -167
- package/esm5/components/number-input/number-input.module.js +0 -21
- package/esm5/components/object-card/elements/field/object-card-field.component.js +0 -55
- package/esm5/components/object-card/elements/main/object-card-main.component.js +0 -99
- package/esm5/components/object-card/index.js +0 -5
- package/esm5/components/object-card/object-card.component.js +0 -139
- package/esm5/components/object-card/object-card.module.js +0 -24
- package/esm5/components/panel/index.js +0 -3
- package/esm5/components/panel/panel.component.js +0 -85
- package/esm5/components/panel/panel.module.js +0 -20
- package/esm5/components/password-strength/index.js +0 -5
- package/esm5/components/password-strength/models/index.js +0 -3
- package/esm5/components/password-strength/models/password-positions.js +0 -7
- package/esm5/components/password-strength/models/password-strengths.js +0 -8
- package/esm5/components/password-strength/password-strength.component.js +0 -96
- package/esm5/components/password-strength/password-strength.directive.js +0 -197
- package/esm5/components/password-strength/password-strength.module.js +0 -22
- package/esm5/components/picklist/index.js +0 -5
- package/esm5/components/picklist/picklist/models/picklist-models.js +0 -6
- package/esm5/components/picklist/picklist/picklist.component.js +0 -339
- package/esm5/components/picklist/picklist.module.js +0 -28
- package/esm5/components/product-header/index.js +0 -3
- package/esm5/components/product-header/product-header.component.js +0 -47
- package/esm5/components/product-header/product-header.module.js +0 -20
- package/esm5/components/profile-picture-picker/index.js +0 -4
- package/esm5/components/profile-picture-picker/models/confirmation-texts.js +0 -1
- package/esm5/components/profile-picture-picker/models/cropper-labels-config.js +0 -1
- package/esm5/components/profile-picture-picker/models/file-validation-errors.js +0 -8
- package/esm5/components/profile-picture-picker/models/index.js +0 -2
- package/esm5/components/profile-picture-picker/models/profile-picture-picker-data.js +0 -1
- package/esm5/components/profile-picture-picker/profile-picture-picker.component.js +0 -270
- package/esm5/components/profile-picture-picker/profile-picture-picker.module.js +0 -36
- package/esm5/components/progressbar/components/progressbar-determinate/progressbar-determinate.component.js +0 -63
- package/esm5/components/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.js +0 -22
- package/esm5/components/progressbar/index.js +0 -4
- package/esm5/components/progressbar/models/index.js +0 -3
- package/esm5/components/progressbar/models/progressbar-colors.js +0 -8
- package/esm5/components/progressbar/models/progressbar-mode.js +0 -6
- package/esm5/components/progressbar/progressbar.component.js +0 -63
- package/esm5/components/progressbar/progressbar.module.js +0 -24
- package/esm5/components/rating-scale/index.js +0 -3
- package/esm5/components/rating-scale/models/index.js +0 -1
- package/esm5/components/rating-scale/models/rating-scale-node.js +0 -1
- package/esm5/components/rating-scale/rating-scale.component.js +0 -54
- package/esm5/components/rating-scale/rating-scale.module.js +0 -22
- package/esm5/components/select-button/components/select-button-item/select-button-item.component.js +0 -35
- package/esm5/components/select-button/index.js +0 -3
- package/esm5/components/select-button/models/index.js +0 -1
- package/esm5/components/select-button/models/select-button-item.js +0 -1
- package/esm5/components/select-button/select-button.component.js +0 -128
- package/esm5/components/select-button/select-button.module.js +0 -22
- package/esm5/components/shared/border-button/border-button.component.js +0 -27
- package/esm5/components/shared/border-button/border-button.module.js +0 -19
- package/esm5/components/shared/helpers.js +0 -35
- package/esm5/components/shared/index.js +0 -3
- package/esm5/components/shared/models/border-button-options.js +0 -1
- package/esm5/components/shared/models/enum-severity.js +0 -9
- package/esm5/components/sidebar/index.js +0 -3
- package/esm5/components/sidebar/sidebar.component.js +0 -74
- package/esm5/components/sidebar/sidebar.module.js +0 -22
- package/esm5/components/slide-panel/index.js +0 -3
- package/esm5/components/slide-panel/slide-panel.component.js +0 -145
- package/esm5/components/slide-panel/slide-panel.module.js +0 -20
- package/esm5/components/slide-panel/slide-panel.service.js +0 -28
- package/esm5/components/slider/index.js +0 -3
- package/esm5/components/slider/slider.component.js +0 -648
- package/esm5/components/slider/slider.module.js +0 -19
- package/esm5/components/speech-recognition/speech-recognition/speech-recognition.component.js +0 -248
- package/esm5/components/speech-recognition/speech-recognition.module.js +0 -22
- package/esm5/components/speech-recognition/speech-recognition.service.js +0 -168
- package/esm5/components/speech-recognition/text-to-speech.service.js +0 -92
- package/esm5/components/split-button/index.js +0 -4
- package/esm5/components/split-button/models/split-button-option.js +0 -1
- package/esm5/components/split-button/models/split-button-type.js +0 -7
- package/esm5/components/split-button/split-button.component.js +0 -69
- package/esm5/components/split-button/split-button.module.js +0 -18
- package/esm5/components/stats-card/index.js +0 -3
- package/esm5/components/stats-card/stats-card.component.js +0 -131
- package/esm5/components/stats-card/stats-card.module.js +0 -26
- package/esm5/components/steps/index.js +0 -3
- package/esm5/components/steps/steps.component.js +0 -107
- package/esm5/components/steps/steps.module.js +0 -19
- package/esm5/components/structure/footer.component.js +0 -15
- package/esm5/components/structure/header.component.js +0 -18
- package/esm5/components/structure/index.js +0 -4
- package/esm5/components/structure/structure.module.js +0 -19
- package/esm5/components/switch/index.js +0 -3
- package/esm5/components/switch/switch.component.js +0 -94
- package/esm5/components/switch/switch.module.js +0 -18
- package/esm5/components/table/frozen-position/frozen-position.directive.js +0 -256
- package/esm5/components/table/index.js +0 -6
- package/esm5/components/table/navigation/navigation.directive.js +0 -137
- package/esm5/components/table/row-toggler/row-toggler.directive.js +0 -39
- package/esm5/components/table/table-column/index.js +0 -2
- package/esm5/components/table/table-column/models/badge-column.interface.js +0 -1
- package/esm5/components/table/table-column/models/badge-configs.interface.js +0 -1
- package/esm5/components/table/table-column/models/column-colors.js +0 -1
- package/esm5/components/table/table-column/models/column-values.interface.js +0 -1
- package/esm5/components/table/table-column/models/column.interface.js +0 -1
- package/esm5/components/table/table-column/models/dynamic-editable-grid.interface.js +0 -1
- package/esm5/components/table/table-column/models/enum-badge-colors.js +0 -10
- package/esm5/components/table/table-column/models/enum-column-field-type.js +0 -13
- package/esm5/components/table/table-column/models/index.js +0 -3
- package/esm5/components/table/table-column/models/locale-options.interface.js +0 -1
- package/esm5/components/table/table-column/models/number-locale-options.interface.js +0 -1
- package/esm5/components/table/table-column/table-columns.component.js +0 -288
- package/esm5/components/table/table-paging/index.js +0 -1
- package/esm5/components/table/table-paging/models/custom-action.interface.js +0 -1
- package/esm5/components/table/table-paging/models/index.js +0 -1
- package/esm5/components/table/table-paging/table-paging.component.js +0 -361
- package/esm5/components/table/table.module.js +0 -48
- package/esm5/components/table-header/index.js +0 -3
- package/esm5/components/table-header/table-header-checkbox.component.js +0 -157
- package/esm5/components/table-header/table-header-checkox.module.js +0 -18
- package/esm5/components/template/index.js +0 -3
- package/esm5/components/template/template.directive.js +0 -21
- package/esm5/components/template/template.module.js +0 -18
- package/esm5/components/text-area/index.js +0 -3
- package/esm5/components/text-area/text-area/text-area.component.js +0 -126
- package/esm5/components/text-area/text-area.module.js +0 -27
- package/esm5/components/text-area-ia/index.js +0 -3
- package/esm5/components/text-area-ia/text-area-ia.component.js +0 -147
- package/esm5/components/text-area-ia/text-area-ia.module.js +0 -35
- package/esm5/components/thumbnail/index.js +0 -4
- package/esm5/components/thumbnail/thumbnail-size.js +0 -7
- package/esm5/components/thumbnail/thumbnail.component.js +0 -83
- package/esm5/components/thumbnail/thumbnail.module.js +0 -20
- package/esm5/components/thumbnail/thumbnail.service.js +0 -65
- package/esm5/components/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.js +0 -19
- package/esm5/components/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.js +0 -44
- package/esm5/components/thumbnails/components/thumbnail-item/thumbnail-item.component.js +0 -68
- package/esm5/components/thumbnails/index.js +0 -3
- package/esm5/components/thumbnails/models/thumbnails-item.js +0 -1
- package/esm5/components/thumbnails/thumbnails.component.js +0 -61
- package/esm5/components/thumbnails/thumbnails.module.js +0 -24
- package/esm5/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +0 -288
- package/esm5/components/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.js +0 -16
- package/esm5/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +0 -78
- package/esm5/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +0 -180
- package/esm5/components/tiered-menu/index.js +0 -3
- package/esm5/components/tiered-menu/models/index.js +0 -1
- package/esm5/components/tiered-menu/models/tiered-menu-item-data.js +0 -1
- package/esm5/components/tiered-menu/models/tiered-menu-item-internal-data.js +0 -1
- package/esm5/components/tiered-menu/services/tiered-menu.event.service.js +0 -19
- package/esm5/components/tiered-menu/services/tiered-menu.global.service.js +0 -12
- package/esm5/components/tiered-menu/services/tiered-menu.service.js +0 -54
- package/esm5/components/tiered-menu/tiered-menu.directive.js +0 -224
- package/esm5/components/tiered-menu/tiered-menu.module.js +0 -32
- package/esm5/components/tiered-menu/utils.js +0 -7
- package/esm5/components/tile/index.js +0 -3
- package/esm5/components/tile/tile.component.js +0 -77
- package/esm5/components/tile/tile.module.js +0 -27
- package/esm5/components/timeline/components/horizontal-timeline/horizontal-timeline.component.js +0 -26
- package/esm5/components/timeline/components/horizontal-timeline/horizontal-timeline.module.js +0 -24
- package/esm5/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +0 -28
- package/esm5/components/timeline/components/timeline-icon-item/timeline-icon-item.module.js +0 -22
- package/esm5/components/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.js +0 -27
- package/esm5/components/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.js +0 -36
- package/esm5/components/timeline/components/vertical-timeline/components/range-line/range-line.component.js +0 -16
- package/esm5/components/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.js +0 -31
- package/esm5/components/timeline/components/vertical-timeline/vertical-timeline.component.js +0 -58
- package/esm5/components/timeline/components/vertical-timeline/vertical-timeline.module.js +0 -32
- package/esm5/components/timeline/index.js +0 -4
- package/esm5/components/timeline/models/index.js +0 -4
- package/esm5/components/timeline/models/timeline-item-severity.js +0 -7
- package/esm5/components/timeline/models/timeline-item-size.js +0 -6
- package/esm5/components/timeline/models/timeline-item.js +0 -39
- package/esm5/components/timeline/timeline.component.js +0 -71
- package/esm5/components/timeline/timeline.module.js +0 -30
- package/esm5/components/toast/index.js +0 -4
- package/esm5/components/toast/toast.component.js +0 -54
- package/esm5/components/toast/toast.module.js +0 -17
- package/esm5/components/toast/toast.service.js +0 -70
- package/esm5/components/toast/types/toast.js +0 -1
- package/esm5/components/token-list/index.js +0 -3
- package/esm5/components/token-list/models/index.js +0 -1
- package/esm5/components/token-list/models/token.js +0 -1
- package/esm5/components/token-list/token-list.component.js +0 -52
- package/esm5/components/token-list/token-list.module.js +0 -18
- package/esm5/components/tooltip/index.js +0 -3
- package/esm5/components/tooltip/models/index.js +0 -4
- package/esm5/components/tooltip/models/mobile-behavior.js +0 -6
- package/esm5/components/tooltip/models/tooltip-event.js +0 -6
- package/esm5/components/tooltip/models/tooltip-position.js +0 -8
- package/esm5/components/tooltip/tooltip.component.js +0 -22
- package/esm5/components/tooltip/tooltip.directive.js +0 -339
- package/esm5/components/tooltip/tooltip.module.js +0 -22
- package/esm5/components/tree/Models/tree.models.js +0 -1
- package/esm5/components/tree/components/tree-node-item/tree-node-item.component.js +0 -169
- package/esm5/components/tree/index.js +0 -3
- package/esm5/components/tree/tree.component.js +0 -280
- package/esm5/components/tree/tree.module.js +0 -23
- package/esm5/components/utils/breakpoints.js +0 -11
- package/esm5/components/utils/debouce.js +0 -50
- package/esm5/components/utils/export-utils.js +0 -96
- package/esm5/components/utils/index.js +0 -6
- package/esm5/components/utils/locale-utils.js +0 -15
- package/esm5/components/utils/utils.js +0 -44
- package/esm5/components/workspace-switch/index.js +0 -3
- package/esm5/components/workspace-switch/models/index.js +0 -1
- package/esm5/components/workspace-switch/models/workspace.js +0 -1
- package/esm5/components/workspace-switch/workspace-switch.component.js +0 -148
- package/esm5/components/workspace-switch/workspace-switch.module.js +0 -18
- package/esm5/locale/fallback.js +0 -333
- package/esm5/public-api.js +0 -5
- package/esm5/seniorsistemas-angular-components.js +0 -117
- package/esm5/utils/currency/currency.service.js +0 -191
- package/esm5/utils/currency/index.js +0 -2
- package/esm5/utils/index.js +0 -3
- package/esm5/utils/svg-factory/components/iassist-icon/iassist-icon.component.js +0 -14
- package/esm5/utils/svg-factory/components/senior-icon/senior-icon.component.js +0 -14
- package/esm5/utils/svg-factory/components/svg-factory-icons.js +0 -6
- package/esm5/utils/svg-factory/index.js +0 -3
- package/esm5/utils/svg-factory/svg-factory.directive.js +0 -54
- package/esm5/utils/svg-factory/svg-factory.module.js +0 -24
- package/fesm2015/seniorsistemas-angular-components.js +0 -22423
- package/fesm2015/seniorsistemas-angular-components.js.map +0 -1
- package/fesm5/seniorsistemas-angular-components.js +0 -24034
- package/fesm5/seniorsistemas-angular-components.js.map +0 -1
- package/seniorsistemas-angular-components.d.ts +0 -116
- package/seniorsistemas-angular-components.metadata.json +0 -1
- package/utils/currency/currency.service.d.ts +0 -642
- package/utils/currency/index.d.ts +0 -1
- package/utils/svg-factory/components/iassist-icon/iassist-icon.component.d.ts +0 -2
- package/utils/svg-factory/components/senior-icon/senior-icon.component.d.ts +0 -2
- package/utils/svg-factory/components/svg-factory-icons.d.ts +0 -4
- package/utils/svg-factory/index.d.ts +0 -2
- package/utils/svg-factory/svg-factory.directive.d.ts +0 -13
- package/utils/svg-factory/svg-factory.module.d.ts +0 -2
- /package/{components → code-editor/lib}/code-editor/core/facades/linter-facade.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/core/models/enums/marker-severity.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/core/models/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/core/models/interfaces/marker.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/editor-languages.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/json/json.language.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-empty-state.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-loading-state.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/autocomplete-state-wrapper/autocomplete-state-wrapper-style.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-states/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete-style.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/autocomplete/autocomplete.service.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/base-configs.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/extensions/base-configs/grammar.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/completion-types.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/enum-type-order.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/keywords.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/meta-type.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/enums/request-types.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/completion-Item.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/facade-metadata-name.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/fields-order-by.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/get-facade-metadata-by-path.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-context-metadata-by-id.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-expression-metadata.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/list-facade-metadata-names.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-expression-metadata.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-context-metadata.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-facade-metadata.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-front-field-metadata.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/rec-page-request.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/models/interfaces/tax-calculation-configs.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation-language-configs.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/tax-calculation.language.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/get-language-configs.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/languages/tax-calculation/utils/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/models/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/editor-themes.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/autocomplete-tooltip.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/font-style.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/line-counter.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/extensions/scrollbars.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-highlight-style.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-style.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/themes/sds-light/sds-light-theme.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/utils/convert-markers-to-diagnostics.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/utils/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/cores/codemirror-6/utils/is-current-position-inside-string.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-http-client/json-response-formatters/format-blob-response.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-http-client/json-response-formatters/format-json-response.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-http-client/json-response-formatters/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-translations/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-translations/models/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/custom-translations/models/interfaces/translations.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/infra/utils/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/models/enums/languages.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/models/enums/themes.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/models/index.d.ts +0 -0
- /package/{components → code-editor/lib}/code-editor/models/interfaces/editor-options.d.ts +0 -0
- /package/{components → country-phone-picker/lib}/country-phone-picker/models/country-phone-data.d.ts +0 -0
- /package/{components → country-phone-picker/lib}/country-phone-picker/models/ordination.d.ts +0 -0
- /package/{components → country-phone-picker/lib}/country-phone-picker/models/phone-selection-data.d.ts +0 -0
- /package/{components → custom-fields/lib}/custom-fields/models/custom-field-type.d.ts +0 -0
- /package/{components → dynamic-form/lib}/dynamic-form/configurations/dynamic-config.d.ts +0 -0
- /package/{components → dynamic-form/lib}/dynamic-form/configurations/dynamic-type.d.ts +0 -0
- /package/{components → dynamic-form/lib}/dynamic-form/configurations/grid-type.d.ts +0 -0
- /package/{components → dynamic-form/lib}/dynamic-form/configurations/structure-type.d.ts +0 -0
- /package/{components/dynamic-form → dynamic-form/lib/dynamic-form/form-field}/configurations/field-size.d.ts +0 -0
- /package/{components/dynamic-form → dynamic-form/lib/dynamic-form/form-field}/configurations/fields/editor-field.d.ts +0 -0
- /package/{components → file-upload/lib}/file-upload/models/list-blob-metadata.d.ts +0 -0
- /package/{components → gantt/lib}/gantt/components/gantt/utils/date-utils.d.ts +0 -0
- /package/{components → gantt/lib}/gantt/models/task.d.ts +0 -0
- /package/{components → gantt/lib}/gantt/models/view-mode.d.ts +0 -0
- /package/{components → inline-edit/lib}/inline-edit/components/index.d.ts +0 -0
- /package/{components → inline-edit/lib}/inline-edit/fields/inline-edit-text-area-field.d.ts +0 -0
- /package/{components → inline-edit/lib}/inline-edit/fields/inline-edit-text-area-ia-field.d.ts +0 -0
- /package/{components → inline-edit/lib}/inline-edit/fields/inline-edit-text-field.d.ts +0 -0
- /package/{locale → lib/locale}/fallback.d.ts +0 -0
- /package/{components → loading-state/lib}/loading-state/components/loading-state-indicators.d.ts +0 -0
- /package/{components → navigation-button/lib}/navigation-button/models/navigation-button-item.d.ts +0 -0
- /package/{components → profile-picture-picker/lib}/profile-picture-picker/models/confirmation-texts.d.ts +0 -0
- /package/{components → profile-picture-picker/lib}/profile-picture-picker/models/cropper-labels-config.d.ts +0 -0
- /package/{components → profile-picture-picker/lib}/profile-picture-picker/models/profile-picture-picker-data.d.ts +0 -0
- /package/{components → rating-scale/lib}/rating-scale/models/rating-scale-node.d.ts +0 -0
- /package/{components → select-button/lib}/select-button/models/select-button-item.d.ts +0 -0
- /package/{components → shared/lib}/shared/helpers.d.ts +0 -0
- /package/{components → split-button/lib}/split-button/models/split-button-option.d.ts +0 -0
- /package/{components/utils → table/lib}/locale-utils.d.ts +0 -0
- /package/{components → table/lib}/table/table-column/models/enum-badge-colors.d.ts +0 -0
- /package/{components → table/lib}/table/table-column/models/enum-column-field-type.d.ts +0 -0
- /package/{components → table/lib}/table/table-paging/models/custom-action.interface.d.ts +0 -0
- /package/{components → timeline/lib}/timeline/models/timeline-item-severity.d.ts +0 -0
- /package/{components → timeline/lib}/timeline/models/timeline-item-size.d.ts +0 -0
- /package/{components → token-list/lib}/token-list/models/token.d.ts +0 -0
- /package/{components → utils/lib}/utils/breakpoints.d.ts +0 -0
- /package/{components → workspace-switch/lib}/workspace-switch/models/workspace.d.ts +0 -0
|
@@ -0,0 +1,3851 @@
|
|
|
1
|
+
import { AlignmentOptions } from '@seniorsistemas/ng2-currency-mask';
|
|
2
|
+
import * as i1$3 from '@seniorsistemas/angular-components/locale';
|
|
3
|
+
import { NumberLocaleOptions, CalendarLocaleOptions, LocaleModule } from '@seniorsistemas/angular-components/locale';
|
|
4
|
+
import * as i7$1 from '@seniorsistemas/angular-components/number-input';
|
|
5
|
+
import { NumberAlignmentOption, NumberInputModule } from '@seniorsistemas/angular-components/number-input';
|
|
6
|
+
import { of, Subject } from 'rxjs';
|
|
7
|
+
import { delay, takeUntil, first } from 'rxjs/operators';
|
|
8
|
+
import { isNullOrUndefined, randomHash } from '@seniorsistemas/angular-components/utils';
|
|
9
|
+
import * as i0 from '@angular/core';
|
|
10
|
+
import { Injectable, inject, ViewContainerRef, Directive, Input, input, computed, Component, ViewEncapsulation, viewChild, EventEmitter, forwardRef, Output, ViewChild, HostListener, NgModule } from '@angular/core';
|
|
11
|
+
import * as i2 from '@angular/common';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import * as i1$1 from '@angular/forms';
|
|
14
|
+
import { FormControl, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
15
|
+
import * as i1 from '@seniorsistemas/angular-components/button';
|
|
16
|
+
import { ButtonModule } from '@seniorsistemas/angular-components/button';
|
|
17
|
+
import * as i3 from '@seniorsistemas/angular-components/control-errors';
|
|
18
|
+
import { ControlErrorsModule } from '@seniorsistemas/angular-components/control-errors';
|
|
19
|
+
import * as i2$1 from '@seniorsistemas/angular-components/info-sign';
|
|
20
|
+
import { InfoSignModule } from '@seniorsistemas/angular-components/info-sign';
|
|
21
|
+
import * as i2$2 from '@ngx-translate/core';
|
|
22
|
+
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
23
|
+
import * as i5 from '@seniorsistemas/angular-components/badge';
|
|
24
|
+
import { BadgeModule } from '@seniorsistemas/angular-components/badge';
|
|
25
|
+
import * as i9 from '@seniorsistemas/angular-components/empty-state';
|
|
26
|
+
import { EmptyStateModule } from '@seniorsistemas/angular-components/empty-state';
|
|
27
|
+
import * as i11 from '@seniorsistemas/angular-components/loading-state';
|
|
28
|
+
import { LoadingStateIndicators, LoadingStateModule } from '@seniorsistemas/angular-components/loading-state';
|
|
29
|
+
import * as i19 from '@seniorsistemas/angular-components/mask';
|
|
30
|
+
import { MaskFormatterModule } from '@seniorsistemas/angular-components/mask';
|
|
31
|
+
import * as i14 from '@seniorsistemas/angular-components/table-header';
|
|
32
|
+
import { TableHeaderCheckboxModule } from '@seniorsistemas/angular-components/table-header';
|
|
33
|
+
import * as i2$3 from '@seniorsistemas/angular-components/tooltip';
|
|
34
|
+
import { TooltipModule } from '@seniorsistemas/angular-components/tooltip';
|
|
35
|
+
import * as i2$5 from '@seniorsistemas/angular-components/bignumber-input';
|
|
36
|
+
import { BignumberInputModule } from '@seniorsistemas/angular-components/bignumber-input';
|
|
37
|
+
import { CalendarMaskModule } from '@seniorsistemas/angular-components/calendar-mask';
|
|
38
|
+
import * as i3$4 from '@seniorsistemas/angular-components/chips';
|
|
39
|
+
import { ChipsModule } from '@seniorsistemas/angular-components/chips';
|
|
40
|
+
import * as i1$6 from '@seniorsistemas/angular-components/country-phone-picker';
|
|
41
|
+
import { CountryPhonePickerModule } from '@seniorsistemas/angular-components/country-phone-picker';
|
|
42
|
+
import * as i2$8 from '@seniorsistemas/angular-components/file-upload';
|
|
43
|
+
import { FileUploadModule } from '@seniorsistemas/angular-components/file-upload';
|
|
44
|
+
import * as i7$2 from '@seniorsistemas/angular-components/localized-number-input';
|
|
45
|
+
import { LocalizedNumberInputModule } from '@seniorsistemas/angular-components/localized-number-input';
|
|
46
|
+
import * as i15 from '@seniorsistemas/angular-components/mouse-events';
|
|
47
|
+
import { MouseEventsModule } from '@seniorsistemas/angular-components/mouse-events';
|
|
48
|
+
import * as i3$2 from '@seniorsistemas/angular-components/switch';
|
|
49
|
+
import { SwitchModule } from '@seniorsistemas/angular-components/switch';
|
|
50
|
+
import * as i2$b from '@seniorsistemas/angular-components/text-area-ia';
|
|
51
|
+
import { TextAreaIAModule } from '@seniorsistemas/angular-components/text-area-ia';
|
|
52
|
+
import * as i1$2 from 'angular2-hotkeys';
|
|
53
|
+
import { Hotkey, HotkeyModule } from 'angular2-hotkeys';
|
|
54
|
+
import * as i3$1 from 'primeng/autocomplete';
|
|
55
|
+
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
56
|
+
import { ButtonModule as ButtonModule$1 } from 'primeng/button';
|
|
57
|
+
import * as i3$3 from 'primeng/datepicker';
|
|
58
|
+
import { DatePickerModule } from 'primeng/datepicker';
|
|
59
|
+
import * as i5$1 from 'primeng/inputmask';
|
|
60
|
+
import { InputMask, InputMaskModule } from 'primeng/inputmask';
|
|
61
|
+
import * as i7 from 'primeng/inputtext';
|
|
62
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
63
|
+
import * as i6$1 from 'primeng/keyfilter';
|
|
64
|
+
import { KeyFilterModule } from 'primeng/keyfilter';
|
|
65
|
+
import { MultiSelectModule } from 'primeng/multiselect';
|
|
66
|
+
import { PanelModule } from 'primeng/panel';
|
|
67
|
+
import * as i12 from 'primeng/table';
|
|
68
|
+
import { Table, TableModule } from 'primeng/table';
|
|
69
|
+
import { __decorate } from 'tslib';
|
|
70
|
+
import { trigger, state, style, transition, group, query, animateChild, animate } from '@angular/animations';
|
|
71
|
+
import BigNumber from 'bignumber.js';
|
|
72
|
+
import { CheckDisabled } from '@seniorsistemas/angular-components/shared';
|
|
73
|
+
import * as i4 from 'primeng/api';
|
|
74
|
+
import * as i8 from '@seniorsistemas/angular-components/dialog';
|
|
75
|
+
import { DialogComponent } from '@seniorsistemas/angular-components/dialog';
|
|
76
|
+
import * as i16 from '@seniorsistemas/angular-components/template';
|
|
77
|
+
import { TemplateModule } from '@seniorsistemas/angular-components/template';
|
|
78
|
+
import * as i2$4 from '@seniorsistemas/angular-components/profile-picture-picker';
|
|
79
|
+
import { ProfilePicturePickerModule } from '@seniorsistemas/angular-components/profile-picture-picker';
|
|
80
|
+
import * as i2$6 from '@seniorsistemas/angular-components/checkbox-list';
|
|
81
|
+
import { CheckboxListModule } from '@seniorsistemas/angular-components/checkbox-list';
|
|
82
|
+
import * as i1$4 from '@seniorsistemas/angular-components/fieldset';
|
|
83
|
+
import { FieldsetModule } from '@seniorsistemas/angular-components/fieldset';
|
|
84
|
+
import * as i6 from '@seniorsistemas/angular-components/password-strength';
|
|
85
|
+
import { PasswordStrengthModule } from '@seniorsistemas/angular-components/password-strength';
|
|
86
|
+
import * as i2$9 from '@seniorsistemas/angular-components/slider';
|
|
87
|
+
import { SliderModule } from '@seniorsistemas/angular-components/slider';
|
|
88
|
+
import * as i2$a from '@seniorsistemas/angular-components/star-rating';
|
|
89
|
+
import { StarRatingComponent } from '@seniorsistemas/angular-components/star-rating';
|
|
90
|
+
import * as i2$c from '@seniorsistemas/angular-components/text-area';
|
|
91
|
+
import { TextAreaModule } from '@seniorsistemas/angular-components/text-area';
|
|
92
|
+
import * as i2$7 from 'primeng/editor';
|
|
93
|
+
import { EditorModule } from 'primeng/editor';
|
|
94
|
+
import * as i4$1 from '@seniorsistemas/angular-components/radio-button';
|
|
95
|
+
import { RadioButtonComponent } from '@seniorsistemas/angular-components/radio-button';
|
|
96
|
+
import { PrimeNG } from 'primeng/config';
|
|
97
|
+
import * as i1$5 from '@angular/cdk/clipboard';
|
|
98
|
+
import * as i1$7 from '@seniorsistemas/angular-components/currency';
|
|
99
|
+
import { currencies } from '@seniorsistemas/angular-components/currency';
|
|
100
|
+
import * as i3$5 from '@seniorsistemas/angular-components/select';
|
|
101
|
+
import { SelectComponent } from '@seniorsistemas/angular-components/select';
|
|
102
|
+
|
|
103
|
+
class FieldSize {
|
|
104
|
+
sm;
|
|
105
|
+
md;
|
|
106
|
+
lg;
|
|
107
|
+
xl;
|
|
108
|
+
constructor({ sm = 12, md = 6, lg = 6, xl = 6 }) {
|
|
109
|
+
this.sm = sm;
|
|
110
|
+
this.md = md;
|
|
111
|
+
this.lg = lg;
|
|
112
|
+
this.xl = xl;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
class Field {
|
|
117
|
+
required;
|
|
118
|
+
visible;
|
|
119
|
+
id;
|
|
120
|
+
name;
|
|
121
|
+
label;
|
|
122
|
+
infoSign;
|
|
123
|
+
tooltip;
|
|
124
|
+
placeholder;
|
|
125
|
+
showClear;
|
|
126
|
+
type;
|
|
127
|
+
size;
|
|
128
|
+
defaultValue;
|
|
129
|
+
representedBy;
|
|
130
|
+
errorMessages;
|
|
131
|
+
bottomTemplate;
|
|
132
|
+
CustomFieldClass;
|
|
133
|
+
CustomFieldComponentClass;
|
|
134
|
+
displayTimeInfoSign;
|
|
135
|
+
sortableColumnName;
|
|
136
|
+
footer;
|
|
137
|
+
useInfoSignFocusedInputRef;
|
|
138
|
+
ignoreLabel;
|
|
139
|
+
constructor(config) {
|
|
140
|
+
if (config.footer?.help) {
|
|
141
|
+
config.footer.help = {
|
|
142
|
+
visible: () => true,
|
|
143
|
+
...config.footer?.help,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
if (config.footer?.link) {
|
|
147
|
+
config.footer.link = {
|
|
148
|
+
visible: () => true,
|
|
149
|
+
...config.footer?.link,
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
this.required = config.required || (() => false);
|
|
153
|
+
this.visible = config.visible || (() => true);
|
|
154
|
+
this.id = config.id;
|
|
155
|
+
this.name = config.name;
|
|
156
|
+
this.label = config.label;
|
|
157
|
+
this.infoSign = config.infoSign;
|
|
158
|
+
this.tooltip = config.tooltip;
|
|
159
|
+
this.placeholder = config.placeholder || "";
|
|
160
|
+
this.showClear = config.showClear || false;
|
|
161
|
+
this.type = config.type;
|
|
162
|
+
this.size = new FieldSize(config.size || {});
|
|
163
|
+
this.errorMessages = config.errorMessages;
|
|
164
|
+
this.bottomTemplate = config.bottomTemplate;
|
|
165
|
+
this.footer = config.footer;
|
|
166
|
+
this.defaultValue = config.defaultValue;
|
|
167
|
+
this.representedBy = config.representedBy;
|
|
168
|
+
this.CustomFieldClass = config.CustomFieldClass;
|
|
169
|
+
this.CustomFieldComponentClass = config.CustomFieldComponentClass;
|
|
170
|
+
this.displayTimeInfoSign = config.displayTimeInfoSign ?? 5000;
|
|
171
|
+
this.ignoreLabel = config.ignoreLabel ?? false;
|
|
172
|
+
this.useInfoSignFocusedInputRef = config.useInfoSignFocusedInputRef ?? true;
|
|
173
|
+
}
|
|
174
|
+
get gridClass() {
|
|
175
|
+
return Object.keys(this.size).map(key => `ui-${key}-${this.size[key]}`);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
class BignumberField extends Field {
|
|
180
|
+
allowNegative;
|
|
181
|
+
numberLocaleOptions;
|
|
182
|
+
browserAutocomplete;
|
|
183
|
+
precision;
|
|
184
|
+
scale;
|
|
185
|
+
alignTo;
|
|
186
|
+
mask;
|
|
187
|
+
leftAddon;
|
|
188
|
+
rightAddon;
|
|
189
|
+
onBlur;
|
|
190
|
+
onFocus;
|
|
191
|
+
onComplete;
|
|
192
|
+
onInput;
|
|
193
|
+
autoClear;
|
|
194
|
+
constructor(config) {
|
|
195
|
+
super(config);
|
|
196
|
+
this.allowNegative = config.allowNegative ?? true;
|
|
197
|
+
this.numberLocaleOptions = config.numberLocaleOptions ?? new NumberLocaleOptions();
|
|
198
|
+
this.browserAutocomplete = config.browserAutocomplete;
|
|
199
|
+
this.precision = config.precision;
|
|
200
|
+
this.scale = config.scale ?? 2;
|
|
201
|
+
this.alignTo = this.scale ? AlignmentOptions.RIGHT : AlignmentOptions.LEFT;
|
|
202
|
+
this.mask = config.mask;
|
|
203
|
+
this.leftAddon = config.leftAddon;
|
|
204
|
+
this.rightAddon = config.rightAddon;
|
|
205
|
+
this.onBlur = config.onBlur;
|
|
206
|
+
this.onFocus = config.onFocus;
|
|
207
|
+
this.onComplete = config.onComplete;
|
|
208
|
+
this.onInput = config.onInput;
|
|
209
|
+
this.autoClear = config.autoClear ?? true;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
let BooleanOptionsLabel$1 = class BooleanOptionsLabel {
|
|
214
|
+
true;
|
|
215
|
+
false;
|
|
216
|
+
empty;
|
|
217
|
+
clear;
|
|
218
|
+
constructor(config) {
|
|
219
|
+
this.true = config.true;
|
|
220
|
+
this.false = config.false;
|
|
221
|
+
this.empty = config.empty;
|
|
222
|
+
this.clear = config.clear;
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
class BooleanField extends Field {
|
|
226
|
+
verticalAlignment;
|
|
227
|
+
optionsLabel;
|
|
228
|
+
onBlur;
|
|
229
|
+
onFocus;
|
|
230
|
+
onClick;
|
|
231
|
+
constructor(config) {
|
|
232
|
+
super(config);
|
|
233
|
+
this.verticalAlignment = config.verticalAlignment;
|
|
234
|
+
this.optionsLabel = new BooleanOptionsLabel$1(config.optionsLabel);
|
|
235
|
+
this.representedBy = 'radio';
|
|
236
|
+
this.onBlur = config.onBlur;
|
|
237
|
+
this.onFocus = config.onFocus;
|
|
238
|
+
this.onClick = config.onClick;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
class BooleanSwitchField extends Field {
|
|
243
|
+
onChange;
|
|
244
|
+
optionsLabel;
|
|
245
|
+
constructor(config) {
|
|
246
|
+
super(config);
|
|
247
|
+
this.onChange = config.onChange;
|
|
248
|
+
if (config.optionsLabel) {
|
|
249
|
+
this.optionsLabel = new BooleanOptionsLabel$1(config.optionsLabel);
|
|
250
|
+
}
|
|
251
|
+
this.representedBy = 'switch';
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
var FieldType;
|
|
256
|
+
(function (FieldType) {
|
|
257
|
+
FieldType["Autocomplete"] = "Autocomplete";
|
|
258
|
+
FieldType["Binary"] = "Binary";
|
|
259
|
+
FieldType["Blob"] = "Blob";
|
|
260
|
+
FieldType["Boolean"] = "Boolean";
|
|
261
|
+
FieldType["BooleanSwitch"] = "BooleanSwitch";
|
|
262
|
+
FieldType["Checkbox"] = "Checkbox";
|
|
263
|
+
FieldType["Chips"] = "Chips";
|
|
264
|
+
FieldType["CodeEditor"] = "CodeEditor";
|
|
265
|
+
FieldType["CountryPhonePicker"] = "CountryPhonePicker";
|
|
266
|
+
FieldType["Custom"] = "Custom";
|
|
267
|
+
FieldType["Date"] = "Date";
|
|
268
|
+
FieldType["DateTime"] = "DateTime";
|
|
269
|
+
FieldType["Double"] = "Double";
|
|
270
|
+
FieldType["Editor"] = "Editor";
|
|
271
|
+
FieldType["Enum"] = "Enum";
|
|
272
|
+
FieldType["Integer"] = "Integer";
|
|
273
|
+
FieldType["LocalDateTime"] = "LocalDateTime";
|
|
274
|
+
FieldType["Lookup"] = "Lookup";
|
|
275
|
+
FieldType["Money"] = "Money";
|
|
276
|
+
FieldType["Number"] = "Number";
|
|
277
|
+
FieldType["Password"] = "Password";
|
|
278
|
+
FieldType["Radio"] = "Radio";
|
|
279
|
+
FieldType["Slider"] = "Slider";
|
|
280
|
+
FieldType["String"] = "String";
|
|
281
|
+
FieldType["Text"] = "Text";
|
|
282
|
+
FieldType["TextIA"] = "TextIA";
|
|
283
|
+
FieldType["Time"] = "Time";
|
|
284
|
+
FieldType["ProfilePicture"] = "ProfilePicture";
|
|
285
|
+
FieldType["Button"] = "Button";
|
|
286
|
+
FieldType["StarRating"] = "StarRating";
|
|
287
|
+
})(FieldType || (FieldType = {}));
|
|
288
|
+
|
|
289
|
+
class CalendarField extends Field {
|
|
290
|
+
view;
|
|
291
|
+
appendTo;
|
|
292
|
+
minDate;
|
|
293
|
+
maxDate;
|
|
294
|
+
defaultDate;
|
|
295
|
+
calendarLocaleOptions;
|
|
296
|
+
showOnFocus;
|
|
297
|
+
onBlur;
|
|
298
|
+
onFocus;
|
|
299
|
+
onSelect;
|
|
300
|
+
onInput;
|
|
301
|
+
onClose;
|
|
302
|
+
onTodayClick;
|
|
303
|
+
onClearClick;
|
|
304
|
+
onMonthChange;
|
|
305
|
+
onYearChange;
|
|
306
|
+
selectionMode;
|
|
307
|
+
rangeSeparator;
|
|
308
|
+
showSeconds;
|
|
309
|
+
constructor(config) {
|
|
310
|
+
super(config);
|
|
311
|
+
this.view = config.view || 'date';
|
|
312
|
+
this.minDate = config.minDate;
|
|
313
|
+
this.maxDate = config.maxDate;
|
|
314
|
+
this.defaultDate = config.defaultDate;
|
|
315
|
+
this.appendTo = config.appendTo;
|
|
316
|
+
this.showOnFocus = typeof config.showOnFocus === 'boolean' ? config.showOnFocus : true;
|
|
317
|
+
this.calendarLocaleOptions = config.calendarLocaleOptions;
|
|
318
|
+
this.onBlur = config.onBlur;
|
|
319
|
+
this.onFocus = config.onFocus;
|
|
320
|
+
this.onSelect = config.onSelect;
|
|
321
|
+
this.onInput = config.onInput;
|
|
322
|
+
this.onClose = config.onClose;
|
|
323
|
+
this.onTodayClick = config.onTodayClick;
|
|
324
|
+
this.onClearClick = config.onClearClick;
|
|
325
|
+
this.onMonthChange = config.onMonthChange;
|
|
326
|
+
this.onYearChange = config.onYearChange;
|
|
327
|
+
this.selectionMode = config.selectionMode || 'single';
|
|
328
|
+
this.rangeSeparator = config.rangeSeparator || '-';
|
|
329
|
+
this.showSeconds = config.showSeconds;
|
|
330
|
+
// Tornando true o padrão para showSeconds.
|
|
331
|
+
if (this.showSeconds === null || this.showSeconds === undefined) {
|
|
332
|
+
switch (this.type) {
|
|
333
|
+
case FieldType.DateTime:
|
|
334
|
+
case FieldType.LocalDateTime:
|
|
335
|
+
case FieldType.Time:
|
|
336
|
+
this.showSeconds = true;
|
|
337
|
+
break;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
class ChipsField extends Field {
|
|
344
|
+
keyFilter;
|
|
345
|
+
showCopyButton = false;
|
|
346
|
+
separator;
|
|
347
|
+
onAdd;
|
|
348
|
+
onRemove;
|
|
349
|
+
onChipClick;
|
|
350
|
+
onFocus;
|
|
351
|
+
onBlur;
|
|
352
|
+
onCopy;
|
|
353
|
+
constructor(config) {
|
|
354
|
+
super(config);
|
|
355
|
+
this.keyFilter = config.keyFilter;
|
|
356
|
+
this.showCopyButton = config.showCopyButton || false;
|
|
357
|
+
this.separator = config.separator;
|
|
358
|
+
this.onAdd = config.onAdd;
|
|
359
|
+
this.onRemove = config.onRemove;
|
|
360
|
+
this.onChipClick = config.onChipClick;
|
|
361
|
+
this.onFocus = config.onFocus;
|
|
362
|
+
this.onBlur = config.onBlur;
|
|
363
|
+
this.onCopy = config.onCopy;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @deprecated Should use BignumberField instead
|
|
369
|
+
*/
|
|
370
|
+
class NumberField extends Field {
|
|
371
|
+
/**
|
|
372
|
+
* @deprecated `numberLocaleOptions` should not be used. It is not needed anymore and should be removed if possible.
|
|
373
|
+
*/
|
|
374
|
+
numberLocaleOptions;
|
|
375
|
+
browserAutocomplete;
|
|
376
|
+
precision;
|
|
377
|
+
scale;
|
|
378
|
+
alignTo;
|
|
379
|
+
mask;
|
|
380
|
+
leftAddon;
|
|
381
|
+
rightAddon;
|
|
382
|
+
onBlur;
|
|
383
|
+
onFocus;
|
|
384
|
+
onComplete;
|
|
385
|
+
onInput;
|
|
386
|
+
constructor(config) {
|
|
387
|
+
super(config);
|
|
388
|
+
this.numberLocaleOptions = config.numberLocaleOptions;
|
|
389
|
+
this.browserAutocomplete = config.browserAutocomplete;
|
|
390
|
+
this.precision = config.precision;
|
|
391
|
+
this.scale = config.scale;
|
|
392
|
+
this.alignTo = config.alignTo || NumberAlignmentOption.LEFT;
|
|
393
|
+
this.mask = config.mask;
|
|
394
|
+
this.leftAddon = config.leftAddon;
|
|
395
|
+
this.rightAddon = config.rightAddon;
|
|
396
|
+
this.onBlur = config.onBlur;
|
|
397
|
+
this.onFocus = config.onFocus;
|
|
398
|
+
this.onComplete = config.onComplete;
|
|
399
|
+
this.onInput = config.onInput;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* @deprecated Should use BignumberField instead
|
|
405
|
+
*/
|
|
406
|
+
class DecimalField extends NumberField {
|
|
407
|
+
scale;
|
|
408
|
+
constructor(config) {
|
|
409
|
+
super(config);
|
|
410
|
+
this.numberLocaleOptions = config.numberLocaleOptions ?? new NumberLocaleOptions();
|
|
411
|
+
this.alignTo = config.alignTo || NumberAlignmentOption.RIGHT;
|
|
412
|
+
this.scale = typeof config.scale === "function" ? config.scale() : config.scale;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @deprecated Should use BignumberField instead
|
|
418
|
+
*/
|
|
419
|
+
class CurrencyField extends DecimalField {
|
|
420
|
+
currency;
|
|
421
|
+
constructor(config) {
|
|
422
|
+
super(config);
|
|
423
|
+
this.currency = config['currency'];
|
|
424
|
+
this.numberLocaleOptions = config.numberLocaleOptions ?? new NumberLocaleOptions();
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
class LookupField extends Field {
|
|
429
|
+
multiple = false;
|
|
430
|
+
showSearch = true;
|
|
431
|
+
searchFields = [];
|
|
432
|
+
searchGridFields = [];
|
|
433
|
+
lookupSuggestions = [];
|
|
434
|
+
suggestionsObservable = of([]);
|
|
435
|
+
searchObservable = of({ gridData: [], totalRecords: 0 });
|
|
436
|
+
dataKey = '';
|
|
437
|
+
lookupDisplayField = '';
|
|
438
|
+
searchTitle = '';
|
|
439
|
+
searchEmptyTitle = '';
|
|
440
|
+
filterLabel = '';
|
|
441
|
+
filterTitle = '';
|
|
442
|
+
clearLabel = '';
|
|
443
|
+
cancelLabel = '';
|
|
444
|
+
selectLabel = '';
|
|
445
|
+
recordLabel = '';
|
|
446
|
+
recordsLabel = '';
|
|
447
|
+
emptyFieldLabel = '';
|
|
448
|
+
emptyMessage = '';
|
|
449
|
+
appendTo;
|
|
450
|
+
autocompleteForceSelection = true;
|
|
451
|
+
showAddOption = false;
|
|
452
|
+
showEditOption = false;
|
|
453
|
+
showRemoveOption = false;
|
|
454
|
+
defaultFilter = [];
|
|
455
|
+
sortableColumnsDisabled = [];
|
|
456
|
+
onLookupRequest = () => { };
|
|
457
|
+
onSearchRequest = () => { };
|
|
458
|
+
onClear;
|
|
459
|
+
onBlur;
|
|
460
|
+
onAdd;
|
|
461
|
+
onEdit;
|
|
462
|
+
onRemove;
|
|
463
|
+
onClearButtonClick;
|
|
464
|
+
_gridData = [];
|
|
465
|
+
_searchTotalRecords = 0;
|
|
466
|
+
_searchTotalRecordsLabel = '';
|
|
467
|
+
constructor(config) {
|
|
468
|
+
super({ ...config, type: FieldType.Lookup });
|
|
469
|
+
Object.assign(this, config);
|
|
470
|
+
this.suggestionsObservable.subscribe((suggestions) => (this.lookupSuggestions = suggestions));
|
|
471
|
+
this.searchObservable.pipe(delay(0)).subscribe(({ totalRecords, gridData, searchTotalRecordsLabel }) => {
|
|
472
|
+
this._gridData = gridData;
|
|
473
|
+
this._searchTotalRecords = totalRecords;
|
|
474
|
+
this._searchTotalRecordsLabel = searchTotalRecordsLabel;
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
get gridData() {
|
|
478
|
+
return this._gridData;
|
|
479
|
+
}
|
|
480
|
+
get searchTotalRecords() {
|
|
481
|
+
return this._searchTotalRecords;
|
|
482
|
+
}
|
|
483
|
+
get searchTotalRecordsLabel() {
|
|
484
|
+
return this._searchTotalRecordsLabel;
|
|
485
|
+
}
|
|
486
|
+
onSelect = (event) => { };
|
|
487
|
+
onUnselect = (event) => { };
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
class PasswordField extends Field {
|
|
491
|
+
inputType;
|
|
492
|
+
keyFilter;
|
|
493
|
+
leftAddon;
|
|
494
|
+
rightAddon;
|
|
495
|
+
maxLength;
|
|
496
|
+
passwordStrength;
|
|
497
|
+
passwordStrengthOptions;
|
|
498
|
+
showToggle;
|
|
499
|
+
style;
|
|
500
|
+
onBlur;
|
|
501
|
+
onFocus;
|
|
502
|
+
onComplete;
|
|
503
|
+
onInput;
|
|
504
|
+
constructor(config) {
|
|
505
|
+
super(config);
|
|
506
|
+
this.inputType = config.inputType;
|
|
507
|
+
this.keyFilter = config.keyFilter;
|
|
508
|
+
this.leftAddon = config.leftAddon;
|
|
509
|
+
this.rightAddon = config.rightAddon;
|
|
510
|
+
this.maxLength = config.maxLength || 9999999;
|
|
511
|
+
this.passwordStrength = config.passwordStrength || false;
|
|
512
|
+
this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
513
|
+
this.showToggle = config.showToggle;
|
|
514
|
+
this.style = config.style;
|
|
515
|
+
this.onBlur = config.onBlur;
|
|
516
|
+
this.onFocus = config.onFocus;
|
|
517
|
+
this.onComplete = config.onComplete;
|
|
518
|
+
this.onInput = config.onInput;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
class RationButtonOption {
|
|
523
|
+
label;
|
|
524
|
+
value;
|
|
525
|
+
constructor(config) {
|
|
526
|
+
this.label = config.label;
|
|
527
|
+
this.value = config.value;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
class RadioButtonField extends Field {
|
|
531
|
+
verticalAlignment;
|
|
532
|
+
clearLabel;
|
|
533
|
+
options;
|
|
534
|
+
onBlur;
|
|
535
|
+
onFocus;
|
|
536
|
+
onClick;
|
|
537
|
+
constructor(config) {
|
|
538
|
+
super(config);
|
|
539
|
+
this.verticalAlignment = config.verticalAlignment;
|
|
540
|
+
this.clearLabel = config.clearLabel;
|
|
541
|
+
this.options = config.options;
|
|
542
|
+
this.onBlur = config.onBlur;
|
|
543
|
+
this.onFocus = config.onFocus;
|
|
544
|
+
this.onClick = config.onClick;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
class SelectField extends Field {
|
|
549
|
+
appendTo;
|
|
550
|
+
optionLabel;
|
|
551
|
+
optionValue;
|
|
552
|
+
dataKey;
|
|
553
|
+
autoDisplayFirst;
|
|
554
|
+
options;
|
|
555
|
+
multiple;
|
|
556
|
+
multipleSelectedLabel;
|
|
557
|
+
onClick;
|
|
558
|
+
onChange;
|
|
559
|
+
emptyMessage;
|
|
560
|
+
editable;
|
|
561
|
+
filter;
|
|
562
|
+
group;
|
|
563
|
+
constructor(config) {
|
|
564
|
+
super(config);
|
|
565
|
+
this.appendTo = config.appendTo;
|
|
566
|
+
this.dataKey = config.dataKey;
|
|
567
|
+
this.optionLabel = config.optionLabel;
|
|
568
|
+
this.optionValue = config.optionValue;
|
|
569
|
+
this.autoDisplayFirst = config.autoDisplayFirst;
|
|
570
|
+
this.options = config.options;
|
|
571
|
+
this.multiple = config.multiple;
|
|
572
|
+
this.multipleSelectedLabel = config.multipleSelectedLabel;
|
|
573
|
+
this.onClick = config.onClick;
|
|
574
|
+
this.onChange = config.onChange;
|
|
575
|
+
this.emptyMessage = config.emptyMessage;
|
|
576
|
+
this.editable = config.editable;
|
|
577
|
+
this.filter = config.filter;
|
|
578
|
+
this.group = config.group;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
class SelectOption {
|
|
582
|
+
label;
|
|
583
|
+
value;
|
|
584
|
+
constructor(config) {
|
|
585
|
+
this.label = config.label;
|
|
586
|
+
this.value = config.value;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
class SliderField extends Field {
|
|
591
|
+
onChange;
|
|
592
|
+
onSlideEnd;
|
|
593
|
+
range;
|
|
594
|
+
min;
|
|
595
|
+
max;
|
|
596
|
+
step;
|
|
597
|
+
orientation;
|
|
598
|
+
disabled;
|
|
599
|
+
prefix;
|
|
600
|
+
suffix;
|
|
601
|
+
rangeSeparator;
|
|
602
|
+
_maxDefault = 100;
|
|
603
|
+
constructor(config) {
|
|
604
|
+
super(config);
|
|
605
|
+
this.onChange = config.onChange;
|
|
606
|
+
this.onSlideEnd = config.onSlideEnd;
|
|
607
|
+
this.range = config.range ?? false;
|
|
608
|
+
this.min = config.min ?? 0;
|
|
609
|
+
this.max = config.max ?? this._maxDefault;
|
|
610
|
+
this.orientation = config.orientation ?? 'horizontal';
|
|
611
|
+
this.step = config.step ?? 1;
|
|
612
|
+
this.disabled = config.disabled ?? false;
|
|
613
|
+
this.prefix = config.prefix;
|
|
614
|
+
this.suffix = config.suffix;
|
|
615
|
+
this.rangeSeparator = config.rangeSeparator ?? ' - ';
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
class TextAreaField extends Field {
|
|
620
|
+
cols;
|
|
621
|
+
rows;
|
|
622
|
+
keyFilter;
|
|
623
|
+
style = {
|
|
624
|
+
resize: 'vertical'
|
|
625
|
+
};
|
|
626
|
+
readonly;
|
|
627
|
+
speechRecognition;
|
|
628
|
+
keepContext;
|
|
629
|
+
speechRecognitionPlaceholder;
|
|
630
|
+
maxLength;
|
|
631
|
+
constructor(config) {
|
|
632
|
+
super(config);
|
|
633
|
+
this.cols = config.cols;
|
|
634
|
+
this.rows = config.rows;
|
|
635
|
+
this.keyFilter = config.keyFilter;
|
|
636
|
+
this.style = {
|
|
637
|
+
...config.style,
|
|
638
|
+
...this.style,
|
|
639
|
+
};
|
|
640
|
+
this.readonly = config.readonly;
|
|
641
|
+
this.speechRecognition = config.speechRecognition ?? false;
|
|
642
|
+
this.keepContext = config.keepContext ?? false;
|
|
643
|
+
this.speechRecognitionPlaceholder = config.speechRecognitionPlaceholder ?? '';
|
|
644
|
+
this.maxLength = config.maxLength ?? null;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
class TextField extends Field {
|
|
649
|
+
mask;
|
|
650
|
+
characterPattern;
|
|
651
|
+
unmask;
|
|
652
|
+
readonly;
|
|
653
|
+
inputType;
|
|
654
|
+
keyFilter;
|
|
655
|
+
leftAddon;
|
|
656
|
+
rightAddon;
|
|
657
|
+
maxLength;
|
|
658
|
+
browserAutocomplete;
|
|
659
|
+
style;
|
|
660
|
+
onBlur;
|
|
661
|
+
onFocus;
|
|
662
|
+
onComplete;
|
|
663
|
+
onInput;
|
|
664
|
+
constructor(config) {
|
|
665
|
+
super(config);
|
|
666
|
+
this.mask = config.mask;
|
|
667
|
+
this.characterPattern = config.characterPattern ?? "[A-Za-z]";
|
|
668
|
+
this.unmask = config.unmask ?? false;
|
|
669
|
+
this.readonly = config.readonly;
|
|
670
|
+
this.inputType = config.inputType;
|
|
671
|
+
this.keyFilter = config.keyFilter;
|
|
672
|
+
this.leftAddon = config.leftAddon;
|
|
673
|
+
this.rightAddon = config.rightAddon;
|
|
674
|
+
this.maxLength = config.maxLength || 9999999;
|
|
675
|
+
this.browserAutocomplete = config.browserAutocomplete;
|
|
676
|
+
this.style = config.style;
|
|
677
|
+
this.onBlur = config.onBlur;
|
|
678
|
+
this.onFocus = config.onFocus;
|
|
679
|
+
this.onComplete = config.onComplete;
|
|
680
|
+
this.onInput = config.onInput;
|
|
681
|
+
this.sortableColumnName = config.sortableColumnName;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
class AutocompleteField extends Field {
|
|
686
|
+
dataKey;
|
|
687
|
+
displayField;
|
|
688
|
+
multiple;
|
|
689
|
+
appendTo;
|
|
690
|
+
emptyMessage;
|
|
691
|
+
suggestionsObservable;
|
|
692
|
+
suggestions = [];
|
|
693
|
+
onSelect;
|
|
694
|
+
onUnselect;
|
|
695
|
+
onClear;
|
|
696
|
+
onSearch;
|
|
697
|
+
onBlur;
|
|
698
|
+
constructor(config) {
|
|
699
|
+
super({ ...config, type: FieldType.Autocomplete });
|
|
700
|
+
Object.assign(this, config);
|
|
701
|
+
if (this.suggestionsObservable) {
|
|
702
|
+
this.suggestionsObservable.subscribe(suggestions => (this.suggestions = suggestions));
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
var DynamicType;
|
|
708
|
+
(function (DynamicType) {
|
|
709
|
+
DynamicType["Autocomplete"] = "Autocomplete";
|
|
710
|
+
DynamicType["Binary"] = "Binary";
|
|
711
|
+
DynamicType["Boolean"] = "Boolean";
|
|
712
|
+
DynamicType["Chips"] = "Chips";
|
|
713
|
+
DynamicType["Date"] = "Date";
|
|
714
|
+
DynamicType["DateTime"] = "DateTime";
|
|
715
|
+
DynamicType["LocalDateTime"] = "LocalDateTime";
|
|
716
|
+
DynamicType["Double"] = "Double";
|
|
717
|
+
DynamicType["Enum"] = "Enum";
|
|
718
|
+
DynamicType["Fieldset"] = "Fieldset";
|
|
719
|
+
DynamicType["Integer"] = "Integer";
|
|
720
|
+
DynamicType["Lookup"] = "Lookup";
|
|
721
|
+
DynamicType["Money"] = "Money";
|
|
722
|
+
DynamicType["Radio"] = "Radio";
|
|
723
|
+
DynamicType["Row"] = "Row";
|
|
724
|
+
DynamicType["Section"] = "Section";
|
|
725
|
+
DynamicType["String"] = "String";
|
|
726
|
+
DynamicType["Text"] = "Text";
|
|
727
|
+
DynamicType["Time"] = "Time";
|
|
728
|
+
DynamicType["Number"] = "Number";
|
|
729
|
+
DynamicType["Password"] = "Password";
|
|
730
|
+
DynamicType["Slider"] = "Slider";
|
|
731
|
+
})(DynamicType || (DynamicType = {}));
|
|
732
|
+
|
|
733
|
+
var GridType;
|
|
734
|
+
(function (GridType) {
|
|
735
|
+
GridType["Row"] = "Row";
|
|
736
|
+
})(GridType || (GridType = {}));
|
|
737
|
+
|
|
738
|
+
class Grid {
|
|
739
|
+
fields = [];
|
|
740
|
+
type = GridType.Row;
|
|
741
|
+
visible;
|
|
742
|
+
constructor(config) {
|
|
743
|
+
Object.assign(this, { ...config });
|
|
744
|
+
if (isNullOrUndefined(config.visible)) {
|
|
745
|
+
this.visible = () => true;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
class Row extends Grid {
|
|
751
|
+
fields = [];
|
|
752
|
+
type = GridType.Row;
|
|
753
|
+
constructor(config) {
|
|
754
|
+
super(config);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
class Structure {
|
|
759
|
+
header = '';
|
|
760
|
+
configs;
|
|
761
|
+
type;
|
|
762
|
+
constructor(config) {
|
|
763
|
+
Object.assign(this, { ...config });
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
class Fieldset extends Structure {
|
|
768
|
+
beforeToggle;
|
|
769
|
+
afterToggle;
|
|
770
|
+
constructor(config) {
|
|
771
|
+
super(config);
|
|
772
|
+
Object.assign(this, { ...config });
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
class Section extends Structure {
|
|
777
|
+
/**
|
|
778
|
+
* Define if the structure is a flex container.
|
|
779
|
+
*/
|
|
780
|
+
isFlex = false;
|
|
781
|
+
/**
|
|
782
|
+
* Define the justify-content property.
|
|
783
|
+
*/
|
|
784
|
+
justifyContent = 'flex-start';
|
|
785
|
+
/**
|
|
786
|
+
* Define the align-items property.
|
|
787
|
+
*/
|
|
788
|
+
alignItems = 'flex-start';
|
|
789
|
+
visible = () => true;
|
|
790
|
+
size;
|
|
791
|
+
gridClass;
|
|
792
|
+
constructor(config) {
|
|
793
|
+
super(config);
|
|
794
|
+
this.isFlex = config.isFlex || false;
|
|
795
|
+
this.justifyContent = config.justifyContent || 'flex-start';
|
|
796
|
+
this.alignItems = config.alignItems || 'flex-start';
|
|
797
|
+
if (config.visible) {
|
|
798
|
+
this.visible = config.visible;
|
|
799
|
+
}
|
|
800
|
+
this.size = new FieldSize(config.size || {});
|
|
801
|
+
this.gridClass = Object.keys(this.size).map((key) => `ui-${key}-${this.size[key]}`);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
class DynamicConfig {
|
|
806
|
+
constructor(config) {
|
|
807
|
+
const { type, representedBy } = config;
|
|
808
|
+
switch (type) {
|
|
809
|
+
case DynamicType.Autocomplete:
|
|
810
|
+
return new AutocompleteField(config);
|
|
811
|
+
case DynamicType.Binary:
|
|
812
|
+
case DynamicType.String:
|
|
813
|
+
return new TextField(config);
|
|
814
|
+
case DynamicType.Password:
|
|
815
|
+
return new PasswordField(config);
|
|
816
|
+
case DynamicType.Boolean:
|
|
817
|
+
if (representedBy === 'switch') {
|
|
818
|
+
return new BooleanSwitchField(config);
|
|
819
|
+
}
|
|
820
|
+
return new BooleanField(config);
|
|
821
|
+
case DynamicType.Chips:
|
|
822
|
+
return new ChipsField(config);
|
|
823
|
+
case DynamicType.Date:
|
|
824
|
+
case DynamicType.DateTime:
|
|
825
|
+
case DynamicType.LocalDateTime:
|
|
826
|
+
case DynamicType.Time:
|
|
827
|
+
return new CalendarField(config);
|
|
828
|
+
case DynamicType.Double:
|
|
829
|
+
return new DecimalField(config);
|
|
830
|
+
case DynamicType.Enum:
|
|
831
|
+
return new SelectField(config);
|
|
832
|
+
case DynamicType.Fieldset:
|
|
833
|
+
return new Fieldset(config);
|
|
834
|
+
case DynamicType.Integer:
|
|
835
|
+
return new NumberField(config);
|
|
836
|
+
case DynamicType.Number:
|
|
837
|
+
return new BignumberField(config);
|
|
838
|
+
case DynamicType.Lookup:
|
|
839
|
+
return new LookupField(config);
|
|
840
|
+
case DynamicType.Money:
|
|
841
|
+
return new CurrencyField(config);
|
|
842
|
+
case DynamicType.Radio:
|
|
843
|
+
return new RadioButtonField(config);
|
|
844
|
+
case DynamicType.Row:
|
|
845
|
+
return new Row(config);
|
|
846
|
+
case DynamicType.Section:
|
|
847
|
+
return new Section(config);
|
|
848
|
+
case DynamicType.Slider:
|
|
849
|
+
return new SliderField(config);
|
|
850
|
+
case DynamicType.Text:
|
|
851
|
+
return new TextAreaField(config);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
var StructureType;
|
|
857
|
+
(function (StructureType) {
|
|
858
|
+
StructureType["Fieldset"] = "Fieldset";
|
|
859
|
+
StructureType["Section"] = "Section";
|
|
860
|
+
})(StructureType || (StructureType = {}));
|
|
861
|
+
|
|
862
|
+
class DynamicFormCacheService {
|
|
863
|
+
LOADED_ALL_CACHE = false;
|
|
864
|
+
CACHED_COMPONENTS = new Map();
|
|
865
|
+
async setCache() {
|
|
866
|
+
const setAutoComplete = async () => {
|
|
867
|
+
const { AutocompleteFieldComponent } = await Promise.resolve().then(function () { return autocompleteField_component; });
|
|
868
|
+
this.CACHED_COMPONENTS.set(FieldType.Autocomplete, AutocompleteFieldComponent);
|
|
869
|
+
};
|
|
870
|
+
const setLookup = async () => {
|
|
871
|
+
const { LookupFieldComponent } = await Promise.resolve().then(function () { return lookupField_component; });
|
|
872
|
+
this.CACHED_COMPONENTS.set(FieldType.Lookup, LookupFieldComponent);
|
|
873
|
+
};
|
|
874
|
+
const setTextAreaIA = async () => {
|
|
875
|
+
const { TextAreaIAFieldComponent } = await Promise.resolve().then(function () { return textAreaIaField_component; });
|
|
876
|
+
this.CACHED_COMPONENTS.set(FieldType.TextIA, TextAreaIAFieldComponent);
|
|
877
|
+
};
|
|
878
|
+
const setBigNumberField = async () => {
|
|
879
|
+
const { BignumberFieldComponent } = await Promise.resolve().then(function () { return bignumberField_component; });
|
|
880
|
+
this.CACHED_COMPONENTS.set(FieldType.Number, BignumberFieldComponent);
|
|
881
|
+
};
|
|
882
|
+
const setBooleanField = async () => {
|
|
883
|
+
const { BooleanFieldComponent } = await Promise.resolve().then(function () { return booleanField_component; });
|
|
884
|
+
this.CACHED_COMPONENTS.set(FieldType.Boolean, BooleanFieldComponent);
|
|
885
|
+
};
|
|
886
|
+
const setBooleanSwitchField = async () => {
|
|
887
|
+
const { BooleanSwitchFieldComponent } = await Promise.resolve().then(function () { return booleanSwitchField_component; });
|
|
888
|
+
this.CACHED_COMPONENTS.set(FieldType.BooleanSwitch, BooleanSwitchFieldComponent);
|
|
889
|
+
};
|
|
890
|
+
const setCalendarField = async () => {
|
|
891
|
+
const { CalendarFieldComponent } = await Promise.resolve().then(function () { return calendarField_component; });
|
|
892
|
+
this.CACHED_COMPONENTS.set(FieldType.Date, CalendarFieldComponent);
|
|
893
|
+
};
|
|
894
|
+
const setCheckboxField = async () => {
|
|
895
|
+
const { CheckboxFieldComponent } = await Promise.resolve().then(function () { return checkboxField_component; });
|
|
896
|
+
this.CACHED_COMPONENTS.set(FieldType.Checkbox, CheckboxFieldComponent);
|
|
897
|
+
};
|
|
898
|
+
const setChipsField = async () => {
|
|
899
|
+
const { ChipsFieldComponent } = await Promise.resolve().then(function () { return chipsField_component; });
|
|
900
|
+
this.CACHED_COMPONENTS.set(FieldType.Chips, ChipsFieldComponent);
|
|
901
|
+
};
|
|
902
|
+
const setCountryPhonePickerField = async () => {
|
|
903
|
+
const { CountryPhonePickerFieldComponent } = await Promise.resolve().then(function () { return countryPhonePickerField_component; });
|
|
904
|
+
this.CACHED_COMPONENTS.set(FieldType.CountryPhonePicker, CountryPhonePickerFieldComponent);
|
|
905
|
+
};
|
|
906
|
+
const setCurrencyField = async () => {
|
|
907
|
+
const { CurrencyFieldComponent } = await Promise.resolve().then(function () { return currencyField_component; });
|
|
908
|
+
this.CACHED_COMPONENTS.set(FieldType.Money, CurrencyFieldComponent);
|
|
909
|
+
};
|
|
910
|
+
const setEditorField = async () => {
|
|
911
|
+
const { EditorFieldComponent } = await Promise.resolve().then(function () { return editorField_component; });
|
|
912
|
+
this.CACHED_COMPONENTS.set(FieldType.Editor, EditorFieldComponent);
|
|
913
|
+
};
|
|
914
|
+
const setFileUploadField = async () => {
|
|
915
|
+
const { FileUploadFieldComponent } = await Promise.resolve().then(function () { return fileUploadField_component; });
|
|
916
|
+
this.CACHED_COMPONENTS.set(FieldType.Blob, FileUploadFieldComponent);
|
|
917
|
+
};
|
|
918
|
+
const setPasswordField = async () => {
|
|
919
|
+
const { PasswordFieldComponent } = await Promise.resolve().then(function () { return passwordField_component; });
|
|
920
|
+
this.CACHED_COMPONENTS.set(FieldType.Password, PasswordFieldComponent);
|
|
921
|
+
};
|
|
922
|
+
const setProfilePictureField = async () => {
|
|
923
|
+
const { ProfilePictureFieldComponent } = await Promise.resolve().then(function () { return profilePictureField_component; });
|
|
924
|
+
this.CACHED_COMPONENTS.set(FieldType.ProfilePicture, ProfilePictureFieldComponent);
|
|
925
|
+
};
|
|
926
|
+
const setRadioButtonField = async () => {
|
|
927
|
+
const { RadioButtonFieldComponent } = await Promise.resolve().then(function () { return radioButtonField_component; });
|
|
928
|
+
this.CACHED_COMPONENTS.set(FieldType.Radio, RadioButtonFieldComponent);
|
|
929
|
+
};
|
|
930
|
+
const setSelectField = async () => {
|
|
931
|
+
const { SelectFieldComponent } = await Promise.resolve().then(function () { return selectField_component; });
|
|
932
|
+
this.CACHED_COMPONENTS.set(FieldType.Enum, SelectFieldComponent);
|
|
933
|
+
};
|
|
934
|
+
const setSliderField = async () => {
|
|
935
|
+
const { SliderFieldComponent } = await Promise.resolve().then(function () { return sliderField_component; });
|
|
936
|
+
this.CACHED_COMPONENTS.set(FieldType.Slider, SliderFieldComponent);
|
|
937
|
+
};
|
|
938
|
+
const setTextAreaField = async () => {
|
|
939
|
+
const { TextAreaFieldComponent } = await Promise.resolve().then(function () { return textAreaField_component; });
|
|
940
|
+
this.CACHED_COMPONENTS.set(FieldType.Text, TextAreaFieldComponent);
|
|
941
|
+
};
|
|
942
|
+
const setTextField = async () => {
|
|
943
|
+
const { TextFieldComponent } = await Promise.resolve().then(function () { return textField_component; });
|
|
944
|
+
this.CACHED_COMPONENTS.set(FieldType.String, TextFieldComponent);
|
|
945
|
+
};
|
|
946
|
+
const setButtonField = async () => {
|
|
947
|
+
const { ButtonFieldComponent } = await Promise.resolve().then(function () { return buttonField_component; });
|
|
948
|
+
this.CACHED_COMPONENTS.set(FieldType.Button, ButtonFieldComponent);
|
|
949
|
+
};
|
|
950
|
+
const setFieldSetComponent = async () => {
|
|
951
|
+
const { FieldsetComponent } = await Promise.resolve().then(function () { return fieldset_component; });
|
|
952
|
+
this.CACHED_COMPONENTS.set(StructureType.Fieldset, FieldsetComponent);
|
|
953
|
+
};
|
|
954
|
+
const setSectionComponent = async () => {
|
|
955
|
+
const { SectionComponent } = await Promise.resolve().then(function () { return section_component; });
|
|
956
|
+
this.CACHED_COMPONENTS.set(StructureType.Section, SectionComponent);
|
|
957
|
+
};
|
|
958
|
+
const setRowComponent = async () => {
|
|
959
|
+
const { RowComponent } = await Promise.resolve().then(function () { return row_component; });
|
|
960
|
+
this.CACHED_COMPONENTS.set(GridType.Row, RowComponent);
|
|
961
|
+
};
|
|
962
|
+
const setStarRatingComponent = async () => {
|
|
963
|
+
const { StarRatingFieldComponent } = await Promise.resolve().then(function () { return starRatingField_component; });
|
|
964
|
+
this.CACHED_COMPONENTS.set(FieldType.StarRating, StarRatingFieldComponent);
|
|
965
|
+
};
|
|
966
|
+
const SET_CACHE_PROMISES = [
|
|
967
|
+
setAutoComplete,
|
|
968
|
+
setLookup,
|
|
969
|
+
setTextAreaIA,
|
|
970
|
+
setBigNumberField,
|
|
971
|
+
setBooleanField,
|
|
972
|
+
setBooleanSwitchField,
|
|
973
|
+
setCalendarField,
|
|
974
|
+
setCheckboxField,
|
|
975
|
+
setChipsField,
|
|
976
|
+
setCountryPhonePickerField,
|
|
977
|
+
setCurrencyField,
|
|
978
|
+
setEditorField,
|
|
979
|
+
setFileUploadField,
|
|
980
|
+
setPasswordField,
|
|
981
|
+
setProfilePictureField,
|
|
982
|
+
setRadioButtonField,
|
|
983
|
+
setSelectField,
|
|
984
|
+
setSliderField,
|
|
985
|
+
setTextAreaField,
|
|
986
|
+
setTextField,
|
|
987
|
+
setButtonField,
|
|
988
|
+
setFieldSetComponent,
|
|
989
|
+
setSectionComponent,
|
|
990
|
+
setRowComponent,
|
|
991
|
+
setStarRatingComponent,
|
|
992
|
+
];
|
|
993
|
+
await Promise.allSettled(SET_CACHE_PROMISES.map((promise) => promise()));
|
|
994
|
+
this.LOADED_ALL_CACHE = true;
|
|
995
|
+
}
|
|
996
|
+
get(type) {
|
|
997
|
+
return this.CACHED_COMPONENTS.get(type);
|
|
998
|
+
}
|
|
999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1000
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormCacheService, providedIn: 'root' });
|
|
1001
|
+
}
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormCacheService, decorators: [{
|
|
1003
|
+
type: Injectable,
|
|
1004
|
+
args: [{ providedIn: 'root' }]
|
|
1005
|
+
}] });
|
|
1006
|
+
|
|
1007
|
+
class DynamicForm {
|
|
1008
|
+
group;
|
|
1009
|
+
errorMessages;
|
|
1010
|
+
cacheService;
|
|
1011
|
+
constructor({ group, errorMessages, cacheService }) {
|
|
1012
|
+
this.group = group;
|
|
1013
|
+
this.errorMessages = errorMessages;
|
|
1014
|
+
this.cacheService = cacheService;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
class DynamicField extends DynamicForm {
|
|
1018
|
+
field;
|
|
1019
|
+
constructor({ group, field, errorMessages, cacheService }) {
|
|
1020
|
+
super({
|
|
1021
|
+
group,
|
|
1022
|
+
errorMessages,
|
|
1023
|
+
cacheService
|
|
1024
|
+
});
|
|
1025
|
+
this.field = field;
|
|
1026
|
+
}
|
|
1027
|
+
createComponent(viewContainerRef) {
|
|
1028
|
+
const component = viewContainerRef.createComponent(this.getComponent());
|
|
1029
|
+
component.instance.field = this.field;
|
|
1030
|
+
if (!isNullOrUndefined(this.field?.name)) {
|
|
1031
|
+
// Must be this way because some teams use name like "e070emp.codemp"
|
|
1032
|
+
component.instance.formControl = this.group?.['controls'][this.field.name];
|
|
1033
|
+
}
|
|
1034
|
+
this._switchEmptyStringToNull(component);
|
|
1035
|
+
component.instance.errorMessages = this.errorMessages;
|
|
1036
|
+
this.setVariablesByType(component);
|
|
1037
|
+
return component;
|
|
1038
|
+
}
|
|
1039
|
+
setVariablesByType(component) {
|
|
1040
|
+
if (this.field?.type == FieldType.Time) {
|
|
1041
|
+
component.instance.timeOnly = true;
|
|
1042
|
+
}
|
|
1043
|
+
if (!isNullOrUndefined(this.field?.type)) {
|
|
1044
|
+
if ([FieldType.LocalDateTime, FieldType.DateTime, FieldType.Time].includes(this.field.type)) {
|
|
1045
|
+
component.instance.showTime = true;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
updateVariables(component) {
|
|
1050
|
+
if (isNullOrUndefined(this.field?.name))
|
|
1051
|
+
return;
|
|
1052
|
+
component.instance.field = this.field;
|
|
1053
|
+
component.instance.formControl = this.group?.['controls'][this.field.name];
|
|
1054
|
+
this.setVariablesByType(component);
|
|
1055
|
+
}
|
|
1056
|
+
getComponent() {
|
|
1057
|
+
if (isNullOrUndefined(this.field)) {
|
|
1058
|
+
throw new Error(`Field is null or undefined.`);
|
|
1059
|
+
}
|
|
1060
|
+
const fieldType = this.field.type;
|
|
1061
|
+
switch (fieldType) {
|
|
1062
|
+
case FieldType.Binary:
|
|
1063
|
+
case FieldType.String: {
|
|
1064
|
+
return this.cacheService.get(FieldType.String);
|
|
1065
|
+
}
|
|
1066
|
+
case FieldType.Boolean: {
|
|
1067
|
+
if (this.field.representedBy === 'switch') {
|
|
1068
|
+
return this.cacheService.get(FieldType.BooleanSwitch);
|
|
1069
|
+
}
|
|
1070
|
+
else {
|
|
1071
|
+
return this.cacheService.get(FieldType.Boolean);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
case FieldType.Date:
|
|
1075
|
+
case FieldType.DateTime:
|
|
1076
|
+
case FieldType.LocalDateTime:
|
|
1077
|
+
case FieldType.Time: {
|
|
1078
|
+
return this.cacheService.get(FieldType.Date);
|
|
1079
|
+
}
|
|
1080
|
+
case FieldType.Number:
|
|
1081
|
+
case FieldType.Integer:
|
|
1082
|
+
case FieldType.Double: {
|
|
1083
|
+
return this.cacheService.get(FieldType.Number);
|
|
1084
|
+
}
|
|
1085
|
+
case FieldType.Autocomplete:
|
|
1086
|
+
case FieldType.Checkbox:
|
|
1087
|
+
case FieldType.Chips:
|
|
1088
|
+
case FieldType.CountryPhonePicker:
|
|
1089
|
+
case FieldType.Enum:
|
|
1090
|
+
case FieldType.Lookup:
|
|
1091
|
+
case FieldType.Money:
|
|
1092
|
+
case FieldType.Radio:
|
|
1093
|
+
case FieldType.Text:
|
|
1094
|
+
case FieldType.TextIA:
|
|
1095
|
+
case FieldType.Password:
|
|
1096
|
+
case FieldType.Blob:
|
|
1097
|
+
case FieldType.Slider:
|
|
1098
|
+
case FieldType.ProfilePicture:
|
|
1099
|
+
case FieldType.Editor:
|
|
1100
|
+
case FieldType.StarRating:
|
|
1101
|
+
case FieldType.Button: {
|
|
1102
|
+
return this.cacheService.get(fieldType);
|
|
1103
|
+
}
|
|
1104
|
+
case FieldType.Custom:
|
|
1105
|
+
return this.field.CustomFieldComponentClass;
|
|
1106
|
+
default:
|
|
1107
|
+
throw new Error(`Trying to use an unsupported type (${this.field?.type}).`);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
_switchEmptyStringToNull(component) {
|
|
1111
|
+
switch (component.instance.field.type) {
|
|
1112
|
+
case FieldType.Password:
|
|
1113
|
+
case FieldType.String:
|
|
1114
|
+
case FieldType.Text:
|
|
1115
|
+
case FieldType.TextIA:
|
|
1116
|
+
const valueChanges$ = component.instance.formControl.valueChanges.subscribe((value) => {
|
|
1117
|
+
if (value === '') {
|
|
1118
|
+
component.instance.formControl.setValue(null, { emitEvent: false });
|
|
1119
|
+
}
|
|
1120
|
+
});
|
|
1121
|
+
component.onDestroy(() => {
|
|
1122
|
+
valueChanges$.unsubscribe();
|
|
1123
|
+
});
|
|
1124
|
+
return;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
class DynamicStructure extends DynamicForm {
|
|
1129
|
+
config;
|
|
1130
|
+
constructor({ group, config, errorMessages, cacheService }) {
|
|
1131
|
+
super({
|
|
1132
|
+
group,
|
|
1133
|
+
errorMessages,
|
|
1134
|
+
cacheService
|
|
1135
|
+
});
|
|
1136
|
+
this.config = config;
|
|
1137
|
+
}
|
|
1138
|
+
createComponent(viewContainerRef) {
|
|
1139
|
+
const component = viewContainerRef.createComponent(this.getComponent());
|
|
1140
|
+
component.instance.config = this.config;
|
|
1141
|
+
component.instance.group = this.group;
|
|
1142
|
+
return component;
|
|
1143
|
+
}
|
|
1144
|
+
updateVariables(component) {
|
|
1145
|
+
component.instance.structure = this.config;
|
|
1146
|
+
component.instance.group = this.group;
|
|
1147
|
+
}
|
|
1148
|
+
getComponent() {
|
|
1149
|
+
if (isNullOrUndefined(this.config)) {
|
|
1150
|
+
throw new Error('Config is null or undefined.');
|
|
1151
|
+
}
|
|
1152
|
+
const structureType = this.config.type;
|
|
1153
|
+
switch (structureType) {
|
|
1154
|
+
case StructureType.Fieldset:
|
|
1155
|
+
case StructureType.Section:
|
|
1156
|
+
return this.cacheService.get(structureType);
|
|
1157
|
+
default:
|
|
1158
|
+
throw new Error(`Trying to use an unsupported type (${this.config?.type}).`);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
class DynamicGrid extends DynamicForm {
|
|
1163
|
+
config;
|
|
1164
|
+
constructor({ group, config, errorMessages, cacheService }) {
|
|
1165
|
+
super({ group, errorMessages, cacheService });
|
|
1166
|
+
this.config = config;
|
|
1167
|
+
}
|
|
1168
|
+
createComponent(viewContainerRef) {
|
|
1169
|
+
const component = viewContainerRef.createComponent(this.getComponent());
|
|
1170
|
+
component.instance.config = this.config;
|
|
1171
|
+
component.instance.group = this.group;
|
|
1172
|
+
component.instance.errorMessages = this.errorMessages;
|
|
1173
|
+
return component;
|
|
1174
|
+
}
|
|
1175
|
+
updateVariables(component) {
|
|
1176
|
+
component.instance.config = this.config;
|
|
1177
|
+
component.instance.group = this.group;
|
|
1178
|
+
}
|
|
1179
|
+
getComponent() {
|
|
1180
|
+
if (isNullOrUndefined(this.config)) {
|
|
1181
|
+
throw new Error('Config is null or undefined.');
|
|
1182
|
+
}
|
|
1183
|
+
switch (this.config?.type) {
|
|
1184
|
+
case GridType.Row:
|
|
1185
|
+
return this.cacheService.get(GridType.Row);
|
|
1186
|
+
default:
|
|
1187
|
+
throw new Error(`Trying to use an unsupported type (${this.config?.type}).`);
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
class DynamicFormDirective {
|
|
1193
|
+
id;
|
|
1194
|
+
config;
|
|
1195
|
+
group;
|
|
1196
|
+
errorMessages;
|
|
1197
|
+
directiveConfig;
|
|
1198
|
+
set sDynamicForm(context) {
|
|
1199
|
+
const { id, config, group, errorMessages } = context;
|
|
1200
|
+
this.id = id;
|
|
1201
|
+
this.config = config;
|
|
1202
|
+
this.group = group;
|
|
1203
|
+
this.errorMessages = errorMessages;
|
|
1204
|
+
}
|
|
1205
|
+
component = null;
|
|
1206
|
+
viewContainerRef = inject(ViewContainerRef);
|
|
1207
|
+
dynamicFormCacheService = inject(DynamicFormCacheService);
|
|
1208
|
+
ngOnInit() {
|
|
1209
|
+
if (this.isField()) {
|
|
1210
|
+
if (!this.config.id && this.id) {
|
|
1211
|
+
this.config.id = this.id + '-' + this.config.name;
|
|
1212
|
+
}
|
|
1213
|
+
this.directiveConfig = new DynamicField({
|
|
1214
|
+
group: this.group,
|
|
1215
|
+
field: this.config,
|
|
1216
|
+
errorMessages: this.errorMessages,
|
|
1217
|
+
cacheService: this.dynamicFormCacheService
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
else if (this.isStructure()) {
|
|
1221
|
+
this.directiveConfig = new DynamicStructure({
|
|
1222
|
+
group: this.group,
|
|
1223
|
+
config: this.config,
|
|
1224
|
+
errorMessages: this.errorMessages,
|
|
1225
|
+
cacheService: this.dynamicFormCacheService
|
|
1226
|
+
});
|
|
1227
|
+
}
|
|
1228
|
+
else if (this.isGrid()) {
|
|
1229
|
+
this.directiveConfig = new DynamicGrid({
|
|
1230
|
+
group: this.group,
|
|
1231
|
+
config: this.config,
|
|
1232
|
+
errorMessages: this.errorMessages,
|
|
1233
|
+
cacheService: this.dynamicFormCacheService
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
else
|
|
1237
|
+
throw new Error(`Trying to use an unsupported type (${this.getType}).`);
|
|
1238
|
+
this.component = this.directiveConfig.createComponent(this.viewContainerRef);
|
|
1239
|
+
if (!isNullOrUndefined(this.component)) {
|
|
1240
|
+
this.component.instance.id = this.id;
|
|
1241
|
+
this.component.instance.errorMessages = this.errorMessages;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
ngOnChanges() {
|
|
1245
|
+
if (this.component) {
|
|
1246
|
+
this.directiveConfig?.updateVariables(this.component);
|
|
1247
|
+
this.component.instance.errorMessages = this.errorMessages;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
ngOnDestroy() {
|
|
1251
|
+
this.component?.destroy();
|
|
1252
|
+
}
|
|
1253
|
+
isField() {
|
|
1254
|
+
if (isNullOrUndefined(this.getType)) {
|
|
1255
|
+
return false;
|
|
1256
|
+
}
|
|
1257
|
+
return !!FieldType[this.getType];
|
|
1258
|
+
}
|
|
1259
|
+
isStructure() {
|
|
1260
|
+
if (isNullOrUndefined(this.getType)) {
|
|
1261
|
+
return false;
|
|
1262
|
+
}
|
|
1263
|
+
return !!StructureType[this.getType];
|
|
1264
|
+
}
|
|
1265
|
+
isGrid() {
|
|
1266
|
+
if (isNullOrUndefined(this.getType)) {
|
|
1267
|
+
return false;
|
|
1268
|
+
}
|
|
1269
|
+
return !!GridType[this.getType];
|
|
1270
|
+
}
|
|
1271
|
+
get getType() {
|
|
1272
|
+
const config = this.config;
|
|
1273
|
+
if (config instanceof DynamicConfig) {
|
|
1274
|
+
return config.type;
|
|
1275
|
+
}
|
|
1276
|
+
else {
|
|
1277
|
+
return config?.type;
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1281
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DynamicFormDirective, selector: "[sDynamicForm]", inputs: { sDynamicForm: "sDynamicForm" }, usesOnChanges: true, ngImport: i0 });
|
|
1282
|
+
}
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormDirective, decorators: [{
|
|
1284
|
+
type: Directive,
|
|
1285
|
+
args: [{ selector: '[sDynamicForm]' }]
|
|
1286
|
+
}], propDecorators: { sDynamicForm: [{
|
|
1287
|
+
type: Input
|
|
1288
|
+
}] } });
|
|
1289
|
+
|
|
1290
|
+
class DynamicFormComponent {
|
|
1291
|
+
id;
|
|
1292
|
+
configs = [];
|
|
1293
|
+
/**
|
|
1294
|
+
* @deprecated Use `configs` input instead. Este campo será removido em versões futuras.
|
|
1295
|
+
*/
|
|
1296
|
+
fields = input(null, {
|
|
1297
|
+
transform: (fields) => [
|
|
1298
|
+
{
|
|
1299
|
+
type: GridType.Row,
|
|
1300
|
+
fields,
|
|
1301
|
+
},
|
|
1302
|
+
],
|
|
1303
|
+
});
|
|
1304
|
+
conf = computed(() => (this.fields() ? this.fields() : this.configs));
|
|
1305
|
+
form;
|
|
1306
|
+
errorMessages = {};
|
|
1307
|
+
dynamicFormCacheService = inject(DynamicFormCacheService);
|
|
1308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1309
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: DynamicFormComponent, selector: "s-dynamic-form", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, configs: { classPropertyName: "configs", publicName: "configs", isSignal: false, isRequired: false, transformFunction: null }, fields: { classPropertyName: "fields", publicName: "fields", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: false, isRequired: true, transformFunction: null }, errorMessages: { classPropertyName: "errorMessages", publicName: "errorMessages", isSignal: false, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if(dynamicFormCacheService.LOADED_ALL_CACHE) {\n <ng-container *ngFor=\"let config of conf()\">\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: config,\n group: form,\n errorMessages: errorMessages\n }\">\n </ng-container>\n </ng-container>\n}\n", styles: ["label.required:after{content:\" *\";color:#c13018}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: DynamicFormDirective, selector: "[sDynamicForm]", inputs: ["sDynamicForm"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1310
|
+
}
|
|
1311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormComponent, decorators: [{
|
|
1312
|
+
type: Component,
|
|
1313
|
+
args: [{ selector: 's-dynamic-form', encapsulation: ViewEncapsulation.None, template: "@if(dynamicFormCacheService.LOADED_ALL_CACHE) {\n <ng-container *ngFor=\"let config of conf()\">\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: config,\n group: form,\n errorMessages: errorMessages\n }\">\n </ng-container>\n </ng-container>\n}\n", styles: ["label.required:after{content:\" *\";color:#c13018}\n"] }]
|
|
1314
|
+
}], propDecorators: { id: [{
|
|
1315
|
+
type: Input
|
|
1316
|
+
}], configs: [{
|
|
1317
|
+
type: Input
|
|
1318
|
+
}], form: [{
|
|
1319
|
+
type: Input,
|
|
1320
|
+
args: [{ required: true }]
|
|
1321
|
+
}], errorMessages: [{
|
|
1322
|
+
type: Input
|
|
1323
|
+
}] } });
|
|
1324
|
+
|
|
1325
|
+
class FieldLabelComponent {
|
|
1326
|
+
field;
|
|
1327
|
+
fieldContainerRef = null;
|
|
1328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1329
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FieldLabelComponent, selector: "s-field-label", inputs: { field: "field", fieldContainerRef: "fieldContainerRef" }, ngImport: i0, template: "<!--\n Caso esse componente seja alterado/removido/movido,\n alterar a label no row.component.ts\n-->\n\n@if (field.label) {\n <span>\n <label\n *sInfoSign=\"\n field.infoSign ?? '';\n displayTime: field.displayTimeInfoSign ?? 0;\n focusedInputRef: fieldContainerRef;\n useFocusedInputRef: field.useInfoSignFocusedInputRef;\n \"\n [for]=\"field.name\"\n class=\"inline-block\"\n [ngClass]=\"{ required: field.required?.() }\"\n >\n {{ field.label }}\n </label>\n </span>\n}\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.InfoSignDirective, selector: "[sInfoSign]", inputs: ["sInfoSign", "sInfoSignDisplayTime", "sInfoSignFocusedInputRef", "sInfoSignUseFocusedInputRef"] }] });
|
|
1330
|
+
}
|
|
1331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldLabelComponent, decorators: [{
|
|
1332
|
+
type: Component,
|
|
1333
|
+
args: [{ selector: 's-field-label', template: "<!--\n Caso esse componente seja alterado/removido/movido,\n alterar a label no row.component.ts\n-->\n\n@if (field.label) {\n <span>\n <label\n *sInfoSign=\"\n field.infoSign ?? '';\n displayTime: field.displayTimeInfoSign ?? 0;\n focusedInputRef: fieldContainerRef;\n useFocusedInputRef: field.useInfoSignFocusedInputRef;\n \"\n [for]=\"field.name\"\n class=\"inline-block\"\n [ngClass]=\"{ required: field.required?.() }\"\n >\n {{ field.label }}\n </label>\n </span>\n}\n" }]
|
|
1334
|
+
}], propDecorators: { field: [{
|
|
1335
|
+
type: Input,
|
|
1336
|
+
args: [{ required: true }]
|
|
1337
|
+
}], fieldContainerRef: [{
|
|
1338
|
+
type: Input
|
|
1339
|
+
}] } });
|
|
1340
|
+
|
|
1341
|
+
class RowComponent {
|
|
1342
|
+
id;
|
|
1343
|
+
config;
|
|
1344
|
+
group;
|
|
1345
|
+
errorMessages;
|
|
1346
|
+
FieldType = FieldType;
|
|
1347
|
+
getErrorMessages(errorMessages) {
|
|
1348
|
+
if (errorMessages)
|
|
1349
|
+
return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
|
|
1350
|
+
return this.errorMessages;
|
|
1351
|
+
}
|
|
1352
|
+
isFunction(value) {
|
|
1353
|
+
return value instanceof Function;
|
|
1354
|
+
}
|
|
1355
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1356
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RowComponent, selector: "s-row", inputs: { id: "id", config: "config", group: "group", errorMessages: "errorMessages" }, ngImport: i0, template: "<div\n class=\"p-fluid\"\n [formGroup]=\"group\"\n>\n <div class=\"ui-g\">\n @for (field of config.fields; let i = $index; track i) {\n @if (field.visible && field.visible()) {\n <div [ngClass]=\"field.gridClass\">\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group }\"></ng-container>\n\n @if (field.type === FieldType.Custom && field.label) {\n <label\n *sInfoSign=\"\n field.infoSign ?? '';\n displayTime: field.displayTimeInfoSign ?? 5000;\n useFocusedInputRef: field.useInfoSignFocusedInputRef ?? false\n \"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required ? field.required() : false }\"\n >\n {{ field.label }}\n </label>\n }\n\n @if (field.name) {\n <s-control-errors\n [form]=\"group\"\n [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"\n ></s-control-errors>\n }\n\n @if (field.footer) {\n @if (field.footer.help) {\n @if (\n field.name &&\n field.footer.help.visible &&\n field.footer.help.visible({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n ) {\n <span style=\"color: #888b99\">\n {{ field.footer.help.text }}\n </span>\n }\n }\n }\n\n @if (field.footer) {\n @if (\n field.name &&\n field.footer.link?.visible({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n ) {\n <div\n class=\"ui-g\"\n style=\"margin-left: -17px\"\n >\n <s-button\n [label]=\"field.footer.link?.label\"\n priority=\"link\"\n (clicked)=\"\n field.footer.link?.onClick({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n \"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n }\n }\n @if (field.bottomTemplate) {\n <ng-template [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n }\n </div>\n }\n }\n </div>\n</div>\n\n", dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.ControlErrorsComponent, selector: "s-control-errors", inputs: ["id", "control", "errorMessages", "form"] }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.InfoSignDirective, selector: "[sInfoSign]", inputs: ["sInfoSign", "sInfoSignDisplayTime", "sInfoSignFocusedInputRef", "sInfoSignUseFocusedInputRef"] }, { kind: "directive", type: DynamicFormDirective, selector: "[sDynamicForm]", inputs: ["sDynamicForm"] }] });
|
|
1357
|
+
}
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RowComponent, decorators: [{
|
|
1359
|
+
type: Component,
|
|
1360
|
+
args: [{ selector: 's-row', template: "<div\n class=\"p-fluid\"\n [formGroup]=\"group\"\n>\n <div class=\"ui-g\">\n @for (field of config.fields; let i = $index; track i) {\n @if (field.visible && field.visible()) {\n <div [ngClass]=\"field.gridClass\">\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group }\"></ng-container>\n\n @if (field.type === FieldType.Custom && field.label) {\n <label\n *sInfoSign=\"\n field.infoSign ?? '';\n displayTime: field.displayTimeInfoSign ?? 5000;\n useFocusedInputRef: field.useInfoSignFocusedInputRef ?? false\n \"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required ? field.required() : false }\"\n >\n {{ field.label }}\n </label>\n }\n\n @if (field.name) {\n <s-control-errors\n [form]=\"group\"\n [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"\n ></s-control-errors>\n }\n\n @if (field.footer) {\n @if (field.footer.help) {\n @if (\n field.name &&\n field.footer.help.visible &&\n field.footer.help.visible({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n ) {\n <span style=\"color: #888b99\">\n {{ field.footer.help.text }}\n </span>\n }\n }\n }\n\n @if (field.footer) {\n @if (\n field.name &&\n field.footer.link?.visible({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n ) {\n <div\n class=\"ui-g\"\n style=\"margin-left: -17px\"\n >\n <s-button\n [label]=\"field.footer.link?.label\"\n priority=\"link\"\n (clicked)=\"\n field.footer.link?.onClick({\n abstractControl: group.controls[field.name],\n formField: field,\n })\n \"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n }\n }\n @if (field.bottomTemplate) {\n <ng-template [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n }\n </div>\n }\n }\n </div>\n</div>\n\n" }]
|
|
1361
|
+
}], propDecorators: { id: [{
|
|
1362
|
+
type: Input
|
|
1363
|
+
}], config: [{
|
|
1364
|
+
type: Input,
|
|
1365
|
+
args: [{ required: true }]
|
|
1366
|
+
}], group: [{
|
|
1367
|
+
type: Input,
|
|
1368
|
+
args: [{ required: true }]
|
|
1369
|
+
}], errorMessages: [{
|
|
1370
|
+
type: Input
|
|
1371
|
+
}] } });
|
|
1372
|
+
|
|
1373
|
+
var row_component = /*#__PURE__*/Object.freeze({
|
|
1374
|
+
__proto__: null,
|
|
1375
|
+
RowComponent: RowComponent
|
|
1376
|
+
});
|
|
1377
|
+
|
|
1378
|
+
class BlobField extends Field {
|
|
1379
|
+
accept;
|
|
1380
|
+
files;
|
|
1381
|
+
chooseLabel;
|
|
1382
|
+
removeLabel;
|
|
1383
|
+
cancelLabel;
|
|
1384
|
+
successTooltip;
|
|
1385
|
+
multiple;
|
|
1386
|
+
onUploadFile;
|
|
1387
|
+
onRemoveFile;
|
|
1388
|
+
onCancelUpload;
|
|
1389
|
+
onDownloadFile;
|
|
1390
|
+
showFileUploadDate;
|
|
1391
|
+
constructor(config) {
|
|
1392
|
+
super(config);
|
|
1393
|
+
this.accept = config.accept;
|
|
1394
|
+
this.files = config.files || [];
|
|
1395
|
+
this.chooseLabel = config.chooseLabel;
|
|
1396
|
+
this.removeLabel = config.removeLabel;
|
|
1397
|
+
this.cancelLabel = config.cancelLabel;
|
|
1398
|
+
this.successTooltip = config.successTooltip;
|
|
1399
|
+
this.multiple = config.multiple;
|
|
1400
|
+
this.onUploadFile = config.onUploadFile;
|
|
1401
|
+
this.onRemoveFile = config.onRemoveFile;
|
|
1402
|
+
this.onCancelUpload = config.onCancelUpload;
|
|
1403
|
+
this.onDownloadFile = config.onDownloadFile;
|
|
1404
|
+
this.showFileUploadDate = config.showFileUploadDate;
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
class ButtonField extends Field {
|
|
1409
|
+
priority;
|
|
1410
|
+
iconClass;
|
|
1411
|
+
disabled = false;
|
|
1412
|
+
auxiliary = false;
|
|
1413
|
+
caret = false;
|
|
1414
|
+
onClick;
|
|
1415
|
+
fullWidth;
|
|
1416
|
+
iconColor;
|
|
1417
|
+
badge;
|
|
1418
|
+
animation;
|
|
1419
|
+
slide = false;
|
|
1420
|
+
menuOptions = [];
|
|
1421
|
+
baseZIndex = 0;
|
|
1422
|
+
styleClass;
|
|
1423
|
+
rightIconClass;
|
|
1424
|
+
tooltipPosition = 'top';
|
|
1425
|
+
buttonType;
|
|
1426
|
+
buttonSize;
|
|
1427
|
+
mouseEnter;
|
|
1428
|
+
mouseLeave;
|
|
1429
|
+
constructor(config) {
|
|
1430
|
+
super(config);
|
|
1431
|
+
this.priority = config.priority || 'primary';
|
|
1432
|
+
this.iconClass = config.iconClass || '';
|
|
1433
|
+
this.disabled = config.disabled || false;
|
|
1434
|
+
this.auxiliary = config.auxiliary || false;
|
|
1435
|
+
this.caret = config.caret || false;
|
|
1436
|
+
this.id = config.id || `s-button-${randomHash()}`;
|
|
1437
|
+
this.onClick = config.onClick || (() => { });
|
|
1438
|
+
this.fullWidth = config.fullWidth || false;
|
|
1439
|
+
this.iconColor = config.iconColor;
|
|
1440
|
+
this.badge = config.badge;
|
|
1441
|
+
this.animation = config.animation;
|
|
1442
|
+
this.slide = config.slide || false;
|
|
1443
|
+
this.menuOptions = config.menuOptions || [];
|
|
1444
|
+
this.baseZIndex = config.baseZIndex || 0;
|
|
1445
|
+
this.styleClass = config.styleClass;
|
|
1446
|
+
this.rightIconClass = config.rightIconClass;
|
|
1447
|
+
this.tooltipPosition = config.tooltipPosition;
|
|
1448
|
+
this.mouseEnter = config.mouseEnter;
|
|
1449
|
+
this.mouseLeave = config.mouseLeave;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
class CheckboxField extends Field {
|
|
1454
|
+
data;
|
|
1455
|
+
constructor(config) {
|
|
1456
|
+
super(config);
|
|
1457
|
+
this.data = config.data;
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
class CountryPhonePickerField extends Field {
|
|
1462
|
+
countries;
|
|
1463
|
+
ordination;
|
|
1464
|
+
onSelected;
|
|
1465
|
+
onFocusLost;
|
|
1466
|
+
constructor(config) {
|
|
1467
|
+
super(config);
|
|
1468
|
+
this.countries = config.countries;
|
|
1469
|
+
this.ordination = config.ordination;
|
|
1470
|
+
this.onSelected = config.onSelected;
|
|
1471
|
+
this.onFocusLost = config.onFocusLost;
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
class EditorField extends Field {
|
|
1476
|
+
formats;
|
|
1477
|
+
readonly;
|
|
1478
|
+
modules;
|
|
1479
|
+
style;
|
|
1480
|
+
constructor(config) {
|
|
1481
|
+
super(config);
|
|
1482
|
+
this.formats = config.formats;
|
|
1483
|
+
this.readonly = config.readonly;
|
|
1484
|
+
this.modules = config.modules;
|
|
1485
|
+
this.style = config.style;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
class ProfilePictureField extends Field {
|
|
1490
|
+
simpleTitle;
|
|
1491
|
+
actionTitle;
|
|
1492
|
+
subtitle;
|
|
1493
|
+
aspectRatio;
|
|
1494
|
+
cropperLabelsConfig;
|
|
1495
|
+
removeButtonLabel;
|
|
1496
|
+
changeButtonLabel;
|
|
1497
|
+
confirmationTexts;
|
|
1498
|
+
maxFileSize;
|
|
1499
|
+
accept;
|
|
1500
|
+
supportedExtensions = [];
|
|
1501
|
+
onChangeImage;
|
|
1502
|
+
onRemovedImage;
|
|
1503
|
+
onInvalidFile;
|
|
1504
|
+
constructor(config) {
|
|
1505
|
+
super(config);
|
|
1506
|
+
this.simpleTitle = config.simpleTitle;
|
|
1507
|
+
this.actionTitle = config.actionTitle;
|
|
1508
|
+
this.subtitle = config.subtitle;
|
|
1509
|
+
this.aspectRatio = config.aspectRatio;
|
|
1510
|
+
this.cropperLabelsConfig = config.cropperLabelsConfig;
|
|
1511
|
+
this.removeButtonLabel = config.removeButtonLabel;
|
|
1512
|
+
this.changeButtonLabel = config.changeButtonLabel;
|
|
1513
|
+
this.confirmationTexts = config.confirmationTexts;
|
|
1514
|
+
this.maxFileSize = config.maxFileSize;
|
|
1515
|
+
this.accept = config.accept;
|
|
1516
|
+
this.supportedExtensions = config.supportedExtensions || [];
|
|
1517
|
+
this.onChangeImage = config.onChangeImage;
|
|
1518
|
+
this.onRemovedImage = config.onRemovedImage;
|
|
1519
|
+
this.onInvalidFile = config.onInvalidFile;
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
class TextAreaIAField extends Field {
|
|
1524
|
+
cols;
|
|
1525
|
+
rows;
|
|
1526
|
+
keyFilter;
|
|
1527
|
+
style = {
|
|
1528
|
+
resize: 'vertical'
|
|
1529
|
+
};
|
|
1530
|
+
prompt;
|
|
1531
|
+
readonly;
|
|
1532
|
+
speechRecognition;
|
|
1533
|
+
keepContext;
|
|
1534
|
+
speechRecognitionPlaceholder;
|
|
1535
|
+
maxLength;
|
|
1536
|
+
constructor(config) {
|
|
1537
|
+
super(config);
|
|
1538
|
+
this.cols = config.cols;
|
|
1539
|
+
this.rows = config.rows;
|
|
1540
|
+
this.keyFilter = config.keyFilter;
|
|
1541
|
+
this.style = {
|
|
1542
|
+
...config.style,
|
|
1543
|
+
...this.style,
|
|
1544
|
+
};
|
|
1545
|
+
this.prompt = config.prompt;
|
|
1546
|
+
this.readonly = config.readonly;
|
|
1547
|
+
this.speechRecognition = config.speechRecognition ?? false;
|
|
1548
|
+
this.keepContext = config.keepContext ?? false;
|
|
1549
|
+
this.speechRecognitionPlaceholder = config.speechRecognitionPlaceholder ?? '';
|
|
1550
|
+
this.maxLength = config.maxLength ?? null;
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
class StarRatingField extends Field {
|
|
1555
|
+
starRange;
|
|
1556
|
+
disabled;
|
|
1557
|
+
justifyContent;
|
|
1558
|
+
valueChange;
|
|
1559
|
+
constructor(config) {
|
|
1560
|
+
super(config);
|
|
1561
|
+
this.starRange = config.starRange ?? 5;
|
|
1562
|
+
this.disabled = config.disabled ?? false;
|
|
1563
|
+
this.justifyContent = config.justifyContent || 'start';
|
|
1564
|
+
if (config.valueChange) {
|
|
1565
|
+
this.valueChange = config.valueChange;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
class FormField {
|
|
1571
|
+
id;
|
|
1572
|
+
/**
|
|
1573
|
+
* Tells whether the field is required or not
|
|
1574
|
+
*/
|
|
1575
|
+
required;
|
|
1576
|
+
name = '';
|
|
1577
|
+
sortableColumnName;
|
|
1578
|
+
type;
|
|
1579
|
+
label;
|
|
1580
|
+
/**
|
|
1581
|
+
* Labels of a Radio Button, only used to FieldType Boolean
|
|
1582
|
+
*/
|
|
1583
|
+
optionsLabel;
|
|
1584
|
+
tooltip;
|
|
1585
|
+
/**
|
|
1586
|
+
* Mask pattern.
|
|
1587
|
+
*/
|
|
1588
|
+
mask;
|
|
1589
|
+
/**
|
|
1590
|
+
* Message to display when there are no results for a query.
|
|
1591
|
+
*/
|
|
1592
|
+
emptyMessage;
|
|
1593
|
+
cols;
|
|
1594
|
+
rows;
|
|
1595
|
+
placeholder;
|
|
1596
|
+
options;
|
|
1597
|
+
calendarLocaleOptions;
|
|
1598
|
+
numberLocaleOptions;
|
|
1599
|
+
multiple;
|
|
1600
|
+
appendTo;
|
|
1601
|
+
browserAutocomplete;
|
|
1602
|
+
showClear;
|
|
1603
|
+
showOnFocus;
|
|
1604
|
+
style;
|
|
1605
|
+
representedBy;
|
|
1606
|
+
/**
|
|
1607
|
+
* Whether the `RadioButton` should be displayed on the vertical or not.
|
|
1608
|
+
*
|
|
1609
|
+
* @default false
|
|
1610
|
+
*/
|
|
1611
|
+
verticalAlignment;
|
|
1612
|
+
/**
|
|
1613
|
+
* Field max length
|
|
1614
|
+
*/
|
|
1615
|
+
precision;
|
|
1616
|
+
/**
|
|
1617
|
+
* Number of decimal places
|
|
1618
|
+
*/
|
|
1619
|
+
scale;
|
|
1620
|
+
/**
|
|
1621
|
+
* @deprecated Using FieldType.Number this attribute is unnecessary
|
|
1622
|
+
*/
|
|
1623
|
+
alignTo;
|
|
1624
|
+
gridClass;
|
|
1625
|
+
size;
|
|
1626
|
+
multipleSelectedLabel;
|
|
1627
|
+
inputType;
|
|
1628
|
+
accept;
|
|
1629
|
+
files;
|
|
1630
|
+
autocompleteForceSelection;
|
|
1631
|
+
/**
|
|
1632
|
+
* The minimum selectable date.
|
|
1633
|
+
*/
|
|
1634
|
+
minDate;
|
|
1635
|
+
/**
|
|
1636
|
+
* The maximum selectable date.
|
|
1637
|
+
*/
|
|
1638
|
+
maxDate;
|
|
1639
|
+
/**
|
|
1640
|
+
* Set the date to highlight on first opening if the field is blank.
|
|
1641
|
+
*/
|
|
1642
|
+
defaultDate;
|
|
1643
|
+
/**
|
|
1644
|
+
* Text or icon to be grouped in the left of an input.
|
|
1645
|
+
*/
|
|
1646
|
+
leftAddon;
|
|
1647
|
+
/**
|
|
1648
|
+
* Text or icon to be grouped in right of an input.
|
|
1649
|
+
*/
|
|
1650
|
+
rightAddon;
|
|
1651
|
+
/**
|
|
1652
|
+
* InfoSign para a label do input.
|
|
1653
|
+
*/
|
|
1654
|
+
infoSign;
|
|
1655
|
+
/**
|
|
1656
|
+
* Expression to restricts user input
|
|
1657
|
+
*/
|
|
1658
|
+
keyFilter;
|
|
1659
|
+
/**
|
|
1660
|
+
* Default value for field
|
|
1661
|
+
*/
|
|
1662
|
+
defaultValue;
|
|
1663
|
+
/**
|
|
1664
|
+
* Customized FormField error message
|
|
1665
|
+
*/
|
|
1666
|
+
errorMessages;
|
|
1667
|
+
visible;
|
|
1668
|
+
/**
|
|
1669
|
+
* Callback to invoke when the field loses focus
|
|
1670
|
+
*/
|
|
1671
|
+
onBlur;
|
|
1672
|
+
/**
|
|
1673
|
+
* Callback to invoke when the field receives focus
|
|
1674
|
+
*/
|
|
1675
|
+
onFocus;
|
|
1676
|
+
onComplete;
|
|
1677
|
+
onInput;
|
|
1678
|
+
onChange;
|
|
1679
|
+
onSelect;
|
|
1680
|
+
/**
|
|
1681
|
+
* Callback to invoke on component click.
|
|
1682
|
+
*/
|
|
1683
|
+
onClick;
|
|
1684
|
+
onClose;
|
|
1685
|
+
onTodayClick;
|
|
1686
|
+
onClearClick;
|
|
1687
|
+
onMonthChange;
|
|
1688
|
+
onYearChange;
|
|
1689
|
+
/**
|
|
1690
|
+
* Callback to invoke when a value is added.
|
|
1691
|
+
*/
|
|
1692
|
+
onAdd;
|
|
1693
|
+
/**
|
|
1694
|
+
* Callback to invoke when a value is removed.
|
|
1695
|
+
*/
|
|
1696
|
+
onRemove;
|
|
1697
|
+
/**
|
|
1698
|
+
* Callback to invoke when a chip is clicked.
|
|
1699
|
+
*/
|
|
1700
|
+
onChipClick;
|
|
1701
|
+
/**
|
|
1702
|
+
* Callback to invoke when a slider is released
|
|
1703
|
+
*/
|
|
1704
|
+
onSlideEnd;
|
|
1705
|
+
CustomFieldClass;
|
|
1706
|
+
CustomFieldComponentClass;
|
|
1707
|
+
/**
|
|
1708
|
+
* @deprecated You should use footer attribute instead.
|
|
1709
|
+
*/
|
|
1710
|
+
bottomTemplate;
|
|
1711
|
+
autoClear;
|
|
1712
|
+
displayTimeInfoSign;
|
|
1713
|
+
footer;
|
|
1714
|
+
useInfoSignFocusedInputRef;
|
|
1715
|
+
width;
|
|
1716
|
+
/**
|
|
1717
|
+
* In some cases DynamicFormField use a custom field that alredy exists, this happen in CustomFields when convert 'Integer, Double & Money' types to 'Custom' this create two labels. activate this property hide the parent label.
|
|
1718
|
+
*/
|
|
1719
|
+
ignoreLabel = false;
|
|
1720
|
+
constructor(config) {
|
|
1721
|
+
this.useInfoSignFocusedInputRef = config.useInfoSignFocusedInputRef ?? false;
|
|
1722
|
+
switch (config.type) {
|
|
1723
|
+
case FieldType.Enum:
|
|
1724
|
+
return new SelectField(config);
|
|
1725
|
+
case FieldType.Autocomplete:
|
|
1726
|
+
return new AutocompleteField(config);
|
|
1727
|
+
case FieldType.Money:
|
|
1728
|
+
return new CurrencyField(config);
|
|
1729
|
+
case FieldType.Integer:
|
|
1730
|
+
return new NumberField(config);
|
|
1731
|
+
case FieldType.Double:
|
|
1732
|
+
return new DecimalField(config);
|
|
1733
|
+
case FieldType.Number:
|
|
1734
|
+
return new BignumberField(config);
|
|
1735
|
+
case FieldType.String:
|
|
1736
|
+
case FieldType.Binary:
|
|
1737
|
+
return new TextField(config);
|
|
1738
|
+
case FieldType.Password:
|
|
1739
|
+
return new PasswordField(config);
|
|
1740
|
+
case FieldType.Text:
|
|
1741
|
+
return new TextAreaField(config);
|
|
1742
|
+
case FieldType.TextIA:
|
|
1743
|
+
return new TextAreaIAField(config);
|
|
1744
|
+
case FieldType.Boolean:
|
|
1745
|
+
return config.representedBy === 'switch' ? new BooleanSwitchField(config) : new BooleanField(config);
|
|
1746
|
+
case FieldType.Date:
|
|
1747
|
+
case FieldType.DateTime:
|
|
1748
|
+
case FieldType.LocalDateTime:
|
|
1749
|
+
case FieldType.Time:
|
|
1750
|
+
return new CalendarField(config);
|
|
1751
|
+
case FieldType.Lookup:
|
|
1752
|
+
return new LookupField(config);
|
|
1753
|
+
case FieldType.Radio:
|
|
1754
|
+
return new RadioButtonField(config);
|
|
1755
|
+
case FieldType.Checkbox:
|
|
1756
|
+
return new CheckboxField(config);
|
|
1757
|
+
case FieldType.Chips:
|
|
1758
|
+
return new ChipsField(config);
|
|
1759
|
+
case FieldType.CountryPhonePicker:
|
|
1760
|
+
return new CountryPhonePickerField(config);
|
|
1761
|
+
case FieldType.Blob:
|
|
1762
|
+
return new BlobField(config);
|
|
1763
|
+
case FieldType.Slider:
|
|
1764
|
+
return new SliderField(config);
|
|
1765
|
+
case FieldType.ProfilePicture:
|
|
1766
|
+
return new ProfilePictureField(config);
|
|
1767
|
+
case FieldType.Editor:
|
|
1768
|
+
return new EditorField(config);
|
|
1769
|
+
case FieldType.Button:
|
|
1770
|
+
return new ButtonField(config);
|
|
1771
|
+
case FieldType.StarRating:
|
|
1772
|
+
return new StarRatingField(config);
|
|
1773
|
+
case FieldType.Custom:
|
|
1774
|
+
const { CustomFieldClass, ...otherConfigs } = config;
|
|
1775
|
+
return new CustomFieldClass(otherConfigs);
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
class Option {
|
|
1780
|
+
label;
|
|
1781
|
+
value;
|
|
1782
|
+
constructor(label, value) {
|
|
1783
|
+
this.label = label;
|
|
1784
|
+
this.value = value;
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
class LookupComponent {
|
|
1789
|
+
hotkeysService;
|
|
1790
|
+
translateService;
|
|
1791
|
+
changeDetectorRef;
|
|
1792
|
+
lookupDialogContainer = viewChild('dialogContainer');
|
|
1793
|
+
rowType = 'Row';
|
|
1794
|
+
indicatorLogo = LoadingStateIndicators.Logo;
|
|
1795
|
+
static nextId = 0;
|
|
1796
|
+
formControlName;
|
|
1797
|
+
id = `s-lookup-${LookupComponent.nextId++}`;
|
|
1798
|
+
autocompleteForceSelection = true;
|
|
1799
|
+
multiple = false;
|
|
1800
|
+
dataKey;
|
|
1801
|
+
disabled = false;
|
|
1802
|
+
showSearch = true;
|
|
1803
|
+
lookupSuggestions = [];
|
|
1804
|
+
lookupDisplayField;
|
|
1805
|
+
lookupDisplayFieldTooltip = false;
|
|
1806
|
+
lookupEmptyMessage;
|
|
1807
|
+
lookupAppendTo = 'body';
|
|
1808
|
+
searchEmptyDescription;
|
|
1809
|
+
searchGridData = [];
|
|
1810
|
+
searchTotalRecords = 0;
|
|
1811
|
+
searchFields = [];
|
|
1812
|
+
searchGridFields = [];
|
|
1813
|
+
multiSortMeta = [];
|
|
1814
|
+
placeholder;
|
|
1815
|
+
sortableColumnsDisabled = [];
|
|
1816
|
+
lookupRowProps = [];
|
|
1817
|
+
defaultFilter = [];
|
|
1818
|
+
showAddOption = false;
|
|
1819
|
+
showEditOption = false;
|
|
1820
|
+
showRemoveOption = false;
|
|
1821
|
+
onLookupRequest = new EventEmitter();
|
|
1822
|
+
onSearchRequest = new EventEmitter();
|
|
1823
|
+
onFocus = new EventEmitter();
|
|
1824
|
+
onBlur = new EventEmitter();
|
|
1825
|
+
onKeyUp = new EventEmitter();
|
|
1826
|
+
onSelect = new EventEmitter();
|
|
1827
|
+
onUnselect = new EventEmitter();
|
|
1828
|
+
onClear = new EventEmitter();
|
|
1829
|
+
onAdd = new EventEmitter();
|
|
1830
|
+
onEdit = new EventEmitter();
|
|
1831
|
+
onRemove = new EventEmitter();
|
|
1832
|
+
onClearButtonClick = new EventEmitter();
|
|
1833
|
+
table = null;
|
|
1834
|
+
autocomplete = null;
|
|
1835
|
+
labelOptions;
|
|
1836
|
+
value;
|
|
1837
|
+
loading = false;
|
|
1838
|
+
animating = false;
|
|
1839
|
+
dialogVisible = false;
|
|
1840
|
+
collapsed = false;
|
|
1841
|
+
selected = [];
|
|
1842
|
+
formGroupDialog;
|
|
1843
|
+
transitionOptions = '400ms cubic-bezier(0.86, 0, 0.07, 1)';
|
|
1844
|
+
onChange;
|
|
1845
|
+
onTouched;
|
|
1846
|
+
originalFormValues = {};
|
|
1847
|
+
ngUnsubscribe = new Subject();
|
|
1848
|
+
constructor(hotkeysService, translateService, changeDetectorRef) {
|
|
1849
|
+
this.hotkeysService = hotkeysService;
|
|
1850
|
+
this.translateService = translateService;
|
|
1851
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
1852
|
+
}
|
|
1853
|
+
ngOnInit() {
|
|
1854
|
+
if (!this.searchGridFields.length) {
|
|
1855
|
+
this.searchGridFields = this.searchFields
|
|
1856
|
+
.filter((item) => !item.visible || item.visible?.())
|
|
1857
|
+
.map((item) => new FormField({ ...item }));
|
|
1858
|
+
}
|
|
1859
|
+
this.searchFields = this.searchFields.map((value) => new FormField({
|
|
1860
|
+
...value,
|
|
1861
|
+
size: { sm: 12, md: 12, lg: 12, xl: 12 },
|
|
1862
|
+
}));
|
|
1863
|
+
this.searchGridFields = this.searchGridFields
|
|
1864
|
+
.filter((gridField) => !gridField.visible || gridField.visible?.())
|
|
1865
|
+
.map((gridField) => {
|
|
1866
|
+
if (gridField.label) {
|
|
1867
|
+
gridField['width'] = this.getColWidth(gridField.label);
|
|
1868
|
+
}
|
|
1869
|
+
const calendarOptions = new CalendarLocaleOptions({ ...gridField.calendarLocaleOptions });
|
|
1870
|
+
if (calendarOptions?.dateFormat) {
|
|
1871
|
+
switch (gridField.type) {
|
|
1872
|
+
case FieldType.Date:
|
|
1873
|
+
calendarOptions.dateFormat = this._convertToMomentDateFormat(calendarOptions.dateFormat);
|
|
1874
|
+
break;
|
|
1875
|
+
case FieldType.Time:
|
|
1876
|
+
calendarOptions.dateFormat = this._convertToMomentHourFormat(calendarOptions.hourFormat, calendarOptions.dateFormat);
|
|
1877
|
+
break;
|
|
1878
|
+
}
|
|
1879
|
+
gridField.calendarLocaleOptions = calendarOptions;
|
|
1880
|
+
}
|
|
1881
|
+
return gridField;
|
|
1882
|
+
});
|
|
1883
|
+
const hasFieldWithDotInName = this.searchFields.some((field) => field.name.includes('.'));
|
|
1884
|
+
if (hasFieldWithDotInName) {
|
|
1885
|
+
const fieldsWithDot = this.searchFields
|
|
1886
|
+
.filter((item) => item.name.includes('.'))
|
|
1887
|
+
.map((item) => item.name)
|
|
1888
|
+
.join();
|
|
1889
|
+
throw new Error(`This fields: [${fieldsWithDot}] can't have dot in their names, please replace.`);
|
|
1890
|
+
}
|
|
1891
|
+
const formGroup = this.searchFields.reduce((result, field) => {
|
|
1892
|
+
if (field.name) {
|
|
1893
|
+
result[field.name] = new FormControl(field.defaultValue);
|
|
1894
|
+
this.originalFormValues[field.name] = field.defaultValue;
|
|
1895
|
+
}
|
|
1896
|
+
return result;
|
|
1897
|
+
}, {});
|
|
1898
|
+
this.formGroupDialog = new FormGroup(formGroup);
|
|
1899
|
+
this._subscribeEvents();
|
|
1900
|
+
}
|
|
1901
|
+
printRecordTotalizer() {
|
|
1902
|
+
if (this.labelOptions?.searchTotalRecordsLabel) {
|
|
1903
|
+
return this.labelOptions?.searchTotalRecordsLabel;
|
|
1904
|
+
}
|
|
1905
|
+
const recordLabel = this.labelOptions?.recordLabel
|
|
1906
|
+
? `${this.searchTotalRecords} ${this.labelOptions?.recordLabel}`
|
|
1907
|
+
: this.translateService.instant('platform.angular_components.total_record', {
|
|
1908
|
+
count: this.searchTotalRecords,
|
|
1909
|
+
});
|
|
1910
|
+
const recordsLabel = this.labelOptions?.recordsLabel
|
|
1911
|
+
? `${this.searchTotalRecords} ${this.labelOptions?.recordsLabel}`
|
|
1912
|
+
: this.translateService.instant('platform.angular_components.total_records', {
|
|
1913
|
+
count: this.searchTotalRecords,
|
|
1914
|
+
});
|
|
1915
|
+
return this.searchTotalRecords === 1 ? recordLabel : recordsLabel;
|
|
1916
|
+
}
|
|
1917
|
+
_convertToMomentHourFormat(hourFormat, format) {
|
|
1918
|
+
if (format === 'dd/mm/yy') {
|
|
1919
|
+
// valor padrão para o format.
|
|
1920
|
+
return 'LTS';
|
|
1921
|
+
}
|
|
1922
|
+
if (hourFormat === '12') {
|
|
1923
|
+
return format
|
|
1924
|
+
.replace(/\bH\b/, 'h') // hour (12 hour time) (no leading zero)
|
|
1925
|
+
.replace(/\bHH\b/, 'hh'); // hour (12 hour time)
|
|
1926
|
+
}
|
|
1927
|
+
if (hourFormat === '24') {
|
|
1928
|
+
return format
|
|
1929
|
+
.replace(/\bh\b/, 'H') // hour (24 hour time) (no leading zero)
|
|
1930
|
+
.replace(/\bhh\b/, 'HH'); // hour (24 hour time)
|
|
1931
|
+
}
|
|
1932
|
+
return format;
|
|
1933
|
+
}
|
|
1934
|
+
_convertToMomentDateFormat(format) {
|
|
1935
|
+
// A ordem dos replaces é importante.
|
|
1936
|
+
return format
|
|
1937
|
+
.replace(/\bd\b/, 'D') // day of month (no leading zero)
|
|
1938
|
+
.replace(/\bdd\b/, 'DD') // day of month
|
|
1939
|
+
.replace(/\bo\b/, 'DDD') // day of the year (no leading zero)
|
|
1940
|
+
.replace(/\boo\b/, 'DDDD') // day of the year
|
|
1941
|
+
.replace(/\bM\b/, 'MMM') // month name short
|
|
1942
|
+
.replace(/\bMM\b/, 'MMMM') // month name long
|
|
1943
|
+
.replace(/\bm\b/, 'M') // month of year (no leading)
|
|
1944
|
+
.replace(/\bmm\b/, 'MM') // month of year
|
|
1945
|
+
.replace(/\by\b/, 'YY') // year (two digits)
|
|
1946
|
+
.replace(/\byy\b/, 'YYYY'); // year (four digits)
|
|
1947
|
+
}
|
|
1948
|
+
ngOnChanges(changes) {
|
|
1949
|
+
if (this.dialogVisible && changes['searchGridData']) {
|
|
1950
|
+
this.loading = false;
|
|
1951
|
+
}
|
|
1952
|
+
this._setFocusFilter();
|
|
1953
|
+
}
|
|
1954
|
+
ngOnDestroy() {
|
|
1955
|
+
this.ngUnsubscribe.next();
|
|
1956
|
+
this.ngUnsubscribe.complete();
|
|
1957
|
+
}
|
|
1958
|
+
getGridData() {
|
|
1959
|
+
return this.searchGridData;
|
|
1960
|
+
}
|
|
1961
|
+
getLookupSuggestions() {
|
|
1962
|
+
return this.lookupSuggestions;
|
|
1963
|
+
}
|
|
1964
|
+
makeSearchRequestParams(event) {
|
|
1965
|
+
const filters = this.formGroupDialog?.getRawValue();
|
|
1966
|
+
const params = { ...event, filterData: filters };
|
|
1967
|
+
const { multiSortMeta } = event;
|
|
1968
|
+
this.multiSortMeta = multiSortMeta || this.multiSortMeta;
|
|
1969
|
+
return params;
|
|
1970
|
+
}
|
|
1971
|
+
lazyLoadGrid(event) {
|
|
1972
|
+
// Ao definir uma ordenação na tabela do lookup esse método é chamado 2 vezes https://github.com/primefaces/primeng/issues/5480
|
|
1973
|
+
const params = this.makeSearchRequestParams(event);
|
|
1974
|
+
this.onSearchRequest.next(params);
|
|
1975
|
+
}
|
|
1976
|
+
onCompleteMethod(event) {
|
|
1977
|
+
if (!this.autocompleteForceSelection) {
|
|
1978
|
+
this.onChange?.(this.value === '' ? null : this.value);
|
|
1979
|
+
}
|
|
1980
|
+
this.onLookupRequest.next(event.query);
|
|
1981
|
+
}
|
|
1982
|
+
setDefaultFilters() {
|
|
1983
|
+
if (!this.defaultFilter)
|
|
1984
|
+
return;
|
|
1985
|
+
this.defaultFilter
|
|
1986
|
+
.filter(({ field }) => this.formGroupDialog?.contains(field) && !this.formGroupDialog?.get([field])?.dirty)
|
|
1987
|
+
.forEach(({ value, field }) => {
|
|
1988
|
+
this.formGroupDialog?.get([field])?.patchValue(value instanceof Function ? value() : value);
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
async showDialog() {
|
|
1992
|
+
this.setDefaultFilters();
|
|
1993
|
+
this.searchGridData = [];
|
|
1994
|
+
this.onTouched?.();
|
|
1995
|
+
this.hotkeysService.pause([...this.hotkeysService.hotkeys]);
|
|
1996
|
+
this.setHotkeys();
|
|
1997
|
+
let selected = [];
|
|
1998
|
+
if (this.multiple && this.value) {
|
|
1999
|
+
selected = selected.concat(this.value);
|
|
2000
|
+
}
|
|
2001
|
+
else if (this.value) {
|
|
2002
|
+
selected = [this.value];
|
|
2003
|
+
}
|
|
2004
|
+
this.selected = selected;
|
|
2005
|
+
this.loading = true;
|
|
2006
|
+
this.dialogVisible = true;
|
|
2007
|
+
}
|
|
2008
|
+
setInputs(componentRef, configs, form) {
|
|
2009
|
+
componentRef.instance.configs = configs;
|
|
2010
|
+
componentRef.instance.form = form;
|
|
2011
|
+
// chame ngOnChanges manualmente se necessário
|
|
2012
|
+
if (typeof componentRef.instance.ngOnChanges === 'function') {
|
|
2013
|
+
componentRef.instance.ngOnChanges();
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
onVisibleChange(visibilityState) {
|
|
2017
|
+
if (visibilityState) {
|
|
2018
|
+
return;
|
|
2019
|
+
}
|
|
2020
|
+
this.hideDialog();
|
|
2021
|
+
}
|
|
2022
|
+
hideDialog() {
|
|
2023
|
+
if (!this.autocomplete) {
|
|
2024
|
+
return;
|
|
2025
|
+
}
|
|
2026
|
+
const { inputEL, multiInputEl } = this.autocomplete;
|
|
2027
|
+
this.dialogVisible = false;
|
|
2028
|
+
this.collapsed = false;
|
|
2029
|
+
this.hotkeysService.unpause([...this.hotkeysService.pausedHotkeys]);
|
|
2030
|
+
if (this.multiple) {
|
|
2031
|
+
multiInputEl?.nativeElement?.focus();
|
|
2032
|
+
}
|
|
2033
|
+
else {
|
|
2034
|
+
inputEL?.nativeElement?.focus();
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
search() {
|
|
2038
|
+
this.resetTable();
|
|
2039
|
+
this.collapsed = true;
|
|
2040
|
+
const dialogContainer = this.lookupDialogContainer()?.nativeElement;
|
|
2041
|
+
if (dialogContainer) {
|
|
2042
|
+
dialogContainer.scrollIntoView({ behavior: 'smooth' });
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
clear() {
|
|
2046
|
+
this.formGroupDialog?.reset(this.originalFormValues);
|
|
2047
|
+
this.resetTable();
|
|
2048
|
+
this.onClearButtonClick.emit();
|
|
2049
|
+
}
|
|
2050
|
+
resetTable() {
|
|
2051
|
+
this.table?.reset();
|
|
2052
|
+
}
|
|
2053
|
+
select() {
|
|
2054
|
+
if (!this.selected.length)
|
|
2055
|
+
return;
|
|
2056
|
+
const selected = this.selected && (this.multiple ? this.selected : this.selected[0]);
|
|
2057
|
+
this.value = selected;
|
|
2058
|
+
this.onSelect.next(selected);
|
|
2059
|
+
this.hideDialog();
|
|
2060
|
+
}
|
|
2061
|
+
onSelectionChange(selected) {
|
|
2062
|
+
if (!selected)
|
|
2063
|
+
return;
|
|
2064
|
+
if (Array.isArray(selected))
|
|
2065
|
+
this.selected = selected;
|
|
2066
|
+
else
|
|
2067
|
+
this.selected = [selected];
|
|
2068
|
+
}
|
|
2069
|
+
registerOnChange(onChange) {
|
|
2070
|
+
this.onChange = (value) => {
|
|
2071
|
+
this.writeValue(value);
|
|
2072
|
+
onChange(value);
|
|
2073
|
+
};
|
|
2074
|
+
}
|
|
2075
|
+
registerOnTouched(onTouched) {
|
|
2076
|
+
this.onTouched = onTouched;
|
|
2077
|
+
}
|
|
2078
|
+
writeValue(value) {
|
|
2079
|
+
this.value = value;
|
|
2080
|
+
}
|
|
2081
|
+
setDisabledState(disabled) {
|
|
2082
|
+
this.disabled = disabled;
|
|
2083
|
+
}
|
|
2084
|
+
getFieldValue(obj, path) {
|
|
2085
|
+
return path.split('.').reduce((result, prop) => (result[prop] === undefined ? '' : result[prop]), obj);
|
|
2086
|
+
}
|
|
2087
|
+
getBadgeFromValue(value, options) {
|
|
2088
|
+
return options?.find((opt) => opt.value === value)?.badge;
|
|
2089
|
+
}
|
|
2090
|
+
getLabelForValue(value, options) {
|
|
2091
|
+
if (!options)
|
|
2092
|
+
return `${value}`;
|
|
2093
|
+
const option = options.find((opt) => opt.value === value);
|
|
2094
|
+
return option ? option.label : `${value}`;
|
|
2095
|
+
}
|
|
2096
|
+
isBooleanValue(obj, path) {
|
|
2097
|
+
const value = this.getFieldValue(obj, path);
|
|
2098
|
+
if (value === true || value === false)
|
|
2099
|
+
return true;
|
|
2100
|
+
else
|
|
2101
|
+
return false;
|
|
2102
|
+
}
|
|
2103
|
+
getBooleanLabel(obj, path, optionsLabel) {
|
|
2104
|
+
if (!optionsLabel) {
|
|
2105
|
+
return;
|
|
2106
|
+
}
|
|
2107
|
+
if (this.getFieldValue(obj, path)) {
|
|
2108
|
+
return optionsLabel.true;
|
|
2109
|
+
}
|
|
2110
|
+
else {
|
|
2111
|
+
return optionsLabel.false;
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
isNumber(obj, path) {
|
|
2115
|
+
return !new BigNumber(this.getFieldValue(obj, path)).isNaN();
|
|
2116
|
+
}
|
|
2117
|
+
setHotkeys() {
|
|
2118
|
+
const clearHotkey = this.newHotkey('alt+shift+l', this.clear.bind(this));
|
|
2119
|
+
const findHotkey = this.newHotkey('alt+shift+f', this.search.bind(this));
|
|
2120
|
+
const hideHotkey = this.newHotkey('alt+shift+c', this.hideDialog.bind(this));
|
|
2121
|
+
const selectHotkey = this.newHotkey('alt+shift+s', this.select.bind(this));
|
|
2122
|
+
const bindedHotkeys = [clearHotkey, findHotkey, hideHotkey, selectHotkey];
|
|
2123
|
+
bindedHotkeys.forEach((hotkey) => this.hotkeysService.add(hotkey));
|
|
2124
|
+
}
|
|
2125
|
+
newHotkey(combo, fn) {
|
|
2126
|
+
return new Hotkey(combo, () => {
|
|
2127
|
+
fn();
|
|
2128
|
+
return false;
|
|
2129
|
+
}, ['INPUT', 'SELECT', 'TEXTAREA']);
|
|
2130
|
+
}
|
|
2131
|
+
filterToggle() {
|
|
2132
|
+
if (this.animating)
|
|
2133
|
+
return;
|
|
2134
|
+
this.animating = true;
|
|
2135
|
+
this.collapsed = !this.collapsed;
|
|
2136
|
+
}
|
|
2137
|
+
onToggleDone() {
|
|
2138
|
+
this.animating = false;
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
* Calculate the table column size. The minimum value is 14.286em, which is equals to 200px duo to the current font size.
|
|
2142
|
+
* @param label Column name.
|
|
2143
|
+
*/
|
|
2144
|
+
getColWidth(label) {
|
|
2145
|
+
const size = label.length;
|
|
2146
|
+
if (size < 14.286)
|
|
2147
|
+
return `14.286em`;
|
|
2148
|
+
return `${size}em`;
|
|
2149
|
+
}
|
|
2150
|
+
getScale(scale) {
|
|
2151
|
+
return this.isFunction(scale) ? scale() : scale;
|
|
2152
|
+
}
|
|
2153
|
+
isFunction(value) {
|
|
2154
|
+
return value instanceof Function;
|
|
2155
|
+
}
|
|
2156
|
+
getIntegerMaskConfig(col) {
|
|
2157
|
+
return {
|
|
2158
|
+
scale: 0,
|
|
2159
|
+
thousandsSeparator: col.numberLocaleOptions?.thousandsSeparator,
|
|
2160
|
+
prefix: '',
|
|
2161
|
+
};
|
|
2162
|
+
}
|
|
2163
|
+
getDoubleMaskConfig(col) {
|
|
2164
|
+
return {
|
|
2165
|
+
scale: this.getScale(col.scale),
|
|
2166
|
+
decimalSeparator: col.numberLocaleOptions?.decimalSeparator,
|
|
2167
|
+
thousandsSeparator: col.numberLocaleOptions?.thousandsSeparator,
|
|
2168
|
+
prefix: '',
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
getMoneyMaskConfig(col) {
|
|
2172
|
+
return {
|
|
2173
|
+
scale: this.getScale(col.scale),
|
|
2174
|
+
decimalSeparator: col.numberLocaleOptions?.decimalSeparator,
|
|
2175
|
+
thousandsSeparator: col.numberLocaleOptions?.thousandsSeparator,
|
|
2176
|
+
prefix: col.numberLocaleOptions?.currencySymbol,
|
|
2177
|
+
};
|
|
2178
|
+
}
|
|
2179
|
+
getNumberMaskConfig(col) {
|
|
2180
|
+
return {
|
|
2181
|
+
scale: this.getScale(col.scale),
|
|
2182
|
+
decimalSeparator: col.numberLocaleOptions?.decimalSeparator,
|
|
2183
|
+
thousandsSeparator: col.numberLocaleOptions?.thousandsSeparator,
|
|
2184
|
+
prefix: col.numberLocaleOptions?.currencySymbol,
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
parseValueMaskValue(col, rowData) {
|
|
2188
|
+
const _mask = col.mask;
|
|
2189
|
+
const isFunction = this.isFunction(_mask);
|
|
2190
|
+
return isFunction ? _mask({ value: rowData }) : _mask;
|
|
2191
|
+
}
|
|
2192
|
+
onTableRowDoubleClick(rowData) {
|
|
2193
|
+
this.selected = [rowData];
|
|
2194
|
+
this.select();
|
|
2195
|
+
}
|
|
2196
|
+
_setFocusFilter() {
|
|
2197
|
+
if (this.dialogVisible && !this.collapsed) {
|
|
2198
|
+
const input = this.lookupDialogContainer()?.nativeElement.querySelector('input');
|
|
2199
|
+
if (input) {
|
|
2200
|
+
input.focus();
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
_subscribeEvents() {
|
|
2205
|
+
this.onSearchRequest.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => (this.loading = true));
|
|
2206
|
+
this.onSelect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => this.onChange?.(this.value));
|
|
2207
|
+
this.onUnselect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => this.onChange?.(this.value));
|
|
2208
|
+
this.onClear.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
2209
|
+
if (this.multiple) {
|
|
2210
|
+
return;
|
|
2211
|
+
}
|
|
2212
|
+
this.onChange?.(null);
|
|
2213
|
+
});
|
|
2214
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
2215
|
+
this.onTouched?.();
|
|
2216
|
+
});
|
|
2217
|
+
this.onBlur.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
2218
|
+
if (isNullOrUndefined(this.lookupDisplayField))
|
|
2219
|
+
return;
|
|
2220
|
+
const target = event.target;
|
|
2221
|
+
const currentValue = this.value && this.value[this.lookupDisplayField];
|
|
2222
|
+
const { value } = target;
|
|
2223
|
+
if (this.multiple || !currentValue || currentValue == value)
|
|
2224
|
+
return;
|
|
2225
|
+
const newValue = '';
|
|
2226
|
+
target.value = newValue;
|
|
2227
|
+
this.onChange?.(newValue);
|
|
2228
|
+
});
|
|
2229
|
+
}
|
|
2230
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LookupComponent, deps: [{ token: i1$2.HotkeysService }, { token: i2$2.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2231
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: LookupComponent, selector: "s-lookup", inputs: { formControlName: "formControlName", id: "id", autocompleteForceSelection: "autocompleteForceSelection", multiple: "multiple", dataKey: "dataKey", disabled: "disabled", showSearch: "showSearch", lookupSuggestions: "lookupSuggestions", lookupDisplayField: "lookupDisplayField", lookupDisplayFieldTooltip: "lookupDisplayFieldTooltip", lookupEmptyMessage: "lookupEmptyMessage", lookupAppendTo: "lookupAppendTo", searchEmptyDescription: "searchEmptyDescription", searchGridData: "searchGridData", searchTotalRecords: "searchTotalRecords", searchFields: "searchFields", searchGridFields: "searchGridFields", multiSortMeta: "multiSortMeta", placeholder: "placeholder", sortableColumnsDisabled: "sortableColumnsDisabled", lookupRowProps: "lookupRowProps", defaultFilter: "defaultFilter", showAddOption: "showAddOption", showEditOption: "showEditOption", showRemoveOption: "showRemoveOption", labelOptions: "labelOptions" }, outputs: { onLookupRequest: "onLookupRequest", onSearchRequest: "onSearchRequest", onFocus: "onFocus", onBlur: "onBlur", onKeyUp: "onKeyUp", onSelect: "onSelect", onUnselect: "onUnselect", onClear: "onClear", onAdd: "onAdd", onEdit: "onEdit", onRemove: "onRemove", onClearButtonClick: "onClearButtonClick" }, providers: [
|
|
2232
|
+
{
|
|
2233
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2234
|
+
useExisting: forwardRef(() => LookupComponent),
|
|
2235
|
+
multi: true,
|
|
2236
|
+
},
|
|
2237
|
+
], viewQueries: [{ propertyName: "lookupDialogContainer", first: true, predicate: ["dialogContainer"], descendants: true, isSignal: true }, { propertyName: "table", first: true, predicate: Table, descendants: true }, { propertyName: "autocomplete", first: true, predicate: AutoComplete, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{ inputgroup: showSearch }\">\n <p-autoComplete\n #autocomplete\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [dataKey]=\"dataKey\"\n [multiple]=\"multiple\"\n [inputId]=\"id + '-autocomplete'\"\n [forceSelection]=\"autocompleteForceSelection\"\n [suggestions]=\"getLookupSuggestions()\"\n (completeMethod)=\"onCompleteMethod($event)\"\n (onSelect)=\"onSelect.next($event)\"\n (onBlur)=\"onBlur.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onUnselect)=\"onUnselect.next($event)\"\n (onClear)=\"onClear.next($event)\"\n (onKeyUp)=\"onKeyUp.next($event)\"\n [field]=\"lookupDisplayField\"\n [emptyMessage]=\"lookupEmptyMessage\"\n [dropdown]=\"!showSearch\"\n [appendTo]=\"lookupAppendTo\"\n [placeholder]=\"placeholder || ' '\"\n [autoHighlight]=\"true\"\n inputStyleClass=\"mousetrap\"\n >\n </p-autoComplete>\n @if (showSearch) {\n <button\n class=\"button-addon\"\n [class.button-addon--disabled]=\"disabled\"\n [disabled]=\"disabled\"\n (click)=\"showDialog()\"\n >\n <i class=\"fa fa-search\"></i>\n </button>\n }\n</div>\n\n<s-dialog\n [(visible)]=\"dialogVisible\"\n (visibleChange)=\"onVisibleChange($event!)\"\n [header]=\"labelOptions?.searchTitle || 'platform.angular_components.advanced_search' | translate\"\n contentClassName=\"s-lookup-modal\"\n size=\"xl\"\n>\n @if (dialogVisible) {\n <div\n class=\"s-lookup-modal-container\"\n #dialogContainer\n >\n @if (searchFields && searchFields.length) {\n <div\n class=\"filter\"\n [@collapseContent]=\"\n collapsed\n ? { value: 'hidden', params: { transitionParams: transitionOptions } }\n : { value: 'visible', params: { transitionParams: transitionOptions } }\n \"\n (@collapseContent.done)=\"onToggleDone()\"\n >\n <form\n [formGroup]=\"formGroupDialog\"\n novalidate\n autocomplete=\"off\"\n >\n @if (!collapsed) {\n <div\n class=\"form-content\"\n [@childCollapseContent]=\"\n collapsed\n ? { value: ':leave', params: { transitionParams: transitionOptions } }\n : { value: ':enter', params: { transitionParams: transitionOptions } }\n \"\n >\n <div class=\"filter-title sds-section-title\">\n {{ labelOptions?.filterTitle || 'platform.angular_components.filters' | translate }}\n </div>\n <div class=\"form-fields\">\n @let configs =\n [\n {\n type: rowType,\n fields: searchFields,\n },\n ];\n\n <s-dynamic-form\n [configs]=\"configs\"\n [form]=\"formGroupDialog\"\n >\n </s-dynamic-form>\n </div>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <s-button\n [id]=\"id + '-filter-button'\"\n type=\"submit\"\n [label]=\"\n labelOptions?.filterLabel || 'platform.angular_components.filter'\n | translate\n \"\n (clicked)=\"search()\"\n sTooltip=\"(ALT + SHIFT + F)\"\n >\n </s-button>\n <s-button\n [id]=\"id + '-clear-button'\"\n type=\"button\"\n [label]=\"\n labelOptions?.clearLabel || 'platform.angular_components.clear'\n | translate\n \"\n (clicked)=\"clear()\"\n priority=\"link\"\n sTooltip=\"(ALT + SHIFT + L)\"\n >\n </s-button>\n </div>\n </div>\n </div>\n }\n </form>\n </div>\n }\n @if (searchFields && searchFields.length) {\n <div class=\"filter-toggle\">\n <button\n [id]=\"id + '-filter-toggle-button'\"\n type=\"button\"\n (click)=\"filterToggle()\"\n >\n <span\n class=\"fa\"\n [ngClass]=\"{ 'fa-chevron-left': !collapsed, 'fa-chevron-right': collapsed }\"\n aria-hidden=\"true\"\n >\n </span>\n </button>\n </div>\n }\n @let isEmptyContent = !searchTotalRecords && !loading;\n <div\n class=\"content\"\n #contentContainer\n [ngClass]=\"{ 'empty-content': isEmptyContent }\"\n >\n @if (isEmptyContent) {\n <s-empty-state\n [id]=\"id + '-empty-state'\"\n [title]=\"\n labelOptions?.searchEmptyTitle || 'platform.angular_components.no_records_found' | translate\n \"\n [description]=\"searchEmptyDescription\"\n iconClass=\"fa fa-search\"\n >\n </s-empty-state>\n }\n <div class=\"content-child\">\n <p-table\n [dataKey]=\"dataKey\"\n [value]=\"getGridData()\"\n [columns]=\"searchGridFields\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n sortMode=\"multiple\"\n [totalRecords]=\"searchTotalRecords\"\n [rows]=\"10\"\n [selection]=\"selected\"\n (onLazyLoad)=\"lazyLoadGrid($event)\"\n [multiSortMeta]=\"multiSortMeta\"\n [attr.data-hidden]=\"!searchTotalRecords && !loading\"\n [selectionMode]=\"multiple ? 'multiple' : 'single'\"\n (selectionChange)=\"onSelectionChange($event)\"\n *sLoadingState=\"{ loading: loading, indicator: indicatorLogo }\"\n >\n <ng-template pTemplate=\"caption\">\n <div>\n @if (showAddOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.add' | translate\"\n (clicked)=\"onAdd.emit()\"\n >\n </s-button>\n }\n @if (showEditOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.edit' | translate\"\n [disabled]=\"selected.length !== 1\"\n (clicked)=\"onEdit.emit(this.selected[0])\"\n >\n </s-button>\n }\n @if (showRemoveOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.remove' | translate\"\n [disabled]=\"!selected.length\"\n (clicked)=\"onRemove.emit(this.selected)\"\n >\n </s-button>\n }\n </div>\n </ng-template>\n <ng-template\n pTemplate=\"colgroup\"\n let-columns\n >\n <colgroup>\n @if (multiple) {\n <col style=\"width: 50px\" />\n }\n\n @for (col of columns; track $index) {\n <col [style.width]=\"col.width\" />\n }\n </colgroup>\n </ng-template>\n <ng-template\n pTemplate=\"header\"\n let-columns\n >\n <tr>\n @if (multiple) {\n <th style=\"width: 50px\">\n <s-table-header-checkbox\n [useAllObject]=\"lookupRowProps ? false : true\"\n [rowProps]=\"lookupRowProps\"\n >\n </s-table-header-checkbox>\n </th>\n }\n @for (col of columns; track $index) {\n <th\n [style.width]=\"col.width\"\n [pSortableColumn]=\"col.name\"\n [pSortableColumnDisabled]=\"sortableColumnsDisabled.includes(col.name)\"\n >\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.label }}</span>\n @if (!sortableColumnsDisabled.includes(col.name)) {\n <p-sortIcon [field]=\"col.name\"> </p-sortIcon>\n }\n </div>\n </th>\n }\n </tr>\n </ng-template>\n <ng-template\n pTemplate=\"body\"\n let-rowData\n let-columns\n let-rowIndex=\"rowIndex\"\n >\n <tr\n sNavigation\n [pSelectableRow]=\"rowData\"\n [pSelectableRowIndex]=\"rowIndex\"\n sDoubleClick\n (onDoubleClick)=\"onTableRowDoubleClick(rowData)\"\n >\n @if (multiple) {\n <td\n style=\"width: 50px\"\n tabindex=\"0\"\n >\n <p-tableCheckbox\n [value]=\"rowData\"\n [pSelectableRow]=\"rowData\"\n >\n </p-tableCheckbox>\n </td>\n }\n @for (col of searchGridFields; track $index) {\n <td\n [style.width]=\"col.width\"\n [ngSwitch]=\"col.type\"\n tabindex=\"0\"\n >\n @switch (col.type) {\n @case ('Boolean') {\n <ng-container\n *ngIf=\"isBooleanValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getBooleanLabel(rowData, col.name, col.optionsLabel)\n }}</span>\n </ng-container>\n }\n @case ('Date') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | localizedDate\n : col.calendarLocaleOptions?.dateFormat || 'L'\n | async\n }}</span>\n </ng-container>\n }\n @case ('DateTime') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name) | localizedDate | async\n }}</span>\n </ng-container>\n }\n @case ('LocalDateTime') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name) | localizedDate | async\n }}</span>\n </ng-container>\n }\n @case ('Time') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | localizedTime\n : col.calendarLocaleOptions?.dateFormat || 'LTS'\n | async\n }}</span>\n </ng-container>\n }\n @case ('Integer') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getIntegerMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Double') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getDoubleMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Money') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getMoneyMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Number') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getNumberMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Enum') {\n <ng-container\n *ngIf=\"\n getLabelForValue(getFieldValue(rowData, col.name), col.options);\n else emptyTemplate\n \"\n >\n <ng-container\n *ngIf=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n );\n then withBadge;\n else withoutBadge\n \"\n ></ng-container>\n <ng-template #withBadge>\n <s-badge\n [text]=\"\n getLabelForValue(\n getFieldValue(rowData, col.name),\n col.options\n )\n \"\n [color]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.color\n \"\n [type]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.type\n \"\n [iconClass]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.iconClass\n \"\n [iconPosition]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.iconPosition\n \"\n >\n </s-badge>\n </ng-template>\n <ng-template #withoutBadge>\n <span>\n {{\n getLabelForValue(\n getFieldValue(rowData, col.name),\n col.options\n )\n }}\n </span>\n </ng-template>\n </ng-container>\n }\n @default {\n @if (col.mask && parseValueMaskValue(col, rowData)) {\n <ng-container\n *ngIf=\"\n isNumber(rowData, col.name) ||\n getFieldValue(rowData, col.name)\n \"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | sMaskFormatter: parseValueMaskValue(col, rowData)\n }}</span>\n </ng-container>\n } @else {\n <ng-container\n *ngIf=\"\n isNumber(rowData, col.name) ||\n getFieldValue(rowData, col.name);\n else emptyTemplate\n \"\n >\n <span>{{ getFieldValue(rowData, col.name) }}</span>\n </ng-container>\n }\n }\n }\n </td>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [attr.data-hidden]=\"loading\">\n {{ printRecordTotalizer() }}\n </span>\n </ng-template>\n </p-table>\n </div>\n </div>\n </div>\n\n <ng-template sTemplate=\"footer\">\n <div class=\"flex w-full justify-end\">\n <s-button\n [id]=\"id + '-cancel-button'\"\n type=\"button\"\n priority=\"link\"\n [label]=\"labelOptions?.cancelLabel || 'platform.angular_components.cancel' | translate\"\n (clicked)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n >\n </s-button>\n <s-button\n [id]=\"id + '-select-button'\"\n type=\"button\"\n [label]=\"labelOptions?.selectLabel || 'platform.angular_components.select' | translate\"\n (clicked)=\"select()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n [disabled]=\"!selected.length\"\n >\n </s-button>\n </div>\n </ng-template>\n }\n</s-dialog>\n\n<ng-template #emptyTemplate>\n <span class=\"sds-empty-value\">\n {{ labelOptions?.emptyFieldLabel || 'platform.angular_components.not_informed' | translate }}\n </span>\n</ng-template>\n", styles: ["s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .p-autocomplete-input-multiple{border-top-right-radius:0!important;border-bottom-right-radius:0!important}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:35px;height:auto!important;min-width:auto;width:35px!important;overflow:hidden;border-radius:0 4px 4px 0}s-lookup p-autocomplete span.ui-autocomplete-multiple,s-lookup .inputgroup{display:flex}s-lookup .inputgroup p-autocomplete{display:inline-block}s-lookup .inputgroup p-autocomplete .p-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:highlight(#ccc);border-color:#ccc}s-lookup:not(.ng-dirty.ng-invalid) .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token{width:100%}s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.p-dialog .p-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .p-table-scrollable-body{min-width:100%}.s-lookup-modal main{padding:0}.s-lookup-modal .s-lookup-modal-container{height:85vh;display:flex;flex-direction:row;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{width:min-content;height:auto;flex-grow:0;flex-shrink:0;background-color:#e5eaea80;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:flex;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{margin-top:15px;flex-grow:0;flex-shrink:0;width:35px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{align-items:center;position:relative;background-color:#e5eaea80;height:35px;width:100%;border:1px solid #e5eaea;outline:none;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus{background-color:active(rgba(229,234,234,.5));border-color:active(#e5eaea)}.s-lookup-modal .s-lookup-modal-container .content{flex-grow:1;flex-basis:auto;overflow-x:auto;display:flex;flex-direction:column;padding:.5rem}.s-lookup-modal .s-lookup-modal-container .content-child{height:100%}.s-lookup-modal .s-lookup-modal-container .content s-loading-state{height:100%;display:block}.s-lookup-modal .s-lookup-modal-container .content .s-loading-state,.s-lookup-modal .s-lookup-modal-container .content .s-loading-state .state-contents{height:100%}.s-lookup-modal .s-lookup-modal-container .content.empty-content{align-self:center}.s-lookup-modal .s-lookup-modal-container .content.empty-content .content-child{display:none}.s-lookup-modal .s-lookup-modal-container .content p-table>.p-datatable{height:100%;display:flex;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .content p-table>.p-datatable .p-datatable-table-container{flex:1;margin-bottom:0}.inputgroup p-autocomplete{width:calc(100% - 35px)}\n"], dependencies: [{ kind: "component", type: i3$1.AutoComplete, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "typeahead", "variant", "fluid"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5.BadgeComponent, selector: "s-badge", inputs: ["type", "color", "title", "text", "selectable", "iconClass", "iconPosition", "infoSign"], outputs: ["selected"] }, { kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "component", type: i8.DialogComponent, selector: "s-dialog", inputs: ["header", "visible", "size", "contentClassName", "escapeOnEsc", "destroyClickOutside"], outputs: ["visibleChange"] }, { kind: "component", type: i9.EmptyStateComponent, selector: "s-empty-state", inputs: ["id", "title", "iconClass", "description", "showPrimaryAction", "showSecondaryAction", "primaryActionLabel", "secondaryActionLabel", "primaryModel"], outputs: ["primaryAction", "secondaryAction"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i11.LoadingStateDirective, selector: "[sLoadingState]", inputs: ["sLoadingState"] }, { kind: "component", type: i12.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i12.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i12.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "component", type: i12.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i12.TableCheckbox, selector: "p-tableCheckbox", inputs: ["disabled", "value", "index", "inputId", "name", "required", "ariaLabel"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: i14.TableHeaderCheckboxComponent, selector: "s-table-header-checkbox", inputs: ["id", "disabled", "rowProps", "useAllObject"] }, { kind: "directive", type: i15.DoubleClickDirective, selector: "[sDoubleClick]", outputs: ["doubleClicked"] }, { kind: "directive", type: i16.TemplateDirective, selector: "[sTemplate]", inputs: ["sTemplate"] }, { kind: "component", type: DynamicFormComponent, selector: "s-dynamic-form", inputs: ["id", "configs", "fields", "form", "errorMessages"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$3.LocalizedDatePipe, name: "localizedDate" }, { kind: "pipe", type: i1$3.LocalizedTimePipe, name: "localizedTime" }, { kind: "pipe", type: i1$3.LocalizedBignumberPipe, name: "localizedBignumber" }, { kind: "pipe", type: i19.MaskFormatterPipe, name: "sMaskFormatter" }, { kind: "pipe", type: i2$2.TranslatePipe, name: "translate" }], animations: [
|
|
2238
|
+
trigger('collapseContent', [
|
|
2239
|
+
state('hidden', style({
|
|
2240
|
+
width: '10px',
|
|
2241
|
+
padding: 0,
|
|
2242
|
+
})),
|
|
2243
|
+
state('visible', style({
|
|
2244
|
+
width: '*',
|
|
2245
|
+
})),
|
|
2246
|
+
transition('visible <=> hidden', [
|
|
2247
|
+
group([query('@childCollapseContent', animateChild()), animate('{{transitionParams}}')]),
|
|
2248
|
+
]),
|
|
2249
|
+
]),
|
|
2250
|
+
trigger('childCollapseContent', [
|
|
2251
|
+
state(':leave', style({
|
|
2252
|
+
opacity: 0,
|
|
2253
|
+
})),
|
|
2254
|
+
state(':enter', style({
|
|
2255
|
+
opacity: 1,
|
|
2256
|
+
})),
|
|
2257
|
+
transition('* <=> *', animate('{{transitionParams}}')),
|
|
2258
|
+
]),
|
|
2259
|
+
], encapsulation: i0.ViewEncapsulation.None });
|
|
2260
|
+
}
|
|
2261
|
+
__decorate([
|
|
2262
|
+
CheckDisabled()
|
|
2263
|
+
], LookupComponent.prototype, "showDialog", null);
|
|
2264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LookupComponent, decorators: [{
|
|
2265
|
+
type: Component,
|
|
2266
|
+
args: [{ selector: 's-lookup', providers: [
|
|
2267
|
+
{
|
|
2268
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2269
|
+
useExisting: forwardRef(() => LookupComponent),
|
|
2270
|
+
multi: true,
|
|
2271
|
+
},
|
|
2272
|
+
], encapsulation: ViewEncapsulation.None, animations: [
|
|
2273
|
+
trigger('collapseContent', [
|
|
2274
|
+
state('hidden', style({
|
|
2275
|
+
width: '10px',
|
|
2276
|
+
padding: 0,
|
|
2277
|
+
})),
|
|
2278
|
+
state('visible', style({
|
|
2279
|
+
width: '*',
|
|
2280
|
+
})),
|
|
2281
|
+
transition('visible <=> hidden', [
|
|
2282
|
+
group([query('@childCollapseContent', animateChild()), animate('{{transitionParams}}')]),
|
|
2283
|
+
]),
|
|
2284
|
+
]),
|
|
2285
|
+
trigger('childCollapseContent', [
|
|
2286
|
+
state(':leave', style({
|
|
2287
|
+
opacity: 0,
|
|
2288
|
+
})),
|
|
2289
|
+
state(':enter', style({
|
|
2290
|
+
opacity: 1,
|
|
2291
|
+
})),
|
|
2292
|
+
transition('* <=> *', animate('{{transitionParams}}')),
|
|
2293
|
+
]),
|
|
2294
|
+
], template: "<div [ngClass]=\"{ inputgroup: showSearch }\">\n <p-autoComplete\n #autocomplete\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [dataKey]=\"dataKey\"\n [multiple]=\"multiple\"\n [inputId]=\"id + '-autocomplete'\"\n [forceSelection]=\"autocompleteForceSelection\"\n [suggestions]=\"getLookupSuggestions()\"\n (completeMethod)=\"onCompleteMethod($event)\"\n (onSelect)=\"onSelect.next($event)\"\n (onBlur)=\"onBlur.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onUnselect)=\"onUnselect.next($event)\"\n (onClear)=\"onClear.next($event)\"\n (onKeyUp)=\"onKeyUp.next($event)\"\n [field]=\"lookupDisplayField\"\n [emptyMessage]=\"lookupEmptyMessage\"\n [dropdown]=\"!showSearch\"\n [appendTo]=\"lookupAppendTo\"\n [placeholder]=\"placeholder || ' '\"\n [autoHighlight]=\"true\"\n inputStyleClass=\"mousetrap\"\n >\n </p-autoComplete>\n @if (showSearch) {\n <button\n class=\"button-addon\"\n [class.button-addon--disabled]=\"disabled\"\n [disabled]=\"disabled\"\n (click)=\"showDialog()\"\n >\n <i class=\"fa fa-search\"></i>\n </button>\n }\n</div>\n\n<s-dialog\n [(visible)]=\"dialogVisible\"\n (visibleChange)=\"onVisibleChange($event!)\"\n [header]=\"labelOptions?.searchTitle || 'platform.angular_components.advanced_search' | translate\"\n contentClassName=\"s-lookup-modal\"\n size=\"xl\"\n>\n @if (dialogVisible) {\n <div\n class=\"s-lookup-modal-container\"\n #dialogContainer\n >\n @if (searchFields && searchFields.length) {\n <div\n class=\"filter\"\n [@collapseContent]=\"\n collapsed\n ? { value: 'hidden', params: { transitionParams: transitionOptions } }\n : { value: 'visible', params: { transitionParams: transitionOptions } }\n \"\n (@collapseContent.done)=\"onToggleDone()\"\n >\n <form\n [formGroup]=\"formGroupDialog\"\n novalidate\n autocomplete=\"off\"\n >\n @if (!collapsed) {\n <div\n class=\"form-content\"\n [@childCollapseContent]=\"\n collapsed\n ? { value: ':leave', params: { transitionParams: transitionOptions } }\n : { value: ':enter', params: { transitionParams: transitionOptions } }\n \"\n >\n <div class=\"filter-title sds-section-title\">\n {{ labelOptions?.filterTitle || 'platform.angular_components.filters' | translate }}\n </div>\n <div class=\"form-fields\">\n @let configs =\n [\n {\n type: rowType,\n fields: searchFields,\n },\n ];\n\n <s-dynamic-form\n [configs]=\"configs\"\n [form]=\"formGroupDialog\"\n >\n </s-dynamic-form>\n </div>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <s-button\n [id]=\"id + '-filter-button'\"\n type=\"submit\"\n [label]=\"\n labelOptions?.filterLabel || 'platform.angular_components.filter'\n | translate\n \"\n (clicked)=\"search()\"\n sTooltip=\"(ALT + SHIFT + F)\"\n >\n </s-button>\n <s-button\n [id]=\"id + '-clear-button'\"\n type=\"button\"\n [label]=\"\n labelOptions?.clearLabel || 'platform.angular_components.clear'\n | translate\n \"\n (clicked)=\"clear()\"\n priority=\"link\"\n sTooltip=\"(ALT + SHIFT + L)\"\n >\n </s-button>\n </div>\n </div>\n </div>\n }\n </form>\n </div>\n }\n @if (searchFields && searchFields.length) {\n <div class=\"filter-toggle\">\n <button\n [id]=\"id + '-filter-toggle-button'\"\n type=\"button\"\n (click)=\"filterToggle()\"\n >\n <span\n class=\"fa\"\n [ngClass]=\"{ 'fa-chevron-left': !collapsed, 'fa-chevron-right': collapsed }\"\n aria-hidden=\"true\"\n >\n </span>\n </button>\n </div>\n }\n @let isEmptyContent = !searchTotalRecords && !loading;\n <div\n class=\"content\"\n #contentContainer\n [ngClass]=\"{ 'empty-content': isEmptyContent }\"\n >\n @if (isEmptyContent) {\n <s-empty-state\n [id]=\"id + '-empty-state'\"\n [title]=\"\n labelOptions?.searchEmptyTitle || 'platform.angular_components.no_records_found' | translate\n \"\n [description]=\"searchEmptyDescription\"\n iconClass=\"fa fa-search\"\n >\n </s-empty-state>\n }\n <div class=\"content-child\">\n <p-table\n [dataKey]=\"dataKey\"\n [value]=\"getGridData()\"\n [columns]=\"searchGridFields\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n sortMode=\"multiple\"\n [totalRecords]=\"searchTotalRecords\"\n [rows]=\"10\"\n [selection]=\"selected\"\n (onLazyLoad)=\"lazyLoadGrid($event)\"\n [multiSortMeta]=\"multiSortMeta\"\n [attr.data-hidden]=\"!searchTotalRecords && !loading\"\n [selectionMode]=\"multiple ? 'multiple' : 'single'\"\n (selectionChange)=\"onSelectionChange($event)\"\n *sLoadingState=\"{ loading: loading, indicator: indicatorLogo }\"\n >\n <ng-template pTemplate=\"caption\">\n <div>\n @if (showAddOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.add' | translate\"\n (clicked)=\"onAdd.emit()\"\n >\n </s-button>\n }\n @if (showEditOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.edit' | translate\"\n [disabled]=\"selected.length !== 1\"\n (clicked)=\"onEdit.emit(this.selected[0])\"\n >\n </s-button>\n }\n @if (showRemoveOption) {\n <s-button\n priority=\"default\"\n [label]=\"'platform.angular_components.remove' | translate\"\n [disabled]=\"!selected.length\"\n (clicked)=\"onRemove.emit(this.selected)\"\n >\n </s-button>\n }\n </div>\n </ng-template>\n <ng-template\n pTemplate=\"colgroup\"\n let-columns\n >\n <colgroup>\n @if (multiple) {\n <col style=\"width: 50px\" />\n }\n\n @for (col of columns; track $index) {\n <col [style.width]=\"col.width\" />\n }\n </colgroup>\n </ng-template>\n <ng-template\n pTemplate=\"header\"\n let-columns\n >\n <tr>\n @if (multiple) {\n <th style=\"width: 50px\">\n <s-table-header-checkbox\n [useAllObject]=\"lookupRowProps ? false : true\"\n [rowProps]=\"lookupRowProps\"\n >\n </s-table-header-checkbox>\n </th>\n }\n @for (col of columns; track $index) {\n <th\n [style.width]=\"col.width\"\n [pSortableColumn]=\"col.name\"\n [pSortableColumnDisabled]=\"sortableColumnsDisabled.includes(col.name)\"\n >\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.label }}</span>\n @if (!sortableColumnsDisabled.includes(col.name)) {\n <p-sortIcon [field]=\"col.name\"> </p-sortIcon>\n }\n </div>\n </th>\n }\n </tr>\n </ng-template>\n <ng-template\n pTemplate=\"body\"\n let-rowData\n let-columns\n let-rowIndex=\"rowIndex\"\n >\n <tr\n sNavigation\n [pSelectableRow]=\"rowData\"\n [pSelectableRowIndex]=\"rowIndex\"\n sDoubleClick\n (onDoubleClick)=\"onTableRowDoubleClick(rowData)\"\n >\n @if (multiple) {\n <td\n style=\"width: 50px\"\n tabindex=\"0\"\n >\n <p-tableCheckbox\n [value]=\"rowData\"\n [pSelectableRow]=\"rowData\"\n >\n </p-tableCheckbox>\n </td>\n }\n @for (col of searchGridFields; track $index) {\n <td\n [style.width]=\"col.width\"\n [ngSwitch]=\"col.type\"\n tabindex=\"0\"\n >\n @switch (col.type) {\n @case ('Boolean') {\n <ng-container\n *ngIf=\"isBooleanValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getBooleanLabel(rowData, col.name, col.optionsLabel)\n }}</span>\n </ng-container>\n }\n @case ('Date') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | localizedDate\n : col.calendarLocaleOptions?.dateFormat || 'L'\n | async\n }}</span>\n </ng-container>\n }\n @case ('DateTime') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name) | localizedDate | async\n }}</span>\n </ng-container>\n }\n @case ('LocalDateTime') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name) | localizedDate | async\n }}</span>\n </ng-container>\n }\n @case ('Time') {\n <ng-container\n *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | localizedTime\n : col.calendarLocaleOptions?.dateFormat || 'LTS'\n | async\n }}</span>\n </ng-container>\n }\n @case ('Integer') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getIntegerMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Double') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getDoubleMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Money') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getMoneyMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Number') {\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span>\n {{\n getFieldValue(rowData, col.name)\n | localizedBignumber: getNumberMaskConfig(col)\n | async\n }}\n </span>\n </ng-container>\n }\n @case ('Enum') {\n <ng-container\n *ngIf=\"\n getLabelForValue(getFieldValue(rowData, col.name), col.options);\n else emptyTemplate\n \"\n >\n <ng-container\n *ngIf=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n );\n then withBadge;\n else withoutBadge\n \"\n ></ng-container>\n <ng-template #withBadge>\n <s-badge\n [text]=\"\n getLabelForValue(\n getFieldValue(rowData, col.name),\n col.options\n )\n \"\n [color]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.color\n \"\n [type]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.type\n \"\n [iconClass]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.iconClass\n \"\n [iconPosition]=\"\n getBadgeFromValue(\n getFieldValue(rowData, col.name),\n col.options\n )?.iconPosition\n \"\n >\n </s-badge>\n </ng-template>\n <ng-template #withoutBadge>\n <span>\n {{\n getLabelForValue(\n getFieldValue(rowData, col.name),\n col.options\n )\n }}\n </span>\n </ng-template>\n </ng-container>\n }\n @default {\n @if (col.mask && parseValueMaskValue(col, rowData)) {\n <ng-container\n *ngIf=\"\n isNumber(rowData, col.name) ||\n getFieldValue(rowData, col.name)\n \"\n >\n <span>{{\n getFieldValue(rowData, col.name)\n | sMaskFormatter: parseValueMaskValue(col, rowData)\n }}</span>\n </ng-container>\n } @else {\n <ng-container\n *ngIf=\"\n isNumber(rowData, col.name) ||\n getFieldValue(rowData, col.name);\n else emptyTemplate\n \"\n >\n <span>{{ getFieldValue(rowData, col.name) }}</span>\n </ng-container>\n }\n }\n }\n </td>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [attr.data-hidden]=\"loading\">\n {{ printRecordTotalizer() }}\n </span>\n </ng-template>\n </p-table>\n </div>\n </div>\n </div>\n\n <ng-template sTemplate=\"footer\">\n <div class=\"flex w-full justify-end\">\n <s-button\n [id]=\"id + '-cancel-button'\"\n type=\"button\"\n priority=\"link\"\n [label]=\"labelOptions?.cancelLabel || 'platform.angular_components.cancel' | translate\"\n (clicked)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n >\n </s-button>\n <s-button\n [id]=\"id + '-select-button'\"\n type=\"button\"\n [label]=\"labelOptions?.selectLabel || 'platform.angular_components.select' | translate\"\n (clicked)=\"select()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n [disabled]=\"!selected.length\"\n >\n </s-button>\n </div>\n </ng-template>\n }\n</s-dialog>\n\n<ng-template #emptyTemplate>\n <span class=\"sds-empty-value\">\n {{ labelOptions?.emptyFieldLabel || 'platform.angular_components.not_informed' | translate }}\n </span>\n</ng-template>\n", styles: ["s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .p-autocomplete-input-multiple{border-top-right-radius:0!important;border-bottom-right-radius:0!important}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:35px;height:auto!important;min-width:auto;width:35px!important;overflow:hidden;border-radius:0 4px 4px 0}s-lookup p-autocomplete span.ui-autocomplete-multiple,s-lookup .inputgroup{display:flex}s-lookup .inputgroup p-autocomplete{display:inline-block}s-lookup .inputgroup p-autocomplete .p-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:highlight(#ccc);border-color:#ccc}s-lookup:not(.ng-dirty.ng-invalid) .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token{width:100%}s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.p-dialog .p-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .p-table-scrollable-body{min-width:100%}.s-lookup-modal main{padding:0}.s-lookup-modal .s-lookup-modal-container{height:85vh;display:flex;flex-direction:row;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{width:min-content;height:auto;flex-grow:0;flex-shrink:0;background-color:#e5eaea80;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:flex;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{margin-top:15px;flex-grow:0;flex-shrink:0;width:35px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{align-items:center;position:relative;background-color:#e5eaea80;height:35px;width:100%;border:1px solid #e5eaea;outline:none;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus{background-color:active(rgba(229,234,234,.5));border-color:active(#e5eaea)}.s-lookup-modal .s-lookup-modal-container .content{flex-grow:1;flex-basis:auto;overflow-x:auto;display:flex;flex-direction:column;padding:.5rem}.s-lookup-modal .s-lookup-modal-container .content-child{height:100%}.s-lookup-modal .s-lookup-modal-container .content s-loading-state{height:100%;display:block}.s-lookup-modal .s-lookup-modal-container .content .s-loading-state,.s-lookup-modal .s-lookup-modal-container .content .s-loading-state .state-contents{height:100%}.s-lookup-modal .s-lookup-modal-container .content.empty-content{align-self:center}.s-lookup-modal .s-lookup-modal-container .content.empty-content .content-child{display:none}.s-lookup-modal .s-lookup-modal-container .content p-table>.p-datatable{height:100%;display:flex;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .content p-table>.p-datatable .p-datatable-table-container{flex:1;margin-bottom:0}.inputgroup p-autocomplete{width:calc(100% - 35px)}\n"] }]
|
|
2295
|
+
}], ctorParameters: () => [{ type: i1$2.HotkeysService }, { type: i2$2.TranslateService }, { type: i0.ChangeDetectorRef }], propDecorators: { formControlName: [{
|
|
2296
|
+
type: Input
|
|
2297
|
+
}], id: [{
|
|
2298
|
+
type: Input
|
|
2299
|
+
}], autocompleteForceSelection: [{
|
|
2300
|
+
type: Input
|
|
2301
|
+
}], multiple: [{
|
|
2302
|
+
type: Input
|
|
2303
|
+
}], dataKey: [{
|
|
2304
|
+
type: Input,
|
|
2305
|
+
args: [{ required: true }]
|
|
2306
|
+
}], disabled: [{
|
|
2307
|
+
type: Input
|
|
2308
|
+
}], showSearch: [{
|
|
2309
|
+
type: Input
|
|
2310
|
+
}], lookupSuggestions: [{
|
|
2311
|
+
type: Input
|
|
2312
|
+
}], lookupDisplayField: [{
|
|
2313
|
+
type: Input
|
|
2314
|
+
}], lookupDisplayFieldTooltip: [{
|
|
2315
|
+
type: Input
|
|
2316
|
+
}], lookupEmptyMessage: [{
|
|
2317
|
+
type: Input
|
|
2318
|
+
}], lookupAppendTo: [{
|
|
2319
|
+
type: Input
|
|
2320
|
+
}], searchEmptyDescription: [{
|
|
2321
|
+
type: Input
|
|
2322
|
+
}], searchGridData: [{
|
|
2323
|
+
type: Input
|
|
2324
|
+
}], searchTotalRecords: [{
|
|
2325
|
+
type: Input
|
|
2326
|
+
}], searchFields: [{
|
|
2327
|
+
type: Input
|
|
2328
|
+
}], searchGridFields: [{
|
|
2329
|
+
type: Input
|
|
2330
|
+
}], multiSortMeta: [{
|
|
2331
|
+
type: Input
|
|
2332
|
+
}], placeholder: [{
|
|
2333
|
+
type: Input
|
|
2334
|
+
}], sortableColumnsDisabled: [{
|
|
2335
|
+
type: Input
|
|
2336
|
+
}], lookupRowProps: [{
|
|
2337
|
+
type: Input
|
|
2338
|
+
}], defaultFilter: [{
|
|
2339
|
+
type: Input
|
|
2340
|
+
}], showAddOption: [{
|
|
2341
|
+
type: Input
|
|
2342
|
+
}], showEditOption: [{
|
|
2343
|
+
type: Input
|
|
2344
|
+
}], showRemoveOption: [{
|
|
2345
|
+
type: Input
|
|
2346
|
+
}], onLookupRequest: [{
|
|
2347
|
+
type: Output
|
|
2348
|
+
}], onSearchRequest: [{
|
|
2349
|
+
type: Output
|
|
2350
|
+
}], onFocus: [{
|
|
2351
|
+
type: Output
|
|
2352
|
+
}], onBlur: [{
|
|
2353
|
+
type: Output
|
|
2354
|
+
}], onKeyUp: [{
|
|
2355
|
+
type: Output
|
|
2356
|
+
}], onSelect: [{
|
|
2357
|
+
type: Output
|
|
2358
|
+
}], onUnselect: [{
|
|
2359
|
+
type: Output
|
|
2360
|
+
}], onClear: [{
|
|
2361
|
+
type: Output
|
|
2362
|
+
}], onAdd: [{
|
|
2363
|
+
type: Output
|
|
2364
|
+
}], onEdit: [{
|
|
2365
|
+
type: Output
|
|
2366
|
+
}], onRemove: [{
|
|
2367
|
+
type: Output
|
|
2368
|
+
}], onClearButtonClick: [{
|
|
2369
|
+
type: Output
|
|
2370
|
+
}], table: [{
|
|
2371
|
+
type: ViewChild,
|
|
2372
|
+
args: [Table, { static: false }]
|
|
2373
|
+
}], autocomplete: [{
|
|
2374
|
+
type: ViewChild,
|
|
2375
|
+
args: [AutoComplete, { static: false }]
|
|
2376
|
+
}], labelOptions: [{
|
|
2377
|
+
type: Input
|
|
2378
|
+
}], showDialog: [] } });
|
|
2379
|
+
class BooleanOptionsLabel {
|
|
2380
|
+
true;
|
|
2381
|
+
false;
|
|
2382
|
+
empty;
|
|
2383
|
+
clear;
|
|
2384
|
+
constructor(config) {
|
|
2385
|
+
this.true = config.true;
|
|
2386
|
+
this.false = config.false;
|
|
2387
|
+
this.empty = config.empty;
|
|
2388
|
+
this.clear = config.clear;
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
class ProfilePictureFieldComponent {
|
|
2393
|
+
field;
|
|
2394
|
+
formControl;
|
|
2395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProfilePictureFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2396
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ProfilePictureFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-profile-picture-picker\n [formControl]=\"formControl\"\n [simpleTitle]=\"field.simpleTitle\"\n [actionTitle]=\"field.actionTitle\"\n [subtitle]=\"field.subtitle\"\n [aspectRatio]=\"field.aspectRatio\"\n [cropperLabelsConfig]=\"field.cropperLabelsConfig\"\n [removeButtonLabel]=\"field.removeButtonLabel\"\n [changeButtonLabel]=\"field.changeButtonLabel\"\n [confirmationTexts]=\"field.confirmationTexts\"\n [maxFileSize]=\"field.maxFileSize\"\n [accept]=\"field.accept\"\n [supportedExtensions]=\"field.supportedExtensions\"\n (changedImage)=\"field.onChangeImage ? field.onChangeImage($event) : null\"\n (removedImage)=\"field.onRemovedImage ? field.onRemovedImage() : null\"\n (invalidFile)=\"field.onInvalidFile ? field.onInvalidFile($event) : null\">\n</s-profile-picture-picker>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$4.ProfilePicturePickerComponent, selector: "s-profile-picture-picker", inputs: ["simpleTitle", "actionTitle", "subtitle", "aspectRatio", "cropperLabelsConfig", "removeButtonLabel", "changeButtonLabel", "confirmationTexts", "maxFileSize", "accept", "supportedExtensions", "image"], outputs: ["changedImage", "imageChange", "removedImage", "invalidFile"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
2397
|
+
}
|
|
2398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProfilePictureFieldComponent, decorators: [{
|
|
2399
|
+
type: Component,
|
|
2400
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-profile-picture-picker\n [formControl]=\"formControl\"\n [simpleTitle]=\"field.simpleTitle\"\n [actionTitle]=\"field.actionTitle\"\n [subtitle]=\"field.subtitle\"\n [aspectRatio]=\"field.aspectRatio\"\n [cropperLabelsConfig]=\"field.cropperLabelsConfig\"\n [removeButtonLabel]=\"field.removeButtonLabel\"\n [changeButtonLabel]=\"field.changeButtonLabel\"\n [confirmationTexts]=\"field.confirmationTexts\"\n [maxFileSize]=\"field.maxFileSize\"\n [accept]=\"field.accept\"\n [supportedExtensions]=\"field.supportedExtensions\"\n (changedImage)=\"field.onChangeImage ? field.onChangeImage($event) : null\"\n (removedImage)=\"field.onRemovedImage ? field.onRemovedImage() : null\"\n (invalidFile)=\"field.onInvalidFile ? field.onInvalidFile($event) : null\">\n</s-profile-picture-picker>\n" }]
|
|
2401
|
+
}], propDecorators: { field: [{
|
|
2402
|
+
type: Input,
|
|
2403
|
+
args: [{ required: true }]
|
|
2404
|
+
}], formControl: [{
|
|
2405
|
+
type: Input,
|
|
2406
|
+
args: [{ required: true }]
|
|
2407
|
+
}] } });
|
|
2408
|
+
|
|
2409
|
+
var profilePictureField_component = /*#__PURE__*/Object.freeze({
|
|
2410
|
+
__proto__: null,
|
|
2411
|
+
ProfilePictureFieldComponent: ProfilePictureFieldComponent
|
|
2412
|
+
});
|
|
2413
|
+
|
|
2414
|
+
class FieldsetComponent {
|
|
2415
|
+
id;
|
|
2416
|
+
config;
|
|
2417
|
+
group;
|
|
2418
|
+
errorMessages;
|
|
2419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldsetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2420
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FieldsetComponent, selector: "ng-component", inputs: { id: "id", config: "config", group: "group", errorMessages: "errorMessages" }, ngImport: i0, template: "<s-fieldset\n [toggleable]=\"true\"\n (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\"\n [legend]=\"config.header ? config.header : ''\"\n>\n @for (conf of config.configs; let i = $index; track i) {\n <ng-container\n *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"\n ></ng-container>\n }\n</s-fieldset>\n", dependencies: [{ kind: "component", type: i1$4.FieldsetComponent, selector: "s-fieldset", inputs: ["legend", "toggleable", "icon", "destroyOnHide"], outputs: ["beforeToggle", "afterToggle"] }, { kind: "directive", type: DynamicFormDirective, selector: "[sDynamicForm]", inputs: ["sDynamicForm"] }] });
|
|
2421
|
+
}
|
|
2422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FieldsetComponent, decorators: [{
|
|
2423
|
+
type: Component,
|
|
2424
|
+
args: [{ template: "<s-fieldset\n [toggleable]=\"true\"\n (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\"\n [legend]=\"config.header ? config.header : ''\"\n>\n @for (conf of config.configs; let i = $index; track i) {\n <ng-container\n *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"\n ></ng-container>\n }\n</s-fieldset>\n" }]
|
|
2425
|
+
}], propDecorators: { id: [{
|
|
2426
|
+
type: Input
|
|
2427
|
+
}], config: [{
|
|
2428
|
+
type: Input,
|
|
2429
|
+
args: [{ required: true }]
|
|
2430
|
+
}], group: [{
|
|
2431
|
+
type: Input,
|
|
2432
|
+
args: [{ required: true }]
|
|
2433
|
+
}], errorMessages: [{
|
|
2434
|
+
type: Input
|
|
2435
|
+
}] } });
|
|
2436
|
+
|
|
2437
|
+
var fieldset_component = /*#__PURE__*/Object.freeze({
|
|
2438
|
+
__proto__: null,
|
|
2439
|
+
FieldsetComponent: FieldsetComponent
|
|
2440
|
+
});
|
|
2441
|
+
|
|
2442
|
+
class SectionComponent {
|
|
2443
|
+
id;
|
|
2444
|
+
config;
|
|
2445
|
+
group;
|
|
2446
|
+
errorMessages;
|
|
2447
|
+
get flexContainer() {
|
|
2448
|
+
return this.config.isFlex;
|
|
2449
|
+
}
|
|
2450
|
+
get configs() {
|
|
2451
|
+
const _configs = this.config?.configs || [];
|
|
2452
|
+
return _configs.filter((x) => x.visible === undefined || x.visible());
|
|
2453
|
+
}
|
|
2454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2455
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SectionComponent, selector: "s-section", inputs: { id: "id", config: "config", group: "group", errorMessages: "errorMessages" }, ngImport: i0, template: "@if (config.header) {\n <h3 class=\"sds-section-title\">\n {{ config.header }}\n </h3>\n}\n\n<section\n [class.flex-container]=\"flexContainer\"\n [style.justify-content]=\"config.justifyContent\"\n [style.align-items]=\"config.alignItems\"\n>\n @for (conf of configs; let i = $index; track i) {\n <ng-container\n *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"\n ></ng-container>\n }\n</section>\n\n", styles: [".flex-container{display:flex}:host{height:100%}section{height:100%}\n"], dependencies: [{ kind: "directive", type: DynamicFormDirective, selector: "[sDynamicForm]", inputs: ["sDynamicForm"] }] });
|
|
2456
|
+
}
|
|
2457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SectionComponent, decorators: [{
|
|
2458
|
+
type: Component,
|
|
2459
|
+
args: [{ selector: 's-section', template: "@if (config.header) {\n <h3 class=\"sds-section-title\">\n {{ config.header }}\n </h3>\n}\n\n<section\n [class.flex-container]=\"flexContainer\"\n [style.justify-content]=\"config.justifyContent\"\n [style.align-items]=\"config.alignItems\"\n>\n @for (conf of configs; let i = $index; track i) {\n <ng-container\n *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"\n ></ng-container>\n }\n</section>\n\n", styles: [".flex-container{display:flex}:host{height:100%}section{height:100%}\n"] }]
|
|
2460
|
+
}], propDecorators: { id: [{
|
|
2461
|
+
type: Input
|
|
2462
|
+
}], config: [{
|
|
2463
|
+
type: Input,
|
|
2464
|
+
args: [{ required: true }]
|
|
2465
|
+
}], group: [{
|
|
2466
|
+
type: Input,
|
|
2467
|
+
args: [{ required: true }]
|
|
2468
|
+
}], errorMessages: [{
|
|
2469
|
+
type: Input
|
|
2470
|
+
}] } });
|
|
2471
|
+
|
|
2472
|
+
var section_component = /*#__PURE__*/Object.freeze({
|
|
2473
|
+
__proto__: null,
|
|
2474
|
+
SectionComponent: SectionComponent
|
|
2475
|
+
});
|
|
2476
|
+
|
|
2477
|
+
class AutocompleteFieldComponent {
|
|
2478
|
+
changeDetectorRef;
|
|
2479
|
+
elementRef;
|
|
2480
|
+
field;
|
|
2481
|
+
formControl;
|
|
2482
|
+
inputRef = null;
|
|
2483
|
+
constructor(changeDetectorRef, elementRef) {
|
|
2484
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2485
|
+
this.elementRef = elementRef;
|
|
2486
|
+
}
|
|
2487
|
+
ngAfterViewInit() {
|
|
2488
|
+
this.setInputRef();
|
|
2489
|
+
this.changeDetectorRef.detectChanges();
|
|
2490
|
+
}
|
|
2491
|
+
setInputRef() {
|
|
2492
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
2493
|
+
}
|
|
2494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AutocompleteFieldComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2495
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: AutocompleteFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div [sTooltip]=\"field.tooltip\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple!\"\n [placeholder]=\"field.placeholder\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey!\"\n (onLookupRequest)=\"field.onSearch ? field.onSearch($event) : null\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n >\n </s-lookup>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }, { kind: "component", type: LookupComponent, selector: "s-lookup", inputs: ["formControlName", "id", "autocompleteForceSelection", "multiple", "dataKey", "disabled", "showSearch", "lookupSuggestions", "lookupDisplayField", "lookupDisplayFieldTooltip", "lookupEmptyMessage", "lookupAppendTo", "searchEmptyDescription", "searchGridData", "searchTotalRecords", "searchFields", "searchGridFields", "multiSortMeta", "placeholder", "sortableColumnsDisabled", "lookupRowProps", "defaultFilter", "showAddOption", "showEditOption", "showRemoveOption", "labelOptions"], outputs: ["onLookupRequest", "onSearchRequest", "onFocus", "onBlur", "onKeyUp", "onSelect", "onUnselect", "onClear", "onAdd", "onEdit", "onRemove", "onClearButtonClick"] }] });
|
|
2496
|
+
}
|
|
2497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AutocompleteFieldComponent, decorators: [{
|
|
2498
|
+
type: Component,
|
|
2499
|
+
args: [{ template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div [sTooltip]=\"field.tooltip\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple!\"\n [placeholder]=\"field.placeholder\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey!\"\n (onLookupRequest)=\"field.onSearch ? field.onSearch($event) : null\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n >\n </s-lookup>\n</div>\n" }]
|
|
2500
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { field: [{
|
|
2501
|
+
type: Input,
|
|
2502
|
+
args: [{ required: true }]
|
|
2503
|
+
}], formControl: [{
|
|
2504
|
+
type: Input,
|
|
2505
|
+
args: [{ required: true }]
|
|
2506
|
+
}] } });
|
|
2507
|
+
|
|
2508
|
+
var autocompleteField_component = /*#__PURE__*/Object.freeze({
|
|
2509
|
+
__proto__: null,
|
|
2510
|
+
AutocompleteFieldComponent: AutocompleteFieldComponent
|
|
2511
|
+
});
|
|
2512
|
+
|
|
2513
|
+
class BaseFieldComponent {
|
|
2514
|
+
isFunction(value) {
|
|
2515
|
+
return value instanceof Function;
|
|
2516
|
+
}
|
|
2517
|
+
trigger(callback) {
|
|
2518
|
+
return callback();
|
|
2519
|
+
}
|
|
2520
|
+
fieldPropertyIsDisabled(fieldProperty) {
|
|
2521
|
+
if (!isNullOrUndefined(fieldProperty)) {
|
|
2522
|
+
return typeof fieldProperty.disabled === 'function' ? fieldProperty.disabled() : !!fieldProperty.disabled;
|
|
2523
|
+
}
|
|
2524
|
+
return false;
|
|
2525
|
+
}
|
|
2526
|
+
getFieldPropertyMask(fieldData) {
|
|
2527
|
+
return typeof fieldData === 'function' ? fieldData() : fieldData;
|
|
2528
|
+
}
|
|
2529
|
+
getFieldProperty(property) {
|
|
2530
|
+
return typeof property === 'function' ? property() : property;
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
class BignumberFieldComponent extends BaseFieldComponent {
|
|
2535
|
+
localeService;
|
|
2536
|
+
changeDetectorRef;
|
|
2537
|
+
field;
|
|
2538
|
+
formControl;
|
|
2539
|
+
onInput = new EventEmitter();
|
|
2540
|
+
onFocus = new EventEmitter();
|
|
2541
|
+
onComplete = new EventEmitter();
|
|
2542
|
+
inputRef = null;
|
|
2543
|
+
ngUnsubscribe = new Subject();
|
|
2544
|
+
constructor(localeService, changeDetectorRef) {
|
|
2545
|
+
super();
|
|
2546
|
+
this.localeService = localeService;
|
|
2547
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2548
|
+
}
|
|
2549
|
+
ngOnInit() {
|
|
2550
|
+
this.onLocaleService();
|
|
2551
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
2552
|
+
if (this.field.onFocus) {
|
|
2553
|
+
this.field.onFocus(event);
|
|
2554
|
+
}
|
|
2555
|
+
});
|
|
2556
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
2557
|
+
if (this.field.onInput) {
|
|
2558
|
+
this.field.onInput(event);
|
|
2559
|
+
}
|
|
2560
|
+
});
|
|
2561
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
2562
|
+
if (this.field.onComplete) {
|
|
2563
|
+
this.field.onComplete(event);
|
|
2564
|
+
}
|
|
2565
|
+
});
|
|
2566
|
+
this.onScale();
|
|
2567
|
+
}
|
|
2568
|
+
ngAfterViewInit() {
|
|
2569
|
+
this.changeDetectorRef.detectChanges();
|
|
2570
|
+
}
|
|
2571
|
+
ngOnDestroy() {
|
|
2572
|
+
this.ngUnsubscribe.next();
|
|
2573
|
+
this.ngUnsubscribe.complete();
|
|
2574
|
+
}
|
|
2575
|
+
get fieldType() {
|
|
2576
|
+
return FieldType;
|
|
2577
|
+
}
|
|
2578
|
+
onLocaleService() {
|
|
2579
|
+
this.localeService
|
|
2580
|
+
.getLocale()
|
|
2581
|
+
.pipe(first())
|
|
2582
|
+
.subscribe({
|
|
2583
|
+
next: () => {
|
|
2584
|
+
if (!this.field.numberLocaleOptions?.decimalSeparator) {
|
|
2585
|
+
this.field.numberLocaleOptions = {
|
|
2586
|
+
...this.field.numberLocaleOptions,
|
|
2587
|
+
decimalSeparator: this.localeService.getDecimalSeparator() ?? '',
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
if (!this.field.numberLocaleOptions?.thousandsSeparator) {
|
|
2591
|
+
this.field.numberLocaleOptions = {
|
|
2592
|
+
...this.field.numberLocaleOptions,
|
|
2593
|
+
thousandsSeparator: this.localeService.getGroupingSeparator() ?? '',
|
|
2594
|
+
};
|
|
2595
|
+
}
|
|
2596
|
+
if (!this.field.numberLocaleOptions?.currencySymbol) {
|
|
2597
|
+
this.field.numberLocaleOptions = {
|
|
2598
|
+
...this.field.numberLocaleOptions,
|
|
2599
|
+
currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double
|
|
2600
|
+
? ''
|
|
2601
|
+
: 'R$',
|
|
2602
|
+
};
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
error: () => (this.field.numberLocaleOptions = this.field.numberLocaleOptions ?? {
|
|
2606
|
+
thousandsSeparator: '.',
|
|
2607
|
+
decimalSeparator: ',',
|
|
2608
|
+
currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? '' : 'R$',
|
|
2609
|
+
}),
|
|
2610
|
+
});
|
|
2611
|
+
}
|
|
2612
|
+
onScale() {
|
|
2613
|
+
// Currently, this component is used for the following types
|
|
2614
|
+
// FieldType.Number, FieldType.Integer and FieldType.Double
|
|
2615
|
+
if (isNullOrUndefined(this.field.scale)) {
|
|
2616
|
+
this.field.scale = this.field.type === FieldType.Integer ? 0 : 2;
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BignumberFieldComponent, deps: [{ token: i1$3.LocaleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2620
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BignumberFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onInput: "onInput", onFocus: "onFocus", onComplete: "onComplete" }, viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef!.nativeElement\"\n />\n}\n@if (field.mask) {\n <p-inputMask\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"getFieldPropertyMask(field.mask)\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\"\n >\n </p-inputMask>\n} @else {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>\n {{ field.leftAddon.label }}\n </span>\n }\n @if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <span class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority!\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n <span>\n {{ field.rightAddon.label }}\n </span>\n } @else {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n", styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px!important}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"], dependencies: [{ kind: "directive", type: i2$5.BignumberInputDirective, selector: "input[sBignumberInput]", inputs: ["precision", "scale", "decimalSeparator", "thousandsSeparator", "alignTo", "allowNegative", "placeholder"], outputs: ["pasteRejected"] }, { kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i5$1.InputMask, selector: "p-inputmask, p-inputMask, p-input-mask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2621
|
+
}
|
|
2622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BignumberFieldComponent, decorators: [{
|
|
2623
|
+
type: Component,
|
|
2624
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef!.nativeElement\"\n />\n}\n@if (field.mask) {\n <p-inputMask\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"getFieldPropertyMask(field.mask)\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\"\n >\n </p-inputMask>\n} @else {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>\n {{ field.leftAddon.label }}\n </span>\n }\n @if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <span class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority!\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n <span>\n {{ field.rightAddon.label }}\n </span>\n } @else {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n", styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px!important}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"] }]
|
|
2625
|
+
}], ctorParameters: () => [{ type: i1$3.LocaleService }, { type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
2626
|
+
type: Input,
|
|
2627
|
+
args: [{ required: true }]
|
|
2628
|
+
}], formControl: [{
|
|
2629
|
+
type: Input,
|
|
2630
|
+
args: [{ required: true }]
|
|
2631
|
+
}], onInput: [{
|
|
2632
|
+
type: Output
|
|
2633
|
+
}], onFocus: [{
|
|
2634
|
+
type: Output
|
|
2635
|
+
}], onComplete: [{
|
|
2636
|
+
type: Output
|
|
2637
|
+
}], inputRef: [{
|
|
2638
|
+
type: ViewChild,
|
|
2639
|
+
args: ['inputRef']
|
|
2640
|
+
}] } });
|
|
2641
|
+
|
|
2642
|
+
var bignumberField_component = /*#__PURE__*/Object.freeze({
|
|
2643
|
+
__proto__: null,
|
|
2644
|
+
BignumberFieldComponent: BignumberFieldComponent
|
|
2645
|
+
});
|
|
2646
|
+
|
|
2647
|
+
class BooleanFieldComponent {
|
|
2648
|
+
field;
|
|
2649
|
+
formControl;
|
|
2650
|
+
onClear() {
|
|
2651
|
+
this.formControl.reset();
|
|
2652
|
+
}
|
|
2653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BooleanFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2654
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BooleanFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<ng-template\n #radioButtonRender\n let-value=\"value\"\n let-label=\"label\"\n let-inputIdAppend=\"inputIdAppend\"\n>\n @let inputId = (field.id || field.name) + inputIdAppend;\n <s-radiobutton\n [name]=\"field.name\"\n [value]=\"value\"\n [formControl]=\"formControl\"\n [inputId]=\"inputId\"\n [label]=\"label\"\n (focusedInput)=\"field.onFocus ? field.onFocus($event) : null\"\n (inputFocusLost)=\"field.onBlur ? field.onBlur($event) : null\"\n />\n</ng-template>\n\n<s-field-label [field]=\"field\"></s-field-label>\n\n@if (field.verticalAlignment) {\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: true, label: field.optionsLabel.true, inputIdAppend: '-1' }\n \"\n />\n </div>\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: false, label: field.optionsLabel.false, inputIdAppend: '-2' }\n \"\n />\n </div>\n @if (!field.showClear && !!field.required && !field.required()) {\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: null, label: field.optionsLabel.empty, inputIdAppend: '-3' }\n \"\n />\n </div>\n }\n <div>\n @if (field.showClear && !field.required?.() && !formControl.disabled) {\n <s-button\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n </div>\n} @else {\n <div class=\"ui-g horizontal-radio-buttons-container\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: true, label: field.optionsLabel.true, inputIdAppend: '-1' }\n \"\n />\n\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: false, label: field.optionsLabel.false, inputIdAppend: '-2' }\n \"\n />\n\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: null, label: field.optionsLabel.empty, inputIdAppend: '-3' }\n \"\n />\n\n @if (field.showClear && !field.required?.() && !formControl.disabled) {\n <s-button\n style=\"margin-left: 40px\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n}\n", styles: [".horizontal-radio-buttons-container{gap:20px 40px;.radio-button-item{margin:0}}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$1.RadioButtonComponent, selector: "s-radiobutton", inputs: ["buttonDisabled", "label", "name", "value", "inputId"], outputs: ["buttonDisabledChange", "valueChange", "focusedInput", "inputFocusLost"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
2655
|
+
}
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BooleanFieldComponent, decorators: [{
|
|
2657
|
+
type: Component,
|
|
2658
|
+
args: [{ template: "<ng-template\n #radioButtonRender\n let-value=\"value\"\n let-label=\"label\"\n let-inputIdAppend=\"inputIdAppend\"\n>\n @let inputId = (field.id || field.name) + inputIdAppend;\n <s-radiobutton\n [name]=\"field.name\"\n [value]=\"value\"\n [formControl]=\"formControl\"\n [inputId]=\"inputId\"\n [label]=\"label\"\n (focusedInput)=\"field.onFocus ? field.onFocus($event) : null\"\n (inputFocusLost)=\"field.onBlur ? field.onBlur($event) : null\"\n />\n</ng-template>\n\n<s-field-label [field]=\"field\"></s-field-label>\n\n@if (field.verticalAlignment) {\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: true, label: field.optionsLabel.true, inputIdAppend: '-1' }\n \"\n />\n </div>\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: false, label: field.optionsLabel.false, inputIdAppend: '-2' }\n \"\n />\n </div>\n @if (!field.showClear && !!field.required && !field.required()) {\n <div class=\"ui-g-12\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: null, label: field.optionsLabel.empty, inputIdAppend: '-3' }\n \"\n />\n </div>\n }\n <div>\n @if (field.showClear && !field.required?.() && !formControl.disabled) {\n <s-button\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n </div>\n} @else {\n <div class=\"ui-g horizontal-radio-buttons-container\">\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: true, label: field.optionsLabel.true, inputIdAppend: '-1' }\n \"\n />\n\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: false, label: field.optionsLabel.false, inputIdAppend: '-2' }\n \"\n />\n\n <ng-template\n *ngTemplateOutlet=\"\n radioButtonRender;\n context: { value: null, label: field.optionsLabel.empty, inputIdAppend: '-3' }\n \"\n />\n\n @if (field.showClear && !field.required?.() && !formControl.disabled) {\n <s-button\n style=\"margin-left: 40px\"\n [label]=\"field.optionsLabel.clear || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n}\n", styles: [".horizontal-radio-buttons-container{gap:20px 40px;.radio-button-item{margin:0}}\n"] }]
|
|
2659
|
+
}], propDecorators: { field: [{
|
|
2660
|
+
type: Input,
|
|
2661
|
+
args: [{ required: true }]
|
|
2662
|
+
}], formControl: [{
|
|
2663
|
+
type: Input,
|
|
2664
|
+
args: [{ required: true }]
|
|
2665
|
+
}] } });
|
|
2666
|
+
|
|
2667
|
+
var booleanField_component = /*#__PURE__*/Object.freeze({
|
|
2668
|
+
__proto__: null,
|
|
2669
|
+
BooleanFieldComponent: BooleanFieldComponent
|
|
2670
|
+
});
|
|
2671
|
+
|
|
2672
|
+
class BooleanSwitchFieldComponent {
|
|
2673
|
+
field;
|
|
2674
|
+
formControl;
|
|
2675
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BooleanSwitchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2676
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BooleanSwitchFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div class=\"ui-grid ui-grid-responsive ui-grid-pad p-fluid\">\n <div class=\"ui-grid-row\">\n <div class=\"i-grid-col-1\">\n <s-switch\n [id]=\"field.id || field.name\"\n [inputName]=\"field.name\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n (valueChanged)=\"field.onChange ? field.onChange($event) : null\"\n >\n </s-switch>\n </div>\n @if (field.optionsLabel) {\n <div class=\"i-grid-col-1\">\n @if (formControl.value) {\n <span>{{ field.optionsLabel.true }}</span>\n } @else {\n <span>{{ field.optionsLabel.false }}</span>\n }\n </div>\n }\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: i3$2.SwitchComponent, selector: "s-switch", inputs: ["readonly", "trueLabel", "falseLabel", "inputId", "inputName", "disabled", "value"], outputs: ["valueChanged"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
2677
|
+
}
|
|
2678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BooleanSwitchFieldComponent, decorators: [{
|
|
2679
|
+
type: Component,
|
|
2680
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div class=\"ui-grid ui-grid-responsive ui-grid-pad p-fluid\">\n <div class=\"ui-grid-row\">\n <div class=\"i-grid-col-1\">\n <s-switch\n [id]=\"field.id || field.name\"\n [inputName]=\"field.name\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n (valueChanged)=\"field.onChange ? field.onChange($event) : null\"\n >\n </s-switch>\n </div>\n @if (field.optionsLabel) {\n <div class=\"i-grid-col-1\">\n @if (formControl.value) {\n <span>{{ field.optionsLabel.true }}</span>\n } @else {\n <span>{{ field.optionsLabel.false }}</span>\n }\n </div>\n }\n </div>\n</div>\n" }]
|
|
2681
|
+
}], propDecorators: { field: [{
|
|
2682
|
+
type: Input,
|
|
2683
|
+
args: [{ required: true }]
|
|
2684
|
+
}], formControl: [{
|
|
2685
|
+
type: Input,
|
|
2686
|
+
args: [{ required: true }]
|
|
2687
|
+
}] } });
|
|
2688
|
+
|
|
2689
|
+
var booleanSwitchField_component = /*#__PURE__*/Object.freeze({
|
|
2690
|
+
__proto__: null,
|
|
2691
|
+
BooleanSwitchFieldComponent: BooleanSwitchFieldComponent
|
|
2692
|
+
});
|
|
2693
|
+
|
|
2694
|
+
class ButtonFieldComponent {
|
|
2695
|
+
field;
|
|
2696
|
+
clickedButton($event) {
|
|
2697
|
+
if (this.field.onClick) {
|
|
2698
|
+
this.field.onClick($event);
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
handleMouseEnter() {
|
|
2702
|
+
if (this.field.mouseEnter) {
|
|
2703
|
+
this.field.mouseEnter(this.field);
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
handleMouseLeave() {
|
|
2707
|
+
if (this.field.mouseLeave) {
|
|
2708
|
+
this.field.mouseLeave(this.field);
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ButtonFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2712
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ButtonFieldComponent, selector: "s-button-field", inputs: { field: "field" }, ngImport: i0, template: "<section [class.full-width]=\"field.fullWidth\" [class.fit-content]=\"!field.fullWidth\">\n <s-button\n #button\n [label]=\"field.label\"\n [priority]=\"field.priority\"\n [iconClass]=\"field.iconClass\"\n [disabled]=\"field.disabled\"\n [auxiliary]=\"field.auxiliary\"\n [caret]=\"field.caret\"\n [id]=\"field.id\"\n [tooltip]=\"field.tooltip ? field.tooltip : button.tooltip\"\n (clicked)=\"clickedButton($event)\"\n [iconColor]=\"field.iconColor\"\n [badge]=\"field.badge\"\n [animation]=\"field.animation\"\n [slide]=\"field.slide\"\n [menuOptions]=\"field.menuOptions\"\n [baseZIndex]=\"field.baseZIndex\"\n [styleClass]=\"field.styleClass ? field.styleClass : button.styleClass\"\n [rightIconClass]=\"field.rightIconClass\"\n [tooltipPosition]=\"field.tooltipPosition ? field.tooltipPosition : button.tooltipPosition\"\n [type]=\"field.buttonType\"\n [size]=\"field.buttonSize\"\n (mouseenter)=\"handleMouseEnter()\"\n (mouseleave)=\"handleMouseLeave()\">\n </s-button>\n</section>\n", styles: ["section{height:100%;display:flex;align-items:flex-end}section.full-width{width:100%}section.fit-content{width:fit-content}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }] });
|
|
2713
|
+
}
|
|
2714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ButtonFieldComponent, decorators: [{
|
|
2715
|
+
type: Component,
|
|
2716
|
+
args: [{ selector: 's-button-field', template: "<section [class.full-width]=\"field.fullWidth\" [class.fit-content]=\"!field.fullWidth\">\n <s-button\n #button\n [label]=\"field.label\"\n [priority]=\"field.priority\"\n [iconClass]=\"field.iconClass\"\n [disabled]=\"field.disabled\"\n [auxiliary]=\"field.auxiliary\"\n [caret]=\"field.caret\"\n [id]=\"field.id\"\n [tooltip]=\"field.tooltip ? field.tooltip : button.tooltip\"\n (clicked)=\"clickedButton($event)\"\n [iconColor]=\"field.iconColor\"\n [badge]=\"field.badge\"\n [animation]=\"field.animation\"\n [slide]=\"field.slide\"\n [menuOptions]=\"field.menuOptions\"\n [baseZIndex]=\"field.baseZIndex\"\n [styleClass]=\"field.styleClass ? field.styleClass : button.styleClass\"\n [rightIconClass]=\"field.rightIconClass\"\n [tooltipPosition]=\"field.tooltipPosition ? field.tooltipPosition : button.tooltipPosition\"\n [type]=\"field.buttonType\"\n [size]=\"field.buttonSize\"\n (mouseenter)=\"handleMouseEnter()\"\n (mouseleave)=\"handleMouseLeave()\">\n </s-button>\n</section>\n", styles: ["section{height:100%;display:flex;align-items:flex-end}section.full-width{width:100%}section.fit-content{width:fit-content}\n"] }]
|
|
2717
|
+
}], propDecorators: { field: [{
|
|
2718
|
+
type: Input,
|
|
2719
|
+
args: [{ required: true }]
|
|
2720
|
+
}] } });
|
|
2721
|
+
|
|
2722
|
+
var buttonField_component = /*#__PURE__*/Object.freeze({
|
|
2723
|
+
__proto__: null,
|
|
2724
|
+
ButtonFieldComponent: ButtonFieldComponent
|
|
2725
|
+
});
|
|
2726
|
+
|
|
2727
|
+
class CalendarFieldComponent {
|
|
2728
|
+
changeDetectorRef;
|
|
2729
|
+
field;
|
|
2730
|
+
formControl;
|
|
2731
|
+
translateService = inject(TranslateService);
|
|
2732
|
+
locale = {
|
|
2733
|
+
firstDayOfWeek: 0,
|
|
2734
|
+
dayNames: [
|
|
2735
|
+
this.translateService.instant("platform.angular_components.sunday"),
|
|
2736
|
+
this.translateService.instant("platform.angular_components.monday"),
|
|
2737
|
+
this.translateService.instant("platform.angular_components.tuesday"),
|
|
2738
|
+
this.translateService.instant("platform.angular_components.wednesday"),
|
|
2739
|
+
this.translateService.instant("platform.angular_components.thursday"),
|
|
2740
|
+
this.translateService.instant("platform.angular_components.friday"),
|
|
2741
|
+
this.translateService.instant("platform.angular_components.saturday"),
|
|
2742
|
+
],
|
|
2743
|
+
dayNamesShort: [
|
|
2744
|
+
this.translateService.instant("platform.angular_components.sunday_short"),
|
|
2745
|
+
this.translateService.instant("platform.angular_components.monday_short"),
|
|
2746
|
+
this.translateService.instant("platform.angular_components.tuesday_short"),
|
|
2747
|
+
this.translateService.instant("platform.angular_components.wednesday_short"),
|
|
2748
|
+
this.translateService.instant("platform.angular_components.thursday_short"),
|
|
2749
|
+
this.translateService.instant("platform.angular_components.friday_short"),
|
|
2750
|
+
this.translateService.instant("platform.angular_components.saturday_short"),
|
|
2751
|
+
],
|
|
2752
|
+
dayNamesMin: [
|
|
2753
|
+
this.translateService.instant("platform.angular_components.sunday_min"),
|
|
2754
|
+
this.translateService.instant("platform.angular_components.monday_min"),
|
|
2755
|
+
this.translateService.instant("platform.angular_components.tuesday_min"),
|
|
2756
|
+
this.translateService.instant("platform.angular_components.wednesday_min"),
|
|
2757
|
+
this.translateService.instant("platform.angular_components.thursday_min"),
|
|
2758
|
+
this.translateService.instant("platform.angular_components.friday_min"),
|
|
2759
|
+
this.translateService.instant("platform.angular_components.saturday_min"),
|
|
2760
|
+
],
|
|
2761
|
+
monthNames: [
|
|
2762
|
+
this.translateService.instant("platform.angular_components.january"),
|
|
2763
|
+
this.translateService.instant("platform.angular_components.february"),
|
|
2764
|
+
this.translateService.instant("platform.angular_components.march"),
|
|
2765
|
+
this.translateService.instant("platform.angular_components.april"),
|
|
2766
|
+
this.translateService.instant("platform.angular_components.may"),
|
|
2767
|
+
this.translateService.instant("platform.angular_components.june"),
|
|
2768
|
+
this.translateService.instant("platform.angular_components.july"),
|
|
2769
|
+
this.translateService.instant("platform.angular_components.august"),
|
|
2770
|
+
this.translateService.instant("platform.angular_components.september"),
|
|
2771
|
+
this.translateService.instant("platform.angular_components.october"),
|
|
2772
|
+
this.translateService.instant("platform.angular_components.november"),
|
|
2773
|
+
this.translateService.instant("platform.angular_components.december"),
|
|
2774
|
+
],
|
|
2775
|
+
monthNamesShort: [
|
|
2776
|
+
this.translateService.instant("platform.angular_components.january_short"),
|
|
2777
|
+
this.translateService.instant("platform.angular_components.february_short"),
|
|
2778
|
+
this.translateService.instant("platform.angular_components.march_short"),
|
|
2779
|
+
this.translateService.instant("platform.angular_components.april_short"),
|
|
2780
|
+
this.translateService.instant("platform.angular_components.may_short"),
|
|
2781
|
+
this.translateService.instant("platform.angular_components.june_short"),
|
|
2782
|
+
this.translateService.instant("platform.angular_components.july_short"),
|
|
2783
|
+
this.translateService.instant("platform.angular_components.august_short"),
|
|
2784
|
+
this.translateService.instant("platform.angular_components.september_short"),
|
|
2785
|
+
this.translateService.instant("platform.angular_components.october_short"),
|
|
2786
|
+
this.translateService.instant("platform.angular_components.november_short"),
|
|
2787
|
+
this.translateService.instant("platform.angular_components.december_short"),
|
|
2788
|
+
],
|
|
2789
|
+
today: this.translateService.instant("platform.angular_components.today"),
|
|
2790
|
+
clear: this.translateService.instant("platform.angular_components.clear"),
|
|
2791
|
+
dateFormat: this.translateService.instant("platform.angular_components.date_format"),
|
|
2792
|
+
hourFormat: this.translateService.instant("platform.angular_components.hour_format"),
|
|
2793
|
+
};
|
|
2794
|
+
primengConfig = inject(PrimeNG);
|
|
2795
|
+
constructor(changeDetectorRef) {
|
|
2796
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2797
|
+
}
|
|
2798
|
+
ngOnInit() {
|
|
2799
|
+
const _locale = this.field.calendarLocaleOptions || this.locale;
|
|
2800
|
+
this.primengConfig.setTranslation({
|
|
2801
|
+
..._locale,
|
|
2802
|
+
});
|
|
2803
|
+
}
|
|
2804
|
+
showTime = false;
|
|
2805
|
+
timeOnly = false;
|
|
2806
|
+
calendar = null;
|
|
2807
|
+
inputRef;
|
|
2808
|
+
ngAfterViewInit() {
|
|
2809
|
+
this.setInputRef();
|
|
2810
|
+
this.changeDetectorRef.detectChanges();
|
|
2811
|
+
}
|
|
2812
|
+
setInputRef() {
|
|
2813
|
+
this.inputRef = this.calendar?.inputfieldViewChild?.nativeElement;
|
|
2814
|
+
}
|
|
2815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarFieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2816
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CalendarFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl", showTime: "showTime", timeOnly: "timeOnly" }, viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n >\n </s-field-label>\n}\n\n<div [sTooltip]=\"field.tooltip\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-datepicker, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n\n <!-- A diretiva sCalendarMask n\u00E3o est\u00E1 suportando sele\u00E7\u00E3o m\u00FAltipla. A forma como ela foi escrita n\u00E3o permite identificar a quantidade de datas\n que est\u00E3o sendo selecionadas. Removi o uso dela quando est\u00E1 com selectionMode=multiple. Analisar a remove\u00E7\u00E3o completa desta diretiva. -->\n @if(field.selectionMode !== 'multiple') {\n <p-datepicker\n #calendar\n sCalendarMask\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator ? field.rangeSeparator : calendar.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate ? field.defaultDate : calendar.defaultDate\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\"\n [hourFormat]=\"field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\"\n [view]=\"field.view ? field.view : calendar.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\"\n >\n </p-datepicker>\n }@else {\n <!-- A \u00FAnica diferen\u00E7a deste bloco \u00E9 a remo\u00E7\u00E3o da diretiva sCalendarMask. -->\n <p-datepicker\n #calendar\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator ? field.rangeSeparator : calendar.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate ? field.defaultDate : calendar.defaultDate\"\n [dateFormat]=\"\n field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\n \"\n [hourFormat]=\"\n field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\n \"\n [view]=\"field.view ? field.view : calendar.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\"\n >\n </p-datepicker>\n }\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: i3$3.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "fluid", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "size", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }, { kind: "pipe", type: i2$2.TranslatePipe, name: "translate" }] });
|
|
2817
|
+
}
|
|
2818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CalendarFieldComponent, decorators: [{
|
|
2819
|
+
type: Component,
|
|
2820
|
+
args: [{ template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n >\n </s-field-label>\n}\n\n<div [sTooltip]=\"field.tooltip\">\n <!-- Remover as propriedades [showTransitionOptions] e [hideTransitionOptions] quando atualizar para o PrimeNG v10, esses atributos foram\n usados para remover um bug ocasionado pela anima\u00E7\u00E3o do componente p-datepicker, bug explicado nas issues: #ERPROM-5534, #ERPROM-8248 e #DSN-1045. -->\n\n <!-- A diretiva sCalendarMask n\u00E3o est\u00E1 suportando sele\u00E7\u00E3o m\u00FAltipla. A forma como ela foi escrita n\u00E3o permite identificar a quantidade de datas\n que est\u00E3o sendo selecionadas. Removi o uso dela quando est\u00E1 com selectionMode=multiple. Analisar a remove\u00E7\u00E3o completa desta diretiva. -->\n @if(field.selectionMode !== 'multiple') {\n <p-datepicker\n #calendar\n sCalendarMask\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator ? field.rangeSeparator : calendar.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate ? field.defaultDate : calendar.defaultDate\"\n [dateFormat]=\"field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\"\n [hourFormat]=\"field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\"\n [view]=\"field.view ? field.view : calendar.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\"\n >\n </p-datepicker>\n }@else {\n <!-- A \u00FAnica diferen\u00E7a deste bloco \u00E9 a remo\u00E7\u00E3o da diretiva sCalendarMask. -->\n <p-datepicker\n #calendar\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [timeOnly]=\"timeOnly\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator ? field.rangeSeparator : calendar.rangeSeparator\"\n [showTime]=\"showTime\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n [formControl]=\"formControl\"\n [icon]=\"timeOnly ? 'fa fa-clock' : 'fa fa-calendar'\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [defaultDate]=\"field.defaultDate ? field.defaultDate : calendar.defaultDate\"\n [dateFormat]=\"\n field.calendarLocaleOptions?.dateFormat || 'platform.angular_components.date_format' | translate\n \"\n [hourFormat]=\"\n field.calendarLocaleOptions?.hourFormat || 'platform.angular_components.hour_format' | translate\n \"\n [view]=\"field.view ? field.view : calendar.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\"\n >\n </p-datepicker>\n }\n</div>\n" }]
|
|
2821
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
2822
|
+
type: Input,
|
|
2823
|
+
args: [{ required: true }]
|
|
2824
|
+
}], formControl: [{
|
|
2825
|
+
type: Input,
|
|
2826
|
+
args: [{ required: true }]
|
|
2827
|
+
}], showTime: [{
|
|
2828
|
+
type: Input
|
|
2829
|
+
}], timeOnly: [{
|
|
2830
|
+
type: Input
|
|
2831
|
+
}], calendar: [{
|
|
2832
|
+
type: ViewChild,
|
|
2833
|
+
args: ['calendar']
|
|
2834
|
+
}] } });
|
|
2835
|
+
|
|
2836
|
+
var calendarField_component = /*#__PURE__*/Object.freeze({
|
|
2837
|
+
__proto__: null,
|
|
2838
|
+
CalendarFieldComponent: CalendarFieldComponent
|
|
2839
|
+
});
|
|
2840
|
+
|
|
2841
|
+
class CheckboxFieldComponent {
|
|
2842
|
+
field;
|
|
2843
|
+
formControl;
|
|
2844
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckboxFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2845
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CheckboxFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<s-checkbox-list\n [data]=\"field.data\"\n [formControl]=\"formControl\"\n>\n</s-checkbox-list>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$6.CheckboxListComponent, selector: "s-checkbox-list", inputs: ["data"] }] });
|
|
2846
|
+
}
|
|
2847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckboxFieldComponent, decorators: [{
|
|
2848
|
+
type: Component,
|
|
2849
|
+
args: [{ template: "<s-checkbox-list\n [data]=\"field.data\"\n [formControl]=\"formControl\"\n>\n</s-checkbox-list>\n" }]
|
|
2850
|
+
}], propDecorators: { field: [{
|
|
2851
|
+
type: Input,
|
|
2852
|
+
args: [{ required: true }]
|
|
2853
|
+
}], formControl: [{
|
|
2854
|
+
type: Input,
|
|
2855
|
+
args: [{ required: true }]
|
|
2856
|
+
}] } });
|
|
2857
|
+
|
|
2858
|
+
var checkboxField_component = /*#__PURE__*/Object.freeze({
|
|
2859
|
+
__proto__: null,
|
|
2860
|
+
CheckboxFieldComponent: CheckboxFieldComponent
|
|
2861
|
+
});
|
|
2862
|
+
|
|
2863
|
+
class ChipsFieldComponent {
|
|
2864
|
+
clipboard;
|
|
2865
|
+
changeDetectorRef;
|
|
2866
|
+
elementRef;
|
|
2867
|
+
field;
|
|
2868
|
+
formControl;
|
|
2869
|
+
feedbackMessageVisible = false;
|
|
2870
|
+
copyButtonVisible = true;
|
|
2871
|
+
inputRef = null;
|
|
2872
|
+
constructor(clipboard, changeDetectorRef, elementRef) {
|
|
2873
|
+
this.clipboard = clipboard;
|
|
2874
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2875
|
+
this.elementRef = elementRef;
|
|
2876
|
+
}
|
|
2877
|
+
onCopyFieldContent() {
|
|
2878
|
+
if (this.formControl.value) {
|
|
2879
|
+
this.copyButtonVisible = false;
|
|
2880
|
+
this.feedbackMessageVisible = true;
|
|
2881
|
+
setTimeout(() => {
|
|
2882
|
+
this.feedbackMessageVisible = false;
|
|
2883
|
+
this.copyButtonVisible = true;
|
|
2884
|
+
}, 3000);
|
|
2885
|
+
const content = this.formControl.value.join(this.field.separator || '\n');
|
|
2886
|
+
this.clipboard.copy(content);
|
|
2887
|
+
if (this.field.onCopy) {
|
|
2888
|
+
this.field.onCopy(content);
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
ngAfterViewInit() {
|
|
2893
|
+
this.setInputRef();
|
|
2894
|
+
this.changeDetectorRef.detectChanges();
|
|
2895
|
+
}
|
|
2896
|
+
setInputRef() {
|
|
2897
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
2898
|
+
}
|
|
2899
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChipsFieldComponent, deps: [{ token: i1$5.Clipboard }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2900
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ChipsFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div class=\"chips-field-wrapper\">\n <div style=\"width: 100%\">\n @if (field.keyFilter) {\n <s-chips\n [inputId]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicated]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [keyFilter]=\"field.keyFilter\"\n >\n <ng-template\n let-item\n pTemplate=\"item\"\n >\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\"\n >\n {{ item }}\n </span>\n </ng-template>\n </s-chips>\n } @else {\n <s-chips\n [inputId]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicated]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n >\n <ng-template\n let-item\n pTemplate=\"item\"\n >\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\"\n >\n {{ item }}\n </span>\n </ng-template>\n </s-chips>\n }\n\n </div>\n\n @if(field.showCopyButton && formControl.value?.length > 0 && copyButtonVisible) {\n <button\n class=\"copy-content-button\"\n (click)=\"onCopyFieldContent()\"\n >\n {{ 'platform.angular_components.copy_field_content' | translate }}\n </button>\n }\n\n @if(feedbackMessageVisible) {\n <span\n class=\"feedback-message\"\n >\n {{ 'platform.angular_components.copied_to_clipboard' | translate }}\n </span>\n }\n</div>\n", styles: [".chips-field-wrapper{align-items:flex-start;display:flex;flex-direction:column}.chips-field-wrapper .chip-content{display:block;overflow:hidden;padding-right:1rem;text-overflow:ellipsis}.chips-field-wrapper .copy-content-button{background-color:transparent;border:none;color:#2a6496;cursor:pointer;margin-top:8px}.chips-field-wrapper .feedback-message{color:#0c9348;display:block;margin-top:8px;-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$4.ChipsComponent, selector: "s-chips", inputs: ["disabled", "field", "value", "placeholder", "max", "maxLength", "inputId", "allowDuplicated", "caseSensitiveDuplication", "addOnTab", "addOnBlur", "separator", "autofocus", "infoLabel", "keyFilter", "showTooltip", "maxLengthRenderWithoutTooltip"], outputs: ["added", "removed", "focused", "focusLost", "chipClicked", "valueChange"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }, { kind: "pipe", type: i2$2.TranslatePipe, name: "translate" }] });
|
|
2901
|
+
}
|
|
2902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChipsFieldComponent, decorators: [{
|
|
2903
|
+
type: Component,
|
|
2904
|
+
args: [{ template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div class=\"chips-field-wrapper\">\n <div style=\"width: 100%\">\n @if (field.keyFilter) {\n <s-chips\n [inputId]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicated]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [keyFilter]=\"field.keyFilter\"\n >\n <ng-template\n let-item\n pTemplate=\"item\"\n >\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\"\n >\n {{ item }}\n </span>\n </ng-template>\n </s-chips>\n } @else {\n <s-chips\n [inputId]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicated]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n >\n <ng-template\n let-item\n pTemplate=\"item\"\n >\n <span\n class=\"chip-content\"\n [sTooltip]=\"item\"\n >\n {{ item }}\n </span>\n </ng-template>\n </s-chips>\n }\n\n </div>\n\n @if(field.showCopyButton && formControl.value?.length > 0 && copyButtonVisible) {\n <button\n class=\"copy-content-button\"\n (click)=\"onCopyFieldContent()\"\n >\n {{ 'platform.angular_components.copy_field_content' | translate }}\n </button>\n }\n\n @if(feedbackMessageVisible) {\n <span\n class=\"feedback-message\"\n >\n {{ 'platform.angular_components.copied_to_clipboard' | translate }}\n </span>\n }\n</div>\n", styles: [".chips-field-wrapper{align-items:flex-start;display:flex;flex-direction:column}.chips-field-wrapper .chip-content{display:block;overflow:hidden;padding-right:1rem;text-overflow:ellipsis}.chips-field-wrapper .copy-content-button{background-color:transparent;border:none;color:#2a6496;cursor:pointer;margin-top:8px}.chips-field-wrapper .feedback-message{color:#0c9348;display:block;margin-top:8px;-webkit-user-select:none;user-select:none}\n"] }]
|
|
2905
|
+
}], ctorParameters: () => [{ type: i1$5.Clipboard }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { field: [{
|
|
2906
|
+
type: Input,
|
|
2907
|
+
args: [{ required: true }]
|
|
2908
|
+
}], formControl: [{
|
|
2909
|
+
type: Input,
|
|
2910
|
+
args: [{ required: true }]
|
|
2911
|
+
}] } });
|
|
2912
|
+
|
|
2913
|
+
var chipsField_component = /*#__PURE__*/Object.freeze({
|
|
2914
|
+
__proto__: null,
|
|
2915
|
+
ChipsFieldComponent: ChipsFieldComponent
|
|
2916
|
+
});
|
|
2917
|
+
|
|
2918
|
+
class CountryPhonePickerFieldComponent {
|
|
2919
|
+
changeDetectorRef;
|
|
2920
|
+
field;
|
|
2921
|
+
formControl;
|
|
2922
|
+
constructor(changeDetectorRef) {
|
|
2923
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2924
|
+
}
|
|
2925
|
+
ngAfterViewInit() {
|
|
2926
|
+
this.changeDetectorRef.detectChanges();
|
|
2927
|
+
}
|
|
2928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CountryPhonePickerFieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2929
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CountryPhonePickerFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "@if (countryPhonePicker.phoneInput?.nativeElement) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"countryPhonePicker.phoneInput?.nativeElement\"\n ></s-field-label>\n}\n\n<s-country-phone-picker\n #countryPhonePicker\n [formControl]=\"formControl\"\n [ordination]=\"field.ordination\"\n [countries]=\"field.countries\"\n (selected)=\"field.onSelected($event)\"\n (focusLost)=\"field.onFocusLost ? field.onFocusLost($event): null\"\n>\n</s-country-phone-picker>\n", dependencies: [{ kind: "component", type: i1$6.CountryPhonePickerComponent, selector: "s-country-phone-picker", inputs: ["countries", "ordination"], outputs: ["selected", "focusLost"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
2930
|
+
}
|
|
2931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CountryPhonePickerFieldComponent, decorators: [{
|
|
2932
|
+
type: Component,
|
|
2933
|
+
args: [{ template: "@if (countryPhonePicker.phoneInput?.nativeElement) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"countryPhonePicker.phoneInput?.nativeElement\"\n ></s-field-label>\n}\n\n<s-country-phone-picker\n #countryPhonePicker\n [formControl]=\"formControl\"\n [ordination]=\"field.ordination\"\n [countries]=\"field.countries\"\n (selected)=\"field.onSelected($event)\"\n (focusLost)=\"field.onFocusLost ? field.onFocusLost($event): null\"\n>\n</s-country-phone-picker>\n" }]
|
|
2934
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
2935
|
+
type: Input,
|
|
2936
|
+
args: [{ required: true }]
|
|
2937
|
+
}], formControl: [{
|
|
2938
|
+
type: Input,
|
|
2939
|
+
args: [{ required: true }]
|
|
2940
|
+
}] } });
|
|
2941
|
+
|
|
2942
|
+
var countryPhonePickerField_component = /*#__PURE__*/Object.freeze({
|
|
2943
|
+
__proto__: null,
|
|
2944
|
+
CountryPhonePickerFieldComponent: CountryPhonePickerFieldComponent
|
|
2945
|
+
});
|
|
2946
|
+
|
|
2947
|
+
/**
|
|
2948
|
+
* @deprecated Should use bignumber instead
|
|
2949
|
+
*/
|
|
2950
|
+
class CurrencyFieldComponent extends BaseFieldComponent {
|
|
2951
|
+
currencyService;
|
|
2952
|
+
localeService;
|
|
2953
|
+
changeDetectorRef;
|
|
2954
|
+
inputRefComponent = viewChild('inputRef');
|
|
2955
|
+
field;
|
|
2956
|
+
formControl;
|
|
2957
|
+
currencies = currencies;
|
|
2958
|
+
mask;
|
|
2959
|
+
inputRef = computed(() => {
|
|
2960
|
+
const inputRef = this.inputRefComponent();
|
|
2961
|
+
if (!inputRef) {
|
|
2962
|
+
return undefined;
|
|
2963
|
+
}
|
|
2964
|
+
if (inputRef instanceof InputMask) {
|
|
2965
|
+
return inputRef.input;
|
|
2966
|
+
}
|
|
2967
|
+
else {
|
|
2968
|
+
return inputRef.nativeElement;
|
|
2969
|
+
}
|
|
2970
|
+
});
|
|
2971
|
+
constructor(currencyService, localeService, changeDetectorRef) {
|
|
2972
|
+
super();
|
|
2973
|
+
this.currencyService = currencyService;
|
|
2974
|
+
this.localeService = localeService;
|
|
2975
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
2976
|
+
}
|
|
2977
|
+
ngOnInit() {
|
|
2978
|
+
this.onLocaleService();
|
|
2979
|
+
this.mask = typeof this.field.mask === 'function' ? this.field.mask() : this.field.mask;
|
|
2980
|
+
}
|
|
2981
|
+
ngAfterViewInit() {
|
|
2982
|
+
this.changeDetectorRef.detectChanges();
|
|
2983
|
+
}
|
|
2984
|
+
onLocaleService() {
|
|
2985
|
+
this.localeService
|
|
2986
|
+
.getLocale()
|
|
2987
|
+
.pipe(first())
|
|
2988
|
+
.subscribe({
|
|
2989
|
+
next: () => {
|
|
2990
|
+
if (!this.field.numberLocaleOptions?.decimalSeparator) {
|
|
2991
|
+
this.field.numberLocaleOptions = {
|
|
2992
|
+
currencySymbol: this.field.numberLocaleOptions?.currencySymbol,
|
|
2993
|
+
thousandsSeparator: this.field.numberLocaleOptions?.thousandsSeparator,
|
|
2994
|
+
decimalSeparator: this.localeService.getDecimalSeparator(),
|
|
2995
|
+
};
|
|
2996
|
+
}
|
|
2997
|
+
if (!this.field.numberLocaleOptions?.thousandsSeparator) {
|
|
2998
|
+
this.field.numberLocaleOptions = {
|
|
2999
|
+
currencySymbol: this.field.numberLocaleOptions.currencySymbol,
|
|
3000
|
+
decimalSeparator: this.field.numberLocaleOptions.decimalSeparator,
|
|
3001
|
+
thousandsSeparator: this.localeService.getGroupingSeparator(),
|
|
3002
|
+
};
|
|
3003
|
+
}
|
|
3004
|
+
if (!this.field.numberLocaleOptions?.currencySymbol) {
|
|
3005
|
+
this.field.numberLocaleOptions = {
|
|
3006
|
+
decimalSeparator: this.field.numberLocaleOptions.decimalSeparator,
|
|
3007
|
+
thousandsSeparator: this.field.numberLocaleOptions.thousandsSeparator,
|
|
3008
|
+
currencySymbol: 'R$',
|
|
3009
|
+
};
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
error: () => (this.field.numberLocaleOptions = this.field.numberLocaleOptions ?? {
|
|
3013
|
+
thousandsSeparator: '.',
|
|
3014
|
+
decimalSeparator: ',',
|
|
3015
|
+
currencySymbol: 'R$',
|
|
3016
|
+
}),
|
|
3017
|
+
});
|
|
3018
|
+
}
|
|
3019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CurrencyFieldComponent, deps: [{ token: i1$7.CurrencyService }, { token: i1$3.LocaleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3020
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CurrencyFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, viewQueries: [{ propertyName: "inputRefComponent", first: true, predicate: ["inputRef"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (inputRef()) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef()\"\n ></s-field-label>\n}\n@let hasMask = !!field.mask;\n<div\n class=\"[input-is-invalid>.button-container>.button-container]:border-[1px] [input-is-invalid>.button-container>.button-container]:border-r-0 [input-is-invalid>.button-container>.button-container]:border-criticality-red [input-is-invalid>.button-container>input]:border-[1px] [input-is-invalid>.button-container>input]:border-criticality-red [input-has-focus>.button-container]:border-[1px] [input-has-focus>.button-container]:border-r-0 [input-has-focus>.button-container]:border-primary flex h-[35px] w-full\"\n [ngClass]=\"{\n '[&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-[1px] [&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-r-0 [&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-criticality-red [&:has(.input-mask.ng-invalid.ng-dirty)>input]:border-[1px] [&:has(.input-mask.ng-invalid.ng-dirty)>input]:border-criticality-red':\n hasMask,\n }\"\n>\n @if (field.currency || field.numberLocaleOptions?.currencySymbol) {\n <div\n class=\"button-container flex h-full min-w-10 items-center justify-center rounded-l-[3px] border border-r-0 border-[#c1c1cc] px-[8px]\"\n >\n <span class=\"text-[#212533]\">\n {{\n field.currency\n ? currencyService.getCurrencySymbol({ currency: field.currency() })\n : field.numberLocaleOptions?.currencySymbol\n }}\n </span>\n </div>\n }\n\n @if (hasMask) {\n <p-inputMask\n class=\"input-mask\"\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap !rounded-l-[0px]\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\"\n ></p-inputMask>\n } @else if (!hasMask) {\n <input\n #inputRef\n type=\"text\"\n [id]=\"field.id || field.name\"\n class=\"h-full w-full rounded-r-[3px] border border-[#c1c1cc] p-2 outline-none focus:border-[1px] focus:border-primary\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"\n field.precision\n ? isFunction(field.precision)\n ? trigger(field.precision)\n : field.precision\n : field.currency && field.currency()\n ? currencies[field.currency()].precision\n : 15\n \"\n [scale]=\"\n field.scale\n ? isFunction(field.scale)\n ? trigger(field.scale)\n : field.scale\n : field.currency && field.currency()\n ? currencies[field.currency()].scale\n : 2\n \"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event) : null\"\n />\n }\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i5$1.InputMask, selector: "p-inputmask, p-inputMask, p-input-mask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "directive", type: i7$1.NumberInputDirective, selector: "input[sNumberInput]", inputs: ["precision", "scale", "decimalSeparator", "thousandsSeparator", "alignTo", "allowNegative", "placeholder"], outputs: ["pasteRejected"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3021
|
+
}
|
|
3022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CurrencyFieldComponent, decorators: [{
|
|
3023
|
+
type: Component,
|
|
3024
|
+
args: [{ template: "@if (inputRef()) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef()\"\n ></s-field-label>\n}\n@let hasMask = !!field.mask;\n<div\n class=\"[input-is-invalid>.button-container>.button-container]:border-[1px] [input-is-invalid>.button-container>.button-container]:border-r-0 [input-is-invalid>.button-container>.button-container]:border-criticality-red [input-is-invalid>.button-container>input]:border-[1px] [input-is-invalid>.button-container>input]:border-criticality-red [input-has-focus>.button-container]:border-[1px] [input-has-focus>.button-container]:border-r-0 [input-has-focus>.button-container]:border-primary flex h-[35px] w-full\"\n [ngClass]=\"{\n '[&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-[1px] [&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-r-0 [&:has(.input-mask.ng-invalid.ng-dirty)>.button-container]:border-criticality-red [&:has(.input-mask.ng-invalid.ng-dirty)>input]:border-[1px] [&:has(.input-mask.ng-invalid.ng-dirty)>input]:border-criticality-red':\n hasMask,\n }\"\n>\n @if (field.currency || field.numberLocaleOptions?.currencySymbol) {\n <div\n class=\"button-container flex h-full min-w-10 items-center justify-center rounded-l-[3px] border border-r-0 border-[#c1c1cc] px-[8px]\"\n >\n <span class=\"text-[#212533]\">\n {{\n field.currency\n ? currencyService.getCurrencySymbol({ currency: field.currency() })\n : field.numberLocaleOptions?.currencySymbol\n }}\n </span>\n </div>\n }\n\n @if (hasMask) {\n <p-inputMask\n class=\"input-mask\"\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap !rounded-l-[0px]\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\"\n ></p-inputMask>\n } @else if (!hasMask) {\n <input\n #inputRef\n type=\"text\"\n [id]=\"field.id || field.name\"\n class=\"h-full w-full rounded-r-[3px] border border-[#c1c1cc] p-2 outline-none focus:border-[1px] focus:border-primary\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"\n field.precision\n ? isFunction(field.precision)\n ? trigger(field.precision)\n : field.precision\n : field.currency && field.currency()\n ? currencies[field.currency()].precision\n : 15\n \"\n [scale]=\"\n field.scale\n ? isFunction(field.scale)\n ? trigger(field.scale)\n : field.scale\n : field.currency && field.currency()\n ? currencies[field.currency()].scale\n : 2\n \"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event) : null\"\n />\n }\n</div>\n" }]
|
|
3025
|
+
}], ctorParameters: () => [{ type: i1$7.CurrencyService }, { type: i1$3.LocaleService }, { type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
3026
|
+
type: Input,
|
|
3027
|
+
args: [{ required: true }]
|
|
3028
|
+
}], formControl: [{
|
|
3029
|
+
type: Input,
|
|
3030
|
+
args: [{ required: true }]
|
|
3031
|
+
}] } });
|
|
3032
|
+
|
|
3033
|
+
var currencyField_component = /*#__PURE__*/Object.freeze({
|
|
3034
|
+
__proto__: null,
|
|
3035
|
+
CurrencyFieldComponent: CurrencyFieldComponent
|
|
3036
|
+
});
|
|
3037
|
+
|
|
3038
|
+
class EditorFieldComponent extends BaseFieldComponent {
|
|
3039
|
+
field;
|
|
3040
|
+
formControl;
|
|
3041
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3042
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, usesInheritance: true, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<p-editor\n [formControl]=\"formControl\"\n [formats]=\"field.formats\"\n [readonly]=\"field.readonly ? field.readonly : false\"\n [modules]=\"field.modules\"\n [style]=\"field.style\"\n>\n</p-editor>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$7.Editor, selector: "p-editor", inputs: ["style", "styleClass", "placeholder", "formats", "modules", "bounds", "scrollingContainer", "debug", "readonly"], outputs: ["onInit", "onTextChange", "onSelectionChange"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3043
|
+
}
|
|
3044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFieldComponent, decorators: [{
|
|
3045
|
+
type: Component,
|
|
3046
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<p-editor\n [formControl]=\"formControl\"\n [formats]=\"field.formats\"\n [readonly]=\"field.readonly ? field.readonly : false\"\n [modules]=\"field.modules\"\n [style]=\"field.style\"\n>\n</p-editor>\n" }]
|
|
3047
|
+
}], propDecorators: { field: [{
|
|
3048
|
+
type: Input,
|
|
3049
|
+
args: [{ required: true }]
|
|
3050
|
+
}], formControl: [{
|
|
3051
|
+
type: Input,
|
|
3052
|
+
args: [{ required: true }]
|
|
3053
|
+
}] } });
|
|
3054
|
+
|
|
3055
|
+
var editorField_component = /*#__PURE__*/Object.freeze({
|
|
3056
|
+
__proto__: null,
|
|
3057
|
+
EditorFieldComponent: EditorFieldComponent
|
|
3058
|
+
});
|
|
3059
|
+
|
|
3060
|
+
class FileUploadFieldComponent extends BaseFieldComponent {
|
|
3061
|
+
changeDetectorRef;
|
|
3062
|
+
elementRef;
|
|
3063
|
+
field;
|
|
3064
|
+
// TODO: TIPAR.
|
|
3065
|
+
formControl;
|
|
3066
|
+
inputRef = null;
|
|
3067
|
+
constructor(changeDetectorRef, elementRef) {
|
|
3068
|
+
super();
|
|
3069
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
3070
|
+
this.elementRef = elementRef;
|
|
3071
|
+
}
|
|
3072
|
+
onClick() {
|
|
3073
|
+
this.dispatchFocusInputRef();
|
|
3074
|
+
}
|
|
3075
|
+
ngAfterViewInit() {
|
|
3076
|
+
this.setInputRef();
|
|
3077
|
+
this.changeDetectorRef.detectChanges();
|
|
3078
|
+
}
|
|
3079
|
+
onDocumentClick(event) {
|
|
3080
|
+
if (!this.elementRef.nativeElement.contains(event.target)) {
|
|
3081
|
+
this.inputRef?.dispatchEvent(new Event('blur'));
|
|
3082
|
+
}
|
|
3083
|
+
}
|
|
3084
|
+
setInputRef() {
|
|
3085
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
3086
|
+
}
|
|
3087
|
+
dispatchFocusInputRef() {
|
|
3088
|
+
this.inputRef?.dispatchEvent(new Event('focus'));
|
|
3089
|
+
}
|
|
3090
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadFieldComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3091
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FileUploadFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, host: { listeners: { "click": "onClick()", "document:click": "onDocumentClick($event)" } }, usesInheritance: true, ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<s-file-upload\n [id]=\"field.id || field.name\"\n [accept]=\"field.accept\"\n [files]=\"field.files\"\n [multiple]=\"field.multiple\"\n [chooseLabel]=\"field.chooseLabel\"\n [removeLabel]=\"field.removeLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [successTooltip]=\"field.successTooltip\"\n (uploadHandler)=\"field.onUploadFile($event, field)\"\n (removeFile)=\"field.onRemoveFile($event.file, field)\"\n (cancelUpload)=\"field.onCancelUpload($event, field)\"\n (downloadFile)=\"field.onDownloadFile($event, field)\"\n [formGroup]=\"formControl\"\n [showFileUploadDate]=\"field.showFileUploadDate\"\n>\n</s-file-upload>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2$8.FileUploadComponent, selector: "s-file-upload", inputs: ["id", "chooseLabel", "removeLabel", "cancelLabel", "successTooltip", "multiple", "accept", "supportedExtensions", "ariaLabelFileName", "maxFileSize", "maxCombinedFileSize", "fileLimit", "ariaLabelProgress", "ariaLabelSuccess", "ariaLabelError", "ariaLabelRemove", "formGroup", "disabled", "showFileUploadDate", "permissions", "files"], outputs: ["uploadHandler", "removeFile", "cancelUpload", "downloadFile", "validateErrors"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3092
|
+
}
|
|
3093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadFieldComponent, decorators: [{
|
|
3094
|
+
type: Component,
|
|
3095
|
+
args: [{ template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<s-file-upload\n [id]=\"field.id || field.name\"\n [accept]=\"field.accept\"\n [files]=\"field.files\"\n [multiple]=\"field.multiple\"\n [chooseLabel]=\"field.chooseLabel\"\n [removeLabel]=\"field.removeLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [successTooltip]=\"field.successTooltip\"\n (uploadHandler)=\"field.onUploadFile($event, field)\"\n (removeFile)=\"field.onRemoveFile($event.file, field)\"\n (cancelUpload)=\"field.onCancelUpload($event, field)\"\n (downloadFile)=\"field.onDownloadFile($event, field)\"\n [formGroup]=\"formControl\"\n [showFileUploadDate]=\"field.showFileUploadDate\"\n>\n</s-file-upload>\n" }]
|
|
3096
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { field: [{
|
|
3097
|
+
type: Input,
|
|
3098
|
+
args: [{ required: true }]
|
|
3099
|
+
}], formControl: [{
|
|
3100
|
+
type: Input,
|
|
3101
|
+
args: [{ required: true }]
|
|
3102
|
+
}], onClick: [{
|
|
3103
|
+
type: HostListener,
|
|
3104
|
+
args: ['click']
|
|
3105
|
+
}], onDocumentClick: [{
|
|
3106
|
+
type: HostListener,
|
|
3107
|
+
args: ['document:click', ['$event']]
|
|
3108
|
+
}] } });
|
|
3109
|
+
|
|
3110
|
+
var fileUploadField_component = /*#__PURE__*/Object.freeze({
|
|
3111
|
+
__proto__: null,
|
|
3112
|
+
FileUploadFieldComponent: FileUploadFieldComponent
|
|
3113
|
+
});
|
|
3114
|
+
|
|
3115
|
+
class LookupFieldComponent {
|
|
3116
|
+
field;
|
|
3117
|
+
formControl;
|
|
3118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LookupFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3119
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: LookupFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n>\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [labelOptions]=\"{\n recordsLabel: field.recordsLabel,\n recordLabel: field.recordLabel,\n emptyFieldLabel: field.emptyFieldLabel,\n selectLabel: field.selectLabel,\n cancelLabel: field.cancelLabel,\n clearLabel: field.clearLabel,\n filterLabel: field.filterLabel,\n filterTitle: field.filterTitle,\n searchTotalRecordsLabel: field.searchTotalRecordsLabel,\n searchEmptyTitle: field.searchEmptyTitle,\n searchTitle: field.searchTitle,\n }\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n [sortableColumnsDisabled]=\"field.sortableColumnsDisabled\"\n (onAdd)=\"field.onAdd ? field.onAdd() : null\"\n (onEdit)=\"field.onEdit ? field.onEdit($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onClearButtonClick)=\"field.onClearButtonClick ? field.onClearButtonClick() : null\"\n >\n </s-lookup>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }, { kind: "component", type: LookupComponent, selector: "s-lookup", inputs: ["formControlName", "id", "autocompleteForceSelection", "multiple", "dataKey", "disabled", "showSearch", "lookupSuggestions", "lookupDisplayField", "lookupDisplayFieldTooltip", "lookupEmptyMessage", "lookupAppendTo", "searchEmptyDescription", "searchGridData", "searchTotalRecords", "searchFields", "searchGridFields", "multiSortMeta", "placeholder", "sortableColumnsDisabled", "lookupRowProps", "defaultFilter", "showAddOption", "showEditOption", "showRemoveOption", "labelOptions"], outputs: ["onLookupRequest", "onSearchRequest", "onFocus", "onBlur", "onKeyUp", "onSelect", "onUnselect", "onClear", "onAdd", "onEdit", "onRemove", "onClearButtonClick"] }] });
|
|
3120
|
+
}
|
|
3121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LookupFieldComponent, decorators: [{
|
|
3122
|
+
type: Component,
|
|
3123
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n>\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [labelOptions]=\"{\n recordsLabel: field.recordsLabel,\n recordLabel: field.recordLabel,\n emptyFieldLabel: field.emptyFieldLabel,\n selectLabel: field.selectLabel,\n cancelLabel: field.cancelLabel,\n clearLabel: field.clearLabel,\n filterLabel: field.filterLabel,\n filterTitle: field.filterTitle,\n searchTotalRecordsLabel: field.searchTotalRecordsLabel,\n searchEmptyTitle: field.searchEmptyTitle,\n searchTitle: field.searchTitle,\n }\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n [sortableColumnsDisabled]=\"field.sortableColumnsDisabled\"\n (onAdd)=\"field.onAdd ? field.onAdd() : null\"\n (onEdit)=\"field.onEdit ? field.onEdit($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onClearButtonClick)=\"field.onClearButtonClick ? field.onClearButtonClick() : null\"\n >\n </s-lookup>\n</div>\n" }]
|
|
3124
|
+
}], propDecorators: { field: [{
|
|
3125
|
+
type: Input,
|
|
3126
|
+
args: [{ required: true }]
|
|
3127
|
+
}], formControl: [{
|
|
3128
|
+
type: Input,
|
|
3129
|
+
args: [{ required: true }]
|
|
3130
|
+
}] } });
|
|
3131
|
+
|
|
3132
|
+
var lookupField_component = /*#__PURE__*/Object.freeze({
|
|
3133
|
+
__proto__: null,
|
|
3134
|
+
LookupFieldComponent: LookupFieldComponent
|
|
3135
|
+
});
|
|
3136
|
+
|
|
3137
|
+
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
3138
|
+
class NumberFieldComponent extends BaseFieldComponent {
|
|
3139
|
+
localeService;
|
|
3140
|
+
elementRef;
|
|
3141
|
+
changeDetectorRef;
|
|
3142
|
+
field;
|
|
3143
|
+
formControl;
|
|
3144
|
+
onInput = new EventEmitter();
|
|
3145
|
+
onFocus = new EventEmitter();
|
|
3146
|
+
onComplete = new EventEmitter();
|
|
3147
|
+
inputRef = null;
|
|
3148
|
+
ngUnsubscribe = new Subject();
|
|
3149
|
+
FieldType = FieldType;
|
|
3150
|
+
constructor(localeService, elementRef, changeDetectorRef) {
|
|
3151
|
+
super();
|
|
3152
|
+
this.localeService = localeService;
|
|
3153
|
+
this.elementRef = elementRef;
|
|
3154
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
3155
|
+
}
|
|
3156
|
+
ngOnInit() {
|
|
3157
|
+
this.onLocaleService();
|
|
3158
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3159
|
+
if (this.field.onFocus)
|
|
3160
|
+
this.field.onFocus(event);
|
|
3161
|
+
});
|
|
3162
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3163
|
+
if (this.field.onInput)
|
|
3164
|
+
this.field.onInput(event);
|
|
3165
|
+
});
|
|
3166
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3167
|
+
if (this.field.onComplete)
|
|
3168
|
+
this.field.onComplete(event);
|
|
3169
|
+
});
|
|
3170
|
+
}
|
|
3171
|
+
ngAfterViewInit() {
|
|
3172
|
+
this.setInputRef();
|
|
3173
|
+
this.changeDetectorRef.detectChanges();
|
|
3174
|
+
}
|
|
3175
|
+
ngOnDestroy() {
|
|
3176
|
+
this.ngUnsubscribe.next();
|
|
3177
|
+
this.ngUnsubscribe.complete();
|
|
3178
|
+
}
|
|
3179
|
+
get numberAlignmentOption() {
|
|
3180
|
+
return NumberAlignmentOption;
|
|
3181
|
+
}
|
|
3182
|
+
get fieldType() {
|
|
3183
|
+
return FieldType;
|
|
3184
|
+
}
|
|
3185
|
+
onLocaleService() {
|
|
3186
|
+
this.localeService
|
|
3187
|
+
.getLocale()
|
|
3188
|
+
.pipe(first())
|
|
3189
|
+
.subscribe({
|
|
3190
|
+
next: () => {
|
|
3191
|
+
if (!this.field.numberLocaleOptions?.decimalSeparator) {
|
|
3192
|
+
this.field.numberLocaleOptions = {
|
|
3193
|
+
...this.field.numberLocaleOptions,
|
|
3194
|
+
decimalSeparator: this.localeService.getDecimalSeparator() ?? '',
|
|
3195
|
+
};
|
|
3196
|
+
}
|
|
3197
|
+
if (!this.field.numberLocaleOptions?.thousandsSeparator) {
|
|
3198
|
+
this.field.numberLocaleOptions = {
|
|
3199
|
+
...this.field.numberLocaleOptions,
|
|
3200
|
+
thousandsSeparator: this.localeService.getGroupingSeparator() ?? '',
|
|
3201
|
+
};
|
|
3202
|
+
}
|
|
3203
|
+
if (!this.field.numberLocaleOptions?.currencySymbol) {
|
|
3204
|
+
this.field.numberLocaleOptions = {
|
|
3205
|
+
...this.field.numberLocaleOptions,
|
|
3206
|
+
currencySymbol: 'R$',
|
|
3207
|
+
};
|
|
3208
|
+
}
|
|
3209
|
+
},
|
|
3210
|
+
error: () => (this.field.numberLocaleOptions = this.field.numberLocaleOptions ?? {
|
|
3211
|
+
thousandsSeparator: '.',
|
|
3212
|
+
decimalSeparator: ',',
|
|
3213
|
+
currencySymbol: 'R$',
|
|
3214
|
+
}),
|
|
3215
|
+
});
|
|
3216
|
+
}
|
|
3217
|
+
setInputRef() {
|
|
3218
|
+
const input = this.elementRef.nativeElement.querySelector('input');
|
|
3219
|
+
this.inputRef = input;
|
|
3220
|
+
}
|
|
3221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberFieldComponent, deps: [{ token: i1$3.LocaleService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3222
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: NumberFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onInput: "onInput", onFocus: "onFocus", onComplete: "onComplete" }, usesInheritance: true, ngImport: i0, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef.nativeElement\"\n />\n}\n\n@let hasMask = !!field.mask;\n@if (hasMask) {\n <p-inputMask\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"field.mask ? getFieldPropertyMask(field.mask) : null\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n >\n </p-inputMask>\n} @else if (!hasMask) {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>{{ field.leftAddon.label }}</span>\n } @else if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n\n @if(field.type === FieldType.Double && field.alignTo === numberAlignmentOption.LEFT) {\n <ng-container *ngTemplateOutlet=\"localizedNumber\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"input\"></ng-container>\n }\n\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <span class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n {{ field.rightAddon.label }}\n } @else if (!field.rightAddon.label) {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n\n<ng-template #input>\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n</ng-template>\n", styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i5$1.InputMask, selector: "p-inputmask, p-inputMask, p-input-mask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: i7$2.LocalizedNumberInputDirective, selector: "input[sLocalizedNumberInput]", inputs: ["decimalSeparator", "thousandsSeparator", "precision"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "directive", type: i7$1.NumberInputDirective, selector: "input[sNumberInput]", inputs: ["precision", "scale", "decimalSeparator", "thousandsSeparator", "alignTo", "allowNegative", "placeholder"], outputs: ["pasteRejected"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3223
|
+
}
|
|
3224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberFieldComponent, decorators: [{
|
|
3225
|
+
type: Component,
|
|
3226
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "@if (inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef.nativeElement\"\n />\n}\n\n@let hasMask = !!field.mask;\n@if (hasMask) {\n <p-inputMask\n #inputRef\n type=\"text\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"field.mask ? getFieldPropertyMask(field.mask) : null\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n >\n </p-inputMask>\n} @else if (!hasMask) {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>{{ field.leftAddon.label }}</span>\n } @else if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n\n @if(field.type === FieldType.Double && field.alignTo === numberAlignmentOption.LEFT) {\n <ng-container *ngTemplateOutlet=\"localizedNumber\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"input\"></ng-container>\n }\n\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <span class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n {{ field.rightAddon.label }}\n } @else if (!field.rightAddon.label) {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n\n<ng-template #input>\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n #inputRef\n [id]=\"field.id || field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions?.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions?.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\"\n />\n</ng-template>\n", styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"] }]
|
|
3227
|
+
}], ctorParameters: () => [{ type: i1$3.LocaleService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
3228
|
+
type: Input,
|
|
3229
|
+
args: [{ required: true }]
|
|
3230
|
+
}], formControl: [{
|
|
3231
|
+
type: Input,
|
|
3232
|
+
args: [{ required: true }]
|
|
3233
|
+
}], onInput: [{
|
|
3234
|
+
type: Output
|
|
3235
|
+
}], onFocus: [{
|
|
3236
|
+
type: Output
|
|
3237
|
+
}], onComplete: [{
|
|
3238
|
+
type: Output
|
|
3239
|
+
}] } });
|
|
3240
|
+
|
|
3241
|
+
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
3242
|
+
class PasswordFieldComponent {
|
|
3243
|
+
changeDetectorRef;
|
|
3244
|
+
field;
|
|
3245
|
+
formControl;
|
|
3246
|
+
onInput = new EventEmitter();
|
|
3247
|
+
onFocus = new EventEmitter();
|
|
3248
|
+
onComplete = new EventEmitter();
|
|
3249
|
+
inputRef = null;
|
|
3250
|
+
ngUnsubscribe = new Subject();
|
|
3251
|
+
passwordVisible = false;
|
|
3252
|
+
constructor(changeDetectorRef) {
|
|
3253
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
3254
|
+
}
|
|
3255
|
+
ngOnInit() {
|
|
3256
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3257
|
+
if (this.field.onFocus) {
|
|
3258
|
+
this.field.onFocus(event);
|
|
3259
|
+
}
|
|
3260
|
+
});
|
|
3261
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3262
|
+
if (this.field.onInput) {
|
|
3263
|
+
this.field.onInput(event);
|
|
3264
|
+
}
|
|
3265
|
+
});
|
|
3266
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3267
|
+
if (this.field.onComplete) {
|
|
3268
|
+
this.field.onComplete(event);
|
|
3269
|
+
}
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
ngOnDestroy() {
|
|
3273
|
+
this.ngUnsubscribe.next();
|
|
3274
|
+
this.ngUnsubscribe.complete();
|
|
3275
|
+
}
|
|
3276
|
+
onChangeVisible() {
|
|
3277
|
+
this.passwordVisible = !this.passwordVisible;
|
|
3278
|
+
}
|
|
3279
|
+
ngAfterViewInit() {
|
|
3280
|
+
this.changeDetectorRef.detectChanges();
|
|
3281
|
+
}
|
|
3282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PasswordFieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: PasswordFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onInput: "onInput", onFocus: "onFocus", onComplete: "onComplete" }, viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true }], ngImport: i0, template: "@if(inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div\n class=\"password-field\"\n [ngClass]=\"{ 'password-field--toggle': field.showToggle }\"\n>\n <input\n #inputRef\n [type]=\"passwordVisible ? 'text' : 'password'\"\n [id]=\"field.id || field.name\"\n class=\"password-input\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength ? field.passwordStrength : false\"\n [passwordStrengthDescription]=\"field.passwordStrengthOptions?.description ? field.passwordStrengthOptions!.description : ''\"\n [passwordStrengthWeakTitle]=\"field.passwordStrengthOptions?.weakTitle ? field.passwordStrengthOptions?.weakTitle : ''\"\n [passwordStrengthMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle ? field.passwordStrengthOptions?.mediumTitle : ''\"\n [passwordStrengthStrongTitle]=\"field.passwordStrengthOptions?.strongTitle ? field.passwordStrengthOptions?.strongTitle : ''\"\n [passwordStrengthValidation]=\"field.passwordStrengthOptions?.validation\"\n />\n @if (field.showToggle) {\n <span class=\"toggle-button\">\n <s-button\n [iconClass]=\"passwordVisible ? 'fas fa-eye-slash' : 'fas fa-eye'\"\n priority=\"default\"\n (clicked)=\"onChangeVisible()\"\n >\n </s-button>\n </span>\n }\n</div>\n", styles: ["s-text-field.ng-dirty.ng-invalid .password-input{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .password-input:hover{border-color:highlight(#c13018)}.password-field{display:flex}.password-field--toggle .password-input{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.password-field--toggle .toggle-button s-button button{border-bottom-left-radius:0;border-top-left-radius:0}.password-field:has(.password-input.ng-invalid.ng-dirty) s-button button{border:1px solid #c13018}.password-field:has(.password-input:focus) s-button button{border:1px solid #428bca}.password-field:has(.password-input:focus):has(button) .password-input{border-right:none}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "directive", type: i6.PasswordStrengthDirective, selector: "[sPasswordStrength]", inputs: ["sPasswordStrength", "passwordStrengthValidation", "passwordStrengthPosition", "passwordStrengthWeakTitle", "passwordStrengthMediumTitle", "passwordStrengthStrongTitle", "passwordStrengthDescription"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3284
|
+
}
|
|
3285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PasswordFieldComponent, decorators: [{
|
|
3286
|
+
type: Component,
|
|
3287
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "@if(inputRef) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"\n ></s-field-label>\n}\n\n<div\n class=\"password-field\"\n [ngClass]=\"{ 'password-field--toggle': field.showToggle }\"\n>\n <input\n #inputRef\n [type]=\"passwordVisible ? 'text' : 'password'\"\n [id]=\"field.id || field.name\"\n class=\"password-input\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength ? field.passwordStrength : false\"\n [passwordStrengthDescription]=\"field.passwordStrengthOptions?.description ? field.passwordStrengthOptions!.description : ''\"\n [passwordStrengthWeakTitle]=\"field.passwordStrengthOptions?.weakTitle ? field.passwordStrengthOptions?.weakTitle : ''\"\n [passwordStrengthMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle ? field.passwordStrengthOptions?.mediumTitle : ''\"\n [passwordStrengthStrongTitle]=\"field.passwordStrengthOptions?.strongTitle ? field.passwordStrengthOptions?.strongTitle : ''\"\n [passwordStrengthValidation]=\"field.passwordStrengthOptions?.validation\"\n />\n @if (field.showToggle) {\n <span class=\"toggle-button\">\n <s-button\n [iconClass]=\"passwordVisible ? 'fas fa-eye-slash' : 'fas fa-eye'\"\n priority=\"default\"\n (clicked)=\"onChangeVisible()\"\n >\n </s-button>\n </span>\n }\n</div>\n", styles: ["s-text-field.ng-dirty.ng-invalid .password-input{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .password-input:hover{border-color:highlight(#c13018)}.password-field{display:flex}.password-field--toggle .password-input{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.password-field--toggle .toggle-button s-button button{border-bottom-left-radius:0;border-top-left-radius:0}.password-field:has(.password-input.ng-invalid.ng-dirty) s-button button{border:1px solid #c13018}.password-field:has(.password-input:focus) s-button button{border:1px solid #428bca}.password-field:has(.password-input:focus):has(button) .password-input{border-right:none}\n"] }]
|
|
3288
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
3289
|
+
type: Input,
|
|
3290
|
+
args: [{ required: true }]
|
|
3291
|
+
}], formControl: [{
|
|
3292
|
+
type: Input,
|
|
3293
|
+
args: [{ required: true }]
|
|
3294
|
+
}], onInput: [{
|
|
3295
|
+
type: Output
|
|
3296
|
+
}], onFocus: [{
|
|
3297
|
+
type: Output
|
|
3298
|
+
}], onComplete: [{
|
|
3299
|
+
type: Output
|
|
3300
|
+
}], inputRef: [{
|
|
3301
|
+
type: ViewChild,
|
|
3302
|
+
args: ['inputRef']
|
|
3303
|
+
}] } });
|
|
3304
|
+
|
|
3305
|
+
var passwordField_component = /*#__PURE__*/Object.freeze({
|
|
3306
|
+
__proto__: null,
|
|
3307
|
+
PasswordFieldComponent: PasswordFieldComponent
|
|
3308
|
+
});
|
|
3309
|
+
|
|
3310
|
+
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
3311
|
+
class RadioButtonFieldComponent {
|
|
3312
|
+
field;
|
|
3313
|
+
formControl;
|
|
3314
|
+
onClick = new EventEmitter();
|
|
3315
|
+
onFocus = new EventEmitter();
|
|
3316
|
+
_ngUnsubscribe = new Subject();
|
|
3317
|
+
ngOnInit() {
|
|
3318
|
+
this.onFocus.pipe(takeUntil(this._ngUnsubscribe)).subscribe((event) => {
|
|
3319
|
+
if (this.field.onFocus)
|
|
3320
|
+
this.field.onFocus(event);
|
|
3321
|
+
});
|
|
3322
|
+
this.onClick.pipe(takeUntil(this._ngUnsubscribe)).subscribe((event) => {
|
|
3323
|
+
if (this.field.onClick)
|
|
3324
|
+
this.field.onClick(event);
|
|
3325
|
+
});
|
|
3326
|
+
}
|
|
3327
|
+
ngOnDestroy() {
|
|
3328
|
+
this._ngUnsubscribe.next();
|
|
3329
|
+
this._ngUnsubscribe.complete();
|
|
3330
|
+
}
|
|
3331
|
+
onClear() {
|
|
3332
|
+
this.formControl.reset();
|
|
3333
|
+
}
|
|
3334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadioButtonFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3335
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RadioButtonFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onClick: "onClick", onFocus: "onFocus" }, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n@if (field.verticalAlignment) {\n <div class=\"ui-g\">\n @for (option of field.options; let i = $index; track i) {\n <div class=\"ui-g-12\">\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{ option: option, index: i }\"\n >\n </ng-container>\n </div>\n }\n @if (field.showClear && field.required && !field.required() && !formControl.disabled) {\n <s-button\n [label]=\"field.clearLabel || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n} @else {\n <div class=\"ui-g horizontal-radio-buttons-container\">\n @for (option of field.options; let i = $index; track i) {\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{ option: option, index: i }\"\n >\n </ng-container>\n }\n </div>\n @if (field.showClear && field.required && !field.required() && !formControl.disabled) {\n <s-button\n class=\"horizontal-clear-option\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n}\n\n<ng-template\n #radioButton\n let-option=\"option\"\n let-i=\"index\"\n>\n @let inputId = (field.id || field.name) + '-' + i;\n <s-radiobutton\n class=\"radio-button-item\"\n [name]=\"field.name\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [inputId]=\"inputId\"\n [sTooltip]=\"field.tooltip\"\n [label]=\"option.label\"\n (focusedInput)=\"onFocus.next($event)\"\n (inputFocusLost)=\"field.onBlur ? field.onBlur($event) : null\"\n />\n</ng-template>\n", styles: ["s-button.horizontal-clear-option button{width:min-content!important}.horizontal-radio-buttons-container{gap:20px 40px;.radio-button-item{margin:0}}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: i4$1.RadioButtonComponent, selector: "s-radiobutton", inputs: ["buttonDisabled", "label", "name", "value", "inputId"], outputs: ["buttonDisabledChange", "valueChange", "focusedInput", "inputFocusLost"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3336
|
+
}
|
|
3337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadioButtonFieldComponent, decorators: [{
|
|
3338
|
+
type: Component,
|
|
3339
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n@if (field.verticalAlignment) {\n <div class=\"ui-g\">\n @for (option of field.options; let i = $index; track i) {\n <div class=\"ui-g-12\">\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{ option: option, index: i }\"\n >\n </ng-container>\n </div>\n }\n @if (field.showClear && field.required && !field.required() && !formControl.disabled) {\n <s-button\n [label]=\"field.clearLabel || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n </div>\n} @else {\n <div class=\"ui-g horizontal-radio-buttons-container\">\n @for (option of field.options; let i = $index; track i) {\n <ng-container\n [ngTemplateOutlet]=\"radioButton\"\n [ngTemplateOutletContext]=\"{ option: option, index: i }\"\n >\n </ng-container>\n }\n </div>\n @if (field.showClear && field.required && !field.required() && !formControl.disabled) {\n <s-button\n class=\"horizontal-clear-option\"\n [label]=\"field.clearLabel || 'Clear selection'\"\n (clicked)=\"onClear()\"\n priority=\"link\"\n >\n </s-button>\n }\n}\n\n<ng-template\n #radioButton\n let-option=\"option\"\n let-i=\"index\"\n>\n @let inputId = (field.id || field.name) + '-' + i;\n <s-radiobutton\n class=\"radio-button-item\"\n [name]=\"field.name\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [inputId]=\"inputId\"\n [sTooltip]=\"field.tooltip\"\n [label]=\"option.label\"\n (focusedInput)=\"onFocus.next($event)\"\n (inputFocusLost)=\"field.onBlur ? field.onBlur($event) : null\"\n />\n</ng-template>\n", styles: ["s-button.horizontal-clear-option button{width:min-content!important}.horizontal-radio-buttons-container{gap:20px 40px;.radio-button-item{margin:0}}\n"] }]
|
|
3340
|
+
}], propDecorators: { field: [{
|
|
3341
|
+
type: Input,
|
|
3342
|
+
args: [{ required: true }]
|
|
3343
|
+
}], formControl: [{
|
|
3344
|
+
type: Input,
|
|
3345
|
+
args: [{ required: true }]
|
|
3346
|
+
}], onClick: [{
|
|
3347
|
+
type: Output
|
|
3348
|
+
}], onFocus: [{
|
|
3349
|
+
type: Output
|
|
3350
|
+
}] } });
|
|
3351
|
+
|
|
3352
|
+
var radioButtonField_component = /*#__PURE__*/Object.freeze({
|
|
3353
|
+
__proto__: null,
|
|
3354
|
+
RadioButtonFieldComponent: RadioButtonFieldComponent
|
|
3355
|
+
});
|
|
3356
|
+
|
|
3357
|
+
class SelectFieldComponent extends BaseFieldComponent {
|
|
3358
|
+
field;
|
|
3359
|
+
formControl;
|
|
3360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SelectFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, usesInheritance: true, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-select\n [multiple]=\"field.multiple ?? false\"\n [filter]=\"field.filter ?? false\"\n [id]=\"field.id || field.name\"\n [options]=\"getFieldProperty(field.options)\"\n [placeholder]=\"field.placeholder || ' '\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n [group]=\"field.group ?? false\"\n [showClear]=\"field.showClear ?? false\"\n [optionLabel]=\"field.optionLabel ?? 'label'\"\n [optionValue]=\"field.optionValue ?? 'value'\"\n (clicked)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\"\n [emptyMessage]=\"field.emptyMessage ?? null\"\n>\n</s-select>\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: i3$5.SelectComponent, selector: "s-select", inputs: ["placeholder", "multiple", "options", "optionLabel", "optionValue", "showClear", "filter", "checkmark", "filterBy", "group", "virtualScroll", "virtualScrollItemSize", "emptyMessage", "disabled", "showOptions"], outputs: ["disabledChange", "showOptionsChange"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3362
|
+
}
|
|
3363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectFieldComponent, decorators: [{
|
|
3364
|
+
type: Component,
|
|
3365
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-select\n [multiple]=\"field.multiple ?? false\"\n [filter]=\"field.filter ?? false\"\n [id]=\"field.id || field.name\"\n [options]=\"getFieldProperty(field.options)\"\n [placeholder]=\"field.placeholder || ' '\"\n [formControl]=\"formControl\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n [group]=\"field.group ?? false\"\n [showClear]=\"field.showClear ?? false\"\n [optionLabel]=\"field.optionLabel ?? 'label'\"\n [optionValue]=\"field.optionValue ?? 'value'\"\n (clicked)=\"field.onClick ? field.onClick($event) : null\"\n (onChange)=\"field.onChange ? field.onChange($event) : null\"\n [emptyMessage]=\"field.emptyMessage ?? null\"\n>\n</s-select>\n" }]
|
|
3366
|
+
}], propDecorators: { field: [{
|
|
3367
|
+
type: Input,
|
|
3368
|
+
args: [{ required: true }]
|
|
3369
|
+
}], formControl: [{
|
|
3370
|
+
type: Input,
|
|
3371
|
+
args: [{ required: true }]
|
|
3372
|
+
}] } });
|
|
3373
|
+
|
|
3374
|
+
var selectField_component = /*#__PURE__*/Object.freeze({
|
|
3375
|
+
__proto__: null,
|
|
3376
|
+
SelectFieldComponent: SelectFieldComponent
|
|
3377
|
+
});
|
|
3378
|
+
|
|
3379
|
+
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
3380
|
+
class SliderFieldComponent extends BaseFieldComponent {
|
|
3381
|
+
field;
|
|
3382
|
+
formControl;
|
|
3383
|
+
onChange = new EventEmitter();
|
|
3384
|
+
onSlideEnd = new EventEmitter();
|
|
3385
|
+
ngUnsubscribe = new Subject();
|
|
3386
|
+
ngOnInit() {
|
|
3387
|
+
const defaultValue = this.field?.range ? [this.field.min, this.field.max] : this.field.min;
|
|
3388
|
+
if (!this.isValid(this.formControl.value)) {
|
|
3389
|
+
this.formControl.setValue(this.field.defaultValue ?? defaultValue);
|
|
3390
|
+
}
|
|
3391
|
+
this.subscribeToFormControlEvents();
|
|
3392
|
+
}
|
|
3393
|
+
subscribeToFormControlEvents() {
|
|
3394
|
+
this.onChange.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3395
|
+
if (this.field.onChange) {
|
|
3396
|
+
this.field.onChange(event);
|
|
3397
|
+
}
|
|
3398
|
+
});
|
|
3399
|
+
this.onSlideEnd.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3400
|
+
if (this.field.onSlideEnd) {
|
|
3401
|
+
this.field.onSlideEnd(event);
|
|
3402
|
+
}
|
|
3403
|
+
});
|
|
3404
|
+
}
|
|
3405
|
+
isValid(value) {
|
|
3406
|
+
if (this.field?.range) {
|
|
3407
|
+
return Array.isArray(value) && this.isValidRange(value);
|
|
3408
|
+
}
|
|
3409
|
+
else {
|
|
3410
|
+
return Number.isInteger(value) && this.isValidNoRange(value);
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
isValidRange(value) {
|
|
3414
|
+
const [startValue, endValue] = value;
|
|
3415
|
+
return startValue >= this.field?.min && startValue <= this.field?.max && endValue >= this.field?.min && endValue <= this.field?.max;
|
|
3416
|
+
}
|
|
3417
|
+
isValidNoRange(value) {
|
|
3418
|
+
return value >= this.field.min && value <= this.field.max;
|
|
3419
|
+
}
|
|
3420
|
+
ngOnDestroy() {
|
|
3421
|
+
this.ngUnsubscribe.next();
|
|
3422
|
+
this.ngUnsubscribe.complete();
|
|
3423
|
+
}
|
|
3424
|
+
get fieldType() {
|
|
3425
|
+
return FieldType;
|
|
3426
|
+
}
|
|
3427
|
+
getRangeLabel() {
|
|
3428
|
+
let [value0, value1] = this.formControl.value ?? [0, 0];
|
|
3429
|
+
const prefix = this.field.prefix ?? '';
|
|
3430
|
+
const suffix = this.field.suffix ?? '';
|
|
3431
|
+
const separator = this.field.rangeSeparator ?? ' - ';
|
|
3432
|
+
if (!value0 || value0 < this.field.min) {
|
|
3433
|
+
value0 = this.field.min;
|
|
3434
|
+
}
|
|
3435
|
+
if (!value1 || value1 > this.field.max) {
|
|
3436
|
+
value1 = this.field.max;
|
|
3437
|
+
}
|
|
3438
|
+
return `${prefix}${value0}${suffix}${separator}${prefix}${value1}${suffix}`;
|
|
3439
|
+
}
|
|
3440
|
+
getNonRangeLabel() {
|
|
3441
|
+
let value = this.formControl?.value;
|
|
3442
|
+
const prefix = this.field.prefix ?? '';
|
|
3443
|
+
const suffix = this.field.suffix ?? '';
|
|
3444
|
+
if (!value || value < this.field.min) {
|
|
3445
|
+
value = this.field.min;
|
|
3446
|
+
}
|
|
3447
|
+
if (value > this.field.max) {
|
|
3448
|
+
value = this.field.max;
|
|
3449
|
+
}
|
|
3450
|
+
return `${prefix}${value}${suffix}`;
|
|
3451
|
+
}
|
|
3452
|
+
get label() {
|
|
3453
|
+
return this.field.range ? this.getRangeLabel() : this.getNonRangeLabel();
|
|
3454
|
+
}
|
|
3455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SliderFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3456
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SliderFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onChange: "onChange", onSlideEnd: "onSlideEnd" }, usesInheritance: true, ngImport: i0, template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div class=\"slider-group\">\n <div class=\"slider-label\">\n <span>{{ label }}</span>\n </div>\n <s-slider\n #slider\n [id]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [multiple]=\"field.range ? field.range : slider.multiple\"\n [min]=\"field.min\"\n [max]=\"field.max\"\n [step]=\"field.step\"\n (valueChange)=\"field.onChange ? field.onChange($event) : null\"\n >\n </s-slider>\n</div>\n", styles: [".slider-label{margin-bottom:5px;margin-left:-10px}.slider-group{margin-left:9px;margin-right:11px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$9.SliderComponent, selector: "s-slider", inputs: ["multiple", "value", "step", "hiddenThumb", "disabled", "min", "max", "minValueLabel", "maxValueLabel", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3457
|
+
}
|
|
3458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SliderFieldComponent, decorators: [{
|
|
3459
|
+
type: Component,
|
|
3460
|
+
args: [{ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div class=\"slider-group\">\n <div class=\"slider-label\">\n <span>{{ label }}</span>\n </div>\n <s-slider\n #slider\n [id]=\"field.id || field.name\"\n [formControl]=\"formControl\"\n [multiple]=\"field.range ? field.range : slider.multiple\"\n [min]=\"field.min\"\n [max]=\"field.max\"\n [step]=\"field.step\"\n (valueChange)=\"field.onChange ? field.onChange($event) : null\"\n >\n </s-slider>\n</div>\n", styles: [".slider-label{margin-bottom:5px;margin-left:-10px}.slider-group{margin-left:9px;margin-right:11px}\n"] }]
|
|
3461
|
+
}], propDecorators: { field: [{
|
|
3462
|
+
type: Input,
|
|
3463
|
+
args: [{ required: true }]
|
|
3464
|
+
}], formControl: [{
|
|
3465
|
+
type: Input,
|
|
3466
|
+
args: [{ required: true }]
|
|
3467
|
+
}], onChange: [{
|
|
3468
|
+
type: Output
|
|
3469
|
+
}], onSlideEnd: [{
|
|
3470
|
+
type: Output
|
|
3471
|
+
}] } });
|
|
3472
|
+
|
|
3473
|
+
var sliderField_component = /*#__PURE__*/Object.freeze({
|
|
3474
|
+
__proto__: null,
|
|
3475
|
+
SliderFieldComponent: SliderFieldComponent
|
|
3476
|
+
});
|
|
3477
|
+
|
|
3478
|
+
class StarRatingFieldComponent {
|
|
3479
|
+
field;
|
|
3480
|
+
formControl;
|
|
3481
|
+
onValueChange(newValue) {
|
|
3482
|
+
if (this.field.valueChange) {
|
|
3483
|
+
this.field.valueChange(newValue);
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StarRatingFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3487
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: StarRatingFieldComponent, selector: "s-star-rating-field", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "<s-field-label [field]=\"field\"/>\n\n<s-star-rating [justifyContent]=\"field.justifyContent\" [formControl]=\"formControl\" (selectedStarChange)=\"onValueChange($event)\">\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$a.StarRatingComponent, selector: "s-star-rating", inputs: ["selectedStar", "starsRange", "justifyContent", "disabled"], outputs: ["selectedStarChange", "disabledChange"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3488
|
+
}
|
|
3489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StarRatingFieldComponent, decorators: [{
|
|
3490
|
+
type: Component,
|
|
3491
|
+
args: [{ selector: 's-star-rating-field', template: "<s-field-label [field]=\"field\"/>\n\n<s-star-rating [justifyContent]=\"field.justifyContent\" [formControl]=\"formControl\" (selectedStarChange)=\"onValueChange($event)\">\n" }]
|
|
3492
|
+
}], propDecorators: { field: [{
|
|
3493
|
+
type: Input
|
|
3494
|
+
}], formControl: [{
|
|
3495
|
+
type: Input
|
|
3496
|
+
}] } });
|
|
3497
|
+
|
|
3498
|
+
var starRatingField_component = /*#__PURE__*/Object.freeze({
|
|
3499
|
+
__proto__: null,
|
|
3500
|
+
StarRatingFieldComponent: StarRatingFieldComponent
|
|
3501
|
+
});
|
|
3502
|
+
|
|
3503
|
+
class TextAreaIAFieldComponent {
|
|
3504
|
+
field;
|
|
3505
|
+
formControl;
|
|
3506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaIAFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3507
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TextAreaIAFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "@if (textAreaIA.textArea()?.renderTextArea) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"textAreaIA.textArea()?.textAreaElement?.nativeElement\"\n ></s-field-label>\n}\n\n<s-text-area-ia\n #textAreaIA\n [rows]=\"field.rows ?? 5\"\n [formControl]=\"formControl\"\n [id]=\"field.name\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [prompt]=\"field.prompt ?? ''\"\n [placeholder]=\"field.placeholder ?? ''\"\n [label]=\"field.label\"\n [speechRecognition]=\"field.speechRecognition\"\n [keepContext]=\"field.keepContext\"\n [speechRecognitionPlaceholder]=\"field.speechRecognitionPlaceholder\"\n [maxLength]=\"field.maxLength\"\n></s-text-area-ia>\n", styles: [".footer-content{display:flex;flex-grow:0}.textarea-ia{display:flex;align-items:flex-end;gap:8px}.textarea-ia s-textarea{width:100%}.iassist-button{display:flex;justify-content:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}.speech-recognition{margin-bottom:12.5px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$b.TextAreaIAComponent, selector: "s-text-area-ia", inputs: ["id", "label", "placeholder", "prompt", "readonly", "rows", "cols", "speechRecognition", "keepContext", "speechRecognitionPlaceholder", "maxLength"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3508
|
+
}
|
|
3509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaIAFieldComponent, decorators: [{
|
|
3510
|
+
type: Component,
|
|
3511
|
+
args: [{ template: "@if (textAreaIA.textArea()?.renderTextArea) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"textAreaIA.textArea()?.textAreaElement?.nativeElement\"\n ></s-field-label>\n}\n\n<s-text-area-ia\n #textAreaIA\n [rows]=\"field.rows ?? 5\"\n [formControl]=\"formControl\"\n [id]=\"field.name\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [prompt]=\"field.prompt ?? ''\"\n [placeholder]=\"field.placeholder ?? ''\"\n [label]=\"field.label\"\n [speechRecognition]=\"field.speechRecognition\"\n [keepContext]=\"field.keepContext\"\n [speechRecognitionPlaceholder]=\"field.speechRecognitionPlaceholder\"\n [maxLength]=\"field.maxLength\"\n></s-text-area-ia>\n", styles: [".footer-content{display:flex;flex-grow:0}.textarea-ia{display:flex;align-items:flex-end;gap:8px}.textarea-ia s-textarea{width:100%}.iassist-button{display:flex;justify-content:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}.speech-recognition{margin-bottom:12.5px}\n"] }]
|
|
3512
|
+
}], propDecorators: { field: [{
|
|
3513
|
+
type: Input,
|
|
3514
|
+
args: [{ required: true }]
|
|
3515
|
+
}], formControl: [{
|
|
3516
|
+
type: Input,
|
|
3517
|
+
args: [{ required: true }]
|
|
3518
|
+
}] } });
|
|
3519
|
+
|
|
3520
|
+
var textAreaIaField_component = /*#__PURE__*/Object.freeze({
|
|
3521
|
+
__proto__: null,
|
|
3522
|
+
TextAreaIAFieldComponent: TextAreaIAFieldComponent
|
|
3523
|
+
});
|
|
3524
|
+
|
|
3525
|
+
class TextAreaFieldComponent {
|
|
3526
|
+
changeDetectorRef;
|
|
3527
|
+
field;
|
|
3528
|
+
formControl;
|
|
3529
|
+
constructor(changeDetectorRef) {
|
|
3530
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
3531
|
+
}
|
|
3532
|
+
ngAfterViewInit() {
|
|
3533
|
+
this.changeDetectorRef.detectChanges();
|
|
3534
|
+
}
|
|
3535
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaFieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3536
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TextAreaFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, ngImport: i0, template: "@if (textArea.renderTextArea) {\n <s-field-label [field]=\"field\"\n [fieldContainerRef]=\"textArea.textAreaElement.nativeElement\"></s-field-label>\n}\n\n<s-textarea\n #textArea\n [inputId]=\"(field.id || field.name)\"\n [rows]=\"field.rows ?? textArea.rows\"\n [formControl]=\"formControl\"\n [inputStyle]=\"field.style ?? {}\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n [keyFilter]=\"field.keyFilter\"\n [placeholder]=\"field.placeholder ?? ''\"\n [keepContext]=\"field.keepContext\"\n [speechRecognitionPlaceholder]=\"field.speechRecognitionPlaceholder\"\n [maxLength]=\"field.maxLength\"\n [speechRecognition]=\"field.speechRecognition\">\n</s-textarea>\n\n", styles: [".textarea-input{resize:vertical;width:100%;border:1px solid #c1c1cc;border-radius:3px;padding:8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$c.TextAreaComponent, selector: "s-textarea", inputs: ["inputId", "rows", "speechRecognition", "keyFilter", "keepContext", "speechRecognitionPlaceholder", "maxLength", "placeholder", "inputStyle", "readOnly"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }] });
|
|
3537
|
+
}
|
|
3538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaFieldComponent, decorators: [{
|
|
3539
|
+
type: Component,
|
|
3540
|
+
args: [{ template: "@if (textArea.renderTextArea) {\n <s-field-label [field]=\"field\"\n [fieldContainerRef]=\"textArea.textAreaElement.nativeElement\"></s-field-label>\n}\n\n<s-textarea\n #textArea\n [inputId]=\"(field.id || field.name)\"\n [rows]=\"field.rows ?? textArea.rows\"\n [formControl]=\"formControl\"\n [inputStyle]=\"field.style ?? {}\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n [keyFilter]=\"field.keyFilter\"\n [placeholder]=\"field.placeholder ?? ''\"\n [keepContext]=\"field.keepContext\"\n [speechRecognitionPlaceholder]=\"field.speechRecognitionPlaceholder\"\n [maxLength]=\"field.maxLength\"\n [speechRecognition]=\"field.speechRecognition\">\n</s-textarea>\n\n", styles: [".textarea-input{resize:vertical;width:100%;border:1px solid #c1c1cc;border-radius:3px;padding:8px}\n"] }]
|
|
3541
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
3542
|
+
type: Input,
|
|
3543
|
+
args: [{ required: true }]
|
|
3544
|
+
}], formControl: [{
|
|
3545
|
+
type: Input,
|
|
3546
|
+
args: [{ required: true }]
|
|
3547
|
+
}] } });
|
|
3548
|
+
|
|
3549
|
+
var textAreaField_component = /*#__PURE__*/Object.freeze({
|
|
3550
|
+
__proto__: null,
|
|
3551
|
+
TextAreaFieldComponent: TextAreaFieldComponent
|
|
3552
|
+
});
|
|
3553
|
+
|
|
3554
|
+
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
3555
|
+
class TextFieldComponent extends BaseFieldComponent {
|
|
3556
|
+
changeDetectorRef;
|
|
3557
|
+
field;
|
|
3558
|
+
formControl;
|
|
3559
|
+
onInput = new EventEmitter();
|
|
3560
|
+
onFocus = new EventEmitter();
|
|
3561
|
+
onComplete = new EventEmitter();
|
|
3562
|
+
inputRef = null;
|
|
3563
|
+
ngUnsubscribe = new Subject();
|
|
3564
|
+
constructor(changeDetectorRef) {
|
|
3565
|
+
super();
|
|
3566
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
3567
|
+
}
|
|
3568
|
+
ngOnInit() {
|
|
3569
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3570
|
+
if (this.field.onFocus)
|
|
3571
|
+
this.field.onFocus(event);
|
|
3572
|
+
});
|
|
3573
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3574
|
+
if (this.field.onInput)
|
|
3575
|
+
this.field.onInput(event);
|
|
3576
|
+
});
|
|
3577
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
3578
|
+
if (this.field.onComplete)
|
|
3579
|
+
this.field.onComplete(event);
|
|
3580
|
+
});
|
|
3581
|
+
}
|
|
3582
|
+
ngAfterViewInit() {
|
|
3583
|
+
this.changeDetectorRef.detectChanges();
|
|
3584
|
+
}
|
|
3585
|
+
ngOnDestroy() {
|
|
3586
|
+
this.ngUnsubscribe.next();
|
|
3587
|
+
this.ngUnsubscribe.complete();
|
|
3588
|
+
}
|
|
3589
|
+
getCharacterPattern() {
|
|
3590
|
+
return typeof this.field.characterPattern === 'function'
|
|
3591
|
+
? this.field.characterPattern()
|
|
3592
|
+
: this.field.characterPattern;
|
|
3593
|
+
}
|
|
3594
|
+
getUnmask() {
|
|
3595
|
+
return typeof this.field.unmask === 'function' ? this.field.unmask() : this.field.unmask;
|
|
3596
|
+
}
|
|
3597
|
+
get inputElement() {
|
|
3598
|
+
if (this.inputRef instanceof InputMask) {
|
|
3599
|
+
return this.inputRef?.inputViewChild?.nativeElement;
|
|
3600
|
+
}
|
|
3601
|
+
else {
|
|
3602
|
+
return this.inputRef?.nativeElement;
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextFieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3606
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TextFieldComponent, selector: "ng-component", inputs: { field: "field", formControl: "formControl" }, outputs: { onInput: "onInput", onFocus: "onFocus", onComplete: "onComplete" }, viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (inputElement) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputElement\"\n />\n}\n\n@if (field.mask) {\n <p-inputMask\n #inputRef\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [characterPattern]=\"getCharacterPattern()\"\n [unmask]=\"getUnmask()\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n\n >\n </p-inputMask>\n} @else {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>{{ field.leftAddon.label }}</span>\n } @else if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n } @else if (field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n <span>{{ field.rightAddon.label }}</span>\n } @else if (!field.rightAddon.label) {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n<ng-template #input>\n <input\n #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n />\n</ng-template>\n", styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "s-button", inputs: ["id", "label", "tooltip", "tooltipPosition", "iconClass", "rightIconClass", "caret", "styleClass", "baseZIndex", "disabled", "auxiliary", "type", "priority", "menuOptions", "size", "slide", "animation", "badge", "iconColor"], outputs: ["clicked"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i5$1.InputMask, selector: "p-inputmask, p-inputMask, p-input-mask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: i6$1.KeyFilter, selector: "[pKeyFilter]", inputs: ["pValidateOnly", "pKeyFilter"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$3.TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }, { kind: "component", type: FieldLabelComponent, selector: "s-field-label", inputs: ["field", "fieldContainerRef"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3607
|
+
}
|
|
3608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextFieldComponent, decorators: [{
|
|
3609
|
+
type: Component,
|
|
3610
|
+
args: [{ encapsulation: ViewEncapsulation.None, template: "@if (inputElement) {\n <s-field-label\n [field]=\"field\"\n [fieldContainerRef]=\"inputElement\"\n />\n}\n\n@if (field.mask) {\n <p-inputMask\n #inputRef\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [characterPattern]=\"getCharacterPattern()\"\n [unmask]=\"getUnmask()\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n\n >\n </p-inputMask>\n} @else {\n <div class=\"ui-inputgroup\">\n @if (field.leftAddon) {\n @if (field.leftAddon.callback) {\n <span class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.leftAddon)\"\n (clicked)=\"field.leftAddon.callback()\"\n >\n </s-button>\n </span>\n }\n @if (!field.leftAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.leftAddon.label) {\n <span>{{ field.leftAddon.label }}</span>\n } @else if (!field.leftAddon.label) {\n <span [ngClass]=\"field.leftAddon.icon\"></span>\n }\n </span>\n }\n }\n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n @if (field.rightAddon) {\n @if (field.rightAddon.callback) {\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"fieldPropertyIsDisabled(field.rightAddon)\"\n (clicked)=\"field.rightAddon.callback()\"\n >\n </s-button>\n } @else if (field.rightAddon.callback) {\n <span class=\"ui-inputgroup-addon\">\n @if (field.rightAddon.label) {\n <span>{{ field.rightAddon.label }}</span>\n } @else if (!field.rightAddon.label) {\n <span [ngClass]=\"field.rightAddon.icon\"></span>\n }\n </span>\n }\n }\n </div>\n}\n<ng-template #input>\n <input\n #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n />\n</ng-template>\n", styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:highlight(#c13018)}.addon-button{border:1px solid #c1c1cc}.addon-button s-button button,.addon-button s-button .s-button-with-text{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}\n"] }]
|
|
3611
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
|
|
3612
|
+
type: Input,
|
|
3613
|
+
args: [{ required: true }]
|
|
3614
|
+
}], formControl: [{
|
|
3615
|
+
type: Input,
|
|
3616
|
+
args: [{ required: true }]
|
|
3617
|
+
}], onInput: [{
|
|
3618
|
+
type: Output
|
|
3619
|
+
}], onFocus: [{
|
|
3620
|
+
type: Output
|
|
3621
|
+
}], onComplete: [{
|
|
3622
|
+
type: Output
|
|
3623
|
+
}], inputRef: [{
|
|
3624
|
+
type: ViewChild,
|
|
3625
|
+
args: ['inputRef']
|
|
3626
|
+
}] } });
|
|
3627
|
+
|
|
3628
|
+
var textField_component = /*#__PURE__*/Object.freeze({
|
|
3629
|
+
__proto__: null,
|
|
3630
|
+
TextFieldComponent: TextFieldComponent
|
|
3631
|
+
});
|
|
3632
|
+
|
|
3633
|
+
class DynamicFormModule {
|
|
3634
|
+
constructor(dynamicFormCache) {
|
|
3635
|
+
dynamicFormCache.setCache();
|
|
3636
|
+
}
|
|
3637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormModule, deps: [{ token: DynamicFormCacheService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3638
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormModule, declarations: [FieldLabelComponent,
|
|
3639
|
+
FileUploadFieldComponent,
|
|
3640
|
+
AutocompleteFieldComponent,
|
|
3641
|
+
BooleanFieldComponent,
|
|
3642
|
+
BooleanSwitchFieldComponent,
|
|
3643
|
+
CalendarFieldComponent,
|
|
3644
|
+
ChipsFieldComponent,
|
|
3645
|
+
CountryPhonePickerFieldComponent,
|
|
3646
|
+
DynamicFormComponent,
|
|
3647
|
+
DynamicFormDirective,
|
|
3648
|
+
FieldsetComponent,
|
|
3649
|
+
LookupComponent,
|
|
3650
|
+
LookupFieldComponent,
|
|
3651
|
+
RadioButtonFieldComponent,
|
|
3652
|
+
RowComponent,
|
|
3653
|
+
SectionComponent,
|
|
3654
|
+
SelectFieldComponent,
|
|
3655
|
+
SliderFieldComponent,
|
|
3656
|
+
TextAreaFieldComponent,
|
|
3657
|
+
TextAreaIAFieldComponent,
|
|
3658
|
+
ButtonFieldComponent,
|
|
3659
|
+
TextFieldComponent,
|
|
3660
|
+
BignumberFieldComponent,
|
|
3661
|
+
ProfilePictureFieldComponent,
|
|
3662
|
+
PasswordFieldComponent,
|
|
3663
|
+
NumberFieldComponent,
|
|
3664
|
+
CurrencyFieldComponent,
|
|
3665
|
+
EditorFieldComponent,
|
|
3666
|
+
CheckboxFieldComponent,
|
|
3667
|
+
StarRatingFieldComponent], imports: [AutoCompleteModule,
|
|
3668
|
+
BadgeModule,
|
|
3669
|
+
BignumberInputModule,
|
|
3670
|
+
ButtonModule,
|
|
3671
|
+
CalendarMaskModule,
|
|
3672
|
+
ChipsModule,
|
|
3673
|
+
CommonModule,
|
|
3674
|
+
ControlErrorsModule,
|
|
3675
|
+
CountryPhonePickerModule,
|
|
3676
|
+
DialogComponent,
|
|
3677
|
+
EmptyStateModule,
|
|
3678
|
+
FormsModule,
|
|
3679
|
+
HotkeyModule,
|
|
3680
|
+
InputMaskModule,
|
|
3681
|
+
InputTextModule,
|
|
3682
|
+
KeyFilterModule,
|
|
3683
|
+
LoadingStateModule,
|
|
3684
|
+
LocaleModule,
|
|
3685
|
+
LocalizedNumberInputModule,
|
|
3686
|
+
PanelModule,
|
|
3687
|
+
ButtonModule$1,
|
|
3688
|
+
TableModule,
|
|
3689
|
+
ReactiveFormsModule,
|
|
3690
|
+
TooltipModule,
|
|
3691
|
+
FieldsetModule,
|
|
3692
|
+
TableHeaderCheckboxModule,
|
|
3693
|
+
FileUploadModule,
|
|
3694
|
+
InfoSignModule,
|
|
3695
|
+
MaskFormatterModule, i1$2.HotkeyModule, MouseEventsModule,
|
|
3696
|
+
SwitchModule,
|
|
3697
|
+
PasswordStrengthModule,
|
|
3698
|
+
SliderModule,
|
|
3699
|
+
DatePickerModule, i2$2.TranslateModule, MultiSelectModule,
|
|
3700
|
+
ProfilePicturePickerModule,
|
|
3701
|
+
NumberInputModule,
|
|
3702
|
+
EditorModule,
|
|
3703
|
+
CheckboxListModule,
|
|
3704
|
+
TextAreaIAModule,
|
|
3705
|
+
TextAreaModule,
|
|
3706
|
+
StarRatingComponent,
|
|
3707
|
+
SelectComponent,
|
|
3708
|
+
TemplateModule,
|
|
3709
|
+
RadioButtonComponent], exports: [DynamicFormComponent, DynamicFormDirective, LookupComponent] });
|
|
3710
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormModule, imports: [AutoCompleteModule,
|
|
3711
|
+
BadgeModule,
|
|
3712
|
+
BignumberInputModule,
|
|
3713
|
+
ButtonModule,
|
|
3714
|
+
CalendarMaskModule,
|
|
3715
|
+
ChipsModule,
|
|
3716
|
+
CommonModule,
|
|
3717
|
+
ControlErrorsModule,
|
|
3718
|
+
CountryPhonePickerModule,
|
|
3719
|
+
DialogComponent,
|
|
3720
|
+
EmptyStateModule,
|
|
3721
|
+
FormsModule,
|
|
3722
|
+
HotkeyModule,
|
|
3723
|
+
InputMaskModule,
|
|
3724
|
+
InputTextModule,
|
|
3725
|
+
KeyFilterModule,
|
|
3726
|
+
LoadingStateModule,
|
|
3727
|
+
LocaleModule,
|
|
3728
|
+
LocalizedNumberInputModule,
|
|
3729
|
+
PanelModule,
|
|
3730
|
+
ButtonModule$1,
|
|
3731
|
+
TableModule,
|
|
3732
|
+
ReactiveFormsModule,
|
|
3733
|
+
TooltipModule,
|
|
3734
|
+
FieldsetModule,
|
|
3735
|
+
TableHeaderCheckboxModule,
|
|
3736
|
+
FileUploadModule,
|
|
3737
|
+
InfoSignModule,
|
|
3738
|
+
MaskFormatterModule,
|
|
3739
|
+
HotkeyModule.forRoot(),
|
|
3740
|
+
MouseEventsModule,
|
|
3741
|
+
SwitchModule,
|
|
3742
|
+
PasswordStrengthModule,
|
|
3743
|
+
SliderModule,
|
|
3744
|
+
DatePickerModule,
|
|
3745
|
+
TranslateModule.forChild(),
|
|
3746
|
+
MultiSelectModule,
|
|
3747
|
+
ProfilePicturePickerModule,
|
|
3748
|
+
NumberInputModule,
|
|
3749
|
+
EditorModule,
|
|
3750
|
+
CheckboxListModule,
|
|
3751
|
+
TextAreaIAModule,
|
|
3752
|
+
TextAreaModule,
|
|
3753
|
+
StarRatingComponent,
|
|
3754
|
+
SelectComponent,
|
|
3755
|
+
TemplateModule,
|
|
3756
|
+
RadioButtonComponent] });
|
|
3757
|
+
}
|
|
3758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DynamicFormModule, decorators: [{
|
|
3759
|
+
type: NgModule,
|
|
3760
|
+
args: [{
|
|
3761
|
+
imports: [
|
|
3762
|
+
AutoCompleteModule,
|
|
3763
|
+
BadgeModule,
|
|
3764
|
+
BignumberInputModule,
|
|
3765
|
+
ButtonModule,
|
|
3766
|
+
CalendarMaskModule,
|
|
3767
|
+
ChipsModule,
|
|
3768
|
+
CommonModule,
|
|
3769
|
+
ControlErrorsModule,
|
|
3770
|
+
CountryPhonePickerModule,
|
|
3771
|
+
DialogComponent,
|
|
3772
|
+
EmptyStateModule,
|
|
3773
|
+
FormsModule,
|
|
3774
|
+
HotkeyModule,
|
|
3775
|
+
InputMaskModule,
|
|
3776
|
+
InputTextModule,
|
|
3777
|
+
KeyFilterModule,
|
|
3778
|
+
LoadingStateModule,
|
|
3779
|
+
LocaleModule,
|
|
3780
|
+
LocalizedNumberInputModule,
|
|
3781
|
+
PanelModule,
|
|
3782
|
+
ButtonModule$1,
|
|
3783
|
+
TableModule,
|
|
3784
|
+
ReactiveFormsModule,
|
|
3785
|
+
TooltipModule,
|
|
3786
|
+
FieldsetModule,
|
|
3787
|
+
TableHeaderCheckboxModule,
|
|
3788
|
+
FileUploadModule,
|
|
3789
|
+
InfoSignModule,
|
|
3790
|
+
MaskFormatterModule,
|
|
3791
|
+
HotkeyModule.forRoot(),
|
|
3792
|
+
MouseEventsModule,
|
|
3793
|
+
SwitchModule,
|
|
3794
|
+
PasswordStrengthModule,
|
|
3795
|
+
SliderModule,
|
|
3796
|
+
DatePickerModule,
|
|
3797
|
+
TranslateModule.forChild(),
|
|
3798
|
+
MultiSelectModule,
|
|
3799
|
+
ProfilePicturePickerModule,
|
|
3800
|
+
NumberInputModule,
|
|
3801
|
+
EditorModule,
|
|
3802
|
+
CheckboxListModule,
|
|
3803
|
+
TextAreaIAModule,
|
|
3804
|
+
TextAreaModule,
|
|
3805
|
+
StarRatingComponent,
|
|
3806
|
+
SelectComponent,
|
|
3807
|
+
TemplateModule,
|
|
3808
|
+
RadioButtonComponent,
|
|
3809
|
+
],
|
|
3810
|
+
declarations: [
|
|
3811
|
+
FieldLabelComponent,
|
|
3812
|
+
FileUploadFieldComponent,
|
|
3813
|
+
AutocompleteFieldComponent,
|
|
3814
|
+
BooleanFieldComponent,
|
|
3815
|
+
BooleanSwitchFieldComponent,
|
|
3816
|
+
CalendarFieldComponent,
|
|
3817
|
+
ChipsFieldComponent,
|
|
3818
|
+
CountryPhonePickerFieldComponent,
|
|
3819
|
+
DynamicFormComponent,
|
|
3820
|
+
DynamicFormDirective,
|
|
3821
|
+
FieldsetComponent,
|
|
3822
|
+
LookupComponent,
|
|
3823
|
+
LookupFieldComponent,
|
|
3824
|
+
RadioButtonFieldComponent,
|
|
3825
|
+
RowComponent,
|
|
3826
|
+
SectionComponent,
|
|
3827
|
+
SelectFieldComponent,
|
|
3828
|
+
SliderFieldComponent,
|
|
3829
|
+
TextAreaFieldComponent,
|
|
3830
|
+
TextAreaIAFieldComponent,
|
|
3831
|
+
ButtonFieldComponent,
|
|
3832
|
+
TextFieldComponent,
|
|
3833
|
+
BignumberFieldComponent,
|
|
3834
|
+
ProfilePictureFieldComponent,
|
|
3835
|
+
PasswordFieldComponent,
|
|
3836
|
+
NumberFieldComponent,
|
|
3837
|
+
CurrencyFieldComponent,
|
|
3838
|
+
EditorFieldComponent,
|
|
3839
|
+
CheckboxFieldComponent,
|
|
3840
|
+
StarRatingFieldComponent,
|
|
3841
|
+
],
|
|
3842
|
+
exports: [DynamicFormComponent, DynamicFormDirective, LookupComponent],
|
|
3843
|
+
}]
|
|
3844
|
+
}], ctorParameters: () => [{ type: DynamicFormCacheService }] });
|
|
3845
|
+
|
|
3846
|
+
/**
|
|
3847
|
+
* Generated bundle index. Do not edit.
|
|
3848
|
+
*/
|
|
3849
|
+
|
|
3850
|
+
export { AutocompleteField, BignumberField, BlobField, BooleanField, BooleanOptionsLabel$1 as BooleanOptionsLabel, BooleanSwitchField, ButtonField, CalendarField, CheckboxField, ChipsField, CountryPhonePickerField, CurrencyField, DecimalField, DynamicConfig, DynamicFormComponent, DynamicFormDirective, DynamicFormModule, DynamicType, EditorField, Field, FieldSize, FieldType, Fieldset, FormField, Grid, GridType, LookupComponent, LookupField, NumberField, NumberFieldComponent, Option, PasswordField, ProfilePictureField, RadioButtonField, RationButtonOption, Row, Section, SelectField, SelectOption, SliderField, StarRatingField, Structure, StructureType, TextAreaField, TextAreaIAField, TextField };
|
|
3851
|
+
//# sourceMappingURL=seniorsistemas-angular-components-dynamic-form.mjs.map
|