@fecp/designer 5.5.105 → 5.5.108

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 (35) hide show
  1. package/es/_virtual/exceljs.min.mjs +7 -0
  2. package/es/_virtual/exceljs.min2.mjs +4 -0
  3. package/es/designer/package.json.mjs +1 -1
  4. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  5. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  6. package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
  7. package/es/designer.css +126 -95
  8. package/es/node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.mjs +809 -0
  9. package/es/node_modules/exceljs/dist/exceljs.min.mjs +23129 -0
  10. package/es/packages/mobile/node_modules/vant/es/tag/Tag.mjs +80 -0
  11. package/es/packages/mobile/node_modules/vant/es/tag/index.mjs +8 -0
  12. package/es/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.mjs +139 -0
  13. package/es/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.mjs +116 -300
  14. package/es/packages/vue/index.mjs +6 -1
  15. package/es/packages/vue/src/components/layout/Layout.vue.mjs +8 -3
  16. package/es/packages/vue/src/components/table/Table.vue.mjs +125 -4
  17. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +6 -115
  18. package/lib/_virtual/exceljs.min.js +7 -0
  19. package/lib/_virtual/exceljs.min2.js +4 -0
  20. package/lib/designer/package.json.js +1 -1
  21. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  22. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  23. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  24. package/lib/designer.css +126 -95
  25. package/lib/node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.js +809 -0
  26. package/lib/node_modules/exceljs/dist/exceljs.min.js +23129 -0
  27. package/lib/packages/mobile/node_modules/vant/es/tag/Tag.js +80 -0
  28. package/lib/packages/mobile/node_modules/vant/es/tag/index.js +7 -0
  29. package/lib/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.js +139 -0
  30. package/lib/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.js +119 -303
  31. package/lib/packages/vue/index.js +5 -0
  32. package/lib/packages/vue/src/components/layout/Layout.vue.js +8 -3
  33. package/lib/packages/vue/src/components/table/Table.vue.js +125 -4
  34. package/lib/packages/vue/src/components/table/TableColumn.vue.js +6 -115
  35. package/package.json +1 -1
@@ -5,50 +5,26 @@
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
- /* empty css */
9
8
  /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ /* empty css */
10
13
  /* empty css */
11
- import { getCurrentInstance, ref, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createElementVNode, Fragment, renderList, toDisplayString, normalizeStyle, createTextVNode } from "vue";
14
+ import { getCurrentInstance, ref, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createElementVNode, Fragment, renderList, createBlock } from "vue";
15
+ import ApprovalCard from "./ApprovalCard.vue.mjs";
12
16
  /* empty css */
13
17
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
18
+ import { Search } from "../../../../node_modules/vant/es/search/index.mjs";
14
19
  import { Tabs } from "../../../../node_modules/vant/es/tabs/index.mjs";
15
20
  import { Tab } from "../../../../node_modules/vant/es/tab/index.mjs";
16
- import { Icon } from "../../../../node_modules/vant/es/icon/index.mjs";
17
- import { Button } from "../../../../node_modules/vant/es/button/index.mjs";
21
+ import { List } from "../../../../node_modules/vant/es/list/index.mjs";
18
22
  const _hoisted_1 = { class: "fec-mobile-approval-list" };
19
23
  const _hoisted_2 = { class: "fec-tab-content" };
