sun-form-v3 1.0.51 → 1.0.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/dist/abap-DfvySaIJ.js +1404 -0
  2. package/dist/apex-B__0irD3.js +332 -0
  3. package/dist/assets/css.worker-OK053IOu.js +84 -0
  4. package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
  5. package/dist/assets/html.worker-CL40hqKM.js +458 -0
  6. package/dist/assets/json.worker-6f9bhSHY.js +42 -0
  7. package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
  8. package/dist/azcli-CDMGhRmx.js +74 -0
  9. package/dist/bat-0Mk8aqzx.js +106 -0
  10. package/dist/bicep-BBi_I06Z.js +108 -0
  11. package/dist/cameligo-D0G_Zm6X.js +180 -0
  12. package/dist/clojure-o2ZKLeMp.js +767 -0
  13. package/dist/coffee-DOQff5VC.js +238 -0
  14. package/dist/cpp-CQGJnWhD.js +395 -0
  15. package/dist/csharp-C1jLsHl8.js +332 -0
  16. package/dist/csp-C_ttMQaW.js +59 -0
  17. package/dist/css-BC202kVV.js +193 -0
  18. package/dist/cssMode-D45lxKGY.js +1541 -0
  19. package/dist/cypher-DwtEH7Fi.js +269 -0
  20. package/dist/dart-D9XknsP2.js +287 -0
  21. package/dist/dockerfile-DgsNjqqa.js +136 -0
  22. package/dist/ecl-BAMCHBl6.js +462 -0
  23. package/dist/elixir-CegIttP8.js +575 -0
  24. package/dist/flow9-9608t7UV.js +148 -0
  25. package/dist/freemarker2-C5c6cqO5.js +995 -0
  26. package/dist/fsharp-CCtt9-1_.js +223 -0
  27. package/dist/go-CGUIPbct.js +224 -0
  28. package/dist/graphql-BNRIFFIn.js +157 -0
  29. package/dist/handlebars-CnNQzLDj.js +425 -0
  30. package/dist/hcl-C__KLIXe.js +189 -0
  31. package/dist/html-CiZ8fiaP.js +314 -0
  32. package/dist/htmlMode-Dus2ru9E.js +1551 -0
  33. package/dist/index2-CjCXYnQw.js +110864 -0
  34. package/dist/ini-CeKYn_zA.js +77 -0
  35. package/dist/java-Dm24deQl.js +238 -0
  36. package/dist/javascript-IKydnX8w.js +76 -0
  37. package/dist/jsonMode-CfkTtfN1.js +1957 -0
  38. package/dist/julia-BImNW7VE.js +517 -0
  39. package/dist/kotlin-BfE79GEb.js +259 -0
  40. package/dist/less-DglNOcaC.js +168 -0
  41. package/dist/lexon-BA0dRz9Q.js +163 -0
  42. package/dist/liquid-C_UYsilK.js +246 -0
  43. package/dist/lua-DMkWzJcm.js +168 -0
  44. package/dist/m3-sA-5shO8.js +216 -0
  45. package/dist/markdown-OYRB1igA.js +235 -0
  46. package/dist/mdx-C3JSJ9-L.js +171 -0
  47. package/dist/mips-rRzkJ_7G.js +204 -0
  48. package/dist/msdax-DoVJdUhd.js +381 -0
  49. package/dist/mysql-Ty44IHXo.js +884 -0
  50. package/dist/objective-c-VUfyhYrA.js +189 -0
  51. package/dist/pascal-DkASiYyw.js +257 -0
  52. package/dist/pascaligo-p-ELPlVO.js +170 -0
  53. package/dist/perl-Cjl1FxLZ.js +632 -0
  54. package/dist/pgsql-DjVenF7s.js +857 -0
  55. package/dist/php-CwvGzZOO.js +506 -0
  56. package/dist/pla-Br1iaBIV.js +143 -0
  57. package/dist/postiats-BaeP8zZY.js +913 -0
  58. package/dist/powerquery-CLCshuo8.js +896 -0
  59. package/dist/powershell-CZV50w5N.js +245 -0
  60. package/dist/protobuf-MV3XTewJ.js +426 -0
  61. package/dist/pug-DkDg4c4l.js +408 -0
  62. package/dist/python-CqYwzGqW.js +282 -0
  63. package/dist/qsharp-BAtiKA97.js +291 -0
  64. package/dist/r-8ocrd-h-.js +249 -0
  65. package/dist/razor-BS6FM1Di.js +556 -0
  66. package/dist/redis-9sZiddxc.js +308 -0
  67. package/dist/redshift-DQfTOGC0.js +815 -0
  68. package/dist/restructuredtext-DXU-vkgr.js +180 -0
  69. package/dist/ruby-DotfqwMf.js +517 -0
  70. package/dist/rust-BIauJ5KN.js +349 -0
  71. package/dist/sb-CmWMvDEV.js +121 -0
  72. package/dist/scala-C81brEbk.js +376 -0
  73. package/dist/scheme-D0pcFz2x.js +114 -0
  74. package/dist/scss-BOdN2fGG.js +268 -0
  75. package/dist/shell-6E09eAkU.js +227 -0
  76. package/dist/solidity-CWStzA1K.js +1373 -0
  77. package/dist/sophia-76Sb6CWe.js +205 -0
  78. package/dist/sparql-BmZTkOWT.js +207 -0
  79. package/dist/sql-Cs9TBAW5.js +859 -0
  80. package/dist/st-B-rqE1Bu.js +422 -0
  81. package/dist/style.css +1 -0
  82. package/dist/sun-form-v3.es.js +2 -168
  83. package/dist/sun-form-v3.umd.js +1881 -1
  84. package/dist/swift-Btsj6YxQ.js +318 -0
  85. package/dist/systemverilog-B3RHBRa2.js +582 -0
  86. package/dist/tcl-Dpj776pn.js +238 -0
  87. package/dist/tsMode-Dbl96ki0.js +886 -0
  88. package/dist/twig-Bb9JmBsE.js +398 -0
  89. package/dist/typescript-CtVOBIu6.js +349 -0
  90. package/dist/typespec-CDWeg3SU.js +123 -0
  91. package/dist/vb-DEXnYwEI.js +378 -0
  92. package/dist/wgsl-D602c1lx.js +445 -0
  93. package/dist/xml-BRkm61cw.js +101 -0
  94. package/dist/yaml-8VMD2KxU.js +212 -0
  95. package/package.json +1 -1
