@vunk/form 1.2.2 → 1.3.1

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 (85) hide show
  1. package/components/button/src/index.vue.d.ts +282 -6
  2. package/components/cascader/src/ctx.d.ts +1 -1
  3. package/components/cascader/src/index.vue.d.ts +13672 -8
  4. package/components/checkbox/src/ctx.d.ts +1 -1
  5. package/components/checkbox/src/index.vue.d.ts +906 -10
  6. package/components/color-picker/src/index.vue.d.ts +10950 -7
  7. package/components/date-picker/src/ctx.d.ts +1 -1
  8. package/components/date-picker/src/index.vue.d.ts +225 -11
  9. package/components/date-picker-range/src/ctx.d.ts +1 -1
  10. package/components/date-picker-range/src/index.vue.d.ts +24 -12
  11. package/components/download-plus/index.cjs +4 -4
  12. package/components/download-plus/index.mjs +4 -4
  13. package/components/download-plus/src/index.vue.d.ts +822 -8
  14. package/components/esri-input-geojson/src/append.vue.d.ts +2232 -5
  15. package/components/esri-input-geojson/src/ctx.d.ts +1 -1
  16. package/components/esri-input-geojson/src/default-view.vue.d.ts +3 -3
  17. package/components/esri-input-geojson/src/index.vue.d.ts +723 -23
  18. package/components/esri-input-geojson/src/viewer.vue.d.ts +141 -10
  19. package/components/form/src/ctx.d.ts +1 -1
  20. package/components/form/src/index.vue.d.ts +373 -39
  21. package/components/form-item/index.cjs +3 -4
  22. package/components/form-item/index.mjs +3 -4
  23. package/components/form-item/src/index.vue.d.ts +185 -5
  24. package/components/form-item-renderer/src/index.vue.d.ts +5 -5
  25. package/components/form-item-renderer-template/src/index.vue.d.ts +4 -4
  26. package/components/geoinput/src/index.vue.d.ts +40 -17
  27. package/components/geoinput-read/src/append.vue.d.ts +379 -2
  28. package/components/geoinput-read/src/core.vue.d.ts +176 -14
  29. package/components/geoinput-read/src/ctx.d.ts +1 -1
  30. package/components/geoinput-read/src/index.vue.d.ts +743 -15
  31. package/components/geoinput-update/src/append.vue.d.ts +2231 -5
  32. package/components/geoinput-update/src/ctx.d.ts +1 -1
  33. package/components/geoinput-update/src/index.vue.d.ts +814 -20
  34. package/components/input/index.cjs +2 -2
  35. package/components/input/index.mjs +2 -2
  36. package/components/input/src/index.vue.d.ts +479 -13
  37. package/components/input-link/src/index.vue.d.ts +25 -13
  38. package/components/input-number/src/ctx.d.ts +1 -1
  39. package/components/input-number/src/index.vue.d.ts +1579 -12
  40. package/components/monaco-editor/index.cjs +83 -0
  41. package/components/monaco-editor/index.css +3 -0
  42. package/components/monaco-editor/index.d.ts +4 -0
  43. package/components/monaco-editor/index.mjs +77 -0
  44. package/components/monaco-editor/src/ctx.d.ts +70 -0
  45. package/components/monaco-editor/src/index.vue.d.ts +209 -0
  46. package/components/monaco-editor/src/types.d.ts +7 -0
  47. package/components/radio/src/index.vue.d.ts +444 -10
  48. package/components/select/src/ctx.d.ts +3 -3
  49. package/components/select/src/index.vue.d.ts +12944 -31
  50. package/components/slider/index.cjs +3 -3
  51. package/components/slider/index.mjs +3 -3
  52. package/components/slider/src/index.vue.d.ts +25 -12
  53. package/components/switch/src/index.vue.d.ts +319 -8
  54. package/components/templates-default/index.cjs +41 -26
  55. package/components/templates-default/index.mjs +41 -26
  56. package/components/templates-default/src/index.vue.d.ts +162 -7
  57. package/components/templates-element-plus/src/index.vue.d.ts +193 -6
  58. package/components/templates-esri/src/index.vue.d.ts +30 -7
  59. package/components/templates-layout/src/index.vue.d.ts +148 -6
  60. package/components/templates-mapbox/src/index.vue.d.ts +30 -7
  61. package/components/templates-variant/src/index.vue.d.ts +30 -7
  62. package/components/upload/index.cjs +2 -2
  63. package/components/upload/index.mjs +2 -2
  64. package/components/upload/src/ctx.d.ts +1 -1
  65. package/components/upload/src/file.vue.d.ts +263 -6
  66. package/components/upload/src/index.vue.d.ts +2366 -9
  67. package/components/upload-plus/index.cjs +19 -20
  68. package/components/upload-plus/index.mjs +19 -20
  69. package/components/upload-plus/src/index.vue.d.ts +874 -12
  70. package/components/van-cascader/src/index.vue.d.ts +13048 -11
  71. package/components/var-datetime-picker/src/index.vue.d.ts +624 -10
  72. package/components/vditor/index.cjs +43 -408
  73. package/components/vditor/index.mjs +44 -409
  74. package/components/vditor/src/ctx.d.ts +52 -6
  75. package/components/vditor/src/index.vue.d.ts +274 -16
  76. package/components/vditor/src/types.d.ts +7 -9
  77. package/composables/useSourceManager.d.ts +1 -1
  78. package/index.css +4 -13
  79. package/package.json +9 -4
  80. package/shared/element-plus/ctx.d.ts +3 -3
  81. package/shared/element-plus/instances.d.ts +2 -2
  82. package/components/vditor/index.css +0 -12
  83. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  84. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  85. package/components/vditor/src/use.d.ts +0 -4
