eco-vue-js 0.10.4 → 0.10.6

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 (100) hide show
  1. package/dist/components/Button/WButtonDropdown.vue.d.ts +1 -1
  2. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonDropdown.vue.js +1 -12
  4. package/dist/components/Button/WButtonSelection.vue.d.ts +6 -5
  5. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  6. package/dist/components/Button/WButtonSelection.vue.js +10 -24
  7. package/dist/components/Checkbox/WCheckbox.vue.d.ts +0 -2
  8. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  9. package/dist/components/Checkbox/WCheckbox.vue.js +2 -8
  10. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +1 -14
  11. package/dist/components/Form/WForm.vue.d.ts +2 -2
  12. package/dist/components/Form/WFormValidator.vue.d.ts +2 -2
  13. package/dist/components/Form/WFormValidator.vue.js +1 -14
  14. package/dist/components/Form/models/utils.js +0 -14
  15. package/dist/components/FormAsync/use/useFormAsync.d.ts.map +1 -1
  16. package/dist/components/FormAsync/use/useFormAsync.js +2 -14
  17. package/dist/components/HeaderBar/WHeaderBar.vue.js +2 -2
  18. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +3 -18
  19. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  20. package/dist/components/InfiniteList/WInfiniteList.vue.js +25 -83
  21. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +1 -1
  22. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -5
  23. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  24. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +8 -27
  25. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +1 -8
  26. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
  27. package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +10 -21
  28. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +0 -13
  29. package/dist/components/Input/WInputSuggest.vue.js +3 -3
  30. package/dist/components/List/WList.vue.d.ts +3 -0
  31. package/dist/components/List/WList.vue.d.ts.map +1 -1
  32. package/dist/components/List/WList.vue.js +230 -245
  33. package/dist/components/List/WListCard.vue.d.ts +15 -9
  34. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  35. package/dist/components/List/WListCard.vue.js +79 -84
  36. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  37. package/dist/components/List/WListHeaderItem.vue.js +1 -1
  38. package/dist/components/List/components/HeaderSettings.vue.d.ts +3 -2
  39. package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
  40. package/dist/components/List/components/HeaderSettings.vue.js +21 -25
  41. package/dist/components/List/components/HeaderSort.vue.d.ts +1 -1
  42. package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
  43. package/dist/components/List/components/HeaderSort.vue.js +0 -13
  44. package/dist/components/List/components/ListCardAction.vue.d.ts +23 -0
  45. package/dist/components/List/components/ListCardAction.vue.d.ts.map +1 -0
  46. package/dist/components/List/components/ListCardAction.vue.js +23 -0
  47. package/dist/components/List/components/ListCardAction.vue2.js +5 -0
  48. package/dist/components/List/components/ListCardFieldNested.vue.d.ts +2 -0
  49. package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
  50. package/dist/components/List/components/ListCardFieldNested.vue.js +2 -1
  51. package/dist/components/List/types.d.ts +5 -0
  52. package/dist/components/List/types.d.ts.map +1 -1
  53. package/dist/components/List/use/useListConfig.d.ts +3 -10
  54. package/dist/components/List/use/useListConfig.d.ts.map +1 -1
  55. package/dist/components/List/use/useListConfig.js +20 -16
  56. package/dist/components/List/use/useOrdering.js +3 -3
  57. package/dist/components/Modal/WModalStepper.vue.d.ts +26 -26
  58. package/dist/components/Nav/WNavItemExpand.vue.js +0 -13
  59. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  60. package/dist/components/Select/WSelect.vue.js +2 -2
  61. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  62. package/dist/components/Select/WSelectAsync.vue.js +2 -2
  63. package/dist/components/Select/WSelectAsyncList.vue.d.ts +1 -1
  64. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  65. package/dist/components/Select/WSelectAsyncList.vue.js +0 -1
  66. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  67. package/dist/components/Select/components/SelectAsyncList.vue.js +15 -11
  68. package/dist/components/Tabs/WTabs.vue.d.ts +24 -24
  69. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  70. package/dist/components/Tabs/WTabs.vue.js +4 -17
  71. package/dist/components/Tabs/WTabsColumns.vue.js +2 -2
  72. package/dist/components/Tabs/components/TabItem.vue.d.ts +12 -12
  73. package/dist/main.js +2 -2
  74. package/dist/types/global.d.ts +0 -11
  75. package/dist/utils/mobile.d.ts +3 -0
  76. package/dist/utils/mobile.d.ts.map +1 -1
  77. package/dist/utils/mobile.js +15 -2
  78. package/dist/utils/useSelected.d.ts +22 -10
  79. package/dist/utils/useSelected.d.ts.map +1 -1
  80. package/dist/utils/useSelected.js +172 -45
  81. package/dist/utils/utils.d.ts +5 -0
  82. package/dist/utils/utils.d.ts.map +1 -1
  83. package/dist/utils/utils.js +9 -1
  84. package/eslint/plugin.js +4 -0
  85. package/package.json +1 -1
  86. package/tailwind-base/plugins/default.ts +5 -2
  87. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +0 -31
  88. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +0 -1
  89. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.js +0 -30
  90. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue2.js +0 -5
  91. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +0 -27
  92. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +0 -1
  93. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +0 -66
  94. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue2.js +0 -5
  95. package/dist/components/InfiniteList/models/injection.d.ts +0 -16
  96. package/dist/components/InfiniteList/models/injection.d.ts.map +0 -1
  97. package/dist/components/InfiniteList/models/injection.js +0 -4
  98. package/dist/components/InfiniteList/use/useSelected.d.ts +0 -14
  99. package/dist/components/InfiniteList/use/useSelected.d.ts.map +0 -1
  100. package/dist/components/InfiniteList/use/useSelected.js +0 -151
