eco-vue-js 0.10.23 → 0.10.25

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 (72) hide show
  1. package/dist/components/ActionsBar/WActionsBar.vue.d.ts +2 -0
  2. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  3. package/dist/components/ActionsBar/WActionsBar.vue.js +4 -2
  4. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  5. package/dist/components/Button/WButton.vue.js +14 -11
  6. package/dist/components/Button/WButtonAction.vue.d.ts +3 -0
  7. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  8. package/dist/components/Button/WButtonAction.vue.js +32 -8
  9. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  10. package/dist/components/Button/WButtonDropdown.vue.js +43 -35
  11. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  12. package/dist/components/Button/WButtonGroup.vue.js +2 -1
  13. package/dist/components/Button/WButtonSelectionAction.vue.js +1 -1
  14. package/dist/components/Button/types.d.ts +2 -0
  15. package/dist/components/Button/types.d.ts.map +1 -1
  16. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  17. package/dist/components/Checkbox/WCheckbox.vue.js +3 -1
  18. package/dist/components/Dropdown/WDropdown.vue.d.ts +3 -1
  19. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  20. package/dist/components/Dropdown/WDropdown.vue.js +5 -4
  21. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +9 -3
  22. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  23. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  24. package/dist/components/Form/WFormValidator.vue.js +3 -5
  25. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -1
  26. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +1 -2
  27. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.d.ts.map +1 -1
  28. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +1 -2
  29. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -1
  30. package/dist/components/FormAsync/WFormAsyncInput.vue.js +1 -2
  31. package/dist/components/FormAsync/WFormAsyncSelect.vue.d.ts.map +1 -1
  32. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +2 -3
  33. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.d.ts.map +1 -1
  34. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -2
  35. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -1
  36. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -2
  37. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.d.ts.map +1 -1
  38. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +2 -3
  39. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
  40. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +2 -3
  41. package/dist/components/FormAsync/use/useFormAsync.d.ts +0 -1
  42. package/dist/components/FormAsync/use/useFormAsync.d.ts.map +1 -1
  43. package/dist/components/FormAsync/use/useFormAsync.js +2 -4
  44. package/dist/components/List/WList.vue.d.ts.map +1 -1
  45. package/dist/components/List/WList.vue.js +4 -2
  46. package/dist/components/List/types.d.ts +7 -4
  47. package/dist/components/List/types.d.ts.map +1 -1
  48. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  49. package/dist/components/Select/WSelect.vue.js +2 -1
  50. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  51. package/dist/components/Select/WSelectAsync.vue.js +2 -1
  52. package/dist/components/Tooltip/WTooltip.vue.d.ts +2 -0
  53. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  54. package/dist/components/Tooltip/WTooltip.vue.js +6 -2
  55. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  56. package/dist/components/Tooltip/WTooltipContainer.vue.js +9 -5
  57. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +4 -0
  58. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
  59. package/dist/components/Tooltip/components/TooltipContainer.vue.js +56 -19
  60. package/dist/imports/componentsPlugin.d.ts +1 -2
  61. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  62. package/dist/main.js +1 -2
  63. package/dist/utils/Tooltip.d.ts +2 -0
  64. package/dist/utils/Tooltip.d.ts.map +1 -1
  65. package/dist/utils/utils.d.ts +0 -2
  66. package/dist/utils/utils.d.ts.map +1 -1
  67. package/dist/utils/utils.js +1 -2
  68. package/package.json +1 -4
  69. package/dist/components/Provide/WProvide.vue.d.ts +0 -21
  70. package/dist/components/Provide/WProvide.vue.d.ts.map +0 -1
  71. package/dist/components/Provide/WProvide.vue.js +0 -20
  72. package/dist/components/Provide/WProvide.vue2.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/utils/Tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,KAAK,CAAA;AAE9B,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,WAAW,CAAA;IACnB,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;AAI/D,eAAO,MAAM,WAAW,GAAI,OAAO,cAAc,GAAG,SAAS,SAE5D,CAAA;AAED,eAAO,MAAM,OAAO;cACR,WAAW,GAAG,IAAI;aAGnB,IAAI;CAGd,CAAA"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/utils/Tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,KAAK,CAAA;AAE9B,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,WAAW,CAAA;IACnB,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;AAI/D,eAAO,MAAM,WAAW,GAAI,OAAO,cAAc,GAAG,SAAS,SAE5D,CAAA;AAED,eAAO,MAAM,OAAO;cACR,WAAW,GAAG,IAAI;aAGnB,IAAI;CAGd,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { FieldConfigMap, GetFieldLabels, ListFields } from '../components/List/types';
