@lcap/nasl-concepts 4.3.0-beta.3 → 4.3.0-beta.5

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 (62) hide show
  1. package/out/common/BaseNode.d.ts +3 -1
  2. package/out/common/BaseNode.d.ts.map +1 -1
  3. package/out/common/BaseNode.js +2 -0
  4. package/out/common/BaseNode.js.map +1 -1
  5. package/out/concepts/BindEvent__.d.ts.map +1 -1
  6. package/out/concepts/BindEvent__.js +7 -1
  7. package/out/concepts/BindEvent__.js.map +1 -1
  8. package/out/concepts/BusinessComponent__.d.ts +2 -0
  9. package/out/concepts/BusinessComponent__.d.ts.map +1 -1
  10. package/out/concepts/BusinessComponent__.js +7 -0
  11. package/out/concepts/BusinessComponent__.js.map +1 -1
  12. package/out/concepts/CallConnector__.d.ts.map +1 -1
  13. package/out/concepts/CallConnector__.js +4 -2
  14. package/out/concepts/CallConnector__.js.map +1 -1
  15. package/out/concepts/DataSource__.d.ts.map +1 -1
  16. package/out/concepts/DataSource__.js +10 -2
  17. package/out/concepts/DataSource__.js.map +1 -1
  18. package/out/concepts/Directory__.d.ts.map +1 -1
  19. package/out/concepts/Directory__.js +9 -1
  20. package/out/concepts/Directory__.js.map +1 -1
  21. package/out/concepts/FrontendType__.d.ts +92 -0
  22. package/out/concepts/FrontendType__.d.ts.map +1 -1
  23. package/out/concepts/FrontendType__.js +127 -13
  24. package/out/concepts/FrontendType__.js.map +1 -1
  25. package/out/concepts/Logic__.d.ts +6 -1
  26. package/out/concepts/Logic__.d.ts.map +1 -1
  27. package/out/concepts/Logic__.js +21 -4
  28. package/out/concepts/Logic__.js.map +1 -1
  29. package/out/concepts/ReferredDefinition__.d.ts +6 -1
  30. package/out/concepts/ReferredDefinition__.d.ts.map +1 -1
  31. package/out/concepts/ReferredDefinition__.js +42 -1
  32. package/out/concepts/ReferredDefinition__.js.map +1 -1
  33. package/out/concepts/TypeAnnotation__.d.ts +4 -0
  34. package/out/concepts/TypeAnnotation__.d.ts.map +1 -1
  35. package/out/concepts/TypeAnnotation__.js +3 -0
  36. package/out/concepts/TypeAnnotation__.js.map +1 -1
  37. package/out/concepts/Variable__.d.ts +1 -0
  38. package/out/concepts/Variable__.d.ts.map +1 -1
  39. package/out/concepts/Variable__.js +8 -0
  40. package/out/concepts/Variable__.js.map +1 -1
  41. package/out/concepts/ViewElement__.d.ts.map +1 -1
  42. package/out/concepts/ViewElement__.js +33 -16
  43. package/out/concepts/ViewElement__.js.map +1 -1
  44. package/out/concepts/View__.d.ts +95 -0
  45. package/out/concepts/View__.d.ts.map +1 -1
  46. package/out/concepts/View__.js +184 -47
  47. package/out/concepts/View__.js.map +1 -1
  48. package/out/service/formatTsUtils.d.ts +1 -1
  49. package/out/service/formatTsUtils.d.ts.map +1 -1
  50. package/out/service/getExtensionModules.d.ts.map +1 -1
  51. package/out/service/getExtensionModules.js +2 -1
  52. package/out/service/getExtensionModules.js.map +1 -1
  53. package/out/service/getLogics.d.ts.map +1 -1
  54. package/out/service/getLogics.js +26 -4
  55. package/out/service/getLogics.js.map +1 -1
  56. package/out/service/getMemberIdentifier.d.ts.map +1 -1
  57. package/out/service/getMemberIdentifier.js +59 -18
  58. package/out/service/getMemberIdentifier.js.map +1 -1
  59. package/out/utils/bak-translator/composition.d.ts.map +1 -1
  60. package/out/utils/bak-translator/composition.js +3 -1
  61. package/out/utils/bak-translator/composition.js.map +1 -1
  62. package/package.json +4 -4
