eco-vue-js 0.8.18 → 0.8.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/assets/icons/sax/IconDrag.svg.js +24 -0
  2. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonSelection.vue.js +1 -1
  4. package/dist/components/Expansion/WExpansion.vue.d.ts +6 -2
  5. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
  6. package/dist/components/Expansion/WExpansion.vue.js +4 -1
  7. package/dist/components/FormAsync/WFormAsyncInput.vue.js +1 -0
  8. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
  9. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
  10. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
  11. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
  12. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +6 -6
  13. package/dist/components/Input/WInput.vue.js +7 -6
  14. package/dist/components/Input/WInputAsync.vue.js +1 -0
  15. package/dist/components/Input/WInputDate.vue.js +1 -0
  16. package/dist/components/Input/WInputOptions.vue.js +1 -0
  17. package/dist/components/Input/WInputSuggest.vue.js +2 -1
  18. package/dist/components/Input/types.d.ts +1 -0
  19. package/dist/components/Input/types.d.ts.map +1 -1
  20. package/dist/components/List/WList.vue.d.ts +5 -1
  21. package/dist/components/List/WList.vue.d.ts.map +1 -1
  22. package/dist/components/List/WList.vue.js +91 -31
  23. package/dist/components/List/WListCard.vue.d.ts +9 -1
  24. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  25. package/dist/components/List/WListCard.vue.js +114 -52
  26. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  27. package/dist/components/List/WListCardField.vue.js +21 -25
  28. package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
  29. package/dist/components/List/WListHeader.vue.js +36 -23
  30. package/dist/components/List/WListHeaderItem.vue.d.ts +5 -2
  31. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  32. package/dist/components/List/WListHeaderItem.vue.js +52 -37
  33. package/dist/components/List/components/HeaderItemResizer.vue.d.ts +20 -0
  34. package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -0
  35. package/dist/components/List/components/HeaderItemResizer.vue.js +66 -0
  36. package/dist/components/List/components/HeaderItemResizer.vue2.js +5 -0
  37. package/dist/components/List/types.d.ts +6 -2
  38. package/dist/components/List/types.d.ts.map +1 -1
  39. package/dist/components/Select/WSelect.vue.js +1 -0
  40. package/dist/components/Select/WSelectAsync.vue.js +1 -0
  41. package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -0
  42. package/dist/components/Select/WSelectSingle.vue.js +1 -0
  43. package/dist/components/Select/WSelectStringified.vue.js +1 -0
  44. package/package.json +1 -1
  45. package/tailwind-base/plugins/default.cjs +35 -34
@@ -0,0 +1,24 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "20",
6
+ height: "20",
7
+ fill: "none",
8
+ viewBox: "0 0 24 24"
9
+ };
10
+
11
+ function render(_ctx, _cache) {
12
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
13
+ createElementVNode("path", {
14
+ stroke: "currentColor",
15
+ "stroke-linecap": "round",
16
+ "stroke-linejoin": "round",
17
+ "stroke-width": "1.5",
18
+ d: "M9.5 21V3M14.5 21V3"
19
+ }, null, -1)
20
+ ])))
21
+ }
22
+ const IconDrag = { render: render };
23
+
24
+ export { IconDrag as default, render };
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"AAiLA,iBAAS,cAAc;;;;;YA2KM,GAAG;;;;YACL,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAjQT,MAAM;qBACG,MAAM;;;;;;YADf,MAAM;qBACG,MAAM;;;;WADf,MAAM;oBACG,MAAM;6EA2QzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"AAiLA,iBAAS,cAAc;;;;;YA8KM,GAAG;;;;YACL,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YApQT,MAAM;qBACG,MAAM;;;;;;YADf,MAAM;qBACG,MAAM;;;;WADf,MAAM;oBACG,MAAM;6EA8QzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -8,7 +8,7 @@ import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
8
8
  import _sfc_main$3 from '../ClickOutside/WClickOutside.vue.js';
9
9
  import { wInfiniteListSelection } from '../InfiniteList/models/injection.js';
10
10
 
11
- const _hoisted_1 = { class: "grid grid-cols-[1fr,auto] h-12 pb-3 w-full" };
11
+ const _hoisted_1 = { class: "grid grid-cols-[1fr,auto] h-12 pb-3 w-full sm:sticky sm:left-inner sm:w-inner" };
12
12
  const _hoisted_2 = { class: "flex" };
