@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 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management/widget-management.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,WAAW,EAAsB,MAAM,qBAAqB,CAAC;AAErE,OAAO,EAAM,UAAU,EAAO,MAAM,MAAM,CAAC;AAE3C,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAca,yBAAyB;IAgClC,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAhCtC,IAAoB,MAAM,CAAC,KAAK,EAAE,GAAG,EAGpC;IACQ,oBAAoB,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAgB,UAAS;IACzB,mBAAmB,UAAQ;IAC3B,YAAY,UAAS;IACrB,iBAAiB,UAAS;IAC1B,YAAY,EAAG,WAAW,CAAC;IAE3C,IAAoB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAI9D;IAED,SAAgB,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAO/C;IAEJ,SAAgB,UAAU,8DAA2D;IACrF,SAAgB,mBAAmB,6BAAuB;gBAIhD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC,EAC7C,mBAAmB,EAAE,mBAAmB;IAGpD,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI;IAIzC,SAAS,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI;yCAxCrC,yBAAyB;2CAAzB,yBAAyB;CA2CrC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { ListItem } from 'carbon-components-angular';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { WidgetWizardService } from '../../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class WidgetManagementActionButtonComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly fb;
|
|
9
|
+
private readonly widgetWizardService;
|
|
10
|
+
readonly class = "valtimo-widget-management-action-button";
|
|
11
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
12
|
+
readonly buttonType$: BehaviorSubject<"link" | "process">;
|
|
13
|
+
readonly dropdownItems$: Observable<ListItem[]>;
|
|
14
|
+
readonly formGroup: import("@angular/forms").FormGroup<{
|
|
15
|
+
navigateTo: import("@angular/forms").FormControl<string>;
|
|
16
|
+
name: import("@angular/forms").FormControl<string>;
|
|
17
|
+
}>;
|
|
18
|
+
private readonly _subscriptions;
|
|
19
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
onTypeSelected(event: {
|
|
23
|
+
item: ListItem;
|
|
24
|
+
}): void;
|
|
25
|
+
private formContentValidator;
|
|
26
|
+
private openValueChangeSubscription;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementActionButtonComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementActionButtonComponent, "valtimo-widget-management-action-button", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=widget-management-action-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-action-button.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-action-button/widget-management-action-button.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAIL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAA8B,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAC,eAAe,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAgBa,qCAAsC,YAAW,MAAM,EAAE,SAAS;IA8C3E,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA9CtC,SAAsC,KAAK,6CAA6C;IAExF,SAAgB,cAAc,kFAA2C;IACzE,SAAgB,WAAW,sCAEzB;IACF,SAAgB,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAwBpD;IAEF,SAAgB,SAAS;;;OAQvB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAGpD,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAYpD,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,2BAA2B;yCA1FxB,qCAAqC;2CAArC,qCAAqC;CA+GjD"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { CARBON_THEME, CdsThemeService, ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '@valtimo/components';
|
|
5
|
+
import { ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
8
|
+
import { FieldsWidgetValue, WidgetCollectionContent, WidgetDisplayTypeKey } from '../../../../models';
|
|
9
|
+
import { WidgetFieldsService, WidgetWizardService } from '../../../../services';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WidgetManagementCollectionComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly cdsThemeService;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly translateService;
|
|
15
|
+
private readonly widgetFieldsService;
|
|
16
|
+
private readonly widgetWizardService;
|
|
17
|
+
private widgetManagementService;
|
|
18
|
+
readonly class = "valtimo-widget-management-collection";
|
|
19
|
+
readonly widgetForm: FormGroup<{
|
|
20
|
+
title: import("@angular/forms").FormControl<string>;
|
|
21
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
22
|
+
defaultPageSize: import("@angular/forms").FormControl<number>;
|
|
23
|
+
collection: import("@angular/forms").FormControl<string>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly cardForm: FormGroup<{
|
|
26
|
+
[x: string]: import("@angular/forms").FormControl<unknown>;
|
|
27
|
+
}>;
|
|
28
|
+
readonly theme$: Observable<CARBON_THEME>;
|
|
29
|
+
readonly params$: Observable<any>;
|
|
30
|
+
readonly collectionDataTooltip$: Observable<any>;
|
|
31
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
32
|
+
readonly ValuePathType: typeof ValuePathType;
|
|
33
|
+
readonly WidgetDisplayTypeKey: typeof WidgetDisplayTypeKey;
|
|
34
|
+
readonly $content: WritableSignal<WidgetCollectionContent>;
|
|
35
|
+
readonly displayTypeItems: ListItem[];
|
|
36
|
+
readonly selectedCollection$: BehaviorSubject<ValuePathItem>;
|
|
37
|
+
WIDTH_ITEMS: ListItem[];
|
|
38
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
39
|
+
private readonly _subscriptions;
|
|
40
|
+
private readonly _$contentValid;
|
|
41
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
onAddEnumValueClick(valuesFormArray: FormArray): void;
|
|
45
|
+
getDisplayItemsSelected(control: AbstractControl): ListItem[];
|
|
46
|
+
getSelectedWidthItem(fieldIndex: number): ListItem[];
|
|
47
|
+
onColumnUpdateEvent(event: {
|
|
48
|
+
data: FieldsWidgetValue[];
|
|
49
|
+
valid: boolean;
|
|
50
|
+
}): void;
|
|
51
|
+
onDeleteRowClick(formArray: FormArray, index: number): void;
|
|
52
|
+
onTypeSelected(formGroup: FormGroup, event: {
|
|
53
|
+
item: ListItem;
|
|
54
|
+
}): void;
|
|
55
|
+
onWidthSelected(event: {
|
|
56
|
+
item: ListItem;
|
|
57
|
+
}, fieldIndex: number): void;
|
|
58
|
+
onCollectionSelected(item: ValuePathItem): void;
|
|
59
|
+
private initForm;
|
|
60
|
+
private openWidgetFormSubscription;
|
|
61
|
+
private openCardFormSubscription;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementCollectionComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCollectionComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=widget-management-collection.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/collection/widget-management-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAKL,SAAS,EACT,MAAM,EAGN,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,eAAe,EAIf,aAAa,EAEb,uBAAuB,EACvB,aAAa,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAKL,QAAQ,EACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,uBAAuB,EAKvB,oBAAoB,EAErB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,mBAAmB,EAAE,mBAAmB,EAAC,MAAM,sBAAs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,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,EAAE;IAYpD,mBAAmB,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI;IAiB7E,gBAAgB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAM3D,cAAc,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAInE,eAAe,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAalE,oBAAoB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;IAItD,OAAO,CAAC,QAAQ;IAsChB,OAAO,CAAC,0BAA0B;IAsBlC,OAAO,CAAC,wBAAwB;yCAxOrB,mCAAmC;2CAAnC,mCAAmC;CA4Q/C"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService, MultiInputKeyValue } from '@valtimo/components';
|
|
4
|
+
import { ListItem } from 'carbon-components-angular';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { CustomWidgetConfig } from '../../../../models';
|
|
7
|
+
import { WidgetWizardService } from '../../../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class WidgetManagementCustomComponent implements OnDestroy, OnInit {
|
|
10
|
+
private readonly customWidgetConfig;
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly widgetWizardService;
|
|
14
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
15
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
16
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
17
|
+
}>;
|
|
18
|
+
get widgetTitle(): AbstractControl<string | null, string | null> | null;
|
|
19
|
+
get widgetIcon(): AbstractControl<string | null, string | null> | null;
|
|
20
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
21
|
+
readonly $defaultComponentValues: import("@angular/core").WritableSignal<MultiInputKeyValue[]>;
|
|
22
|
+
private readonly _$selectedCustomComponentKey;
|
|
23
|
+
private readonly _customWidgetConfig$;
|
|
24
|
+
readonly componentListItems$: Observable<ListItem[]>;
|
|
25
|
+
private readonly _subscriptions;
|
|
26
|
+
private readonly _$componentValueValid;
|
|
27
|
+
constructor(customWidgetConfig: CustomWidgetConfig, cdsThemeService: CdsThemeService, fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
28
|
+
componentDropDownChange(event: {
|
|
29
|
+
item: {
|
|
30
|
+
content: string;
|
|
31
|
+
selected: boolean;
|
|
32
|
+
};
|
|
33
|
+
isUpdate: boolean;
|
|
34
|
+
}): void;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
onKeyValueChange(changeEvent: Array<MultiInputKeyValue>): void;
|
|
38
|
+
private openTitleSubscription;
|
|
39
|
+
private openIconSubscription;
|
|
40
|
+
private prefill;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementCustomComponent, [{ optional: true; }, null, null, null]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCustomComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=widget-management-custom.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/custom/widget-management-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAKL,SA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AAmB,EAAE,mBAAmB;IAWpD,uBAAuB,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,CAAC;QAC3C,QAAQ,EAAE,OAAO,CAAC;KACnB,GAAG,IAAI;IAgBD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAiBrE,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,OAAO;yCAxHJ,+BAA+B;2CAA/B,+BAA+B;CAwI3C"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, Signal, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { CdsThemeService, CurrentCarbonTheme, ValuePathItem, ValuePathSelectorPrefix } from '@valtimo/components';
|
|
5
|
+
import { Dropdown, IconService, ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { WidgetFieldsService, WidgetWizardService } from '../../../../../services';
|
|
8
|
+
import { FieldsWidgetValue, WidgetDisplayTypeKey, WidgetType } from '../../../../../models';
|
|
9
|
+
import { IWidgetManagementService } from '../../../../../interfaces';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WidgetManagementFieldsColumnComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly cdsThemeService;
|
|
13
|
+
private readonly cdr;
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly iconService;
|
|
16
|
+
private readonly translateService;
|
|
17
|
+
private readonly widgetFieldsService;
|
|
18
|
+
private readonly widgetWizardService;
|
|
19
|
+
private widgetManagementService;
|
|
20
|
+
readonly class = "valtimo-widget-management-field-column";
|
|
21
|
+
columnData: FieldsWidgetValue[];
|
|
22
|
+
addTranslateKey: string;
|
|
23
|
+
fieldWidthDropdown?: TemplateRef<Dropdown>;
|
|
24
|
+
selectedCollection?: ValuePathItem;
|
|
25
|
+
showHideWhenEmptyCheckbox: boolean;
|
|
26
|
+
columnUpdateEvent: EventEmitter<{
|
|
27
|
+
data: FieldsWidgetValue[];
|
|
28
|
+
valid: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
31
|
+
formGroup: FormGroup<{
|
|
32
|
+
rows: FormArray<import("@angular/forms").FormControl<unknown>>;
|
|
33
|
+
}>;
|
|
34
|
+
get formRows(): FormArray | undefined;
|
|
35
|
+
displayTypeItems: ListItem[];
|
|
36
|
+
getDisplayItemsSelected(row: AbstractControl): ListItem[];
|
|
37
|
+
readonly params$: Observable<any>;
|
|
38
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
39
|
+
readonly WidgetDisplayTypeKey: typeof WidgetDisplayTypeKey;
|
|
40
|
+
readonly $widgetType: Signal<WidgetType>;
|
|
41
|
+
readonly $isFieldWidget: Signal<boolean>;
|
|
42
|
+
readonly inputTheme$: Observable<CurrentCarbonTheme>;
|
|
43
|
+
private _subscriptions;
|
|
44
|
+
constructor(cdsThemeService: CdsThemeService, cdr: ChangeDetectorRef, fb: FormBuilder, iconService: IconService, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
addField(): void;
|
|
48
|
+
onDeleteRowClick(event: Event, formArray: FormArray, index: number): void;
|
|
49
|
+
onTypeSelected(formRow: FormGroup, event: {
|
|
50
|
+
item: ListItem;
|
|
51
|
+
}): void;
|
|
52
|
+
onAddEnumValueClick(valuesFormArray: FormArray): void;
|
|
53
|
+
private typeSelectValidator;
|
|
54
|
+
private getRowForm;
|
|
55
|
+
private initForm;
|
|
56
|
+
private openFormSubscription;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementFieldsColumnComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsColumnComponent, "valtimo-widget-management-fields-column", never, { "columnData": { "alias": "columnData"; "required": true; }; "addTranslateKey": { "alias": "addTranslateKey"; "required": false; }; "fieldWidthDropdown": { "alias": "fieldWidthDropdown"; "required": false; }; "selectedCollection": { "alias": "selectedCollection"; "required": false; }; "showHideWhenEmptyCheckbox": { "alias": "showHideWhenEmptyCheckbox"; "required": false; }; }, { "columnUpdateEvent": "columnUpdateEvent"; }, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=widget-management-fields-column.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-fields-column.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAGjB,YAAY,EAIZ,SAAS,EACT,MAAM,EAEN,MAAM,EACN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,eAAe,EACf,kBAAkB,EAElB,aAAa,EAEb,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,QAAQ,EAGR,WAAW,EAGX,QAAQ,EACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAe,UAAU,EAAe,MAAM,MAAM,CAAC;AAC5D,OAA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AU,CAAC,kBAAkB,CAAC,CAAsC;IAEjG,OAAO,CAAC,cAAc,CAAsB;gBAGzB,eAAe,EAAE,eAAe,EAChC,GAAG,EAAE,iBAAiB,EACtB,EAAE,EAAE,WAAW,EACf,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,mBAAmB,EAEjD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAKzD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAKnB,QAAQ,IAAI,IAAI;IAoBhB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAOzE,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAQjE,mBAAmB,CAAC,eAAe,EAAE,SAAS,GAAG,IAAI;IAS5D,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,UAAU;IAwElB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,oBAAoB;yCAlNjB,qCAAqC;2CAArC,qCAAqC;CA+OjD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { FieldsWidgetValue } from '../../../../models';
|
|
4
|
+
import { WidgetWizardService } from '../../../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetManagementFieldsComponent implements OnDestroy, OnInit, AfterViewInit {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly widgetWizardService;
|
|
9
|
+
readonly class = "valtimo-widget-management-fields";
|
|
10
|
+
private readonly _tab;
|
|
11
|
+
readonly $showTitleInput: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
form: import("@angular/forms").FormGroup<{
|
|
13
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
14
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
15
|
+
}>;
|
|
16
|
+
readonly $columns: import("@angular/core").WritableSignal<null[]>;
|
|
17
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
18
|
+
readonly $widgetWidth: import("@valtimo/layout").WidgetWidth;
|
|
19
|
+
readonly selectedTabIndex = -1;
|
|
20
|
+
readonly $selectedWidgetContent: import("@angular/core").Signal<{}>;
|
|
21
|
+
readonly activeTab: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
private readonly _subscriptions;
|
|
23
|
+
private readonly _contentValid;
|
|
24
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
onAddColumnClick(): void;
|
|
29
|
+
onTabSelected(index: number): void;
|
|
30
|
+
onDeleteColumnClick(index: number): void;
|
|
31
|
+
onColumnUpdateEvent(event: {
|
|
32
|
+
data: FieldsWidgetValue[];
|
|
33
|
+
valid: boolean;
|
|
34
|
+
}, columnIndex: number): void;
|
|
35
|
+
private hideTitleInput;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementFieldsComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=widget-management-fields.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/fields/widget-management-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS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+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
+
import { FormService } from '@valtimo/form';
|
|
5
|
+
import { ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
8
|
+
import { WidgetWizardService } from '../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WidgetManagementWidgetFormioComponent implements OnDestroy, OnInit {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly widgetWizardService;
|
|
14
|
+
private readonly formService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
17
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
18
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
19
|
+
}>;
|
|
20
|
+
get widgetTitle(): AbstractControl<string | null> | null;
|
|
21
|
+
get widgetIcon(): AbstractControl<string | null> | null;
|
|
22
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
23
|
+
private readonly _selectedFormDefinitionId$;
|
|
24
|
+
private readonly _formDefinitionOptions$;
|
|
25
|
+
readonly params$: Observable<any>;
|
|
26
|
+
readonly formListItems$: Observable<ListItem[]>;
|
|
27
|
+
private readonly _subscriptions;
|
|
28
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, widgetWizardService: WidgetWizardService, formService: FormService, widgetManagementService: IWidgetManagementService<any>);
|
|
29
|
+
componentDropDownChange(event: {
|
|
30
|
+
item: {
|
|
31
|
+
id: string;
|
|
32
|
+
selected: boolean;
|
|
33
|
+
};
|
|
34
|
+
isUpdate: boolean;
|
|
35
|
+
}): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
private openTitleSubscription;
|
|
39
|
+
private openIconSubscription;
|
|
40
|
+
private fetchFormDefinition;
|
|
41
|
+
private prefill;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWidgetFormioComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWidgetFormioComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=widget-management-widget-formio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA6C,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAC,eAAe,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EACL,YAAY,EACZ,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAuB,WAAW,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAIL,QAAQ,EAET,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8C,UAAU,EAAe,MAAM,MAAM,CAAC;AAE3F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAiBa,qCAAsC,YAAW,SAAS,EAAE,MAAM;IA0C3E,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,uBAAuB;IA9CjC,SAAgB,IAAI;;;OAGjB;IAEH,IAAW,WAAW,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE9D;IAED,IAAW,UAAU,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE7D;IAED,SAAgB,MAAM,oDAIpB;IAEF,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA4C;IAEvF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAmD;IAE3F,SAAgB,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAwC;IAChF,SAAgB,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAYpD;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EAEjC,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAGzD,uBAAuB,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,CAAC;QACtC,QAAQ,EAAE,OAAO,CAAC;KACnB,GAAG,IAAI;IAUD,QAAQ,IAAI,IAAI;IAOhB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,OAAO;yCAzGJ,qCAAqC;2CAArC,qCAAqC;CAkHjD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './fields/widget-management-fields.component';
|
|
2
|
+
export * from './table/widget-management-table.component';
|
|
3
|
+
export * from './collection/widget-management-collection.component';
|
|
4
|
+
export * from './custom/widget-management-custom.component';
|
|
5
|
+
export * from './map/widget-management-map.component';
|
|
6
|
+
//# 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-content/index.ts"],"names":[],"mappings":"AAgBA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { MultiInputValues } from '@valtimo/components';
|
|
4
|
+
import { WidgetWizardService } from '../../../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetManagementInteractiveTableComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly widgetWizardService;
|
|
9
|
+
readonly class = "valtimo-widget-management-interactive-table";
|
|
10
|
+
formGroup: import("@angular/forms").FormGroup<{
|
|
11
|
+
canStartCase: import("@angular/forms").FormControl<boolean>;
|
|
12
|
+
actions: import("@angular/forms").FormControl<MultiInputValues>;
|
|
13
|
+
rowClickAction: import("@angular/forms").FormControl<string>;
|
|
14
|
+
}>;
|
|
15
|
+
get actionsControl(): FormArray;
|
|
16
|
+
private readonly _subscriptions;
|
|
17
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onAddExternalLinkClick(): void;
|
|
21
|
+
removeExternalLink(index: number): void;
|
|
22
|
+
private openActionsSubscription;
|
|
23
|
+
private openDetailsSubscription;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementInteractiveTableComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementInteractiveTableComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-management-interactive-table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAKL,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,SAAS,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAEvF,OAAO,EAAyB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAe7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAEzD,qBAmBa,yCAA0C,YAAW,MAAM,EAAE,SAAS;IA2B/E,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA3BtC,SAAsC,KAAK,iDAAiD;IAErF,SAAS;;;;OAeb;IAEH,IAAW,cAAc,IAAI,SAAS,CAErC;IAED,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAQpD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAKnB,sBAAsB,IAAI,IAAI;IAS9B,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI9C,OAAO,CAAC,uBAAuB;IAmB/B,OAAO,CAAC,uBAAuB;yCA/EpB,yCAAyC;2CAAzC,yCAAyC;CAmGrD"}
|
package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CdsThemeService, CurrentCarbonTheme } from '@valtimo/components';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { GeoJsonSource, WidgetMapContent } from '../../../../models';
|
|
6
|
+
import { WidgetWizardService } from '../../../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetManagementMapComponent implements OnDestroy, OnInit {
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly widgetWizardService;
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
readonly class = "valtimo-widget-management-map";
|
|
13
|
+
readonly $showTitleInput: WritableSignal<boolean>;
|
|
14
|
+
form: FormGroup<{
|
|
15
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
16
|
+
geoJsonSources: FormArray<import("@angular/forms").FormControl<GeoJsonSource>>;
|
|
17
|
+
}>;
|
|
18
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
19
|
+
readonly $content: WritableSignal<WidgetMapContent>;
|
|
20
|
+
readonly inputTheme$: Observable<CurrentCarbonTheme>;
|
|
21
|
+
private readonly _subscriptions;
|
|
22
|
+
get formGeoJsonSources(): FormArray | undefined;
|
|
23
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService, cdsThemeService: CdsThemeService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private initForm;
|
|
27
|
+
private getGeoJsonSourcesForm;
|
|
28
|
+
addField(): void;
|
|
29
|
+
onDeleteRowClick(event: Event, formArray: FormArray, index: number): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementMapComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementMapComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=widget-management-map.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-map.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/wid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;2CAA5B,4BAA4B;CAqFxC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { CARBON_THEME, CdsThemeService, ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '@valtimo/components';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
7
|
+
import { FieldsWidgetValue, WidgetTableContent } from '../../../../models';
|
|
8
|
+
import { WidgetWizardService } from '../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WidgetManagementTableComponent implements OnInit, OnDestroy {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly translateService;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly class = "valtimo-widget-management-table";
|
|
17
|
+
showFirstColumnOption: boolean;
|
|
18
|
+
readonly form: FormGroup;
|
|
19
|
+
readonly theme$: Observable<CARBON_THEME>;
|
|
20
|
+
readonly params$: Observable<any>;
|
|
21
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
22
|
+
readonly $content: WritableSignal<WidgetTableContent>;
|
|
23
|
+
readonly $checked: import("@angular/core").Signal<boolean>;
|
|
24
|
+
readonly selectedCollection$: BehaviorSubject<ValuePathItem>;
|
|
25
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
26
|
+
readonly ValuePathType: typeof ValuePathType;
|
|
27
|
+
readonly collectionDataTooltip$: Observable<any>;
|
|
28
|
+
private readonly _$contentValid;
|
|
29
|
+
private readonly _subscriptions;
|
|
30
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
onColumnUpdateEvent(event: {
|
|
34
|
+
data: FieldsWidgetValue[];
|
|
35
|
+
valid: boolean;
|
|
36
|
+
}): void;
|
|
37
|
+
onCheckedChange(firstColumnAsTitle: boolean): void;
|
|
38
|
+
onCollectionSelected(item: ValuePathItem): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementTableComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementTableComponent, "valtimo-widget-management-table", never, { "showFirstColumnOption": { "alias": "showFirstColumnOption"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=widget-management-table.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/table/widget-management-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAOL,SAAS,EACT,MAAM,EAGN,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAE,SAAS,EAAkC,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,eAAe,EAIf,aAAa,EAEb,uBAAuB,EACvB,aAAa,EACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,iBAAiB,EAA2B,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAIzD,qBA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|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconService } from 'carbon-components-angular';
|
|
3
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { ModalMode } from '@valtimo/shared';
|
|
5
|
+
import { CarbonListItem } from '@valtimo/components';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { BasicWidget, Widget, WidgetWizardCloseEvent } from '../../../models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class WidgetManagementDividerModalComponent {
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly iconService;
|
|
12
|
+
private _modalMode;
|
|
13
|
+
set modalMode(value: ModalMode);
|
|
14
|
+
get modalMode(): ModalMode;
|
|
15
|
+
private _open;
|
|
16
|
+
set open(value: boolean);
|
|
17
|
+
get open(): boolean;
|
|
18
|
+
widgets: CarbonListItem;
|
|
19
|
+
usedKeys: string[];
|
|
20
|
+
dividerForm: FormGroup;
|
|
21
|
+
set prefillData(value: Widget | null);
|
|
22
|
+
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
23
|
+
get title(): AbstractControl<string>;
|
|
24
|
+
get buttonLabel(): string;
|
|
25
|
+
submitDisabled$: BehaviorSubject<boolean>;
|
|
26
|
+
divider: BasicWidget;
|
|
27
|
+
constructor(fb: FormBuilder, iconService: IconService);
|
|
28
|
+
onCloseModal(dividerCreated?: boolean): void;
|
|
29
|
+
onFocusOut(): void;
|
|
30
|
+
private resetForm;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementDividerModalComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementDividerModalComponent, "valtimo-widget-management-divider-modal", never, { "modalMode": { "alias": "modalMode"; "required": false; }; "open": { "alias": "open"; "required": false; }; "widgets": { "alias": "widgets"; "required": false; }; "usedKeys": { "alias": "usedKeys"; "required": false; }; "prefillData": { "alias": "prefillData"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=widget-management-divider-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-divider-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AAGrE,OAAO,EAGL,WAAW,EAKZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,eAAe,EACf,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAEL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,eAAe,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EACL,WAAW,EACX,MAAM,EAEN,sBAAsB,EAEvB,MAAM,iBAAiB,CAAC;;AAEzB,qBAkBa,qCAAqC;IAmE9C,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAnE9B,OAAO,CAAC,UAAU,CAAY;IAC9B,IACW,SAAS,CAAC,KAAK,EAAE,SAAS,EAEpC;IACD,IAAW,SAAS,IAAI,SAAS,CAEhC;IAED,OAAO,CAAC,KAAK,CAAS;IACtB,IAAoB,IAAI,CAAC,KAAK,EAAE,OAAO,EAEtC;IAED,IAAW,IAAI,IAAI,OAAO,CAEzB;IAEe,OAAO,EAAE,cAAc,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAM;IAEjC,WAAW,EAAE,SAAS,CAG1B;IAEH,IAAoB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAOnD;IAEgB,UAAU,uCAAqD;IAEhF,IAAW,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC,CAE1C;IAED,IAAW,WAAW,IAAI,MAAM,CAW/B;IAEM,eAAe,2BAAuC;IAEtD,OAAO,EAAE,WAAW,CAOzB;gBAGiB,EAAE,EAAE,WAAW,EACf,WAAW,EAAE,WAAW;IAKpC,YAAY,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI;IAyB5C,UAAU,IAAI,IAAI;IAQzB,OAAO,CAAC,SAAS,CAKf;yCA/GS,qCAAqC;2CAArC,qCAAqC;CAgHjD"}
|
package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ActionItem, CarbonListItem, ColumnConfig } from '@valtimo/components';
|
|
4
|
+
import { ModalMode } from '@valtimo/shared';
|
|
5
|
+
import { IconService } from 'carbon-components-angular';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../interfaces';
|
|
8
|
+
import { BasicWidget, Widget, WidgetType, WidgetWidth, WidgetWizardCloseEvent } from '../../../models';
|
|
9
|
+
import { WidgetWizardService } from '../../../services';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WidgetManagementEditorComponent implements OnDestroy {
|
|
12
|
+
private readonly iconService;
|
|
13
|
+
private readonly translateService;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
enableWidgetDivider: boolean;
|
|
17
|
+
set params(value: any);
|
|
18
|
+
set availableWidgetTypes(value: WidgetType[]);
|
|
19
|
+
readonly disableDuplicate$: BehaviorSubject<boolean>;
|
|
20
|
+
set disableDuplicate(value: boolean);
|
|
21
|
+
readonly singleWidget$: BehaviorSubject<boolean>;
|
|
22
|
+
set singleWidget(value: boolean);
|
|
23
|
+
set defaultWidth(value: WidgetWidth | undefined);
|
|
24
|
+
readonly fields$: Observable<ColumnConfig[]>;
|
|
25
|
+
readonly actionItems$: Observable<ActionItem[]>;
|
|
26
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
27
|
+
private readonly _refresh$;
|
|
28
|
+
readonly widgets$: Observable<CarbonListItem[]>;
|
|
29
|
+
readonly usedKeys$: Observable<any[]>;
|
|
30
|
+
readonly dividerDefinition$: BehaviorSubject<Widget>;
|
|
31
|
+
readonly $isWizardOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
readonly $isEditMode: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
readonly deleteModalOpen$: BehaviorSubject<boolean>;
|
|
34
|
+
readonly $deleteWidget: import("@angular/core").WritableSignal<BasicWidget>;
|
|
35
|
+
readonly $isDividerModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
readonly $dividerModalMode: import("@angular/core").WritableSignal<ModalMode>;
|
|
37
|
+
readonly $dragAndDropDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
38
|
+
constructor(iconService: IconService, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
editWidget(widget: Widget): void;
|
|
41
|
+
duplicateWidget(tabWidget: Widget): void;
|
|
42
|
+
openAddModal(): void;
|
|
43
|
+
onDeleteConfirm(widget: BasicWidget): void;
|
|
44
|
+
onCloseEvent(event: WidgetWizardCloseEvent | null): void;
|
|
45
|
+
onItemsReordered(widgets: Widget[]): void;
|
|
46
|
+
openAddDividerModal(): void;
|
|
47
|
+
onCloseDividerModalEvent(dividerDefinition: BasicWidget): void;
|
|
48
|
+
private deleteWidget;
|
|
49
|
+
private getWidthTranslationKey;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementEditorComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementEditorComponent, "valtimo-widget-management-editor", never, { "enableWidgetDivider": { "alias": "enableWidgetDivider"; "required": false; }; "params": { "alias": "params"; "required": false; }; "availableWidgetTypes": { "alias": "availableWidgetTypes"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "singleWidget": { "alias": "singleWidget"; "required": false; }; "defaultWidth": { "alias": "defaultWidth"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=widget-management-editor.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-editor.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-editor/widget-management-editor.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAoD,SAAS,EAAS,MAAM,eAAe,CAAC;AAGnG,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,UAAU,EACV,cAAc,EAEd,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAA2B,WAAW,EAAa,MAAM,2BAA2B,CAAC;AAE5F,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAuB,MAAM,MAAM,CAAC;AAGnG,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAEL,WAAW,EACX,MAAM,EAGN,UAAU,EAEV,WAAW,EACX,sBAAsB,EAGvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAItD,qBAiBa,+BAAgC,YAAW,SAAS;IAoJ7D,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAEpC,OAAO,CAAC,uBAAuB;IAvJjB,mBAAmB,UAAQ;IAC3C,IAAoB,MAAM,CAAC,KAAK,EAAE,GAAG,EAGpC;IACD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,MAAM,EAAE,GAAG,IAAI;IAWzC,mBAAmB,IAAI,IAAI;IAI3B,wBAAwB,CAAC,iBAAiB,EAAE,WAAW,GAAG,IAAI;IAWrE,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,sBAAsB;yCArQnB,+BAA+B;2CAA/B,+BAA+B;CAmR3C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
+
import { DocumentService } from '@valtimo/document';
|
|
5
|
+
import { ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../interfaces';
|
|
8
|
+
import { WidgetWizardService } from '../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WidgetManagementProcessSelectorComponent implements OnInit {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly documentService;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly formGroup: import("@angular/forms").FormGroup<{
|
|
17
|
+
name: import("@angular/forms").FormControl<string>;
|
|
18
|
+
processDefinition: import("@angular/forms").FormControl<ListItem>;
|
|
19
|
+
}>;
|
|
20
|
+
readonly processDefinitionItems$: Observable<ListItem[]>;
|
|
21
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
22
|
+
private readonly _subscriptions;
|
|
23
|
+
constructor(cdsThemeService: CdsThemeService, documentService: DocumentService, fb: FormBuilder, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
onProcessSelected(selection: ListItem | Array<object>): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementProcessSelectorComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementProcessSelectorComponent, "valtimo-widget-management-process-selector", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=widget-management-process-selector.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-process-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA6C,MAAM,EAAC,MAAM,eAAe,CAAC;AACjF,OAAO,EAAkB,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AAEjF,OAAO,EAAC,YAAY,EAAE,eAAe,EAAqB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAC,eAAe,EAAkC,MAAM,mBAAmB,CAAC;AAEnF,OAAO,EAA2C,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAoB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAEtD,qBAea,wCAAyC,YAAW,MAAM;IAkDnE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAEpC,OAAO,CAAC,uBAAuB;IAtDjC,SAAgB,SAAS;;;OAUtB;IAEH,SAAgB,uBAAuB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CA0B3D;IAEJ,SAAgB,MAAM,oDAIpB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB,EAEjD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAEzD,QAAQ,IAAI,IAAI;IAuBhB,iBAAiB,CAAC,SAAS,EAAE,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;yCAhFxD,wCAAwC;2CAAxC,wCAAwC;CAuFpD"}
|