@@ -19,6 +19,7 @@ import type Param from './Param__';
19
19
  import type Variable from './Variable__';
20
20
  import type Logic from './Logic__';
21
21
  import type BindEvent from './BindEvent__';
22
+ import type Directory from './Directory__';
22
23
  /**
23
24
  * 页面
24
25
  */
@@ -116,6 +117,10 @@ export declare class View extends Annotatable {
116
117
  * 页面列表
117
118
  */
118
119
  children: Array<View>;
120
+ /**
121
+ * 文件夹列表
122
+ */
123
+ directories: Array<Directory>;
119
124
  /**
120
125
  * @param source 需要合并的部分参数
121
126
  */
@@ -554,6 +559,75 @@ export declare class View extends Annotatable {
554
559
  * @param view 已有的页面实例
555
560
  */
556
561
  addView(view: View): View;
562
+ getDirectoryExistingNames(excludedList?: Array<Directory>): string[];
563
+ getDirectoryUniqueName(name?: string): string;
564
+ /**
565
+ * 插入文件夹
566
+ * @internal
567
+ * @param name 文件夹名称,如果不填会自动生成一个唯一名称
568
+ */
569
+ _insertDirectoryAt(name: string, index: number): Directory;
570
+ /**
571
+ * 插入文件夹
572
+ * @internal
573
+ * @param directoryOptions 文件夹参数
574
+ */
575
+ _insertDirectoryAt(directoryOptions: Partial<Directory>, index: number): Directory;
576
+ /**
577
+ * 插入文件夹
578
+ * @internal
579
+ * @param directory 已有的文件夹实例
580
+ */
581
+ _insertDirectoryAt(directory: Directory, index: number): Directory;
582
+ /**
583
+ * 插入文件夹
584
+ * @param name 文件夹名称,如果不填会自动生成一个唯一名称
585
+ */
586
+ insertDirectoryAt(name: string, index: number): Directory;
587
+ /**
588
+ * 插入文件夹
589
+ * @param directoryOptions 文件夹参数
590
+ */
591
+ insertDirectoryAt(directoryOptions: Partial<Directory>, index: number): Directory;
592
+ /**
593
+ * 插入文件夹
594
+ * @param directory 已有的文件夹实例
595
+ */
596
+ insertDirectoryAt(directory: Directory, index: number): Directory;
597
+ /**
598
+ * 添加文件夹
599
+ * @internal
600
+ * @param name 文件夹名称,如果不填会自动生成一个唯一名称
601
+ */
602
+ _addDirectory(name?: string): Directory;
603
+ /**
604
+ * 添加文件夹
605
+ * @internal
606
+ * @param directoryOptions 文件夹参数
607
+ */
608
+ _addDirectory(directoryOptions: Partial<Directory>): Directory;
609
+ /**
610
+ * 添加文件夹
611
+ * @internal
612
+ * @param directory 已有的文件夹实例
613
+ */
614
+ _addDirectory(directory: Directory): Directory;
615
+ /**
616
+ * 添加文件夹
617
+ * @internal
618
+ * @param name 文件夹名称,如果不填会自动生成一个唯一名称
619
+ */
620
+ addDirectory(name?: string): Directory;
621
+ /**
622
+ * 添加文件夹
623
+ * @param directoryOptions 文件夹参数
624
+ */
625
+ addDirectory(directoryOptions: Partial<Directory>): Directory;
626
+ /**
627
+ * 添加文件夹
628
+ * @param directory 已有的文件夹实例
629
+ */
630
+ addDirectory(directory: Directory): Directory;
557
631
  /**
558
632
  * 删除页面元素
559
633
  * @param name 页面元素名称
@@ -614,6 +688,16 @@ export declare class View extends Annotatable {
614
688
  * @param view 已有的页面实例
615
689
  */
616
690
  removeView(view: View): void;
691
+ /**
692
+ * 删除文件夹
693
+ * @param name 文件夹名称
694
+ */
695
+ removeDirectory(name: string): void;
696
+ /**
697
+ * 删除文件夹
698
+ * @param directory 已有的文件夹实例
699
+ */
700
+ removeDirectory(directory: Directory): void;
617
701
  /**
618
702
  * 祖先 Module
619
703
  */
@@ -651,7 +735,9 @@ export declare class View extends Annotatable {
651
735
  mergeDefinitions(code: string): void;
652
736
  mergeDefinitions2(code: string): void;
653
737
  onChange($event?: EventPayload): void;
738
+ getLogicExistingNodes(excludedList?: Array<Logic>): any[];
654
739
  getLogicExistingNames(excludedList?: Array<Logic>): any[];
740
+ getVarExistingNodes(excludedList?: Array<Param | Variable>): any[];
655
741
  getVarExistingNames(excludedList?: Array<Param | Variable>): any[];
656
742
  getRoutePath(): string;
657
743
  /**
@@ -772,6 +858,15 @@ export declare class View extends Annotatable {
772
858
  collectExistSubLogic(): SubLogic[];
773
859
  getSubLogicExistingNames(excludedList?: Array<SubLogic>): string[];
774
860
  getSubLogicUniqueName(name?: string, excludedNames?: Array<string>): string;
861
+ getLogicVariableTree(): {
862
+ variables: Variable[];
863
+ logics: Logic[];
864
+ directories: Directory[];
865
+ };
866
+ /**
867
+ * 多人协作,放置页面下的文件夹数据
868
+ */
869
+ _virtualNode?: object;
775
870
  }
776
871
  export default View;
777
872
  export declare const FrontendTypeComponentNamePerfixMap: Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"View__.d.ts","sourceRoot":"","sources":["../../src/concepts/View__.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QA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AAC,OAAO,EAAE,OAAO;IAsBhC,cAAc,CAAC,OAAO,EAAE,OAAO;IAY/B,yBAAyB,CAAC,WAAW,EAAE,WAAW;IAuBjD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,eAAe,GAAG,YAAY,EAAE,SAAS,EAAE,GAAG;IA+EnG,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAkBrE,qCAAqC,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,EAAE;IAgBjE,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;IA6BjD;;OAEG;IACH,aAAa;IAab,iBAAiB,IAAI,GAAG,CAAC,MAAM,CAAC;IAW1B,yBAAyB;IAuB/B,kBAAkB;IAyBlB,uBAAuB,CAAC,aAAa,EAAE,MAAM;IAwB7C,YAAY;;;;;;;IAUZ,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAM;IAEhC,YAAY;IAkBZ,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAqB;IAElD,oBAAoB;IAYpB,wBAAwB,CAAC,YAAY,GAAE,KAAK,CAAC,QAAQ,CAAM;IAY3D,qBAAqB,CAAC,IAAI,SAAc,EAAE,aAAa,GAAE,KAAK,CAAC,MAAM,CAAM;IAO3E,oBAAoB;;;;;IA2CpB;;OAEG;IAEH,YAAY,CAAC,EAAE,MAAM,CAAC;CAMvB;AAED,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAGrE,CAAC;AAEF,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,GAAE,MAAa,UAYxF"}
@@ -44,6 +44,7 @@ const removedViewElementCache = {};
44
44
  const store_1 = require("../store");
45
45
  const semanticData_1 = require("../semantics/semanticData");
46
46
  const decorators_1 = require("../decorators");
47
+ const decorators_2 = require("../decorators");
47
48
  const utils = __importStar(require("../utils"));
48
49
  const asserts = __importStar(require("./utils/asserts"));
49
50
  const Annotatable__1 = __importDefault(require("./Annotatable__"));
@@ -99,6 +100,10 @@ let View = class View extends Annotatable__1.default {
99
100
  * 页面列表
100
101
  */
101
102
  this.children = [];
103
+ /**
104
+ * 文件夹列表
105
+ */
106
+ this.directories = [];
102
107
  this.existingViewElement = new Set();
103
108
  /**
104
109
  * 获取当前页面下所有elements上bindEvents下的logic
@@ -186,7 +191,7 @@ let View = class View extends Annotatable__1.default {
186
191
  _insertViewElementAt(options, index) {
187
192
  const viewElementOptions = {};
188
193
  const relationOptions = { parentNode: this, parentKey: 'elements' };
189
- const ViewElement = (0, decorators_1.getConceptConstructor)('ViewElement');
194
+ const ViewElement = (0, decorators_2.getConceptConstructor)('ViewElement');
190
195
  let viewElement;
191
196
  if (!options) {
192
197
  viewElement = ViewElement.from({
@@ -243,7 +248,7 @@ let View = class View extends Annotatable__1.default {
243
248
  _insertParamAt(options, index) {
244
249
  const paramOptions = {};
245
250
  const relationOptions = { parentNode: this, parentKey: 'params' };
246
- const Param = (0, decorators_1.getConceptConstructor)('Param');
251
+ const Param = (0, decorators_2.getConceptConstructor)('Param');
247
252
  let param;
248
253
  if (!options) {
249
254
  param = Param.from({
@@ -300,7 +305,7 @@ let View = class View extends Annotatable__1.default {
300
305
  _insertVariableAt(options, index) {
301
306
  const variableOptions = {};
302
307
  const relationOptions = { parentNode: this, parentKey: 'variables' };
303
- const Variable = (0, decorators_1.getConceptConstructor)('Variable');
308
+ const Variable = (0, decorators_2.getConceptConstructor)('Variable');
304
309
  let variable;
305
310
  if (!options) {
306
311
  variable = Variable.from({
@@ -357,7 +362,7 @@ let View = class View extends Annotatable__1.default {
357
362
  _insertLogicAt(options, index) {
358
363
  const logicOptions = {};
359
364
  const relationOptions = { parentNode: this, parentKey: 'logics' };
360
- const Logic = (0, decorators_1.getConceptConstructor)('Logic');
365
+ const Logic = (0, decorators_2.getConceptConstructor)('Logic');
361
366
  let logic;
362
367
  if (!options) {
363
368
  logic = Logic.from({
@@ -418,7 +423,7 @@ let View = class View extends Annotatable__1.default {
418
423
  _insertBindEventAt(options, index) {
419
424
  const bindEventOptions = {};
420
425
  const relationOptions = { parentNode: this, parentKey: 'bindEvents' };
421
- const BindEvent = (0, decorators_1.getConceptConstructor)('BindEvent');
426
+ const BindEvent = (0, decorators_2.getConceptConstructor)('BindEvent');
422
427
  let bindEvent;
423
428
  if (!options) {
424
429
  bindEvent = BindEvent.from({
@@ -479,7 +484,7 @@ let View = class View extends Annotatable__1.default {
479
484
  _insertViewAt(options, index) {
480
485
  const viewOptions = {};
481
486
  const relationOptions = { parentNode: this, parentKey: 'children' };
482
- const View = (0, decorators_1.getConceptConstructor)('View');
487
+ const View = (0, decorators_2.getConceptConstructor)('View');
483
488
  let view;
484
489
  if (!options) {
485
490
  view = View.from({
@@ -530,6 +535,67 @@ let View = class View extends Annotatable__1.default {
530
535
  });
531
536
  return node;
532
537
  }
538
+ getDirectoryExistingNames(excludedList = []) {
539
+ const excludedSet = new Set(excludedList);
540
+ return (this.directories || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
541
+ }
542
+ getDirectoryUniqueName(name = 'newfolder1') {
543
+ return utils.unique(name, this.getDirectoryExistingNames(), undefined, true);
544
+ }
545
+ _insertDirectoryAt(options, index) {
546
+ const directoryOptions = {};
547
+ const relationOptions = { parentNode: this, parentKey: 'directories' };
548
+ const Directory = (0, decorators_2.getConceptConstructor)('Directory');
549
+ let directory;
550
+ if (!options) {
551
+ directory = Directory.from({
552
+ ...directoryOptions,
553
+ name: this.getDirectoryUniqueName(),
554
+ }, this, 'directories');
555
+ }
556
+ else if (typeof options === 'string') {
557
+ directory = Directory.from({
558
+ ...directoryOptions,
559
+ name: options,
560
+ }, this, 'directories');
561
+ }
562
+ else if (asserts.isDirectory(options)) {
563
+ options.ensureDelete(); // 同一实例不支持多处存在
564
+ directory = options;
565
+ Object.assign(directory, relationOptions);
566
+ }
567
+ else {
568
+ directory = Directory.from({
569
+ ...directoryOptions,
570
+ ...options,
571
+ }, this, 'directories');
572
+ }
573
+ this.directories.splice(index, 0, directory);
574
+ return directory;
575
+ }
576
+ insertDirectoryAt(options, index) {
577
+ const node = this._insertDirectoryAt(options, index);
578
+ node.create({
579
+ index,
580
+ parentNode: this,
581
+ parentKey: 'directories',
582
+ });
583
+ return node;
584
+ }
585
+ _addDirectory(options) {
586
+ const index = 0;
587
+ return this._insertDirectoryAt(options, index);
588
+ }
589
+ addDirectory(options) {
590
+ const node = this._addDirectory(options);
591
+ const index = this.directories.indexOf(node);
592
+ node.create({
593
+ index,
594
+ parentNode: this,
595
+ parentKey: 'directories',
596
+ });
597
+ return node;
598
+ }
533
599
  removeViewElement(options) {
534
600
  let viewElement;
535
601
  if (typeof options === 'string') {
@@ -608,6 +674,19 @@ let View = class View extends Annotatable__1.default {
608
674
  }
609
675
  return view.delete();
610
676
  }
677
+ removeDirectory(options) {
678
+ let directory;
679
+ if (typeof options === 'string') {
680
+ directory = this.directories.find((item) => item.name === options);
681
+ if (!directory) {
682
+ throw new Error('找不到文件夹 ' + options);
683
+ }
684
+ }
685
+ else {
686
+ directory = options;
687
+ }
688
+ return directory.delete();
689
+ }
611
690
  //================================================================================
612
691
  // ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
613
692
  // 自动生成的代码已结束。下面可以手动编写。
@@ -757,7 +836,7 @@ let View = class View extends Annotatable__1.default {
757
836
  }
758
837
  static { this.TAG_NAME_PREFIX_REG = /^([lieu]|van)[-_]/; }
759
838
  mergeBlock({ code, nodePath, position, slotTarget, cb, }) {
760
- const ViewElement = (0, decorators_1.getConceptConstructor)('ViewElement');
839
+ const ViewElement = (0, decorators_2.getConceptConstructor)('ViewElement');
761
840
  let template = utils.sliceTagContent(code, 'template');
762
841
  if (slotTarget) {
763
842
  template = `<template #${slotTarget}>${template}</template>`;
@@ -818,10 +897,10 @@ let View = class View extends Annotatable__1.default {
818
897
  return node;
819
898
  }
820
899
  mergeDefinitions(code) {
821
- const Logic = (0, decorators_1.getConceptConstructor)('Logic');
822
- const Param = (0, decorators_1.getConceptConstructor)('Param');
823
- const Variable = (0, decorators_1.getConceptConstructor)('Variable');
824
- const BindEvent = (0, decorators_1.getConceptConstructor)('BindEvent');
900
+ const Logic = (0, decorators_2.getConceptConstructor)('Logic');
901
+ const Param = (0, decorators_2.getConceptConstructor)('Param');
902
+ const Variable = (0, decorators_2.getConceptConstructor)('Variable');
903
+ const BindEvent = (0, decorators_2.getConceptConstructor)('BindEvent');
825
904
  const definitionStr = utils.sliceTagContent(code, 'definition') || '{}';
826
905
  const definition = JSON.parse(definitionStr);
827
906
  // 服务端逻辑
@@ -887,10 +966,10 @@ let View = class View extends Annotatable__1.default {
887
966
  });
888
967
  }
889
968
  mergeDefinitions2(code) {
890
- const Logic = (0, decorators_1.getConceptConstructor)('Logic');
891
- const Param = (0, decorators_1.getConceptConstructor)('Param');
892
- const Variable = (0, decorators_1.getConceptConstructor)('Variable');
893
- const BindEvent = (0, decorators_1.getConceptConstructor)('BindEvent');
969
+ const Logic = (0, decorators_2.getConceptConstructor)('Logic');
970
+ const Param = (0, decorators_2.getConceptConstructor)('Param');
971
+ const Variable = (0, decorators_2.getConceptConstructor)('Variable');
972
+ const BindEvent = (0, decorators_2.getConceptConstructor)('BindEvent');
894
973
  const definitionStr = utils.sliceTagContent(code, 'definition') || '{}';
895
974
  const definition = JSON.parse(definitionStr);
896
975
  // 服务端逻辑
@@ -952,7 +1031,7 @@ let View = class View extends Annotatable__1.default {
952
1031
  onChange($event) {
953
1032
  this.emit('change', $event);
954
1033
  }
955
- getLogicExistingNames(excludedList = []) {
1034
+ getLogicExistingNodes(excludedList = []) {
956
1035
  const excludedSet = new Set(excludedList);
957
1036
  const varList = [];
958
1037
  if (Array.isArray(this.params)) {
@@ -972,9 +1051,12 @@ let View = class View extends Annotatable__1.default {
972
1051
  }
973
1052
  });
974
1053
  }
975
- return varList.filter((item) => !excludedSet.has(item) && !excludedSet.has(item?.__v_raw)).map((item) => item.name);
1054
+ return varList.filter((item) => !excludedSet.has(item) && !excludedSet.has(item?.__v_raw));
976
1055
  }
977
- getVarExistingNames(excludedList = []) {
1056
+ getLogicExistingNames(excludedList = []) {
1057
+ return this.getLogicExistingNodes(excludedList).map((item) => item.name);
1058
+ }
1059
+ getVarExistingNodes(excludedList = []) {
978
1060
  const excludedSet = new Set(excludedList);
979
1061
  const varList = [];
980
1062
  if (Array.isArray(this.params)) {
@@ -1024,7 +1106,10 @@ let View = class View extends Annotatable__1.default {
1024
1106
  break;
1025
1107
  }
1026
1108
  });
1027
- return varList.filter((item) => !excludedSet.has(item) && !excludedSet.has(item?.__v_raw)).map((item) => item.name);
1109
+ return varList.filter((item) => !excludedSet.has(item) && !excludedSet.has(item?.__v_raw));
1110
+ }
1111
+ getVarExistingNames(excludedList = []) {
1112
+ return this.getVarExistingNodes(excludedList).map((item) => item.name);
1028
1113
  }
1029
1114
  getRoutePath() {
1030
1115
  const arr = [this.name];
@@ -1139,16 +1224,20 @@ let View = class View extends Annotatable__1.default {
1139
1224
  // cssRules收集结束
1140
1225
  const processDetailFrom = this.getViewProcessForm(), processV2 = this.getDestinationProcessV2, hasProcessDetailFrom = !!processDetailFrom && !!processV2;
1141
1226
  if (hasProcessDetailFrom) {
1227
+ const processPrefixValue = processDetailFrom.getBindAttribute('processPrefix')?.value;
1228
+ const processDatas = [`${processV2.name} : {
1229
+ data: {},
1230
+ }`];
1231
+ if (processPrefixValue && processPrefixValue !== processV2.name) {
1232
+ processDatas.push(`${processPrefixValue} : {
1233
+ data: {},
1234
+ }`);
1235
+ }
1142
1236
  const processDetailFromMixinCode = `const processDetailFromMixin = {
1143
1237
  data() {
1144
1238
  return {
1145
1239
  processDetailFormData: {},
1146
- ${processV2.name} : {
1147
- data: {},
1148
- },
1149
- ${processDetailFrom.getBindAttribute('processPrefix')?.value} : {
1150
- data: {},
1151
- },
1240
+ ${processDatas.join(',\n')},
1152
1241
  formTemplate: "", // 表单模版
1153
1242
  formVM: null, // 表单实例
1154
1243
  needReplaced: false, // 是否需要替换模版
@@ -2656,101 +2745,146 @@ let View = class View extends Annotatable__1.default {
2656
2745
  this.existingSubLogic.add(uniqueName);
2657
2746
  return uniqueName;
2658
2747
  }
2748
+ getLogicVariableTree() {
2749
+ const inDirectory = (this.directories || []).reduce((acc, item) => {
2750
+ return [...acc, ...item.definitions.map((definition) => definition.completeName), item._definition];
2751
+ }, []);
2752
+ const variables = this.variables.filter((variable) => !inDirectory.includes(variable.name));
2753
+ const logics = this.logics.filter((logic) => !inDirectory.includes(logic.name));
2754
+ const directories = (this.directories || []).map((directory) => {
2755
+ const variables = [directory._definition, ...directory.definitions.map((definition) => definition.completeName)]
2756
+ .filter((completeName) => !!completeName)
2757
+ .map((completeName) => this.variables.find((variable) => variable.name === completeName))
2758
+ .filter((item) => asserts.isVariable(item));
2759
+ const logics = [directory._definition, ...directory.definitions.map((definition) => definition.completeName)]
2760
+ .filter((completeName) => !!completeName)
2761
+ .map((completeName) => this.logics.find((logic) => logic.name === completeName))
2762
+ .filter((item) => asserts.isLogic(item));
2763
+ Object.defineProperty(directory, '_variables', {
2764
+ get() {
2765
+ return variables;
2766
+ },
2767
+ configurable: true,
2768
+ enumerable: true,
2769
+ });
2770
+ Object.defineProperty(directory, '_logics', {
2771
+ get() {
2772
+ return logics;
2773
+ },
2774
+ configurable: true,
2775
+ enumerable: true,
2776
+ });
2777
+ directory._viewMoreChildrenFields = ['_variables', '_logics'];
2778
+ return directory;
2779
+ });
2780
+ return {
2781
+ variables,
2782
+ logics,
2783
+ directories,
2784
+ };
2785
+ }
2659
2786
  };
2660
2787
  exports.View = View;
2661
2788
  __decorate([
2662
- (0, decorators_1.property)()
2789
+ (0, decorators_2.property)()
2663
2790
  // @ts-ignore
2664
2791
  ], View.prototype, "concept", void 0);
2665
2792
  __decorate([
2666
- (0, decorators_1.property)()
2793
+ (0, decorators_2.property)()
2667
2794
  ], View.prototype, "pageTemplateId", void 0);
2668
2795
  __decorate([
2669
- (0, decorators_1.property)()
2796
+ (0, decorators_2.property)()
2670
2797
  ], View.prototype, "name", void 0);
2671
2798
  __decorate([
2672
- (0, decorators_1.property)()
2799
+ (0, decorators_2.property)()
2673
2800
  ], View.prototype, "uuid", void 0);
2674
2801
  __decorate([
2675
- (0, decorators_1.property)()
2802
+ (0, decorators_2.property)()
2676
2803
  ], View.prototype, "title", void 0);
2677
2804
  __decorate([
2678
- (0, decorators_1.property)({
2805
+ (0, decorators_2.property)({
2679
2806
  objectRef: 'StaticString',
2680
2807
  })
2681
2808
  ], View.prototype, "crumb", void 0);
2682
2809
  __decorate([
2683
- (0, decorators_1.property)()
2810
+ (0, decorators_2.property)()
2684
2811
  ], View.prototype, "auth", void 0);
2685
2812
  __decorate([
2686
- (0, decorators_1.property)()
2813
+ (0, decorators_2.property)()
2687
2814
  ], View.prototype, "authDescription", void 0);
2688
2815
  __decorate([
2689
- (0, decorators_1.property)()
2816
+ (0, decorators_2.property)()
2690
2817
  ], View.prototype, "isIndex", void 0);
2691
2818
  __decorate([
2692
- (0, decorators_1.property)()
2819
+ (0, decorators_2.property)()
2693
2820
  ], View.prototype, "template", void 0);
2694
2821
  __decorate([
2695
- (0, decorators_1.property)()
2822
+ (0, decorators_2.property)()
2696
2823
  ], View.prototype, "script", void 0);
2697
2824
  __decorate([
2698
- (0, decorators_1.property)()
2825
+ (0, decorators_2.property)()
2699
2826
  ], View.prototype, "style", void 0);
2700
2827
  __decorate([
2701
- (0, decorators_1.property)()
2828
+ (0, decorators_2.property)()
2702
2829
  ], View.prototype, "storeCode", void 0);
2703
2830
  __decorate([
2704
- (0, decorators_1.property)()
2831
+ (0, decorators_2.property)()
2705
2832
  ], View.prototype, "compScriptCode", void 0);
2706
2833
  __decorate([
2707
- (0, decorators_1.property)({
2834
+ (0, decorators_2.property)({
2708
2835
  objectRef: 'ViewElement',
2709
2836
  isArray: true,
2710
2837
  defaultValue: [],
2711
2838
  })
2712
2839
  ], View.prototype, "elements", void 0);
2713
2840
  __decorate([
2714
- (0, decorators_1.property)({
2841
+ (0, decorators_2.property)({
2715
2842
  objectRef: 'Param',
2716
2843
  isArray: true,
2717
2844
  defaultValue: [],
2718
2845
  })
2719
2846
  ], View.prototype, "params", void 0);
2720
2847
  __decorate([
2721
- (0, decorators_1.property)({
2848
+ (0, decorators_2.property)({
2722
2849
  objectRef: 'Variable',
2723
2850
  isArray: true,
2724
2851
  defaultValue: [],
2725
2852
  })
2726
2853
  ], View.prototype, "variables", void 0);
2727
2854
  __decorate([
2728
- (0, decorators_1.property)({
2855
+ (0, decorators_2.property)({
2729
2856
  objectRef: 'Logic',
2730
2857
  isArray: true,
2731
2858
  defaultValue: [],
2732
2859
  })
2733
2860
  ], View.prototype, "logics", void 0);
2734
2861
  __decorate([
2735
- (0, decorators_1.property)({
2862
+ (0, decorators_2.property)({
2736
2863
  objectRef: 'BindEvent',
2737
2864
  isArray: true,
2738
2865
  defaultValue: [],
2739
2866
  })
2740
2867
  ], View.prototype, "bindEvents", void 0);
2741
2868
  __decorate([
2742
- (0, decorators_1.property)({
2869
+ (0, decorators_2.property)({
2743
2870
  isArray: true,
2744
2871
  defaultValue: [],
2745
2872
  })
2746
2873
  ], View.prototype, "bindRoles", void 0);
2747
2874
  __decorate([
2748
- (0, decorators_1.property)({
2875
+ (0, decorators_2.property)({
2749
2876
  objectRef: 'View',
2750
2877
  isArray: true,
2751
2878
  defaultValue: [],
2752
2879
  })
2753
2880
  ], View.prototype, "children", void 0);
2881
+ __decorate([
2882
+ (0, decorators_2.property)({
2883
+ objectRef: 'Directory',
2884
+ isArray: true,
2885
+ defaultValue: [],
2886
+ })
2887
+ ], View.prototype, "directories", void 0);
2754
2888
  __decorate([
2755
2889
  nasl_translator_1.withSourceMapGenerator
2756
2890
  ], View.prototype, "toEmbeddedTS", null);
@@ -2760,8 +2894,11 @@ __decorate([
2760
2894
  __decorate([
2761
2895
  (0, nasl_translator_1.withSourceMap)()
2762
2896
  ], View.prototype, "toTextualNASL", null);
2897
+ __decorate([
2898
+ (0, decorators_1.whiteProperty)()
2899
+ ], View.prototype, "_virtualNode", void 0);
2763
2900
  exports.View = View = View_1 = __decorate([
2764
- (0, decorators_1.concept)('页面')
2901
+ (0, decorators_2.concept)('页面')
2765
2902
  ], View);
2766
2903
  exports.default = View;
2767
2904
  exports.FrontendTypeComponentNamePerfixMap = {