@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
package/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './layout';
|
|
2
|
+
export * from './layout-internal';
|
|
3
|
+
export * from './layout-public';
|
|
4
|
+
export * from './widget-field';
|
|
5
|
+
export * from './translation-management';
|
|
6
|
+
export * from './widget-formio';
|
|
7
|
+
export * from './widget-collection';
|
|
8
|
+
export * from './widget-table';
|
|
9
|
+
export * from './widget-interactive-table';
|
|
10
|
+
export * from './widget-custom';
|
|
11
|
+
export * from './widget-block';
|
|
12
|
+
export * from './widget-container';
|
|
13
|
+
export * from './widget-management';
|
|
14
|
+
export * from './widget-map';
|
|
15
|
+
export * from './widget-action-button/widget-action-button.component';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/components/index.ts"],"names":[],"mappings":"AAgBA,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,uDAAuD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout/index.ts"],"names":[],"mappings":"AAgBA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { PlaceholderService } from 'carbon-components-angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
|
+
private readonly placeHolderService;
|
|
7
|
+
private readonly route;
|
|
8
|
+
private readonly router;
|
|
9
|
+
private readonly _carbonPlaceHolder;
|
|
10
|
+
layoutType: string | null;
|
|
11
|
+
private readonly _routerSub;
|
|
12
|
+
private readonly _DEFAULT_LAYOUT;
|
|
13
|
+
constructor(placeHolderService: PlaceholderService, route: ActivatedRoute, router: Router);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
private registerCarbonPlaceHolder;
|
|
18
|
+
private openRouterSubscription;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "valtimo-layout", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=layout.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout/layout.component.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,aAAa,EAEb,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAiB,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;;AAO7D,qBAKa,eAAgB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IASpE,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM;IATzB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAmB;IAE/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAc;gBAG3B,kBAAkB,EAAE,kBAAkB,EACtC,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM;IAG1B,QAAQ;IAIR,eAAe,IAAI,IAAI;IAIvB,WAAW;IAIlB,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,sBAAsB;yCAhCnB,eAAe;2CAAf,eAAe;CAwC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout-internal/index.ts"],"names":[],"mappings":"AAgBA,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { LayoutService } from '../../services/layout.service';
|
|
3
|
+
import { ShellService, UserInterfaceService } from '@valtimo/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LayoutInternalComponent implements AfterViewInit, OnDestroy {
|
|
6
|
+
layoutService: LayoutService;
|
|
7
|
+
private readonly renderer;
|
|
8
|
+
private readonly userInterfaceService;
|
|
9
|
+
private readonly shellService;
|
|
10
|
+
mainContentRef: ElementRef;
|
|
11
|
+
readonly showPageHeader$: import("rxjs").Observable<boolean>;
|
|
12
|
+
readonly sideBarExpanded$: import("rxjs").Observable<boolean>;
|
|
13
|
+
readonly collapsibleWidescreenMenu$: import("rxjs").Observable<boolean>;
|
|
14
|
+
private _observer;
|
|
15
|
+
constructor(layoutService: LayoutService, renderer: Renderer2, userInterfaceService: UserInterfaceService, shellService: ShellService);
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutInternalComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutInternalComponent, "valtimo-layout-internal", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=layout-internal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-internal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout-internal/layout-internal.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAa,UAAU,EAAE,SAAS,EAAE,SAAS,EAAY,MAAM,eAAe,CAAC;AACpG,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAE,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;;AAKvE,qBAMa,uBAAwB,YAAW,aAAa,EAAE,SAAS;IAU7D,aAAa,EAAE,aAAa;IACnC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAZL,cAAc,EAAE,UAAU,CAAC;IAErD,SAAgB,eAAe,qCAA6C;IAC5E,SAAgB,gBAAgB,qCAAsC;IACtE,SAAgB,0BAA0B,qCAAgD;IAE1F,OAAO,CAAC,SAAS,CAAkB;gBAG1B,aAAa,EAAE,aAAa,EAClB,QAAQ,EAAE,SAAS,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,YAAY,EAAE,YAAY;IAKtC,eAAe,IAAI,IAAI;IASvB,WAAW,IAAI,IAAI;yCA3Bf,uBAAuB;2CAAvB,uBAAuB;CA8BnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout-public/index.ts"],"names":[],"mappings":"AAgBA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutPublicComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutPublicComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutPublicComponent, "valtimo-layout-public", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=layout-public.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-public.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/layout-public/layout-public.component.ts"],"names":[],"mappings":";AAkBA,qBAMa,qBAAqB;yCAArB,qBAAqB;2CAArB,qBAAqB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/translation-management/index.ts"],"names":[],"mappings":"AAgBA,cAAc,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { LocalizationService } from '@valtimo/shared';
|
|
5
|
+
import { ArbitraryInputTitles, MultiInputKeyValue, MultiInputOutput, PageHeaderService } from '@valtimo/components';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TranslationManagementComponent implements OnInit {
|
|
8
|
+
private readonly translateService;
|
|
9
|
+
private readonly localizationService;
|
|
10
|
+
private readonly pageHeaderService;
|
|
11
|
+
private readonly document;
|
|
12
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
13
|
+
readonly allChangedValuesValid$: BehaviorSubject<boolean>;
|
|
14
|
+
readonly disabled$: BehaviorSubject<boolean>;
|
|
15
|
+
private readonly _languageOptions$;
|
|
16
|
+
private readonly _refreshLocalizations$;
|
|
17
|
+
private readonly _localizationTranslations$;
|
|
18
|
+
private _defaultValues;
|
|
19
|
+
private readonly _changedValues$;
|
|
20
|
+
readonly showConfirmationModal$: BehaviorSubject<boolean>;
|
|
21
|
+
readonly valuesChanged$: Observable<boolean>;
|
|
22
|
+
readonly localizationTranslationValues$: Observable<Array<MultiInputKeyValue>>;
|
|
23
|
+
readonly multiInputTiles$: Observable<ArbitraryInputTitles>;
|
|
24
|
+
readonly amountOfArbitraryValues$: Observable<number>;
|
|
25
|
+
readonly compactMode$: Observable<boolean>;
|
|
26
|
+
constructor(translateService: TranslateService, localizationService: LocalizationService, pageHeaderService: PageHeaderService, document: Document);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
validChange(valid: boolean): void;
|
|
29
|
+
valueChange(value: MultiInputOutput): void;
|
|
30
|
+
saveAndRefresh(): void;
|
|
31
|
+
saveAndStay(): void;
|
|
32
|
+
cancel(): void;
|
|
33
|
+
showModal(): void;
|
|
34
|
+
saveChanges(reload?: boolean): void;
|
|
35
|
+
private setLanguages;
|
|
36
|
+
private disable;
|
|
37
|
+
private enable;
|
|
38
|
+
private hideModal;
|
|
39
|
+
private flattenObject;
|
|
40
|
+
private unflattenObject;
|
|
41
|
+
private getLocalizationsForUpdateRequest;
|
|
42
|
+
private mapMergedLocalizationsToMultiInput;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationManagementComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationManagementComponent, "valtimo-translation-management", never, {}, {}, never, never, false, never>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=translation-management.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-management.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/translation-management/translation-management.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAoB,MAAM,EAAC,MAAM,eAAe,CAAC;AACxD,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAuB,MAAM,MAAM,CAAC;AAC3F,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAe,mBAAmB,EAAsB,MAAM,iBAAiB,CAAC;AACvF,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;;AAI7B,qBAMa,8BAA+B,YAAW,MAAM;IA8DzD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAhE7C,SAAgB,QAAQ,2BAAsC;IAC9D,SAAgB,sBAAsB,2BAAuC;IAC7E,SAAgB,SAAS,2BAAuC;IAEhE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAiD;IACnF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAmC;IAC1E,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAIzC;IAEF,OAAO,CAAC,cAAc,CAAiC;IAEvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAoD;IAEpF,SAAgB,sBAAsB,2BAAuC;IAE7E,SAAgB,cAAc,EAAE,UAAU,CAAC,OAAO,CAAC,CAEjD;IAEF,SAAgB,8BAA8B,EAAE,UAAU,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAYjF;IAEJ,SAAgB,gBAAgB,EAAE,UAAU,CAAC,oBAAoB,CAAC,CAgBhE;IAEF,SAAgB,wBAAwB,EAAE,UAAU,CAAC,MAAM,CAAC,CAE1D;IAEF,SAAgB,YAAY,sBAAuC;gBAGhD,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,iBAAiB,EAClB,QAAQ,EAAE,QAAQ;IAGhD,QAAQ,IAAI,IAAI;IAIhB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIjC,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAI1C,cAAc,IAAI,IAAI;IAItB,WAAW,IAAI,IAAI;IAInB,MAAM,IAAI,IAAI;IAId,SAAS,IAAI,IAAI;IAIjB,WAAW,CAAC,MAAM,UAAQ,GAAG,IAAI;IAuBxC,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,aAAa;IAoBrB,OAAO,CAAC,eAAe;IAYvB,OAAO,CAAC,gCAAgC;IA+BxC,OAAO,CAAC,kCAAkC;yCAtM/B,8BAA8B;2CAA9B,8BAA8B;CAiO1C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasicWidget, WidgetAction } from '../../models';
|
|
2
|
+
import { GlobalNotificationService } from '@valtimo/shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetActionButtonComponent {
|
|
5
|
+
private readonly globalNotificationService;
|
|
6
|
+
widgetConfiguration: BasicWidget;
|
|
7
|
+
resolvedData: object;
|
|
8
|
+
constructor(globalNotificationService: GlobalNotificationService);
|
|
9
|
+
onNavigateButtonClick(buttonAction: WidgetAction): void;
|
|
10
|
+
private resolveProperty;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetActionButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetActionButtonComponent, "valtimo-widget-action-button", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "resolvedData": { "alias": "resolvedData"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=widget-action-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-action-button.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-action-button/widget-action-button.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,cAAc,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;;AAE1D,qBAOa,2BAA2B;IAI1B,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAHtC,mBAAmB,EAAE,WAAW,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;gBAER,yBAAyB,EAAE,yBAAyB;IAE1E,qBAAqB,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI;IAe9D,OAAO,CAAC,eAAe;yCArBZ,2BAA2B;2CAA3B,2BAA2B;CAyBvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-block/index.ts"],"names":[],"mappings":"AAgBA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { WidgetComponentMap, WidgetWithUuid } from '../../models';
|
|
6
|
+
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetBlockComponent implements AfterViewInit, OnDestroy {
|
|
9
|
+
private readonly widgetLayoutService;
|
|
10
|
+
private readonly route;
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly renderer;
|
|
13
|
+
private readonly viewRef;
|
|
14
|
+
private _widgetBlockContentRef;
|
|
15
|
+
readonly dynamicContainer: ViewContainerRef;
|
|
16
|
+
set widget(value: WidgetWithUuid);
|
|
17
|
+
readonly widgetComponentMap: WidgetComponentMap;
|
|
18
|
+
widgetParams: object;
|
|
19
|
+
private readonly _widget$;
|
|
20
|
+
get widget$(): Observable<WidgetWithUuid>;
|
|
21
|
+
private readonly _viewContainerRefSubject$;
|
|
22
|
+
private get _viewContainerRef$();
|
|
23
|
+
private readonly _contentHeight$;
|
|
24
|
+
readonly blockHeightPx$: Observable<[number, ViewContainerRef]>;
|
|
25
|
+
readonly blockWidthPercentage$: Observable<[number, WidgetWithUuid, ViewContainerRef]>;
|
|
26
|
+
readonly documentId$: Observable<any>;
|
|
27
|
+
readonly theme$: Observable<CARBON_THEME>;
|
|
28
|
+
private readonly _subscriptions;
|
|
29
|
+
private _observer;
|
|
30
|
+
constructor(widgetLayoutService: WidgetLayoutService, route: ActivatedRoute, cdsThemeService: CdsThemeService, renderer: Renderer2, viewRef: ViewContainerRef);
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
private openContentHeightObserver;
|
|
34
|
+
private observerMutation;
|
|
35
|
+
openWidgetComponentSubscription(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBlockComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBlockComponent, "valtimo-widget-block", never, { "widget": { "alias": "widget"; "required": false; }; "widgetComponentMap": { "alias": "widgetComponentMap"; "required": false; }; "widgetParams": { "alias": "widgetParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=widget-block.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-block.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-block/widget-block.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EACT,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EACL,YAAY,EAEZ,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAKL,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,kBAAkB,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAGzE,qBAQa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IA2EjE,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IA9EO,OAAO,CAAC,sBAAsB,CAA6B;IAC5F,SACgB,gBAAgB,EAAE,gBAAgB,CAAC;IAEnD,IAAoB,MAAM,CAAC,KAAK,EAAE,cAAc,EAE/C;IAED,SAAyB,kBAAkB,EAAE,kBAAkB,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IAEtD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoD;IAE7E,IAAW,OAAO,IAAI,UAAU,CAAC,cAAc,CAAC,CAE/C;IAED,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAsD;IAEhG,OAAO,KAAK,kBAAkB,GAE7B;IAED,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkC;IAElE,SAAgB,cAAc,yCAW5B;IAEF,SAAgB,qBAAqB,yDAYnC;IAEF,SAAgB,WAAW,kBAGzB;IAEF,SAAgB,MAAM,2BAUpB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,OAAO,CAAC,SAAS,CAAkB;gBAGhB,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,EAAE,cAAc,EACrB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,gBAAgB;IAGrC,eAAe,IAAI,IAAI;IAMvB,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,gBAAgB;IAQjB,+BAA+B,IAAI,IAAI;yCA5GnC,oBAAoB;2CAApB,oBAAoB;CA4HhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-collection/index.ts"],"names":[],"mappings":"AAgBA,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ViewContentService } from '@valtimo/components';
|
|
3
|
+
import { Page } from '@valtimo/shared';
|
|
4
|
+
import { PaginationModel } from 'carbon-components-angular';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { CollectionWidget, CollectionWidgetCardData, CollectionWidgetResolvedField } from '../../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetCollectionComponent implements AfterViewInit, OnDestroy {
|
|
9
|
+
private readonly viewContentService;
|
|
10
|
+
private readonly cdr;
|
|
11
|
+
hostClasses: string;
|
|
12
|
+
private _widgetCollectionRef;
|
|
13
|
+
set widgetConfiguration(value: CollectionWidget);
|
|
14
|
+
readonly showPagination$: BehaviorSubject<boolean>;
|
|
15
|
+
private readonly _widgetData$;
|
|
16
|
+
get widgetData$(): Observable<Page<CollectionWidgetCardData>>;
|
|
17
|
+
private _paginationInitialized;
|
|
18
|
+
private _initialNumberOfElements;
|
|
19
|
+
set widgetData(value: Page<CollectionWidgetCardData> | null);
|
|
20
|
+
readonly paginationEvent: EventEmitter<PaginationModel>;
|
|
21
|
+
readonly noVisibleFields$: BehaviorSubject<boolean>;
|
|
22
|
+
readonly $widgetTitle: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
readonly widgetConfiguration$: BehaviorSubject<CollectionWidget>;
|
|
24
|
+
readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
|
|
25
|
+
readonly amountOfColumns: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
readonly collectionWidgetCards$: Observable<{
|
|
27
|
+
title: string;
|
|
28
|
+
fields: CollectionWidgetResolvedField[];
|
|
29
|
+
key: number;
|
|
30
|
+
hidden: boolean;
|
|
31
|
+
}[]>;
|
|
32
|
+
private _observer;
|
|
33
|
+
constructor(viewContentService: ViewContentService, cdr: ChangeDetectorRef);
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
onSelectPage(page: number): void;
|
|
37
|
+
private getCardField;
|
|
38
|
+
private openWidthObserver;
|
|
39
|
+
private observerMutation;
|
|
40
|
+
private getCardTitle;
|
|
41
|
+
private checkEmptyFields;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCollectionComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCollectionComponent, "valtimo-widget-collection", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, { "paginationEvent": "paginationEvent"; }, never, ["*"], true, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=widget-collection.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-collection/widget-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAmB,kBAAkB,EAAyB,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAM,MAAM,MAAM,CAAC;AAClF,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EAExB,6BAA6B,EAG9B,MAAM,cAAc,CAAC;;AAGtB,qBAmBa,yBAA0B,YAAW,aAAa,EAAE,SAAS;IAwGtE,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,GAAG;IAxGO,WAAW,SAA+B;IACxC,OAAO,CAAC,oBAAoB,CAA6B;IAExF,IAAoB,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,EAI9D;IAED,SAAgB,eAAe,2BAAuC;IAEtE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoE;IAEjG,IAAW,WAAW,IAAI,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAEnE;IAED,OAAO,CAAC,sBAAsB,CAAS;IAEvC,OAAO,CAAC,wBAAwB,CAAU;IAE1C,IAAoB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAyC1E;IAED,SAA0B,eAAe,gCAAuC;IAEhF,SAAgB,gBAAgB,2BAAsC;IACtE,SAAgB,YAAY,iDAAe;IAE3C,SAAgB,oBAAoB,oCAAsD;IAC1F,SAAgB,eAAe,0DAAkD;IACjF,SAAgB,eAAe,iDAAa;IAE5C,SAAgB,sBAAsB,EAAE,UAAU,CAChD;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,6BAA6B,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAC,EAAE,CACzF,CAuBC;IAEF,OAAO,CAAC,SAAS,CAAkB;gBAGhB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,iBAAiB;IAGlC,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIvC,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,gBAAgB;yCAvLb,yBAAyB;2CAAzB,yBAAyB;CA+LrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-container/index.ts"],"names":[],"mappings":"AAgBA,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { Widget, WidgetComponentMap, WidgetWithUuid } from '../../models';
|
|
4
|
+
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly widgetLayoutService;
|
|
8
|
+
private _widgetsContainerRef;
|
|
9
|
+
readonly widgetsWithUuids$: BehaviorSubject<WidgetWithUuid[]>;
|
|
10
|
+
set widgets(value: Widget[]);
|
|
11
|
+
private readonly _widgetComponentMap$;
|
|
12
|
+
get widgetComponentMap$(): Observable<WidgetComponentMap>;
|
|
13
|
+
set widgetComponentMap(value: WidgetComponentMap);
|
|
14
|
+
widgetParams: object;
|
|
15
|
+
readonly loadingWidgetConfiguration$: BehaviorSubject<boolean>;
|
|
16
|
+
readonly reload$: BehaviorSubject<boolean>;
|
|
17
|
+
readonly loaded$: Observable<boolean>;
|
|
18
|
+
private _observer;
|
|
19
|
+
constructor(widgetLayoutService: WidgetLayoutService);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
private resetLayout;
|
|
22
|
+
private destroyLayout;
|
|
23
|
+
initLayout(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
private observerMutation;
|
|
26
|
+
private initMuuri;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetContainerComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetContainerComponent, "valtimo-widget-container", never, { "widgets": { "alias": "widgets"; "required": false; }; "widgetComponentMap": { "alias": "widgetComponentMap"; "required": false; }; "widgetParams": { "alias": "widgetParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=widget-container.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-container/widget-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAEV,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAC,eAAe,EAAgB,UAAU,EAA8B,MAAM,MAAM,CAAC;AAI5F,OAAO,EAAC,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AACxE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAGzE,qBASa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAoC3D,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAnCjB,OAAO,CAAC,oBAAoB,CAA6B;IAExF,SAAgB,iBAAiB,oCAA+C;IAEhF,IAAoB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAQ1C;IAED,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAEnC;IAEF,IAAW,mBAAmB,IAAI,UAAU,CAAC,kBAAkB,CAAC,CAE/D;IAED,IAAoB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,EAE/D;IAEgC,YAAY,EAAE,MAAM,CAAM;IAE3D,SAAgB,2BAA2B,2BAAsC;IAEjF,SAAgB,OAAO,2BAAuC;IAC9D,SAAgB,OAAO,sBAA0E;IAEjG,OAAO,CAAC,SAAS,CAAkB;gBAEN,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,IAAI,IAAI;IAI9B,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,aAAa;IAKd,UAAU,IAAI,IAAI;IAUlB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,SAAS;yCA7EN,wBAAwB;2CAAxB,wBAAwB;CAyFpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-custom/index.ts"],"names":[],"mappings":"AAgBA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { DocumentService } from '@valtimo/document';
|
|
4
|
+
import { PermissionService } from '@valtimo/access-control';
|
|
5
|
+
import { CustomWidget, CustomWidgetConfig } from '../../models';
|
|
6
|
+
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetCustomComponent implements AfterViewInit, OnDestroy {
|
|
9
|
+
private readonly customWidgetConfig;
|
|
10
|
+
private readonly cdr;
|
|
11
|
+
private readonly widgetLayoutService;
|
|
12
|
+
protected readonly documentService: DocumentService;
|
|
13
|
+
protected readonly permissionService: PermissionService;
|
|
14
|
+
private readonly _customWidgetContainerRef;
|
|
15
|
+
set widgetConfiguration(value: CustomWidget);
|
|
16
|
+
set widgetData(value: object);
|
|
17
|
+
set widgetUuid(value: string);
|
|
18
|
+
private readonly _customWidgetConfig$;
|
|
19
|
+
private readonly _widgetConfigSubject$;
|
|
20
|
+
readonly widgetData$: BehaviorSubject<object>;
|
|
21
|
+
get widgetConfig$(): Observable<CustomWidget>;
|
|
22
|
+
readonly noCustomComponentAvailable: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
private readonly _subscriptions;
|
|
24
|
+
constructor(customWidgetConfig: CustomWidgetConfig, cdr: ChangeDetectorRef, widgetLayoutService: WidgetLayoutService, documentService: DocumentService, permissionService: PermissionService);
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
private openCustomWidgetSubscription;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCustomComponent, [{ optional: true; }, null, null, null, null]>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=widget-custom.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-custom/widget-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAIjB,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,eAAe,EAAyB,UAAU,EAAe,MAAM,MAAM,CAAC;AAGtF,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAGzE,qBAgBa,qBAAsB,YAAW,aAAa,EAAE,SAAS;IAkClE,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IApCzD,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAmB;IAE7D,IAAoB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAG1D;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3C;IAED,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAoD;IACzF,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAkD;IAExF,SAAgB,WAAW,0BAA4C;IAEvE,IAAW,aAAa,IAAI,UAAU,CAAC,YAAY,CAAC,CAEnD;IAED,SAAgB,0BAA0B,kDAAiB;IAE3D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAKlC,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,iBAAiB,EACtB,mBAAmB,EAAE,mBAAmB,EACtC,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB;IAKlD,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,4BAA4B;yCAnDzB,qBAAqB;2CAArB,qBAAqB;CA0EjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-field/index.ts"],"names":[],"mappings":"AAgBA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ViewContentService } from '@valtimo/components';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { FieldsWidget } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetFieldComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly viewContentService;
|
|
8
|
+
hostClasses: string;
|
|
9
|
+
private _widgetFieldRef;
|
|
10
|
+
set widgetConfiguration(value: FieldsWidget);
|
|
11
|
+
readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
|
|
12
|
+
readonly noVisibleFields$: BehaviorSubject<boolean>;
|
|
13
|
+
set widgetData(value: object);
|
|
14
|
+
readonly noVisibleFieldsEvent: EventEmitter<boolean>;
|
|
15
|
+
readonly renderVertically: import("@angular/core").WritableSignal<number>;
|
|
16
|
+
readonly widgetConfiguration$: BehaviorSubject<FieldsWidget>;
|
|
17
|
+
readonly widgetData$: BehaviorSubject<object>;
|
|
18
|
+
readonly widgetPropertyValue$: Observable<{
|
|
19
|
+
title: string;
|
|
20
|
+
value: string;
|
|
21
|
+
ellipsisCharacterLimit: number | null;
|
|
22
|
+
hideWhenEmpty: boolean | false;
|
|
23
|
+
isRawValue: boolean | false;
|
|
24
|
+
}[][]>;
|
|
25
|
+
private _observer;
|
|
26
|
+
constructor(viewContentService: ViewContentService);
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
private openWidthObserver;
|
|
30
|
+
private observerMutation;
|
|
31
|
+
private checkEmptyWidgetData;
|
|
32
|
+
private checkEmptyFields;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFieldComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFieldComponent, "valtimo-widget-field", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, { "noVisibleFieldsEvent": "noVisibleFieldsEvent"; }, never, ["*"], true, never>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=widget-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAIb,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAIL,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAM,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;;AAI1C,qBAmBa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IAqEvD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IApElB,WAAW,SAA0B;IAExC,OAAO,CAAC,eAAe,CAA6B;IAE9E,IAAoB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAI1D;IACD,SAAgB,kBAAkB,2BAAuC;IACzE,SAAgB,gBAAgB,2BAAsC;IAEtE,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAI3C;IAED,SAA0B,oBAAoB,wBAA+B;IAE7E,SAAgB,gBAAgB,iDAAa;IAC7C,SAAgB,oBAAoB,gCAAkD;IACtF,SAAgB,WAAW,0BAA4C;IAEvE,SAAgB,oBAAoB,EAAE,UAAU,CAC9C;QACE,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;QACtC,aAAa,EAAE,OAAO,GAAG,KAAK,CAAC;QAC/B,UAAU,EAAE,OAAO,GAAG,KAAK,CAAC;KAC7B,EAAE,EAAE,CACN,CAgCC;IAEF,OAAO,CAAC,SAAS,CAAkB;gBAEN,kBAAkB,EAAE,kBAAkB;IAE5D,eAAe,IAAI,IAAI;IAGvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,gBAAgB;yCAzGb,oBAAoB;2CAApB,oBAAoB;CAuHhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-formio/index.ts"],"names":[],"mappings":"AAgBA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DestroyRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { FormService } from '@valtimo/form';
|
|
4
|
+
import { FormioForm } from '@formio/angular';
|
|
5
|
+
import { FormioWidgetWidgetWithUuid } from '../../models';
|
|
6
|
+
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetFormioComponent {
|
|
9
|
+
private readonly formService;
|
|
10
|
+
private readonly widgetLayoutService;
|
|
11
|
+
private readonly destroyRef;
|
|
12
|
+
set documentId(value: string);
|
|
13
|
+
set widgetConfiguration(value: FormioWidgetWidgetWithUuid);
|
|
14
|
+
set widgetData(value: object);
|
|
15
|
+
set widgetUuid(value: string);
|
|
16
|
+
private readonly _refreshTrigger$;
|
|
17
|
+
readonly widgetData$: BehaviorSubject<object>;
|
|
18
|
+
private _refreshEmitter;
|
|
19
|
+
private _refreshSubscription;
|
|
20
|
+
private _widgetUuid;
|
|
21
|
+
private _hasSignalledExternalDataReady;
|
|
22
|
+
set refreshForm(value: EventEmitter<void> | null);
|
|
23
|
+
private readonly _widgetConfigurationSubject$;
|
|
24
|
+
get widgetConfiguration$(): Observable<FormioWidgetWidgetWithUuid>;
|
|
25
|
+
private readonly _documentIdSubject$;
|
|
26
|
+
private get _documentId$();
|
|
27
|
+
readonly prefilledFormDefinition$: Observable<FormioForm>;
|
|
28
|
+
constructor(formService: FormService, widgetLayoutService: WidgetLayoutService, destroyRef: DestroyRef);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFormioComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFormioComponent, "valtimo-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; "refreshForm": { "alias": "refreshForm"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=widget-formio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-formio/widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,YAAY,EAAQ,MAAM,eAAe,CAAC;AAGlG,OAAO,EACL,eAAe,EAIf,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAIzE,qBAea,qBAAqB;IAkF9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAnF7B,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3C;IAED,IAAoB,mBAAmB,CAAC,KAAK,EAAE,0BAA0B,EAGxE;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAK3C;IAED,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAwC;IACzE,SAAgB,WAAW,0BAA4C;IAEvE,OAAO,CAAC,eAAe,CAAmC;IAC1D,OAAO,CAAC,oBAAoB,CAA6B;IACzD,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,8BAA8B,CAAS;IAE/C,IACW,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,IAAI,EAYtD;IAED,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACkB;IAC/D,IAAW,oBAAoB,IAAI,UAAU,CAAC,0BAA0B,CAAC,CAExE;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IACvE,OAAO,KAAK,YAAY,GAEvB;IAED,SAAgB,wBAAwB,EAAE,UAAU,CAAC,UAAU,CAAC,CAuB9D;gBAGiB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,mBAAmB,EACxC,UAAU,EAAE,UAAU;yCApF9B,qBAAqB;2CAArB,qBAAqB;CAsFjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-interactive-table/index.ts"],"names":[],"mappings":"AAgBA,cAAc,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { CarbonListItem, CarbonPaginatorConfig, ColumnConfig, Pagination } from '@valtimo/components';
|
|
3
|
+
import { CaseDefinition, DocumentService } from '@valtimo/document';
|
|
4
|
+
import { IconService } from 'carbon-components-angular';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { InteractiveTableWidget, WidgetAction } from '../../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetInteractiveTableComponent {
|
|
9
|
+
private readonly cdr;
|
|
10
|
+
private readonly documentService;
|
|
11
|
+
private readonly iconService;
|
|
12
|
+
readonly class = "valtimo-widget-interactive-table";
|
|
13
|
+
private _widgetConfiguration;
|
|
14
|
+
get widgetConfiguration(): InteractiveTableWidget;
|
|
15
|
+
set widgetConfiguration(value: InteractiveTableWidget);
|
|
16
|
+
readonly $showPagination: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
readonly widgetData$: BehaviorSubject<CarbonListItem[]>;
|
|
18
|
+
private _paginationInitialized;
|
|
19
|
+
private _initialNumberOfElements;
|
|
20
|
+
set widgetData(value: any | null);
|
|
21
|
+
readonly paginationEvent: EventEmitter<Pagination>;
|
|
22
|
+
readonly rowClickEvent: EventEmitter<any>;
|
|
23
|
+
readonly actionEvent: EventEmitter<WidgetAction>;
|
|
24
|
+
readonly caseStartEvent: EventEmitter<CaseDefinition>;
|
|
25
|
+
readonly fields$: BehaviorSubject<ColumnConfig[]>;
|
|
26
|
+
readonly caseDefinitions$: Observable<CaseDefinition[]>;
|
|
27
|
+
readonly $paginationModel: import("@angular/core").WritableSignal<Pagination>;
|
|
28
|
+
readonly $paginatorConfig: import("@angular/core").WritableSignal<CarbonPaginatorConfig>;
|
|
29
|
+
constructor(cdr: ChangeDetectorRef, documentService: DocumentService, iconService: IconService);
|
|
30
|
+
onActionClick(action: WidgetAction): void;
|
|
31
|
+
onCaseStart(definition: CaseDefinition): void;
|
|
32
|
+
onPaginationClicked(page: number): void;
|
|
33
|
+
rowClick(event: any): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetInteractiveTableComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetInteractiveTableComponent, "valtimo-widget-interactive-table", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": true; }; "widgetData": { "alias": "widgetData"; "required": true; }; }, { "paginationEvent": "paginationEvent"; "rowClickEvent": "rowClickEvent"; "actionEvent": "actionEvent"; "caseStartEvent": "caseStartEvent"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=widget-interactive-table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-interactive-table/widget-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAMb,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,cAAc,EAEd,qBAAqB,EACrB,YAAY,EAEZ,UAAU,EAEX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAKL,WAAW,EAIZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAoB,sBAAsB,EAAE,YAAY,EAAC,MAAM,cAAc,CAAC;;AAErF,qBAqBa,+BAA+B;IAiHxC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAlH9B,SAAsC,KAAK,sCAAsC;IACjF,OAAO,CAAC,oBAAoB,CAAyB;IAErD,IAAW,mBAAmB,IAAI,sBAAsB,CAEvD;IAED,IAAoC,mBAAmB,CAAC,KAAK,EAAE,sBAAsB,EA2BpF;IAED,SAAgB,eAAe,kDAA0B;IAEzD,SAAgB,WAAW,oCAAsD;IAEjF,OAAO,CAAC,sBAAsB,CAAS;IAEvC,OAAO,CAAC,wBAAwB,CAAU;IAE1C,IAA6B,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,EAkDxD;IAED,SAA0B,eAAe,2BAAkC;IAC3E,SAA0B,aAAa,oBAA2B;IAClE,SAA0B,WAAW,6BAAoC;IACzE,SAA0B,cAAc,+BAAsC;IAE9E,SAAgB,OAAO,kCAA2C;IAClE,SAAgB,gBAAgB,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CACJ;IAE1D,SAAgB,gBAAgB,qDAAmC;IACnE,SAAgB,gBAAgB,gEAG7B;gBAGgB,GAAG,EAAE,iBAAiB,EACtB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW;IAKpC,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;IAIzC,WAAW,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAI7C,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAMvC,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;yCAtItB,+BAA+B;2CAA/B,+BAA+B;CAyI3C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './management-content';
|
|
2
|
+
export * from './management-editor/widget-management-editor.component';
|
|
3
|
+
export * from './management-wizard/widget-management-wizard.component';
|
|
4
|
+
export * from './management/widget-management.component';
|
|
5
|
+
//# 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/index.ts"],"names":[],"mappings":"AAgBA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wDAAwD,CAAC;AACvE,cAAc,wDAAwD,CAAC;AACvE,cAAc,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EditorModel } from '@valtimo/components';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { IWidgetManagementService } from '../../../interfaces';
|
|
4
|
+
import { BasicWidget, WidgetManagementTab, WidgetType, WidgetWidth, WidgetWizardStep } from '../../../models';
|
|
5
|
+
import { WidgetWizardService } from '../../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class WidgetManagementComponent {
|
|
8
|
+
private widgetManagementService;
|
|
9
|
+
private readonly widgetWizardService;
|
|
10
|
+
set params(value: any);
|
|
11
|
+
availableWidgetTypes: WidgetType[];
|
|
12
|
+
disableDuplicate: boolean;
|
|
13
|
+
enableWidgetDivider: boolean;
|
|
14
|
+
singleWidget: boolean;
|
|
15
|
+
disableJsonEditor: boolean;
|
|
16
|
+
defaultWidth: WidgetWidth;
|
|
17
|
+
set widgetWizardSteps(value: WidgetWizardStep[]);
|
|
18
|
+
readonly jsonModel$: Observable<EditorModel>;
|
|
19
|
+
readonly $activeTab: import("@angular/core").WritableSignal<WidgetManagementTab>;
|
|
20
|
+
readonly WidgetManagementTab: typeof WidgetManagementTab;
|
|
21
|
+
constructor(widgetManagementService: IWidgetManagementService<any>, widgetWizardService: WidgetWizardService);
|
|
22
|
+
onSaveEvent(widgets: BasicWidget[]): void;
|
|
23
|
+
switchTab(tab: WidgetManagementTab): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementComponent, "valtimo-widget-management", never, { "params": { "alias": "params"; "required": false; }; "availableWidgetTypes": { "alias": "availableWidgetTypes"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "enableWidgetDivider": { "alias": "enableWidgetDivider"; "required": false; }; "singleWidget": { "alias": "singleWidget"; "required": false; }; "disableJsonEditor": { "alias": "disableJsonEditor"; "required": false; }; "defaultWidth": { "alias": "defaultWidth"; "required": false; }; "widgetWizardSteps": { "alias": "widgetWizardSteps"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-management.component.d.ts.map
|