ftdsy-attr 2.1.17 → 2.1.18
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.d.ts
CHANGED
|
@@ -91,6 +91,10 @@ declare function matchCategoryProperties(matchDatas: MatchDatas, matchLevel?: nu
|
|
|
91
91
|
data: goodsAttr[];
|
|
92
92
|
code: number;
|
|
93
93
|
}>;
|
|
94
|
+
/**
|
|
95
|
+
* 根据模板重新填写属性
|
|
96
|
+
*
|
|
97
|
+
* */
|
|
94
98
|
/**
|
|
95
99
|
* 创建分类属性模板
|
|
96
100
|
*
|
|
@@ -105,12 +109,12 @@ declare function matchCategoryProperties(matchDatas: MatchDatas, matchLevel?: nu
|
|
|
105
109
|
* treeSingleSelect: { attr_name: '风格', value: '休闲风-简约风' };
|
|
106
110
|
* */
|
|
107
111
|
declare function createCategoryPropertyTemplate(properties: (DsyAttrWithValue | goodsAttr)[]): goodsAttr[];
|
|
108
|
-
declare const
|
|
112
|
+
declare const ftdsyAttr: {
|
|
109
113
|
createCategoryProperties: typeof createCategoryProperties;
|
|
110
114
|
getOriginProperty: typeof getOriginProperty;
|
|
111
115
|
matchCategoryProperties: typeof matchCategoryProperties;
|
|
112
116
|
createCategoryPropertyTemplate: typeof createCategoryPropertyTemplate;
|
|
113
117
|
};
|
|
114
118
|
|
|
115
|
-
export { createCategoryProperties, createCategoryPropertyTemplate,
|
|
119
|
+
export { createCategoryProperties, createCategoryPropertyTemplate, ftdsyAttr as default, getOriginProperty, matchCategoryProperties };
|
|
116
120
|
export type { ComponentType, Condition, DsyAttr, DsyAttrValue, DsyAttrWithValue, MatchDatas, PropertyComponent, PropertyOption, PropertyType, Pt, Rule, RuleName, goodsAttr };
|
package/dist/ftdsy-attr.esm.mjs
CHANGED
|
@@ -71907,5 +71907,8 @@ var ft = {
|
|
|
71907
71907
|
createCategoryPropertyTemplate: mt
|
|
71908
71908
|
};
|
|
71909
71909
|
|
|
71910
|
+
"undefined" != typeof module && module.exports && (module.exports = ft, module.exports.default = ft),
|
|
71911
|
+
"undefined" != typeof globalThis && (globalThis.ftdsyAttr = ft);
|
|
71912
|
+
|
|
71910
71913
|
export { ht as createCategoryProperties, mt as createCategoryPropertyTemplate, ft as default, lt as getOriginProperty, at as matchCategoryProperties };
|
|
71911
71914
|
//# sourceMappingURL=ftdsy-attr.esm.mjs.map
|