todo.js 44 KB

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