@veloceapps/sdk 12.0.0-17 → 12.0.0-19
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/cms/cms.actions.d.ts +154 -0
- package/cms/cms.default.d.ts +5 -0
- package/cms/cms.elements.d.ts +4 -0
- package/cms/cms.layouts.d.ts +4 -0
- package/cms/components/element-children/element-children.component.d.ts +22 -0
- package/cms/components/element-children/element-children.module.d.ts +11 -0
- package/cms/components/element-drop-handle/element-drop-handle.component.d.ts +12 -0
- package/cms/components/element-drop-handle/element-drop-handle.module.d.ts +9 -0
- package/cms/components/element-renderer/element-renderer.component.d.ts +29 -0
- package/cms/components/element-renderer/element-renderer.module.d.ts +7 -0
- package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +14 -0
- package/cms/components/element.component.d.ts +17 -0
- package/cms/components/index.d.ts +1 -0
- package/cms/components/plugin.component.d.ts +15 -0
- package/cms/components/preview/index.d.ts +3 -0
- package/cms/components/preview/preview.component.d.ts +32 -0
- package/cms/components/preview/preview.module.d.ts +13 -0
- package/cms/components/preview/preview.types.d.ts +20 -0
- package/cms/decorators/element.decorator.d.ts +2 -0
- package/cms/decorators/index.d.ts +1 -0
- package/cms/definitions/index.d.ts +1 -0
- package/cms/definitions/ui-builder.definitions.d.ts +6 -0
- package/cms/directives/custom-template.directive.d.ts +17 -0
- package/cms/engine/models/entity.d.ts +11 -0
- package/cms/engine/models/plugin.d.ts +5 -0
- package/cms/index.d.ts +15 -921
- package/cms/injection-tokens.d.ts +9 -0
- package/cms/launcher.module.d.ts +12 -0
- package/cms/modules/federated/default-options.d.ts +4 -0
- package/cms/modules/federated/export.d.ts +1 -0
- package/cms/modules/federated/federated-host.directive.d.ts +8 -0
- package/cms/modules/federated/federated.component.d.ts +25 -0
- package/cms/modules/federated/federated.module.d.ts +10 -0
- package/cms/modules/federated/federated.types.d.ts +26 -0
- package/cms/modules/migrations/index.d.ts +2 -0
- package/cms/modules/migrations/migrations.d.ts +2 -0
- package/cms/modules/migrations/migrations.module.d.ts +6 -0
- package/cms/modules/migrations/services/migrations.service.d.ts +10 -0
- package/cms/modules/migrations/types/migrations.types.d.ts +2 -0
- package/cms/modules/runtime/index.d.ts +3 -0
- package/cms/modules/runtime/runtime.module.d.ts +8 -0
- package/cms/modules/runtime/services/compilation.service.d.ts +19 -0
- package/cms/modules/runtime/services/runtime-editor.service.d.ts +20 -0
- package/cms/modules/runtime/services/runtime.service.d.ts +33 -0
- package/cms/modules/runtime/tokens.d.ts +3 -0
- package/cms/modules/runtime/types/compilation.types.d.ts +8 -0
- package/cms/modules/runtime/types/runtime.actions.d.ts +12 -0
- package/cms/plugins/element-hover.plugin.d.ts +33 -0
- package/cms/plugins/io.plugin.d.ts +9 -0
- package/cms/plugins/page.plugin.d.ts +15 -0
- package/cms/plugins/region.plugin.d.ts +17 -0
- package/cms/plugins/script.plugin.d.ts +10 -0
- package/cms/services/element-context.service.d.ts +7 -0
- package/cms/services/index.d.ts +2 -0
- package/cms/services/io-provider.service.d.ts +15 -0
- package/cms/services/resources.service.d.ts +21 -0
- package/cms/services/templates.service.d.ts +14 -0
- package/cms/types/common.types.d.ts +130 -0
- package/cms/types/elements.types.d.ts +2 -0
- package/cms/types/index.d.ts +6 -0
- package/cms/types/layouts.types.d.ts +102 -0
- package/cms/types/pages.types.d.ts +1 -0
- package/cms/types/path.types.d.ts +11 -0
- package/cms/utils/element-metadata-worker.d.ts +11 -0
- package/cms/utils/element.utils.d.ts +20 -0
- package/cms/utils/elements-resolver.d.ts +28 -0
- package/cms/utils/encoding.utils.d.ts +2 -0
- package/cms/utils/index.d.ts +9 -0
- package/cms/utils/inject.d.ts +1 -0
- package/cms/utils/path.utils.d.ts +3 -0
- package/cms/utils/script.utils.d.ts +2 -0
- package/cms/utils/transpilation-worker.d.ts +13 -0
- package/cms/utils/ui-builder-layout.utils.d.ts +4 -0
- package/cms/utils/ui-definition.utils.d.ts +6 -0
- package/cms/vendor-map.d.ts +86 -0
- package/core/core.module.d.ts +10 -0
- package/core/directives/directives.module.d.ts +7 -0
- package/core/directives/index.d.ts +2 -0
- package/core/directives/primeng-calendar.directive.d.ts +14 -0
- package/core/index.d.ts +8 -525
- package/core/modules/configuration/configuration.module.d.ts +8 -0
- package/core/modules/configuration/index.d.ts +6 -0
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +17 -0
- package/core/modules/configuration/services/configuration-state.service.d.ts +60 -0
- package/core/modules/configuration/services/configuration.service.d.ts +36 -0
- package/core/modules/configuration/services/guided-selling.service.d.ts +15 -0
- package/core/modules/configuration/services/test-mode-configuration.service.d.ts +26 -0
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +3 -0
- package/core/modules/configuration/types/configuration.types.d.ts +20 -0
- package/core/modules/configuration/types/index.d.ts +2 -0
- package/core/modules/flow-configuration/flow-configuration.module.d.ts +7 -0
- package/core/modules/flow-configuration/index.d.ts +1 -0
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +23 -0
- package/core/modules/index.d.ts +2 -0
- package/core/operators/filter-successful-execute.operator.d.ts +3 -0
- package/core/operators/index.d.ts +1 -0
- package/core/pipes/action-code.pipe.d.ts +8 -0
- package/core/pipes/date.pipe.d.ts +13 -0
- package/core/pipes/index.d.ts +5 -0
- package/core/pipes/number.pipe.d.ts +10 -0
- package/core/pipes/pipes.module.d.ts +10 -0
- package/core/pipes/price.pipe.d.ts +10 -0
- package/core/services/catalog-products.service.d.ts +11 -0
- package/core/services/flow-info.service.d.ts +44 -0
- package/core/services/flow-state-configuration.service.d.ts +25 -0
- package/core/services/flow-state.service.d.ts +70 -0
- package/core/services/index.d.ts +8 -0
- package/core/services/integration.state.d.ts +16 -0
- package/core/services/product-images.service.d.ts +12 -0
- package/core/services/runtime-settings.service.d.ts +24 -0
- package/core/services/sales-transaction.service.d.ts +27 -0
- package/core/types/flow-customization.types.d.ts +10 -0
- package/core/types/flow-state.types.d.ts +12 -0
- package/core/types/formatting-settings.types.d.ts +13 -0
- package/core/types/index.d.ts +5 -0
- package/core/types/integration.types.d.ts +10 -0
- package/core/types/pipe.types.d.ts +1 -0
- package/core/types/ui-definition.types.d.ts +1 -0
- package/core/utils/index.d.ts +4 -0
- package/core/utils/pcm.utils.d.ts +5 -0
- package/core/utils/transaction-item.utils.d.ts +10 -0
- package/core/utils/transaction-item.worker.d.ts +8 -0
- package/core/utils/ui-definition.utils.d.ts +2 -0
- package/esm2020/cms/cms.actions.mjs +151 -0
- package/esm2020/cms/cms.default.mjs +5 -0
- package/esm2020/cms/cms.elements.mjs +52 -0
- package/esm2020/cms/cms.layouts.mjs +239 -0
- package/esm2020/cms/components/element-children/element-children.component.mjs +41 -0
- package/esm2020/cms/components/element-children/element-children.module.mjs +21 -0
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +28 -0
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +19 -0
- package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +117 -0
- package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +16 -0
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +35 -0
- package/esm2020/cms/components/element.component.mjs +45 -0
- package/esm2020/cms/components/index.mjs +2 -0
- package/esm2020/cms/components/plugin.component.mjs +17 -0
- package/esm2020/cms/components/preview/index.mjs +4 -0
- package/esm2020/cms/components/preview/preview.component.mjs +75 -0
- package/esm2020/cms/components/preview/preview.module.mjs +42 -0
- package/esm2020/cms/components/preview/preview.types.mjs +2 -0
- package/esm2020/cms/decorators/element.decorator.mjs +6 -0
- package/esm2020/cms/decorators/index.mjs +2 -0
- package/esm2020/cms/definitions/index.mjs +2 -0
- package/esm2020/cms/definitions/ui-builder.definitions.mjs +18 -0
- package/esm2020/cms/directives/custom-template.directive.mjs +38 -0
- package/esm2020/cms/engine/models/entity.mjs +17 -0
- package/esm2020/cms/engine/models/plugin.mjs +6 -0
- package/esm2020/cms/index.mjs +16 -0
- package/esm2020/cms/injection-tokens.mjs +7 -0
- package/esm2020/cms/launcher.module.mjs +24 -0
- package/esm2020/cms/modules/federated/default-options.mjs +5 -0
- package/esm2020/cms/modules/federated/export.mjs +2 -0
- package/esm2020/cms/modules/federated/federated-host.directive.mjs +16 -0
- package/esm2020/cms/modules/federated/federated.component.mjs +74 -0
- package/esm2020/cms/modules/federated/federated.module.mjs +20 -0
- package/esm2020/cms/modules/federated/federated.types.mjs +2 -0
- package/esm2020/cms/modules/migrations/index.mjs +3 -0
- package/esm2020/cms/modules/migrations/migrations.mjs +22 -0
- package/esm2020/cms/modules/migrations/migrations.module.mjs +15 -0
- package/esm2020/cms/modules/migrations/services/migrations.service.mjs +47 -0
- package/esm2020/cms/modules/migrations/types/migrations.types.mjs +2 -0
- package/esm2020/cms/modules/runtime/index.mjs +4 -0
- package/esm2020/cms/modules/runtime/runtime.module.mjs +32 -0
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +93 -0
- package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +30 -0
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +117 -0
- package/esm2020/cms/modules/runtime/tokens.mjs +3 -0
- package/esm2020/cms/modules/runtime/types/compilation.types.mjs +2 -0
- package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +2 -0
- package/esm2020/cms/plugins/element-hover.plugin.mjs +121 -0
- package/esm2020/cms/plugins/io.plugin.mjs +45 -0
- package/esm2020/cms/plugins/page.plugin.mjs +37 -0
- package/esm2020/cms/plugins/region.plugin.mjs +59 -0
- package/esm2020/cms/plugins/script.plugin.mjs +31 -0
- package/esm2020/cms/services/element-context.service.mjs +10 -0
- package/esm2020/cms/services/index.mjs +3 -0
- package/esm2020/cms/services/io-provider.service.mjs +53 -0
- package/esm2020/cms/services/resources.service.mjs +71 -0
- package/esm2020/cms/services/templates.service.mjs +32 -0
- package/esm2020/cms/types/common.types.mjs +2 -0
- package/esm2020/cms/types/elements.types.mjs +2 -0
- package/esm2020/cms/types/index.mjs +7 -0
- package/esm2020/cms/types/layouts.types.mjs +71 -0
- package/esm2020/cms/types/pages.types.mjs +2 -0
- package/esm2020/cms/types/path.types.mjs +2 -0
- package/esm2020/cms/utils/element-metadata-worker.mjs +31 -0
- package/esm2020/cms/utils/element.utils.mjs +182 -0
- package/esm2020/cms/utils/elements-resolver.mjs +206 -0
- package/esm2020/cms/utils/encoding.utils.mjs +29 -0
- package/esm2020/cms/utils/index.mjs +10 -0
- package/esm2020/cms/utils/inject.mjs +27 -0
- package/esm2020/cms/utils/path.utils.mjs +44 -0
- package/esm2020/cms/utils/script.utils.mjs +46 -0
- package/esm2020/cms/utils/transpilation-worker.mjs +52 -0
- package/esm2020/cms/utils/ui-builder-layout.utils.mjs +46 -0
- package/esm2020/cms/utils/ui-definition.utils.mjs +85 -0
- package/esm2020/cms/veloceapps-sdk-cms.mjs +5 -0
- package/esm2020/cms/vendor-map.mjs +83 -0
- package/esm2020/core/core.module.mjs +54 -0
- package/esm2020/core/directives/directives.module.mjs +16 -0
- package/esm2020/core/directives/index.mjs +3 -0
- package/esm2020/core/directives/primeng-calendar.directive.mjs +41 -0
- package/esm2020/core/index.mjs +9 -0
- package/esm2020/core/modules/configuration/configuration.module.mjs +34 -0
- package/esm2020/core/modules/configuration/index.mjs +7 -0
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +29 -0
- package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +381 -0
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +159 -0
- package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +62 -0
- package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +97 -0
- package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +2 -0
- package/esm2020/core/modules/configuration/types/configuration.types.mjs +2 -0
- package/esm2020/core/modules/configuration/types/index.mjs +3 -0
- package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +17 -0
- package/esm2020/core/modules/flow-configuration/index.mjs +2 -0
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +80 -0
- package/esm2020/core/modules/index.mjs +3 -0
- package/esm2020/core/operators/filter-successful-execute.operator.mjs +5 -0
- package/esm2020/core/operators/index.mjs +2 -0
- package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
- package/esm2020/core/pipes/date.pipe.mjs +44 -0
- package/esm2020/core/pipes/index.mjs +6 -0
- package/esm2020/core/pipes/number.pipe.mjs +27 -0
- package/esm2020/core/pipes/pipes.module.mjs +19 -0
- package/esm2020/core/pipes/price.pipe.mjs +30 -0
- package/esm2020/core/services/catalog-products.service.mjs +25 -0
- package/esm2020/core/services/flow-info.service.mjs +146 -0
- package/esm2020/core/services/flow-state-configuration.service.mjs +120 -0
- package/esm2020/core/services/flow-state.service.mjs +417 -0
- package/esm2020/core/services/index.mjs +9 -0
- package/esm2020/core/services/integration.state.mjs +36 -0
- package/esm2020/core/services/product-images.service.mjs +30 -0
- package/esm2020/core/services/runtime-settings.service.mjs +112 -0
- package/esm2020/core/services/sales-transaction.service.mjs +67 -0
- package/esm2020/core/types/flow-customization.types.mjs +3 -0
- package/esm2020/core/types/flow-state.types.mjs +2 -0
- package/esm2020/core/types/formatting-settings.types.mjs +3 -0
- package/esm2020/core/types/index.mjs +6 -0
- package/esm2020/core/types/integration.types.mjs +2 -0
- package/esm2020/core/types/pipe.types.mjs +2 -0
- package/esm2020/core/types/ui-definition.types.mjs +2 -0
- package/esm2020/core/utils/index.mjs +5 -0
- package/esm2020/core/utils/pcm.utils.mjs +15 -0
- package/esm2020/core/utils/transaction-item.utils.mjs +144 -0
- package/esm2020/core/utils/transaction-item.worker.mjs +16 -0
- package/esm2020/core/utils/ui-definition.utils.mjs +9 -0
- package/esm2020/core/veloceapps-sdk-core.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/src/components/dialog/dialog.component.mjs +36 -0
- package/esm2020/src/components/dialog/dialog.module.mjs +19 -0
- package/esm2020/src/components/dialog/dialog.types.mjs +2 -0
- package/esm2020/src/components/flow-header/flow-header.component.mjs +107 -0
- package/esm2020/src/components/flow-header/flow-header.module.mjs +19 -0
- package/esm2020/src/components/flow-header/index.mjs +2 -0
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +107 -0
- package/esm2020/src/components/guided-selling/guided-selling.module.mjs +19 -0
- package/esm2020/src/configure-primeng.mjs +33 -0
- package/esm2020/src/constants.mjs +2 -0
- package/esm2020/src/flow-routing.module.mjs +97 -0
- package/esm2020/src/flow.component.mjs +39 -0
- package/esm2020/src/flow.module.mjs +60 -0
- package/esm2020/src/guards/flow.guard.mjs +35 -0
- package/esm2020/src/guards/product-unload.guard.mjs +49 -0
- package/esm2020/src/guards/root.guard.mjs +46 -0
- package/esm2020/src/index.mjs +5 -0
- package/esm2020/src/pages/assets/assets.component.mjs +106 -0
- package/esm2020/src/pages/assets/assets.module.mjs +20 -0
- package/esm2020/src/pages/catalog/catalog.component.mjs +106 -0
- package/esm2020/src/pages/catalog/catalog.module.mjs +20 -0
- package/esm2020/src/pages/debug/debug.component.mjs +49 -0
- package/esm2020/src/pages/debug/debug.module.mjs +46 -0
- package/esm2020/src/pages/product/product.component.mjs +55 -0
- package/esm2020/src/pages/product/product.module.mjs +20 -0
- package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +27 -0
- package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +20 -0
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +106 -0
- package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +20 -0
- package/esm2020/src/resolvers/flow.resolver.mjs +50 -0
- package/esm2020/src/resolvers/pcm-model.resolver.mjs +12 -0
- package/esm2020/src/resolvers/sales-transaction.resolver.mjs +64 -0
- package/esm2020/src/resolvers/ui-definition.resolver.mjs +44 -0
- package/esm2020/src/services/flow-dialog.service.mjs +91 -0
- package/esm2020/src/services/flow-router.service.mjs +173 -0
- package/esm2020/src/services/flow.service.mjs +102 -0
- package/esm2020/src/services/guided-selling.service.mjs +34 -0
- package/esm2020/src/services/index.mjs +4 -0
- package/esm2020/src/types/index.mjs +2 -0
- package/esm2020/src/types/route.types.mjs +2 -0
- package/esm2020/veloceapps-sdk.mjs +5 -0
- package/fesm2015/veloceapps-sdk-cms.mjs +2514 -0
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -0
- package/fesm2015/veloceapps-sdk-core.mjs +2084 -0
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -0
- package/fesm2015/veloceapps-sdk.mjs +1598 -0
- package/fesm2015/veloceapps-sdk.mjs.map +1 -0
- package/fesm2020/veloceapps-sdk-cms.mjs +2613 -0
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/veloceapps-sdk-core.mjs +133 -145
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/veloceapps-sdk.mjs +192 -186
- package/fesm2020/veloceapps-sdk.mjs.map +1 -0
- package/index.d.ts +1 -330
- package/package.json +34 -17
- package/src/components/dialog/dialog.component.d.ts +13 -0
- package/src/components/dialog/dialog.module.d.ts +9 -0
- package/src/components/dialog/dialog.types.d.ts +7 -0
- package/src/components/flow-header/flow-header.component.d.ts +25 -0
- package/src/components/flow-header/flow-header.module.d.ts +9 -0
- package/src/components/flow-header/index.d.ts +1 -0
- package/src/components/guided-selling/guided-selling.component.d.ts +25 -0
- package/src/components/guided-selling/guided-selling.module.d.ts +9 -0
- package/src/configure-primeng.d.ts +1 -0
- package/src/constants.d.ts +1 -0
- package/src/flow-routing.module.d.ts +11 -0
- package/src/flow.component.d.ts +21 -0
- package/src/flow.module.d.ts +16 -0
- package/src/guards/flow.guard.d.ts +2 -0
- package/src/guards/product-unload.guard.d.ts +16 -0
- package/src/guards/root.guard.d.ts +14 -0
- package/src/index.d.ts +4 -0
- package/src/pages/assets/assets.component.d.ts +31 -0
- package/src/pages/assets/assets.module.d.ts +10 -0
- package/src/pages/catalog/catalog.component.d.ts +31 -0
- package/src/pages/catalog/catalog.module.d.ts +10 -0
- package/src/pages/debug/debug.component.d.ts +21 -0
- package/src/pages/debug/debug.module.d.ts +14 -0
- package/src/pages/product/product.component.d.ts +24 -0
- package/src/pages/product/product.module.d.ts +10 -0
- package/src/pages/record-not-found/record-not-found.component.d.ts +12 -0
- package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +31 -0
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +10 -0
- package/src/resolvers/flow.resolver.d.ts +14 -0
- package/src/resolvers/pcm-model.resolver.d.ts +3 -0
- package/src/resolvers/sales-transaction.resolver.d.ts +18 -0
- package/src/resolvers/ui-definition.resolver.d.ts +3 -0
- package/src/services/flow-dialog.service.d.ts +23 -0
- package/src/services/flow-router.service.d.ts +42 -0
- package/src/services/flow.service.d.ts +21 -0
- package/src/services/guided-selling.service.d.ts +13 -0
- package/src/services/index.d.ts +3 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/route.types.d.ts +4 -0
- package/fesm2022/veloceapps-sdk-cms.mjs +0 -2611
- package/fesm2022/veloceapps-sdk-cms.mjs.map +0 -1
- package/fesm2022/veloceapps-sdk-core.mjs.map +0 -1
- package/fesm2022/veloceapps-sdk.mjs.map +0 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export declare namespace FlowAction {
|
|
2
|
+
const FLOW_CONFIGURE_PRODUCT = "[FLOW]_CONFIGURE_PRODUCT";
|
|
3
|
+
const FLOW_NAVIGATE_BACK = "[FLOW]_NAVIGATE_BACK";
|
|
4
|
+
const FLOW_NAVIGATE_TO = "[FLOW]_NAVIGATE_TO";
|
|
5
|
+
const FLOW_NAVIGATE_TO_CATALOG = "[FLOW]_NAVIGATE_TO_CATALOG";
|
|
6
|
+
const FLOW_NAVIGATE_TO_SHOPPING_CART = "[FLOW]_NAVIGATE_TO_SHOPPING_CART";
|
|
7
|
+
const FLOW_APPLY_PRODUCT_CONFIGURATION = "[FLOW]_APPLY_PRODUCT_CONFIGURATION";
|
|
8
|
+
const FLOW_OPEN_DOC_GEN = "[FLOW]_OPEN_DOC_GEN";
|
|
9
|
+
const FLOW_CLOSE_DOC_GEN = "[FLOW]_CLOSE_DOC_GEN";
|
|
10
|
+
const FLOW_SWITCH_OBJECT = "[FLOW]_SWITCH_OBJECT";
|
|
11
|
+
const REMOTE_APPLY = "[FLOW]_REMOTE_APPLY";
|
|
12
|
+
const REMOTE_CANCEL = "[FLOW]_REMOTE_CANCEL";
|
|
13
|
+
const OPEN_GUIDED_SELLING = "[FLOW]_OPEN_GUIDED_SELLING";
|
|
14
|
+
const SUBMIT_GUIDED_SELLING = "[FLOW]_SUBMIT_GUIDED_SELLING";
|
|
15
|
+
const CLOSE_GUIDED_SELLING = "[FLOW]_CLOSE_GUIDED_SELLING";
|
|
16
|
+
const OPEN_DIALOG = "[FLOW]_OPEN_DIALOG";
|
|
17
|
+
const ConfigureProductAction: ({ transactionItemId, productId, qty, }: {
|
|
18
|
+
transactionItemId?: string | undefined;
|
|
19
|
+
productId?: string | undefined;
|
|
20
|
+
qty?: number | undefined;
|
|
21
|
+
}) => {
|
|
22
|
+
type: string;
|
|
23
|
+
payload: {
|
|
24
|
+
transactionItemId: string | undefined;
|
|
25
|
+
productId: string | undefined;
|
|
26
|
+
qty: number | undefined;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
const NavigateBackAction: () => {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
const NavigateToAction: (path: string, productId?: string, transactionItemId?: string) => {
|
|
33
|
+
type: string;
|
|
34
|
+
payload: {
|
|
35
|
+
path: string;
|
|
36
|
+
productId: string | undefined;
|
|
37
|
+
transactionItemId: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
const NavigateToCatalogAction: () => {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
const NavigateToShoppingCartAction: () => {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
const ApplyProductConfigurationAction: () => {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
const RemoteApplyAction: () => {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
const RemoteCancelAction: () => {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
const SwitchObjectAction: (payload: {
|
|
56
|
+
id: string;
|
|
57
|
+
}) => {
|
|
58
|
+
type: string;
|
|
59
|
+
payload: {
|
|
60
|
+
id: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const OpenGuidedSelling: (payload: {
|
|
64
|
+
guidedSellingId: string;
|
|
65
|
+
}) => {
|
|
66
|
+
type: string;
|
|
67
|
+
payload: {
|
|
68
|
+
guidedSellingId: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
const CloseGuidedSelling: (payload?: {
|
|
72
|
+
keepState?: boolean;
|
|
73
|
+
}) => {
|
|
74
|
+
type: string;
|
|
75
|
+
payload: {
|
|
76
|
+
keepState?: boolean | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
};
|
|
79
|
+
const SubmitGuidedSelling: (payload: {
|
|
80
|
+
result: Record<string, any>;
|
|
81
|
+
}) => {
|
|
82
|
+
type: string;
|
|
83
|
+
payload: {
|
|
84
|
+
result: Record<string, any>;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
const OpenDialog: (dialog: string) => {
|
|
88
|
+
type: string;
|
|
89
|
+
payload: {
|
|
90
|
+
dialog: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export declare namespace CmsAction {
|
|
95
|
+
const GO_TO_PAGE = "[CMS]_GO_TO_PAGE";
|
|
96
|
+
const UPDATE_CUSTOMIZATION = "[CMS]_UPDATE_CUSTOMIZATION";
|
|
97
|
+
const SHOW_OVERLAY = "[CMS]_SHOW_OVERLAY";
|
|
98
|
+
const HIDE_OVERLAY = "[CMS]_HIDE_OVERLAY";
|
|
99
|
+
const HIDE_ALL_OVERLAYS = "[CMS]_HIDE_ALL_OVERLAYS";
|
|
100
|
+
/**
|
|
101
|
+
* Navigate UI definition to a specific page
|
|
102
|
+
*
|
|
103
|
+
* @param pageName name of the page
|
|
104
|
+
*/
|
|
105
|
+
const GoToPage: (pageName: string) => {
|
|
106
|
+
type: string;
|
|
107
|
+
payload: {
|
|
108
|
+
pageName: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Update UI definition customization state
|
|
113
|
+
*
|
|
114
|
+
* @param pageName name of the page
|
|
115
|
+
*/
|
|
116
|
+
const UpdateCustomization: (value: any) => {
|
|
117
|
+
type: string;
|
|
118
|
+
payload: {
|
|
119
|
+
value: any;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Show an Overlay on the selected page
|
|
124
|
+
*
|
|
125
|
+
* @param name - name of the overlay
|
|
126
|
+
* @returns void
|
|
127
|
+
*/
|
|
128
|
+
const ShowOverlay: (name: string) => {
|
|
129
|
+
type: string;
|
|
130
|
+
payload: {
|
|
131
|
+
name: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Hide an Overlay on the selected page
|
|
136
|
+
*
|
|
137
|
+
* @param name - name of the overlay
|
|
138
|
+
* @returns void
|
|
139
|
+
*/
|
|
140
|
+
const HideOverlay: (name: string) => {
|
|
141
|
+
type: string;
|
|
142
|
+
payload: {
|
|
143
|
+
name: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Hide all Overlays on the selected page
|
|
148
|
+
*
|
|
149
|
+
* @returns void
|
|
150
|
+
*/
|
|
151
|
+
const HideAllOverlays: () => {
|
|
152
|
+
type: string;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
|
|
4
|
+
import { RuntimeService } from '../../modules/runtime/services/runtime.service';
|
|
5
|
+
import { ElementContextService } from '../../services/element-context.service';
|
|
6
|
+
import { ElementMetadata } from '../../types/common.types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ElementChildrenComponent implements OnDestroy {
|
|
9
|
+
private elementContext;
|
|
10
|
+
private runtimeService;
|
|
11
|
+
private runtimeEditorService;
|
|
12
|
+
private cdr;
|
|
13
|
+
filter?: (elements: ElementMetadata[]) => ElementMetadata[];
|
|
14
|
+
metadata$: Observable<ElementMetadata | undefined>;
|
|
15
|
+
dragMode$: Observable<boolean>;
|
|
16
|
+
private destroyed$;
|
|
17
|
+
constructor(elementContext: ElementContextService, runtimeService: RuntimeService, runtimeEditorService: RuntimeEditorService, cdr: ChangeDetectorRef);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
getFilteredChildren(elements: ElementMetadata[]): ElementMetadata[];
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementChildrenComponent, "element-children", never, { "filter": "filter"; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./element-children.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloceapps/components";
|
|
5
|
+
import * as i4 from "../element-renderer/element-renderer.module";
|
|
6
|
+
import * as i5 from "../element-drop-handle/element-drop-handle.module";
|
|
7
|
+
export declare class ElementChildrenModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementChildrenModule, [typeof i1.ElementChildrenComponent], [typeof i2.CommonModule, typeof i3.LetDirectiveModule, typeof i4.ElementRendererModule, typeof i5.ElementDropHandleModule], [typeof i1.ElementChildrenComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementChildrenModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DndDropEvent } from 'ngx-drag-drop';
|
|
2
|
+
import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ElementDropHandleComponent {
|
|
5
|
+
private runtimeService;
|
|
6
|
+
index: number;
|
|
7
|
+
parentPath: string;
|
|
8
|
+
constructor(runtimeService: RuntimeEditorService);
|
|
9
|
+
handleDrop(e: DndDropEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementDropHandleComponent, "vl-element-drop-handle", never, { "index": "index"; "parentPath": "parentPath"; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./element-drop-handle.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "ngx-drag-drop";
|
|
5
|
+
export declare class ElementDropHandleModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementDropHandleModule, [typeof i1.ElementDropHandleComponent], [typeof i2.CommonModule, typeof i3.DndModule], [typeof i1.ElementDropHandleComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementDropHandleModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { RuntimeService } from '../../modules/runtime/services/runtime.service';
|
|
3
|
+
import { ElementContextService } from '../../services/element-context.service';
|
|
4
|
+
import { IOProviderService } from '../../services/io-provider.service';
|
|
5
|
+
import { ElementMetadata } from '../../types/common.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ElementRendererComponent implements OnInit, OnDestroy {
|
|
8
|
+
private runtimeService;
|
|
9
|
+
private elementContext;
|
|
10
|
+
private ioProviderService;
|
|
11
|
+
private cdr;
|
|
12
|
+
el?: ViewContainerRef;
|
|
13
|
+
meta: ElementMetadata;
|
|
14
|
+
private type?;
|
|
15
|
+
private refs;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(runtimeService: RuntimeService, elementContext: ElementContextService, ioProviderService: IOProviderService, cdr: ChangeDetectorRef);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
private createComponents;
|
|
21
|
+
private createFromPath;
|
|
22
|
+
private processChildren;
|
|
23
|
+
private createComponent;
|
|
24
|
+
private updateComponent;
|
|
25
|
+
private destroyComponent;
|
|
26
|
+
private destroyComponents;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementRendererComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementRendererComponent, "vl-cms-element-renderer", never, { "meta": "meta"; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./element-renderer.component";
|
|
3
|
+
export declare class ElementRendererModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementRendererModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementRendererModule, [typeof i1.ElementRendererComponent], never, [typeof i1.ElementRendererComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementRendererModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ElementToolsPanelComponent {
|
|
4
|
+
private readonly metadata;
|
|
5
|
+
private readonly config;
|
|
6
|
+
private readonly elementRef;
|
|
7
|
+
runtimeEditorService?: RuntimeEditorService;
|
|
8
|
+
showDeleteButton: boolean;
|
|
9
|
+
constructor();
|
|
10
|
+
deleteHandler(): void;
|
|
11
|
+
showSettingsHandler(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolsPanelComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementToolsPanelComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { Entity } from '../engine/models/entity';
|
|
4
|
+
import { IPluginComponent } from './plugin.component';
|
|
5
|
+
export declare class ElementComponent extends Entity implements OnChanges, OnInit, DoCheck, AfterContentInit, AfterViewInit, AfterViewChecked, OnDestroy {
|
|
6
|
+
injector: Injector;
|
|
7
|
+
readonly model$: BehaviorSubject<any>;
|
|
8
|
+
readonly plugins: IPluginComponent[];
|
|
9
|
+
constructor(injector: Injector);
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngDoCheck(): void;
|
|
13
|
+
ngAfterContentInit(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
ngAfterViewChecked(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './element.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ElementComponent } from '.';
|
|
3
|
+
import { Plugin } from '../engine/models/plugin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type AngularHooks = OnChanges & OnInit & DoCheck & AfterContentInit & AfterContentChecked & AfterViewInit & AfterViewChecked & OnDestroy;
|
|
6
|
+
export interface IPluginComponent extends Partial<AngularHooks> {
|
|
7
|
+
host: ElementComponent;
|
|
8
|
+
}
|
|
9
|
+
export declare class PluginComponent extends Plugin implements IPluginComponent {
|
|
10
|
+
readonly host: ElementComponent;
|
|
11
|
+
constructor(host: ElementComponent);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluginComponent, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PluginComponent, never, never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ToastService } from '@veloceapps/components';
|
|
3
|
+
import { UIDefinition } from '@veloceapps/core';
|
|
4
|
+
import { IntegrationState } from '@veloceapps/sdk/core';
|
|
5
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { RuntimeService } from '../../modules/runtime/services/runtime.service';
|
|
7
|
+
import { ElementMetadata } from '../../types/common.types';
|
|
8
|
+
import { CMSPreviewConfig } from './preview.types';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
interface State {
|
|
11
|
+
loading: boolean;
|
|
12
|
+
failure: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare class PreviewComponent implements OnInit, OnDestroy {
|
|
15
|
+
private runtimeService;
|
|
16
|
+
private toastService;
|
|
17
|
+
private integrationState;
|
|
18
|
+
uiDefinition?: UIDefinition;
|
|
19
|
+
config?: CMSPreviewConfig;
|
|
20
|
+
state$: BehaviorSubject<State>;
|
|
21
|
+
elements$: BehaviorSubject<ElementMetadata[]>;
|
|
22
|
+
private destroy$;
|
|
23
|
+
constructor(runtimeService: RuntimeService, toastService: ToastService, integrationState: IntegrationState);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
trackBy(_: number, el: ElementMetadata): ElementMetadata;
|
|
27
|
+
private startPreview;
|
|
28
|
+
private getElements$;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "vl-cms-preview", never, { "uiDefinition": "uiDefinition"; "config": "config"; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./preview.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloceapps/components";
|
|
5
|
+
import * as i4 from "../element-renderer/element-renderer.module";
|
|
6
|
+
import * as i5 from "../element-children/element-children.module";
|
|
7
|
+
import * as i6 from "../element-drop-handle/element-drop-handle.module";
|
|
8
|
+
import * as i7 from "../element-tools-panel/element-tools-panel.component";
|
|
9
|
+
export declare class PreviewModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PreviewModule, [typeof i1.PreviewComponent], [typeof i2.CommonModule, typeof i3.LoaderModule, typeof i4.ElementRendererModule, typeof i5.ElementChildrenModule, typeof i6.ElementDropHandleModule, typeof i7.ElementToolsPanelComponent], [typeof i1.PreviewComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PreviewModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export interface CMSPreviewConfig {
|
|
3
|
+
/**
|
|
4
|
+
* When `true`, IntegrationState will be cleared on component init
|
|
5
|
+
*/
|
|
6
|
+
clearStateOnInit?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* When `true`, preview adds additional components/plugins needed for UIBuilder
|
|
9
|
+
* (like element hover/selection or Drag&Drop zones)
|
|
10
|
+
*/
|
|
11
|
+
uiBuilderMode?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* When `true`, preview renders settings page (element with `type: CUSTOMIZATION_PAGE`)
|
|
14
|
+
*/
|
|
15
|
+
customizationMode?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Custom initialization function which will be executed before starting a preview
|
|
18
|
+
*/
|
|
19
|
+
init$?: () => Observable<void>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './element.decorator';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui-builder.definitions';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ElementMetadata, ElementStyleDeclaration, FullPageLayout, PageType } from '../types';
|
|
2
|
+
export declare const DEFAULT_ELEMENT: Partial<ElementMetadata>;
|
|
3
|
+
export declare const STARTING_PAGE_NAME = "Starting Page";
|
|
4
|
+
export declare const STARTING_PAGE_TYPE: PageType;
|
|
5
|
+
export declare const STARTING_PAGE_LAYOUT: FullPageLayout;
|
|
6
|
+
export declare const STARTING_PAGE_STYLES: ElementStyleDeclaration;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TemplatesService } from '../services/templates.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomTemplateDirective implements AfterViewInit {
|
|
5
|
+
private templateRef;
|
|
6
|
+
private templatesService;
|
|
7
|
+
constructor(templateRef: TemplateRef<unknown>, templatesService: TemplatesService);
|
|
8
|
+
customTemplate: string | undefined;
|
|
9
|
+
ngAfterViewInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomTemplateDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomTemplateDirective, "[customTemplate]", never, { "customTemplate": "customTemplate"; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class CustomTemplateDirectiveModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomTemplateDirectiveModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomTemplateDirectiveModule, [typeof CustomTemplateDirective], never, [typeof CustomTemplateDirective]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomTemplateDirectiveModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { Plugin } from './plugin';
|
|
3
|
+
export declare class Entity {
|
|
4
|
+
injector: Injector;
|
|
5
|
+
protected readonly plugins: Plugin[];
|
|
6
|
+
private config;
|
|
7
|
+
private defaultPlugins;
|
|
8
|
+
constructor(injector: Injector);
|
|
9
|
+
initPlugins(): void;
|
|
10
|
+
registerPlugin(plugin: Plugin): void;
|
|
11
|
+
}
|