eco-vue-js 0.10.80 → 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 (127) 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 +21 -18
  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 +8 -6
  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/Progress/WProgressStriped.vue.d.ts.map +1 -1
  87. package/dist/components/Progress/WProgressStriped.vue.js +6 -4
  88. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  89. package/dist/components/Select/WSelect.vue.js +23 -20
  90. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  91. package/dist/components/Select/WSelectAsync.vue.js +15 -12
  92. package/dist/components/Select/WSelectAsyncList.vue.d.ts +2 -0
  93. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  94. package/dist/components/Select/WSelectAsyncList.vue.js +12 -6
  95. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  96. package/dist/components/Select/WSelectAsyncSingle.vue.js +6 -5
  97. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  98. package/dist/components/Select/WSelectSingle.vue.js +8 -7
  99. package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
  100. package/dist/components/Select/WSelectStringified.vue.js +8 -7
  101. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  102. package/dist/components/Toggle/WToggle.vue.js +16 -12
  103. package/dist/components/Toggle/WToggleTheme.vue.js +2 -1
  104. package/dist/components/Toggle/types.d.ts +1 -0
  105. package/dist/components/Toggle/types.d.ts.map +1 -1
  106. package/dist/components/Tooltip/WTooltip.vue.d.ts +2 -0
  107. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  108. package/dist/components/Tooltip/WTooltip.vue.js +4 -0
  109. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -0
  110. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  111. package/dist/components/Tooltip/WTooltipContainer.vue.js +3 -1
  112. package/dist/components/Tooltip/models/tooltipMeta.d.ts +6 -0
  113. package/dist/components/Tooltip/models/tooltipMeta.d.ts.map +1 -1
  114. package/dist/main.d.ts +2 -0
  115. package/dist/main.d.ts.map +1 -1
  116. package/dist/main.js +2 -0
  117. package/dist/types/global.d.ts +1 -1
  118. package/dist/utils/api.d.ts +1 -0
  119. package/dist/utils/api.d.ts.map +1 -1
  120. package/dist/utils/api.js +4 -1
  121. package/dist/utils/provide.d.ts +5 -0
  122. package/dist/utils/provide.d.ts.map +1 -0
  123. package/dist/utils/provide.js +19 -0
  124. package/dist/utils/useComponentStates.d.ts +19 -0
  125. package/dist/utils/useComponentStates.d.ts.map +1 -0
  126. package/dist/utils/useComponentStates.js +36 -0
  127. package/package.json +4 -1
