@valtimo/layout 0.0.0-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/app.css +30650 -0
- package/assets/img/1088x336.png +0 -0
- package/assets/img/140x140.png +0 -0
- package/assets/img/342x239.png +0 -0
- package/assets/img/346x106.png +0 -0
- package/assets/img/362x239.png +0 -0
- package/assets/img/404-bg.png +0 -0
- package/assets/img/529x161.png +0 -0
- package/assets/img/accessControl.svg +186 -0
- package/assets/img/avatar-150.png +0 -0
- package/assets/img/avatar.png +0 -0
- package/assets/img/avatar1.png +0 -0
- package/assets/img/avatar2.png +0 -0
- package/assets/img/avatar3.png +0 -0
- package/assets/img/avatar4.png +0 -0
- package/assets/img/avatar5.png +0 -0
- package/assets/img/avatar6.png +0 -0
- package/assets/img/bitbucket.png +0 -0
- package/assets/img/dashboard.svg +138 -0
- package/assets/img/db-icon.png +0 -0
- package/assets/img/dribbble.png +0 -0
- package/assets/img/dropbox.png +0 -0
- package/assets/img/emptystate-empty.svg +261 -0
- package/assets/img/emptystate-error.svg +245 -0
- package/assets/img/emptystate-error404.svg +146 -0
- package/assets/img/emptystate-no-result.svg +327 -0
- package/assets/img/emptystate-not-authorised.svg +279 -0
- package/assets/img/emptystate-success.svg +118 -0
- package/assets/img/fb-icon.png +0 -0
- package/assets/img/fl-icon.png +0 -0
- package/assets/img/gh-icon.png +0 -0
- package/assets/img/github.png +0 -0
- package/assets/img/gp-icon.png +0 -0
- package/assets/img/in-icon.png +0 -0
- package/assets/img/logo-fav.png +0 -0
- package/assets/img/logo-symbol.png +0 -0
- package/assets/img/logo-white-xx.png +0 -0
- package/assets/img/logo-white.png +0 -0
- package/assets/img/logo-white.svg +1 -0
- package/assets/img/logo-xx.png +0 -0
- package/assets/img/logo.png +0 -0
- package/assets/img/logo.svg +1 -0
- package/assets/img/mail_chimp.png +0 -0
- package/assets/img/marker.svg +3 -0
- package/assets/img/no-dashboards.svg +156 -0
- package/assets/img/no-results.svg +88 -0
- package/assets/img/no-widgets.svg +214 -0
- package/assets/img/pi-icon.png +0 -0
- package/assets/img/plugins.svg +1234 -0
- package/assets/img/slack.png +0 -0
- package/assets/img/slack_logo.png +0 -0
- package/assets/img/tu-icon.png +0 -0
- package/assets/img/tw-icon.png +0 -0
- package/assets/img/user-profile-display.png +0 -0
- package/assets/img/valtimo/favicons/android-chrome-192x192.png +0 -0
- package/assets/img/valtimo/favicons/android-chrome-256x256.png +0 -0
- package/assets/img/valtimo/favicons/apple-touch-icon.png +0 -0
- package/assets/img/valtimo/favicons/browserconfig.xml +25 -0
- package/assets/img/valtimo/favicons/favicon-16x16.png +0 -0
- package/assets/img/valtimo/favicons/favicon-32x32.png +0 -0
- package/assets/img/valtimo/favicons/favicon.ico +0 -0
- package/assets/img/valtimo/favicons/manifest.json +18 -0
- package/assets/img/valtimo/favicons/mstile-150x150.png +0 -0
- package/assets/img/valtimo/favicons/safari-pinned-tab.svg +19 -0
- package/assets/img/widget-management/color/blue.svg +28 -0
- package/assets/img/widget-management/color/brown.svg +28 -0
- package/assets/img/widget-management/color/default.svg +28 -0
- package/assets/img/widget-management/color/green.svg +28 -0
- package/assets/img/widget-management/color/highContrast.svg +28 -0
- package/assets/img/widget-management/color/orange.svg +28 -0
- package/assets/img/widget-management/color/periwinkle.svg +28 -0
- package/assets/img/widget-management/color/purple.svg +28 -0
- package/assets/img/widget-management/color/red.svg +28 -0
- package/assets/img/widget-management/color/turqoise.svg +28 -0
- package/assets/img/widget-management/color/yellow.svg +28 -0
- package/assets/img/widget-management/density/compact.svg +65 -0
- package/assets/img/widget-management/density/default.svg +26 -0
- package/assets/img/widget-management/style/default.svg +26 -0
- package/assets/img/widget-management/style/high-contrast.svg +26 -0
- package/assets/img/widget-management/types/angular.svg +66 -0
- package/assets/img/widget-management/types/collection.svg +1 -0
- package/assets/img/widget-management/types/fields.svg +26 -0
- package/assets/img/widget-management/types/formio.svg +55 -0
- package/assets/img/widget-management/types/map.svg +63 -0
- package/assets/img/widget-management/types/table.svg +119 -0
- package/assets/img/widget-management/width/full-width.svg +44 -0
- package/assets/img/widget-management/width/half.svg +26 -0
- package/assets/img/widget-management/width/quarter.svg +17 -0
- package/assets/img/widget-management/width/three-quarters.svg +35 -0
- package/assets/img/yt-icon.png +0 -0
- package/assets/js/app.js +3062 -0
- package/assets/lib/jquery.gritter/images/gritter-bg.png +0 -0
- package/assets/lib/roboto/Roboto-Black.eot +0 -0
- package/assets/lib/roboto/Roboto-Black.svg +10968 -0
- package/assets/lib/roboto/Roboto-Black.ttf +0 -0
- package/assets/lib/roboto/Roboto-Black.woff +0 -0
- package/assets/lib/roboto/Roboto-Black.woff2 +0 -0
- package/assets/lib/roboto/Roboto-BlackItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-BlackItalic.svg +11086 -0
- package/assets/lib/roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-BlackItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-BlackItalic.woff2 +0 -0
- package/assets/lib/roboto/Roboto-Bold.eot +0 -0
- package/assets/lib/roboto/Roboto-Bold.svg +11010 -0
- package/assets/lib/roboto/Roboto-Bold.ttf +0 -0
- package/assets/lib/roboto/Roboto-Bold.woff +0 -0
- package/assets/lib/roboto/Roboto-Bold.woff2 +0 -0
- package/assets/lib/roboto/Roboto-BoldItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-BoldItalic.svg +11096 -0
- package/assets/lib/roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-BoldItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-BoldItalic.woff2 +0 -0
- package/assets/lib/roboto/Roboto-Light.eot +0 -0
- package/assets/lib/roboto/Roboto-Light.svg +10564 -0
- package/assets/lib/roboto/Roboto-Light.ttf +0 -0
- package/assets/lib/roboto/Roboto-Light.woff +0 -0
- package/assets/lib/roboto/Roboto-Light.woff2 +0 -0
- package/assets/lib/roboto/Roboto-LightItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-LightItalic.svg +10646 -0
- package/assets/lib/roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-LightItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-LightItalic.woff2 +0 -0
- package/assets/lib/roboto/Roboto-Medium.eot +0 -0
- package/assets/lib/roboto/Roboto-Medium.svg +10999 -0
- package/assets/lib/roboto/Roboto-Medium.ttf +0 -0
- package/assets/lib/roboto/Roboto-Medium.woff +0 -0
- package/assets/lib/roboto/Roboto-Medium.woff2 +0 -0
- package/assets/lib/roboto/Roboto-MediumItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-MediumItalic.svg +11100 -0
- package/assets/lib/roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-MediumItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-MediumItalic.woff2 +0 -0
- package/assets/lib/roboto/Roboto-Regular.eot +0 -0
- package/assets/lib/roboto/Roboto-Regular.svg +10520 -0
- package/assets/lib/roboto/Roboto-Regular.ttf +0 -0
- package/assets/lib/roboto/Roboto-Regular.woff +0 -0
- package/assets/lib/roboto/Roboto-Regular.woff2 +0 -0
- package/assets/lib/roboto/Roboto-RegularItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-RegularItalic.svg +10629 -0
- package/assets/lib/roboto/Roboto-RegularItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-RegularItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-RegularItalic.woff2 +0 -0
- package/assets/lib/roboto/Roboto-Thin.eot +0 -0
- package/assets/lib/roboto/Roboto-Thin.svg +10617 -0
- package/assets/lib/roboto/Roboto-Thin.ttf +0 -0
- package/assets/lib/roboto/Roboto-Thin.woff +0 -0
- package/assets/lib/roboto/Roboto-Thin.woff2 +0 -0
- package/assets/lib/roboto/Roboto-ThinItalic.eot +0 -0
- package/assets/lib/roboto/Roboto-ThinItalic.svg +10726 -0
- package/assets/lib/roboto/Roboto-ThinItalic.ttf +0 -0
- package/assets/lib/roboto/Roboto-ThinItalic.woff +0 -0
- package/assets/lib/roboto/Roboto-ThinItalic.woff2 +0 -0
- package/fesm2022/valtimo-layout.mjs +6241 -0
- package/fesm2022/valtimo-layout.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/components/index.d.ts +16 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/layout/index.d.ts +2 -0
- package/lib/components/layout/index.d.ts.map +1 -0
- package/lib/components/layout/layout.component.d.ts +22 -0
- package/lib/components/layout/layout.component.d.ts.map +1 -0
- package/lib/components/layout-internal/index.d.ts +2 -0
- package/lib/components/layout-internal/index.d.ts.map +1 -0
- package/lib/components/layout-internal/layout-internal.component.d.ts +21 -0
- package/lib/components/layout-internal/layout-internal.component.d.ts.map +1 -0
- package/lib/components/layout-public/index.d.ts +2 -0
- package/lib/components/layout-public/index.d.ts.map +1 -0
- package/lib/components/layout-public/layout-public.component.d.ts +6 -0
- package/lib/components/layout-public/layout-public.component.d.ts.map +1 -0
- package/lib/components/translation-management/index.d.ts +2 -0
- package/lib/components/translation-management/index.d.ts.map +1 -0
- package/lib/components/translation-management/translation-management.component.d.ts +46 -0
- package/lib/components/translation-management/translation-management.component.d.ts.map +1 -0
- package/lib/components/widget-action-button/widget-action-button.component.d.ts +14 -0
- package/lib/components/widget-action-button/widget-action-button.component.d.ts.map +1 -0
- package/lib/components/widget-block/index.d.ts +2 -0
- package/lib/components/widget-block/index.d.ts.map +1 -0
- package/lib/components/widget-block/widget-block.component.d.ts +43 -0
- package/lib/components/widget-block/widget-block.component.d.ts.map +1 -0
- package/lib/components/widget-collection/index.d.ts +2 -0
- package/lib/components/widget-collection/index.d.ts.map +1 -0
- package/lib/components/widget-collection/widget-collection.component.d.ts +45 -0
- package/lib/components/widget-collection/widget-collection.component.d.ts.map +1 -0
- package/lib/components/widget-container/index.d.ts +2 -0
- package/lib/components/widget-container/index.d.ts.map +1 -0
- package/lib/components/widget-container/widget-container.component.d.ts +30 -0
- package/lib/components/widget-container/widget-container.component.d.ts.map +1 -0
- package/lib/components/widget-custom/index.d.ts +2 -0
- package/lib/components/widget-custom/index.d.ts.map +1 -0
- package/lib/components/widget-custom/widget-custom.component.d.ts +31 -0
- package/lib/components/widget-custom/widget-custom.component.d.ts.map +1 -0
- package/lib/components/widget-field/index.d.ts +2 -0
- package/lib/components/widget-field/index.d.ts.map +1 -0
- package/lib/components/widget-field/widget-field.component.d.ts +36 -0
- package/lib/components/widget-field/widget-field.component.d.ts.map +1 -0
- package/lib/components/widget-formio/index.d.ts +2 -0
- package/lib/components/widget-formio/index.d.ts.map +1 -0
- package/lib/components/widget-formio/widget-formio.component.d.ts +32 -0
- package/lib/components/widget-formio/widget-formio.component.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/index.d.ts +3 -0
- package/lib/components/widget-interactive-table/index.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/widget-interactive-table-search/widget-interactive-table-search.component.d.ts +60 -0
- package/lib/components/widget-interactive-table/widget-interactive-table-search/widget-interactive-table-search.component.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts +52 -0
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/index.d.ts +5 -0
- package/lib/components/widget-management/index.d.ts.map +1 -0
- package/lib/components/widget-management/management/widget-management.component.d.ts +27 -0
- package/lib/components/widget-management/management/widget-management.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-action-button/widget-management-action-button.component.d.ts +30 -0
- package/lib/components/widget-management/management-action-button/widget-management-action-button.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts +65 -0
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts +44 -0
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts +73 -0
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts +45 -0
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.d.ts +45 -0
- package/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/index.d.ts +6 -0
- package/lib/components/widget-management/management-content/index.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts +27 -0
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts +33 -0
- package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts +43 -0
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.d.ts +39 -0
- package/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts +60 -0
- package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.d.ts +29 -0
- package/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/index.d.ts +9 -0
- package/lib/components/widget-management/management-wizard/steps/index.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-appearance-step/widget-wizard-appearance-step.component.d.ts +16 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-appearance-step/widget-wizard-appearance-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts +16 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-density-step/widget-wizard-density-step.component.d.ts +19 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-density-step/widget-wizard-density-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.d.ts +34 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-filters-step/widget-wizard-filters-step.component.d.ts +60 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-filters-step/widget-wizard-filters-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts +24 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts +22 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts +52 -0
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts.map +1 -0
- package/lib/components/widget-map/index.d.ts +2 -0
- package/lib/components/widget-map/index.d.ts.map +1 -0
- package/lib/components/widget-map/widget-map.component.d.ts +27 -0
- package/lib/components/widget-map/widget-map.component.d.ts.map +1 -0
- package/lib/components/widget-table/index.d.ts +2 -0
- package/lib/components/widget-table/index.d.ts.map +1 -0
- package/lib/components/widget-table/widget-table.component.d.ts +27 -0
- package/lib/components/widget-table/widget-table.component.d.ts.map +1 -0
- package/lib/constants/custom-widget-token.d.ts +5 -0
- package/lib/constants/custom-widget-token.d.ts.map +1 -0
- package/lib/constants/index.d.ts +6 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/constants/layout.test-ids.d.ts +54 -0
- package/lib/constants/layout.test-ids.d.ts.map +1 -0
- package/lib/constants/widget-color.constants.d.ts +14 -0
- package/lib/constants/widget-color.constants.d.ts.map +1 -0
- package/lib/constants/widget-management.constants.d.ts +5 -0
- package/lib/constants/widget-management.constants.d.ts.map +1 -0
- package/lib/constants/widget.constants.d.ts +6 -0
- package/lib/constants/widget.constants.d.ts.map +1 -0
- package/lib/interfaces/index.d.ts +3 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/widget-details-component.interface.d.ts +9 -0
- package/lib/interfaces/widget-details-component.interface.d.ts.map +1 -0
- package/lib/interfaces/widget-management-service.interface.d.ts +12 -0
- package/lib/interfaces/widget-management-service.interface.d.ts.map +1 -0
- package/lib/layout.module.d.ts +15 -0
- package/lib/layout.module.d.ts.map +1 -0
- package/lib/models/index.d.ts +6 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/widget-content.model.d.ts +84 -0
- package/lib/models/widget-content.model.d.ts.map +1 -0
- package/lib/models/widget-display.model.d.ts +62 -0
- package/lib/models/widget-display.model.d.ts.map +1 -0
- package/lib/models/widget-editor.model.d.ts +10 -0
- package/lib/models/widget-editor.model.d.ts.map +1 -0
- package/lib/models/widget-wizard.model.d.ts +44 -0
- package/lib/models/widget-wizard.model.d.ts.map +1 -0
- package/lib/models/widget.model.d.ts +163 -0
- package/lib/models/widget.model.d.ts.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/layout.service.d.ts +10 -0
- package/lib/services/layout.service.d.ts.map +1 -0
- package/lib/services/widget-fields.service.d.ts +17 -0
- package/lib/services/widget-fields.service.d.ts.map +1 -0
- package/lib/services/widget-interactive-table.service.d.ts +37 -0
- package/lib/services/widget-interactive-table.service.d.ts.map +1 -0
- package/lib/services/widget-layout.service.d.ts +35 -0
- package/lib/services/widget-layout.service.d.ts.map +1 -0
- package/lib/services/widget-wizard.service.d.ts +49 -0
- package/lib/services/widget-wizard.service.d.ts.map +1 -0
- package/lib/translation-management-routing.module.d.ts +8 -0
- package/lib/translation-management-routing.module.d.ts.map +1 -0
- package/lib/translation-management.module.d.ts +13 -0
- package/lib/translation-management.module.d.ts.map +1 -0
- package/package.json +35 -0
- package/public_api.d.ts +10 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-layout.d.ts.map +1 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const WIDGET_EDITOR_TEST_IDS: {
|
|
2
|
+
readonly addWidgetButton: "widgetEditorAddWidgetButton";
|
|
3
|
+
readonly addDividerButton: "widgetEditorAddDividerButton";
|
|
4
|
+
};
|
|
5
|
+
export declare const WIDGET_WIZARD_TEST_IDS: {
|
|
6
|
+
readonly nextButton: "widgetWizardNextButton";
|
|
7
|
+
readonly saveButton: "widgetWizardSaveButton";
|
|
8
|
+
readonly cancelButton: "widgetWizardCancelButton";
|
|
9
|
+
readonly backButton: "widgetWizardBackButton";
|
|
10
|
+
};
|
|
11
|
+
export declare const WIDGET_WIZARD_TYPE_TEST_IDS: {
|
|
12
|
+
readonly tileFields: "widgetWizardTypeTile-fields";
|
|
13
|
+
readonly tileCustom: "widgetWizardTypeTile-custom";
|
|
14
|
+
readonly tileFormio: "widgetWizardTypeTile-formio";
|
|
15
|
+
readonly tileTable: "widgetWizardTypeTile-table";
|
|
16
|
+
readonly tileInteractiveTable: "widgetWizardTypeTile-interactive-table";
|
|
17
|
+
readonly tileCollection: "widgetWizardTypeTile-collection";
|
|
18
|
+
readonly tileMap: "widgetWizardTypeTile-map";
|
|
19
|
+
};
|
|
20
|
+
export declare const WIDGET_WIZARD_WIDTH_TEST_IDS: {
|
|
21
|
+
readonly tileSmall: "widgetWizardWidthTile-small";
|
|
22
|
+
readonly tileMedium: "widgetWizardWidthTile-medium";
|
|
23
|
+
readonly tileLarge: "widgetWizardWidthTile-large";
|
|
24
|
+
readonly tileXtraLarge: "widgetWizardWidthTile-xtraLarge";
|
|
25
|
+
};
|
|
26
|
+
export declare const WIDGET_WIZARD_DENSITY_TEST_IDS: {
|
|
27
|
+
readonly tileDefault: "widgetWizardDensityTile-default";
|
|
28
|
+
readonly tileCompact: "widgetWizardDensityTile-compact";
|
|
29
|
+
};
|
|
30
|
+
export declare const WIDGET_WIZARD_APPEARANCE_TEST_IDS: {
|
|
31
|
+
readonly tileWhite: "widgetWizardAppearanceTile-WHITE";
|
|
32
|
+
readonly tileBlue: "widgetWizardAppearanceTile-BLUE";
|
|
33
|
+
readonly tileGreen: "widgetWizardAppearanceTile-GREEN";
|
|
34
|
+
readonly tileYellow: "widgetWizardAppearanceTile-YELLOW";
|
|
35
|
+
readonly tileOrange: "widgetWizardAppearanceTile-ORANGE";
|
|
36
|
+
readonly tileRed: "widgetWizardAppearanceTile-RED";
|
|
37
|
+
readonly tileBrown: "widgetWizardAppearanceTile-BROWN";
|
|
38
|
+
readonly tileTurquoise: "widgetWizardAppearanceTile-TURQOISE";
|
|
39
|
+
readonly tilePurple: "widgetWizardAppearanceTile-PURPLE";
|
|
40
|
+
readonly tilePeriwinkle: "widgetWizardAppearanceTile-PERIWINKLE";
|
|
41
|
+
readonly tileHighContrast: "widgetWizardAppearanceTile-HIGHCONTRAST";
|
|
42
|
+
};
|
|
43
|
+
export declare const WIDGET_DIVIDER_MODAL_TEST_IDS: {
|
|
44
|
+
readonly titleInput: "widgetDividerModalTitleInput";
|
|
45
|
+
readonly createButton: "widgetDividerModalCreateButton";
|
|
46
|
+
readonly cancelButton: "widgetDividerModalCancelButton";
|
|
47
|
+
};
|
|
48
|
+
export declare const WIDGET_CONTENT_FIELDS_TEST_IDS: {
|
|
49
|
+
readonly widgetTitleInput: "widgetContentFieldsWidgetTitle";
|
|
50
|
+
readonly fieldTitleInput: "widgetContentFieldsFieldTitle";
|
|
51
|
+
readonly displayTypeDropdown: "widgetContentFieldsDisplayType";
|
|
52
|
+
readonly valuePathSelector: "widgetContentFieldsValuePath";
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=layout.test-ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.test-ids.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/layout.test-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,sBAAsB;;;CAGzB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;CAQ9B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;CAK/B,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AAEX,eAAO,MAAM,iCAAiC;;;;;;;;;;;;CAYpC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;CAKjC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WidgetColor } from '../models';
|
|
2
|
+
type WidgetColorThemeVariant = 'light' | 'dark';
|
|
3
|
+
interface WidgetColorVariant {
|
|
4
|
+
text: string | null;
|
|
5
|
+
accent: string | null;
|
|
6
|
+
background: string | null;
|
|
7
|
+
layer: string | null;
|
|
8
|
+
}
|
|
9
|
+
type WidgetColorTheme = Record<WidgetColorThemeVariant, WidgetColorVariant>;
|
|
10
|
+
declare const WIDGET_COLOR_ITEMS: WidgetColor[];
|
|
11
|
+
declare const WIDGET_COLOR_THEME_MAP: Record<WidgetColor, WidgetColorTheme>;
|
|
12
|
+
declare const WIDGET_COLOR_ILLUSTRATION_MAP: Record<WidgetColor, string>;
|
|
13
|
+
export { WIDGET_COLOR_ILLUSTRATION_MAP, WIDGET_COLOR_ITEMS, WIDGET_COLOR_THEME_MAP, type WidgetColorThemeVariant, type WidgetColorVariant, };
|
|
14
|
+
//# sourceMappingURL=widget-color.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-color.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/widget-color.constants.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAEtC,KAAK,uBAAuB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEhD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,KAAK,gBAAgB,GAAG,MAAM,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAAC;AAE5E,QAAA,MAAM,kBAAkB,EAAE,WAAW,EAYpC,CAAC;AAOF,QAAA,MAAM,sBAAsB,EAAE,MAAM,CAAC,WAAW,EAAE,gBAAgB,CA8IjE,CAAC;AAEF,QAAA,MAAM,6BAA6B,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAY9D,CAAC;AAEF,OAAO,EACL,6BAA6B,EAC7B,kBAAkB,EAClB,sBAAsB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,GACxB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { IWidgetManagementService } from '../interfaces';
|
|
3
|
+
declare const WIDGET_MANAGEMENT_SERVICE: InjectionToken<IWidgetManagementService<any>>;
|
|
4
|
+
export { WIDGET_MANAGEMENT_SERVICE };
|
|
5
|
+
//# sourceMappingURL=widget-management.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/widget-management.constants.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAEvD,QAAA,MAAM,yBAAyB,+CAE9B,CAAC;AAEF,OAAO,EAAC,yBAAyB,EAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WidgetComponentMap } from '../models';
|
|
2
|
+
declare const WIDGET_WIDTH_1X = 320;
|
|
3
|
+
declare const WIDGET_HEIGHT_1X = 200;
|
|
4
|
+
declare const DEFAULT_WIDGET_COMPONENT_MAP: WidgetComponentMap;
|
|
5
|
+
export { WIDGET_WIDTH_1X, WIDGET_HEIGHT_1X, DEFAULT_WIDGET_COMPONENT_MAP };
|
|
6
|
+
//# sourceMappingURL=widget.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/widget.constants.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,kBAAkB,EAAa,MAAM,WAAW,CAAC;AAWzD,QAAA,MAAM,eAAe,MAAM,CAAC;AAC5B,QAAA,MAAM,gBAAgB,MAAM,CAAC;AAE7B,QAAA,MAAM,4BAA4B,EAAE,kBAQnC,CAAC;AAEF,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAE,4BAA4B,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/interfaces/index.ts"],"names":[],"mappings":"AAgBA,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WidgetContext } from '../models';
|
|
2
|
+
import { WidgetWizardService } from '../services';
|
|
3
|
+
export declare class ManagementWidgetDetailsComponent {
|
|
4
|
+
protected readonly widgetWizardService: WidgetWizardService;
|
|
5
|
+
protected setContext(context: WidgetContext): void;
|
|
6
|
+
protected setTitleDisabled(disabled: boolean): void;
|
|
7
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=widget-details-component.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-details-component.interface.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/interfaces/widget-details-component.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AACxC,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,qBAAa,gCAAgC;IAQ/B,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB;IAPvE,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAGlD,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;gBAIpB,mBAAmB,EAAE,mBAAmB;CACxE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { BasicWidget } from '../models';
|
|
3
|
+
export interface IWidgetManagementService<T> {
|
|
4
|
+
params$: Observable<T | null>;
|
|
5
|
+
initParams(...params: any[]): void;
|
|
6
|
+
getWidgetConfiguration(): Observable<BasicWidget[]>;
|
|
7
|
+
updateWidgetConfiguration(widgets: BasicWidget[]): Observable<BasicWidget[]>;
|
|
8
|
+
deleteWidget(widget: BasicWidget): Observable<void>;
|
|
9
|
+
updateWidget(widget: BasicWidget): Observable<BasicWidget>;
|
|
10
|
+
createWidget(widget: BasicWidget): Observable<BasicWidget>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=widget-management-service.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-service.interface.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/interfaces/widget-management-service.interface.ts"],"names":[],"mappings":"AAeA,OAAO,EAAkB,UAAU,EAAC,MAAM,MAAM,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,OAAO,EAAE,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC9B,UAAU,CAAC,GAAG,MAAM,OAAA,GAAG,IAAI,CAAC;IAC5B,sBAAsB,IAAI,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACpD,yBAAyB,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7E,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IACpD,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IAC3D,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/layout/layout.component";
|
|
3
|
+
import * as i2 from "./components/layout-public/layout-public.component";
|
|
4
|
+
import * as i3 from "./components/layout-internal/layout-internal.component";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "@valtimo/components";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@valtimo/shared";
|
|
9
|
+
import * as i8 from "carbon-components-angular";
|
|
10
|
+
export declare class LayoutModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof i1.LayoutComponent, typeof i2.LayoutPublicComponent, typeof i3.LayoutInternalComponent], [typeof i4.RouterModule, typeof i5.MenuRoutingModule, typeof i5.TopbarModule, typeof i5.LeftSidebarModule, typeof i5.RightSidebarModule, typeof i5.PageHeaderModule, typeof i5.AlertModule, typeof i6.CommonModule, typeof i5.PromptModule, typeof i7.GlobalNotificationComponent, typeof i8.PlaceholderModule], [typeof i1.LayoutComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=layout.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/layout/src/lib/layout.module.ts"],"names":[],"mappings":";;;;;;;;;AAiCA,qBAiBa,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { WidgetDisplayType } from './widget-display.model';
|
|
2
|
+
import { FieldsWidgetValue, GeoJsonSource, WidgetAction } from './widget.model';
|
|
3
|
+
interface WidgetFieldsContent {
|
|
4
|
+
columns: FieldsWidgetValue[][];
|
|
5
|
+
}
|
|
6
|
+
type CollectionWidgetFieldWidth = 'full' | 'half';
|
|
7
|
+
interface CollectionWidgetField {
|
|
8
|
+
key: string;
|
|
9
|
+
title: string;
|
|
10
|
+
value: string;
|
|
11
|
+
width: CollectionWidgetFieldWidth;
|
|
12
|
+
displayProperties?: WidgetDisplayType;
|
|
13
|
+
}
|
|
14
|
+
interface CollectionWidgetTitle {
|
|
15
|
+
value: string;
|
|
16
|
+
displayProperties?: WidgetDisplayType;
|
|
17
|
+
}
|
|
18
|
+
interface WidgetCollectionContent {
|
|
19
|
+
collection: string;
|
|
20
|
+
defaultPageSize: number;
|
|
21
|
+
title: CollectionWidgetTitle;
|
|
22
|
+
fields: CollectionWidgetField[];
|
|
23
|
+
}
|
|
24
|
+
interface CollectionWidgetResolvedField {
|
|
25
|
+
key: string;
|
|
26
|
+
title: string;
|
|
27
|
+
value: string | null;
|
|
28
|
+
width: CollectionWidgetFieldWidth;
|
|
29
|
+
hideWhenEmpty: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface CollectionWidgetCardData {
|
|
32
|
+
title: string;
|
|
33
|
+
fields: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
hidden?: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface WidgetTableContent {
|
|
39
|
+
columns: FieldsWidgetValue[];
|
|
40
|
+
collection: string;
|
|
41
|
+
firstColumnAsTitle: boolean;
|
|
42
|
+
defaultPageSize: number;
|
|
43
|
+
}
|
|
44
|
+
interface WidgetInteractiveTableContent extends Omit<WidgetTableContent, 'firstColumnAsTitle'> {
|
|
45
|
+
canStartCase: boolean;
|
|
46
|
+
rowClickAction: WidgetAction;
|
|
47
|
+
filters?: WidgetFilter[];
|
|
48
|
+
}
|
|
49
|
+
interface WidgetFilter {
|
|
50
|
+
dataType: string;
|
|
51
|
+
fieldType: string;
|
|
52
|
+
key: string;
|
|
53
|
+
matchType?: string;
|
|
54
|
+
title: string;
|
|
55
|
+
dropdownDataProvider?: string;
|
|
56
|
+
dropdownValues?: Record<string, string>;
|
|
57
|
+
}
|
|
58
|
+
interface WidgetCustomContent {
|
|
59
|
+
componentKey: string;
|
|
60
|
+
componentValue: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
interface WidgetFormioContent {
|
|
65
|
+
formDefinitionName: string;
|
|
66
|
+
}
|
|
67
|
+
interface WidgetInteractiveTableEventSearchRequest {
|
|
68
|
+
size?: number;
|
|
69
|
+
page?: number;
|
|
70
|
+
filters?: Record<string, string>;
|
|
71
|
+
}
|
|
72
|
+
declare enum FilterDropdownDataProvider {
|
|
73
|
+
DATABASE = "dropdownDatabaseDataProvider",
|
|
74
|
+
JSON = "dropdownJsonFileDataProvider"
|
|
75
|
+
}
|
|
76
|
+
interface WidgetMapContent {
|
|
77
|
+
geoJsonSources: GeoJsonSource[];
|
|
78
|
+
}
|
|
79
|
+
type WidgetDropdownValue = {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
type WidgetContentProperties = WidgetFieldsContent | WidgetTableContent | WidgetInteractiveTableContent | WidgetCustomContent | WidgetFormioContent | WidgetCollectionContent | WidgetMapContent;
|
|
83
|
+
export { WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetFormioContent, WidgetTableContent, WidgetInteractiveTableContent, WidgetCollectionContent, WidgetMapContent, WidgetInteractiveTableEventSearchRequest, WidgetFilter, WidgetDropdownValue, CollectionWidgetField, CollectionWidgetFieldWidth, CollectionWidgetResolvedField, CollectionWidgetTitle, CollectionWidgetCardData, FilterDropdownDataProvider };
|
|
84
|
+
//# sourceMappingURL=widget-content.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-content.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/widget-content.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAC,iBAAiB,EAAE,aAAa,EAAE,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE9E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,iBAAiB,EAAE,EAAE,CAAC;CAChC;AAED,KAAK,0BAA0B,GAAG,MAAM,GAAG,MAAM,CAAC;AAElD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,0B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
|
7
|
+
ENUM = "enum",
|
|
8
|
+
NUMBER = "number",
|
|
9
|
+
PERCENT = "percent",
|
|
10
|
+
LINK = "link"
|
|
11
|
+
}
|
|
12
|
+
interface WidgetTextDisplayType {
|
|
13
|
+
type: WidgetDisplayTypeKey.TEXT;
|
|
14
|
+
ellipsisCharacterLimit: number;
|
|
15
|
+
hideWhenEmpty: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface WidgetBooleanDisplayType {
|
|
18
|
+
type: WidgetDisplayTypeKey.BOOLEAN;
|
|
19
|
+
hideWhenEmpty: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface WidgetCurrencyDisplayType {
|
|
22
|
+
type: WidgetDisplayTypeKey.CURRENCY;
|
|
23
|
+
currencyCode?: string;
|
|
24
|
+
display?: string;
|
|
25
|
+
digitsInfo?: string;
|
|
26
|
+
hideWhenEmpty: boolean;
|
|
27
|
+
}
|
|
28
|
+
interface WidgetDateDisplayType {
|
|
29
|
+
type: WidgetDisplayTypeKey.DATE;
|
|
30
|
+
format?: string;
|
|
31
|
+
hideWhenEmpty: boolean;
|
|
32
|
+
}
|
|
33
|
+
interface WidgetDateTimeDisplayType {
|
|
34
|
+
type: WidgetDisplayTypeKey.DATE_TIME;
|
|
35
|
+
format?: string;
|
|
36
|
+
hideWhenEmpty: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface WidgetEnumDisplayType {
|
|
39
|
+
type: WidgetDisplayTypeKey.ENUM;
|
|
40
|
+
values: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
hideWhenEmpty: boolean;
|
|
44
|
+
}
|
|
45
|
+
interface WidgetNumberDisplayType {
|
|
46
|
+
type: WidgetDisplayTypeKey.NUMBER;
|
|
47
|
+
digitsInfo?: string;
|
|
48
|
+
hideWhenEmpty: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface WidgetPercentDisplayType {
|
|
51
|
+
type: WidgetDisplayTypeKey.PERCENT;
|
|
52
|
+
digitsInfo?: string;
|
|
53
|
+
hideWhenEmpty: boolean;
|
|
54
|
+
}
|
|
55
|
+
interface WidgetLinkDisplayType {
|
|
56
|
+
type: WidgetDisplayTypeKey.LINK;
|
|
57
|
+
linkText?: string;
|
|
58
|
+
hideWhenEmpty: boolean;
|
|
59
|
+
}
|
|
60
|
+
type WidgetDisplayType = WidgetTextDisplayType | WidgetBooleanDisplayType | WidgetCurrencyDisplayType | WidgetDateDisplayType | WidgetDateTimeDisplayType | WidgetEnumDisplayType | WidgetNumberDisplayType | WidgetPercentDisplayType | WidgetLinkDisplayType;
|
|
61
|
+
export { WidgetBooleanDisplayType, WidgetCurrencyDisplayType, WidgetDateDisplayType, WidgetDateTimeDisplayType, WidgetDisplayType, WidgetDisplayTypeKey, WidgetEnumDisplayType, WidgetNumberDisplayType, WidgetPercentDisplayType, WidgetTextDisplayType, WidgetLinkDisplayType, };
|
|
62
|
+
//# sourceMappingURL=widget-display.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-display.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/widget-display.model.ts"],"names":[],"mappings":"AAgBA,aAAK,oBAAoB;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,aAAa;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,wBAAwB;IAChC,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,oBAAoB,CAAC,QAAQ,CAAC;IACpC,YAAY,CAAC,EAAE,MAA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EACpB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,GACtB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TagType } from 'carbon-components-angular';
|
|
2
|
+
declare enum WidgetManagementTab {
|
|
3
|
+
VISUAL = "visual",
|
|
4
|
+
JSON = "json"
|
|
5
|
+
}
|
|
6
|
+
declare const WidgetTypeTags: {
|
|
7
|
+
[key: string]: TagType;
|
|
8
|
+
};
|
|
9
|
+
export { WidgetManagementTab, WidgetTypeTags };
|
|
10
|
+
//# sourceMappingURL=widget-editor.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-editor.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/widget-editor.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAGlD,aAAK,mBAAmB;IACtB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,QAAA,MAAM,cAAc,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAQ5C,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { BasicWidget, WidgetColor, WidgetType } from './widget.model';
|
|
3
|
+
declare enum WidgetWizardStep {
|
|
4
|
+
TYPE = "type",
|
|
5
|
+
WIDTH = "width",
|
|
6
|
+
DENSITY = "density",
|
|
7
|
+
APPEARANCE = "appearance",
|
|
8
|
+
CONTENT = "content",
|
|
9
|
+
FILTERS = "filters",
|
|
10
|
+
DISPLAY_CONDITIONS = "displayConditions"
|
|
11
|
+
}
|
|
12
|
+
declare enum WidgetWizardCloseEventType {
|
|
13
|
+
CANCEL = "cancel",
|
|
14
|
+
CREATE = "create",
|
|
15
|
+
EDIT = "edit"
|
|
16
|
+
}
|
|
17
|
+
declare enum WidgetDensity {
|
|
18
|
+
DEFAULT = "default",
|
|
19
|
+
COMPACT = "compact"
|
|
20
|
+
}
|
|
21
|
+
interface WidgetWizardCloseEvent {
|
|
22
|
+
type: WidgetWizardCloseEventType;
|
|
23
|
+
widget: BasicWidget | null;
|
|
24
|
+
}
|
|
25
|
+
interface WidgetTypeSelection {
|
|
26
|
+
titleKey: string;
|
|
27
|
+
descriptionKey: string;
|
|
28
|
+
illustrationUrl: string;
|
|
29
|
+
type: WidgetType;
|
|
30
|
+
component: Type<any>;
|
|
31
|
+
}
|
|
32
|
+
declare const WIZARD_STEP_COMPONENTS: Record<WidgetWizardStep, any>;
|
|
33
|
+
declare const AVAILABLE_WIDGETS: WidgetTypeSelection[];
|
|
34
|
+
declare const WIDGET_WIDTH_LABELS: {
|
|
35
|
+
[key: number]: string;
|
|
36
|
+
};
|
|
37
|
+
declare const WIDGET_COLOR_LABELS: {
|
|
38
|
+
[key in WidgetColor]: string;
|
|
39
|
+
};
|
|
40
|
+
declare const WIDGET_DENSITY_LABELS: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
export { AVAILABLE_WIDGETS, WIDGET_COLOR_LABELS, WIDGET_DENSITY_LABELS, WIDGET_WIDTH_LABELS, WidgetDensity, WidgetTypeSelection, WidgetWizardCloseEvent, WidgetWizardCloseEventType, WidgetWizardStep, WIZARD_STEP_COMPONENTS, };
|
|
44
|
+
//# sourceMappingURL=widget-wizard.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/widget-wizard.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAUnC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAUpE,aAAK,gBAAgB;IACnB,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
3
|
+
import { WidgetCollectionContent, WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetInteractiveTableContent, WidgetMapContent, WidgetTableContent } from './widget-content.model';
|
|
4
|
+
import { WidgetDisplayType } from './widget-display.model';
|
|
5
|
+
declare enum WidgetType {
|
|
6
|
+
FIELDS = "fields",
|
|
7
|
+
INTERACTIVE_TABLE = "interactive-table",
|
|
8
|
+
TABLE = "table",
|
|
9
|
+
CUSTOM = "custom",
|
|
10
|
+
COLLECTION = "collection",
|
|
11
|
+
FORMIO = "formio",
|
|
12
|
+
DIVIDER = "divider",
|
|
13
|
+
MAP = "map"
|
|
14
|
+
}
|
|
15
|
+
declare enum WidgetColor {
|
|
16
|
+
YELLOW = "YELLOW",
|
|
17
|
+
ORANGE = "ORANGE",
|
|
18
|
+
RED = "RED",
|
|
19
|
+
BROWN = "BROWN",
|
|
20
|
+
GREEN = "GREEN",
|
|
21
|
+
TURQOISE = "TURQOISE",
|
|
22
|
+
PURPLE = "PURPLE",
|
|
23
|
+
PERIWINKLE = "PERIWINKLE",
|
|
24
|
+
BLUE = "BLUE",
|
|
25
|
+
WHITE = "WHITE",
|
|
26
|
+
HIGHCONTRAST = "HIGHCONTRAST"
|
|
27
|
+
}
|
|
28
|
+
interface WidgetColorTile {
|
|
29
|
+
color: WidgetColor;
|
|
30
|
+
labelKey: string;
|
|
31
|
+
illustration: string;
|
|
32
|
+
}
|
|
33
|
+
type WidgetWidth = 1 | 2 | 3 | 4;
|
|
34
|
+
type CollectionFieldWidth = 'half' | 'full';
|
|
35
|
+
interface WidgetAction {
|
|
36
|
+
name?: string;
|
|
37
|
+
processDefinitionKey?: string;
|
|
38
|
+
caseDefinitionKey?: string;
|
|
39
|
+
navigateTo?: string;
|
|
40
|
+
}
|
|
41
|
+
interface BasicWidget {
|
|
42
|
+
type: WidgetType;
|
|
43
|
+
title: string;
|
|
44
|
+
icon?: string;
|
|
45
|
+
width: WidgetWidth;
|
|
46
|
+
highContrast: boolean;
|
|
47
|
+
color?: WidgetColor;
|
|
48
|
+
key: string;
|
|
49
|
+
properties?: WidgetContentProperties;
|
|
50
|
+
isCompact?: boolean;
|
|
51
|
+
actions?: WidgetAction[];
|
|
52
|
+
displayConditions: Array<Condition<string>>;
|
|
53
|
+
}
|
|
54
|
+
interface FieldsWidgetValue {
|
|
55
|
+
key: string;
|
|
56
|
+
title: string;
|
|
57
|
+
value: string;
|
|
58
|
+
ellipsisCharacterLimit?: number;
|
|
59
|
+
displayProperties?: WidgetDisplayType;
|
|
60
|
+
sortable?: boolean;
|
|
61
|
+
defaultSort?: Direction;
|
|
62
|
+
}
|
|
63
|
+
interface GeoJsonSource {
|
|
64
|
+
key: string;
|
|
65
|
+
}
|
|
66
|
+
interface MapData {
|
|
67
|
+
geoJsonFeatureCollection: any;
|
|
68
|
+
}
|
|
69
|
+
interface FieldsWidget extends BasicWidget {
|
|
70
|
+
type: WidgetType.FIELDS;
|
|
71
|
+
properties: WidgetFieldsContent;
|
|
72
|
+
}
|
|
73
|
+
interface CollectionWidget extends BasicWidget {
|
|
74
|
+
type: WidgetType.COLLECTION;
|
|
75
|
+
properties: WidgetCollectionContent;
|
|
76
|
+
}
|
|
77
|
+
interface TableWidget extends BasicWidget {
|
|
78
|
+
type: WidgetType.TABLE;
|
|
79
|
+
properties: WidgetTableContent;
|
|
80
|
+
}
|
|
81
|
+
interface InteractiveTableWidget extends BasicWidget {
|
|
82
|
+
type: WidgetType.INTERACTIVE_TABLE;
|
|
83
|
+
properties: WidgetInteractiveTableContent;
|
|
84
|
+
}
|
|
85
|
+
interface InteractiveTableWidget extends BasicWidget {
|
|
86
|
+
type: WidgetType.INTERACTIVE_TABLE;
|
|
87
|
+
properties: WidgetInteractiveTableContent;
|
|
88
|
+
}
|
|
89
|
+
interface CustomWidget extends BasicWidget {
|
|
90
|
+
type: WidgetType.CUSTOM;
|
|
91
|
+
properties: WidgetCustomContent;
|
|
92
|
+
}
|
|
93
|
+
interface FormioWidget extends BasicWidget {
|
|
94
|
+
type: WidgetType.FORMIO;
|
|
95
|
+
properties: {
|
|
96
|
+
formDefinitionName: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface DividerWidget extends BasicWidget {
|
|
100
|
+
type: WidgetType.DIVIDER;
|
|
101
|
+
}
|
|
102
|
+
interface MapWidget extends BasicWidget {
|
|
103
|
+
type: WidgetType.MAP;
|
|
104
|
+
properties: WidgetMapContent;
|
|
105
|
+
}
|
|
106
|
+
type Widget = FieldsWidget | CollectionWidget | CustomWidget | TableWidget | InteractiveTableWidget | FormioWidget | DividerWidget | MapWidget;
|
|
107
|
+
type WidgetWithUuid = Widget & {
|
|
108
|
+
uuid: string;
|
|
109
|
+
};
|
|
110
|
+
type FormioWidgetWidgetWithUuid = FormioWidget & {
|
|
111
|
+
uuid: string;
|
|
112
|
+
};
|
|
113
|
+
interface WidgetWidthsPx {
|
|
114
|
+
[uuid: string]: number;
|
|
115
|
+
}
|
|
116
|
+
interface WidgetContentHeightsPx {
|
|
117
|
+
[uuid: string]: number;
|
|
118
|
+
}
|
|
119
|
+
interface WidgetContentHeightsPxWithContainerWidth {
|
|
120
|
+
[uuid: string]: {
|
|
121
|
+
containerWidth: number;
|
|
122
|
+
height: number;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
interface WidgetConfigurationBin {
|
|
126
|
+
configurationKey: string;
|
|
127
|
+
width: number;
|
|
128
|
+
height: number;
|
|
129
|
+
}
|
|
130
|
+
interface WidgetPackResultItem {
|
|
131
|
+
width: number;
|
|
132
|
+
height: number;
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
item: WidgetConfigurationBin;
|
|
136
|
+
}
|
|
137
|
+
interface WidgetPackResult {
|
|
138
|
+
height: number;
|
|
139
|
+
width: number;
|
|
140
|
+
items: WidgetPackResultItem[];
|
|
141
|
+
}
|
|
142
|
+
interface MaxRectsResult extends WidgetConfigurationBin {
|
|
143
|
+
x: number;
|
|
144
|
+
y: number;
|
|
145
|
+
}
|
|
146
|
+
interface WidgetPackResultItemsByRow {
|
|
147
|
+
[rowY: string]: WidgetPackResultItem[];
|
|
148
|
+
}
|
|
149
|
+
interface WidgetXY {
|
|
150
|
+
x: number;
|
|
151
|
+
y: number;
|
|
152
|
+
}
|
|
153
|
+
interface CustomWidgetConfig {
|
|
154
|
+
[componentKey: string]: Type<any>;
|
|
155
|
+
}
|
|
156
|
+
interface WidgetGroup {
|
|
157
|
+
divider: DividerWidget | null;
|
|
158
|
+
widgets: Widget[];
|
|
159
|
+
}
|
|
160
|
+
type WidgetComponentMap = Record<Exclude<WidgetType, WidgetType.DIVIDER>, Type<any>>;
|
|
161
|
+
type WidgetContext = 'case' | 'iko';
|
|
162
|
+
export { BasicWidget, Widget, WidgetAction, WidgetConfigurationBin, WidgetContentHeightsPx, WidgetContentHeightsPxWithContainerWidth, WidgetPackResult, WidgetType, WidgetWidth, WidgetWidthsPx, WidgetWithUuid, WidgetXY, CollectionFieldWidth, DividerWidget, FieldsWidget, FieldsWidgetValue, GeoJsonSource, MapData, CollectionWidget, CustomWidgetConfig, CustomWidget, TableWidget, InteractiveTableWidget, MapWidget, WidgetPackResultItem, WidgetPackResultItemsByRow, FormioWidgetWidgetWithUuid, MaxRectsResult, WidgetComponentMap, WidgetContext, WidgetGroup, WidgetColor, WidgetColorTile, };
|
|
163
|
+
//# sourceMappingURL=widget.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/models/widget.model.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,6BAA6B,EAC7B,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,wBAA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AC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,UAAU,0BAA0B;IAClC,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,EAAE,CAAC;CACxC;AAED,UAAU,QAAQ;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,UAAU,kBAAkB;IAC1B,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,UAAU,WAAW;IACnB,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,KAAK,kBAAkB,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAErF,KAAK,aAAa,GAAG,MAAM,GAAG,KAAK,CAAC;AAEpC,OAAO,EACL,WAAW,EACX,MAAM,EACN,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,wCAAwC,EACxC,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,OAAO,EACP,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,SAAS,EACT,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,WAAW,EACX,eAAe,GAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutService {
|
|
3
|
+
private fullscreen;
|
|
4
|
+
constructor();
|
|
5
|
+
get isFullscreen(): boolean;
|
|
6
|
+
toggleFullscreen(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=layout.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/services/layout.service.ts"],"names":[],"mappings":";AAkBA,qBAGa,aAAa;IACxB,OAAO,CAAC,UAAU,CAAS;;IAI3B,IAAW,YAAY,YAEtB;IAEM,gBAAgB;yCATZ,aAAa;6CAAb,aAAa;CAYzB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ListItem } from 'carbon-components-angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetFieldsService {
|
|
6
|
+
private readonly fb;
|
|
7
|
+
private readonly translateService;
|
|
8
|
+
readonly displayTypeItems: ListItem[];
|
|
9
|
+
constructor(fb: FormBuilder, translateService: TranslateService);
|
|
10
|
+
getDisplayItemsSelected(control: AbstractControl): ListItem[];
|
|
11
|
+
onDisplayTypeSelected(mainKeysArray: string[], formGroup: FormGroup, event: {
|
|
12
|
+
item: ListItem;
|
|
13
|
+
}): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFieldsService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetFieldsService>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=widget-fields.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-fields.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/services/widget-fields.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,eAAe,EAAE,WAAW,EAAE,SAAS,EAAa,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;;AAGnD,qBAGa,mBAAmB;IAoE5B,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IApEnC,SAAgB,gBAAgB,EAAE,QAAQ,EAAE,CAgE1C;gBAGiB,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB;IAG9C,uBAAuB,CAAC,OAAO,EAAE,eAAe,GAAG,QAAQ,EAAE;IAW7D,qBAAqB,CAC1B,aAAa,EAAE,MAAM,EAAE,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GACtB,IAAI;yCAvFI,mBAAmB;6CAAnB,mBAAmB;CAqI/B"}
|