@@ -1,170 +1,4 @@
1
- import { openBlock as l, createElementBlock as m, Fragment as B, createTextVNode as w, createElementVNode as c, ref as I, resolveComponent as d, isRef as V, unref as t, toDisplayString as v, createBlock as f, withCtx as r, createVNode as u, renderSlot as j, createCommentVNode as O, getCurrentInstance as $, computed as A, onMounted as N, createSlots as S } from "vue";
2
- const z = /* @__PURE__ */ Object.assign({ name: "testBtn" }, {
3
- __name: "testBtn",
4
- setup(s) {
5
- return (o, e) => " testBtn ";
6
- }
7
- }), D = /* @__PURE__ */ c("input", { type: "text" }, null, -1), F = /* @__PURE__ */ Object.assign({ name: "testInput" }, {
8
- __name: "testInput",
9
- setup(s) {
10
- return (o, e) => (l(), m(B, null, [
11
- w(" testInput "),
12
- D
13
- ], 64));
14
- }
15
- }), U = { class: "border-gray-200 border-t border-b" }, E = { class: "select-none" }, M = {
16
- key: 0,
17
- class: "px-3 py-2 bg-white"
18
- }, R = /* @__PURE__ */ Object.assign({ name: "commonCard" }, {
19
- __name: "index",
20
- props: {
21
- title: {
22
- type: String,
23
- default: "标题"
24
- }
25
- },
26
- setup(s) {
27
- let o = s, e = I(!0);
28
- return (n, a) => {
29
- const g = d("ArrowUp"), i = d("el-icon"), _ = d("ArrowDown");
30
- return l(), m("div", U, [
31
- c("div", {
32
- class: "flex items-center justify-between p-2 bg-gray-100 cursor-pointer text-sm",
33
- onClick: a[0] || (a[0] = (y) => V(e) ? e.value = !t(e) : e = !t(e))
34
- }, [
35
- c("span", E, v(t(o).title), 1),
36
- c("span", null, [
37
- t(e) ? (l(), f(i, { key: 0 }, {
38
- default: r(() => [
39
- u(g)
40
- ]),
41
- _: 1
42
- })) : (l(), f(i, { key: 1 }, {
43
- default: r(() => [
44
- u(_)
45
- ]),
46
- _: 1
47
- }))
48
- ])
49
- ]),
50
- t(e) ? (l(), m("div", M, [
51
- j(n.$slots, "default")
52
- ])) : O("", !0)
53
- ]);
54
- };
55
- }
56
- }), h = /* @__PURE__ */ Object.assign({ name: "widget-input" }, {
57
- __name: "index",
58
- props: {
59
- designer: {
60
- type: Object,
61
- default: () => ({})
62
- },
63
- widget: {
64
- type: Object,
65
- default: () => ({})
66
- }
67
- },
68
- setup(s, { expose: o }) {
69
- let e = s;
70
- e.designer.setVueIncetance(e.widget.id, $());
71
- let n = A(() => e.widget.props);
72
- const a = (p) => {
73
- e.designer.eventHandle({
74
- eventType: "onChange",
75
- value: p,
76
- widget: e.widget
77
- });
78
- }, g = (p) => {
79
- e.designer.eventHandle({
80
- eventType: "onInput",
81
- value: p,
82
- widget: e.widget
83
- });
84
- }, i = () => {
85
- e.designer.eventHandle({
86
- eventType: "onFocus",
87
- value: e.widget.props.value,
88
- widget: e.widget
89
- });
90
- }, _ = (p) => {
91
- e.designer.eventHandle({
92
- eventType: "onBlur",
93
- value: e.widget.props.value,
94
- widget: e.widget
95
- });
96
- }, y = () => {
97
- e.designer.eventHandle({
98
- eventType: "onHandle",
99
- value: e.widget.props.value,
100
- widget: e.widget
101
- });
102
- };
103
- return e.designer.eventHandle({
104
- eventType: "onCreated",
105
- widget: e.widget
106
- }), N(() => {
107
- e.designer.eventHandle({
108
- eventType: "onMounted",
109
- widget: e.widget
110
- });
111
- }), o({
112
- changeHandle: a
113
- }), (p, x) => {
114
- const H = d("el-button"), T = d("el-input"), C = d("common-widget-label-container");
115
- return l(), f(C, { props: t(n) }, {
116
- default: r(() => [
117
- u(T, {
118
- onChange: a,
119
- onInput: g,
120
- onFocus: i,
121
- modelValue: t(n).value,
122
- "onUpdate:modelValue": x[0] || (x[0] = (k) => t(n).value = k),
123
- type: t(n).type,
124
- size: t(n).size,
125
- onBlur: _,
126
- placeholder: t(n).placeholder,
127
- maxlength: t(n).maxlength
128
- }, S({ _: 2 }, [
129
- t(n).prependText ? {
130
- name: "prepend",
131
- fn: r(() => [
132
- w(v(t(n).prependText), 1)
133
- ]),
134
- key: "0"
135
- } : void 0,
136
- t(n).appendText ? {
137
- name: "append",
138
- fn: r(() => [
139
- u(H, { onClick: y }, {
140
- default: r(() => [
141
- w(v(t(n).appendText), 1)
142
- ]),
143
- _: 1
144
- })
145
- ]),
146
- key: "1"
147
- } : void 0
148
- ]), 1032, ["modelValue", "type", "size", "placeholder", "maxlength"])
149
- ]),
150
- _: 1
151
- }, 8, ["props"]);
152
- };
153
- }
154
- });
155
- console.log(h);
156
- let b = {
157
- testBtn: z,
158
- testInput: F,
159
- commonCard: R,
160
- widgetInput: h
161
- };
162
- const q = (s) => {
163
- for (let o in b)
164
- s.component(o, b[o]);
165
- }, J = {
166
- install: q
167
- };
1
+ import { i as f } from "./index2-CjCXYnQw.js";
168
2
  export {
169
- J as default
3
+ f as default
170
4
  };