todo.js 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230
  1. var ee = Object.defineProperty;
  2. var U = Object.getOwnPropertySymbols;
  3. var te = Object.prototype.hasOwnProperty, oe = Object.prototype.propertyIsEnumerable;
  4. var F = (t, e, o) => e in t ? ee(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, k = (t, e) => {
  5. for (var o in e || (e = {}))
  6. te.call(e, o) && F(t, o, e[o]);
  7. if (U)
  8. for (var o of U(e))
  9. oe.call(e, o) && F(t, o, e[o]);
  10. return t;
  11. };
  12. var q = (t, e, o) => new Promise((d, n) => {
  13. var l = (m) => {
  14. try {
  15. _(o.next(m));
  16. } catch (r) {
  17. n(r);
  18. }
  19. }, p = (m) => {
  20. try {
  21. _(o.throw(m));
  22. } catch (r) {
  23. n(r);
  24. }
  25. }, _ = (m) => m.done ? d(m.value) : Promise.resolve(m.value).then(l, p);
  26. _((o = o.apply(t, e)).next());
  27. });
  28. import { g as genComponentStyleHook, m as merge, d as _extends, r as resetComponent, a2 as clearFix, t as textEllipsis, u as useConfigInject, c as classNames, _ as _objectSpread2, i as initDefaultProps, o as omit, co as filterEmptyWithUndefined, a8 as flattenChildren, h as devWarning, bM as customRenderSlot, cp as isEmptyElement, P as PropTypes, bn as getPropsSlot, cf as vNodeType, k as _export_sfc, D as Button, bx as get } from "./index2.js";
  29. import { defineComponent, computed, createVNode, isVNode, resolveComponent, openBlock, createElementBlock, withCtx, createTextVNode, toDisplayString, createElementVNode, h } from "vue";
  30. import { b as getOfficeTreeData, l as levelTwoChildren, a as levelOneChildren } from "./common.js";
  31. import { T as Tabs } from "./index12.js";
  32. import { i as isPlainObject } from "./isPlainObject.js";
  33. import { u as useStyle$1, E as Element, s as skeletonElementProps, S as Skeleton, a as SkeletonTitle } from "./Skeleton.js";
  34. import { _ as __unplugin_components_5, a as __unplugin_components_2 } from "./index9.js";
  35. const genCardHeadStyle = (t) => {
  36. const {
  37. antCls: e,
  38. componentCls: o,
  39. cardHeadHeight: d,
  40. cardPaddingBase: n,
  41. cardHeadTabsMarginBottom: l
  42. } = t;
  43. return _extends(_extends({
  44. display: "flex",
  45. justifyContent: "center",
  46. flexDirection: "column",
  47. minHeight: d,
  48. marginBottom: -1,
  49. padding: `0 ${n}px`,
  50. color: t.colorTextHeading,
  51. fontWeight: t.fontWeightStrong,
  52. fontSize: t.fontSizeLG,
  53. background: "transparent",
  54. borderBottom: `${t.lineWidth}px ${t.lineType} ${t.colorBorderSecondary}`,
  55. borderRadius: `${t.borderRadiusLG}px ${t.borderRadiusLG}px 0 0`
  56. }, clearFix()), {
  57. "&-wrapper": {
  58. width: "100%",
  59. display: "flex",
  60. alignItems: "center"
  61. },
  62. "&-title": _extends(_extends({
  63. display: "inline-block",
  64. flex: 1
  65. }, textEllipsis), {
  66. [`
  67. > ${o}-typography,
  68. > ${o}-typography-edit-content
  69. `]: {
  70. insetInlineStart: 0,
  71. marginTop: 0,
  72. marginBottom: 0
  73. }
  74. }),
  75. [`${e}-tabs-top`]: {
  76. clear: "both",
  77. marginBottom: l,
  78. color: t.colorText,
  79. fontWeight: "normal",
  80. fontSize: t.fontSize,
  81. "&-bar": {
  82. borderBottom: `${t.lineWidth}px ${t.lineType} ${t.colorBorderSecondary}`
  83. }
  84. }
  85. });
  86. }, genCardGridStyle = (t) => {
  87. const {
  88. cardPaddingBase: e,
  89. colorBorderSecondary: o,
  90. cardShadow: d,
  91. lineWidth: n
  92. } = t;
  93. return {
  94. width: "33.33%",
  95. padding: e,
  96. border: 0,
  97. borderRadius: 0,
  98. boxShadow: `
  99. ${n}px 0 0 0 ${o},
  100. 0 ${n}px 0 0 ${o},
  101. ${n}px ${n}px 0 0 ${o},
  102. ${n}px 0 0 0 ${o} inset,
  103. 0 ${n}px 0 0 ${o} inset;
  104. `,
  105. transition: `all ${t.motionDurationMid}`,
  106. "&-hoverable:hover": {
  107. position: "relative",
  108. zIndex: 1,
  109. boxShadow: d
  110. }
  111. };
  112. }, genCardActionsStyle = (t) => {
  113. const {
  114. componentCls: e,
  115. iconCls: o,
  116. cardActionsLiMargin: d,
  117. cardActionsIconSize: n,
  118. colorBorderSecondary: l
  119. } = t;
  120. return _extends(_extends({
  121. margin: 0,
  122. padding: 0,
  123. listStyle: "none",
  124. background: t.colorBgContainer,
  125. borderTop: `${t.lineWidth}px ${t.lineType} ${l}`,
  126. display: "flex",
  127. borderRadius: `0 0 ${t.borderRadiusLG}px ${t.borderRadiusLG}px `
  128. }, clearFix()), {
  129. "& > li": {
  130. margin: d,
  131. color: t.colorTextDescription,
  132. textAlign: "center",
  133. "> span": {
  134. position: "relative",
  135. display: "block",
  136. minWidth: t.cardActionsIconSize * 2,
  137. fontSize: t.fontSize,
  138. lineHeight: t.lineHeight,
  139. cursor: "pointer",
  140. "&:hover": {
  141. color: t.colorPrimary,
  142. transition: `color ${t.motionDurationMid}`
  143. },
  144. [`a:not(${e}-btn), > ${o}`]: {
  145. display: "inline-block",
  146. width: "100%",
  147. color: t.colorTextDescription,
  148. lineHeight: `${t.fontSize * t.lineHeight}px`,
  149. transition: `color ${t.motionDurationMid}`,
  150. "&:hover": {
  151. color: t.colorPrimary
  152. }
  153. },
  154. [`> ${o}`]: {
  155. fontSize: n,
  156. lineHeight: `${n * t.lineHeight}px`
  157. }
  158. },
  159. "&:not(:last-child)": {
  160. borderInlineEnd: `${t.lineWidth}px ${t.lineType} ${l}`
  161. }
  162. }
  163. });
  164. }, genCardMetaStyle = (t) => _extends(_extends({
  165. margin: `-${t.marginXXS}px 0`,
  166. display: "flex"
  167. }, clearFix()), {
  168. "&-avatar": {
  169. paddingInlineEnd: t.padding
  170. },
  171. "&-detail": {
  172. overflow: "hidden",
  173. flex: 1,
  174. "> div:not(:last-child)": {
  175. marginBottom: t.marginXS
  176. }
  177. },
  178. "&-title": _extends({
  179. color: t.colorTextHeading,
  180. fontWeight: t.fontWeightStrong,
  181. fontSize: t.fontSizeLG
  182. }, textEllipsis),
  183. "&-description": {
  184. color: t.colorTextDescription
  185. }
  186. }), genCardTypeInnerStyle = (t) => {
  187. const {
  188. componentCls: e,
  189. cardPaddingBase: o,
  190. colorFillAlter: d
  191. } = t;
  192. return {
  193. [`${e}-head`]: {
  194. padding: `0 ${o}px`,
  195. background: d,
  196. "&-title": {
  197. fontSize: t.fontSize
  198. }
  199. },
  200. [`${e}-body`]: {
  201. padding: `${t.padding}px ${o}px`
  202. }
  203. };
  204. }, genCardLoadingStyle = (t) => {
  205. const {
  206. componentCls: e
  207. } = t;
  208. return {
  209. overflow: "hidden",
  210. [`${e}-body`]: {
  211. userSelect: "none"
  212. }
  213. };
  214. }, genCardStyle = (t) => {
  215. const {
  216. componentCls: e,
  217. cardShadow: o,
  218. cardHeadPadding: d,
  219. colorBorderSecondary: n,
  220. boxShadow: l,
  221. cardPaddingBase: p
  222. } = t;
  223. return {
  224. [e]: _extends(_extends({}, resetComponent(t)), {
  225. position: "relative",
  226. background: t.colorBgContainer,
  227. borderRadius: t.borderRadiusLG,
  228. [`&:not(${e}-bordered)`]: {
  229. boxShadow: l
  230. },
  231. [`${e}-head`]: genCardHeadStyle(t),
  232. [`${e}-extra`]: {
  233. // https://stackoverflow.com/a/22429853/3040605
  234. marginInlineStart: "auto",
  235. color: "",
  236. fontWeight: "normal",
  237. fontSize: t.fontSize
  238. },
  239. [`${e}-body`]: _extends({
  240. padding: p,
  241. borderRadius: ` 0 0 ${t.borderRadiusLG}px ${t.borderRadiusLG}px`
  242. }, clearFix()),
  243. [`${e}-grid`]: genCardGridStyle(t),
  244. [`${e}-cover`]: {
  245. "> *": {
  246. display: "block",
  247. width: "100%"
  248. },
  249. img: {
  250. borderRadius: `${t.borderRadiusLG}px ${t.borderRadiusLG}px 0 0`
  251. }
  252. },
  253. [`${e}-actions`]: genCardActionsStyle(t),
  254. [`${e}-meta`]: genCardMetaStyle(t)
  255. }),
  256. [`${e}-bordered`]: {
  257. border: `${t.lineWidth}px ${t.lineType} ${n}`,
  258. [`${e}-cover`]: {
  259. marginTop: -1,
  260. marginInlineStart: -1,
  261. marginInlineEnd: -1
  262. }
  263. },
  264. [`${e}-hoverable`]: {
  265. cursor: "pointer",
  266. transition: `box-shadow ${t.motionDurationMid}, border-color ${t.motionDurationMid}`,
  267. "&:hover": {
  268. borderColor: "transparent",
  269. boxShadow: o
  270. }
  271. },
  272. [`${e}-contain-grid`]: {
  273. [`${e}-body`]: {
  274. display: "flex",
  275. flexWrap: "wrap"
  276. },
  277. [`&:not(${e}-loading) ${e}-body`]: {
  278. marginBlockStart: -t.lineWidth,
  279. marginInlineStart: -t.lineWidth,
  280. padding: 0
  281. }
  282. },
  283. [`${e}-contain-tabs`]: {
  284. [`> ${e}-head`]: {
  285. [`${e}-head-title, ${e}-extra`]: {
  286. paddingTop: d
  287. }
  288. }
  289. },
  290. [`${e}-type-inner`]: genCardTypeInnerStyle(t),
  291. [`${e}-loading`]: genCardLoadingStyle(t),
  292. [`${e}-rtl`]: {
  293. direction: "rtl"
  294. }
  295. };
  296. }, genCardSizeStyle = (t) => {
  297. const {
  298. componentCls: e,
  299. cardPaddingSM: o,
  300. cardHeadHeightSM: d
  301. } = t;
  302. return {
  303. [`${e}-small`]: {
  304. [`> ${e}-head`]: {
  305. minHeight: d,
  306. padding: `0 ${o}px`,
  307. fontSize: t.fontSize,
  308. [`> ${e}-head-wrapper`]: {
  309. [`> ${e}-extra`]: {
  310. fontSize: t.fontSize
  311. }
  312. }
  313. },
  314. [`> ${e}-body`]: {
  315. padding: o
  316. }
  317. },
  318. [`${e}-small${e}-contain-tabs`]: {
  319. [`> ${e}-head`]: {
  320. [`${e}-head-title, ${e}-extra`]: {
  321. minHeight: d,
  322. paddingTop: 0,
  323. display: "flex",
  324. alignItems: "center"
  325. }
  326. }
  327. }
  328. };
  329. }, useStyle = genComponentStyleHook("Card", (t) => {
  330. const e = merge(t, {
  331. cardShadow: t.boxShadowCard,
  332. cardHeadHeight: t.fontSizeLG * t.lineHeightLG + t.padding * 2,
  333. cardHeadHeightSM: t.fontSize * t.lineHeight + t.paddingXS * 2,
  334. cardHeadPadding: t.padding,
  335. cardPaddingBase: t.paddingLG,
  336. cardHeadTabsMarginBottom: -t.padding - t.lineWidth,
  337. cardActionsLiMargin: `${t.paddingSM}px 0`,
  338. cardActionsIconSize: t.fontSize,
  339. cardPaddingSM: 12
  340. // Fixed padding.
  341. });
  342. return [
  343. // Style
  344. genCardStyle(e),
  345. // Size
  346. genCardSizeStyle(e)
  347. ];
  348. }), skeletonButtonProps = () => _extends(_extends({}, skeletonElementProps()), {
  349. size: String,
  350. block: Boolean
  351. }), SkeletonButton = defineComponent({
  352. compatConfig: {
  353. MODE: 3
  354. },
  355. name: "ASkeletonButton",
  356. props: initDefaultProps(skeletonButtonProps(), {
  357. size: "default"
  358. }),
  359. setup(t) {
  360. const {
  361. prefixCls: e
  362. } = useConfigInject("skeleton", t), [o, d] = useStyle$1(e), n = computed(() => classNames(e.value, `${e.value}-element`, {
  363. [`${e.value}-active`]: t.active,
  364. [`${e.value}-block`]: t.block
  365. }, d.value));
  366. return () => o(createVNode("div", {
  367. class: n.value
  368. }, [createVNode(Element, _objectSpread2(_objectSpread2({}, t), {}, {
  369. prefixCls: `${e.value}-button`
  370. }), null)]));
  371. }
  372. }), SkeletonInput = defineComponent({
  373. compatConfig: {
  374. MODE: 3
  375. },
  376. name: "ASkeletonInput",
  377. props: _extends(_extends({}, omit(skeletonElementProps(), ["shape"])), {
  378. size: String,
  379. block: Boolean
  380. }),
  381. setup(t) {
  382. const {
  383. prefixCls: e
  384. } = useConfigInject("skeleton", t), [o, d] = useStyle$1(e), n = computed(() => classNames(e.value, `${e.value}-element`, {
  385. [`${e.value}-active`]: t.active,
  386. [`${e.value}-block`]: t.block
  387. }, d.value));
  388. return () => o(createVNode("div", {
  389. class: n.value
  390. }, [createVNode(Element, _objectSpread2(_objectSpread2({}, t), {}, {
  391. prefixCls: `${e.value}-input`
  392. }), null)]));
  393. }
  394. }), path = "M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z", SkeletonImage = defineComponent({
  395. compatConfig: {
  396. MODE: 3
  397. },
  398. name: "ASkeletonImage",
  399. props: omit(skeletonElementProps(), ["size", "shape", "active"]),
  400. setup(t) {
  401. const {
  402. prefixCls: e
  403. } = useConfigInject("skeleton", t), [o, d] = useStyle$1(e), n = computed(() => classNames(e.value, `${e.value}-element`, d.value));
  404. return () => o(createVNode("div", {
  405. class: n.value
  406. }, [createVNode("div", {
  407. class: `${e.value}-image`
  408. }, [createVNode("svg", {
  409. viewBox: "0 0 1098 1024",
  410. xmlns: "http://www.w3.org/2000/svg",
  411. class: `${e.value}-image-svg`
  412. }, [createVNode("path", {
  413. d: path,
  414. class: `${e.value}-image-path`
  415. }, null)])])]));
  416. }
  417. }), avatarProps = () => _extends(_extends({}, skeletonElementProps()), {
  418. shape: String
  419. }), SkeletonAvatar = defineComponent({
  420. compatConfig: {
  421. MODE: 3
  422. },
  423. name: "ASkeletonAvatar",
  424. props: initDefaultProps(avatarProps(), {
  425. size: "default",
  426. shape: "circle"
  427. }),
  428. setup(t) {
  429. const {
  430. prefixCls: e
  431. } = useConfigInject("skeleton", t), [o, d] = useStyle$1(e), n = computed(() => classNames(e.value, `${e.value}-element`, {
  432. [`${e.value}-active`]: t.active
  433. }, d.value));
  434. return () => o(createVNode("div", {
  435. class: n.value
  436. }, [createVNode(Element, _objectSpread2(_objectSpread2({}, t), {}, {
  437. prefixCls: `${e.value}-avatar`
  438. }), null)]));
  439. }
  440. });
  441. Skeleton.Button = SkeletonButton;
  442. Skeleton.Avatar = SkeletonAvatar;
  443. Skeleton.Input = SkeletonInput;
  444. Skeleton.Image = SkeletonImage;
  445. Skeleton.Title = SkeletonTitle;
  446. Skeleton.install = function(t) {
  447. return t.component(Skeleton.name, Skeleton), t.component(Skeleton.Button.name, SkeletonButton), t.component(Skeleton.Avatar.name, SkeletonAvatar), t.component(Skeleton.Input.name, SkeletonInput), t.component(Skeleton.Image.name, SkeletonImage), t.component(Skeleton.Title.name, SkeletonTitle), t;
  448. };
  449. const {
  450. TabPane
  451. } = Tabs, cardProps = () => ({
  452. prefixCls: String,
  453. title: PropTypes.any,
  454. extra: PropTypes.any,
  455. bordered: {
  456. type: Boolean,
  457. default: !0
  458. },
  459. bodyStyle: {
  460. type: Object,
  461. default: void 0
  462. },
  463. headStyle: {
  464. type: Object,
  465. default: void 0
  466. },
  467. loading: {
  468. type: Boolean,
  469. default: !1
  470. },
  471. hoverable: {
  472. type: Boolean,
  473. default: !1
  474. },
  475. type: {
  476. type: String
  477. },
  478. size: {
  479. type: String
  480. },
  481. actions: PropTypes.any,
  482. tabList: {
  483. type: Array
  484. },
  485. tabBarExtraContent: PropTypes.any,
  486. activeTabKey: String,
  487. defaultActiveTabKey: String,
  488. cover: PropTypes.any,
  489. onTabChange: {
  490. type: Function
  491. }
  492. }), Card = defineComponent({
  493. compatConfig: {
  494. MODE: 3
  495. },
  496. name: "ACard",
  497. inheritAttrs: !1,
  498. props: cardProps(),
  499. slots: Object,
  500. setup(t, e) {
  501. let {
  502. slots: o,
  503. attrs: d
  504. } = e;
  505. const {
  506. prefixCls: n,
  507. direction: l,
  508. size: p
  509. } = useConfigInject("card", t), [_, m] = useStyle(n), r = (v) => v.map((c, f) => isVNode(c) && !isEmptyElement(c) || !isVNode(c) ? createVNode("li", {
  510. style: {
  511. width: `${100 / v.length}%`
  512. },
  513. key: `action-${f}`
  514. }, [createVNode("span", null, [c])]) : null), V = (v) => {
  515. var u;
  516. (u = t.onTabChange) === null || u === void 0 || u.call(t, v);
  517. }, x = function() {
  518. let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u;
  519. return v.forEach((c) => {
  520. c && isPlainObject(c.type) && c.type.__ANT_CARD_GRID && (u = !0);
  521. }), u;
  522. };
  523. return () => {
  524. var v, u, c, f, C, b;
  525. const {
  526. headStyle: M = {},
  527. bodyStyle: I = {},
  528. loading: E,
  529. bordered: g = !0,
  530. type: S,
  531. tabList: N,
  532. hoverable: B,
  533. activeTabKey: $,
  534. defaultActiveTabKey: s,
  535. tabBarExtraContent: H = filterEmptyWithUndefined((v = o.tabBarExtraContent) === null || v === void 0 ? void 0 : v.call(o)),
  536. title: P = filterEmptyWithUndefined((u = o.title) === null || u === void 0 ? void 0 : u.call(o)),
  537. extra: z = filterEmptyWithUndefined((c = o.extra) === null || c === void 0 ? void 0 : c.call(o)),
  538. actions: D = filterEmptyWithUndefined((f = o.actions) === null || f === void 0 ? void 0 : f.call(o)),
  539. cover: j = filterEmptyWithUndefined((C = o.cover) === null || C === void 0 ? void 0 : C.call(o))
  540. } = t, y = flattenChildren((b = o.default) === null || b === void 0 ? void 0 : b.call(o)), a = n.value, K = {
  541. [`${a}`]: !0,
  542. [m.value]: !0,
  543. [`${a}-loading`]: E,
  544. [`${a}-bordered`]: g,
  545. [`${a}-hoverable`]: !!B,
  546. [`${a}-contain-grid`]: x(y),
  547. [`${a}-contain-tabs`]: N && N.length,
  548. [`${a}-${p.value}`]: p.value,
  549. [`${a}-type-${S}`]: !!S,
  550. [`${a}-rtl`]: l.value === "rtl"
  551. }, X = createVNode(Skeleton, {
  552. loading: !0,
  553. active: !0,
  554. paragraph: {
  555. rows: 4
  556. },
  557. title: !1
  558. }, {
  559. default: () => [y]
  560. }), G = $ !== void 0, J = {
  561. size: "large",
  562. [G ? "activeKey" : "defaultActiveKey"]: G ? $ : s,
  563. onChange: V,
  564. class: `${a}-head-tabs`
  565. };
  566. let R;
  567. const O = N && N.length ? createVNode(Tabs, J, {
  568. default: () => [N.map((w) => {
  569. const {
  570. tab: W,
  571. slots: T
  572. } = w, L = T == null ? void 0 : T.tab;
  573. devWarning(!T, "Card", "tabList slots is deprecated, Please use `customTab` instead.");
  574. let A = W !== void 0 ? W : o[L] ? o[L](w) : null;
  575. return A = customRenderSlot(o, "customTab", w, () => [A]), createVNode(TabPane, {
  576. tab: A,
  577. key: w.key,
  578. disabled: w.disabled
  579. }, null);
  580. })],
  581. rightExtra: H ? () => H : null
  582. }) : null;
  583. (P || z || O) && (R = createVNode("div", {
  584. class: `${a}-head`,
  585. style: M
  586. }, [createVNode("div", {
  587. class: `${a}-head-wrapper`
  588. }, [P && createVNode("div", {
  589. class: `${a}-head-title`
  590. }, [P]), z && createVNode("div", {
  591. class: `${a}-extra`
  592. }, [z])]), O]));
  593. const Q = j ? createVNode("div", {
  594. class: `${a}-cover`
  595. }, [j]) : null, Y = createVNode("div", {
  596. class: `${a}-body`,
  597. style: I
  598. }, [E ? X : y]), Z = D && D.length ? createVNode("ul", {
  599. class: `${a}-actions`
  600. }, [r(D)]) : null;
  601. return _(createVNode("div", _objectSpread2(_objectSpread2({
  602. ref: "cardContainerRef"
  603. }, d), {}, {
  604. class: [K, d.class]
  605. }), [R, Q, y && y.length ? Y : null, Z]));
  606. };
  607. }
  608. }), cardMetaProps = () => ({
  609. prefixCls: String,
  610. title: vNodeType(),
  611. description: vNodeType(),
  612. avatar: vNodeType()
  613. }), Meta = defineComponent({
  614. compatConfig: {
  615. MODE: 3
  616. },
  617. name: "ACardMeta",
  618. props: cardMetaProps(),
  619. slots: Object,
  620. setup(t, e) {
  621. let {
  622. slots: o
  623. } = e;
  624. const {
  625. prefixCls: d
  626. } = useConfigInject("card", t);
  627. return () => {
  628. const n = {
  629. [`${d.value}-meta`]: !0
  630. }, l = getPropsSlot(o, t, "avatar"), p = getPropsSlot(o, t, "title"), _ = getPropsSlot(o, t, "description"), m = l ? createVNode("div", {
  631. class: `${d.value}-meta-avatar`
  632. }, [l]) : null, r = p ? createVNode("div", {
  633. class: `${d.value}-meta-title`
  634. }, [p]) : null, V = _ ? createVNode("div", {
  635. class: `${d.value}-meta-description`
  636. }, [_]) : null, x = r || V ? createVNode("div", {
  637. class: `${d.value}-meta-detail`
  638. }, [r, V]) : null;
  639. return createVNode("div", {
  640. class: n
  641. }, [m, x]);
  642. };
  643. }
  644. }), cardGridProps = () => ({
  645. prefixCls: String,
  646. hoverable: {
  647. type: Boolean,
  648. default: !0
  649. }
  650. }), Grid = defineComponent({
  651. compatConfig: {
  652. MODE: 3
  653. },
  654. name: "ACardGrid",
  655. __ANT_CARD_GRID: !0,
  656. props: cardGridProps(),
  657. setup(t, e) {
  658. let {
  659. slots: o
  660. } = e;
  661. const {
  662. prefixCls: d
  663. } = useConfigInject("card", t), n = computed(() => ({
  664. [`${d.value}-grid`]: !0,
  665. [`${d.value}-grid-hoverable`]: t.hoverable
  666. }));
  667. return () => {
  668. var l;
  669. return createVNode("div", {
  670. class: n.value
  671. }, [(l = o.default) === null || l === void 0 ? void 0 : l.call(o)]);
  672. };
  673. }
  674. });
  675. Card.Meta = Meta;
  676. Card.Grid = Grid;
  677. Card.install = function(t) {
  678. return t.component(Card.name, Card), t.component(Meta.name, Meta), t.component(Grid.name, Grid), t;
  679. };
  680. const _sfc_main = {
  681. name: "TodoCommon",
  682. data() {
  683. return {
  684. drawer1Visible: !1,
  685. drawerVisible: !1,
  686. modalVisible: !1,
  687. iconModalVisible: !1,
  688. userValue: "",
  689. userIds: [],
  690. treeValue: "",
  691. treeSelectValue: "",
  692. content: "",
  693. options: [],
  694. emptyIcon: new URL("../static/img/empty.png", import.meta.url).href
  695. };
  696. },
  697. methods: {
  698. handSModalCancel(t) {
  699. console.log(t);
  700. },
  701. recursionChildren(t, e) {
  702. return getOfficeTreeData(t, e);
  703. },
  704. levelOneChildren(t) {
  705. return levelOneChildren(t);
  706. },
  707. levelTwoChildren(t) {
  708. return levelTwoChildren(t);
  709. },
  710. initOptions() {
  711. return q(this, null, function* () {
  712. this.options = yield getOfficeTreeData();
  713. });
  714. },
  715. handDrawerConfirm() {
  716. this.$message.success("点击了确定");
  717. },
  718. showMessage(t) {
  719. const e = typeof t == "object" ? t.method : t, o = k({
  720. method: e,
  721. content: `${t.content || e}`
  722. }, t);
  723. o.key || (o.key = "1"), o.method === "destroy" ? this.$message[o.method](o.key) : this.$message[o.method](o);
  724. },
  725. showNotice(t) {
  726. const e = typeof t == "object" ? t : {
  727. method: t
  728. };
  729. e.key || (e.key = "1"), e.method === "close" && this.$notice.close(e.key), this.$notice[e.method]({
  730. key: e.key,
  731. message: e.message || "提示",
  732. description: e.description || `点击了【${e.method}】按钮`
  733. });
  734. },
  735. showModal(t) {
  736. let e = {};
  737. typeof t == "object" ? e = t : e = {
  738. method: t
  739. };
  740. const o = k({
  741. title: e.method,
  742. content: h("div", {}, ["测试modal确认框"]),
  743. onOk() {
  744. console.log("ok");
  745. }
  746. }, e);
  747. this.$modal[e.method](o);
  748. },
  749. handUserChange(t, e, o) {
  750. this.userValue = e, this.userIds = o;
  751. },
  752. resultFn(str, data) {
  753. for (var reg = /\{(.+?)\}/, reg_g = /\{(.+?)\}/g, result = str.match(reg_g) || [], i = 0; i < result.length; i++) {
  754. var item = result[i];
  755. const t = item.match(reg)[1], e = get(data, t);
  756. str = str.replace(`{${t}}`, e);
  757. }
  758. try {
  759. return eval(str);
  760. } catch (t) {
  761. return console.log(t), !1;
  762. }
  763. }
  764. },
  765. mounted() {
  766. this.initOptions();
  767. const t = {
  768. amount: 3,
  769. answer: "option2",
  770. recordMap: {
  771. name: "张三1"
  772. }
  773. };
  774. this.resultFn("'{amount}' > 1 && '{recordMap.name}' === '张三1'", t);
  775. }
  776. }, _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" };
  777. function _sfc_render(t, e, o, d, n, l) {
  778. const p = resolveComponent("router-link"), _ = __unplugin_components_2, m = __unplugin_components_5, r = Button, V = resolveComponent("s-drawer"), x = resolveComponent("s-modal"), v = resolveComponent("s-icon-select"), u = resolveComponent("s-icon-modal"), c = resolveComponent("s-icon"), f = resolveComponent("s-office-select"), C = resolveComponent("s-user-select"), b = resolveComponent("s-cascader"), M = resolveComponent("s-tree"), I = resolveComponent("s-tree-select"), E = resolveComponent("s-editor"), g = resolveComponent("s-empty"), S = resolveComponent("s-file-upload"), N = resolveComponent("s-copper-upload"), B = resolveComponent("s-dragger-upload"), $ = Card;
  779. return openBlock(), createElementBlock("div", _hoisted_1, [
  780. createVNode($, { title: "代办页" }, {
  781. default: withCtx(() => [
  782. createVNode(m, null, {
  783. default: withCtx(() => [
  784. createVNode(_, { span: 2 }, {
  785. default: withCtx(() => [
  786. createVNode(p, { to: "/workbench/index" }, {
  787. default: withCtx(() => [
  788. createTextVNode(toDisplayString(t.$l("工作台", "workbench")), 1)
  789. ]),
  790. _: 1
  791. })
  792. ]),
  793. _: 1
  794. }),
  795. createVNode(_, { span: 2 }, {
  796. default: withCtx(() => [
  797. createVNode(p, { to: "/housing/listings" }, {
  798. default: withCtx(() => [
  799. createTextVNode(toDisplayString(t.$l("业务页", "business")), 1)
  800. ]),
  801. _: 1
  802. })
  803. ]),
  804. _: 1
  805. })
  806. ]),
  807. _: 1
  808. }),
  809. createElementVNode("div", _hoisted_2, [
  810. e[74] || (e[74] = createElementVNode("div", { class: "mb-20" }, [
  811. createTextVNode(" this.$modal.xxxx(config) || window.$modal.xxxx(config); "),
  812. createElementVNode("br")
  813. ], -1)),
  814. createElementVNode("div", _hoisted_3, [
  815. createElementVNode("div", _hoisted_4, [
  816. createVNode(r, {
  817. onClick: e[0] || (e[0] = (s) => l.showModal({ method: "success" }))
  818. }, {
  819. default: withCtx(() => [...e[31] || (e[31] = [
  820. createTextVNode(" success ", -1)
  821. ])]),
  822. _: 1
  823. })
  824. ]),
  825. createElementVNode("div", _hoisted_5, [
  826. createVNode(r, {
  827. onClick: e[1] || (e[1] = (s) => l.showModal("error"))
  828. }, {
  829. default: withCtx(() => [...e[32] || (e[32] = [
  830. createTextVNode("error", -1)
  831. ])]),
  832. _: 1
  833. })
  834. ]),
  835. createElementVNode("div", _hoisted_6, [
  836. createVNode(r, {
  837. onClick: e[2] || (e[2] = (s) => l.showModal("info"))
  838. }, {
  839. default: withCtx(() => [...e[33] || (e[33] = [
  840. createTextVNode("info", -1)
  841. ])]),
  842. _: 1
  843. })
  844. ]),
  845. createElementVNode("div", _hoisted_7, [
  846. createVNode(r, {
  847. onClick: e[3] || (e[3] = (s) => l.showModal("warning"))
  848. }, {
  849. default: withCtx(() => [...e[34] || (e[34] = [
  850. createTextVNode("warning", -1)
  851. ])]),
  852. _: 1
  853. })
  854. ])
  855. ]),
  856. e[75] || (e[75] = createElementVNode("div", { class: "mb-20" }, "this.$notice.xxxx(config) || window.$notice.xxxx(config)", -1)),
  857. createElementVNode("div", _hoisted_8, [
  858. createElementVNode("div", _hoisted_9, [
  859. createVNode(r, {
  860. onClick: e[4] || (e[4] = (s) => l.showNotice({ method: "success" }))
  861. }, {
  862. default: withCtx(() => [...e[35] || (e[35] = [
  863. createTextVNode("success", -1)
  864. ])]),
  865. _: 1
  866. })
  867. ]),
  868. createElementVNode("div", _hoisted_10, [
  869. createVNode(r, {
  870. onClick: e[5] || (e[5] = (s) => l.showNotice("error"))
  871. }, {
  872. default: withCtx(() => [...e[36] || (e[36] = [
  873. createTextVNode("error", -1)
  874. ])]),
  875. _: 1
  876. })
  877. ]),
  878. createElementVNode("div", _hoisted_11, [
  879. createVNode(r, {
  880. onClick: e[6] || (e[6] = (s) => l.showNotice("info"))
  881. }, {
  882. default: withCtx(() => [...e[37] || (e[37] = [
  883. createTextVNode("info", -1)
  884. ])]),
  885. _: 1
  886. })
  887. ]),
  888. createElementVNode("div", _hoisted_12, [
  889. createVNode(r, {
  890. onClick: e[7] || (e[7] = (s) => l.showNotice("warn"))
  891. }, {
  892. default: withCtx(() => [...e[38] || (e[38] = [
  893. createTextVNode("warn", -1)
  894. ])]),
  895. _: 1
  896. })
  897. ]),
  898. createElementVNode("div", _hoisted_13, [
  899. createVNode(r, {
  900. onClick: e[8] || (e[8] = (s) => l.showNotice("open"))
  901. }, {
  902. default: withCtx(() => [...e[39] || (e[39] = [
  903. createTextVNode("open", -1)
  904. ])]),
  905. _: 1
  906. })
  907. ]),
  908. createElementVNode("div", _hoisted_14, [
  909. createVNode(r, {
  910. onClick: e[9] || (e[9] = (s) => l.showNotice("close"))
  911. }, {
  912. default: withCtx(() => [...e[40] || (e[40] = [
  913. createTextVNode("close open", -1)
  914. ])]),
  915. _: 1
  916. })
  917. ])
  918. ]),
  919. e[76] || (e[76] = createElementVNode("div", { class: "mb-20" }, "this.$message.xxxx(config) || window.$message.xxxx(config)", -1)),
  920. createElementVNode("div", _hoisted_15, [
  921. createElementVNode("div", _hoisted_16, [
  922. createVNode(r, {
  923. onClick: e[10] || (e[10] = (s) => l.showMessage("success"))
  924. }, {
  925. default: withCtx(() => [...e[41] || (e[41] = [
  926. createTextVNode("success", -1)
  927. ])]),
  928. _: 1
  929. })
  930. ]),
  931. createElementVNode("div", _hoisted_17, [
  932. createVNode(r, {
  933. onClick: e[11] || (e[11] = (s) => l.showMessage("error"))
  934. }, {
  935. default: withCtx(() => [...e[42] || (e[42] = [
  936. createTextVNode("error", -1)
  937. ])]),
  938. _: 1
  939. })
  940. ]),
  941. createElementVNode("div", _hoisted_18, [
  942. createVNode(r, {
  943. onClick: e[12] || (e[12] = (s) => l.showMessage("info"))
  944. }, {
  945. default: withCtx(() => [...e[43] || (e[43] = [
  946. createTextVNode("info", -1)
  947. ])]),
  948. _: 1
  949. })
  950. ]),
  951. createElementVNode("div", _hoisted_19, [
  952. createVNode(r, {
  953. onClick: e[13] || (e[13] = (s) => l.showMessage("warn"))
  954. }, {
  955. default: withCtx(() => [...e[44] || (e[44] = [
  956. createTextVNode("warn", -1)
  957. ])]),
  958. _: 1
  959. })
  960. ]),
  961. createElementVNode("div", _hoisted_20, [
  962. createVNode(r, {
  963. onClick: e[14] || (e[14] = (s) => l.showMessage("loading"))
  964. }, {
  965. default: withCtx(() => [...e[45] || (e[45] = [
  966. createTextVNode("loading", -1)
  967. ])]),
  968. _: 1
  969. })
  970. ]),
  971. createElementVNode("div", _hoisted_21, [
  972. createVNode(r, {
  973. onClick: e[15] || (e[15] = (s) => l.showMessage("destroy"))
  974. }, {
  975. default: withCtx(() => [...e[46] || (e[46] = [
  976. createTextVNode("close message", -1)
  977. ])]),
  978. _: 1
  979. })
  980. ])
  981. ]),
  982. createElementVNode("div", _hoisted_22, [
  983. createElementVNode("div", _hoisted_23, [
  984. e[49] || (e[49] = createElementVNode("div", { class: "title mb-20" }, "抽屉组件 - footer默认模式", -1)),
  985. createElementVNode("div", _hoisted_24, [
  986. createVNode(r, {
  987. onClick: e[16] || (e[16] = (s) => n.drawer1Visible = !0)
  988. }, {
  989. default: withCtx(() => [...e[47] || (e[47] = [
  990. createTextVNode("打开抽屉", -1)
  991. ])]),
  992. _: 1
  993. }),
  994. createVNode(V, {
  995. value: n.drawer1Visible,
  996. "onUpdate:value": e[17] || (e[17] = (s) => n.drawer1Visible = s),
  997. footer: "",
  998. onConfirm: l.handDrawerConfirm,
  999. title: "抽屉组件"
  1000. }, {
  1001. default: withCtx(() => [...e[48] || (e[48] = [
  1002. createElementVNode("div", { class: "content" }, "抽屉中得内容", -1)
  1003. ])]),
  1004. _: 1
  1005. }, 8, ["value", "onConfirm"])
  1006. ])
  1007. ]),
  1008. createElementVNode("div", _hoisted_25, [
  1009. e[54] || (e[54] = createElementVNode("div", { class: "title mb-20" }, "抽屉组件 - footer插槽模式", -1)),
  1010. createElementVNode("div", _hoisted_26, [
  1011. createVNode(r, {
  1012. onClick: e[18] || (e[18] = (s) => n.drawerVisible = !0)
  1013. }, {
  1014. default: withCtx(() => [...e[50] || (e[50] = [
  1015. createTextVNode("打开抽屉", -1)
  1016. ])]),
  1017. _: 1
  1018. }),
  1019. createVNode(V, {
  1020. value: n.drawerVisible,
  1021. "onUpdate:value": e[19] || (e[19] = (s) => n.drawerVisible = s),
  1022. title: "抽屉组件"
  1023. }, {
  1024. footer: withCtx(() => [
  1025. createVNode(r, null, {
  1026. default: withCtx(() => [...e[51] || (e[51] = [
  1027. createTextVNode("取消", -1)
  1028. ])]),
  1029. _: 1
  1030. }),
  1031. createVNode(r, { type: "primary" }, {
  1032. default: withCtx(() => [...e[52] || (e[52] = [
  1033. createTextVNode("确定", -1)
  1034. ])]),
  1035. _: 1
  1036. })
  1037. ]),
  1038. default: withCtx(() => [
  1039. e[53] || (e[53] = createElementVNode("div", { class: "content" }, "抽屉中得内容", -1))
  1040. ]),
  1041. _: 1
  1042. }, 8, ["value"])
  1043. ])
  1044. ]),
  1045. createElementVNode("div", _hoisted_27, [
  1046. e[56] || (e[56] = createElementVNode("div", { class: "title mb-20" }, "可拖拽可全屏弹窗Modal", -1)),
  1047. createElementVNode("div", _hoisted_28, [
  1048. createVNode(r, {
  1049. onClick: e[20] || (e[20] = (s) => n.modalVisible = !0)
  1050. }, {
  1051. default: withCtx(() => [...e[55] || (e[55] = [
  1052. createTextVNode("打开弹窗", -1)
  1053. ])]),
  1054. _: 1
  1055. }),
  1056. createVNode(x, {
  1057. value: n.modalVisible,
  1058. "onUpdate:value": e[21] || (e[21] = (s) => n.modalVisible = s),
  1059. title: "弹窗组件"
  1060. }, null, 8, ["value"])
  1061. ])
  1062. ])
  1063. ]),
  1064. createElementVNode("div", _hoisted_29, [
  1065. createElementVNode("div", _hoisted_30, [
  1066. e[57] || (e[57] = createElementVNode("div", { class: "title mb-20" }, "icon下拉列表", -1)),
  1067. createElementVNode("div", _hoisted_31, [
  1068. createVNode(v, { width: 300 })
  1069. ])
  1070. ]),
  1071. createElementVNode("div", _hoisted_32, [
  1072. e[59] || (e[59] = createElementVNode("div", { class: "title mb-20" }, "Icon弹窗组件", -1)),
  1073. createVNode(r, {
  1074. onClick: e[22] || (e[22] = (s) => n.iconModalVisible = !0)
  1075. }, {
  1076. default: withCtx(() => [...e[58] || (e[58] = [
  1077. createTextVNode("查看图标", -1)
  1078. ])]),
  1079. _: 1
  1080. }),
  1081. createVNode(u, {
  1082. value: n.iconModalVisible,
  1083. "onUpdate:value": e[23] || (e[23] = (s) => n.iconModalVisible = s)
  1084. }, null, 8, ["value"])
  1085. ]),
  1086. createElementVNode("div", _hoisted_33, [
  1087. e[60] || (e[60] = createElementVNode("div", { class: "title mb-20" }, "icon组件 默认size 16px, color 为主题色", -1)),
  1088. createElementVNode("div", _hoisted_34, [
  1089. createVNode(c, {
  1090. name: "AccountBookFilled",
  1091. size: 32,
  1092. color: "red"
  1093. })
  1094. ])
  1095. ])
  1096. ]),
  1097. createElementVNode("div", _hoisted_35, [
  1098. createElementVNode("div", _hoisted_36, [
  1099. createElementVNode("div", _hoisted_37, [
  1100. e[61] || (e[61] = createElementVNode("div", { class: "title mb-20" }, "岗位选择", -1)),
  1101. createElementVNode("div", _hoisted_38, [
  1102. createVNode(f, {
  1103. onChange: l.handUserChange,
  1104. ids: n.userIds,
  1105. "onUpdate:ids": e[24] || (e[24] = (s) => n.userIds = s),
  1106. names: n.userValue,
  1107. "onUpdate:names": e[25] || (e[25] = (s) => n.userValue = s)
  1108. }, null, 8, ["onChange", "ids", "names"])
  1109. ])
  1110. ])
  1111. ]),
  1112. createElementVNode("div", _hoisted_39, [
  1113. createElementVNode("div", _hoisted_40, [
  1114. e[62] || (e[62] = createElementVNode("div", { class: "title mb-20" }, "人员选择", -1)),
  1115. createElementVNode("div", _hoisted_41, [
  1116. createVNode(C, {
  1117. onChange: l.handUserChange,
  1118. ids: n.userIds,
  1119. "onUpdate:ids": e[26] || (e[26] = (s) => n.userIds = s),
  1120. names: n.userValue,
  1121. "onUpdate:names": e[27] || (e[27] = (s) => n.userValue = s)
  1122. }, null, 8, ["onChange", "ids", "names"])
  1123. ])
  1124. ])
  1125. ]),
  1126. createElementVNode("div", _hoisted_42, [
  1127. createElementVNode("div", _hoisted_43, [
  1128. e[63] || (e[63] = createElementVNode("div", { class: "title mb-20" }, "联级选择", -1)),
  1129. createElementVNode("div", _hoisted_44, [
  1130. createVNode(b, { options: n.options }, null, 8, ["options"])
  1131. ])
  1132. ])
  1133. ])
  1134. ]),
  1135. createElementVNode("div", _hoisted_45, [
  1136. e[64] || (e[64] = createElementVNode("div", { class: "title mb-20" }, "tree树", -1)),
  1137. createElementVNode("div", _hoisted_46, [
  1138. createVNode(M, {
  1139. levelOneChildren: l.levelOneChildren,
  1140. levelTwoChildren: l.levelTwoChildren,
  1141. modelValue: n.treeValue,
  1142. "onUpdate:modelValue": e[28] || (e[28] = (s) => n.treeValue = s)
  1143. }, null, 8, ["levelOneChildren", "levelTwoChildren", "modelValue"])
  1144. ])
  1145. ]),
  1146. createElementVNode("div", _hoisted_47, [
  1147. e[65] || (e[65] = createElementVNode("div", { class: "title mb-20" }, "下拉树", -1)),
  1148. createElementVNode("div", _hoisted_48, [
  1149. createVNode(I, {
  1150. modelValue: n.treeSelectValue,
  1151. "onUpdate:modelValue": e[29] || (e[29] = (s) => n.treeSelectValue = s),
  1152. recursionChildren: l.recursionChildren
  1153. }, null, 8, ["modelValue", "recursionChildren"])
  1154. ])
  1155. ]),
  1156. createElementVNode("div", _hoisted_49, [
  1157. e[66] || (e[66] = createElementVNode("div", { class: "title mb-20" }, "富文本", -1)),
  1158. createVNode(E, {
  1159. modelValue: n.content,
  1160. "onUpdate:modelValue": e[30] || (e[30] = (s) => n.content = s)
  1161. }, null, 8, ["modelValue"])
  1162. ]),
  1163. e[77] || (e[77] = createElementVNode("div", { class: "title mb-20" }, "空数据组件", -1)),
  1164. createElementVNode("div", _hoisted_50, [
  1165. createElementVNode("div", _hoisted_51, [
  1166. e[67] || (e[67] = createElementVNode("div", { class: "item-title" }, "默认", -1)),
  1167. createElementVNode("div", _hoisted_52, [
  1168. createVNode(g)
  1169. ])
  1170. ]),
  1171. createElementVNode("div", _hoisted_53, [
  1172. e[68] || (e[68] = createElementVNode("div", { class: "item-title" }, "无描述", -1)),
  1173. createElementVNode("div", _hoisted_54, [
  1174. createVNode(g, { desc: "" })
  1175. ])
  1176. ]),
  1177. createElementVNode("div", _hoisted_55, [
  1178. e[69] || (e[69] = createElementVNode("div", { class: "item-title" }, "第二种图标", -1)),
  1179. createElementVNode("div", _hoisted_56, [
  1180. createVNode(g, { type: "2" })
  1181. ])
  1182. ]),
  1183. createElementVNode("div", _hoisted_57, [
  1184. e[70] || (e[70] = createElementVNode("div", { class: "item-title" }, "自定义描述", -1)),
  1185. createElementVNode("div", _hoisted_58, [
  1186. createVNode(g, { desc: "没有数据" })
  1187. ])
  1188. ]),
  1189. createElementVNode("div", _hoisted_59, [
  1190. e[72] || (e[72] = createElementVNode("div", { class: "item-title" }, "自定义插槽描述", -1)),
  1191. createElementVNode("div", _hoisted_60, [
  1192. createVNode(g, null, {
  1193. default: withCtx(() => [...e[71] || (e[71] = [
  1194. createTextVNode("无数据", -1)
  1195. ])]),
  1196. _: 1
  1197. })
  1198. ])
  1199. ]),
  1200. createElementVNode("div", _hoisted_61, [
  1201. e[73] || (e[73] = createElementVNode("div", { class: "item-title" }, "自定义图标", -1)),
  1202. createElementVNode("div", _hoisted_62, [
  1203. createVNode(g, { icon: n.emptyIcon }, null, 8, ["icon"])
  1204. ])
  1205. ])
  1206. ]),
  1207. e[78] || (e[78] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  1208. createVNode(S, {
  1209. listType: "picture-card",
  1210. label: t.$l("卡片附件列表")
  1211. }, null, 8, ["label"]),
  1212. e[79] || (e[79] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  1213. createVNode(S, {
  1214. listType: "picture",
  1215. label: t.$l("行附件列表")
  1216. }, null, 8, ["label"]),
  1217. e[80] || (e[80] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  1218. createVNode(N, { label: "裁切上传附件列表" }),
  1219. e[81] || (e[81] = createElementVNode("div", { class: "mb-50" }, null, -1)),
  1220. createVNode(B, { label: "拖拽上传附件列表" })
  1221. ])
  1222. ]),
  1223. _: 1
  1224. })
  1225. ]);
  1226. }
  1227. const todo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5e5fc79b"]]);
  1228. export {
  1229. todo as default
  1230. };