eco-vue-js 0.9.16 → 0.9.18

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 (42) hide show
  1. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  2. package/dist/components/Form/WFormValidator.vue.js +14 -17
  3. package/dist/components/FormAsync/WFormAsyncInput.vue.js +3 -0
  4. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +3 -0
  5. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +3 -0
  6. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +3 -0
  7. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +3 -0
  8. package/dist/components/Input/WInput.vue.d.ts +2 -0
  9. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  10. package/dist/components/Input/WInput.vue.js +60 -47
  11. package/dist/components/Input/WInputAsync.vue.js +3 -0
  12. package/dist/components/Input/WInputDate.vue.js +3 -0
  13. package/dist/components/Input/WInputOptions.vue.js +3 -0
  14. package/dist/components/Input/WInputSuggest.vue.js +3 -0
  15. package/dist/components/Input/types.d.ts +3 -0
  16. package/dist/components/Input/types.d.ts.map +1 -1
  17. package/dist/components/Modal/WModalStepper.vue.d.ts +614 -784
  18. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  19. package/dist/components/Modal/WModalStepper.vue.js +2 -1
  20. package/dist/components/Select/WSelect.vue.js +3 -0
  21. package/dist/components/Select/WSelectAsync.vue.js +3 -0
  22. package/dist/components/Select/WSelectAsyncSingle.vue.js +3 -0
  23. package/dist/components/Select/WSelectSingle.vue.js +3 -0
  24. package/dist/components/Select/WSelectStringified.vue.js +3 -0
  25. package/dist/components/Tabs/WTabs.vue.d.ts +6 -3
  26. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  27. package/dist/components/Tabs/WTabs.vue.js +23 -5
  28. package/dist/components/Tabs/components/TabTitleButton.vue.d.ts +0 -2
  29. package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
  30. package/dist/components/Tabs/components/TabTitleButton.vue.js +1 -2
  31. package/dist/components/Tabs/types.d.ts +0 -2
  32. package/dist/components/Tabs/types.d.ts.map +1 -1
  33. package/dist/imports/componentsPlugin.d.ts +1 -2
  34. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  35. package/dist/main.js +0 -1
  36. package/eslint/recommended.js +37 -36
  37. package/package.json +1 -4
  38. package/tailwind-base/plugins/default.cjs +11 -9
  39. package/dist/components/Tabs/WTabsStepper.vue.d.ts +0 -799
  40. package/dist/components/Tabs/WTabsStepper.vue.d.ts.map +0 -1
  41. package/dist/components/Tabs/WTabsStepper.vue.js +0 -75
  42. package/dist/components/Tabs/WTabsStepper.vue2.js +0 -5
@@ -1 +0,0 @@
1
- {"version":3,"file":"WTabsStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsStepper.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;AAmF7C,iBAAS,cAAc;;yBA4HO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAoEqpd,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAA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 from './WTabs.vue.js';
3
- import { Notify } from '../../utils/Notify.js';
4
-
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "WTabsStepper",
7
- props: {
8
- customSlots: {},
9
- lessTransitions: { type: Boolean },
10
- initTab: {},
11
- initTabIndex: {},
12
- disableMinHeight: { type: Boolean },
13
- noHeader: { type: Boolean },
14
- stepper: { type: Boolean },
15
- showHasValue: { type: Boolean },
16
- noSwitchOnInvalid: { type: Boolean }
17
- },
18
- emits: ["update:current", "update:current-index", "update:first", "update:last", "update:progress", "update:has-changes", "update:current-title"],
19
- setup(__props, { expose: __expose, emit: __emit }) {
20
- const props = __props;
21
- const emit = __emit;
22
- const tabsRef = useTemplateRef("tabs");
23
- const tabsLength = ref(0);
24
- const current = ref(0);
25
- const first = computed(() => current.value === 0);
26
- const last = computed(() => current.value === tabsLength.value - 1);
27
- const progress = computed(() => 100 * (current.value + 1) / tabsLength.value);
28
- const previous = () => {
29
- tabsRef.value?.previous();
30
- };
31
- const next = () => {
32
- const errorMessage = tabsRef.value?.validateIfNoError(current.value);
33
- if (errorMessage) {
34
- Notify.warn({ title: "Form contains invalid values", caption: errorMessage.length < 200 ? errorMessage : void 0 });
35
- return;
36
- }
37
- tabsRef.value?.next();
38
- };
39
- watch(progress, (value) => {
40
- emit("update:progress", value);
41
- }, { immediate: true });
42
- watch(first, (value) => {
43
- emit("update:first", value);
44
- }, { immediate: true });
45
- watch(last, (value) => {
46
- emit("update:last", value);
47
- }, { immediate: true });
48
- __expose({
49
- next,
50
- previous
51
- });
52
- return (_ctx, _cache) => {
53
- return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "tabs" }, props, {
54
- stepper: "",
55
- "no-indicator": "",
56
- "show-has-value": "",
57
- "onUpdate:current": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:current", $event)),
58
- "onUpdate:currentIndex": _cache[1] || (_cache[1] = ($event) => {
59
- current.value = $event;
60
- _ctx.$emit("update:current-index", $event);
61
- }),
62
- "onUpdate:currentTitle": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:current-title", $event)),
63
- "onUpdate:hasChanges": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:has-changes", $event)),
64
- "onUpdate:tabsLength": _cache[4] || (_cache[4] = ($event) => tabsLength.value = $event)
65
- }), {
66
- default: withCtx(() => [
67
- renderSlot(_ctx.$slots, "default")
68
- ]),
69
- _: 3
70
- }, 16);
71
- };
72
- }
73
- });
74
-
75
- export { _sfc_main as default };
@@ -1,5 +0,0 @@
1
- import _sfc_main from './WTabsStepper.vue.js';
2
-
3
-
4
-
5
- export { _sfc_main as default };