20
- const _hoisted_3 = { class: "fec-list" };
21
- const _hoisted_4 = { class: "fec-card-header" };
22
- const _hoisted_5 = { class: "fec-card-title" };
23
- const _hoisted_6 = { class: "fec-card-body" };
24
- const _hoisted_7 = { class: "fec-card-message" };
25
- const _hoisted_8 = { class: "fec-card-sn" };
26
- const _hoisted_9 = { class: "fec-card-value" };
27
- const _hoisted_10 = { class: "fec-card-footer" };
28
- const _hoisted_11 = { class: "fec-card-time" };
29
- const _hoisted_12 = { class: "fec-card-actions" };
30
- const _hoisted_13 = { class: "fec-tab-content" };
31
- const _hoisted_14 = { class: "fec-list" };
32
- const _hoisted_15 = { class: "fec-card-header" };
33
- const _hoisted_16 = { class: "fec-card-title" };
34
- const _hoisted_17 = { class: "fec-card-body" };
35
- const _hoisted_18 = { class: "fec-card-message" };
36
- const _hoisted_19 = { class: "fec-card-sn" };
37
- const _hoisted_20 = { class: "fec-card-value" };
38
- const _hoisted_21 = { class: "fec-card-footer" };
39
- const _hoisted_22 = { class: "fec-card-time" };
40
- const _hoisted_23 = { class: "fec-card-actions" };
41
- const _hoisted_24 = { class: "fec-tab-content" };
42
- const _hoisted_25 = { class: "fec-list" };
43
- const _hoisted_26 = { class: "fec-card-header" };
44
- const _hoisted_27 = { class: "fec-card-title" };
45
- const _hoisted_28 = { class: "fec-card-body" };
46
- const _hoisted_29 = { class: "fec-card-message" };
47
- const _hoisted_30 = { class: "fec-card-sn" };
48
- const _hoisted_31 = { class: "fec-card-value" };
49
- const _hoisted_32 = { class: "fec-card-footer" };
50
- const _hoisted_33 = { class: "fec-card-time" };
51
- const _hoisted_34 = { class: "fec-card-actions" };
24
+ const _hoisted_3 = { class: "fec-tab-content" };
25
+ const _hoisted_4 = { class: "fec-list" };
26
+ const _hoisted_5 = { class: "fec-tab-content" };
27
+ const _hoisted_6 = { class: "fec-list" };
52
28
  const _sfc_main = {
53
29
  __name: "ApprovalList",
54
30
  props: {},
@@ -56,107 +32,54 @@ const _sfc_main = {
56
32
  const currentInstance = getCurrentInstance();
57
33
  const ctx = currentInstance.proxy;
58
34
  ctx.route;
59
- const activeName = ref("todo");
60
- const todoList = [
61
- {
62
- id: 1,
63
- title: "项目立项申请",
64
- message: "客户李四提交了一笔新办公设备采购项目立项,请您审批。",
65
- sn: "1100202406150001",
66
- arriveTime: "30分钟前",
67
- statusText: "待处理",
68
- statusColor: "#fa8c16",
69
- statusIcon: "clock-o",
70
- actionText: "同意",
71
- actionColor: "#52c41a"
72
- },
73
- {
74
- id: 2,
75
- title: "合同审批",
76
- message: "客户王五提交了一份销售合同,请您审批。",
77
- sn: "1100202406150002",
78
- arriveTime: "2小时前",
79
- statusText: "已打回",
80
- statusColor: "#722ed1",
81
- statusIcon: "close",
82
- actionText: "同意",
83
- actionColor: "#52c41a"
84
- },
85
- {
86
- id: 3,
87
- title: "付款申请",
88
- message: "客户赵六提交了一笔供应商付款申请,请您审批。",
89
- sn: "1100202406150003",
90
- arriveTime: "2026-06-07 09:30:00",
91
- statusText: "待处理",
92
- statusColor: "#fa8c16",
93
- statusIcon: "clock-o",
94
- actionText: "同意",
95
- actionColor: "#52c41a"
96
- }
97
- ];
98
- const doneList = [
99
- {
100
- id: 4,
101
- title: "采购申请",
102
- message: "客户孙七提交了一笔办公用品采购申请,处理中。",
103
- sn: "1100202406140004",
104
- arriveTime: "2026-06-06 14:30:00",
105
- statusText: "处理中",
106
- statusColor: "#1890ff",
107
- statusIcon: "edit"
108
- },
109
- {
110
- id: 5,
111
- title: "用车申请",
112
- message: "客户周八提交了一笔商务用车申请,已完成。",
113
- sn: "1100202406130005",
114
- arriveTime: "2026-06-05 10:15:00",
115
- statusText: "已完成",
116
- statusColor: "#52c41a",
117
- statusIcon: "checked"
118
- }
119
- ];
120
- const ccList = [
121
- {
122
- id: 6,
123
- title: "会议通知",
124
- message: "客户吴九提交了周一例会,请您知悉。",
125
- sn: "1100202406150006",
126
- arriveTime: "1小时前",
127
- statusText: "处理中",
128
- statusColor: "#1890ff",
129
- statusIcon: "edit"
130
- },
131
- {
132
- id: 7,
133
- title: "制度变更",
134
- message: "客户郑十提交了新的考勤制度变更,请您知悉。",
135
- sn: "1100202406140007",
136
- arriveTime: "2026-06-07 16:45:00",
137
- statusText: "已完成",
138
- statusColor: "#52c41a",
139
- statusIcon: "checked"
140
- }
141
- ];
142
- function formatTime(timeStr) {
143
- if (!timeStr) return "";
144
- if (timeStr.includes(":")) {
145
- const time = new Date(timeStr.replace(/\-/g, "/"));
146
- const now = /* @__PURE__ */ new Date();
147
- const diff = now - time;
148
- const oneDay = 24 * 60 * 60 * 1e3;
149
- if (diff > oneDay) {
150
- return timeStr;
35
+ const activeName = ref("0");
36
+ const todoList = ref([]);
37
+ const doneList = ref([]);
38
+ const ccList = ref([]);
39
+ const searchData = ref("");
40
+ const finished = ref(false);
41
+ const loading = ref(false);
42
+ let pageNo = 1;
43
+ let pageSize = 10;
44
+ function onLoad() {
45
+ loading.value = true;
46
+ pageNo++;
47
+ call();
48
+ }
49
+ function call() {
50
+ ctx.$http.post(
51
+ "/base-server/flow/workbench/findTaskListByPage",
52
+ {
53
+ pageNo,
54
+ pageSize,
55
+ taskStatus: activeName.value,
56
+ searchData: searchData.value
57
+ },
58
+ false
59
+ ).then((data) => {
60
+ const list = data.list;
61
+ switch (activeName.value) {
62
+ case "0":
63
+ list.forEach((item) => {
64
+ item.statusColor = item.statusColor || "#fa8c16";
65
+ item.statusIcon = item.statusIcon || "clock-o";
66
+ item.statusText = item.statusText || "待处理";
67
+ });
68
+ todoList.value.push(...list);
69
+ break;
70
+ case "1":
71
+ doneList.value = list;
72
+ break;
73
+ case "2":
74
+ ccList.value = list;
75
+ break;
151
76
  }
152
- const hours = Math.floor(diff / (60 * 60 * 1e3));
153
- if (hours >= 1) {
154
- return `${hours}小时前`;
77
+ if (list.length < pageSize) {
78
+ finished.value = true;
155
79
  }
156
- const minutes = Math.floor(diff / (60 * 1e3));
157
- return `${minutes}分钟前`;
158
- }
159
- return timeStr;
80
+ }).finally(() => {
81
+ loading.value = false;
82
+ });
160
83
  }
161
84
  function onView(item) {
162
85
  console.log("查看:", item);
@@ -167,154 +90,83 @@ const _sfc_main = {
167
90
  function onRevoke(item) {
168
91
  console.log("撤销:", item);
169
92
  }
93
+ function onSearch(val) {
94
+ console.log("🚀 ~ onSearch ~ val:", val);
95
+ }
170
96
  return (_ctx, _cache) => {
171
- const _component_van_icon = Icon;
172
- const _component_van_button = Button;
97
+ const _component_van_search = Search;
98
+ const _component_van_list = List;
173
99
  const _component_van_tab = Tab;
174
100
  const _component_van_tabs = Tabs;
175
101
  return openBlock(), createElementBlock("div", _hoisted_1, [
102
+ createVNode(_component_van_search, {
103
+ modelValue: unref(searchData),
104
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchData) ? searchData.value = $event : null),
105
+ shape: "round",
106
+ placeholder: "请输入业务描述",
107
+ clearable: "",
108
+ onSearch
109
+ }, null, 8, ["modelValue"]),
176
110
  createVNode(_component_van_tabs, {
177
111
  sticky: "",
178
112
  class: "fec-tabs",
179
113
  active: unref(activeName),
180
- "onUpdate:active": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
114
+ "onUpdate:active": _cache[2] || (_cache[2] = ($event) => isRef(activeName) ? activeName.value = $event : null),
181
115
  swipeable: "",
182
116
  "lazy-render": ""
183
117
  }, {
184
118
  default: withCtx(() => [
185
119
  createVNode(_component_van_tab, {
186
120
  title: "待办",
187
- name: "todo",
121
+ name: "0",
188
122
  replace: "",
189
123
  "show-zero-badge": false
190
124
  }, {
191
125
  default: withCtx(() => [
192
126
  createElementVNode("div", _hoisted_2, [
193
- createElementVNode("div", _hoisted_3, [
194
- (openBlock(), createElementBlock(Fragment, null, renderList(todoList, (item) => {
195
- return createElementVNode("div", {
196
- key: item.id,
197
- class: "fec-card"
198
- }, [
199
- createElementVNode("div", _hoisted_4, [
200
- createElementVNode("span", _hoisted_5, toDisplayString(item.title), 1),
201
- createElementVNode("span", {
202
- class: "fec-card-status",
203
- style: normalizeStyle({ background: item.statusColor })
204
- }, [
205
- createVNode(_component_van_icon, {
206
- name: item.statusIcon,
207
- size: "12"
208
- }, null, 8, ["name"]),
209
- createTextVNode(" " + toDisplayString(item.statusText), 1)
210
- ], 4)
211
- ]),
212
- createElementVNode("div", _hoisted_6, [
213
- createElementVNode("div", _hoisted_7, toDisplayString(item.message), 1),
214
- createElementVNode("div", _hoisted_8, [
215
- _cache[1] || (_cache[1] = createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
216
- createElementVNode("span", _hoisted_9, toDisplayString(item.sn), 1)
217
- ])
218
- ]),
219
- createElementVNode("div", _hoisted_10, [
220
- createElementVNode("span", _hoisted_11, toDisplayString(formatTime(item.arriveTime)), 1),
221
- createElementVNode("div", _hoisted_12, [
222
- createVNode(_component_van_button, {
223
- plain: "",
224
- hairline: "",
225
- round: "",
226
- size: "small",
227
- onClick: ($event) => onView(item)
228
- }, {
229
- default: withCtx(() => _cache[2] || (_cache[2] = [
230
- createTextVNode(" 查看 ")
231
- ])),
232
- _: 2
233
- }, 1032, ["onClick"]),
234
- createVNode(_component_van_button, {
235
- type: "primary",
236
- round: "",
237
- size: "small",
238
- onClick: ($event) => onApprove(item)
239
- }, {
240
- default: withCtx(() => [
241
- createTextVNode(toDisplayString(item.actionText || "同意"), 1)
242
- ]),
243
- _: 2
244
- }, 1032, ["onClick"])
245
- ])
246
- ])
247
- ]);
248
- }), 64))
249
- ])
127
+ createVNode(_component_van_list, {
128
+ loading: unref(loading),
129
+ "onUpdate:loading": _cache[1] || (_cache[1] = ($event) => isRef(loading) ? loading.value = $event : null),
130
+ finished: unref(finished),
131
+ "finished-text": "没有更多了",
132
+ onLoad,
133
+ class: "fec-list"
134
+ }, {
135
+ default: withCtx(() => [
136
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(todoList), (item) => {
137
+ return openBlock(), createBlock(ApprovalCard, {
138
+ key: item.id,
139
+ item,
140
+ type: 0,
141
+ onView,
142
+ onApprove
143
+ }, null, 8, ["item"]);
144
+ }), 128))
145
+ ]),
146
+ _: 1
147
+ }, 8, ["loading", "finished"])
250
148
  ])
251
149
  ]),
252
150
  _: 1
253
151
  }),
254
152
  createVNode(_component_van_tab, {
255
153
  title: "已办",
256
- name: "done",
154
+ name: "1",
257
155
  replace: "",
258
156
  "show-zero-badge": false
259
157
  }, {
260
158
  default: withCtx(() => [
261
- createElementVNode("div", _hoisted_13, [
262
- createElementVNode("div", _hoisted_14, [
263
- (openBlock(), createElementBlock(Fragment, null, renderList(doneList, (item) => {
264
- return createElementVNode("div", {
159
+ createElementVNode("div", _hoisted_3, [
160
+ createElementVNode("div", _hoisted_4, [
161
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(doneList), (item) => {
162
+ return openBlock(), createBlock(ApprovalCard, {
265
163
  key: item.id,
266
- class: "fec-card"
267
- }, [
268
- createElementVNode("div", _hoisted_15, [
269
- createElementVNode("span", _hoisted_16, toDisplayString(item.title), 1),
270
- createElementVNode("span", {
271
- class: "fec-card-status",
272
- style: normalizeStyle({ background: item.statusColor })
273
- }, [
274
- createVNode(_component_van_icon, {
275
- name: item.statusIcon,
276
- size: "12"
277
- }, null, 8, ["name"]),
278
- createTextVNode(" " + toDisplayString(item.statusText), 1)
279
- ], 4)
280
- ]),
281
- createElementVNode("div", _hoisted_17, [
282
- createElementVNode("div", _hoisted_18, toDisplayString(item.message), 1),
283
- createElementVNode("div", _hoisted_19, [
284
- _cache[3] || (_cache[3] = createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
285
- createElementVNode("span", _hoisted_20, toDisplayString(item.sn), 1)
286
- ])
287
- ]),
288
- createElementVNode("div", _hoisted_21, [
289
- createElementVNode("span", _hoisted_22, toDisplayString(formatTime(item.arriveTime)), 1),
290
- createElementVNode("div", _hoisted_23, [
291
- createVNode(_component_van_button, {
292
- plain: "",
293
- hairline: "",
294
- round: "",
295
- size: "small",
296
- onClick: ($event) => onView(item)
297
- }, {
298
- default: withCtx(() => _cache[4] || (_cache[4] = [
299
- createTextVNode(" 查看 ")
300
- ])),
301
- _: 2
302
- }, 1032, ["onClick"]),
303
- createVNode(_component_van_button, {
304
- type: "warning",
305
- round: "",
306
- size: "small",
307
- onClick: ($event) => onRevoke(item)
308
- }, {
309
- default: withCtx(() => _cache[5] || (_cache[5] = [
310
- createTextVNode(" 撤销 ")
311
- ])),
312
- _: 2
313
- }, 1032, ["onClick"])
314
- ])
315
- ])
316
- ]);
317
- }), 64))
164
+ item,
165
+ type: 1,
166
+ onView,
167
+ onRevoke
168
+ }, null, 8, ["item"]);
169
+ }), 128))
318
170
  ])
319
171
  ])
320
172
  ]),
@@ -322,57 +174,21 @@ const _sfc_main = {
322
174
  }),
323
175
  createVNode(_component_van_tab, {
324
176
  title: "抄送",
325
- name: "cc",
177
+ name: "2",
326
178
  replace: "",
327
179
  "show-zero-badge": false
328
180
  }, {
329
181
  default: withCtx(() => [
330
- createElementVNode("div", _hoisted_24, [
331
- createElementVNode("div", _hoisted_25, [
332
- (openBlock(), createElementBlock(Fragment, null, renderList(ccList, (item) => {
333
- return createElementVNode("div", {
182
+ createElementVNode("div", _hoisted_5, [
183
+ createElementVNode("div", _hoisted_6, [
184
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(ccList), (item) => {
185
+ return openBlock(), createBlock(ApprovalCard, {
334
186
  key: item.id,
335
- class: "fec-card"
336
- }, [
337
- createElementVNode("div", _hoisted_26, [
338
- createElementVNode("span", _hoisted_27, toDisplayString(item.title), 1),
339
- createElementVNode("span", {
340
- class: "fec-card-status",
341
- style: normalizeStyle({ background: item.statusColor })
342
- }, [
343
- createVNode(_component_van_icon, {
344
- name: item.statusIcon,
345
- size: "12"
346
- }, null, 8, ["name"]),
347
- createTextVNode(" " + toDisplayString(item.statusText), 1)
348
- ], 4)
349
- ]),
350
- createElementVNode("div", _hoisted_28, [
351
- createElementVNode("div", _hoisted_29, toDisplayString(item.message), 1),
352
- createElementVNode("div", _hoisted_30, [
353
- _cache[6] || (_cache[6] = createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
354
- createElementVNode("span", _hoisted_31, toDisplayString(item.sn), 1)
355
- ])
356
- ]),
357
- createElementVNode("div", _hoisted_32, [
358
- createElementVNode("span", _hoisted_33, toDisplayString(formatTime(item.arriveTime)), 1),
359
- createElementVNode("div", _hoisted_34, [
360
- createVNode(_component_van_button, {
361
- plain: "",
362
- hairline: "",
363
- round: "",
364
- size: "small",
365
- onClick: ($event) => onView(item)
366
- }, {
367
- default: withCtx(() => _cache[7] || (_cache[7] = [
368
- createTextVNode(" 查看 ")
369
- ])),
370
- _: 2
371
- }, 1032, ["onClick"])
372
- ])
373
- ])
374
- ]);
375
- }), 64))
187
+ item,
188
+ type: 2,
189
+ onView
190
+ }, null, 8, ["item"]);
191
+ }), 128))
376
192
  ])
377
193
  ])
378
194
  ]),
@@ -385,7 +201,7 @@ const _sfc_main = {
385
201
  };
386
202
  }
387
203
  };
388
- const _ApprovalList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5cd7ed05"]]);
204
+ const _ApprovalList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-15b64ae4"]]);
389
205
  export {
390
206
  _ApprovalList as default
391
207
  };
@@ -2,11 +2,16 @@ import * as all from "./src/components/all.mjs";
2
2
  import * as index from "../mobile/index.mjs";
3
3
  import zh_cn_default from "../../node_modules/element-plus/es/locale/lang/zh-cn.mjs";
4
4
  import element_plus_default from "../../node_modules/element-plus/es/index.mjs";
5
- import VxeUIBase from "vxe-pc-ui";
5
+ import VxeUIBase, { VxeUI } from "vxe-pc-ui";
6
+ import { VxeUIPluginExportXLSX } from "../../node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.mjs";
7
+ import ExcelJS from "../../_virtual/exceljs.min.mjs";
6
8
  /* empty css */
7
9
  /* empty css */
8
10
  import layout from "./src/directive/layout.mjs";
9
11
  import auth from "./src/directive/auth.mjs";
12
+ VxeUI.use(VxeUIPluginExportXLSX, {
13
+ ExcelJS
14
+ });
10
15
  const fecVue = {
11
16
  install: (app) => {
12
17
  for (let c in all) {
@@ -24,6 +24,10 @@ const _sfc_main = {
24
24
  initFormData: {
25
25
  type: Object,
26
26
  default: {}
27
+ },
28
+ isDialog: {
29
+ type: Boolean,
30
+ default: false
27
31
  }
28
32
  },
29
33
  emits: ["loaded"],
@@ -66,8 +70,9 @@ const _sfc_main = {
66
70
  modelValue: unref(formData),
67
71
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formData) ? formData.value = $event : null),
68
72
  onLoaded: loaded,
69
- initFormMode: __props.initFormMode
70
- }, null, 8, ["templateKey", "modelValue", "initFormMode"])
73
+ initFormMode: __props.initFormMode,
74
+ isDialog: __props.isDialog
75
+ }, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
71
76
  ])
72
77
  ]),
73
78
  _: 1
@@ -91,7 +96,7 @@ const _sfc_main = {
91
96
  };
92
97
  }
93
98
  };
94
- const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1eb7b697"]]);
99
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-269d36e1"]]);
95
100
  export {
96
101
  _Layout as default
97
102
  };