sun-form-v3 1.0.65 → 1.0.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/package.json +8 -5
  2. package/src/App.vue +9 -0
  3. package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
  4. package/src/assets/font/demo.css +539 -0
  5. package/src/assets/font/demo_index.html +1200 -0
  6. package/src/assets/font/iconfont.css +191 -0
  7. package/src/assets/font/iconfont.js +1 -0
  8. package/src/assets/font/iconfont.json +317 -0
  9. package/src/assets/font/iconfont.ttf +0 -0
  10. package/src/assets/font/iconfont.woff +0 -0
  11. package/src/assets/font/iconfont.woff2 +0 -0
  12. package/src/assets/img/bg_footer.png +0 -0
  13. package/src/assets/img/bg_title.png +0 -0
  14. package/src/assets/img/file.png +0 -0
  15. package/src/assets/img/logo.png +0 -0
  16. package/src/assets/img/logo2.png +0 -0
  17. package/src/assets/img/logo22.png +0 -0
  18. package/src/assets/img/logo23.png +0 -0
  19. package/src/assets/img/logo3.png +0 -0
  20. package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
  21. package/src/assets/logo.svg +1 -0
  22. package/src/assets/styles/element/index.scss +15 -0
  23. package/src/assets/styles/index.css +3 -0
  24. package/src/components/a.js +14 -0
  25. package/src/components/aDesigner/config.vue +127 -0
  26. package/src/components/aDesigner/design.vue +20 -0
  27. package/src/components/aDesigner/designer.js +342 -0
  28. package/src/components/aDesigner/http.js +292 -0
  29. package/src/components/aDesigner/index.vue +144 -0
  30. package/src/components/aDesigner/panel.vue +144 -0
  31. package/src/components/aDesigner/show.vue +24 -0
  32. package/src/components/widgetCommonComps/commonApiConfig/index.vue +194 -0
  33. package/src/components/widgetCommonComps/commonCard/index.vue +36 -0
  34. package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +219 -0
  35. package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +68 -0
  36. package/src/components/widgetCommonComps/commonCollapseCard/index.vue +10 -0
  37. package/src/components/widgetCommonComps/commonContainer/index.vue +95 -0
  38. package/src/components/widgetCommonComps/commonJsonInput/index.vue +59 -0
  39. package/src/components/widgetCommonComps/commonLabelContainer/index.vue +39 -0
  40. package/src/components/widgetCommonComps/commonSidetree/index.vue +61 -0
  41. package/src/components/widgetCommonComps/commonTypeInput/index.vue +75 -0
  42. package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +55 -0
  43. package/src/components/widgetCommonComps/index copy.js +17 -0
  44. package/src/components/widgetCommonComps/index.js +17 -0
  45. package/src/components/widgetConfigComps/config-input/index.vue +60 -0
  46. package/src/components/widgetConfigComps/index copy.js +13 -0
  47. package/src/components/widgetConfigComps/index.js +17 -0
  48. package/src/components/widgetShowComps/index.js +29 -0
  49. package/src/components/widgetShowComps/widget-form/index.vue +43 -0
  50. package/src/components/widgetShowComps/widget-homepage/index.vue +41 -0
  51. package/src/components/widgetShowComps/widget-input/index.vue +85 -0
  52. package/src/components/widgetShowComps/widget-select/index.vue +31 -0
  53. package/src/designer.js +342 -0
  54. package/src/http.js +292 -0
  55. package/src/index.js +24 -0
  56. package/src/index2.js +23 -0
  57. package/src/main.js +19 -0
  58. package/src/remark.js +708 -0
  59. package/src/testBtn.vue +11 -0
  60. package/src/testInput.vue +12 -0
  61. package/src/util/jsformat.js +568 -0
  62. package/src/widgetConfig.js +1112 -0
  63. package/dist/abap-DfvySaIJ.js +0 -1404
  64. package/dist/apex-B__0irD3.js +0 -332
  65. package/dist/assets/css.worker-OK053IOu.js +0 -84
  66. package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
  67. package/dist/assets/html.worker-CL40hqKM.js +0 -458
  68. package/dist/assets/json.worker-6f9bhSHY.js +0 -42
  69. package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
  70. package/dist/azcli-CDMGhRmx.js +0 -74
  71. package/dist/bat-0Mk8aqzx.js +0 -106
  72. package/dist/bicep-BBi_I06Z.js +0 -108
  73. package/dist/cameligo-D0G_Zm6X.js +0 -180
  74. package/dist/clojure-o2ZKLeMp.js +0 -767
  75. package/dist/coffee-DOQff5VC.js +0 -238
  76. package/dist/cpp-CQGJnWhD.js +0 -395
  77. package/dist/csharp-C1jLsHl8.js +0 -332
  78. package/dist/csp-C_ttMQaW.js +0 -59
  79. package/dist/css-BC202kVV.js +0 -193
  80. package/dist/cssMode-B2c4O0YS.js +0 -1541
  81. package/dist/cypher-DwtEH7Fi.js +0 -269
  82. package/dist/dart-D9XknsP2.js +0 -287
  83. package/dist/dockerfile-DgsNjqqa.js +0 -136
  84. package/dist/ecl-BAMCHBl6.js +0 -462
  85. package/dist/elixir-CegIttP8.js +0 -575
  86. package/dist/favicon.ico +0 -0
  87. package/dist/flow9-9608t7UV.js +0 -148
  88. package/dist/freemarker2-C0V-2C6A.js +0 -995
  89. package/dist/fsharp-CCtt9-1_.js +0 -223
  90. package/dist/go-CGUIPbct.js +0 -224
  91. package/dist/graphql-BNRIFFIn.js +0 -157
  92. package/dist/handlebars-Dq-D2gGP.js +0 -425
  93. package/dist/hcl-C__KLIXe.js +0 -189
  94. package/dist/html-CHe4dRTt.js +0 -314
  95. package/dist/htmlMode-DmZav6BJ.js +0 -1551
  96. package/dist/index2-CDdAhO0H.js +0 -124690
  97. package/dist/ini-CeKYn_zA.js +0 -77
  98. package/dist/java-Dm24deQl.js +0 -238
  99. package/dist/javascript-e6NjSQC6.js +0 -76
  100. package/dist/jsonMode-pOauncTt.js +0 -1957
  101. package/dist/julia-BImNW7VE.js +0 -517
  102. package/dist/kotlin-BfE79GEb.js +0 -259
  103. package/dist/less-DglNOcaC.js +0 -168
  104. package/dist/lexon-BA0dRz9Q.js +0 -163
  105. package/dist/liquid-DGCC4WOg.js +0 -246
  106. package/dist/lua-DMkWzJcm.js +0 -168
  107. package/dist/m3-sA-5shO8.js +0 -216
  108. package/dist/markdown-OYRB1igA.js +0 -235
  109. package/dist/mdx-GitjX2xy.js +0 -171
  110. package/dist/mips-rRzkJ_7G.js +0 -204
  111. package/dist/msdax-DoVJdUhd.js +0 -381
  112. package/dist/mysql-Ty44IHXo.js +0 -884
  113. package/dist/objective-c-VUfyhYrA.js +0 -189
  114. package/dist/pascal-DkASiYyw.js +0 -257
  115. package/dist/pascaligo-p-ELPlVO.js +0 -170
  116. package/dist/perl-Cjl1FxLZ.js +0 -632
  117. package/dist/pgsql-DjVenF7s.js +0 -857
  118. package/dist/php-CwvGzZOO.js +0 -506
  119. package/dist/pla-Br1iaBIV.js +0 -143
  120. package/dist/postiats-BaeP8zZY.js +0 -913
  121. package/dist/powerquery-CLCshuo8.js +0 -896
  122. package/dist/powershell-CZV50w5N.js +0 -245
  123. package/dist/protobuf-MV3XTewJ.js +0 -426
  124. package/dist/pug-DkDg4c4l.js +0 -408
  125. package/dist/python-BxUPejAm.js +0 -282
  126. package/dist/qsharp-BAtiKA97.js +0 -291
  127. package/dist/r-8ocrd-h-.js +0 -249
  128. package/dist/razor-B0zHeS7k.js +0 -556
  129. package/dist/redis-9sZiddxc.js +0 -308
  130. package/dist/redshift-DQfTOGC0.js +0 -815
  131. package/dist/restructuredtext-DXU-vkgr.js +0 -180
  132. package/dist/ruby-DotfqwMf.js +0 -517
  133. package/dist/rust-BIauJ5KN.js +0 -349
  134. package/dist/sb-CmWMvDEV.js +0 -121
  135. package/dist/scala-C81brEbk.js +0 -376
  136. package/dist/scheme-D0pcFz2x.js +0 -114
  137. package/dist/scss-BOdN2fGG.js +0 -268
  138. package/dist/shell-6E09eAkU.js +0 -227
  139. package/dist/solidity-CWStzA1K.js +0 -1373
  140. package/dist/sophia-76Sb6CWe.js +0 -205
  141. package/dist/sparql-BmZTkOWT.js +0 -207
  142. package/dist/sql-Cs9TBAW5.js +0 -859
  143. package/dist/st-B-rqE1Bu.js +0 -422
  144. package/dist/style.css +0 -1
  145. package/dist/sun-form-v3.es.js +0 -4
  146. package/dist/sun-form-v3.umd.js +0 -1908
  147. package/dist/swift-Btsj6YxQ.js +0 -318
  148. package/dist/systemverilog-B3RHBRa2.js +0 -582
  149. package/dist/tcl-Dpj776pn.js +0 -238
  150. package/dist/tsMode-AhR0apFR.js +0 -886
  151. package/dist/twig-Bb9JmBsE.js +0 -398
  152. package/dist/typescript-DW_IjlW5.js +0 -349
  153. package/dist/typespec-CDWeg3SU.js +0 -123
  154. package/dist/vb-DEXnYwEI.js +0 -378
  155. package/dist/wgsl-D602c1lx.js +0 -445
  156. package/dist/xml-CraN90Vi.js +0 -101
  157. package/dist/yaml-D6yA8dTm.js +0 -212