13
13
  const _hoisted_3 = {
14
14
  key: 0,
@@ -9,10 +9,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<{
10
10
  isOpen?: boolean;
11
11
  isShown?: boolean;
12
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ "update:visible": (value: boolean) => any;
14
+ }, string, import('vue').PublicProps, Readonly<{
13
15
  isOpen?: boolean;
14
16
  isShown?: boolean;
15
- }> & Readonly<{}>, {
17
+ }> & Readonly<{
18
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
19
+ }>, {
16
20
  isOpen: boolean;
17
21
  isShown: boolean;
18
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"WExpansion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansion.vue"],"names":[],"mappings":"AAgEA,iBAAS,cAAc;;yBAkDO,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA5FR,OAAO;cACN,OAAO;;aADR,OAAO;cACN,OAAO;;YADR,OAAO;aACN,OAAO;6EAkGnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WExpansion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansion.vue"],"names":[],"mappings":"AA2EA,iBAAS,cAAc;;yBAyFO,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA5IR,OAAO;cACN,OAAO;;;;aADR,OAAO;cACN,OAAO;;;;YADR,OAAO;aACN,OAAO;6EAqJnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,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
  isOpen: { type: Boolean, default: true },
12
12
  isShown: { type: Boolean, default: true }
13
13
  },
