@next-bricks/presentational 0.18.0 → 0.18.2

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 (53) hide show
  1. package/dist/bricks.json +15 -15
  2. package/dist/chunks/2108.9740b40e.js +2 -0
  3. package/dist/chunks/2108.9740b40e.js.map +1 -0
  4. package/dist/chunks/3458.5821c4e5.js +2 -0
  5. package/dist/chunks/{3458.7b5d157a.js.map → 3458.5821c4e5.js.map} +1 -1
  6. package/dist/chunks/{5381.ffc35746.js → 5381.62c10e19.js} +2 -2
  7. package/dist/chunks/{5381.ffc35746.js.map → 5381.62c10e19.js.map} +1 -1
  8. package/dist/chunks/{6653.08322753.js → 6653.64ff8814.js} +2 -2
  9. package/dist/chunks/6653.64ff8814.js.map +1 -0
  10. package/dist/chunks/{6660.f250d95a.js → 6660.0c252005.js} +2 -2
  11. package/dist/chunks/{6660.f250d95a.js.map → 6660.0c252005.js.map} +1 -1
  12. package/dist/chunks/8498.c501cdf8.js +2 -0
  13. package/dist/chunks/8498.c501cdf8.js.map +1 -0
  14. package/dist/chunks/8691.55bc1081.js +2 -0
  15. package/dist/chunks/8691.55bc1081.js.map +1 -0
  16. package/dist/chunks/{9324.5407abaf.js → 9324.f7c16cc4.js} +2 -2
  17. package/dist/chunks/{9324.5407abaf.js.map → 9324.f7c16cc4.js.map} +1 -1
  18. package/dist/chunks/{9359.4c1896f7.js → 9359.8b63121c.js} +2 -2
  19. package/dist/chunks/{9359.4c1896f7.js.map → 9359.8b63121c.js.map} +1 -1
  20. package/dist/chunks/eo-alert.4b6b7169.js +3 -0
  21. package/dist/chunks/{eo-alert.a0bd869e.js.map → eo-alert.4b6b7169.js.map} +1 -1
  22. package/dist/chunks/eo-descriptions.5f3f82fc.js +3 -0
  23. package/dist/chunks/{eo-descriptions.fab17d0a.js.map → eo-descriptions.5f3f82fc.js.map} +1 -1
  24. package/dist/chunks/eo-info-card-item.59500f42.js +3 -0
  25. package/dist/chunks/{eo-info-card-item.19f8dac2.js.map → eo-info-card-item.59500f42.js.map} +1 -1
  26. package/dist/chunks/{eo-pagination.b3823288.js → eo-pagination.9c48acbf.js} +2 -2
  27. package/dist/chunks/{eo-pagination.b3823288.js.map → eo-pagination.9c48acbf.js.map} +1 -1
  28. package/dist/chunks/main.dfa3ebd2.js +2 -0
  29. package/dist/chunks/{main.d58834ce.js.map → main.dfa3ebd2.js.map} +1 -1
  30. package/dist/examples.json +4 -4
  31. package/dist/index.30d10352.js +2 -0
  32. package/dist/index.30d10352.js.map +1 -0
  33. package/dist/manifest.json +57 -57
  34. package/dist/types.json +62 -62
  35. package/docs/eo-info-card-item.md +102 -8
  36. package/package.json +3 -3
  37. package/dist/chunks/159.9e9569cc.js +0 -2
  38. package/dist/chunks/159.9e9569cc.js.map +0 -1
  39. package/dist/chunks/2108.5302a4b7.js +0 -2
  40. package/dist/chunks/2108.5302a4b7.js.map +0 -1
  41. package/dist/chunks/3458.7b5d157a.js +0 -2
  42. package/dist/chunks/6653.08322753.js.map +0 -1
  43. package/dist/chunks/8498.88cacafc.js +0 -2
  44. package/dist/chunks/8498.88cacafc.js.map +0 -1
  45. package/dist/chunks/eo-alert.a0bd869e.js +0 -3
  46. package/dist/chunks/eo-descriptions.fab17d0a.js +0 -3
  47. package/dist/chunks/eo-info-card-item.19f8dac2.js +0 -3
  48. package/dist/chunks/main.d58834ce.js +0 -2
  49. package/dist/index.3f851c25.js +0 -2
  50. package/dist/index.3f851c25.js.map +0 -1
  51. /package/dist/chunks/{eo-alert.a0bd869e.js.LICENSE.txt → eo-alert.4b6b7169.js.LICENSE.txt} +0 -0
  52. /package/dist/chunks/{eo-descriptions.fab17d0a.js.LICENSE.txt → eo-descriptions.5f3f82fc.js.LICENSE.txt} +0 -0
  53. /package/dist/chunks/{eo-info-card-item.19f8dac2.js.LICENSE.txt → eo-info-card-item.59500f42.js.LICENSE.txt} +0 -0
