@aplus-frontend/ui 7.11.1 → 7.11.3

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 (49) hide show
  1. package/es/src/ag-grid/editable/utils.mjs +28 -22
  2. package/es/src/business/ap-copy/constans.mjs +1 -1
  3. package/es/src/business/ap-copy/style/index.mjs +1 -1
  4. package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  5. package/es/src/business/ap-product-info/ApProductInfo.mjs +5 -5
  6. package/es/src/business/ap-product-info/constans.d.ts +4 -0
  7. package/es/src/business/ap-product-info/constans.mjs +4 -0
  8. package/es/src/business/ap-product-info/index.d.ts +15 -0
  9. package/es/src/business/ap-product-info/interface.d.ts +1 -0
  10. package/es/src/business/ap-product-info/style/index.mjs +2 -1
  11. package/es/src/business/ap-view/ap-view.vue2.mjs +36 -33
  12. package/es/src/business/ap-view/interface.d.ts +4 -0
  13. package/es/src/business/batch-input-group/form-item.vue.mjs +24 -22
  14. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  15. package/es/src/splitter/SplitBar.vue2.mjs +152 -112
  16. package/es/src/splitter/Splitter.vue2.mjs +67 -61
  17. package/es/src/splitter/hooks/useItems.d.ts +1 -0
  18. package/es/src/splitter/hooks/useItems.mjs +20 -16
  19. package/es/src/splitter/hooks/useResizable.d.ts +3 -0
  20. package/es/src/splitter/hooks/useResizable.mjs +50 -27
  21. package/es/src/splitter/interface.d.ts +12 -1
  22. package/es/src/splitter/style/index.mjs +51 -15
  23. package/es/src/version.d.ts +1 -1
  24. package/es/src/version.mjs +1 -1
  25. package/lib/src/ag-grid/editable/utils.js +1 -1
  26. package/lib/src/business/ap-copy/constans.js +1 -1
  27. package/lib/src/business/ap-copy/style/index.js +1 -1
  28. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  29. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  30. package/lib/src/business/ap-product-info/constans.d.ts +4 -0
  31. package/lib/src/business/ap-product-info/constans.js +1 -1
  32. package/lib/src/business/ap-product-info/index.d.ts +15 -0
  33. package/lib/src/business/ap-product-info/interface.d.ts +1 -0
  34. package/lib/src/business/ap-product-info/style/index.js +1 -1
  35. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  36. package/lib/src/business/ap-view/interface.d.ts +4 -0
  37. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  38. package/lib/src/business/batch-input-group/index.vue.js +1 -1
  39. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  40. package/lib/src/splitter/Splitter.vue2.js +1 -1
  41. package/lib/src/splitter/hooks/useItems.d.ts +1 -0
  42. package/lib/src/splitter/hooks/useItems.js +1 -1
  43. package/lib/src/splitter/hooks/useResizable.d.ts +3 -0
  44. package/lib/src/splitter/hooks/useResizable.js +1 -1
  45. package/lib/src/splitter/interface.d.ts +12 -1
  46. package/lib/src/splitter/style/index.js +1 -1
  47. package/lib/src/version.d.ts +1 -1
  48. package/lib/src/version.js +1 -1
  49. package/package.json +5 -5
