eco-vue-js 0.10.81 → 0.10.82

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 (125) hide show
  1. package/dist/components/Button/WButton.vue.d.ts +2 -0
  2. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButton.vue.js +13 -11
  4. package/dist/components/Button/WButtonAction.vue.d.ts +2 -0
  5. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  6. package/dist/components/Button/WButtonAction.vue.js +16 -13
  7. package/dist/components/Button/WButtonDropdown.vue.d.ts +1 -0
  8. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  9. package/dist/components/Button/WButtonDropdown.vue.js +2 -1
  10. package/dist/components/Button/WButtonGroup.vue.d.ts +1 -1
  11. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  12. package/dist/components/Button/WButtonGroup.vue.js +7 -5
  13. package/dist/components/Chart/WChartLine.vue.d.ts.map +1 -1
  14. package/dist/components/Chart/WChartLine.vue.js +12 -9
  15. package/dist/components/Chart/WChartLinear.vue.d.ts +1 -0
  16. package/dist/components/Chart/WChartLinear.vue.d.ts.map +1 -1
  17. package/dist/components/Chart/WChartLinear.vue.js +7 -5
  18. package/dist/components/Checkbox/WCheckbox.vue.d.ts +5 -1
  19. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  20. package/dist/components/Checkbox/WCheckbox.vue.js +21 -18
  21. package/dist/components/Checkbox/types.d.ts +1 -0
  22. package/dist/components/Checkbox/types.d.ts.map +1 -1
  23. package/dist/components/Chip/WChip.vue.d.ts +5 -1
  24. package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
  25. package/dist/components/Chip/WChip.vue.js +9 -6
  26. package/dist/components/DatePicker/WDatePicker.vue.d.ts +9 -1
  27. package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
  28. package/dist/components/DatePicker/WDatePicker.vue.js +8 -4
  29. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +11 -1
  30. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
  31. package/dist/components/DatePicker/WDatePickerSingle.vue.js +10 -4
  32. package/dist/components/DragContainer/use/useDragContainer.js +2 -1
  33. package/dist/components/Dropdown/WDropdown.vue.js +2 -2
  34. package/dist/components/Dropdown/types.d.ts +1 -0
  35. package/dist/components/Dropdown/types.d.ts.map +1 -1
  36. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +2 -0
  37. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  38. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +1 -0
  39. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +5 -1
  40. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  41. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +12 -10
  42. package/dist/components/FilePicker/WFilePicker.vue.d.ts +11 -1
  43. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
  44. package/dist/components/FilePicker/WFilePicker.vue.js +20 -14
  45. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -1
  46. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +3 -3
  47. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.d.ts.map +1 -1
  48. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +3 -3
  49. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -1
  50. package/dist/components/FormAsync/WFormAsyncInput.vue.js +3 -3
  51. package/dist/components/FormAsync/WFormAsyncSelect.vue.d.ts.map +1 -1
  52. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +4 -3
  53. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.d.ts.map +1 -1
  54. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +4 -3
  55. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -1
  56. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +4 -3
  57. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.d.ts.map +1 -1
  58. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +4 -3
  59. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
  60. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +3 -2
  61. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +1 -0
  62. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  63. package/dist/components/InfiniteList/WInfiniteList.vue.js +4 -2
  64. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +1 -0
  65. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
  66. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +3 -2
  67. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  68. package/dist/components/Input/WInput.vue.js +24 -22
  69. package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
  70. package/dist/components/Input/WInputAsync.vue.js +11 -9
  71. package/dist/components/Input/WInputDate.vue.d.ts +3 -0
  72. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  73. package/dist/components/Input/WInputDate.vue.js +5 -4
  74. package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
  75. package/dist/components/Input/WInputOptions.vue.js +13 -10
  76. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  77. package/dist/components/Input/WInputSuggest.vue.js +12 -9
  78. package/dist/components/List/WList.vue.d.ts.map +1 -1
  79. package/dist/components/List/WList.vue.js +27 -25
  80. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  81. package/dist/components/List/WListCard.vue.js +2 -1
  82. package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
  83. package/dist/components/List/WListHeader.vue.js +1 -0
  84. package/dist/components/MenuItem/WMenuItem.vue.js +1 -1
  85. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
  86. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  87. package/dist/components/Select/WSelect.vue.js +23 -20
  88. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  89. package/dist/components/Select/WSelectAsync.vue.js +15 -12
  90. package/dist/components/Select/WSelectAsyncList.vue.d.ts +2 -0
  91. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  92. package/dist/components/Select/WSelectAsyncList.vue.js +12 -6
  93. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  94. package/dist/components/Select/WSelectAsyncSingle.vue.js +6 -5
  95. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  96. package/dist/components/Select/WSelectSingle.vue.js +8 -7
  97. package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
  98. package/dist/components/Select/WSelectStringified.vue.js +8 -7
  99. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  100. package/dist/components/Toggle/WToggle.vue.js +16 -12
  101. package/dist/components/Toggle/WToggleTheme.vue.js +2 -1
  102. package/dist/components/Toggle/types.d.ts +1 -0
  103. package/dist/components/Toggle/types.d.ts.map +1 -1
  104. package/dist/components/Tooltip/WTooltip.vue.d.ts +2 -0
  105. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  106. package/dist/components/Tooltip/WTooltip.vue.js +4 -0
  107. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -0
  108. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  109. package/dist/components/Tooltip/WTooltipContainer.vue.js +3 -1
  110. package/dist/components/Tooltip/models/tooltipMeta.d.ts +6 -0
  111. package/dist/components/Tooltip/models/tooltipMeta.d.ts.map +1 -1
  112. package/dist/main.d.ts +2 -0
  113. package/dist/main.d.ts.map +1 -1
  114. package/dist/main.js +2 -0
  115. package/dist/types/global.d.ts +1 -1
  116. package/dist/utils/api.d.ts +1 -0
  117. package/dist/utils/api.d.ts.map +1 -1
  118. package/dist/utils/api.js +4 -1
  119. package/dist/utils/provide.d.ts +5 -0
  120. package/dist/utils/provide.d.ts.map +1 -0
  121. package/dist/utils/provide.js +19 -0
  122. package/dist/utils/useComponentStates.d.ts +19 -0
  123. package/dist/utils/useComponentStates.d.ts.map +1 -0
  124. package/dist/utils/useComponentStates.js +36 -0
  125. package/package.json +4 -1
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  name: {},
38
38
  autocomplete: {},
