@aplus-frontend/ui 0.2.6 → 0.2.8

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 (75) hide show
  1. package/es/index.mjs +151 -147
  2. package/es/src/ap-field/interface.d.ts +2 -1
  3. package/es/src/ap-field/switch/index.vue.mjs +50 -49
  4. package/es/src/ap-form/drawer-form/index.vue.mjs +104 -99
  5. package/es/src/ap-table/constants.d.ts +7 -1189
  6. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +50 -0
  7. package/es/src/business/ap-group-search/ap-group-search.vue.mjs +4 -0
  8. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +184 -0
  9. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +355 -0
  10. package/es/src/business/ap-group-search/extension-select/index.vue.mjs +4 -0
  11. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +118 -0
  12. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +3 -0
  13. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +28 -0
  14. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +3 -0
  15. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +45 -0
  16. package/es/src/business/ap-group-search/index.d.ts +2823 -0
  17. package/es/src/business/ap-group-search/index.mjs +14 -0
  18. package/es/src/business/ap-group-search/interface.d.ts +11 -0
  19. package/es/src/business/ap-group-search/interface.mjs +1 -0
  20. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +357 -0
  21. package/es/src/business/ap-group-search/popover-select/index.vue.mjs +4 -0
  22. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +192 -0
  23. package/es/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  24. package/es/src/business/ap-group-search/popover-select/style/css.js +1 -0
  25. package/es/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  26. package/es/src/business/ap-group-search/popover-select/style/index.js +1 -0
  27. package/es/src/business/ap-group-search/style/css.d.ts +0 -0
  28. package/es/src/business/ap-group-search/style/css.js +1 -0
  29. package/es/src/business/ap-group-search/style/index.d.ts +0 -0
  30. package/es/src/business/ap-group-search/style/index.js +1 -0
  31. package/es/src/business/index.d.ts +1 -0
  32. package/es/src/business/index.mjs +30 -26
  33. package/es/src/check-card/index.vue2.mjs +43 -43
  34. package/es/src/index.mjs +33 -29
  35. package/es/src/locale/lang/en.mjs +8 -0
  36. package/es/src/locale/lang/zh-cn.mjs +8 -0
  37. package/es/src/path-map.mjs +3 -1
  38. package/lib/index.js +1 -1
  39. package/lib/src/ap-field/interface.d.ts +2 -1
  40. package/lib/src/ap-field/switch/index.vue.js +1 -1
  41. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  42. package/lib/src/ap-table/constants.d.ts +7 -1189
  43. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +50 -0
  44. package/lib/src/business/ap-group-search/ap-group-search.vue.js +1 -0
  45. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -0
  46. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +355 -0
  47. package/lib/src/business/ap-group-search/extension-select/index.vue.js +1 -0
  48. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -0
  49. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +3 -0
  50. package/lib/src/business/ap-group-search/images/icon-down.vue.js +1 -0
  51. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +3 -0
  52. package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +1 -0
  53. package/lib/src/business/ap-group-search/index.d.ts +2823 -0
  54. package/lib/src/business/ap-group-search/index.js +1 -0
  55. package/lib/src/business/ap-group-search/interface.d.ts +11 -0
  56. package/lib/src/business/ap-group-search/interface.js +1 -0
  57. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +357 -0
  58. package/lib/src/business/ap-group-search/popover-select/index.vue.js +1 -0
  59. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -0
  60. package/lib/src/business/ap-group-search/popover-select/style/css.d.ts +0 -0
  61. package/lib/src/business/ap-group-search/popover-select/style/css.js +1 -0
  62. package/lib/src/business/ap-group-search/popover-select/style/index.d.ts +0 -0
  63. package/lib/src/business/ap-group-search/popover-select/style/index.js +1 -0
  64. package/lib/src/business/ap-group-search/style/css.d.ts +0 -0
  65. package/lib/src/business/ap-group-search/style/css.js +1 -0
  66. package/lib/src/business/ap-group-search/style/index.d.ts +0 -0
  67. package/lib/src/business/ap-group-search/style/index.js +1 -0
  68. package/lib/src/business/index.d.ts +1 -0
  69. package/lib/src/business/index.js +1 -1
  70. package/lib/src/check-card/index.vue2.js +1 -1
  71. package/lib/src/index.js +1 -1
  72. package/lib/src/locale/lang/en.js +1 -1
  73. package/lib/src/locale/lang/zh-cn.js +1 -1
  74. package/lib/src/path-map.js +1 -1
  75. package/package.json +21 -8