14
+ emits: ["update:visible"],
14
15
  setup(__props) {
15
16
  return (_ctx, _cache) => {
16
17
  return openBlock(), createBlock(Transition, {
@@ -19,7 +20,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  "enter-to-class": "grid-rows-[1fr]",
20
21
  "leave-active-class": "transition-[grid-template-rows] overflow-hidden grid",
21
22
  "leave-from-class": "grid-rows-[1fr]",
22
- "leave-to-class": "grid-rows-[0fr]"
23
+ "leave-to-class": "grid-rows-[0fr]",
24
+ onBeforeEnter: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:visible", true)),
25
+ onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:visible", false))
23
26
  }, {
24
27
  default: withCtx(() => [
25
28
  (openBlock(), createBlock(KeepAlive, null, [
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  autocomplete: {},
29
29
  autofocus: { type: Boolean },
30
30
  readonly: { type: Boolean },
31
+ unclickable: { type: Boolean },
31
32
  disabledActions: { type: Boolean },
32
33
  loading: { type: Boolean },
33
34
  spellcheck: { type: Boolean },
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  autocomplete: {},
38
38
  autofocus: { type: Boolean },
39
39
  readonly: { type: Boolean },
40
+ unclickable: { type: Boolean },
40
41
  disabledActions: { type: Boolean },
41
42
  loading: { type: Boolean },
42
43
  spellcheck: { type: Boolean },
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  autocomplete: {},
44
44
  autofocus: { type: Boolean },
45
45
  readonly: { type: Boolean },
46
+ unclickable: { type: Boolean },
46
47
  disabledActions: { type: Boolean },
47
48
  loading: { type: Boolean },
48
49
  spellcheck: { type: Boolean },
@@ -38,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  autocomplete: {},
39
39
  autofocus: { type: Boolean },
40
40
  readonly: { type: Boolean },
41
+ unclickable: { type: Boolean },
41
42
  disabledActions: { type: Boolean },
42
43
  loading: { type: Boolean },
43
44
  spellcheck: { type: Boolean },
@@ -38,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  autocomplete: {},
39
39
  autofocus: { type: Boolean },
40
40
  readonly: { type: Boolean },
41
+ unclickable: { type: Boolean },
41
42
  disabledActions: { type: Boolean },
42
43
  loading: { type: Boolean },
43
44
  spellcheck: { type: Boolean },
@@ -207,12 +207,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
207
207
  class: normalizeClass(_ctx.pageClass)
208
208
  }, [
209
209
  hasData.value && unref(data)?.results ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? TransitionGroup : _sfc_main$3), normalizeProps(mergeProps({ key: 0 }, _ctx.transition ? {
210
- ["enter-active-class"]: "transition-[grid-template-rows] overflow-hidden grid",
211
- ["enter-from-class"]: "grid-rows-[0fr]",
212
- ["enter-to-class"]: "grid-rows-[1fr]",
213
- ["leave-active-class"]: "transition-[grid-template-rows] overflow-hidden grid",
214
- ["leave-from-class"]: "grid-rows-[1fr]",
215
- ["leave-to-class"]: "grid-rows-[0fr]",
210
+ "enter-active-class": "transition-[grid-template-rows] overflow-hidden grid",
211
+ "enter-from-class": "grid-rows-[0fr]",
212
+ "enter-to-class": "grid-rows-[1fr]",
213
+ "leave-active-class": "transition-[grid-template-rows] overflow-hidden grid",
214
+ "leave-from-class": "grid-rows-[1fr]",
215
+ "leave-to-class": "grid-rows-[0fr]",
216
216
  css: !_ctx.resetting
217
217
  } : void 0)), {
218
218
  default: withCtx(() => [
@@ -26,6 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  autocomplete: { default: "off" },
27
27
  autofocus: { type: Boolean },
28
28
  readonly: { type: Boolean },
29
+ unclickable: { type: Boolean },
29
30
  disabledActions: { type: Boolean },
30
31
  loading: { type: Boolean },
31
32
  spellcheck: { type: Boolean },
@@ -54,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
55
  const input = ref();
55
56
  const isSecureVisible = ref(false);
56
57
  const updateModelValue = (value) => {
57
- if (props.loading || props.disabled || props.readonly) return;
58
+ if (props.loading || props.disabled || props.readonly || props.unclickable) return;
58
59
  if (props.type === "number") {
59
60
  emit("update:modelValue", typeof value === "string" && value.length ? Number.parseFloat(value) : void 0);
60
61
  } else {
@@ -95,14 +96,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
96
  updateModelValue(value);
96
97
  };
97
98
  const clearValue = () => {
98
- if (props.disabled || props.readonly) return;
99
+ if (props.disabled || props.readonly || props.unclickable) return;
99
100
  if (typeof props.modelValue === "string") updateModelValue("");
100
101
  else updateModelValue(void 0);
101
102
  input.value?.focus();
102
103
  emit("click:clear");
103
104
  };
104
105
  const focus = () => {
105
- if (props.disabled || props.readonly) return;
106
+ if (props.disabled || props.readonly || props.unclickable) return;
106
107
  input.value?.focus();
107
108
  };
108
109
  const blur = () => {
@@ -208,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
208
209
  fn: withCtx(({ id, setFocused, focused }) => [
209
210
  createElementVNode("div", {
210
211
  class: normalizeClass(["relative border border-solid rounded-xl bg-default dark:bg-default-dark transition-colors duration-75 overflow-hidden min-h-11 grid grid-cols-[auto,1fr,auto]", {
211
- "focus-within:border-primary-default dark:focus-within:border-primary-dark": !_ctx.disabled && !_ctx.readonly,
212
+ "focus-within:border-primary-default dark:focus-within:border-primary-dark": !_ctx.disabled && !_ctx.readonly && !_ctx.unclickable,
212
213
  "cursor-text": !_ctx.disabled,
213
214
  "border-negative dark:border-negative-dark": _ctx.errorMessage,
214
215
  "border-gray-300 dark:border-gray-700": !_ctx.disabled,
@@ -250,7 +251,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
250
251
  type: _ctx.type ?? "text",
251
252
  name: _ctx.name,
252
253
  disabled: _ctx.disabled,
253
- readonly: _ctx.readonly,
254
+ readonly: _ctx.readonly || _ctx.unclickable,
254
255
  autocomplete: _ctx.autocomplete,
255
256
  size: _ctx.size || void 0,
256
257
  spellcheck: _ctx.spellcheck ? "true" : "false",
@@ -284,7 +285,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
284
285
  loading: _ctx.loading,
285
286
  "allow-clear": _ctx.allowClear && _ctx.modelValue !== "",
286
287
  disabled: _ctx.disabled || _ctx.disabledActions,
287
- readonly: _ctx.readonly,
288
+ readonly: _ctx.readonly || _ctx.unclickable,
288
289
  "text-secure": _ctx.textSecure,
289
290
  "is-secure-visible": isSecureVisible.value,
290
291
  "allow-paste": _ctx.allowPaste,
@@ -26,6 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  autocomplete: {},
27
27
  autofocus: { type: Boolean },
28
28
  readonly: { type: Boolean },
29
+ unclickable: { type: Boolean },
29
30
  disabledActions: { type: Boolean },
30
31
  loading: { type: Boolean },
31
32
  spellcheck: { type: Boolean },
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  autocomplete: {},
25
25
  autofocus: { type: Boolean },
26
26
  readonly: { type: Boolean },
27
+ unclickable: { type: Boolean },
27
28
  disabledActions: { type: Boolean },
28
29
  loading: { type: Boolean },
29
30
  spellcheck: { type: Boolean },
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  autocomplete: {},
30
30
  autofocus: { type: Boolean },
31
31
  readonly: { type: Boolean },
32
+ unclickable: { type: Boolean },
32
33
  disabledActions: { type: Boolean },
33
34
  loading: { type: Boolean },
34
35
  spellcheck: { type: Boolean },
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  autocomplete: {},
26
26
  autofocus: { type: Boolean },
27
27
  readonly: { type: Boolean },
28
+ unclickable: { type: Boolean },
28
29
  disabledActions: { type: Boolean },
29
30
  loading: { type: Boolean },
30
31
  spellcheck: { type: Boolean },
@@ -111,7 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
112
  }, {
112
113
  ...props,
113
114
  title: unclickable ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
114
- readonly: _ctx.readonly || unclickable,
115
+ unclickable,
115
116
  description: void 0
116
117
  }, {
117
118
  class: {
@@ -14,6 +14,7 @@ export interface InputProps<Type extends InputType> extends Omit<FieldWrapperPro
14
14
  autocomplete?: 'off' | string;
15
15
  autofocus?: boolean;
16
16
  readonly?: boolean;
17
+ unclickable?: boolean;
17
18
  disabledActions?: boolean;
18
19
  loading?: boolean;
19
20
  spellcheck?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAClC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAE5D,MAAM,WAAW,UAAU,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AAQ,iBAAiB,CAAC,IAAI,CAAC;IAChG,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAA;IAChF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,SAAS,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;CACnF;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IACnF,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IAC7B,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;CACf"}
@@ -1,19 +1,23 @@
1
- import { BulkComponent, ListField, MenuComponent } from './types';
1
+ import { BulkComponent, FieldComponent, ListField, MenuComponent } from './types';
2
2
  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<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly "onUpdate:header-padding"?: ((value: number) => any) | undefined;
5
5
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:header-padding"> & {
6
6
  count?: number;
7
7
  fields: ListField<Data, QueryParams>[];
8
+ expansion?: FieldComponent<Data>;
8
9
  useQueryFn: UseQueryPaginated<Data, QueryParams>;
9
10
  queryParams: QueryParams;
10
11
  bulkDisableMessage?: string;
11
12
  selectionTitle: string;
12
13
  bulk?: BulkComponent<QueryParams>[];
14
+ bulkMore?: BulkComponent<QueryParams>[];
13
15
  menu: MenuComponent<Data>[];
14
16
  readonlyGetter?: (item: Data) => boolean;
15
17
  cardClass?: string;
16
18
  selectAllTextGetter: (isUnselect: boolean, count: number) => string;
19
+ hasBorder?: boolean;
20
+ moreBottom?: boolean;
17
21
  }> & import('vue').PublicProps;
18
22
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
23
  attrs: any;
@@ -1 +1 @@
1
- {"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AA4MA,OAAO,KAAK,EAAC,aAAa,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;yBAOnD,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;WAkaxD,mBAAmB,CAAC;;;gBA1ZpB,MAAM;gBACN,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE;oBAC1B,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;6BACH,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;cAC7B,aAAa,CAAC,IAAI,CAAC,EAAE;yBACV,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;oBAC5B,MAAM;6BACG,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM;KAgZkB,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gB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CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cAhiBP,uBAAuB,SAAS,MAAM,KAAG,IAAI;;;;YAqiBP,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvkBvE,wBAukB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, resolveDynamicComponent, normalizeClass, createCommentVNode, createVNode } from 'vue';
1
+ import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, createSlots, createElementBlock, Fragment, renderList, resolveDynamicComponent, normalizeClass, createCommentVNode, normalizeStyle, createVNode } from 'vue';
2
2
  import _sfc_main$1 from '../InfiniteList/WInfiniteList.vue.js';
3
3
  import { getIsMobile } from '../../utils/mobile.js';
4
4
  import { useSelected, getPosition } from '../../utils/useSelected.js';
@@ -14,15 +14,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  props: {
15
15
  count: {},
16
16
  fields: {},
17
+ expansion: {},
17
18
  useQueryFn: {},
18
19
  queryParams: {},
19
20
  bulkDisableMessage: {},
20
21
  selectionTitle: {},
21
22
  bulk: {},
23
+ bulkMore: {},
22
24
  menu: {},
23
25
  readonlyGetter: { type: Function },
24
26
  cardClass: {},
25
- selectAllTextGetter: { type: Function }
27
+ selectAllTextGetter: { type: Function },
28
+ hasBorder: { type: Boolean },
29
+ moreBottom: { type: Boolean }
26
30
  },
27
31
  emits: ["update:header-padding"],
28
32
  setup(__props) {
@@ -30,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
34
  const props = __props;
31
35
  const listCount = ref(0);
32
36
  const selectionCount = ref(0);
37
+ const fieldConfig = ref(props.fields.map(() => ({ width: 0 })));
33
38
  const allowSelect = computed(() => props.bulk !== void 0);
34
39
  const {
35
40
  selected,
@@ -78,8 +83,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
83
  "skeleton-length": _ctx.count ?? listCount.value,
79
84
  "header-margin": unref(isMobile) ? 0 : 24,
80
85
  "hide-page-title": "",
81
- transition: "",
82
- "page-class": "grid sm:gap-4",
83
86
  "allow-select": allowSelect.value,
84
87
  "allow-select-range": "",
85
88
  selected: unref(selected),
@@ -90,16 +93,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
93
  onSelect: unref(setSelected),
91
94
  onSelectReverse: unref(setSelectedReverse),
92
95
  onSelectRange: unref(setSelectedRange),
93
- "onUpdate:headerPadding": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:header-padding", $event)),
94
- "onUpdate:count": _cache[4] || (_cache[4] = ($event) => listCount.value = $event)
96
+ "onUpdate:headerPadding": _cache[4] || (_cache[4] = ($event) => _ctx.$emit("update:header-padding", $event)),
97
+ "onUpdate:count": _cache[5] || (_cache[5] = ($event) => listCount.value = $event)
95
98
  }, {
96
99
  header: withCtx(({ selectAllValue }) => [
97
100
  allowSelect.value ? (openBlock(), createBlock(_sfc_main$2, {
98
101
  key: 0,
99
102
  title: _ctx.selectionTitle,
100
103
  "disable-message": _ctx.bulkDisableMessage,
101
- "onUpdate:selectionCount": _cache[1] || (_cache[1] = ($event) => selectionCount.value = $event)
102
- }, {
104
+ "onUpdate:selectionCount": _cache[2] || (_cache[2] = ($event) => selectionCount.value = $event)
105
+ }, createSlots({
103
106
  default: withCtx(({ disableMessage, cssClass }) => [
104
107
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulk, (item, index) => {
105
108
  return openBlock(), createBlock(resolveDynamicComponent(item), {
@@ -112,8 +115,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
115
  }, null, 40, ["selection-count", "disable-message", "class"]);
113
116
  }), 128))
114
117
  ]),
115
- _: 1
116
- }, 8, ["title", "disable-message"])) : createCommentVNode("", true),
118
+ _: 2
119
+ }, [
120
+ _ctx.bulkMore ? {
121
+ name: "more",
122
+ fn: withCtx((scope) => [
123
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulkMore, (item, index) => {
124
+ return openBlock(), createBlock(resolveDynamicComponent(item), {
125
+ key: index,
126
+ "selection-count": selectionCount.value,
127
+ "query-params-getter": getQueryParamsBulk,
128
+ "disable-message": scope?.disableMessage,
129
+ class: normalizeClass(scope?.cssClass),
130
+ "onClear:selected": _cache[1] || (_cache[1] = ($event) => unref(setSelected)([]))
131
+ }, null, 40, ["selection-count", "disable-message", "class"]);
132
+ }), 128))
133
+ ]),
134
+ key: "0"
135
+ } : void 0
136
+ ]), 1032, ["title", "disable-message"])) : createCommentVNode("", true),
117
137
  !unref(isMobile) ? (openBlock(), createBlock(_sfc_main$3, {
118
138
  key: 1,
119
139
  class: "sm-not:hidden",
@@ -122,18 +142,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
122
142
  "tooltip-text": _ctx.selectAllTextGetter(selectAllValue !== true, _ctx.count ?? listCount.value),
123
143
  count: _ctx.count ?? listCount.value,
124
144
  selection: selectAllValue,
125
- "onToggle:selection": _cache[2] || (_cache[2] = ($event) => $event ? unref(setSelectedReverse)([]) : unref(setSelected)([]))
145
+ "onToggle:selection": _cache[3] || (_cache[3] = ($event) => $event ? unref(setSelectedReverse)([]) : unref(setSelected)([]))
126
146
  }, {
127
147
  default: withCtx(() => [
128
148
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fields, (field, index) => {
129
- return openBlock(), createBlock(_sfc_main$4, {
130
- key: index,
131
- title: typeof field.title === "string" ? field.title : field.title(_ctx.queryParams),
132
- field: field.field,
133
- class: normalizeClass([field.cssClass, index === _ctx.fields.length - 1 ? "z-[1]" : void 0]),
134
- ordering: ordering.value,
135
- disabled: !field.field
136
- }, null, 8, ["title", "field", "class", "ordering", "disabled"]);
149
+ return openBlock(), createElementBlock(Fragment, { key: index }, [
150
+ field.visibleGetter?.(_ctx.queryParams) ?? true ? (openBlock(), createBlock(_sfc_main$4, {
151
+ key: 0,
152
+ title: typeof field.title === "string" ? field.title : field.title(_ctx.queryParams),
153
+ field: typeof field.field === "string" ? field.field : field.field?.(_ctx.queryParams),
154
+ class: normalizeClass([field.cssClass, index === _ctx.fields.length - 1 ? "z-[1]" : void 0]),
155
+ ordering: ordering.value,
156
+ disabled: !field.field,
157
+ "allow-resize": field.allowResize,
158
+ style: normalizeStyle({
159
+ minWidth: !unref(isMobile) && fieldConfig.value[index]?.width ? fieldConfig.value[index].width + "px" : void 0
160
+ }),
161
+ "onUpdate:width": ($event) => fieldConfig.value[index].width = $event
162
+ }, null, 8, ["title", "field", "class", "ordering", "disabled", "allow-resize", "style", "onUpdate:width"])) : createCommentVNode("", true)
163
+ ], 64);
137
164
  }), 128))
138
165
  ]),
139
166
  _: 2
@@ -143,8 +170,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
143
170
  createVNode(_sfc_main$5, {
144
171
  disabled: skeleton,
145
172
  mobile: unref(isMobile),
146
- class: normalizeClass(_ctx.cardClass)
147
- }, {
173
+ "card-class": _ctx.cardClass,
174
+ "has-border": _ctx.hasBorder,
175
+ "more-bottom": _ctx.moreBottom,
176
+ "allow-open": _ctx.fields.some((item2) => item2.allowOpen) && !skeleton
177
+ }, createSlots({
178
+ default: withCtx(({ toggle, isOpen }) => [
179
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fields, (field, index) => {
180
+ return openBlock(), createElementBlock(Fragment, { key: index }, [
181
+ field.visibleGetter?.(_ctx.queryParams) ?? true ? (openBlock(), createBlock(resolveDynamicComponent(field.component), {
182
+ key: 0,
183
+ item,
184
+ readonly: _ctx.readonlyGetter?.(item),
185
+ skeleton,
186
+ mobile: unref(isMobile),
187
+ class: normalizeClass({
188
+ [field.cssClass ?? ""]: true,
189
+ "cursor-pointer w-ripple w-ripple-hover w-ripple-has w-ripple-opacity-[0.04]": field.allowOpen && !skeleton,
190
+ "sm:border-y border-gray-300 dark:border-gray-700": _ctx.hasBorder,
191
+ "sm:border-b-[transparent] sm:dark:border-b-[transparent]": _ctx.hasBorder && isOpen
192
+ }),
193
+ style: normalizeStyle({
194
+ minWidth: !unref(isMobile) && fieldConfig.value[index]?.width ? fieldConfig.value[index].width + "px" : void 0
195
+ }),
196
+ "onUpdate:item": setter,
197
+ "onDelete:item": ($event) => {
198
+ setter();
199
+ refetch();
200
+ },
201
+ onClick: ($event) => field.allowOpen && !skeleton && toggle()
202
+ }, null, 40, ["item", "readonly", "skeleton", "mobile", "class", "style", "onUpdate:item", "onDelete:item", "onClick"])) : createCommentVNode("", true)
203
+ ], 64);
204
+ }), 128))
205
+ ]),
148
206
  more: withCtx(() => [
149
207
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menu, (menuItem, menuIndex) => {
150
208
  return openBlock(), createBlock(resolveDynamicComponent(menuItem), {
@@ -159,24 +217,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
159
217
  }, null, 40, ["item", "readonly", "onUpdate:item", "onDelete:item"]);
160
218
  }), 128))
161
219
  ]),
162
- default: withCtx(() => [
163
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fields, (field, index) => {
164
- return openBlock(), createBlock(resolveDynamicComponent(field.component), {
165
- key: index,
220
+ _: 2
221
+ }, [
222
+ _ctx.expansion ? {
223
+ name: "expansion",
224
+ fn: withCtx(() => [
225
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.expansion), {
166
226
  item,
167
227
  readonly: _ctx.readonlyGetter?.(item),
168
- class: normalizeClass(field.cssClass),
169
228
  skeleton,
229
+ mobile: unref(isMobile),
170
230
  "onUpdate:item": setter,
171
231
  "onDelete:item": ($event) => {
172
232
  setter();
173
233
  refetch();
174
234
  }
175
- }, null, 40, ["item", "readonly", "class", "skeleton", "onUpdate:item", "onDelete:item"]);
176
- }), 128))
177
- ]),
178
- _: 2
179
- }, 1032, ["disabled", "mobile", "class"])
235
+ }, null, 40, ["item", "readonly", "skeleton", "mobile", "onUpdate:item", "onDelete:item"]))
236
+ ]),
237
+ key: "0"
238
+ } : void 0
239
+ ]), 1032, ["disabled", "mobile", "card-class", "has-border", "more-bottom", "allow-open"])
180
240
  ]),
