eco-vue-js 0.9.13 → 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.
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAkEiuS,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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 }) {
@@ -192,7 +193,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
192
193
  ref: "buttonContainer",
193
194
  class: normalizeClass(["relative", {
194
195
  "sm-not:snap-start grid grid-cols-[1fr,auto]": _ctx.side,
195
- "no-scrollbar sm-not:-pl--inner-margin flex snap-x snap-mandatory snap-always overflow-x-auto overscroll-x-contain pr-[30%]": !_ctx.side
196
+ "no-scrollbar sm-not:-pl--inner-margin flex snap-x snap-mandatory snap-always overflow-x-auto overscroll-x-contain pr-[50%]": !_ctx.side,
197
+ "4xl:pl-[50%]": _ctx.stepper && !_ctx.side
196
198
  }])
197
199
  }, [
198
200
  (openBlock(true), createElementBlock(Fragment, null, renderList(defaultSlotsAll.value, (slot, index) => {
@@ -282,15 +284,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
282
284
  title: slot.props?.title,
283
285
  active: slot.props?.name === current.value,
284
286
  removable: slot.props?.removable,
285
- "onTab:switch": unref(switchOnInvalid),
286
- "onUpdate:height": _cache[1] || (_cache[1] = ($event) => !_ctx.disableMinHeight && updateHeight($event)),
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)),
287
289
  "onUpdate:active": ($event) => _ctx.$emit("update:current-title", slot.props?.title)
288
290
  }, {
289
291
  default: withCtx(() => [
290
292
  (openBlock(), createBlock(resolveDynamicComponent(slot)))
291
293
  ]),
292
294
  _: 2
293
- }, 1032, ["name", "title", "active", "removable", "onTab:switch", "onUpdate:active"]);
295
+ }, 1032, ["name", "title", "active", "removable", "onUpdate:active"]);
294
296
  }), 128))
295
297
  ]),
296
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,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;IAChC,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.9.13",
7
+ "version": "0.9.15",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "preview": "vite preview",