@@ -0,0 +1,118 @@
1
+ import { defineComponent as h, ref as r, watchEffect as f, openBlock as g, createBlock as C, unref as p, normalizeStyle as v, withCtx as y, createVNode as w } from "vue";
2
+ import { Select as B } from "@aplus-frontend/antdv";
3
+ import "../popover-select/index.vue.mjs";
4
+ import "../../../config-provider/index.mjs";
5
+ import { useGlobalConfig as S } from "../../../config-provider/hooks/use-global-config.mjs";
6
+ import b from "../popover-select/index.vue2.mjs";
7
+ const P = /* @__PURE__ */ h({
8
+ __name: "index",
9
+ props: {
10
+ value: {},
11
+ defaultValue: {},
12
+ notFoundContent: {},
13
+ itemIcon: {},
14
+ size: {},
15
+ bordered: { type: Boolean },
16
+ transitionName: {},
17
+ choiceTransitionName: {},
18
+ popupClassName: {},
19
+ dropdownClassName: {},
20
+ placement: {},
21
+ status: {},
22
+ "onUpdate:value": {},
23
+ children: {},
24
+ listHeight: {},
25
+ onMouseenter: {},
26
+ onMouseleave: {},
27
+ tabindex: {},
28
+ onClick: {},
29
+ onFocus: {},
30
+ onBlur: {},
31
+ onChange: {},
32
+ onKeydown: {},
33
+ onKeyup: {},
34
+ onMousedown: {},
35
+ onSelect: {},
36
+ open: { type: Boolean },
37
+ animation: {},
38
+ direction: {},
39
+ disabled: { type: Boolean },
40
+ prefixCls: {},
41
+ id: {},
42
+ autofocus: { type: Boolean },
43
+ getPopupContainer: {},
44
+ virtual: { type: Boolean },
45
+ dropdownMatchSelectWidth: {},
46
+ options: {},
47
+ showAction: {},
48
+ onDeselect: {},
49
+ loading: { type: Boolean },
50
+ placeholder: {},
51
+ clearIcon: {},
52
+ allowClear: { type: Boolean },
53
+ onSearch: {},
54
+ fieldNames: {},
55
+ dropdownStyle: {},
56
+ dropdownRender: {},
57
+ dropdownAlign: {},
58
+ showSearch: { type: Boolean },
59
+ searchValue: {},
60
+ onInputKeyDown: {},
61
+ removeIcon: {},
62
+ maxTagCount: {},
63
+ maxTagTextLength: {},
64
+ maxTagPlaceholder: {},
65
+ tokenSeparators: {},
66
+ tagRender: {},
67
+ optionLabelRender: {},
68
+ onClear: {},
69
+ defaultOpen: { type: Boolean },
70
+ onDropdownVisibleChange: {},
71
+ showArrow: { type: Boolean },
72
+ onPopupScroll: {},
73
+ menuItemSelectedIcon: {},
74
+ listItemHeight: {},
75
+ inputValue: {},
76
+ autoClearSearchValue: { type: Boolean },
77
+ filterOption: {},
78
+ filterSort: {},
79
+ optionFilterProp: {},
80
+ optionLabelProp: {},
81
+ defaultActiveFirstOption: { type: Boolean },
82
+ labelInValue: { type: Boolean }
83
+ },
84
+ emits: ["change"],
85
+ setup(i, { emit: u }) {
86
+ const s = S("uiMode", "aplus"), a = i, e = r(a.value), t = r(!1), d = u, c = (o) => {
87
+ e.value = o;
88
+ }, m = (o) => {
89
+ o && (t.value = !1);
90
+ };
91
+ return f(() => {
92
+ d("change", e.value);
93
+ }), (o, n) => (g(), C(p(B), {
94
+ value: e.value,
95
+ style: v(o.$attrs.style),
96
+ bordered: p(s) === "admin",
97
+ mode: "tags",
98
+ showArrow: !0,
99
+ open: t.value,
100
+ onDropdownVisibleChange: n[0] || (n[0] = (l) => t.value = l),
101
+ onChange: n[1] || (n[1] = (l) => e.value = l),
102
+ maxTagCount: a.maxTagCount,
103
+ placeholder: a.placeholder
104
+ }, {
105
+ suffixIcon: y(() => [
106
+ w(b, {
107
+ value: e.value,
108
+ onSubmit: c,
109
+ onOpenChange: m
110
+ }, null, 8, ["value"])
111
+ ]),
112
+ _: 1
113
+ }, 8, ["value", "style", "bordered", "open", "maxTagCount", "placeholder"]));
114
+ }
115
+ });
116
+ export {
117
+ P as default
118
+ };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { createElementVNode as o, openBlock as t, createElementBlock as e } from "vue";
2
+ import n from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const c = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
+ fill: "none",
7
+ version: "1.1",
8
+ width: "16",
9
+ height: "16",
10
+ viewBox: "0 0 16 16"
11
+ }, r = /* @__PURE__ */ o("g", null, [
12
+ /* @__PURE__ */ o("g", null, [
13
+ /* @__PURE__ */ o("path", {
14
+ d: "M5.248374744964599,6C4.7452713449646,6,4.465567744964599,6.581959,4.7798537449645995,6.974817L7.5314787449646,10.414349999999999C7.7716787449646,10.714590000000001,8.2283287449646,10.714590000000001,8.4685187449646,10.414349999999999L11.2201487449646,6.974817C11.5344287449646,6.581959,11.254728744964599,6,10.751628744964599,6L5.248374744964599,6Z",
15
+ fill: "currentcolor",
16
+ "fill-opacity": "1"
17
+ })
18
+ ])
19
+ ], -1), i = [
20
+ r
21
+ ];
22
+ function s(_, w) {
23
+ return t(), e("svg", l, i);
24
+ }
25
+ const d = /* @__PURE__ */ n(c, [["render", s]]);
26
+ export {
27
+ d as default
28
+ };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
+ export default _default;
@@ -0,0 +1,45 @@
1
+ import { createElementVNode as Q, openBlock as l, createElementBlock as e } from "vue";
2
+ import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const o = {}, n = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
+ fill: "none",
7
+ version: "1.1",
8
+ width: "16",
9
+ height: "16",
10
+ viewBox: "0 0 16 16"
11
+ }, i = /* @__PURE__ */ Q("g", null, [
12
+ /* @__PURE__ */ Q("g", null, [
13
+ /* @__PURE__ */ Q("path", {
14
+ d: "M3,4.5L13,4.5Q13.0492,4.5,13.0975,4.509607Q13.1458,4.519215,13.1913,4.53806Q13.2368,4.556906,13.2778,4.584265Q13.3187,4.611625,13.3536,4.646447Q13.3884,4.681269,13.4157,4.722215Q13.4431,4.763161,13.4619,4.808658Q13.4808,4.854155,13.4904,4.9024549Q13.5,4.9507543,13.5,5Q13.5,5.0492457,13.4904,5.0975451Q13.4808,5.145845,13.4619,5.191342Q13.4431,5.236839,13.4157,5.277785Q13.3884,5.318731,13.3536,5.353553Q13.3187,5.388375,13.2778,5.415735Q13.2368,5.443094,13.1913,5.46194Q13.1458,5.480785,13.0975,5.490393Q13.0492,5.5,13,5.5L3,5.5Q2.9507543,5.5,2.9024549,5.490393Q2.854155,5.480785,2.808658,5.46194Q2.763161,5.443094,2.722215,5.415735Q2.681269,5.388375,2.646447,5.353553Q2.611625,5.318731,2.584265,5.277785Q2.556906,5.236839,2.5380599999999998,5.191342Q2.519215,5.145845,2.509607,5.0975451Q2.5,5.0492457,2.5,5Q2.5,4.9507543,2.509607,4.9024549Q2.519215,4.854155,2.5380599999999998,4.808658Q2.556906,4.763161,2.584265,4.722215Q2.611625,4.681269,2.646447,4.646447Q2.681269,4.611625,2.722215,4.584265Q2.763161,4.556906,2.808658,4.53806Q2.854155,4.519215,2.9024549,4.509607Q2.9507543,4.5,3,4.5Z",
15
+ "fill-rule": "evenodd",
16
+ fill: "#BFBFBF",
17
+ "fill-opacity": "1"
18
+ })
19
+ ]),
20
+ /* @__PURE__ */ Q("g", null, [
21
+ /* @__PURE__ */ Q("path", {
22
+ d: "M3,7.5L13,7.5Q13.0492,7.5,13.0975,7.509607Q13.1458,7.519215,13.1913,7.53806Q13.2368,7.556906,13.2778,7.584265Q13.3187,7.611625,13.3536,7.646447Q13.3884,7.681269,13.4157,7.722215Q13.4431,7.763161,13.4619,7.808658Q13.4808,7.854155,13.4904,7.9024549Q13.5,7.9507543,13.5,8Q13.5,8.0492457,13.4904,8.0975451Q13.4808,8.145845,13.4619,8.191342Q13.4431,8.236839,13.4157,8.277785Q13.3884,8.318731,13.3536,8.353553Q13.3187,8.388375,13.2778,8.415735Q13.2368,8.443094,13.1913,8.46194Q13.1458,8.480785000000001,13.0975,8.490393Q13.0492,8.5,13,8.5L3,8.5Q2.9507543,8.5,2.9024549,8.490393Q2.854155,8.480785000000001,2.808658,8.46194Q2.763161,8.443094,2.722215,8.415735Q2.681269,8.388375,2.646447,8.353553Q2.611625,8.318731,2.584265,8.277785Q2.556906,8.236839,2.5380599999999998,8.191342Q2.519215,8.145845,2.509607,8.0975451Q2.5,8.0492457,2.5,8Q2.5,7.9507543,2.509607,7.9024549Q2.519215,7.854155,2.5380599999999998,7.808658Q2.556906,7.763161,2.584265,7.722215Q2.611625,7.681269,2.646447,7.646447Q2.681269,7.611625,2.722215,7.584265Q2.763161,7.556906,2.808658,7.53806Q2.854155,7.519215,2.9024549,7.509607Q2.9507543,7.5,3,7.5Z",
23
+ "fill-rule": "evenodd",
24
+ fill: "#BFBFBF",
25
+ "fill-opacity": "1"
26
+ })
27
+ ]),
28
+ /* @__PURE__ */ Q("g", null, [
29
+ /* @__PURE__ */ Q("path", {
30
+ d: "M3,10.5L8,10.5Q8.04925,10.5,8.09755,10.509607Q8.14584,10.519214999999999,8.19134,10.53806Q8.23684,10.556906,8.27778,10.584265Q8.31873,10.611625,8.35355,10.646447Q8.38837,10.681269,8.41573,10.722215Q8.44309,10.763161,8.46194,10.808658Q8.48078,10.854155,8.49039,10.9024549Q8.5,10.9507543,8.5,11Q8.5,11.0492457,8.49039,11.0975451Q8.48078,11.145845,8.46194,11.191342Q8.44309,11.236839,8.41573,11.277785Q8.38837,11.318731,8.35355,11.353553Q8.31873,11.388375,8.27778,11.415735Q8.23684,11.443094,8.19134,11.46194Q8.14584,11.480785000000001,8.09755,11.490393Q8.04925,11.5,8,11.5L3,11.5Q2.9507543,11.5,2.9024549,11.490393Q2.854155,11.480785000000001,2.808658,11.46194Q2.763161,11.443094,2.722215,11.415735Q2.681269,11.388375,2.646447,11.353553Q2.611625,11.318731,2.584265,11.277785Q2.556906,11.236839,2.5380599999999998,11.191342Q2.519215,11.145845,2.509607,11.0975451Q2.5,11.0492457,2.5,11Q2.5,10.9507543,2.509607,10.9024549Q2.519215,10.854155,2.5380599999999998,10.808658Q2.556906,10.763161,2.584265,10.722215Q2.611625,10.681269,2.646447,10.646447Q2.681269,10.611625,2.722215,10.584265Q2.763161,10.556906,2.808658,10.53806Q2.854155,10.519214999999999,2.9024549,10.509607Q2.9507543,10.5,3,10.5Z",
31
+ "fill-rule": "evenodd",
32
+ fill: "#BFBFBF",
33
+ "fill-opacity": "1"
34
+ })
35
+ ])
36
+ ], -1), c = [
37
+ i
38
+ ];
39
+ function r(d, f) {
40
+ return l(), e("svg", n, c);
41
+ }
42
+ const p = /* @__PURE__ */ t(o, [["render", r]]);
43
+ export {
44
+ p as default
45
+ };