@baishuyun/ui-business 5.0.4 → 5.1.2
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.
- package/dist/BubbleChart/{BubbleChart-CPhXmstL.js → BubbleChart-BPIsaE-C.js} +1 -1
- package/dist/BubbleChart/index.js +2 -2
- package/dist/ConfigProvider/{ConfigProvider-CISBH3A8.js → ConfigProvider-C0c1mKeR.js} +1 -1
- package/dist/ConfigProvider/index.js +2 -2
- package/dist/DeptsMemberSelector/Department-CkzkA99U.js +252 -0
- package/dist/DeptsMemberSelector/DeptsMemberSelector-pLcrkrr2.js +1058 -0
- package/dist/DeptsMemberSelector/DeptsUser-C7_gkn3k.js +366 -0
- package/dist/DeptsMemberSelector/ExtraConcactPanel-BRkvxzbe.js +934 -0
- package/dist/DeptsMemberSelector/Member-CXVybdp_.js +64 -0
- package/dist/DeptsMemberSelector/OrganizationPanel-BAhvhgOL.js +374 -0
- package/dist/DeptsMemberSelector/RelationShipDepts-DadyalUU.js +55 -0
- package/dist/DeptsMemberSelector/RelationShipList-BVTUyw1-.js +52 -0
- package/dist/{DeptsMember/TabGroup-B_VIf1lS.js → DeptsMemberSelector/TabGroup-DjfuvblW.js} +1 -1
- package/dist/DeptsMemberSelector/index.d.ts +6 -0
- package/dist/DeptsMemberSelector/index.js +18 -0
- package/dist/DeptsMemberSelector/services/contact/selector.service-cz8fZZaA.js +340 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/Department/index.d.ts +2 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/Department/index.js +8 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/DeptsUser/index.d.ts +2 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/DeptsUser/index.js +11 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/Member/index.d.ts +2 -0
- package/dist/DeptsMemberSelector/subcomponents/Entity/Member/index.js +8 -0
- package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.d.ts +4 -0
- package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.js +6 -0
- package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.d.ts +4 -0
- package/dist/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.js +4 -0
- package/dist/DeptsMemberSelector/useDeptsMemberSelector-xc9GWJaL.js +123 -0
- package/dist/DeptsMemberSelector/utils/index.d.ts +2 -0
- package/dist/{DeptsMember → DeptsMemberSelector}/utils/index.js +18 -10
- package/dist/Scatterplot/{Scatterplot-DTKhmdTE.js → Scatterplot-C1XSsAKR.js} +1 -1
- package/dist/Scatterplot/index.js +2 -2
- package/dist/components/{DeptsMember/DeptsMember.d.ts → DeptsMemberSelector/DeptsMemberSelector.d.ts} +1 -1
- package/dist/components/DeptsMemberSelector/DeptsMemberSelector.type.d.ts +1 -0
- package/dist/components/DeptsMemberSelector/context/DeptsMemberContext.d.ts +27 -0
- package/dist/components/DeptsMemberSelector/hooks/useDeptRelyLimit.d.ts +12 -0
- package/dist/components/DeptsMemberSelector/hooks/useDeptsMemberSelector.d.ts +19 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/index.d.ts +2 -2
- package/dist/components/{DeptsMember → DeptsMemberSelector}/reducers/deptsMemberReducer.d.ts +1 -1
- package/dist/components/DeptsMemberSelector/subcomponents/Entity/Department/DepartmentSearch/useDepartmentSearchData.d.ts +18 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Department/GroupList/GroupList.d.ts +1 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Entity/Member/MemberSearch/useMemberSearchData.d.ts +17 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/ExtraConcactPanel/useExtraContactPanelData.d.ts +18 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/MemberPanel/useMemberPanelData.d.ts +24 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.d.ts +2 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.d.ts +6 -2
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberRelationShipPanel/RelationShipMember/RelationShipMember.d.ts +3 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/types.d.ts +17 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/MemberRelationShipPanel/useMemberRelationShipPanelData.d.ts +42 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/OrganizationPanel/ExternalOrganization/ExternalOrganization.d.ts +2 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/OrganizationPanel/InternalOrganization/InternalOrganization.d.ts +1 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/OrganizationPanel/useDepartmentExpandState.d.ts +14 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/OrganizationPanel/useOrganizationPanelData.d.ts +36 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/OrganizationPanel/utils/departmentExpandState.d.ts +30 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/OrganizationPanel/utils/filterTreeByType.d.ts +2 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/PositionPanel/usePositionPanelData.d.ts +16 -0
- package/dist/components/DeptsMemberSelector/subcomponents/Panels/RolePanel/useRolePanelData.d.ts +18 -0
- package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionTabs/useSelectorType.d.ts +1 -1
- package/dist/components/DeptsMemberSelector/types/context.d.ts +36 -0
- package/dist/components/DeptsMemberSelector/types/selector.d.ts +164 -0
- package/dist/components/DeptsMemberSelector/utils/departmentPanelRequestGuard.d.ts +16 -0
- package/dist/components/DeptsMemberSelector/utils/departmentPanelVisibility.d.ts +11 -0
- package/dist/components/DeptsMemberSelector/utils/memberPanelRequestGuard.d.ts +3 -0
- package/dist/components/DeptsMemberSelector/utils/relyLimit.d.ts +15 -0
- package/dist/components/DeptsMemberSelector/utils/requestContext.d.ts +18 -0
- package/dist/components/DeptsMemberSelector/utils/selectorRequestInput.d.ts +12 -0
- package/dist/components/DeptsMemberSelector/utils/widgetDepartmentRange.d.ts +7 -0
- package/dist/components/DeptsMemberSelector/utils/widgetPanelVisibility.d.ts +4 -0
- package/dist/components/DeptsMemberSelector/utils/widgetRequestLimits.d.ts +19 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +15 -15
- package/dist/lang/en-US.json.d.ts +2 -1
- package/dist/lang/zh-CN.json.d.ts +2 -1
- package/dist/services/apiService.d.ts +3 -0
- package/dist/services/contact/path.d.ts +4 -0
- package/dist/services/contact/selector.service.d.ts +149 -0
- package/dist/services/contact/unwrap.d.ts +2 -0
- package/dist/vendors/lodash-es.js +431 -37
- package/dist/vendors/services/contact/path.js +17 -0
- package/dist/vendors/simplebar-react.js +1 -1
- package/dist/vendors/useLocale.js +5 -3
- package/package.json +11 -5
- package/dist/DeptsMember/Department-BYVAaPYd.js +0 -186
- package/dist/DeptsMember/DeptsMember-D_xv-Zy7.js +0 -801
- package/dist/DeptsMember/DeptsUser-CQrRRJxk.js +0 -277
- package/dist/DeptsMember/ExtraConcactPanel-Cioew3V3.js +0 -736
- package/dist/DeptsMember/Member-BIBX5jKD.js +0 -47
- package/dist/DeptsMember/OrganizationPanel-BLIXOm6z.js +0 -235
- package/dist/DeptsMember/RelationShipDepts-wcYjFbhx.js +0 -78
- package/dist/DeptsMember/RelationShipList-CRdCr4NL.js +0 -73
- package/dist/DeptsMember/index.d.ts +0 -6
- package/dist/DeptsMember/index.js +0 -18
- package/dist/DeptsMember/subcomponents/Entity/Department/index.d.ts +0 -2
- package/dist/DeptsMember/subcomponents/Entity/Department/index.js +0 -8
- package/dist/DeptsMember/subcomponents/Entity/DeptsUser/index.d.ts +0 -2
- package/dist/DeptsMember/subcomponents/Entity/DeptsUser/index.js +0 -11
- package/dist/DeptsMember/subcomponents/Entity/Member/index.d.ts +0 -2
- package/dist/DeptsMember/subcomponents/Entity/Member/index.js +0 -8
- package/dist/DeptsMember/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.d.ts +0 -4
- package/dist/DeptsMember/subcomponents/Panels/MemberRelationShipPanel/RelationShipDepts/index.js +0 -6
- package/dist/DeptsMember/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.d.ts +0 -4
- package/dist/DeptsMember/subcomponents/Panels/MemberRelationShipPanel/RelationShipList/index.js +0 -4
- package/dist/DeptsMember/useDeptsMemberSelector-DP5L8bhi.js +0 -15
- package/dist/DeptsMember/utils/index.d.ts +0 -2
- package/dist/components/DeptsMember/DeptsMember.type.d.ts +0 -48
- package/dist/components/DeptsMember/context/DeptsMemberContext.d.ts +0 -45
- package/dist/components/DeptsMember/hooks/useDeptsMemberSelector.d.ts +0 -12
- package/dist/services/data/department.service.d.ts +0 -12
- package/dist/services/data/member.service.d.ts +0 -19
- package/dist/services/data/member_limit.service.d.ts +0 -5
- package/dist/services/data/outsider.service.d.ts +0 -11
- package/dist/services/ncorp/department.service.d.ts +0 -11
- package/dist/services/ncorp/relation.service.d.ts +0 -4
- package/dist/vendors/services/corp/outsider.service.js +0 -5
- package/dist/vendors/services/data/department.service.js +0 -5
- package/dist/vendors/services/data/member.service.js +0 -5
- package/dist/vendors/services/data/member_limit.service.js +0 -5
- package/dist/vendors/services/data/outsider.service.js +0 -5
- package/dist/vendors/services/ncorp/department.service.js +0 -5
- package/dist/vendors/services/ncorp/relation.service.js +0 -5
- /package/dist/BubbleChart/{AutoGridEChart-uinZMdOR.js → AutoGridEChart-B2a7zGgi.js} +0 -0
- /package/dist/ConfigProvider/{configContext-B0kvcW4s.js → configContext-kYu9qTM2.js} +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Department/DepartmentSearch/DepartmentSearch.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Department/index.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/DeptsUser/index.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Member/MemberSearch/MemberSearch.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Member/MemerList/MemberList.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Entity/Member/index.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/CurrentUserDeptsPanel/CurrentUserDeptsPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/CurrentUserPanel/CurrentUserPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/ExtraConcactPanel/ExtraConcactPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/ExtraContactGroupPanel/ExtraContactGroupPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberPanel/AllMemeberCheck/AllMemeberCheck.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberPanel/ExternalMember/ExternalMember.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberPanel/InternalMemeber/InternalMemeber.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberPanel/MemberPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/MemberRelationShipPanel/MemberRelationShip.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/OrganizationPanel/OrganizationPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/OtherPanel/OtherPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/PositionPanel/PositionPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/Panels/RolePanel/RolePanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionArea/PreviewSelectedItems/PreviewSelectedItems.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionArea/SelectionArea.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionTabs/SelectionTabList/SelectionTabList.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionTabs/SelectionTabPanel/SelectionTabPanel.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/SelectionTabs/SelectionTabs.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/TabGroup/TabGroup.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/subcomponents/TagIcon/TagIcon.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/utils/constants.d.ts +0 -0
- /package/dist/components/{DeptsMember → DeptsMemberSelector}/utils/index.d.ts +0 -0
|
@@ -34,50 +34,399 @@ function _(e) {
|
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
|
|
37
|
-
var v = Array.isArray,
|
|
38
|
-
function
|
|
39
|
-
for (var t = e.length; t-- &&
|
|
37
|
+
var v = Array.isArray, ee = /\s/;
|
|
38
|
+
function y(e) {
|
|
39
|
+
for (var t = e.length; t-- && ee.test(e.charAt(t)););
|
|
40
40
|
return t;
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return e && e.slice(0,
|
|
44
|
+
var b = /^\s+/;
|
|
45
|
+
function te(e) {
|
|
46
|
+
return e && e.slice(0, y(e) + 1).replace(b, "");
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js
|
|
50
|
-
function
|
|
50
|
+
function x(e) {
|
|
51
51
|
var t = typeof e;
|
|
52
52
|
return e != null && (t == "object" || t == "function");
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js
|
|
56
|
-
var
|
|
57
|
-
function
|
|
56
|
+
var S = NaN, ne = /^[-+]0x[0-9a-f]+$/i, re = /^0b[01]+$/i, ie = /^0o[0-7]+$/i, ae = parseInt;
|
|
57
|
+
function C(e) {
|
|
58
58
|
if (typeof e == "number") return e;
|
|
59
|
-
if (_(e)) return
|
|
60
|
-
if (
|
|
59
|
+
if (_(e)) return S;
|
|
60
|
+
if (x(e)) {
|
|
61
61
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
62
|
-
e =
|
|
62
|
+
e = x(t) ? t + "" : t;
|
|
63
63
|
}
|
|
64
64
|
if (typeof e != "string") return e === 0 ? e : +e;
|
|
65
|
-
e =
|
|
66
|
-
var n =
|
|
67
|
-
return n ||
|
|
65
|
+
e = te(e);
|
|
66
|
+
var n = re.test(e);
|
|
67
|
+
return n || ie.test(e) ? ae(e.slice(2), n ? 2 : 8) : ne.test(e) ? S : +e;
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js
|
|
71
|
+
var oe = "[object AsyncFunction]", se = "[object Function]", ce = "[object GeneratorFunction]", le = "[object Proxy]";
|
|
72
|
+
function w(e) {
|
|
73
|
+
if (!x(e)) return !1;
|
|
74
|
+
var t = m(e);
|
|
75
|
+
return t == se || t == ce || t == oe || t == le;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js
|
|
79
|
+
var T = n["__core-js_shared__"], ue = function() {
|
|
80
|
+
var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
|
|
81
|
+
return e ? "Symbol(src)_1." + e : "";
|
|
82
|
+
}();
|
|
83
|
+
function de(e) {
|
|
84
|
+
return !!ue && ue in e;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js
|
|
88
|
+
var fe = Function.prototype.toString;
|
|
89
|
+
function E(e) {
|
|
90
|
+
if (e != null) {
|
|
91
|
+
try {
|
|
92
|
+
return fe.call(e);
|
|
93
|
+
} catch {}
|
|
94
|
+
try {
|
|
95
|
+
return e + "";
|
|
96
|
+
} catch {}
|
|
97
|
+
}
|
|
98
|
+
return "";
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js
|
|
102
|
+
var pe = /[\\^$.*+?()[\]{}|]/g, me = /^\[object .+?Constructor\]$/, he = Function.prototype, ge = Object.prototype, _e = he.toString, ve = ge.hasOwnProperty, ye = RegExp("^" + _e.call(ve).replace(pe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
103
|
+
function be(e) {
|
|
104
|
+
return !x(e) || de(e) ? !1 : (w(e) ? ye : me).test(E(e));
|
|
105
|
+
}
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js
|
|
108
|
+
function xe(e, t) {
|
|
109
|
+
return e?.[t];
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js
|
|
113
|
+
function D(e, t) {
|
|
114
|
+
var n = xe(e, t);
|
|
115
|
+
return be(n) ? n : void 0;
|
|
68
116
|
}
|
|
69
117
|
//#endregion
|
|
118
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js
|
|
119
|
+
var O = D(n, "WeakMap");
|
|
120
|
+
//#endregion
|
|
70
121
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.js
|
|
71
|
-
function
|
|
122
|
+
function k() {}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.js
|
|
125
|
+
function Se(e, t, n, r) {
|
|
126
|
+
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
127
|
+
return -1;
|
|
128
|
+
}
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.js
|
|
131
|
+
function Ce(e) {
|
|
132
|
+
return e !== e;
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.js
|
|
136
|
+
function we(e, t, n) {
|
|
137
|
+
for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
|
|
138
|
+
return -1;
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.js
|
|
142
|
+
function Te(e, t, n) {
|
|
143
|
+
return t === t ? we(e, t, n) : Se(e, Ce, n);
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.js
|
|
147
|
+
function Ee(e, t) {
|
|
148
|
+
return !!(e != null && e.length) && Te(e, t, 0) > -1;
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js
|
|
152
|
+
function De(e, t) {
|
|
153
|
+
return e === t || e !== e && t !== t;
|
|
154
|
+
}
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
|
|
157
|
+
var Oe = 9007199254740991;
|
|
158
|
+
function ke(e) {
|
|
159
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Oe;
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js
|
|
163
|
+
function Ae(e) {
|
|
164
|
+
return e != null && ke(e.length) && !w(e);
|
|
165
|
+
}
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js
|
|
168
|
+
var je = Object.prototype;
|
|
169
|
+
function Me(e) {
|
|
170
|
+
var t = e && e.constructor;
|
|
171
|
+
return e === (typeof t == "function" && t.prototype || je);
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js
|
|
175
|
+
var Ne = "[object Arguments]";
|
|
176
|
+
function A(e) {
|
|
177
|
+
return h(e) && m(e) == Ne;
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
|
|
181
|
+
var j = Object.prototype, Pe = j.hasOwnProperty, Fe = j.propertyIsEnumerable, Ie = A(function() {
|
|
182
|
+
return arguments;
|
|
183
|
+
}()) ? A : function(e) {
|
|
184
|
+
return h(e) && Pe.call(e, "callee") && !Fe.call(e, "callee");
|
|
185
|
+
};
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js
|
|
188
|
+
function Le() {
|
|
189
|
+
return !1;
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js
|
|
193
|
+
var M = typeof exports == "object" && exports && !exports.nodeType && exports, N = M && typeof module == "object" && module && !module.nodeType && module, P = N && N.exports === M ? n.Buffer : void 0, Re = (P ? P.isBuffer : void 0) || Le, ze = "[object Arguments]", Be = "[object Array]", Ve = "[object Boolean]", He = "[object Date]", Ue = "[object Error]", We = "[object Function]", Ge = "[object Map]", Ke = "[object Number]", qe = "[object Object]", Je = "[object RegExp]", Ye = "[object Set]", Xe = "[object String]", Ze = "[object WeakMap]", Qe = "[object ArrayBuffer]", $e = "[object DataView]", et = "[object Float32Array]", tt = "[object Float64Array]", nt = "[object Int8Array]", rt = "[object Int16Array]", it = "[object Int32Array]", at = "[object Uint8Array]", ot = "[object Uint8ClampedArray]", st = "[object Uint16Array]", ct = "[object Uint32Array]", F = {};
|
|
194
|
+
F[et] = F[tt] = F[nt] = F[rt] = F[it] = F[at] = F[ot] = F[st] = F[ct] = !0, F[ze] = F[Be] = F[Qe] = F[Ve] = F[$e] = F[He] = F[Ue] = F[We] = F[Ge] = F[Ke] = F[qe] = F[Je] = F[Ye] = F[Xe] = F[Ze] = !1;
|
|
195
|
+
function lt(e) {
|
|
196
|
+
return h(e) && ke(e.length) && !!F[m(e)];
|
|
197
|
+
}
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js
|
|
200
|
+
function ut(e) {
|
|
201
|
+
return function(t) {
|
|
202
|
+
return e(t);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js
|
|
207
|
+
var I = typeof exports == "object" && exports && !exports.nodeType && exports, L = I && typeof module == "object" && module && !module.nodeType && module, R = L && L.exports === I && e.process, dt = function() {
|
|
208
|
+
try {
|
|
209
|
+
return L && L.require && L.require("util").types || R && R.binding && R.binding("util");
|
|
210
|
+
} catch {}
|
|
211
|
+
}(), z = dt && dt.isTypedArray, ft = z ? ut(z) : lt;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js
|
|
214
|
+
function pt(e, t) {
|
|
215
|
+
return function(n) {
|
|
216
|
+
return e(t(n));
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js
|
|
221
|
+
var mt = pt(Object.keys, Object), ht = Object.prototype.hasOwnProperty;
|
|
222
|
+
function gt(e) {
|
|
223
|
+
if (!Me(e)) return mt(e);
|
|
224
|
+
var t = [];
|
|
225
|
+
for (var n in Object(e)) ht.call(e, n) && n != "constructor" && t.push(n);
|
|
226
|
+
return t;
|
|
227
|
+
}
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js
|
|
230
|
+
var B = D(Object, "create");
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js
|
|
233
|
+
function _t() {
|
|
234
|
+
this.__data__ = B ? B(null) : {}, this.size = 0;
|
|
235
|
+
}
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js
|
|
238
|
+
function vt(e) {
|
|
239
|
+
var t = this.has(e) && delete this.__data__[e];
|
|
240
|
+
return this.size -= t ? 1 : 0, t;
|
|
241
|
+
}
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js
|
|
244
|
+
var yt = "__lodash_hash_undefined__", bt = Object.prototype.hasOwnProperty;
|
|
245
|
+
function xt(e) {
|
|
246
|
+
var t = this.__data__;
|
|
247
|
+
if (B) {
|
|
248
|
+
var n = t[e];
|
|
249
|
+
return n === yt ? void 0 : n;
|
|
250
|
+
}
|
|
251
|
+
return bt.call(t, e) ? t[e] : void 0;
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js
|
|
255
|
+
var St = Object.prototype.hasOwnProperty;
|
|
256
|
+
function Ct(e) {
|
|
257
|
+
var t = this.__data__;
|
|
258
|
+
return B ? t[e] !== void 0 : St.call(t, e);
|
|
259
|
+
}
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js
|
|
262
|
+
var wt = "__lodash_hash_undefined__";
|
|
263
|
+
function Tt(e, t) {
|
|
264
|
+
var n = this.__data__;
|
|
265
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = B && t === void 0 ? wt : t, this;
|
|
266
|
+
}
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js
|
|
269
|
+
function V(e) {
|
|
270
|
+
var t = -1, n = e == null ? 0 : e.length;
|
|
271
|
+
for (this.clear(); ++t < n;) {
|
|
272
|
+
var r = e[t];
|
|
273
|
+
this.set(r[0], r[1]);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
V.prototype.clear = _t, V.prototype.delete = vt, V.prototype.get = xt, V.prototype.has = Ct, V.prototype.set = Tt;
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js
|
|
279
|
+
function Et() {
|
|
280
|
+
this.__data__ = [], this.size = 0;
|
|
281
|
+
}
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js
|
|
284
|
+
function H(e, t) {
|
|
285
|
+
for (var n = e.length; n--;) if (De(e[n][0], t)) return n;
|
|
286
|
+
return -1;
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js
|
|
290
|
+
var Dt = Array.prototype.splice;
|
|
291
|
+
function Ot(e) {
|
|
292
|
+
var t = this.__data__, n = H(t, e);
|
|
293
|
+
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Dt.call(t, n, 1), --this.size, !0);
|
|
294
|
+
}
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js
|
|
297
|
+
function kt(e) {
|
|
298
|
+
var t = this.__data__, n = H(t, e);
|
|
299
|
+
return n < 0 ? void 0 : t[n][1];
|
|
300
|
+
}
|
|
301
|
+
//#endregion
|
|
302
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js
|
|
303
|
+
function At(e) {
|
|
304
|
+
return H(this.__data__, e) > -1;
|
|
305
|
+
}
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js
|
|
308
|
+
function jt(e, t) {
|
|
309
|
+
var n = this.__data__, r = H(n, e);
|
|
310
|
+
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
311
|
+
}
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js
|
|
314
|
+
function U(e) {
|
|
315
|
+
var t = -1, n = e == null ? 0 : e.length;
|
|
316
|
+
for (this.clear(); ++t < n;) {
|
|
317
|
+
var r = e[t];
|
|
318
|
+
this.set(r[0], r[1]);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
U.prototype.clear = Et, U.prototype.delete = Ot, U.prototype.get = kt, U.prototype.has = At, U.prototype.set = jt;
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js
|
|
324
|
+
var W = D(n, "Map");
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js
|
|
327
|
+
function Mt() {
|
|
328
|
+
this.size = 0, this.__data__ = {
|
|
329
|
+
hash: new V(),
|
|
330
|
+
map: new (W || U)(),
|
|
331
|
+
string: new V()
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js
|
|
336
|
+
function Nt(e) {
|
|
337
|
+
var t = typeof e;
|
|
338
|
+
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
339
|
+
}
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js
|
|
342
|
+
function G(e, t) {
|
|
343
|
+
var n = e.__data__;
|
|
344
|
+
return Nt(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
345
|
+
}
|
|
346
|
+
//#endregion
|
|
347
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js
|
|
348
|
+
function Pt(e) {
|
|
349
|
+
var t = G(this, e).delete(e);
|
|
350
|
+
return this.size -= t ? 1 : 0, t;
|
|
351
|
+
}
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js
|
|
354
|
+
function Ft(e) {
|
|
355
|
+
return G(this, e).get(e);
|
|
356
|
+
}
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js
|
|
359
|
+
function It(e) {
|
|
360
|
+
return G(this, e).has(e);
|
|
361
|
+
}
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js
|
|
364
|
+
function Lt(e, t) {
|
|
365
|
+
var n = G(this, e), r = n.size;
|
|
366
|
+
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
367
|
+
}
|
|
368
|
+
//#endregion
|
|
369
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js
|
|
370
|
+
function K(e) {
|
|
371
|
+
var t = -1, n = e == null ? 0 : e.length;
|
|
372
|
+
for (this.clear(); ++t < n;) {
|
|
373
|
+
var r = e[t];
|
|
374
|
+
this.set(r[0], r[1]);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
K.prototype.clear = Mt, K.prototype.delete = Pt, K.prototype.get = Ft, K.prototype.has = It, K.prototype.set = Lt;
|
|
378
|
+
//#endregion
|
|
379
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js
|
|
380
|
+
var q = D(n, "DataView"), J = D(n, "Promise"), Y = D(n, "Set"), Rt = "[object Map]", zt = "[object Object]", Bt = "[object Promise]", Vt = "[object Set]", X = "[object WeakMap]", Ht = "[object DataView]", Ut = E(q), Wt = E(W), Gt = E(J), Kt = E(Y), qt = E(O), Z = m;
|
|
381
|
+
(q && Z(new q(/* @__PURE__ */ new ArrayBuffer(1))) != Ht || W && Z(new W()) != Rt || J && Z(J.resolve()) != Bt || Y && Z(new Y()) != Vt || O && Z(new O()) != X) && (Z = function(e) {
|
|
382
|
+
var t = m(e), n = t == zt ? e.constructor : void 0, r = n ? E(n) : "";
|
|
383
|
+
if (r) switch (r) {
|
|
384
|
+
case Ut: return Ht;
|
|
385
|
+
case Wt: return Rt;
|
|
386
|
+
case Gt: return Bt;
|
|
387
|
+
case Kt: return Vt;
|
|
388
|
+
case qt: return X;
|
|
389
|
+
}
|
|
390
|
+
return t;
|
|
391
|
+
});
|
|
392
|
+
var Jt = Z, Yt = "__lodash_hash_undefined__";
|
|
393
|
+
function Xt(e) {
|
|
394
|
+
return this.__data__.set(e, Yt), this;
|
|
395
|
+
}
|
|
396
|
+
//#endregion
|
|
397
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.js
|
|
398
|
+
function Zt(e) {
|
|
399
|
+
return this.__data__.has(e);
|
|
400
|
+
}
|
|
401
|
+
//#endregion
|
|
402
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.js
|
|
403
|
+
function Q(e) {
|
|
404
|
+
var t = -1, n = e == null ? 0 : e.length;
|
|
405
|
+
for (this.__data__ = new K(); ++t < n;) this.add(e[t]);
|
|
406
|
+
}
|
|
407
|
+
Q.prototype.add = Q.prototype.push = Xt, Q.prototype.has = Zt;
|
|
408
|
+
//#endregion
|
|
409
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.js
|
|
410
|
+
function Qt(e, t) {
|
|
411
|
+
return e.has(t);
|
|
412
|
+
}
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.js
|
|
415
|
+
function $t(e) {
|
|
416
|
+
var t = -1, n = Array(e.size);
|
|
417
|
+
return e.forEach(function(e) {
|
|
418
|
+
n[++t] = e;
|
|
419
|
+
}), n;
|
|
420
|
+
}
|
|
72
421
|
//#endregion
|
|
73
422
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js
|
|
74
|
-
var
|
|
423
|
+
var $ = function() {
|
|
75
424
|
return n.Date.now();
|
|
76
|
-
},
|
|
77
|
-
function
|
|
425
|
+
}, en = "Expected a function", tn = Math.max, nn = Math.min;
|
|
426
|
+
function rn(e, t, n) {
|
|
78
427
|
var r, i, a, o, s, c, l = 0, u = !1, d = !1, f = !0;
|
|
79
|
-
if (typeof e != "function") throw TypeError(
|
|
80
|
-
t =
|
|
428
|
+
if (typeof e != "function") throw TypeError(en);
|
|
429
|
+
t = C(t) || 0, x(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? tn(C(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
|
|
81
430
|
function p(t) {
|
|
82
431
|
var n = r, a = i;
|
|
83
432
|
return r = i = void 0, l = t, o = e.apply(a, n), o;
|
|
@@ -87,53 +436,98 @@ function F(e, t, n) {
|
|
|
87
436
|
}
|
|
88
437
|
function h(e) {
|
|
89
438
|
var n = e - c, r = e - l, i = t - n;
|
|
90
|
-
return d ?
|
|
439
|
+
return d ? nn(i, a - r) : i;
|
|
91
440
|
}
|
|
92
441
|
function g(e) {
|
|
93
442
|
var n = e - c, r = e - l;
|
|
94
443
|
return c === void 0 || n >= t || n < 0 || d && r >= a;
|
|
95
444
|
}
|
|
96
445
|
function _() {
|
|
97
|
-
var e =
|
|
446
|
+
var e = $();
|
|
98
447
|
if (g(e)) return v(e);
|
|
99
448
|
s = setTimeout(_, h(e));
|
|
100
449
|
}
|
|
101
450
|
function v(e) {
|
|
102
451
|
return s = void 0, f && r ? p(e) : (r = i = void 0, o);
|
|
103
452
|
}
|
|
104
|
-
function
|
|
453
|
+
function ee() {
|
|
105
454
|
s !== void 0 && clearTimeout(s), l = 0, r = c = i = s = void 0;
|
|
106
455
|
}
|
|
107
|
-
function
|
|
108
|
-
return s === void 0 ? o : v(
|
|
456
|
+
function y() {
|
|
457
|
+
return s === void 0 ? o : v($());
|
|
109
458
|
}
|
|
110
|
-
function
|
|
111
|
-
var e =
|
|
459
|
+
function b() {
|
|
460
|
+
var e = $(), n = g(e);
|
|
112
461
|
if (r = arguments, i = this, c = e, n) {
|
|
113
462
|
if (s === void 0) return m(c);
|
|
114
463
|
if (d) return clearTimeout(s), s = setTimeout(_, t), p(c);
|
|
115
464
|
}
|
|
116
465
|
return s === void 0 && (s = setTimeout(_, t)), o;
|
|
117
466
|
}
|
|
118
|
-
return
|
|
467
|
+
return b.cancel = ee, b.flush = y, b;
|
|
468
|
+
}
|
|
469
|
+
//#endregion
|
|
470
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludesWith.js
|
|
471
|
+
function an(e, t, n) {
|
|
472
|
+
for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
|
|
473
|
+
return !1;
|
|
119
474
|
}
|
|
120
475
|
//#endregion
|
|
121
476
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.js
|
|
122
|
-
var
|
|
123
|
-
function
|
|
124
|
-
return typeof e == "string" || !v(e) && h(e) && m(e) ==
|
|
477
|
+
var on = "[object String]";
|
|
478
|
+
function sn(e) {
|
|
479
|
+
return typeof e == "string" || !v(e) && h(e) && m(e) == on;
|
|
480
|
+
}
|
|
481
|
+
//#endregion
|
|
482
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.js
|
|
483
|
+
var cn = "[object Map]", ln = "[object Set]", un = Object.prototype.hasOwnProperty;
|
|
484
|
+
function dn(e) {
|
|
485
|
+
if (e == null) return !0;
|
|
486
|
+
if (Ae(e) && (v(e) || typeof e == "string" || typeof e.splice == "function" || Re(e) || ft(e) || Ie(e))) return !e.length;
|
|
487
|
+
var t = Jt(e);
|
|
488
|
+
if (t == cn || t == ln) return !e.size;
|
|
489
|
+
if (Me(e)) return !gt(e).length;
|
|
490
|
+
for (var n in e) if (un.call(e, n)) return !1;
|
|
491
|
+
return !0;
|
|
125
492
|
}
|
|
126
493
|
//#endregion
|
|
127
494
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/throttle.js
|
|
128
|
-
var
|
|
129
|
-
function
|
|
495
|
+
var fn = "Expected a function";
|
|
496
|
+
function pn(e, t, n) {
|
|
130
497
|
var r = !0, i = !0;
|
|
131
|
-
if (typeof e != "function") throw TypeError(
|
|
132
|
-
return
|
|
498
|
+
if (typeof e != "function") throw TypeError(fn);
|
|
499
|
+
return x(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), rn(e, t, {
|
|
133
500
|
leading: r,
|
|
134
501
|
maxWait: t,
|
|
135
502
|
trailing: i
|
|
136
503
|
});
|
|
137
504
|
}
|
|
138
505
|
//#endregion
|
|
139
|
-
|
|
506
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.js
|
|
507
|
+
var mn = Y && 1 / $t(new Y([, -0]))[1] == Infinity ? function(e) {
|
|
508
|
+
return new Y(e);
|
|
509
|
+
} : k, hn = 200;
|
|
510
|
+
function gn(e, t, n) {
|
|
511
|
+
var r = -1, i = Ee, a = e.length, o = !0, s = [], c = s;
|
|
512
|
+
if (n) o = !1, i = an;
|
|
513
|
+
else if (a >= hn) {
|
|
514
|
+
var l = t ? null : mn(e);
|
|
515
|
+
if (l) return $t(l);
|
|
516
|
+
o = !1, i = Qt, c = new Q();
|
|
517
|
+
} else c = t ? [] : s;
|
|
518
|
+
outer: for (; ++r < a;) {
|
|
519
|
+
var u = e[r], d = t ? t(u) : u;
|
|
520
|
+
if (u = n || u !== 0 ? u : 0, o && d === d) {
|
|
521
|
+
for (var f = c.length; f--;) if (c[f] === d) continue outer;
|
|
522
|
+
t && c.push(d), s.push(u);
|
|
523
|
+
} else i(c, d, n) || (c !== s && c.push(d), s.push(u));
|
|
524
|
+
}
|
|
525
|
+
return s;
|
|
526
|
+
}
|
|
527
|
+
//#endregion
|
|
528
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniq.js
|
|
529
|
+
function _n(e) {
|
|
530
|
+
return e && e.length ? gn(e) : [];
|
|
531
|
+
}
|
|
532
|
+
//#endregion
|
|
533
|
+
export { rn as a, sn as i, pn as n, k as o, dn as r, _n as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as e } from "../apiService.js";
|
|
2
|
+
//#region src/services/contact/path.ts
|
|
3
|
+
var t = (e) => !!(e && "defaults" in e), n = (e) => {
|
|
4
|
+
let t = e?.defaults?.baseURL;
|
|
5
|
+
if (!t) return !1;
|
|
6
|
+
try {
|
|
7
|
+
let e = new URL(t, "http://localhost").pathname;
|
|
8
|
+
return e === "/api" || e.startsWith("/api/");
|
|
9
|
+
} catch {
|
|
10
|
+
return !1;
|
|
11
|
+
}
|
|
12
|
+
}, r = (r, i) => {
|
|
13
|
+
let a = i ?? e()?.axiosInstance;
|
|
14
|
+
return a && !t(a) || n(a) ? r : `/api${r}`;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { r as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../ConfigProvider/configContext-
|
|
1
|
+
import { t as e } from "../ConfigProvider/configContext-kYu9qTM2.js";
|
|
2
2
|
import { useCallback as t, useContext as n, useMemo as r } from "react";
|
|
3
3
|
var i = {
|
|
4
4
|
common: {
|
|
@@ -42,7 +42,8 @@ var i = {
|
|
|
42
42
|
role: {
|
|
43
43
|
title: "角色",
|
|
44
44
|
internal: "内部角色",
|
|
45
|
-
external: "互联角色"
|
|
45
|
+
external: "互联角色",
|
|
46
|
+
noAvailable: "没有可选角色"
|
|
46
47
|
},
|
|
47
48
|
position: { title: "职位" },
|
|
48
49
|
currentUser: { title: "当前用户" },
|
|
@@ -99,7 +100,8 @@ var i = {
|
|
|
99
100
|
role: {
|
|
100
101
|
title: "Role",
|
|
101
102
|
internal: "Internal Role",
|
|
102
|
-
external: "Interconnected Role"
|
|
103
|
+
external: "Interconnected Role",
|
|
104
|
+
noAvailable: "No available roles"
|
|
103
105
|
},
|
|
104
106
|
position: { title: "Position" },
|
|
105
107
|
currentUser: { title: "Current User" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baishuyun/ui-business",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "百数云业务组件库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"./index.css": "./dist/index.css",
|
|
15
15
|
"./DeptsMember": {
|
|
16
|
-
"import": "./dist/
|
|
17
|
-
"types": "./dist/components/
|
|
16
|
+
"import": "./dist/DeptsMemberSelector/index.js",
|
|
17
|
+
"types": "./dist/components/DeptsMemberSelector/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./DeptsMemberSelector": {
|
|
20
|
+
"import": "./dist/DeptsMemberSelector/index.js",
|
|
21
|
+
"types": "./dist/components/DeptsMemberSelector/index.d.ts"
|
|
18
22
|
},
|
|
19
23
|
"./ConfigProvider": {
|
|
20
24
|
"import": "./dist/ConfigProvider/index.js",
|
|
@@ -39,7 +43,7 @@
|
|
|
39
43
|
"author": "BSY Team",
|
|
40
44
|
"license": "MIT",
|
|
41
45
|
"peerDependencies": {
|
|
42
|
-
"@baishuyun/ui-base": ">=2.3.
|
|
46
|
+
"@baishuyun/ui-base": ">=2.3.3",
|
|
43
47
|
"ahooks": ">=3.7.0",
|
|
44
48
|
"antd": ">=5.1.2",
|
|
45
49
|
"immer": "^10.0.0",
|
|
@@ -63,7 +67,7 @@
|
|
|
63
67
|
"sass": "^1.90.0",
|
|
64
68
|
"vite": "^8.0.0",
|
|
65
69
|
"vite-plugin-dts": "^4.5.4",
|
|
66
|
-
"@baishuyun/ui-base": "2.3.
|
|
70
|
+
"@baishuyun/ui-base": "2.3.3"
|
|
67
71
|
},
|
|
68
72
|
"dependencies": {
|
|
69
73
|
"autoprefixer": "^10.4.21",
|
|
@@ -83,6 +87,8 @@
|
|
|
83
87
|
"build:debug": "vite build --mode debug",
|
|
84
88
|
"build:watch": "vite build --watch --mode debug",
|
|
85
89
|
"dev": "vite build --watch --mode debug",
|
|
90
|
+
"test": "vitest run --passWithNoTests",
|
|
91
|
+
"test:watch": "vitest --passWithNoTests",
|
|
86
92
|
"type-check": "tsc --noEmit",
|
|
87
93
|
"lint": "eslint src --ext .ts,.tsx",
|
|
88
94
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|