@@ -113,63 +113,6 @@
113
113
  "description": "告警提示",
114
114
  "category": "display-component"
115
115
  },
116
- {
117
- "name": "eo-code-display",
118
- "alias": [
119
- "presentational.code-display"
120
- ],
121
- "properties": [
122
- {
123
- "name": "value",
124
- "description": "代码内容",
125
- "default": "\"\"",
126
- "type": "string"
127
- },
128
- {
129
- "name": "language",
130
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
131
- "type": "string"
132
- },
133
- {
134
- "name": "hideLineNumber",
135
- "description": "是否隐藏行号",
136
- "type": "boolean"
137
- },
138
- {
139
- "name": "maxLines",
140
- "description": "最大行数",
141
- "type": "number"
142
- },
143
- {
144
- "name": "minLines",
145
- "description": "最小行数",
146
- "type": "number"
147
- },
148
- {
149
- "name": "showCopyButton",
150
- "description": "是否显示复制按钮",
151
- "default": "true",
152
- "type": "boolean"
153
- },
154
- {
155
- "name": "showExportButton",
156
- "description": "是否显示导出按钮",
157
- "type": "boolean"
158
- },
159
- {
160
- "name": "exportFileName",
161
- "description": "导出的文件名",
162
- "default": "download.txt",
163
- "type": "string"
164
- }
165
- ],
166
- "events": [],
167
- "slots": [],
168
- "methods": [],
169
- "parts": [],
170
- "description": "代码展示",
171
- "category": "display-component"
172
- },
173
116
  {
174
117
  "name": "eo-pagination",
175
118
  "properties": [
@@ -506,6 +449,63 @@
506
449
  "methods": [],
507
450
  "parts": [],
508
451
  "description": "统计卡片"
452
+ },
453
+ {
454
+ "name": "eo-code-display",
455
+ "alias": [
456
+ "presentational.code-display"
457
+ ],
458
+ "properties": [
459
+ {
460
+ "name": "value",
461
+ "description": "代码内容",
462
+ "default": "\"\"",
463
+ "type": "string"
464
+ },
465
+ {
466
+ "name": "language",
467
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
468
+ "type": "string"
469
+ },
470
+ {
471
+ "name": "hideLineNumber",
472
+ "description": "是否隐藏行号",
473
+ "type": "boolean"
474
+ },
475
+ {
476
+ "name": "maxLines",
477
+ "description": "最大行数",
478
+ "type": "number"
479
+ },
480
+ {
481
+ "name": "minLines",
482
+ "description": "最小行数",
483
+ "type": "number"
484
+ },
485
+ {
486
+ "name": "showCopyButton",
487
+ "description": "是否显示复制按钮",
488
+ "default": "true",
489
+ "type": "boolean"
490
+ },
491
+ {
492
+ "name": "showExportButton",
493
+ "description": "是否显示导出按钮",
494
+ "type": "boolean"
495
+ },
496
+ {
497
+ "name": "exportFileName",
498
+ "description": "导出的文件名",
499
+ "default": "download.txt",
500
+ "type": "string"
501
+ }
502
+ ],
503
+ "events": [],
504
+ "slots": [],
505
+ "methods": [],
506
+ "parts": [],
507
+ "description": "代码展示",
508
+ "category": "display-component"
509
509
  }
510
510
  ],
511
511
  "providers": []
package/dist/types.json CHANGED
@@ -1208,68 +1208,6 @@
1208
1208
  }
1209
1209
  ]
1210
1210
  },
1211
- "eo-code-display": {
1212
- "properties": [
1213
- {
1214
- "name": "value",
1215
- "annotation": {
1216
- "type": "keyword",
1217
- "value": "string"
1218
- }
1219
- },
1220
- {
1221
- "name": "language",
1222
- "annotation": {
1223
- "type": "keyword",
1224
- "value": "string"
1225
- }
1226
- },
1227
- {
1228
- "name": "hideLineNumber",
1229
- "annotation": {
1230
- "type": "keyword",
1231
- "value": "boolean"
1232
- }
1233
- },
1234
- {
1235
- "name": "maxLines",
1236
- "annotation": {
1237
- "type": "keyword",
1238
- "value": "number"
1239
- }
1240
- },
1241
- {
1242
- "name": "minLines",
1243
- "annotation": {
1244
- "type": "keyword",
1245
- "value": "number"
1246
- }
1247
- },
1248
- {
1249
- "name": "showCopyButton",
1250
- "annotation": {
1251
- "type": "keyword",
1252
- "value": "boolean"
1253
- }
1254
- },
1255
- {
1256
- "name": "showExportButton",
1257
- "annotation": {
1258
- "type": "keyword",
1259
- "value": "boolean"
1260
- }
1261
- },
1262
- {
1263
- "name": "exportFileName",
1264
- "annotation": {
1265
- "type": "keyword",
1266
- "value": "string"
1267
- }
1268
- }
1269
- ],
1270
- "events": [],
1271
- "methods": []
1272
- },
1273
1211
  "eo-pagination": {
1274
1212
  "properties": [
1275
1213
  {
@@ -1454,5 +1392,67 @@
1454
1392
  ]
1455
1393
  }
1456
1394
  ]