@@ -13,7 +13,11 @@ declare function __VLS_template(): {
13
13
  rootEl: any;
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- 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>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ skeleton: boolean;
18
+ text: string;
19
+ semanticType: SemanticType;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
22
  export default _default;
19
23
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"AAgBA;AAwCA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAEjD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAcF,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,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
+ {"version":3,"file":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"AAgBA;AAkDA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAGjD,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA4BJ,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cAtFN,OAAO;UAFX,MAAM;kBACE,YAAY;6EA8F7B,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,15 +1,18 @@
1
- import { defineComponent, createBlock, createElementBlock, openBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString } from 'vue';
1
+ import { defineComponent, createBlock, createElementBlock, unref, openBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString } from 'vue';
2
2
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
3
3
  import { SemanticType } from '../../utils/SemanticType.js';
4
+ import { useComponentStatesSkeleton } from '../../utils/useComponentStates.js';
4
5
 
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "WChip",
7
8
  props: {
8
- text: {},
9
- semanticType: {},
10
- skeleton: { type: Boolean }
9
+ text: { default: void 0 },
10
+ semanticType: { default: SemanticType.SECONDARY },
11
+ skeleton: { type: Boolean, default: void 0 }
11
12
  },
12
13
  setup(__props) {
14
+ const props = __props;
15
+ const { isSkeleton } = useComponentStatesSkeleton(props);
13
16
  const classMap = {
14
17
  [SemanticType.PRIMARY]: "text-primary dark:text-primary-dark",
15
18
  [SemanticType.SECONDARY]: "text-description",
@@ -19,12 +22,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
22
  [SemanticType.INFO]: "text-info dark:text-info-dark"
20
23
  };
21
24
  return (_ctx, _cache) => {
22
- return _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
25
+ return unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
23
26
  key: 0,
24
27
  class: "w-skeleton-h-5 max-w-28"
25
28
  })) : (openBlock(), createElementBlock("div", {
26
29
  key: 1,
27
- class: normalizeClass(["w-min rounded-md bg-gray-100 px-2 py-0.5 text-xs font-semibold dark:bg-gray-800", classMap[_ctx.semanticType ?? unref(SemanticType).SECONDARY]])
30
+ class: normalizeClass(["w-min rounded-md bg-gray-100 px-2 py-0.5 text-xs font-semibold dark:bg-gray-800", classMap[_ctx.semanticType]])
28
31
  }, [
29
32
  renderSlot(_ctx.$slots, "default", {}, () => [
30
33
  createTextVNode(toDisplayString(_ctx.text), 1)
@@ -4,11 +4,19 @@ type __VLS_Props = {
4
4
  minDate?: Date;
5
5
  maxDate?: Date;
6
6
  readonly?: boolean;
7
+ disabled?: boolean;
8
+ skeleton?: boolean;
7
9
  };
8
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
11
  "update:modelValue": (value: DateRange | undefined) => any;
10
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
13
  "onUpdate:modelValue"?: ((value: DateRange | undefined) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ }>, {
15
+ skeleton: boolean;
16
+ readonly: boolean;
17
+ disabled: boolean;
18
+ minDate: Date;
19
+ maxDate: Date;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
21
  export default _default;
14
22
  //# sourceMappingURL=WDatePicker.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"AA8DA;AA6JA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAU7C,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;AAoSF,wBAQG"}
1
+ {"version":3,"file":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"AA8DA;AA2KA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAW7C,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;cADW,OAAO;cAFP,OAAO;cACP,OAAO;aAHR,IAAI;aACJ,IAAI;;AA8TlB,wBASG"}
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, toRef, createElementBlock, openBlock, createElementVNode, createVNode, normalizeStyle, unref, Transition, withCtx, createBlock } from 'vue';
2
2
  import { getStartOfMonth, getStartOfDay, getStartOfWeek, addDay, addMonth, monthShortFormatter, addYear, isSameMonth } from '../../utils/dateTime.js';
3
+ import { useComponentStates } from '../../utils/useComponentStates.js';
3
4
  import _sfc_main$3 from './components/CalendarMonth.vue.js';
4
5
  import _sfc_main$2 from './components/CalendarToggle.vue.js';
5
6
  import _sfc_main$1 from './components/CalendarValue.vue.js';
@@ -11,13 +12,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
12
  __name: "WDatePicker",
12
13
  props: {
13
14
  modelValue: {},
14
- minDate: {},
15
- maxDate: {},
16
- readonly: { type: Boolean }
15
+ minDate: { default: void 0 },
16
+ maxDate: { default: void 0 },
17
+ readonly: { type: Boolean, default: void 0 },
18
+ disabled: { type: Boolean, default: void 0 },
19
+ skeleton: { type: Boolean, default: void 0 }
17
20
  },
18
21
  emits: ["update:modelValue"],
19
22
  setup(__props, { emit: __emit }) {
20
23
  const props = __props;
24
+ const { isReadonly, isDisabled, isSkeleton } = useComponentStates(props);
21
25
  const emit = __emit;
22
26
  const currentDate = ref(getStartOfMonth());
23
27
  const dateRange = ref(props.modelValue);
@@ -121,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
121
125
  "min-date": _ctx.minDate,
122
126
  "max-date": _ctx.maxDate,
123
127
  today: today.value && unref(isSameMonth)(today.value, currentDate.value) ? today.value : void 0,
124
- readonly: _ctx.readonly,
128
+ readonly: unref(isReadonly) || unref(isDisabled) || unref(isSkeleton),
125
129
  class: "px-3",
126
130
  "onClick:day": onClickDay,
127
131
  "onHover:day": setRange
@@ -3,11 +3,21 @@ type __VLS_Props = {
3
3
  title?: string;
4
4
  minDate?: Date;
5
5
  maxDate?: Date;
6
+ readonly?: boolean;
7
+ disabled?: boolean;
8
+ skeleton?: boolean;
6
9
  };
7
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
11
  "update:modelValue": (value: Date | undefined) => any;
9
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
13
  "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ }>, {
15
+ skeleton: boolean;
16
+ readonly: boolean;
17
+ title: string;
18
+ disabled: boolean;
19
+ minDate: Date;
20
+ maxDate: Date;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
22
  export default _default;
13
23
  //# sourceMappingURL=WDatePickerSingle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":"AAyCA;AA4GA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,IAAI,GAAG,SAAS,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;CACf,CAAC;;;;;;AAsMF,wBAQG"}
1
+ {"version":3,"file":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":"AA0CA;AA8HA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,GAAG,SAAS,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;cADW,OAAO;cAFP,OAAO;WAHV,MAAM;cAIH,OAAO;aAHR,IAAI;aACJ,IAAI;;AAoOlB,wBASG"}
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, toRef, createElementBlock, openBlock, normalizeStyle, createElementVNode, createVNode, unref, Transition, withCtx, createBlock } from 'vue';
2
2
  import { getStartOfMonth, getStartOfDay, getStartOfWeek, addDay, addMonth, monthShortFormatter, addYear } from '../../utils/dateTime.js';
3
+ import { useComponentStates } from '../../utils/useComponentStates.js';
3
4
  import _sfc_main$2 from './components/CalendarMonth.vue.js';
4
5
  import _sfc_main$1 from './components/CalendarToggle.vue.js';
5
6
 
@@ -9,13 +10,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "WDatePickerSingle",
10
11
  props: {
11
12
  modelValue: {},
12
- title: {},
13
- minDate: {},
14
- maxDate: {}
13
+ title: { default: void 0 },
14
+ minDate: { default: void 0 },
15
+ maxDate: { default: void 0 },
16
+ readonly: { type: Boolean, default: void 0 },
17
+ disabled: { type: Boolean, default: void 0 },
18
+ skeleton: { type: Boolean, default: void 0 }
15
19
  },
16
20
  emits: ["update:modelValue"],
17
21
  setup(__props, { emit: __emit }) {
18
22
  const props = __props;
23
+ const { isReadonly, isDisabled, isSkeleton } = useComponentStates(props);
19
24
  const emit = __emit;
20
25
  const currentDate = ref(getStartOfMonth());
21
26
  const dateRange = ref(void 0);
@@ -75,9 +80,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
80
  "min-date": _ctx.minDate,
76
81
  "max-date": _ctx.maxDate,
77
82
  today: today.value,
83
+ readonly: unref(isReadonly) || unref(isDisabled) || unref(isSkeleton),
78
84
  class: "px-3",
79
85
  "onClick:day": onClickDay
80
- }, null, 8, ["start-of-month", "date-range", "is-hover-enabled", "min-date", "max-date", "today"]))
86
+ }, null, 8, ["start-of-month", "date-range", "is-hover-enabled", "min-date", "max-date", "today", "readonly"]))
81
87
  ]),
