@valtimo/components 12.14.1 → 13.0.0
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/assets/css/carbon.scss +6 -1
- package/assets/css/color.scss +1 -1
- package/assets/css/compatibility.scss +51 -3
- package/assets/css/design-tokens.css +1 -1
- package/assets/css/formio-carbon.scss +16 -0
- package/assets/css/ng-multiselect-dropdown.theme.scss +1 -1
- package/fesm2022/valtimo-components.mjs +1854 -2411
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts.map +1 -1
- package/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +2 -2
- package/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.d.ts.map +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.d.ts.map +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts +7 -4
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts.map +1 -1
- package/lib/components/camunda/form/camunda-form.components.d.ts.map +1 -1
- package/lib/components/camunda/form/custom/camunda-custom-form.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/camunda-generated-form.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts.map +1 -1
- package/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts.map +1 -1
- package/lib/components/carbon-list/CarbonListFilterPipe.directive.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.component.d.ts +3 -2
- package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.module.d.ts +8 -9
- package/lib/components/carbon-list/carbon-list.module.d.ts.map +1 -1
- package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts.map +1 -1
- package/lib/components/carbon-list/tags-modal/tags-modal.component.d.ts.map +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.component.d.ts.map +1 -1
- package/lib/components/confirmation-modal/confirmation-modal.module.d.ts +2 -2
- package/lib/components/confirmation-modal/confirmation-modal.module.d.ts.map +1 -1
- package/lib/components/data-list/data-list.component.d.ts.map +1 -1
- package/lib/components/date-picker/date-picker.component.d.ts.map +1 -1
- package/lib/components/dropzone/dropzone.component.d.ts.map +1 -1
- package/lib/components/editor/editor.component.d.ts.map +1 -1
- package/lib/components/editor/editor.module.d.ts +2 -2
- package/lib/components/editor/editor.service.d.ts.map +1 -1
- package/lib/components/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/lib/components/field-auto-focus/field-auto-focus.directive.d.ts.map +1 -1
- package/lib/components/file-size/file-size.pipe.d.ts.map +1 -1
- package/lib/components/filter-sidebar/filter-sidebar.component.d.ts.map +1 -1
- package/lib/components/form/form.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-builder.component.d.ts +14 -4
- package/lib/components/form-io/form-io-builder.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-builder.utils.d.ts.map +1 -1
- package/lib/components/form-io/form-io-currency/currency.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-currency/currency.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-current-user/form-io-current-user.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-dummy/dummy.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-dummy/dummy.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.formio.d.ts.map +1 -1
- package/lib/components/form-io/form-io-iban/iban.validators.d.ts.map +1 -1
- package/lib/components/form-io/form-io-uploader/form-io-uploader.component.d.ts.map +1 -1
- package/lib/components/form-io/form-io.component.d.ts +7 -4
- package/lib/components/form-io/form-io.component.d.ts.map +1 -1
- package/lib/components/form-io/formio-config.d.ts +1 -1
- package/lib/components/form-io/formio-config.d.ts.map +1 -1
- package/lib/components/form-io/services/form-io.tags.service.d.ts +11 -0
- package/lib/components/form-io/services/form-io.tags.service.d.ts.map +1 -0
- package/lib/components/input/input.component.d.ts +3 -0
- package/lib/components/input/input.component.d.ts.map +1 -1
- package/lib/components/input/input.module.d.ts +2 -3
- package/lib/components/input/input.module.d.ts.map +1 -1
- package/lib/components/input-label/input-label.component.d.ts.map +1 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts +1 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts.map +1 -1
- package/lib/components/left-sidebar/left-sidebar.module.d.ts +2 -2
- package/lib/components/menu/menu-item-text.component.d.ts +1 -1
- package/lib/components/menu/menu-item-text.component.d.ts.map +1 -1
- package/lib/components/menu/menu.service.d.ts +8 -4
- package/lib/components/menu/menu.service.d.ts.map +1 -1
- package/lib/components/modal/modal.component.d.ts.map +1 -1
- package/lib/components/multi-input/carbon-multi-input.component.d.ts +3 -3
- package/lib/components/multi-input/carbon-multi-input.component.d.ts.map +1 -1
- package/lib/components/multi-input/carbon-multi-input.module.d.ts +10 -11
- package/lib/components/multi-input/carbon-multi-input.module.d.ts.map +1 -1
- package/lib/components/multi-input/components/key-value/key-value.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.d.ts +3 -3
- package/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.d.ts +3 -3
- package/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.d.ts.map +1 -1
- package/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.d.ts +3 -3
- package/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.d.ts.map +1 -1
- package/lib/components/multi-input-form/multi-input-form.component.d.ts +3 -0
- package/lib/components/multi-input-form/multi-input-form.component.d.ts.map +1 -1
- package/lib/components/multi-input-form/multi-input-form.module.d.ts +2 -2
- package/lib/components/multi-input-form/multi-input-form.module.d.ts.map +1 -1
- package/lib/components/multiselect-dropdown/multiselect-dropdown.component.d.ts.map +1 -1
- package/lib/components/page-header/page-header.component.d.ts.map +1 -1
- package/lib/components/page-header/page-header.module.d.ts +2 -2
- package/lib/components/page-subtitle/page-subtitle.component.d.ts.map +1 -1
- package/lib/components/page-title/page-title.component.d.ts +1 -1
- package/lib/components/page-title/page-title.component.d.ts.map +1 -1
- package/lib/components/paragraph/paragraph.component.d.ts.map +1 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/lib/components/prompt/prompt.component.d.ts +0 -4
- package/lib/components/prompt/prompt.component.d.ts.map +1 -1
- package/lib/components/prompt/prompt.module.d.ts +3 -4
- package/lib/components/prompt/prompt.module.d.ts.map +1 -1
- package/lib/components/radio/radio.component.d.ts.map +1 -1
- package/lib/components/radio/radio.module.d.ts +2 -3
- package/lib/components/radio/radio.module.d.ts.map +1 -1
- package/lib/components/render-in-body/render-in-body.component.d.ts +14 -0
- package/lib/components/render-in-body/render-in-body.component.d.ts.map +1 -0
- package/lib/components/right-sidebar/right-sidebar.component.d.ts +1 -1
- package/lib/components/right-sidebar/right-sidebar.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.component.d.ts +5 -5
- package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
- package/lib/components/searchable-dropdown/searchable-dropdown.component.d.ts.map +1 -1
- package/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.d.ts.map +1 -1
- package/lib/components/select/select.component.d.ts.map +1 -1
- package/lib/components/spinner/spinner.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-container/stepper-container.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-content/stepper-content.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-footer/stepper-footer.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-header/stepper-header.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper-step/stepper-step.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper.module.d.ts +2 -3
- package/lib/components/stepper/stepper.module.d.ts.map +1 -1
- package/lib/components/table/table.component.d.ts.map +1 -1
- package/lib/components/table/table.module.d.ts +1 -1
- package/lib/components/timeline/timeline.component.d.ts +7 -3
- package/lib/components/timeline/timeline.component.d.ts.map +1 -1
- package/lib/components/timeline/timeline.module.d.ts +2 -1
- package/lib/components/timeline/timeline.module.d.ts.map +1 -1
- package/lib/components/tooltip-icon/tooltip-icon.component.d.ts.map +1 -1
- package/lib/components/topbar/topbar.component.d.ts +1 -1
- package/lib/components/topbar/topbar.component.d.ts.map +1 -1
- package/lib/components/uploader/uploader-drag-drop.directive.d.ts.map +1 -1
- package/lib/components/uploader/uploader.component.d.ts.map +1 -1
- package/lib/components/v-modal/modal.component.d.ts.map +1 -1
- package/lib/components/v-modal/modal.module.d.ts +2 -6
- package/lib/components/v-modal/modal.module.d.ts.map +1 -1
- package/lib/components/value-path-selector/value-path-selector.component.d.ts +11 -12
- package/lib/components/value-path-selector/value-path-selector.component.d.ts.map +1 -1
- package/lib/components/version/version.service.d.ts +1 -1
- package/lib/components/webcam/webcam.component.d.ts.map +1 -1
- package/lib/components/widget/widget.component.d.ts.map +1 -1
- package/lib/constants/carbon.constants.d.ts +0 -1
- package/lib/constants/carbon.constants.d.ts.map +1 -1
- package/lib/directives/{command-click/command-click.directive.d.ts → ctrl-click/ctrl-click.directive.d.ts} +2 -2
- package/lib/directives/ctrl-click/ctrl-click.directive.d.ts.map +1 -0
- package/lib/directives/digit-only/digit-only.directive.d.ts.map +1 -1
- package/lib/directives/fit-page/fit-page.directive.d.ts +6 -2
- package/lib/directives/fit-page/fit-page.directive.d.ts.map +1 -1
- package/lib/directives/muuri/muuri-directive.module.d.ts +10 -0
- package/lib/directives/muuri/muuri-directive.module.d.ts.map +1 -0
- package/lib/directives/muuri/muuri-item.component.d.ts +8 -0
- package/lib/directives/muuri/muuri-item.component.d.ts.map +1 -0
- package/lib/directives/muuri/muuri.directive.d.ts +27 -0
- package/lib/directives/muuri/muuri.directive.d.ts.map +1 -0
- package/lib/directives/read-only.directive.d.ts +15 -0
- package/lib/directives/read-only.directive.d.ts.map +1 -0
- package/lib/directives/remove-classnames/remove-classnames.directive.d.ts.map +1 -1
- package/lib/directives/render-in-page-header/render-in-page-header.directive.d.ts +1 -1
- package/lib/directives/render-page-header/render-page-header.directive.d.ts +1 -1
- package/lib/directives/render-page-subtitle/render-page-subtitle.directive.d.ts +1 -1
- package/lib/directives/tooltip/tooltip.component.d.ts.map +1 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.d.ts +1 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.d.ts.map +1 -1
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.d.ts +3 -2
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.d.ts.map +1 -1
- package/lib/models/carbon-list.model.d.ts +1 -1
- package/lib/models/carbon-list.model.d.ts.map +1 -1
- package/lib/models/form-io.model.d.ts +86 -5
- package/lib/models/form-io.model.d.ts.map +1 -1
- package/lib/models/value-path-selector.model.d.ts +1 -2
- package/lib/models/value-path-selector.model.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/create-custom-component.d.ts +39 -33
- package/lib/modules/custom-formio-component/create-custom-component.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/elements.common.d.ts +1 -1
- package/lib/modules/custom-formio-component/elements.common.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/index.d.ts +0 -1
- package/lib/modules/custom-formio-component/index.d.ts.map +1 -1
- package/lib/modules/custom-formio-component/register-custom-component.d.ts +0 -1
- package/lib/modules/custom-formio-component/register-custom-component.d.ts.map +1 -1
- package/lib/pipes/ellipsis.pipe.d.ts.map +1 -1
- package/lib/pipes/menu-item-translation.pipe.d.ts +1 -1
- package/lib/services/choice-field.service.d.ts +1 -1
- package/lib/services/key-state.service.d.ts.map +1 -1
- package/lib/services/page-header.service.d.ts +1 -1
- package/lib/services/page-title.service.d.ts +1 -0
- package/lib/services/page-title.service.d.ts.map +1 -1
- package/lib/services/prompt.service.d.ts +0 -13
- package/lib/services/prompt.service.d.ts.map +1 -1
- package/lib/services/shell.service.d.ts +1 -1
- package/lib/services/valtimo-modal.service.d.ts +3 -3
- package/lib/services/valtimo-modal.service.d.ts.map +1 -1
- package/lib/services/value-path-selector.service.d.ts +9 -9
- package/lib/services/value-path-selector.service.d.ts.map +1 -1
- package/package.json +22 -23
- package/public_api.d.ts +9 -25
- package/public_api.d.ts.map +1 -1
- package/esm2022/lib/components/alert/alert.component.mjs +0 -137
- package/esm2022/lib/components/alert/alert.module.mjs +0 -33
- package/esm2022/lib/components/alert/alert.service.mjs +0 -80
- package/esm2022/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.mjs +0 -168
- package/esm2022/lib/components/bpmn-js-diagram/bpmn-js-diagram.module.mjs +0 -33
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +0 -57
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.mjs +0 -36
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +0 -127
- package/esm2022/lib/components/button/button.component.mjs +0 -99
- package/esm2022/lib/components/button/button.module.mjs +0 -37
- package/esm2022/lib/components/camunda/form/camunda-form.components.mjs +0 -41
- package/esm2022/lib/components/camunda/form/camunda-form.module.mjs +0 -35
- package/esm2022/lib/components/camunda/form/custom/camunda-custom-form.component.mjs +0 -40
- package/esm2022/lib/components/camunda/form/custom/camunda-custom-form.module.mjs +0 -33
- package/esm2022/lib/components/camunda/form/generated/camunda-generated-form.component.mjs +0 -67
- package/esm2022/lib/components/camunda/form/generated/camunda-generated-form.module.mjs +0 -63
- package/esm2022/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.mjs +0 -63
- package/esm2022/lib/components/camunda/form/generated/formfield/camunda-formfield.service.mjs +0 -67
- package/esm2022/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.mjs +0 -41
- package/esm2022/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.mjs +0 -66
- package/esm2022/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.mjs +0 -33
- package/esm2022/lib/components/camunda/form/generated/formfield/formfield.model.mjs +0 -17
- package/esm2022/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.mjs +0 -30
- package/esm2022/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.mjs +0 -35
- package/esm2022/lib/components/camunda/form/generated/formfield/validation/date.validators.mjs +0 -55
- package/esm2022/lib/components/carbon-list/CarbonListFilterPipe.directive.mjs +0 -34
- package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +0 -603
- package/esm2022/lib/components/carbon-list/carbon-list.module.mjs +0 -103
- package/esm2022/lib/components/carbon-list/no-results/carbon-no-results.component.mjs +0 -71
- package/esm2022/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.mjs +0 -165
- package/esm2022/lib/components/carbon-list/services/index.mjs +0 -17
- package/esm2022/lib/components/carbon-list/tags-modal/tags-modal.component.mjs +0 -35
- package/esm2022/lib/components/card/card.component.mjs +0 -34
- package/esm2022/lib/components/card/card.module.mjs +0 -33
- package/esm2022/lib/components/case-tags-selector/case-tags-selector.component.mjs +0 -80
- package/esm2022/lib/components/confirmation-modal/confirmation-modal.component.mjs +0 -119
- package/esm2022/lib/components/confirmation-modal/confirmation-modal.module.mjs +0 -50
- package/esm2022/lib/components/data-list/data-list.component.mjs +0 -31
- package/esm2022/lib/components/data-list/data-list.module.mjs +0 -33
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +0 -166
- package/esm2022/lib/components/date-picker/date-picker.module.mjs +0 -40
- package/esm2022/lib/components/dropzone/dropzone.component.mjs +0 -168
- package/esm2022/lib/components/dropzone/dropzone.module.mjs +0 -37
- package/esm2022/lib/components/editor/editor.component.mjs +0 -189
- package/esm2022/lib/components/editor/editor.module.mjs +0 -34
- package/esm2022/lib/components/editor/editor.service.mjs +0 -87
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +0 -41
- package/esm2022/lib/components/expansion-panel/expansion-panel.module.mjs +0 -35
- package/esm2022/lib/components/field-auto-focus/field-auto-focus.directive.mjs +0 -36
- package/esm2022/lib/components/field-auto-focus/field-auto-focus.module.mjs +0 -33
- package/esm2022/lib/components/file-size/file-size.module.mjs +0 -33
- package/esm2022/lib/components/file-size/file-size.pipe.mjs +0 -42
- package/esm2022/lib/components/filter-sidebar/filter-sidebar.component.mjs +0 -46
- package/esm2022/lib/components/filter-sidebar/filter-sidebar.module.mjs +0 -33
- package/esm2022/lib/components/form/form.component.mjs +0 -146
- package/esm2022/lib/components/form/form.module.mjs +0 -33
- package/esm2022/lib/components/form-io/form-io-builder.component.mjs +0 -82
- package/esm2022/lib/components/form-io/form-io-builder.utils.mjs +0 -53
- package/esm2022/lib/components/form-io/form-io-currency/currency-edit-form.mjs +0 -96
- package/esm2022/lib/components/form-io/form-io-currency/currency.component.mjs +0 -108
- package/esm2022/lib/components/form-io/form-io-currency/currency.formio.mjs +0 -24
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user-edit-form.mjs +0 -64
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user.component.mjs +0 -41
- package/esm2022/lib/components/form-io/form-io-current-user/form-io-current-user.formio.mjs +0 -34
- package/esm2022/lib/components/form-io/form-io-dummy/dummy.component.mjs +0 -27
- package/esm2022/lib/components/form-io/form-io-dummy/dummy.formio.mjs +0 -20
- package/esm2022/lib/components/form-io/form-io-iban/iban.component.mjs +0 -61
- package/esm2022/lib/components/form-io/form-io-iban/iban.formio.mjs +0 -22
- package/esm2022/lib/components/form-io/form-io-iban/iban.validators.mjs +0 -26
- package/esm2022/lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio.mjs +0 -84
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader-edit-form.mjs +0 -115
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader.component.mjs +0 -93
- package/esm2022/lib/components/form-io/form-io-uploader/form-io-uploader.formio.mjs +0 -49
- package/esm2022/lib/components/form-io/form-io.component.mjs +0 -237
- package/esm2022/lib/components/form-io/form-io.module.mjs +0 -127
- package/esm2022/lib/components/form-io/formio-config.mjs +0 -27
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector-edit-form.mjs +0 -19
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.component.mjs +0 -57
- package/esm2022/lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.formio.mjs +0 -42
- package/esm2022/lib/components/form-io/services/form-io-dom.service.mjs +0 -38
- package/esm2022/lib/components/form-io/services/form-io-local-storage.service.mjs +0 -68
- package/esm2022/lib/components/form-io/services/form-io-state.service.mjs +0 -69
- package/esm2022/lib/components/input/input.component.mjs +0 -176
- package/esm2022/lib/components/input/input.module.mjs +0 -59
- package/esm2022/lib/components/input-label/input-label.component.mjs +0 -84
- package/esm2022/lib/components/input-label/input-label.module.mjs +0 -55
- package/esm2022/lib/components/left-sidebar/left-sidebar.component.mjs +0 -129
- package/esm2022/lib/components/left-sidebar/left-sidebar.module.mjs +0 -58
- package/esm2022/lib/components/list/ListFilterPipe.directive.mjs +0 -35
- package/esm2022/lib/components/list/list.component.mjs +0 -202
- package/esm2022/lib/components/list/list.module.mjs +0 -56
- package/esm2022/lib/components/menu/menu-item-text.component.mjs +0 -54
- package/esm2022/lib/components/menu/menu-routing.module.mjs +0 -33
- package/esm2022/lib/components/menu/menu.init.mjs +0 -32
- package/esm2022/lib/components/menu/menu.module.mjs +0 -58
- package/esm2022/lib/components/menu/menu.service.mjs +0 -247
- package/esm2022/lib/components/modal/modal.component.mjs +0 -85
- package/esm2022/lib/components/modal/modal.module.mjs +0 -33
- package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +0 -300
- package/esm2022/lib/components/multi-input/carbon-multi-input.module.mjs +0 -86
- package/esm2022/lib/components/multi-input/components/arbitrary-amount-value/arbitrary-amount-value.component.mjs +0 -63
- package/esm2022/lib/components/multi-input/components/arbitrary-amount-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/index.mjs +0 -23
- package/esm2022/lib/components/multi-input/components/key-dropdown-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-dropdown-value/key-dropdown-value.component.mjs +0 -71
- package/esm2022/lib/components/multi-input/components/key-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-value/key-value.component.mjs +0 -62
- package/esm2022/lib/components/multi-input/components/key-value-path-selector/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/key-value-path-selector/key-value-path-selector.component.mjs +0 -82
- package/esm2022/lib/components/multi-input/components/single-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/single-value/single-value.component.mjs +0 -49
- package/esm2022/lib/components/multi-input/components/value-path-selector-dropdown-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/value-path-selector-dropdown-value/value-path-selector-dropdown-value.component.mjs +0 -92
- package/esm2022/lib/components/multi-input/components/value-path-selector-value/index.mjs +0 -17
- package/esm2022/lib/components/multi-input/components/value-path-selector-value/value-path-selector-value.component.mjs +0 -82
- package/esm2022/lib/components/multi-input-form/default-value.pipe.mjs +0 -33
- package/esm2022/lib/components/multi-input-form/multi-input-form.component.mjs +0 -201
- package/esm2022/lib/components/multi-input-form/multi-input-form.module.mjs +0 -58
- package/esm2022/lib/components/multiselect-dropdown/multiselect-dropdown.component.mjs +0 -52
- package/esm2022/lib/components/multiselect-dropdown/multiselect-dropdown.module.mjs +0 -35
- package/esm2022/lib/components/page/page-container/page-container.component.mjs +0 -29
- package/esm2022/lib/components/page/page-content/page-content.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header/page-header.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header-actions/page-header-actions.component.mjs +0 -29
- package/esm2022/lib/components/page/page-header-introduction/page-header-introduction.component.mjs +0 -29
- package/esm2022/lib/components/page/page.module.mjs +0 -60
- package/esm2022/lib/components/page-actions/page-actions.component.mjs +0 -82
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -66
- package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
- package/esm2022/lib/components/page-subtitle/page-subtitle.component.mjs +0 -53
- package/esm2022/lib/components/page-title/page-title.component.mjs +0 -116
- package/esm2022/lib/components/page-title/page-title.module.mjs +0 -35
- package/esm2022/lib/components/paragraph/paragraph.component.mjs +0 -50
- package/esm2022/lib/components/paragraph/paragraph.module.mjs +0 -37
- package/esm2022/lib/components/pending-changes/pending-changes.component.mjs +0 -91
- package/esm2022/lib/components/pending-changes/pending-changes.service.mjs +0 -37
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -26
- package/esm2022/lib/components/progress-bar/progress-bar.module.mjs +0 -33
- package/esm2022/lib/components/prompt/prompt.component.mjs +0 -74
- package/esm2022/lib/components/prompt/prompt.module.mjs +0 -39
- package/esm2022/lib/components/radio/radio.component.mjs +0 -116
- package/esm2022/lib/components/radio/radio.module.mjs +0 -55
- package/esm2022/lib/components/right-sidebar/right-sidebar.component.mjs +0 -309
- package/esm2022/lib/components/right-sidebar/right-sidebar.module.mjs +0 -98
- package/esm2022/lib/components/search-fields/search-fields.component.mjs +0 -241
- package/esm2022/lib/components/search-fields/search-fields.module.mjs +0 -90
- package/esm2022/lib/components/searchable-dropdown/searchable-dropdown.component.mjs +0 -201
- package/esm2022/lib/components/searchable-dropdown/searchable-dropdown.module.mjs +0 -34
- package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.mjs +0 -71
- package/esm2022/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.mjs +0 -35
- package/esm2022/lib/components/select/select.component.mjs +0 -200
- package/esm2022/lib/components/select/select.module.mjs +0 -37
- package/esm2022/lib/components/spinner/spinner.component.mjs +0 -54
- package/esm2022/lib/components/spinner/spinner.module.mjs +0 -35
- package/esm2022/lib/components/status-selector/status-selector.component.mjs +0 -86
- package/esm2022/lib/components/stepper/stepper-container/stepper-container.component.mjs +0 -91
- package/esm2022/lib/components/stepper/stepper-content/stepper-content.component.mjs +0 -52
- package/esm2022/lib/components/stepper/stepper-footer/stepper-footer.component.mjs +0 -43
- package/esm2022/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.mjs +0 -71
- package/esm2022/lib/components/stepper/stepper-header/stepper-header.component.mjs +0 -37
- package/esm2022/lib/components/stepper/stepper-step/stepper-step.component.mjs +0 -39
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -68
- package/esm2022/lib/components/table/table.component.mjs +0 -172
- package/esm2022/lib/components/table/table.module.mjs +0 -58
- package/esm2022/lib/components/timeline/timeline.component.mjs +0 -42
- package/esm2022/lib/components/timeline/timeline.module.mjs +0 -35
- package/esm2022/lib/components/title/title.component.mjs +0 -57
- package/esm2022/lib/components/title/title.module.mjs +0 -36
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.component.mjs +0 -39
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.module.mjs +0 -39
- package/esm2022/lib/components/topbar/topbar.component.mjs +0 -127
- package/esm2022/lib/components/topbar/topbar.module.mjs +0 -36
- package/esm2022/lib/components/uploader/uploader-drag-drop.directive.mjs +0 -58
- package/esm2022/lib/components/uploader/uploader.component.mjs +0 -69
- package/esm2022/lib/components/uploader/uploader.module.mjs +0 -35
- package/esm2022/lib/components/v-card/card.component.mjs +0 -80
- package/esm2022/lib/components/v-card/card.module.mjs +0 -38
- package/esm2022/lib/components/v-modal/modal.component.mjs +0 -73
- package/esm2022/lib/components/v-modal/modal.module.mjs +0 -38
- package/esm2022/lib/components/value-path-selector/index.mjs +0 -17
- package/esm2022/lib/components/value-path-selector/value-path-selector.component.mjs +0 -317
- package/esm2022/lib/components/version/version.service.mjs +0 -38
- package/esm2022/lib/components/view-content/type-converters/booleanTypeConverter.mjs +0 -31
- package/esm2022/lib/components/view-content/type-converters/currencyTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/dateTimeTypeConverter.mjs +0 -30
- package/esm2022/lib/components/view-content/type-converters/dateTypeConverter.mjs +0 -30
- package/esm2022/lib/components/view-content/type-converters/enumTypeConverter.mjs +0 -26
- package/esm2022/lib/components/view-content/type-converters/numberTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/percentTypeConverter.mjs +0 -43
- package/esm2022/lib/components/view-content/type-converters/relatedFilesTypeConverter.mjs +0 -24
- package/esm2022/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.mjs +0 -27
- package/esm2022/lib/components/view-content/type-converters/stringTypeConverter.mjs +0 -28
- package/esm2022/lib/components/view-content/type-converters/type-converters.model.mjs +0 -80
- package/esm2022/lib/components/view-content/view-content.module.mjs +0 -33
- package/esm2022/lib/components/view-content/view-content.service.mjs +0 -49
- package/esm2022/lib/components/webcam/webcam.component.mjs +0 -102
- package/esm2022/lib/components/webcam/webcam.module.mjs +0 -34
- package/esm2022/lib/components/widget/widget.component.mjs +0 -89
- package/esm2022/lib/components/widget/widget.module.mjs +0 -33
- package/esm2022/lib/constants/carbon.constants.mjs +0 -21
- package/esm2022/lib/constants/index.mjs +0 -19
- package/esm2022/lib/constants/status.constants.mjs +0 -18
- package/esm2022/lib/constants/view-type-converter.constants.mjs +0 -18
- package/esm2022/lib/directives/command-click/command-click-directive.module.mjs +0 -33
- package/esm2022/lib/directives/command-click/command-click.directive.mjs +0 -52
- package/esm2022/lib/directives/digit-only/digit-only.directive.mjs +0 -283
- package/esm2022/lib/directives/fit-page/fit-page-directive.module.mjs +0 -33
- package/esm2022/lib/directives/fit-page/fit-page.directive.mjs +0 -54
- package/esm2022/lib/directives/remove-classnames/remove-classnames.directive.mjs +0 -53
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-in-page-header/render-in-page-header.directive.mjs +0 -60
- package/esm2022/lib/directives/render-page-header/render-page-header-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-page-header/render-page-header.directive.mjs +0 -56
- package/esm2022/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.mjs +0 -33
- package/esm2022/lib/directives/render-page-subtitle/render-page-subtitle.directive.mjs +0 -57
- package/esm2022/lib/directives/tooltip/tooltip.component.mjs +0 -42
- package/esm2022/lib/directives/tooltip/tooltip.directive.mjs +0 -76
- package/esm2022/lib/directives/tooltip/tooltip.module.mjs +0 -35
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.mjs +0 -33
- package/esm2022/lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive.mjs +0 -109
- package/esm2022/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.mjs +0 -33
- package/esm2022/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive.mjs +0 -82
- package/esm2022/lib/guards/index.mjs +0 -17
- package/esm2022/lib/guards/pending-changes.guard.mjs +0 -2
- package/esm2022/lib/models/alert.model.mjs +0 -30
- package/esm2022/lib/models/button.model.mjs +0 -17
- package/esm2022/lib/models/carbon-list.model.mjs +0 -31
- package/esm2022/lib/models/carbon-pagination.model.mjs +0 -21
- package/esm2022/lib/models/carbon-tag.model.mjs +0 -17
- package/esm2022/lib/models/carbon-theme.model.mjs +0 -24
- package/esm2022/lib/models/choice-field.model.mjs +0 -17
- package/esm2022/lib/models/choicefield-value.model.mjs +0 -17
- package/esm2022/lib/models/documenten-api-metadata.model.mjs +0 -17
- package/esm2022/lib/models/editor.model.mjs +0 -22
- package/esm2022/lib/models/form-io.model.mjs +0 -30
- package/esm2022/lib/models/form.model.mjs +0 -17
- package/esm2022/lib/models/index.mjs +0 -47
- package/esm2022/lib/models/input.model.mjs +0 -17
- package/esm2022/lib/models/modal.model.mjs +0 -17
- package/esm2022/lib/models/multi-input.model.mjs +0 -17
- package/esm2022/lib/models/pagination.model.mjs +0 -24
- package/esm2022/lib/models/radio.model.mjs +0 -17
- package/esm2022/lib/models/right-sidebar.model.mjs +0 -17
- package/esm2022/lib/models/searchable-dropdown.model.mjs +0 -17
- package/esm2022/lib/models/select.model.mjs +0 -17
- package/esm2022/lib/models/sort.model.mjs +0 -17
- package/esm2022/lib/models/stepper.model.mjs +0 -17
- package/esm2022/lib/models/table.model.mjs +0 -17
- package/esm2022/lib/models/theme.model.mjs +0 -30
- package/esm2022/lib/models/timeline.model.mjs +0 -52
- package/esm2022/lib/models/title.model.mjs +0 -17
- package/esm2022/lib/models/topbar.model.mjs +0 -17
- package/esm2022/lib/models/value-path-selector.model.mjs +0 -36
- package/esm2022/lib/models/version.model.mjs +0 -17
- package/esm2022/lib/modules/custom-formio-component/create-custom-component.mjs +0 -162
- package/esm2022/lib/modules/custom-formio-component/custom-tags.service.mjs +0 -32
- package/esm2022/lib/modules/custom-formio-component/elements.common.mjs +0 -17
- package/esm2022/lib/modules/custom-formio-component/index.mjs +0 -20
- package/esm2022/lib/modules/custom-formio-component/register-custom-component.mjs +0 -42
- package/esm2022/lib/modules/index.mjs +0 -17
- package/esm2022/lib/pipes/case-count.pipe.mjs +0 -35
- package/esm2022/lib/pipes/components-pipes.module.mjs +0 -31
- package/esm2022/lib/pipes/ellipsis.pipe.mjs +0 -16
- package/esm2022/lib/pipes/index.mjs +0 -21
- package/esm2022/lib/pipes/is-array.pipe.mjs +0 -29
- package/esm2022/lib/pipes/menu-item-translation.pipe.mjs +0 -47
- package/esm2022/lib/services/cds-theme.service.mjs +0 -100
- package/esm2022/lib/services/choice-field.service.mjs +0 -70
- package/esm2022/lib/services/index.mjs +0 -29
- package/esm2022/lib/services/key-generator.service.mjs +0 -50
- package/esm2022/lib/services/key-state.service.mjs +0 -33
- package/esm2022/lib/services/modal.service.mjs +0 -148
- package/esm2022/lib/services/page-header.service.mjs +0 -93
- package/esm2022/lib/services/page-subtitle.service.mjs +0 -46
- package/esm2022/lib/services/page-title.service.mjs +0 -121
- package/esm2022/lib/services/prompt.service.mjs +0 -205
- package/esm2022/lib/services/shell.service.mjs +0 -213
- package/esm2022/lib/services/stepper.service.mjs +0 -108
- package/esm2022/lib/services/user-interface.service.mjs +0 -47
- package/esm2022/lib/services/valtimo-modal.service.mjs +0 -46
- package/esm2022/lib/services/value-path-selector.service.mjs +0 -110
- package/esm2022/public_api.mjs +0 -227
- package/esm2022/valtimo-components.mjs +0 -5
- package/lib/components/button/button.component.d.ts +0 -30
- package/lib/components/button/button.component.d.ts.map +0 -1
- package/lib/components/button/button.module.d.ts +0 -13
- package/lib/components/button/button.module.d.ts.map +0 -1
- package/lib/components/card/card.component.d.ts +0 -17
- package/lib/components/card/card.component.d.ts.map +0 -1
- package/lib/components/card/card.module.d.ts +0 -9
- package/lib/components/card/card.module.d.ts.map +0 -1
- package/lib/components/list/ListFilterPipe.directive.d.ts +0 -8
- package/lib/components/list/ListFilterPipe.directive.d.ts.map +0 -1
- package/lib/components/list/list.component.d.ts +0 -51
- package/lib/components/list/list.component.d.ts.map +0 -1
- package/lib/components/list/list.module.d.ts +0 -15
- package/lib/components/list/list.module.d.ts.map +0 -1
- package/lib/components/page/page-container/page-container.component.d.ts +0 -9
- package/lib/components/page/page-container/page-container.component.d.ts.map +0 -1
- package/lib/components/page/page-content/page-content.component.d.ts +0 -9
- package/lib/components/page/page-content/page-content.component.d.ts.map +0 -1
- package/lib/components/page/page-header/page-header.component.d.ts +0 -9
- package/lib/components/page/page-header/page-header.component.d.ts.map +0 -1
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts +0 -9
- package/lib/components/page/page-header-actions/page-header-actions.component.d.ts.map +0 -1
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts +0 -9
- package/lib/components/page/page-header-introduction/page-header-introduction.component.d.ts.map +0 -1
- package/lib/components/page/page.module.d.ts +0 -16
- package/lib/components/page/page.module.d.ts.map +0 -1
- package/lib/components/title/title.component.d.ts +0 -19
- package/lib/components/title/title.component.d.ts.map +0 -1
- package/lib/components/title/title.module.d.ts +0 -12
- package/lib/components/title/title.module.d.ts.map +0 -1
- package/lib/components/v-card/card.component.d.ts +0 -23
- package/lib/components/v-card/card.component.d.ts.map +0 -1
- package/lib/components/v-card/card.module.d.ts +0 -14
- package/lib/components/v-card/card.module.d.ts.map +0 -1
- package/lib/directives/command-click/command-click-directive.module.d.ts +0 -9
- package/lib/directives/command-click/command-click-directive.module.d.ts.map +0 -1
- package/lib/directives/command-click/command-click.directive.d.ts.map +0 -1
- package/lib/directives/fit-page/fit-page-directive.module.d.ts +0 -9
- package/lib/directives/fit-page/fit-page-directive.module.d.ts.map +0 -1
- package/lib/directives/render-in-page-header/render-in-page-header-directive.module.d.ts +0 -9
- package/lib/directives/render-in-page-header/render-in-page-header-directive.module.d.ts.map +0 -1
- package/lib/directives/render-page-header/render-page-header-directive.module.d.ts +0 -9
- package/lib/directives/render-page-header/render-page-header-directive.module.d.ts.map +0 -1
- package/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.d.ts +0 -9
- package/lib/directives/render-page-subtitle/render-page-subtitle-directive.module.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts +0 -9
- package/lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module.d.ts.map +0 -1
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.d.ts +0 -9
- package/lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module.d.ts.map +0 -1
- package/lib/modules/custom-formio-component/custom-tags.service.d.ts +0 -8
- package/lib/modules/custom-formio-component/custom-tags.service.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/modules/custom-formio-component/index.ts"],"names":[],"mappings":"AAgBA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/modules/custom-formio-component/index.ts"],"names":[],"mappings":"AAgBA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Injector, Type } from '@angular/core';
|
|
2
2
|
import { FormioCustomComponentInfo } from './elements.common';
|
|
3
3
|
export declare function registerCustomTag(tag: string, injector: Injector): void;
|
|
4
|
-
export declare function registerCustomTags(tags: string[], injector: Injector): void;
|
|
5
4
|
export declare function registerCustomFormioComponent(options: FormioCustomComponentInfo, angularComponent: Type<any>, injector: Injector): void;
|
|
6
5
|
export declare function registerCustomFormioComponentWithClass(options: FormioCustomComponentInfo, angularComponent: Type<any>, formioClass: any, injector: Injector): void;
|
|
7
6
|
//# sourceMappingURL=register-custom-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-custom-component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/modules/custom-formio-component/register-custom-component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"register-custom-component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/modules/custom-formio-component/register-custom-component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAK5D,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAEvE;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,yBAAyB,EAClC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,EAC3B,QAAQ,EAAE,QAAQ,GACjB,IAAI,CAaN;AAED,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,yBAAyB,EAClC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,EAC3B,WAAW,EAAE,GAAG,EAChB,QAAQ,EAAE,QAAQ,GACjB,IAAI,CAUN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ellipsis.pipe.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/pipes/ellipsis.pipe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ellipsis.pipe.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/pipes/ellipsis.pipe.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD,qBACa,YAAa,YAAW,aAAa;IACzC,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;yCADrD,YAAY;uCAAZ,YAAY;CAMxB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { MenuItem } from '@valtimo/
|
|
2
|
+
import { MenuItem } from '@valtimo/shared';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ConfigService, Page } from '@valtimo/
|
|
2
|
+
import { ConfigService, Page } from '@valtimo/shared';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ChoiceField, ChoiceFieldValue } from '../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-state.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/key-state.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"key-state.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/key-state.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;;AAIpD,qBAGa,eAAgB,YAAW,SAAS;IAC/C,OAAO,CAAC,mBAAmB,CAAkB;IAC7C,OAAO,CAAC,SAAS,CAAuB;;IAkBjC,iBAAiB,IAAI,OAAO;IAI5B,WAAW,IAAI,IAAI;yCAxBf,eAAe;6CAAf,eAAe;CA4B3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ConfigService } from '@valtimo/
|
|
3
|
+
import { ConfigService } from '@valtimo/shared';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PageHeaderService {
|
|
6
6
|
private readonly configService;
|
|
@@ -33,6 +33,7 @@ export declare class PageTitleService implements OnDestroy {
|
|
|
33
33
|
setPageActionsFullWidth(value: boolean): void;
|
|
34
34
|
setCustomPageTitleSet(set: boolean): void;
|
|
35
35
|
setPageTitleHidden(hidden: boolean): void;
|
|
36
|
+
clearPageActionsViewContainerRef(): void;
|
|
36
37
|
private openRouteSubscription;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitleService, never>;
|
|
38
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<PageTitleService>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-title.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/page-title.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAiC,UAAU,EAAe,MAAM,MAAM,CAAC;AAC9E,OAAO,EAA6C,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAGnF,qBAGa,gBAAiB,YAAW,SAAS;IAkDpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAjDnC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmC;IACrE,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAuC;IAC5E,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAmC;IACxE,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAuC;IAC/E,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAuC;IACxE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAuC;IAE9E,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAE5C;IAEF,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAuC;IAEzE,OAAO,CAAC,kBAAkB,CAAgB;IAE1C,OAAO,CAAC,aAAa,CAAW;IAEhC,IAAW,gBAAgB,IAAI,UAAU,CAAC,MAAM,CAAC,CAEhD;IAED,IAAW,mBAAmB,IAAI,UAAU,CAAC,OAAO,CAAC,CAEpD;IAED,IAAW,mBAAmB,IAAI,UAAU,CAAC,MAAM,CAAC,CAEnD;IAED,IAAW,sBAAsB,IAAI,UAAU,CAAC,OAAO,CAAC,CAEvD;IAED,IAAW,4BAA4B,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAEtE;IAED,IAAW,eAAe,IAAI,UAAU,CAAC,OAAO,CAAC,CAEhD;IAED,IAAW,qBAAqB,IAAI,UAAU,CAAC,OAAO,CAAC,CAEtD;IAED,IAAW,gBAAgB,IAAI,UAAU,CAAC,OAAO,CAAC,CAEjD;gBAE4B,MAAM,EAAE,MAAM;IAIpC,WAAW,IAAI,IAAI;IAInB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,IAAI;IAS7D,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAK1C,YAAY,IAAI,IAAI;IAIpB,WAAW,IAAI,IAAI;IAInB,8BAA8B,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAI3D,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIvC,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAI7C,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"page-title.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/page-title.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAiC,UAAU,EAAe,MAAM,MAAM,CAAC;AAC9E,OAAO,EAA6C,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAGnF,qBAGa,gBAAiB,YAAW,SAAS;IAkDpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAjDnC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmC;IACrE,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA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AG,IAAI;IAIzC,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAIzC,gCAAgC,IAAI,IAAI;IAI/C,OAAO,CAAC,qBAAqB;yCAxGlB,gBAAgB;6CAAhB,gBAAgB;CAiI5B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ButtonType } from '../models';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class PromptService {
|
|
5
4
|
private readonly _promptVisible$;
|
|
@@ -11,10 +10,6 @@ export declare class PromptService {
|
|
|
11
10
|
private readonly _bodyText$;
|
|
12
11
|
private readonly _cancelText$;
|
|
13
12
|
private readonly _confirmText$;
|
|
14
|
-
private readonly _cancelMdiIcon$;
|
|
15
|
-
private readonly _confirmMdiIcon$;
|
|
16
|
-
private readonly _cancelButtonType$;
|
|
17
|
-
private readonly _confirmButtonType$;
|
|
18
13
|
private readonly _closeOnConfirm$;
|
|
19
14
|
private readonly _closeOnCancel$;
|
|
20
15
|
private readonly _closeButtonVisible$;
|
|
@@ -31,10 +26,6 @@ export declare class PromptService {
|
|
|
31
26
|
get bodyText$(): Observable<string>;
|
|
32
27
|
get cancelText$(): Observable<string>;
|
|
33
28
|
get confirmText$(): Observable<string>;
|
|
34
|
-
get cancelMdiIcon$(): Observable<string>;
|
|
35
|
-
get confirmMdiIcon$(): Observable<string>;
|
|
36
|
-
get cancelButtonType$(): Observable<ButtonType>;
|
|
37
|
-
get confirmButtonType$(): Observable<ButtonType>;
|
|
38
29
|
get closeButtonVisible$(): Observable<boolean>;
|
|
39
30
|
openPrompt(promptParameters: {
|
|
40
31
|
identifier?: string;
|
|
@@ -42,10 +33,6 @@ export declare class PromptService {
|
|
|
42
33
|
bodyText: string;
|
|
43
34
|
cancelButtonText: string;
|
|
44
35
|
confirmButtonText: string;
|
|
45
|
-
cancelMdiIcon?: string;
|
|
46
|
-
confirmMdiIcon?: string;
|
|
47
|
-
cancelButtonType?: ButtonType;
|
|
48
|
-
confirmButtonType?: ButtonType;
|
|
49
36
|
closeOnConfirm?: boolean;
|
|
50
37
|
closeOnCancel?: boolean;
|
|
51
38
|
closeButtonVisible?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/prompt.service.ts"],"names":[],"mappings":"AAiBA,OAAO,
|
|
1
|
+
{"version":3,"file":"prompt.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/prompt.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAiC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAGhE,qBAGa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuC;IACvE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuC;IACnE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAuC;IACtE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAoC;IACvE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAChE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAChE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmC;IAC9D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAChE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAmC;IACjE,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAuC;IACxE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAuC;IACvE,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAuC;IAC5E,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAA6C;IACtF,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA6C;IACvF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAA6C;IAErF,IAAI,cAAc,wBAEjB;IAED,IAAI,UAAU,wBAEb;IAED,IAAI,aAAa,wBAEhB;IAED,IAAI,iBAAiB,uBAEp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
|
|
3
|
-
import { ConfigService } from '@valtimo/
|
|
3
|
+
import { ConfigService } from '@valtimo/shared';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ShellService implements OnDestroy {
|
|
6
6
|
private readonly rendererFactory2;
|
|
@@ -2,11 +2,11 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ValtimoModalService {
|
|
4
4
|
private readonly _scrollToTop$;
|
|
5
|
-
private readonly
|
|
5
|
+
private readonly _caseDefinitionKey$;
|
|
6
6
|
get scrollToTop$(): Observable<null>;
|
|
7
|
-
get
|
|
7
|
+
get caseDefinitionKey$(): Observable<string>;
|
|
8
8
|
scrollToTop(): void;
|
|
9
|
-
|
|
9
|
+
setCaseDefinitionKey(caseDefinitionKey: string): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValtimoModalService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<ValtimoModalService>;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valtimo-modal.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/valtimo-modal.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAkB,UAAU,EAAU,MAAM,MAAM,CAAC;;AAG1D,qBAGa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IACrD,OAAO,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"valtimo-modal.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/valtimo-modal.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAkB,UAAU,EAAU,MAAM,MAAM,CAAC;;AAG1D,qBAGa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IACrD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IAEvE,IAAW,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,CAE1C;IAED,IAAW,kBAAkB,IAAI,UAAU,CAAC,MAAM,CAAC,CAElD;IAEM,WAAW,IAAI,IAAI;IAInB,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI;yCAhBjD,mBAAmB;6CAAnB,mBAAmB;CAmB/B"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import { BaseApiService, ConfigService } from '@valtimo/
|
|
3
|
+
import { BaseApiService, ConfigService } from '@valtimo/shared';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ValuePathItem, ValuePathSelectorPrefix, ValuePathType
|
|
6
|
-
import {
|
|
5
|
+
import { ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '../models';
|
|
6
|
+
import { CaseDefinition } from '@valtimo/document';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ValuePathSelectorService extends BaseApiService implements OnDestroy {
|
|
9
9
|
protected readonly httpClient: HttpClient;
|
|
10
10
|
protected readonly configService: ConfigService;
|
|
11
11
|
private _prefixes;
|
|
12
|
-
private
|
|
13
|
-
private
|
|
12
|
+
private _caseDefinitionKey;
|
|
13
|
+
private _caseDefinitionVersionTag;
|
|
14
14
|
private _cache;
|
|
15
|
-
private
|
|
15
|
+
private _caseDefinitionCache$;
|
|
16
16
|
private readonly _subscriptions;
|
|
17
17
|
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
getResolvableKeys(prefixes: ValuePathSelectorPrefix[],
|
|
19
|
+
setCaseDefinitionCache(cache: CaseDefinition[]): void;
|
|
20
|
+
getCaseDefinitionCache(): Observable<CaseDefinition[] | null>;
|
|
21
|
+
getResolvableKeys(prefixes: ValuePathSelectorPrefix[], caseDefinitionKey: string, type?: ValuePathType, caseDefinitionVersionTag?: string): Observable<ValuePathItem[]>;
|
|
22
22
|
private openClearCacheSubscription;
|
|
23
23
|
private getCacheResult;
|
|
24
24
|
private mapCollectionItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-path-selector.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/value-path-selector.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAkB,UAAU,EAA6C,MAAM,MAAM,CAAC;AAC7F,OAAO,EACL,aAAa,EAGb,uBAAuB,EACvB,aAAa,
|
|
1
|
+
{"version":3,"file":"value-path-selector.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/value-path-selector.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAkB,UAAU,EAA6C,MAAM,MAAM,CAAC;AAC7F,OAAO,EACL,aAAa,EAGb,uBAAuB,EACvB,aAAa,EACd,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;;AAGjD,qBAGa,wBAAyB,SAAQ,cAAe,YAAW,SAAS;IAU7E,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;IAVjD,OAAO,CAAC,SAAS,CAAuC;IACxD,OAAO,CAAC,kBAAkB,CAAS;IACnC,OAAO,CAAC,yBAAyB,CAAS;IAE1C,OAAO,CAAC,MAAM,CAA8B;IAC5C,OAAO,CAAC,qBAAqB,CAAsD;IACnF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGhC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAM1C,WAAW,IAAI,IAAI;IAInB,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI;IAMrD,sBAAsB,IAAI,UAAU,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC;IAI7D,iBAAiB,CACtB,QAAQ,EAAE,uBAAuB,EAAE,EACnC,iBAAiB,EAAE,MAAM,EACzB,IAAI,GAAE,aAAmC,EACzC,wBAAwB,GAAE,MAAa,GACtC,UAAU,CAAC,aAAa,EAAE,CAAC;IA4C9B,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,iBAAiB;IAqBzB,OAAO,CAAC,YAAY;IAwBpB,OAAO,CAAC,sBAAsB;yCA7InB,wBAAwB;6CAAxB,wBAAwB;CAgJpC"}
|
package/package.json
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valtimo/components",
|
|
3
3
|
"license": "EUPL-1.2",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/elements": "^
|
|
6
|
+
"@angular/common": "^19.2.8",
|
|
7
|
+
"@angular/core": "^19.2.8",
|
|
8
|
+
"@angular/elements": "^19.2.8"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@foxythemes/bootstrap-datetime-picker-bs4": "2.3.5",
|
|
12
|
-
"bpmn-js": "6.
|
|
13
|
-
"formiojs": "4.19.5",
|
|
12
|
+
"bpmn-js": "18.6.1",
|
|
14
13
|
"jquery": "3.7.1",
|
|
15
14
|
"moment": "2.30.1",
|
|
16
15
|
"heatmap.js-fixed": "2.0.2",
|
|
17
|
-
"@ngx-translate/core": "
|
|
18
|
-
"@ngx-translate/http-loader": "
|
|
16
|
+
"@ngx-translate/core": "16.0.4",
|
|
17
|
+
"@ngx-translate/http-loader": "16.0.1",
|
|
19
18
|
"@ng-bootstrap/ng-bootstrap": "11.0.1",
|
|
20
|
-
"ngx-toastr": "19.0.0",
|
|
21
19
|
"@formio/angular": "7.0.0",
|
|
20
|
+
"formiojs": "4.19.5",
|
|
22
21
|
"monaco-editor": "0.50.0",
|
|
23
|
-
"ngx-spinner": "
|
|
24
|
-
"tslib": "2.
|
|
22
|
+
"ngx-spinner": "19.0.0",
|
|
23
|
+
"tslib": "2.8.1",
|
|
25
24
|
"ng-multiselect-dropdown": "1.0.0-beta.19",
|
|
26
|
-
"@carbon/icons": "11.
|
|
27
|
-
"@carbon/grid": "11.
|
|
28
|
-
"@carbon/styles": "1.
|
|
29
|
-
"@carbon/themes": "11.
|
|
30
|
-
"carbon-components-angular": "5.
|
|
31
|
-
"ngx-skeleton-loader": "
|
|
25
|
+
"@carbon/icons": "11.59.0",
|
|
26
|
+
"@carbon/grid": "11.35.0",
|
|
27
|
+
"@carbon/styles": "1.80.0",
|
|
28
|
+
"@carbon/themes": "11.51.0",
|
|
29
|
+
"carbon-components-angular": "5.57.6",
|
|
30
|
+
"ngx-skeleton-loader": "11.0.0",
|
|
32
31
|
"@mdi/font": "7.4.47",
|
|
33
|
-
"uuid": "
|
|
32
|
+
"uuid": "11.1.0",
|
|
34
33
|
"flatpickr": "4.6.13",
|
|
35
34
|
"lodash": "4.17.21",
|
|
36
35
|
"jwt-decode": "4.0.0",
|
|
37
|
-
"deepmerge-ts": "7.1.
|
|
38
|
-
"@carbon/charts-angular": "1.
|
|
36
|
+
"deepmerge-ts": "7.1.5",
|
|
37
|
+
"@carbon/charts-angular": "1.23.6",
|
|
39
38
|
"@types/topojson": "3.2.6",
|
|
40
|
-
"@tadashi/currency": "3.4.0"
|
|
39
|
+
"@tadashi/currency": "3.4.0",
|
|
40
|
+
"semver": "7.7.1",
|
|
41
|
+
"muuri": "0.9.5"
|
|
41
42
|
},
|
|
42
43
|
"module": "fesm2022/valtimo-components.mjs",
|
|
43
44
|
"typings": "index.d.ts",
|
|
@@ -47,8 +48,6 @@
|
|
|
47
48
|
},
|
|
48
49
|
".": {
|
|
49
50
|
"types": "./index.d.ts",
|
|
50
|
-
"esm2022": "./esm2022/valtimo-components.mjs",
|
|
51
|
-
"esm": "./esm2022/valtimo-components.mjs",
|
|
52
51
|
"default": "./fesm2022/valtimo-components.mjs"
|
|
53
52
|
}
|
|
54
53
|
},
|
package/public_api.d.ts
CHANGED
|
@@ -21,9 +21,6 @@ export * from './lib/components/carbon-list/carbon-list.component';
|
|
|
21
21
|
export * from './lib/components/carbon-list/carbon-list.module';
|
|
22
22
|
export * from './lib/components/carbon-list/CarbonListFilterPipe.directive';
|
|
23
23
|
export * from './lib/components/carbon-list/no-results/carbon-no-results.component';
|
|
24
|
-
export * from './lib/components/list/list.component';
|
|
25
|
-
export * from './lib/components/list/ListFilterPipe.directive';
|
|
26
|
-
export * from './lib/components/list/list.module';
|
|
27
24
|
export * from './lib/components/page-header/page-header.component';
|
|
28
25
|
export * from './lib/components/page-header/page-header.module';
|
|
29
26
|
export * from './lib/components/page-title/page-title.component';
|
|
@@ -36,8 +33,6 @@ export * from './lib/components/widget/widget.component';
|
|
|
36
33
|
export * from './lib/components/widget/widget.module';
|
|
37
34
|
export * from './lib/components/field-auto-focus/field-auto-focus.directive';
|
|
38
35
|
export * from './lib/components/field-auto-focus/field-auto-focus.module';
|
|
39
|
-
export * from './lib/components/card/card.component';
|
|
40
|
-
export * from './lib/components/card/card.module';
|
|
41
36
|
export * from './lib/components/bpmn-js-diagram/bpmn-js-diagram.component';
|
|
42
37
|
export * from './lib/components/bpmn-js-diagram/bpmn-js-diagram.module';
|
|
43
38
|
export * from './lib/components/timeline/timeline.component';
|
|
@@ -77,6 +72,7 @@ export * from './lib/components/form-io/form-io-currency/currency.formio';
|
|
|
77
72
|
export * from './lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio';
|
|
78
73
|
export * from './lib/components/form-io/services/form-io-state.service';
|
|
79
74
|
export * from './lib/components/form-io/services/form-io-dom.service';
|
|
75
|
+
export * from './lib/components/form-io/services/form-io.tags.service';
|
|
80
76
|
export * from './lib/components/webcam/webcam.module';
|
|
81
77
|
export * from './lib/components/webcam/webcam.component';
|
|
82
78
|
export * from './lib/components/progress-bar/progress-bar.module';
|
|
@@ -101,8 +97,6 @@ export * from './lib/components/form-io/formio-value-resolver-selector/formio-va
|
|
|
101
97
|
export * from './lib/components/form-io/formio-value-resolver-selector/formio-value-resolver-selector.component';
|
|
102
98
|
export * from './lib/components/form-io/form-io-dummy/dummy.component';
|
|
103
99
|
export * from './lib/components/form-io/form-io-dummy/dummy.formio';
|
|
104
|
-
export * from './lib/components/button/button.module';
|
|
105
|
-
export * from './lib/components/button/button.component';
|
|
106
100
|
export * from './lib/components/table/table.module';
|
|
107
101
|
export * from './lib/components/table/table.component';
|
|
108
102
|
export * from './lib/components/select/select.module';
|
|
@@ -116,20 +110,10 @@ export * from './lib/components/stepper/stepper-content/stepper-content.componen
|
|
|
116
110
|
export * from './lib/components/stepper/stepper-container/stepper-container.component';
|
|
117
111
|
export * from './lib/components/stepper/stepper-step/stepper-step.component';
|
|
118
112
|
export * from './lib/components/stepper/stepper-footer-step/stepper-footer-step.component';
|
|
119
|
-
export * from './lib/components/v-card/card.component';
|
|
120
|
-
export * from './lib/components/v-card/card.module';
|
|
121
|
-
export * from './lib/components/title/title.component';
|
|
122
|
-
export * from './lib/components/title/title.module';
|
|
123
113
|
export * from './lib/components/input/input.component';
|
|
124
114
|
export * from './lib/components/input/input.module';
|
|
125
115
|
export * from './lib/components/input-label/input-label.component';
|
|
126
116
|
export * from './lib/components/input-label/input-label.module';
|
|
127
|
-
export * from './lib/components/page/page.module';
|
|
128
|
-
export * from './lib/components/page/page-container/page-container.component';
|
|
129
|
-
export * from './lib/components/page/page-content/page-content.component';
|
|
130
|
-
export * from './lib/components/page/page-header/page-header.component';
|
|
131
|
-
export * from './lib/components/page/page-header-introduction/page-header-introduction.component';
|
|
132
|
-
export * from './lib/components/page/page-header-actions/page-header-actions.component';
|
|
133
117
|
export * from './lib/components/paragraph/paragraph.module';
|
|
134
118
|
export * from './lib/components/paragraph/paragraph.component';
|
|
135
119
|
export * from './lib/components/form/form.module';
|
|
@@ -149,22 +133,22 @@ export * from './lib/components/pending-changes/pending-changes.service';
|
|
|
149
133
|
export * from './lib/services/choice-field.service';
|
|
150
134
|
export * from './lib/models/choice-field.model';
|
|
151
135
|
export * from './lib/models/choicefield-value.model';
|
|
136
|
+
export * from './lib/components/case-tags-selector/case-tags-selector.component';
|
|
137
|
+
export * from './lib/components/case-tags-selector/case-tags-selector.component';
|
|
138
|
+
export * from './lib/components/render-in-body/render-in-body.component';
|
|
152
139
|
export * from './lib/directives/valtimo-cds-modal/valtimo-cds-modal.directive';
|
|
153
|
-
export * from './lib/directives/valtimo-cds-modal/valtimo-cds-modal-directive.module';
|
|
154
140
|
export * from './lib/directives/tooltip/tooltip.directive';
|
|
155
141
|
export * from './lib/directives/tooltip/tooltip.component';
|
|
156
142
|
export * from './lib/directives/tooltip/tooltip.module';
|
|
157
143
|
export * from './lib/directives/render-in-page-header/render-in-page-header.directive';
|
|
158
|
-
export * from './lib/directives/render-in-page-header/render-in-page-header-directive.module';
|
|
159
144
|
export * from './lib/directives/render-page-header/render-page-header.directive';
|
|
160
|
-
export * from './lib/directives/render-page-header/render-page-header-directive.module';
|
|
161
145
|
export * from './lib/directives/fit-page/fit-page.directive';
|
|
162
|
-
export * from './lib/directives/fit-page/fit-page-directive.module';
|
|
163
146
|
export * from './lib/directives/digit-only/digit-only.directive';
|
|
164
|
-
export * from './lib/directives/
|
|
165
|
-
export * from './lib/directives/command-click/command-click-directive.module';
|
|
147
|
+
export * from './lib/directives/ctrl-click/ctrl-click.directive';
|
|
166
148
|
export * from './lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button.directive';
|
|
167
|
-
export * from './lib/directives/valtimo-cds-overflow-button/valtimo-cds-overflow-button-directive.module';
|
|
168
149
|
export * from './lib/directives/remove-classnames/remove-classnames.directive';
|
|
169
|
-
export * from './lib/
|
|
150
|
+
export * from './lib/directives/muuri/muuri-directive.module';
|
|
151
|
+
export * from './lib/directives/muuri/muuri.directive';
|
|
152
|
+
export * from './lib/directives/muuri/muuri-item.component';
|
|
153
|
+
export * from './lib/directives/read-only.directive';
|
|
170
154
|
//# sourceMappingURL=public_api.d.ts.map
|
package/public_api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/components/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAK9B,cAAc,uDAAuD,CAAC;AACtE,cAAc,mDAAmD,CAAC;AAElE,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AAEpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAElE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,qEAAqE,CAAC;AAEpF,cAAc,
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/components/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,cAA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AAc,0DAA0D,CAAC;AAMzE,cAAc,gEAAgE,CAAC;AAE/E,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AAExD,cAAc,wEAAwE,CAAC;AAEvF,cAAc,kEAAkE,CAAC;AAEjF,cAAc,8CAA8C,CAAC;AAE7D,cAAc,kDAAkD,CAAC;AAEjE,cAAc,kDAAkD,CAAC;AAEjE,cAAc,oFAAoF,CAAC;AAEnG,cAAc,gEAAgE,CAAC;AAE/E,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAE5D,cAAc,sCAAsC,CAAC"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2024 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Component } from '@angular/core';
|
|
17
|
-
import { AlertType } from '../../models';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
import * as i1 from "./alert.service";
|
|
20
|
-
import * as i2 from "@angular/common";
|
|
21
|
-
export class AlertComponent {
|
|
22
|
-
constructor(alertService) {
|
|
23
|
-
this.alertService = alertService;
|
|
24
|
-
this.alerts = [];
|
|
25
|
-
this.autoCloseInMS = 5000;
|
|
26
|
-
}
|
|
27
|
-
ngAfterContentInit() {
|
|
28
|
-
this.subscription = this.alertService.onAlert().subscribe(alert => {
|
|
29
|
-
if (!alert.message) {
|
|
30
|
-
// clear alerts when an empty alert is received
|
|
31
|
-
this.alerts = [];
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
// set empty array when an empty alert confirmations is received
|
|
35
|
-
if (!alert.confirmations) {
|
|
36
|
-
alert.confirmations = [];
|
|
37
|
-
}
|
|
38
|
-
// add alert to array if not exist
|
|
39
|
-
const alertExist = this.alerts.filter(x => x.message === alert.message);
|
|
40
|
-
if (alertExist.length === 0) {
|
|
41
|
-
this.alerts.push(alert);
|
|
42
|
-
}
|
|
43
|
-
if (this.inModal(alert)) {
|
|
44
|
-
setTimeout(() => {
|
|
45
|
-
this.openModal();
|
|
46
|
-
}, 300);
|
|
47
|
-
}
|
|
48
|
-
// auto close except alert confirmations not empty
|
|
49
|
-
if (this.autoCloseInMS > 0 && alert.confirmations.length === 0) {
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
this.removeAlert(alert);
|
|
52
|
-
}, this.autoCloseInMS);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
closeModal() {
|
|
57
|
-
$('#modalNotification').modal('hide');
|
|
58
|
-
}
|
|
59
|
-
openModal() {
|
|
60
|
-
$('#modalNotification').modal('show');
|
|
61
|
-
}
|
|
62
|
-
alertConfirm(alert, confirm) {
|
|
63
|
-
alert.confirm = confirm;
|
|
64
|
-
this.alertService.emitAlertConfirmEvent(alert);
|
|
65
|
-
this.removeAlert(alert);
|
|
66
|
-
}
|
|
67
|
-
ngOnDestroy() {
|
|
68
|
-
// unsubscribe to avoid memory leaks
|
|
69
|
-
this.subscription.unsubscribe();
|
|
70
|
-
}
|
|
71
|
-
removeAlert(alert) {
|
|
72
|
-
if (this.inModal(alert)) {
|
|
73
|
-
this.closeModal();
|
|
74
|
-
}
|
|
75
|
-
// remove specified alert from array
|
|
76
|
-
this.alerts = this.alerts.filter(x => x.message !== alert.message);
|
|
77
|
-
}
|
|
78
|
-
inModal(alert) {
|
|
79
|
-
if (!alert) {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
// return true based on AlertType.ModalNotification
|
|
83
|
-
switch (alert.type) {
|
|
84
|
-
case AlertType.ModalNotification:
|
|
85
|
-
return true;
|
|
86
|
-
default:
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
cssClass(alert) {
|
|
91
|
-
if (!alert) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
// return css class based on alert type
|
|
95
|
-
switch (alert.type) {
|
|
96
|
-
case AlertType.Success:
|
|
97
|
-
return 'alert alert-success';
|
|
98
|
-
case AlertType.Error:
|
|
99
|
-
return 'alert alert-danger';
|
|
100
|
-
case AlertType.Info:
|
|
101
|
-
return 'alert alert-info';
|
|
102
|
-
case AlertType.Warning:
|
|
103
|
-
return 'alert alert-warning';
|
|
104
|
-
case AlertType.Notification:
|
|
105
|
-
return 'alert alert-light';
|
|
106
|
-
case AlertType.ModalNotification:
|
|
107
|
-
return 'alert alert-light';
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
cssIconClass(alert) {
|
|
111
|
-
if (!alert) {
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
// return css class based on alert type
|
|
115
|
-
switch (alert.type) {
|
|
116
|
-
case AlertType.Success:
|
|
117
|
-
return 'mdi mdi-check';
|
|
118
|
-
case AlertType.Error:
|
|
119
|
-
return 'mdi mdi-close-circle-o';
|
|
120
|
-
case AlertType.Info:
|
|
121
|
-
return 'mdi mdi-info-outline';
|
|
122
|
-
case AlertType.Warning:
|
|
123
|
-
return 'mdi mdi-alert-triangle';
|
|
124
|
-
case AlertType.Notification:
|
|
125
|
-
return 'mdi mdi-notifications';
|
|
126
|
-
case AlertType.ModalNotification:
|
|
127
|
-
return 'mdi mdi-notifications';
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, deps: [{ token: i1.AlertService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
131
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertComponent, selector: "valtimo-alert", ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngFor=\"let alert of alerts\" class=\"{{ cssClass(alert) }} rounded-0 m-0 alert-dismissable\">\n <div *ngIf=\"inModal(alert)\">\n <!-- Modal -->\n <div class=\"modal fade\" id=\"modalNotification\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body p-0\">\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"icon\">\n <span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span>\n </div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n </div>\n </div>\n <div class=\"modal-footer pt-0\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!inModal(alert)\" class=\"alert-block\">\n <div class=\"icon\"><span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span></div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n <div class=\"mt-3\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n </div>\n</div>\n", styles: [".alert-block{display:flex;flex-direction:row;justify-content:space-between}.alert-block .message{width:100%}.alert-block .icon{display:flex;align-items:center}.alert .message{padding:2rem 5rem 2rem 2rem!important;font-size:1.1rem!important;line-height:1.5rem!important}.alert .close{padding:2rem 2rem 0 0!important;right:0!important;color:#fff!important;opacity:1!important}.alert .icon{padding-left:2rem!important}.alert-warning{color:#404040!important}.alert-warning .close,.alert-light .close{color:#404040!important;opacity:1!important}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
132
|
-
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, decorators: [{
|
|
134
|
-
type: Component,
|
|
135
|
-
args: [{ selector: 'valtimo-alert', template: "<!--\n ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngFor=\"let alert of alerts\" class=\"{{ cssClass(alert) }} rounded-0 m-0 alert-dismissable\">\n <div *ngIf=\"inModal(alert)\">\n <!-- Modal -->\n <div class=\"modal fade\" id=\"modalNotification\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body p-0\">\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"icon\">\n <span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span>\n </div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n </div>\n </div>\n <div class=\"modal-footer pt-0\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!inModal(alert)\" class=\"alert-block\">\n <div class=\"icon\"><span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span></div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n <div class=\"mt-3\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n </div>\n</div>\n", styles: [".alert-block{display:flex;flex-direction:row;justify-content:space-between}.alert-block .message{width:100%}.alert-block .icon{display:flex;align-items:center}.alert .message{padding:2rem 5rem 2rem 2rem!important;font-size:1.1rem!important;line-height:1.5rem!important}.alert .close{padding:2rem 2rem 0 0!important;right:0!important;color:#fff!important;opacity:1!important}.alert .icon{padding-left:2rem!important}.alert-warning{color:#404040!important}.alert-warning .close,.alert-light .close{color:#404040!important;opacity:1!important}\n"] }]
|
|
136
|
-
}], ctorParameters: () => [{ type: i1.AlertService }] });
|
|
137
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9hbGVydC9hbGVydC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFtQixTQUFTLEVBQVksTUFBTSxlQUFlLENBQUM7QUFFckUsT0FBTyxFQUFRLFNBQVMsRUFBQyxNQUFNLGNBQWMsQ0FBQzs7OztBQVc5QyxNQUFNLE9BQU8sY0FBYztJQUt6QixZQUFvQixZQUEwQjtRQUExQixpQkFBWSxHQUFaLFlBQVksQ0FBYztRQUo5QyxXQUFNLEdBQVksRUFBRSxDQUFDO1FBS25CLElBQUksQ0FBQyxhQUFhLEdBQUcsSUFBSSxDQUFDO0lBQzVCLENBQUM7SUFFRCxrQkFBa0I7UUFDaEIsSUFBSSxDQUFDLFlBQVksR0FBRyxJQUFJLENBQUMsWUFBWSxDQUFDLE9BQU8sRUFBRSxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsRUF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