@@ -18484,18 +18484,11 @@ const _hoisted_3 = {
18484
18484
  key: 0,
18485
18485
  class: "vkf-upload-plus-msg-x"
18486
18486
  };
18487
- const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode(
18488
- "span",
18489
- { class: "vkf-upload-plus-msg" },
18490
- " \u4E0A\u4F20\u6210\u529F ",
18491
- -1
18492
- /* HOISTED */
18493
- );
18494
- const _hoisted_5 = {
18487
+ const _hoisted_4 = {
18495
18488
  key: 1,
18496
18489
  class: "vkf-upload-plus-cube-x"
18497
18490
  };
18498
- const _hoisted_6 = ["id", "accept"];
18491
+ const _hoisted_5 = ["id", "accept"];
18499
18492
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18500
18493
  const _component_ElInput = vue.resolveComponent("ElInput");
18501
18494
  const _component_SuccessFilled = vue.resolveComponent("SuccessFilled");
@@ -18532,9 +18525,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18532
18525
  _: 1
18533
18526
  /* STABLE */
18534
18527
  }),
18535
- _hoisted_4
18528
+ _cache[1] || (_cache[1] = vue.createElementVNode(
18529
+ "span",
18530
+ { class: "vkf-upload-plus-msg" },
18531
+ " \u4E0A\u4F20\u6210\u529F ",
18532
+ -1
18533
+ /* HOISTED */
18534
+ ))
18536
18535
  ])) : vue.createCommentVNode("v-if", true),
18537
- _ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
18536
+ _ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
18538
18537
  (vue.openBlock(true), vue.createElementBlock(
18539
18538
  vue.Fragment,
18540
18539
  null,
@@ -18582,16 +18581,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18582
18581
  class: "vkf-upload-plus-input",
18583
18582
  accept: _ctx.accept,
18584
18583
  onChange: _cache[0] || (_cache[0] = (...args) => _ctx.handleFileChange && _ctx.handleFileChange(...args))
18585
- }, null, 40, _hoisted_6),
18584
+ }, null, 40, _hoisted_5),
18586
18585
  vue.createVNode(_component_el_button_group, { class: "vkf-upload-plus-btng" }, {
18587
18586
  default: vue.withCtx(() => [
18588
18587
  _ctx.merging ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_ElButton, {
18589
18588
  key: 0,
18590
18589
  type: "success"
18591
18590
  }, {
18592
- default: vue.withCtx(() => [
18591
+ default: vue.withCtx(() => _cache[2] || (_cache[2] = [
18593
18592
  vue.createTextVNode(" \u5408\u5E76 ")
18594
- ]),
18593
+ ])),
18595
18594
  _: 1
18596
18595
  /* STABLE */
18597
18596
  })), [
@@ -18601,9 +18600,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18601
18600
  type: "danger",
18602
18601
  onClick: _ctx.handlePause
18603
18602
  }, {
18604
- default: vue.withCtx(() => [
18603
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
18605
18604
  vue.createTextVNode(" \u6682\u505C ")
18606
- ]),
18605
+ ])),
18607
18606
  _: 1
18608
18607
  /* STABLE */
18609
18608
  }, 8, ["onClick"])) : _ctx.fileStatus === _ctx.Status.done ? (vue.openBlock(), vue.createBlock(_component_ElButton, {
@@ -18611,9 +18610,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18611
18610
  type: "success",
18612
18611
  disabled: ""
18613
18612
  }, {
18614
- default: vue.withCtx(() => [
18613
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
18615
18614
  vue.createTextVNode(" \u5DF2\u4F20 ")
18616
- ]),
18615
+ ])),
18617
18616
  _: 1
18618
18617
  /* STABLE */
18619
18618
  })) : (vue.openBlock(), vue.createBlock(_component_el_button, {
@@ -18622,9 +18621,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18622
18621
  disabled: !_ctx.containerFile,
18623
18622
  onClick: _ctx.handleUpload
18624
18623
  }, {
18625
- default: vue.withCtx(() => [
18624
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
18626
18625
  vue.createTextVNode(" \u4E0A\u4F20 ")
18627
- ]),
18626
+ ])),
18628
18627
  _: 1
