@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
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# @yuuvis/client-framework
|
|
2
|
+
|
|
3
|
+
Component library for creating applications facing a yuuvis® MOMENTUM backend.
|
|
4
|
+
|
|
5
|
+
## Intentions
|
|
6
|
+
|
|
7
|
+
This library provides yuuvis developers with a collection of UI components for creating their own client applications.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
First you need to install the npm module:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @yuuvis/client-framework --save
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
As `@yuuvis/client-framework` is build on top of `@yuuvis/client-core` (a collection of services to interact with a yuuvis® MOMENTUM backend) you need to [import and configure `@yuuvis/client-core`](https://www.npmjs.com/package/@yuuvis/client-core) first.
|
|
20
|
+
|
|
21
|
+
### Add styles
|
|
22
|
+
|
|
23
|
+
You can import styles in your apps root `style.scss`:
|
|
24
|
+
|
|
25
|
+
```scss
|
|
26
|
+
@import '@yuuvis/client-framework/styles/client-framework.scss';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
... or set it up in your `angular.json`:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"project": {
|
|
34
|
+
"architect": {
|
|
35
|
+
"build": {
|
|
36
|
+
"styles": [
|
|
37
|
+
"node_modules/@yuuvis/client-framework/styles/client-framework.scss"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Use components
|
|
46
|
+
|
|
47
|
+
Once you have everything in place you can use the libraries standalone components:
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
@Component({
|
|
51
|
+
selector: 'my-component',
|
|
52
|
+
standalone: true,
|
|
53
|
+
imports: [CommonModule, TreeComponent],
|
|
54
|
+
template: ` <yuv-tree [tree]="folderTree" selectable (selectionChange)="nodeSelected($event)"></yuv-tree> `,
|
|
55
|
+
styles: ''
|
|
56
|
+
})
|
|
57
|
+
export class FolderTreeComponent {
|
|
58
|
+
nodeSelected(nodes: TreeNode[]) {
|
|
59
|
+
console.log('Selected tree nodes', nodes);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './lib/actions.module';
|
|
2
|
+
export * from './lib/actions.service';
|
|
3
|
+
export * from './lib/actions/delete-action/delete-action';
|
|
4
|
+
export * from './lib/actions/download-action/download-action';
|
|
5
|
+
export * from './lib/actions.interface';
|
|
6
|
+
export * from './lib/actions.icon';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '../../actions.interface';
|
|
4
|
+
export declare class CopyAction extends AbstractContextAction implements Action {
|
|
5
|
+
private clipboardService;
|
|
6
|
+
private translate;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(items: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(items: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '../../actions.interface';
|
|
4
|
+
export declare class CutAction extends AbstractContextAction implements Action {
|
|
5
|
+
private clipboardService;
|
|
6
|
+
private translate;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(items: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(items: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { ActionContext } from '../../../actions.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
*/
|
|
7
|
+
export declare class DeleteComponent {
|
|
8
|
+
#private;
|
|
9
|
+
private readonly translate;
|
|
10
|
+
errors?: {
|
|
11
|
+
status: number;
|
|
12
|
+
subject: string;
|
|
13
|
+
message: string;
|
|
14
|
+
}[];
|
|
15
|
+
deleting: boolean;
|
|
16
|
+
deleteItems: DmsObject[];
|
|
17
|
+
context: ActionContext;
|
|
18
|
+
run(): void;
|
|
19
|
+
cancel(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteComponent, "yuv-delete", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '../../actions.interface';
|
|
4
|
+
export declare class DeleteAction extends AbstractContextAction implements Action {
|
|
5
|
+
private translate;
|
|
6
|
+
private overlay;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(items: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(items: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '../../actions.interface';
|
|
4
|
+
export declare class DownloadAction extends AbstractContextAction implements Action {
|
|
5
|
+
private translate;
|
|
6
|
+
private dmsService;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export type ActionClass = {
|
|
4
|
+
new (...args: any[]): any;
|
|
5
|
+
};
|
|
6
|
+
export declare class AbstractContextAction {
|
|
7
|
+
context?: ActionContext;
|
|
8
|
+
constructor(context?: ActionContext);
|
|
9
|
+
}
|
|
10
|
+
export interface BaseAction {
|
|
11
|
+
/**
|
|
12
|
+
* Equals the selector of the actions selector (will be set by the action service)
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* label to be displayed inside the action menu
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* description to be displayed inside the action menu
|
|
21
|
+
*/
|
|
22
|
+
description: string;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
icon: string;
|
|
27
|
+
/**
|
|
28
|
+
* actions priority defining the position of the action within the whole list of actions
|
|
29
|
+
*/
|
|
30
|
+
priority: number;
|
|
31
|
+
/**
|
|
32
|
+
* group of actions the action should be part of ('common' or 'further')
|
|
33
|
+
*/
|
|
34
|
+
group: string;
|
|
35
|
+
/**
|
|
36
|
+
* number of selected items supported by the action
|
|
37
|
+
* (SelectionRange.SINGLE_SELECT, SelectionRange.MULTI_SELECT, SelectionRange.MULTI_SELECT_ONLY )
|
|
38
|
+
*/
|
|
39
|
+
range: SelectionRange;
|
|
40
|
+
/**
|
|
41
|
+
* Types that are supported by the action
|
|
42
|
+
*/
|
|
43
|
+
supports: ActionSupport;
|
|
44
|
+
/**
|
|
45
|
+
* Determining whether or not the action is executable for the given selection
|
|
46
|
+
* @param item Current selection
|
|
47
|
+
* @returns true if the action is executable for the current selection, false otherwise
|
|
48
|
+
*/
|
|
49
|
+
isExecutable: (items: DmsObject[]) => Observable<boolean>;
|
|
50
|
+
}
|
|
51
|
+
export interface ActionSupport {
|
|
52
|
+
types?: string[];
|
|
53
|
+
sots?: string[];
|
|
54
|
+
pattern?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ActionContext {
|
|
57
|
+
/**
|
|
58
|
+
* As actions deal with DmsObjects the subject property is the property that
|
|
59
|
+
* should be used to display the name of the object. This may be used for
|
|
60
|
+
* showing the name of the object in a confirmation/error dialog or similar.
|
|
61
|
+
*/
|
|
62
|
+
subjectProperty?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The appId is the id of the application that the action is executed in.
|
|
65
|
+
*/
|
|
66
|
+
appId?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface Action extends BaseAction {
|
|
69
|
+
run: (items: DmsObject[]) => Observable<boolean>;
|
|
70
|
+
}
|
|
71
|
+
export interface ActionOptions {
|
|
72
|
+
context?: ActionContext;
|
|
73
|
+
exclude?: string[] | RegExp;
|
|
74
|
+
}
|
|
75
|
+
export declare enum SelectionRange {
|
|
76
|
+
SINGLE_SELECT = 0,
|
|
77
|
+
MULTI_SELECT = 1,
|
|
78
|
+
MULTI_SELECT_ONLY = 2,
|
|
79
|
+
ANY = 3
|
|
80
|
+
}
|
|
81
|
+
export declare const BASE_ACTION: {
|
|
82
|
+
copy: string;
|
|
83
|
+
cut: string;
|
|
84
|
+
download: string;
|
|
85
|
+
delete: string;
|
|
86
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@ngx-translate/core";
|
|
4
|
+
export declare class ActionsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ActionsModule, never, [typeof i1.CommonModule, typeof i2.TranslateModule], never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ActionsModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { Action, ActionClass, ActionContext, ActionOptions } from './actions.interface';
|
|
5
|
+
import { FlexibleConnectedPositionStrategyOrigin } from '@angular/cdk/overlay';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ActionsService {
|
|
8
|
+
private readonly injector;
|
|
9
|
+
private overlay;
|
|
10
|
+
private _registeredActions;
|
|
11
|
+
registerActions(a: {
|
|
12
|
+
id: string;
|
|
13
|
+
action: ActionClass;
|
|
14
|
+
}[]): void;
|
|
15
|
+
concealActions(actionIDs: string[]): void;
|
|
16
|
+
/**
|
|
17
|
+
* Returns all actions that are executable for the given selection.
|
|
18
|
+
* @param selection Array of DmsObjects to check for executable actions
|
|
19
|
+
* @param options options to filter the actions
|
|
20
|
+
* @returns Observable of actions that are executable for the given selection
|
|
21
|
+
*/
|
|
22
|
+
getActions(selection: DmsObject[], options?: ActionOptions): Observable<Action[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Get all available actions. This includes the default actions and all registered actions but
|
|
25
|
+
* without checking if they are executable.
|
|
26
|
+
* @param context Context passed to the actions
|
|
27
|
+
* @returns Array of available actions
|
|
28
|
+
*/
|
|
29
|
+
getAvailableActions(context?: ActionContext): Action[];
|
|
30
|
+
getActionsForType(objectTypeId: string, context?: ActionContext): Action[];
|
|
31
|
+
getActionById(id: string, context?: ActionContext): Action | undefined;
|
|
32
|
+
getActionsById(ids: string[], context?: ActionContext): Action[];
|
|
33
|
+
openContextMenu(actions: Signal<Action[]>, callback: (action: Action) => void, element: FlexibleConnectedPositionStrategyOrigin): void;
|
|
34
|
+
private _actionsSupportsType;
|
|
35
|
+
private _getDefaulActions;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActionsService>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { Action } from '../../actions.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContextmenuComponent {
|
|
5
|
+
private oRef;
|
|
6
|
+
actions: Signal<Action[]>;
|
|
7
|
+
callback: (action: Action) => void;
|
|
8
|
+
onItemSelect(index: number[]): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextmenuComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextmenuComponent, "yuv-contextmenu", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/app-bar.component';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Application bar for yuuvis Momentum apps.
|
|
5
|
+
*
|
|
6
|
+
* Adding a `#appBarSideNav` template to the components body will show a menu icon
|
|
7
|
+
* that opens its content in a sidenav element.
|
|
8
|
+
*
|
|
9
|
+
* Adding a `#appBarActions` template to the component will add its content to
|
|
10
|
+
* the actions section (at the end of the app bar).
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* <yuv-app-bar title="MyMomentumApp">
|
|
14
|
+
* <ng-template #appBarSideNav>
|
|
15
|
+
* ... content supposed to end up in a sidenav ...
|
|
16
|
+
* </ng-template>
|
|
17
|
+
* <ng-template #appBarPrimaryActions>
|
|
18
|
+
* ... content supposed to end up in the app bars primary actions section ...
|
|
19
|
+
* </ng-template>
|
|
20
|
+
* <ng-template #appBarActions>
|
|
21
|
+
* ... content supposed to end up in the app bars actions section ...
|
|
22
|
+
* </ng-template>
|
|
23
|
+
* </yuv-app-bar>
|
|
24
|
+
*/
|
|
25
|
+
export declare class AppBarComponent {
|
|
26
|
+
dialogElement: ElementRef<HTMLDialogElement> | null;
|
|
27
|
+
appBarSideNav: TemplateRef<any> | null;
|
|
28
|
+
appBarActions: TemplateRef<any> | null;
|
|
29
|
+
appBarPrimaryActions: TemplateRef<any> | null;
|
|
30
|
+
/**
|
|
31
|
+
* Menu icon SVG. By default this will be the hamburger menu icon
|
|
32
|
+
*/
|
|
33
|
+
menuIcon: string;
|
|
34
|
+
/**
|
|
35
|
+
* App title visible in the app beside the menu
|
|
36
|
+
*/
|
|
37
|
+
appTitle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Where to route to, when the title is clicked. Defaults to '/'
|
|
40
|
+
*/
|
|
41
|
+
appTitleRoute?: string;
|
|
42
|
+
sidenavVisible: boolean;
|
|
43
|
+
toggleSideNav(): void;
|
|
44
|
+
onDialogClick(e: MouseEvent): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBarComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBarComponent, "yuv-app-bar", never, { "menuIcon": { "alias": "menuIcon"; "required": false; }; "appTitle": { "alias": "appTitle"; "required": false; }; "appTitleRoute": { "alias": "appTitleRoute"; "required": false; }; }, {}, ["appBarSideNav", "appBarActions", "appBarPrimaryActions"], never, true, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/clipboard.component';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ClipboardData, TranslateService } from '@yuuvis/client-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ClipboardComponent implements OnInit {
|
|
5
|
+
#private;
|
|
6
|
+
translate: TranslateService;
|
|
7
|
+
clipboardData?: ClipboardData;
|
|
8
|
+
label?: string;
|
|
9
|
+
enablePaste: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
bucket: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
+
paste: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
clearClipboard(): void;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClipboardComponent, "yuv-clipboard", never, { "enablePaste": { "alias": "enablePaste"; "required": false; "isSignal": true; }; "bucket": { "alias": "bucket"; "required": false; "isSignal": true; }; }, { "paste": "paste"; }, never, never, true, never>;
|
|
16
|
+
}
|
package/common/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './lib/directives';
|
|
2
|
+
export * from './lib/components/token-input/token-input.component';
|
|
3
|
+
export * from './lib/components/token-input/token-input.interface';
|
|
4
|
+
export * from './lib/components/focus-indicator/focus-indicator.component';
|
|
5
|
+
export * from './lib/directives/noop-value-accessor.directive';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FocusIndicatorComponent {
|
|
3
|
+
#private;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusIndicatorComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FocusIndicatorComponent, "yuv-focus-indicator", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { InputToken } from './token-input.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TokenInputComponent {
|
|
5
|
+
private elRef;
|
|
6
|
+
private overlay;
|
|
7
|
+
private ngZone;
|
|
8
|
+
optionsTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
9
|
+
/**
|
|
10
|
+
* Template to be used for rendering selected tokens
|
|
11
|
+
*/
|
|
12
|
+
tokenTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Template to be used for rendering autocomplete suggestion entries
|
|
15
|
+
*/
|
|
16
|
+
optionTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
17
|
+
TEXT_TOKEN_TYPE: string;
|
|
18
|
+
private _inputElement?;
|
|
19
|
+
private _overlayRef?;
|
|
20
|
+
tokens: import("@angular/core").InputSignal<InputToken[]>;
|
|
21
|
+
caseSensitive: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
change: import("@angular/core").OutputEmitterRef<InputToken[]>;
|
|
23
|
+
private readonly _cleanFormTokens;
|
|
24
|
+
formTokens: InputToken[];
|
|
25
|
+
autocompleteValues: InputToken[];
|
|
26
|
+
autocompleteSelectedIndex: number;
|
|
27
|
+
focusedTokenIndex: number;
|
|
28
|
+
onArrowUpKey(event: KeyboardEvent): void;
|
|
29
|
+
onArrowDownKey(event: KeyboardEvent): void;
|
|
30
|
+
onEnterKey(event: KeyboardEvent): void;
|
|
31
|
+
clear(): void;
|
|
32
|
+
onInputFocus(e: any): void;
|
|
33
|
+
onInput(e: any): void;
|
|
34
|
+
onArrowLeft(e: Event): void;
|
|
35
|
+
onArrowRight(e: Event): void;
|
|
36
|
+
onDelete(e: Event, index: number): void;
|
|
37
|
+
onBackspace(e: Event, index: number): void;
|
|
38
|
+
private _focusFirst;
|
|
39
|
+
private _focusInput;
|
|
40
|
+
private _setCaretPos;
|
|
41
|
+
private _getCaretPos;
|
|
42
|
+
onOptionSelect(o: InputToken): void;
|
|
43
|
+
private _focusTokenInput;
|
|
44
|
+
openOptions(): void;
|
|
45
|
+
closeOptions(): void;
|
|
46
|
+
onTokenEnter(e: Event): void;
|
|
47
|
+
private _emitChange;
|
|
48
|
+
private _newTextToken;
|
|
49
|
+
private _textTokenId;
|
|
50
|
+
private _tokenize;
|
|
51
|
+
private _getInputValue;
|
|
52
|
+
private _processValue;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenInputComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TokenInputComponent, "yuv-token-input", never, { "tokens": { "alias": "tokens"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; }, { "change": "change"; }, ["tokenTemplate", "optionTemplate"], never, true, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* A directive that will overlay its host component with a translucent background
|
|
5
|
+
* and a loading spinner once the condition resolves with true. This is useful for example to
|
|
6
|
+
* prevent user intercation while component data is loading or some processing is done.
|
|
7
|
+
*
|
|
8
|
+
* It'll also set the `inert` attribute on the host element. This will disable the host and
|
|
9
|
+
* all elements inside (like buttons, inputs etc.)
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* <div class="result-list" [yuvBusyOverlay]="waitingForServerResponse">...</div>
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare class BusyOverlayDirective implements OnInit {
|
|
16
|
+
#private;
|
|
17
|
+
stylePosition: string;
|
|
18
|
+
/**
|
|
19
|
+
* The Boolean expression to evaluate as the condition for showing the busy overlay
|
|
20
|
+
*/
|
|
21
|
+
set yuvBusyOverlay(b: boolean);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusyOverlayDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BusyOverlayDirective, "[yuvBusyOverlay]", never, { "yuvBusyOverlay": { "alias": "yuvBusyOverlay"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Fixes the issue of 'click' event beeing triggered on 'doubleclick' by defining new outputs that
|
|
5
|
+
* distinguish between single and double click.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ClickDoubleDirective {
|
|
8
|
+
debounceTime: number;
|
|
9
|
+
doubleClick: EventEmitter<any>;
|
|
10
|
+
singleClick: EventEmitter<any>;
|
|
11
|
+
private clicksSubject;
|
|
12
|
+
constructor();
|
|
13
|
+
clickEvent(event: MouseEvent): void;
|
|
14
|
+
doubleClickEvent(event: MouseEvent): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickDoubleDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickDoubleDirective, "[click.single],[click.double]", never, { "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "doubleClick": "click.double"; "singleClick": "click.single"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive to watch the size of an element inside the DOM. Usefull for example to provide
|
|
5
|
+
* a different layout (different components) depending on the available screen estate. You
|
|
6
|
+
* should first try to use CSS container queries but somtimes you need a different set of
|
|
7
|
+
* components to be loaded for a certain component size.
|
|
8
|
+
*
|
|
9
|
+
* Let's say you have components designed for bigger screens. You do not want to load them
|
|
10
|
+
* if there is not enough space for them. So you rather load components that are designed to
|
|
11
|
+
* take less space by providing the best user experience on smaller devices.
|
|
12
|
+
*
|
|
13
|
+
* ```html
|
|
14
|
+
* <div yuvContainerSize (containerHeight)="onContainerResize($event)" (containerWidth)="onContainerResize($event)"></div>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare class ContainerSizeDirective implements OnDestroy {
|
|
19
|
+
private elRef;
|
|
20
|
+
private ngZone;
|
|
21
|
+
containerHeight: import("@angular/core").OutputEmitterRef<number>;
|
|
22
|
+
containerWidth: import("@angular/core").OutputEmitterRef<number>;
|
|
23
|
+
private _size?;
|
|
24
|
+
private _resizeObserver;
|
|
25
|
+
constructor();
|
|
26
|
+
private _emit;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerSizeDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerSizeDirective, "[yuvContainerSize]", never, {}, { "containerHeight": "containerHeight"; "containerWidth": "containerWidth"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface DragSelectOptions {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
selectorColor?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class DragSelectDirective {
|
|
7
|
+
#private;
|
|
8
|
+
onPointerDown(event: PointerEvent): void;
|
|
9
|
+
items: import("@angular/core").Signal<readonly DragSelectItemDirective[]>;
|
|
10
|
+
yuvDragSelect: import("@angular/core").InputSignal<DragSelectOptions | undefined>;
|
|
11
|
+
dragSelectChange: import("@angular/core").OutputEmitterRef<number[]>;
|
|
12
|
+
dragSelect: import("@angular/core").OutputEmitterRef<number[]>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragSelectDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragSelectDirective, "[yuvDragSelect]", never, { "yuvDragSelect": { "alias": "yuvDragSelect"; "required": false; "isSignal": true; }; }, { "dragSelectChange": "dragSelectChange"; "dragSelect": "dragSelect"; }, ["items"], never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class DragSelectItemDirective {
|
|
17
|
+
#private;
|
|
18
|
+
el: HTMLElement;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragSelectItemDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragSelectItemDirective, "[yuvDragSelectItem]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FileDropZoneOptions } from './file-drop-zone.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileDropZoneDirective {
|
|
4
|
+
#private;
|
|
5
|
+
set fileOver(fo: boolean);
|
|
6
|
+
get fileOver(): boolean;
|
|
7
|
+
yuvFileDropZone: import("@angular/core").InputSignal<FileDropZoneOptions | undefined>;
|
|
8
|
+
fileDropDisabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
fileDrop: import("@angular/core").OutputEmitterRef<File[]>;
|
|
10
|
+
fileDropOver: import("@angular/core").OutputEmitterRef<boolean>;
|
|
11
|
+
onDrop(event: DragEvent): void;
|
|
12
|
+
onDragOver(event: DragEvent): void;
|
|
13
|
+
onDragLeave(event: DragEvent): void;
|
|
14
|
+
onBodyDragOver(event: DragEvent): void;
|
|
15
|
+
onBodyDrop(event: DragEvent): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileDropZoneDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileDropZoneDirective, "[yuvFileDropZone]", never, { "yuvFileDropZone": { "alias": "yuvFileDropZone"; "required": false; "isSignal": true; }; "fileDropDisabled": { "alias": "fileDropDisabled"; "required": false; "isSignal": true; }; }, { "fileDrop": "fileDrop"; "fileDropOver": "fileDropOver"; }, never, never, true, never>;
|
|
18
|
+
}
|