eco-vue-js 0.9.3 → 0.9.4

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.
Files changed (40) hide show
  1. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +3 -139
  2. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  3. package/dist/components/Form/WForm.vue.d.ts +4 -0
  4. package/dist/components/Form/WForm.vue.d.ts.map +1 -1
  5. package/dist/components/Form/WForm.vue.js +7 -1
  6. package/dist/components/Form/WFormValidator.vue.d.ts +3 -1
  7. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  8. package/dist/components/Form/WFormValidator.vue.js +15 -3
  9. package/dist/components/Form/models/injection.d.ts +1 -0
  10. package/dist/components/Form/models/injection.d.ts.map +1 -1
  11. package/dist/components/Form/models/injection.js +2 -1
  12. package/dist/components/Form/use/useFormHasValueMap.d.ts +6 -0
  13. package/dist/components/Form/use/useFormHasValueMap.d.ts.map +1 -0
  14. package/dist/components/Form/use/useFormHasValueMap.js +31 -0
  15. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts +2 -2
  16. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +1 -4
  17. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  18. package/dist/components/Input/WInputDate.vue.d.ts +2 -12
  19. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  20. package/dist/components/Input/WInputOptions.vue.d.ts +1 -1
  21. package/dist/components/Modal/WModalStepper.vue.d.ts +2 -784
  22. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  23. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +4 -4
  24. package/dist/components/Select/WSelectSingle.vue.d.ts +4 -4
  25. package/dist/components/Select/WSelectStringified.vue.d.ts +4 -4
  26. package/dist/components/Tabs/WTabs.vue.d.ts +3 -259
  27. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  28. package/dist/components/Tabs/WTabs.vue.js +78 -60
  29. package/dist/components/Tabs/WTabsItem.vue.d.ts +9 -6
  30. package/dist/components/Tabs/WTabsItem.vue.d.ts.map +1 -1
  31. package/dist/components/Tabs/WTabsItem.vue.js +2 -1
  32. package/dist/components/Tabs/WTabsStepper.vue.d.ts +2 -612
  33. package/dist/components/Tabs/WTabsStepper.vue.d.ts.map +1 -1
  34. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  35. package/dist/components/Tabs/components/TabItem.vue.js +8 -6
  36. package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
  37. package/dist/components/Tabs/components/TabTitleButton.vue.js +4 -4
  38. package/dist/components/Tabs/types.d.ts +5 -0
  39. package/dist/components/Tabs/types.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, watch, nextTick, withDirectives, openBlock, createElementBlock, renderSlot, vShow, createCommentVNode } from 'vue';
1
+ import { defineComponent, useTemplateRef, watch, nextTick, openBlock, createBlock, KeepAlive, withDirectives, createElementBlock, renderSlot, vShow, createCommentVNode } from 'vue';
2
2
  import { useTabItemActiveListener } from '../use/useTabItemActiveListener.js';
3
3
 
4
4
  const _hoisted_1 = {
@@ -31,11 +31,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
31
  emitHeight
32
32
  });
33
33
  return (_ctx, _cache) => {
34
- return !_ctx.removable || _ctx.active ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
35
- renderSlot(_ctx.$slots, "default")
36
- ], 512)), [
37
- [vShow, _ctx.active]
38
- ]) : createCommentVNode("", true);
34
+ return openBlock(), createBlock(KeepAlive, null, [
35
+ !_ctx.removable || _ctx.active ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
36
+ renderSlot(_ctx.$slots, "default")
37
+ ], 512)), [
38
+ [vShow, _ctx.active]
39
+ ]) : createCommentVNode("", true)
40
+ ], 1024);
39
41
  };
40
42
  }
41
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"TabTitleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabTitleButton.vue"],"names":[],"mappings":"AA8IA,OAAO,EAAC,KAAK,aAAa,EAA6C,MAAM,KAAK,CAAA;AA0FlF,iBAAS,cAAc;;uBA4HI,GAAG;wBACD,GAAG;uBACJ,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7OX,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;;;cAgP8B,MAAM;;aAAU,MAAM;;;YAtP1D,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;cAgP8B,MAAM;;aAAU,MAAM;;;;OAIlE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"TabTitleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabTitleButton.vue"],"names":[],"mappings":"AA8IA,OAAO,EAAC,KAAK,aAAa,EAA6C,MAAM,KAAK,CAAA;AA0FlF,iBAAS,cAAc;;uBA2HI,GAAG;wBACD,GAAG;uBACJ,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA5OX,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;;;cA+O8B,MAAM;;aAAU,MAAM;;;YArP1D,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;cA+O8B,MAAM;;aAAU,MAAM;;;;OAIlE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
66
  return (_ctx, _cache) => {
67
67
  return openBlock(), createElementBlock("button", {
68
68
  ref: "button",
69
- class: "text-description grid cursor-pointer select-none snap-center grid-cols-[1fr,auto] font-semibold outline-none transition-colors duration-500",
69
+ class: "text-description grid cursor-pointer select-none snap-center font-semibold outline-none transition-colors duration-500",
70
70
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
71
71
  }, [
72
72
  createElementVNode("div", {
@@ -94,9 +94,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
94
  ]),
95
95
  _: 1
96
96
  })) : createCommentVNode("", true),
97
- createTextVNode(" " + toDisplayString(_ctx.title) + " ", 1),
98
- renderSlot(_ctx.$slots, "suffix")
99
- ])
97
+ createTextVNode(" " + toDisplayString(_ctx.title), 1)
98
+ ]),
99
+ renderSlot(_ctx.$slots, "suffix")
100
100
  ], 2)),
101
101
  createVNode(Transition, {
102
102
  "enter-active-class": "transition-opacity",
@@ -9,4 +9,9 @@ export interface TabsProps {
9
9
  switchToNew?: boolean;
10
10
  }
11
11
  export type TabsStepperProps = Omit<TabsProps, 'switchToNew' | 'noHeader' | 'side'>;
12
+ export type TabsItemScopedProps = {
13
+ hasError: boolean;
14
+ hasChanges: boolean;
15
+ hasValue: boolean;
16
+ };
12
17
  //# sourceMappingURL=types.d.ts.map
@@ -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,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,GAAG,MAAM,CAAC,CAAA"}
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,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,GAAG,MAAM,CAAC,CAAA;AAEnF,MAAM,MAAM,mBAAmB,GAAG;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.3",
7
+ "version": "0.9.4",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "preview": "vite preview",