jufubao-food 1.0.11 → 1.0.12-beta2

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.
Files changed (41) hide show
  1. package/commands.js +1 -1
  2. package/commands.update.change.js +176 -0
  3. package/commands.update.js +65 -0
  4. package/package.json +5 -2
  5. package/src/components/JfbFoodBrand/JfbFoodBrand.vue +3 -1
  6. package/src/components/JfbFoodBrand/JfbFoodBrandLess.less +6 -5
  7. package/src/components/JfbFoodBrandV2/JfbFoodBrandV2.vue +3 -1
  8. package/src/components/JfbFoodBrandV2/JfbFoodBrandV2Less.less +6 -5
  9. package/src/components/JfbFoodConfirm/JfbFoodConfirm.vue +3 -1
  10. package/src/components/JfbFoodConfirm/JfbFoodConfirmLess.less +6 -5
  11. package/src/components/JfbFoodConfirmV2/Api.js +96 -0
  12. package/src/components/JfbFoodConfirmV2/Attr.js +20 -0
  13. package/src/components/JfbFoodConfirmV2/JfbFoodConfirmV2.vue +789 -0
  14. package/src/components/JfbFoodConfirmV2/JfbFoodConfirmV2Less.less +80 -0
  15. package/src/components/JfbFoodConfirmV2/JfbFoodConfirmV2Mixin.js +30 -0
  16. package/src/components/JfbFoodConfirmV2/Mock.js +110 -0
  17. package/src/components/JfbFoodConfirmV2/cusAttr/advanced.js +64 -0
  18. package/src/components/JfbFoodConfirmV2/cusAttr/content.js +199 -0
  19. package/src/components/JfbFoodConfirmV2/cusAttr/style.js +562 -0
  20. package/src/components/JfbFoodConfirmV2/orderMixin.js +223 -0
  21. package/src/components/JfbFoodProductInfo/Api.js +58 -0
  22. package/src/components/JfbFoodProductInfo/Attr.js +14 -0
  23. package/src/components/JfbFoodProductInfo/JfbFoodProductInfo.vue +248 -0
  24. package/src/components/JfbFoodProductInfo/JfbFoodProductInfoLess.less +80 -0
  25. package/src/components/JfbFoodProductInfo/JfbFoodProductInfoMixin.js +30 -0
  26. package/src/components/JfbFoodProductInfo/Mock.js +13 -0
  27. package/src/components/JfbFoodProductInfo/XdSku.vue +397 -0
  28. package/src/components/JfbFoodProductList/Api.js +58 -0
  29. package/src/components/JfbFoodProductList/Attr.js +48 -0
  30. package/src/components/JfbFoodProductList/JfbFoodProductList.vue +180 -0
  31. package/src/components/JfbFoodProductList/JfbFoodProductListLess.less +80 -0
  32. package/src/components/JfbFoodProductList/JfbFoodProductListMixin.js +30 -0
  33. package/src/components/JfbFoodProductList/Mock.js +13 -0
  34. package/src/mixins/componentsMixins.js +620 -25
  35. package/src/mixins/locationMixins.js +119 -0
  36. package/src/mixins/newLocaltionMixins.js +754 -0
  37. package/src/mixins/pageEditx.js +347 -0
  38. package/src/mixins/pageEvent.js +311 -0
  39. package/src/mixins/pageMain.js +120 -0
  40. package/src/mixins/pageUitls.js +738 -0
  41. package/src/mixins/posterMixins.js +122 -0
package/commands.js CHANGED
@@ -61,7 +61,7 @@ const handleJsonPackage = require('./build/version/Json');
61
61
 
