qidian-vue-ui 1.1.21 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (568) hide show
  1. package/package.json +1 -1
  2. package/dist/_virtual/_commonjsHelpers.mjs +0 -7
  3. package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
  4. package/dist/_virtual/_plugin-vue_export-helper.mjs +0 -11
  5. package/dist/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
  6. package/dist/_virtual/dayjs.min.mjs +0 -8
  7. package/dist/_virtual/dayjs.min.mjs.map +0 -1
  8. package/dist/_virtual/dayjs.min2.mjs +0 -5
  9. package/dist/_virtual/dayjs.min2.mjs.map +0 -1
  10. package/dist/components/auto-tooltip/index.d.ts +0 -2
  11. package/dist/components/auto-tooltip/index.vue.d.ts +0 -25
  12. package/dist/components/auto-tooltip/index.vue.mjs +0 -8
  13. package/dist/components/auto-tooltip/index.vue.mjs.map +0 -1
  14. package/dist/components/auto-tooltip/index.vue2.mjs +0 -81
  15. package/dist/components/auto-tooltip/index.vue2.mjs.map +0 -1
  16. package/dist/components/auto-tooltip/types.d.ts +0 -9
  17. package/dist/components/avatar/index.d.ts +0 -2
  18. package/dist/components/avatar/index.vue.d.ts +0 -17
  19. package/dist/components/avatar/index.vue.mjs +0 -8
  20. package/dist/components/avatar/index.vue.mjs.map +0 -1
  21. package/dist/components/avatar/index.vue2.mjs +0 -107
  22. package/dist/components/avatar/index.vue2.mjs.map +0 -1
  23. package/dist/components/avatar/props.d.ts +0 -5
  24. package/dist/components/avatar/props.mjs +0 -11
  25. package/dist/components/avatar/props.mjs.map +0 -1
  26. package/dist/components/avatar/types.d.ts +0 -9
  27. package/dist/components/card/index.d.ts +0 -2
  28. package/dist/components/card/index.vue.d.ts +0 -15
  29. package/dist/components/card/index.vue.mjs +0 -8
  30. package/dist/components/card/index.vue.mjs.map +0 -1
  31. package/dist/components/card/index.vue2.mjs +0 -89
  32. package/dist/components/card/index.vue2.mjs.map +0 -1
  33. package/dist/components/card/props.d.ts +0 -3
  34. package/dist/components/card/props.mjs +0 -7
  35. package/dist/components/card/props.mjs.map +0 -1
  36. package/dist/components/card/types.d.ts +0 -4
  37. package/dist/components/config-provider/config.d.ts +0 -8
  38. package/dist/components/config-provider/config.mjs +0 -15
  39. package/dist/components/config-provider/config.mjs.map +0 -1
  40. package/dist/components/config-provider/index.d.ts +0 -217
  41. package/dist/components/config-provider/index.mjs +0 -98
  42. package/dist/components/config-provider/index.mjs.map +0 -1
  43. package/dist/components/config-provider/types.d.ts +0 -82
  44. package/dist/components/config-provider/useConfig.d.ts +0 -241
  45. package/dist/components/config-provider/useConfig.mjs +0 -26
  46. package/dist/components/config-provider/useConfig.mjs.map +0 -1
  47. package/dist/components/config-renderer/compute.d.ts +0 -8
  48. package/dist/components/config-renderer/compute.mjs +0 -68
  49. package/dist/components/config-renderer/compute.mjs.map +0 -1
  50. package/dist/components/config-renderer/index.d.ts +0 -4
  51. package/dist/components/config-renderer/index.vue.d.ts +0 -7
  52. package/dist/components/config-renderer/index.vue.mjs +0 -126
  53. package/dist/components/config-renderer/index.vue.mjs.map +0 -1
  54. package/dist/components/config-renderer/index.vue2.mjs +0 -5
  55. package/dist/components/config-renderer/index.vue2.mjs.map +0 -1
  56. package/dist/components/config-renderer/types.d.ts +0 -39
  57. package/dist/components/config-renderer/utils.d.ts +0 -15
  58. package/dist/components/config-renderer/utils.mjs +0 -49
  59. package/dist/components/config-renderer/utils.mjs.map +0 -1
  60. package/dist/components/crud/define.d.ts +0 -5
  61. package/dist/components/crud/define.mjs +0 -11
  62. package/dist/components/crud/define.mjs.map +0 -1
  63. package/dist/components/crud/index.d.ts +0 -5
  64. package/dist/components/crud/list.vue.d.ts +0 -29
  65. package/dist/components/crud/list.vue.mjs +0 -8
  66. package/dist/components/crud/list.vue.mjs.map +0 -1
  67. package/dist/components/crud/list.vue2.mjs +0 -199
  68. package/dist/components/crud/list.vue2.mjs.map +0 -1
  69. package/dist/components/crud/props.d.ts +0 -70
  70. package/dist/components/crud/props.mjs +0 -37
  71. package/dist/components/crud/props.mjs.map +0 -1
  72. package/dist/components/crud/search.vue.d.ts +0 -44
  73. package/dist/components/crud/search.vue.mjs +0 -8
  74. package/dist/components/crud/search.vue.mjs.map +0 -1
  75. package/dist/components/crud/search.vue2.mjs +0 -98
  76. package/dist/components/crud/search.vue2.mjs.map +0 -1
  77. package/dist/components/crud/table.vue.d.ts +0 -35
  78. package/dist/components/crud/table.vue.mjs +0 -8
  79. package/dist/components/crud/table.vue.mjs.map +0 -1
  80. package/dist/components/crud/table.vue2.mjs +0 -1041
  81. package/dist/components/crud/table.vue2.mjs.map +0 -1
  82. package/dist/components/crud/types.d.ts +0 -70
  83. package/dist/components/dialog/form.vue.d.ts +0 -22
  84. package/dist/components/dialog/form.vue.mjs +0 -175
  85. package/dist/components/dialog/form.vue.mjs.map +0 -1
  86. package/dist/components/dialog/form.vue2.mjs +0 -5
  87. package/dist/components/dialog/form.vue2.mjs.map +0 -1
  88. package/dist/components/dialog/index.d.ts +0 -3
  89. package/dist/components/dialog/index.vue.d.ts +0 -35
  90. package/dist/components/dialog/index.vue.mjs +0 -111
  91. package/dist/components/dialog/index.vue.mjs.map +0 -1
  92. package/dist/components/dialog/index.vue3.mjs +0 -6
  93. package/dist/components/dialog/index.vue3.mjs.map +0 -1
  94. package/dist/components/dialog/props.d.ts +0 -58
  95. package/dist/components/dialog/props.mjs +0 -26
  96. package/dist/components/dialog/props.mjs.map +0 -1
  97. package/dist/components/dialog/types.d.ts +0 -18
  98. package/dist/components/dict/checkbox-group.vue.d.ts +0 -15
  99. package/dist/components/dict/checkbox-group.vue.mjs +0 -8
  100. package/dist/components/dict/checkbox-group.vue.mjs.map +0 -1
  101. package/dist/components/dict/checkbox-group.vue2.mjs +0 -78
  102. package/dist/components/dict/checkbox-group.vue2.mjs.map +0 -1
  103. package/dist/components/dict/index.d.ts +0 -5
  104. package/dist/components/dict/props.d.ts +0 -32
  105. package/dist/components/dict/props.mjs +0 -40
  106. package/dist/components/dict/props.mjs.map +0 -1
  107. package/dist/components/dict/radio-group.vue.d.ts +0 -13
  108. package/dist/components/dict/radio-group.vue.mjs +0 -8
  109. package/dist/components/dict/radio-group.vue.mjs.map +0 -1
  110. package/dist/components/dict/radio-group.vue2.mjs +0 -60
  111. package/dist/components/dict/radio-group.vue2.mjs.map +0 -1
  112. package/dist/components/dict/select.vue.d.ts +0 -31
  113. package/dist/components/dict/select.vue.mjs +0 -166
  114. package/dist/components/dict/select.vue.mjs.map +0 -1
  115. package/dist/components/dict/select.vue2.mjs +0 -5
  116. package/dist/components/dict/select.vue2.mjs.map +0 -1
  117. package/dist/components/dict/tag.vue.d.ts +0 -40
  118. package/dist/components/dict/tag.vue.mjs +0 -8
  119. package/dist/components/dict/tag.vue.mjs.map +0 -1
  120. package/dist/components/dict/tag.vue2.mjs +0 -98
  121. package/dist/components/dict/tag.vue2.mjs.map +0 -1
  122. package/dist/components/dict/types.d.ts +0 -22
  123. package/dist/components/form/config.d.ts +0 -3
  124. package/dist/components/form/config.mjs +0 -5
  125. package/dist/components/form/config.mjs.map +0 -1
  126. package/dist/components/form/index.d.ts +0 -5
  127. package/dist/components/form/index.vue.d.ts +0 -30
  128. package/dist/components/form/index.vue.mjs +0 -187
  129. package/dist/components/form/index.vue.mjs.map +0 -1
  130. package/dist/components/form/index.vue2.mjs +0 -5
  131. package/dist/components/form/index.vue2.mjs.map +0 -1
  132. package/dist/components/form/item.vue.d.ts +0 -23
  133. package/dist/components/form/item.vue.mjs +0 -8
  134. package/dist/components/form/item.vue.mjs.map +0 -1
  135. package/dist/components/form/item.vue2.mjs +0 -106
  136. package/dist/components/form/item.vue2.mjs.map +0 -1
  137. package/dist/components/form/props.d.ts +0 -45
  138. package/dist/components/form/props.mjs +0 -43
  139. package/dist/components/form/props.mjs.map +0 -1
  140. package/dist/components/form/types.d.ts +0 -26
  141. package/dist/components/grid/config.d.ts +0 -15
  142. package/dist/components/grid/config.mjs +0 -27
  143. package/dist/components/grid/config.mjs.map +0 -1
  144. package/dist/components/grid/index.d.ts +0 -4
  145. package/dist/components/grid/index.vue.d.ts +0 -19
  146. package/dist/components/grid/index.vue.mjs +0 -8
  147. package/dist/components/grid/index.vue.mjs.map +0 -1
  148. package/dist/components/grid/index.vue2.mjs +0 -58
  149. package/dist/components/grid/index.vue2.mjs.map +0 -1
  150. package/dist/components/grid/item.vue.d.ts +0 -18
  151. package/dist/components/grid/item.vue.mjs +0 -8
  152. package/dist/components/grid/item.vue.mjs.map +0 -1
  153. package/dist/components/grid/item.vue2.mjs +0 -73
  154. package/dist/components/grid/item.vue2.mjs.map +0 -1
  155. package/dist/components/grid/types.d.ts +0 -12
  156. package/dist/components/index.d.ts +0 -14
  157. package/dist/components/office/index.d.ts +0 -1
  158. package/dist/components/office/pdf/config.d.ts +0 -6
  159. package/dist/components/office/pdf/config.mjs +0 -9
  160. package/dist/components/office/pdf/config.mjs.map +0 -1
  161. package/dist/components/office/pdf/hooks/useZoom.d.ts +0 -21
  162. package/dist/components/office/pdf/hooks/useZoom.mjs +0 -200
  163. package/dist/components/office/pdf/hooks/useZoom.mjs.map +0 -1
  164. package/dist/components/office/pdf/index.d.ts +0 -2
  165. package/dist/components/office/pdf/index.vue.d.ts +0 -11
  166. package/dist/components/office/pdf/index.vue.mjs +0 -8
  167. package/dist/components/office/pdf/index.vue.mjs.map +0 -1
  168. package/dist/components/office/pdf/index.vue2.mjs +0 -322
  169. package/dist/components/office/pdf/index.vue2.mjs.map +0 -1
  170. package/dist/components/office/pdf/types.d.ts +0 -17
  171. package/dist/components/org/index.d.ts +0 -2
  172. package/dist/components/org/select/index.vue.d.ts +0 -28
  173. package/dist/components/org/select/index.vue.mjs +0 -273
  174. package/dist/components/org/select/index.vue.mjs.map +0 -1
  175. package/dist/components/org/select/index.vue3.mjs +0 -6
  176. package/dist/components/org/select/index.vue3.mjs.map +0 -1
  177. package/dist/components/org/select/props.d.ts +0 -22
  178. package/dist/components/org/select/props.mjs +0 -19
  179. package/dist/components/org/select/props.mjs.map +0 -1
  180. package/dist/components/org/select/types.d.ts +0 -22
  181. package/dist/components/service/index.d.ts +0 -4
  182. package/dist/components/service/list.vue.d.ts +0 -26
  183. package/dist/components/service/list.vue.mjs +0 -8
  184. package/dist/components/service/list.vue.mjs.map +0 -1
  185. package/dist/components/service/list.vue2.mjs +0 -251
  186. package/dist/components/service/list.vue2.mjs.map +0 -1
  187. package/dist/components/service/props.d.ts +0 -58
  188. package/dist/components/service/props.mjs +0 -66
  189. package/dist/components/service/props.mjs.map +0 -1
  190. package/dist/components/service/select.vue.d.ts +0 -30
  191. package/dist/components/service/select.vue.mjs +0 -8
  192. package/dist/components/service/select.vue.mjs.map +0 -1
  193. package/dist/components/service/select.vue2.mjs +0 -407
  194. package/dist/components/service/select.vue2.mjs.map +0 -1
  195. package/dist/components/service/table.vue.d.ts +0 -29
  196. package/dist/components/service/table.vue.mjs +0 -8
  197. package/dist/components/service/table.vue.mjs.map +0 -1
  198. package/dist/components/service/table.vue2.mjs +0 -693
  199. package/dist/components/service/table.vue2.mjs.map +0 -1
  200. package/dist/components/service/types.d.ts +0 -44
  201. package/dist/components/upload/config.d.ts +0 -4
  202. package/dist/components/upload/config.mjs +0 -37
  203. package/dist/components/upload/config.mjs.map +0 -1
  204. package/dist/components/upload/index.d.ts +0 -3
  205. package/dist/components/upload/index.vue.d.ts +0 -21
  206. package/dist/components/upload/index.vue.mjs +0 -8
  207. package/dist/components/upload/index.vue.mjs.map +0 -1
  208. package/dist/components/upload/index.vue2.mjs +0 -526
  209. package/dist/components/upload/index.vue2.mjs.map +0 -1
  210. package/dist/components/upload/props.d.ts +0 -27
  211. package/dist/components/upload/props.mjs +0 -32
  212. package/dist/components/upload/props.mjs.map +0 -1
  213. package/dist/components/upload/types.d.ts +0 -43
  214. package/dist/directive/hasPermi.d.ts +0 -12
  215. package/dist/directive/hasPermi.mjs +0 -33
  216. package/dist/directive/hasPermi.mjs.map +0 -1
  217. package/dist/directive/hasRole.d.ts +0 -12
  218. package/dist/directive/hasRole.mjs +0 -33
  219. package/dist/directive/hasRole.mjs.map +0 -1
  220. package/dist/directive/index.d.ts +0 -2
  221. package/dist/hooks/index.d.ts +0 -6
  222. package/dist/hooks/useAgentChat/index.d.ts +0 -15
  223. package/dist/hooks/useAgentChat/index.mjs +0 -202
  224. package/dist/hooks/useAgentChat/index.mjs.map +0 -1
  225. package/dist/hooks/useAgentChat/types.d.ts +0 -46
  226. package/dist/hooks/useDict/index.d.ts +0 -18
  227. package/dist/hooks/useDict/index.mjs +0 -137
  228. package/dist/hooks/useDict/index.mjs.map +0 -1
  229. package/dist/hooks/useDict/types.d.ts +0 -13
  230. package/dist/hooks/useDisabled.d.ts +0 -5
  231. package/dist/hooks/useDisabled.mjs +0 -18
  232. package/dist/hooks/useDisabled.mjs.map +0 -1
  233. package/dist/hooks/useModal.d.ts +0 -35
  234. package/dist/hooks/useModal.mjs +0 -179
  235. package/dist/hooks/useModal.mjs.map +0 -1
  236. package/dist/hooks/useReadonly.d.ts +0 -5
  237. package/dist/hooks/useReadonly.mjs +0 -18
  238. package/dist/hooks/useReadonly.mjs.map +0 -1
  239. package/dist/hooks/useUserAvatar/index.d.ts +0 -5
  240. package/dist/hooks/useUserAvatar/index.mjs +0 -38
  241. package/dist/hooks/useUserAvatar/index.mjs.map +0 -1
  242. package/dist/hooks/useUserAvatar/types.d.ts +0 -3
  243. package/dist/index.d.ts +0 -5
  244. package/dist/index.mjs +0 -99
  245. package/dist/index.mjs.map +0 -1
  246. package/dist/locales/en-US.d.ts +0 -316
  247. package/dist/locales/en-US.mjs +0 -71
  248. package/dist/locales/en-US.mjs.map +0 -1
  249. package/dist/locales/zh-CN.d.ts +0 -316
  250. package/dist/locales/zh-CN.mjs +0 -68
  251. package/dist/locales/zh-CN.mjs.map +0 -1
  252. package/dist/locales/zh-TW.d.ts +0 -316
  253. package/dist/locales/zh-TW.mjs +0 -68
  254. package/dist/locales/zh-TW.mjs.map +0 -1
  255. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs +0 -90
  256. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs +0 -110
  258. package/dist/node_modules/.pnpm/@microsoft_fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.mjs.map +0 -1
  259. package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -62
  260. package/dist/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs.map +0 -1
  261. package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -67
  262. package/dist/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs +0 -287
  264. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/dayjs.min.mjs.map +0 -1
  265. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -7
  266. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs.map +0 -1
  267. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -22
  268. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -22
  270. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs.map +0 -1
  271. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -7
  272. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs.map +0 -1
  273. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -22
  274. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -7
  276. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs.map +0 -1
  277. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -7
  278. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs.map +0 -1
  279. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -19
  280. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -6
  282. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs.map +0 -1
  283. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -6
  284. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs.map +0 -1
  285. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -7
  286. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -17
  288. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs.map +0 -1
  289. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -13
  290. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs.map +0 -1
  291. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -14
  292. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -25
  294. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs.map +0 -1
  295. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -11
  296. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs.map +0 -1
  297. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -11
  298. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -11
  300. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs.map +0 -1
  301. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -14
  302. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs.map +0 -1
  303. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -14
  304. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -17
  306. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs.map +0 -1
  307. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -75
  308. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs.map +0 -1
  309. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -22
  310. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -6
  312. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs.map +0 -1
  313. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -14
  314. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs.map +0 -1
  315. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -10
  316. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -15
  318. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs.map +0 -1
  319. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -10
  320. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs.map +0 -1
  321. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -10
  322. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -23
  324. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs.map +0 -1
  325. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -10
  326. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs.map +0 -1
  327. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -15
  328. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs.map +0 -1
  329. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -20
  330. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs.map +0 -1
  331. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -21
  332. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs.map +0 -1
  333. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -28
  334. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs.map +0 -1
  335. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -62
  336. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs.map +0 -1
  337. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -10
  338. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs.map +0 -1
  339. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs +0 -32
  340. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.mjs.map +0 -1
  341. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -15
  342. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs.map +0 -1
  343. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -11
  344. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs.map +0 -1
  345. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -22
  346. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs.map +0 -1
  347. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -9
  348. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs.map +0 -1
  349. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -14
  350. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs.map +0 -1
  351. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -10
  352. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs.map +0 -1
  353. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -17
  354. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs.map +0 -1
  355. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -9
  356. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs.map +0 -1
  357. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -10
  358. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs.map +0 -1
  359. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -9
  360. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs.map +0 -1
  361. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -9
  362. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs.map +0 -1
  363. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -12
  364. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs.map +0 -1
  365. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -24
  366. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs.map +0 -1
  367. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -6
  368. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs.map +0 -1
  369. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -24
  370. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs.map +0 -1
  371. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -16
  372. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs.map +0 -1
  373. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -13
  374. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs.map +0 -1
  375. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -5
  376. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs.map +0 -1
  377. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -10
  378. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs.map +0 -1
  379. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -9
  380. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs.map +0 -1
  381. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -10
  382. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs.map +0 -1
  383. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -6
  384. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs.map +0 -1
  385. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -26
  386. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs.map +0 -1
  387. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -18
  388. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs.map +0 -1
  389. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -35
  390. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs.map +0 -1
  391. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -7
  392. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs.map +0 -1
  393. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -9
  394. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs.map +0 -1
  395. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -9
  396. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs.map +0 -1
  397. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -16
  398. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs.map +0 -1
  399. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -11
  400. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs.map +0 -1
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -12
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs.map +0 -1
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -14
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs.map +0 -1
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -44
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs.map +0 -1
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -10
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs.map +0 -1
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -11
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs.map +0 -1
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -18
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs.map +0 -1
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -17
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs.map +0 -1
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -8
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs.map +0 -1
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -12
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs.map +0 -1
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -9
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs.map +0 -1
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -8
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs.map +0 -1
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -21
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs.map +0 -1
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -9
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs.map +0 -1
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -8
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs.map +0 -1
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -15
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs.map +0 -1
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -15
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs.map +0 -1
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -10
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs.map +0 -1
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -8
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs.map +0 -1
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -8
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs.map +0 -1
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -11
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs.map +0 -1
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -16
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs.map +0 -1
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -6
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs.map +0 -1
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -6
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs.map +0 -1
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -13
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs.map +0 -1
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -19
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs.map +0 -1
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -9
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs.map +0 -1
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -9
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs.map +0 -1
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -22
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs.map +0 -1
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -7
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs.map +0 -1
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -13
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs.map +0 -1
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -7
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs.map +0 -1
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -21
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs.map +0 -1
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -9
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs.map +0 -1
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -9
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs.map +0 -1
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -7
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs.map +0 -1
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -7
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs.map +0 -1
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -23
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs.map +0 -1
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -17
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs.map +0 -1
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -12
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs.map +0 -1
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -19
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs.map +0 -1
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +0 -9
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs.map +0 -1
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -9
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs.map +0 -1
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -7
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs.map +0 -1
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -9
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs.map +0 -1
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -7
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs.map +0 -1
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -14
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs.map +0 -1
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -5
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs.map +0 -1
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -9
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs.map +0 -1
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -9
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs.map +0 -1
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +0 -10
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs.map +0 -1
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -12
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs.map +0 -1
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -14
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs.map +0 -1
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -8
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs.map +0 -1
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -9
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs.map +0 -1
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs +0 -10
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNumber.mjs.map +0 -1
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -8
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs.map +0 -1
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -7
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs.map +0 -1
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -23
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs.map +0 -1
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -9
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs.map +0 -1
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -10
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs.map +0 -1
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -9
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs.map +0 -1
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -10
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs.map +0 -1
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -10
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs.map +0 -1
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -23
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs.map +0 -1
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -9
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs.map +0 -1
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs +0 -8
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/set.mjs.map +0 -1
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -7
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs.map +0 -1
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -7
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs.map +0 -1
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -9
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs.map +0 -1
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -8
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs.map +0 -1
  541. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs +0 -25810
  542. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.mjs.map +0 -1
  543. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs +0 -5
  544. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.sandbox.mjs.map +0 -1
  545. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs +0 -5
  546. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/build/pdf.worker.mjs.map +0 -1
  547. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs +0 -8940
  548. package/dist/node_modules/.pnpm/pdfjs-dist@5.4.394/node_modules/pdfjs-dist/web/pdf_viewer.mjs.map +0 -1
  549. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs +0 -316
  550. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-0f6107c9.mjs.map +0 -1
  551. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs +0 -330
  552. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-4d4f98d8.mjs.map +0 -1
  553. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs +0 -10
  554. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-8c6ad426.mjs.map +0 -1
  555. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs +0 -17
  556. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/_chunks/dep-c68053ef.mjs.map +0 -1
  557. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs +0 -287
  558. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/en_US.mjs.map +0 -1
  559. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs +0 -328
  560. package/dist/node_modules/.pnpm/tdesign-vue-next@1.17.1_vue@3.5.22_typescript@5.9.3_/node_modules/tdesign-vue-next/es/locale/zh_TW.mjs.map +0 -1
  561. package/dist/qidian-vue-ui.css +0 -6054
  562. package/dist/utils/auth.d.ts +0 -6
  563. package/dist/utils/auth.mjs +0 -67
  564. package/dist/utils/auth.mjs.map +0 -1
  565. package/dist/utils/index.d.ts +0 -2
  566. package/dist/utils/time.d.ts +0 -2
  567. package/dist/utils/time.mjs +0 -30
  568. package/dist/utils/time.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.vue2.mjs","sources":["../../../src/components/crud/table.vue"],"sourcesContent":["<template>\n <div class=\"qd-crud-table\">\n <qd-crud-search\n v-if=\"reProps.searchOptions?.items?.length\"\n v-show=\"searchVisible\"\n ref=\"search\"\n v-model:data=\"searchData\"\n :class=\"[!searchVisible ? 'qd-crud-search--hide' : '']\"\n v-bind=\"reProps.searchOptions\"\n :on-submit=\"triggerSearch\"\n >\n <template #form-footer>\n <t-space align=\"center\" size=\"small\">\n <t-button type=\"submit\" @click=\"handleSearch\">{{ t('searchText') }}</t-button>\n <t-button variant=\"outline\" @click=\"handleResetSearch\">{{ t('resetText') }}</t-button>\n </t-space>\n </template>\n\n <template\n v-for=\"item in extractSlotsWithPrefix($slots, 'search')\"\n #[item.filterName]=\"slotProps\"\n >\n <slot :name=\"item.originalName\" v-bind=\"slotProps\" />\n </template>\n </qd-crud-search>\n\n <qd-card class=\"qd-crud-table__body\">\n <div class=\"qd-crud-table__toolbar\">\n <t-space align=\"center\" :size=\"0\">\n <slot name=\"actions\">\n <template v-for=\"(item, index) in reProps.actions\" :key=\"item.uid || index\">\n <span\n v-if=\"getActionSeparator(item, { index })\"\n class=\"qd-crud-table__toolbar-separator\"\n ></span>\n\n <qd-config-renderer\n v-hasPermi=\"item.permi\"\n fn-inject-ctx\n :context=\"getConfigRendererCtx(item)\"\n :config=\"{\n is: TButton,\n ...item,\n form: undefined,\n onClick: buildActionOnClick(item),\n disabled: buildActionDisabled(item)\n }\"\n @if-render-change=\"(ifRender) => setActionIfRender(ifRender, item)\"\n />\n </template>\n </slot>\n </t-space>\n\n <t-space align=\"center\" size=\"small\">\n <!-- 展开/收起搜索 -->\n <t-tooltip\n v-if=\"reProps.searchOptions?.items?.length\"\n :content=\"searchVisible ? t('collapseSearchText') : t('expandSearchText')\"\n >\n <t-button variant=\"text\" shape=\"square\" @click=\"toggleSearchVisible\">\n <template #icon><search-icon /></template>\n </t-button>\n </t-tooltip>\n\n <!-- 刷新列表 -->\n <t-tooltip :content=\"t('refreshText')\">\n <t-button variant=\"text\" shape=\"square\" @click=\"handleRefresh\">\n <template #icon><refresh-icon /></template>\n </t-button>\n </t-tooltip>\n\n <!-- 展开/收起树 -->\n <t-tooltip\n v-if=\"!isEmpty(reProps.serviceTableOptions.tree) && !reProps.serviceTableOptions.tree!.lazyLoad\"\n :content=\"treeIsExpand ? t('collapseTreeText') : t('expandTreeText')\"\n >\n <t-button variant=\"text\" shape=\"square\" @click=\"toggleTreeExpandAll\">\n <template #icon>\n <unfold-less-icon v-if=\"treeIsExpand\" />\n <unfold-more-icon v-else />\n </template>\n </t-button>\n </t-tooltip>\n\n <!-- 列配置 -->\n <t-tooltip\n v-if=\"reProps.serviceTableOptions.columnController?.hideTriggerButton !== true\"\n :content=\"t('columnControllerText')\"\n >\n <t-button variant=\"text\" shape=\"square\" @click=\"openColumnController\">\n <template #icon><setting-icon /></template>\n </t-button>\n </t-tooltip>\n </t-space>\n </div>\n\n <qd-service-table\n ref=\"table\"\n v-model:data=\"data\"\n v-model:selected-row-keys=\"selectedRowKeys\"\n v-model:active-row-keys=\"activeRowKeys\"\n v-model:column-controller-visible=\"columnControllerVisible\"\n v-model:display-columns=\"displayColumns\"\n v-model:expanded-row-keys=\"expandedRowKeys\"\n v-model:filter-value=\"filterValue\"\n v-model:sort=\"sort\"\n v-model:expanded-tree-nodes=\"expandedTreeNodes\"\n v-bind=\"reProps.serviceTableOptions\"\n >\n <template #operation=\"slotProps\">\n <slot name=\"table-operation\" v-bind=\"slotProps\">\n <t-space v-if=\"reProps.rowActions?.length\" align=\"center\" :size=\"0\" @click.stop>\n <template v-for=\"(item, index) in reProps.rowActions\">\n <t-divider\n v-if=\"\n getActionSeparator(item, {\n colIndex: slotProps.colIndex,\n rowIndex: slotProps.rowIndex,\n index\n })\n \"\n :key=\"`${slotProps.colIndex}.${slotProps.rowIndex}.${index}.divider`\"\n layout=\"vertical\"\n />\n\n <qd-config-renderer\n v-if=\"true\"\n :key=\"`${slotProps.colIndex}.${slotProps.rowIndex}.${index}.renderer`\"\n v-hasPermi=\"item.permi\"\n fn-inject-ctx\n :context=\"getConfigRendererCtx(item, slotProps)\"\n :config=\"{ is: TLink, ...item, onClick: buildActionOnClick(item, slotProps) }\"\n @if-render-change=\"\n (ifRender) =>\n setActionIfRender(ifRender, item, {\n colIndex: slotProps.colIndex,\n rowIndex: slotProps.rowIndex,\n index\n })\n \"\n />\n </template>\n </t-space>\n </slot>\n </template>\n\n <template\n v-for=\"item in extractSlotsWithPrefix($slots, 'table')\"\n #[item.filterName]=\"slotProps\"\n >\n <slot :name=\"item.originalName\" v-bind=\"slotProps\" />\n </template>\n </qd-service-table>\n </qd-card>\n\n <qd-config-renderer\n v-for=\"(dialogForm, uid) in dialogFormMap\"\n :key=\"uid\"\n :config=\"{\n is: QdDialogForm,\n ...dialogForm.form,\n vModelVisible: 'self.visible',\n vModelData: 'self.data',\n crudMode: dialogForm.crudMode\n }\"\n :context=\"getConfigRendererCtx(dialogForm)\"\n />\n </div>\n</template>\n\n<script\n setup\n lang=\"tsx\"\n generic=\"\n D extends TableRowData = TableRowData,\n R = unknown,\n P = ServicePageParams,\n TP = P,\n Pag extends ServicePagination = ServicePagination\n \"\n>\n import type { ShallowRef } from 'vue'\n import type { PrimaryTableCellParams, TableRowData, TableRowValue } from 'tdesign-vue-next'\n import type { ServiceMaybePageParams, ServicePageParams, ServicePagination } from 'qidian-shared'\n import type {\n QdCrudTableAction,\n QdCrudTableDeleteAction,\n QdCrudTableInstanceFunctions,\n QdCrudTableProps,\n QdCrudTableRowAction,\n QdCrudTableWrapper,\n TableDialogServiceRes\n } from './types'\n import type { QdServiceTableProps } from '../service'\n import type { QdFormSubmitContext } from '../form'\n\n import {\n computed,\n nextTick,\n reactive,\n useTemplateRef,\n ref,\n onMounted,\n shallowRef,\n triggerRef\n } from 'vue'\n import { useVModels } from '@vueuse/core'\n import {\n easyCopy,\n extractSlotsWithPrefix,\n generateRandomString,\n isEmpty,\n suspectedWrapperPromise,\n to\n } from 'qidian-shared'\n import { cloneDeep, merge } from 'lodash-es'\n import { qdCrudTableProps } from './props'\n import { hasPermiDirective } from '../../directive'\n import { useConfig } from '../config-provider/useConfig'\n\n import {\n Button as TButton,\n Link as TLink,\n Divider as TDivider,\n Space as TSpace,\n Tooltip as TTooltip\n } from 'tdesign-vue-next'\n import {\n AddIcon,\n RefreshIcon,\n SearchIcon,\n SettingIcon,\n UnfoldMoreIcon,\n UnfoldLessIcon\n } from 'tdesign-icons-vue-next'\n import { QdServiceTable } from '../service'\n import { QdDialogForm } from '../dialog'\n import QdCrudSearch from './search.vue'\n import { QdConfigRenderer } from '../config-renderer'\n import { QdCard } from '../card'\n\n import { useModal } from '../../hooks'\n import { qdServiceTableTreeConfig } from '../service/props'\n import { auth } from '../../utils'\n\n defineOptions({\n name: 'QdCrudTable'\n })\n\n const vHasPermi = hasPermiDirective\n\n type Props = QdCrudTableProps<D, R, P, TP, Pag>\n\n const props = withDefaults(defineProps<Props>(), qdCrudTableProps)\n const emit = defineEmits<{\n 'update:searchData': [Props['searchData']]\n\n 'update:data': [Props['data']]\n 'update:selectedRowKeys': [Props['selectedRowKeys']]\n 'update:activeRowKeys': [Props['activeRowKeys']]\n 'update:columnControllerVisible': [Props['columnControllerVisible']]\n 'update:displayColumns': [Props['displayColumns']]\n 'update:expandedRowKeys': [Props['expandedRowKeys']]\n 'update:filterValue': [Props['filterValue']]\n 'update:sort': [Props['sort']]\n 'update:expandedTreeNodes': [Props['expandedTreeNodes']]\n }>()\n const {\n searchData,\n\n data,\n selectedRowKeys,\n activeRowKeys,\n columnControllerVisible,\n displayColumns,\n expandedRowKeys,\n filterValue,\n sort,\n expandedTreeNodes\n } = useVModels<typeof props, keyof typeof emit>(props, emit, { passive: true })\n\n const { t } = useConfig('crud')\n const { msgError, msgSuccess, alertWarning, confirm } = useModal()\n\n const treeIsExpand = computed(() => !!expandedTreeNodes.value?.length)\n\n const dialogFormMap = reactive<\n Record<\n string,\n Pick<QdCrudTableWrapper, 'crudMode'> & {\n visible: boolean\n data?: unknown\n form: ShallowRef<NonNullable<QdCrudTableWrapper['form']>>\n }\n >\n >({})\n\n const rowActionsIfRenderMap = reactive<Record<string, boolean | undefined>>({})\n\n const reProps = computed(() => {\n const {\n data,\n searchData: inSearchData,\n selectedRowKeys,\n activeRowKeys,\n columnControllerVisible,\n displayColumns,\n expandedRowKeys,\n filterValue,\n sort,\n expandedTreeNodes,\n transformParams,\n\n search,\n form,\n detail,\n\n add,\n actions,\n\n edit,\n view,\n del,\n rowActions,\n\n title,\n columns,\n selectType,\n ...serviceTableOptions\n } = props\n\n const mergedTransformParams = (params: ServiceMaybePageParams<Pag>) => {\n const merged = { ...params, ...searchData.value } as ServiceMaybePageParams<Pag>\n if (transformParams) return transformParams(merged)\n return merged\n }\n\n const reAdd = mergeAction(\n { crudMode: 'add', permiID: 'add', content: t('addText'), icon: () => <AddIcon /> },\n add,\n form\n )\n const reActions = [reAdd, ...buildActions(actions, form)].filter(\n Boolean\n ) as QdCrudTableAction<D>[]\n\n const reEdit = mergeAction(\n {\n crudMode: 'edit',\n permiID: 'edit',\n content: t('editText'),\n theme: 'primary',\n hover: 'color'\n },\n edit,\n form\n )\n const reView = mergeAction(\n {\n crudMode: 'view',\n permiID: 'query',\n content: t('viewText'),\n theme: 'primary',\n hover: 'color'\n },\n view,\n form\n )\n const reDel = mergeAction(\n {\n crudMode: 'del',\n permiID: 'remove',\n content: t('deleteText'),\n theme: 'danger',\n hover: 'color',\n selectType: 'multiple'\n },\n del,\n form\n )\n const reRowActions = [reEdit, reView, reDel, ...buildActions(rowActions, form)].filter(\n Boolean\n ) as QdCrudTableRowAction<D>[]\n\n let reSelectType = selectType\n if (reDel?.selectType === 'multiple') {\n if (!reSelectType) reSelectType = 'multiple'\n\n const batchDel = mergeAction(\n {\n crudMode: 'del',\n permiID: 'remove',\n content: t('deleteText'),\n theme: 'danger',\n variant: 'outline',\n selectType: 'multiple'\n },\n del,\n form\n )\n\n reActions.splice(reAdd ? 1 : 0, 0, batchDel as QdCrudTableAction<D>)\n }\n\n const reColumns = columns || []\n const operationLength = reRowActions.length\n if (operationLength) {\n const operationIdx = reColumns.findIndex((item) => item.colKey === 'operation')\n const defaultOperation: (typeof reColumns)[number] = {\n title: t('operationText'),\n colKey: 'operation',\n align: 'center',\n fixed: 'right',\n width: 28 * operationLength + 25 * operationLength - 1 + 32\n }\n\n if (operationIdx > -1) {\n reColumns[operationIdx] = {\n ...defaultOperation,\n ...reColumns[operationIdx]\n }\n } else {\n reColumns.push(defaultOperation)\n }\n }\n\n return {\n title,\n\n searchOptions: search,\n serviceTableOptions: {\n ...serviceTableOptions,\n selectType: reSelectType,\n columns: reColumns,\n transformParams: mergedTransformParams\n } as QdServiceTableProps<D, R, P, TP, Pag>,\n\n formOptions: form,\n detailOptions: detail,\n actions: reActions,\n rowActions: reRowActions,\n\n models: {\n data,\n searchData: inSearchData,\n selectedRowKeys,\n activeRowKeys,\n columnControllerVisible,\n displayColumns,\n expandedRowKeys,\n filterValue,\n sort,\n expandedTreeNodes\n }\n }\n })\n\n const tableRef = useTemplateRef('table')\n\n const searchVisible = ref(true)\n const searchRef = useTemplateRef('search')\n let searchMode: 'refresh' | 'changeCurrent' = 'refresh'\n\n function handleSearch() {\n searchMode = 'changeCurrent'\n }\n\n async function handleResetSearch() {\n searchMode = 'changeCurrent'\n searchRef.value?.reset()\n await nextTick()\n searchRef.value?.submit()\n }\n\n function triggerSearch({ validateResult }: QdFormSubmitContext<typeof searchData.value>) {\n if (validateResult !== true) return\n\n switch (searchMode) {\n case 'changeCurrent':\n tableRef.value?.changeCurrent(1)\n break\n default:\n tableRef.value?.refresh()\n break\n }\n }\n\n function handleRefresh() {\n searchMode = 'refresh'\n searchRef.value?.submit()\n }\n\n function toggleSearchVisible() {\n searchVisible.value = !searchVisible.value\n }\n\n function toggleTreeExpandAll() {\n if (treeIsExpand.value) tableRef.value?.foldAll()\n else tableRef.value?.expandAll()\n }\n\n function openColumnController() {\n columnControllerVisible.value = true\n }\n\n function buildActions<T extends QdCrudTableAction<D> | QdCrudTableRowAction<D>>(\n actions?: T[],\n crudForm?: QdCrudTableWrapper['form']\n ) {\n if (!actions) return []\n\n return actions.map(\n (item) =>\n mergeAction(\n {\n variant: 'outline',\n theme: 'primary',\n hover: 'color'\n } as unknown as T,\n item,\n crudForm\n )!\n )\n }\n\n function mergeAction<\n T extends QdCrudTableAction<D> | QdCrudTableRowAction<D> | QdCrudTableDeleteAction<D>\n >(\n defaultOptions: Partial<T>,\n currentOptions?: boolean | T,\n crudForm?: QdCrudTableWrapper['form']\n ) {\n if (currentOptions === false || !currentOptions) return\n\n const mergeOptions = merge(defaultOptions, currentOptions)\n\n mergeOptions.permi = buildActionPermi(mergeOptions as QdCrudTableAction)\n if (mergeOptions.crudMode !== 'del') {\n ;(mergeOptions as QdCrudTableAction | QdCrudTableRowAction).form = buildActionForm(\n mergeOptions as QdCrudTableAction,\n crudForm\n )\n }\n\n return mergeOptions as T\n }\n\n function getConfigRendererCtx<T = unknown, O = object>(self: T, other?: O) {\n return {\n tableData: data.value,\n searchData: searchData.value,\n selectedRowKeys: selectedRowKeys.value,\n activeRowKeys: activeRowKeys.value,\n self,\n ...other\n }\n }\n\n function actionIsCRU(crudMode: QdCrudTableAction['crudMode']) {\n return crudMode && ['add', 'edit', 'view'].includes(crudMode)\n }\n\n function buildActionPermi(action: QdCrudTableAction) {\n if (action.permi) return action.permi\n if (!props.permiPrefix || !action.permiID) return []\n return [`${props.permiPrefix}:${action.permiID}`]\n }\n\n function buildActionForm(action: QdCrudTableAction, crudForm?: QdCrudTableWrapper['form']) {\n const IsCRU = actionIsCRU(action.crudMode)\n if (!action.form && IsCRU) {\n action.form = cloneDeep(crudForm)\n }\n\n const { form } = action\n if (form) {\n if (action.crudMode === 'view') form.readonly = true\n\n if (!form.onSubmit && IsCRU) {\n form.onSubmit = async (context: QdFormSubmitContext) => {\n const { uid, service, transformParams, transformRes, crudMode } = action\n if (context.validateResult !== true || !service || !uid || !dialogFormMap[uid])\n return false\n\n let currentParams = easyCopy(context.formData)\n\n if (transformParams) {\n const [tpErr, tpRes] = await suspectedWrapperPromise(transformParams(currentParams))\n if (tpErr) throw tpErr\n\n currentParams = tpRes\n }\n\n const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams))\n if (serviceErr) throw serviceErr\n\n let res: TableDialogServiceRes | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes as TableDialogServiceRes\n }\n\n if (typeof res === 'boolean') {\n res = { success: res, message: '' }\n }\n\n if (!res) {\n res = { success: true, message: '' }\n }\n\n const message = res.message\n if (res.success === false) {\n if (message) msgError(message)\n return false\n }\n\n msgSuccess(message || t('operationSuccessText'))\n\n if (crudMode === 'add') {\n tableRef.value?.changeCurrent(1)\n } else {\n tableRef.value?.refresh()\n }\n }\n }\n\n const { title } = props\n form.wrapper = merge(\n {},\n {\n header: `${action.content}${title ? ` ${title}` : ''}`\n },\n form.wrapper\n )\n }\n\n return action.form\n }\n\n function buildActionOnClick(\n action: QdCrudTableAction<D> | QdCrudTableRowAction<D>,\n originalParams?: PrimaryTableCellParams<D>\n ) {\n if (action.onClick) return action.onClick\n\n if (action.crudMode === 'del') {\n // 删除/批量删除\n const onClick = async () => {\n const { service, transformParams, transformRes } = action\n const row = originalParams?.row\n\n if (\n !service ||\n (!row && action.selectType !== 'multiple') ||\n (!row && !selectedRowKeys.value.length && action.selectType === 'multiple')\n ) {\n return\n }\n\n const childrenKey =\n reProps.value.serviceTableOptions.tree?.childrenKey ||\n qdServiceTableTreeConfig.childrenKey\n let delHasChild = false\n\n if (!row) {\n const rowKey = reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey\n\n delHasChild = selectedRowKeys.value.some((item: TableRowValue) => {\n const data = tableRef.value?.getData(item)\n if (!data) return false\n\n const children = data.row[childrenKey]\n if (isEmpty(children)) return false\n\n if (children === true) return true\n\n return children.some((child: D) => !selectedRowKeys.value.includes(child[rowKey]))\n })\n } else if (!isEmpty(row[childrenKey])) {\n delHasChild = true\n }\n\n if (delHasChild) {\n alertWarning(t('deleteHasChildrenText'))\n return\n }\n\n confirm(\n { body: t('deleteWrapperBodyText'), ...(action as QdCrudTableDeleteAction).wrapper },\n async () => {\n const params = row || selectedRowKeys.value\n let currentParams = row\n ? params[reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey]\n : selectedRowKeys.value\n\n if (transformParams) {\n const [tpErr, tpRes] = await suspectedWrapperPromise(\n transformParams(easyCopy(params))\n )\n if (tpErr) throw tpErr\n\n currentParams = tpRes\n }\n\n const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams))\n if (serviceErr) throw serviceErr\n\n let res: TableDialogServiceRes | undefined\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes as TableDialogServiceRes\n }\n\n if (typeof res === 'boolean') {\n res = { success: res, message: '' }\n }\n\n if (!res) {\n res = { success: true, message: '' }\n }\n\n const message = res.message\n if (res.success === false) {\n if (message) msgError(message)\n return false\n }\n\n msgSuccess(message || t('deleteSuccessText'))\n if (!row) selectedRowKeys.value = []\n tableRef.value?.refresh()\n return true\n }\n )\n }\n\n return onClick\n }\n\n if (isEmpty(action.form) || !actionIsCRU(action.crudMode)) return\n\n // 新增/编辑/查看\n const onClick = async () => {\n if (!action.uid) action.uid = generateRandomString(16)\n\n const uid = action.uid!\n const form = shallowRef(action.form!)\n if (!dialogFormMap[uid]) {\n dialogFormMap[uid] = {\n visible: false,\n data: {},\n crudMode: action.crudMode,\n form\n }\n }\n\n await nextTick()\n dialogFormMap[uid].visible = true\n\n if (!action.crudMode || !['edit', 'view'].includes(action.crudMode) || !originalParams) {\n return\n }\n\n form.value.loading = true\n triggerRef(form)\n const [err, res] = await to(getDetail(originalParams.row))\n form.value.loading = false\n triggerRef(form)\n if (err) {\n dialogFormMap[uid].data = originalParams.row\n return\n }\n\n dialogFormMap[uid].data = res\n }\n\n return onClick\n }\n\n function buildActionDisabled(action: QdCrudTableAction<D>) {\n if (action.disabled) return action.disabled\n\n switch (action.selectType) {\n case 'single':\n return selectedRowKeys.value.length !== 1\n case 'multiple':\n return selectedRowKeys.value.length === 0\n default:\n return false\n }\n }\n\n async function getDetail(params: NonNullable<Props['data']>[number]) {\n const { detailOptions } = reProps.value\n if (!detailOptions) return easyCopy(params)\n\n const { service, transformParams, transformRes } = detailOptions\n if (!service) return easyCopy(params)\n\n let currentParams = params[reProps.value.serviceTableOptions.rowKey || qdCrudTableProps.rowKey]\n if (transformParams) {\n const [tpErr, tpRes] = await suspectedWrapperPromise(transformParams(easyCopy(params)))\n if (tpErr) throw tpErr\n\n currentParams = tpRes\n }\n\n const [serviceErr, serviceRes] = await suspectedWrapperPromise(service(currentParams))\n if (serviceErr) throw serviceErr\n\n let res\n if (transformRes) {\n const [trErr, trRes] = await suspectedWrapperPromise(transformRes(serviceRes))\n if (trErr) throw trErr\n\n res = trRes\n } else {\n res = serviceRes\n }\n\n return res\n }\n\n function setActionIfRender(\n compIfRender: boolean,\n action: QdCrudTableAction<D> | QdCrudTableRowAction<D>,\n cellIndex?: Pick<PrimaryTableCellParams<D>, 'colIndex' | 'rowIndex'> & { index: number }\n ) {\n const ifRender = compIfRender && auth.hasPermiOr(action.permi, false)\n if (!cellIndex) {\n action._ifRender = ifRender\n return\n }\n\n const { colIndex, rowIndex, index } = cellIndex\n rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${index}`] = ifRender\n }\n\n function getActionSeparator(\n action: QdCrudTableAction<D> | QdCrudTableRowAction<D>,\n cellIndex: Partial<Pick<PrimaryTableCellParams<D>, 'colIndex' | 'rowIndex'>> & {\n index: number\n }\n ) {\n const { index, colIndex, rowIndex } = cellIndex\n if (index <= 0) return false\n\n if (isEmpty(colIndex) && isEmpty(rowIndex)) {\n if (action._ifRender === false) return false\n for (let i = index - 1; i >= 0; i--) {\n const previousAction = reProps.value.actions[i]\n if (previousAction._ifRender !== false) return true\n }\n return false\n }\n\n if (rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${index}`] === false) return false\n for (let i = index - 1; i >= 0; i--) {\n const previousIfRender = rowActionsIfRenderMap[`${colIndex}.${rowIndex}.${i}`]\n if (previousIfRender !== false) return true\n }\n return false\n }\n\n const expose = {} as QdCrudTableInstanceFunctions<D, R, P, TP, Pag>\n\n onMounted(() => {\n Object.assign(expose, tableRef.value)\n })\n\n defineExpose(expose)\n</script>\n\n<style lang=\"less\" scoped>\n .qd-crud-table {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n & > .qd-crud-search:not(.qd-crud-search--hide) + &__body {\n margin-top: var(--td-comp-margin-l);\n }\n\n & > .qd-crud-search :deep(.qd-form) {\n display: flex;\n align-items: flex-end;\n flex-flow: row wrap;\n\n & > .qd-grid {\n flex: 1 1 0;\n overflow: hidden;\n margin-right: var(--td-comp-margin-l);\n }\n }\n\n &__body {\n flex: 1 1 0;\n overflow: hidden;\n\n & > :deep(.t-card__body) {\n height: 100%;\n display: flex;\n flex-direction: column;\n\n & > .qd-service-table {\n flex: 1 1 0;\n overflow: hidden;\n }\n }\n }\n\n &__toolbar {\n display: flex;\n justify-content: space-between;\n\n & + .qd-service-table {\n margin-top: var(--td-comp-margin-l);\n }\n\n &-separator {\n display: inline-block;\n padding-left: var(--td-comp-paddingLR-s);\n }\n }\n }\n</style>\n"],"names":["vHasPermi","hasPermiDirective","props","__props","emit","__emit","searchData","data","selectedRowKeys","activeRowKeys","columnControllerVisible","displayColumns","expandedRowKeys","filterValue","sort","expandedTreeNodes","useVModels","passive","t","useConfig","msgError","msgSuccess","alertWarning","confirm","useModal","treeIsExpand","computed","value","length","dialogFormMap","reactive","rowActionsIfRenderMap","reProps","inSearchData","transformParams","search","form","detail","add","actions","edit","view","del","rowActions","title","columns","selectType","serviceTableOptions","mergedTransformParams","params","merged","reAdd","mergeAction","crudMode","permiID","content","icon","_createVNode2","AddIcon","reActions","buildActions","filter","Boolean","reEdit","theme","hover","reView","reDel","reRowActions","reSelectType","batchDel","variant","splice","reColumns","operationLength","operationIdx","findIndex","item","colKey","defaultOperation","align","fixed","width","push","searchOptions","formOptions","detailOptions","models","tableRef","useTemplateRef","searchVisible","ref","searchRef","searchMode","handleSearch","handleResetSearch","reset","nextTick","submit","triggerSearch","validateResult","changeCurrent","refresh","handleRefresh","toggleSearchVisible","toggleTreeExpandAll","foldAll","expandAll","openColumnController","crudForm","map","defaultOptions","currentOptions","mergeOptions","merge","permi","buildActionPermi","buildActionForm","getConfigRendererCtx","self","other","tableData","actionIsCRU","includes","action","permiPrefix","IsCRU","cloneDeep","readonly","onSubmit","context","uid","service","transformRes","currentParams","easyCopy","formData","tpErr","tpRes","suspectedWrapperPromise","serviceErr","serviceRes","res","trErr","trRes","success","message","wrapper","header","buildActionOnClick","originalParams","onClick","row","childrenKey","tree","qdServiceTableTreeConfig","delHasChild","rowKey","qdCrudTableProps","some","getData","children","isEmpty","child","body","generateRandomString","shallowRef","visible","loading","triggerRef","err","to","getDetail","buildActionDisabled","disabled","setActionIfRender","compIfRender","cellIndex","ifRender","auth","_ifRender","colIndex","rowIndex","index","getActionSeparator","i","previousAction","previousIfRender","expose","onMounted","Object","assign","__expose","_openBlock","_createElementBlock","_hoisted_1","items","_withDirectives","_createBlock","QdCrudSearch","_mergeProps","_unref","$event","class","_createSlots","_createVNode","TSpace","size","TButton","type","extractSlotsWithPrefix","$slots","name","filterName","fn","_withCtx","slotProps","_renderSlot","_ctx","originalName","undefined","QdCard","_createElementVNode","_hoisted_2","_Fragment","_hoisted_3","QdConfigRenderer","config","onIfRenderChange","TTooltip","shape","SearchIcon","RefreshIcon","lazyLoad","UnfoldLessIcon","key","UnfoldMoreIcon","columnController","hideTriggerButton","SettingIcon","operation","_normalizeProps","_guardReactiveProps","TDivider","layout","is","_renderList","dialogForm","QdDialogForm"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyPE,UAAMA,YAAYC;AAIlB,UAAMC,QAAQC;AACd,UAAMC,OAAOC;AAab,UAAM;AAAA,MACJC;AAAAA,MAEAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,MACAC;AAAAA,IACF,IAAIC,WAA4Cd,OAAOE,MAAM;AAAA,MAAEa,SAAS;AAAA,IAAK,CAAC;AAE9E,UAAM;AAAA,MAAEC;AAAAA,IAAE,IAAI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AAA,GAAA;AAAA,UATCS,KAAKxG;AAAAA,UACLgG,QAAM;AAAA,gBAAgB1B,MAAA+C,WAAA;AAAA,YAAyB,GAAAD,WAAWnN;AAAAA;;YAAgGiB,UAAAkM,WAAWlM;AAAAA;UAOrK6E,SAASZ,qBAAqBiI,UAAU;AAAA;;;;;"}
@@ -1,70 +0,0 @@
1
- import type { DialogOptions, PrimaryTableCellParams, TableRowData, TdButtonProps, TdLinkProps } from 'tdesign-vue-next';
2
- import type { ServicePageParams, ServicePagination } from 'qidian-shared';
3
- import type { QdDialogFormProps } from '../dialog';
4
- import type { QdFormProps } from '../form';
5
- import type { QdServiceListInstanceFunctions, QdServiceListProps, QdServiceTableProps, QdServiceTableInstanceFunctions } from '../service';
6
- import type { Qd2ConfigValue, QdComponentConfig } from '../config-renderer';
7
- export type QdSearchProps = QdFormProps;
8
- export type TableDialogServiceRes = void | boolean | {
9
- success: boolean;
10
- message?: string;
11
- };
12
- export interface QdCrudDetail<R = unknown, P = unknown, TP = P> {
13
- service?: (params: TP) => R | Promise<R>;
14
- transformParams?: (params: P) => TP | Promise<TP>;
15
- transformRes?: (res: R) => TableDialogServiceRes | Promise<TableDialogServiceRes>;
16
- }
17
- export interface QdCrudTableWrapper<R = unknown, P = Record<string, unknown>, TP = P> {
18
- crudMode?: QdDialogFormProps['crudMode'] | 'del';
19
- service?: (params: TP) => R | Promise<R>;
20
- transformParams?: (params: P) => TP | Promise<TP>;
21
- transformRes?: (res: R) => TableDialogServiceRes | Promise<TableDialogServiceRes>;
22
- form?: Qd2ConfigValue<Omit<QdDialogFormProps, 'data' | 'visible' | 'crudMode'>>;
23
- }
24
- export interface QdCrudTableActionContext<D extends TableRowData = TableRowData> {
25
- tableData: D[];
26
- searchData: QdCrudTableProps['searchData'];
27
- selectedRowKeys: NonNullable<QdServiceTableProps['selectedRowKeys']>;
28
- activeRowKeys: NonNullable<QdServiceTableProps['selectedRowKeys']>;
29
- self: QdCrudTableAction;
30
- }
31
- export interface QdCrudTableAction<D extends TableRowData = TableRowData, R = unknown, P = Record<string, unknown>, TP = P> extends QdCrudTableWrapper<R, P, TP>, Qd2ConfigValue<Omit<TdButtonProps, 'default' | 'form' | 'onClick'>> {
32
- _ifRender?: boolean;
33
- uid?: string;
34
- permiID?: string;
35
- permi?: string[];
36
- selectType?: QdServiceTableProps['selectType'];
37
- onClick?: (context: QdCrudTableActionContext<D> & Partial<PrimaryTableCellParams<D>>, e: MouseEvent) => void | Promise<void>;
38
- }
39
- export interface QdCrudTableRowAction<D extends TableRowData = TableRowData, R = unknown, P = Record<string, unknown>, TP = P> extends QdCrudTableWrapper<R, P, TP>, Qd2ConfigValue<Omit<TdLinkProps, 'default' | 'onClick'>>, Pick<QdComponentConfig, 'ifRender'> {
40
- _ifRender?: boolean;
41
- uid?: string;
42
- permiID?: string;
43
- permi?: string[];
44
- selectType?: QdServiceTableProps['selectType'];
45
- onClick?: (context: QdCrudTableActionContext<D> & PrimaryTableCellParams<D>, e: MouseEvent) => void | Promise<void>;
46
- }
47
- export interface QdCrudTableDeleteAction<D extends TableRowData = TableRowData, R = unknown, P = unknown, TP = P> extends Omit<QdCrudTableRowAction<D, R, P, TP>, 'form' | 'onClick'>, Omit<QdCrudTableAction<D, R, P, TP>, 'form' | 'onClick'> {
48
- wrapper?: Pick<DialogOptions, 'header' | 'body' | 'theme' | 'confirmBtn' | 'cancelBtn' | 'closeBtn' | 'closeOnEscKeydown' | 'closeOnOverlayClick'>;
49
- onClick?: (context: QdCrudTableActionContext<D> & Partial<PrimaryTableCellParams<D>>, e: MouseEvent) => void | Promise<void>;
50
- }
51
- export interface QdCrudTableProps<D extends TableRowData = TableRowData, R = unknown, P = ServicePageParams, TP = P, Pag extends ServicePagination = ServicePagination> extends QdServiceTableProps<D, R, P, TP, Pag> {
52
- title?: string;
53
- permiPrefix?: string;
54
- search?: Omit<QdSearchProps, 'data'>;
55
- searchData?: QdSearchProps['data'];
56
- form?: QdCrudTableWrapper['form'];
57
- detail?: QdCrudDetail;
58
- add?: false | QdCrudTableAction<D>;
59
- actions?: QdCrudTableAction<D>[];
60
- edit?: false | QdCrudTableRowAction<D>;
61
- view?: true | false | QdCrudTableRowAction<D>;
62
- del?: false | QdCrudTableDeleteAction<D>;
63
- rowActions?: QdCrudTableRowAction<D>[];
64
- }
65
- export type QdCrudTableInstanceFunctions<D extends TableRowData = TableRowData, R = unknown, P = ServicePageParams, TP = P, Pag extends ServicePagination = ServicePagination> = QdServiceTableInstanceFunctions<D, R, P, TP, Pag>;
66
- export interface QdCrudListProps<D extends TableRowData = TableRowData, R = unknown, P = ServicePageParams, TP = P, Pag extends ServicePagination = ServicePagination> extends QdServiceListProps<D, R, P, TP, Pag> {
67
- search?: Omit<QdSearchProps, 'data'>;
68
- searchData?: QdSearchProps['data'];
69
- }
70
- export type QdCrudListInstanceFunctions<D extends TableRowData = TableRowData, R = unknown, P = ServicePageParams, TP = P, Pag extends ServicePagination = ServicePagination> = QdServiceListInstanceFunctions<D, R, P, TP, Pag>;
@@ -1,22 +0,0 @@
1
- import type { QdDialogFormInstanceFunctions, QdDialogFormProps } from './types';
2
- import type { Data } from 'tdesign-vue-next';
3
- declare const _default: <FD extends Data = Data>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
- readonly "onUpdate:data"?: ((args_0: FD | undefined) => any) | undefined;
6
- readonly "onUpdate:visible"?: ((args_0: boolean | undefined) => any) | undefined;
7
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:data" | "onUpdate:visible"> & QdDialogFormProps<FD> & Partial<{}>> & import("vue").PublicProps;
8
- expose(exposed: import("vue").ShallowUnwrapRef<QdDialogFormInstanceFunctions<Data>>): void;
9
- attrs: any;
10
- slots: {
11
- [x: string]: ((props: any) => any) | undefined;
12
- } & {
13
- [x: string]: ((props: any) => any) | undefined;
14
- };
15
- emit: ((evt: "update:data", args_0: FD | undefined) => void) & ((evt: "update:visible", args_0: boolean | undefined) => void);
16
- }>) => import("vue").VNode & {
17
- __ctx?: Awaited<typeof __VLS_setup>;
18
- };
19
- export default _default;
20
- type __VLS_PrettifyLocal<T> = {
21
- [K in keyof T]: T[K];
22
- } & {};
@@ -1,175 +0,0 @@
1
- import { defineComponent, mergeDefaults, useTemplateRef, ref, computed, createBlock, openBlock, mergeProps, unref, isRef, createSlots, withCtx, createVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString } from "vue";
2
- import { Button } from "tdesign-vue-next";
3
- import { qdDialogFormProps } from "./props.mjs";
4
- import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
5
- import { suspectedWrapperPromise, extractSlotsWithPrefix, extractSlotsWithoutPrefix } from "qidian-shared";
6
- import _sfc_main$1 from "./index.vue.mjs";
7
- /* empty css */
8
- import _sfc_main$2 from "../form/index.vue.mjs";
9
- /* empty css */
10
- /* empty css */
11
- /* empty css */
12
- import { useConfig } from "../config-provider/useConfig.mjs";
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- __name: "form",
15
- props: /* @__PURE__ */ mergeDefaults({
16
- onSubmit: { type: Function },
17
- wrapper: {},
18
- crudMode: {},
19
- items: {},
20
- loading: { type: Boolean },
21
- loadingProps: {},
22
- defaultClearable: { type: Boolean },
23
- colon: { type: Boolean },
24
- data: {},
25
- disabled: { type: Boolean },
26
- errorMessage: {},
27
- id: {},
28
- labelAlign: {},
29
- labelWidth: {},
30
- preventSubmitDefault: { type: Boolean },
31
- readonly: { type: Boolean },
32
- requiredMark: { type: Boolean },
33
- requiredMarkPosition: {},
34
- resetType: {},
35
- rules: {},
36
- scrollToFirstError: {},
37
- showErrorMessage: { type: Boolean },
38
- statusIcon: { type: Boolean },
39
- submitWithWarningMessage: { type: Boolean },
40
- onReset: { type: Function },
41
- onValidate: { type: Function },
42
- gutter: {},
43
- grid: {},
44
- visible: { type: Boolean }
45
- }, qdDialogFormProps),
46
- emits: ["update:visible", "update:data"],
47
- setup(__props, { expose: __expose, emit: __emit }) {
48
- const props = __props;
49
- const emit = __emit;
50
- const { visible, data } = useVModels(props, emit, {
51
- passive: true
52
- });
53
- const { t } = useConfig("crud");
54
- const formRef = useTemplateRef("form");
55
- const formSubmitLoad = ref(false);
56
- const reProps = computed(() => {
57
- const {
58
- crudMode,
59
- data: data2,
60
- visible: inVisible,
61
- wrapper,
62
- onSubmit,
63
- loading,
64
- ...qdFormOptions
65
- } = props;
66
- const reConfirmLoading = formSubmitLoad.value || wrapper.confirmLoading;
67
- return {
68
- crudMode,
69
- qdFormOptions: {
70
- ...qdFormOptions,
71
- loading,
72
- crudMode,
73
- onSubmit: async (context) => {
74
- if (!onSubmit) return;
75
- formSubmitLoad.value = true;
76
- const [err, res] = await suspectedWrapperPromise(onSubmit(context));
77
- formSubmitLoad.value = false;
78
- if (err || res === false) return;
79
- visible.value = false;
80
- }
81
- },
82
- qdDialogOptions: {
83
- ...wrapper,
84
- onOpened: () => {
85
- Object.assign(expose, formRef.value);
86
- wrapper.onOpened?.();
87
- },
88
- onBeforeClose: () => {
89
- formRef.value?.reset();
90
- wrapper.onBeforeClose?.();
91
- },
92
- confirmLoading: reConfirmLoading,
93
- closeOnEscKeydown: loading || reConfirmLoading ? false : wrapper.closeOnEscKeydown,
94
- closeOnOverlayClick: loading || reConfirmLoading ? false : wrapper.closeOnOverlayClick,
95
- closeBtn: loading || reConfirmLoading ? false : wrapper.closeBtn,
96
- confirmBtn: loading || reConfirmLoading ? typeof wrapper.confirmBtn === "object" ? { ...wrapper.confirmBtn, disabled: true } : { disabled: true } : wrapper.confirmBtn,
97
- cancelBtn: loading || reConfirmLoading ? typeof wrapper.cancelBtn === "object" ? { ...wrapper.cancelBtn, disabled: true } : { disabled: true } : wrapper.cancelBtn,
98
- onConfirm: (done) => {
99
- const onConfirm = wrapper.onConfirm;
100
- if (onConfirm) {
101
- onConfirm?.(done);
102
- return;
103
- }
104
- formRef.value?.submit();
105
- }
106
- },
107
- models: { data: data2, visible: inVisible }
108
- };
109
- });
110
- function show(newData) {
111
- if (newData != void 0) data.value = newData;
112
- visible.value = true;
113
- }
114
- function hide() {
115
- visible.value = false;
116
- }
117
- const expose = {
118
- show,
119
- hide
120
- };
121
- __expose(expose);
122
- return (_ctx, _cache) => {
123
- return openBlock(), createBlock(_sfc_main$1, mergeProps({
124
- visible: unref(visible),
125
- "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => isRef(visible) ? visible.value = $event : null)
126
- }, reProps.value.qdDialogOptions), createSlots({
127
- default: withCtx(() => [
128
- createVNode(unref(_sfc_main$2), mergeProps({
129
- ref: "form",
130
- data: unref(data),
131
- "onUpdate:data": _cache[0] || (_cache[0] = ($event) => isRef(data) ? data.value = $event : null)
132
- }, reProps.value.qdFormOptions), createSlots({ _: 2 }, [
133
- renderList(unref(extractSlotsWithPrefix)(_ctx.$slots, "form"), (item) => {
134
- return {
135
- name: item.filterName,
136
- fn: withCtx((slotProps) => [
137
- renderSlot(_ctx.$slots, item.originalName, normalizeProps(guardReactiveProps(slotProps)))
138
- ])
139
- };
140
- })
141
- ]), 1040, ["data"])
142
- ]),
143
- _: 2
144
- }, [
145
- reProps.value.crudMode === "view" ? {
146
- name: "footer",
147
- fn: withCtx(() => [
148
- createVNode(unref(Button), {
149
- theme: "default",
150
- onClick: hide
151
- }, {
152
- default: withCtx(() => [
153
- createTextVNode(toDisplayString(unref(t)("closeText")), 1)
154
- ]),
155
- _: 1
156
- })
157
- ]),
158
- key: "0"
159
- } : void 0,
160
- renderList(unref(extractSlotsWithoutPrefix)(_ctx.$slots, "form"), (name) => {
161
- return {
162
- name,
163
- fn: withCtx((slotProps) => [
164
- renderSlot(_ctx.$slots, name, mergeProps(slotProps, { context: unref(data) }))
165
- ])
166
- };
167
- })
168
- ]), 1040, ["visible"]);
169
- };
170
- }
171
- });
172
- export {
173
- _sfc_main as default
174
- };
175
- //# sourceMappingURL=form.vue.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.vue.mjs","sources":["../../../src/components/dialog/form.vue"],"sourcesContent":["<template>\n <qd-dialog v-model:visible=\"visible\" v-bind=\"reProps.qdDialogOptions\">\n <template v-if=\"reProps.crudMode === 'view'\" #footer>\n <t-button theme=\"default\" @click=\"hide\">{{ t('closeText') }}</t-button>\n </template>\n\n <template v-for=\"name in extractSlotsWithoutPrefix($slots, 'form')\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" :context=\"data\" />\n </template>\n\n <qd-form ref=\"form\" v-model:data=\"data\" v-bind=\"reProps.qdFormOptions\">\n <template\n v-for=\"item in extractSlotsWithPrefix($slots, 'form')\"\n #[item.filterName]=\"slotProps\"\n >\n <slot :name=\"item.originalName\" v-bind=\"slotProps\" />\n </template>\n </qd-form>\n </qd-dialog>\n</template>\n\n<script setup lang=\"ts\" generic=\"FD extends Data = Data\">\n import type { QdDialogDone, QdDialogFormInstanceFunctions, QdDialogFormProps } from './types'\n import type { FormInstanceFunctions, Data, DialogCloseContext } from 'tdesign-vue-next'\n import type { QdFormProps, QdFormSubmitContext } from '../form'\n import { Button as TButton } from 'tdesign-vue-next'\n import { qdDialogFormProps } from './props'\n import { computed, useTemplateRef, ref } from 'vue'\n import { useVModels } from '@vueuse/core'\n import {\n extractSlotsWithoutPrefix,\n extractSlotsWithPrefix,\n suspectedWrapperPromise\n } from 'qidian-shared'\n import QdDialog from './index.vue'\n import { QdForm } from '../form'\n import { useConfig } from '../config-provider/useConfig'\n\n type Props = QdDialogFormProps<FD>\n\n const props = withDefaults(defineProps<Props>(), qdDialogFormProps)\n const emit = defineEmits<{\n 'update:visible': [Props['visible']]\n 'update:data': [Props['data']]\n }>()\n const { visible, data } = useVModels<typeof props, keyof typeof emit>(props, emit, {\n passive: true\n })\n\n const { t } = useConfig('crud')\n const formRef = useTemplateRef<FormInstanceFunctions>('form')\n const formSubmitLoad = ref(false)\n\n const reProps = computed(() => {\n const {\n crudMode,\n data,\n visible: inVisible,\n wrapper,\n onSubmit,\n loading,\n ...qdFormOptions\n } = props\n const reConfirmLoading = formSubmitLoad.value || wrapper.confirmLoading\n\n return {\n crudMode,\n qdFormOptions: {\n ...qdFormOptions,\n loading,\n crudMode,\n onSubmit: async (context: QdFormSubmitContext<FD>) => {\n if (!onSubmit) return\n\n formSubmitLoad.value = true\n const [err, res] = await suspectedWrapperPromise(onSubmit(context))\n formSubmitLoad.value = false\n if (err || res === false) return\n\n visible.value = false\n }\n } as unknown as QdFormProps,\n qdDialogOptions: {\n ...wrapper,\n\n onOpened: () => {\n Object.assign(expose, formRef.value)\n wrapper.onOpened?.()\n },\n\n onBeforeClose: () => {\n formRef.value?.reset()\n wrapper.onBeforeClose?.()\n },\n\n confirmLoading: reConfirmLoading,\n closeOnEscKeydown: loading || reConfirmLoading ? false : wrapper.closeOnEscKeydown,\n closeOnOverlayClick: loading || reConfirmLoading ? false : wrapper.closeOnOverlayClick,\n closeBtn: loading || reConfirmLoading ? false : wrapper.closeBtn,\n\n confirmBtn:\n loading || reConfirmLoading\n ? typeof wrapper.confirmBtn === 'object'\n ? { ...wrapper.confirmBtn, disabled: true }\n : { disabled: true }\n : wrapper.confirmBtn,\n cancelBtn:\n loading || reConfirmLoading\n ? typeof wrapper.cancelBtn === 'object'\n ? { ...wrapper.cancelBtn, disabled: true }\n : { disabled: true }\n : wrapper.cancelBtn,\n\n onConfirm: (done: QdDialogDone) => {\n const onConfirm = wrapper.onConfirm\n if (onConfirm) {\n onConfirm?.(done)\n return\n }\n\n formRef.value?.submit()\n }\n },\n models: { data, visible: inVisible }\n }\n })\n\n function show(newData?: FD) {\n if (newData != undefined) data.value = newData\n visible.value = true\n }\n\n function hide() {\n visible.value = false\n }\n\n const expose = {\n show,\n hide\n } as QdDialogFormInstanceFunctions\n\n defineExpose(expose)\n</script>\n"],"names":["data","_openBlock","_createBlock","QdDialog","_mergeProps","_unref","_createSlots","_createVNode","$slots","_withCtx","_renderSlot","TButton"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCE,UAAM,QAAQ;AACd,UAAM,OAAO;AAIb,UAAM,EAAE,SAAS,KAAA,IAAS,WAA4C,OAAO,MAAM;AAAA,MACjF,SAAS;AAAA,IAAA,CACV;AAED,UAAM,EAAE,EAAA,IAAM,UAAU,MAAM;AAC9B,UAAM,UAAU,eAAsC,MAAM;AAC5D,UAAM,iBAAiB,IAAI,KAAK;AAEhC,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM;AAAA,QACJ;AAAA,QACA,MAAAA;AAAAA,QACA,SAAS;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA,GAAG;AAAA,MAAA,IACD;AACJ,YAAM,mBAAmB,eAAe,SAAS,QAAQ;AAEzD,aAAO;AAAA,QACL;AAAA,QACA,eAAe;AAAA,UACb,GAAG;AAAA,UACH;AAAA,UACA;AAAA,UACA,UAAU,OAAO,YAAqC;AACpD,gBAAI,CAAC,SAAU;AAEf,2BAAe,QAAQ;AACvB,kBAAM,CAAC,KAAK,GAAG,IAAI,MAAM,wBAAwB,SAAS,OAAO,CAAC;AAClE,2BAAe,QAAQ;AACvB,gBAAI,OAAO,QAAQ,MAAO;AAE1B,oBAAQ,QAAQ;AAAA,UAClB;AAAA,QAAA;AAAA,QAEF,iBAAiB;AAAA,UACf,GAAG;AAAA,UAEH,UAAU,MAAM;AACd,mBAAO,OAAO,QAAQ,QAAQ,KAAK;AACnC,oBAAQ,WAAA;AAAA,UACV;AAAA,UAEA,eAAe,MAAM;AACnB,oBAAQ,OAAO,MAAA;AACf,oBAAQ,gBAAA;AAAA,UACV;AAAA,UAEA,gBAAgB;AAAA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,sBAAA,EAAuBG,KAAAA,QAAM,MAAA,GAAA,CAArC,SAAI;;gBACV,MAAA,KAAK;AAAA,gBAEN,IAAAC,QAAA,CAFoB,cAAS;AAAA,kBAE7BC,WAAqD,KAAA,QAAxC,KAAK,gDAAsB,SAAS,CAAA,CAAA;AAAA,gBAAA;;;;;;;QAbrC,QAAA,MAAQ,aAAQ;gBAAc;AAAA,sBAC5C,MAAuE;AAAA,YAAvEH,YAAuEF,MAAAM,MAAA,GAAA;AAAA,cAA7D,OAAM;AAAA,cAAW,SAAO;AAAA,YAAA;+BAAM,MAAoB;AAAA,gDAAjBN,MAAA,CAAA,EAAC,WAAA,CAAA,GAAA,CAAA;AAAA,cAAA;;;;;;mBAGrBA,MAAA,yBAAA,EAA0BG,KAAAA,QAAM,MAAA,GAAA,CAAxC,SAAI;;;YACnB,IAAAC,QAAA,CAD2E,cAAS;AAAA,cACpFC,WAAwD,KAAA,QAA3C,MAAbN,WAA2B,WAAS,EAAG,SAASC,MAAA,IAAA,GAAI,CAAA;AAAA,YAAA;;;;;;;"}
@@ -1,5 +0,0 @@
1
- import _sfc_main from "./form.vue.mjs";
2
- export {
3
- _sfc_main as default
4
- };
5
- //# sourceMappingURL=form.vue2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,3 +0,0 @@
1
- export { default as QdDialog } from './index.vue';
2
- export { default as QdDialogForm } from './form.vue';
3
- export type { QdDialogProps, QdDialogFormProps, QdDialogInstanceFunctions, QdDialogFormInstanceFunctions } from './types';
@@ -1,35 +0,0 @@
1
- import type { QdDialogProps } from './types';
2
- declare var __VLS_7: string | number, __VLS_8: any;
3
- type __VLS_Slots = {} & {
4
- [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
5
- };
6
- declare const __VLS_component: import("vue").DefineComponent<QdDialogProps, {
7
- show: () => void;
8
- hide: () => void;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:visible": (args_0: boolean | undefined) => any;
11
- }, string, import("vue").PublicProps, Readonly<QdDialogProps> & Readonly<{
12
- "onUpdate:visible"?: ((args_0: boolean | undefined) => any) | undefined;
13
- }>, {
14
- placement: "top" | "center";
15
- attach: import("tdesign-vue-next").AttachNode;
16
- destroyOnClose: boolean;
17
- footer: boolean | import("tdesign-vue-next").TNode;
18
- header: string | boolean | import("tdesign-vue-next").TNode;
19
- theme: "default" | "info" | "warning" | "danger" | "success";
20
- closeBtn: string | boolean | import("tdesign-vue-next").TNode;
21
- closeOnEscKeydown: boolean;
22
- closeOnOverlayClick: boolean;
23
- confirmOnEnter: boolean;
24
- lazy: boolean;
25
- preventScrollThrough: boolean;
26
- showOverlay: boolean;
27
- width: string | number;
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
- export default _default;
31
- type __VLS_WithSlots<T, S> = T & {
32
- new (): {
33
- $slots: S;
34
- };
35
- };
@@ -1,111 +0,0 @@
1
- import { defineComponent, mergeDefaults, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import { qdDialogProps } from "./props.mjs";
3
- import { Dialog } from "tdesign-vue-next";
4
- import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.22_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
5
- import { suspectedWrapperPromise } from "qidian-shared";
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- ...{
8
- name: "QdDialog"
9
- },
10
- __name: "index",
11
- props: /* @__PURE__ */ mergeDefaults({
12
- onConfirm: { type: Function },
13
- attach: { type: [String, Function] },
14
- body: {},
15
- cancelBtn: {},
16
- closeBtn: { type: [String, Boolean] },
17
- closeOnEscKeydown: { type: Boolean },
18
- closeOnOverlayClick: { type: Boolean },
19
- confirmBtn: {},
20
- confirmLoading: { type: Boolean },
21
- confirmOnEnter: { type: Boolean },
22
- default: {},
23
- destroyOnClose: { type: Boolean },
24
- dialogClassName: {},
25
- dialogStyle: {},
26
- draggable: { type: Boolean },
27
- footer: { type: Boolean },
28
- header: { type: [String, Boolean] },
29
- lazy: { type: Boolean },
30
- mode: {},
31
- placement: {},
32
- preventScrollThrough: { type: Boolean },
33
- showInAttachedElement: { type: Boolean },
34
- showOverlay: { type: Boolean },
35
- theme: {},
36
- top: {},
37
- visible: { type: Boolean },
38
- width: {},
39
- zIndex: {},
40
- onBeforeClose: { type: Function },
41
- onBeforeOpen: { type: Function },
42
- onCancel: { type: Function },
43
- onClose: { type: Function },
44
- onCloseBtnClick: { type: Function },
45
- onClosed: { type: Function },
46
- onEscKeydown: { type: Function },
47
- onOpened: { type: Function },
48
- onOverlayClick: { type: Function }
49
- }, qdDialogProps),
50
- emits: ["update:visible"],
51
- setup(__props, { expose: __expose, emit: __emit }) {
52
- const props = __props;
53
- const emit = __emit;
54
- const { visible } = useVModels(props, emit, { passive: true });
55
- const confirmLoad = ref(false);
56
- const reProps = computed(() => {
57
- const { visible: inVisible, confirmLoading, ...dialogOptions } = props;
58
- const reConfirmLoading = confirmLoad.value || confirmLoading;
59
- return {
60
- dialogOptions: {
61
- ...dialogOptions,
62
- confirmLoading: reConfirmLoading,
63
- closeOnEscKeydown: reConfirmLoading ? false : dialogOptions.closeOnEscKeydown,
64
- closeOnOverlayClick: reConfirmLoading ? false : dialogOptions.closeOnOverlayClick,
65
- closeBtn: reConfirmLoading ? false : dialogOptions.closeBtn,
66
- cancelBtn: reConfirmLoading ? typeof dialogOptions.cancelBtn === "object" ? { ...dialogOptions.cancelBtn, disabled: true } : { disabled: true } : dialogOptions.cancelBtn,
67
- onConfirm: async () => {
68
- const onConfirm = dialogOptions.onConfirm;
69
- if (!onConfirm) return;
70
- confirmLoad.value = true;
71
- suspectedWrapperPromise(
72
- onConfirm((closed) => {
73
- visible.value = closed;
74
- })
75
- );
76
- confirmLoad.value = false;
77
- }
78
- },
79
- models: { visible: inVisible }
80
- };
81
- });
82
- function show() {
83
- visible.value = true;
84
- }
85
- function hide() {
86
- visible.value = false;
87
- }
88
- const expose = { show, hide };
89
- __expose(expose);
90
- return (_ctx, _cache) => {
91
- return openBlock(), createBlock(unref(Dialog), mergeProps({
92
- visible: unref(visible),
93
- "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(visible) ? visible.value = $event : null),
94
- class: "qd-dialog"
95
- }, reProps.value.dialogOptions), createSlots({ _: 2 }, [
96
- renderList(_ctx.$slots, (_, name) => {
97
- return {
98
- name,
99
- fn: withCtx((slotProps) => [
100
- renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)))
101
- ])
102
- };
103
- })
104
- ]), 1040, ["visible"]);
105
- };
106
- }
107
- });
108
- export {
109
- _sfc_main as default
110
- };
111
- //# sourceMappingURL=index.vue.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.vue.mjs","sources":["../../../src/components/dialog/index.vue"],"sourcesContent":["<template>\n <t-dialog v-model:visible=\"visible\" class=\"qd-dialog\" v-bind=\"reProps.dialogOptions\">\n <template v-for=\"(_, name) in $slots\" #[name]=\"slotProps\">\n <slot :name=\"name\" v-bind=\"slotProps\" />\n </template>\n </t-dialog>\n</template>\n\n<script setup lang=\"ts\">\n import type { QdDialogInstanceFunctions, QdDialogProps } from './types'\n import { qdDialogProps } from './props'\n import { Dialog as TDialog } from 'tdesign-vue-next'\n import { useVModels } from '@vueuse/core'\n import { computed, ref } from 'vue'\n import { suspectedWrapperPromise } from 'qidian-shared'\n\n defineOptions({\n name: 'QdDialog'\n })\n\n const props = withDefaults(defineProps<QdDialogProps>(), qdDialogProps)\n const emit = defineEmits<{\n 'update:visible': [QdDialogProps['visible']]\n }>()\n const { visible } = useVModels(props, emit, { passive: true })\n\n const confirmLoad = ref(false)\n\n const reProps = computed(() => {\n const { visible: inVisible, confirmLoading, ...dialogOptions } = props\n const reConfirmLoading = confirmLoad.value || confirmLoading\n\n return {\n dialogOptions: {\n ...dialogOptions,\n\n confirmLoading: reConfirmLoading,\n closeOnEscKeydown: reConfirmLoading ? false : dialogOptions.closeOnEscKeydown,\n closeOnOverlayClick: reConfirmLoading ? false : dialogOptions.closeOnOverlayClick,\n closeBtn: reConfirmLoading ? false : dialogOptions.closeBtn,\n\n cancelBtn: reConfirmLoading\n ? typeof dialogOptions.cancelBtn === 'object'\n ? { ...dialogOptions.cancelBtn, disabled: true }\n : { disabled: true }\n : dialogOptions.cancelBtn,\n\n onConfirm: async () => {\n const onConfirm = dialogOptions.onConfirm\n if (!onConfirm) return\n\n confirmLoad.value = true\n suspectedWrapperPromise(\n onConfirm((closed) => {\n visible.value = closed\n })\n )\n confirmLoad.value = false\n }\n },\n models: { visible: inVisible }\n }\n })\n\n function show() {\n visible.value = true\n }\n\n function hide() {\n visible.value = false\n }\n\n const expose: QdDialogInstanceFunctions = { show, hide }\n\n defineExpose(expose)\n</script>\n\n<style lang=\"less\">\n .qd-dialog {\n .t-dialog__wrap > .t-dialog__position > .t-dialog > .t-dialog__body {\n overflow: visible;\n }\n }\n</style>\n"],"names":["_openBlock","_createBlock","_unref","_mergeProps","_createSlots","$slots","_withCtx","_renderSlot","_normalizeProps","_guardReactiveProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBE,UAAM,QAAQ;AACd,UAAM,OAAO;AAGb,UAAM,EAAE,YAAY,WAAW,OAAO,MAAM,EAAE,SAAS,MAAM;AAE7D,UAAM,cAAc,IAAI,KAAK;AAE7B,UAAM,UAAU,SAAS,MAAM;AAC7B,YAAM,EAAE,SAAS,WAAW,gBAAgB,GAAG,kBAAkB;AACjE,YAAM,mBAAmB,YAAY,SAAS;AAE9C,aAAO;AAAA,QACL,eAAe;AAAA,UACb,GAAG;AAAA,UAEH,gBAAgB;AAAA,UAChB,mBAAmB,mBAAmB,QAAQ,cAAc;AAAA,UAC5D,qBAAqB,mBAAmB,QAAQ,cAAc;AAAA,UAC9D,UAAU,mBAAmB,QAAQ,cAAc;AAAA,UAEnD,WAAW,mBACP,OAAO,cAAc,cAAc,WACjC,EAAE,GAAG,cAAc,WAAW,UAAU,KAAA,IACxC,EAAE,UAAU,KAAA,IACd,cAAc;AAAA,UAElB,WAAW,YAAY;AACrB,kBAAM,YAAY,cAAc;AAChC,gBAAI,CAAC,UAAW;AAEhB,wBAAY,QAAQ;AACpB;AAAA,cACE,UAAU,CAAC,WAAW;AACpB,wBAAQ,QAAQ;AAAA,cAClB,CAAC;AAAA,YAAA;AAEH,wBAAY,QAAQ;AAAA,UACtB;AAAA,QAAA;AAAA,QAEF,QAAQ,EAAE,SAAS,UAAA;AAAA,MAAU;AAAA,IAEjC,CAAC;AAED,aAAS,OAAO;AACd,cAAQ,QAAQ;AAAA,IAClB;AAEA,aAAS,OAAO;AACd,cAAQ,QAAQ;AAAA,IAClB;AAEA,UAAM,SAAoC,EAAE,MAAM,KAAA;AAElD,aAAa,MAAM;;AAzEnB,aAAAA,aAAAC,YAIWC,eAJXC,WAIW;AAAA,QAJO,SAASD,MAAA,OAAA;AAAA,mFAAA,QAAO,QAAA,SAAA;AAAA,QAAE,OAAM;AAAA,MAAA,GAAoB,QAAA,MAAQ,aAAa,GAAAE,YAAA,EAAA,GAAA,KAAA;AAAA,mBACnDC,KAAAA,QAAM,CAAlB,GAAG,SAAI;;;YACvB,IAAAC,QAAA,CAD6C,cAAS;AAAA,cACtDC,WAAwC,KAAA,QAA3B,MAAIC,eAAAC,mBAAU,SAAS,CAAA,CAAA;AAAA,YAAA;;;;;;;"}
@@ -1,6 +0,0 @@
1
- import _sfc_main from "./index.vue.mjs";
2
- /* empty css */
3
- export {
4
- _sfc_main as default
5
- };
6
- //# sourceMappingURL=index.vue3.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.vue3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}