cloud-web-corejs 1.0.54-dev.734 → 1.0.54-dev.736

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 (47) hide show
  1. package/package.json +1 -1
  2. package/src/components/baseTabs/mixins.js +12 -1
  3. package/src/components/excelExport/exportFieldDialog.vue +40 -18
  4. package/src/components/excelExport/index.js +17 -3
  5. package/src/components/excelExport/index.vue +2 -1
  6. package/src/components/excelExport/mixins.js +113 -32
  7. package/src/components/fileLibrary/mixins/indexMixins.js +10 -0
  8. package/src/components/table/config.js +74 -1
  9. package/src/components/table/index.js +7 -22
  10. package/src/components/table/tableFormMixin.js +285 -1
  11. package/src/components/table/util/index.js +38 -40
  12. package/src/components/table/vxeFilter/index.js +153 -2
  13. package/src/components/table/vxeFilter/mixin.js +305 -3
  14. package/src/components/xform/docs/2026-07 table/344/270/216excelExport/344/277/256/345/244/215/345/217/212/345/257/274/345/207/272/344/274/230/345/214/226.md" +57 -0
  15. package/src/components/xform/docs/2026-07 /346/216/222/346/237/245/344/277/256/345/244/215/350/256/260/345/275/225.md" +73 -0
  16. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +108 -1
  17. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +288 -6
  18. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +0 -1
  19. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +0 -1
  20. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +0 -1
  21. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +0 -1
  22. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -0
  23. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +3 -12
  24. package/src/components/xform/form-designer/form-widget/indexMixin.js +184 -2
  25. package/src/components/xform/form-designer/indexMixin.js +0 -1
  26. package/src/components/xform/form-designer/refMixinDesign.js +27 -1
  27. package/src/components/xform/form-designer/setting-panel/indexMixin.js +357 -9
  28. package/src/components/xform/form-designer/setting-panel/property-editor/showViewButton-editor.vue +29 -0
  29. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
  30. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +639 -15
  31. package/src/components/xform/form-designer/widget-panel/indexMixin.js +290 -1
  32. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
  33. package/src/components/xform/form-render/container-item/containerItemMixin.js +282 -1115
  34. package/src/components/xform/form-render/container-item/data-table-mixin.js +29 -7
  35. package/src/components/xform/form-render/dynamicDialogRender.js +238 -3
  36. package/src/components/xform/form-render/dynamicDrawerRender.js +229 -0
  37. package/src/components/xform/form-render/indexMixin.js +21 -431
  38. package/src/components/xform/form-render/refMixin.js +32 -1
  39. package/src/components/xform/mixins/defaultHandle.js +2 -2
  40. package/src/components/xform/utils/dynamicSchemaUtil.js +46 -0
  41. package/src/components/xform/utils/validators.js +186 -2
  42. package/src/utils/componentDialog.js +322 -0
  43. package/src/views/user/form/vform/render.vue +4 -21
  44. package/src/views/user/form/view/list.vue +13 -9
  45. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +0 -971
  46. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +0 -408
  47. package/src/components/xform/utils/formHttp.js +0 -162
@@ -11,1227 +11,394 @@ import defaultHandleMixin from "../../../../components/xform/mixins/defaultHandl
11
11
  import settingConfig from "@/settings.js";
12
12
  let modules = {};
13
13
  const isDev = process.env.NODE_ENV === "development";