62
62
  if (isUpdate || isNodeModulesVersionUpdate) {
63
63
  //是否需要升级基础插件
64
- let cmdStr = `npm i --registry=https://registry.npm.taobao.org && `;
64
+ let cmdStr = `npm i --registry=https://registry.npmmirror.com && `;
65
65
 
66
66
  //复制插件库文件
67
67
  cmdStr = `${cmdStr} cross-env oss=${is0ss} node ./build/commands/copy.init.js`;
@@ -0,0 +1,176 @@
1
+ 'use strict';
2
+
3
+ const path = require('path');
4
+ const basePath = require('./build/path');
5
+ const clog = require('./build/clog');
6
+ const fileHelper = require('./build/fileHepler');
7
+ const utils = require('./build/lib/utils');
8
+ const execSync = require('child_process').execSync;
9
+
10
+ ///Users/shiyonggao/Desktop/code/BASE/UNIAPP/
11
+ //业务项目ID
12
+ // const projectPathList = [
13
+ // {
14
+ // name: '业务组件基础插件库',
15
+ // path: '/Users/shiyonggao/home/root/Base-Jufubao/jufubao-base'
16
+ // },
17
+ // {
18
+ // name: '业务组件商城库',
19
+ // path: '/Users/shiyonggao/home/root/Base-Jufubao/jufubao-mall'
20
+ // },
21
+ // {
22
+ // name: '业务组件在线选座库',
23
+ // path: '/Users/shiyonggao/home/root/Base-Jufubao/jufubao-movie'
24
+ // },
25
+ // {
26
+ // name: '业务组件核销库',
27
+ // path: '/Users/shiyonggao/home/root/Base-Jufubao/jufubao-cashier'
28
+ // },
29
+ // ];
30
+
31
+ //业务项目ID
32
+ const projectPathList = [
33
+ {
34
+ name: '业务组件基础插件库',
35
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-base'
36
+ },
37
+ {
38
+ name: '业务组件商城库',
39
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-mall'
40
+ },
41
+ {
42
+ name: '业务组件在线选座库',
43
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-movie'
44
+ },
45
+ {
46
+ name: '业务组件核销库',
47
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-cashier'
48
+ },
49
+ {
50
+ name: '业务组件演出库',
51
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-play'
52
+ },
53
+ {
54
+ name: '业务组件礼包库',
55
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-gift'
56
+ },
57
+ {
58
+ name: '业务组件旅游库',
59
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-travel'
60
+ },
61
+ {
62
+ name: '业务组件餐饮库',
63
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-food'
64
+ },
65
+ ];
66
+
67
+
68
+
69
+ //插件库版本
70
+ function getLibraryVersion() {
71
+ let pathUrl = fileHelper.getPlatformSurePath(`${basePath.buildRoot}/package.json`);
72
+ let packagejson = require(pathUrl);
73
+ return packagejson.dependencies['gxd-uni-library-editx'];
74
+ }
75
+
76
+ //需要更新的文件
77
+ const projectChange = [
78
+ //系统文件
79
+ // '/commands',
80
+ // '/build',
81
+ // "/src/mixins",
82
+ //
83
+ // //其他
84
+ // '/commands.js',
85
+ // "/src/common/request.js",
86
+ // "/schemas/card.js",
87
+
88
+ ];
89
+
90
+ const init = () => {
91
+ let argv = utils.getArgv();
92
+ if (argv.length === 0) {
93
+ clog(`请传入参数,例如: npm run change copy(拷贝)|del(删除)`, 'red');
94
+ process.exit(-1);
95
+ }
96
+
97
+ if (argv[0] !== 'copy' && argv[0] !== 'del') {
98
+ clog(`参数错误,正确参数为:copy,del。例如: npm run change copy`, 'red');
99
+ process.exit(-1);
100
+ }
101
+
102
+ let type = argv[0];
103
+ let isLocal = argv[1] !== undefined;
104
+
105
+
106
+ //获取需要拷贝的项目路径
107
+ clog(`开始操作文件`, 'cyanBG');
108
+
109
+ //复制命令行
110
+ projectChange.map(file => {
111
+ let toPath = fileHelper.getPlatformSurePath(basePath.buildRoot + '/' + file);
112
+ projectPathList.map(item => {
113
+ let fromPath = fileHelper.getPlatformSurePath(item.path + '/' + file);
114
+ if (type === 'copy') {
115
+ if (file === '/commands' || file === '/build') {
116
+ if (fileHelper.existFileSync(fromPath)) {
117
+ fileHelper.removeFileAndDir(fromPath)
118
+ }
119
+ }
120
+ fileHelper.copySync(toPath, fromPath);
121
+ clog(`拷贝文件成功,目录:${fromPath}`, 'green');
122
+ }
123
+ if (type === 'del') {
124
+ fileHelper.removeFileAndDir(fromPath);
125
+ clog(`删除文件成功,目录:${fromPath}`, 'green');
126
+ }
127
+ });
128
+
129
+ //复制到打包服务器中
130
+ if (file === '/src/mixins') {
131
+ let templatePath = '/Users/shiyonggao/Desktop/code/JFB/package/ali-editx-templates.jufubao.cn';
132
+ if(fileHelper.existFileSync(templatePath)) {
133
+ let templateFromPath = fileHelper.getPlatformSurePath(templatePath + '/' + file);
134
+ fileHelper.copySync(toPath, templateFromPath);
135
+ }
136
+ }
137
+ });
138
+
139
+
140
+ //获取需要拷贝的项目路径
141
+ clog(`结束操作文件`, 'cyanBG');
142
+
143
+ if (type === 'del') return;
144
+
145
+ //更新版本
146
+ projectPathList.map(item => {
147
+ let pathUrl = fileHelper.getPlatformSurePath(`${item.path}/package.json`);
148
+ let packagejson = require(pathUrl);
149
+ let version = getLibraryVersion();
150
+ //切换目录
151
+ let cmdStr = `cd ${fileHelper.getPlatformSurePath(item.path)}`;
152
+ if (version !== packagejson.dependencies['gxd-uni-library-editx']) {
153
+ clog(`更新前版本:${packagejson.dependencies['gxd-uni-library-editx']},更新后的版本:${version}`, 'cyan');
154
+
155
+
156
+ //安装版本
157
+ cmdStr = `${cmdStr} && npm run init false`;
158
+
159
+ //插件库拷贝命令
160
+ cmdStr = `${cmdStr} && npm run update`;
161
+ clog(cmdStr, 'cyan');
162
+ execSync(cmdStr, {stdio: 'inherit'});
163
+
164
+ } else {
165
+ //插件库拷贝命令
166
+ cmdStr = `${cmdStr} && cross-env oss=true isLocal=${isLocal} node ./build/commands/copy.init.js && npm run update`;
167
+ clog(cmdStr, 'cyan');
168
+ execSync(cmdStr, {stdio: 'inherit'});
169
+ }
170
+ });
171
+
172
+ };
173
+
174
+ init();
175
+
176
+
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ const path = require('path');
4
+ const basePath = require('./build/path');
5
+ const clog = require('./build/clog');
6
+ const fileHelper = require('./build/fileHepler');
7
+ const utils = require('./build/lib/utils');
8
+ const execSync = require('child_process').execSync;
9
+
10
+ //业务项目ID
11
+ const projectPathList = [
12
+ {
13
+ name: '业务组件基础插件库',
14
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-base'
15
+ },
16
+ {
17
+ name: '业务组件商城库',
18
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-mall'
19
+ },
20
+ {
21
+ name: '业务组件在线选座库',
22
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-movie'
23
+ },
24
+ {
25
+ name: '业务组件核销库',
26
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-cashier'
27
+ },
28
+ {
29
+ name: '业务组件演出库',
30
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-play'
31
+ },
32
+ {
33
+ name: '业务组件礼包库',
34
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-gift'
35
+ },
36
+ {
37
+ name: '业务组件旅游库',
38
+ path: '/Users/shiyonggao/Desktop/code/JFB/package/jufubao-travel'
39
+ },
40
+ ];
41
+
42
+
43
+ const init = ()=>{
44
+ let argv = utils.getArgv();
45
+ if (argv.length === 0) {
46
+ clog(`请传入参数, 例如: node ./commands.update.js true`, 'red');
47
+ process.exit(-1);
48
+ }
49
+ let isLocal = argv[0] === 'true';
50
+
51
+ //更新版本
52
+ projectPathList.map(item => {
53
+ let cmdStr = `cd ${fileHelper.getPlatformSurePath(item.path)}`;
54
+ //切换目录
55
+ cmdStr = `${cmdStr} && npm i --registry=https://registry.npm.taobao.org`;
56
+ cmdStr = `${cmdStr} && cross-env oss=true isLocal=${isLocal} node ./build/commands/copy.init.js`;
57
+ clog(cmdStr, 'cyan');
58
+ execSync(cmdStr, {stdio: 'inherit'});
59
+ clog(`更新完成,路径:${fileHelper.getPlatformSurePath(item.path)}`, 'cyan');
60
+ });
61
+ };
62
+
63
+ init();
64
+
65
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-food",
3
- "version": "1.0.11",
3
+ "version": "1.0.12-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -15,8 +15,11 @@
15
15
  "release": "node ./commands/release.js",
16
16
  "view": "node ./commands/update.preview.js food",
17
17
  "replace": "node ./commands/vue.replce.js JfbFood",
18
+ "rename": "node ./commands/change.pack.js JfbBase JfbSms",
19
+ "copy.pack": "node ./commands/change.pack.js",
18
20
  "init": "node ./commands.js false",
19
21
  "init.local": "node ./commands.js true",
22
+ "init.change": "node ./commands.update.change.js",
20
23
  "coder": "node ./build/commands/coder.js",
21
24
  "dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch",
22
25
  "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch --minimize",
@@ -48,7 +51,7 @@
48
51
  "color": "^3.1.3",
49
52
  "core-js": "^2.6.5",
50
53
  "flyio": "^0.6.2",
51
- "gxd-uni-library-editx": "1.0.8-beta45",
54
+ "gxd-uni-library-editx": "1.0.123",
52
55
  "jweixin-module": "^1.6.0",
53
56
  "md5": "^2.3.0",
54
57
  "path-to-regexp": "^6.2.1",
@@ -10,7 +10,9 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-food-brand__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-food-brand__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
14
16
  </view>
15
17
  <!-- #endif -->
16
18
  <view
@@ -33,7 +33,7 @@
33
33
  left:0;
34
34
  bottom:0;
35
35
  right:0;
36
- z-index: 4;
36
+ z-index: var(--preview-z-index);
37
37
  cursor: pointer;
38
38
  }