82
88
  _: 1
83
89
  })
@@ -11,6 +11,7 @@ import '../../Tooltip/models/tooltipMeta.js';
11
11
  import '../../Button/WButtonDropdown.vue.js';
12
12
  import '../../../utils/supportsPassive.js';
13
13
  import '../../Dropdown/utils/DropdownStyle.js';
14
+ import '../../Chip/WChip.vue.js';
14
15
  import '../../../utils/Modal.js';
15
16
  import '../../Input/WInputSuggest.vue.js';
16
17
  import '../../HeaderBar/use/useHeader.js';
@@ -19,7 +20,7 @@ import '../../HeaderBar/use/useHeaderSearchVisible.js';
19
20
  import '../../InfoCard/models/utils.js';
20
21
  import '../../Input/WInputDate.vue.js';
21
22
  import '../../Link/WLink.vue.js';
22
- import '../../List/use/useListConfig.js';
23
+ import '../../List/WList.vue.js';
23
24
  import '../../Modal/use/useIsBackdrop.js';
24
25
  import '../../Page/use/usePageBreadcrumbs.js';
25
26
 
@@ -11,6 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  maxWidth: {},
12
12
  horizontalAlign: {},
13
13
  top: { type: Boolean },
14
+ bottom: { type: Boolean },
14
15
  parentElement: {},
