eco-vue-js 0.8.26 → 0.8.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/components/List/WList.vue.d.ts +1 -0
  2. package/dist/components/List/WList.vue.d.ts.map +1 -1
  3. package/dist/components/List/WList.vue.js +3 -1
  4. package/dist/components/List/WListCard.vue.d.ts +2 -0
  5. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  6. package/dist/components/List/WListCard.vue.js +4 -2
  7. package/dist/components/List/WListCardField.vue.d.ts +2 -0
  8. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  9. package/dist/components/List/WListCardField.vue.js +6 -2
  10. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  11. package/dist/components/List/WListHeaderItem.vue.js +1 -1
  12. package/dist/components/List/components/HeaderSettingsItem.vue.d.ts.map +1 -1
  13. package/dist/components/List/components/HeaderSettingsItem.vue.js +1 -1
  14. package/dist/components/List/components/ListCardFieldNested.vue.d.ts +1 -0
  15. package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
  16. package/dist/components/List/components/ListCardFieldNested.vue.js +33 -19
  17. package/dist/components/List/components/ListCardFieldNestedItem.vue.d.ts +25 -0
  18. package/dist/components/List/components/ListCardFieldNestedItem.vue.d.ts.map +1 -0
  19. package/dist/components/List/components/ListCardFieldNestedItem.vue.js +20 -0
  20. package/dist/components/List/components/ListCardFieldNestedItem.vue2.js +5 -0
  21. package/dist/components/List/types.d.ts +21 -2
  22. package/dist/components/List/types.d.ts.map +1 -1
  23. package/dist/components/List/use/useFieldConfigMap.d.ts.map +1 -1
  24. package/dist/components/List/use/useFieldConfigMap.js +3 -0
  25. package/dist/types/global.d.ts +9 -1
  26. package/dist/utils/utils.d.ts +1 -1
  27. package/dist/utils/utils.d.ts.map +1 -1
  28. package/package.json +1 -1
@@ -15,6 +15,7 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
15
15
  menu: MenuComponent<Data>[];
16
16
  readonlyGetter?: (item: Data) => boolean;
17
17
  cardClass?: string;
18
+ cardWrapperClass?: string;
18
19
  selectAllTextGetter: (isUnselect: boolean, count: number) => string;
19
20
  hasBorder?: boolean;
20
21
  moreBottom?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AAuSA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;yBAWpF,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,eACtF,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;WA2mBxD,mBAAmB,CAAC;;;gBAnmBpB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;6BACH,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CAAC,EAAE;cACjC,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;oBACvD,OAAO;qBACN,OAAO;mBACT,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;mBAC7B,OAAO;KAklBmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAA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AAO;qBACN,OAAO;mBACT,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;mBAC7B,OAAO;KAklBmE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA/kBP,uBAAuB,SAAS,MAAM,KAAG,IAAI;;;;YAolBP,OAAO,CAAC,OAAO,WAAW,CAAC;;AAtnBvE,wBAsnB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  menu: {},
29
29
  readonlyGetter: { type: Function },
30
30
  cardClass: {},
31
+ cardWrapperClass: {},
31
32
  selectAllTextGetter: { type: Function },
32
33
  hasBorder: { type: Boolean },
33
34
  moreBottom: { type: Boolean },
@@ -195,6 +196,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
195
196
  disabled: skeleton,
196
197
  mobile: unref(isMobile),
197
198
  "card-class": _ctx.cardClass,
199
+ "card-wrapper-class": _ctx.cardWrapperClass,
198
200
  "has-border": _ctx.hasBorder,
199
201
  "more-bottom": _ctx.moreBottom,
200
202
  "allow-open": allowOpen.value && !skeleton,
@@ -262,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
262
264
  ]),
263
265
  key: "0"
264
266
  } : void 0
265
- ]), 1032, ["disabled", "mobile", "card-class", "has-border", "more-bottom", "allow-open", "align-top"])
267
+ ]), 1032, ["disabled", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top"])
266
268
  ]),
267
269
  _: 1
