todo.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. var D = Object.defineProperty;
  2. var u = Object.getOwnPropertySymbols;
  3. var B = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
  4. var p = (t, e, d) => e in t ? D(t, e, { enumerable: !0, configurable: !0, writable: !0, value: d }) : t[e] = d, _ = (t, e) => {
  5. for (var d in e || (e = {}))
  6. B.call(e, d) && p(t, d, e[d]);
  7. if (u)
  8. for (var d of u(e))
  9. S.call(e, d) && p(t, d, e[d]);
  10. return t;
  11. };
  12. var w = (t, e, d) => new Promise((V, s) => {
  13. var n = (r) => {
  14. try {
  15. a(d.next(r));
  16. } catch (l) {
  17. s(l);
  18. }
  19. }, c = (r) => {
  20. try {
  21. a(d.throw(r));
  22. } catch (l) {
  23. s(l);
  24. }
  25. }, a = (r) => r.done ? V(r.value) : Promise.resolve(r.value).then(n, c);
  26. a((d = d.apply(t, e)).next());
  27. });
  28. import { l as _export_sfc, c5 as getOfficeTreeData, aM as levelOneChildren, aN as levelTwoChildren, a_ as get, U as Button } from "./index2.js";
  29. import { h, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode } from "vue";
  30. import { _ as __unplugin_components_2, a as __unplugin_components_5 } from "./index17.js";
  31. import { C as Card } from "./index25.js";
  32. const _sfc_main = {
  33. name: "TodoCommon",
  34. data() {
  35. return {
  36. drawer1Visible: !1,
  37. drawerVisible: !1,
  38. modalVisible: !1,
  39. iconModalVisible: !1,
  40. userValue: "",
  41. userIds: [],
  42. treeValue: "",
  43. treeSelectValue: "",
  44. content: "",
  45. options: [],
  46. emptyIcon: new URL("../static/img/empty.png", import.meta.url).href
  47. };
  48. },
  49. methods: {
  50. handSModalCancel(t) {
  51. console.log(t);
  52. },
  53. recursionChildren(t, e) {
  54. return getOfficeTreeData(t, e);
  55. },
  56. levelOneChildren(t) {
  57. return levelOneChildren(t);
  58. },
  59. levelTwoChildren(t) {
  60. return levelTwoChildren(t);
  61. },
  62. initOptions() {
  63. return w(this, null, function* () {
  64. this.options = yield getOfficeTreeData();
  65. });
  66. },
  67. handDrawerConfirm() {
  68. this.$message.success("点击了确定");
  69. },
  70. showMessage(t) {
  71. const e = typeof t == "object" ? t.method : t, d = _({
  72. method: e,
  73. content: `${t.content || e}`
  74. }, t);
  75. d.key || (d.key = "1"), d.method === "destroy" ? this.$message[d.method](d.key) : this.$message[d.method](d);
  76. },
  77. showNotice(t) {
  78. const e = typeof t == "object" ? t : {
  79. method: t
  80. };
  81. e.key || (e.key = "1"), e.method === "close" && this.$notice.close(e.key), this.$notice[e.method]({
  82. key: e.key,
  83. message: e.message || "提示",
  84. description: e.description || `点击了【${e.method}】按钮`
  85. });
  86. },
  87. showModal(t) {
  88. let e = {};
  89. typeof t == "object" ? e = t : e = {
  90. method: t
  91. };
  92. const d = _({
  93. title: e.method,
  94. content: h("div", {}, ["测试modal确认框"]),
  95. onOk() {
  96. console.log("ok");
  97. }
  98. }, e);
  99. this.$modal[e.method](d);
  100. },
  101. handUserChange(t, e, d) {
  102. this.userValue = e, this.userIds = d;
  103. },
  104. resultFn(str, data) {
  105. for (var reg = /\{(.+?)\}/, reg_g = /\{(.+?)\}/g, result = str.match(reg_g) || [], i = 0; i < result.length; i++) {
  106. var item = result[i];
  107. const t = item.match(reg)[1], e = get(data, t);
  108. str = str.replace(`{${t}}`, e);
  109. }
  110. try {
  111. return eval(str);
  112. } catch (t) {
  113. return console.log(t), !1;
  114. }
  115. }
  116. },
  117. mounted() {
  118. this.initOptions();
  119. const t = {
  120. amount: 3,
  121. answer: "option2",
  122. recordMap: {
  123. name: "张三1"
  124. }
  125. };
  126. this.resultFn("'{amount}' > 1 && '{recordMap.name}' === '张三1'", t);
  127. }
  128. }, _hoisted_1 = { class: "todo-common" }, _hoisted_2 = { class: "mt-20 mb-20" }, _hoisted_3 = { class: "message-wrap" }, _hoisted_4 = { class: "item" }, _hoisted_5 = { class: "item" }, _hoisted_6 = { class: "item" }, _hoisted_7 = { class: "item" }, _hoisted_8 = { class: "message-wrap" }, _hoisted_9 = { class: "item" }, _hoisted_10 = { class: "item" }, _hoisted_11 = { class: "item" }, _hoisted_12 = { class: "item" }, _hoisted_13 = { class: "item" }, _hoisted_14 = { class: "item" }, _hoisted_15 = { class: "message-wrap" }, _hoisted_16 = { class: "item" }, _hoisted_17 = { class: "item" }, _hoisted_18 = { class: "item" }, _hoisted_19 = { class: "item" }, _hoisted_20 = { class: "item" }, _hoisted_21 = { class: "item" }, _hoisted_22 = { class: "drawer-list" }, _hoisted_23 = { class: "item" }, _hoisted_24 = { class: "icon-wrap" }, _hoisted_25 = { class: "item" }, _hoisted_26 = { class: "icon-wrap" }, _hoisted_27 = { class: "item" }, _hoisted_28 = { class: "icon-wrap" }, _hoisted_29 = { class: "icon-list" }, _hoisted_30 = { class: "item" }, _hoisted_31 = { class: "icon-wrap" }, _hoisted_32 = { class: "item" }, _hoisted_33 = { class: "item" }, _hoisted_34 = { class: "icon-wrap" }, _hoisted_35 = { class: "select-wrap" }, _hoisted_36 = { class: "item" }, _hoisted_37 = { class: "user-select-wrap mb-50" }, _hoisted_38 = { class: "tree-select" }, _hoisted_39 = { class: "item" }, _hoisted_40 = { class: "user-select-wrap mb-50" }, _hoisted_41 = { class: "tree-select" }, _hoisted_42 = { class: "item" }, _hoisted_43 = { class: "cascader-wrap mb-50" }, _hoisted_44 = { class: "cascader-cont" }, _hoisted_45 = { class: "tree-wrap mb-50" }, _hoisted_46 = { class: "tree-select" }, _hoisted_47 = { class: "tree-select-wrap mb-50" }, _hoisted_48 = { class: "tree-select" }, _hoisted_49 = { class: "editor-wrap mb-50" }, _hoisted_50 = { class: "empty-wrap mb-50" }, _hoisted_51 = { class: "item" }, _hoisted_52 = { class: "item-cont" }, _hoisted_53 = { class: "item" }, _hoisted_54 = { class: "item-cont" }, _hoisted_55 = { class: "item" }, _hoisted_56 = { class: "item-cont" }, _hoisted_57 = { class: "item" }, _hoisted_58 = { class: "item-cont" }, _hoisted_59 = { class: "item" }, _hoisted_60 = { class: "item-cont" }, _hoisted_61 = { class: "item" }, _hoisted_62 = { class: "item-cont" };
  129. function _sfc_render(t, e, d, V, s, n) {
  130. const c = resolveComponent("router-link"), a = __unplugin_components_2, r = __unplugin_components_5, l = Button, N = resolveComponent("s-drawer"), C = resolveComponent("s-modal"), f = resolveComponent("s-icon-select"), E = resolveComponent("s-icon-modal"), x = resolveComponent("s-icon"), g = resolveComponent("s-office-select"), b = resolveComponent("s-user-select"), k = resolveComponent("s-cascader"), T = resolveComponent("s-tree"), y = resolveComponent("s-tree-select"), M = resolveComponent("s-editor"), m = resolveComponent("s-empty"), v = resolveComponent("s-file-upload"), U = resolveComponent("s-copper-upload"), O = resolveComponent("s-dragger-upload"), I = Card;
  131. return openBlock(), createElementBlock("div", _hoisted_1, [
  132. createVNode(I, { title: "代办页" }, {
  133. default: withCtx(() => [
  134. createVNode(r, null, {
  135. default: withCtx(() => [
  136. createVNode(a, { span: 2 }, {
  137. default: withCtx(() => [
  138. createVNode(c, { to: "/workbench/index" }, {
  139. default: withCtx(() => [
  140. createTextVNode(toDisplayString(t.$l("工作台", "workbench")), 1)
  141. ]),
  142. _: 1
  143. })
  144. ]),
  145. _: 1
  146. }),
  147. createVNode(a, { span: 2 }, {
  148. default: withCtx(() => [
  149. createVNode(c, { to: "/housing/listings" }, {
  150. default: withCtx(() => [
  151. createTextVNode(toDisplayString(t.$l("业务页", "business")), 1)
  152. ]),
  153. _: 1
  154. })
  155. ]),
  156. _: 1
  157. })
  158. ]),
  159. _: 1
  160. }),
  161. createElementVNode("div", _hoisted_2, [
  162. e[74] || (e[74] = createElementVNode("div", { class: "mb-20" }, [
  163. createTextVNode(" this.$modal.xxxx(config) || window.$modal.xxxx(config); "),
  164. createElementVNode("br")
  165. ], -1)),
  166. createElementVNode("div", _hoisted_3, [
  167. createElementVNode("div", _hoisted_4, [
  168. createVNode(l, {
  169. onClick: e[0] || (e[0] = (o) => n.showModal({ method: "success" }))
  170. }, {
  171. default: withCtx(() => e[31] || (e[31] = [
  172. createTextVNode(" success ")
  173. ])),
  174. _: 1
  175. })
  176. ]),
  177. createElementVNode("div", _hoisted_5, [
  178. createVNode(l, {
  179. onClick: e[1] || (e[1] = (o) => n.showModal("error"))
  180. }, {
  181. default: withCtx(() => e[32] || (e[32] = [
  182. createTextVNode("error")
  183. ])),
  184. _: 1
  185. })
  186. ]),
  187. createElementVNode("div", _hoisted_6, [
  188. createVNode(l, {
  189. onClick: e[2] || (e[2] = (o) => n.showModal("info"))
  190. }, {
  191. default: withCtx(() => e[33] || (e[33] = [
  192. createTextVNode("info")
  193. ])),
  194. _: 1
  195. })
  196. ]),
  197. createElementVNode("div", _hoisted_7, [
  198. createVNode(l, {
  199. onClick: e[3] || (e[3] = (o) => n.showModal("warning"))
  200. }, {
  201. default: withCtx(() => e[34] || (e[34] = [
  202. createTextVNode("warning")
  203. ])),
  204. _: 1
  205. })
  206. ])
  207. ]),
  208. e[75] || (e[75] = createElementVNode("div", { class: "mb-20" }, "this.$notice.xxxx(config) || window.$notice.xxxx(config)", -1)),
  209. createElementVNode("div", _hoisted_8, [
  210. createElementVNode("div", _hoisted_9, [
  211. createVNode(l, {
  212. onClick: e[4] || (e[4] = (o) => n.showNotice({ method: "success" }))
  213. }, {
  214. default: withCtx(() => e[35] || (e[35] = [
  215. createTextVNode("success")
  216. ])),
  217. _: 1
  218. })
  219. ]),
  220. createElementVNode("div", _hoisted_10, [
  221. createVNode(l, {
  222. onClick: e[5] || (e[5] = (o) => n.showNotice("error"))
  223. }, {
  224. default: withCtx(() => e[36] || (e[36] = [
  225. createTextVNode("error")
  226. ])),
  227. _: 1
  228. })
  229. ]),
  230. createElementVNode("div", _hoisted_11, [
  231. createVNode(l, {
  232. onClick: e[6] || (e[6] = (o) => n.showNotice("info"))
  233. }, {
  234. default: withCtx(() => e[37] || (e[37] = [
  235. createTextVNode("info")
  236. ])),
  237. _: 1
  238. })
  239. ]),
  240. createElementVNode("div", _hoisted_12, [
  241. createVNode(l, {
  242. onClick: e[7] || (e[7] = (o) => n.showNotice("warn"))
  243. }, {
  244. default: withCtx(() => e[38] || (e[38] = [
  245. createTextVNode("warn")
  246. ])),
  247. _: 1
  248. })
  249. ]),
  250. createElementVNode("div", _hoisted_13, [
  251. createVNode(l, {
  252. onClick: e[8] || (e[8] = (o) => n.showNotice("open"))
  253. }, {
  254. default: withCtx(() => e[39] || (e[39] = [
  255. createTextVNode("open")
  256. ])),
  257. _: 1
  258. })
  259. ]),
  260. createElementVNode("div", _hoisted_14, [
  261. createVNode(l, {
  262. onClick: e[9] || (e[9] = (o) => n.showNotice("close"))
  263. }, {
  264. default: withCtx(() => e[40] || (e[40] = [
  265. createTextVNode("close open")
  266. ])),
  267. _: 1
  268. })
  269. ])
  270. ]),
  271. e[76] || (e[76] = createElementVNode("div", { class: "mb-20" }, "this.$message.xxxx(config) || window.$message.xxxx(config)", -1)),
  272. createElementVNode("div", _hoisted_15, [
  273. createElementVNode("div", _hoisted_16, [
  274. createVNode(l, {
  275. onClick: e[10] || (e[10] = (o) => n.showMessage("success"))
  276. }, {
  277. default: withCtx(() => e[41] || (e[41] = [
  278. createTextVNode("success")
  279. ])),
  280. _: 1
  281. })
  282. ]),
  283. createElementVNode("div", _hoisted_17, [
  284. createVNode(l, {
  285. onClick: e[11] || (e[11] = (o) => n.showMessage("error"))
  286. }, {
  287. default: withCtx(() => e[42] || (e[42] = [
  288. createTextVNode("error")
  289. ])),
  290. _: 1
  291. })
  292. ]),
  293. createElementVNode("div", _hoisted_18, [
  294. createVNode(l, {
  295. onClick: e[12] || (e[12] = (o) => n.showMessage("info"))
  296. }, {
  297. default: withCtx(() => e[43] || (e[43] = [
  298. createTextVNode("info")
  299. ])),
  300. _: 1
  301. })
  302. ]),
  303. createElementVNode("div", _hoisted_19, [
  304. createVNode(l, {
  305. onClick: e[13] || (e[13] = (o) => n.showMessage("warn"))
  306. }, {
  307. default: withCtx(() => e[44] || (e[44] = [
  308. createTextVNode("warn")
  309. ])),
  310. _: 1
  311. })
  312. ]),
  313. createElementVNode("div", _hoisted_20, [
  314. createVNode(l, {
  315. onClick: e[14] || (e[14] = (o) => n.showMessage("loading"))
  316. }, {
  317. default: withCtx(() => e[45] || (e[45] = [
  318. createTextVNode("loading")
  319. ])),
  320. _: 1
  321. })
  322. ]),
  323. createElementVNode("div", _hoisted_21, [
  324. createVNode(l, {
  325. onClick: e[15] || (e[15] = (o) => n.showMessage("destroy"))
  326. }, {
  327. default: withCtx(() => e[46] || (e[46] = [
  328. createTextVNode("close message")
  329. ])),
  330. _: 1
  331. })
  332. ])
  333. ]),
  334. createElementVNode("div", _hoisted_22, [
  335. createElementVNode("div", _hoisted_23, [
  336. e[49] || (e[49] = createElementVNode("div", { class: "title mb-20" }, "抽屉组件 - footer默认模式", -1)),
  337. createElementVNode("div", _hoisted_24, [
  338. createVNode(l, {
  339. onClick: e[16] || (e[16] = (o) => s.drawer1Visible = !0)
  340. }, {
  341. default: withCtx(() => e[47] || (e[47] = [
  342. createTextVNode("打开抽屉")
  343. ])),
  344. _: 1
  345. }),
  346. createVNode(N, {
  347. value: s.drawer1Visible,
  348. "onUpdate:value": e[17] || (e[17] = (o) => s.drawer1Visible = o),
  349. footer: "",
  350. onConfirm: n.handDrawerConfirm,
  351. title: "抽屉组件"
  352. }, {
  353. default: withCtx(() => e[48] || (e[48] = [
  354. createElementVNode("div", { class: "content" }, "抽屉中得内容", -1)
  355. ])),
  356. _: 1
  357. }, 8, ["value", "onConfirm"])
  358. ])
  359. ]),
  360. createElementVNode("div", _hoisted_25, [
  361. e[54] || (e[54] = createElementVNode("div", { class: "title mb-20" }, "抽屉组件 - footer插槽模式", -1)),
  362. createElementVNode("div", _hoisted_26, [
  363. createVNode(l, {
  364. onClick: e[18] || (e[18] = (o) => s.drawerVisible = !0)
  365. }, {
  366. default: withCtx(() => e[50] || (e[50] = [
  367. createTextVNode("打开抽屉")
  368. ])),
  369. _: 1
  370. }),
  371. createVNode(N, {
  372. value: s.drawerVisible,
  373. "onUpdate:value": e[19] || (e[19] = (o) => s.drawerVisible = o),
  374. title: "抽屉组件"
  375. }, {
  376. footer: withCtx(() => [
  377. createVNode(l, null, {
  378. default: withCtx(() => e[51] || (e[51] = [
  379. createTextVNode("取消")
  380. ])),
  381. _: 1
  382. }),
  383. createVNode(l, { type: "primary" }, {
  384. default: withCtx(() => e[52] || (e[52] = [
  385. createTextVNode("确定")
  386. ])),
  387. _: 1
  388. })
  389. ]),
  390. default: withCtx(() => [
  391. e[53] || (e[53] = createElementVNode("div", { class: "content" }, "抽屉中得内容", -1))
  392. ]),
  393. _: 1
  394. }, 8, ["value"])
  395. ])
  396. ]),
  397. createElementVNode("div", _hoisted_27, [
  398. e[56] || (e[56] = createElementVNode("div", { class: "title mb-20" }, "可拖拽可全屏弹窗Modal", -1)),
  399. createElementVNode("div", _hoisted_28, [
  400. createVNode(l, {
  401. onClick: e[20] || (e[20] = (o) => s.modalVisible = !0)
  402. }, {
  403. default: withCtx(() => e[55] || (e[55] = [
  404. createTextVNode("打开弹窗")
  405. ])),
  406. _: 1
  407. }),
  408. createVNode(C, {
  409. value: s.modalVisible,
  410. "onUpdate:value": e[21] || (e[21] = (o) => s.modalVisible = o),
  411. title: "弹窗组件"
  412. }, null, 8, ["value"])
  413. ])
  414. ])
  415. ]),
  416. createElementVNode("div", _hoisted_29, [
  417. createElementVNode("div", _hoisted_30, [
  418. e[57] || (e[57] = createElementVNode("div", { class: "title mb-20" }, "icon下拉列表", -1)),
  419. createElementVNode("div", _hoisted_31, [
  420. createVNode(f, { width: 300 })
  421. ])
  422. ]),
  423. createElementVNode("div", _hoisted_32, [
  424. e[59] || (e[59] = createElementVNode("div", { class: "title mb-20" }, "Icon弹窗组件", -1)),
  425. createVNode(l, {
  426. onClick: e[22] || (e[22] = (o) => s.iconModalVisible = !0)
  427. }, {
  428. default: withCtx(() => e[58] || (e[58] = [
  429. createTextVNode("查看图标")
  430. ])),
  431. _: 1
  432. }),
  433. createVNode(E, {
  434. value: s.iconModalVisible,
  435. "onUpdate:value": e[23] || (e[23] = (o) => s.iconModalVisible = o)
  436. }, null, 8, ["value"])
  437. ]),
  438. createElementVNode("div", _hoisted_33, [
  439. e[60] || (e[60] = createElementVNode("div", { class: "title mb-20" }, "icon组件 默认size 16px, color 为主题色", -1)),
  440. createElementVNode("div", _hoisted_34, [
  441. createVNode(x, {
  442. name: "AccountBookFilled",
  443. size: 32,
  444. color: "red"
  445. })
  446. ])
  447. ])
  448. ]),
  449. createElementVNode("div", _hoisted_35, [
  450. createElementVNode("div", _hoisted_36, [
  451. createElementVNode("div", _hoisted_37, [
  452. e[61] || (e[61] = createElementVNode("div", { class: "title mb-20" }, "岗位选择", -1)),
  453. createElementVNode("div", _hoisted_38, [
  454. createVNode(g, {
  455. onChange: n.handUserChange,
  456. ids: s.userIds,
  457. "onUpdate:ids": e[24] || (e[24] = (o) => s.userIds = o),
  458. names: s.userValue,
  459. "onUpdate:names": e[25] || (e[25] = (o) => s.userValue = o)
  460. }, null, 8, ["onChange", "ids", "names"])
  461. ])
  462. ])
  463. ]),
  464. createElementVNode("div", _hoisted_39, [
  465. createElementVNode("div", _hoisted_40, [
  466. e[62] || (e[62] = createElementVNode("div", { class: "title mb-20" }, "人员选择", -1)),
  467. createElementVNode("div", _hoisted_41, [
  468. createVNode(b, {
  469. onChange: n.handUserChange,
  470. ids: s.userIds,
  471. "onUpdate:ids": e[26] || (e[26] = (o) => s.userIds = o),
  472. names: s.userValue,
  473. "onUpdate:names": e[27] || (e[27] = (o) => s.userValue = o)
  474. }, null, 8, ["onChange", "ids", "names"])
  475. ])
  476. ])
  477. ]),
  478. createElementVNode("div", _hoisted_42, [
  479. createElementVNode("div", _hoisted_43, [
  480. e[63] || (e[63] = createElementVNode("div", { class: "title mb-20" }, "联级选择", -1)),
  481. createElementVNode("div", _hoisted_44, [
  482. createVNode(k, { options: s.options }, null, 8, ["options"])
  483. ])
  484. ])
  485. ])
  486. ]),
  487. createElementVNode("div", _hoisted_45, [
  488. e[64] || (e[64] = createElementVNode("div", { class: "title mb-20" }, "tree树", -1)),
  489. createElementVNode("div", _hoisted_46, [
  490. createVNode(T, {
  491. levelOneChildren: n.levelOneChildren,
  492. levelTwoChildren: n.levelTwoChildren,
  493. modelValue: s.treeValue,
  494. "onUpdate:modelValue": e[28] || (e[28] = (o) => s.treeValue = o)
  495. }, null, 8, ["levelOneChildren", "levelTwoChildren", "modelValue"])
  496. ])
  497. ]),
  498. createElementVNode("div", _hoisted_47, [
  499. e[65] || (e[65] = createElementVNode("div", { class: "title mb-20" }, "下拉树", -1)),
  500. createElementVNode("div", _hoisted_48, [
  501. createVNode(y, {
  502. modelValue: s.treeSelectValue,
  503. "onUpdate:modelValue": e[29] || (e[29] = (o) => s.treeSelectValue = o),
  504. recursionChildren: n.recursionChildren
  505. }, null, 8, ["modelValue", "recursionChildren"])
  506. ])
  507. ]),
  508. createElementVNode("div", _hoisted_49, [
  509. e[66] || (e[66] = createElementVNode("div", { class: "title mb-20" }, "富文本", -1)),
  510. createVNode(M, {
  511. modelValue: s.content,
  512. "onUpdate:modelValue": e[30] || (e[30] = (o) => s.content = o)
  513. }, null, 8, ["modelValue"])
  514. ]),
  515. e[77] || (e[77] = createElementVNode("div", { class: "title mb-20" }, "空数据组件", -1)),
  516. createElementVNode("div", _hoisted_50, [
  517. createElementVNode("div", _hoisted_51, [
  518. e[67] || (e[67] = createElementVNode("div", { class: "item-title" }, "默认", -1)),
  519. createElementVNode("div", _hoisted_52, [
  520. createVNode(m)
  521. ])
  522. ]),
  523. createElementVNode("div", _hoisted_53, [
  524. e[68] || (e[68] = createElementVNode("div", { class: "item-title" }, "无描述", -1)),
  525. createElementVNode("div", _hoisted_54, [
  526. createVNode(m, { desc: "" })
  527. ])
  528. ]),
  529. createElementVNode("div", _hoisted_55, [
  530. e[69] || (e[69] = createElementVNode("div", { class: "item-title" }, "第二种图标", -1)),
  531. createElementVNode("div", _hoisted_56, [
  532. createVNode(m, { type: "2" })
  533. ])
  534. ]),
  535. createElementVNode("div", _hoisted_57, [
  536. e[70] || (e[70] = createElementVNode("div", { class: "item-title" }, "自定义描述", -1)),
  537. createElementVNode("div", _hoisted_58, [
  538. createVNode(m, { desc: "没有数据" })
  539. ])
  540. ]),
  541. createElementVNode("div", _hoisted_59, [
  542. e[72] || (e[72] = createElementVNode("div", { class: "item-title" }, "自定义插槽描述", -1)),
  543. createElementVNode("div", _hoisted_60, [
  544. createVNode(m, null, {
  545. default: withCtx(() => e[71] || (e[71] = [
  546. createTextVNode("无数据")
  547. ])),
  548. _: 1
  549. })
  550. ])
  551. ]),
  552. createElementVNode("div", _hoisted_61, [
  553. e[73] || (e[73] = createElementVNode("div", { class: "item-title" }, "自定义图标", -1)),
  554. createElementVNode("div", _hoisted_62, [
  555. createVNode(m, { icon: s.emptyIcon }, null, 8, ["icon"])
  556. ])
  557. ])
  558. ]),
  559. e[78] || (e[78] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  560. createVNode(v, {
  561. listType: "picture-card",
  562. label: t.$l("卡片附件列表")
  563. }, null, 8, ["label"]),
  564. e[79] || (e[79] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  565. createVNode(v, {
  566. listType: "picture",
  567. label: t.$l("行附件列表")
  568. }, null, 8, ["label"]),
  569. e[80] || (e[80] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  570. createVNode(U, { label: "裁切上传附件列表" }),
  571. e[81] || (e[81] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  572. createVNode(O, { label: "拖拽上传附件列表" })
  573. ])
  574. ]),
  575. _: 1
  576. })
  577. ]);
  578. }
  579. const todo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5e5fc79b"]]);
  580. export {
  581. todo as default
  582. };