@@ -1,38 +1,44 @@
1
- import { isString as u } from "lodash-unified";
2
- import s from "../../ap-form/utils/set.mjs";
3
- function i(o, t, r) {
1
+ import { isString as s } from "lodash-unified";
2
+ import u from "../../ap-form/utils/set.mjs";
3
+ import { getFieldProps as c } from "../../ap-table/utils.mjs";
4
+ function i(n, t, r) {
4
5
  if (r)
5
- return u(r) ? o[r] : r(o, t);
6
+ return s(r) ? n[r] : r(n, t);
6
7
  }
7
- function m(o, t) {
8
+ function d(n, t) {
8
9
  const r = {};
9
- return o.forEach((e, n) => {
10
- const f = i(e, n, t);
10
+ return n.forEach((e, o) => {
11
+ const f = i(e, o, t);
11
12
  r[f] = e;
12
13
  }), r;
13
14
  }
14
- function p(o, t, r) {
15
- return o.map((e, n) => {
16
- const f = i(e, n, t);
15
+ function g(n, t, r) {
16
+ return n.map((e, o) => {
17
+ const f = i(e, o, t);
17
18
  return r[f] ?? e;
18
19
  });
19
20
  }
20
- function d(o) {
21
+ function h(n) {
21
22
  let t = {};
22
23
  function r(e) {
23
- for (const n of e)
24
- n.children?.length ? r(n.children) : n.fieldProps?.transform && (t = s(
25
- t,
26
- [n.dataIndex].flat(1),
27
- n.fieldProps.transform,
28
- !0
29
- ));
24
+ for (const o of e)
25
+ if (o.children?.length)
26
+ r(o.children);
27
+ else {
28
+ const f = c(o.fieldProps, {});
29
+ f?.transform && (t = u(
30
+ t,
31
+ [o.dataIndex].flat(1),
32
+ f.transform,
33
+ !0
34
+ ));
35
+ }
30
36
  }
31
- return r(o), t;
37
+ return r(n), t;
32
38
  }
33
39
  export {
34
- m as arrayToObject,
35
- d as getColumnTransformOptions,
40
+ d as arrayToObject,
41
+ h as getColumnTransformOptions,
36
42
  i as getRowKey,
37
- p as updateArrItem
43
+ g as updateArrItem
38
44
  };
@@ -5,7 +5,7 @@ const t = () => ({
5
5
  },
6
6
  size: {
7
7
  type: Number,
8
- default: 14
8
+ default: 12
9
9
  },
10
10
  textStyle: {
11
11
  type: [String, Object],
@@ -39,7 +39,7 @@ const r = (o) => {
39
39
  marginInlineStart: o.spaceXS,
40
40
  display: "flex",
41
41
  alignItems: "center",
42
- fontSize: o.fontSizeLG,
42
+ fontSize: o.fontSize,
43
43
  color: o.textColor4,
44
44
  cursor: "pointer",
45
45
  "&:hover": {
@@ -21,6 +21,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
23
23
  };
24
+ showImg: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
24
28
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
25
29
  title: {
26
30
  type: StringConstructor;
@@ -42,11 +46,16 @@ declare const _default: DefineComponent<ExtractPropTypes<{
42
46
  type: BooleanConstructor;
43
47
  default: boolean;
44
48
  };
49
+ showImg: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
45
53
  }>> & Readonly<{}>, {
46
54
  values: ApProductInfoValue[];
47
55
  title: string;
48
56
  preview: boolean;
49
57
  disableCopy: boolean;
50
58
  imgSrc: string;
59
+ showImg: boolean;
51
60
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
61
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as f, h as t, createVNode as e, createTextVNode as v } from "vue";
2
- import { Space as y, Tooltip as h } from "@aplus-frontend/antdv";
2
+ import { Space as h, Tooltip as y } from "@aplus-frontend/antdv";
3
3
  import { IconApAdFillWarn as g } from "@aplus-frontend/icon";
4
4
  import "../../config-provider/index.mjs";
5
5
  import { ApCopy as s } from "../ap-copy/index.mjs";
6
6
  import { ApImage as m } from "../ap-image/index.mjs";
7
7
  import { ApProductInfoProps as k } from "./constans.mjs";
8
8
  import b from "./style/index.mjs";
9
- import { useNamespace as A } from "../../config-provider/hooks/use-namespace.mjs";
9
+ import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
10
10
  const T = /* @__PURE__ */ f({
11
11
  name: "ApProductInfo",
12
12
  props: k(),
@@ -15,11 +15,11 @@ const T = /* @__PURE__ */ f({
15
15
  b: i,
16
16
  e: o,
17
17
  m: a
18
- } = A("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(y.Compact, {}, [t(s, {
18
+ } = w("ap-product-info"), c = b("ap-product-info"), p = (l) => typeof l.value == "function" ? l.value() : l.helpMessage ? t(h.Compact, {}, [t(s, {
19
19
  text: l.value,
20
20
  link: l.link,
21
21
  textStyle: l.link ? "link" : "minor"
22
- }), t(h, {
22
+ }), t(y, {
23
23
  placement: "top",
24
24
  color: l.toolTipBgColor,
25
25
  title: typeof l.helpMessage == "string" ? l.helpMessage : t(l.helpMessage)
@@ -36,7 +36,7 @@ const T = /* @__PURE__ */ f({
36
36
  }, l.value);
37
37
  return () => e("div", {
38
38
  class: [i(), c.value]
39
- }, [e("div", {
39
+ }, [r.showImg && e("div", {
40
40
  class: o("img")
41
41
  }, [e(m, {
42
42
  src: r.imgSrc,
@@ -21,4 +21,8 @@ export declare const ApProductInfoProps: () => {
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
23
23
  };
24
+ showImg: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
24
28
  };
@@ -18,6 +18,10 @@ const e = () => ({
18
18
  disableCopy: {
19
19
  type: Boolean,
20
20
  default: !1
21
+ },
22
+ showImg: {
23
+ type: Boolean,
24
+ default: !0
21
25
  }
22
26
  });
23
27
  export {
@@ -23,12 +23,17 @@ declare const ApProductInfo: {
23
23
  type: BooleanConstructor;
24
24
  default: boolean;
25
25
  };
26
+ showImg: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
26
30
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
27
31
  values: ApProductInfoValue[];
28
32
  title: string;
29
33
  preview: boolean;
30
34
  disableCopy: boolean;
31
35
  imgSrc: string;
36
+ showImg: boolean;
32
37
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
33
38
  P: {};
34
39
  B: {};
@@ -57,12 +62,17 @@ declare const ApProductInfo: {
57
62
  type: BooleanConstructor;
58
63
  default: boolean;
59
64
  };
65
+ showImg: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
60
69
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
61
70
  values: ApProductInfoValue[];
62
71
  title: string;
63
72
  preview: boolean;
64
73
  disableCopy: boolean;
65
74
  imgSrc: string;
75
+ showImg: boolean;
66
76
  }>;
67
77
  __isFragment?: never;
68
78
  __isTeleport?: never;
@@ -88,12 +98,17 @@ declare const ApProductInfo: {
88
98
  type: BooleanConstructor;
89
99
  default: boolean;
90
100
  };
101
+ showImg: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
91
105
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
92
106
  values: ApProductInfoValue[];
93
107
  title: string;
94
108
  preview: boolean;
95
109
  disableCopy: boolean;
96
110
  imgSrc: string;
111
+ showImg: boolean;
97
112
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
98
113
  $props: {
99
114
  onClick?: () => void;
@@ -5,6 +5,7 @@ export interface ApProductInfoProps {
5
5
  title?: string;
6
6
  values?: ApProductInfoValue[];
7
7
  disableCopy?: boolean;
8
+ showImg?: boolean;
8
9
  }
9
10
  export interface ApProductInfoValue {
10
11
  label?: string;
@@ -30,7 +30,8 @@ const o = (i) => {
30
30
  height: "12px",
31
31
  top: "50%",
32
32
  marginBlockStart: i.calc(i.spaceSM).mul(-1).equal(),
33
- marginInlineEnd: i.spaceXL,
33
+ marginInlineEnd: i.spaceLG,
34
+ marginInlineStart: i.spaceSM,
34
35
  zIndex: 1
35
36
  },
36
37
  [`${l}__divider-vertical`]: {
@@ -36,7 +36,8 @@ const De = /* @__PURE__ */ U({
36
36
  type: Boolean,
37
37
  default: !1
38
38
  },
39
- emptyData: {}
39
+ emptyData: {},
40
+ extraParams: {}
40
41
  },
41
42
  setup(I, {
42
43
  expose: N
@@ -49,15 +50,15 @@ const De = /* @__PURE__ */ U({
49
50
  viewKey: c,
50
51
  viewName: O("ap.apView.systemView")
51
52
  })), {
52
- getSearchFormValues: L,
53
- setSearchFormValues: x,
53
+ getSearchFormValues: x,
54
+ setSearchFormValues: L,
54
55
  submit: B,
55
- reset: E,
56
- submitWith: k,
57
- getSearchFormSorterItems: A,
58
- setSearchFormSorterItems: P,
56
+ reset: P,
57
+ submitWith: E,
58
+ getSearchFormSorterItems: k,
59
+ setSearchFormSorterItems: A,
59
60
  resetSearchFormSorterItems: T
60
- } = X(), W = y(!1), S = y(!1), v = y("");
61
+ } = X(), W = y(!1), S = y(!1), p = y("");
61
62
  let f = !1, g = !1;
62
63
  const j = {
63
64
  dropdownType: "dropdown",
@@ -70,26 +71,28 @@ const De = /* @__PURE__ */ U({
70
71
  view: t
71
72
  }, null)
72
73
  }))), r = {
73
- getSearchFormValues: L,
74
- setSearchFormValues: x,
74
+ getSearchFormValues: x,
75
+ setSearchFormValues: L,
75
76
  submit: B,
76
- reset: E,
77
- submitWith: k,
78
- getSearchFormSorterItems: A,
79
- setSearchFormSorterItems: P,
77
+ reset: P,
78
+ submitWith: E,
79
+ getSearchFormSorterItems: k,
80
+ setSearchFormSorterItems: A,
80
81
  resetSearchFormSorterItems: T,
81
82
  ...s.saveDataSource
82
- }, p = {
83
+ }, v = {
83
84
  ..._.value,
84
85
  ...s.viewCacheOption
85
- }, D = () => s.isDefaultSystemView ? c : (s.isFirstDefaultSystemView || g) && f ? c : i.value.find((a) => a.isDefault)?.viewKey ?? c, l = (t) => {
86
- v.value = t;
87
- const a = i.value.find((e) => e.viewKey === v.value);
86
+ }, D = () => s.isDefaultSystemView ? c : (s.isFirstDefaultSystemView || g) && f ? c : i.value.find((a) => a.isDefault)?.viewKey ?? c, m = (t) => {
87
+ p.value = t;
88
+ const a = i.value.find((e) => e.viewKey === p.value);
88
89
  a && setTimeout(() => {
89
90
  a.viewKey === c ? f ? s.manual || r?.submitWith?.() : s.manual || (r?.resetSearchFormSorterItems?.(), r?.reset?.()) : (r?.setSearchFormValues?.({
90
91
  ...Object.fromEntries(Object.keys(r?.getSearchFormValues?.() ?? {}).map((e) => [e, void 0])) ?? {},
91
92
  ...s?.emptyData ?? {},
92
- ...r?.getSearchFormSorterItems?.()?.reduce((e, o) => (a.viewConfig?.searchForm?.[o.name] && (e[o.name] = a.viewConfig?.searchForm?.[o.name]), e), {}) ?? {}
93
+ ...[...r?.getSearchFormSorterItems?.() ?? [], ...s?.extraParams?.map((e) => ({
94
+ name: e
95
+ })) ?? []].reduce((e, o) => (a.viewConfig?.searchForm?.[o.name] && (e[o.name] = a.viewConfig?.searchForm?.[o.name]), e), {}) ?? {}
93
96
  }), r?.setSearchFormSorterItems?.(a.viewConfig?.sorterItems ?? []), f ? s.manual || r?.submitWith?.() : r?.submit?.()), f = !1;
94
97
  });
95
98
  }, C = {
@@ -97,12 +100,12 @@ const De = /* @__PURE__ */ U({
97
100
  try {
98
101
  const {
99
102
  tableKey: a
100
- } = t, e = await p?.getViewList?.({
103
+ } = t, e = await v?.getViewList?.({
101
104
  tableKey: a
102
105
  });
103
- return i.value = [V.value, ...e ?? []], l(D()), i.value;
106
+ return i.value = [V.value, ...e ?? []], m(D()), i.value;
104
107
  } catch {
105
- return i.value = [V.value], l(c), i.value;
108
+ return i.value = [V.value], m(c), i.value;
106
109
  }
107
110
  },
108
111
  addView: async (t) => {
@@ -113,21 +116,21 @@ const De = /* @__PURE__ */ U({
113
116
  isDefault: n,
114
117
  viewConfig: w
115
118
  } = t;
116
- await p?.addView?.({
119
+ await v?.addView?.({
117
120
  tableKey: a,
118
121
  viewKey: e,
119
122
  viewName: o,
120
123
  isDefault: n,
121
124
  viewConfig: w
122
- }), n && (i.value = i.value.map((m) => ({
123
- ...m,
125
+ }), n && (i.value = i.value.map((l) => ({
126
+ ...l,
124
127
  isDefault: !1
125
128
  }))), i.value = [...i.value, {
126
129
  viewKey: e,
127
130
  viewName: o,
128
131
  isDefault: n,
129
132
  viewConfig: w
130
- }], l(e);
133
+ }], m(e);
131
134
  },
132
135
  changeView: async (t) => {
133
136
  const {
@@ -137,7 +140,7 @@ const De = /* @__PURE__ */ U({
137
140
  isDefault: n,
138
141
  viewConfig: w
139
142
  } = t;
140
- await p?.changeView?.({
143
+ await v?.changeView?.({
141
144
  tableKey: a,
142
145
  viewKey: e,
143
146
  viewName: o,
@@ -147,23 +150,23 @@ const De = /* @__PURE__ */ U({
147
150
  ...h,
148
151
  isDefault: !1
149
152
  })));
150
- const m = i.value.find((h) => h.viewKey === e);
151
- m && (m.viewName = o, m.isDefault = n, m.viewConfig = w), l(e);
153
+ const l = i.value.find((h) => h.viewKey === e);
154
+ l && (l.viewName = o, l.isDefault = n, l.viewConfig = w), m(e);
152
155
  },
153
156
  removeView: async (t) => {
154
157
  const {
155
158
  tableKey: a,
156
159
  viewKey: e
157
160
  } = t;
158
- await p?.removeView?.({
161
+ await v?.removeView?.({
159
162
  tableKey: a,
160
163
  viewKey: e
161
- }), i.value = i.value.filter((o) => o.viewKey !== e), e === v.value && l(D());
164
+ }), i.value = i.value.filter((o) => o.viewKey !== e), e === p.value && m(D());
162
165
  }
163
166
  }, $ = {
164
167
  tableKey: s.tableKey,
165
- currentViewKey: v,
166
- changeCurrentViewKey: l,
168
+ currentViewKey: p,
169
+ changeCurrentViewKey: m,
167
170
  popoverOpen: W,
168
171
  menuOpen: S,
169
172
  viewList: i,
@@ -86,6 +86,10 @@ export interface ApViewProps {
86
86
  * 表单项为空时的状态数据,适用于为空时其值不为undefined的情况
87
87
  */
88
88
  emptyData?: Recordable;
89
+ /**
90
+ * 视图额外需要被设置的参数Key
91
+ */
92
+ extraParams?: string[];
89
93
  }
90
94
  export interface ApViewExpose {
91
95
  setFirstDefaultSystemView: (value: boolean) => void;
@@ -59,26 +59,28 @@ const P = /* @__PURE__ */ m({
59
59
  defaultSelectedAllKey: { type: Boolean }
60
60
  },
61
61
  setup(d) {
62
- const t = d, { internalInstance: s } = b(), u = a(() => t?.transform || {
62
+ const e = d, { internalInstance: s } = b(), u = a(() => e?.transform || {
63
63
  flat: !1,
64
- transformer: (e) => {
65
- if (e)
66
- return !e?.value || e?.value?.length < 1 ? void 0 : t?.field?.options ? {
67
- ...e,
68
- value: e?.value?.filter((l) => i(l?.trim()))?.map((l) => t.trim ? l?.trim() : l)
69
- } : e?.value?.filter((l) => i(l?.trim()))?.map((l) => t.trim ? l?.trim() : l);
64
+ transformer: (l) => {
65
+ if (l)
66
+ return !l?.value || l?.value?.length < 1 ? void 0 : e?.field?.options ? {
67
+ ...l,
68
+ value: l?.value?.filter((t) => i(t?.trim()))?.map((t) => e.trim ? t?.trim() : t)
69
+ } : l?.value?.filter((t) => i(t?.trim()))?.map((t) => e.trim ? t?.trim() : t);
70
70
  }
71
- }), p = a(() => t.field?.style || "width:auto"), f = a(() => {
72
- if (t.initialValue)
73
- return t.initialValue;
74
- const e = s?.getInitialValues();
75
- if (!B(e, t.name))
76
- return {
77
- key: t?.field?.options?.map((l) => l.value)
71
+ }), f = a(() => e.field?.style || "width:auto"), p = a(() => {
72
+ if (e.initialValue)
73
+ return e.initialValue;
74
+ const l = s?.getInitialValues();
75
+ if (!B(l, e.name))
76
+ return e.field.hasAll === !1 ? {
77
+ key: [e?.field?.options?.[0]?.value]
78
+ } : {
79
+ key: e?.field?.options?.map((t) => t.value)
78
80
  };
79
81
  });
80
- return (e, l) => (v(), c(g, o(
81
- r(n)(t, [
82
+ return (l, t) => (v(), c(g, o(
83
+ r(n)(e, [
82
84
  "field",
83
85
  "initialValue",
84
86
  "transform",
@@ -86,16 +88,16 @@ const P = /* @__PURE__ */ m({
86
88
  "disabled"
87
89
  ]),
88
90
  {
89
- "initial-value": f.value,
91
+ "initial-value": p.value,
90
92
  transform: u.value,
91
- bordered: e.field?.options?.length ? !1 : e.bordered
93
+ bordered: l.field?.options?.length ? !1 : l.bordered
92
94
  }
93
95
  ), {
94
96
  default: y(() => [
95
- h(V, o(r(n)(t.field, ["style"]), {
96
- style: p.value,
97
- disabled: e.disabled,
98
- placeholer: e.placeholer
97
+ h(V, o(r(n)(e.field, ["style"]), {
98
+ style: f.value,
99
+ disabled: l.disabled,
100
+ placeholer: l.placeholer
99
101
  }), null, 16, ["style", "disabled", "placeholer"])
100
102
  ]),
101
103
  _: 1
@@ -97,7 +97,7 @@ const d = "GROUP_SEARCH_ALL", Ve = /* @__PURE__ */ $({
97
97
  return e.length === 1 || !o.hasAll ? e[0] : d;
98
98
  }), L = r(() => {
99
99
  const e = t(a)?.key;
100
- return !e || e?.length <= 1 ? t(I) : (o.options || []).filter((n) => e.includes(n.value)).map((n) => n.label).join("/");
100
+ return !e || e?.length <= 1 || o.hasAll === !1 ? t(I) : (o.options || []).filter((n) => e.includes(n.value)).map((n) => n.label).join("/");
101
101
  });
102
102
  function O(e) {
103
103
  const l = t(a) || {}, n = e === d ? t(R) : oe(e) ? [e] : [];