39
39
  autofocus: { type: Boolean },
40
- readonly: { type: Boolean },
40
+ readonly: { type: Boolean, default: void 0 },
41
41
  disabledActions: { type: Boolean },
42
42
  loading: { type: Boolean },
43
43
  spellcheck: { type: Boolean },
@@ -53,8 +53,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  tooltipText: {},
54
54
  mono: { type: Boolean },
55
55
  hasChanges: { type: Boolean },
56
- skeleton: { type: Boolean },
57
- disabled: { type: Boolean },
56
+ skeleton: { type: Boolean, default: void 0 },
57
+ disabled: { type: Boolean, default: void 0 },
58
58
  required: { type: Boolean },
59
59
  mandatory: { type: Boolean },
60
60
  noMargin: { type: Boolean },
@@ -70,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
70
  maxWidth: {},
71
71
  horizontalAlign: {},
72
72
  top: { type: Boolean },
73
+ bottom: { type: Boolean },
73
74
  optionComponent: {},
74
75
  optionComponentProps: {},
75
76
  useQueryFn: {},
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncSelectSingle.vue"],"names":[],"mappings":"AAiCA;AAmDA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,SAAS,CAAA;AACvD,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAA;yBAMnD,KAAK,EAAE,SAAS,SAAS,MAAM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AAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,GAAG,KAAK,EAC5M,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAsIO,mBAAmB,CAAC;;kQAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBArCgB,GAAG;0BACA,GAAG;uBACL,GAAG;;cAxFzB,SAAS,SAAS,KAAK,KAAG,IAAI;EA+HhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjJzE,wBAiJ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  name: {},
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
- readonly: { type: Boolean },
36
+ readonly: { type: Boolean, default: void 0 },
37
37
  disabledActions: { type: Boolean },
38
38
  loading: { type: Boolean },
39
39
  spellcheck: { type: Boolean },
@@ -49,8 +49,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  tooltipText: {},
50
50
  mono: { type: Boolean },
51
51
  hasChanges: { type: Boolean },
52
- skeleton: { type: Boolean },
53
- disabled: { type: Boolean },
52
+ skeleton: { type: Boolean, default: void 0 },
53
+ disabled: { type: Boolean, default: void 0 },
54
54
  required: { type: Boolean },
55
55
  mandatory: { type: Boolean },
56
56
  noMargin: { type: Boolean },
@@ -66,6 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
66
  maxWidth: {},
67
67
  horizontalAlign: {},
68
68
  top: { type: Boolean },
69
+ bottom: { type: Boolean },
69
70
  optionComponent: {},
70
71
  optionComponentProps: {},