@@ -1,18 +1,30 @@
1
- import { defineComponent, useTemplateRef, ref, inject, watch, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, normalizeClass, createVNode, createBlock, Transition, withCtx, unref, resolveDynamicComponent, mergeProps, renderSlot, normalizeStyle, normalizeProps, guardReactiveProps, markRaw } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, computed, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, mergeProps, createVNode, createBlock, Transition, withCtx, normalizeClass, resolveDynamicComponent, renderSlot, normalizeStyle, unref, normalizeProps, guardReactiveProps, markRaw } from 'vue';
2
2
  import { RouterLink } from 'vue-router';
3
- import _sfc_main$3 from '../Button/WButtonMore.vue.js';
4
- import _sfc_main$4 from '../Button/WButtonMoreItem.vue.js';
3
+ import _sfc_main$4 from '../Button/WButtonMore.vue.js';
4
+ import _sfc_main$5 from '../Button/WButtonMoreItem.vue.js';
5
5
  import _sfc_main$1 from '../Checkbox/WCheckbox.vue.js';
6
6
  import _sfc_main$2 from '../Form/WForm.vue.js';
7
7
  import IconAddCircle from '../../assets/icons/sax/IconAddCircle.svg.js';
8
8
  import IconMinusCircle from '../../assets/icons/sax/IconMinusCircle.svg.js';
9
- import { wInfiniteListSelection, wInfiniteListSelectionItem } from '../InfiniteList/models/injection.js';
9
+ import _sfc_main$3 from './components/ListCardAction.vue.js';
10
10
  import { AREA_SELECT, AREA_MORE } from './types.js';
11
11
 
12
12
  const _hoisted_1 = {
13
13
  key: 0,
14
14
  class: "bg-primary-default dark:bg-primary-dark @sm:hidden absolute left-0 top-0 h-full w-2"
15
15
  };
16
+ const _hoisted_2 = {
17
+ key: 1,
18
+ class: "bg-primary-default/10 dark:bg-primary-dark/10 rounded-inherit pointer-events-none absolute inset-0"
19
+ };
20
+ const _hoisted_3 = {
21
+ key: 2,
22
+ class: "bg-primary-default/10 dark:bg-primary-dark/10 rounded-inherit pointer-events-none absolute inset-0"
23
+ };
24
+ const _hoisted_4 = {
25
+ key: 1,
26
+ class: "bg-primary-default/10 dark:bg-primary-dark/10 rounded-inherit pointer-events-none absolute inset-0"
27
+ };
16
28
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
29
  __name: "WListCard",
18
30
  props: {
@@ -22,56 +34,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
34
  alignTop: { type: Boolean },
23
35
  hasBorder: { type: Boolean },
24
36
  cardClass: {},
37
+ cardWrapperClass: {},
25
38
  allowOpen: { type: Boolean },
26
39
  disableMore: { type: Boolean },
27
40
  formName: {},
28
41
  card: { type: Boolean },
29
- to: {}
42
+ to: {},
43
+ selected: { type: Boolean },
44
+ allowSelect: { type: Boolean },
45
+ allowSelectHover: { type: Boolean }
30
46
  },