14
- function _0xab95() {
15
- const _0x194b49 = [
16
- "GtPv3BZPKm1Cdn4Ctm".split("").reverse().join(""),
17
- "\u0043\u004d\u0076\u004d\u0074\u0067\u004c\u005a\u0044\u0061",
18
- "SjxvZnxzJnwq0v2z".split("").reverse().join(""),
19
- "aDITOWcoCn".split("").reverse().join(""),
20
- "\u0042\u0053\u006b\u0065\u0057\u0036\u0058\u006b",
21
- "OPWqbaNchOWHrQWo4OW".split("").reverse().join(""),
22
- "SvgzV1uBY9Mz".split("").reverse().join(""),
23
- "p92yMPfr1qtm".split("").reverse().join(""),
24
- "\u0041\u005a\u004b\u0052\u0057\u004f\u0071\u0077\u0057\u0051\u006c\u0064\u0056\u0057",
25
- "\u0071\u0038\u006b\u0051\u0057\u004f\u006a\u006e\u0045\u0071\u0070\u0064\u004d\u0038\u006b\u0041\u0057\u0051\u0039\u0064\u0077\u0061",
26
- "\u007a\u004d\u0039\u0059\u0042\u0075\u006e\u0056\u007a\u0067\u0075",
27
- "z07Wjf7WB9OWOk8jjo8zCTOW".split("").reverse().join(""),
28
- "WC5v2A".split("").reverse().join(""),
29
- "qTdxcsxoCm5eKh".split("").reverse().join(""),
30
- "\u0079\u0032\u0058\u004c\u0079\u0078\u006a\u0067\u0041\u0077\u0076\u0053\u007a\u0066\u006a\u0031\u0042\u0067\u0076\u005a",
31
- "WExomMcB7WUoml".split("").reverse().join(""),
32
- "\u0057\u0037\u0056\u0063\u004b\u004d\u0070\u0063\u0054\u0038\u006f\u0031\u0073\u0057",
33
- "\u0043\u004d\u0076\u0057\u0042\u0033\u006a\u0030\u0076\u0067\u0076\u0054\u0043\u0067\u0058\u0048\u0044\u0067\u0075",
34
- "\u0076\u006d\u006b\u0066\u0057\u0035\u0038\u0053\u0064\u004d\u0037\u0064\u004c\u0072\u0044\u0061\u0057\u0035\u0037\u0063\u004a\u0064\u0042\u0064\u0049\u0061",
35
- "\u0044\u0068\u004c\u0057\u007a\u0071",
36
- "GrIoCUch2Hct6W".split("").reverse().join(""),
37
- "\u0057\u0051\u0078\u0064\u0054\u0038\u006f\u0031\u0057\u004f\u0069\u0077\u0067\u0030\u0057",
38
- "4PW1oCbRkSQd3ZJcZZc".split("").reverse().join(""),
39
- "aDZ9gC".split("").reverse().join(""),
40
- "oqRWek8zvKLRd7qJcZGLc7Xn".split("").reverse().join(""),
41
- "\u0057\u004f\u0053\u0069\u0057\u0052\u0044\u0070\u0057\u004f\u0064\u0063\u0052\u0061",
42
- "\u007a\u004d\u0039\u0059\u0072\u0077\u0066\u004a\u0041\u0061",
43
- "Tv3CY9KB1GJm1utm".split("").reverse().join(""),
44
- "fS3gdoSOdFOWaC5WxkSf".split("").reverse().join(""),
45
- "\u006a\u004d\u0065\u004c\u0070\u0038\u006f\u0049",
46
- "\u0057\u004f\u002f\u0063\u0049\u0064\u0075\u0050\u0079\u0043\u006f\u005a",
47
- "\u0035\u0079\u004d\u006e\u0035\u0036\u0055\u0056\u0036\u0069\u0073\u0041\u0035\u0050\u0059\u0053\u0035\u0042\u0059\u0063\u0035\u0042\u0049\u0034",
48
- "\u0057\u0052\u0046\u0064\u0053\u0032\u0042\u0063\u004f\u0065\u005a\u0063\u004e\u0043\u006f\u0059\u0057\u0037\u0035\u0041\u0057\u0051\u0046\u0064\u004f\u0038\u006f\u0055\u0057\u0036\u0047",
49
- "39MuR5wySj0DVH2C".split("").reverse().join(""),
50
- "\u0043\u0033\u0076\u0049\u006c\u0077\u007a\u0056\u0043\u004d\u0030",
51
- "\u0057\u004f\u0052\u0063\u004b\u005a\u007a\u0079\u0072\u0053\u006f\u0035",
52
- "\u0057\u0037\u0070\u0063\u004d\u0073\u0064\u0063\u0050\u0066\u0042\u0064\u0053\u0053\u006f\u0033\u0066\u0043\u006f\u006f",
53
- "\u007a\u004d\u0039\u0059\u0042\u0076\u006e\u004a\u0043\u004d\u004c\u0057\u0044\u0065\u0076\u0055\u0079\u0077\u006a\u0053\u007a\u0077\u0071",
54
- "\u0057\u0036\u0030\u0041\u0057\u0050\u0047\u002b\u006d\u0033\u004a\u0063\u0052\u004e\u006e\u004c\u0057\u0036\u0058\u0046\u0057\u0050\u004a\u0063\u0048\u0053\u006f\u0055",
55
- "qba4omxekCm".split("").reverse().join(""),
56
- "\u0065\u006d\u006f\u0062\u0062\u0078\u0054\u0064\u007a\u006d\u006b\u004b\u0057\u0037\u0070\u0063\u0048\u0071",
57
- "\u0057\u0037\u0042\u0064\u0054\u006d\u006f\u0056\u0057\u0051\u0038\u0071\u0064\u004c\u002f\u0064\u0050\u004b\u0076\u0056\u0077\u0063\u0034",
58
- "GwsD0GcVPWGkCGdJ7W".split("").reverse().join(""),
59
- "\u0057\u0037\u0037\u0064\u004f\u0053\u006b\u0048\u0065\u006d\u006b\u0079\u0057\u0034\u0048\u0044",
60
- "WFRf3ehoCa".split("").reverse().join(""),
61
- "\u0043\u0033\u0062\u0053\u0041\u0077\u006e\u004c",
62
- "wXOWbHKj".split("").reverse().join(""),
63
- "aLdhhPdVQWG8PWI4GmI4OW".split("").reverse().join(""),
64
- "\u0076\u0075\u0031\u0052\u0075\u0066\u0043",
65
- "GDHmYKc3PW".split("").reverse().join(""),
66
- "u2zHn3CL1gj".split("").reverse().join(""),
67
- "\u0066\u0053\u006b\u0050\u0057\u0034\u0046\u0063\u0055\u0071\u004a\u0063\u004f\u0043\u006b\u0067\u0057\u0035\u002f\u0064\u0047\u0030\u0062\u0066\u0057\u0052\u0039\u006a",
68
- "W7W+L6WCLOW/k8jAo8zC9PW".split("").reverse().join(""),
69
- "uKIcFbScJQWgjRWDkSp4kCNclaPdZRW".split("").reverse().join(""),
70
- "\u0079\u0038\u006b\u004f\u0057\u0051\u005a\u0064\u0052\u006d\u006f\u004a\u0057\u0035\u004a\u0063\u0051\u0033\u0053\u0072\u0064\u0074\u0066\u004b\u006d\u0071",
71
- "\u0043\u0032\u006e\u0059\u0041\u0078\u0062\u0030\u0073\u0068\u0072\u0030\u0043\u0061",
72
- "\u006f\u0049\u0078\u0064\u0053\u004a\u002f\u0063\u0050\u0043\u006f\u0052\u0042\u0063\u0038\u0079\u0076\u0038\u006b\u0070",
73
- "qEK9My".split("").reverse().join(""),
74
- "\u0057\u0037\u002f\u0064\u0053\u006d\u006f\u0032\u0057\u0050\u0030",
75
- "\u0042\u0032\u006a\u0051\u0045\u0061",
76
- "qCao8mWeuh".split("").reverse().join(""),
77
- "\u0071\u0067\u0079\u0070\u0057\u0034\u0058\u0035\u0074\u0053\u006b\u0075\u0057\u0035\u0042\u0064\u004e\u0057",
78
- "+omKcx4WMoSuoaef".split("").reverse().join(""),
79
- "\u006c\u0053\u006b\u006d\u0076\u0053\u006f\u0037\u0063\u0071\u0078\u0063\u004f\u004b\u004b\u0044\u0078\u0058\u0039\u0036\u0079\u0068\u006d\u0061\u0057\u0037\u0031\u0075",
80
- "GKcl6WkXQW3iPW".split("").reverse().join(""),
81
- "\u0043\u0033\u0075\u0062\u0057\u0036\u006a\u0032\u0057\u0037\u006c\u0063\u004a\u006d\u006f\u0064\u0057\u0035\u006e\u0056\u0067\u0057",
82
- "\u0041\u0077\u0044\u0076\u007a\u0068\u0071",
83
- "\u0043\u006d\u006b\u004a\u0057\u0052\u002f\u0064\u0054\u0053\u006f\u0059\u0057\u0037\u0037\u0063\u004a\u0067\u0061\u0063",
84
- "\u0057\u0037\u0053\u0071\u0057\u004f\u0047\u0057\u006f\u0077\u0069",
85
- "EbQWZOOW".split("").reverse().join(""),
86
- "\u0043\u0068\u0076\u005a\u0041\u0061",
87
- "\u0057\u0051\u0043\u0069\u0057\u0052\u0078\u0063\u004e\u005a\u006d\u004e\u0057\u0050\u0071",
88
- "\u0057\u0034\u0071\u005a\u0057\u004f\u0048\u006f\u0057\u0050\u0039\u006e\u0057\u0051\u0079",
89
- "q3RcVMPdFQW".split("").reverse().join(""),
90
- "GTcBbOdNRW".split("").reverse().join(""),
91
- "\u0064\u006d\u006f\u004e\u0057\u0052\u006c\u0063\u0056\u0047",
92
- "\u0042\u0033\u0062\u0030\u0041\u0077\u0039\u0055\u0043\u0057",
93
- "\u0057\u0037\u002f\u0063\u0049\u0032\u0056\u0063\u0055\u0043\u006f\u005a\u0077\u0047",
94
- "\u0041\u0074\u0065\u0034\u0042\u004e\u0071",
95
- "KKuPDxtRrdo5Gdo".split("").reverse().join(""),
96
- "apAC4WonKjeH6W".split("").reverse().join(""),
97
- "\u0057\u0037\u0056\u0064\u0047\u0043\u006b\u0050\u0057\u0050\u004e\u0063\u004c\u0068\u0034",
98
- "gK5WZo8d".split("").reverse().join(""),
99
- "1oSLcdxPc7NOdVRW".split("").reverse().join(""),
100
- "GMcdqB0yRWMomuAoSTcpeJddgt".split("").reverse().join(""),
101
- "\u006e\u0059\u0039\u0039\u0057\u0035\u0033\u0064\u0055\u0053\u006b\u0039",
102
- "\u007a\u0067\u004c\u005a\u0079\u0077\u006a\u0053\u007a\u0077\u0071",
103
- "aBHzNCLrNBjXgBbjxyLX2y".split("").reverse().join(""),
104
- "\u007a\u0077\u0035\u0048\u0079\u004d\u0058\u004c\u0075\u0033\u0076\u0049\u0072\u004d\u0039\u0059\u0042\u0076\u006a\u0056\u0044\u0057",
105
- "\u0057\u0035\u002f\u0063\u004c\u0049\u0058\u006c\u0078\u0038\u006f\u0054\u0057\u0035\u004f",
106
- "iKCRPxE".split("").reverse().join(""),
107
- "\u0066\u0038\u006f\u0032\u0057\u0051\u0074\u0063\u0050\u006d\u006f\u0061\u0064\u005a\u0061",
108
- "\u0072\u0038\u006f\u0056\u0057\u0051\u0031\u0049\u006f\u0038\u006f\u0043",
109
- "qzTfMt5v2A".split("").reverse().join(""),
110
- "\u0057\u0050\u002f\u0063\u0049\u0074\u006a\u0075",
111
- "W4WEnQWPk8OdpbnrkCzT9rw".split("").reverse().join(""),
112
- "\u0079\u0032\u0066\u0053\u0042\u0061",
113
- "iwsOfxD".split("").reverse().join(""),
114
- "\u0062\u004a\u0054\u0045\u0057\u0036\u0039\u0067\u0078\u0061",
115
- "\u0057\u0050\u0065\u0049\u0057\u0052\u007a\u0065\u0057\u0037\u004e\u0063\u004c\u0065\u0047",
116
- "0LGdN0A".split("").reverse().join(""),
117
- "\u0062\u0074\u006e\u0079\u0057\u0037\u0053",
118
- "\u006a\u0067\u0048\u0030\u0044\u0068\u0061",
119
- "qPcdtNcpQW".split("").reverse().join(""),
120
- "iwHcNPWJkCJdd6W".split("").reverse().join(""),
121
- "\u0057\u004f\u006d\u0076\u0057\u0052\u006d\u0057\u0046\u0058\u0070\u0064\u0051\u0073\u0054\u0045\u0057\u0035\u0031\u0037\u0041\u0038\u006b\u002b\u0076\u0038\u006b\u006a\u0057\u0035\u002f\u0064\u0047\u0057",
122
- "\u0041\u0067\u004c\u004b\u007a\u0067\u0076\u0055",
123
- "\u0077\u004c\u0038\u0056\u0045\u004e\u0056\u0064\u004a\u0071",
124
- "46WxomDreRW".split("").reverse().join(""),
125
- "\u0043\u0033\u0044\u0065\u0077\u004b\u0069",
126
- "WSc/tNcNRW".split("").reverse().join(""),
127
- "\u007a\u0067\u0066\u0030\u0079\u0075\u004c\u004b",
128
- "\u0074\u0062\u0031\u0057\u0057\u004f\u0078\u0064\u0053\u0061\u0064\u0064\u004a\u0053\u006b\u0035\u0057\u0050\u0056\u0063\u0049\u0043\u006b\u0053",
129
- "\u0079\u0033\u0076\u005a\u0044\u0067\u0039\u0054\u0071\u0032\u0058\u0048\u0043\u0033\u006d",
130
- "\u0068\u0068\u0057\u0052\u0077\u0073\u0035\u0048\u0057\u0036\u0062\u004b\u0071\u004b\u002f\u0064\u0051\u0071",
131
- "i3Hct4WooSAAyOW".split("").reverse().join(""),
132
- "GzLjvBY9Mr0v2z".split("").reverse().join(""),
133
- "\u0043\u004e\u0079\u0061\u0057\u0037\u0072\u0073\u0057\u0036\u005a\u0063\u0053\u0038\u006f\u0064\u0057\u0034\u0076\u0045\u0068\u004c\u0068\u0064\u0055\u0047\u004f\u0051\u0069\u0067\u006a\u0037\u0079\u0061",
134
- "\u0079\u0077\u006e\u004a\u007a\u0078\u006e\u005a\u0071\u0078\u0076\u0030\u0042\u0030\u0076\u0034\u0079\u0057",
135
- "\u0079\u004e\u0076\u0050\u0042\u0067\u0072\u0067\u0041\u0077\u0076\u0053\u007a\u0066\u006a\u0031\u0042\u0067\u0076\u005a",
136
- "nftsIj5WskShXk8UdB6W".split("").reverse().join(""),
137
- "go8JcJaRc74Wq45W5b7WT1OWGkml/omyqHOW".split("").reverse().join(""),
138
- "\u0044\u0032\u004c\u004b\u007a\u0032\u0076\u0030\u0073\u0032\u0076\u0035\u0074\u004d\u0066\u0054\u007a\u0075\u0031\u0048\u0043\u0061",
139
- "CQWzk8TdZsk8W4W9oCc".split("").reverse().join(""),
140
- "\u0046\u0053\u006b\u0065\u0057\u0037\u0050\u0079\u0057\u0036\u0079\u004c",
141
- "\u0062\u0030\u0048\u0077\u0057\u0036\u0048\u0046\u0057\u0037\u0038",
142
- "\u0057\u0036\u004e\u0063\u0051\u004e\u0074\u0064\u0051\u0038\u006b\u0031\u0064\u0061",
143
- "qkCgJW3fOoSSdVOWWC4WBkSb".split("").reverse().join(""),
144
- "\u0071\u0072\u0065\u0066\u0057\u0052\u0038\u006e\u0057\u0052\u006d\u0077\u0057\u004f\u0042\u0064\u0047\u006d\u006b\u004d\u0077\u0038\u006f\u0053\u0057\u0035\u0069",
145
- "iGDZKRWDWPW".split("").reverse().join(""),
146
- "\u0057\u0050\u004b\u0042\u0057\u0051\u004f\u0044\u0044\u005a\u006c\u0064\u0049\u0059\u0050\u006d",
147
- "\u0067\u0061\u0076\u002f\u006b\u0049\u0042\u0063\u004a\u0064\u005a\u0064\u004a\u0038\u006f\u0031\u006b\u0053\u006f\u0051\u0057\u0034\u0070\u0064\u0055\u0071",
148
- "\u007a\u0078\u0048\u0030\u0043\u004d\u0066\u0062\u0079\u0032\u006e\u004c\u0043\u0033\u006e\u0065\u0079\u0078\u0072\u0048",
149
- "\u0044\u0067\u0066\u0049\u0043\u0057",
150
- "MvMu0v2zKL2v0v2z".split("").reverse().join(""),
151
- "\u0057\u0037\u0034\u006b\u0057\u0036\u002f\u0064\u004c\u0053\u006b\u006d\u0062\u0065\u0048\u0068\u0042\u0065\u0069\u0047\u0057\u0052\u0050\u0052\u0042\u0057\u0053",
152
- "iwujbLB".split("").reverse().join(""),
153
- "\u0057\u0052\u0070\u0064\u0054\u0033\u0037\u0063\u0049\u0077\u004e\u0063\u004e\u0043\u006f\u004f\u0057\u0034\u006a\u004a\u0057\u0051\u006c\u0064\u0054\u0043\u006f\u0051\u0057\u0036\u0053",
154
- "SPWIkCi3o8zjnOW".split("").reverse().join(""),
155
- "\u006c\u0065\u0064\u0063\u004d\u005a\u0054\u0069\u0067\u0072\u0033\u0063\u0052\u0038\u006f\u0033",
156
- "\u0064\u0031\u004b\u0078\u0078\u0053\u006f\u0037\u0057\u0036\u0042\u0063\u0047\u0047",
157
- "\u006e\u0062\u004a\u0063\u004d\u0061\u004a\u0063\u004a\u0047\u002f\u0064\u0051\u0030\u004b\u0079\u0079\u0043\u006b\u0068\u0057\u0050\u0053\u0038",
158
- "\u0071\u0068\u006a\u0056\u0044\u0057",
159
- "\u0057\u0037\u0033\u0063\u0054\u004d\u0070\u0064\u0055\u006d\u006b\u002f\u0066\u0043\u006f\u0062\u0057\u0051\u0048\u0067\u0057\u0051\u0075\u004b",
160
- "\u0057\u004f\u0052\u0063\u004b\u005a\u007a\u0079\u0078\u0038\u006f\u0059\u0057\u0036\u0052\u0064\u004e\u0053\u006b\u0038\u0057\u0035\u0074\u0063\u0055\u005a\u007a\u0068\u0057\u0052\u0034",
161
- "ifNc7rScRQWPnOWikSoRkmScJIRdpRW".split("").reverse().join(""),
162
- "8JxgH5WCzfvxfOWe4sVcBRWBaRW".split("").reverse().join(""),
163
- "Gqe4oSvikSk".split("").reverse().join(""),
164
- "GrgoCmS1RW2o8x".split("").reverse().join(""),
165
- "06WxnZh".split("").reverse().join(""),
166
- "\u006d\u0064\u0035\u005a\u0057\u0034\u0043",
167
- "\u0042\u0067\u0076\u0055\u007a\u0033\u0072\u004f",
168
- "\u0066\u0049\u0046\u0064\u0047\u0061\u0064\u0063\u004f\u0057",
169
- "\u0057\u0037\u0068\u0063\u0052\u0076\u0070\u0064\u0056\u0053\u006b\u0031\u0067\u0043\u006f\u0032\u0057\u0051\u0066\u0064",
170
- "\u0043\u0032\u0076\u0030\u0072\u0067\u004c\u005a\u0079\u0077\u006a\u0053\u007a\u0077\u0071",
171
- "\u0071\u004b\u0079\u002f\u0044\u0068\u0068\u0064\u004c\u0033\u0053",
172
- "aScVXTcF5WJkma".split("").reverse().join(""),
173
- "0v2zKL2v05wzYfgC".split("").reverse().join(""),
174
- "\u0057\u0035\u0075\u0031\u0057\u0050\u0035\u0053\u0057\u0050\u0054\u0041",
175
- "Yqhj".split("").reverse().join(""),
176
- "4sNc3Jw2kmScJefBoSBxomCGqZLc3PW".split("").reverse().join(""),
177
- "\u0044\u0032\u004c\u004b\u007a\u0032\u0076\u0030",
178
- "\u0042\u004d\u0066\u0054\u007a\u0071",
179
- "\u007a\u0032\u0076\u0030\u0075\u004d\u0076\u0057\u0042\u0033\u006a\u0030\u0076\u0067\u0076\u0054\u0043\u0067\u0058\u0048\u0044\u0067\u0075",
180
- "\u0041\u0067\u0066\u005a\u0074\u0033\u0044\u0055\u0075\u0068\u006a\u0056\u0043\u0067\u0076\u0059\u0044\u0068\u004b",
181
- "uwfpoSa".split("").reverse().join(""),
182
- "qJdN6WnW5W".split("").reverse().join(""),
183
- "\u007a\u0043\u006b\u0050\u0057\u0052\u005a\u0064\u0052\u0043\u006f\u005a\u0057\u0034\u0052\u0063\u0047\u004d\u0079\u0078\u006a\u0057\u0039\u004b\u006a\u0065\u004e\u0063\u0052\u0053\u006b\u006b\u0057\u0052\u0068\u0063\u0056\u0071",
184
- "aqx96WuDth".split("").reverse().join(""),
185
- "kb5WJrHp".split("").reverse().join(""),
186
- "\u006e\u0049\u0064\u0064\u0054\u0073\u006c\u0063\u0050\u0043\u006f\u004f\u0078\u0061",
187
- "\u0066\u0053\u006f\u005a\u0057\u0034\u0053",
188
- "\u0043\u0032\u0076\u0030\u0073\u0067\u004c\u004b\u007a\u0067\u0076\u0055",
189
- "\u0079\u0066\u0052\u0064\u004e\u0076\u0046\u0064\u0049\u0057",
190
- "\u0057\u0034\u0043\u004b\u0057\u004f\u0035\u0035\u0057\u0050\u0039\u0056\u0057\u0051\u0031\u0055\u0057\u0050\u005a\u0064\u0054\u0053\u006f\u0059\u0057\u0034\u0047\u0038\u0065\u0066\u0034",
191
- "\u0066\u006d\u006f\u0059\u0057\u0037\u0047",
192
- "\u0069\u0062\u004c\u0030\u0057\u0034\u0070\u0064\u0051\u0057",
193
- "\u006c\u0043\u006b\u0048\u0057\u0034\u0074\u0063\u0047\u005a\u0038",
194
- "\u007a\u0067\u0076\u005a\u0041\u0077\u0044\u0055\u0075\u0033\u0072\u0048\u0044\u0067\u0075",
195
- "GCL5wAHrNBVnKzpnhDLDgzPDfzSvwAgv2CYvMDHjhD".split("").reverse().join(""),
196
- "Hrxyerws39MC".split("").reverse().join(""),
197
- "mYx/jOWAoCe".split("").reverse().join(""),
198
- "KvgDUv3Bn52B".split("").reverse().join(""),
199
- "qPcpsMdxGk".split("").reverse().join(""),
200
- "qPd7GVdtRWXDqs".split("").reverse().join(""),
201
- "\u0066\u006d\u006f\u0077\u0057\u004f\u0048\u0038\u0078\u0059\u0078\u0064\u0049\u0074\u0031\u0048\u0057\u0037\u0070\u0063\u0053\u0031\u0064\u0064\u004c\u0031\u0044\u006c\u006d\u0061\u004b\u0062\u0057\u0036\u0047\u0076\u0044\u0053\u006f\u0058\u0071\u0043\u006f\u0067\u006c\u0032\u0030",
202
- "\u006d\u005a\u0043\u0035\u006d\u0074\u0071\u0058\u0076\u0032\u007a\u006e\u0075\u0075\u006a\u0071",
203
- "GKc7Gc2omtDkCk".split("").reverse().join(""),
204
- "\u0057\u0036\u0072\u0041\u0057\u0036\u0056\u0064\u0050\u0032\u0031\u0048\u0057\u0035\u006a\u0056\u0072\u004c\u0072\u004e\u0057\u0035\u0062\u004c",
205
- ];
206
- _0xab95 = function () {
207
- return _0x194b49;
208
- };
209
- return _0xab95();
210
- }
211
- (function (_0x440180, _0x483939) {
212
- function _0x1cb6a6(_0x44d5f5, _0x2a33d9, _0x1548b1, _0x3ac910, _0xc910da) {
213
- return _0x3b8f(_0xc910da - 0xe9, _0x44d5f5);
214
- }
215
- const _0x2f5d5f = _0x440180();
216
- function _0x3e3592(_0x57def6, _0x282320, _0x309afe, _0x4779ef, _0x31f112) {
217
- return _0x3b8f(_0x4779ef - -0x159, _0x309afe);
218
- }
219
- function _0x2db773(_0x5b6d6b, _0x267252, _0x2eee24, _0x3fcf13, _0x5c044c) {
220
- return _0x3b8f(_0x3fcf13 - -0x24a, _0x2eee24);
221
- }
222
- function _0x39fcbe(_0x3dce3d, _0x4ecbf6, _0x4865c2, _0x120cfd, _0xaac384) {
223
- return _0x2f79(_0x3dce3d - -0x100, _0x4ecbf6);
224
- }
225
- function _0x5e7462(_0x1d77db, _0x5ebcd8, _0x200aaf, _0xdc9ccf, _0x1214ce) {
226
- return _0x2f79(_0xdc9ccf - -0x19d, _0x200aaf);
227
- }
228
- function _0xa3d88(_0x213322, _0x51a309, _0x15d528, _0x3fb8c5, _0x9caa4a) {
229
- return _0x2f79(_0x9caa4a - -0x130, _0x51a309);
230
- }
231
- function _0x44df5e(_0x29a9ad, _0x247b70, _0x2574d5, _0x3f147e, _0x53564b) {
232
- return _0x2f79(_0x247b70 - 0x201, _0x3f147e);
233
- }
234
- function _0xeac13(_0x5b0dfe, _0x46a0d8, _0x1ef2b6, _0x31c842, _0x73e1d6) {
235
- return _0x2f79(_0x31c842 - 0x50, _0x1ef2b6);
236
- }
237
- do {
238
- try {
239
- const _0x4f45eb =
240
- parseInt(_0x1cb6a6(0xf3, 0xe7, 0x114, 0x171, 0x13e)) / 0x1 +
241
- (-parseInt(
242
- _0x5e7462(-0x141, -0x1a1, "\u0059\u0064\u0053\u0071", -0x14e, -0x14b)
243
- ) /
244
- 0x2) *
245
- (parseInt(
246
- _0x39fcbe(-0x46, "\u006f\u006d\u0054\u0068", -0x1b, -0x47, -0x54)
247
- ) /
248
- 0x3) +
249
- (parseInt(
250
- _0x44df5e(0x25d, 0x244, 0x23b, "\u0065\u0039\u005d\u0077", 0x295)
251
- ) /
252
- 0x4) *
253
- (parseInt(_0x3e3592(-0xfc, -0x164, -0xf3, -0x118, -0x13f)) / 0x5) +
254
- -parseInt(
255
- _0x39fcbe(
256
- -0xae,
257
- "ri7@".split("").reverse().join(""),
258
- -0x105,
259
- -0xcf,
260
- -0x54
261
- )
262
- ) /
263
- 0x6 +
264
- parseInt(_0x1cb6a6(0x171, 0x10d, 0x15d, 0x11e, 0x120)) / 0x7 +
265
- parseInt(
266
- _0x39fcbe(-0xc7, "\u0036\u0036\u0074\u004d", -0xa2, -0xcd, -0xbb)
267
- ) /
268
- 0x8 +
269
- parseInt(
270
- _0xa3d88(-0xb1, "\u005b\u006d\u004e\u0021", -0xcb, -0xb0, -0xa2)
271
- ) /
272
- 0x9;
273
- if (_0x4f45eb === _0x483939) {
274
- break;
275
- } else {
276
- _0x2f5d5f["push"](_0x2f5d5f["\u0073\u0068\u0069\u0066\u0074"]());
277
- }
278
- } catch (_0x241b49) {
279
- _0x2f5d5f["\u0070\u0075\u0073\u0068"](
280
- _0x2f5d5f["\u0073\u0068\u0069\u0066\u0074"]()
281
- );
282
- }
283
- } while (!![]);
284
- })(_0xab95, 0x7c40e);
285
14
  const baseRefUtil = {
286
- traverseFieldWidgetsOfContainer: traverseFieldWidgetsOfContainer,
287
- "\u0067\u0065\u0074\u0052\u0065\u0070\u006f\u0072\u0074\u0047\u006c\u006f\u0062\u0061\u006c\u004d\u0061\u0070":
288
- getReportGlobalMap,
289
- "\u0067\u0065\u0074\u0041\u0063\u0063\u0065\u0073\u0073\u0055\u0072\u006c":
290
- getAccessUrl,
15
+ traverseFieldWidgetsOfContainer,
16
+ getReportGlobalMap,
17
+ getAccessUrl,
291
18
  };