2
- import { InjectionKey, Ref } from 'vue';
3
2
  export declare const getScrollParent: (node: Element) => Element | null;
4
3
  export declare const getAllScrollParents: (node?: Element, max?: number) => Array<Element>;
5
4
  export declare const hasParent: (parent: Element, current: Element) => boolean;
@@ -27,6 +26,5 @@ export declare enum ListMode {
27
26
  TABLE = "table",
28
27
  GRID = "grid"
29
28
  }
30
- export declare const wReadonly: InjectionKey<Ref<boolean>>;
31
29
  export {};
32
30
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,cAAc,EAAE,cAAc,EAAE,UAAU,EAAC,MAAM,yBAAyB,CAAA;AACpG,OAAO,KAAK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KAAK,IAAI,MAAqB,CAAA;AAEtE,eAAO,MAAM,OAAO,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAEjD,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,MAU3C,CAAA;AAED,eAAO,MAAM,GAAG,GAAI,SAAS,EAAE,IAAI,EAAE,MAAM,IAAI,EAAE,MAAM,MAAM,WAAW,CAAC,IAAI,EAAE,SAAS,CAAC,KAAG,SAAS,GAAG,SAA2J,CAAA;AAEnQ,eAAO,MAAM,GAAG,GAAI,SAAS,EAAE,IAAI,EAAE,MAAM,IAAI,EAAE,MAAM,MAAM,WAAW,CAAC,IAAI,EAAE,SAAS,CAAC,EAAE,OAAO,SAAS,KAAG,IAe7G,CAAA;AAGD,eAAO,MAAM,wBAAwB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,MAAM,EAAE,SAAS,IAAI,SAAS,OAAO,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,EAAE,KAAG,cAAc,CAAC,MAAM,CAiBhM,CAAA;AAED,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
@@ -121,6 +121,5 @@ var ListMode = /* @__PURE__ */ ((ListMode2) => {
121
121
  ListMode2["GRID"] = "grid";
122
122
  return ListMode2;
123
123
  })(ListMode || {});
124
- const wReadonly = Symbol("wReadonly");
125
124
 
126
- export { ListMode, debounce, genId, get, getAllScrollParents, getDefaultFieldConfigMap, getScrollParent, hasParent, isClientSide, isEqualArr, isEqualObj, isId, isIdArray, isIndex, isPage, numberCompactFormatter, numberFormatter, parseId, parseIndex, percentCompactFormatter, percentFormatter, set, throttle, wReadonly };
125
+ export { ListMode, debounce, genId, get, getAllScrollParents, getDefaultFieldConfigMap, getScrollParent, hasParent, isClientSide, isEqualArr, isEqualObj, isId, isIdArray, isIndex, isPage, numberCompactFormatter, numberFormatter, parseId, parseIndex, percentCompactFormatter, percentFormatter, set, throttle };
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.10.23",
7
+ "version": "0.10.25",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --watch",
@@ -355,9 +355,6 @@
355
355
  "./dist/components/Progress/WProgress.vue": {
356
356
  "import": "./dist/components/Progress/WProgress.vue.js"
357
357
  },
358
- "./dist/components/Provide/WProvide.vue": {
359
- "import": "./dist/components/Provide/WProvide.vue.js"
360
- },
361
358
  "./dist/components/Select/WSelect.vue": {
362
359
  "import": "./dist/components/Select/WSelect.vue.js"
363
360
  },
@@ -1,21 +0,0 @@
1
- type __VLS_Props = {
2
- readonly?: boolean;
3
- };
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
21
- //# sourceMappingURL=WProvide.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WProvide.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Provide/WProvide.vue"],"names":[],"mappings":"AAGA;AAwBA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAWF,iBAAS,cAAc;WAoBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,20 +0,0 @@
1
- import { defineComponent, inject, computed, provide, renderSlot } from 'vue';
2
- import { wReadonly } from '../../utils/utils.js';
3
-
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "WProvide",
6
- props: {
7
- readonly: { type: Boolean }
8
- },
9
- setup(__props) {
10
- const props = __props;
11
- const readonlyInjected = inject(wReadonly, void 0);
12
- const isReadonly = computed(() => props.readonly || (readonlyInjected?.value ?? false));
13
- provide(wReadonly, isReadonly);
14
- return (_ctx, _cache) => {
15
- return renderSlot(_ctx.$slots, "default");
16
- };
17
- }
18
- });
19
-
20
- export { _sfc_main as default };
@@ -1,5 +0,0 @@
1
- import _sfc_main from './WProvide.vue.js';
2
-
3
-
4
-
5
- export { _sfc_main as default };