71
72
  useQueryFnOptions: {},
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncSelectStringified.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncSelectStringified.vue"],"names":[],"mappings":"AAiCA;AAmDA,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,SAAS,CAAA;AAC5D,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAA;yBAMnD,KAAK,EAAE,SAAS,SAAS,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAC/J,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAyHO,mBAAmB,CAAC;;2PAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBArCgB,GAAG;0BACA,GAAG;uBACL,GAAG;;cAnFzB,SAAS,SAAS,KAAK,KAAG,IAAI;EA0HhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK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C,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  name: {},
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
- readonly: { type: Boolean },
36
+ readonly: { type: Boolean, default: void 0 },
37
37
  disabledActions: { type: Boolean },
38
38
  loading: { type: Boolean },
39
39
  spellcheck: { type: Boolean },
@@ -49,8 +49,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  tooltipText: {},
50
50
  mono: { type: Boolean },
51
51
  hasChanges: { type: Boolean },
52
- skeleton: { type: Boolean },
53
- disabled: { type: Boolean },
52
+ skeleton: { type: Boolean, default: void 0 },
53
+ disabled: { type: Boolean, default: void 0 },
54
54
  required: { type: Boolean },
55
55
  mandatory: { type: Boolean },
56
56
  noMargin: { type: Boolean },
@@ -66,6 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
66
  maxWidth: {},
67
67
  horizontalAlign: {},
68
68
  top: { type: Boolean },
69
+ bottom: { type: Boolean },
69
70
  optionComponent: {},
70
71
  optionComponentProps: {},
71
72
  useQueryFnOptions: {},
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncToggle.vue"],"names":[],"mappings":"AAkBA;AAoCA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAA;yBAMhC,KAAK,EAAE,SAAS,SAAS,OAAO,GAAG,IAAI,EAAE,WAAW,EACpE,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,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GhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzHzE,wBAyH4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -8,9 +8,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  title: {},
9
9
  icon: {},
10
10
  small: { type: Boolean },
11
- disabled: { type: Boolean },
11
+ disabled: { type: Boolean, default: void 0 },
12
12
  loading: { type: Boolean },
13
- readonly: { type: Boolean },
13
+ readonly: { type: Boolean, default: void 0 },
14
14
  rightLabel: { type: Boolean },
15
15
  noMargin: { type: Boolean },
16
16
  description: {},
@@ -19,6 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  validate: {},
20
20
  center: { type: Boolean },
21
21
  mandatory: { type: Boolean },
22
+ skeleton: { type: Boolean, default: void 0 },
22
23
  useQueryFn: {},
23
24
  noParams: { type: Boolean },
24
25
  queryParams: {},
@@ -15,6 +15,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
15
15
  transition?: boolean;
16
16
  headerTopIgnore?: boolean;
17
17
  minHeight?: boolean;
18
+ noHeaderUpdate?: boolean;
18
19
  lastChild?: boolean;
19
20
  excludeParams?: (keyof QueryParams)[];
20
21
  emptyStub?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"AAsEA;AA0JA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAWxB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EACpF,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OA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;;;wCAsNgiU,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;+FAtNlnU,KAAK,IAAI;gBACtC,MAAM,IAAI;;;YA9Bd,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,cAAc,SAAS,QAAQ,GAAG,IAAI;;EAgOxC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAhRzE,wBAgR4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -14,6 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  transition: { type: Boolean },
15
15
  headerTopIgnore: { type: Boolean },
16
16
  minHeight: { type: Boolean },
17
+ noHeaderUpdate: { type: Boolean },
17
18
  lastChild: { type: Boolean },
18
19
  excludeParams: { default: void 0 },
19
20
  emptyStub: { default: void 0 },
@@ -32,7 +33,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
33
  __expose(infiniteListPagesRef.value ?? {});
33
34
  return (_ctx, _cache) => {
34
35
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.minHeight ? _sfc_main$1 : _sfc_main$2), {
35
- "init-is-intersecting": props.queryParams instanceof Object && "page" in props.queryParams && Number.isInteger(props.queryParams.page) && props.queryParams.page > 1 ? false : void 0
36
+ "init-is-intersecting": props.queryParams instanceof Object && "page" in props.queryParams && Number.isInteger(props.queryParams.page) && props.queryParams.page > 1 ? false : void 0,
37
+ "no-header-update": _ctx.noHeaderUpdate
36
38
  }, {
37
39
  header: withCtx((headerScope) => [
38
40
  renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({ ...unref(infiniteListPagesRef) ?? {}, ...headerScope ?? {} })))
@@ -92,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
92
94
  ]), 1032, ["query-params", "use-query-fn", "skeleton-length", "hide-page-title", "transition", "page-length", "header-top", "header-height", "min-height", "last-child", "exclude-params", "empty-stub", "page-class", "max-pages", "refetch-interval", "query-options", "class", "style", "value-getter"])
93
95
  ]),
94
96
  _: 3
