@dovetail-v2/refine 0.3.27-alpha.0 → 0.3.28-alpha.1
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/refine.cjs +6 -1
- package/dist/refine.js +7 -2
- package/package.json +1 -1
package/dist/refine.cjs
CHANGED
|
@@ -13027,6 +13027,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13027
13027
|
const renderAutoCompleteFunc = ({
|
|
13028
13028
|
value: value22,
|
|
13029
13029
|
onChange: onChange2,
|
|
13030
|
+
onBlur,
|
|
13030
13031
|
rowIndex,
|
|
13031
13032
|
disabled
|
|
13032
13033
|
}) => {
|
|
@@ -13035,6 +13036,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13035
13036
|
options: keyOptions || [],
|
|
13036
13037
|
value: value22,
|
|
13037
13038
|
onChange: onChange2,
|
|
13039
|
+
onBlur,
|
|
13038
13040
|
size: "small",
|
|
13039
13041
|
filterOption: (inputValue, option) => {
|
|
13040
13042
|
var _a;
|
|
@@ -13047,6 +13049,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13047
13049
|
const renderTextAreaFunc = ({
|
|
13048
13050
|
value: value22,
|
|
13049
13051
|
onChange: onChange2,
|
|
13052
|
+
onBlur,
|
|
13050
13053
|
rowIndex,
|
|
13051
13054
|
disabled
|
|
13052
13055
|
}) => {
|
|
@@ -13059,7 +13062,8 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13059
13062
|
disabled: disabled || disabledChagneDefaultValues && defaultValue.some((row) => lodashEs.isEqual(row, record)),
|
|
13060
13063
|
onChange: (e2) => {
|
|
13061
13064
|
onChange2(e2.target.value);
|
|
13062
|
-
}
|
|
13065
|
+
},
|
|
13066
|
+
onBlur
|
|
13063
13067
|
});
|
|
13064
13068
|
};
|
|
13065
13069
|
return /* @__PURE__ */ common.jsxRuntimeExports.jsxs(eagle.Space, {
|
|
@@ -13124,6 +13128,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13124
13128
|
}
|
|
13125
13129
|
}
|
|
13126
13130
|
},
|
|
13131
|
+
validateTriggerType: eagle.ValidateTriggerType.Aggressive,
|
|
13127
13132
|
disableBatchFilling: true,
|
|
13128
13133
|
hideEmptyTable: true
|
|
13129
13134
|
}), isHideLabelFormatPopover || _value.length === 0 ? null : /* @__PURE__ */ common.jsxRuntimeExports.jsx(LabelFormatPopover, {
|
package/dist/refine.js
CHANGED
|
@@ -11,7 +11,7 @@ import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNav
|
|
|
11
11
|
import { parse, stringify } from "qs";
|
|
12
12
|
import React, { createElement, isValidElement, cloneElement, Children, useContext, useCallback, createContext, useState, useEffect, useMemo, useRef, useImperativeHandle, forwardRef, Suspense, lazy, memo } from "react";
|
|
13
13
|
import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
|
|
14
|
-
import { usePushModal, usePopModal, DeleteDialog, Tag, RejectDialog, RejectDialogType, OverflowTooltip, Typo, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, ImmersiveDialog, SmallDialog, Fields, Units, Link as Link$1, Tooltip, Divider, Icon, Dropdown, Menu as Menu$1, LegacyModal, StatusCapsule, Popover, AntdTable, Upload, TableForm, AutoComplete, getOptions, DonutChart, SegmentControl, Checkbox, Tabs as Tabs$1, TabsTabPane, Col, Row, useMessage, SearchInput, Token, AntdSelectOptGroup, WizardDialog, MenuItemGroup, Layout as Layout$1, InputGroup, InputInteger, Time as Time$1, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
|
|
14
|
+
import { usePushModal, usePopModal, DeleteDialog, Tag, RejectDialog, RejectDialogType, OverflowTooltip, Typo, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, ImmersiveDialog, SmallDialog, Fields, Units, Link as Link$1, Tooltip, Divider, Icon, Dropdown, Menu as Menu$1, LegacyModal, StatusCapsule, Popover, AntdTable, Upload, TableForm, ValidateTriggerType, AutoComplete, getOptions, DonutChart, SegmentControl, Checkbox, Tabs as Tabs$1, TabsTabPane, Col, Row, useMessage, SearchInput, Token, AntdSelectOptGroup, WizardDialog, MenuItemGroup, Layout as Layout$1, InputGroup, InputInteger, Time as Time$1, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
|
|
15
15
|
import { HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, Retry16GradientBlueIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, OpenTerminal16GradientBlueIcon, ArrowChevronDown16BlueIcon, ArrowChevronUp16BlueIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
|
|
16
16
|
import { first, get as get$2, cloneDeep, set, setWith, clone, debounce, isEqual as isEqual$1, isObject as isObject$4, uniq, omit as omit$1, merge, last, keyBy } from "lodash-es";
|
|
17
17
|
import yaml$2 from "js-yaml";
|
|
@@ -13008,6 +13008,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13008
13008
|
const renderAutoCompleteFunc = ({
|
|
13009
13009
|
value: value22,
|
|
13010
13010
|
onChange: onChange2,
|
|
13011
|
+
onBlur,
|
|
13011
13012
|
rowIndex,
|
|
13012
13013
|
disabled
|
|
13013
13014
|
}) => {
|
|
@@ -13016,6 +13017,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13016
13017
|
options: keyOptions || [],
|
|
13017
13018
|
value: value22,
|
|
13018
13019
|
onChange: onChange2,
|
|
13020
|
+
onBlur,
|
|
13019
13021
|
size: "small",
|
|
13020
13022
|
filterOption: (inputValue, option) => {
|
|
13021
13023
|
var _a;
|
|
@@ -13028,6 +13030,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13028
13030
|
const renderTextAreaFunc = ({
|
|
13029
13031
|
value: value22,
|
|
13030
13032
|
onChange: onChange2,
|
|
13033
|
+
onBlur,
|
|
13031
13034
|
rowIndex,
|
|
13032
13035
|
disabled
|
|
13033
13036
|
}) => {
|
|
@@ -13040,7 +13043,8 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13040
13043
|
disabled: disabled || disabledChagneDefaultValues && defaultValue.some((row) => isEqual$1(row, record)),
|
|
13041
13044
|
onChange: (e2) => {
|
|
13042
13045
|
onChange2(e2.target.value);
|
|
13043
|
-
}
|
|
13046
|
+
},
|
|
13047
|
+
onBlur
|
|
13044
13048
|
});
|
|
13045
13049
|
};
|
|
13046
13050
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
|
|
@@ -13105,6 +13109,7 @@ function _KeyValueTableForm(props, ref) {
|
|
|
13105
13109
|
}
|
|
13106
13110
|
}
|
|
13107
13111
|
},
|
|
13112
|
+
validateTriggerType: ValidateTriggerType.Aggressive,
|
|
13108
13113
|
disableBatchFilling: true,
|
|
13109
13114
|
hideEmptyTable: true
|
|
13110
13115
|
}), isHideLabelFormatPopover || _value.length === 0 ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(LabelFormatPopover, {
|