eservices-core 1.0.378 → 1.0.380
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/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.380
|
|
3
3
|
* (c) 2022 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -6355,7 +6355,12 @@ script$1.__file = "core/widgets/containers/container-input-list.vue";
|
|
|
6355
6355
|
const _hoisted_1 = { class: "container-grid-inputs" };
|
|
6356
6356
|
var script = /*#__PURE__*/ vue.defineComponent({
|
|
6357
6357
|
__name: 'WidgetWizard',
|
|
6358
|
+
props: {
|
|
6359
|
+
process: { type: String, required: false },
|
|
6360
|
+
entity: { type: String, required: false }
|
|
6361
|
+
},
|
|
6358
6362
|
setup(__props) {
|
|
6363
|
+
const props = __props;
|
|
6359
6364
|
const route = vueRouter.useRoute();
|
|
6360
6365
|
const router = vueRouter.useRouter();
|
|
6361
6366
|
const form = new jenesiusVueForm.Form();
|
|
@@ -6367,8 +6372,8 @@ var script = /*#__PURE__*/ vue.defineComponent({
|
|
|
6367
6372
|
const steps = vue.ref([]);
|
|
6368
6373
|
const currentStepName = vue.ref(undefined);
|
|
6369
6374
|
const currentStep = vue.computed(() => steps.value.find(a => a.stepName === currentStepName.value));
|
|
6370
|
-
const processName = vue.computed(() => String(route.params.process));
|
|
6371
|
-
const entityName = vue.computed(() => String(route.params.entity));
|
|
6375
|
+
const processName = vue.computed(() => String(route.params.process) || props.process);
|
|
6376
|
+
const entityName = vue.computed(() => String(route.params.entity) || props.entity);
|
|
6372
6377
|
const state = vue.reactive({
|
|
6373
6378
|
ready: false
|
|
6374
6379
|
});
|
|
@@ -6432,9 +6437,12 @@ var script = /*#__PURE__*/ vue.defineComponent({
|
|
|
6432
6437
|
});
|
|
6433
6438
|
const process = ProcessWrap(initialize);
|
|
6434
6439
|
function initialize() {
|
|
6435
|
-
const { entity, process } =
|
|
6440
|
+
const { entity, process } = {
|
|
6441
|
+
process: processName.value,
|
|
6442
|
+
entity: entityName.value
|
|
6443
|
+
};
|
|
6436
6444
|
if (!process || !entity)
|
|
6437
|
-
return;
|
|
6445
|
+
return console.log(`Wizard: ${process} and ${entity}`);
|
|
6438
6446
|
return processWizardService.getStartConfig(process, entity)
|
|
6439
6447
|
.then(res => {
|
|
6440
6448
|
steps.value = res.steps.map(vue.markRaw);
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
process: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
entity: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
11
|
[key: string]: any;
|
|
3
|
-
}>,
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
process: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
entity: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}>;
|
|
4
22
|
export default _default;
|