@kp-ui/lowcode 1.0.31 → 1.0.33

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 (127) hide show
  1. package/_virtual/virtual_svg-icons-register.js +2 -2
  2. package/package.json +27 -26
  3. package/render.js +13 -14
  4. package/src/components/CustomRender/components/AttachmentRender.vue.js +1 -1
  5. package/src/components/CustomRender/components/AttachmentRender.vue2.js +25 -12
  6. package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue.js +103 -233
  7. package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue2.js +236 -0
  8. package/src/components/form-designer/form-widget/container-widget/{grid-widget.vue2.js → grid-widget.vue.js} +1 -1
  9. package/src/components/form-designer/form-widget/container-widget/index.js +4 -4
  10. package/src/components/form-designer/form-widget/container-widget/{table-widget.vue2.js → table-widget.vue.js} +1 -1
  11. package/src/components/form-designer/form-widget/container-widget/vf-box-item.vue.js +4 -3
  12. package/src/components/form-designer/form-widget/container-widget/vf-box-widget.vue.js +4 -3
  13. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue.js +156 -124
  14. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue2.js +128 -0
  15. package/src/components/form-designer/form-widget/field-widget/diy-compontent-widget.vue.js +5 -3
  16. package/src/components/form-designer/form-widget/field-widget/fieldMixin.js +87 -122
  17. package/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue.js +1 -1
  18. package/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue2.js +25 -19
  19. package/src/components/form-designer/form-widget/index.vue.js +4 -4
  20. package/src/components/form-designer/toolbar-panel/index.vue.js +6 -7
  21. package/src/components/form-designer/widget-panel/advanced/attachment-render.js +1 -1
  22. package/src/components/form-designer/widget-panel/advanced/bpmn-editor.js +1 -1
  23. package/src/components/form-designer/widget-panel/advanced/cascader.js +1 -1
  24. package/src/components/form-designer/widget-panel/advanced/code-editor.js +1 -1
  25. package/src/components/form-designer/widget-panel/advanced/diy-compontent.js +2 -1
  26. package/src/components/form-designer/widget-panel/advanced/slot.js +1 -1
  27. package/src/components/form-designer/widget-panel/advanced/tree-select.js +1 -1
  28. package/src/components/form-designer/widget-panel/basicFields/button.js +1 -1
  29. package/src/components/form-designer/widget-panel/basicFields/checkbox.js +1 -1
  30. package/src/components/form-designer/widget-panel/basicFields/color.js +1 -1
  31. package/src/components/form-designer/widget-panel/basicFields/date.js +1 -1
  32. package/src/components/form-designer/widget-panel/basicFields/dateRange.js +1 -1
  33. package/src/components/form-designer/widget-panel/basicFields/divider.js +1 -1
  34. package/src/components/form-designer/widget-panel/basicFields/dropdown.js +1 -1
  35. package/src/components/form-designer/widget-panel/basicFields/htmlText.js +1 -1
  36. package/src/components/form-designer/widget-panel/basicFields/input.js +1 -1
  37. package/src/components/form-designer/widget-panel/basicFields/number.js +1 -1
  38. package/src/components/form-designer/widget-panel/basicFields/radio.js +1 -1
  39. package/src/components/form-designer/widget-panel/basicFields/rate.js +1 -1
  40. package/src/components/form-designer/widget-panel/basicFields/select.js +1 -1
  41. package/src/components/form-designer/widget-panel/basicFields/slider.js +1 -1
  42. package/src/components/form-designer/widget-panel/basicFields/staticText.js +1 -1
  43. package/src/components/form-designer/widget-panel/basicFields/switch.js +1 -1
  44. package/src/components/form-designer/widget-panel/basicFields/textarea.js +1 -1
  45. package/src/components/form-designer/widget-panel/basicFields/time.js +1 -1
  46. package/src/components/form-designer/widget-panel/basicFields/timeRange.js +1 -1
  47. package/src/components/form-designer/widget-panel/business/department-select.js +1 -1
  48. package/src/components/form-designer/widget-panel/business/material-select.js +1 -1
  49. package/src/components/form-designer/widget-panel/business/operation-select.js +1 -1
  50. package/src/components/form-designer/widget-panel/business/post-select.js +1 -1
  51. package/src/components/form-designer/widget-panel/business/project-group-select.js +1 -1
  52. package/src/components/form-designer/widget-panel/business/project-select.js +1 -1
  53. package/src/components/form-designer/widget-panel/business/user-select.js +1 -1
  54. package/src/components/form-designer/widget-panel/containers/data-table.js +1 -1
  55. package/src/components/form-designer/widget-panel/containers/grid-col.js +1 -1
  56. package/src/components/form-designer/widget-panel/containers/grid-sub-form.js +1 -1
  57. package/src/components/form-designer/widget-panel/containers/grid.js +1 -1
  58. package/src/components/form-designer/widget-panel/containers/tab-pane.js +1 -1
  59. package/src/components/form-designer/widget-panel/containers/tab.js +1 -1
  60. package/src/components/form-designer/widget-panel/containers/vf-box.js +1 -1
  61. package/src/components/form-designer/widget-panel/containers/vf-collapse.js +1 -1
  62. package/src/components/form-designer/widget-panel/containers/vf-dialog.js +1 -1
  63. package/src/components/form-render/container-item/vf-collapse-item.vue.js +4 -3
  64. package/src/components/form-render/dynamic-dialog.vue.js +236 -241
  65. package/src/components/form-render/dynamic-drawer.vue.js +206 -2
  66. package/src/components/http-editor/index.vue.js +1 -1
  67. package/src/components/http-editor/index.vue2.js +1 -1
  68. package/src/hooks/useFilePreview.js +1 -1
  69. package/src/utils/i18n.js +1 -14
  70. package/src/utils/request/fmtHttpParams.js +1 -1
  71. package/src/utils/request/http.js +1 -1
  72. package/src/utils/sfc-generator.js +1 -0
  73. package/src/utils/util.js +1 -21
  74. package/styles/style.css +1 -1
  75. package/types/src/components/CustomRender/components/AttachmentRender.d.ts.map +1 -1
  76. package/types/src/components/form-designer/widget-panel/advanced/attachment-render.d.ts.map +1 -1
  77. package/types/src/components/form-designer/widget-panel/advanced/bpmn-editor.d.ts.map +1 -1
  78. package/types/src/components/form-designer/widget-panel/advanced/cascader.d.ts.map +1 -1
  79. package/types/src/components/form-designer/widget-panel/advanced/code-editor.d.ts.map +1 -1
  80. package/types/src/components/form-designer/widget-panel/advanced/diy-compontent.d.ts.map +1 -1
  81. package/types/src/components/form-designer/widget-panel/advanced/file-upload.d.ts.map +1 -1
  82. package/types/src/components/form-designer/widget-panel/advanced/rich-editor.d.ts.map +1 -1
  83. package/types/src/components/form-designer/widget-panel/advanced/slot.d.ts.map +1 -1
  84. package/types/src/components/form-designer/widget-panel/advanced/tree-select.d.ts.map +1 -1
  85. package/types/src/components/form-designer/widget-panel/basicFields/button.d.ts.map +1 -1
  86. package/types/src/components/form-designer/widget-panel/basicFields/checkbox.d.ts.map +1 -1
  87. package/types/src/components/form-designer/widget-panel/basicFields/color.d.ts.map +1 -1
  88. package/types/src/components/form-designer/widget-panel/basicFields/date.d.ts.map +1 -1
  89. package/types/src/components/form-designer/widget-panel/basicFields/dateRange.d.ts.map +1 -1
  90. package/types/src/components/form-designer/widget-panel/basicFields/divider.d.ts.map +1 -1
  91. package/types/src/components/form-designer/widget-panel/basicFields/dropdown.d.ts.map +1 -1
  92. package/types/src/components/form-designer/widget-panel/basicFields/htmlText.d.ts.map +1 -1
  93. package/types/src/components/form-designer/widget-panel/basicFields/input.d.ts.map +1 -1
  94. package/types/src/components/form-designer/widget-panel/basicFields/number.d.ts.map +1 -1
  95. package/types/src/components/form-designer/widget-panel/basicFields/radio.d.ts.map +1 -1
  96. package/types/src/components/form-designer/widget-panel/basicFields/rate.d.ts.map +1 -1
  97. package/types/src/components/form-designer/widget-panel/basicFields/select.d.ts.map +1 -1
  98. package/types/src/components/form-designer/widget-panel/basicFields/slider.d.ts.map +1 -1
  99. package/types/src/components/form-designer/widget-panel/basicFields/staticText.d.ts.map +1 -1
  100. package/types/src/components/form-designer/widget-panel/basicFields/switch.d.ts.map +1 -1
  101. package/types/src/components/form-designer/widget-panel/basicFields/textarea.d.ts.map +1 -1
  102. package/types/src/components/form-designer/widget-panel/basicFields/time.d.ts.map +1 -1
  103. package/types/src/components/form-designer/widget-panel/basicFields/timeRange.d.ts.map +1 -1
  104. package/types/src/components/form-designer/widget-panel/business/department-select.d.ts.map +1 -1
  105. package/types/src/components/form-designer/widget-panel/business/material-select.d.ts.map +1 -1
  106. package/types/src/components/form-designer/widget-panel/business/operation-select.d.ts.map +1 -1
  107. package/types/src/components/form-designer/widget-panel/business/post-select.d.ts.map +1 -1
  108. package/types/src/components/form-designer/widget-panel/business/project-group-select.d.ts.map +1 -1
  109. package/types/src/components/form-designer/widget-panel/business/project-select.d.ts.map +1 -1
  110. package/types/src/components/form-designer/widget-panel/business/user-select.d.ts.map +1 -1
  111. package/types/src/components/form-designer/widget-panel/containers/data-table.d.ts.map +1 -1
  112. package/types/src/components/form-designer/widget-panel/containers/grid-col.d.ts.map +1 -1
  113. package/types/src/components/form-designer/widget-panel/containers/grid-sub-form.d.ts.map +1 -1
  114. package/types/src/components/form-designer/widget-panel/containers/grid.d.ts.map +1 -1
  115. package/types/src/components/form-designer/widget-panel/containers/tab.d.ts.map +1 -1
  116. package/types/src/components/form-designer/widget-panel/containers/vf-box.d.ts.map +1 -1
  117. package/types/src/components/form-designer/widget-panel/containers/vf-collapse.d.ts.map +1 -1
  118. package/types/src/components/form-designer/widget-panel/containers/vf-dialog.d.ts.map +1 -1
  119. package/types/src/components/form-render/index.d.ts +2 -2
  120. package/types/src/components/form-render/index.d.ts.map +1 -1
  121. package/src/components/form-designer/form-widget/container-widget/data-table-widget.vue3.js +0 -106
  122. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue4.js +0 -158
  123. package/src/components/form-render/dynamic-dialog.vue3.js +0 -5
  124. package/src/components/form-render/dynamic-drawer.vue2.js +0 -247
  125. package/src/utils/request/useGetUseInfo.js +0 -9
  126. package/types/src/utils/request/useGetUseInfo.d.ts +0 -23
  127. package/types/src/utils/request/useGetUseInfo.d.ts.map +0 -1
