todo.js 43 KB

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