@yuuvis/client-framework 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -0
- package/actions/README.md +3 -0
- package/actions/index.d.ts +6 -0
- package/actions/lib/actions/copy-action/copy-action.d.ts +17 -0
- package/actions/lib/actions/cut-action/cut-action.d.ts +17 -0
- package/actions/lib/actions/delete-action/delete/delete.component.d.ts +22 -0
- package/actions/lib/actions/delete-action/delete-action.d.ts +17 -0
- package/actions/lib/actions/download-action/download-action.d.ts +17 -0
- package/actions/lib/actions.icon.d.ts +7 -0
- package/actions/lib/actions.interface.d.ts +86 -0
- package/actions/lib/actions.module.d.ts +8 -0
- package/actions/lib/actions.service.d.ts +38 -0
- package/actions/lib/components/contextmenu/contextmenu.component.d.ts +11 -0
- package/app-bar/README.md +3 -0
- package/app-bar/index.d.ts +1 -0
- package/app-bar/lib/app-bar.component.d.ts +47 -0
- package/clipboard/README.md +3 -0
- package/clipboard/index.d.ts +1 -0
- package/clipboard/lib/clipboard.component.d.ts +16 -0
- package/common/README.md +3 -0
- package/common/index.d.ts +5 -0
- package/common/lib/components/focus-indicator/focus-indicator.component.d.ts +7 -0
- package/common/lib/components/token-input/token-input.component.d.ts +55 -0
- package/common/lib/components/token-input/token-input.interface.d.ts +8 -0
- package/common/lib/directives/busy-overlay.directive.d.ts +25 -0
- package/common/lib/directives/click-double.directive.d.ts +17 -0
- package/common/lib/directives/container-size.directive.d.ts +30 -0
- package/common/lib/directives/drag-select.directive.d.ts +21 -0
- package/common/lib/directives/file-drop-zone/file-drop-zone.directive.d.ts +18 -0
- package/common/lib/directives/file-drop-zone/file-drop-zone.interface.d.ts +5 -0
- package/common/lib/directives/focus-within.directive.d.ts +36 -0
- package/common/lib/directives/index.d.ts +8 -0
- package/common/lib/directives/light-dismiss.directive.d.ts +19 -0
- package/common/lib/directives/longpress.directive.d.ts +13 -0
- package/common/lib/directives/noop-value-accessor.directive.d.ts +10 -0
- package/esm2022/actions/index.mjs +7 -0
- package/esm2022/actions/lib/actions/copy-action/copy-action.mjs +31 -0
- package/esm2022/actions/lib/actions/cut-action/cut-action.mjs +30 -0
- package/esm2022/actions/lib/actions/delete-action/delete/delete.component.mjs +67 -0
- package/esm2022/actions/lib/actions/delete-action/delete-action.mjs +44 -0
- package/esm2022/actions/lib/actions/download-action/download-action.mjs +33 -0
- package/esm2022/actions/lib/actions.icon.mjs +8 -0
- package/esm2022/actions/lib/actions.interface.mjs +19 -0
- package/esm2022/actions/lib/actions.module.mjs +16 -0
- package/esm2022/actions/lib/actions.service.mjs +89 -0
- package/esm2022/actions/lib/components/contextmenu/contextmenu.component.mjs +27 -0
- package/esm2022/actions/yuuvis-client-framework-actions.mjs +5 -0
- package/esm2022/app-bar/index.mjs +2 -0
- package/esm2022/app-bar/lib/app-bar.component.mjs +89 -0
- package/esm2022/app-bar/yuuvis-client-framework-app-bar.mjs +5 -0
- package/esm2022/clipboard/index.mjs +2 -0
- package/esm2022/clipboard/lib/clipboard.component.mjs +48 -0
- package/esm2022/clipboard/yuuvis-client-framework-clipboard.mjs +5 -0
- package/esm2022/common/index.mjs +6 -0
- package/esm2022/common/lib/components/focus-indicator/focus-indicator.component.mjs +41 -0
- package/esm2022/common/lib/components/token-input/token-input.component.mjs +324 -0
- package/esm2022/common/lib/components/token-input/token-input.interface.mjs +2 -0
- package/esm2022/common/lib/directives/busy-overlay.directive.mjs +88 -0
- package/esm2022/common/lib/directives/click-double.directive.mjs +61 -0
- package/esm2022/common/lib/directives/container-size.directive.mjs +56 -0
- package/esm2022/common/lib/directives/drag-select.directive.mjs +114 -0
- package/esm2022/common/lib/directives/file-drop-zone/file-drop-zone.directive.mjs +153 -0
- package/esm2022/common/lib/directives/file-drop-zone/file-drop-zone.interface.mjs +2 -0
- package/esm2022/common/lib/directives/focus-within.directive.mjs +81 -0
- package/esm2022/common/lib/directives/index.mjs +9 -0
- package/esm2022/common/lib/directives/light-dismiss.directive.mjs +44 -0
- package/esm2022/common/lib/directives/longpress.directive.mjs +36 -0
- package/esm2022/common/lib/directives/noop-value-accessor.directive.mjs +42 -0
- package/esm2022/common/yuuvis-client-framework-common.mjs +5 -0
- package/esm2022/forms/index.mjs +19 -0
- package/esm2022/forms/lib/elements/catalog/catalog.component.mjs +118 -0
- package/esm2022/forms/lib/elements/datetime/datetime.component.mjs +82 -0
- package/esm2022/forms/lib/elements/datetime-range/datetime-range.component.mjs +166 -0
- package/esm2022/forms/lib/elements/number/number.component.mjs +195 -0
- package/esm2022/forms/lib/elements/number-range/number-range.component.mjs +176 -0
- package/esm2022/forms/lib/elements/organization/organization.component.mjs +268 -0
- package/esm2022/forms/lib/elements/string/string.component.mjs +254 -0
- package/esm2022/forms/lib/form-input/form-input.component.mjs +88 -0
- package/esm2022/forms/lib/forms.module.mjs +58 -0
- package/esm2022/forms/yuuvis-client-framework-forms.mjs +5 -0
- package/esm2022/icons/index.mjs +4 -0
- package/esm2022/icons/lib/icon.service.mjs +59 -0
- package/esm2022/icons/lib/icons.mjs +31 -0
- package/esm2022/icons/lib/object-type-icon/object-type-icon.component.mjs +29 -0
- package/esm2022/icons/yuuvis-client-framework-icons.mjs +5 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/lib/yuuvis-client-framework.module.mjs +15 -0
- package/esm2022/list/index.mjs +3 -0
- package/esm2022/list/lib/list-item.directive.mjs +72 -0
- package/esm2022/list/lib/list.component.mjs +133 -0
- package/esm2022/list/yuuvis-client-framework-list.mjs +5 -0
- package/esm2022/metadata-form/index.mjs +4 -0
- package/esm2022/metadata-form/lib/metadata-default-templates/metadata-default-templates.component.mjs +31 -0
- package/esm2022/metadata-form/lib/metadata-form-element-registry.service.mjs +99 -0
- package/esm2022/metadata-form/lib/metadata-form-field/metadata-form-field.component.mjs +126 -0
- package/esm2022/metadata-form/lib/object-metadata-element-template.directive.mjs +52 -0
- package/esm2022/metadata-form/yuuvis-client-framework-metadata-form.mjs +5 -0
- package/esm2022/object-details/index.mjs +7 -0
- package/esm2022/object-details/lib/object-audit/object-audit.component.mjs +195 -0
- package/esm2022/object-details/lib/object-details-shell/object-details-shell.component.mjs +127 -0
- package/esm2022/object-details/lib/object-details.component.mjs +61 -0
- package/esm2022/object-details/lib/object-metadata/form-section-group.pipe.mjs +17 -0
- package/esm2022/object-details/lib/object-metadata/object-metadata.component.mjs +201 -0
- package/esm2022/object-details/lib/object-metadata/object-metadata.interface.mjs +2 -0
- package/esm2022/object-details/yuuvis-client-framework-object-details.mjs +5 -0
- package/esm2022/object-flavor/index.mjs +6 -0
- package/esm2022/object-flavor/lib/abstract-apply-create-flavor/abstract-apply-create-flavor.component.mjs +25 -0
- package/esm2022/object-flavor/lib/abstract-apply-object-flavor/abstract-apply-object-flavor.component.mjs +21 -0
- package/esm2022/object-flavor/lib/flavor-chip/flavor-chip.component.mjs +35 -0
- package/esm2022/object-flavor/lib/object-flavor/object-flavor.component.mjs +93 -0
- package/esm2022/object-flavor/lib/object-flavor-picker/object-flavor-picker.component.mjs +43 -0
- package/esm2022/object-flavor/yuuvis-client-framework-object-flavor.mjs +5 -0
- package/esm2022/object-form/index.mjs +5 -0
- package/esm2022/object-form/lib/form-scripting.api.interface.mjs +2 -0
- package/esm2022/object-form/lib/form-scripting.service.mjs +160 -0
- package/esm2022/object-form/lib/object-form-element/object-form-element.component.mjs +87 -0
- package/esm2022/object-form/lib/object-form-extension.interface.mjs +36 -0
- package/esm2022/object-form/lib/object-form-group/object-form-group.component.mjs +85 -0
- package/esm2022/object-form/lib/object-form-script/form-scripting-element-extension/form-scripting-element-extension.component.mjs +23 -0
- package/esm2022/object-form/lib/object-form-script/object-form-script.service.mjs +115 -0
- package/esm2022/object-form/lib/object-form-script/object-form-scripting-scope.mjs +251 -0
- package/esm2022/object-form/lib/object-form-translate.service.mjs +73 -0
- package/esm2022/object-form/lib/object-form.component.mjs +627 -0
- package/esm2022/object-form/lib/object-form.interface.mjs +9 -0
- package/esm2022/object-form/lib/object-form.model.mjs +20 -0
- package/esm2022/object-form/lib/object-form.service.mjs +127 -0
- package/esm2022/object-form/lib/object-form.utils.mjs +55 -0
- package/esm2022/object-form/lib/object-form.validation.mjs +48 -0
- package/esm2022/object-form/yuuvis-client-framework-object-form.mjs +5 -0
- package/esm2022/object-preview/index.mjs +3 -0
- package/esm2022/object-preview/lib/components/index.mjs +3 -0
- package/esm2022/object-preview/lib/components/object-email-preview/object-email-preview.component.mjs +45 -0
- package/esm2022/object-preview/lib/components/object-preview/object-preview.component.mjs +78 -0
- package/esm2022/object-preview/lib/services/object-preview.service.mjs +92 -0
- package/esm2022/object-preview/yuuvis-client-framework-object-preview.mjs +5 -0
- package/esm2022/object-summary/index.mjs +5 -0
- package/esm2022/object-summary/lib/multi-object-summary/multi-object-summary.component.mjs +33 -0
- package/esm2022/object-summary/lib/object-summary/object-summary.component.mjs +273 -0
- package/esm2022/object-summary/lib/object-summary-data/object-summary-data.component.mjs +80 -0
- package/esm2022/object-summary/lib/object-summary.module.mjs +15 -0
- package/esm2022/object-summary/yuuvis-client-framework-object-summary.mjs +5 -0
- package/esm2022/pagination/index.mjs +3 -0
- package/esm2022/pagination/lib/pagination.component.mjs +48 -0
- package/esm2022/pagination/lib/pagination.interface.mjs +2 -0
- package/esm2022/pagination/yuuvis-client-framework-pagination.mjs +5 -0
- package/esm2022/panel/index.mjs +2 -0
- package/esm2022/panel/lib/panel.component.mjs +20 -0
- package/esm2022/panel/yuuvis-client-framework-panel.mjs +5 -0
- package/esm2022/renderer/index.mjs +11 -0
- package/esm2022/renderer/lib/property-renderer/abstract.renderer.mjs +29 -0
- package/esm2022/renderer/lib/property-renderer/datetime.renderer.mjs +13 -0
- package/esm2022/renderer/lib/property-renderer/decimal.renderer.component.mjs +12 -0
- package/esm2022/renderer/lib/property-renderer/filesize.renderer.component.mjs +28 -0
- package/esm2022/renderer/lib/property-renderer/icon.renderer.component.mjs +23 -0
- package/esm2022/renderer/lib/property-renderer/integer.renderer.component.mjs +12 -0
- package/esm2022/renderer/lib/property-renderer/organization.renderer.mjs +19 -0
- package/esm2022/renderer/lib/property-renderer/string.renderer.component.mjs +12 -0
- package/esm2022/renderer/lib/property-renderer/unknown.renderer.mjs +12 -0
- package/esm2022/renderer/lib/renderer.directive.mjs +51 -0
- package/esm2022/renderer/lib/services/renderer/renderer.interface.mjs +2 -0
- package/esm2022/renderer/lib/services/renderer/renderer.service.mjs +84 -0
- package/esm2022/renderer/yuuvis-client-framework-renderer.mjs +5 -0
- package/esm2022/sequence-list/index.mjs +6 -0
- package/esm2022/sequence-list/lib/due-date-picker/due-date-picker.component.mjs +99 -0
- package/esm2022/sequence-list/lib/sequence-list-template-manage/sequence-list-template-manage.component.mjs +183 -0
- package/esm2022/sequence-list/lib/sequence-list-templates/sequence-list-templates.component.mjs +114 -0
- package/esm2022/sequence-list/lib/sequence-list.component.mjs +146 -0
- package/esm2022/sequence-list/lib/sequence-list.interface.mjs +2 -0
- package/esm2022/sequence-list/yuuvis-client-framework-sequence-list.mjs +5 -0
- package/esm2022/simple-search/index.mjs +3 -0
- package/esm2022/simple-search/lib/simple-search/simple-search.component.mjs +111 -0
- package/esm2022/simple-search/lib/simple-search/simple-search.interface.mjs +2 -0
- package/esm2022/simple-search/yuuvis-client-framework-simple-search.mjs +5 -0
- package/esm2022/tile-list/index.mjs +11 -0
- package/esm2022/tile-list/lib/tile/tile.component.mjs +53 -0
- package/esm2022/tile-list/lib/tile-config/action-select/action-select.component.mjs +22 -0
- package/esm2022/tile-list/lib/tile-config/icon-select/icon-select.component.mjs +33 -0
- package/esm2022/tile-list/lib/tile-config/property-select/property-select.component.mjs +91 -0
- package/esm2022/tile-list/lib/tile-config/tile-config-tile/tile-config-tile.component.mjs +66 -0
- package/esm2022/tile-list/lib/tile-config/tile-config-trigger/tile-config-trigger.component.mjs +46 -0
- package/esm2022/tile-list/lib/tile-config/tile-config.component.mjs +156 -0
- package/esm2022/tile-list/lib/tile-extension/directive/tile-extension.directive.mjs +37 -0
- package/esm2022/tile-list/lib/tile-extension/extensions/email.extension.mjs +42 -0
- package/esm2022/tile-list/lib/tile-extension/tile-extension.service.mjs +35 -0
- package/esm2022/tile-list/lib/tile-list/tile-list.component.mjs +510 -0
- package/esm2022/tile-list/lib/tile-list/tile-list.interface.mjs +2 -0
- package/esm2022/tile-list/yuuvis-client-framework-tile-list.mjs +5 -0
- package/esm2022/token-search/index.mjs +3 -0
- package/esm2022/token-search/token-search.component.mjs +78 -0
- package/esm2022/token-search/token-search.interface.mjs +2 -0
- package/esm2022/token-search/yuuvis-client-framework-token-search.mjs +5 -0
- package/esm2022/tree/index.mjs +3 -0
- package/esm2022/tree/lib/tree-node/tree-node.component.mjs +65 -0
- package/esm2022/tree/lib/tree.component.mjs +148 -0
- package/esm2022/tree/lib/tree.interface.mjs +2 -0
- package/esm2022/tree/lib/tree.service.mjs +95 -0
- package/esm2022/tree/yuuvis-client-framework-tree.mjs +5 -0
- package/esm2022/upload-progress/index.mjs +2 -0
- package/esm2022/upload-progress/lib/upload-progress/upload-progress-overlay/upload-progress-overlay.component.mjs +49 -0
- package/esm2022/upload-progress/lib/upload-progress/upload-progress.component.mjs +37 -0
- package/esm2022/upload-progress/yuuvis-client-framework-upload-progress.mjs +5 -0
- package/esm2022/user-avatar/index.mjs +3 -0
- package/esm2022/user-avatar/lib/user-avatar.component.mjs +69 -0
- package/esm2022/user-avatar/lib/user-avatar.module.mjs +24 -0
- package/esm2022/user-avatar/yuuvis-client-framework-user-avatar.mjs +5 -0
- package/esm2022/yuuvis-client-framework.mjs +5 -0
- package/fesm2022/yuuvis-client-framework-actions.mjs +333 -0
- package/fesm2022/yuuvis-client-framework-actions.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-app-bar.mjs +96 -0
- package/fesm2022/yuuvis-client-framework-app-bar.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-clipboard.mjs +55 -0
- package/fesm2022/yuuvis-client-framework-clipboard.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-common.mjs +1020 -0
- package/fesm2022/yuuvis-client-framework-common.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-forms.mjs +1355 -0
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-icons.mjs +123 -0
- package/fesm2022/yuuvis-client-framework-icons.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-list.mjs +209 -0
- package/fesm2022/yuuvis-client-framework-list.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs +302 -0
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-object-details.mjs +583 -0
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs +200 -0
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-object-form.mjs +1664 -0
- package/fesm2022/yuuvis-client-framework-object-form.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-object-preview.mjs +213 -0
- package/fesm2022/yuuvis-client-framework-object-preview.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-object-summary.mjs +397 -0
- package/fesm2022/yuuvis-client-framework-object-summary.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-pagination.mjs +55 -0
- package/fesm2022/yuuvis-client-framework-pagination.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-panel.mjs +27 -0
- package/fesm2022/yuuvis-client-framework-panel.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-renderer.mjs +262 -0
- package/fesm2022/yuuvis-client-framework-renderer.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-sequence-list.mjs +519 -0
- package/fesm2022/yuuvis-client-framework-sequence-list.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-simple-search.mjs +118 -0
- package/fesm2022/yuuvis-client-framework-simple-search.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +1036 -0
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-token-search.mjs +85 -0
- package/fesm2022/yuuvis-client-framework-token-search.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-tree.mjs +307 -0
- package/fesm2022/yuuvis-client-framework-tree.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs +84 -0
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-user-avatar.mjs +96 -0
- package/fesm2022/yuuvis-client-framework-user-avatar.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework.mjs +22 -0
- package/fesm2022/yuuvis-client-framework.mjs.map +1 -0
- package/forms/README.md +3 -0
- package/forms/index.d.ts +9 -0
- package/forms/lib/elements/catalog/catalog.component.d.ts +68 -0
- package/forms/lib/elements/datetime/datetime.component.d.ts +32 -0
- package/forms/lib/elements/datetime-range/datetime-range.component.d.ts +51 -0
- package/forms/lib/elements/number/number.component.d.ts +77 -0
- package/forms/lib/elements/number-range/number-range.component.d.ts +66 -0
- package/forms/lib/elements/organization/organization.component.d.ts +93 -0
- package/forms/lib/elements/string/string.component.d.ts +104 -0
- package/forms/lib/form-input/form-input.component.d.ts +48 -0
- package/forms/lib/forms.module.d.ts +16 -0
- package/icons/README.md +5 -0
- package/icons/index.d.ts +3 -0
- package/icons/lib/icon.service.d.ts +38 -0
- package/icons/lib/icons.d.ts +1 -0
- package/icons/lib/object-type-icon/object-type-icon.component.d.ts +11 -0
- package/index.d.ts +1 -0
- package/lib/yuuvis-client-framework.module.d.ts +7 -0
- package/list/README.md +3 -0
- package/list/index.d.ts +2 -0
- package/list/lib/list-item.directive.d.ts +15 -0
- package/list/lib/list.component.d.ts +36 -0
- package/metadata-form/README.md +21 -0
- package/metadata-form/index.d.ts +3 -0
- package/metadata-form/lib/metadata-default-templates/metadata-default-templates.component.d.ts +5 -0
- package/metadata-form/lib/metadata-form-element-registry.service.d.ts +47 -0
- package/metadata-form/lib/metadata-form-field/metadata-form-field.component.d.ts +31 -0
- package/metadata-form/lib/object-metadata-element-template.directive.d.ts +27 -0
- package/object-details/README.md +28 -0
- package/object-details/index.d.ts +6 -0
- package/object-details/lib/object-audit/object-audit.component.d.ts +59 -0
- package/object-details/lib/object-details-shell/object-details-shell.component.d.ts +51 -0
- package/object-details/lib/object-details.component.d.ts +36 -0
- package/object-details/lib/object-metadata/form-section-group.pipe.d.ts +8 -0
- package/object-details/lib/object-metadata/object-metadata.component.d.ts +48 -0
- package/object-details/lib/object-metadata/object-metadata.interface.d.ts +26 -0
- package/object-flavor/README.md +3 -0
- package/object-flavor/index.d.ts +5 -0
- package/object-flavor/lib/abstract-apply-create-flavor/abstract-apply-create-flavor.component.d.ts +12 -0
- package/object-flavor/lib/abstract-apply-object-flavor/abstract-apply-object-flavor.component.d.ts +12 -0
- package/object-flavor/lib/flavor-chip/flavor-chip.component.d.ts +17 -0
- package/object-flavor/lib/object-flavor/object-flavor.component.d.ts +26 -0
- package/object-flavor/lib/object-flavor-picker/object-flavor-picker.component.d.ts +10 -0
- package/object-form/README.md +3 -0
- package/object-form/index.d.ts +4 -0
- package/object-form/lib/form-scripting.api.interface.d.ts +131 -0
- package/object-form/lib/form-scripting.service.d.ts +30 -0
- package/object-form/lib/object-form-element/object-form-element.component.d.ts +22 -0
- package/object-form/lib/object-form-extension.interface.d.ts +22 -0
- package/object-form/lib/object-form-group/object-form-group.component.d.ts +22 -0
- package/object-form/lib/object-form-script/form-scripting-element-extension/form-scripting-element-extension.component.d.ts +10 -0
- package/object-form/lib/object-form-script/object-form-script.service.d.ts +45 -0
- package/object-form/lib/object-form-script/object-form-scripting-scope.d.ts +50 -0
- package/object-form/lib/object-form-translate.service.d.ts +15 -0
- package/object-form/lib/object-form.component.d.ts +60 -0
- package/object-form/lib/object-form.interface.d.ts +113 -0
- package/object-form/lib/object-form.model.d.ts +18 -0
- package/object-form/lib/object-form.service.d.ts +39 -0
- package/object-form/lib/object-form.utils.d.ts +20 -0
- package/object-form/lib/object-form.validation.d.ts +21 -0
- package/object-preview/README.md +3 -0
- package/object-preview/index.d.ts +2 -0
- package/object-preview/lib/components/index.d.ts +2 -0
- package/object-preview/lib/components/object-email-preview/object-email-preview.component.d.ts +16 -0
- package/object-preview/lib/components/object-preview/object-preview.component.d.ts +13 -0
- package/object-preview/lib/services/object-preview.service.d.ts +37 -0
- package/object-summary/README.md +3 -0
- package/object-summary/index.d.ts +4 -0
- package/object-summary/lib/multi-object-summary/multi-object-summary.component.d.ts +7 -0
- package/object-summary/lib/object-summary/object-summary.component.d.ts +73 -0
- package/object-summary/lib/object-summary-data/object-summary-data.component.d.ts +11 -0
- package/object-summary/lib/object-summary.module.d.ts +7 -0
- package/package.json +173 -0
- package/pagination/README.md +3 -0
- package/pagination/index.d.ts +2 -0
- package/pagination/lib/pagination.component.d.ts +18 -0
- package/pagination/lib/pagination.interface.d.ts +5 -0
- package/panel/README.md +3 -0
- package/panel/index.d.ts +1 -0
- package/panel/lib/panel.component.d.ts +12 -0
- package/renderer/README.md +5 -0
- package/renderer/index.d.ts +10 -0
- package/renderer/lib/property-renderer/abstract.renderer.d.ts +14 -0
- package/renderer/lib/property-renderer/datetime.renderer.d.ts +6 -0
- package/renderer/lib/property-renderer/decimal.renderer.component.d.ts +6 -0
- package/renderer/lib/property-renderer/filesize.renderer.component.d.ts +7 -0
- package/renderer/lib/property-renderer/icon.renderer.component.d.ts +6 -0
- package/renderer/lib/property-renderer/integer.renderer.component.d.ts +6 -0
- package/renderer/lib/property-renderer/organization.renderer.d.ts +7 -0
- package/renderer/lib/property-renderer/string.renderer.component.d.ts +6 -0
- package/renderer/lib/property-renderer/unknown.renderer.d.ts +6 -0
- package/renderer/lib/renderer.directive.d.ts +17 -0
- package/renderer/lib/services/renderer/renderer.interface.d.ts +8 -0
- package/renderer/lib/services/renderer/renderer.service.d.ts +35 -0
- package/sequence-list/README.md +3 -0
- package/sequence-list/index.d.ts +5 -0
- package/sequence-list/lib/due-date-picker/due-date-picker.component.d.ts +28 -0
- package/sequence-list/lib/sequence-list-template-manage/sequence-list-template-manage.component.d.ts +52 -0
- package/sequence-list/lib/sequence-list-templates/sequence-list-templates.component.d.ts +36 -0
- package/sequence-list/lib/sequence-list.component.d.ts +43 -0
- package/sequence-list/lib/sequence-list.interface.d.ts +16 -0
- package/simple-search/README.md +3 -0
- package/simple-search/index.d.ts +2 -0
- package/simple-search/lib/simple-search/simple-search.component.d.ts +55 -0
- package/simple-search/lib/simple-search/simple-search.interface.d.ts +4 -0
- package/styles/client-framework.scss +27 -0
- package/tile-list/README.md +3 -0
- package/tile-list/index.d.ts +10 -0
- package/tile-list/lib/tile/tile.component.d.ts +22 -0
- package/tile-list/lib/tile-config/action-select/action-select.component.d.ts +13 -0
- package/tile-list/lib/tile-config/icon-select/icon-select.component.d.ts +11 -0
- package/tile-list/lib/tile-config/property-select/property-select.component.d.ts +25 -0
- package/tile-list/lib/tile-config/tile-config-tile/tile-config-tile.component.d.ts +20 -0
- package/tile-list/lib/tile-config/tile-config-trigger/tile-config-trigger.component.d.ts +17 -0
- package/tile-list/lib/tile-config/tile-config.component.d.ts +47 -0
- package/tile-list/lib/tile-extension/directive/tile-extension.directive.d.ts +11 -0
- package/tile-list/lib/tile-extension/extensions/email.extension.d.ts +10 -0
- package/tile-list/lib/tile-extension/tile-extension.service.d.ts +16 -0
- package/tile-list/lib/tile-list/tile-list.component.d.ts +116 -0
- package/tile-list/lib/tile-list/tile-list.interface.d.ts +18 -0
- package/token-search/README.md +3 -0
- package/token-search/index.d.ts +2 -0
- package/token-search/token-search.component.d.ts +22 -0
- package/token-search/token-search.interface.d.ts +4 -0
- package/tree/README.md +3 -0
- package/tree/index.d.ts +2 -0
- package/tree/lib/tree-node/tree-node.component.d.ts +21 -0
- package/tree/lib/tree.component.d.ts +53 -0
- package/tree/lib/tree.interface.d.ts +11 -0
- package/tree/lib/tree.service.d.ts +35 -0
- package/upload-progress/README.md +3 -0
- package/upload-progress/index.d.ts +1 -0
- package/upload-progress/lib/upload-progress/upload-progress-overlay/upload-progress-overlay.component.d.ts +17 -0
- package/upload-progress/lib/upload-progress/upload-progress.component.d.ts +16 -0
- package/user-avatar/README.md +3 -0
- package/user-avatar/index.d.ts +2 -0
- package/user-avatar/lib/user-avatar.component.d.ts +44 -0
- package/user-avatar/lib/user-avatar.module.d.ts +8 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class YuuvisClientFrameworkModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: YuuvisClientFrameworkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: YuuvisClientFrameworkModule, imports: [CommonModule] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: YuuvisClientFrameworkModule, imports: [CommonModule] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: YuuvisClientFrameworkModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Generated bundle index. Do not edit.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export { YuuvisClientFrameworkModule };
|
|
22
|
+
//# sourceMappingURL=yuuvis-client-framework.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yuuvis-client-framework.mjs","sources":["../../../../../libs/yuuvis/client-framework/src/lib/yuuvis-client-framework.module.ts","../../../../../libs/yuuvis/client-framework/src/yuuvis-client-framework.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n imports: [CommonModule],\n})\nexport class YuuvisClientFrameworkModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,2BAA2B,CAAA;+GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAF5B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;AAEX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAF5B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAHvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
package/forms/README.md
ADDED
package/forms/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { CatalogComponent } from './lib/elements/catalog/catalog.component';
|
|
2
|
+
export { DatetimeRangeComponent } from './lib/elements/datetime-range/datetime-range.component';
|
|
3
|
+
export { DatetimeComponent } from './lib/elements/datetime/datetime.component';
|
|
4
|
+
export { NumberRangeComponent } from './lib/elements/number-range/number-range.component';
|
|
5
|
+
export { NumberComponent } from './lib/elements/number/number.component';
|
|
6
|
+
export { OrganizationComponent } from './lib/elements/organization/organization.component';
|
|
7
|
+
export { StringComponent } from './lib/elements/string/string.component';
|
|
8
|
+
export { FormInputComponent } from './lib/form-input/form-input.component';
|
|
9
|
+
export * from './lib/forms.module';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { SystemService } from '@yuuvis/client-core';
|
|
3
|
+
import { DropdownOption } from '@yuuvis/components/dropdown';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Component rendering a simple catalog as form element.
|
|
7
|
+
* There are two ways how to use this component. One is to add options as an array
|
|
8
|
+
* of strings on your own, the second one is to apply a special classification.
|
|
9
|
+
*
|
|
10
|
+
* Classifications are used within form models and rendered as object forms. Elements
|
|
11
|
+
* with a classification of `catalog[Item1, Item2, Item3]` will use this component
|
|
12
|
+
* as well. So you may also choose to set a classification like this in order to
|
|
13
|
+
* apply your options.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <!-- setting options as string array -->
|
|
17
|
+
* <yuv-catalog [options]="cities" [(ngModel)]="hometown"></yuv-catalog>
|
|
18
|
+
*
|
|
19
|
+
* <!-- setting options using a classification -->
|
|
20
|
+
* <yuv-catalog [classification]="'catalog[Berlin, Chicago, Paris]'" [(ngModel)]="hometown"></yuv-catalog>
|
|
21
|
+
*/
|
|
22
|
+
export declare class CatalogComponent implements ControlValueAccessor {
|
|
23
|
+
private systemService;
|
|
24
|
+
value?: string | string[];
|
|
25
|
+
_options: DropdownOption[];
|
|
26
|
+
getLabel: (value: any) => any;
|
|
27
|
+
/**
|
|
28
|
+
* Enable filtering of options
|
|
29
|
+
*/
|
|
30
|
+
filter: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Possibles values are `EDIT` (default),`SEARCH`,`CREATE`. In search situation validation of the form element will be turned off, so you are able to enter search terms that do not meet the elements validators.
|
|
33
|
+
*/
|
|
34
|
+
situation?: string;
|
|
35
|
+
/**
|
|
36
|
+
* By default a filter panel will shown if the number of options exceeds 10 entries. You could
|
|
37
|
+
* change this number.
|
|
38
|
+
*/
|
|
39
|
+
enableFilterWhenOptionsExceed: number;
|
|
40
|
+
/**
|
|
41
|
+
* Array of selectable entries
|
|
42
|
+
*/
|
|
43
|
+
set options(options: (string | any)[]);
|
|
44
|
+
/**
|
|
45
|
+
* Indicator that multiple items could be selected
|
|
46
|
+
*/
|
|
47
|
+
multiselect: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Additional semantics for the form element.
|
|
50
|
+
*/
|
|
51
|
+
set classifications(c: string[]);
|
|
52
|
+
/**
|
|
53
|
+
* Will attch the overlay to this HTMLelement
|
|
54
|
+
*/
|
|
55
|
+
appendTo: null;
|
|
56
|
+
/**
|
|
57
|
+
* Will prevent the input from being changed (default: false)
|
|
58
|
+
*/
|
|
59
|
+
readonly: boolean;
|
|
60
|
+
constructor(systemService: SystemService);
|
|
61
|
+
propagateChange: (_: any) => void;
|
|
62
|
+
writeValue(value: any): void;
|
|
63
|
+
registerOnChange(fn: any): void;
|
|
64
|
+
registerOnTouched(fn: any): void;
|
|
65
|
+
onChange(value: string[] | string | undefined): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "yuv-catalog", never, { "filter": { "alias": "filter"; "required": false; }; "situation": { "alias": "situation"; "required": false; }; "enableFilterWhenOptionsExceed": { "alias": "enableFilterWhenOptionsExceed"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "classifications": { "alias": "classifications"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { DatepickerLabels } from '@yuuvis/components/datepicker';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DatetimeComponent implements ControlValueAccessor {
|
|
5
|
+
private translate;
|
|
6
|
+
value: Date | null;
|
|
7
|
+
locale: string;
|
|
8
|
+
labels?: DatepickerLabels;
|
|
9
|
+
/**
|
|
10
|
+
* Whether or not to allow only values in the future (default: false)
|
|
11
|
+
*/
|
|
12
|
+
onlyFutureDates: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Will prevent the input from being changed (default: false)
|
|
15
|
+
*/
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Enables setting time as well (default: false)
|
|
19
|
+
*/
|
|
20
|
+
withTime: boolean;
|
|
21
|
+
constructor();
|
|
22
|
+
private _setLabels;
|
|
23
|
+
propagateChange: (fn: () => void) => void;
|
|
24
|
+
validationChange: () => void;
|
|
25
|
+
writeValue(value: any): void;
|
|
26
|
+
registerOnChange(fn: () => void): void;
|
|
27
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
28
|
+
registerOnTouched(): void;
|
|
29
|
+
onValueChange(e: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "yuv-datetime", never, { "onlyFutureDates": { "alias": "onlyFutureDates"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormGroup, Validator } from '@angular/forms';
|
|
3
|
+
import { Operator, RangeValue } from '@yuuvis/client-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DatetimeRangeComponent implements ControlValueAccessor, Validator, OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
/**
|
|
8
|
+
* Enables setting time as well (default: false)
|
|
9
|
+
*/
|
|
10
|
+
withTime: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Will prevent the input from being changed (default: false)
|
|
13
|
+
*/
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
operator: string;
|
|
16
|
+
rangeForm: FormGroup;
|
|
17
|
+
value?: RangeValue;
|
|
18
|
+
private _isValid;
|
|
19
|
+
availableSearchOptions: {
|
|
20
|
+
label: string;
|
|
21
|
+
value: Operator;
|
|
22
|
+
}[];
|
|
23
|
+
searchOption: Operator;
|
|
24
|
+
propagateChange: (_: any) => void;
|
|
25
|
+
writeValue(value: RangeValue): void;
|
|
26
|
+
registerOnChange(fn: any): void;
|
|
27
|
+
registerOnTouched(fn: any): void;
|
|
28
|
+
onValueChange(): void;
|
|
29
|
+
validate(): {
|
|
30
|
+
datecontrol: {
|
|
31
|
+
valid: boolean;
|
|
32
|
+
};
|
|
33
|
+
daterangeorder?: undefined;
|
|
34
|
+
daterange?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
daterangeorder: {
|
|
37
|
+
valid: boolean;
|
|
38
|
+
};
|
|
39
|
+
datecontrol?: undefined;
|
|
40
|
+
daterange?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
daterange: {
|
|
43
|
+
valid: boolean;
|
|
44
|
+
};
|
|
45
|
+
datecontrol?: undefined;
|
|
46
|
+
daterangeorder?: undefined;
|
|
47
|
+
} | null;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeRangeComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeRangeComponent, "yuv-datetime-range", never, { "withTime": { "alias": "withTime"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "operator": { "alias": "operator"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
+
import { TranslateService } from '@yuuvis/client-core';
|
|
3
|
+
import { FileSizePipe, LocaleNumberPipe } from '@yuuvis/client-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Creates form input for number values.
|
|
7
|
+
*
|
|
8
|
+
* Implements `ControlValueAccessor` so it can be used within Angular forms.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <yuv-number [scale]="2"></yuv-number>
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare class NumberComponent implements ControlValueAccessor, Validator {
|
|
15
|
+
private translate;
|
|
16
|
+
value?: number;
|
|
17
|
+
innerValue: string | null;
|
|
18
|
+
_scale?: number;
|
|
19
|
+
_precision?: number;
|
|
20
|
+
_pattern?: string;
|
|
21
|
+
_grouping: boolean;
|
|
22
|
+
validationErrors: ValidationErrors[];
|
|
23
|
+
numberPipe: LocaleNumberPipe | FileSizePipe;
|
|
24
|
+
/**
|
|
25
|
+
* Number of decimal places
|
|
26
|
+
*/
|
|
27
|
+
set scale(val: number | undefined);
|
|
28
|
+
get scale(): number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Overall amount of digits allowed (including decimal places)
|
|
31
|
+
*/
|
|
32
|
+
set precision(val: number | undefined);
|
|
33
|
+
get precision(): number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Set to true to group number by pattern
|
|
36
|
+
*/
|
|
37
|
+
set grouping(val: boolean);
|
|
38
|
+
get grouping(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The pattern to group number value by
|
|
41
|
+
*/
|
|
42
|
+
set groupPattern(val: string | undefined);
|
|
43
|
+
get groupPattern(): string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Will prevent the input from being changed (default: false)
|
|
46
|
+
*/
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* set minimum input value
|
|
50
|
+
*/
|
|
51
|
+
minValue?: number;
|
|
52
|
+
/**
|
|
53
|
+
* set maximum input value
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
maxValue?: number;
|
|
57
|
+
/**
|
|
58
|
+
* classification property adds some semantics to the value of this component.
|
|
59
|
+
* If you provide a value of `filesize` numbers typed into the control will be
|
|
60
|
+
* handled like file sizes (calculates differnt units)
|
|
61
|
+
*/
|
|
62
|
+
set classifications(classifications: string[]);
|
|
63
|
+
static betweenTwoNumbers(val: number, minVal: number | undefined, maxVal: number | undefined): boolean;
|
|
64
|
+
constructor(translate: TranslateService);
|
|
65
|
+
propagateChange: (_: any) => void;
|
|
66
|
+
writeValue(value: any): void;
|
|
67
|
+
registerOnChange(fn: any): void;
|
|
68
|
+
registerOnTouched(): void;
|
|
69
|
+
onValueChange(evt: any): void;
|
|
70
|
+
format(): void;
|
|
71
|
+
unformat(): void;
|
|
72
|
+
validate(): {
|
|
73
|
+
[key: string]: unknown;
|
|
74
|
+
} | null;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "yuv-number", never, { "scale": { "alias": "scale"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "groupPattern": { "alias": "groupPattern"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classifications": { "alias": "classifications"; "required": false; }; }, {}, never, never, true, never>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ControlValueAccessor, UntypedFormGroup, Validator } from '@angular/forms';
|
|
2
|
+
import { Operator, RangeValue } from '@yuuvis/client-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Creates form input for ranges of numeric values.
|
|
6
|
+
*
|
|
7
|
+
* Implements `ControlValueAccessor` so it can be used within Angular forms.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <yuv-number-range [scale]="2"></yuv-number-range>
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare class NumberRangeComponent implements ControlValueAccessor, Validator {
|
|
14
|
+
/**
|
|
15
|
+
* Number of decimal places
|
|
16
|
+
*/
|
|
17
|
+
scale?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Overall amount of digits allowed (including decimal places)
|
|
20
|
+
*/
|
|
21
|
+
precision?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Set to true to group number by pattern
|
|
24
|
+
*/
|
|
25
|
+
grouping: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The pattern to group number value by
|
|
28
|
+
*/
|
|
29
|
+
pattern?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Will prevent the input from being changed (default: false)
|
|
32
|
+
*/
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* classification property adds some semantics to the value of this component.
|
|
36
|
+
* If you provide a value of `filesize` numbers typed into the control will be
|
|
37
|
+
* handled like file sizes (calculates differnt units)
|
|
38
|
+
*/
|
|
39
|
+
classifications: string[];
|
|
40
|
+
/**
|
|
41
|
+
* set minimum input value
|
|
42
|
+
*/
|
|
43
|
+
minValue?: number;
|
|
44
|
+
/**
|
|
45
|
+
* set maximum input value
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
maxValue?: number;
|
|
49
|
+
rangeForm: UntypedFormGroup;
|
|
50
|
+
value?: RangeValue;
|
|
51
|
+
private isValid;
|
|
52
|
+
availableSearchOptions: {
|
|
53
|
+
label: string;
|
|
54
|
+
value: Operator;
|
|
55
|
+
}[];
|
|
56
|
+
searchOption: Operator;
|
|
57
|
+
constructor();
|
|
58
|
+
propagateChange: (_: any) => void;
|
|
59
|
+
writeValue(value: RangeValue): void;
|
|
60
|
+
registerOnChange(fn: any): void;
|
|
61
|
+
registerOnTouched(fn: any): void;
|
|
62
|
+
onValueChange(): void;
|
|
63
|
+
validate(): any;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberRangeComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberRangeComponent, "yuv-number-range", never, { "scale": { "alias": "scale"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "classifications": { "alias": "classifications"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, Validator } from '@angular/forms';
|
|
3
|
+
import { YuvUser } from '@yuuvis/client-core';
|
|
4
|
+
import { AutoComplete } from '@yuuvis/components/autocomplete';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Creates form input for organisation values.
|
|
8
|
+
* Implements `ControlValueAccessor` so it can be used within Angular forms.
|
|
9
|
+
*
|
|
10
|
+
* [Screenshot](../assets/images/yuv-organization.gif)
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* <yuv-organization [multiselect]="true"></yuv-organization>
|
|
14
|
+
*/
|
|
15
|
+
export declare class OrganizationComponent implements ControlValueAccessor, Validator {
|
|
16
|
+
#private;
|
|
17
|
+
private system;
|
|
18
|
+
private userService;
|
|
19
|
+
autoCompleteInput: AutoComplete;
|
|
20
|
+
minLength: number;
|
|
21
|
+
icons: {
|
|
22
|
+
organizationMulti: any;
|
|
23
|
+
organization: any;
|
|
24
|
+
};
|
|
25
|
+
private isValidInput;
|
|
26
|
+
value: string | string[] | null;
|
|
27
|
+
_innerValue: YuvUser[];
|
|
28
|
+
set innerValue(iv: YuvUser[]);
|
|
29
|
+
get innerValue(): YuvUser[];
|
|
30
|
+
autocompleteRes: YuvUser[];
|
|
31
|
+
private filterRoles;
|
|
32
|
+
onKeydownHandler(event: KeyboardEvent): void;
|
|
33
|
+
get _inputDisabled(): boolean;
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Possibles values are `EDIT` (default),`SEARCH`,`CREATE`. In search situation validation of the form element will be turned off, so you are able to enter search terms that do not meet the elements validators.
|
|
37
|
+
*/
|
|
38
|
+
situation?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Indicator that multiple strings could be inserted, they will be rendered as chips (default: false).
|
|
41
|
+
*/
|
|
42
|
+
multiselect: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Additional semantics for the form element.
|
|
45
|
+
*/
|
|
46
|
+
private _classifications?;
|
|
47
|
+
set classifications(c: string[] | undefined);
|
|
48
|
+
get classifications(): string[] | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Will prevent the input from being changed (default: false)
|
|
51
|
+
*/
|
|
52
|
+
readonly: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Set this to true and the component will try to gain focus once it has been rendered.
|
|
55
|
+
* Notice that this is not reliable. If there are any other components that are rendered
|
|
56
|
+
* later and also try to be focused, they will 'win', because there can only be one focus.
|
|
57
|
+
*/
|
|
58
|
+
autofocus: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Will attch the overlay to this HTMLelement
|
|
61
|
+
*/
|
|
62
|
+
appendTo: null;
|
|
63
|
+
/**
|
|
64
|
+
* Whether or not to exclude the current user from autocomplete result
|
|
65
|
+
*/
|
|
66
|
+
excludeMe: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether or not the emitted value should be an object containing id and title
|
|
69
|
+
* or, if set to false only the ID
|
|
70
|
+
*/
|
|
71
|
+
withMetadata: import("@angular/core").InputSignal<boolean>;
|
|
72
|
+
userSelect: EventEmitter<YuvUser[]>;
|
|
73
|
+
propagateChange: (_: any) => void;
|
|
74
|
+
writeValue(value: any): void;
|
|
75
|
+
registerOnChange(fn: any): void;
|
|
76
|
+
registerOnTouched(fn: any): void;
|
|
77
|
+
private propagate;
|
|
78
|
+
focusInput(): void;
|
|
79
|
+
resolveFn(value: any): import("rxjs").Subscription;
|
|
80
|
+
autocompleteFn(query: string): void;
|
|
81
|
+
validate(): {
|
|
82
|
+
empty: {
|
|
83
|
+
valid: boolean;
|
|
84
|
+
};
|
|
85
|
+
} | null;
|
|
86
|
+
propagateValidity(valid?: boolean): void;
|
|
87
|
+
onSelect(): void;
|
|
88
|
+
onUnselect(value: any): void;
|
|
89
|
+
onAutoCompleteBlur(): void;
|
|
90
|
+
private clearInnerInput;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrganizationComponent, "yuv-organization", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "situation": { "alias": "situation"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "classifications": { "alias": "classifications"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "excludeMe": { "alias": "excludeMe"; "required": false; }; "withMetadata": { "alias": "withMetadata"; "required": false; "isSignal": true; }; }, { "userSelect": "userSelect"; }, never, never, true, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, Validator } from '@angular/forms';
|
|
3
|
+
import { FormattedMailTo } from '@yuuvis/client-core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Creates form input for strings. Based on the input values different kinds of inputs will be generated.
|
|
7
|
+
*
|
|
8
|
+
* Implements `ControlValueAccessor` so it can be used within Angular forms.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <!-- string input validating input to be between 5 and 10 characters -->
|
|
12
|
+
* <yuv-string [minLength]="5" [maxLength]="10"></yuv-string>
|
|
13
|
+
*
|
|
14
|
+
* <!-- string input that only allow digits -->
|
|
15
|
+
* <yuv-string [regex]="[0-9]*"></yuv-string>
|
|
16
|
+
*
|
|
17
|
+
* <!-- string input rendering a large textarea -->
|
|
18
|
+
* <yuv-string [rows]="10"></yuv-string>
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class StringComponent implements ControlValueAccessor, Validator, AfterViewInit {
|
|
22
|
+
private iconsService;
|
|
23
|
+
private elementRef;
|
|
24
|
+
classifiytionIcons: {
|
|
25
|
+
email: string;
|
|
26
|
+
url: string;
|
|
27
|
+
phone: string;
|
|
28
|
+
};
|
|
29
|
+
maxEntryCountIfInvalid?: number;
|
|
30
|
+
fe: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Indicator that multiple strings could be inserted, they will be rendered as chips (default: false).
|
|
33
|
+
*/
|
|
34
|
+
multiselect: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Setting rows to more than 1 will generate a textarea instead of an input tag
|
|
37
|
+
* and apply the rows property to it
|
|
38
|
+
*/
|
|
39
|
+
rows?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Will prevent the input from being changed (default: false)
|
|
42
|
+
*/
|
|
43
|
+
readonly: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Enable autofucus for the input (default: false)
|
|
46
|
+
*/
|
|
47
|
+
autofocus: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Additional semantics for the form element. Possible values are
|
|
50
|
+
* `email` (validates and creates a link to send an email once there
|
|
51
|
+
* is a valid email address) and `url` (validates and creates a link
|
|
52
|
+
* to an URL typed into the form element).
|
|
53
|
+
*/
|
|
54
|
+
set classifications(c: string[]);
|
|
55
|
+
get classifications(): string[];
|
|
56
|
+
/**
|
|
57
|
+
* Possibles values are `EDIT` (default),`SEARCH`,`CREATE`. In search situation validation of the form element will be turned off, so you are able to enter search terms that do not meet the elements validators.
|
|
58
|
+
*/
|
|
59
|
+
situation?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Regular expression to validate the input value against
|
|
62
|
+
*/
|
|
63
|
+
regex?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Minimal number of characters
|
|
66
|
+
*/
|
|
67
|
+
minLength?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Maximum number of characters
|
|
70
|
+
*/
|
|
71
|
+
maxLength?: number;
|
|
72
|
+
value: any;
|
|
73
|
+
formatedValue?: FormattedMailTo;
|
|
74
|
+
valid: boolean;
|
|
75
|
+
validationErrors: {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
}[];
|
|
78
|
+
classify?: {
|
|
79
|
+
hrefPrefix: string;
|
|
80
|
+
icon: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
private _classifications;
|
|
83
|
+
propagateChange: (_: any) => void;
|
|
84
|
+
private propagate;
|
|
85
|
+
writeValue(value: any): void;
|
|
86
|
+
registerOnChange(fn: any): void;
|
|
87
|
+
registerOnTouched(): void;
|
|
88
|
+
onValueChange(val: any): void;
|
|
89
|
+
onBlur(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Trims the current value and returns wether or not it has been trimmed
|
|
92
|
+
*/
|
|
93
|
+
private trimValue;
|
|
94
|
+
private validateClassification;
|
|
95
|
+
/**
|
|
96
|
+
* returns null when valid else the validation object
|
|
97
|
+
*/
|
|
98
|
+
validate(): {
|
|
99
|
+
[key: string]: unknown;
|
|
100
|
+
} | null;
|
|
101
|
+
ngAfterViewInit(): void;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StringComponent, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringComponent, "yuv-string", never, { "multiselect": { "alias": "multiselect"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "classifications": { "alias": "classifications"; "required": false; }; "situation": { "alias": "situation"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Component for wrapping a form element. Provides a label and focus behaviour.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <yuv-form-input [label]="'my form element'">
|
|
8
|
+
* <!-- form element to be wrapped -->
|
|
9
|
+
* </yuv-form-input>
|
|
10
|
+
*/
|
|
11
|
+
export declare class FormInputComponent {
|
|
12
|
+
labelEl: ElementRef;
|
|
13
|
+
private renderer;
|
|
14
|
+
_label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* A label string for the wrapped form element
|
|
17
|
+
*/
|
|
18
|
+
set label(val: string);
|
|
19
|
+
/**
|
|
20
|
+
* A tag that can be applied to the input (including title that shows up once the user hovers the tag)
|
|
21
|
+
*/
|
|
22
|
+
tag?: {
|
|
23
|
+
label: string;
|
|
24
|
+
title: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Optional description for the form input
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Indicator that the wrapped form element is invalid. Will then render appropriate styles.
|
|
32
|
+
* You may also provide an array of error messages.
|
|
33
|
+
*/
|
|
34
|
+
set invalid(iv: boolean | string[] | undefined);
|
|
35
|
+
/**
|
|
36
|
+
* Indicator that the wrapped form element is disabled. Will then render appropriate styles.
|
|
37
|
+
*/
|
|
38
|
+
set disabled(d: boolean);
|
|
39
|
+
/**
|
|
40
|
+
* Indicator that the wrapped form element is mandatory. Will then render appropriate styles.
|
|
41
|
+
*/
|
|
42
|
+
set required(d: boolean);
|
|
43
|
+
isDisabled: boolean;
|
|
44
|
+
isInvalid: boolean;
|
|
45
|
+
isRequired: boolean;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "yuv-form-input", never, { "label": { "alias": "label"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "description": { "alias": "description"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "@yuuvis/components/common";
|
|
6
|
+
import * as i5 from "@yuuvis/components/autocomplete";
|
|
7
|
+
import * as i6 from "@yuuvis/components/datepicker";
|
|
8
|
+
import * as i7 from "@yuuvis/components/checkbox";
|
|
9
|
+
import * as i8 from "@yuuvis/components/icon";
|
|
10
|
+
import * as i9 from "@yuuvis/components/chips";
|
|
11
|
+
import * as i10 from "@yuuvis/components/dropdown";
|
|
12
|
+
export declare class YuvFormsModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YuvFormsModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<YuvFormsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.TranslateModule, typeof i2.ReactiveFormsModule, typeof i4.YvcFocusWithin, typeof i5.YvcAutocompleteModule, typeof i6.YvcDatepickerModule, typeof i2.FormsModule, typeof i7.YvcCheckboxModule, typeof i8.YvcIconModule, typeof i9.YvcChipsModule, typeof i10.YvcDropdownModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<YuvFormsModule>;
|
|
16
|
+
}
|
package/icons/README.md
ADDED
package/icons/index.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Service managing icons. Use `getIcon(id)` to retrieve the SVG string for that key.
|
|
4
|
+
* By default these SVGs will be served from the resources provided by this module.
|
|
5
|
+
* It contains several general [purpose icons](icons.ts). If you want to extend the
|
|
6
|
+
* list of icons or overwrite an existing icon use `registerIcon(s)` functions. If the
|
|
7
|
+
* id of an icon to be registered already exists it will be overwritten otherwise added
|
|
8
|
+
* to the list of available icons. Once registered icons are available across the whole
|
|
9
|
+
* application.
|
|
10
|
+
*/
|
|
11
|
+
export declare class IconService {
|
|
12
|
+
private _iconRegistry;
|
|
13
|
+
private _brokenIcon;
|
|
14
|
+
/**
|
|
15
|
+
* Get an icon. Based on its ID the service will try to retrieve the svg string
|
|
16
|
+
* from its internal icon registry or the default icons provided by the module
|
|
17
|
+
* @param id ID of the icon
|
|
18
|
+
* @returns SVG string or undefined if the icon could not be found
|
|
19
|
+
*/
|
|
20
|
+
getIcon(id: string): string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Register a new icon or overwrite an existing icon.
|
|
23
|
+
* @param id ID of the icon
|
|
24
|
+
* @param svg SVG string bound to that ID
|
|
25
|
+
*/
|
|
26
|
+
registerIcon(id: string, svg: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Register multiple icons at once
|
|
29
|
+
* @param icons Array of icons
|
|
30
|
+
*/
|
|
31
|
+
registerIcons(icons: {
|
|
32
|
+
id: string;
|
|
33
|
+
svg: string;
|
|
34
|
+
}[]): void;
|
|
35
|
+
private _isValidSVG;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YUV_ICONS: any;
|