15
16
  updateAlign: { type: Boolean },
16
17
  emitUpdate: { type: Boolean }
@@ -52,8 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
53
  if (updateSize) widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
53
54
  }
54
55
  if (!verticalGetter || isTopChanged && (props.updateAlign || updateAlign)) {
55
- const order2 = props.top ? horizontalGetter.verticalGetterOrder.slice().reverse() : horizontalGetter.verticalGetterOrder;
56
- verticalGetter = searchStyleGetter(order2, newRect, props.maxHeight);
56
+ verticalGetter = props.top ? horizontalGetter.verticalGetterOrder[1] : props.bottom ? horizontalGetter.verticalGetterOrder[0] : searchStyleGetter(horizontalGetter.verticalGetterOrder, newRect, props.maxHeight);
57
57
  isTop.value = verticalGetter.isTop;
58
58
  if (updateSize) heightStyle.value = verticalGetter.heightStyleGetter(newRect, props.maxHeight);
59
59
  }
@@ -4,6 +4,7 @@ export interface DropdownProps {
4
4
  maxWidth: number;
5
5
  horizontalAlign: HorizontalAlign;
6
6
  top?: boolean;
7
+ bottom?: boolean;
7
8
  parentElement: Pick<Element, 'getBoundingClientRect'>;
8
9
  updateAlign?: boolean;
9
10
  emitUpdate?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,eAAe,CAAA;IAChC,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,aAAa,EAAE,IAAI,CAAC,OAAO,EAAE,uBAAuB,CAAC,CAAA;IACrD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,eAAe,CAAA;IAChC,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,aAAa,EAAE,IAAI,CAAC,OAAO,EAAE,uBAAuB,CAAC,CAAA;IACrD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -20,6 +20,7 @@ declare function __VLS_template(): {
20
20
  readonly maxWidth: number;
21
21
  readonly horizontalAlign: import('../../main').HorizontalAlign;
22
22
  readonly top?: boolean | undefined;
23
+ readonly bottom?: boolean | undefined;
23
24
  readonly parentElement: Pick<Element, "getBoundingClientRect">;
24
25
  readonly updateAlign?: boolean | undefined;
25
26
  readonly emitUpdate?: boolean | undefined;
@@ -98,6 +99,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuProps,
98
99
  readonly maxWidth: number;
99
100
  readonly horizontalAlign: import('../../main').HorizontalAlign;
100
101
  readonly top?: boolean | undefined;
102
+ readonly bottom?: boolean | undefined;
101
103
  readonly parentElement: Pick<Element, "getBoundingClientRect">;
102
104
  readonly updateAlign?: boolean | undefined;
103
105
  readonly emitUpdate?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAiCA;AAsEA,OAA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AAK,KAAK,EAAmC,MAAM,KAAK,CAAA;AAuChE,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;iBA9GvC,MAAM,KAAK,EAAE;kBACZ,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,EAAE;;iBAD7C,MAAM,KAAK,EAAE;kBACZ,CAAC,KAAK,EAAE,wBAAwB,KAAK,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAyJojjB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;EAvCjujB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwBuljB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;OAfhujB,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"}
@@ -11,6 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  maxWidth: {},
12
12
  horizontalAlign: {},
13
13
  top: { type: Boolean },
14
+ bottom: { type: Boolean },
14
15
  updateAlign: { type: Boolean },
15
16
  emitUpdate: { type: Boolean }
16
17
  },
@@ -29,7 +29,11 @@ declare const __VLS_component: import('vue').DefineComponent<FieldWrapperProps,
29
29
  click: (value: MouseEvent) => any;
30
30
  }, string, import('vue').PublicProps, Readonly<FieldWrapperProps> & Readonly<{
31
31
  onClick?: ((value: MouseEvent) => any) | undefined;
32
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ }>, {
33
+ skeleton: boolean;
34
+ readonly: boolean;
35
+ disabled: boolean;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
37
  field: HTMLDivElement;
34
38
  rightContainer: HTMLDivElement;
35
39
  }, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAiLA;AA8NA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAgD9C,iBAAS,cAAc;WA2RT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;gCAzRP,OAAO,KAAG,IAAI;;YA0Rb,GAAG;;;gCA1RJ,OAAO,KAAG,IAAI;;YA2RX,GAAG;uBACL,GAAG;;;;;;;EAiB9B;AAkBD,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;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":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAiLA;AAwOA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AA+D9C,iBAAS,cAAc;WA2RT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;gCA9RP,OAAO,KAAG,IAAI;;YA+Rb,GAAG;;;gCA/RJ,OAAO,KAAG,IAAI;;YAgSX,GAAG;uBACL,GAAG;;;;;;;EAiB9B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;OAUnB,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"}
