@valtimo/layout 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/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/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 +5019 -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 +39 -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 +2 -0
- package/lib/components/widget-interactive-table/index.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts +37 -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 +60 -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 +39 -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 +42 -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 +34 -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 +53 -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 +8 -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-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 +15 -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 +33 -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-style-step/widget-wizard-style-step.component.d.ts +15 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-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 +15 -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 +16 -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 +46 -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 +4 -0
- package/lib/constants/index.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 +62 -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 +47 -0
- package/lib/models/widget-wizard.model.d.ts.map +1 -0
- package/lib/models/widget.model.d.ts +142 -0
- package/lib/models/widget.model.d.ts.map +1 -0
- package/lib/services/index.d.ts +4 -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-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 +47 -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,8 @@
|
|
|
1
|
+
import { WidgetWizardContentStepComponent } from './widget-wizard-content-step/widget-wizard-content-step.component';
|
|
2
|
+
import { WidgetWizardDensityStepComponent } from './widget-wizard-density-step/widget-wizard-density-step.component';
|
|
3
|
+
import { WidgetWizardDisplayConditionsStepComponent } from './widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component';
|
|
4
|
+
import { WidgetWizardStyleStepComponent } from './widget-wizard-style-step/widget-wizard-style-step.component';
|
|
5
|
+
import { WidgetWizardTypeStepComponent } from './widget-wizard-type-step/widget-wizard-type-step.component';
|
|
6
|
+
import { WidgetWizardWidthStepComponent } from './widget-wizard-width-step/widget-wizard-width-step.component';
|
|
7
|
+
export declare const WIDGET_STEPS: (typeof WidgetWizardContentStepComponent | typeof WidgetWizardDensityStepComponent | typeof WidgetWizardDisplayConditionsStepComponent | typeof WidgetWizardStyleStepComponent | typeof WidgetWizardTypeStepComponent | typeof WidgetWizardWidthStepComponent)[];
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,gCAAgC,EAAC,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAC,gCAAgC,EAAC,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAC,0CAA0C,EAAC,MAAM,yFAAyF,CAAC;AACnJ,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAC7G,OAAO,EAAC,6BAA6B,EAAC,MAAM,6DAA6D,CAAC;AAC1G,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAE7G,eAAO,MAAM,YAAY,kQAOxB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services/widget-wizard.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardContentStepComponent implements AfterViewInit {
|
|
5
|
+
private readonly vcr;
|
|
6
|
+
private readonly widgetWizardService;
|
|
7
|
+
actionButton: TemplateRef<any>;
|
|
8
|
+
projectedNodes: Node[][];
|
|
9
|
+
readonly $selectedWidget: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetTypeSelection>;
|
|
10
|
+
readonly $disableActionButton: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
constructor(vcr: ViewContainerRef, widgetWizardService: WidgetWizardService);
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardContentStepComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardContentStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=widget-wizard-content-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-content-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAGb,WAAW,EAEX,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAGlF,qBAMa,gCAAiC,YAAW,aAAa;IASlE,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IATU,YAAY,EAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAEzE,cAAc,EAAE,IAAI,EAAE,EAAE,CAAC;IAEhC,SAAgB,eAAe,wFAA4C;IAC3E,SAAgB,oBAAoB,kDAAiD;gBAGlE,GAAG,EAAE,gBAAgB,EACrB,mBAAmB,EAAE,mBAAmB;IAQpD,eAAe,IAAI,IAAI;yCAlBnB,gCAAgC;2CAAhC,gCAAgC;CAwB5C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetDensity } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardDensityStepComponent {
|
|
5
|
+
private readonly widgetWizardService;
|
|
6
|
+
readonly WidgetDensity: typeof WidgetDensity;
|
|
7
|
+
readonly $widgetDensity: import("@angular/core").WritableSignal<WidgetDensity>;
|
|
8
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
9
|
+
onSelectedEvent(event: {
|
|
10
|
+
value: WidgetDensity;
|
|
11
|
+
}): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardDensityStepComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardDensityStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-wizard-density-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-density-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-density-step/widget-wizard-density-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,aAAa,EAAc,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAMa,gCAAgC;IAI/B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAHhD,SAAgB,aAAa,uBAAiB;IAC9C,SAAgB,cAAc,wDAA2C;gBAE5C,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,aAAa,CAAA;KAAC,GAAG,IAAI;yCANhD,gCAAgC;2CAAhC,gCAAgC;CAS5C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AbstractControl, FormBuilder } from '@angular/forms';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ListItemWithId, MultiInputKeyValue, ValuePathSelectorPrefix } from '@valtimo/components';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetWizardDisplayConditionsStepComponent {
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly translateService;
|
|
11
|
+
private readonly widgetWizardService;
|
|
12
|
+
private readonly route;
|
|
13
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
14
|
+
readonly params$: Observable<import("@valtimo/shared").CaseManagementParams>;
|
|
15
|
+
private readonly _OPERATORS;
|
|
16
|
+
readonly operatorItems$: Observable<Array<ListItemWithId>>;
|
|
17
|
+
readonly defaultConditionValues$: Observable<{
|
|
18
|
+
key: string;
|
|
19
|
+
dropdown: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[]>;
|
|
22
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
23
|
+
conditions: import("@angular/forms").FormControl<any>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly $multiInputType: import("@angular/core").Signal<"valuePathSelectorDropdownValue" | "keyDropdownValue">;
|
|
26
|
+
get conditions(): AbstractControl;
|
|
27
|
+
constructor(fb: FormBuilder, translateService: TranslateService, widgetWizardService: WidgetWizardService, route: ActivatedRoute);
|
|
28
|
+
onAllConditionsValid(allConditionsValid: boolean): void;
|
|
29
|
+
conditionsValueChange(values: Array<MultiInputKeyValue>): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardDisplayConditionsStepComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardDisplayConditionsStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=widget-wizard-display-conditions-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-display-conditions-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,eAAe,EAAE,WAAW,EAAmC,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAEL,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAc,UAAU,EAAO,MAAM,MAAM,CAAC;AACnD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAiBa,0CAA0C;IAyDnD,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,KAAK;IA3DxB,SAAgB,uBAAuB,iCAA2B;IAElE,SAAgB,OAAO,6DAA4C;IAEnE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOzB;IAEF,SAAgB,cAAc,EAAE,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAU7D;IAEJ,SAAgB,uBAAuB;;;;SAcrC;IAEF,SAAgB,IAAI;;OAEjB;IAEH,SAAgB,eAAe,wFAI7B;IAEF,IAAW,UAAU,IAAI,eAAe,CAEvC;gBAGkB,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,EAAE,cAAc;IAGjC,oBAAoB,CAAC,kBAAkB,EAAE,OAAO,GAAG,IAAI;IAIvD,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI;yCAnE1D,0CAA0C;2CAA1C,0CAA0C;CAiFtD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetStyle } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardStyleStepComponent {
|
|
5
|
+
private readonly widgetWizardService;
|
|
6
|
+
readonly WidgetStyle: typeof WidgetStyle;
|
|
7
|
+
readonly $widgetStyle: import("@angular/core").WritableSignal<WidgetStyle>;
|
|
8
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
9
|
+
onSelectedEvent(event: {
|
|
10
|
+
value: WidgetStyle;
|
|
11
|
+
}): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardStyleStepComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardStyleStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-wizard-style-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-style-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAMa,8BAA8B;IAI7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAHhD,SAAgB,WAAW,qBAAe;IAC1C,SAAgB,YAAY,sDAAyC;gBAExC,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,WAAW,CAAA;KAAC,GAAG,IAAI;yCAN9C,8BAA8B;2CAA9B,8BAA8B;CAS1C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetTypeSelection } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardTypeStepComponent {
|
|
5
|
+
private readonly widgetWizardService;
|
|
6
|
+
readonly $availableWidgetTypes: import("@angular/core").Signal<WidgetTypeSelection[]>;
|
|
7
|
+
readonly $selectedWidget: import("@angular/core").WritableSignal<WidgetTypeSelection>;
|
|
8
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
9
|
+
onSelectedEvent(event: {
|
|
10
|
+
value: WidgetTypeSelection;
|
|
11
|
+
}): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardTypeStepComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardTypeStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-wizard-type-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-type-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAoB,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAOa,6BAA6B;IAW5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAVhD,SAAgB,qBAAqB,wDAOlC;IACH,SAAgB,eAAe,8DAA4C;gBAE9C,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,mBAAmB,CAAA;KAAC,GAAG,IAAI;yCAbtD,6BAA6B;2CAA7B,6BAA6B;CAqBzC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { WidgetWidth } from '../../../../../models';
|
|
3
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetWizardWidthStepComponent {
|
|
6
|
+
private readonly widgetWizardService;
|
|
7
|
+
readonly $fieldsColumnsLength: Signal<number>;
|
|
8
|
+
readonly $widgetWidth: import("@angular/core").WritableSignal<WidgetWidth>;
|
|
9
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
10
|
+
onSelectedEvent(event: {
|
|
11
|
+
value: WidgetWidth;
|
|
12
|
+
}): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardWidthStepComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardWidthStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=widget-wizard-width-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-width-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA+C,MAAM,EAAC,MAAM,eAAe,CAAC;AAGnF,OAAO,EAAa,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAMa,8BAA8B;IAQ7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAPhD,SAAgB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,CAIlD;IACF,SAAgB,YAAY,sDAAyC;gBAExC,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,WAAW,CAAA;KAAC,GAAG,IAAI;yCAV9C,8BAA8B;2CAA9B,8BAA8B;CAa1C"}
|
package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, Signal } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { KeyGeneratorService } from '@valtimo/components';
|
|
4
|
+
import { Step } from 'carbon-components-angular';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { WidgetWizardCloseEvent } from '../../../models';
|
|
7
|
+
import { WidgetWizardService } from '../../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class WidgetManagementWizardComponent implements OnDestroy {
|
|
10
|
+
private readonly cdr;
|
|
11
|
+
private readonly keyGeneratorService;
|
|
12
|
+
private readonly translateService;
|
|
13
|
+
private readonly widgetWizardService;
|
|
14
|
+
private readonly _vcr;
|
|
15
|
+
open: boolean;
|
|
16
|
+
disableDuplicate: boolean;
|
|
17
|
+
private get _editMode();
|
|
18
|
+
set editMode(value: boolean);
|
|
19
|
+
get editMode(): boolean;
|
|
20
|
+
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
21
|
+
readonly secondaryLabels$: Observable<Record<string, string>>;
|
|
22
|
+
readonly steps$: Observable<(Step & {
|
|
23
|
+
stepId: string;
|
|
24
|
+
})[]>;
|
|
25
|
+
readonly $currentStepIndex: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
private _numberOfSteps;
|
|
27
|
+
readonly numberOfSteps$: Observable<number>;
|
|
28
|
+
readonly stepLabel$: Observable<any>;
|
|
29
|
+
readonly $backButtonDisabled: Signal<boolean>;
|
|
30
|
+
$nextButtonDisabled: Signal<boolean>;
|
|
31
|
+
private readonly _subscriptions;
|
|
32
|
+
constructor(cdr: ChangeDetectorRef, keyGeneratorService: KeyGeneratorService, translateService: TranslateService, widgetWizardService: WidgetWizardService);
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
onStepSelected(event: {
|
|
35
|
+
step: Step;
|
|
36
|
+
index: number;
|
|
37
|
+
}): void;
|
|
38
|
+
onNextButtonClick(): void;
|
|
39
|
+
onBackButtonClick(): void;
|
|
40
|
+
onClose(): void;
|
|
41
|
+
private resetWizard;
|
|
42
|
+
private renderStep;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWizardComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWizardComponent, "valtimo-widget-management-wizard", never, { "open": { "alias": "open"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=widget-management-wizard.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-wizard.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/widget-management-wizard.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAIjB,YAAY,EAEZ,SAAS,EAET,MAAM,EAIP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAmB,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAqD,IAAI,EAAC,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAA6B,UAAU,EAAgC,MAAM,MAAM,CAAC;AAC3F,OAAO,EAIL,sBAAsB,EAIvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAgBa,+BAAgC,YAAW,SAAS;IA0H7D,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA3HtC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExB,IAAI,UAAS;IACb,gBAAgB,UAAS;IAEzC,OAAO,KAAK,SAAS,GAEpB;IACD,IAAoB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAe1C;IACD,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAEgB,UAAU,uCAA8C;IAEzE,SAAgB,gBAAgB,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAgBlE;IAEF,SAAgB,MAAM,EAAE,UAAU,CAAC,CAAC,IAAI,GAAG;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,CAAC,EAAE,CAAC,CA8C7D;IAEF,SAAgB,iBAAiB,iDAA8C;IAC/E,OAAO,CAAC,cAAc,CAAK;IAC3B,SAAgB,cAAc,qBAK5B;IAEF,SAAgB,UAAU,kBAIxB;IAEF,SAAgB,mBAAmB,EAAE,MAAM,CAAC,OAAO,CAAC,CAElD;IAEK,mBAAmB,kBAAgD;IAE1E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,GAAG,EAAE,iBAAiB,EACtB,mBAAmB,EAAE,mBAAmB,EACxC,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB;IAWpD,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI;IAIxD,iBAAiB,IAAI,IAAI;IA8BzB,iBAAiB,IAAI,IAAI;IAIzB,OAAO,IAAI,IAAI;IAKtB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,UAAU;yCA7LP,+BAA+B;2CAA/B,+BAA+B;CAsM3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-map/index.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { MapWidget, MapData } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetMapComponent implements AfterViewInit, OnDestroy {
|
|
6
|
+
readonly class = "widget-map";
|
|
7
|
+
private _widgetMapRef;
|
|
8
|
+
set widgetConfiguration(value: MapWidget);
|
|
9
|
+
readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
|
|
10
|
+
readonly noVisibleMap$: BehaviorSubject<boolean>;
|
|
11
|
+
set widgetData(value: object);
|
|
12
|
+
readonly noVisibleMapEvent: EventEmitter<boolean>;
|
|
13
|
+
readonly widgetConfiguration$: BehaviorSubject<MapWidget>;
|
|
14
|
+
readonly widgetData$: BehaviorSubject<MapData>;
|
|
15
|
+
private _observer;
|
|
16
|
+
private map;
|
|
17
|
+
private vectorLayer;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
private openWidthObserver;
|
|
21
|
+
private checkEmptyWidgetData;
|
|
22
|
+
private subscribeMapData;
|
|
23
|
+
private fitMap;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMapComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetMapComponent, "valtimo-widget-map", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, { "noVisibleMapEvent": "noVisibleMapEvent"; }, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-map.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-map.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-map/widget-map.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAIb,YAAY,EAGZ,SAAS,EAIV,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAC,eAAe,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EAAC,SAAS,EAAE,OAAO,EAAC,MAAM,cAAc,CAAC;;AAWhD,qBAiBa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IACjE,SAAsC,KAAK,gBAAgB;IAEnC,OAAO,CAAC,aAAa,CAA6B;IAE1E,IAAoB,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAGvD;IAED,SAAgB,kBAAkB,2BAAuC;IACzE,SAAgB,aAAa,2BAAsC;IAEnE,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAI3C;IAED,SAA0B,iBAAiB,wBAA+B;IAE1E,SAAgB,oBAAoB,6BAA+C;IACnF,SAAgB,WAAW,2BAA6C;IAExE,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,GAAG,CAAO;IAClB,OAAO,CAAC,WAAW,CAA6B;IAEzC,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,gBAAgB;IA0ExB,OAAO,CAAC,MAAM;yCAxHH,kBAAkB;2CAAlB,kBAAkB;CAiI9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-table/index.ts"],"names":[],"mappings":"AAgBA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { CarbonListItem, ColumnConfig } from '@valtimo/components';
|
|
3
|
+
import { Page } from '@valtimo/shared';
|
|
4
|
+
import { PaginationModel } from 'carbon-components-angular';
|
|
5
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { TableWidget } from '../../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetTableComponent {
|
|
9
|
+
private readonly cdr;
|
|
10
|
+
private _widgetConfiguration;
|
|
11
|
+
get widgetConfiguration(): TableWidget;
|
|
12
|
+
set widgetConfiguration(value: TableWidget);
|
|
13
|
+
readonly $showPagination: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
readonly widgetData$: BehaviorSubject<CarbonListItem[]>;
|
|
15
|
+
readonly resolvedData$: BehaviorSubject<object>;
|
|
16
|
+
private _paginationInitialized;
|
|
17
|
+
private _initialNumberOfElements;
|
|
18
|
+
set widgetData(value: Page<CarbonListItem> | null);
|
|
19
|
+
readonly paginationEvent: EventEmitter<PaginationModel>;
|
|
20
|
+
readonly fields$: BehaviorSubject<ColumnConfig[]>;
|
|
21
|
+
readonly $paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
|
|
22
|
+
constructor(cdr: ChangeDetectorRef);
|
|
23
|
+
onSelectPage(page: number): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTableComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTableComponent, "valtimo-widget-table", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": true; }; "widgetData": { "alias": "widgetData"; "required": true; }; }, { "paginationEvent": "paginationEvent"; }, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-table.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-table/widget-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAKb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,cAAc,EAEd,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAEL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EAAoB,WAAW,EAAC,MAAM,cAAc,CAAC;;AAG5D,qBAkBa,oBAAoB;IAoGnB,OAAO,CAAC,QAAQ,CAAC,GAAG;IAnGhC,OAAO,CAAC,oBAAoB,CAAc;IAE1C,IAAW,mBAAmB,IAAI,WAAW,CAE5C;IAED,IAAoC,mBAAmB,CAAC,KAAK,EAAE,WAAW,EA4BzE;IAED,SAAgB,eAAe,kDAA0B;IAEzD,SAAgB,WAAW,oCAAsD;IACjF,SAAgB,aAAa,0BAA4C;IAEzE,OAAO,CAAC,sBAAsB,CAAS;IAEvC,OAAO,CAAC,wBAAwB,CAAU;IAE1C,IAA6B,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,IAAI,EA8CzE;IAED,SAA0B,eAAe,gCAAuC;IAEhF,SAAgB,OAAO,kCAA2C;IAElE,SAAgB,gBAAgB,0DAAyD;gBAE5D,GAAG,EAAE,iBAAiB;IAE5C,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAtG5B,oBAAoB;2CAApB,oBAAoB;CA2GhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-widget-token.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/custom-widget-token.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,kBAAkB,EAAC,MAAM,WAAW,CAAC;AAE7C,QAAA,MAAM,mBAAmB,oCAExB,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,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,62 @@
|
|
|
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;
|
|
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
|
+
}
|
|
48
|
+
interface WidgetCustomContent {
|
|
49
|
+
componentKey: string;
|
|
50
|
+
componentValue: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
interface WidgetFormioContent {
|
|
55
|
+
formDefinitionName: string;
|
|
56
|
+
}
|
|
57
|
+
interface WidgetMapContent {
|
|
58
|
+
geoJsonSources: GeoJsonSource[];
|
|
59
|
+
}
|
|
60
|
+
type WidgetContentProperties = WidgetFieldsContent | WidgetTableContent | WidgetInteractiveTableContent | WidgetCustomContent | WidgetFormioContent | WidgetCollectionContent | WidgetMapContent;
|
|
61
|
+
export { WidgetContentProperties, WidgetCustomContent, WidgetFieldsContent, WidgetFormioContent, WidgetTableContent, WidgetInteractiveTableContent, WidgetCollectionContent, WidgetMapContent, CollectionWidgetField, CollectionWidgetFieldWidth, CollectionWidgetResolvedField, CollectionWidgetTitle, CollectionWidgetCardData, };
|
|
62
|
+
//# 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,0BAA0B,CAAC;IAClC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC;AAED,UAAU,6BAA6B;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,0BAA0B,CAAC;IAClC,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,kBAAkB;IAC1B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA8B,SAAQ,IAAI,CAAC,kBAAkB,EAAE,oBAAoB,CAAC;IAC5F,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,YAAY,CAAC;CAC9B;AAED,UAAU,mBAAmB;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CACzC;AAED,UAAU,mBAAmB;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,UAAU,gBAAgB;IACxB,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AAED,KAAK,uBAAuB,GACxB,mBAAmB,GACnB,kBAAkB,GAClB,6BAA6B,GAC7B,mBAAmB,GACnB,mBAAmB,GACnB,uBAAuB,GACvB,gBAAgB,CAAC;AAErB,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,qBAAqB,EACrB,wBAAwB,GACzB,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare enum WidgetDisplayTypeKey {
|
|
2
|
+
TEXT = "text",
|
|
3
|
+
BOOLEAN = "boolean",
|
|
4
|
+
CURRENCY = "currency",
|
|
5
|
+
DATE = "date",
|
|
6
|
+
DATE_TIME = "datetime",
|
|
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,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAChC,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,wBAAwB;IAChC,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,KAAK,iBAAiB,GAClB,qBAAqB,GACrB,wBAAwB,GACxB,yBAAyB,GACzB,qBAAqB,GACrB,yBAAyB,GACzB,qBAAqB,GACrB,uBAAuB,GACvB,wBAAwB,GACxB,qBAAqB,CAAC;AAE1B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,oBAAoB,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"}
|