39
39
 
@@ -44,17 +44,18 @@
44
44
  cursor: pointer;
45
45
  position: absolute;
46
46
  right: unit(0, rpx);
47
- top: unit(-52, rpx);
47
+ top: unit(0, rpx);
48
48
  height: unit(50, rpx);
49
- line-height: unit(50, rpx);
49
+ z-index: 100;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
55
  box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
56
  color: #fff;
57
57
  font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
58
59
 
59
60
  &-icon{
60
61
  padding: 0 unit(20, rpx);
@@ -10,7 +10,9 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-food-brand-v2__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-food-brand-v2__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
14
16
  </view>
15
17
  <!-- #endif -->
16
18
  <view class="jfb-food-brand-v2__body">
@@ -33,7 +33,7 @@
33
33
  left:0;
34
34
  bottom:0;
35
35
  right:0;
36
- z-index: 4;
36
+ z-index: var(--preview-z-index);
37
37
  cursor: pointer;
38
38
  }
39
39
 
@@ -44,17 +44,18 @@
44
44
  cursor: pointer;
45
45
  position: absolute;
46
46
  right: unit(0, rpx);
47
- top: unit(-52, rpx);
47
+ top: unit(0, rpx);
48
48
  height: unit(50, rpx);
49
- line-height: unit(50, rpx);
49
+ z-index: 100;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
55
  box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