95
- }, 8, ["init-is-intersecting"]);
97
+ }, 8, ["init-is-intersecting", "no-header-update"]);
96
98
  };
97
99
  }
98
100
  });
@@ -1,5 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  initIsIntersecting?: boolean;
3
+ noHeaderUpdate?: boolean;
3
4
  };
4
5
  declare function __VLS_template(): {
5
6
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"WInfiniteListWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/WInfiniteListWrapper.vue"],"names":[],"mappings":"AAkCA;AAmGA,KAAK,WAAW,GAAG;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAC;AAwCF,iBAAS,cAAc;WAyET,OAAO,IAA6B;;wBAftB,GAAG;;;YAEH,GAAG;yBADF,GAAG;;;;YAEH,GAAG;;;;;;;EAiB/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAOnB,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
+ {"version":3,"file":"WInfiniteListWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/WInfiniteListWrapper.vue"],"names":[],"mappings":"AAkCA;AAoGA,KAAK,WAAW,GAAG;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAC;AAwCF,iBAAS,cAAc;WAyET,OAAO,IAA6B;;wBAftB,GAAG;;;YAEH,GAAG;yBADF,GAAG;;;;YAEH,GAAG;;;;;;;EAiB/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAOnB,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"}
@@ -12,7 +12,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  ...{ inheritAttrs: false },
13
13
  __name: "WInfiniteListWrapper",
14
14
  props: {
15
- initIsIntersecting: { type: Boolean }
15
+ initIsIntersecting: { type: Boolean },
16
+ noHeaderUpdate: { type: Boolean }
16
17
  },