@@ -3,6 +3,7 @@ import _sfc_main$2 from '../Button/WButtonCopy.vue.js';
3
3
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
4
4
  import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
5
5
  import { encodeQueryParam } from '../../utils/api.js';
6
+ import { useComponentStates } from '../../utils/useComponentStates.js';
6
7
  import { numberFormatter } from '../../utils/utils.js';
7
8
  import _sfc_main$1 from './components/FilterButton.vue.js';
8
9
 
@@ -37,9 +38,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
38
  maxLength: {},
38
39
  mono: { type: Boolean },
39
40
  hasChanges: { type: Boolean },
40
- skeleton: { type: Boolean },
41
- disabled: { type: Boolean },
42
- readonly: { type: Boolean },
41
+ skeleton: { type: Boolean, default: void 0 },
42
+ disabled: { type: Boolean, default: void 0 },
43
+ readonly: { type: Boolean, default: void 0 },
43
44
  required: { type: Boolean },
44
45
  mandatory: { type: Boolean },
45
46
  noMargin: { type: Boolean },
@@ -54,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
55
  emits: ["click"],
55
56
  setup(__props, { expose: __expose }) {
56
57
  const props = __props;
58
+ const { isReadonly, isDisabled, isSkeleton } = useComponentStates(props);
57
59
  const id = useId();
58
60
  const fieldRef = useTemplateRef("field");
59
61
  const focused = ref(false);
@@ -79,11 +81,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
81
  key: 0,
80
82
  for: unref(id),
81
83
  class: normalizeClass(["text-accent relative block pr-6 text-xs font-semibold leading-loose", {
82
- "cursor-not-allowed opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton,
84
+ "cursor-not-allowed opacity-50": unref(isDisabled) && !unref(isReadonly) && !unref(isSkeleton),
83
85
  "col-start-1": _ctx.subgrid
84
86
  }])
85
87
  }, [
86
- !_ctx.skeleton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
88
+ !unref(isSkeleton) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
87
89
  renderSlot(_ctx.$slots, "title", {}, () => [
88
90
  _ctx.titleIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
89
91
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.titleIcon), { class: "square-[1.25em] mt-[-0.25em] inline" })),
@@ -119,7 +121,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
121
  "grid-cols-[1fr,auto]": !_ctx.subgrid
120
122
  }])
