ftdsy-attr 2.1.8 → 2.1.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/dist/ftdsy-attr.cjs.js +16 -182
- package/dist/ftdsy-attr.cjs.js.map +1 -1
- package/dist/ftdsy-attr.d.ts +3 -9
- package/dist/ftdsy-attr.esm.mjs +9 -179
- package/dist/ftdsy-attr.esm.mjs.map +1 -1
- package/package.json +4 -3
package/dist/ftdsy-attr.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { getGlobal } from '@/global-utils';
|
|
2
|
+
|
|
1
3
|
type Pt = 'pdd' | 'tb' | 'jd' | 'dy' | 'shopee' | 'xhs' | 'ks' | 'dsy' | 'albb' | 'shopeebt' | 'tgc' | 'wxsph' | 'tiktok' | 'tm' | 'tiktokUs';
|
|
2
4
|
type PropertyType = 'unknown' | 'input' | 'singleSelect' | 'multiSelect' | 'treeSingleSelect' | 'inputComponent' | 'multiComplex' | 'date' | 'image';
|
|
3
5
|
type RuleName = 'requiredRule' | 'maxLengthRule' | 'valueTypeRule' | 'maxItemsRule' | 'format' | 'regexRule';
|
|
@@ -66,14 +68,6 @@ type MatchDatas = {
|
|
|
66
68
|
specs?: any;
|
|
67
69
|
};
|
|
68
70
|
|
|
69
|
-
declare const getGlobal: () => any;
|
|
70
|
-
declare const _default: {
|
|
71
|
-
createCategoryProperties: typeof createCategoryProperties;
|
|
72
|
-
getOriginProperty: typeof getOriginProperty;
|
|
73
|
-
matchCategoryProperties: typeof matchCategoryProperties;
|
|
74
|
-
createCategoryPropertyTemplate: typeof createCategoryPropertyTemplate;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
71
|
/**
|
|
78
72
|
* 转换自定义属性列表,
|
|
79
73
|
* */
|
|
@@ -112,5 +106,5 @@ declare function matchCategoryProperties(matchDatas: MatchDatas, matchLevel?: nu
|
|
|
112
106
|
* */
|
|
113
107
|
declare function createCategoryPropertyTemplate(properties: (DsyAttrWithValue | goodsAttr)[]): goodsAttr[];
|
|
114
108
|
|
|
115
|
-
export {
|
|
109
|
+
export { createCategoryProperties, createCategoryPropertyTemplate, getOriginProperty, matchCategoryProperties };
|
|
116
110
|
export type { ComponentType, Condition, DsyAttr, DsyAttrValue, DsyAttrWithValue, MatchDatas, PropertyComponent, PropertyOption, PropertyType, Pt, Rule, RuleName, goodsAttr };
|