form-imagining 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/App-603e5455.js +25 -0
  2. package/dist/Code-ef12c34b.js +5 -0
  3. package/dist/Col-74cca139.js +5 -0
  4. package/dist/{Demo-2f408623.js → Demo-602f04d8.js} +16 -16
  5. package/dist/Demo-be0d3a37.js +10 -0
  6. package/dist/{Demo-015b9b67.js → Demo-fdd82548.js} +1 -1
  7. package/dist/{Form-0f5f50ca.js → Form-1e372621.js} +1 -1
  8. package/dist/FormPublic-089eac3d.js +5 -0
  9. package/dist/GenerateForm-30d677aa.js +5 -0
  10. package/dist/Grid-68fdd72c.js +5 -0
  11. package/dist/{HelloWorld-517394a2.js → HelloWorld-2cd60613.js} +1 -1
  12. package/dist/Input-/345/210/240/351/231/{244-4e69b06c.js → 244-e2e34a89.js} +1 -1
  13. package/dist/Label-/345/210/240/351/231/{244-f578d3e5.js → 244-0cb771ab.js} +1 -1
  14. package/dist/{Login-a543825f.js → Login-5c75038a.js} +1 -1
  15. package/dist/{Preview0925-eb180084.js → Preview0925-588dfc2c.js} +1 -1
  16. package/dist/{PreviewDemo-43295c2b.js → PreviewDemo-1d0b0f64.js} +2 -2
  17. package/dist/{PreviewDemo.vue_vue_type_script_setup_true_lang-4331a2aa.js → PreviewDemo.vue_vue_type_script_setup_true_lang-f4e79a3a.js} +1 -1
  18. package/dist/{PreviewDemo2-af5b2b15.js → PreviewDemo2-737fda06.js} +2 -2
  19. package/dist/{PreviewDemo2.vue_vue_type_script_setup_true_lang-c4c0faba.js → PreviewDemo2.vue_vue_type_script_setup_true_lang-24e1e1ab.js} +1 -1
  20. package/dist/{PreviewDemo3-74865af3.js → PreviewDemo3-66f4aa07.js} +3 -3
  21. package/dist/{ReportModule-3bfd10cf.js → ReportModule-c94639d3.js} +2 -2
  22. package/dist/{ReportModule.vue_vue_type_script_setup_true_lang-33baf803.js → ReportModule.vue_vue_type_script_setup_true_lang-c11b0684.js} +1 -1
  23. package/dist/SqlModule-5f0db752.js +5 -0
  24. package/dist/Table-e36c1320.js +5 -0
  25. package/dist/{cTable-431ee1b4.js → cTable-a295aa0e.js} +1 -1
  26. package/dist/childForm-d19dd561.js +5 -0
  27. package/dist/{cssMode-fe11d538.js → cssMode-8a4c63ba.js} +16 -16
  28. package/dist/form-imagining.js +1 -1
  29. package/dist/form-imagining.umd.cjs +109 -94
  30. package/dist/{freemarker2-a9827bc5.js → freemarker2-e9ba76f1.js} +3 -3
  31. package/dist/{handlebars-fd8c9253.js → handlebars-d018e927.js} +1 -1
  32. package/dist/{html-5b477149.js → html-e310a901.js} +1 -1
  33. package/dist/{htmlMode-0b28e3b6.js → htmlMode-786de656.js} +12 -12
  34. package/dist/{index-fcd8f846.js → index-2679db46.js} +33 -33
  35. package/dist/{index-ad0b4ca1.js → index-6ef372a0.js} +27 -32
  36. package/dist/{index-d5af5250.js → index-c9c30439.js} +35200 -33492
  37. package/dist/{index-1fec8e75.js → index-e4aae2dd.js} +1 -1
  38. package/dist/{javascript-35762a78.js → javascript-f12bd58c.js} +2 -2
  39. package/dist/{jsonMode-a11989e3.js → jsonMode-75952d51.js} +30 -30
  40. package/dist/{liquid-f8e1c827.js → liquid-fb05d087.js} +1 -1
  41. package/dist/{mdx-4548f19b.js → mdx-be59e6cc.js} +1 -1
  42. package/dist/{modalDemo-a8eef4e4.js → modalDemo-2753e710.js} +1 -1
  43. package/dist/{python-c05ae2c4.js → python-ad30fefa.js} +1 -1
  44. package/dist/{razor-d7fe2d0e.js → razor-d91e2766.js} +1 -1
  45. package/dist/style.css +1 -1
  46. package/dist/{tableSelectDemo-58dfc524.js → tableSelectDemo-b96742b6.js} +1 -1
  47. package/dist/{tableSelectDemo2-02f609dc.js → tableSelectDemo2-1351b70e.js} +1 -1
  48. package/dist/{tsMode-0eddd23b.js → tsMode-2a9d1903.js} +4 -4
  49. package/dist/{typescript-dda9428f.js → typescript-0c990a02.js} +1 -1
  50. package/dist/{xml-dc95c919.js → xml-2c3838bd.js} +1 -1
  51. package/dist/{yaml-aa39d268.js → yaml-b0a7f3a3.js} +1 -1
  52. package/package.json +1 -1
  53. package/dist/App-52419af9.js +0 -22
  54. package/dist/Code-2bb39b3d.js +0 -5
  55. package/dist/Col-2cdf69c5.js +0 -5
  56. package/dist/Demo-6d1f7624.js +0 -10
  57. package/dist/FormPublic-044b0ba0.js +0 -5
  58. package/dist/GenerateForm-e3fa78fc.js +0 -5
  59. package/dist/Grid-625fc82d.js +0 -5
  60. package/dist/SqlModule-265d1b00.js +0 -5
  61. package/dist/Table-05d6b54d.js +0 -5
  62. package/dist/childForm-5998f80c.js +0 -5