181
241
  _: 1
182
242
  }, 8, ["use-query-fn", "query-params", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
@@ -1,9 +1,11 @@
1
1
  declare function __VLS_template(): {
2
2
  slots: {
3
3
  default?(_: {
4
- toggle: ((value: boolean) => void) | undefined;
4
+ toggle: () => void;
5
+ isOpen: boolean;
5
6
  }): any;
6
7
  more?(_: {}): any;
8
+ expansion?(_: {}): any;
7
9
  };
8
10
  refs: {};
9
11
  attrs: Partial<{}>;
@@ -15,6 +17,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
15
17
  mobile?: boolean;
16
18
  moreBottom?: boolean;
17
19
  alignTop?: boolean;
20
+ hasBorder?: boolean;
21
+ cardClass?: string;
22
+ allowOpen?: boolean;
18
23
  }, {
19
24
  updateSelected: ((value: boolean) => void) | undefined;
20
25
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -26,6 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
26
31
  mobile?: boolean;
27
32
  moreBottom?: boolean;
28
33
  alignTop?: boolean;
34
+ hasBorder?: boolean;
35
+ cardClass?: string;
36
+ allowOpen?: boolean;
29
37
  }> & Readonly<{
30
38
  "onUpdate:selected"?: ((value: boolean) => any) | undefined;
31
39
  "onUpdate:selected-hover"?: ((value: boolean) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AA0LA,iBAAS,cAAc;;;;YA0LO,GAAG;sBACN,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAzRR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;;;;;;;eAJP,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;;;;kFAgSlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAqQA,iBAAS,cAAc;;;;;YAuSO,GAAG;sBACN,GAAG;2BACE,GAAG;;;WASrB,OAAO,IAA6B;EAEjD;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAlZR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;gBACN,OAAO;;;;;;;eAPR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;gBACN,OAAO;;;;kFAsZnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}