17
18
  setup(__props) {
18
19
  const props = __props;
@@ -45,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
46
  return (_ctx, _cache) => {
46
47
  return openBlock(), createElementBlock(Fragment, null, [
47
48
  createElementVNode("div", _hoisted_1, null, 512),
48
- unref(isModal) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
49
+ unref(isModal) || _ctx.noHeaderUpdate ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
49
50
  createElementVNode("div", {
50
51
  ref: "header",
51
52
  class: "-top--modal-header-height bg-default dark:bg-default-dark sticky print:hidden",
@@ -1 +1 @@
1
- {"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA0MA;AAyaA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,S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MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,WAAW,SAAS,UAAU,GAAG,IAAI;YACrC,cAAc,SAAS,UAAU,GAAG,IAAI;YACxC,cAAc,SAAS,KAAK,GAAG,IAAI;YACnC,OAAO,GAAG,IAAI;;EA+mBhB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnpBzE,wBAmpB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,7 +1,8 @@
1
- import { defineComponent, useTemplateRef, ref, watch, nextTick, onMounted, onBeforeUnmount, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, toDisplayString, withModifiers, resolveDynamicComponent, withKeys, unref } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, watch, nextTick, onMounted, onBeforeUnmount, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, unref, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, toDisplayString, withModifiers, resolveDynamicComponent, withKeys } from 'vue';
2
2
  import _sfc_main$1 from '../FieldWrapper/WFieldWrapper.vue.js';
3
3
  import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
4
4
  import { Notify } from '../../utils/Notify.js';
5
+ import { useComponentStates } from '../../utils/useComponentStates.js';
5
6
  import _sfc_main$2 from './components/InputActions.vue.js';
6
7
 
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -22,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
23
  name: {},
23
24
  autocomplete: { default: "off" },
24
25
  autofocus: { type: Boolean },
25
- readonly: { type: Boolean },
26
+ readonly: { type: Boolean, default: void 0 },
26
27
  unclickable: { type: [Boolean, null] },
27
28
  disabledActions: { type: Boolean },
28
29
  loading: { type: Boolean },
@@ -41,8 +42,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
42
  tooltipText: {},
42
43
  mono: { type: Boolean },
43
44
  hasChanges: { type: Boolean },
44
- skeleton: { type: Boolean },
45
- disabled: { type: Boolean },
45
+ skeleton: { type: Boolean, default: void 0 },
46
+ disabled: { type: Boolean, default: void 0 },
46
47
  required: { type: Boolean },
47
48
  mandatory: { type: Boolean },
48
49
  noMargin: { type: Boolean },
@@ -58,12 +59,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
59
  setup(__props, { expose: __expose, emit: __emit }) {
59
60
  const props = __props;
60
61
  const emit = __emit;
62
+ const { isReadonly, isDisabled } = useComponentStates(props);
61
63
  const fieldWrapperRef = useTemplateRef("fieldWrapper");
62
64
  const contentRef = useTemplateRef("content");
63
65
  const inputRef = useTemplateRef("input");
64
66
  const isSecureVisible = ref(false);
65
67
  const updateModelValue = (value) => {
66
- if (props.loading || props.disabled || props.readonly || props.unclickable) return;
68
+ if (props.loading || isDisabled.value || isReadonly.value || props.unclickable) return;
67
69
  if (props.type === "number") {
68
70
  emit("update:modelValue", typeof value === "string" && value.length ? Number.parseFloat(value) : void 0);
69
71
  } else {
@@ -104,14 +106,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
106
  updateModelValue(value);
105
107
  };
106
108
  const clearValue = () => {
107
- if (props.disabled || props.readonly || props.unclickable) return;
109
+ if (isDisabled.value || isReadonly.value || props.unclickable) return;
108
110
  if (typeof props.modelValue === "string") updateModelValue("");
109
111
  else updateModelValue(void 0);
110
112
  inputRef.value?.focus();
111
113
  emit("click:clear");
112
114
  };
113
115
  const focus = () => {
114
- if (props.disabled || props.readonly) return;
116
+ if (isDisabled.value || isReadonly.value) return;
115
117
  if (props.unclickable) emit("focus", void 0);
116
118
  else inputRef.value?.focus();
117
119
  };
@@ -211,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
211
213
  ]),
212
214
  key: "1"
213
215
  } : void 0,
214
- _ctx.readonly ? {
216
+ unref(isReadonly) ? {
215
217
  name: "default",
216
218
  fn: withCtx(() => [
217
219
  createElementVNode("div", {
@@ -236,11 +238,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
236
238
  fn: withCtx(({ id, setFocused, focused }) => [
237
239
  createElementVNode("div", {
238
240
  class: normalizeClass(["relative grid min-h-[--w-input-min-height,var(--w-input-height,2.75rem)] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid", {
239
- "focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !_ctx.disabled && !_ctx.readonly && !_ctx.unclickable,
240
- "cursor-text": !_ctx.disabled,
241
+ "focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !unref(isDisabled) && !unref(isReadonly) && !_ctx.unclickable,
242
+ "cursor-text": !unref(isDisabled),
241
243
  "border-negative dark:border-negative-dark": _ctx.errorMessage,
242
- "border-gray-300 dark:border-gray-700": !_ctx.disabled,
243
- "border-gray-300/50 dark:border-gray-700/50": _ctx.disabled,
244
+ "border-gray-300 dark:border-gray-700": !unref(isDisabled),
245
+ "border-gray-300/50 dark:border-gray-700/50": unref(isDisabled),
244
246
  "border-opacity-0 group-hover/field:border-opacity-100 dark:border-opacity-0 dark:group-hover/field:border-opacity-100": _ctx.seamless && !focused,
245
247
  "bg-default dark:bg-default-dark": !_ctx.seamless || focused
246
248
  }]),
@@ -290,15 +292,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
290
292
  "w-option": !_ctx.textarea && _ctx.$slots.prefix,
291
293
  "font-mono": _ctx.mono,
292
294
  "text-secure": _ctx.textSecure && !isSecureVisible.value,
293
- "text-black-default dark:text-gray-200": !_ctx.disabled,
294
- "text-black-default/50 dark:text-gray-200/50": _ctx.disabled
295
+ "text-black-default dark:text-gray-200": !unref(isDisabled),
296
+ "text-black-default/50 dark:text-gray-200/50": unref(isDisabled)
295
297
  }]),
296
298
  value: _ctx.placeholderSecure && _ctx.modelValue === void 0 && !focused ? "******" : _ctx.modelValue,
297
299
  placeholder: _ctx.placeholder,
298
300
  type: _ctx.type ?? "text",
299
301
  name: _ctx.name,
300
- disabled: _ctx.disabled,
301
- readonly: _ctx.readonly || _ctx.unclickable,
302
+ disabled: unref(isDisabled),
303
+ readonly: unref(isReadonly) || _ctx.unclickable,
302
304
  autocomplete: _ctx.autocomplete,
303
305
  size: _ctx.size || void 0,
304
306
  step: _ctx.step,
@@ -306,12 +308,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
306
308
  max: _ctx.max,
307
309
  spellcheck: _ctx.spellcheck ? "true" : "false",
308
310
  onInput: handleInputEvent,
309
- onKeypress: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => !_ctx.disabled && !_ctx.readonly && _ctx.$emit("keypress:enter", $event), ["exact"]), ["enter"])),
311
+ onKeypress: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => !unref(isDisabled) && !unref(isReadonly) && _ctx.$emit("keypress:enter", $event), ["exact"]), ["enter"])),
310
312
  onKeydown: [
311
- _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => !_ctx.disabled && !_ctx.readonly && _ctx.$emit("keypress:up", $event), ["exact", "stop"]), ["up"])),
312
- _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => !_ctx.disabled && !_ctx.readonly && _ctx.$emit("keypress:down", $event), ["exact", "stop"]), ["down"])),
313
+ _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => !unref(isDisabled) && !unref(isReadonly) && _ctx.$emit("keypress:up", $event), ["exact", "stop"]), ["up"])),
314
+ _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => !unref(isDisabled) && !unref(isReadonly) && _ctx.$emit("keypress:down", $event), ["exact", "stop"]), ["down"])),
313
315
  _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => {
314
- !_ctx.disabled && !_ctx.readonly && _ctx.$emit("keypress:delete", $event);
316
+ !unref(isDisabled) && !unref(isReadonly) && _ctx.$emit("keypress:delete", $event);
315
317
  handleBackspace($event);
316
318
  }, ["exact", "stop"]), ["delete"]))
