ftdsy-attr 2.1.7 → 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.
@@ -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,13 +68,6 @@ type MatchDatas = {
66
68
  specs?: any;
67
69
  };
68
70
 
69
- declare const _default: {
70
- createCategoryProperties: typeof createCategoryProperties;
71
- getOriginProperty: typeof getOriginProperty;
72
- matchCategoryProperties: typeof matchCategoryProperties;
73
- createCategoryPropertyTemplate: typeof createCategoryPropertyTemplate;
74
- };
75
-
76
71
  /**
77
72
  * 转换自定义属性列表,
78
73
  * */
@@ -111,5 +106,5 @@ declare function matchCategoryProperties(matchDatas: MatchDatas, matchLevel?: nu
111
106
  * */
112
107
  declare function createCategoryPropertyTemplate(properties: (DsyAttrWithValue | goodsAttr)[]): goodsAttr[];
113
108
 
114
- export { _default as default };
109
+ export { createCategoryProperties, createCategoryPropertyTemplate, getOriginProperty, matchCategoryProperties };
115
110
  export type { ComponentType, Condition, DsyAttr, DsyAttrValue, DsyAttrWithValue, MatchDatas, PropertyComponent, PropertyOption, PropertyType, Pt, Rule, RuleName, goodsAttr };