onchain-uikit 3.9.4-alpha64 → 3.9.4-alpha66
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/index.es.js
CHANGED
|
@@ -20844,7 +20844,7 @@ const OnChainScrollBar = (h3) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
|
20844
20844
|
options: t3.options,
|
|
20845
20845
|
style: { width: "100px" },
|
|
20846
20846
|
size: t3.size,
|
|
20847
|
-
getPopupContainer: (k3) => k3.parentNode || document.body,
|
|
20847
|
+
getPopupContainer: (k3) => t3.popupContainer ? t3.popupContainer : k3.parentNode || document.body,
|
|
20848
20848
|
onChange: (k3) => {
|
|
20849
20849
|
$3.defaultValue2 = k3 || "";
|
|
20850
20850
|
let A3 = "";
|
|
@@ -29364,7 +29364,7 @@ const EditableCell = ({
|
|
|
29364
29364
|
options: S8.options,
|
|
29365
29365
|
fieldNames: h3.fieldNames ? h3.fieldNames : { label: "label", value: "value" },
|
|
29366
29366
|
placeholder: h3.placeholder || template("sys.label.selectOption", { placeholder: "请选择" }),
|
|
29367
|
-
getPopupContainer: (A8) => A8.parentNode || document.body,
|
|
29367
|
+
getPopupContainer: (A8) => h3.popupContainer ? h3.popupContainer : A8.parentNode || document.body,
|
|
29368
29368
|
onClick: () => {
|
|
29369
29369
|
h3.disabled || (S8.visible = !0, S8.enter = !0);
|
|
29370
29370
|
},
|
|
@@ -29543,7 +29543,7 @@ const OnChainSearchSelect = forwardRef$1((h3, t3) => {
|
|
|
29543
29543
|
...h3,
|
|
29544
29544
|
showSearch: !0,
|
|
29545
29545
|
treeNodeFilterProp: "label",
|
|
29546
|
-
getPopupContainer: (t3) => t3.parentNode || document.body
|
|
29546
|
+
getPopupContainer: (t3) => h3.popupContainer ? h3.popupContainer : t3.parentNode || document.body
|
|
29547
29547
|
}
|
|
29548
29548
|
), OnChainFormItem = forwardRef$1((h3, t3) => {
|
|
29549
29549
|
const $3 = useContext(ModelContext), k3 = ($3 == null ? void 0 : $3.formItemCom) || {}, A3 = useCallback(
|
|
@@ -7,7 +7,9 @@ import { BasicsAttribute } from '../../utils/attribute';
|
|
|
7
7
|
import { OnChainPopoverTransferProps } from '../OnChainPopoverTransfer';
|
|
8
8
|
import { FC } from 'react';
|
|
9
9
|
import { OnChainSelectPopupProps } from '../OnChainSelectPopupForm/select';
|
|
10
|
-
export declare const OnChainTreeSelect: FC<TreeSelectProps
|
|
10
|
+
export declare const OnChainTreeSelect: FC<TreeSelectProps & {
|
|
11
|
+
popupContainer?: HTMLElement;
|
|
12
|
+
}>;
|
|
11
13
|
export type contentProps = ({
|
|
12
14
|
formatFormProps?: (props: contentProps['props'], record: any, columnApicode: string) => contentProps;
|
|
13
15
|
} & ({
|
|
@@ -30,6 +30,7 @@ export interface OnChainPopupSelectProps {
|
|
|
30
30
|
getItems?: () => void;
|
|
31
31
|
getInstanceMenu?: () => any;
|
|
32
32
|
getAttributeByTab?: () => any;
|
|
33
|
+
popupContainer?: HTMLElement;
|
|
33
34
|
}
|
|
34
35
|
declare const OnChainPopupSelect: FC<OnChainPopupSelectProps>;
|
|
35
36
|
export default OnChainPopupSelect;
|