317
319
  ],
@@ -339,8 +341,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
339
341
  "model-value": _ctx.modelValue,
340
342
  loading: _ctx.loading,
341
343
  "allow-clear": _ctx.allowClear && _ctx.modelValue !== "",
342
- disabled: _ctx.disabled || _ctx.disabledActions,
343
- readonly: _ctx.readonly || _ctx.unclickable === true,
344
+ disabled: unref(isDisabled) || _ctx.disabledActions,
345
+ readonly: unref(isReadonly) || _ctx.unclickable === true,
344
346
  "text-secure": _ctx.textSecure,
345
347
  "is-secure-visible": isSecureVisible.value,
346
348
  "allow-paste": _ctx.allowPaste,
@@ -1 +1 @@
1
- {"version":3,"file":"WInputAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputAsync.vue"],"names":[],"mappings":"AAwFA;AAyOA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAA;yBAW3B,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAyXO,mBAAmB,CAAC;;iLAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAhDiB,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AC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,9 +1,10 @@
1
- import { defineComponent, ref, useTemplateRef, computed, watch, toRef, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createCommentVNode, normalizeClass, markRaw, unref, createElementVNode, createVNode, Transition, createElementBlock, normalizeStyle } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, computed, watch, toRef, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, unref, createCommentVNode, normalizeClass, markRaw, createElementVNode, createVNode, Transition, createElementBlock, normalizeStyle } from 'vue';
2
2
  import _sfc_main$2 from '../Button/WButtonInput.vue.js';
3
3
  import _sfc_main$1 from './WInput.vue.js';
4
4
  import IconCheck from '../../assets/icons/default/IconCheck.svg.js';
5
5
  import IconEdit from '../../assets/icons/sax/IconEdit.svg.js';
6
6
  import IconSlash from '../../assets/icons/sax/IconSlash.svg.js';
7
+ import { useComponentStates } from '../../utils/useComponentStates.js';
7
8
 
8
9
  const _hoisted_1 = { class: "absolute inset-x-3 bottom-1 isolate h-0.5" };
9
10
  const _hoisted_2 = {
@@ -31,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
32
  name: {},
32
33
  autocomplete: {},
33
34
  autofocus: { type: Boolean },
34
- readonly: { type: Boolean },
35
+ readonly: { type: Boolean, default: void 0 },
35
36
  unclickable: { type: [Boolean, null] },
36
37
  disabledActions: { type: Boolean },
37
38
  loading: { type: Boolean },
@@ -50,8 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
51
  tooltipText: {},
51
52
  mono: { type: Boolean },
52
53
  hasChanges: { type: Boolean },
53
- skeleton: { type: Boolean },
54
- disabled: { type: Boolean },
54
+ skeleton: { type: Boolean, default: void 0 },
55
+ disabled: { type: Boolean, default: void 0 },
55
56
  required: { type: Boolean },
56
57
  mandatory: { type: Boolean },
57
58
  noMargin: { type: Boolean },
@@ -67,6 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
68
  setup(__props, { emit: __emit }) {
68
69
  const props = __props;
69
70
  const emit = __emit;
71
+ const { isReadonly, isDisabled } = useComponentStates(props);
70
72
  const focused = ref(false);
71
73
  const saved = ref(false);
72
74
  const value = ref();
@@ -91,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
93
  inputRef.value?.blur();
92
94
  };
93
95
  const toggle = async () => {
94
- if (props.disabled || props.loading) return;
96
+ if (isDisabled.value || isReadonly.value || props.loading) return;
95
97
  if (canSave.value) {
96
98
  emitUpdateModelValue(value.value);
97
99
  } else {
@@ -100,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
102
  }
101
103
  };
102
104
  const open = () => {
103
- if (props.disabled || props.loading) return;
105
+ if (isDisabled.value || isReadonly.value || props.loading) return;
104
106
  inputRef.value?.focus();
105
107
  };
106
108
  watch(toRef(props, "modelValue"), (modelValue) => {
@@ -120,7 +122,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
122
  }
121
123
  });
