eco-vue-js 0.9.14 → 0.9.15
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/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +5 -4
- package/dist/components/Tabs/WTabsStepper.vue.js +2 -1
- package/dist/components/Tabs/types.d.ts +1 -0
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/package.json +1 -1
@@ -16,6 +16,7 @@ declare function __VLS_template(): {
|
|
16
16
|
readonly noHeader?: boolean | undefined;
|
17
17
|
readonly stepper?: boolean | undefined;
|
18
18
|
readonly showHasValue?: boolean | undefined;
|
19
|
+
readonly noSwitchOnInvalid?: boolean | undefined;
|
19
20
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
20
21
|
readonly "onUpdate:first"?: ((value: boolean) => any) | undefined;
|
21
22
|
readonly "onUpdate:last"?: ((value: boolean) => any) | undefined;
|
@@ -510,6 +511,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
510
511
|
readonly noHeader?: boolean | undefined;
|
511
512
|
readonly stepper?: boolean | undefined;
|
512
513
|
readonly showHasValue?: boolean | undefined;
|
514
|
+
readonly noSwitchOnInvalid?: boolean | undefined;
|
513
515
|
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
514
516
|
readonly "onUpdate:first"?: ((value: boolean) => any) | undefined;
|
515
517
|
readonly "onUpdate:last"?: ((value: boolean) => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AA0KA,iBAAS,cAAc;;uBA4PI,GAAG;yBACA,GAAG
|
1
|
+
{"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAyM7J,GAAG,8CAA8C,GAAG,yBACzC,GAAG,6DAAmC,GAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAFC,GAAG,8CAA8C,GAAG,yBACzC,GAAG,6DAAmC,GAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAFC,GAAG,8CAA8C,GAAG,yBACzC,GAAG,6DAAmC,GAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgNA,wBAeG"}
|
@@ -29,7 +29,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
switchToNew: { type: Boolean },
|
30
30
|
noIndicator: { type: Boolean },
|
31
31
|
stepper: { type: Boolean },
|
32
|
-
showHasValue: { type: Boolean }
|
32
|
+
showHasValue: { type: Boolean },
|
33
|
+
noSwitchOnInvalid: { type: Boolean }
|
33
34
|
},
|
34
35
|
emits: ["update:current", "update:current-index", "update:has-changes", "update:current-title", "update:tabs-length"],
|
35
36
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -283,15 +284,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
283
284
|
title: slot.props?.title,
|
284
285
|
active: slot.props?.name === current.value,
|
285
286
|
removable: slot.props?.removable,
|
286
|
-
"onTab:switch": unref(switchOnInvalid),
|
287
|
-
"onUpdate:height": _cache[
|
287
|
+
"onTab:switch": _cache[1] || (_cache[1] = ($event) => !_ctx.noSwitchOnInvalid && unref(switchOnInvalid)($event)),
|
288
|
+
"onUpdate:height": _cache[2] || (_cache[2] = ($event) => !_ctx.disableMinHeight && updateHeight($event)),
|
288
289
|
"onUpdate:active": ($event) => _ctx.$emit("update:current-title", slot.props?.title)
|
289
290
|
}, {
|
290
291
|
default: withCtx(() => [
|
291
292
|
(openBlock(), createBlock(resolveDynamicComponent(slot)))
|
292
293
|
]),
|
293
294
|
_: 2
|
294
|
-
}, 1032, ["name", "title", "active", "removable", "
|
295
|
+
}, 1032, ["name", "title", "active", "removable", "onUpdate:active"]);
|
295
296
|
}), 128))
|
296
297
|
]),
|
297
298
|
_: 1
|
@@ -12,7 +12,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
disableMinHeight: { type: Boolean },
|
13
13
|
noHeader: { type: Boolean },
|
14
14
|
stepper: { type: Boolean },
|
15
|
-
showHasValue: { type: Boolean }
|
15
|
+
showHasValue: { type: Boolean },
|
16
|
+
noSwitchOnInvalid: { type: Boolean }
|
16
17
|
},
|
17
18
|
emits: ["update:current", "update:current-index", "update:first", "update:last", "update:progress", "update:has-changes", "update:current-title"],
|
18
19
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -11,6 +11,7 @@ export interface TabsProps {
|
|
11
11
|
noIndicator?: boolean;
|
12
12
|
stepper?: boolean;
|
13
13
|
showHasValue?: boolean;
|
14
|
+
noSwitchOnInvalid?: boolean;
|
14
15
|
}
|
15
16
|
export type TabsStepperProps = Omit<TabsProps, 'switchToNew' | 'noIndicator' | 'side'>;
|
16
17
|
export type TabsItemScopedProps = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,KAAK,CAAA;AAE9B,MAAM,WAAW,SAAS;IACxB,WAAW,CAAC,EAAE,KAAK,EAAE,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EA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