121
123
  }, [
122
- !_ctx.skeleton ? (openBlock(), createElementBlock("div", {
124
+ !unref(isSkeleton) ? (openBlock(), createElementBlock("div", {
123
125
  key: 0,
124
126
  class: normalizeClass(["w-has-changes-color-info dark:w-has-changes-color-info-dark relative grid", {
125
127
  "focus-within-not:w-has-changes-color-negative dark:focus-within-not:w-has-changes-color-negative-dark": _ctx.errorMessage,
@@ -183,22 +185,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
183
185
  key: 3,
184
186
  "filter-field": _ctx.filterField,
185
187
  "encoded-query-param": encodedQueryParam.value,
186
- skeleton: _ctx.skeleton,
188
+ skeleton: unref(isSkeleton),
187
189
  class: "absolute right-0 self-center"
188
190
  }, null, 8, ["filter-field", "encoded-query-param", "skeleton"])) : createCommentVNode("", true)
189
191
  ], 2),
190
192
  _ctx.description ? (openBlock(), createElementBlock("div", {
191
193
  key: 1,
192
194
  class: normalizeClass(["text-description col-start-1 whitespace-pre-wrap text-pretty break-words text-xs font-normal", {
193
- "opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton,
195
+ "opacity-50": unref(isDisabled) && !unref(isReadonly) && !unref(isSkeleton),
194
196
  "pt-4": !_ctx.subgrid
195
197
  }])
196
198
  }, [
197
- _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
199
+ unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
198
200
  createTextVNode(toDisplayString(_ctx.description), 1)
199
201
  ], 64))
200
202
  ], 2)) : createCommentVNode("", true),
201
- _ctx.tooltipText && !_ctx.skeleton && !_ctx.readonly ? (openBlock(), createBlock(_sfc_main$3, {
203
+ _ctx.tooltipText && !unref(isSkeleton) && !unref(isReadonly) ? (openBlock(), createBlock(_sfc_main$3, {
202
204
  key: 2,
203
205
  text: _ctx.tooltipText
204
206
  }, null, 8, ["text"])) : createCommentVNode("", true)
@@ -6,6 +6,8 @@ type __VLS_Props = {
6
6
  errorMessage?: string;
7
7
  title?: string;
8
8
  skeleton?: boolean;
9
+ readonly?: boolean;
10
+ disabled?: boolean;
9
11
  required?: boolean;
10
12
  };
11
13
  declare function __VLS_template(): {
@@ -34,7 +36,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
34
36
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
35
37
  "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
36
38
  "onClear:placeholder"?: (() => any) | undefined;
37
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
+ }>, {
40
+ skeleton: boolean;
41
+ readonly: boolean;
42
+ title: string;
43
+ disabled: boolean;
44
+ errorMessage: string;
45
+ placeholder: string;
46
+ accept: string;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
48
  container: HTMLLabelElement;
39
49
  input: HTMLInputElement;
40
50
  }, HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"AAyIA;AAwPA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA4EF,iBAAS,cAAc;WA4PT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;YAEH,GAAG;0BADH,GAAG;;;YAEH,GAAG;;;;;;;EAiBjC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;kBASnB,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":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"AA2IA;AA2QA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAkGJ,iBAAS,cAAc;WAgQT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;YAEH,GAAG;0BADH,GAAG;;;YAEH,GAAG;;;;;;;EAiBjC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;cArYN,OAAO;cACP,OAAO;WAFV,MAAM;cAGH,OAAO;kBAJH,MAAM;iBAHP,MAAM;YAEX,MAAM;;;;kBAkZjB,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,7 +1,8 @@
1
- import { defineComponent, useTemplateRef, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, createElementVNode, createVNode, createBlock, Fragment, renderSlot, createTextVNode, toDisplayString, withModifiers, withCtx, unref, renderList, Transition } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, createElementVNode, createVNode, createBlock, unref, Fragment, renderSlot, createTextVNode, toDisplayString, withModifiers, withCtx, renderList, Transition } from 'vue';
2
2
  import _sfc_main$3 from '../Button/WButton.vue.js';
3
3
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
4
4
  import { SemanticType } from '../../utils/SemanticType.js';
5
+ import { useComponentStates } from '../../utils/useComponentStates.js';
5
6
  import { isClientSide } from '../../utils/utils.js';
6
7
  import _sfc_main$2 from './components/FilePickerItem.vue.js';
7
8
  import _sfc_main$1 from './components/FilePickerSvg.vue.js';
@@ -18,15 +19,15 @@ const _hoisted_3 = {
18
19
  };
19
20
  const _hoisted_4 = ["multiple", "accept"];
20
21
  const _hoisted_5 = {
21
- key: 1,
22
+ key: 2,
22
23
  class: "grid-cols-fill-44 grid h-full items-center justify-center gap-6"
23
24
  };
24
25
  const _hoisted_6 = {
25
- key: 2,
26
+ key: 3,
26
27
  class: "text-accent flex size-full flex-col items-center"
27
28
  };
28
29
  const _hoisted_7 = {
29
- key: 3,
30
+ key: 4,
30
31
  class: "flex h-full items-center justify-center"
31
32
  };
32
33
  const _hoisted_8 = { class: "overflow-x-overlay flex items-center gap-6" };
@@ -38,18 +39,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
39
  __name: "WFilePicker",
39
40
  props: {
40
41
  modelValue: {},
41
- placeholder: {},
42
+ placeholder: { default: void 0 },
42
43
  multiple: { type: Boolean },
43
- accept: {},
44
- errorMessage: {},
45
- title: {},
46
- skeleton: { type: Boolean },
44
+ accept: { default: void 0 },
45
+ errorMessage: { default: void 0 },
46
+ title: { default: void 0 },
47
+ skeleton: { type: Boolean, default: void 0 },
48
+ readonly: { type: Boolean, default: void 0 },
49
+ disabled: { type: Boolean, default: void 0 },
47
50
  required: { type: Boolean }
48
51
  },
49
52
  emits: ["update:modelValue", "clear:placeholder"],
50
53
  setup(__props, { emit: __emit }) {
51
54
  const props = __props;
52
55
  const emit = __emit;
56
+ const { isReadonly, isDisabled, isSkeleton } = useComponentStates(props);
53
57
  const inputRef = useTemplateRef("input");
54
58
  const containerRef = useTemplateRef("container");
55
59
  const containerWidth = ref(void 0);
@@ -98,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
102
  return (_ctx, _cache) => {
99
103
  return openBlock(), createElementBlock("div", _hoisted_1, [
100
104
  _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
101
- !_ctx.skeleton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
105
+ !unref(isSkeleton) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
102
106
  renderSlot(_ctx.$slots, "title", {}, () => [
103
107
  createTextVNode(toDisplayString(_ctx.title), 1)
104
108
  ]),
@@ -117,16 +121,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
117
121
  onDragend: _cache[5] || (_cache[5] = withModifiers(($event) => setIsActive(false), ["prevent"])),
118
122
  onDrop: withModifiers(onDrop, ["prevent"])
119
123
  }, [
120
- createElementVNode("input", {
124
+ !unref(isReadonly) && !unref(isDisabled) && !unref(isSkeleton) ? (openBlock(), createElementBlock("input", {
125
+ key: 0,
121
126
  ref: "input",
122
127
  type: "file",
123
128
  class: "pointer-events-none hidden",
124
129
  multiple: _ctx.multiple,
125
130
  accept: _ctx.accept,
126
131
  onChange: updateModelValue
127
- }, null, 40, _hoisted_4),
132
+ }, null, 40, _hoisted_4)) : createCommentVNode("", true),
128
133
  containerWidth.value && containerHeight.value ? (openBlock(), createBlock(_sfc_main$1, {
129
- key: 0,
134
+ key: 1,
130
135
  "svg-width": containerWidth.value,
131
136
  "svg-height": containerHeight.value,
132
137
  "is-active": isActive.value,
@@ -152,6 +157,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
157
  _cache[8] || (_cache[8] = createElementVNode("div", { class: "mt-4 font-normal" }, " or ", -1)),
153
158
  createVNode(_sfc_main$3, {
154
159
  "semantic-type": unref(SemanticType).PRIMARY,
160
+ disabled: unref(isReadonly) || unref(isDisabled),
155
161
  class: "mt-4",
156
162
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(inputRef)?.click(), ["stop", "prevent"]))
157
163
  }, {
@@ -159,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
159
165
  createTextVNode(" Browse file ")
160
166
  ])),
161
167
  _: 1
162
- }, 8, ["semantic-type"])
168
+ }, 8, ["semantic-type", "disabled"])
163
169
  ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
164
170
  createElementVNode("div", _hoisted_8, [
165
171
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, (file, index) => {
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncButtonGroup.vue"],"names":[],"mappings":"AA8CA;AAgEA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,SAAS,CAAA;yBAOrC,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EAChN,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;WA0IO,mBAAmB,CAAC;;+NAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAtCgB,GAAG;0BACA,GAAG;uBACL,GAAG;;;;YACF,GAAG;;cApG1B,SAAS,SAAS,KAAK,KAAG,IAAI;EA2IhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AArJzE,wBAqJ4E;AAC5E,KAAK,mBAAmB,CAAC,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,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -21,9 +21,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  maxLength: {},
22
22
  mono: { type: Boolean },
23
23
  hasChanges: { type: Boolean },
24
- skeleton: { type: Boolean },
25
- disabled: { type: Boolean },
26
- readonly: { type: Boolean },
24
+ skeleton: { type: Boolean, default: void 0 },
25
+ disabled: { type: Boolean, default: void 0 },
26
+ readonly: { type: Boolean, default: void 0 },
27
27
  required: { type: Boolean },
28
28
  mandatory: { type: Boolean },
29
29
  noMargin: { type: Boolean },
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncCheckboxGroup.vue"],"names":[],"mappings":"AA8CA;AAgEA,OAAO,KAAK,EAAC,2BAA2B,EAAC,MAAM,SAAS,CAAA;yBAOvC,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EAChN,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;WA0IO,mBAAmB,CAAC;;iOAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB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GAAG,IAAI;WAClD,GAAG;;uBAtCgB,GAAG;0BACA,GAAG;uBACL,GAAG;;;;YACF,GAAG;;cAzG1B,SAAS,SAAS,KAAK,KAAG,IAAI;EAgJhC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlKzE,wBAkK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -24,9 +24,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  maxLength: {},
25
25
  mono: { type: Boolean },
26
26
  hasChanges: { type: Boolean },
27
- skeleton: { type: Boolean },
28
- disabled: { type: Boolean },
29
- readonly: { type: Boolean },
27
+ skeleton: { type: Boolean, default: void 0 },
28
+ disabled: { type: Boolean, default: void 0 },
29
+ readonly: { type: Boolean, default: void 0 },
30
30
  required: { type: Boolean },
31
31
  mandatory: { type: Boolean },
32
32
  noMargin: { type: Boolean },
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncInput.vue"],"names":[],"mappings":"AAmCA;AAqEA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;yBAU/B,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,EAAE,WAAW,EACrE,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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K,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlKzE,wBAkK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  name: {},
23
23
  autocomplete: {},
24
24
  autofocus: { type: Boolean },
25
- readonly: { type: Boolean },
25
+ readonly: { type: Boolean, default: void 0 },
26
26
  unclickable: { type: [Boolean, null] },
27
27
  disabledActions: { type: Boolean },
28
28
  loading: { type: Boolean },
@@ -40,8 +40,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  tooltipText: {},
41
41
  mono: { type: Boolean },
42
42
  hasChanges: { type: Boolean },
43
- skeleton: { type: Boolean },
44
- disabled: { type: Boolean },
43
+ skeleton: { type: Boolean, default: void 0 },
44
+ disabled: { type: Boolean, default: void 0 },
45
45
  required: { type: Boolean },
46
46
  mandatory: { type: Boolean },
47
47
  noMargin: { type: Boolean },
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FormAsync/WFormAsyncSelect.vue"],"names":[],"mappings":"AAkCA;AA8DA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAA;yBAMnD,KAAK,EAAE,SAAS,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAC5K,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAA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