122
124
  const emitUpdateModelValue = (newValue) => {
123
- if (props.disabled || props.loading) return;
125
+ if (isDisabled.value || isReadonly.value || props.loading) return;
124
126
  if (errorMessageValue.value) return;
125
127
  if (props.placeholderSecure) inputRef.value?.blur();
126
128
  emit("update:modelValue", newValue);
@@ -188,11 +190,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
188
190
  ]),
189
191
  key: "1"
190
192
  } : void 0,
191
- !_ctx.readonly && !_ctx.hideButton || _ctx.$slots.right ? {
193
+ !unref(isReadonly) && !_ctx.hideButton || _ctx.$slots.right ? {
192
194
  name: "right",
193
195
  fn: withCtx(() => [
194
196
  renderSlot(_ctx.$slots, "right"),
195
- !_ctx.readonly && !_ctx.hideButton ? (openBlock(), createBlock(_sfc_main$2, {
197
+ !unref(isReadonly) && !_ctx.hideButton ? (openBlock(), createBlock(_sfc_main$2, {
196
198
  key: 0,
197
199
  icon: canSave.value ? markRaw(unref(IconCheck)) : focused.value ? markRaw(unref(IconSlash)) : markRaw(unref(IconEdit)),
198
200
  "tooltip-text": !_ctx.loading && focused.value ? canSave.value ? "Save" : "Cancel" : void 0,
@@ -24,7 +24,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputDateProps, {},
24
24
  }, string, import('vue').PublicProps, Readonly<InputDateProps> & Readonly<{
25
25
  "onUpdate:model-value"?: ((value: Date | undefined) => any) | undefined;
26
26
  }>, {
27
+ skeleton: boolean;
28
+ readonly: boolean;
27
29
  maxHeight: number;
30
+ disabled: boolean;
28
31
  modelValue: Date;
29
32
  maxWidth: number;
30
33
  horizontalAlign: HorizontalAlign;
@@ -1 +1 @@
1
- {"version":3,"file":"WInputDate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputDate.vue"],"names":[],"mappings":"AAiDA;AAgHA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,SAAS,CAAA;AAO3C,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAiEvD,iBAAS,cAAc;WA6HT,OAAO,IAA6B;;uBAbtB,GAAG;0BACA,GAAG;uBACN,GAAG;;;;;;;;;;;;EAgB9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WInputDate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputDate.vue"],"names":[],"mappings":"AAiDA;AAmHA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,SAAS,CAAA;AAO3C,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAuEvD,iBAAS,cAAc;WA6HT,OAAO,IAA6B;;uBAbtB,GAAG;0BACA,GAAG;uBACN,GAAG;;;;;;;;;;;;EAgB9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  name: {},
28
28
  autocomplete: {},
29
29
  autofocus: { type: Boolean },
30
- readonly: { type: Boolean },
30
+ readonly: { type: Boolean, default: void 0 },
31
31
  disabledActions: { type: Boolean },
32
32
  loading: { type: Boolean },
33
33
  spellcheck: { type: Boolean },
@@ -45,8 +45,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  tooltipText: {},
46
46
  mono: { type: Boolean },
47
47
  hasChanges: { type: Boolean },
48
- skeleton: { type: Boolean },
49
- disabled: { type: Boolean },
48
+ skeleton: { type: Boolean, default: void 0 },
49
+ disabled: { type: Boolean, default: void 0 },
50
50
  required: { type: Boolean },
51
51
  mandatory: { type: Boolean },
52
52
  noMargin: { type: Boolean },
@@ -61,7 +61,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  maxHeight: { default: 440 },
62
62
  maxWidth: { default: 480 },
63
63
  horizontalAlign: { default: HorizontalAlign.RIGHT_INNER },
64
- top: { type: Boolean }
64
+ top: { type: Boolean },
65
+ bottom: { type: Boolean }
65
66
  },
66
67
  emits: ["update:model-value"],
67
68
  setup(__props, { emit: __emit }) {
@@ -1 +1 @@
1
- {"version":3,"file":"WInputOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputOptions.vue"],"names":[],"mappings":"AA+EA;AAwMA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAS7B,IAAI,SAAS,SAAS,GAAG,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,EACvI,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAgVO,mBAAmB,CAAC;;4LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBA/CiB,GAAG;0BACA,GAAG;uBACN,GAAG;;;;;YACF,GAAG;;cA/R1B,oBAAoB,qDAAsB,IAAI;EA+UhD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA3VzE,wBA2V4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WInputOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputOptions.vue"],"names":[],"mappings":"AA+EA;AAkNA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAU7B,IAAI,SAAS,SAAS,GAAG,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,EACvI,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+VO,mBAAmB,CAAC;;4LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAhDiB,GAAG;0BACA,GAAG;uBACN,GAAG;;;;;YACF,GAAG;;cAtS1B,oBAAoB,qDAAsB,IAAI;EAuVhD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1WzE,wBA0W4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, useTemplateRef, computed, watch, toRef, nextTick, createBlock, openBlock, mergeProps, withModifiers, createSlots, withCtx, createElementBlock, createCommentVNode, createElementVNode, toDisplayString, Fragment, renderList, renderSlot, resolveDynamicComponent } from 'vue';
2
2
  import _sfc_main$1 from './WInputSuggest.vue.js';
3
3
  import _sfc_main$2 from '../Select/components/SelectOption.vue.js';
4
+ import { useComponentStates } from '../../utils/useComponentStates.js';
4
5
  import { debounce } from '../../utils/utils.js';
5
6
 
6
7
  const _hoisted_1 = {
@@ -12,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
13
  __name: "WInputOptions",
13
14
  props: {
14
15
  options: {},
15
- valueGetter: { type: Function },
16
+ valueGetter: {},
16
17
  emptyStub: {},
17
18
  optionComponent: {},
18
19
  mobileTitle: {},
@@ -32,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
33
  name: {},
33
34
  autocomplete: {},
34
35
  autofocus: { type: Boolean },
35
- readonly: { type: Boolean },
36
+ readonly: { type: Boolean, default: void 0 },
36
37
  disabledActions: { type: Boolean },
37
38
  loading: { type: Boolean },
38
39
  spellcheck: { type: Boolean },
@@ -50,8 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
51
  tooltipText: {},
51
52
  mono: { type: Boolean },
52
53
  hasChanges: { type: Boolean },
53
- skeleton: { type: Boolean },
54
- disabled: { type: Boolean },
54
+ skeleton: { type: Boolean, default: void 0 },
55
+ disabled: { type: Boolean, default: void 0 },
55
56
  required: { type: Boolean },
56
57
  mandatory: { type: Boolean },
57
58
  noMargin: { type: Boolean },
@@ -66,12 +67,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
67
  maxHeight: {},
67
68
  maxWidth: {},
68
69
  horizontalAlign: {},
69
- top: { type: Boolean }
70
+ top: { type: Boolean },
71
+ bottom: { type: Boolean }
70
72
  },
71
73
  emits: ["update:model-value"],
72
74
  setup(__props, { expose: __expose, emit: __emit }) {
73
75
  const props = __props;
74
76
  const emit = __emit;
77
+ const { isReadonly, isDisabled } = useComponentStates(props);
75
78
  const isOpen = ref(false);
76
79
  const inputRef = useTemplateRef("input");
77
80
  const cursor = ref(-1);
@@ -79,13 +82,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
82
  const lastIndex = computed(() => props.options.length);
80
83
  const focused = ref(false);
81
84
  const loadingOptionIndex = ref(null);
82
- const isDisabled = computed(() => props.loading || props.readonly || props.disabled);
85
+ const isDisabledComputed = computed(() => props.loading || isReadonly.value || isDisabled.value);
83
86
  const close = () => {
84
87
  isOpen.value = false;
85
88
  focused.value = false;
86
89
  };
87
90
  const setLoadingOptionIndex = (value) => {
88
- if (isDisabled.value) return;
91
+ if (isDisabledComputed.value) return;
89
92
  loadingOptionIndex.value = value;
90
93
  };
91
94
  const unlockCursor = debounce(() => {
@@ -100,17 +103,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
103
  cursor.value = value;
101
104
  };
102
105
  const cursorUp = () => {
103
- if (isDisabled.value) return;
106
+ if (isDisabledComputed.value) return;
104
107
  lockCursor();
105
108
  cursor.value = !props.options.length ? 0 : cursor.value < 1 ? lastIndex.value : cursor.value - 1;
106
109
  };
107
110
  const cursorDown = () => {
108
- if (isDisabled.value) return;
111
+ if (isDisabledComputed.value) return;
109
112
  lockCursor();
110
113
  cursor.value = !props.options.length ? 0 : cursor.value >= lastIndex.value ? 0 : cursor.value + 1;
111
114
  };
112
115
  const selectCursor = () => {
113
- if (isDisabled.value) return;
116
+ if (isDisabledComputed.value) return;
114
117
  const value = cursor.value !== -1 ? props.options[cursor.value] : void 0;
115
118
  if (value) select(value);
116
119
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AA6GA;AAgNA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAY5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI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