eco-vue-js 0.13.2 → 0.13.3
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/components/Modal/WModalStepper.vue.d.ts +2 -0
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue_vue_type_script_setup_true_lang.js +7 -4
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue_vue_type_script_setup_true_lang.js +7 -8
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAuEA;AA8HA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;AA4SF,QAAA,IAAI,OAAO,IAAU,EAAuB,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;gBAjSC,IAAI;oBAJA,IAAI;;;;;;;;;kFAySvB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -10,7 +10,9 @@ var WModalStepper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
10
10
|
props: {
|
|
11
11
|
loading: { type: Boolean },
|
|
12
12
|
disabled: { type: Boolean },
|
|
13
|
-
disabledNext: { type: Boolean }
|
|
13
|
+
disabledNext: { type: Boolean },
|
|
14
|
+
submitText: {},
|
|
15
|
+
disableMinHeight: { type: Boolean }
|
|
14
16
|
},
|
|
15
17
|
emits: [
|
|
16
18
|
"close:modal",
|
|
@@ -63,7 +65,7 @@ var WModalStepper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
63
65
|
class: "w-full",
|
|
64
66
|
onClick: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("submit"))
|
|
65
67
|
}, {
|
|
66
|
-
default: withCtx(() => [
|
|
68
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.submitText ?? "Submit"), 1)]),
|
|
67
69
|
_: 1
|
|
68
70
|
}, 8, [
|
|
69
71
|
"semantic-type",
|
|
@@ -77,7 +79,7 @@ var WModalStepper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
77
79
|
class: "w-full",
|
|
78
80
|
onClick: _cache[8] || (_cache[8] = ($event) => tabsStepperRef.value?.next())
|
|
79
81
|
}, {
|
|
80
|
-
default: withCtx(() => [..._cache[
|
|
82
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [createTextVNode(" Next ", -1)])]),
|
|
81
83
|
_: 1
|
|
82
84
|
}, 8, [
|
|
83
85
|
"semantic-type",
|
|
@@ -86,6 +88,7 @@ var WModalStepper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
86
88
|
]))]),
|
|
87
89
|
default: withCtx(() => [createVNode(WTabs_default, {
|
|
88
90
|
ref: "tabsStepper",
|
|
91
|
+
"disable-min-height": __props.disableMinHeight,
|
|
89
92
|
stepper: "",
|
|
90
93
|
"no-header": "",
|
|
91
94
|
"onUpdate:first": _cache[0] || (_cache[0] = ($event) => first.value = $event),
|
|
@@ -96,7 +99,7 @@ var WModalStepper_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
|
|
|
96
99
|
}, {
|
|
97
100
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
98
101
|
_: 3
|
|
99
|
-
},
|
|
102
|
+
}, 8, ["disable-min-height"])]),
|
|
100
103
|
_: 3
|
|
101
104
|
});
|
|
102
105
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AAoIA;AA8bA,OAAO,KAAK,EAAgB,SAAS,EAAC,MAAM,SAAS,CAAA;AAErD,OAAO,EAA0D,KAAK,KAAK,EAAkH,MAAM,KAAK,CAAA;AAgCxM,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAA;CACvB,CAAC;AA2mBF,QAAA,MAAM,UAAU;2BAlhBc,MAAM;yBAIR,MAAM;gCAiCG,OAAO,CAAC,IAAI,CAAC;oBAY7B,IAAI;iBAIL,MAAM,UAAU,OAAO;;;;;;;;;;;;;;;;;;;kFAiezC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -73,6 +73,10 @@ var WTabs_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
73
73
|
});
|
|
74
74
|
const current = ref(props.initTab ?? (props.initTabIndex !== void 0 ? defaultSlotsKeys.value[props.initTabIndex] : defaultSlots.value.find((slot) => !!slot.props?.init)?.props?.name ?? defaultSlotsKeys.value[0]));
|
|
75
75
|
const currentIndex = computed(() => defaultSlotsKeys.value.indexOf(current.value));
|
|
76
|
+
watch(() => unwrapSlots(props.customSlots ?? slots.default?.() ?? []).filter(isTabItem)[currentIndex.value]?.props?.title, (value) => emit("update:current-title", value), {
|
|
77
|
+
immediate: true,
|
|
78
|
+
flush: "post"
|
|
79
|
+
});
|
|
76
80
|
const isDirect = ref(true);
|
|
77
81
|
const buttonRef = useTemplateRef("button");
|
|
78
82
|
const minHeight = ref(0);
|
|
@@ -250,10 +254,7 @@ var WTabs_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
250
254
|
return (_ctx, _cache) => {
|
|
251
255
|
return openBlock(), createElementBlock("div", {
|
|
252
256
|
ref: "container",
|
|
253
|
-
class: normalizeClass(
|
|
254
|
-
"grid grid-cols-1": !__props.side || __props.flat,
|
|
255
|
-
"sm-not:grid-cols-[repeat(2,100vw)] sm-not:snap-x sm-not:snap-mandatory sm-not:snap-always sm-not:overflow-x-auto sm-not:overscroll-x-contain grid grid-cols-[minmax(auto,var(--w-tabs-side-width,auto)),1fr] items-start": __props.side
|
|
256
|
-
}])
|
|
257
|
+
class: normalizeClass({ "sm-not:grid-cols-[repeat(2,100vw)] sm-not:snap-x sm-not:snap-mandatory sm-not:snap-always sm-not:overflow-x-auto sm-not:overscroll-x-contain grid grid-cols-[minmax(auto,var(--w-tabs-side-width,auto)),1fr] items-start gap-4": __props.side })
|
|
257
258
|
}, [!__props.noHeader && !__props.flat ? (openBlock(), createElementBlock("div", {
|
|
258
259
|
key: 0,
|
|
259
260
|
ref: "buttonContainer",
|
|
@@ -353,8 +354,7 @@ var WTabs_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
353
354
|
removable: slot.props.removable ?? false,
|
|
354
355
|
"enable-status": (__props.statusIcon || __props.showHasValue || __props.enableStatus) ?? false,
|
|
355
356
|
flat: __props.flat ?? false,
|
|
356
|
-
"onUpdate:height": _cache[0] || (_cache[0] = ($event) => !__props.disableMinHeight && !__props.flat && updateHeight($event))
|
|
357
|
-
"onUpdate:active": ($event) => _ctx.$emit("update:current-title", slot.props?.title)
|
|
357
|
+
"onUpdate:height": _cache[0] || (_cache[0] = ($event) => !__props.disableMinHeight && !__props.flat && updateHeight($event))
|
|
358
358
|
}, {
|
|
359
359
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(slot)))]),
|
|
360
360
|
_: 2
|
|
@@ -364,8 +364,7 @@ var WTabs_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
364
364
|
"active",
|
|
365
365
|
"removable",
|
|
366
366
|
"enable-status",
|
|
367
|
-
"flat"
|
|
368
|
-
"onUpdate:active"
|
|
367
|
+
"flat"
|
|
369
368
|
]);
|
|
370
369
|
}), 128))]),
|
|
371
370
|
_: 1
|