1395
+ },
1396
+ "eo-code-display": {
1397
+ "properties": [
1398
+ {
1399
+ "name": "value",
1400
+ "annotation": {
1401
+ "type": "keyword",
1402
+ "value": "string"
1403
+ }
1404
+ },
1405
+ {
1406
+ "name": "language",
1407
+ "annotation": {
1408
+ "type": "keyword",
1409
+ "value": "string"
1410
+ }
1411
+ },
1412
+ {
1413
+ "name": "hideLineNumber",
1414
+ "annotation": {
1415
+ "type": "keyword",
1416
+ "value": "boolean"
1417
+ }
1418
+ },
1419
+ {
1420
+ "name": "maxLines",
1421
+ "annotation": {
1422
+ "type": "keyword",
1423
+ "value": "number"
1424
+ }
1425
+ },
1426
+ {
1427
+ "name": "minLines",
1428
+ "annotation": {
1429
+ "type": "keyword",
1430
+ "value": "number"
1431
+ }
1432
+ },
1433
+ {
1434
+ "name": "showCopyButton",
1435
+ "annotation": {
1436
+ "type": "keyword",
1437
+ "value": "boolean"
1438
+ }
1439
+ },
1440
+ {
1441
+ "name": "showExportButton",
1442
+ "annotation": {
1443
+ "type": "keyword",
1444
+ "value": "boolean"
1445
+ }
1446
+ },
1447
+ {
1448
+ "name": "exportFileName",
1449
+ "annotation": {
1450
+ "type": "keyword",
1451
+ "value": "string"
1452
+ }
1453
+ }
1454
+ ],
1455
+ "events": [],
1456
+ "methods": []
1457
1457
  }
1458
1458
  }
@@ -5,6 +5,99 @@
5
5
  ### Basic
6
6
 