268
270
  }, 8, ["use-query-fn", "query-params", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
@@ -19,6 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
19
19
  alignTop?: boolean;
20
20
  hasBorder?: boolean;
21
21
  cardClass?: string;
22
+ cardWrapperClass?: string;
22
23
  allowOpen?: boolean;
23
24
  }, {
24
25
  updateSelected: ((value: boolean) => void) | undefined;
@@ -33,6 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
33
34
  alignTop?: boolean;
34
35
  hasBorder?: boolean;
35
36
  cardClass?: string;
37
+ cardWrapperClass?: string;
36
38
  allowOpen?: boolean;
37
39
  }> & Readonly<{
38
40
  "onUpdate:selected"?: ((value: boolean) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAoRA,iBAAS,cAAc;;;;;YAwUO,GAAG;sBACN,GAAG;2BACE,GAAG;;;WASrB,OAAO,IAA6B;EAEjD;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAnbR,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;;;;kFAubnB,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":"AAuRA,iBAAS,cAAc;;;;;YAuUO,GAAG;sBACN,GAAG;2BACE,GAAG;;;WASrB,OAAO,IAA6B;EAEjD;AA4BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAnbR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;;;;;;;eARR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;;;;kFAsbnB,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"}
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  alignTop: { type: Boolean },
25
25
  hasBorder: { type: Boolean },
26
26
  cardClass: {},
27
+ cardWrapperClass: {},
27
28
  allowOpen: { type: Boolean }
28
29
  },
29
30
  emits: ["update:selected", "update:selected-hover"],
@@ -61,8 +62,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
62
  return (_ctx, _cache) => {
62
63
  return openBlock(), createElementBlock(Fragment, null, [
63
64
  createElementVNode("div", {
64
- class: normalizeClass(["relative grid sm-not:grid-cols-1 sm:flex isolate sm:mt-4 first:mt-0 sm-not:group-even:bg-gray-50 sm-not:dark:group-even:bg-primary-darkest/25 sm-not:pt-2", {
65
- "w-ripple-trigger-has": _ctx.allowOpen
65
+ class: normalizeClass(["relative grid sm-not:grid-cols-1 sm:flex isolate sm-not:group-even:bg-gray-50 sm-not:dark:group-even:bg-primary-darkest/25 sm-not:pt-2", {
66
+ "w-ripple-trigger-has": _ctx.allowOpen,
67
+ [_ctx.cardWrapperClass ?? ""]: true
66
68
  }])
67
69
  }, [
68
70
  createVNode(Transition, {
@@ -11,10 +11,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
11
11
  modelValue?: string | number;
12
12
  skeleton?: boolean;
13
13
  allowOpen?: boolean;
14
+ noPadding?: boolean;
14
15
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
15
16
  modelValue?: string | number;
16
17
  skeleton?: boolean;
17
18
  allowOpen?: boolean;
19
+ noPadding?: boolean;
18
20
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
22
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"WListCardField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCardField.vue"],"names":[],"mappings":"AA+CA,iBAAS,cAAc;;yBA8CM,GAAG;uBACL,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBA/EN,MAAM,GAAG,MAAM;eACjB,OAAO;gBACN,OAAO;;iBAFN,MAAM,GAAG,MAAM;eACjB,OAAO;gBACN,OAAO;iGAmFnB,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":"WListCardField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCardField.vue"],"names":[],"mappings":"AAoDA,iBAAS,cAAc;;yBAgDM,GAAG;uBACL,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBAlFN,MAAM,GAAG,MAAM;eACjB,OAAO;gBACN,OAAO;gBACP,OAAO;;iBAHN,MAAM,GAAG,MAAM;eACjB,OAAO;gBACN,OAAO;gBACP,OAAO;iGAqFnB,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"}
@@ -7,12 +7,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
8
8
  modelValue: {},
9
9
  skeleton: { type: Boolean },
10
- allowOpen: { type: Boolean }
10
+ allowOpen: { type: Boolean },
11
+ noPadding: { type: Boolean }
11
12
  },
12
13
  setup(__props) {
13
14
  return (_ctx, _cache) => {
14
15
  return openBlock(), createElementBlock("div", {
15
- class: normalizeClass(["grid grid-cols-1 sm:pr-6 sm:last:-mr-6", { "pointer-events-none": _ctx.allowOpen }])
16
+ class: normalizeClass(["grid grid-cols-1", {
17
+ "pointer-events-none": _ctx.allowOpen,
18
+ "sm:pr-6": !_ctx.noPadding
19
+ }])
16
20
  }, [
17
21
  _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
18
22
  createElementVNode("div", _hoisted_1, [
@@ -1 +1 @@
1
- {"version":3,"file":"WListHeaderItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListHeaderItem.vue"],"names":[],"mappings":"AAgHA,OAAO,EAAwB,KAAK,SAAS,EAAC,MAAM,eAAe,CAAA;yBAIlD,KAAK,eACR,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB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AAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBA9BiB,GAAG;;cA3K3B,cAAc,SAAS,MAAM,KAAG,IAAI;;;;YA8ME,OAAO,CAAC,OAAO,WAAW,CAAC;;AA9NvE,wBA8N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  }, {
54
54
  default: withCtx(() => [
55
55
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.disabled ? "div" : "button"), {
56
- class: normalizeClass(["h-full w-full flex gap-2 group font-semibold items-center", {
56
+ class: normalizeClass(["h-full w-full flex gap-2 group font-semibold items-center overflow-hidden", {
57
57
  "cursor-pointer": !_ctx.disabled
58
58
  }]),
59
59
  onClick: setOrdering
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSettingsItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderSettingsItem.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;yBAKnC,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;WAqKxD,mBAAmB,CAAC;;;;;;eAjKrB,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC;qBACtB,WAAW;qBACX,WAAW;mBACb,OAAO;uBACH,OAAO;eACf,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CAAC,GAAG,IAAI;YACrE,YAAY,SAAS,MAAM,GAAG,IAAI;YAClC,YAAY,SAAS,MAAM,GAAG,IAAI;YAClC,UAAU,GAAG,IAAI;;;;;YA4JqB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhLvE,wBAgL4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -4,7 +4,7 @@ import IconEye from '../../../assets/icons/sax/IconEye.svg.js';
4
4
  import IconEyeSlash from '../../../assets/icons/sax/IconEyeSlash.svg.js';
5
5
 
6
6
  const _hoisted_1 = ["draggable"];
7
- const _hoisted_2 = { class: "px-2 py-1 self-center font-semibold col-start-2" };
7
+ const _hoisted_2 = { class: "px-2 py-1 self-center font-semibold col-start-2 truncate" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "HeaderSettingsItem",
10
10
  props: {
@@ -3,6 +3,7 @@ declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: Non
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
4
4
  fields: ListFields<Data, QueryParams>;
5
5
  item: Data;
6
+ nested?: boolean;
6
7
  }> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
@@ -1 +1 @@
1
- {"version":3,"file":"ListCardFieldNested.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardFieldNested.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;yBAIlC,IAAI,SAAS,WAAW,EAAE,WAAW,eACxC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAA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AG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAmIxD,mBAAmB,CAAC;gBA/HpB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;cAC/B,IAAI;iBACD,OAAO;KA6HqE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;iBA1HF,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;;UA4HpE,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA7IvE,wBA6I4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,11 +1,14 @@
1
- import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent, mergeProps, withCtx, normalizeClass, createVNode, renderSlot } from 'vue';
1
+ import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent, mergeProps, withCtx, createVNode, createElementVNode, normalizeClass, renderSlot } from 'vue';
2
+ import _sfc_main$2 from '../../InfiniteList/components/EmptyComponent.vue.js';
2
3
  import { getFirstFieldLabel } from '../use/useFieldConfigMap.js';
4
+ import _sfc_main$1 from './ListCardFieldNestedItem.vue.js';
3
5
 
4
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
7
  __name: "ListCardFieldNested",
6
8
  props: {
7
9
  fields: {},
8
- item: {}
10
+ item: {},
11
+ nested: { type: Boolean }
9
12
  },
10
13
  setup(__props) {
11
14
  return (_ctx, _cache) => {
@@ -19,34 +22,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
22
  key: 0,
20
23
  ref_for: true
21
24
  }, field.componentArray ? { item: _ctx.item } : void 0, {
22
- class: [field.cssClassArray, "sm:mr-6"]
25
+ class: field.cssClassArray
23
26
  }), {
24
27
  default: withCtx(() => [
25
- (openBlock(true), createElementBlock(Fragment, null, renderList("keyArray" in field ? _ctx.item[field.keyArray] : field.getterArray(_ctx.item), (inner) => {
26
- return openBlock(), createElementBlock("div", {
27
- key: inner.id,
28
- class: normalizeClass([field.cssClass, "flex"])
29
- }, [
30
- createVNode(_component_ListCardFieldNested, {
31
- fields: field.fields,
32
- item: inner
33
- }, {
34
- default: withCtx((defaultScope) => [
35
- renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
28
+ createVNode(_sfc_main$1, {
29
+ items: "keyArray" in field ? _ctx.item[field.keyArray] : field.getterArray(_ctx.item)
30
+ }, {
31
+ default: withCtx(({ inner, index, last, first }) => [
32
+ (openBlock(), createBlock(resolveDynamicComponent(field.componentItem ?? _sfc_main$2), mergeProps({ ref_for: true }, field.componentItem ? { item: _ctx.item, index, last, first } : void 0), {
33
+ default: withCtx(() => [
34
+ createElementVNode("div", {
35
+ class: normalizeClass(["flex", field.cssClass])
36
+ }, [
37
+ createVNode(_component_ListCardFieldNested, {
38
+ fields: field.fields,
39
+ item: inner,
40
+ nested: ""
41
+ }, {
42
+ default: withCtx((defaultScope) => [
43
+ renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
44
+ ]),
45
+ _: 2
46
+ }, 1032, ["fields", "item"])
47
+ ], 2)
36
48
  ]),
37
49
  _: 2
38
- }, 1032, ["fields", "item"])
39
- ], 2);
40
- }), 128))
50
+ }, 1040))
51
+ ]),
52
+ _: 2
53
+ }, 1032, ["items"])
41
54
  ]),
42
55
  _: 2
43
56
  }, 1040, ["class"])) : (openBlock(), createElementBlock("div", {
44
57
  key: 1,
45
- class: normalizeClass([field.cssClass, "flex sm:mr-6"])
58
+ class: normalizeClass([field.cssClass, "flex"])
46
59
  }, [
47
60
  createVNode(_component_ListCardFieldNested, {
48
61
  fields: field.fields,
49
- item: "keyEntity" in field ? _ctx.item[field.keyEntity] : _ctx.item
62
+ item: "keyEntity" in field ? _ctx.item[field.keyEntity] : "getterEntity" in field ? field.getterEntity(_ctx.item) : _ctx.item,
63
+ nested: ""
50
64
  }, {
51
65
  default: withCtx((defaultScope) => [
52
66
  renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
@@ -0,0 +1,25 @@
1
+ declare const _default: <Data>(__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<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
3
+ items: Data[];
4
+ }> & import('vue').PublicProps;
5
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ attrs: any;
7
+ slots: {
8
+ default?(_: {
9
+ inner: Data;
10
+ index: number;
11
+ last: boolean;
12
+ first: boolean;
13
+ }): any;
14
+ };
15
+ emit: {};
16
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
17
+ [key: string]: any;
18
+ }> & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
21
+ export default _default;
22
+ type __VLS_PrettifyLocal<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+ //# sourceMappingURL=ListCardFieldNestedItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListCardFieldNestedItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardFieldNestedItem.vue"],"names":[],"mappings":"yBAoBiB,IAAI,eACP,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;WA6DxD,mBAAmB,CAAC;eAzDrB,IAAI,EAAE;KAyDwE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;;YAvBgB,GAAG;;UAyBvB,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvEvE,wBAuE4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { defineComponent, openBlock, createElementBlock, Fragment, renderList, renderSlot, mergeProps } from 'vue';
2
+
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ListCardFieldNestedItem",
5
+ props: {
6
+ items: {}
7
+ },
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (inner, index) => {
11
+ return renderSlot(_ctx.$slots, "default", mergeProps({
12
+ key: inner.id,
13
+ ref_for: true
14
+ }, { inner, index, last: index === _ctx.items.length - 1, first: index === 0 }));
15
+ }), 128);
16
+ };
17
+ }
18
+ });
19
+
20
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './ListCardFieldNestedItem.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -5,6 +5,15 @@ export type FieldComponent<Data> = Component<{
5
5
  readonly?: boolean;
6
6
  mobile?: boolean;
7
7
  }>;
8
+ export type FieldComponentItem<Data> = Component<{
9
+ item: Data;
10
+ skeleton?: boolean;
11
+ readonly?: boolean;
12
+ mobile?: boolean;
13
+ index?: number;
14
+ first?: boolean;
15
+ last?: boolean;
16
+ }>;
8
17
  export type ListField<Data, QueryParams = unknown> = {
9
18
  component: Raw<FieldComponent<Data>>;
10
19
  title: string | ((params: QueryParams) => string);
@@ -25,9 +34,18 @@ type FieldNestedEntity<Data, QueryParams = unknown, Key extends keyof PickByType
25
34
  export interface ListFieldNestedEntity<Data, QueryParams = unknown> extends FieldNestedEntity<Data, QueryParams> {
26
35
  cssClass?: string;
27
36
  }
37
+ type FieldNestedEntityGetter<Data, QueryParams = unknown, Inner = unknown> = {
38
+ getterEntity: (data: Data) => Inner;
39
+ fields: ListFields<Inner, QueryParams>;
40
+ componentItem?: Raw<FieldComponentItem<Inner>>;
41
+ };
42
+ export interface ListFieldNestedEntityGetter<Data, QueryParams = unknown, Inner = unknown> extends FieldNestedEntityGetter<Data, QueryParams, Inner> {
43
+ cssClass?: string;
44
+ }
28
45
  type FieldNestedArray<Data, QueryParams = unknown, Key extends keyof PickByType<Data, Array<unknown>> = keyof PickByType<Data, Array<unknown>>> = {
29
46
  keyArray: Key;
30
47
  fields: Data[Key] extends Array<infer Inner> ? ListFields<Inner, QueryParams> : [];
48
+ componentItem?: Data[Key] extends Array<infer Inner> ? Raw<FieldComponentItem<Inner>> : never;
31
49
  };
32
50
  export interface ListFieldNestedArray<Data, QueryParams = unknown> extends FieldNestedArray<Data, QueryParams> {
33
51
  cssClass?: string;
@@ -37,13 +55,14 @@ export interface ListFieldNestedArray<Data, QueryParams = unknown> extends Field
37
55
  type FieldNestedArrayGetter<Data, QueryParams = unknown, Inner = unknown> = {
38
56
  getterArray: (data: Data) => Inner[];
39
57
  fields: ListFields<Inner, QueryParams>;
58
+ componentItem?: Raw<FieldComponentItem<Inner>>;
40
59
  };
41
- export interface ListFieldNestedArrayGetter<Data, QueryParams = unknown> extends FieldNestedArrayGetter<Data, QueryParams> {
60
+ export interface ListFieldNestedArrayGetter<Data, QueryParams = unknown, Inner = unknown> extends FieldNestedArrayGetter<Data, QueryParams, Inner> {
42
61
  cssClass?: string;
43
62
  cssClassArray?: string;
44
63
  componentArray?: Raw<FieldComponent<Data>>;
45
64
  }
46
- export type ListFields<Data, QueryParams = unknown> = (ListField<Data, QueryParams> | ListFieldNested<Data, QueryParams> | ListFieldNestedEntity<Data, QueryParams> | ListFieldNestedArray<Data, QueryParams> | ListFieldNestedArrayGetter<Data, QueryParams>)[];
65
+ export type ListFields<Data, QueryParams = unknown> = (ListField<Data, QueryParams> | ListFieldNested<Data, QueryParams> | ListFieldNestedEntity<Data, QueryParams> | ListFieldNestedEntityGetter<Data, QueryParams> | ListFieldNestedArray<Data, QueryParams> | ListFieldNestedArrayGetter<Data, QueryParams>)[];
47
66
  export type MenuComponent<Data> = Component<{
48
67
  item: Data;
49
68
  readonly?: boolean;
@@ -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,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,IAAI;IACnD,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;IACpC,KAAK,EAAE,MAA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AAC,CAAC,GACnE,mBAAmB,CAAC,IAAI,CAAC,GACzB,EAAE,CAAA;AAEN,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,UAAU,CAAC,OAAO,CAAC,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAGpG,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldConfigMap.d.ts","sourceRoot":"","sources":["../../../../src/components/List/use/useFieldConfigMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,QAAQ,EAAC,MAAM,KAAK,CAAA;AACrE,OAAO,KAAK,EAAC,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;AA6DhF,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,OAAO,KAAG,CAUxH,CAAA;AAGD,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,KAAG,MAErF,CAAA;AAGD,eAAO,MAAM,iBAAiB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,QAAQ,CAAC,MAAM,CAAC,UAAU,QAAQ,CAAC,MAAM,CAAC,oBAAoB,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;;;;CA8BzK,CAAA"}
1
+ {"version":3,"file":"useFieldConfigMap.d.ts","sourceRoot":"","sources":["../../../../src/components/List/use/useFieldConfigMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,QAAQ,EAAC,MAAM,KAAK,CAAA;AACrE,OAAO,KAAK,EAAC,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;AA6DhF,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,OAAO,KAAG,CAUxH,CAAA;AAGD,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,KAAG,MAErF,CAAA;AAGD,eAAO,MAAM,iBAAiB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,QAAQ,CAAC,MAAM,CAAC,UAAU,QAAQ,CAAC,MAAM,CAAC,oBAAoB,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;;;;CAkCzK,CAAA"}
@@ -73,6 +73,9 @@ const useFieldConfigMap = (key, fields, defaultConfigMap) => {
73
73
  value.value = parseFieldConfigMap(getFieldConfigMap(unref(newKey)), unref(fields), unref(defaultConfigMap));
74
74
  });
75
75
  }
76
+ if (isRef(defaultConfigMap)) watch(defaultConfigMap, (newValue) => {
77
+ value.value = parseFieldConfigMap(getFieldConfigMap(unref(key)), unref(fields), newValue);
78
+ });
76
79
  return {
77
80
  fieldConfigMap,
78
81
  hasSaved,
@@ -175,4 +175,12 @@ declare type ObjectFromEntries<List> = {
175
175
  [KeyValue in List as KeyValue[0]]: KeyValue[1]
176
176
  }
177
177
 
178
- declare type ObjectPaths<Model, FieldType, IncludeNull = false> = ObjectFromEntries<PathsEntries<Model, FieldType, IncludeNull>[number]>
178
+ declare type ObjectPaths<Model, FieldType, IncludeNull = false> = ObjectFromEntries<PathsEntries<Model, FieldType, IncludeNull>[number]>
179
+
180
+ declare type IsTuple<T> = [T] extends [never]
181
+ ? false
182
+ : T extends unknown[]
183
+ ? number extends T['length']
184
+ ? false
185
+ : true
186
+ : false
@@ -19,6 +19,6 @@ export declare const isIndex: (value: unknown) => value is number;
19
19
  export declare const parseIndex: (value: unknown) => number;
20
20
  export declare const get: <FieldType, Data extends Record<string, unknown>>(data: Data, path: keyof ObjectPaths<Data, FieldType>) => FieldType | undefined;
21
21
  export declare const set: <FieldType, Data extends Record<string, unknown>>(data: Data, path: keyof ObjectPaths<Data, FieldType>, value: FieldType) => Data;
22
- export declare const getDefaultFieldConfigMap: <Fields extends ListFields<any, any>>(fields: Fields, visible: GetFieldLabels<Fields>[]) => FieldConfigMap<Fields>;
22
+ export declare const getDefaultFieldConfigMap: <Fields extends ListFields<any, any>>(fields: Fields, visible: true extends IsTuple<Fields> ? GetFieldLabels<Fields>[] : string[]) => FieldConfigMap<Fields>;
23
23
  export {};
24
24
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,cAAc,EAAE,cAAc,EAAE,UAAU,EAAC,MAAM,yBAAyB,CAAA;AAYpG,eAAO,MAAM,eAAe,SAAU,OAAO,KAAG,OAAO,GAAG,IAKhD,CAAA;AAEV,eAAO,MAAM,mBAAmB,UAAW,OAAO,mBAAa,KAAK,CAAC,OAAO,CAa3E,CAAA;AAED,eAAO,MAAM,SAAS,WAAY,OAAO,WAAW,OAAO,KAAG,OAI7D,CAAA;AAGD,KAAK,UAAU,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;AAE1C,wBAAgB,QAAQ,CAAC,CAAC,SAAS,UAAU,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,SAAM,GAAG,CAAC,CAWpE;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,UAAU,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,SAAM,GAAG,CAAC,CAYpE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AAED,eAAO,MAAM,OAAO,UAAW,OAAO,KAAG,MAUxC,CAAA;AAED,eAAO,MAAM,MAAM,UAAW,OAAO,KAAG,KAAK,IAAI,MAAqB,CAAA;AAEtE,eAAO,MAAM,OAAO,UAAW,OAAO,KAAG,KAAK,IAAI,MAEjD,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,OAAO,KAAG,MAU3C,CAAA;AAED,eAAO,MAAM,GAAG,GAAI,SAAS,EAAE,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,IAAI,QAAQ,MAAM,WAAW,CAAC,IAAI,EAAE,SAAS,CAAC,KAAG,SAAS,GAAG,SAA8H,CAAA;AAEtQ,eAAO,MAAM,GAAG,GAAI,SAAS,EAAE,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,IAAI,QAAQ,MAAM,WAAW,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,SAAS,KAAG,IAe7I,CAAA;AAGD,eAAO,MAAM,wBAAwB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,MAAM,WAAW,IAAI,SAAS,OAAO,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,EAAE,KAAG,cAAc,CAAC,MAAM,CAiBhM,CAAA"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.8.26",
7
+ "version": "0.8.28",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",