@valtimo/components 12.14.0 → 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,30 +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 * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common";
|
|
19
|
-
import * as i2 from "@angular/forms";
|
|
20
|
-
import * as i3 from "../validation/camunda-formfield-validation.component";
|
|
21
|
-
export class CamundaLongFormfieldComponent {
|
|
22
|
-
constructor() { }
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaLongFormfieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CamundaLongFormfieldComponent, selector: "valtimo-camunda-long-formfield", 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"number\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.CamundaFormfieldValidationComponent, selector: "valtimo-camunda-formfield-validation", inputs: ["formGroup", "formField"] }] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaLongFormfieldComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'valtimo-camunda-long-formfield', 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"number\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n" }]
|
|
29
|
-
}], ctorParameters: () => [] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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hcm91cFwiPlxuICA8bGFiZWwgZm9yPVwie3sgZm9ybUZpZWxkLmlkIH19XCIgY2xhc3M9XCJjb2wtMTIgY29sLXNtLTMgY29sLWZvcm0tbGFiZWwgdGV4dC1zbS1yaWdodFwiPlxuICAgIHt7IGZvcm1GaWVsZC5sYWJlbCB9fVxuICA8L2xhYmVsPlxuICA8ZGl2IGNsYXNzPVwiY29sLTEyIGNvbC1zbS04IGNvbC1sZy02XCI+XG4gICAgPGlucHV0XG4gICAgICBpZD1cInt7IGZvcm1GaWVsZC5pZCB9fVwiXG4gICAgICBjbGFzcz1cImZvcm0tY29udHJvbFwiXG4gICAgICB0eXBlPVwibnVtYmVyXCJcbiAgICAgIFthdHRyLnBsYWNlaG9sZGVyXT1cImZvcm1GaWVsZC5kZWZhdWx0VmFsdWVcIlxuICAgICAgW2Zvcm1Db250cm9sTmFtZV09XCJmb3JtRmllbGQuaWRcIlxuICAgIC8+XG4gICAgPHZhbHRpbW8tY2FtdW5kYS1mb3JtZmllbGQtdmFsaWRhdGlvbiBbZm9ybUdyb3VwXT1cImZvcm1Hcm91cFwiIFtmb3JtRmllbGRdPVwiZm9ybUZpZWxkXCI+XG4gICAgPC92YWx0aW1vLWNhbXVuZGEtZm9ybWZpZWxkLXZhbGlkYXRpb24+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,30 +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 * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common";
|
|
19
|
-
import * as i2 from "@angular/forms";
|
|
20
|
-
import * as i3 from "../validation/camunda-formfield-validation.component";
|
|
21
|
-
export class CamundaStringFormfieldComponent {
|
|
22
|
-
constructor() { }
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaStringFormfieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CamundaStringFormfieldComponent, selector: "valtimo-camunda-string-formfield", 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"text\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.CamundaFormfieldValidationComponent, selector: "valtimo-camunda-formfield-validation", inputs: ["formGroup", "formField"] }] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaStringFormfieldComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'valtimo-camunda-string-formfield', 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"text\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n" }]
|
|
29
|
-
}], ctorParameters: () => [] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtdW5kYS1zdHJpbmctZm9ybWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2FtdW5kYS9mb3JtL2dlbmVyYXRlZC9mb3JtZmllbGQvc3RyaW5nL2NhbXVuZGEtc3RyaW5nLWZvcm1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhbXVuZGEvZm9ybS9nZW5lcmF0ZWQvZm9ybWZpZWxkL3N0cmluZy9jYW11bmRhLXN0cmluZy1mb3JtZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7OztBQVF4QyxNQUFNLE9BQU8sK0JBQStCO0lBSTFDLGdCQUFlLENBQUM7K0dBSkwsK0JBQStCO21H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biAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,30 +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 * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common";
|
|
19
|
-
import * as i2 from "@angular/forms";
|
|
20
|
-
import * as i3 from "../validation/camunda-formfield-validation.component";
|
|
21
|
-
export class CamundaTextareaFormfieldComponent {
|
|
22
|
-
constructor() { }
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaTextareaFormfieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CamundaTextareaFormfieldComponent, selector: "valtimo-camunda-textarea-formfield", 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <textarea\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n ></textarea>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.CamundaFormfieldValidationComponent, selector: "valtimo-camunda-formfield-validation", inputs: ["formGroup", "formField"] }] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaTextareaFormfieldComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'valtimo-camunda-textarea-formfield', 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 class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <textarea\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n ></textarea>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n" }]
|
|
29
|
-
}], ctorParameters: () => [] });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtdW5kYS10ZXh0YXJlYS1mb3JtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYW11bmRhL2Zvcm0vZ2VuZXJhdGVkL2Zvcm1maWVsZC90ZXh0YXJlYS9jYW11bmRhLXRleHRhcmVhLWZvcm1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uL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m9ybUZpZWxkLmlkIH19XCJcbiAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgIFthdHRyLnBsYWNlaG9sZGVyXT1cImZvcm1GaWVsZC5kZWZhdWx0VmFsdWVcIlxuICAgICAgW2Zvcm1Db250cm9sTmFtZV09XCJmb3JtRmllbGQuaWRcIlxuICAgID48L3RleHRhcmVhPlxuICAgIDx2YWx0aW1vLWNhbXVuZGEtZm9ybWZpZWxkLXZhbGlkYXRpb24gW2Zvcm1Hcm91cF09XCJmb3JtR3JvdXBcIiBbZm9ybUZpZWxkXT1cImZvcm1GaWVsZFwiPlxuICAgIDwvdmFsdGltby1jYW11bmRhLWZvcm1maWVsZC12YWxpZGF0aW9uPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,35 +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, Input } from '@angular/core';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "@angular/common";
|
|
19
|
-
export class CamundaFormfieldValidationComponent {
|
|
20
|
-
constructor() { }
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.formControl = this.formGroup.get(this.formField.id);
|
|
23
|
-
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaFormfieldValidationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CamundaFormfieldValidationComponent, selector: "valtimo-camunda-formfield-validation", inputs: { formGroup: "formGroup", formField: "formField" }, 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<ul\n class=\"parsley-errors-list filled\"\n *ngIf=\"formControl.invalid && (formControl.dirty || formControl.touched)\"\n>\n <li *ngIf=\"formControl.errors.required\">This field is required.</li>\n <li *ngIf=\"formControl.errors.minlength\">\n This field should be more than {{ formControl.errors.minlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.maxlength\">\n This field cannot be more than {{ formControl.errors.maxlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.min\">\n This field should be more than {{ formControl.errors.min.min }}.\n </li>\n <li *ngIf=\"formControl.errors.max\">\n This field should be less or equal to {{ formControl.errors.max.max }}.\n </li>\n <li *ngIf=\"formControl.errors.minDate\">\n This field should be more than {{ formControl.errors.minDate.minDate }}.\n </li>\n <li *ngIf=\"formControl.errors.maxDate\">\n This field should be less or equal to {{ formControl.errors.maxDate.maxDate }}.\n </li>\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamundaFormfieldValidationComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'valtimo-camunda-formfield-validation', 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<ul\n class=\"parsley-errors-list filled\"\n *ngIf=\"formControl.invalid && (formControl.dirty || formControl.touched)\"\n>\n <li *ngIf=\"formControl.errors.required\">This field is required.</li>\n <li *ngIf=\"formControl.errors.minlength\">\n This field should be more than {{ formControl.errors.minlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.maxlength\">\n This field cannot be more than {{ formControl.errors.maxlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.min\">\n This field should be more than {{ formControl.errors.min.min }}.\n </li>\n <li *ngIf=\"formControl.errors.max\">\n This field should be less or equal to {{ formControl.errors.max.max }}.\n </li>\n <li *ngIf=\"formControl.errors.minDate\">\n This field should be more than {{ formControl.errors.minDate.minDate }}.\n </li>\n <li *ngIf=\"formControl.errors.maxDate\">\n This field should be less or equal to {{ formControl.errors.maxDate.maxDate }}.\n </li>\n</ul>\n" }]
|
|
30
|
-
}], ctorParameters: () => [], propDecorators: { formGroup: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], formField: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,ey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d0aC5yZXF1aXJlZExlbmd0aCB9fSBjaGFyYWN0ZXJzLlxuICA8L2xpPlxuICA8bGkgKm5nSWY9XCJmb3JtQ29udHJvbC5lcnJvcnMubWluXCI+XG4gICAgVGhpcyBmaWVsZCBzaG91bGQgYmUgbW9yZSB0aGFuIHt7IGZvcm1Db250cm9sLmVycm9ycy5taW4ubWluIH19LlxuICA8L2xpPlxuICA8bGkgKm5nSWY9XCJmb3JtQ29udHJvbC5lcnJvcnMubWF4XCI+XG4gICAgVGhpcyBmaWVsZCBzaG91bGQgYmUgbGVzcyBvciBlcXVhbCB0byB7eyBmb3JtQ29udHJvbC5lcnJvcnMubWF4Lm1heCB9fS5cbiAgPC9saT5cbiAgPGxpICpuZ0lmPVwiZm9ybUNvbnRyb2wuZXJyb3JzLm1pbkRhdGVcIj5cbiAgICBUaGlzIGZpZWxkIHNob3VsZCBiZSBtb3JlIHRoYW4ge3sgZm9ybUNvbnRyb2wuZXJyb3JzLm1pbkRhdGUubWluRGF0ZSB9fS5cbiAgPC9saT5cbiAgPGxpICpuZ0lmPVwiZm9ybUNvbnRyb2wuZXJyb3JzLm1heERhdGVcIj5cbiAgICBUaGlzIGZpZWxkIHNob3VsZCBiZSBsZXNzIG9yIGVxdWFsIHRvIHt7IGZvcm1Db250cm9sLmVycm9ycy5tYXhEYXRlLm1heERhdGUgfX0uXG4gIDwvbGk+XG48L3VsPlxuIl19
|
package/esm2022/lib/components/camunda/form/generated/formfield/validation/date.validators.mjs
DELETED
|
@@ -1,55 +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 moment from 'moment';
|
|
17
|
-
moment.locale(localStorage.getItem('langKey'));
|
|
18
|
-
const DATE_FORMAT = 'DD-MM-YYYY';
|
|
19
|
-
export function minDate(minDateIn) {
|
|
20
|
-
return (control) => {
|
|
21
|
-
if (!control.value) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
const controlDate = moment.utc(control.value).startOf('day');
|
|
25
|
-
const momentMinDate = moment.utc(minDateIn, DATE_FORMAT, true);
|
|
26
|
-
if (!controlDate.isSameOrAfter(momentMinDate)) {
|
|
27
|
-
return {
|
|
28
|
-
minDate: {
|
|
29
|
-
minDate: momentMinDate.format(DATE_FORMAT),
|
|
30
|
-
actual: controlDate.format(DATE_FORMAT),
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
return null;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function maxDate(maxDateIn) {
|
|
38
|
-
return (control) => {
|
|
39
|
-
if (!control.value) {
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
const controlDate = moment.utc(control.value).startOf('day');
|
|
43
|
-
const momentMaxDate = moment.utc(maxDateIn, DATE_FORMAT, true);
|
|
44
|
-
if (!controlDate.isSameOrBefore(momentMaxDate)) {
|
|
45
|
-
return {
|
|
46
|
-
maxDate: {
|
|
47
|
-
maxDate: momentMaxDate.format(DATE_FORMAT),
|
|
48
|
-
actual: controlDate.format(DATE_FORMAT),
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
return null;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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RvckZuIHtcbiAgcmV0dXJuIChjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7W2tleTogc3RyaW5nXTogYW55fSB8IG51bGwgPT4ge1xuICAgIGlmICghY29udHJvbC52YWx1ZSkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGNvbnN0IGNvbnRyb2xEYXRlID0gbW9tZW50LnV0Yyhjb250cm9sLnZhbHVlKS5zdGFydE9mKCdkYXknKTtcbiAgICBjb25zdCBtb21lbnRNaW5EYXRlID0gbW9tZW50LnV0YyhtaW5EYXRlSW4sIERBVEVfRk9STUFULCB0cnVlKTtcblxuICAgIGlmICghY29udHJvbERhdGUuaXNTYW1lT3JBZnRlcihtb21lbnRNaW5EYXRlKSkge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgbWluRGF0ZToge1xuICAgICAgICAgIG1pbkRhdGU6IG1vbWVudE1pbkRhdGUuZm9ybWF0KERBVEVfRk9STUFUKSxcbiAgICAgICAgICBhY3R1YWw6IGNvbnRyb2xEYXRlLmZvcm1hdChEQVRFX0ZPUk1BVCksXG4gICAgICAgIH0sXG4gICAgICB9O1xuICAgIH1cblxuICAgIHJldHVybiBudWxsO1xuICB9O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gbWF4RGF0ZShtYXhEYXRlSW46IHN0cmluZyk6IFZhbGlkYXRvckZuIHtcbiAgcmV0dXJuIChjb250cm9sOiBBYnN0cmFjdENvbnRyb2wpOiB7W2tleTogc3RyaW5nXTogYW55fSB8IG51bGwgPT4ge1xuICAgIGlmICghY29udHJvbC52YWx1ZSkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIGNvbnN0IGNvbnRyb2xEYXRlID0gbW9tZW50LnV0Yyhjb250cm9sLnZhbHVlKS5zdGFydE9mKCdkYXknKTtcbiAgICBjb25zdCBtb21lbnRNYXhEYXRlID0gbW9tZW50LnV0YyhtYXhEYXRlSW4sIERBVEVfRk9STUFULCB0cnVlKTtcblxuICAgIGlmICghY29udHJvbERhdGUuaXNTYW1lT3JCZWZvcmUobW9tZW50TWF4RGF0ZSkpIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIG1heERhdGU6IHtcbiAgICAgICAgICBtYXhEYXRlOiBtb21lbnRNYXhEYXRlLmZvcm1hdChEQVRFX0ZPUk1BVCksXG4gICAgICAgICAgYWN0dWFsOiBjb250cm9sRGF0ZS5mb3JtYXQoREFURV9GT1JNQVQpLFxuICAgICAgICB9LFxuICAgICAgfTtcbiAgICB9XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfTtcbn1cbiJdfQ==
|
|
@@ -1,34 +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 { Pipe } from '@angular/core';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export class CarbonListFilterPipe {
|
|
19
|
-
transform(list, filterText) {
|
|
20
|
-
list = list || [];
|
|
21
|
-
return !filterText
|
|
22
|
-
? list
|
|
23
|
-
: list.filter((row) => row.some((item) => item.data.toString().toLowerCase().includes(filterText.toLowerCase())));
|
|
24
|
-
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CarbonListFilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
26
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CarbonListFilterPipe, name: "listFilter" }); }
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CarbonListFilterPipe, decorators: [{
|
|
29
|
-
type: Pipe,
|
|
30
|
-
args: [{
|
|
31
|
-
name: 'listFilter',
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2FyYm9uTGlzdEZpbHRlclBpcGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYXJib24tbGlzdC9DYXJib25MaXN0RmlsdGVyUGlwZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsSUFBSSxFQUFnQixNQUFNLGVBQWUsQ0FBQzs7QUFNbEQsTUFBTSxPQUFPLG9CQUFvQjtJQUMvQixTQUFTLENBQUMsSUFBbUIsRUFBRSxVQUFrQjtRQUMvQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUUsQ0FBQztRQUVsQixPQUFPLENBQUMsVUFBVTtZQUNoQixDQUFDLENBQUMsSUFBSTtZQUNOLENBQUMsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBZ0IsRUFBRSxFQUFFLENBQy9CLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFlLEVBQUUsRUFBRSxDQUMzQixJQUFJLENBQUMsSUFBSS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