ftdsy-attr 2.1.18 → 2.1.20

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,5 +1,3 @@
1
- export { getGlobal } from '@/global-utils';
2
-
3
1
  type Pt = 'pdd' | 'tb' | 'jd' | 'dy' | 'shopee' | 'xhs' | 'ks' | 'dsy' | 'albb' | 'shopeebt' | 'tgc' | 'wxsph' | 'tiktok' | 'tm' | 'tiktokUs';
4
2
  type PropertyType = 'unknown' | 'input' | 'singleSelect' | 'multiSelect' | 'treeSingleSelect' | 'inputComponent' | 'multiComplex' | 'date' | 'image';
5
3
  type RuleName = 'requiredRule' | 'maxLengthRule' | 'valueTypeRule' | 'maxItemsRule' | 'format' | 'regexRule';
@@ -68,6 +66,8 @@ type MatchDatas = {
68
66
  specs?: any;
69
67
  };
70
68
 
69
+ declare const getGlobal: () => any;
70
+
71
71
  /**
72
72
  * 转换自定义属性列表,
73
73
  * */
@@ -116,5 +116,5 @@ declare const ftdsyAttr: {
116
116
  createCategoryPropertyTemplate: typeof createCategoryPropertyTemplate;
117
117
  };
118
118
 
119
- export { createCategoryProperties, createCategoryPropertyTemplate, ftdsyAttr as default, getOriginProperty, matchCategoryProperties };
119
+ export { createCategoryProperties, createCategoryPropertyTemplate, ftdsyAttr as default, getGlobal, getOriginProperty, matchCategoryProperties };
120
120
  export type { ComponentType, Condition, DsyAttr, DsyAttrValue, DsyAttrWithValue, MatchDatas, PropertyComponent, PropertyOption, PropertyType, Pt, Rule, RuleName, goodsAttr };