56
  color: #fff;
57
57
  font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
58
59
 
59
60
  &-icon{
60
61
  padding: 0 unit(20, rpx);
@@ -10,7 +10,9 @@
10
10
  :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-food-confirm__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-food-confirm__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
14
16
  </view>
15
17
  <!-- #endif -->
16
18
  <view class="jfb-food-confirm__body">
@@ -33,7 +33,7 @@
33
33
  left:0;
34
34
  bottom:0;
35
35
  right:0;
36
- z-index: 4;
36
+ z-index: var(--preview-z-index);
37
37
  cursor: pointer;
38
38
  }
39
39
 
@@ -44,17 +44,18 @@
44
44
  cursor: pointer;
45
45
  position: absolute;
46
46
  right: unit(0, rpx);
47
- top: unit(-52, rpx);
47
+ top: unit(0, rpx);
48
48
  height: unit(50, rpx);
49
- line-height: unit(50, rpx);
49
+ z-index: 100;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
55
  box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
56
  color: #fff;
57
57
  font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
58
59
 
59
60
  &-icon{
60
61
  padding: 0 unit(20, rpx);
@@ -0,0 +1,96 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Confirm
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: "getFoodCartConfirm",
10
+ title: "确认订单产品列表",
11
+ path: "/food/v1/order/confirm",
12
+ isRule: false,
13
+ data: {
14
+ namespace: ['namespace', 'String', true],
15
+ cart_order_id: ['cart_order_id', 'String', true],
16
+ address_nnid: ['收货地址', 'String', true],
17
+ delivery_method: ['投递方式', 'String', false],
18
+ blessings: ['祝福语', 'String', false],
19
+ subscribeTimeInfo: ['配送时间', 'String', false]
20
+ },
21
+ isConsole: true,
22
+ disabled: true
23
+ },
24
+ {
25
+ mapFnName: 'getFoodCardList',
26
+ title: '展示可选卡列表',
27
+ path: '/mall/v1/order/list-binded-cards',
28
+ isRule: false,
29
+ params: {},
30
+ isConsole: true,
31
+ disabled: true,
32
+ },
33
+ {
34
+ mapFnName: 'foodSelectCard',
35
+ title: '选择卡',
36
+ path: '/mall/v1/order/use-binded-card',
37
+ isRule: false,
38
+ data: {
39
+ namespace: ['namespace', 'String', true],
40
+ selected_card_list_json: ['被操作的卡券的卡号', 'String', '必选'],
41
+ selected_wallet_list_json: ['钱包', 'String', '必选'],
42
+ card_number: ['选中的卡券编号', 'String', '必选'],
43
+ total_price: ['总金额', 'Number', '必选'],
44
+ cart_order_id: ['临时订单号', 'Number', '必选'],
45
+ select_content: ['次卡是否多扣,1 还没有选择 2 多扣一次 3 不多扣', 'Number', '必选']
46
+ },
47
+ isConsole: true,
48
+ disabled: true,
49
+ },
50
+ {
51
+ mapFnName: 'addFoodCard',
52
+ title: '添加卡',
53
+ path: '/mall/v1/order/use-new-card',
54
+ isRule: false,
55
+ data: {
56
+ namespace: ['namespace', 'String', true],
57
+ selected_card_list_json: ['被操作的卡券的卡号', 'String', '必选'],
58
+ card_number: ['卡编号', 'String', '必选'],
59
+ card_password: ['卡密码', 'String', '必选'],
60
+ card_qrcode: ['卡二维码', 'String', '必选'],
61
+ total_price: ['总金额', 'Number', '必选'],
62
+ cart_order_id: ['临时订单号', 'String', '必选'],
63
+ valid_token: ['验证码token', 'String', '必选'],
64
+ valid_code: ['验证码正文', 'String', '必选'],
65
+ },
66
+ isConsole: true,
67
+ disabled: true,
68
+ },
69
+
70
+ {
71
+ mapFnName: "getUserWallet",
72
+ title: "订单支付-可用钱包列表",
73
+ path: "/pay/v1/wallet/list-user-available-wallet",
74
+ isRule: false,
75
+ params: {
76
+ support_method: ['元宝:wallet 积分: score', 'string', true],
77
+ business_code: ['业务线', 'string', true],
78
+ sub_business_codes: ['子业务线', 'string', true],
79
+ },
80
+ isConsole: true,
81
+ disabled: true
82
+ },
83
+ {
84
+ mapFnName: "useBindedWallet",
85
+ title: "使用已绑钱包",
86
+ path: "/mall/v1/order/use-binded-wallet",
87
+ isRule: false,
88
+ data: {
89
+ selected_card_list_json: ['卡', 'string', true],
90
+ selected_wallet_list_json: ['钱包', 'string', true],
91
+ total_price: ['总金额', 'string', true],
92
+ },
93
+ isConsole: true,
94
+ disabled: true
95
+ },
96
+ ];
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+ import style from "./cusAttr/style";
3
+ import advanced from "./cusAttr/advanced";
4
+ import content from "./cusAttr/content";
5
+
6
+ /**
7
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
8
+ */
9
+ export default {
10
+ style: [],
11
+ advanced: [],
12
+ content: (data, gValue, gColor, oldData={})=>{
13
+
14
+ return [
15
+ ...content(data, gValue,gColor,oldData),
16
+ ...style(data, gValue,gColor,oldData),
17
+ ...advanced(data),
18
+ ].filter(i=>i)
19
+ },
20
+ };