@sheinx/base 3.0.0-alpha.19 → 3.0.0-alpha.20
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/cjs/absolute-list/absolute-list.d.ts.map +1 -1
- package/cjs/absolute-list/absolute-list.js +6 -6
- package/cjs/absolute-list/absolute-list.type.d.ts +3 -3
- package/cjs/absolute-list/absolute-list.type.d.ts.map +1 -1
- package/cjs/absolute-list/use-container.d.ts.map +1 -1
- package/cjs/absolute-list/use-container.js +6 -1
- package/cjs/breadcrumb/breadcrumb.type.d.ts +1 -0
- package/cjs/breadcrumb/breadcrumb.type.d.ts.map +1 -1
- package/cjs/breadcrumb/list.js +2 -2
- package/cjs/cascader/cascader.js +2 -2
- package/cjs/date-picker/date-picker.js +2 -2
- package/cjs/dropdown/dropdown.type.d.ts +2 -0
- package/cjs/dropdown/dropdown.type.d.ts.map +1 -1
- package/cjs/dropdown/dropdownIn.d.ts.map +1 -1
- package/cjs/dropdown/dropdownIn.js +8 -5
- package/cjs/editable-area/editable-area.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +8 -14
- package/cjs/popover/popover.js +2 -2
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +7 -15
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +2 -1
- package/cjs/tooltip/tooltip.d.ts.map +1 -1
- package/cjs/tooltip/tooltip.js +2 -1
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +5 -8
- package/esm/absolute-list/absolute-list.d.ts.map +1 -1
- package/esm/absolute-list/absolute-list.js +6 -6
- package/esm/absolute-list/absolute-list.type.d.ts +3 -3
- package/esm/absolute-list/absolute-list.type.d.ts.map +1 -1
- package/esm/absolute-list/use-container.d.ts.map +1 -1
- package/esm/absolute-list/use-container.js +6 -1
- package/esm/breadcrumb/breadcrumb.type.d.ts +1 -0
- package/esm/breadcrumb/breadcrumb.type.d.ts.map +1 -1
- package/esm/breadcrumb/list.js +2 -2
- package/esm/cascader/cascader.js +2 -2
- package/esm/date-picker/date-picker.js +2 -2
- package/esm/dropdown/dropdown.type.d.ts +2 -0
- package/esm/dropdown/dropdown.type.d.ts.map +1 -1
- package/esm/dropdown/dropdownIn.d.ts.map +1 -1
- package/esm/dropdown/dropdownIn.js +8 -5
- package/esm/editable-area/editable-area.d.ts.map +1 -1
- package/esm/editable-area/editable-area.js +8 -14
- package/esm/popover/popover.js +2 -2
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +7 -15
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +2 -1
- package/esm/tooltip/tooltip.d.ts.map +1 -1
- package/esm/tooltip/tooltip.js +2 -1
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +5 -8
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"absolute-list.d.ts","sourceRoot":"","sources":["absolute-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"absolute-list.d.ts","sourceRoot":"","sources":["absolute-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,8EA0D7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -25,13 +25,13 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
25
25
|
var absolute = props.absolute,
|
|
26
26
|
position = props.position,
|
|
27
27
|
children = props.children,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
parentElRef = props.parentElRef,
|
|
29
|
+
scrollElRef = props.scrollElRef,
|
|
30
30
|
fixedWidth = props.fixedWidth,
|
|
31
31
|
_props$zIndex = props.zIndex,
|
|
32
32
|
zIndex = _props$zIndex === void 0 ? 1051 : _props$zIndex,
|
|
33
33
|
focus = props.focus,
|
|
34
|
-
|
|
34
|
+
popupElRef = props.popupElRef,
|
|
35
35
|
updateKey = props.updateKey,
|
|
36
36
|
popupGap = props.popupGap,
|
|
37
37
|
adjust = props.adjust,
|
|
@@ -49,12 +49,12 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
49
49
|
getContainer: getRoot,
|
|
50
50
|
position: position,
|
|
51
51
|
absolute: !!absolute,
|
|
52
|
-
|
|
52
|
+
parentElRef: parentElRef,
|
|
53
53
|
show: focus,
|
|
54
54
|
fixedWidth: fixedWidth,
|
|
55
55
|
zIndex: zIndex,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
scrollElRef: scrollElRef,
|
|
57
|
+
popupElRef: popupElRef,
|
|
58
58
|
updateKey: updateKey,
|
|
59
59
|
popupGap: popupGap,
|
|
60
60
|
adjust: adjust
|
|
@@ -4,7 +4,7 @@ export declare type VerticalPosition = 'bottom-left' | 'bottom-right' | 'top-lef
|
|
|
4
4
|
export interface AbsoluteListProps {
|
|
5
5
|
children: React.ReactElement;
|
|
6
6
|
focus: boolean;
|
|
7
|
-
|
|
7
|
+
parentElRef: React.RefObject<HTMLElement>;
|
|
8
8
|
fixedWidth: 'min' | boolean;
|
|
9
9
|
position: HorizontalPosition | VerticalPosition | 'cover';
|
|
10
10
|
updateKey?: number | string;
|
|
@@ -26,10 +26,10 @@ export interface AbsoluteListProps {
|
|
|
26
26
|
* @default 2
|
|
27
27
|
*/
|
|
28
28
|
popupGap?: number;
|
|
29
|
-
|
|
29
|
+
scrollElRef?: React.RefObject<HTMLElement>;
|
|
30
30
|
scrollLeft?: number;
|
|
31
31
|
scrollTop?: number;
|
|
32
|
-
|
|
32
|
+
popupElRef: React.RefObject<HTMLElement>;
|
|
33
33
|
destroy?: boolean;
|
|
34
34
|
adjust?: boolean;
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"absolute-list.type.d.ts","sourceRoot":"","sources":["absolute-list.type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,kBAAkB,GAC1B,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,MAAM,GACN,OAAO,CAAC;AACZ,oBAAY,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,QAAQ,CAAC;AAEb,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"absolute-list.type.d.ts","sourceRoot":"","sources":["absolute-list.type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,kBAAkB,GAC1B,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,MAAM,GACN,OAAO,CAAC;AACZ,oBAAY,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,QAAQ,CAAC;AAEb,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC1C,UAAU,EAAE,KAAK,GAAG,OAAO,CAAC;IAC5B,QAAQ,EAAE,kBAAkB,GAAG,gBAAgB,GAAG,OAAO,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IAE5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAEzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-container.d.ts","sourceRoot":"","sources":["use-container.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAC7D;AAED,eAAO,MAAM,YAAY,UAAW,cAAc,uBAMjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,cAAc,
|
|
1
|
+
{"version":3,"file":"use-container.d.ts","sourceRoot":"","sources":["use-container.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAC7D;AAED,eAAO,MAAM,YAAY,UAAW,cAAc,uBAMjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,cAAc,uBAsBrD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,cAAc,0BAO5C,CAAC;AAEF,QAAA,MAAM,YAAY,WAAW,cAAc;;;;CAmC1C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -29,8 +29,13 @@ var getRootContainer = function getRootContainer(props) {
|
|
|
29
29
|
if (!root || _hooks.util.isInDocument(root) === false) {
|
|
30
30
|
root = document.createElement('div');
|
|
31
31
|
root.setAttribute('style', 'contain: size');
|
|
32
|
+
if (defaultContainer) {
|
|
33
|
+
defaultContainer.appendChild(root);
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
|
-
if (
|
|
36
|
+
if (_hooks.util.isBrowser() && defaultContainer &&
|
|
37
|
+
// body在微前端会被劫持导致死循环
|
|
38
|
+
defaultContainer !== document.body && root.parentElement !== defaultContainer) {
|
|
34
39
|
defaultContainer.appendChild(root);
|
|
35
40
|
}
|
|
36
41
|
return root;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.type.d.ts","sourceRoot":"","sources":["breadcrumb.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,oBAAY,cAAc,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"breadcrumb.type.d.ts","sourceRoot":"","sources":["breadcrumb.type.ts"],"names":[],"mappings":"AAAA,OAAO,KA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OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAErD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB"}
|
package/cjs/breadcrumb/list.js
CHANGED
|
@@ -64,10 +64,10 @@ var List = function List(props) {
|
|
|
64
64
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
65
65
|
position: position,
|
|
66
66
|
focus: open,
|
|
67
|
-
|
|
67
|
+
parentElRef: targetRef,
|
|
68
68
|
absolute: true,
|
|
69
69
|
fixedWidth: 'min',
|
|
70
|
-
|
|
70
|
+
popupElRef: popupRef,
|
|
71
71
|
adjust: true,
|
|
72
72
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
73
73
|
className: (0, _classnames.default)(classes === null || classes === void 0 ? void 0 : classes.dropdown),
|
package/cjs/cascader/cascader.js
CHANGED
|
@@ -598,8 +598,8 @@ var Cascader = function Cascader(props0) {
|
|
|
598
598
|
zIndex: zIndex,
|
|
599
599
|
position: position,
|
|
600
600
|
popupGap: 4,
|
|
601
|
-
|
|
602
|
-
|
|
601
|
+
popupElRef: popupRef,
|
|
602
|
+
parentElRef: targetRef,
|
|
603
603
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
604
604
|
onRef: popupRef,
|
|
605
605
|
show: open,
|
|
@@ -219,8 +219,8 @@ var DatePicker = function DatePicker(props0) {
|
|
|
219
219
|
width: props.width
|
|
220
220
|
}, props.style),
|
|
221
221
|
children: [tipNode, renderResult(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.AbsoluteList, {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
parentElRef: targetRef,
|
|
223
|
+
popupElRef: popupRef,
|
|
224
224
|
absolute: props.absolute,
|
|
225
225
|
zIndex: props.zIndex,
|
|
226
226
|
position: position,
|
|
@@ -7,6 +7,7 @@ export interface DropdownClass {
|
|
|
7
7
|
open: string;
|
|
8
8
|
boxList: string;
|
|
9
9
|
list: string;
|
|
10
|
+
listHasChildren: string;
|
|
10
11
|
listSmall: string;
|
|
11
12
|
listLarge: string;
|
|
12
13
|
caret: string;
|
|
@@ -18,6 +19,7 @@ export interface DropdownClass {
|
|
|
18
19
|
splitButton: string;
|
|
19
20
|
optionGroup: string;
|
|
20
21
|
optionDivider: string;
|
|
22
|
+
itemWrapper: string;
|
|
21
23
|
}
|
|
22
24
|
export declare type MenuPosition = 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'left' | 'right' | 'top' | 'bottom';
|
|
23
25
|
export declare type TriggerType = 'click' | 'hover';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.type.d.ts","sourceRoot":"","sources":["dropdown.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdownIn.d.ts","sourceRoot":"","sources":["dropdownIn.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAwBlF,QAAA,MAAM,QAAQ,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"dropdownIn.d.ts","sourceRoot":"","sources":["dropdownIn.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAwBlF,QAAA,MAAM,QAAQ,UAAW,mBAAmB,gBAgM3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -33,8 +33,8 @@ var positionMap = {
|
|
|
33
33
|
'bottom-left': 'right-top',
|
|
34
34
|
left: 'left',
|
|
35
35
|
right: 'right',
|
|
36
|
-
top: 'right',
|
|
37
|
-
bottom: 'right',
|
|
36
|
+
top: 'right-bottom',
|
|
37
|
+
bottom: 'right-top',
|
|
38
38
|
auto: ''
|
|
39
39
|
};
|
|
40
40
|
var Dropdown = function Dropdown(props) {
|
|
@@ -157,6 +157,9 @@ var Dropdown = function Dropdown(props) {
|
|
|
157
157
|
}, index);
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
+
var hasChildren = data.some(function (d) {
|
|
161
|
+
return d.children;
|
|
162
|
+
});
|
|
160
163
|
var targetProps = getTargetProps();
|
|
161
164
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({
|
|
162
165
|
className: (0, _classnames.default)(className, dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.wrapper, !isSub && open && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.open)),
|
|
@@ -168,15 +171,15 @@ var Dropdown = function Dropdown(props) {
|
|
|
168
171
|
children: [renderButton(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
169
172
|
position: position,
|
|
170
173
|
focus: open,
|
|
171
|
-
|
|
174
|
+
parentElRef: targetRef,
|
|
172
175
|
absolute: absolute,
|
|
173
176
|
fixedWidth: 'min',
|
|
174
177
|
popupGap: 4,
|
|
175
|
-
|
|
178
|
+
popupElRef: popupRef,
|
|
176
179
|
adjust: !isSub,
|
|
177
180
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
178
181
|
display: columns ? 'grid' : 'block',
|
|
179
|
-
className: (0, _classnames.default)(dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.list, columns !== undefined && columns > 1 && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.boxList), size === 'small' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listSmall), size === 'large' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listLarge)),
|
|
182
|
+
className: (0, _classnames.default)(dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.list, hasChildren && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listHasChildren), columns !== undefined && columns > 1 && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.boxList), size === 'small' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listSmall), size === 'large' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listLarge)),
|
|
180
183
|
style: {
|
|
181
184
|
width: width,
|
|
182
185
|
gridTemplateColumns: columns ? "repeat(".concat(columns, ", 1fr)") : undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAgBzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,gBAuK7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -57,11 +57,8 @@ var EditableArea = function EditableArea(props) {
|
|
|
57
57
|
bordered = _props$bordered === void 0 ? false : _props$bordered;
|
|
58
58
|
var editableAreaStyle = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$editableAre = jssStyle.editableArea) === null || _jssStyle$editableAre === void 0 ? void 0 : _jssStyle$editableAre.call(jssStyle);
|
|
59
59
|
var status = error ? 'error' : props.status;
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
textarea: null
|
|
63
|
-
}),
|
|
64
|
-
context = _React$useRef.current;
|
|
60
|
+
var textareaRef = _react.default.useRef(null);
|
|
61
|
+
var wrapperRef = _react.default.useRef(null);
|
|
65
62
|
var _useInputAble = (0, _hooks.useInputAble)({
|
|
66
63
|
control: 'value' in props,
|
|
67
64
|
value: props.value,
|
|
@@ -77,9 +74,9 @@ var EditableArea = function EditableArea(props) {
|
|
|
77
74
|
show = _useState2[0],
|
|
78
75
|
setShow = _useState2[1];
|
|
79
76
|
(0, _react.useEffect)(function () {
|
|
80
|
-
if (show &&
|
|
77
|
+
if (show && textareaRef.current) {
|
|
81
78
|
setTimeout(function () {
|
|
82
|
-
if (show &&
|
|
79
|
+
if (show && textareaRef.current) textareaRef.current.focus();
|
|
83
80
|
});
|
|
84
81
|
}
|
|
85
82
|
}, [show]);
|
|
@@ -126,14 +123,13 @@ var EditableArea = function EditableArea(props) {
|
|
|
126
123
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
127
124
|
absolute: getPopupContainer || true,
|
|
128
125
|
focus: show,
|
|
129
|
-
|
|
126
|
+
parentElRef: wrapperRef,
|
|
127
|
+
popupElRef: textareaRef,
|
|
130
128
|
fixedWidth: true,
|
|
131
129
|
position: 'cover',
|
|
132
130
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_textarea.Textarea, {
|
|
133
131
|
jssStyle: jssStyle,
|
|
134
|
-
textareaRef:
|
|
135
|
-
context.textarea = el;
|
|
136
|
-
},
|
|
132
|
+
textareaRef: textareaRef,
|
|
137
133
|
status: status,
|
|
138
134
|
placeholder: placeholder,
|
|
139
135
|
className: (0, _classnames.default)(editableAreaStyle === null || editableAreaStyle === void 0 ? void 0 : editableAreaStyle.popup, show && (editableAreaStyle === null || editableAreaStyle === void 0 ? void 0 : editableAreaStyle.popupShow)),
|
|
@@ -168,9 +164,7 @@ var EditableArea = function EditableArea(props) {
|
|
|
168
164
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
169
165
|
width: width
|
|
170
166
|
}),
|
|
171
|
-
ref:
|
|
172
|
-
context.wrapper = el;
|
|
173
|
-
},
|
|
167
|
+
ref: wrapperRef,
|
|
174
168
|
children: [renderPlaceholder(), renderClear(), renderPopup()]
|
|
175
169
|
});
|
|
176
170
|
};
|
package/cjs/popover/popover.js
CHANGED
|
@@ -136,8 +136,8 @@ var Popover = function Popover(props) {
|
|
|
136
136
|
};
|
|
137
137
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
138
138
|
focus: open,
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
parentElRef: targetRef,
|
|
140
|
+
popupElRef: popupRef,
|
|
141
141
|
absolute: typeof props.getPopupContainer === 'function' ? props.getPopupContainer : true,
|
|
142
142
|
position: position,
|
|
143
143
|
fixedWidth: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAcnE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAcnE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,eAgpBxE;AAED,eAAe,MAAM,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -70,8 +70,7 @@ function Select(props0) {
|
|
|
70
70
|
keygen = props.keygen,
|
|
71
71
|
_props$focusSelected = props.focusSelected,
|
|
72
72
|
focusSelected = _props$focusSelected === void 0 ? true : _props$focusSelected,
|
|
73
|
-
|
|
74
|
-
optionWidth = _props$optionWidth === void 0 ? '100%' : _props$optionWidth,
|
|
73
|
+
optionWidth = props.optionWidth,
|
|
75
74
|
_props$height = props.height,
|
|
76
75
|
height = _props$height === void 0 ? 250 : _props$height,
|
|
77
76
|
openProp = props.open,
|
|
@@ -439,7 +438,7 @@ function Select(props0) {
|
|
|
439
438
|
return renderClearable();
|
|
440
439
|
}
|
|
441
440
|
if (!multiple && !showArrow) return null;
|
|
442
|
-
var defaultIcon =
|
|
441
|
+
var defaultIcon = multiple ? _icons.default.More : _icons.default.ArrowDown;
|
|
443
442
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
444
443
|
className: (0, _classnames.default)(styles.arrowIcon, open && !compressed && styles.arrowIconOpen),
|
|
445
444
|
onClick: handleResultClick,
|
|
@@ -592,18 +591,11 @@ function Select(props0) {
|
|
|
592
591
|
};
|
|
593
592
|
var getListStyle = function getListStyle() {
|
|
594
593
|
var style = {};
|
|
595
|
-
|
|
596
|
-
if (width) {
|
|
597
|
-
style.minWidth = width || 'auto';
|
|
598
|
-
} else {
|
|
599
|
-
style.width = width || 'auto';
|
|
600
|
-
}
|
|
601
|
-
return style;
|
|
602
|
-
} else {
|
|
594
|
+
{
|
|
603
595
|
if (columns > 1) {
|
|
604
596
|
style.width = columns * columnWidth;
|
|
605
|
-
} else {
|
|
606
|
-
style.width =
|
|
597
|
+
} else if (optionWidth) {
|
|
598
|
+
style.width = optionWidth;
|
|
607
599
|
}
|
|
608
600
|
}
|
|
609
601
|
return style;
|
|
@@ -628,8 +620,8 @@ function Select(props0) {
|
|
|
628
620
|
zIndex: props.zIndex,
|
|
629
621
|
position: position,
|
|
630
622
|
popupGap: 4,
|
|
631
|
-
|
|
632
|
-
|
|
623
|
+
popupElRef: popupRef,
|
|
624
|
+
parentElRef: targetRef,
|
|
633
625
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_animationList.default, {
|
|
634
626
|
onRef: popupRef,
|
|
635
627
|
show: open,
|
package/cjs/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAe,SAAS,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,QAAA,MAAM,IAAI;YAAW,SAAS;;
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAe,SAAS,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,QAAA,MAAM,IAAI;YAAW,SAAS;;CA2P7B,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
package/cjs/tabs/tabs.js
CHANGED
|
@@ -55,7 +55,8 @@ var Tabs = function Tabs(props) {
|
|
|
55
55
|
background = props.background,
|
|
56
56
|
activeBackground = props.activeBackground,
|
|
57
57
|
inactiveBackground = props.inactiveBackground,
|
|
58
|
-
defaultActive = props.defaultActive,
|
|
58
|
+
_props$defaultActive = props.defaultActive,
|
|
59
|
+
defaultActive = _props$defaultActive === void 0 ? 0 : _props$defaultActive,
|
|
59
60
|
tabBarStyle = props.tabBarStyle,
|
|
60
61
|
color = props.color,
|
|
61
62
|
sticky = props.sticky,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,OAAO,UAAW,YAAY,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,OAAO,UAAW,YAAY,uBAsFnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/cjs/tooltip/tooltip.js
CHANGED
|
@@ -79,7 +79,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
79
79
|
}
|
|
80
80
|
}, 'ns'), /*#__PURE__*/(0, _react.cloneElement)(inner, events), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
81
81
|
focus: open,
|
|
82
|
-
|
|
82
|
+
parentElRef: targetRef,
|
|
83
|
+
popupElRef: popupRef,
|
|
83
84
|
absolute: true,
|
|
84
85
|
position: position,
|
|
85
86
|
fixedWidth: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.tsx"],"names":[],"mappings":";AACA,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAcjE,oBAAY,mBAAmB,GAAG,YAAY,GAAG,YAAY,EAAE,CAAC;AAEhE,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.tsx"],"names":[],"mappings":";AACA,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAcjE,oBAAY,mBAAmB,GAAG,YAAY,GAAG,YAAY,EAAE,CAAC;AAEhE,QAAA,MAAM,UAAU,wGAujBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -35,7 +35,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
35
35
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
36
36
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
37
37
|
var TreeSelect = function TreeSelect(props0) {
|
|
38
|
-
var _jssStyle$
|
|
38
|
+
var _jssStyle$treeSelect;
|
|
39
39
|
var props = (0, _useWithFormConfig.default)(props0);
|
|
40
40
|
var _useConfig = (0, _config.useConfig)(),
|
|
41
41
|
locale = _useConfig.locale;
|
|
@@ -101,7 +101,7 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
101
101
|
onChangeAddition = props.onChangeAddition,
|
|
102
102
|
onEnterExpand = props.onEnterExpand,
|
|
103
103
|
onExpand = props.onExpand;
|
|
104
|
-
var styles = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$
|
|
104
|
+
var styles = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$treeSelect = jssStyle.treeSelect) === null || _jssStyle$treeSelect === void 0 ? void 0 : _jssStyle$treeSelect.call(jssStyle);
|
|
105
105
|
var rootStyle = Object.assign({
|
|
106
106
|
width: width
|
|
107
107
|
}, style);
|
|
@@ -520,13 +520,13 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
520
520
|
children: [tipNode, renderResult(), renderIcon(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.AbsoluteList, {
|
|
521
521
|
adjust: true,
|
|
522
522
|
focus: open,
|
|
523
|
-
fixedWidth:
|
|
523
|
+
fixedWidth: "min",
|
|
524
524
|
absolute: props.absolute,
|
|
525
525
|
zIndex: props.zIndex,
|
|
526
526
|
position: position,
|
|
527
527
|
popupGap: 4,
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
popupElRef: popupRef,
|
|
529
|
+
parentElRef: targetRef,
|
|
530
530
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
531
531
|
onRef: popupRef,
|
|
532
532
|
show: open,
|
|
@@ -534,9 +534,6 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
534
534
|
display: 'block',
|
|
535
535
|
type: "scale-y",
|
|
536
536
|
duration: 'fast',
|
|
537
|
-
style: {
|
|
538
|
-
width: width || '100%'
|
|
539
|
-
},
|
|
540
537
|
children: renderList()
|
|
541
538
|
})
|
|
542
539
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"absolute-list.d.ts","sourceRoot":"","sources":["absolute-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"absolute-list.d.ts","sourceRoot":"","sources":["absolute-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,8EA0D7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -25,13 +25,13 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
25
25
|
var absolute = props.absolute,
|
|
26
26
|
position = props.position,
|
|
27
27
|
children = props.children,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
parentElRef = props.parentElRef,
|
|
29
|
+
scrollElRef = props.scrollElRef,
|
|
30
30
|
fixedWidth = props.fixedWidth,
|
|
31
31
|
_props$zIndex = props.zIndex,
|
|
32
32
|
zIndex = _props$zIndex === void 0 ? 1051 : _props$zIndex,
|
|
33
33
|
focus = props.focus,
|
|
34
|
-
|
|
34
|
+
popupElRef = props.popupElRef,
|
|
35
35
|
updateKey = props.updateKey,
|
|
36
36
|
popupGap = props.popupGap,
|
|
37
37
|
adjust = props.adjust,
|
|
@@ -49,12 +49,12 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
49
49
|
getContainer: getRoot,
|
|
50
50
|
position: position,
|
|
51
51
|
absolute: !!absolute,
|
|
52
|
-
|
|
52
|
+
parentElRef: parentElRef,
|
|
53
53
|
show: focus,
|
|
54
54
|
fixedWidth: fixedWidth,
|
|
55
55
|
zIndex: zIndex,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
scrollElRef: scrollElRef,
|
|
57
|
+
popupElRef: popupElRef,
|
|
58
58
|
updateKey: updateKey,
|
|
59
59
|
popupGap: popupGap,
|
|
60
60
|
adjust: adjust
|
|
@@ -4,7 +4,7 @@ export declare type VerticalPosition = 'bottom-left' | 'bottom-right' | 'top-lef
|
|
|
4
4
|
export interface AbsoluteListProps {
|
|
5
5
|
children: React.ReactElement;
|
|
6
6
|
focus: boolean;
|
|
7
|
-
|
|
7
|
+
parentElRef: React.RefObject<HTMLElement>;
|
|
8
8
|
fixedWidth: 'min' | boolean;
|
|
9
9
|
position: HorizontalPosition | VerticalPosition | 'cover';
|
|
10
10
|
updateKey?: number | string;
|
|
@@ -26,10 +26,10 @@ export interface AbsoluteListProps {
|
|
|
26
26
|
* @default 2
|
|
27
27
|
*/
|
|
28
28
|
popupGap?: number;
|
|
29
|
-
|
|
29
|
+
scrollElRef?: React.RefObject<HTMLElement>;
|
|
30
30
|
scrollLeft?: number;
|
|
31
31
|
scrollTop?: number;
|
|
32
|
-
|
|
32
|
+
popupElRef: React.RefObject<HTMLElement>;
|
|
33
33
|
destroy?: boolean;
|
|
34
34
|
adjust?: boolean;
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"absolute-list.type.d.ts","sourceRoot":"","sources":["absolute-list.type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,kBAAkB,GAC1B,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,MAAM,GACN,OAAO,CAAC;AACZ,oBAAY,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,QAAQ,CAAC;AAEb,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"absolute-list.type.d.ts","sourceRoot":"","sources":["absolute-list.type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,kBAAkB,GAC1B,aAAa,GACb,UAAU,GACV,cAAc,GACd,WAAW,GACX,MAAM,GACN,OAAO,CAAC;AACZ,oBAAY,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,UAAU,GACV,WAAW,GACX,KAAK,GACL,QAAQ,CAAC;AAEb,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC1C,UAAU,EAAE,KAAK,GAAG,OAAO,CAAC;IAC5B,QAAQ,EAAE,kBAAkB,GAAG,gBAAgB,GAAG,OAAO,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IAE5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAEzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-container.d.ts","sourceRoot":"","sources":["use-container.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAC7D;AAED,eAAO,MAAM,YAAY,UAAW,cAAc,uBAMjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,cAAc,
|
|
1
|
+
{"version":3,"file":"use-container.d.ts","sourceRoot":"","sources":["use-container.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC;CAC7D;AAED,eAAO,MAAM,YAAY,UAAW,cAAc,uBAMjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,cAAc,uBAsBrD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,cAAc,0BAO5C,CAAC;AAEF,QAAA,MAAM,YAAY,WAAW,cAAc;;;;CAmC1C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -29,8 +29,13 @@ var getRootContainer = function getRootContainer(props) {
|
|
|
29
29
|
if (!root || _hooks.util.isInDocument(root) === false) {
|
|
30
30
|
root = document.createElement('div');
|
|
31
31
|
root.setAttribute('style', 'contain: size');
|
|
32
|
+
if (defaultContainer) {
|
|
33
|
+
defaultContainer.appendChild(root);
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
|
-
if (
|
|
36
|
+
if (_hooks.util.isBrowser() && defaultContainer &&
|
|
37
|
+
// body在微前端会被劫持导致死循环
|
|
38
|
+
defaultContainer !== document.body && root.parentElement !== defaultContainer) {
|
|
34
39
|
defaultContainer.appendChild(root);
|
|
35
40
|
}
|
|
36
41
|
return root;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.type.d.ts","sourceRoot":"","sources":["breadcrumb.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,oBAAY,cAAc,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EA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M,GAAG,SAAS,CAAC;IAE/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAE1B;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,SAAS,CAAC;IACxC;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAErD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB"}
|
package/esm/breadcrumb/list.js
CHANGED
|
@@ -64,10 +64,10 @@ var List = function List(props) {
|
|
|
64
64
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
65
65
|
position: position,
|
|
66
66
|
focus: open,
|
|
67
|
-
|
|
67
|
+
parentElRef: targetRef,
|
|
68
68
|
absolute: true,
|
|
69
69
|
fixedWidth: 'min',
|
|
70
|
-
|
|
70
|
+
popupElRef: popupRef,
|
|
71
71
|
adjust: true,
|
|
72
72
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
73
73
|
className: (0, _classnames.default)(classes === null || classes === void 0 ? void 0 : classes.dropdown),
|
package/esm/cascader/cascader.js
CHANGED
|
@@ -598,8 +598,8 @@ var Cascader = function Cascader(props0) {
|
|
|
598
598
|
zIndex: zIndex,
|
|
599
599
|
position: position,
|
|
600
600
|
popupGap: 4,
|
|
601
|
-
|
|
602
|
-
|
|
601
|
+
popupElRef: popupRef,
|
|
602
|
+
parentElRef: targetRef,
|
|
603
603
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
604
604
|
onRef: popupRef,
|
|
605
605
|
show: open,
|
|
@@ -219,8 +219,8 @@ var DatePicker = function DatePicker(props0) {
|
|
|
219
219
|
width: props.width
|
|
220
220
|
}, props.style),
|
|
221
221
|
children: [tipNode, renderResult(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.AbsoluteList, {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
parentElRef: targetRef,
|
|
223
|
+
popupElRef: popupRef,
|
|
224
224
|
absolute: props.absolute,
|
|
225
225
|
zIndex: props.zIndex,
|
|
226
226
|
position: position,
|
|
@@ -7,6 +7,7 @@ export interface DropdownClass {
|
|
|
7
7
|
open: string;
|
|
8
8
|
boxList: string;
|
|
9
9
|
list: string;
|
|
10
|
+
listHasChildren: string;
|
|
10
11
|
listSmall: string;
|
|
11
12
|
listLarge: string;
|
|
12
13
|
caret: string;
|
|
@@ -18,6 +19,7 @@ export interface DropdownClass {
|
|
|
18
19
|
splitButton: string;
|
|
19
20
|
optionGroup: string;
|
|
20
21
|
optionDivider: string;
|
|
22
|
+
itemWrapper: string;
|
|
21
23
|
}
|
|
22
24
|
export declare type MenuPosition = 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'left' | 'right' | 'top' | 'bottom';
|
|
23
25
|
export declare type TriggerType = 'click' | 'hover';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.type.d.ts","sourceRoot":"","sources":["dropdown.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC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CAAC;AAE5E,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;IACtE,MAAM,IAAI,GAAG,CAAC,OAAO;CACtB;AAED,oBAAY,YAAY,GAAG,OAAO,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdownIn.d.ts","sourceRoot":"","sources":["dropdownIn.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAwBlF,QAAA,MAAM,QAAQ,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"dropdownIn.d.ts","sourceRoot":"","sources":["dropdownIn.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAwBlF,QAAA,MAAM,QAAQ,UAAW,mBAAmB,gBAgM3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -33,8 +33,8 @@ var positionMap = {
|
|
|
33
33
|
'bottom-left': 'right-top',
|
|
34
34
|
left: 'left',
|
|
35
35
|
right: 'right',
|
|
36
|
-
top: 'right',
|
|
37
|
-
bottom: 'right',
|
|
36
|
+
top: 'right-bottom',
|
|
37
|
+
bottom: 'right-top',
|
|
38
38
|
auto: ''
|
|
39
39
|
};
|
|
40
40
|
var Dropdown = function Dropdown(props) {
|
|
@@ -157,6 +157,9 @@ var Dropdown = function Dropdown(props) {
|
|
|
157
157
|
}, index);
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
+
var hasChildren = data.some(function (d) {
|
|
161
|
+
return d.children;
|
|
162
|
+
});
|
|
160
163
|
var targetProps = getTargetProps();
|
|
161
164
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({
|
|
162
165
|
className: (0, _classnames.default)(className, dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.wrapper, !isSub && open && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.open)),
|
|
@@ -168,15 +171,15 @@ var Dropdown = function Dropdown(props) {
|
|
|
168
171
|
children: [renderButton(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
169
172
|
position: position,
|
|
170
173
|
focus: open,
|
|
171
|
-
|
|
174
|
+
parentElRef: targetRef,
|
|
172
175
|
absolute: absolute,
|
|
173
176
|
fixedWidth: 'min',
|
|
174
177
|
popupGap: 4,
|
|
175
|
-
|
|
178
|
+
popupElRef: popupRef,
|
|
176
179
|
adjust: !isSub,
|
|
177
180
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
178
181
|
display: columns ? 'grid' : 'block',
|
|
179
|
-
className: (0, _classnames.default)(dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.list, columns !== undefined && columns > 1 && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.boxList), size === 'small' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listSmall), size === 'large' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listLarge)),
|
|
182
|
+
className: (0, _classnames.default)(dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.list, hasChildren && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listHasChildren), columns !== undefined && columns > 1 && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.boxList), size === 'small' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listSmall), size === 'large' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listLarge)),
|
|
180
183
|
style: {
|
|
181
184
|
width: width,
|
|
182
185
|
gridTemplateColumns: columns ? "repeat(".concat(columns, ", 1fr)") : undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAgBzD,QAAA,MAAM,YAAY,UAAW,iBAAiB,gBAuK7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -57,11 +57,8 @@ var EditableArea = function EditableArea(props) {
|
|
|
57
57
|
bordered = _props$bordered === void 0 ? false : _props$bordered;
|
|
58
58
|
var editableAreaStyle = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$editableAre = jssStyle.editableArea) === null || _jssStyle$editableAre === void 0 ? void 0 : _jssStyle$editableAre.call(jssStyle);
|
|
59
59
|
var status = error ? 'error' : props.status;
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
textarea: null
|
|
63
|
-
}),
|
|
64
|
-
context = _React$useRef.current;
|
|
60
|
+
var textareaRef = _react.default.useRef(null);
|
|
61
|
+
var wrapperRef = _react.default.useRef(null);
|
|
65
62
|
var _useInputAble = (0, _hooks.useInputAble)({
|
|
66
63
|
control: 'value' in props,
|
|
67
64
|
value: props.value,
|
|
@@ -77,9 +74,9 @@ var EditableArea = function EditableArea(props) {
|
|
|
77
74
|
show = _useState2[0],
|
|
78
75
|
setShow = _useState2[1];
|
|
79
76
|
(0, _react.useEffect)(function () {
|
|
80
|
-
if (show &&
|
|
77
|
+
if (show && textareaRef.current) {
|
|
81
78
|
setTimeout(function () {
|
|
82
|
-
if (show &&
|
|
79
|
+
if (show && textareaRef.current) textareaRef.current.focus();
|
|
83
80
|
});
|
|
84
81
|
}
|
|
85
82
|
}, [show]);
|
|
@@ -126,14 +123,13 @@ var EditableArea = function EditableArea(props) {
|
|
|
126
123
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
127
124
|
absolute: getPopupContainer || true,
|
|
128
125
|
focus: show,
|
|
129
|
-
|
|
126
|
+
parentElRef: wrapperRef,
|
|
127
|
+
popupElRef: textareaRef,
|
|
130
128
|
fixedWidth: true,
|
|
131
129
|
position: 'cover',
|
|
132
130
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_textarea.Textarea, {
|
|
133
131
|
jssStyle: jssStyle,
|
|
134
|
-
textareaRef:
|
|
135
|
-
context.textarea = el;
|
|
136
|
-
},
|
|
132
|
+
textareaRef: textareaRef,
|
|
137
133
|
status: status,
|
|
138
134
|
placeholder: placeholder,
|
|
139
135
|
className: (0, _classnames.default)(editableAreaStyle === null || editableAreaStyle === void 0 ? void 0 : editableAreaStyle.popup, show && (editableAreaStyle === null || editableAreaStyle === void 0 ? void 0 : editableAreaStyle.popupShow)),
|
|
@@ -168,9 +164,7 @@ var EditableArea = function EditableArea(props) {
|
|
|
168
164
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
169
165
|
width: width
|
|
170
166
|
}),
|
|
171
|
-
ref:
|
|
172
|
-
context.wrapper = el;
|
|
173
|
-
},
|
|
167
|
+
ref: wrapperRef,
|
|
174
168
|
children: [renderPlaceholder(), renderClear(), renderPopup()]
|
|
175
169
|
});
|
|
176
170
|
};
|
package/esm/popover/popover.js
CHANGED
|
@@ -136,8 +136,8 @@ var Popover = function Popover(props) {
|
|
|
136
136
|
};
|
|
137
137
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
138
138
|
focus: open,
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
parentElRef: targetRef,
|
|
140
|
+
popupElRef: popupRef,
|
|
141
141
|
absolute: typeof props.getPopupContainer === 'function' ? props.getPopupContainer : true,
|
|
142
142
|
position: position,
|
|
143
143
|
fixedWidth: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAcnE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAcnE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,eAgpBxE;AAED,eAAe,MAAM,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -70,8 +70,7 @@ function Select(props0) {
|
|
|
70
70
|
keygen = props.keygen,
|
|
71
71
|
_props$focusSelected = props.focusSelected,
|
|
72
72
|
focusSelected = _props$focusSelected === void 0 ? true : _props$focusSelected,
|
|
73
|
-
|
|
74
|
-
optionWidth = _props$optionWidth === void 0 ? '100%' : _props$optionWidth,
|
|
73
|
+
optionWidth = props.optionWidth,
|
|
75
74
|
_props$height = props.height,
|
|
76
75
|
height = _props$height === void 0 ? 250 : _props$height,
|
|
77
76
|
openProp = props.open,
|
|
@@ -439,7 +438,7 @@ function Select(props0) {
|
|
|
439
438
|
return renderClearable();
|
|
440
439
|
}
|
|
441
440
|
if (!multiple && !showArrow) return null;
|
|
442
|
-
var defaultIcon =
|
|
441
|
+
var defaultIcon = multiple ? _icons.default.More : _icons.default.ArrowDown;
|
|
443
442
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
444
443
|
className: (0, _classnames.default)(styles.arrowIcon, open && !compressed && styles.arrowIconOpen),
|
|
445
444
|
onClick: handleResultClick,
|
|
@@ -592,18 +591,11 @@ function Select(props0) {
|
|
|
592
591
|
};
|
|
593
592
|
var getListStyle = function getListStyle() {
|
|
594
593
|
var style = {};
|
|
595
|
-
|
|
596
|
-
if (width) {
|
|
597
|
-
style.minWidth = width || 'auto';
|
|
598
|
-
} else {
|
|
599
|
-
style.width = width || 'auto';
|
|
600
|
-
}
|
|
601
|
-
return style;
|
|
602
|
-
} else {
|
|
594
|
+
{
|
|
603
595
|
if (columns > 1) {
|
|
604
596
|
style.width = columns * columnWidth;
|
|
605
|
-
} else {
|
|
606
|
-
style.width =
|
|
597
|
+
} else if (optionWidth) {
|
|
598
|
+
style.width = optionWidth;
|
|
607
599
|
}
|
|
608
600
|
}
|
|
609
601
|
return style;
|
|
@@ -628,8 +620,8 @@ function Select(props0) {
|
|
|
628
620
|
zIndex: props.zIndex,
|
|
629
621
|
position: position,
|
|
630
622
|
popupGap: 4,
|
|
631
|
-
|
|
632
|
-
|
|
623
|
+
popupElRef: popupRef,
|
|
624
|
+
parentElRef: targetRef,
|
|
633
625
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_animationList.default, {
|
|
634
626
|
onRef: popupRef,
|
|
635
627
|
show: open,
|
package/esm/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAe,SAAS,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,QAAA,MAAM,IAAI;YAAW,SAAS;;
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAe,SAAS,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOnD,QAAA,MAAM,IAAI;YAAW,SAAS;;CA2P7B,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
package/esm/tabs/tabs.js
CHANGED
|
@@ -55,7 +55,8 @@ var Tabs = function Tabs(props) {
|
|
|
55
55
|
background = props.background,
|
|
56
56
|
activeBackground = props.activeBackground,
|
|
57
57
|
inactiveBackground = props.inactiveBackground,
|
|
58
|
-
defaultActive = props.defaultActive,
|
|
58
|
+
_props$defaultActive = props.defaultActive,
|
|
59
|
+
defaultActive = _props$defaultActive === void 0 ? 0 : _props$defaultActive,
|
|
59
60
|
tabBarStyle = props.tabBarStyle,
|
|
60
61
|
color = props.color,
|
|
61
62
|
sticky = props.sticky,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,OAAO,UAAW,YAAY,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,OAAO,UAAW,YAAY,uBAsFnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/esm/tooltip/tooltip.js
CHANGED
|
@@ -79,7 +79,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
79
79
|
}
|
|
80
80
|
}, 'ns'), /*#__PURE__*/(0, _react.cloneElement)(inner, events), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.default, {
|
|
81
81
|
focus: open,
|
|
82
|
-
|
|
82
|
+
parentElRef: targetRef,
|
|
83
|
+
popupElRef: popupRef,
|
|
83
84
|
absolute: true,
|
|
84
85
|
position: position,
|
|
85
86
|
fixedWidth: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.tsx"],"names":[],"mappings":";AACA,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAcjE,oBAAY,mBAAmB,GAAG,YAAY,GAAG,YAAY,EAAE,CAAC;AAEhE,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.tsx"],"names":[],"mappings":";AACA,OAAO,EAQL,YAAY,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAcjE,oBAAY,mBAAmB,GAAG,YAAY,GAAG,YAAY,EAAE,CAAC;AAEhE,QAAA,MAAM,UAAU,wGAujBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -35,7 +35,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
35
35
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
36
36
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
37
37
|
var TreeSelect = function TreeSelect(props0) {
|
|
38
|
-
var _jssStyle$
|
|
38
|
+
var _jssStyle$treeSelect;
|
|
39
39
|
var props = (0, _useWithFormConfig.default)(props0);
|
|
40
40
|
var _useConfig = (0, _config.useConfig)(),
|
|
41
41
|
locale = _useConfig.locale;
|
|
@@ -101,7 +101,7 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
101
101
|
onChangeAddition = props.onChangeAddition,
|
|
102
102
|
onEnterExpand = props.onEnterExpand,
|
|
103
103
|
onExpand = props.onExpand;
|
|
104
|
-
var styles = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$
|
|
104
|
+
var styles = jssStyle === null || jssStyle === void 0 ? void 0 : (_jssStyle$treeSelect = jssStyle.treeSelect) === null || _jssStyle$treeSelect === void 0 ? void 0 : _jssStyle$treeSelect.call(jssStyle);
|
|
105
105
|
var rootStyle = Object.assign({
|
|
106
106
|
width: width
|
|
107
107
|
}, style);
|
|
@@ -520,13 +520,13 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
520
520
|
children: [tipNode, renderResult(), renderIcon(), /*#__PURE__*/(0, _jsxRuntime.jsx)(_absoluteList.AbsoluteList, {
|
|
521
521
|
adjust: true,
|
|
522
522
|
focus: open,
|
|
523
|
-
fixedWidth:
|
|
523
|
+
fixedWidth: "min",
|
|
524
524
|
absolute: props.absolute,
|
|
525
525
|
zIndex: props.zIndex,
|
|
526
526
|
position: position,
|
|
527
527
|
popupGap: 4,
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
popupElRef: popupRef,
|
|
529
|
+
parentElRef: targetRef,
|
|
530
530
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_animationList.default, {
|
|
531
531
|
onRef: popupRef,
|
|
532
532
|
show: open,
|
|
@@ -534,9 +534,6 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
534
534
|
display: 'block',
|
|
535
535
|
type: "scale-y",
|
|
536
536
|
duration: 'fast',
|
|
537
|
-
style: {
|
|
538
|
-
width: width || '100%'
|
|
539
|
-
},
|
|
540
537
|
children: renderList()
|
|
541
538
|
})
|
|
542
539
|
})]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.0.0-alpha.
|
|
13
|
+
"@sheinx/hooks": "3.0.0-alpha.20",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"valtio": "^1.13.0"
|