sun-form-v3 1.0.65 → 1.0.66

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 +21 -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,291 +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: '"', notIn: ["string", "comment"] }
21
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: '"', close: '"' }
27
- ]
28
- }, t = {
29
- // Set defaultToken to invalid to see what you do not tokenize yet
30
- keywords: [
31
- "namespace",
32
- "open",
33
- "as",
34
- "operation",
35
- "function",
36
- "body",
37
- "adjoint",
38
- "newtype",
39
- "controlled",
40
- "if",
41
- "elif",
42
- "else",
43
- "repeat",
44
- "until",
45
- "fixup",
46
- "for",
47
- "in",
48
- "while",
49
- "return",
50
- "fail",
51
- "within",
52
- "apply",
53
- "Adjoint",
54
- "Controlled",
55
- "Adj",
56
- "Ctl",
57
- "is",
58
- "self",
59
- "auto",
60
- "distribute",
61
- "invert",
62
- "intrinsic",
63
- "let",
64
- "set",
65
- "w/",
66
- "new",
67
- "not",
68
- "and",
69
- "or",
70
- "use",
71
- "borrow",
72
- "using",
73
- "borrowing",
74
- "mutable",
75
- "internal"
76
- ],
77
- typeKeywords: [
78
- "Unit",
79
- "Int",
80
- "BigInt",
81
- "Double",
82
- "Bool",
83
- "String",
84
- "Qubit",
85
- "Result",
86
- "Pauli",
87
- "Range"
88
- ],
89
- invalidKeywords: [
90
- "abstract",
91
- "base",
92
- "bool",
93
- "break",
94
- "byte",
95
- "case",
96
- "catch",
97
- "char",
98
- "checked",
99
- "class",
100
- "const",
101
- "continue",
102
- "decimal",
103
- "default",
104
- "delegate",
105
- "do",
106
- "double",
107
- "enum",
108
- "event",
109
- "explicit",
110
- "extern",
111
- "finally",
112
- "fixed",
113
- "float",
114
- "foreach",
115
- "goto",
116
- "implicit",
117
- "int",
118
- "interface",
119
- "lock",
120
- "long",
121
- "null",
122
- "object",
123
- "operator",
124
- "out",
125
- "override",
126
- "params",
127
- "private",
128
- "protected",
129
- "public",
130
- "readonly",
131
- "ref",
132
- "sbyte",
133
- "sealed",
134
- "short",
135
- "sizeof",
136
- "stackalloc",
137
- "static",
138
- "string",
139
- "struct",
140
- "switch",
141
- "this",
142
- "throw",
143
- "try",
144
- "typeof",
145
- "unit",
146
- "ulong",
147
- "unchecked",
148
- "unsafe",
149
- "ushort",
150
- "virtual",
151
- "void",
152
- "volatile"
153
- ],
154
- constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
155
- builtin: [
156
- "X",
157
- "Y",
158
- "Z",
159
- "H",
160
- "HY",
161
- "S",
162
- "T",
163
- "SWAP",
164
- "CNOT",
165
- "CCNOT",
166
- "MultiX",
167
- "R",
168
- "RFrac",
169
- "Rx",
170
- "Ry",
171
- "Rz",
172
- "R1",
173
- "R1Frac",
174
- "Exp",
175
- "ExpFrac",
176
- "Measure",
177
- "M",
178
- "MultiM",
179
- "Message",
180
- "Length",
181
- "Assert",
182
- "AssertProb",
183
- "AssertEqual"
184
- ],
185
- operators: [
186
- "and=",
187
- "<-",
188
- "->",
189
- "*",
190
- "*=",
191
- "@",
192
- "!",
193
- "^",
194
- "^=",
195
- ":",
196
- "::",
197
- "..",
198
- "==",
199
- "...",
200
- "=",
201
- "=>",
202
- ">",
203
- ">=",
204
- "<",
205
- "<=",
206
- "-",
207
- "-=",
208
- "!=",
209
- "or=",
210
- "%",
211
- "%=",
212
- "|",
213
- "+",
214
- "+=",
215
- "?",
216
- "/",
217
- "/=",
218
- "&&&",
219
- "&&&=",
220
- "^^^",
221
- "^^^=",
222
- ">>>",
223
- ">>>=",
224
- "<<<",
225
- "<<<=",
226
- "|||",
227
- "|||=",
228
- "~~~",
229
- "_",
230
- "w/",
231
- "w/="
232
- ],
233
- namespaceFollows: ["namespace", "open"],
234
- symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
235
- escapes: /\\[\s\S]/,
236
- // The main tokenizer for our languages
237
- tokenizer: {
238
- root: [
239
- // identifiers and keywords
240
- [
241
- /[a-zA-Z_$][\w$]*/,
242
- {
243
- cases: {
244
- "@namespaceFollows": {
245
- token: "keyword.$0",
246
- next: "@namespace"
247
- },
248
- "@typeKeywords": "type",
249
- "@keywords": "keyword",
250
- "@constants": "constant",
251
- "@builtin": "keyword",
252
- "@invalidKeywords": "invalid",
253
- "@default": "identifier"
254
- }
255
- }
256
- ],
257
- // whitespace
258
- { include: "@whitespace" },
259
- // delimiters and operators
260
- [/[{}()\[\]]/, "@brackets"],
261
- [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
262
- // numbers
263
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
264
- [/\d+/, "number"],
265
- // delimiter: after number because of .\d floats
266
- [/[;,.]/, "delimiter"],
267
- // strings
268
- //[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-teminated string
269
- [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
270
- ],
271
- string: [
272
- [/[^\\"]+/, "string"],
273
- [/@escapes/, "string.escape"],
274
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
275
- ],
276
- namespace: [
277
- { include: "@whitespace" },
278
- [/[A-Za-z]\w*/, "namespace"],
279
- [/[\.=]/, "delimiter"],
280
- ["", "", "@pop"]
281
- ],
282
- whitespace: [
283
- [/[ \t\r\n]+/, "white"],
284
- [/(\/\/).*/, "comment"]
285
- ]
286
- }
287
- };
288
- export {
289
- e as conf,
290
- t as language
291
- };
@@ -1,249 +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
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: '"', close: '"' }
27
- ]
28
- }, o = {
29
- defaultToken: "",
30
- tokenPostfix: ".r",
31
- roxygen: [
32
- "@alias",
33
- "@aliases",
34
- "@assignee",
35
- "@author",
36
- "@backref",
37
- "@callGraph",
38
- "@callGraphDepth",
39
- "@callGraphPrimitives",
40
- "@concept",
41
- "@describeIn",
42
- "@description",
43
- "@details",
44
- "@docType",
45
- "@encoding",
46
- "@evalNamespace",
47
- "@evalRd",
48
- "@example",
49
- "@examples",
50
- "@export",
51
- "@exportClass",
52
- "@exportMethod",
53
- "@exportPattern",
54
- "@family",
55
- "@field",
56
- "@formals",
57
- "@format",
58
- "@import",
59
- "@importClassesFrom",
60
- "@importFrom",
61
- "@importMethodsFrom",
62
- "@include",
63
- "@inherit",
64
- "@inheritDotParams",
65
- "@inheritParams",
66
- "@inheritSection",
67
- "@keywords",
68
- "@md",
69
- "@method",
70
- "@name",
71
- "@noMd",
72
- "@noRd",
73
- "@note",
74
- "@param",
75
- "@rawNamespace",
76
- "@rawRd",
77
- "@rdname",
78
- "@references",
79
- "@return",
80
- "@S3method",
81
- "@section",
82
- "@seealso",
83
- "@setClass",
84
- "@slot",
85
- "@source",
86
- "@template",
87
- "@templateVar",
88
- "@title",
89
- "@TODO",
90
- "@usage",
91
- "@useDynLib"
92
- ],
93
- constants: [
94
- "NULL",
95
- "FALSE",
96
- "TRUE",
97
- "NA",
98
- "Inf",
99
- "NaN",
100
- "NA_integer_",
101
- "NA_real_",
102
- "NA_complex_",
103
- "NA_character_",
104
- "T",
105
- "F",
106
- "LETTERS",
107
- "letters",
108
- "month.abb",
109
- "month.name",
110
- "pi",
111
- "R.version.string"
112
- ],
113
- keywords: [
114
- "break",
115
- "next",
116
- "return",
117
- "if",
118
- "else",
119
- "for",
120
- "in",
121
- "repeat",
122
- "while",
123
- "array",
124
- "category",
125
- "character",
126
- "complex",
127
- "double",
128
- "function",
129
- "integer",
130
- "list",
131
- "logical",
132
- "matrix",
133
- "numeric",
134
- "vector",
135
- "data.frame",
136
- "factor",
137
- "library",
138
- "require",
139
- "attach",
140
- "detach",
141
- "source"
142
- ],
143
- special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
144
- brackets: [
145
- { open: "{", close: "}", token: "delimiter.curly" },
146
- { open: "[", close: "]", token: "delimiter.bracket" },
147
- { open: "(", close: ")", token: "delimiter.parenthesis" }
148
- ],
149
- tokenizer: {
150
- root: [
151
- { include: "@numbers" },
152
- { include: "@strings" },
153
- [/[{}\[\]()]/, "@brackets"],
154
- { include: "@operators" },
155
- [/#'$/, "comment.doc"],
156
- [/#'/, "comment.doc", "@roxygen"],
157
- [/(^#.*$)/, "comment"],
158
- [/\s+/, "white"],
159
- [/[,:;]/, "delimiter"],
160
- [/@[a-zA-Z]\w*/, "tag"],
161
- [
162
- /[a-zA-Z]\w*/,
163
- {
164
- cases: {
165
- "@keywords": "keyword",
166
- "@constants": "constant",
167
- "@default": "identifier"
168
- }
169
- }
170
- ]
171
- ],
172
- // Recognize Roxygen comments
173
- roxygen: [
174
- [
175
- /@\w+/,
176
- {
177
- cases: {
178
- "@roxygen": "tag",
179
- "@eos": { token: "comment.doc", next: "@pop" },
180
- "@default": "comment.doc"
181
- }
182
- }
183
- ],
184
- [
185
- /\s+/,
186
- {
187
- cases: {
188
- "@eos": { token: "comment.doc", next: "@pop" },
189
- "@default": "comment.doc"
190
- }
191
- }
192
- ],
193
- [/.*/, { token: "comment.doc", next: "@pop" }]
194
- ],
195
- // Recognize positives, negatives, decimals, imaginaries, and scientific notation
196
- numbers: [
197
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
198
- [/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
199
- ],
200
- // Recognize operators
201
- operators: [
202
- [/<{1,2}-/, "operator"],
203
- [/->{1,2}/, "operator"],
204
- [/%[^%\s]+%/, "operator"],
205
- [/\*\*/, "operator"],
206
- [/%%/, "operator"],
207
- [/&&/, "operator"],
208
- [/\|\|/, "operator"],
209
- [/<</, "operator"],
210
- [/>>/, "operator"],
211
- [/[-+=&|!<>^~*/:$]/, "operator"]
212
- ],
213
- // Recognize strings, including those broken across lines
214
- strings: [
215
- [/'/, "string.escape", "@stringBody"],
216
- [/"/, "string.escape", "@dblStringBody"]
217
- ],
218
- stringBody: [
219
- [
220
- /\\./,
221
- {
222
- cases: {
223
- "@special": "string",
224
- "@default": "error-token"
225
- }
226
- }
227
- ],
228
- [/'/, "string.escape", "@popall"],
229
- [/./, "string"]
230
- ],
231
- dblStringBody: [
232
- [
233
- /\\./,
234
- {
235
- cases: {
236
- "@special": "string",
237
- "@default": "error-token"
238
- }
239
- }
240
- ],
241
- [/"/, "string.escape", "@popall"],
242
- [/./, "string"]
243
- ]
244
- }
245
- };
246
- export {
247
- e as conf,
248
- o as language
249
- };