292
- function _0x3b8f(_0x192b36, _0xab95e0) {
293
- const _0x3b8fc5 = _0xab95();
294
- _0x3b8f = function (_0x462d4c, _0x3fd964) {
295
- _0x462d4c = _0x462d4c - 0x0;
296
- let _0x18259b = _0x3b8fc5[_0x462d4c];
297
- if (_0x3b8f["fdspRo"] === undefined) {
298
- var _0x3b7a04 = function (_0x5048ff) {
299
- const _0x364777 =
300
- "=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
301
- .split("")
302
- .reverse()
303
- .join("");
304
- let _0x289ab9 = "";
305
- let _0x33bbbf = "";
306
- for (
307
- let _0x16edfc = 0x0, _0x566632, _0x552860, _0xa8591d = 0x0;
308
- (_0x552860 = _0x5048ff["\u0063\u0068\u0061\u0072\u0041\u0074"](
309
- _0xa8591d++
310
- ));
311
- ~_0x552860 &&
312
- ((_0x566632 =
313
- _0x16edfc % 0x4 ? _0x566632 * 0x40 + _0x552860 : _0x552860),
314
- _0x16edfc++ % 0x4)
315
- ? (_0x289ab9 += String[
316
- "\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"
317
- ](0xff & (_0x566632 >> ((-0x2 * _0x16edfc) & 0x6))))
318
- : 0x0
319
- ) {
320
- _0x552860 =
321
- _0x364777["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x552860);
322
- }
323
- for (
324
- let _0x5c65ec = 0x0, _0x297120 = _0x289ab9["length"];
325
- _0x5c65ec < _0x297120;
326
- _0x5c65ec++
327
- ) {
328
- _0x33bbbf +=
329
- "\u0025" +
330
- ("00".split("").reverse().join("") +
331
- _0x289ab9["charCodeAt"](_0x5c65ec)["toString"](0x10))[
332
- "\u0073\u006c\u0069\u0063\u0065"
333
- ](-0x2);
334
- }
335
- return decodeURIComponent(_0x33bbbf);
336
- };
337
- _0x3b8f["\u0062\u0047\u006e\u006c\u0041\u007a"] = _0x3b7a04;
338
- _0x192b36 = arguments;
339
- _0x3b8f["fdspRo"] = !![];
340
- }
341
- const _0x6a5206 = _0x3b8fc5[0x0];
342
- const _0x19fc48 = _0x462d4c + _0x6a5206;
343
- const _0x2f7993 = _0x192b36[_0x19fc48];
344
- if (!_0x2f7993) {
345
- _0x18259b = _0x3b8f["\u0062\u0047\u006e\u006c\u0041\u007a"](_0x18259b);
346
- _0x192b36[_0x19fc48] = _0x18259b;
347
- } else {
348
- _0x18259b = _0x2f7993;
349
- }
350
- return _0x18259b;
351
- };
352
- return _0x3b8f(_0x192b36, _0xab95e0);
353
- }
354
- function _0x2f79(_0x192b36, _0xab95e0) {
355
- const _0x3b8fc5 = _0xab95();
356
- _0x2f79 = function (_0x462d4c, _0x3fd964) {
357
- _0x462d4c = _0x462d4c - 0x0;
358
- let _0x18259b = _0x3b8fc5[_0x462d4c];
359
- if (_0x2f79["bnNsJy"] === undefined) {
360
- var _0x3b7a04 = function (_0x364777) {
361
- const _0x289ab9 =
362
- "=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
363
- .split("")
364
- .reverse()
365
- .join("");
366
- let _0x33bbbf = "";
367
- let _0x16edfc = "";
368
- for (
369
- let _0x566632 = 0x0, _0x552860, _0xa8591d, _0x5c65ec = 0x0;
370
- (_0xa8591d = _0x364777["charAt"](_0x5c65ec++));
371
- ~_0xa8591d &&
372
- ((_0x552860 =
373
- _0x566632 % 0x4 ? _0x552860 * 0x40 + _0xa8591d : _0xa8591d),
374
- _0x566632++ % 0x4)
375
- ? (_0x33bbbf += String[
376
- "\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"
377
- ](0xff & (_0x552860 >> ((-0x2 * _0x566632) & 0x6))))
378
- : 0x0
379
- ) {
380
- _0xa8591d =
381
- _0x289ab9["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0xa8591d);
382
- }
383
- for (
384
- let _0x297120 = 0x0,
385
- _0x16bcdf = _0x33bbbf["\u006c\u0065\u006e\u0067\u0074\u0068"];
386
- _0x297120 < _0x16bcdf;
387
- _0x297120++
388
- ) {
389
- _0x16edfc +=
390
- "\u0025" +
391
- ("\u0030\u0030" +
392
- _0x33bbbf["charCodeAt"](_0x297120)[
393
- "\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"
394
- ](0x10))["slice"](-0x2);
395
- }
396
- return decodeURIComponent(_0x16edfc);
397
- };
398
- const _0x5048ff = function (_0xda2727, _0x1a59dd) {
399
- let _0x1270b6 = [],
400
- _0x581d1f = 0x0,
401
- _0x364e93,
402
- _0x59c2c0 = "";
403
- _0xda2727 = _0x3b7a04(_0xda2727);
404
- let _0x167633;
405
- for (_0x167633 = 0x0; _0x167633 < 0x100; _0x167633++) {
406
- _0x1270b6[_0x167633] = _0x167633;
407
- }
408
- for (_0x167633 = 0x0; _0x167633 < 0x100; _0x167633++) {
409
- _0x581d1f =
410
- (_0x581d1f +
411
- _0x1270b6[_0x167633] +
412
- _0x1a59dd["charCodeAt"](
413
- _0x167633 % _0x1a59dd["\u006c\u0065\u006e\u0067\u0074\u0068"]
414
- )) %
415
- 0x100;
416
- _0x364e93 = _0x1270b6[_0x167633];
417
- _0x1270b6[_0x167633] = _0x1270b6[_0x581d1f];
418
- _0x1270b6[_0x581d1f] = _0x364e93;
419
- }
420
- _0x167633 = 0x0;
421
- _0x581d1f = 0x0;
422
- for (
423
- let _0x256d09 = 0x0;
424
- _0x256d09 < _0xda2727["length"];
425
- _0x256d09++
426
- ) {
427
- _0x167633 = (_0x167633 + 0x1) % 0x100;
428
- _0x581d1f = (_0x581d1f + _0x1270b6[_0x167633]) % 0x100;
429
- _0x364e93 = _0x1270b6[_0x167633];
430
- _0x1270b6[_0x167633] = _0x1270b6[_0x581d1f];
431
- _0x1270b6[_0x581d1f] = _0x364e93;
432
- _0x59c2c0 += String[
433
- "\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"
434
- ](
435
- _0xda2727["charCodeAt"](_0x256d09) ^
436
- _0x1270b6[(_0x1270b6[_0x167633] + _0x1270b6[_0x581d1f]) % 0x100]
437
- );
438
- }
439
- return _0x59c2c0;
440
- };
441
- _0x2f79["\u005a\u006a\u0072\u0056\u004b\u0068"] = _0x5048ff;
442
- _0x192b36 = arguments;
443
- _0x2f79["\u0062\u006e\u004e\u0073\u004a\u0079"] = !![];
444
- }
445
- const _0x6a5206 = _0x3b8fc5[0x0];
446
- const _0x19fc48 = _0x462d4c + _0x6a5206;
447
- const _0x2f7993 = _0x192b36[_0x19fc48];
448
- if (!_0x2f7993) {
449
- if (_0x2f79["\u004b\u004a\u0067\u006d\u006a\u007a"] === undefined) {
450
- _0x2f79["KJgmjz"] = !![];
451
- }
452
- _0x18259b = _0x2f79["ZjrVKh"](_0x18259b, _0x3fd964);
453
- _0x192b36[_0x19fc48] = _0x18259b;
454
- } else {
455
- _0x18259b = _0x2f7993;
456
- }
457
- return _0x18259b;
458
- };
459
- return _0x2f79(_0x192b36, _0xab95e0);
460
- }
461
- function RbwCmV(_0x2da04e, _0x54959a) {
462
- if (!![] != ![]) return;
463
- RbwCmV = function (_0x236de5, _0x26d4a5) {
464
- _0x236de5 = _0x236de5 - (0x973c9 ^ 0x973c9);
465
- var _0x55bdb1 = _0x5e50e6[_0x236de5];
466
- return _0x55bdb1;
467
- };
468
- return RbwCmV(_0x2da04e, _0x54959a);
469
- }
470
- RbwCmV();
471
- function cInGdo(_0x16bcdf, _0xda2727) {
472
- if (!![] != ![]) return;
473
- cInGdo = function (_0x1a59dd, _0x1270b6) {
474
- _0x1a59dd = _0x1a59dd - (0x973c9 ^ 0x973c9);
475
- var _0x581d1f = _0x5e50e6[_0x1a59dd];
476
- return _0x581d1f;
477
- };
478
- return cInGdo(_0x16bcdf, _0xda2727);
479
- }
480
- cInGdo();
481
- function _0x5abfb1(_0x44f86f, _0x2a1429, _0x310ce5, _0x17d705, _0xca6f8f) {
482
- return _0x3b8f(_0xca6f8f - 0x278, _0x310ce5);
483
- }
484
- function _0x3b1769(_0x4243ea, _0x4392af, _0x1b0ac4, _0x373fbc, _0xdf0345) {
485
- return _0x3b8f(_0xdf0345 - 0x4f, _0x1b0ac4);
486
- }
487
- function _0x1f9f83(_0x117b29, _0x148b1b, _0x49a5e5, _0x10525f, _0x4b6fdc) {
488
- return _0x2f79(_0x4b6fdc - -0x18f, _0x148b1b);
489
- }
490
19
  modules = {
491
20
  props: {
492
- "\u0074\u0061\u0062\u006c\u0065\u0050\u0061\u0072\u0061\u006d": {
493
- "\u0074\u0079\u0070\u0065": Object,
494
- "\u0064\u0065\u0066\u0061\u0075\u006c\u0074": null,
21
+ tableParam: {
22
+ type: Object,
23
+ default: null,
24
+ },
25
+ formItemProp: {
26
+ type: String,
27
+ default: null,
495
28
  },
496
- "\u0066\u006f\u0072\u006d\u0049\u0074\u0065\u006d\u0050\u0072\u006f\u0070":
497
- { "\u0074\u0079\u0070\u0065": String, default: null },
498
29
  },
499
30
  mixins: [scriptHttpMixin, defaultHandleMixin],
500
- inject: [
501
- _0x3b1769(0x13f, 0xb5, 0x108, 0x115, 0x103),
502
- _0x1f9f83(-0x149, "\u005a\u0038\u0044\u004f", -0x136, -0x13b, -0x181),
503
- _0x3b1769(0xa6, 0x1f, 0x4c, 0x1a, 0x6f),
504
- ],
31
+ inject: ["widgetKeyNameMap", "doScriptAccess", "getReportTemplate"],
505
32
  data() {
506
33
  return {
507
34
  extraAccessData: {},
508
- "\u0074\u0069\u006d\u0065\u0072\u004d\u0061\u0070": {},
35
+ timerMap: {},
509
36
  };
510
37
  },
511
- "\u0063\u006f\u006d\u0070\u0075\u0074\u0065\u0064": {
38
+ computed: {
512
39
  customClass() {
513
- return this["widget"]["options"]["customClass"] || "";
40
+ return this.widget.options.customClass || "";
514
41
  },
42
+
515
43
  formModel: {
516
- "\u0063\u0061\u0063\u0068\u0065": ![],
44
+ cache: false,
517
45
  get() {
518
- return this[
519
- "\u0067\u006c\u006f\u0062\u0061\u006c\u004d\u006f\u0064\u0065\u006c"
520
- ]["\u0066\u006f\u0072\u006d\u004d\u006f\u0064\u0065\u006c"];
46
+ return this.globalModel.formModel;
521
47
  },
522
48
  },
523
49
  fieldKeyName() {
524
- let _0x3ec3cb =
525
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"]["name"];
50
+ let o = this.widget.options.name;
526
51
  return (
527
- (this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"][
528
- "keyNameEnabled"
529
- ] &&
530
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
531
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
532
- ]["\u006b\u0065\u0079\u004e\u0061\u006d\u0065"]) ||
533
- _0x3ec3cb
52
+ (this.widget.options.keyNameEnabled && this.widget.options.keyName) || o
534
53
  );
535
54
  },
536
55
  },
537
- "\u0062\u0065\u0066\u006f\u0072\u0065\u0044\u0065\u0073\u0074\u0072\u006f\u0079"() {
538
- this[
539
- "\u0063\u006c\u0065\u0061\u0072\u0041\u006c\u006c\u0049\u006e\u0074\u0065\u0072\u0076\u0061\u006c"
540
- ]();
56
+ beforeDestroy() {
57
+ this.clearAllInterval();
541
58
  },
542
- "\u0063\u0072\u0065\u0061\u0074\u0065\u0064"() {},
59
+ created() {},
543
60
  mounted() {
544
- this[
545
- "\u0063\u0061\u006c\u006c\u0053\u0065\u0074\u0048\u0069\u0064\u0064\u0065\u006e"
546
- ]();
61
+ this.callSetHidden();
547
62
  },
548
- "\u006d\u0065\u0074\u0068\u006f\u0064\u0073": {
549
- "\u0073\u0065\u0074\u0046\u006f\u0072\u006d\u0053\u0063\u0072\u0069\u0070\u0074\u0045\u006e\u0061\u0062\u006c\u0065\u0064"(
550
- _0x4edc69
551
- ) {
552
- this["widget"]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
553
- "\u0066\u006f\u0072\u006d\u0053\u0063\u0072\u0069\u0070\u0074\u0045\u006e\u0061\u0062\u006c\u0065\u0064"
554
- ] = _0x4edc69 || ![];
555
- },
556
- "\u0075\u006e\u0072\u0065\u0067\u0069\u0073\u0074\u0065\u0072\u0046\u0072\u006f\u006d\u0052\u0065\u0066\u004c\u0069\u0073\u0074"() {
557
- const _0x51d335 = {
558
- ZkwSA: function (_0x32eab6, _0x554ed6) {
559
- return _0x32eab6 !== _0x554ed6;
560
- },
561
- };
562
- if (
563
- _0x51d335["\u005a\u006b\u0077\u0053\u0041"](
564
- this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"],
565
- null
566
- ) &&
567
- !!this["\u0077\u0069\u0064\u0067\u0065\u0074"][
568
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
569
- ]["\u006e\u0061\u006d\u0065"]
570
- ) {
571
- let _0x4d430a =
572
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"]["name"];
573
- delete this["\u0072\u0065\u0066\u004c\u0069\u0073\u0074"][_0x4d430a];
63
+ methods: {
64
+ setFormScriptEnabled(value) {
65
+ this.widget.options.formScriptEnabled = value || false;
66
+ },
67
+ unregisterFromRefList() {
68
+ //销毁容器组件时注销组件ref
69
+ // 注销 key 必须与 refMixin.initRefList 对齐:行内容器注册的是 name + "@row" + rowIndex,
70
+ // 且 initRefList 会无条件注册一份不带后缀的 name。仅当 key 仍指向当前实例时才删除,
71
+ // 避免同名容器重建时误删新注册的实例。
72
+ if (this.refList !== null && !!this.widget.options.name) {
73
+ let name = this.widget.options.name;
74
+ let inRow =
75
+ this.subFormRowIndex !== -1 &&
76
+ this.subFormRowIndex !== void 0 &&
77
+ !!this.tableParam;
78
+ let key = inRow ? name + "@row" + this.tableParam.rowIndex : name;
79
+ if (this.refList[key] === this) {
80
+ delete this.refList[key];
81
+ }
82
+ if (key !== name && this.refList[name] === this) {
83
+ delete this.refList[name];
84
+ }
574
85
  }
575
86
  },
576
- "\u0063\u0061\u006c\u006c\u0053\u0065\u0074\u0048\u0069\u0064\u0064\u0065\u006e"() {
577
- if (
578
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"][
579
- "\u0068\u0069\u0064\u0064\u0065\u006e"
580
- ] === !![]
581
- ) {
582
- this["\u0073\u0065\u0074\u0048\u0069\u0064\u0064\u0065\u006e"](!![]);
87
+
88
+ /* 主动触发setHidden()方法,以清空被隐藏容器内字段组件的校验规则!! */
89
+ callSetHidden() {
90
+ if (this.widget.options.hidden === true) {
91
+ this.setHidden(true);
583
92
  }
584
93
  },
585
- setHidden(_0xa27f90) {
586
- const _0x2f0176 = {
587
- "\u004f\u0046\u0059\u0058\u0069": function (_0x521249, _0x103c01) {
588
- return _0x521249 && _0x103c01;
589
- },
590
- "\u0073\u0077\u0044\u005a\u0042": function (_0x1f5987, _0x252d6a) {
591
- return _0x1f5987 && _0x252d6a;
592
- },
593
- };
594
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
595
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
596
- ]["hidden"] = _0xa27f90;
597
- let _0xe5bb88 = (_0x8fd212) => {
598
- let _0x20d76a =
599
- _0x8fd212["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]["name"];
600
- let _0x288890 =
601
- this[
602
- "\u0067\u0065\u0074\u0057\u0069\u0064\u0067\u0065\u0074\u0052\u0065\u0066"
603
- ](_0x20d76a);
604
- if (
605
- _0x2f0176["\u004f\u0046\u0059\u0058\u0069"](_0xa27f90, !!_0x288890) &&
606
- !!_0x288890[
607
- "\u0063\u006c\u0065\u0061\u0072\u0046\u0069\u0065\u006c\u0064\u0052\u0075\u006c\u0065\u0073"
608
- ]
609
- ) {
610
- _0x288890[
611
- "\u0063\u006c\u0065\u0061\u0072\u0046\u0069\u0065\u006c\u0064\u0052\u0075\u006c\u0065\u0073"
612
- ]();
94
+
95
+ //--------------------- 以下为组件支持外部调用的API方法 begin ------------------//
96
+ /* 提示:用户可自行扩充这些方法!!! */
97
+
98
+ setHidden(flag) {
99
+ this.widget.options.hidden = flag;
100
+
101
+ /* 容器被隐藏后,需要同步清除容器内部字段组件的校验规则 */
102
+ let clearRulesFn = (fieldWidget) => {
103
+ let fwName = fieldWidget.options.name;
104
+ let fwRef = this.getWidgetRef(fwName);
105
+ if (flag && !!fwRef && !!fwRef.clearFieldRules) {
106
+ fwRef.clearFieldRules();
613
107
  }
614
- if (
615
- _0x2f0176["\u0073\u0077\u0044\u005a\u0042"](
616
- !_0xa27f90,
617
- !!_0x288890
618
- ) &&
619
- !!_0x288890["buildFieldRules"]
620
- ) {
621
- _0x288890["buildFieldRules"]();
108
+
109
+ if (!flag && !!fwRef && !!fwRef.buildFieldRules) {
110
+ fwRef.buildFieldRules();
622
111
  }
623
112
  };
624
- baseRefUtil["traverseFieldWidgetsOfContainer"](
625
- this["\u0077\u0069\u0064\u0067\u0065\u0074"],
626
- _0xe5bb88
627
- );
628
- },
629
- "\u0061\u0063\u0074\u0069\u0076\u0065\u0054\u0061\u0062"(_0x32c187) {
630
- const _0x1a39b0 = {
631
- uqhIb: function (_0x4378cb, _0x9913cc) {
632
- return _0x4378cb >= _0x9913cc;
633
- },
634
- };
635
- if (
636
- _0x1a39b0["uqhIb"](_0x32c187, 0x661a5 ^ 0x661a5) &&
637
- _0x32c187 <
638
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["tabs"][
639
- "\u006c\u0065\u006e\u0067\u0074\u0068"
640
- ]
641
- ) {
642
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
643
- "\u0074\u0061\u0062\u0073"
644
- ]["forEach"]((_0x5bd95a, _0x2a8336) => {
645
- _0x5bd95a["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
646
- "\u0061\u0063\u0074\u0069\u0076\u0065"
647
- ] = _0x2a8336 === _0x32c187;
648
- if (_0x2a8336 === _0x32c187) {
649
- this[
650
- "\u0061\u0063\u0074\u0069\u0076\u0065\u0054\u0061\u0062\u004e\u0061\u006d\u0065"
651
- ] =
652
- _0x5bd95a["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
653
- "\u006e\u0061\u006d\u0065"
654
- ];
113
+
114
+ baseRefUtil.traverseFieldWidgetsOfContainer(this.widget, clearRulesFn);
115
+ },
116
+ /**
117
+ * 禁用或启用容器组件(包含容器内部的所有组件)
118
+ * @param flag
119
+ */
120
+ /* setDisabled(flag) {
121
+ const fwHandler = (fw) => {
122
+ const fwName = fw.options.name
123
+ const fwRef = this.getWidgetRef(fwName)
124
+ if (!!fwRef && !!fwRef.setDisabled) {
125
+ fwRef.setDisabled(flag, true)
126
+ }
127
+ }
128
+ const cwHandler = (cw) => {
129
+ if (cw.id === this.widget.id) { //避免死循环!!!
130
+ return
131
+ }
132
+
133
+ const cwName = cw.options.name
134
+ const cwRef = this.getWidgetRef(cwName)
135
+ if (!!cwRef && !!cwRef.setDisabled) {
136
+ cwRef.setDisabled(flag)
137
+ }
138
+ }
139
+ traverseWidgetsOfContainer(this.widget, fwHandler, cwHandler)
140
+
141
+ //注意:单行子表单、多行子表单容器的setDisabled方法由单行子表单、多行子表单组件自己实现!!
142
+ }, */
143
+
144
+ activeTab(tabIndex) {
145
+ //tabIndex从0计数
146
+ if (tabIndex >= 0 && tabIndex < this.widget.tabs.length) {
147
+ this.widget.tabs.forEach((tp, idx) => {
148
+ tp.options.active = idx === tabIndex;
149
+ if (idx === tabIndex) {
150
+ this.activeTabName = tp.options.name;
655
151
  }
656
152
  });
657
153
  }
658
154
  },
659
- "\u0064\u0069\u0073\u0061\u0062\u006c\u0065\u0054\u0061\u0062"(_0x36f584) {
660
- if (
661
- _0x36f584 >= (0x25b90 ^ 0x25b90) &&
662
- _0x36f584 <
663
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
664
- "\u0074\u0061\u0062\u0073"
665
- ]["\u006c\u0065\u006e\u0067\u0074\u0068"]
666
- ) {
667
- this["widget"]["tabs"][_0x36f584]["options"]["disabled"] = !![];
155
+
156
+ disableTab(tabIndex) {
157
+ if (tabIndex >= 0 && tabIndex < this.widget.tabs.length) {
158
+ this.widget.tabs[tabIndex].options.disabled = true;
668
159
  }
669
160
  },
670
- "\u0065\u006e\u0061\u0062\u006c\u0065\u0054\u0061\u0062"(_0x2a0c6f) {
671
- const _0x188a12 = {
672
- yzkrB: function (_0x5a6316, _0x5b04ed) {
673
- return _0x5a6316 < _0x5b04ed;
674
- },
675
- };
676
- if (
677
- _0x2a0c6f >= (0x3b463 ^ 0x3b463) &&
678
- _0x188a12["\u0079\u007a\u006b\u0072\u0042"](
679
- _0x2a0c6f,
680
- this["widget"]["\u0074\u0061\u0062\u0073"][
681
- "\u006c\u0065\u006e\u0067\u0074\u0068"
682
- ]
683
- )
684
- ) {
685
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
686
- "\u0074\u0061\u0062\u0073"
687
- ][_0x2a0c6f]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
688
- "\u0064\u0069\u0073\u0061\u0062\u006c\u0065\u0064"
689
- ] = ![];
161
+
162
+ enableTab(tabIndex) {
163
+ if (tabIndex >= 0 && tabIndex < this.widget.tabs.length) {
164
+ this.widget.tabs[tabIndex].options.disabled = false;
690
165
  }
691
166
  },
692
- "\u0068\u0069\u0064\u0065\u0054\u0061\u0062"(_0x58d2e4) {
693
- const _0x5880cc = {
694
- "\u0073\u0055\u0058\u0068\u006f": function (_0x2a1fce, _0x5da98b) {
695
- return _0x2a1fce ^ _0x5da98b;
696
- },
697
- SqmzN: function (_0x5f3a2e, _0x4bae57) {
698
- return _0x5f3a2e < _0x4bae57;
699
- },
700
- };
701
- if (
702
- _0x58d2e4 >= _0x5880cc["sUXho"](0x98c71, 0x98c71) &&
703
- _0x5880cc["\u0053\u0071\u006d\u007a\u004e"](
704
- _0x58d2e4,
705
- this["widget"]["\u0074\u0061\u0062\u0073"][
706
- "\u006c\u0065\u006e\u0067\u0074\u0068"
707
- ]
708
- )
709
- ) {
710
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
711
- "\u0074\u0061\u0062\u0073"
712
- ][_0x58d2e4]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]["hidden"] =
713
- !![];
167
+
168
+ hideTab(tabIndex) {
169
+ if (tabIndex >= 0 && tabIndex < this.widget.tabs.length) {
170
+ this.widget.tabs[tabIndex].options.hidden = true;
714
171
  }
715
172
  },
716
- "\u0073\u0068\u006f\u0077\u0054\u0061\u0062"(_0x4e76ab) {
717
- const _0x416d8b = {
718
- nPIQb: function (_0x5a2698, _0x1ba2d5) {
719
- return _0x5a2698 < _0x1ba2d5;
720
- },
721
- };
722
- if (
723
- _0x4e76ab >= (0x7c857 ^ 0x7c857) &&
724
- _0x416d8b["\u006e\u0050\u0049\u0051\u0062"](
725
- _0x4e76ab,
726
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["tabs"]["length"]
727
- )
728
- ) {
729
- this["widget"]["tabs"][_0x4e76ab]["options"][
730
- "\u0068\u0069\u0064\u0064\u0065\u006e"
731
- ] = ![];
173
+
174
+ showTab(tabIndex) {
175
+ if (tabIndex >= 0 && tabIndex < this.widget.tabs.length) {
176
+ this.widget.tabs[tabIndex].options.hidden = false;
732
177
  }
733
178
  },
734
- "\u0073\u0065\u0074\u0057\u0069\u0064\u0067\u0065\u0074\u004f\u0070\u0074\u0069\u006f\u006e"(
735
- _0x3381eb,
736
- _0x2059f0
737
- ) {
738
- if (
739
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
740
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
741
- ][
742
- "\u0068\u0061\u0073\u004f\u0077\u006e\u0050\u0072\u006f\u0070\u0065\u0072\u0074\u0079"
743
- ](_0x3381eb)
744
- ) {
745
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"][_0x3381eb] =
746
- _0x2059f0;
179
+
180
+ setWidgetOption(optionName, optionValue) {
181
+ //通用组件选项修改API
182
+ if (this.widget.options.hasOwnProperty(optionName)) {
183
+ this.widget.options[optionName] = optionValue;
747
184
  }
748
185
  },
186
+
187
+ /**
188
+ * 获取子表单的行数
189
+ */
749
190
  getSubFormRowCount() {
750
- return !this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"]
751
- ? 0x4e8ee ^ 0x4e8ee
752
- : this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
753
- "length"
754
- ];
755
- },
756
- "\u0064\u0069\u0073\u0061\u0062\u006c\u0065\u0053\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077"(
757
- _0x4cec03
758
- ) {
759
- const _0x18109b = {
760
- NTUnj: function (_0x1e4998, _0x271998) {
761
- return _0x1e4998 + _0x271998;
762
- },
763
- };
764
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["widgetList"][
765
- "\u0066\u006f\u0072\u0045\u0061\u0063\u0068"
766
- ]((_0xf6cc3c) => {
767
- function _0x24ede8(
768
- _0x30b278,
769
- _0x8d97cb,
770
- _0x6e6862,
771
- _0x2cd913,
772
- _0x5c203c
773
- ) {
774
- return _0x2f79(_0x8d97cb - -0x3a3, _0x6e6862);
775
- }
776
- let _0x343cdb =
777
- _0x18109b["NTUnj"](
778
- _0xf6cc3c["options"]["name"],
779
- _0x24ede8(
780
- -0x328,
781
- -0x380,
782
- "A!*%".split("").reverse().join(""),
783
- -0x3cc,
784
- -0x352
785
- )
786
- ) +
787
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
788
- _0x4cec03
789
- ];
790
- let _0x2d3fc9 = this["getWidgetRef"](_0x343cdb);
791
- if (!!_0x2d3fc9) {
792
- _0x2d3fc9[
793
- "\u0073\u0065\u0074\u0044\u0069\u0073\u0061\u0062\u006c\u0065\u0064"
794
- ](!![]);
191
+ return !this.rowIdData ? 0 : this.rowIdData.length;
192
+ },
193
+
194
+ disableSubFormRow(rowIndex) {
195
+ this.widget.widgetList.forEach((subWidget) => {
196
+ let swRefName =
197
+ subWidget.options.name + "@row" + this.rowIdData[rowIndex];
198
+ let foundSW = this.getWidgetRef(swRefName);
199
+ if (!!foundSW) {
200
+ foundSW.setDisabled(true);
795
201
  }
796
202
  });
797
203
  },
798
- "\u0065\u006e\u0061\u0062\u006c\u0065\u0053\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077"(
799
- _0x43a8d2
800
- ) {
801
- function _0x4892fd(
802
- _0x3b10dd,
803
- _0x47702e,
804
- _0x598279,
805
- _0x44b9d3,
806
- _0x4db28f
807
- ) {
808
- return _0x3b8f(_0x4db28f - 0x224, _0x44b9d3);
809
- }
810
- const _0x5548e8 = { igUdt: _0x4892fd(0x25a, 0x200, 0x200, 0x211, 0x22f) };
811
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
812
- "\u0077\u0069\u0064\u0067\u0065\u0074\u004c\u0069\u0073\u0074"
813
- ]["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"]((_0x1e057d) => {
814
- let _0x1bee79 =
815
- _0x1e057d["options"]["\u006e\u0061\u006d\u0065"] +
816
- _0x5548e8["igUdt"] +
817
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
818
- _0x43a8d2
819
- ];
820
- let _0x25f10e =
821
- this[
822
- "\u0067\u0065\u0074\u0057\u0069\u0064\u0067\u0065\u0074\u0052\u0065\u0066"
823
- ](_0x1bee79);
824
- if (!!_0x25f10e) {
825
- _0x25f10e[
826
- "\u0073\u0065\u0074\u0044\u0069\u0073\u0061\u0062\u006c\u0065\u0064"
827
- ](![]);
204
+
205
+ enableSubFormRow(rowIndex) {
206
+ this.widget.widgetList.forEach((subWidget) => {
207
+ let swRefName =
208
+ subWidget.options.name + "@row" + this.rowIdData[rowIndex];
209
+ let foundSW = this.getWidgetRef(swRefName);
210
+ if (!!foundSW) {
211
+ foundSW.setDisabled(false);
828
212
  }
829
213
  });
830
214
  },
831
- "\u0064\u0069\u0073\u0061\u0062\u006c\u0065\u0053\u0075\u0062\u0046\u006f\u0072\u006d"() {
832
- const _0x273ab8 = {
833
- dFewr: function (_0x44b9f8, _0x11da45) {
834
- return _0x44b9f8 > _0x11da45;
835
- },
836
- };
837
- if (
838
- _0x273ab8["\u0064\u0046\u0065\u0077\u0072"](
839
- this["rowIdData"]["length"],
840
- 0xd1309 ^ 0xd1309
841
- )
842
- ) {
843
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
844
- "\u0066\u006f\u0072\u0045\u0061\u0063\u0068"
845
- ]((_0x34ceac, _0x5e3cd8) => {
846
- this[
847
- "\u0064\u0069\u0073\u0061\u0062\u006c\u0065\u0053\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077"
848
- ](_0x5e3cd8);
215
+
216
+ disableSubForm() {
217
+ if (this.rowIdData.length > 0) {
218
+ this.rowIdData.forEach((dataRow, rIdx) => {
219
+ this.disableSubFormRow(rIdx);
849
220
  });
850
221
  }
851
- this[
852
- "\u0061\u0063\u0074\u0069\u006f\u006e\u0044\u0069\u0073\u0061\u0062\u006c\u0065\u0064"
853
- ] = !![];
222
+
223
+ //禁用3个操作按钮
224
+ this.actionDisabled = true;
854
225
  },
226
+
855
227
  enableSubForm() {
856
- const _0x44ec46 = {
857
- LIqkG: function (_0xa54064, _0xd1ba5e) {
858
- return _0xa54064 ^ _0xd1ba5e;
859
- },
860
- };
861
- if (this["rowIdData"]["length"] > _0x44ec46["LIqkG"](0x5e516, 0x5e516)) {
862
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
863
- "\u0066\u006f\u0072\u0045\u0061\u0063\u0068"
864
- ]((_0x156d43, _0x420ddd) => {
865
- this["enableSubFormRow"](_0x420ddd);
228
+ if (this.rowIdData.length > 0) {
229
+ this.rowIdData.forEach((dataRow, rIdx) => {
230
+ this.enableSubFormRow(rIdx);
866
231
  });
867
232
  }
868
- this[
869
- "\u0061\u0063\u0074\u0069\u006f\u006e\u0044\u0069\u0073\u0061\u0062\u006c\u0065\u0064"
870
- ] = ![];
233
+
234
+ //启用3个操作按钮
235
+ this.actionDisabled = false;
871
236
  },
237
+
872
238
  resetSubForm() {
873
- function _0x1b13cc(
874
- _0x5165a4,
875
- _0x1c0539,
876
- _0x26f351,
877
- _0x511828,
878
- _0x593b8c
879
- ) {
880
- return _0x2f79(_0x1c0539 - 0x16b, _0x5165a4);
881
- }
882
- const _0x306b48 = {
883
- "\u004f\u0077\u0041\u004b\u0069": function (_0x1db958, _0x1a2b5d) {
884
- return _0x1db958 === _0x1a2b5d;
885
- },
886
- "\u0055\u004d\u006b\u0050\u0057": _0x1b13cc(
887
- "\u0071\u0030\u0057\u0032",
888
- 0x1f5,
889
- 0x232,
890
- 0x240,
891
- 0x23b
892
- ),
893
- ZnmjK: function (_0x2005d5, _0x205fc1) {
894
- return _0x2005d5 ^ _0x205fc1;
895
- },
896
- };
897
- if (
898
- _0x306b48["\u004f\u0077\u0041\u004b\u0069"](
899
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
900
- "\u0074\u0079\u0070\u0065"
901
- ],
902
- _0x306b48["\u0055\u004d\u006b\u0050\u0057"]
903
- )
904
- ) {
905
- let _0x216959 =
906
- this["formModel"][
907
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
908
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
909
- ]["\u006e\u0061\u006d\u0065"]
910
- ];
911
- if (!!_0x216959) {
912
- _0x216959["splice"](
913
- 0xd83d3 ^ 0xd83d3,
914
- _0x216959["\u006c\u0065\u006e\u0067\u0074\u0068"]
915
- );
916
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
917
- "\u0073\u0070\u006c\u0069\u0063\u0065"
918
- ](
919
- _0x306b48["\u005a\u006e\u006d\u006a\u004b"](0x5b3db, 0x5b3db),
920
- this["\u0072\u006f\u0077\u0049\u0064\u0044\u0061\u0074\u0061"][
921
- "length"
922
- ]
923
- );
239
+ //重置subForm数据为空
240
+ if (this.widget.type === "sub-form") {
241
+ let subFormModel = this.formModel[this.widget.options.name];
242
+ if (!!subFormModel) {
243
+ subFormModel.splice(0, subFormModel.length);
244
+ this.rowIdData.splice(0, this.rowIdData.length);
924
245
  }
925
- if (
926
- this["widget"]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
927
- "\u0073\u0068\u006f\u0077\u0042\u006c\u0061\u006e\u006b\u0052\u006f\u0077"
928
- ]
929
- ) {
930
- this[
931
- "\u0061\u0064\u0064\u0053\u0075\u0062\u0046\u006f\u0072\u006d\u0052\u006f\u0077"
932
- ]();
246
+
247
+ if (this.widget.options.showBlankRow) {
248
+ this.addSubFormRow();
933
249
  }
934
250
  }
935
251
  },
936
- "\u0067\u0065\u0074\u0053\u0075\u0062\u0046\u006f\u0072\u006d\u0056\u0061\u006c\u0075\u0065\u0073"(
937
- _0x15c6e3 = !![]
938
- ) {
939
- function _0x1c1ed9(
940
- _0x1cc172,
941
- _0x234820,
942
- _0x3f780a,
943
- _0x329464,
944
- _0x4cc08a
945
- ) {
946
- return _0x2f79(_0x4cc08a - -0x26b, _0x234820);
947
- }
948
- function _0x5e54af(
949
- _0x1684c1,
950
- _0x4edde6,
951
- _0x47996b,
952
- _0x491229,
953
- _0x228f32
954
- ) {
955
- return _0x3b8f(_0x4edde6 - 0x26b, _0x1684c1);
956
- }
957
- if (
958
- this["widget"]["type"] === _0x5e54af(0x321, 0x2c7, 0x26f, 0x31a, 0x303)
959
- ) {
960
- return this["\u0066\u006f\u0072\u006d\u004d\u006f\u0064\u0065\u006c"][
961
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"]["name"]
962
- ];
252
+
253
+ getSubFormValues(needValidation = true) {
254
+ if (this.widget.type === "sub-form") {
255
+ //TODO: 逐行校验子表单!暂未实现!!
256
+ return this.formModel[this.widget.options.name];
963
257
  } else {
964
- this["\u0024\u006d\u0065\u0073\u0073\u0061\u0067\u0065"]["error"](
965
- this["i18nt"](
966
- _0x1c1ed9(
967
- -0x1db,
968
- "\u0064\u0068\u0055\u005a",
969
- -0x27f,
970
- -0x264,
971
- -0x235
972
- )
973
- )
974
- );
258
+ this.$message.error(this.i18nt("render.hint.nonSubFormType"));
975
259
  }
976
260
  },
977
- setSubFormValues(_0x3d8f2d) {},
978
- addCssClass(_0x1ab4ad) {
979
- if (
980
- !this["\u0077\u0069\u0064\u0067\u0065\u0074"][
981
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
982
- ]["\u0063\u0075\u0073\u0074\u006f\u006d\u0043\u006c\u0061\u0073\u0073"]
983
- ) {
984
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
985
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
986
- ][
987
- "\u0063\u0075\u0073\u0074\u006f\u006d\u0043\u006c\u0061\u0073\u0073"
988
- ] = [_0x1ab4ad];
261
+
262
+ setSubFormValues(subFormValues) {
263
+ //TODO: 待实现!!
264
+ },
265
+
266
+ // validateField(fieldName) { //逐行校验子表单字段
267
+ // //TODO:
268
+ // },
269
+ //
270
+ // validateSubForm() { //逐行校验子表单全部字段
271
+ // //TODO:
272
+ // },
273
+
274
+ /**
275
+ * 动态增加自定义css样式
276
+ * @param className
277
+ */
278
+ addCssClass(className) {
279
+ if (!this.widget.options.customClass) {
280
+ this.widget.options.customClass = [className];
989
281
  } else {
990
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"][
991
- "\u0063\u0075\u0073\u0074\u006f\u006d\u0043\u006c\u0061\u0073\u0073"
992
- ]["push"](_0x1ab4ad);
282
+ this.widget.options.customClass.push(className);
993
283
  }
994
284
  },
995
- "\u0072\u0065\u006d\u006f\u0076\u0065\u0043\u0073\u0073\u0043\u006c\u0061\u0073\u0073"(
996
- _0x1464d9
997
- ) {
998
- if (
999
- !this["widget"]["options"][
1000
- "\u0063\u0075\u0073\u0074\u006f\u006d\u0043\u006c\u0061\u0073\u0073"
1001
- ]
1002
- ) {
285
+
286
+ /**
287
+ * 动态移除自定义css样式
288
+ * @param className
289
+ */
290
+ removeCssClass(className) {
291
+ if (!this.widget.options.customClass) {
1003
292
  return;
1004
293
  }
1005
- let _0x2c4a41 = -(0xc013c ^ 0xc013d);
1006
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
1007
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
1008
- ]["customClass"]["\u006d\u0061\u0070"]((_0x29b54f, _0x347680) => {
1009
- if (_0x29b54f === _0x1464d9) {
1010
- _0x2c4a41 = _0x347680;
294
+
295
+ let foundIdx = -1;
296
+ this.widget.options.customClass.map((cc, idx) => {
297
+ if (cc === className) {
298
+ foundIdx = idx;
1011
299
  }
1012
300
  });
1013
- if (_0x2c4a41 > -(0x40d12 ^ 0x40d13)) {
1014
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"]["customClass"][
1015
- "\u0073\u0070\u006c\u0069\u0063\u0065"
1016
- ](_0x2c4a41, 0x21ae5 ^ 0x21ae4);
301
+ if (foundIdx > -1) {
302
+ this.widget.options.customClass.splice(foundIdx, 1);
1017
303
  }
1018
304
  },
1019
- "\u0068\u0061\u006e\u0064\u006c\u0065\u004f\u006e\u0043\u0072\u0065\u0061\u0074\u0065\u0064":
1020
- function () {
1021
- this["handleCustomEvent"](
1022
- this["widget"]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
1023
- "onCreated"
1024
- ]
1025
- );
1026
- },
1027
- "\u0068\u0061\u006e\u0064\u006c\u0065\u004f\u006e\u004d\u006f\u0075\u006e\u0074\u0065\u0064":
1028
- function () {
1029
- this[
1030
- "\u0068\u0061\u006e\u0064\u006c\u0065\u0043\u0075\u0073\u0074\u006f\u006d\u0045\u0076\u0065\u006e\u0074"
1031
- ](
1032
- this["\u0077\u0069\u0064\u0067\u0065\u0074"][
1033
- "\u006f\u0070\u0074\u0069\u006f\u006e\u0073"
1034
- ]["onMounted"]
1035
- );
1036
- },
1037
- "\u0061\u0064\u0064\u0045\u0078\u0074\u0072\u0061\u0041\u0063\u0063\u0065\u0073\u0073\u0044\u0061\u0074\u0061"(
1038
- _0x1ebb87
1039
- ) {
1040
- if (_0x1ebb87) {
1041
- Object["\u006b\u0065\u0079\u0073"](_0x1ebb87)[
1042
- "\u0066\u006f\u0072\u0045\u0061\u0063\u0068"
1043
- ]((_0x3431c9) => {
1044
- this["extraAccessData"][_0x3431c9] = _0x1ebb87[_0x3431c9];
305
+ handleOnCreated: function () {
306
+ this.handleCustomEvent(this.widget.options.onCreated);
307
+ },
308
+ handleOnMounted: function () {
309
+ this.handleCustomEvent(this.widget.options.onMounted);
310
+ // this.autoExcScript();
311
+ },
312
+ addExtraAccessData(data) {
313
+ if (data) {
314
+ Object.keys(data).forEach((field) => {
315
+ this.extraAccessData[field] = data[field];
1045
316
  });
1046
317
  }
1047
318
  },
1048
- "\u0063\u006c\u0065\u0061\u0072\u0045\u0078\u0074\u0072\u0061\u0041\u0063\u0063\u0065\u0073\u0073\u0044\u0061\u0074\u0061"() {
1049
- this["extraAccessData"] = {};
319
+ clearExtraAccessData() {
320
+ this.extraAccessData = {};
1050
321
  },
1051
- doAccess(_0x222d21, _0x556280, _0x294a78) {
1052
- let _0x438e77 = baseRefUtil["getAccessUrl"]();
1053
- let _0x29401a =
1054
- baseRefUtil[
1055
- "\u0067\u0065\u0074\u0052\u0065\u0070\u006f\u0072\u0074\u0047\u006c\u006f\u0062\u0061\u006c\u004d\u0061\u0070"
1056
- ]();
1057
- function _0x4df8f1(
1058
- _0x3e4c3e,
1059
- _0x570c17,
1060
- _0x55c646,
1061
- _0x3cc2a8,
1062
- _0x87ce43
1063
- ) {
1064
- return _0x3b8f(_0x55c646 - -0x27a, _0x570c17);
1065
- }
1066
- return this["\u0024\u0068\u0074\u0074\u0070"]({
1067
- "\u0075\u0072\u006c": _0x438e77,
1068
- method: _0x4df8f1(-0x259, -0x1ff, -0x229, -0x243, -0x1da),
1069
- "\u006c\u006f\u0061\u0064\u0069\u006e\u0067\u0054\u0061\u0072\u0067\u0065\u0074":
1070
- document["\u0062\u006f\u0064\u0079"],
322
+ doAccess(accessCode, conditions, callback) {
323
+ let path = baseRefUtil.getAccessUrl();
324
+ let globalReqData = baseRefUtil.getReportGlobalMap(); //全局请求参数
325
+ return this.$http({
326
+ url: path,
327
+ method: `post`,
328
+ loadingTarget: document.body,
1071
329
  data: {
1072
- accessCode: _0x222d21,
1073
- "\u0063\u006f\u006e\u0064\u0069\u0074\u0069\u006f\u006e\u0073": {
1074
- ..._0x556280,
1075
- ..._0x29401a,
330
+ accessCode: accessCode,
331
+ conditions: {
332
+ ...conditions,
333
+ ...globalReqData,
1076
334
  },
1077
335
  },
1078
- isLoading: !![],
1079
- "\u0073\u0075\u0063\u0063\u0065\u0073\u0073": (_0x24d72e) => {
1080
- _0x294a78 && _0x294a78(_0x24d72e["objx"]);
336
+ isLoading: true,
337
+ success: (res) => {
338
+ callback && callback(res.objx);
1081
339
  },
1082
340
  });
1083
341
  },
1084
- "\u0061\u0075\u0074\u006f\u0045\u0078\u0063\u0053\u0063\u0072\u0069\u0070\u0074"() {
1085
- if (
1086
- !this["designState"] &&
1087
- this["widget"]["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"][
1088
- "\u0061\u0063\u0063\u0065\u0073\u0073\u0041\u0075\u0074\u006f\u0045\u0078\u0063"
1089
- ]
1090
- ) {
1091
- this["scriptHttp"](
1092
- this["\u0077\u0069\u0064\u0067\u0065\u0074"]["options"]
1093
- );
1094
- }
1095
- },
342
+ //--------------------- 以上为组件支持外部调用的API方法 end ------------------//
1096
343
  getEventParam() {
1097
- let _0x4970bd =
1098
- this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]();
1099
- function _0x4a57e3(
1100
- _0x5947c1,
1101
- _0x39b7f7,
1102
- _0x2254f1,
1103
- _0xdd291c,
1104
- _0x45a645
1105
- ) {
1106
- return _0x3b8f(_0x2254f1 - -0x31b, _0xdd291c);
1107
- }
1108
- let _0x1ccf32 = _0x4970bd?.["dIatad".split("").reverse().join("")];
1109
- let _0x4ec134 =
1110
- _0x4970bd?.[
1111
- "\u0072\u0065\u0070\u006f\u0072\u0074\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"
1112
- ]?.["edoCmrof".split("").reverse().join("")];
1113
- function _0x2ba5ab(
1114
- _0x48a6d0,
1115
- _0x76cdea,
1116
- _0x556528,
1117
- _0x418030,
1118
- _0x4d6526
1119
- ) {
1120
- return _0x3b8f(_0x4d6526 - 0x6a, _0x76cdea);
1121
- }
344
+ let formRef = this.getFormRef();
345
+ let dataId = formRef?.dataId;
346
+ let formCode = formRef?.reportTemplate?.formCode;
1122
347
  return {
1123
- eventParamNames: [
1124
- _0x4a57e3(-0x2ab, -0x230, -0x272, -0x2b6, -0x246),
1125
- _0x4a57e3(-0x2af, -0x27e, -0x2d7, -0x27b, -0x287),
1126
- ],
1127
- eventParamValues: [_0x1ccf32, _0x4ec134],
348
+ eventParamNames: ["dataId", "formCode"],
349
+ eventParamValues: [dataId, formCode],
1128
350
  };
1129
351
  },
1130
- "\u0068\u0061\u006e\u0064\u006c\u0065\u0043\u0075\u0073\u0074\u006f\u006d\u0045\u0076\u0065\u006e\u0074"(
1131
- _0x54862f,
1132
- _0x3a3493 = [],
1133
- _0x5ef5e8 = []
1134
- ) {
1135
- function _0x4913ef(
1136
- _0x32d508,
1137
- _0x2e0729,
1138
- _0x350d39,
1139
- _0x487ea5,
1140
- _0x241cb6
1141
- ) {
1142
- return _0x3b8f(_0x350d39 - 0x13c, _0x32d508);
1143
- }
1144
- function _0x26e45d(
1145
- _0x274cf4,
1146
- _0x436c4e,
1147
- _0x2b41ab,
1148
- _0x1f97a9,
1149
- _0x577df3
1150
- ) {
1151
- return _0x2f79(_0x577df3 - -0x354, _0x2b41ab);
1152
- }
1153
- if (_0x54862f) {
1154
- let _0x2f9ef7 = this["getEventParam"]();
1155
- var _0xc59abc = new Function(
1156
- ..._0x2f9ef7["eventParamNames"],
1157
- ..._0x3a3493,
1158
- _0x54862f
352
+ handleCustomEvent(funtionStr, eventParamNames = [], eventParamValues = []) {
353
+ if (!this.designState && funtionStr) {
354
+ let eventParam = this.getEventParam();
355
+ var e = new Function(
356
+ ...eventParam.eventParamNames,
357
+ ...eventParamNames,
358
+ funtionStr
1159
359
  );
1160
- let _0x3c500d = this;
360
+ // return e.call(this, ...eventParam.eventParamValues, ...eventParamValues);
361
+ let that = this;
1161
362
  try {
1162
- return _0xc59abc["\u0063\u0061\u006c\u006c"](
363
+ return e.call(
1163
364
  this,
1164
- ..._0x2f9ef7[
1165
- "\u0065\u0076\u0065\u006e\u0074\u0050\u0061\u0072\u0061\u006d\u0056\u0061\u006c\u0075\u0065\u0073"
1166
- ],
1167
- ..._0x5ef5e8
365
+ ...eventParam.eventParamValues,
366
+ ...eventParamValues
1168
367
  );
1169
- } catch (_0x2a8b64) {
1170
- if (
1171
- settingConfig[
1172
- "\u0066\u006f\u006e\u0074\u0045\u0072\u0072\u006f\u0072\u0054\u0069\u0070\u0045\u006e\u0061\u0062\u006c\u0065\u0064"
1173
- ]
1174
- ) {
1175
- _0x3c500d["$errorMsg"]({
1176
- "\u0072\u006d\u0069\u0064": _0x3c500d["\u0024\u0074\u0031"](
1177
- _0x4913ef(0x16c, 0x1d5, 0x195, 0x193, 0x1db)
1178
- ),
1179
- "\u0063\u006f\u006e\u0074\u0065\u006e\u0074":
1180
- _0x2a8b64["message"],
1181
- type: _0x26e45d(
1182
- -0x320,
1183
- -0x28a,
1184
- "69YU".split("").reverse().join(""),
1185
- -0x311,
1186
- -0x2e9
1187
- ),
1188
- _errorMsg: _0x2a8b64["\u0073\u0074\u0061\u0063\u006b"],
368
+ } catch (error) {
369
+ if (settingConfig.fontErrorTipEnabled) {
370
+ that.$errorMsg({
371
+ rmid: that.$t1("前端脚本异常"),
372
+ content: error.message,
373
+ type: "error",
374
+ _errorMsg: error.stack,
1189
375
  });
1190
376
  }
1191
- throw _0x2a8b64;
377
+ throw error;
1192
378
  }
1193
379
  }
1194
380
  },
1195
- "\u0061\u0064\u0064\u0049\u006e\u0074\u0065\u0072\u0076\u0061\u006c"(
1196
- _0x1d911f,
1197
- _0x7c40e7
1198
- ) {
1199
- let _0x5afe7c = setInterval(_0x1d911f, _0x7c40e7);
1200
- this["timerMap"][_0x5afe7c] = _0x5afe7c;
1201
- return _0x5afe7c;
381
+ addInterval(handler, timeout) {
382
+ let timer = setInterval(handler, timeout);
383
+ this.timerMap[timer] = timer;
384
+ return timer;
1202
385
  },
1203
- "\u0063\u006c\u0065\u0061\u0072\u0041\u006c\u006c\u0049\u006e\u0074\u0065\u0072\u0076\u0061\u006c"() {
1204
- let _0xd05015 = this["timerMap"];
1205
- for (let _0x2b89f4 in _0xd05015) {
1206
- let _0x562d09 = _0xd05015[_0x2b89f4];
1207
- clearInterval(_0x562d09);
386
+ clearAllInterval() {
387
+ let timerMap = this.timerMap;
388
+ for (let key in timerMap) {
389
+ let timer = timerMap[key];
390
+ clearInterval(timer);
1208
391
  }
1209
- this["\u0074\u0069\u006d\u0065\u0072\u004d\u0061\u0070"] = {};
392
+ this.timerMap = {};
1210
393
  },
1211
- "\u0067\u0065\u0074\u0049\u0031\u0038\u006e\u004c\u0061\u0062\u0065\u006c"(
1212
- _0x3a9dfa,
1213
- _0x204c13,
1214
- _0x2c2923
1215
- ) {
1216
- return !this[
1217
- "\u0064\u0065\u0073\u0069\u0067\u006e\u0053\u0074\u0061\u0074\u0065"
1218
- ] && _0x3a9dfa
1219
- ? this["\u0024\u0074\u0032"](_0x3a9dfa, _0x204c13, _0x2c2923)
1220
- : _0x3a9dfa;
394
+ getI18nLabel(label, path, param) {
395
+ return !this.designState && label ? this.$t2(label, path, param) : label;
1221
396
  },
1222
- "\u0067\u0065\u0074\u0050\u0061\u0072\u0065\u006e\u0074\u0054\u0061\u0072\u0067\u0065\u0074"() {
1223
- let _0x11250f =
1224
- this[
1225
- "\u0070\u0061\u0072\u0065\u006e\u0074\u0057\u0069\u0064\u0067\u0065\u0074"
1226
- ]?.["\u006f\u0070\u0074\u0069\u006f\u006e\u0073"]?.[
1227
- "eman".split("").reverse().join("")
1228
- ] ?? null;
1229
- return _0x11250f
1230
- ? this[
1231
- "\u0067\u0065\u0074\u0057\u0069\u0064\u0067\u0065\u0074\u0052\u0065\u0066"
1232
- ](_0x11250f)
1233
- : null;
397
+ getParentTarget() {
398
+ let name = this.parentWidget?.options?.name ?? null;
399
+ return name ? this.getWidgetRef(name) : null;
1234
400
  },
1235
401
  },
1236
402
  };
403
+
1237
404
  export default modules;