@@ -1,77 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- lineComment: "#"
10
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: '"', close: '"' },
21
- { open: "'", close: "'" }
22
- ],
23
- surroundingPairs: [
24
- { open: "{", close: "}" },
25
- { open: "[", close: "]" },
26
- { open: "(", close: ")" },
27
- { open: '"', close: '"' },
28
- { open: "'", close: "'" }
29
- ]
30
- }, n = {
31
- defaultToken: "",
32
- tokenPostfix: ".ini",
33
- // we include these common regular expressions
34
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
35
- // The main tokenizer for our languages
36
- tokenizer: {
37
- root: [
38
- // sections
39
- [/^\[[^\]]*\]/, "metatag"],
40
- // keys
41
- [/(^\w+)(\s*)(\=)/, ["key", "", "delimiter"]],
42
- // whitespace
43
- { include: "@whitespace" },
44
- // numbers
45
- [/\d+/, "number"],
46
- // strings: recover on non-terminated strings
47
- [/"([^"\\]|\\.)*$/, "string.invalid"],
48
- // non-teminated string
49
- [/'([^'\\]|\\.)*$/, "string.invalid"],
50
- // non-teminated string
51
- [/"/, "string", '@string."'],
52
- [/'/, "string", "@string.'"]
53
- ],
54
- whitespace: [
55
- [/[ \t\r\n]+/, ""],
56
- [/^\s*[#;].*$/, "comment"]
57
- ],
58
- string: [
59
- [/[^\\"']+/, "string"],
60
- [/@escapes/, "string.escape"],
61
- [/\\./, "string.escape.invalid"],
62
- [
63
- /["']/,
64
- {
65
- cases: {
66
- "$#==$S2": { token: "string", next: "@pop" },
67
- "@default": "string"
68
- }
69
- }
70
- ]
71
- ]
72
- }
73
- };
74
- export {
75
- e as conf,
76
- n as language
77
- };
@@ -1,238 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- // the default separators except `@$`
9
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
10
- comments: {
11
- lineComment: "//",
12
- blockComment: ["/*", "*/"]
13
- },
14
- brackets: [
15
- ["{", "}"],
16
- ["[", "]"],
17
- ["(", ")"]
18
- ],
19
- autoClosingPairs: [
20
- { open: "{", close: "}" },
21
- { open: "[", close: "]" },
22
- { open: "(", close: ")" },
23
- { open: '"', close: '"' },
24
- { open: "'", close: "'" }
25
- ],
26
- surroundingPairs: [
27
- { open: "{", close: "}" },
28
- { open: "[", close: "]" },
29
- { open: "(", close: ")" },
30
- { open: '"', close: '"' },
31
- { open: "'", close: "'" },
32
- { open: "<", close: ">" }
33
- ],
34
- folding: {
35
- markers: {
36
- start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
37
- end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
38
- }
39
- }
40
- }, t = {
41
- defaultToken: "",
42
- tokenPostfix: ".java",
43
- keywords: [
44
- "abstract",
45
- "continue",
46
- "for",
47
- "new",
48
- "switch",
49
- "assert",
50
- "default",
51
- "goto",
52
- "package",
53
- "synchronized",
54
- "boolean",
55
- "do",
56
- "if",
57
- "private",
58
- "this",
59
- "break",
60
- "double",
61
- "implements",
62
- "protected",
63
- "throw",
64
- "byte",
65
- "else",
66
- "import",
67
- "public",
68
- "throws",
69
- "case",
70
- "enum",
71
- "instanceof",
72
- "return",
73
- "transient",
74
- "catch",
75
- "extends",
76
- "int",
77
- "short",
78
- "try",
79
- "char",
80
- "final",
81
- "interface",
82
- "static",
83
- "void",
84
- "class",
85
- "finally",
86
- "long",
87
- "strictfp",
88
- "volatile",
89
- "const",
90
- "float",
91
- "native",
92
- "super",
93
- "while",
94
- "true",
95
- "false",
96
- "yield",
97
- "record",
98
- "sealed",
99
- "non-sealed",
100
- "permits"
101
- ],
102
- operators: [
103
- "=",
104
- ">",
105
- "<",
106
- "!",
107
- "~",
108
- "?",
109
- ":",
110
- "==",
111
- "<=",
112
- ">=",
113
- "!=",
114
- "&&",
115
- "||",
116
- "++",
117
- "--",
118
- "+",
119
- "-",
120
- "*",
121
- "/",
122
- "&",
123
- "|",
124
- "^",
125
- "%",
126
- "<<",
127
- ">>",
128
- ">>>",
129
- "+=",
130
- "-=",
131
- "*=",
132
- "/=",
133
- "&=",
134
- "|=",
135
- "^=",
136
- "%=",
137
- "<<=",
138
- ">>=",
139
- ">>>="
140
- ],
141
- // we include these common regular expressions
142
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
143
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
144
- digits: /\d+(_+\d+)*/,
145
- octaldigits: /[0-7]+(_+[0-7]+)*/,
146
- binarydigits: /[0-1]+(_+[0-1]+)*/,
147
- hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
148
- // The main tokenizer for our languages
149
- tokenizer: {
150
- root: [
151
- // Special keyword with a dash
152
- ["non-sealed", "keyword.non-sealed"],
153
- // identifiers and keywords
154
- [
155
- /[a-zA-Z_$][\w$]*/,
156
- {
157
- cases: {
158
- "@keywords": { token: "keyword.$0" },
159
- "@default": "identifier"
160
- }
161
- }
162
- ],
163
- // whitespace
164
- { include: "@whitespace" },
165
- // delimiters and operators
166
- [/[{}()\[\]]/, "@brackets"],
167
- [/[<>](?!@symbols)/, "@brackets"],
168
- [
169
- /@symbols/,
170
- {
171
- cases: {
172
- "@operators": "delimiter",
173
- "@default": ""
174
- }
175
- }
176
- ],
177
- // @ annotations.
178
- [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
179
- // numbers
180
- [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
181
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
182
- [/0[xX](@hexdigits)[Ll]?/, "number.hex"],
183
- [/0(@octaldigits)[Ll]?/, "number.octal"],
184
- [/0[bB](@binarydigits)[Ll]?/, "number.binary"],
185
- [/(@digits)[fFdD]/, "number.float"],
186
- [/(@digits)[lL]?/, "number"],
187
- // delimiter: after number because of .\d floats
188
- [/[;,.]/, "delimiter"],
189
- // strings
190
- [/"([^"\\]|\\.)*$/, "string.invalid"],
191
- // non-teminated string
192
- [/"""/, "string", "@multistring"],
193
- [/"/, "string", "@string"],
194
- // characters
195
- [/'[^\\']'/, "string"],
196
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
197
- [/'/, "string.invalid"]
198
- ],
199
- whitespace: [
200
- [/[ \t\r\n]+/, ""],
201
- [/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
202
- [/\/\*/, "comment", "@comment"],
203
- [/\/\/.*$/, "comment"]
204
- ],
205
- comment: [
206
- [/[^\/*]+/, "comment"],
207
- // [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
208
- // [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
209
- [/\*\//, "comment", "@pop"],
210
- [/[\/*]/, "comment"]
211
- ],
212
- //Identical copy of comment above, except for the addition of .doc
213
- javadoc: [
214
- [/[^\/*]+/, "comment.doc"],
215
- // [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
216
- [/\/\*/, "comment.doc.invalid"],
217
- [/\*\//, "comment.doc", "@pop"],
218
- [/[\/*]/, "comment.doc"]
219
- ],
220
- string: [
221
- [/[^\\"]+/, "string"],
222
- [/@escapes/, "string.escape"],
223
- [/\\./, "string.escape.invalid"],
224
- [/"/, "string", "@pop"]
225
- ],
226
- multistring: [
227
- [/[^\\"]+/, "string"],
228
- [/@escapes/, "string.escape"],
229
- [/\\./, "string.escape.invalid"],
230
- [/"""/, "string", "@pop"],
231
- [/./, "string"]
232
- ]
233
- }
234
- };
235
- export {
236
- e as conf,
237
- t as language
238
- };
@@ -1,76 +0,0 @@
1
- import { conf as t, language as e } from "./typescript-DW_IjlW5.js";
2
- /*!-----------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
5
- * Released under the MIT license
6
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
- *-----------------------------------------------------------------------------*/
8
- var i = t, o = {
9
- // Set defaultToken to invalid to see what you do not tokenize yet
10
- defaultToken: "invalid",
11
- tokenPostfix: ".js",
12
- keywords: [
13
- "break",
14
- "case",
15
- "catch",
16
- "class",
17
- "continue",
18
- "const",
19
- "constructor",
20
- "debugger",
21
- "default",
22
- "delete",
23
- "do",
24
- "else",
25
- "export",
26
- "extends",
27
- "false",
28
- "finally",
29
- "for",
30
- "from",
31
- "function",
32
- "get",
33
- "if",
34
- "import",
35
- "in",
36
- "instanceof",
37
- "let",
38
- "new",
39
- "null",
40
- "return",
41
- "set",
42
- "static",
43
- "super",
44
- "switch",
45
- "symbol",
46
- "this",
47
- "throw",
48
- "true",
49
- "try",
50
- "typeof",
51
- "undefined",
52
- "var",
53
- "void",
54
- "while",
55
- "with",
56
- "yield",
57
- "async",
58
- "await",
59
- "of"
60
- ],
61
- typeKeywords: [],
62
- operators: e.operators,
63
- symbols: e.symbols,
64
- escapes: e.escapes,
65
- digits: e.digits,
66
- octaldigits: e.octaldigits,
67
- binarydigits: e.binarydigits,
68
- hexdigits: e.hexdigits,
69
- regexpctl: e.regexpctl,
70
- regexpesc: e.regexpesc,
71
- tokenizer: e.tokenizer
72
- };
73
- export {
74
- i as conf,
75
- o as language
76
- };