@cniot/android-pda-components 2.0.0-beta.6 → 2.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.es.js
CHANGED
|
@@ -14273,13 +14273,13 @@ const Stepper$1 = forwardRef(InnerStepper);
|
|
|
14273
14273
|
var Stepper = Stepper$1;
|
|
14274
14274
|
function useFieldV2(defaultData, validate) {
|
|
14275
14275
|
const [, forceUpdate] = React__default.useState({});
|
|
14276
|
-
const [
|
|
14276
|
+
const [field] = React__default.useState(() => {
|
|
14277
14277
|
return new Filed(defaultData, validate);
|
|
14278
14278
|
});
|
|
14279
14279
|
React__default.useEffect(() => {
|
|
14280
|
-
|
|
14280
|
+
field.on("$updated", () => forceUpdate({}));
|
|
14281
14281
|
}, []);
|
|
14282
|
-
return
|
|
14282
|
+
return field;
|
|
14283
14283
|
}
|
|
14284
14284
|
var index$n = "";
|
|
14285
14285
|
function TagV2(props) {
|
|
@@ -14559,14 +14559,16 @@ const renderNormalContent = ({ type, dataSource = [] }) => {
|
|
|
14559
14559
|
className = "",
|
|
14560
14560
|
display = true,
|
|
14561
14561
|
type: contentType,
|
|
14562
|
-
tip
|
|
14562
|
+
tip,
|
|
14563
|
+
...restProps
|
|
14563
14564
|
} = item;
|
|
14564
14565
|
if (display === false) {
|
|
14565
14566
|
return null;
|
|
14566
14567
|
}
|
|
14567
14568
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("div", {
|
|
14568
14569
|
className: `content-item ${className} ${contentType || ""}`,
|
|
14569
|
-
key: index2
|
|
14570
|
+
key: index2,
|
|
14571
|
+
...restProps
|
|
14570
14572
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
|
14571
14573
|
className: "label"
|
|
14572
14574
|
}, label), /* @__PURE__ */ React__default.createElement("div", {
|
|
@@ -15291,4 +15293,4 @@ function getFormatDate(val, format, initialValue) {
|
|
|
15291
15293
|
return returnValue;
|
|
15292
15294
|
}
|
|
15293
15295
|
const ListItem = PdaListItem;
|
|
15294
|
-
export { ActionSheet, index$E as AppList, Badge as BadgeV2, BaseLayout, Button$2 as Button, ButtonV2, List$2 as Card, CardV2, Confirm$1 as Confirm, index$q as DatePicker, DatePickerV2, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, FinishCardV2, FooterV2, index$$ as Header, HeaderV2, IllustrationV2, ImageUploader, ImageUploaderV2, ImageViewer, ImageViewer as ImageViewerV2, InfiniteScroll, PdaInfoCard$2 as InfoCard, index$t as InputItem, InputV2, Keyborard, LatticeMouth, LatticeMouthV2, LayoutV2, List$3 as List, ListItem, List as ListV2, Loading, MenuListV2, NumberPickerV2, Overlay$1 as Overlay, PDA_IMAGE_PATH, index$S as PageFlowSystemPages, PageFlowSystemPagesV2, index$v as Picker, PopupV2, Presentation, ProgressBar as ProgressBarV2, index$o as RadioV2, ScanV2, SelectCard, SelectV2, SimpleCard, SimpleCardBlock, PdaInfoCard as Steps, SubCard, TableV2, Tabs as TabsV2, Tag, TagV2, PdaListItem as TaskCard, TaskCardV2, TaskInputV2, PdaTitle as Title, Toast$1 as Toast, WakeKeyborard, index$s as useFiled
|
|
15296
|
+
export { ActionSheet, index$E as AppList, Badge as BadgeV2, BaseLayout, Button$2 as Button, ButtonV2, List$2 as Card, CardV2, Confirm$1 as Confirm, index$q as DatePicker, DatePickerV2, PdaDistanceCard as DistanceCard, PdaFinishCard as FinishCard, FinishCardV2, FooterV2, index$$ as Header, HeaderV2, IllustrationV2, ImageUploader, ImageUploaderV2, ImageViewer, ImageViewer as ImageViewerV2, InfiniteScroll, PdaInfoCard$2 as InfoCard, index$t as InputItem, InputV2, Keyborard, LatticeMouth, LatticeMouthV2, LayoutV2, List$3 as List, ListItem, List as ListV2, Loading, MenuListV2, NumberPickerV2, Overlay$1 as Overlay, PDA_IMAGE_PATH, index$S as PageFlowSystemPages, PageFlowSystemPagesV2, index$v as Picker, PopupV2, Presentation, ProgressBar as ProgressBarV2, index$o as RadioV2, ScanV2, SelectCard, SelectV2, SimpleCard, SimpleCardBlock, PdaInfoCard as Steps, SubCard, TableV2, Tabs as TabsV2, Tag, TagV2, PdaListItem as TaskCard, TaskCardV2, TaskInputV2, PdaTitle as Title, Toast$1 as Toast, WakeKeyborard, useFieldV2, index$s as useFiled };
|