@pisell/materials 1.0.561 → 1.0.562
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +3 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +3 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -87,6 +87,9 @@ var PhoneInput = function PhoneInput(_ref) {
|
|
|
87
87
|
var selectedCountry = countries.find(function (c) {
|
|
88
88
|
return c.code === countryCode;
|
|
89
89
|
});
|
|
90
|
+
if (phoneNumber.length === 0) {
|
|
91
|
+
return "";
|
|
92
|
+
}
|
|
90
93
|
var prefix = (selectedCountry === null || selectedCountry === void 0 ? void 0 : selectedCountry.prefix) || "";
|
|
91
94
|
return "".concat(prefix).concat(phoneNumber);
|
|
92
95
|
}, [countryCode, phoneNumber, countries]);
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|
|
@@ -90,6 +90,9 @@ var PhoneInput = ({ value: propsValue, onChange, isVerification, disabled, ...pr
|
|
|
90
90
|
const selectedCountry = countries.find(
|
|
91
91
|
(c) => c.code === countryCode
|
|
92
92
|
);
|
|
93
|
+
if (phoneNumber.length === 0) {
|
|
94
|
+
return "";
|
|
95
|
+
}
|
|
93
96
|
const prefix = (selectedCountry == null ? void 0 : selectedCountry.prefix) || "";
|
|
94
97
|
return `${prefix}${phoneNumber}`;
|
|
95
98
|
}, [countryCode, phoneNumber, countries]);
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|