18629
18628
  /* STABLE */
18630
18629
  }, 8, ["disabled", "onClick"]))
@@ -18480,18 +18480,11 @@ const _hoisted_3 = {
18480
18480
  key: 0,
18481
18481
  class: "vkf-upload-plus-msg-x"
18482
18482
  };
18483
- const _hoisted_4 = /* @__PURE__ */ createElementVNode(
18484
- "span",
18485
- { class: "vkf-upload-plus-msg" },
18486
- " \u4E0A\u4F20\u6210\u529F ",
18487
- -1
18488
- /* HOISTED */
18489
- );
18490
- const _hoisted_5 = {
18483
+ const _hoisted_4 = {
18491
18484
  key: 1,
18492
18485
  class: "vkf-upload-plus-cube-x"
18493
18486
  };
18494
- const _hoisted_6 = ["id", "accept"];
18487
+ const _hoisted_5 = ["id", "accept"];
18495
18488
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18496
18489
  const _component_ElInput = resolveComponent("ElInput");
18497
18490
  const _component_SuccessFilled = resolveComponent("SuccessFilled");
@@ -18528,9 +18521,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18528
18521
  _: 1
18529
18522
  /* STABLE */
18530
18523
  }),
18531
- _hoisted_4
18524
+ _cache[1] || (_cache[1] = createElementVNode(
18525
+ "span",
18526
+ { class: "vkf-upload-plus-msg" },
18527
+ " \u4E0A\u4F20\u6210\u529F ",
18528
+ -1
18529
+ /* HOISTED */
18530
+ ))
18532
18531
  ])) : createCommentVNode("v-if", true),
18533
- _ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (openBlock(), createElementBlock("div", _hoisted_5, [
18532
+ _ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (openBlock(), createElementBlock("div", _hoisted_4, [
18534
18533
  (openBlock(true), createElementBlock(
18535
18534
  Fragment,
18536
18535
  null,
@@ -18578,16 +18577,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18578
18577
  class: "vkf-upload-plus-input",
18579
18578
  accept: _ctx.accept,
18580
18579
  onChange: _cache[0] || (_cache[0] = (...args) => _ctx.handleFileChange && _ctx.handleFileChange(...args))
18581
- }, null, 40, _hoisted_6),
18580
+ }, null, 40, _hoisted_5),
18582
18581
  createVNode(_component_el_button_group, { class: "vkf-upload-plus-btng" }, {
18583
18582
  default: withCtx(() => [
18584
18583
  _ctx.merging ? withDirectives((openBlock(), createBlock(_component_ElButton, {
18585
18584
  key: 0,
18586
18585
  type: "success"
18587
18586
  }, {
18588
- default: withCtx(() => [
18587
+ default: withCtx(() => _cache[2] || (_cache[2] = [
18589
18588
  createTextVNode(" \u5408\u5E76 ")
18590
- ]),
18589
+ ])),
18591
18590
  _: 1
18592
18591
  /* STABLE */
18593
18592
  })), [
@@ -18597,9 +18596,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18597
18596
  type: "danger",
18598
18597
  onClick: _ctx.handlePause
18599
18598
  }, {
18600
- default: withCtx(() => [
18599
+ default: withCtx(() => _cache[3] || (_cache[3] = [
18601
18600
  createTextVNode(" \u6682\u505C ")
18602
- ]),
18601
+ ])),
18603
18602
  _: 1
18604
18603
  /* STABLE */
18605
18604
  }, 8, ["onClick"])) : _ctx.fileStatus === _ctx.Status.done ? (openBlock(), createBlock(_component_ElButton, {
@@ -18607,9 +18606,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18607
18606
  type: "success",
18608
18607
  disabled: ""
18609
18608
  }, {
18610
- default: withCtx(() => [
18609
+ default: withCtx(() => _cache[4] || (_cache[4] = [
18611
18610
  createTextVNode(" \u5DF2\u4F20 ")
18612
- ]),
18611
+ ])),
18613
18612
  _: 1
18614
18613
  /* STABLE */
18615
18614
  })) : (openBlock(), createBlock(_component_el_button, {
@@ -18618,9 +18617,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18618
18617
  disabled: !_ctx.containerFile,
18619
18618
  onClick: _ctx.handleUpload
18620
18619
  }, {
18621
- default: withCtx(() => [
18620
+ default: withCtx(() => _cache[5] || (_cache[5] = [
18622
18621
  createTextVNode(" \u4E0A\u4F20 ")
18623
- ]),
18622
+ ])),
18624
18623
  _: 1
18625
18624
  /* STABLE */
18626
18625
  }, 8, ["disabled", "onClick"]))