31
- emits: ["update:selected", "update:selected-hover"],
32
- setup(__props, { expose: __expose, emit: __emit }) {
33
- const emit = __emit;
47
+ emits: ["toggle:selected", "hover:selected"],
48
+ setup(__props) {
49
+ const props = __props;
34
50
  const formRef = useTemplateRef("form");
35
51
  const isOpen = ref(false);
36
52
  const toggle = () => {
37
53
  isOpen.value = !isOpen.value;
38
54
  };
39
55
  const validate = (...args) => formRef.value?.validate(...args);
40
- const {
41
- allowSelect,
42
- allowSelectRange,
43
- allowSelectHover
44
- } = inject(wInfiniteListSelection, {});
45
- const {
46
- selected,
47
- selectedBetween,
48
- updateSelected,
49
- updateSelectedRange,
50
- updateSelectedRangeHover
51
- } = inject(wInfiniteListSelectionItem, {});
52
- if (selected) {
53
- watch(selected, (value) => {
54
- emit("update:selected", value);
55
- }, { immediate: true });
56
- }
57
- if (allowSelectHover) {
58
- watch(allowSelectHover, (value) => {
59
- emit("update:selected-hover", value);
60
- }, { immediate: true });
61
- }
62
- __expose({
63
- updateSelected
64
- });
56
+ const isActionShown = computed(() => props.allowOpen || props.to !== void 0 || props.allowSelectHover);
65
57
  return (_ctx, _cache) => {
66
58
  return openBlock(), createElementBlock(Fragment, null, [
67
- createElementVNode("div", {
68
- class: normalizeClass(["@container relative isolate", {
69
- "w-ripple-trigger-has": _ctx.allowOpen || _ctx.to,
70
- "dark:group-even:bg-primary-darkest/25 grid grid-cols-1 group-even:bg-gray-50": _ctx.card,
59
+ createElementVNode("div", mergeProps(_ctx.allowSelect ? { "onMouseover": () => _ctx.$emit("hover:selected") } : void 0, {
60
+ class: ["relative isolate", {
61
+ [_ctx.cardWrapperClass ?? ""]: true,
62
+ "w-ripple-trigger-has": isActionShown.value,
63
+ "sm-not:dark:even:bg-primary-darkest/25 sm-not:even:bg-gray-50 grid grid-cols-1": _ctx.card,
71
64
  "flex": !_ctx.card,
72
65
  "-mb-px": !_ctx.card && isOpen.value
73
- }])
74
- }, [
66
+ }]
67
+ }), [
75
68
  createVNode(Transition, {
76
69
  "enter-active-class": "transition-transform duration-200",
77
70
  "leave-active-class": "transition-transform duration-200",
@@ -79,85 +72,83 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
72
  "leave-to-class": "-translate-x-2"
80
73
  }, {
81
74
  default: withCtx(() => [
82
- _ctx.mobile && unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true)
75
+ _ctx.mobile && _ctx.selected ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true)
83
76
  ]),
84
77
  _: 1
85
78
  }),
86
79
  !_ctx.card ? (openBlock(), createElementBlock("div", {
87
80
  key: 0,
88
81
  class: normalizeClass(["left-inner bg-default dark:bg-default-dark @not-lg:hidden sticky z-[1]", {
89
- "width-16": unref(allowSelect),
90
- "width-4": !unref(allowSelect)
82
+ "width-16": _ctx.allowSelect,
83
+ "width-4": !_ctx.allowSelect
91
84
  }])
92
85
  }, [
93
- _cache[8] || (_cache[8] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute right-full top-0 z-[-1] h-full w-[calc(var(--nav-bar-width)+var(--inner-margin))]" }, null, -1)),
86
+ _cache[3] || (_cache[3] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute right-full top-0 z-[-1] h-full w-[calc(var(--nav-bar-width)+var(--inner-margin))]" }, null, -1)),
94
87
  createElementVNode("div", {
95
88
  class: normalizeClass(["h-full rounded-l-[--w-list-rounded,unset]", {
96
- "border border-r-0 border-gray-300 dark:border-gray-700": _ctx.hasBorder,
89
+ "border border-r-0": _ctx.hasBorder,
90
+ "border-gray-300 dark:border-gray-700": _ctx.hasBorder && !_ctx.selected,
91
+ "border-primary-default dark:border-primary-dark": _ctx.hasBorder && _ctx.selected,
97
92
  "rounded-bl-[unset!important]": isOpen.value,
98
93
  "border-b-transparent dark:border-b-transparent": _ctx.hasBorder && isOpen.value,
99
- "w-ripple-has-only w-ripple-hover w-ripple-opacity-[0.04]": _ctx.allowOpen || _ctx.to
94
+ "w-ripple-has-only w-ripple-hover w-ripple-opacity-[0.04]": isActionShown.value
100
95
  }])
101
96
  }, [
102
- unref(allowSelect) ? (openBlock(), createBlock(_sfc_main$1, {
97
+ _ctx.allowSelect ? (openBlock(), createBlock(_sfc_main$1, {
103
98
  key: 0,
104
- "model-value": unref(selectedBetween) ? null : unref(selected) ?? false,
99
+ "model-value": _ctx.selected,
105
100
  disabled: _ctx.disabled,
106
- "allow-shift": unref(allowSelectRange),
107
101
  "align-top": _ctx.alignTop,
108
102
  class: normalizeClass(["h-full px-4", {
109
- "opacity-50": unref(allowSelectHover),
103
+ "opacity-50": _ctx.allowSelectHover,
110
104
  "pt-3": _ctx.alignTop
111
105
  }]),
112
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(allowSelectHover) ? unref(updateSelectedRange)?.() : unref(updateSelected)?.($event)),
113
- "onUpdateShift:modelValue": _cache[1] || (_cache[1] = ($event) => unref(updateSelectedRange)?.()),
114
- onMouseover: _cache[2] || (_cache[2] = ($event) => unref(allowSelectHover) ? unref(updateSelectedRangeHover)?.() : void 0)
115
- }, null, 8, ["model-value", "disabled", "allow-shift", "align-top", "class"])) : createCommentVNode("", true)
106
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("toggle:selected"))
107
+ }, null, 8, ["model-value", "disabled", "align-top", "class"])) : createCommentVNode("", true),
108
+ _ctx.selected ? (openBlock(), createElementBlock("div", _hoisted_2)) : createCommentVNode("", true)
116
109
  ], 2)
117
110
  ], 2)) : createCommentVNode("", true),
118
111
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.formName ? _sfc_main$2 : "div"), mergeProps({ ref: "form" }, _ctx.formName ? { name: _ctx.formName } : void 0, {
119
112
  class: ["sm-not:-px--inner-margin isolate", {
120
113
  [_ctx.cardClass ?? ""]: true,
121
114
  "flex flex-1": !_ctx.card,
122
- "grid grid-cols-[--w-list-grid-cols] rounded-[--w-list-rounded,unset] [grid-template-areas:--w-list-grid-areas]": _ctx.card,
123
- "border-gray-300 sm:border-y dark:border-gray-700": _ctx.hasBorder,
124
- "border": _ctx.card && _ctx.hasBorder,
115
+ "grid grid-cols-[--w-list-grid-cols] [grid-template-areas:--w-list-grid-areas] sm:rounded-[--w-list-rounded,unset]": _ctx.card,
116
+ "sm:border-y": _ctx.hasBorder,
117
+ "border-gray-300 dark:border-gray-700": _ctx.hasBorder && !_ctx.selected,
118
+ "border-primary-default dark:border-primary-dark": _ctx.hasBorder && _ctx.selected,
119
+ "sm:border": _ctx.card && _ctx.hasBorder,
125
120
  "border-b-transparent dark:border-b-transparent": !_ctx.card && _ctx.hasBorder && isOpen.value
126
121
  }]
127
122
  }), {
128
123
  default: withCtx(() => [
129
- unref(allowSelect) && _ctx.card ? (openBlock(), createBlock(_sfc_main$1, {
124
+ _ctx.allowSelect && _ctx.card ? (openBlock(), createBlock(_sfc_main$1, {
130
125
  key: 0,
131
- "model-value": unref(selectedBetween) ? null : unref(selected) ?? false,
126
+ "model-value": _ctx.selected,
132
127
  disabled: _ctx.disabled,
133
- "allow-shift": unref(allowSelectRange),
134
128
  class: normalizeClass(["justify-end self-start", {
135
- "opacity-50": unref(allowSelectHover)
129
+ "opacity-50": _ctx.allowSelectHover
136
130
  }]),
137
131
  style: normalizeStyle({ gridArea: unref(AREA_SELECT) }),
138
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(allowSelectHover) ? unref(updateSelectedRange)?.() : unref(updateSelected)?.($event)),
139
- "onUpdateShift:modelValue": _cache[4] || (_cache[4] = ($event) => unref(updateSelectedRange)?.()),
140
- onMouseover: _cache[5] || (_cache[5] = ($event) => unref(allowSelectHover) ? unref(updateSelectedRangeHover)?.() : void 0)
141
- }, null, 8, ["model-value", "disabled", "allow-shift", "class", "style"])) : createCommentVNode("", true),
132
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("toggle:selected"))
133
+ }, null, 8, ["model-value", "disabled", "class", "style"])) : createCommentVNode("", true),
142
134
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ toggle, isOpen: isOpen.value, validate }))),
143
- _ctx.allowOpen || _ctx.to ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? unref(RouterLink) : "button"), mergeProps({ key: 1 }, _ctx.to ? { to: _ctx.to } : void 0, {
144
- class: ["w-ripple w-ripple-hover w-ripple-has w-ripple-opacity-[0.04] absolute left-0 top-0 z-[-1] size-full cursor-pointer", {
145
- "w-ripple-rounded-[--w-list-rounded,unset] rounded-[--w-list-rounded,unset]": _ctx.card
146
- }],
147
- onClick: _cache[6] || (_cache[6] = ($event) => _ctx.allowOpen && toggle())
148
- }), null, 16, ["class"])) : createCommentVNode("", true),
149
- _ctx.card ? (openBlock(), createBlock(_sfc_main$3, {
150
- key: 2,
135
+ isActionShown.value ? (openBlock(), createBlock(_sfc_main$3, normalizeProps(mergeProps(
136
+ { key: 1 },
137
+ _ctx.allowSelectHover ? { tag: "button", card: _ctx.card, onClick: () => _ctx.$emit("toggle:selected") } : _ctx.to ? { tag: markRaw(unref(RouterLink)), card: _ctx.card, class: "z-[-1]", props: { to: _ctx.to } } : { tag: "button", card: _ctx.card, class: "z-[-1]", onClick: toggle }
138
+ )), null, 16)) : createCommentVNode("", true),
139
+ _ctx.selected ? (openBlock(), createElementBlock("div", _hoisted_3)) : createCommentVNode("", true),
140
+ _ctx.card ? (openBlock(), createBlock(_sfc_main$4, {
141
+ key: 3,
151
142
  class: "-mr-4 flex items-center px-4",
152
143
  disabled: _ctx.disabled || _ctx.disableMore,
153
144
  style: normalizeStyle({ gridArea: unref(AREA_MORE) })
154
145
  }, {
155
146
  default: withCtx(() => [
156
- unref(allowSelect) ? (openBlock(), createBlock(_sfc_main$4, {
147
+ _ctx.allowSelect ? (openBlock(), createBlock(_sfc_main$5, {
157
148
  key: 0,
158
- text: unref(selected) ? "Unselect" : "Select",
159
- icon: unref(selected) ? markRaw(unref(IconMinusCircle)) : markRaw(unref(IconAddCircle)),
160
- onClick: _cache[7] || (_cache[7] = ($event) => unref(updateSelected)?.(!unref(selected)))
149
+ text: _ctx.selected ? "Unselect" : "Select",
150
+ icon: _ctx.selected ? markRaw(unref(IconMinusCircle)) : markRaw(unref(IconAddCircle)),
151
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("toggle:selected"))
161
152
  }, null, 8, ["text", "icon"])) : createCommentVNode("", true),
162
153
  renderSlot(_ctx.$slots, "more")
163
154
  ]),
@@ -173,16 +164,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
173
164
  "width-4": _ctx.hideMore
174
165
  }])
175
166
  }, [
176
- _cache[9] || (_cache[9] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute left-full top-0 z-[-1] h-full w-[calc(var(--actions-bar-width)+var(--inner-margin))]" }, null, -1)),
167
+ _cache[4] || (_cache[4] = createElementVNode("div", { class: "bg-default dark:bg-default-dark absolute left-full top-0 z-[-1] h-full w-[calc(var(--actions-bar-width)+var(--inner-margin))]" }, null, -1)),
177
168
  createElementVNode("div", {
178
169
  class: normalizeClass(["h-full rounded-r-[--w-list-rounded,unset]", {
179
- "rounded-tr-[--w-list-rounded,1rem] border border-l-0 border-gray-300 dark:border-gray-700": _ctx.hasBorder,
170
+ "rounded-tr-[--w-list-rounded,unset] border border-l-0": _ctx.hasBorder,
171
+ "border-gray-300 dark:border-gray-700": _ctx.hasBorder && !_ctx.selected,
172
+ "border-primary-default dark:border-primary-dark": _ctx.hasBorder && _ctx.selected,
180
173
  "rounded-br-[unset!important]": isOpen.value,
181
174
  "border-b-transparent dark:border-b-transparent": _ctx.hasBorder && isOpen.value,
182
- "w-ripple-has-only w-ripple-hover w-ripple-opacity-[0.04]": _ctx.allowOpen || _ctx.to
175
+ "w-ripple-has-only w-ripple-hover w-ripple-opacity-[0.04]": isActionShown.value
183
176
  }])
184
177
  }, [
185
- !_ctx.hideMore ? (openBlock(), createBlock(_sfc_main$3, {
178
+ !_ctx.hideMore ? (openBlock(), createBlock(_sfc_main$4, {
186
179
  key: 0,
187
180
  class: normalizeClass(["flex h-full px-4", {
188
181
  "items-start pt-3": _ctx.alignTop,
@@ -194,15 +187,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
194
187
  renderSlot(_ctx.$slots, "more")
195
188
  ]),
196
189
  _: 3
197
- }, 8, ["class", "disabled"])) : createCommentVNode("", true)
190
+ }, 8, ["class", "disabled"])) : createCommentVNode("", true),
191
+ _ctx.selected ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true)
198
192
  ], 2)
199
193
  ], 2)) : createCommentVNode("", true)
200
- ], 2),
194
+ ], 16),
201
195
  _ctx.$slots.expansion ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
