@pisell/materials 6.3.8 → 6.3.9
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +155 -150
- package/build/lowcode/render/default/view.js +24 -25
- package/build/lowcode/view.js +34 -35
- package/dist/umd/materials.min.css +1 -0
- package/dist/umd/materials.min.js +1 -0
- package/dist/umd/static/DotsSix.57d66266.svg +1 -0
- package/dist/umd/static/arrow-left.e542294f.svg +1 -0
- package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
- package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
- package/dist/umd/static/help-circle.31c9be40.svg +1 -0
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +158 -22
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +21 -22
- package/es/components/pisellWalletPassCard/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +182 -18
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +21 -22
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/package.json +2 -2
|
@@ -97,32 +97,196 @@ var useCountries = () => {
|
|
|
97
97
|
}, [isShop]);
|
|
98
98
|
const currentData = (0, import_react.useMemo)(() => {
|
|
99
99
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
100
|
+
let codeList = null;
|
|
100
101
|
if (isShop) {
|
|
101
|
-
|
|
102
|
+
codeList = ((_d = (_c = (_b = (_a = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _a.store) == null ? void 0 : _b.getState()) == null ? void 0 : _c.global) == null ? void 0 : _d.codeList) || shopData;
|
|
103
|
+
} else if (isPc) {
|
|
104
|
+
codeList = (_h = (_g = (_f = (_e = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _e.store) == null ? void 0 : _f.getState()) == null ? void 0 : _g.country) == null ? void 0 : _h.country;
|
|
105
|
+
} else if (isH5) {
|
|
106
|
+
codeList = (_l = (_k = (_j = (_i = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _i.getStore()) == null ? void 0 : _j.getState()) == null ? void 0 : _k.country) == null ? void 0 : _l.country;
|
|
107
|
+
}
|
|
108
|
+
if (isShop || isPc || isH5) {
|
|
109
|
+
codeList = (codeList == null ? void 0 : codeList.length) > 0 ? codeList : defaultData;
|
|
110
|
+
console.log("codeList", codeList);
|
|
111
|
+
return codeList.map((item) => ({
|
|
102
112
|
...item,
|
|
103
113
|
prefix: `+${item.calling_code}`
|
|
104
114
|
}));
|
|
105
|
-
} else if (isPc) {
|
|
106
|
-
const codeList = (_h = (_g = (_f = (_e = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _e.store) == null ? void 0 : _f.getState()) == null ? void 0 : _g.country) == null ? void 0 : _h.country;
|
|
107
|
-
if (codeList) {
|
|
108
|
-
return codeList.map((item) => ({
|
|
109
|
-
...item,
|
|
110
|
-
prefix: `+${item.calling_code}`
|
|
111
|
-
}));
|
|
112
|
-
}
|
|
113
|
-
} else if (isH5) {
|
|
114
|
-
const codeList = (_l = (_k = (_j = (_i = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _i.getStore()) == null ? void 0 : _j.getState()) == null ? void 0 : _k.country) == null ? void 0 : _l.country;
|
|
115
|
-
if (codeList) {
|
|
116
|
-
return codeList.map((item) => ({
|
|
117
|
-
...item,
|
|
118
|
-
prefix: `+${item.calling_code}`
|
|
119
|
-
}));
|
|
120
|
-
}
|
|
121
115
|
}
|
|
122
116
|
return data;
|
|
123
|
-
}, [isShop, data, shopData]);
|
|
117
|
+
}, [isShop, isPc, isH5, data, shopData]);
|
|
124
118
|
return { data: currentData };
|
|
125
119
|
};
|
|
120
|
+
var defaultData = [
|
|
121
|
+
{
|
|
122
|
+
name: "Mexico",
|
|
123
|
+
code: "MX",
|
|
124
|
+
calling_code: "52",
|
|
125
|
+
currency_code: "MXN"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "美国",
|
|
129
|
+
code: "US",
|
|
130
|
+
calling_code: "1",
|
|
131
|
+
currency_code: "USD"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "加拿大",
|
|
135
|
+
code: "CA",
|
|
136
|
+
calling_code: "1",
|
|
137
|
+
currency_code: "CAD"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: "澳大利亚",
|
|
141
|
+
code: "AU",
|
|
142
|
+
calling_code: "61",
|
|
143
|
+
currency_code: "AUD"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "新西兰",
|
|
147
|
+
code: "NZ",
|
|
148
|
+
calling_code: "64",
|
|
149
|
+
currency_code: "NZD"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "新加坡",
|
|
153
|
+
code: "SG",
|
|
154
|
+
calling_code: "65",
|
|
155
|
+
currency_code: "SGD"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "香港特别行政区",
|
|
159
|
+
code: "HK",
|
|
160
|
+
calling_code: "852",
|
|
161
|
+
currency_code: "HKD"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "台湾",
|
|
165
|
+
code: "TW",
|
|
166
|
+
calling_code: "886",
|
|
167
|
+
currency_code: "TWD"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "中国",
|
|
171
|
+
code: "CN",
|
|
172
|
+
calling_code: "86",
|
|
173
|
+
currency_code: "AUD"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "日本",
|
|
177
|
+
code: "JP",
|
|
178
|
+
calling_code: "81",
|
|
179
|
+
currency_code: "JPY"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "韩国",
|
|
183
|
+
code: "KR",
|
|
184
|
+
calling_code: "82",
|
|
185
|
+
currency_code: "KRW"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: "马来西亚",
|
|
189
|
+
code: "MY",
|
|
190
|
+
calling_code: "60",
|
|
191
|
+
currency_code: "USD"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "英国",
|
|
195
|
+
code: "GB",
|
|
196
|
+
calling_code: "44",
|
|
197
|
+
currency_code: "GBP"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: "法国",
|
|
201
|
+
code: "FR",
|
|
202
|
+
calling_code: "33",
|
|
203
|
+
currency_code: "EUR"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "意大利",
|
|
207
|
+
code: "IT",
|
|
208
|
+
calling_code: "39",
|
|
209
|
+
currency_code: "EUR"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "Ireland",
|
|
213
|
+
code: "IE",
|
|
214
|
+
calling_code: "353",
|
|
215
|
+
currency_code: "EUR"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: "Netherlands",
|
|
219
|
+
code: "NL",
|
|
220
|
+
calling_code: "31",
|
|
221
|
+
currency_code: "EUR"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "Germany",
|
|
225
|
+
code: "DE",
|
|
226
|
+
calling_code: "49",
|
|
227
|
+
currency_code: "EUR"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: "Spain",
|
|
231
|
+
code: "ES",
|
|
232
|
+
calling_code: "34",
|
|
233
|
+
currency_code: "EUR"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: "Finland",
|
|
237
|
+
code: "FI",
|
|
238
|
+
calling_code: "358",
|
|
239
|
+
currency_code: "EUR"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: "Hungary",
|
|
243
|
+
code: "HU",
|
|
244
|
+
calling_code: "36",
|
|
245
|
+
currency_code: "HUF"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: "Indonesia",
|
|
249
|
+
code: "ID",
|
|
250
|
+
calling_code: "62",
|
|
251
|
+
currency_code: "IDR"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "India",
|
|
255
|
+
code: "IND",
|
|
256
|
+
calling_code: "91",
|
|
257
|
+
currency_code: "INR"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: "Nigeria",
|
|
261
|
+
code: "NG",
|
|
262
|
+
calling_code: "234",
|
|
263
|
+
currency_code: "NGN"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: "Islamic Republic of Pakistan",
|
|
267
|
+
code: "PAK",
|
|
268
|
+
calling_code: "92",
|
|
269
|
+
currency_code: "PRK"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "Philippines",
|
|
273
|
+
code: "PH",
|
|
274
|
+
calling_code: "63",
|
|
275
|
+
currency_code: "PHP"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "Thailand",
|
|
279
|
+
code: "TH",
|
|
280
|
+
calling_code: "66",
|
|
281
|
+
currency_code: "THB"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: "South Africa",
|
|
285
|
+
code: "ZA",
|
|
286
|
+
calling_code: "27",
|
|
287
|
+
currency_code: "ZAR"
|
|
288
|
+
}
|
|
289
|
+
];
|
|
126
290
|
// Annotate the CommonJS export names for ESM import in node:
|
|
127
291
|
0 && (module.exports = {
|
|
128
292
|
getCountryDataList,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
2
2
|
options?: any;
|
|
3
|
-
optionSourceType?: "
|
|
3
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
4
4
|
labelField: string;
|
|
5
5
|
valueField: string;
|
|
6
6
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
|
|
|
15
15
|
metadata?: MediaMetadata;
|
|
16
16
|
}) => Record<string, any>;
|
|
17
17
|
export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
|
|
18
|
-
export declare const getBaseTime: (size: number) =>
|
|
18
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const formFieldMap: {
|
|
3
2
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
3
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -35,7 +34,7 @@ declare const formFieldMap: {
|
|
|
35
34
|
};
|
|
36
35
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
36
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
37
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
39
38
|
labelField: string;
|
|
40
39
|
valueField: string;
|
|
41
40
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -60,25 +59,7 @@ declare const formFieldMap: {
|
|
|
60
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
61
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Input
|
|
64
|
-
options?: any;
|
|
65
|
-
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
66
|
-
labelField: string;
|
|
67
|
-
valueField: string;
|
|
68
|
-
extraParams?: Record<string, any> | undefined;
|
|
69
|
-
} & {
|
|
70
|
-
dataSource?: any;
|
|
71
|
-
}) => JSX.Element) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
72
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
73
|
-
} & {
|
|
74
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
75
|
-
}) | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
76
|
-
onChange: (value: string) => void;
|
|
77
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
78
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
79
|
-
} & {
|
|
80
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
81
|
-
}) | (import("react").FC<import("./Input/type").InputProps> & {
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
|
|
82
63
|
JSON: import("react").FC<any>;
|
|
83
64
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
84
65
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -98,5 +79,23 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
98
79
|
name?: string | undefined;
|
|
99
80
|
fieldKey?: string | undefined;
|
|
100
81
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
101
|
-
})
|
|
82
|
+
}) | import("react").FC<any> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
83
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
84
|
+
} & {
|
|
85
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
86
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
87
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
88
|
+
} & {
|
|
89
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
90
|
+
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
91
|
+
options?: any;
|
|
92
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
93
|
+
labelField: string;
|
|
94
|
+
valueField: string;
|
|
95
|
+
extraParams?: Record<string, any> | undefined;
|
|
96
|
+
} & {
|
|
97
|
+
dataSource?: any;
|
|
98
|
+
}) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
99
|
+
onChange: (value: string) => void;
|
|
100
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -197,12 +197,12 @@ export declare const fieldList: ({
|
|
|
197
197
|
field_icon: string;
|
|
198
198
|
field_name: string;
|
|
199
199
|
field_type: string;
|
|
200
|
-
default_value:
|
|
200
|
+
default_value: boolean;
|
|
201
201
|
} | {
|
|
202
202
|
field_icon: string;
|
|
203
203
|
field_name: string;
|
|
204
204
|
field_type: string;
|
|
205
|
-
default_value:
|
|
205
|
+
default_value: string;
|
|
206
206
|
} | {
|
|
207
207
|
field_icon: string;
|
|
208
208
|
field_name: string;
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("filters" | "
|
|
158
|
+
}) => ("filters" | "view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.9",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
74
|
"react-camera-pro": "1.4.0",
|
|
75
|
-
"@pisell/icon": "0.0.11",
|
|
76
75
|
"@pisell/date-picker": "3.0.4",
|
|
76
|
+
"@pisell/icon": "0.0.11",
|
|
77
77
|
"@pisell/utils": "3.0.1"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|