@@ -44,6 +44,7 @@ const _sfc_main = {
44
44
  },
45
45
  data() {
46
46
  return {
47
+ urlList: {},
47
48
  previewTitle: "",
48
49
  previewVisible: false,
49
50
  previewImage: "",
@@ -105,10 +106,10 @@ const _sfc_main = {
105
106
  }
106
107
  },
107
108
  iconRender({
108
- file
109
+ file: file2
109
110
  }) {
110
111
  try {
111
- const fieldTypes = file.fileName.slice(file.fileName.lastIndexOf("."));
112
+ const fieldTypes = file2.fileName.slice(file2.fileName.lastIndexOf("."));
112
113
  if ([".xls", ".xlsx"].includes(fieldTypes.toLowerCase())) {
113
114
  return createVNode(SvgIcon, {
114
115
  "icon-class": "excel"
@@ -134,12 +135,23 @@ const _sfc_main = {
134
135
  handleCancel() {
135
136
  this.previewVisible = false;
136
137
  },
137
- async handlePreview(file) {
138
+ async getFileUrl(fileCode) {
139
+ if (this.fileList[fileCode]) {
140
+ return this.fileList[fileCode];
141
+ } else {
142
+ const fileUrlObj = await filesystemApi.getPreviewFileUrl({
143
+ fileCode: file.fileCode
144
+ });
145
+ fileUrlObj.data.value;
146
+ }
147
+ },
148
+ async handlePreview(file2) {
138
149
  var _a, _b;
139
- if ([".png", ".jpg", ".jpeg", ".gif"].includes(file.fileType)) {
140
- this.previewImage = file.url;
150
+ if ([".png", ".jpg", ".jpeg", ".gif"].includes(file2.fileType)) {
151
+ const url = await this.getFileUrl(file2.fileCode);
152
+ this.previewImage = url;
141
153
  this.previewVisible = true;
142
- this.previewTitle = file.fileName;
154
+ this.previewTitle = file2.fileName;
143
155
  } else {
144
156
  const localUserInfo = getUserInfo();
145
157
  const employeeId = (_a = localUserInfo == null ? void 0 : localUserInfo.loginInfo) == null ? void 0 : _a.employeeId;
@@ -152,15 +164,15 @@ const _sfc_main = {
152
164
  tenantId,
153
165
  tokenId,
154
166
  employeeId,
155
- fileCode: file.fileCode
167
+ fileCode: file2.fileCode
156
168
  };
157
169
  window.open(`${doMain}/view-file/preview?${queryString.stringify(obj)}`);
158
170
  }
159
171
  },
160
- handleOnBeforeUpload(file) {
172
+ handleOnBeforeUpload(file2) {
161
173
  if (!!this.field.options.onBeforeUpload) {
162
174
  const bfFunc = new Function("file", this.field.options.onBeforeUpload);
163
- const result = bfFunc.call(this, file);
175
+ const result = bfFunc.call(this, file2);
164
176
  if (typeof result === "boolean") {
165
177
  return result;
166
178
  } else {
@@ -169,8 +181,8 @@ const _sfc_main = {
169
181
  }
170
182
  return true;
171
183
  },
172
- removeFile(file) {
173
- const findInx = this.fileList.findIndex((item) => item.uid === file.uid);
184
+ removeFile(file2) {
185
+ const findInx = this.fileList.findIndex((item) => item.uid === file2.uid);
174
186
  this.fileList.splice(findInx, 1);
175
187
  this.handleChangeEvent(this.fileList);
176
188
  },
@@ -207,10 +219,6 @@ const _sfc_main = {
207
219
  fileName: name,
208
220
  fileCode
209
221
  } = res.data.object;
210
- const fileUrlObj = await filesystemApi.getPreviewFileUrl({
211
- fileCode
212
- });
213
- const url = fileUrlObj.data.value;
214
222
  if (limit > 1) {
215
223
  const findIndex = this.fileList.findIndex((item) => item.name === name);
216
224
  if (findIndex > -1) {
@@ -219,15 +227,13 @@ const _sfc_main = {
219
227
  if (this.fileList.length < limit) {
220
228
  this.fileList.push({
221
229
  ...res.data.object,
222
- name,
223
- url
230
+ name
224
231
  });
225
232
  }
226
233
  } else {
227
234
  this.fileList = [{
228
235
  ...res.data.object,
229
- name,
230
- url
236
+ name
231
237
  }];
232
238
  }
233
239
  } finally {
@@ -3,18 +3,18 @@ import { resolveComponent, createBlock, openBlock, withCtx, createElementVNode,
3
3
  /* empty css */
4
4
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  /* empty css */
6
- /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  import "./container-widget/grid-col-widget.vue.js";
9
9
  import "./container-widget/grid-sub-form-widget.vue.js";
10
- /* empty css */
10
+ /* empty css */
11
11
  import "./container-widget/sub-form-widget.vue.js";
12
12
  import "./container-widget/tab-widget.vue.js";
13
13
  import "./container-widget/table-cell-widget.vue.js";
14
- /* empty css */
14
+ /* empty css */
15
15
  import "./container-widget/vf-box-item.vue.js";
16
16
  import "./container-widget/vf-box-widget.vue.js";
17
- import "./container-widget/vf-collapse-widget.vue.js";
17
+ import "./container-widget/vf-collapse-widget.vue2.js";
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  import "./container-widget/vf-dialog-widget.vue.js";
@@ -1,22 +1,21 @@
1
- import VFormRender from "../../../../render.js";
2
- import CodeEditor from "../../code-editor/index.vue.js";
3
- import { traverseAllWidgets, generateId, copyToClipboard, getQueryParam, addWindowResizeHandler, getLocat } from "../../../utils/util.js";
1
+ import { defineAsyncComponent, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, normalizeStyle, createTextVNode, toDisplayString, Fragment, renderList, renderSlot, normalizeClass } from "vue";
2
+ import { traverseAllWidgets, generateId, copyToClipboard, getQueryParam, addWindowResizeHandler } from "../../../utils/util.js";
4
3
  import i18n from "../../../utils/i18n.js";
5
4
  import { generateCode } from "../../../utils/code-generator.js";
6
5
  import { saveAs } from "file-saver";
7
6
  import axios from "axios";
8
7
  import SvgIcon from "../../svg-icon/index.vue.js";
9
8
  import { fmtHttpParams } from "../../../utils/request/fmtHttpParams.js";
9
+ import { getLocat } from "@kp-ui/tool";
10
10
  import { cloneDeep } from "lodash-es";
11
- import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, normalizeStyle, createTextVNode, toDisplayString, Fragment, renderList, renderSlot, normalizeClass } from "vue";
12
11
  /* empty css */
13
12
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
14
13
  const _sfc_main = {
15
14
  name: "ToolbarPanel",
16
15
  mixins: [i18n],
17
16
  components: {
18
- VFormRender,
19
- CodeEditor,
17
+ VFormRender: defineAsyncComponent(() => import("../../../../render.js")),
18
+ CodeEditor: defineAsyncComponent(() => import("../../code-editor/index.vue.js")),
20
19
  // Clipboard,
21
20
  SvgIcon
22
21
  },
@@ -1013,7 +1012,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1013
1012
  }, 8, ["title", "visible"])) : createCommentVNode("", true)
1014
1013
  ]);
1015
1014
  }
1016
- const ToolbarPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ba172836"]]);
1015
+ const ToolbarPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a50ea2c8"]]);
1017
1016
  export {
1018
1017
  ToolbarPanel as default
1019
1018
  };
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const toolbar = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const bpmnEditor = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const cascader = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const codeEditor = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const diyCompontent = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -8,6 +8,7 @@ const diyCompontent = (ops = {}) => {
8
8
  formItemFlag: true,
9
9
  options: {
10
10
  name: "",
11
+ label: "",
11
12
  diyCompontent: "",
12
13
  hidden: false,
13
14
  holdHidden: true,
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const slot = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const treeSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const button = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const checkbox = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const color = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const date = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const dateRange = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const divider = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const dropdown = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const htmlText = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const input = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const number = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const radio = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const rate = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const select = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const slider = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const staticText = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const switchCom = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const textarea = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const time = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const timeRange = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const departmentSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const materialSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const operationSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const postSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const projectGroupSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const projectSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const userSelect = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const dataTable = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const gridCol = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const gridSubForm = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const grid = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const tabPane = () => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const tab = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const vfBox = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const vfCollapse = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,4 +1,4 @@
1
- import { getUuidKey } from "../../../../utils/util.js";
1
+ import { getUuidKey } from "@kp-ui/tool";
2
2
  const vfDialog = (ops = {}) => {
3
3
  return {
4
4
  key: getUuidKey(),
@@ -1,12 +1,12 @@
1
1
  import ContainerItemWrapper from "./container-item-wrapper.vue.js";
2
2
  import emitter from "../../../utils/emitter.js";
3
+ import { defineAsyncComponent, resolveComponent, withDirectives, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, normalizeClass, Fragment, renderList, resolveDynamicComponent, createSlots, renderSlot, normalizeProps, guardReactiveProps, Transition, normalizeStyle, vShow } from "vue";
3
4
  import i18n from "../../../utils/i18n.js";
4
5
  import comps from "../../form-designer/form-widget/field-widget/index.js";
5
6
  import refMixin from "../refMixin.js";
6
7
  import containerItemMixin from "./containerItemMixin.js";
7
8
  import TpfCollapseTitle from "../../TpfCollapse/TpfCollapseTitle.vue.js";
8
9
  import SvgIcon from "../../svg-icon/index.vue.js";
9
- import { resolveComponent, withDirectives, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, normalizeClass, Fragment, renderList, resolveDynamicComponent, createSlots, renderSlot, normalizeProps, guardReactiveProps, Transition, normalizeStyle, vShow } from "vue";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
@@ -20,7 +20,8 @@ const _sfc_main = {
20
20
  ContainerItemWrapper,
21
21
  TpfCollapseTitle,
22
22
  SvgIcon,
23
- ...comps
23
+ ...comps,
24
+ VFormRender: defineAsyncComponent(() => import("../../../../render.js"))
24
25
  },
25
26
  props: {
26
27
  widget: Object,
@@ -273,7 +274,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
273
274
  [vShow, !$props.widget.options.hidden]
274
275
  ]);
275
276
  }
276
- const vfCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7889e6b4"]]);
277
+ const vfCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7f77cb8b"]]);
277
278
  export {
278
279
  vfCollapseItem as default
279
280
  };