202
196
  isOpen.value ? (openBlock(), createElementBlock("div", {
203
197
  key: 0,
204
- class: normalizeClass(["w-inner left-inner sticky col-span-full", {
205
- "border-gray-300 dark:border-gray-700": _ctx.hasBorder,
198
+ class: normalizeClass(["sm:w-inner sm:left-inner col-span-full sm:sticky", {
199
+ "border-gray-300 dark:border-gray-700": _ctx.hasBorder && !_ctx.selected,
200
+ "border-primary-default dark:border-primary-dark": _ctx.hasBorder && _ctx.selected,
206
201
  "mt-[calc(var(--w-list-gap,1rem)*-1)] border border-t-0 px-5": !_ctx.card && _ctx.hasBorder,
207
202
  "rounded-b-[--w-list-rounded,unset]": !_ctx.card
208
203
  }])
@@ -1 +1 @@
1
- {"version":3,"file":"WListHeaderItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListHeaderItem.vue"],"names":[],"mappings":"AAiGA,OAAO,EAAC,KAAK,UAAU,EAAwC,MAAM,KAAK,CAAA;AAI1E,OAAO,EAAC,KAAK,SAAS,EAAC,MAAM,eAAe,CAAA;yBAM3B,KAAK,eACR,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA4MxD,mBAAmB,CAAC;;;gBAxMpB,MAAM;eACP,KAAK;kBACF,SAAS,CAAC,KAAK,CAAC,EAAE;mBACjB,OAAO;sBACJ,OAAO;oBACT,MAAM;oBACN,UAAU,GAAG,SAAS;KAkMmD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBAhCiB,GAAG;;cA/J3B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* @__PURE__ */ defineComponent({
40
40
  }), {
41
41
  default: withCtx(() => [
42
42
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.disabled ? "div" : "button"), {
43
- class: normalizeClass(["group flex size-full gap-2", {
43
+ class: normalizeClass(["group flex size-full gap-2 overflow-clip", {
44
44
  "cursor-pointer": !_ctx.disabled,
45
45
  [_ctx.itemClass ?? ""]: true,
46
46
  "items-center whitespace-nowrap font-semibold": !_ctx.itemClass
@@ -1,5 +1,5 @@
1
1
  import { FieldConfig, ListFields } from '../types';
2
- import { ListMode } from '../use/useListConfig';
2
+ import { ListMode } from '../../../utils/utils';
3
3
  declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly "onUpdate:field-config-map"?: ((value: Record<string, FieldConfig>) => any) | undefined;
@@ -10,7 +10,8 @@ declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: Non
10
10
  fieldConfigMap: Record<string, FieldConfig>;
11
11
  mode: ListMode;
12
12
  queryParams: QueryParams;
13
- hasSaved?: boolean;
13
+ hasSaved: boolean;
14
+ mobile: boolean;
14
15
  disabled?: boolean;
15
16
  }> & import('vue').PublicProps;
16
17
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderSettings.vue"],"names":[],"mappings":"AAiLA,OAAO,KAAK,EAAC,WAAW,EAAa,UAAU,EAAC,MAAM,UAAU,CAAA;AAgBhE,OAAO,EAAC,KAAK,QAAQ,EAAgC,MAAM,sBAAsB,CAAA;yBAGhE,IAAI,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AC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAgYxD,mBAAmB,CAAC;;;;;gBA5XpB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;wBACrB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;cACrC,QAAQ;qBACD,WAAW;kBACd,OAAO;gBACT,OAAO;mBACJ,OAAO;KAsXmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YAnXP,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;;;;;YAsXkB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA1YvE,wBA0Y4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,32 +1,27 @@
1
- import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, markRaw } from 'vue';
1
+ import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, createElementBlock, createCommentVNode, Fragment, renderList, normalizeClass, markRaw } from 'vue';
2
2
  import _sfc_main$6 from '../../Button/WButtonSelectionAction.vue.js';
3
3
  import _sfc_main$2 from '../../ClickOutside/WClickOutside.vue.js';
4
4
  import _sfc_main$1 from '../../DropdownMenu/WDropdownMenu.vue.js';
5
5
  import IconTableSettings from '../../../assets/icons/sax/IconTableSettings.svg.js';
6
- import '../../Button/WButtonAction.vue.js';
7
- import '../../Button/WButton.vue.js';
8
- import '../../Button/WButtonDropdown.vue.js';
9
6
  import { HorizontalAlign } from '../../../utils/HorizontalAlign.js';
10
- import 'vue-router';
11
- import '../../../utils/supportsPassive.js';
12
- import '../../Dropdown/utils/DropdownStyle.js';
13
- import '../../../utils/Modal.js';
14
- import '../../Input/WInputSuggest.vue.js';
15
- import '../../HeaderBar/use/useHeaderPadding.js';
16
- import '../../Input/WInputDate.vue.js';
17
- import '../../Link/WLink.vue.js';
18
- import '@tanstack/vue-query';
19
7
  import _sfc_main$4 from './HeaderFieldNested.vue.js';
20
8
  import _sfc_main$5 from './HeaderSettingsItem.vue.js';
21
9
  import _sfc_main$3 from './HeaderSettingsModeButton.vue.js';
22
10
  import { listModeList, listModeIconMap } from '../use/useListConfig.js';
23
11
 
24
12
  const _hoisted_1 = { class: "p-4" };
25
- const _hoisted_2 = { class: "grid grid-cols-[auto,auto,auto]" };
26
- const _hoisted_3 = { class: "flex flex-col gap-4" };
27
- const _hoisted_4 = { class: "grid grid-cols-1" };
28
- const _hoisted_5 = { class: "flex justify-end" };
29
- const _hoisted_6 = ["disabled"];
13
+ const _hoisted_2 = { class: "grid grid-cols-[auto,auto,auto] items-start" };
14
+ const _hoisted_3 = {
15
+ key: 0,
16
+ class: "flex flex-col gap-4"
17
+ };
18
+ const _hoisted_4 = {
19
+ key: 1,
20
+ class: "mx-4 h-full border-r border-solid border-gray-200 dark:border-gray-700"
21
+ };
22
+ const _hoisted_5 = { class: "grid grid-cols-1" };
23
+ const _hoisted_6 = { class: "flex justify-end" };
24
+ const _hoisted_7 = ["disabled"];
30
25
  const _sfc_main = /* @__PURE__ */ defineComponent({
31
26
  __name: "HeaderSettings",
32
27
  props: {
@@ -35,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
30
  mode: {},
36
31
  queryParams: {},
37
32
  hasSaved: { type: Boolean },
33
+ mobile: { type: Boolean },
38
34
  disabled: { type: Boolean }
39
35
  },
40
36
  emits: ["update:field-config-map", "update:mode", "click:reset"],
@@ -108,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
108
104
  default: withCtx(() => [
109
105
  createElementVNode("div", _hoisted_1, [
110
106
  createElementVNode("div", _hoisted_2, [
111
- createElementVNode("div", _hoisted_3, [
107
+ !_ctx.mobile ? (openBlock(), createElementBlock("div", _hoisted_3, [
112
108
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(listModeList), (item) => {
113
109
  return openBlock(), createBlock(_sfc_main$3, {
114
110
  key: item,
@@ -117,9 +113,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
117
113
  onClick: ($event) => _ctx.$emit("update:mode", item)
118
114
  }, null, 8, ["icon", "active", "onClick"]);
119
115
  }), 128))
120
- ]),
121
- _cache[4] || (_cache[4] = createElementVNode("div", { class: "mx-4 border-r border-solid border-gray-200 dark:border-gray-700" }, null, -1)),
122
- createElementVNode("div", _hoisted_4, [
116
+ ])) : createCommentVNode("", true),
117
+ !_ctx.mobile ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true),
118
+ createElementVNode("div", _hoisted_5, [
123
119
  createVNode(_sfc_main$4, { fields: _ctx.fields }, {
124
120
  default: withCtx(({ field, nested, first, last }) => [
125
121
  createVNode(_sfc_main$5, {
@@ -139,8 +135,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
135
  }, 8, ["fields"])
140
136
  ])
141
137
  ]),
142
- _cache[5] || (_cache[5] = createElementVNode("div", { class: "my-4 border-b border-solid border-gray-200 dark:border-gray-700" }, null, -1)),
143
- createElementVNode("div", _hoisted_5, [
138
+ _cache[4] || (_cache[4] = createElementVNode("div", { class: "my-4 border-b border-solid border-gray-200 dark:border-gray-700" }, null, -1)),
139
+ createElementVNode("div", _hoisted_6, [
144
140
  createElementVNode("button", {
145
141
  class: normalizeClass(["relative rounded-lg bg-gray-100 px-2 py-1 dark:bg-gray-800", {
146
142
  "w-ripple w-ripple-hover": _ctx.hasSaved,
@@ -148,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
148
144
  }]),
149
145
  disabled: !_ctx.hasSaved,
150
146
  onClick: _cache[2] || (_cache[2] = ($event) => _ctx.hasSaved && _ctx.$emit("click:reset"))
151
- }, " Reset ", 10, _hoisted_6)
147
+ }, " Reset ", 10, _hoisted_7)
152
148
  ])
153
149
  ])
154
150
  ]),
@@ -1,6 +1,6 @@
1
1
  import { FieldConfig, ListFields } from '../types';
2
2
  import { OrderItem } from '../../../utils/order';
3
- import { ListMode } from '../use/useListConfig';
3
+ import { ListMode } from '../../../utils/utils';
4
4
  declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:field-config-map"?: ((value: Record<string, FieldConfig>) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSort.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderSort.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAC,WAAW,EAAa,UAAU,EAAC,MAAM,UAAU,CAAA;AAChE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAc5C,OAAO,EAAC,KAAK,QAAQ,EAAC,MAAM,sBAAsB,CAAA;yBAGjC,IAAI,SAAS,WAAW,EAAE,WAAW,eACxC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,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;;;;kBAnLlB,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE;gBACzB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;qBACxB,WAAW;mBACb,OAAO;KAgLmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YA7KP,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;;;;;YAgLkB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnMvE,wBAmM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -3,20 +3,7 @@ import _sfc_main$4 from '../../Button/WButtonSelectionAction.vue.js';
3
3
  import _sfc_main$2 from '../../ClickOutside/WClickOutside.vue.js';
4
4
  import _sfc_main$1 from '../../DropdownMenu/WDropdownMenu.vue.js';
5
5
  import IconSort from '../../../assets/icons/default/IconSort.svg.js';
6
- import '../../Button/WButtonAction.vue.js';
7
- import '../../Button/WButton.vue.js';
8
- import '../../Button/WButtonDropdown.vue.js';
9
6
  import { HorizontalAlign } from '../../../utils/HorizontalAlign.js';
10
- import 'vue-router';
11
- import '../../../utils/supportsPassive.js';
12
- import '../../Dropdown/utils/DropdownStyle.js';
13
- import '../../../utils/Modal.js';
14
- import '../../Input/WInputSuggest.vue.js';
15
- import '../../HeaderBar/use/useHeaderPadding.js';
16
- import '../../Input/WInputDate.vue.js';
17
- import '../../Link/WLink.vue.js';
18
- import '@tanstack/vue-query';
19
- import '../use/useListConfig.js';
20
7
  import _sfc_main$3 from './HeaderSortItem.vue.js';
21
8
 
22
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -0,0 +1,23 @@
1
+ import { Component } from 'vue';
2
+ declare const _default: <Props>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onClick?: ((value: MouseEvent) => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick"> & {
6
+ tag: Component | keyof HTMLElementTagNameMap;
7
+ props?: Props;
8
+ card: boolean;
9
+ }> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
+ attrs: any;
12
+ slots: {};
13
+ emit: (e: "click", value: MouseEvent) => void;
14
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }> & {
17
+ __ctx?: Awaited<typeof __VLS_setup>;
18
+ };
19
+ export default _default;
20
+ type __VLS_PrettifyLocal<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & {};
23
+ //# sourceMappingURL=ListCardAction.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListCardAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardAction.vue"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;yBAGjB,KAAK,eACR,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqGxD,mBAAmB,CAAC;;;aAjGvB,SAAS,GAAG,MAAM,qBAAqB;gBACpC,KAAK;cACP,OAAO;KA+FwE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA5FP,OAAO,SAAS,UAAU,KAAG,IAAI;;;;YAiGK,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/GvE,wBA+G4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { defineComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
+
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ListCardAction",
5
+ props: {
6
+ tag: {},
7
+ props: {},
8
+ card: { type: Boolean }
9
+ },
10
+ emits: ["click"],
11
+ setup(__props) {
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps(_ctx.props, {
14
+ class: ["w-ripple w-ripple-hover w-ripple-has w-ripple-opacity-[0.04] absolute inset-0 cursor-pointer", {
15
+ "w-ripple-rounded-[--w-list-rounded,unset] rounded-[--w-list-rounded,unset]": _ctx.card
16
+ }],
17
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
18
+ }), null, 16, ["class"]);
19
+ };
20
+ }
21
+ });
22
+
23
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './ListCardAction.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -13,11 +13,13 @@ declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: Non
13
13
  default: (props: {
14
14
  field: ListField<Data, QueryParams>;
15
15
  item: Data;
16
+ nested: boolean;
16
17
  }) => void;
17
18
  }> & {
18
19
  default: (props: {
19
20
  field: ListField<Data, QueryParams>;
20
21
  item: Data;
22
+ nested: boolean;
21
23
  }) => void;
22
24
  };
23
25
  emit: {};
@@ -1 +1 @@
1
- {"version":3,"file":"ListCardFieldNested.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardFieldNested.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;yBASlC,IAAI,SAAS,WAAW,EAAE,WAAW,eACxC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAoIxD,mBAAmB,CAAC;gBAhIpB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;cAC/B,IAAI;iBACD,OAAO;kBACN,OAAO;cACX,OAAO;KA4HwE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;iBAzHF,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAAC,IAAI,EAAE,IAAI,CAAA;SAAC,KAAK,IAAI;;iBAAlE,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAAC,IAAI,EAAE,IAAI,CAAA;SAAC,KAAK,IAAI;;UA2HpE,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA9IvE,wBA8I4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CA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;CAAG,GAAG,EAAE,CAAC"}
@@ -77,7 +77,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
77
77
  ], 64)) : renderSlot(_ctx.$slots, "default", {
78
78
  key: 1,
79
79
  field,
80
- item: _ctx.item
80
+ item: _ctx.item,
81
+ nested: _ctx.nested === true
81
82
  })
82
83
  ], 64);
83
84
  }), 128);
@@ -1,3 +1,4 @@
1
+ import { ListMode } from '../../utils/utils';
1
2
  import { Component, Raw } from 'vue';
2
3
  export type FieldComponent<Data> = Component<{
3
4
  item: Data;
@@ -98,5 +99,9 @@ export type CardAreas<Fields extends ListFields<any, any>, Length extends number
98
99
  })[];
99
100
  type GridColValue = 'auto' | '1fr' | `${number}rem`;
100
101
  export type GridCol = GridColValue | `minmax(${GridColValue}, ${GridColValue})`;
102
+ export type ListConfig<Fields extends ListFields<any, any>> = {
103
+ fields: FieldConfigMap<Fields>;
104
+ mode: ListMode;
105
+ };
101
106
  export {};
102
107
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/List/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,GAAG,EAAC,MAAM,KAAK,CAAA;AAEvC,MAAM,MAAM,cAAc,CAAC,IAAI,IAAI,SAAS,CAAC;IAC3C,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CACd,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,CAAC,IAAI,IAAI,SAAS,CAAC;IACjD,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CACd,CAAC,CAAA;AAEF,MAAM,MAAM,kBAAkB,CAAC,IAAI,IAAI,SAAS,CAAC;IAC/C,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EA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