7
7
  ```yaml preview
8
+ - brick: eo-info-card-item
9
+ properties:
10
+ style:
11
+ width: 100%
12
+ cardTitle: 持续集成
13
+ cardIcon:
14
+ color: green
15
+ icon:
16
+ icon: object-topology
17
+ lib: easyops
18
+ category: app
19
+ bgColor: var(--theme-green-background)
20
+ description: 支持展客户两会话健康和空间和健康和健康和健康几节课或军扩过过过过科技股科技股就开始刚开始搞是接口关键时刻哥萨克伽伽司空见惯撒十多个数据库高升控股撒奥会计噶会计师公开撒娇鬼萨科技馆萨科技会计师干撒冈萨加国盛金控hhhhhhhhhhhhh
21
+ detailList:
22
+ - useBrick:
23
+ brick: eo-tag
24
+ properties:
25
+ textContent: IT资源管理
26
+ tagStyle:
27
+ borderRadius: 3px
28
+ height: 32px
29
+ lineHeight: 32px
30
+ - useBrick:
31
+ brick: eo-tag
32
+ properties:
33
+ textContent: 存储设备
34
+ tagStyle:
35
+ borderRadius: 3px
36
+ height: 32px
37
+ lineHeight: 32px
38
+ - useBrick:
39
+ brick: eo-tag
40
+ properties:
41
+ textContent: 资源套餐
42
+ tagStyle:
43
+ borderRadius: 3px
44
+ height: 32px
45
+ lineHeight: 32px
46
+ slots:
47
+ action:
48
+ type: bricks
49
+ bricks:
50
+ - brick: eo-dropdown-actions
51
+ events:
52
+ advanced.setting:
53
+ - action: message.success
54
+ args:
55
+ - click advanced button
56
+ button.delete:
57
+ - useProvider: basic.show-dialog
58
+ args:
59
+ - type: confirm
60
+ title: Please Confirm
61
+ content: Are you sure?
62
+ callback:
63
+ success:
64
+ action: message.success
65
+ args:
66
+ - You just confirmed!
67
+ error:
68
+ action: message.warn
69
+ args:
70
+ - You just canceled.
71
+ children:
72
+ - brick: eo-button
73
+ properties:
74
+ type: text
75
+ icon:
76
+ lib: fa
77
+ icon: ellipsis-h
78
+ color: red
79
+ size: small
80
+ properties:
81
+ actions:
82
+ - text: 高级设置
83
+ color: red
84
+ icon:
85
+ icon: setting
86
+ lib: antd
87
+ event: advanced.setting
88
+ - text: 删除
89
+ icon:
90
+ lib: antd
91
+ icon: delete
92
+ event: button.delete
93
+ tooltip: 删除
94
+ tooltipPlacement: right
95
+ danger: true
96
+ color: var(--theme-red-color)
97
+ - brick: div
98
+ properties:
99
+ style:
100
+ height: 20px
8
101
  - brick: eo-info-card-item
9
102
  properties:
10
103
  style:
@@ -61,10 +154,11 @@
61
154
  children:
62
155
  - brick: eo-button
63
156
  properties:
64
- type: link
157
+ type: text
65
158
  icon:
66
159
  lib: fa
67
- icon: ellipsis-v
160
+ icon: ellipsis-h
161
+ color: red
68
162
  size: small
69
163
  properties:
70
164
  actions:
@@ -75,13 +169,13 @@
75
169
  event: advanced.setting
76
170
  - text: 删除
77
171
  icon:
78
- lib: easyops
79
- category: default
172
+ lib: antd
80
173
  icon: delete
81
174
  event: button.delete
82
175
  tooltip: 删除
83
176
  tooltipPlacement: right
84
177
  color: var(--theme-red-color)
178
+ danger: true
85
179
  - brick: div
86
180
  properties:
87
181
  style:
@@ -148,10 +242,10 @@
148
242
  children:
149
243
  - brick: eo-button
150
244
  properties:
151
- type: link
245
+ type: text
152
246
  icon:
153
247
  lib: fa
154
- icon: ellipsis-v
248
+ icon: ellipsis-h
155
249
  size: small
156
250
  properties:
157
251
  actions:
@@ -162,12 +256,12 @@
162
256
  event: advanced.setting
163
257
  - text: 删除
164
258
  icon:
165
- lib: easyops
166
- category: default
259
+ lib: antd
167
260
  icon: delete
168
261
  event: button.delete
169
262
  tooltip: 删除
170
263
  tooltipPlacement: right
264
+ danger: true
171
265
  color: var(--theme-red-color)
172
266
  - brick: div
173
267
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "postpublish": "mv package.json.bak package.json"
35
35
  },
36
36
  "devDependencies": {
37
- "@next-core/build-next-bricks": "^1.17.0",
37
+ "@next-core/build-next-bricks": "^1.18.0",
38
38
  "@next-core/test-next": "^1.0.12",
39
39
  "babel-plugin-prismjs": "^2.1.0"
40
40
  },
@@ -43,5 +43,5 @@
43
43
  "@next-bricks/containers": "*",
44
44
  "@next-bricks/icons": "*"
45
45
  },
46
- "gitHead": "7e291b1d4caa3b4c61e927ffc8ab3ef5c8bbcc67"
46
+ "gitHead": "a85e5ac4ac8893033eb8cbf87498f3aefcddc2ab"
47
47
  }
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[159,3458],{43458:(e,t,r)=>{function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){if("string"==typeof t?o.name===t:t.includes(o.name)){for(var i=[],s=1;s<=r;s++){var c=a[a.length-s];if("MemberExpression"===(null==c?void 0:c.node.type)&&"object"===c.key){var u=c.node;u.computed||"Identifier"!==u.property.type?u.computed&&"Literal"===u.property.type&&"string"==typeof u.property.value?i.push(n?"".concat(o.name,".").concat(u.property.value):u.property.value):e.hasNonStaticUsage=!0:i.push(n?"".concat(o.name,".").concat(u.property.name):u.property.name)}else e.hasNonStaticUsage=!0}i.length===r&&e.usedProperties.add(i.join("."))}}}function o(e,t){return function(r,n,o){if(n.name===e){var a=o[o.length-1],i=o[o.length-2];if("CallExpression"===(null==i?void 0:i.node.type)&&"callee"===(null==i?void 0:i.key)&&"MemberExpression"===(null==a?void 0:a.node.type)&&"object"===a.key&&(a.node.computed?"Literal"===a.node.property.type&&a.node.property.value===t:"Identifier"===a.node.property.type&&a.node.property.name===t)){var s=i.node.arguments;if(s.length>0){var c=s[0];"Literal"===c.type&&"string"==typeof c.value?r.usedArgs.add(c.value):r.hasNonStaticUsage=!0}}}}}r.r(t),r.d(t,{beforeVisitGlobalMember:()=>n,collectAppGetMenuUsage:()=>a,collectInstalledAppsHasUsage:()=>i,collectMemberUsage:()=>p,collectMemberUsageInFunction:()=>g,createProviderClass:()=>c.createProviderClass,scanPermissionActionsInAny:()=>m,scanPermissionActionsInStoryboard:()=>b,strictCollectMemberUsage:()=>l,track:()=>d,trackAll:()=>f,traverseStoryboardExpressions:()=>u,traverseStoryboardFunction:()=>v,traverseStoryboardFunctions:()=>y,unwrapProvider:()=>c.unwrapProvider});var a=o("APP","getMenu"),i=o("INSTALLED_APPS","has"),s=r(34187),c=r(59171);function u(e,t,r){var n=new WeakSet,{matchExpressionString:o,visitNotMatchedExpressionString:a,visitNonExpressionString:i,visitObject:u}="string"==typeof r?{matchExpressionString:e=>e.includes(r)}:r;!function e(r){if("string"==typeof r)if((0,s.isEvaluable)(r))if(o(r))try{(0,s.preevaluate)(r,{withParent:!0,hooks:{beforeVisitGlobal(e,n){t(e,n,r)}}})}catch(e){console.error("Parse storyboard expression failed:",e)}else null==a||a(r);else null==i||i(r);else if((0,c.isObject)(r)){if(n.has(r))return;for(var l of(n.add(r),null==u||u(r),Array.isArray(r)?r:Object.values(r)))e(l)}}(e)}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{hasNonStaticUsage:n,nonStaticUsage:o,usedProperties:a}=p(e,t,r);if(n)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your expression: "').concat(o,'"'));return a}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={usedProperties:new Set,hasNonStaticUsage:!1},a=n(o,t,r);return u(e,((e,t,r)=>{a(e,t),o.hasNonStaticUsage&&(o.nonStaticUsage=r)}),t),o}function d(e,t,r){if(e.includes(t)){var o,a={usedProperties:new Set,hasNonStaticUsage:!1},{expression:i}=(0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(a,r)}});if("SequenceExpression"===i.type&&(o=i.expressions[0])&&"Literal"===o.type&&o.value===t){if(a.usedProperties.size>0)return a.usedProperties;console.warn('You are using "'.concat(t,'" but no `').concat(r,"` usage found in your expression: ").concat(JSON.stringify(e)))}}return!1}function f(e){if(e){var t={usedProperties:new Set,hasNonStaticUsage:!1};if((0,s.preevaluate)(e,{withParent:!0,hooks:{beforeVisitGlobal:n(t,["CTX","STATE","FORM_STATE"],1,!0)}}),t.usedProperties.size>0){var r=[...t.usedProperties],o={context:!1,state:!1,formState:!1},a={CTX:"context",STATE:"state",FORM_STATE:"formState"};return r.forEach((e=>{var[t,r]=e.split(".");o[a[t]]||(o[a[t]]=[]),o[a[t]].push(r)})),o}console.warn('You are using track all but no "CTX" or "STATE" or "FORM_STATE" usage found in your expression: '.concat(JSON.stringify(e)))}return!1}function y(e,t){if(Array.isArray(e))for(var r of e)v(r,t)}function v(e,t,r){try{(0,s.precookFunction)(e.source,{typescript:e.typescript,withParent:!0,hooks:{beforeVisitGlobal:t}})}catch(t){r||console.error('Parse storyboard function "'.concat(e.name,'" failed:'),t)}}function g(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a={usedProperties:new Set,hasNonStaticUsage:!1};if(v(e,n(a,t,o),r),a.hasNonStaticUsage&&!r)throw new Error("Non-static usage of ".concat(t,' is prohibited, check your function: "').concat(e.name,'"'));return a.usedProperties.delete(e.name),a.usedProperties}var h="PERMISSIONS",S="check";function b(e){var t,r=new Set,n=P(r),{customTemplates:o,functions:a}=null!==(t=e.meta)&&void 0!==t?t:{};return u([e.routes,o],n,h),y(a,n),Array.from(r)}function m(e){var t=new Set;return u(e,P(t),h),Array.from(t)}function P(e){return function(t,r){if(t.name===h){var n=r[r.length-1],o=r[r.length-2];if("CallExpression"===(null==o?void 0:o.node.type)&&"callee"===(null==o?void 0:o.key)&&"MemberExpression"===(null==n?void 0:n.node.type)&&"object"===n.key&&(n.node.computed?"Literal"===n.node.property.type&&n.node.property.value===S:"Identifier"===n.node.property.type&&n.node.property.name===S))for(var a of o.node.arguments)"Literal"===a.type&&"string"==typeof a.value&&e.add(a.value)}}}}}]);
2
- //# sourceMappingURL=159.9e9569cc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/159.9e9569cc.js","mappings":"+IAAO,SAASA,EAAwBC,EAAOC,GAC7C,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAAqBH,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,IAAmBA,UAAU,GACxF,OAAO,SAA2BI,EAAMC,GACtC,GAA0B,iBAAfP,EAA0BM,E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CZA,IAAI2E,EAAc,cACdC,EAAQ,QACL,SAASC,EAAkCC,GAChD,IAAIC,EACAC,EAAa,IAAIxC,IACjByC,EAAyBC,EAA8BF,IACvD,gBACFG,EAAe,UACfjB,GAC2C,QAAxCa,EAAmBD,EAAWM,YAAuC,IAArBL,EAA8BA,EAAmB,CAAC,EAGvG,OAFApE,EAA8B,CAACmE,EAAWO,OAAQF,GAAkBF,EAAwBN,GAC5FV,EAA4BC,EAAWe,GAChCjD,MAAMsD,KAAKN,EACpB,CACO,SAASO,EAA2B3E,GACzC,IAAIoE,EAAa,IAAIxC,IAErB,OADA7B,EAA8BC,EAAMsE,EAA8BF,GAAaL,GACxE3C,MAAMsD,KAAKN,EACpB,CACA,SAASE,EAA8BF,GACrC,OAAO,SAAgChG,EAAMC,GAC3C,GAAID,EAAKE,OAASyF,EAAa,CAC7B,IAAIrF,EAAeL,EAAOA,EAAOJ,OAAS,GACtCwB,EAAapB,EAAOA,EAAOJ,OAAS,GACxC,GAAuF,oBAAlFwB,aAA+C,EAASA,EAAWrB,KAAKO,OAA2G,YAA5Ec,aAA+C,EAASA,EAAWb,MAA8G,sBAAxFF,aAAmD,EAASA,EAAaN,KAAKO,OAAqD,WAArBD,EAAaE,MAAqBF,EAAaN,KAAKU,SAA+C,YAApCJ,EAAaN,KAAKW,SAASJ,MAAsBD,EAAaN,KAAKW,SAASC,QAAUgF,EAA4C,eAApCtF,EAAaN,KAAKW,SAASJ,MAAyBD,EAAaN,KAAKW,SAAST,OAAS0F,GACtiB,IAAK,IAAIY,KAAOnF,EAAWrB,KAAKJ,UACb,YAAb4G,EAAIjG,MAA2C,iBAAdiG,EAAI5F,OACvCoF,EAAW/E,IAAIuF,EAAI5F,MAI3B,CACF,CACF,C","sources":["webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/beforeVisitGlobalMember.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberCallUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/collectMemberUsage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/expressions/track.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/traverse.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/functions/collectMemberUsageInFunction.js","webpack:///../../node_modules/@next-core/utils/dist/esm/storyboard/permissions.js"],"sourcesContent":["export function beforeVisitGlobalMember(usage, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var rememberObjectName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n return function beforeVisitGlobal(node, parent) {\n if (typeof objectName === \"string\" ? node.name === objectName : objectName.includes(node.name)) {\n var segments = [];\n for (var i = 1; i <= level; i++) {\n var memberParent = parent[parent.length - i];\n if ((memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\") {\n var memberNode = memberParent.node;\n if (!memberNode.computed && memberNode.property.type === \"Identifier\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.name) : memberNode.property.name);\n } else if (memberNode.computed && memberNode.property.type === \"Literal\" && typeof memberNode.property.value === \"string\") {\n segments.push(rememberObjectName ? \"\".concat(node.name, \".\").concat(memberNode.property.value) : memberNode.property.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n if (segments.length === level) {\n usage.usedProperties.add(segments.join(\".\"));\n }\n }\n };\n}\n//# sourceMappingURL=beforeVisitGlobalMember.js.map","function collectMemberCallUsageFactory(object, property) {\n return function collectMemberCallUsage(usage, node, parent) {\n if (node.name === object) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === property : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === property)) {\n var args = callParent.node.arguments;\n if (args.length > 0) {\n var firstArg = args[0];\n if (firstArg.type === \"Literal\" && typeof firstArg.value === \"string\") {\n usage.usedArgs.add(firstArg.value);\n } else {\n usage.hasNonStaticUsage = true;\n }\n }\n }\n }\n };\n}\nexport var collectAppGetMenuUsage = collectMemberCallUsageFactory(\"APP\", \"getMenu\");\nexport var collectInstalledAppsHasUsage = collectMemberCallUsageFactory(\"INSTALLED_APPS\", \"has\");\n//# sourceMappingURL=collectMemberCallUsage.js.map","import { isEvaluable, preevaluate } from \"@next-core/cook\";\nimport { isObject } from \"@next-core/utils/general\";\nexport function traverseStoryboardExpressions(data, beforeVisitGlobal,\n// If `options` is a string, it means the *keyword*.\noptions) {\n var memo = new WeakSet();\n var {\n matchExpressionString,\n visitNotMatchedExpressionString,\n visitNonExpressionString,\n visitObject\n } = typeof options === \"string\" ? {\n matchExpressionString: v => v.includes(options)\n } : options;\n function traverse(value) {\n if (typeof value === \"string\") {\n if (isEvaluable(value)) {\n if (matchExpressionString(value)) {\n try {\n preevaluate(value, {\n withParent: true,\n hooks: {\n beforeVisitGlobal(node, parent) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n beforeVisitGlobal(node, parent, value);\n }\n }\n });\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard expression failed:\", error);\n }\n } else {\n visitNotMatchedExpressionString === null || visitNotMatchedExpressionString === void 0 || visitNotMatchedExpressionString(value);\n }\n } else {\n visitNonExpressionString === null || visitNonExpressionString === void 0 || visitNonExpressionString(value);\n }\n } else if (isObject(value)) {\n // Avoid call stack overflow.\n if (memo.has(value)) {\n return;\n }\n memo.add(value);\n visitObject === null || visitObject === void 0 || visitObject(value);\n for (var item of Array.isArray(value) ? value : Object.values(value)) {\n traverse(item);\n }\n }\n }\n traverse(data);\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nimport { traverseStoryboardExpressions } from \"./traverse.js\";\nexport function strictCollectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var {\n hasNonStaticUsage,\n nonStaticUsage,\n usedProperties\n } = collectMemberUsage(data, objectName, level);\n if (hasNonStaticUsage) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your expression: \\\"\").concat(nonStaticUsage, \"\\\"\"));\n }\n return usedProperties;\n}\nexport function collectMemberUsage(data, objectName) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var beforeVisitGlobal = beforeVisitGlobalMember(usage, objectName, level);\n traverseStoryboardExpressions(data, (node, parent, expr) => {\n beforeVisitGlobal(node, parent);\n if (usage.hasNonStaticUsage) {\n usage.nonStaticUsage = expr;\n }\n }, objectName);\n return usage;\n}\n//# sourceMappingURL=collectMemberUsage.js.map","import { preevaluate } from \"@next-core/cook\";\nimport { beforeVisitGlobalMember } from \"./beforeVisitGlobalMember.js\";\nexport function track(raw, trackText, variableName) {\n if (raw.includes(trackText)) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n var {\n expression\n } = preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, variableName)\n }\n });\n var trackCtxExp;\n if (expression.type === \"SequenceExpression\" && (trackCtxExp = expression.expressions[0]) && trackCtxExp.type === \"Literal\" && trackCtxExp.value === trackText) {\n if (usage.usedProperties.size > 0) {\n return usage.usedProperties;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using \\\"\".concat(trackText, \"\\\" but no `\").concat(variableName, \"` usage found in your expression: \").concat(JSON.stringify(raw)));\n }\n }\n }\n return false;\n}\nexport function trackAll(raw) {\n if (raw) {\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n preevaluate(raw, {\n withParent: true,\n hooks: {\n beforeVisitGlobal: beforeVisitGlobalMember(usage, [\"CTX\", \"STATE\", \"FORM_STATE\"], 1, true)\n }\n });\n if (usage.usedProperties.size > 0) {\n var usedProperites = [...usage.usedProperties];\n var result = {\n context: false,\n state: false,\n formState: false\n };\n var keyMap = {\n CTX: \"context\",\n STATE: \"state\",\n FORM_STATE: \"formState\"\n };\n usedProperites.forEach(item => {\n var [key, name] = item.split(\".\");\n if (!result[keyMap[key]]) {\n result[keyMap[key]] = [];\n }\n result[keyMap[key]].push(name);\n });\n return result;\n } else {\n // eslint-disable-next-line no-console\n console.warn(\"You are using track all but no \\\"CTX\\\" or \\\"STATE\\\" or \\\"FORM_STATE\\\" usage found in your expression: \".concat(JSON.stringify(raw)));\n }\n }\n return false;\n}\n//# sourceMappingURL=track.js.map","import { precookFunction } from \"@next-core/cook\";\nexport function traverseStoryboardFunctions(functions, beforeVisitGlobal) {\n if (Array.isArray(functions)) {\n for (var fn of functions) {\n traverseStoryboardFunction(fn, beforeVisitGlobal);\n }\n }\n}\nexport function traverseStoryboardFunction(fn, beforeVisitGlobal, silentErrors) {\n try {\n precookFunction(fn.source, {\n typescript: fn.typescript,\n withParent: true,\n hooks: {\n beforeVisitGlobal\n }\n });\n } catch (error) {\n if (!silentErrors) {\n // eslint-disable-next-line no-console\n console.error(\"Parse storyboard function \\\"\".concat(fn.name, \"\\\" failed:\"), error);\n }\n }\n}\n//# sourceMappingURL=traverse.js.map","import { beforeVisitGlobalMember } from \"../expressions/beforeVisitGlobalMember.js\";\nimport { traverseStoryboardFunction } from \"./traverse.js\";\nexport function collectMemberUsageInFunction(fn, objectName, silentErrors) {\n var level = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n var usage = {\n usedProperties: new Set(),\n hasNonStaticUsage: false\n };\n traverseStoryboardFunction(fn, beforeVisitGlobalMember(usage, objectName, level), silentErrors);\n if (usage.hasNonStaticUsage && !silentErrors) {\n throw new Error(\"Non-static usage of \".concat(objectName, \" is prohibited, check your function: \\\"\").concat(fn.name, \"\\\"\"));\n }\n usage.usedProperties.delete(fn.name);\n return usage.usedProperties;\n}\n//# sourceMappingURL=collectMemberUsageInFunction.js.map","import { traverseStoryboardExpressions } from \"./expressions/index.js\";\nimport { traverseStoryboardFunctions } from \"./functions/index.js\";\nvar PERMISSIONS = \"PERMISSIONS\";\nvar check = \"check\";\nexport function scanPermissionActionsInStoryboard(storyboard) {\n var _storyboard$meta;\n var collection = new Set();\n var beforeVisitPermissions = beforeVisitPermissionsFactory(collection);\n var {\n customTemplates,\n functions\n } = (_storyboard$meta = storyboard.meta) !== null && _storyboard$meta !== void 0 ? _storyboard$meta : {};\n traverseStoryboardExpressions([storyboard.routes, customTemplates], beforeVisitPermissions, PERMISSIONS);\n traverseStoryboardFunctions(functions, beforeVisitPermissions);\n return Array.from(collection);\n}\nexport function scanPermissionActionsInAny(data) {\n var collection = new Set();\n traverseStoryboardExpressions(data, beforeVisitPermissionsFactory(collection), PERMISSIONS);\n return Array.from(collection);\n}\nfunction beforeVisitPermissionsFactory(collection) {\n return function beforeVisitPermissions(node, parent) {\n if (node.name === PERMISSIONS) {\n var memberParent = parent[parent.length - 1];\n var callParent = parent[parent.length - 2];\n if ((callParent === null || callParent === void 0 ? void 0 : callParent.node.type) === \"CallExpression\" && (callParent === null || callParent === void 0 ? void 0 : callParent.key) === \"callee\" && (memberParent === null || memberParent === void 0 ? void 0 : memberParent.node.type) === \"MemberExpression\" && memberParent.key === \"object\" && (memberParent.node.computed ? memberParent.node.property.type === \"Literal\" && memberParent.node.property.value === check : memberParent.node.property.type === \"Identifier\" && memberParent.node.property.name === check)) {\n for (var arg of callParent.node.arguments) {\n if (arg.type === \"Literal\" && typeof arg.value === \"string\") {\n collection.add(arg.value);\n }\n }\n }\n }\n };\n}\n//# sourceMappingURL=permissions.js.map"],"names":["beforeVisitGlobalMember","usage","objectName","level","arguments","length","undefined","rememberObjectName","node","parent","name","includes","segments","i","memberParent","type","key","memberNode","computed","property","value","push","concat","hasNonStaticUsage","usedProperties","add","join","collectMemberCallUsageFactory","object","callParent","args","firstArg","usedArgs","collectAppGetMenuUsage","collectInstalledAppsHasUsage","traverseStoryboardExpressions","data","beforeVisitGlobal","options","memo","WeakSet","matchExpressionString","visitNotMatchedExpressionString","visitNonExpressionString","visitObject","v","traverse","isEvaluable","preevaluate","withParent","hooks","error","console","isObject","has","item","Array","isArray","Object","values","strictCollectMemberUsage","nonStaticUsage","collectMemberUsage","Error","Set","expr","track","raw","trackText","variableName","trackCtxExp","expression","expressions","size","warn","JSON","stringify","trackAll","usedProperites","result","context","state","formState","keyMap","CTX","STATE","FORM_STATE","forEach","split","traverseStoryboardFunctions","functions","fn","traverseStoryboardFunction","silentErrors","precookFunction","source","typescript","collectMemberUsageInFunction","delete","PERMISSIONS","check","scanPermissionActionsInStoryboard","storyboard","_storyboard$meta","collection","beforeVisitPermissions","beforeVisitPermissionsFactory","customTemplates","meta","routes","from","scanPermissionActionsInAny","arg"],"sourceRoot":""}