@@ -0,0 +1,25 @@
1
+ import { defineComponent as e, resolveComponent as r, openBlock as t, createBlock as n, unref as p, withCtx as a, createVNode as c } from "vue";
2
+ import m from "./index-2679db46.js";
3
+ import { z as i } from "./index-c9c30439.js";
4
+ import "./index-6ef372a0.js";
5
+ import "./ReportModule.vue_vue_type_script_setup_true_lang-c11b0684.js";
6
+ const g = /* @__PURE__ */ e({
7
+ __name: "App",
8
+ setup(f) {
9
+ return (_, l) => {
10
+ const o = r("a-config-provider");
11
+ return t(), n(o, {
12
+ locale: p(i),
13
+ theme: { token: { fontSize: 13, borderRadius: 6, colorPrimary: "#1890ff" } }
14
+ }, {
15
+ default: a(() => [
16
+ c(m)
17
+ ]),
18
+ _: 1
19
+ }, 8, ["locale"]);
20
+ };
21
+ }
22
+ });
23
+ export {
24
+ g as default
25
+ };
@@ -0,0 +1,5 @@
1
+ import { p as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import { h as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -1,10 +1,10 @@
1
- import { defineComponent as b, ref as _, reactive as c, onMounted as p, resolveComponent as i, openBlock as v, createElementBlock as g, createVNode as o, withCtx as s, createTextVNode as w } from "vue";
2
- import { m as j, n as m } from "./index-d5af5250.js";
3
- const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
1
+ import { defineComponent as m, ref as _, reactive as c, onMounted as p, resolveComponent as i, openBlock as v, createElementBlock as g, createVNode as o, withCtx as s, createTextVNode as w } from "vue";
2
+ import { C as j, w as b } from "./index-c9c30439.js";
3
+ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ m({
4
4
  __name: "Demo",
5
5
  setup(z) {
6
6
  j(), _([]), _([]);
7
- const n = c({
7
+ const a = c({
8
8
  bdc_djzb: {
9
9
  业务号: "",
10
10
  age: 20
@@ -17,8 +17,8 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
17
17
  p(() => {
18
18
  console.info("我是预览页面");
19
19
  });
20
- function f(a) {
21
- const e = a.target.value, l = a.target.__vnode.props.rules;
20
+ function f(n) {
21
+ const e = n.target.value, l = n.target.__vnode.props.rules;
22
22
  if (l != null) {
23
23
  const r = l.length;
24
24
  if (r > 0)
@@ -26,17 +26,17 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
26
26
  const d = l[u];
27
27
  if (d.required) {
28
28
  if (e == "") {
29
- m.error(d.message), a.target.focus();
29
+ b.error(d.message), n.target.focus();
30
30
  return;
31
31
  }
32
32
  } else if (!/^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(e)) {
33
- m.error(d.message), a.target.focus();
33
+ b.error(d.message), n.target.focus();
34
34
  return;
35
35
  }
36
36
  }
37
37
  }
38
38
  }
39
- return (a, e) => {
39
+ return (n, e) => {
40
40
  const l = i("a-input"), r = i("a-form-item"), u = i("a-button"), d = i("a-form");
41
41
  return v(), g("div", y, [
42
42
  o(d, {
@@ -51,8 +51,8 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
51
51
  default: s(() => [
52
52
  o(l, {
53
53
  status: "error",
54
- value: n.bdc_djzb.业务号,
55
- "onUpdate:value": e[0] || (e[0] = (t) => n.bdc_djzb.业务号 = t),
54
+ value: a.bdc_djzb.业务号,
55
+ "onUpdate:value": e[0] || (e[0] = (t) => a.bdc_djzb.业务号 = t),
56
56
  "write-field": "bdc_djzb.受理编号;bdc_ywfw.slbh",
57
57
  rules: [{ required: !0, message: "必填项" }, { type: "number", message: "请输入数字" }],
58
58
  onBlur: e[1] || (e[1] = (t) => f(t))
@@ -67,8 +67,8 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
67
67
  }, {
68
68
  default: s(() => [
69
69
  o(l, {
70
- value: n.bdc_djzb.业务号,
71
- "onUpdate:value": e[2] || (e[2] = (t) => n.bdc_djzb.业务号 = t),
70
+ value: a.bdc_djzb.业务号,
71
+ "onUpdate:value": e[2] || (e[2] = (t) => a.bdc_djzb.业务号 = t),
72
72
  "write-field": "bdc_djzb.业务号;bdc_ywfw.ywh",
73
73
  onBlur: e[3] || (e[3] = (t) => f(t))
74
74
  }, null, 8, ["value"])
@@ -78,8 +78,8 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
78
78
  o(r, { label: "业务号1" }, {
79
79
  default: s(() => [
80
80
  o(l, {
81
- value: n.bdc_djzb.业务号,
82
- "onUpdate:value": e[4] || (e[4] = (t) => n.bdc_djzb.业务号 = t)
81
+ value: a.bdc_djzb.业务号,
82
+ "onUpdate:value": e[4] || (e[4] = (t) => a.bdc_djzb.业务号 = t)
83
83
  }, null, 8, ["value"])
84
84
  ]),
85
85
  _: 1
@@ -88,7 +88,7 @@ const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
88
88
  default: s(() => [
89
89
  o(u, {
90
90
  type: "Default",
91
- onClick: a.onSubmit
91
+ onClick: n.onSubmit
92
92
  }, {
93
93
  default: s(() => [
94
94
  w("保存")
@@ -0,0 +1,10 @@
1
+ import { defineComponent as e } from "vue";
2
+ const _ = /* @__PURE__ */ e({
3
+ __name: "Demo",
4
+ setup(n) {
5
+ return (t, o) => null;
6
+ }
7
+ });
8
+ export {
9
+ _ as default
10
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, ref as t, onMounted as p, resolveComponent as m, openBlock as _, createElementBlock as c, createVNode as i, mergeProps as v, unref as o, withCtx as w } from "vue";
2
- import { g as b, v as g, b as x, o as k } from "./index-d5af5250.js";
2
+ import { g as b, v as g, b as x, o as k } from "./index-c9c30439.js";
3
3
  const y = /* @__PURE__ */ d({
4
4
  __name: "Demo",
5
5
  setup(B, { expose: f }) {
@@ -1,4 +1,4 @@
1
- import { i } from "./index-d5af5250.js";
1
+ import { i } from "./index-c9c30439.js";
2
2
  import "vue";
3
3
  export {
4
4
  i as default
@@ -0,0 +1,5 @@
1
+ import { d as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import { e as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import { j as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -1,4 +1,4 @@
1
- import { _ as r } from "./index-d5af5250.js";
1
+ import { _ as r } from "./index-c9c30439.js";
2
2
  import "vue";
3
3
  const e = {};
4
4
  function o(t, c) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
2
- import { u as c } from "./index-d5af5250.js";
2
+ import { u as c } from "./index-c9c30439.js";
3
3
  const x = /* @__PURE__ */ i({
4
4
  __name: "Input-删除",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, resolveComponent as o, openBlock as n, createBlock as l, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createTextVNode as x, toDisplayString as D, createCommentVNode as w } from "vue";
2
- import { u as U } from "./index-d5af5250.js";
2
+ import { u as U } from "./index-c9c30439.js";
3
3
  const L = /* @__PURE__ */ _({
4
4
  __name: "Label-删除",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as r } from "./index-d5af5250.js";
1
+ import { _ as r } from "./index-c9c30439.js";
2
2
  import "vue";
3
3
  const t = {};
4
4
  function c(e, n) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, unref } from "vue";
2
- import { u as useFormStore, m as useDataStore, p as generateHtml, g as getData, q as defHttp, _ as _export_sfc } from "./index-d5af5250.js";
2
+ import { u as useFormStore, C as useDataStore, G as generateHtml, g as getData, l as defHttp, _ as _export_sfc } from "./index-c9c30439.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "Preview0925",
5
5
  setup(__props) {
@@ -1,6 +1,6 @@
1
- import { _ as o } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-4331a2aa.js";
1
+ import { _ as o } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-f4e79a3a.js";
2
2
  import "vue";
3
- import "./index-d5af5250.js";
3
+ import "./index-c9c30439.js";
4
4
  export {
5
5
  o as default
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, reactive as C, ref as N, onMounted as R, resolveComponent as r, openBlock as O, createElementBlock as P, createVNode as l, withCtx as a, mergeProps as i, unref as o, createTextVNode as u, createElementVNode as c } from "vue";
2
- import { o as V, v as s, b as m, c as E } from "./index-d5af5250.js";
2
+ import { o as V, v as s, b as m, c as E } from "./index-c9c30439.js";
3
3
  const F = {
4
4
  rules: [{ type: "required", msg: "必须填写此项" }],
5
5
  class: "ant-picker-range-custom",
@@ -1,6 +1,6 @@
1
- import { _ as o } from "./PreviewDemo2.vue_vue_type_script_setup_true_lang-c4c0faba.js";
1
+ import { _ as o } from "./PreviewDemo2.vue_vue_type_script_setup_true_lang-24e1e1ab.js";
2
2
  import "vue";
3
- import "./index-d5af5250.js";
3
+ import "./index-c9c30439.js";
4
4
  export {
5
5
  o as default
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as r, reactive as y, onMounted as j, resolveComponent as n, openBlock as z, createElementBlock as g, createVNode as t, withCtx as a, mergeProps as s, unref as d } from "vue";
2
- import { o as x, v as f, b as p } from "./index-d5af5250.js";
2
+ import { o as x, v as f, b as p } from "./index-c9c30439.js";
3
3
  const C = /* @__PURE__ */ w({
4
4
  __name: "PreviewDemo2",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as m, reactive as w, onMounted as C, onBeforeUpdate as D, resolveComponent as l, openBlock as K, createElementBlock as R, createVNode as e, unref as c, isRef as g, withCtx as o, createElementVNode as p } from "vue";
2
- import { _ as x } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-4331a2aa.js";
3
- import { _ as B } from "./PreviewDemo2.vue_vue_type_script_setup_true_lang-c4c0faba.js";
4
- import { s as h } from "./index-d5af5250.js";
2
+ import { _ as x } from "./PreviewDemo.vue_vue_type_script_setup_true_lang-f4e79a3a.js";
3
+ import { _ as B } from "./PreviewDemo2.vue_vue_type_script_setup_true_lang-24e1e1ab.js";
4
+ import { H as h } from "./index-c9c30439.js";
5
5
  const E = { class: "cici-form-css" }, z = /* @__PURE__ */ k({
6
6
  __name: "PreviewDemo3",
7
7
  setup(M) {
@@ -1,6 +1,6 @@
1
- import { _ as o } from "./ReportModule.vue_vue_type_script_setup_true_lang-33baf803.js";
1
+ import { _ as o } from "./ReportModule.vue_vue_type_script_setup_true_lang-c11b0684.js";
2
2
  import "vue";
3
- import "./index-d5af5250.js";
3
+ import "./index-c9c30439.js";
4
4
  export {
5
5
  o as default
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, ref as _, resolveComponent as u, openBlock as c, createBlock as b, unref as o, withCtx as n, createVNode as e, createTextVNode as y } from "vue";
2
- import { w as v } from "./index-d5af5250.js";
2
+ import { y as v } from "./index-c9c30439.js";
3
3
  const h = /* @__PURE__ */ f({
4
4
  __name: "ReportModule",
5
5
  setup(x) {
@@ -0,0 +1,5 @@
1
+ import { B as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import { k as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -1,4 +1,4 @@
1
- import { f } from "./index-d5af5250.js";
1
+ import { f } from "./index-c9c30439.js";
2
2
  import "vue";
3
3
  export {
4
4
  f as default
@@ -0,0 +1,5 @@
1
+ import { a as m } from "./index-c9c30439.js";
2
+ import "vue";
3
+ export {
4
+ m as default
5
+ };
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { J as Ne } from "./index-d5af5250.js";
4
+ import { I as Ne } from "./index-c9c30439.js";
5
5
  import "vue";
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -555,22 +555,22 @@ var L;
555
555
  }
556
556
  e.is = n;
557
557
  })(L || (L = {}));
558
- var J;
558
+ var Q;
559
559
  (function(e) {
560
560
  function n(i) {
561
561
  var r = i;
562
562
  return s.objectLiteral(i) && L.is(r.kind) && s.string(r.value);
563
563
  }
564
564
  e.is = n;
565
- })(J || (J = {}));
565
+ })(Q || (Q = {}));
566
566
  var l;
567
567
  (function(e) {
568
568
  e.Text = 1, e.Method = 2, e.Function = 3, e.Constructor = 4, e.Field = 5, e.Variable = 6, e.Class = 7, e.Interface = 8, e.Module = 9, e.Property = 10, e.Unit = 11, e.Value = 12, e.Enum = 13, e.Keyword = 14, e.Snippet = 15, e.Color = 16, e.File = 17, e.Reference = 18, e.Folder = 19, e.EnumMember = 20, e.Constant = 21, e.Struct = 22, e.Event = 23, e.Operator = 24, e.TypeParameter = 25;
569
569
  })(l || (l = {}));
570
- var Q;
570
+ var G;
571
571
  (function(e) {
572
572
  e.PlainText = 1, e.Snippet = 2;
573
- })(Q || (Q = {}));
573
+ })(G || (G = {}));
574
574
  var ce;
575
575
  (function(e) {
576
576
  e.Deprecated = 1;
@@ -621,7 +621,7 @@ var he;
621
621
  (function(e) {
622
622
  function n(i) {
623
623
  var r = i;
624
- return !!r && s.objectLiteral(r) && (J.is(r.contents) || z.is(r.contents) || s.typedArray(r.contents, z.is)) && (i.range === void 0 || p.is(i.range));
624
+ return !!r && s.objectLiteral(r) && (Q.is(r.contents) || z.is(r.contents) || s.typedArray(r.contents, z.is)) && (i.range === void 0 || p.is(i.range));
625
625
  }
626
626
  e.is = n;
627
627
  })(he || (he = {}));
@@ -785,8 +785,8 @@ var Re;
785
785
  e.is = i;
786
786
  function r(a, o) {
787
787
  for (var u = a.getText(), g = t(o, function(y, N) {
788
- var G = y.range.start.line - N.range.start.line;
789
- return G === 0 ? y.range.start.character - N.range.start.character : G;
788
+ var J = y.range.start.line - N.range.start.line;
789
+ return J === 0 ? y.range.start.character - N.range.start.character : J;
790
790
  }), d = u.length, v = g.length - 1; v >= 0; v--) {
791
791
  var w = g[v], E = a.offsetAt(w.range.start), f = a.offsetAt(w.range.end);
792
792
  if (f <= d)
@@ -967,7 +967,7 @@ var $e = class {
967
967
  }
968
968
  _doValidate(e, n) {
969
969
  this._worker(e).then((i) => i.doValidation(e.toString())).then((i) => {
970
- const r = i.map((a) => Je(e, a));
970
+ const r = i.map((a) => Qe(e, a));
971
971
  let t = c.editor.getModel(e);
972
972
  t && t.getLanguageId() === n && c.editor.setModelMarkers(t, n, r);
973
973
  }).then(void 0, (i) => {
@@ -989,7 +989,7 @@ function qe(e) {
989
989
  return c.MarkerSeverity.Info;
990
990
  }
991
991
  }
992
- function Je(e, n) {
992
+ function Qe(e, n) {
993
993
  let i = typeof n.code == "number" ? String(n.code) : n.code;
994
994
  return {
995
995
  severity: qe(n.severity),
@@ -1002,7 +1002,7 @@ function Je(e, n) {
1002
1002
  source: n.source
1003
1003
  };
1004
1004
  }
1005
- var Qe = class {
1005
+ var Ge = class {
1006
1006
  constructor(e, n) {
1007
1007
  this._worker = e, this._triggerCharacters = n;
1008
1008
  }
@@ -1026,10 +1026,10 @@ var Qe = class {
1026
1026
  range: u,
1027
1027
  kind: Ye(d.kind)
1028
1028
  };
1029
- return d.textEdit && (Ge(d.textEdit) ? v.range = {
1029
+ return d.textEdit && (Je(d.textEdit) ? v.range = {
1030
1030
  insert: _(d.textEdit.insert),
1031
1031
  replace: _(d.textEdit.replace)
1032
- } : v.range = _(d.textEdit.range), v.insertText = d.textEdit.newText), d.additionalTextEdits && (v.additionalTextEdits = d.additionalTextEdits.map(j)), d.insertTextFormat === Q.Snippet && (v.insertTextRules = c.languages.CompletionItemInsertTextRule.InsertAsSnippet), v;
1032
+ } : v.range = _(d.textEdit.range), v.insertText = d.textEdit.newText), d.additionalTextEdits && (v.additionalTextEdits = d.additionalTextEdits.map(j)), d.insertTextFormat === G.Snippet && (v.insertTextRules = c.languages.CompletionItemInsertTextRule.InsertAsSnippet), v;
1033
1033
  });
1034
1034
  return {
1035
1035
  isIncomplete: a.isIncomplete,
@@ -1056,7 +1056,7 @@ function _(e) {
1056
1056
  if (e)
1057
1057
  return new c.Range(e.start.line + 1, e.start.character + 1, e.end.line + 1, e.end.character + 1);
1058
1058
  }
1059
- function Ge(e) {
1059
+ function Je(e) {
1060
1060
  return typeof e.insert < "u" && typeof e.replace < "u";
1061
1061
  }
1062
1062
  function Ye(e) {
@@ -1412,7 +1412,7 @@ function kt(e) {
1412
1412
  const t = (...o) => r.getLanguageServiceWorker(...o);
1413
1413
  function a() {
1414
1414
  const { languageId: o, modeConfiguration: u } = e;
1415
- Fe(i), u.completionItems && i.push(c.languages.registerCompletionItemProvider(o, new Qe(t, ["/", "-", ":"]))), u.hovers && i.push(c.languages.registerHoverProvider(o, new Ke(t))), u.documentHighlights && i.push(c.languages.registerDocumentHighlightProvider(o, new rt(t))), u.definitions && i.push(c.languages.registerDefinitionProvider(o, new it(t))), u.references && i.push(c.languages.registerReferenceProvider(o, new at(t))), u.documentSymbols && i.push(c.languages.registerDocumentSymbolProvider(o, new ut(t))), u.rename && i.push(c.languages.registerRenameProvider(o, new ot(t))), u.colors && i.push(c.languages.registerColorProvider(o, new gt(t))), u.foldingRanges && i.push(c.languages.registerFoldingRangeProvider(o, new lt(t))), u.diagnostics && i.push(new $e(o, t, e.onDidChange)), u.selectionRanges && i.push(c.languages.registerSelectionRangeProvider(o, new vt(t))), u.documentFormattingEdits && i.push(c.languages.registerDocumentFormattingEditProvider(o, new dt(t))), u.documentRangeFormattingEdits && i.push(c.languages.registerDocumentRangeFormattingEditProvider(o, new ft(t)));
1415
+ Fe(i), u.completionItems && i.push(c.languages.registerCompletionItemProvider(o, new Ge(t, ["/", "-", ":"]))), u.hovers && i.push(c.languages.registerHoverProvider(o, new Ke(t))), u.documentHighlights && i.push(c.languages.registerDocumentHighlightProvider(o, new rt(t))), u.definitions && i.push(c.languages.registerDefinitionProvider(o, new it(t))), u.references && i.push(c.languages.registerReferenceProvider(o, new at(t))), u.documentSymbols && i.push(c.languages.registerDocumentSymbolProvider(o, new ut(t))), u.rename && i.push(c.languages.registerRenameProvider(o, new ot(t))), u.colors && i.push(c.languages.registerColorProvider(o, new gt(t))), u.foldingRanges && i.push(c.languages.registerFoldingRangeProvider(o, new lt(t))), u.diagnostics && i.push(new $e(o, t, e.onDidChange)), u.selectionRanges && i.push(c.languages.registerSelectionRangeProvider(o, new vt(t))), u.documentFormattingEdits && i.push(c.languages.registerDocumentFormattingEditProvider(o, new dt(t))), u.documentRangeFormattingEdits && i.push(c.languages.registerDocumentRangeFormattingEditProvider(o, new ft(t)));
1416
1416
  }
1417
1417
  return a(), n.push(De(i)), De(n);
1418
1418
  }
@@ -1424,7 +1424,7 @@ function Fe(e) {
1424
1424
  e.pop().dispose();
1425
1425
  }
1426
1426
  export {
1427
- Qe as CompletionAdapter,
1427
+ Ge as CompletionAdapter,
1428
1428
  it as DefinitionAdapter,
1429
1429
  $e as DiagnosticsAdapter,
1430
1430
  gt as DocumentColorAdapter,
@@ -1,4 +1,4 @@
1
- import { L as a } from "./index-d5af5250.js";
1
+ import { K as a } from "./index-c9c30439.js";
2
2
  import "vue";
3
3
  export {
4
4
  a as default