@farris/ui-vue 1.1.0 → 1.1.1

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 (1087) hide show
  1. package/farris.all.esm.js +36212 -34520
  2. package/farris.all.umd.cjs +26 -0
  3. package/package.json +2 -3
  4. package/style.css +1 -1
  5. package/accordion/index.esm.js +0 -530
  6. package/accordion/index.umd.js +0 -1
  7. package/accordion/package.json +0 -8
  8. package/avatar/index.esm.js +0 -478
  9. package/avatar/index.umd.js +0 -1
  10. package/avatar/package.json +0 -8
  11. package/border-editor/index.esm.js +0 -5223
  12. package/border-editor/index.umd.js +0 -3
  13. package/border-editor/package.json +0 -8
  14. package/border-editor/style.css +0 -1
  15. package/button/index.esm.js +0 -825
  16. package/button/index.umd.js +0 -1
  17. package/button/package.json +0 -8
  18. package/button-edit/index.esm.js +0 -1807
  19. package/button-edit/index.umd.js +0 -1
  20. package/button-edit/package.json +0 -8
  21. package/calculator/index.esm.js +0 -315
  22. package/calculator/index.umd.js +0 -1
  23. package/calculator/package.json +0 -8
  24. package/calendar/index.esm.js +0 -1110
  25. package/calendar/index.umd.js +0 -1
  26. package/calendar/package.json +0 -8
  27. package/capsule/index.esm.js +0 -518
  28. package/capsule/index.umd.js +0 -1
  29. package/capsule/package.json +0 -8
  30. package/checkbox/index.esm.js +0 -489
  31. package/checkbox/index.umd.js +0 -1
  32. package/checkbox/package.json +0 -8
  33. package/color-picker/index.esm.js +0 -2081
  34. package/color-picker/index.umd.js +0 -3
  35. package/color-picker/package.json +0 -8
  36. package/combo-list/index.esm.js +0 -2931
  37. package/combo-list/index.umd.js +0 -1
  38. package/combo-list/package.json +0 -8
  39. package/combo-tree/index.esm.js +0 -20799
  40. package/combo-tree/index.umd.js +0 -16
  41. package/combo-tree/package.json +0 -8
  42. package/combo-tree/style.css +0 -1
  43. package/common/index.esm.js +0 -1656
  44. package/common/index.umd.js +0 -1
  45. package/common/package.json +0 -8
  46. package/component/index.esm.js +0 -1022
  47. package/component/index.umd.js +0 -1
  48. package/component/package.json +0 -8
  49. package/condition/index.esm.js +0 -43141
  50. package/condition/index.umd.js +0 -19
  51. package/condition/package.json +0 -8
  52. package/condition/style.css +0 -1
  53. package/content-container/index.esm.js +0 -1139
  54. package/content-container/index.umd.js +0 -1
  55. package/content-container/package.json +0 -8
  56. package/data-grid/index.esm.js +0 -43296
  57. package/data-grid/index.umd.js +0 -19
  58. package/data-grid/package.json +0 -8
  59. package/data-grid/style.css +0 -1
  60. package/data-view/index.esm.js +0 -43195
  61. package/data-view/index.umd.js +0 -19
  62. package/data-view/package.json +0 -8
  63. package/data-view/style.css +0 -1
  64. package/date-picker/index.esm.js +0 -4865
  65. package/date-picker/index.umd.js +0 -1
  66. package/date-picker/package.json +0 -8
  67. package/designer/src/composition/dom-entity.d.ts +0 -545
  68. package/discussion-editor/index.esm.js +0 -3788
  69. package/discussion-editor/index.umd.js +0 -3
  70. package/discussion-editor/package.json +0 -8
  71. package/discussion-editor/style.css +0 -1
  72. package/discussion-list/index.esm.js +0 -111
  73. package/discussion-list/index.umd.js +0 -1
  74. package/discussion-list/package.json +0 -8
  75. package/discussion-list/style.css +0 -1
  76. package/dropdown/index.esm.js +0 -645
  77. package/dropdown/index.umd.js +0 -1
  78. package/dropdown/package.json +0 -8
  79. package/dynamic-form/index.esm.js +0 -43136
  80. package/dynamic-form/index.umd.js +0 -19
  81. package/dynamic-form/package.json +0 -8
  82. package/dynamic-form/style.css +0 -1
  83. package/dynamic-resolver/index.esm.js +0 -103
  84. package/dynamic-resolver/index.umd.js +0 -1
  85. package/dynamic-resolver/package.json +0 -8
  86. package/dynamic-view/index.esm.js +0 -43176
  87. package/dynamic-view/index.umd.js +0 -19
  88. package/dynamic-view/package.json +0 -8
  89. package/dynamic-view/style.css +0 -1
  90. package/enum-editor/index.esm.js +0 -2612
  91. package/enum-editor/index.umd.js +0 -1
  92. package/enum-editor/package.json +0 -8
  93. package/events-editor/index.esm.js +0 -1600
  94. package/events-editor/index.umd.js +0 -1
  95. package/events-editor/package.json +0 -8
  96. package/events-editor/style.css +0 -1
  97. package/farris.all.umd.js +0 -26
  98. package/field-selector/index.esm.js +0 -44391
  99. package/field-selector/index.umd.js +0 -19
  100. package/field-selector/package.json +0 -8
  101. package/field-selector/style.css +0 -1
  102. package/filter-bar/index.esm.js +0 -926
  103. package/filter-bar/index.umd.js +0 -1
  104. package/filter-bar/package.json +0 -8
  105. package/image-cropper/index.esm.js +0 -1121
  106. package/image-cropper/index.umd.js +0 -1
  107. package/image-cropper/package.json +0 -8
  108. package/input-group/index.esm.js +0 -831
  109. package/input-group/index.umd.js +0 -1
  110. package/input-group/package.json +0 -8
  111. package/layout/index.esm.js +0 -834
  112. package/layout/index.umd.js +0 -1
  113. package/layout/package.json +0 -8
  114. package/list-nav/index.esm.js +0 -1145
  115. package/list-nav/index.umd.js +0 -1
  116. package/list-nav/package.json +0 -8
  117. package/list-view/index.esm.js +0 -1191
  118. package/list-view/index.umd.js +0 -1
  119. package/list-view/package.json +0 -8
  120. package/loading/index.esm.js +0 -142
  121. package/loading/index.umd.js +0 -8
  122. package/loading/package.json +0 -8
  123. package/locale/index.esm.js +0 -1868
  124. package/locale/index.umd.js +0 -1
  125. package/locale/package.json +0 -8
  126. package/message-box/index.esm.js +0 -578
  127. package/message-box/index.umd.js +0 -1
  128. package/message-box/package.json +0 -8
  129. package/modal/index.esm.js +0 -218
  130. package/modal/index.umd.js +0 -1
  131. package/modal/package.json +0 -8
  132. package/nav/index.esm.js +0 -1728
  133. package/nav/index.umd.js +0 -3
  134. package/nav/package.json +0 -8
  135. package/notify/index.esm.js +0 -258
  136. package/notify/index.umd.js +0 -1
  137. package/notify/package.json +0 -8
  138. package/order/index.esm.js +0 -4151
  139. package/order/index.umd.js +0 -1
  140. package/order/package.json +0 -8
  141. package/page-footer/index.esm.js +0 -1356
  142. package/page-footer/index.umd.js +0 -1
  143. package/page-footer/package.json +0 -8
  144. package/page-header/index.esm.js +0 -2141
  145. package/page-header/index.umd.js +0 -1
  146. package/page-header/package.json +0 -8
  147. package/pagination/index.esm.js +0 -1565
  148. package/pagination/index.umd.js +0 -1
  149. package/pagination/package.json +0 -8
  150. package/popover/index.esm.js +0 -224
  151. package/popover/index.umd.js +0 -1
  152. package/popover/package.json +0 -8
  153. package/progress/index.esm.js +0 -668
  154. package/progress/index.umd.js +0 -3
  155. package/progress/package.json +0 -8
  156. package/property-panel/index.esm.js +0 -43139
  157. package/property-panel/index.umd.js +0 -19
  158. package/property-panel/package.json +0 -8
  159. package/property-panel/style.css +0 -1
  160. package/radio-group/index.esm.js +0 -448
  161. package/radio-group/index.umd.js +0 -1
  162. package/radio-group/package.json +0 -8
  163. package/rate/index.esm.js +0 -612
  164. package/rate/index.umd.js +0 -1
  165. package/rate/package.json +0 -8
  166. package/response-layout/index.esm.js +0 -483
  167. package/response-layout/index.umd.js +0 -1
  168. package/response-layout/package.json +0 -8
  169. package/response-layout-editor/index.esm.js +0 -3780
  170. package/response-layout-editor/index.umd.js +0 -1
  171. package/response-layout-editor/package.json +0 -8
  172. package/response-layout-editor/style.css +0 -1
  173. package/response-toolbar/index.esm.js +0 -1526
  174. package/response-toolbar/index.umd.js +0 -1
  175. package/response-toolbar/package.json +0 -8
  176. package/search-box/index.esm.js +0 -456
  177. package/search-box/index.umd.js +0 -1
  178. package/search-box/package.json +0 -8
  179. package/section/index.esm.js +0 -2201
  180. package/section/index.umd.js +0 -1
  181. package/section/package.json +0 -8
  182. package/smoke-detector/index.esm.js +0 -383
  183. package/smoke-detector/index.umd.js +0 -1
  184. package/smoke-detector/package.json +0 -8
  185. package/smoke-detector/style.css +0 -1
  186. package/spacing-editor/index.esm.js +0 -3484
  187. package/spacing-editor/index.umd.js +0 -1
  188. package/spacing-editor/package.json +0 -8
  189. package/spacing-editor/style.css +0 -1
  190. package/splitter/index.esm.js +0 -842
  191. package/splitter/index.umd.js +0 -1
  192. package/splitter/package.json +0 -8
  193. package/splitter/style.css +0 -1
  194. package/step/index.esm.js +0 -553
  195. package/step/index.umd.js +0 -1
  196. package/step/package.json +0 -8
  197. package/switch/index.esm.js +0 -447
  198. package/switch/index.umd.js +0 -1
  199. package/switch/package.json +0 -8
  200. package/tabs/index.esm.js +0 -4688
  201. package/tabs/index.umd.js +0 -1
  202. package/tabs/package.json +0 -8
  203. package/tags/index.esm.js +0 -810
  204. package/tags/index.umd.js +0 -1
  205. package/tags/package.json +0 -8
  206. package/text/index.esm.js +0 -366
  207. package/text/index.umd.js +0 -1
  208. package/text/package.json +0 -8
  209. package/time-picker/index.esm.js +0 -2147
  210. package/time-picker/index.umd.js +0 -1
  211. package/time-picker/package.json +0 -8
  212. package/tooltip/index.esm.js +0 -260
  213. package/tooltip/index.umd.js +0 -1
  214. package/tooltip/package.json +0 -8
  215. package/transfer/index.esm.js +0 -1180
  216. package/transfer/index.umd.js +0 -1
  217. package/transfer/package.json +0 -8
  218. package/tree-grid/index.esm.js +0 -44354
  219. package/tree-grid/index.umd.js +0 -19
  220. package/tree-grid/package.json +0 -8
  221. package/tree-grid/style.css +0 -1
  222. package/tree-view/index.esm.js +0 -19597
  223. package/tree-view/index.umd.js +0 -16
  224. package/tree-view/package.json +0 -8
  225. package/tree-view/style.css +0 -1
  226. package/types/accordion/index.d.ts +0 -27
  227. package/types/accordion/src/accordion.component.d.ts +0 -6
  228. package/types/accordion/src/accordion.props.d.ts +0 -19
  229. package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
  230. package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
  231. package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
  232. package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
  233. package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
  234. package/types/accordion/src/schema/schema-resolver.d.ts +0 -2
  235. package/types/avatar/index.d.ts +0 -25
  236. package/types/avatar/src/avatar.component.d.ts +0 -6
  237. package/types/avatar/src/avatar.props.d.ts +0 -19
  238. package/types/avatar/src/composition/types.d.ts +0 -31
  239. package/types/avatar/src/composition/use-image.d.ts +0 -19
  240. package/types/avatar/src/designer/avatar.design.component.d.ts +0 -6
  241. package/types/avatar/src/schema/schema-mapper.d.ts +0 -2
  242. package/types/avatar/src/schema/schema-resolver.d.ts +0 -2
  243. package/types/border-editor/index.d.ts +0 -23
  244. package/types/border-editor/src/border-editor.component.d.ts +0 -6
  245. package/types/border-editor/src/border-editor.props.d.ts +0 -3
  246. package/types/border-editor/src/components/border-editor-basic.component.d.ts +0 -5
  247. package/types/border-editor/src/components/border-editor-radius.component.d.ts +0 -5
  248. package/types/button/index.d.ts +0 -27
  249. package/types/button/src/button-group.component.d.ts +0 -6
  250. package/types/button/src/button-group.props.d.ts +0 -20
  251. package/types/button/src/button.component.d.ts +0 -42
  252. package/types/button/src/button.props.d.ts +0 -53
  253. package/types/button/src/components/button-group-dropdown-menu.component.d.ts +0 -6
  254. package/types/button/src/components/button-group-dropdown.component.d.ts +0 -5
  255. package/types/button/src/composition/types.d.ts +0 -35
  256. package/types/button/src/composition/use-button.d.ts +0 -19
  257. package/types/button/src/composition/use-icon.d.ts +0 -3
  258. package/types/button/src/composition/use-popup.d.ts +0 -19
  259. package/types/button/src/designer/button-group.design.component.d.ts +0 -6
  260. package/types/button/src/schema/schema-mapper.d.ts +0 -2
  261. package/types/button/src/schema/schema-resolver.d.ts +0 -2
  262. package/types/button-edit/index.d.ts +0 -25
  263. package/types/button-edit/src/button-edit.component.d.ts +0 -6
  264. package/types/button-edit/src/button-edit.props.d.ts +0 -21
  265. package/types/button-edit/src/components/button-group.component.d.ts +0 -3
  266. package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
  267. package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
  268. package/types/button-edit/src/composition/types.d.ts +0 -128
  269. package/types/button-edit/src/composition/use-button.d.ts +0 -19
  270. package/types/button-edit/src/composition/use-clear.d.ts +0 -19
  271. package/types/button-edit/src/composition/use-popup.d.ts +0 -4
  272. package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
  273. package/types/button-edit/src/designer/button-edit.design.component.d.ts +0 -6
  274. package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
  275. package/types/button-edit/src/schema/schema-resolver.d.ts +0 -2
  276. package/types/calculator/index.d.ts +0 -23
  277. package/types/calculator/src/calculator.component.d.ts +0 -8
  278. package/types/calculator/src/calculator.props.d.ts +0 -23
  279. package/types/calculator/src/composition/use-calculator.d.ts +0 -26
  280. package/types/calendar/index.d.ts +0 -23
  281. package/types/calendar/src/calendar.props.d.ts +0 -4
  282. package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
  283. package/types/calendar/src/components/header/header.props.d.ts +0 -24
  284. package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
  285. package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
  286. package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
  287. package/types/calendar/src/composition/types.d.ts +0 -57
  288. package/types/calendar/src/composition/use-calendar.d.ts +0 -2
  289. package/types/calendar/src/composition/use-compare.d.ts +0 -2
  290. package/types/calendar/src/composition/use-date.d.ts +0 -2
  291. package/types/calendar/src/composition/use-event.d.ts +0 -30
  292. package/types/calendar/src/composition/use-month.d.ts +0 -2
  293. package/types/calendar/src/schema/schema-mapper.d.ts +0 -2
  294. package/types/calendar/src/schema/schema-resolver.d.ts +0 -2
  295. package/types/calendar/src/types/calendar.d.ts +0 -13
  296. package/types/calendar/src/types/common.d.ts +0 -32
  297. package/types/calendar/src/types/month-view.d.ts +0 -23
  298. package/types/calendar/src/types/month.d.ts +0 -20
  299. package/types/calendar/src/types/schedule.d.ts +0 -35
  300. package/types/capsule/index.d.ts +0 -10
  301. package/types/capsule/src/capsule.props.d.ts +0 -39
  302. package/types/capsule/src/schema/schema-mapper.d.ts +0 -2
  303. package/types/capsule/src/schema/schema-resolver.d.ts +0 -2
  304. package/types/checkbox/index.d.ts +0 -25
  305. package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
  306. package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
  307. package/types/checkbox/src/checkbox.props.d.ts +0 -44
  308. package/types/checkbox/src/composition/types.d.ts +0 -46
  309. package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
  310. package/types/checkbox/src/designer/checkbox-group.design.component.d.ts +0 -6
  311. package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
  312. package/types/checkbox/src/schema/schema-resolver.d.ts +0 -2
  313. package/types/color-picker/index.d.ts +0 -24
  314. package/types/color-picker/src/color-picker.component.d.ts +0 -6
  315. package/types/color-picker/src/color-picker.props.d.ts +0 -22
  316. package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
  317. package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
  318. package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
  319. package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
  320. package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
  321. package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -20
  322. package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
  323. package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
  324. package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
  325. package/types/color-picker/src/composition/component/hue.d.ts +0 -40
  326. package/types/color-picker/src/composition/component/preset.d.ts +0 -43
  327. package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
  328. package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
  329. package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
  330. package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
  331. package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
  332. package/types/color-picker/src/designer/color-picker.design.component.d.ts +0 -6
  333. package/types/color-picker/src/schema/schema-mapper.d.ts +0 -2
  334. package/types/color-picker/src/schema/schema-resolver.d.ts +0 -2
  335. package/types/combo-list/index.d.ts +0 -25
  336. package/types/combo-list/src/combo-list.props.d.ts +0 -59
  337. package/types/combo-list/src/components/list-container.props.d.ts +0 -65
  338. package/types/combo-list/src/composition/types.d.ts +0 -11
  339. package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
  340. package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
  341. package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
  342. package/types/combo-list/src/schema/schema-resolver.d.ts +0 -2
  343. package/types/combo-tree/index.d.ts +0 -23
  344. package/types/combo-tree/src/combo-tree.props.d.ts +0 -58
  345. package/types/combo-tree/src/components/tree-container.props.d.ts +0 -60
  346. package/types/combo-tree/src/composition/types.d.ts +0 -11
  347. package/types/combo-tree/src/composition/use-data-source.d.ts +0 -3
  348. package/types/common/date/date-converter.d.ts +0 -9
  349. package/types/common/index.d.ts +0 -5
  350. package/types/common/text-box/composition/use-clear.d.ts +0 -3
  351. package/types/common/text-box/composition/use-text-box.d.ts +0 -18
  352. package/types/common/types.d.ts +0 -50
  353. package/types/component/index.d.ts +0 -26
  354. package/types/component/src/component.props.d.ts +0 -4
  355. package/types/component/src/designer/use-designer-rules.d.ts +0 -3
  356. package/types/component/src/schema/schema-mapper.d.ts +0 -2
  357. package/types/component/src/schema/schema-resolver.d.ts +0 -2
  358. package/types/condition/index.d.ts +0 -28
  359. package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -14
  360. package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -20
  361. package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -26
  362. package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -19
  363. package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -14
  364. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -19
  365. package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -22
  366. package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -22
  367. package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -16
  368. package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -19
  369. package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -22
  370. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -14
  371. package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -14
  372. package/types/condition/src/composition/condition-value/text-value.d.ts +0 -14
  373. package/types/condition/src/composition/condition-value/types.d.ts +0 -10
  374. package/types/condition/src/composition/types.d.ts +0 -45
  375. package/types/condition/src/composition/use-compare.d.ts +0 -40
  376. package/types/condition/src/composition/use-condition-value.d.ts +0 -2
  377. package/types/condition/src/composition/use-field-config.d.ts +0 -4
  378. package/types/condition/src/composition/use-selection.d.ts +0 -4
  379. package/types/condition/src/composition/use-size.d.ts +0 -4
  380. package/types/condition/src/condition-fields.component.d.ts +0 -96
  381. package/types/condition/src/condition-list.component.d.ts +0 -96
  382. package/types/condition/src/condition.props.d.ts +0 -65
  383. package/types/condition/src/types.d.ts +0 -153
  384. package/types/content-container/index.d.ts +0 -26
  385. package/types/content-container/src/content-container.props.d.ts +0 -4
  386. package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
  387. package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
  388. package/types/content-container/src/schema/schema-resolver.d.ts +0 -2
  389. package/types/data-grid/index.d.ts +0 -26
  390. package/types/data-grid/src/composition/types.d.ts +0 -301
  391. package/types/data-grid/src/composition/use-column.d.ts +0 -20
  392. package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
  393. package/types/data-grid/src/data-grid.props.d.ts +0 -517
  394. package/types/data-grid/src/designer/use-designer-rules.d.ts +0 -3
  395. package/types/data-grid/src/schema/column-resolver.d.ts +0 -3
  396. package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
  397. package/types/data-grid/src/schema/schema-resolver.d.ts +0 -2
  398. package/types/data-view/components/column-filter/boolean-filter-editor.component.d.ts +0 -2
  399. package/types/data-view/components/column-filter/column-filter-container.component.d.ts +0 -19
  400. package/types/data-view/components/column-filter/date-filter-editor.component.d.ts +0 -2
  401. package/types/data-view/components/column-filter/enum-filter-editor.component.d.ts +0 -3
  402. package/types/data-view/components/column-filter/list-filter-editor.component.d.ts +0 -2
  403. package/types/data-view/components/column-filter/numeric-filter-editor.component.d.ts +0 -2
  404. package/types/data-view/components/column-filter/text-filter-editor.component.d.ts +0 -3
  405. package/types/data-view/components/column-header/column-header-handler.component.d.ts +0 -20
  406. package/types/data-view/components/column-setting/column-setting-icon.component.d.ts +0 -20
  407. package/types/data-view/components/editors/commands.component.d.ts +0 -17
  408. package/types/data-view/components/editors/date-picker.component.d.ts +0 -17
  409. package/types/data-view/components/editors/text-area-editor.component.d.ts +0 -2
  410. package/types/data-view/components/editors/text-editor.component.d.ts +0 -17
  411. package/types/data-view/components/filter-panel/filter-panel.component.d.ts +0 -4
  412. package/types/data-view/components/group-panel/group-panel.component.d.ts +0 -4
  413. package/types/data-view/components/mask/grid-mask.component.d.ts +0 -3
  414. package/types/data-view/components/pagination/data-grid-pagination.component.d.ts +0 -4
  415. package/types/data-view/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -20
  416. package/types/data-view/components/scrollbar/vertical-scrollbar.component.d.ts +0 -20
  417. package/types/data-view/components/sidebar/data-grid-sidebar.component.d.ts +0 -20
  418. package/types/data-view/components/summary/data-grid-summary.component.d.ts +0 -4
  419. package/types/data-view/composition/appearance/use-cell-position.d.ts +0 -18
  420. package/types/data-view/composition/appearance/use-data-view-conainer-style.d.ts +0 -2
  421. package/types/data-view/composition/appearance/use-hierarchy-style.d.ts +0 -6
  422. package/types/data-view/composition/column/use-column-filter.d.ts +0 -3
  423. package/types/data-view/composition/column/use-column.d.ts +0 -2
  424. package/types/data-view/composition/column/use-command-column.d.ts +0 -2
  425. package/types/data-view/composition/column/use-drag-column.d.ts +0 -3
  426. package/types/data-view/composition/column/use-fit-column.d.ts +0 -18
  427. package/types/data-view/composition/column/use-group-column.d.ts +0 -20
  428. package/types/data-view/composition/column/use-resize.d.ts +0 -18
  429. package/types/data-view/composition/data/use-data-view.d.ts +0 -2
  430. package/types/data-view/composition/data/use-group-data.d.ts +0 -2
  431. package/types/data-view/composition/data/use-hierarchy-data.d.ts +0 -3
  432. package/types/data-view/composition/filter/use-filter-history.d.ts +0 -2
  433. package/types/data-view/composition/filter/use-filter.d.ts +0 -2
  434. package/types/data-view/composition/hierarchy/use-cascade.d.ts +0 -3
  435. package/types/data-view/composition/hierarchy/use-hierarchy.d.ts +0 -2
  436. package/types/data-view/composition/hierarchy/use-select-hierarchy-item.d.ts +0 -4
  437. package/types/data-view/composition/hierarchy/use-toggle-hierarchy-item.d.ts +0 -3
  438. package/types/data-view/composition/hierarchy/use-tree-node-icon.d.ts +0 -4
  439. package/types/data-view/composition/types.d.ts +0 -732
  440. package/types/data-view/composition/use-edit.d.ts +0 -17
  441. package/types/data-view/composition/use-row.d.ts +0 -18
  442. package/types/data-view/composition/use-selection.d.ts +0 -18
  443. package/types/data-view/composition/use-sidebar.d.ts +0 -2
  444. package/types/data-view/composition/use-sort.d.ts +0 -2
  445. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -18
  446. package/types/data-view/composition/visualization/use-visual-data-bound.d.ts +0 -2
  447. package/types/data-view/composition/visualization/use-visual-data-cell.d.ts +0 -2
  448. package/types/data-view/composition/visualization/use-visual-data.d.ts +0 -18
  449. package/types/data-view/composition/visualization/use-visual-group-row.d.ts +0 -2
  450. package/types/data-view/composition/visualization/use-visual-summary-row.d.ts +0 -2
  451. package/types/data-view/index.d.ts +0 -39
  452. package/types/date-picker/index.d.ts +0 -31
  453. package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
  454. package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
  455. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
  456. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
  457. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -6
  458. package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -20
  459. package/types/date-picker/src/components/month/month.component.d.ts +0 -88
  460. package/types/date-picker/src/components/month/month.props.d.ts +0 -57
  461. package/types/date-picker/src/components/year/year.component.d.ts +0 -88
  462. package/types/date-picker/src/components/year/year.props.d.ts +0 -57
  463. package/types/date-picker/src/composition/types.d.ts +0 -103
  464. package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
  465. package/types/date-picker/src/composition/use-compare.d.ts +0 -2
  466. package/types/date-picker/src/composition/use-date.d.ts +0 -17
  467. package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
  468. package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
  469. package/types/date-picker/src/composition/use-event.d.ts +0 -45
  470. package/types/date-picker/src/composition/use-mark.d.ts +0 -2
  471. package/types/date-picker/src/composition/use-month.d.ts +0 -2
  472. package/types/date-picker/src/composition/use-number.d.ts +0 -2
  473. package/types/date-picker/src/composition/use-year.d.ts +0 -2
  474. package/types/date-picker/src/date-picker.component.d.ts +0 -6
  475. package/types/date-picker/src/date-picker.props.d.ts +0 -19
  476. package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
  477. package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
  478. package/types/date-picker/src/schema/schema-resolver.d.ts +0 -2
  479. package/types/date-picker/src/types/calendar.d.ts +0 -30
  480. package/types/date-picker/src/types/common.d.ts +0 -42
  481. package/types/date-picker/src/types/date-model.d.ts +0 -38
  482. package/types/date-picker/src/types/month.d.ts +0 -48
  483. package/types/date-picker/src/types/year.d.ts +0 -24
  484. package/types/designer-canvas/index.d.ts +0 -8
  485. package/types/designer-canvas/src/components/control-tree-view.component.d.ts +0 -88
  486. package/types/designer-canvas/src/components/maps.d.ts +0 -4
  487. package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +0 -7
  488. package/types/designer-canvas/src/composition/entity/property-entity.d.ts +0 -167
  489. package/types/designer-canvas/src/composition/function/control-tree-view/change-control-tree-node.d.ts +0 -6
  490. package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-builder.d.ts +0 -8
  491. package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-node-builder.d.ts +0 -9
  492. package/types/designer-canvas/src/composition/function/use-designer-component.d.ts +0 -4
  493. package/types/designer-canvas/src/composition/props/control-tree-view.props.d.ts +0 -49
  494. package/types/designer-canvas/src/composition/props/designer-canvas.props.d.ts +0 -3
  495. package/types/designer-canvas/src/composition/props/designer-inner-item.props.d.ts +0 -3
  496. package/types/designer-canvas/src/composition/props/designer-item.props.d.ts +0 -3
  497. package/types/designer-canvas/src/composition/props/designer-placeholder.props.d.ts +0 -7
  498. package/types/designer-canvas/src/composition/props/toolbox.props.d.ts +0 -11
  499. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  500. package/types/designer-canvas/src/composition/types.d.ts +0 -101
  501. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  502. package/types/designer-canvas/src/types.d.ts +0 -79
  503. package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
  504. package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
  505. package/types/discussion-editor/index.d.ts +0 -23
  506. package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
  507. package/types/discussion-editor/src/types/interface.d.ts +0 -22
  508. package/types/discussion-list/discussion-list.component.d.ts +0 -70
  509. package/types/discussion-list/discussion-list.props.d.ts +0 -52
  510. package/types/discussion-list/index.d.ts +0 -23
  511. package/types/dropdown/index.d.ts +0 -11
  512. package/types/dropdown/src/components/dropdown.item.props.d.ts +0 -46
  513. package/types/dropdown/src/composition/use-dropdown.d.ts +0 -26
  514. package/types/dropdown/src/designer/dropdown.design.component.d.ts +0 -21
  515. package/types/dropdown/src/dropdown.component.d.ts +0 -21
  516. package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
  517. package/types/dropdown/src/dropdown.props.d.ts +0 -19
  518. package/types/dropdown/src/schema/schema-mapper.d.ts +0 -2
  519. package/types/dropdown/src/schema/schema-resolver.d.ts +0 -2
  520. package/types/dropdown/src/types/types.d.ts +0 -23
  521. package/types/dynamic-form/index.d.ts +0 -14
  522. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.component.d.ts +0 -6
  523. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
  524. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +0 -37
  525. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -18
  526. package/types/dynamic-form/src/composition/types.d.ts +0 -6
  527. package/types/dynamic-form/src/composition/use-type-resolver.d.ts +0 -2
  528. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +0 -3
  529. package/types/dynamic-form/src/response-form.props.d.ts +0 -4
  530. package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
  531. package/types/dynamic-form/src/schema/schema-resolver.d.ts +0 -2
  532. package/types/dynamic-form/src/types.d.ts +0 -17
  533. package/types/dynamic-resolver/index.d.ts +0 -4
  534. package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
  535. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +0 -5
  536. package/types/dynamic-resolver/src/converter/buttons.converter.d.ts +0 -3
  537. package/types/dynamic-resolver/src/converter/property-editor.converter.d.ts +0 -3
  538. package/types/dynamic-resolver/src/object-expression.d.ts +0 -66
  539. package/types/dynamic-resolver/src/property-config-resolver.d.ts +0 -9
  540. package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
  541. package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -7
  542. package/types/dynamic-resolver/src/types.d.ts +0 -11
  543. package/types/dynamic-view/index.d.ts +0 -8
  544. package/types/dynamic-view/src/components/maps.d.ts +0 -4
  545. package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
  546. package/types/enum-editor/index.d.ts +0 -23
  547. package/types/enum-editor/src/components/enum-editor-buttons.props.d.ts +0 -13
  548. package/types/enum-editor/src/components/enum-editor-table.props.d.ts +0 -29
  549. package/types/enum-editor/src/composition/types.d.ts +0 -4
  550. package/types/enum-editor/src/composition/use-move-data.d.ts +0 -7
  551. package/types/enum-editor/src/enum-editor.props.d.ts +0 -41
  552. package/types/events-editor/index.d.ts +0 -8
  553. package/types/events-editor/src/components/command-list/command-list.props.d.ts +0 -3
  554. package/types/events-editor/src/components/command-source/command-source.props.d.ts +0 -3
  555. package/types/events-editor/src/components/event-list/event-list.props.d.ts +0 -3
  556. package/types/events-editor/src/components/interaction-button/interaction-button.props.d.ts +0 -3
  557. package/types/events-editor/src/components/interaction-item/interaction-item.props.d.ts +0 -3
  558. package/types/events-editor/src/components/parameter-editor/parameter-editor.props.d.ts +0 -3
  559. package/types/events-editor/src/composition/types.d.ts +0 -37
  560. package/types/events-editor/src/composition/use-events-editor-util.d.ts +0 -5
  561. package/types/events-editor/src/composition/use-events.d.ts +0 -4
  562. package/types/events-editor/src/composition/use-interaction.d.ts +0 -4
  563. package/types/events-editor/src/composition/use-methods.d.ts +0 -4
  564. package/types/events-editor/src/events-editor.props.d.ts +0 -3
  565. package/types/events-editor/src/types.d.ts +0 -179
  566. package/types/field-selector/index.d.ts +0 -23
  567. package/types/field-selector/src/field-selector.props.d.ts +0 -121
  568. package/types/filter-bar/index.d.ts +0 -9
  569. package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
  570. package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
  571. package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
  572. package/types/filter-bar/src/composition/types.d.ts +0 -14
  573. package/types/filter-bar/src/filter-bar.props.d.ts +0 -5
  574. package/types/filter-bar/src/schema/schema-mapper.d.ts +0 -2
  575. package/types/filter-bar/src/schema/schema-resolver.d.ts +0 -2
  576. package/types/filter-bar/src/types.d.ts +0 -12
  577. package/types/image-cropper/index.d.ts +0 -25
  578. package/types/image-cropper/src/composition/type.d.ts +0 -44
  579. package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
  580. package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
  581. package/types/image-cropper/src/composition/use-image-info.d.ts +0 -38
  582. package/types/image-cropper/src/designer/image-cropper.design.component.d.ts +0 -6
  583. package/types/image-cropper/src/image-cropper.component.d.ts +0 -6
  584. package/types/image-cropper/src/image-cropper.props.d.ts +0 -19
  585. package/types/image-cropper/src/schema/schema-mapper.d.ts +0 -2
  586. package/types/image-cropper/src/schema/schema-resolver.d.ts +0 -2
  587. package/types/index.d.ts +0 -20
  588. package/types/input-group/index.d.ts +0 -25
  589. package/types/input-group/src/components/appended-button.component.d.ts +0 -4
  590. package/types/input-group/src/components/extend.component.d.ts +0 -3
  591. package/types/input-group/src/components/text-edit.component.d.ts +0 -5
  592. package/types/input-group/src/composition/types.d.ts +0 -38
  593. package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
  594. package/types/input-group/src/composition/use-clear.d.ts +0 -4
  595. package/types/input-group/src/composition/use-text-box.d.ts +0 -4
  596. package/types/input-group/src/input-group.component.d.ts +0 -6
  597. package/types/input-group/src/input-group.props.d.ts +0 -4
  598. package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
  599. package/types/input-group/src/schema/schema-resolver.d.ts +0 -2
  600. package/types/layout/index.d.ts +0 -11
  601. package/types/layout/src/components/layout-panel.props.d.ts +0 -5
  602. package/types/layout/src/composition/types.d.ts +0 -23
  603. package/types/layout/src/composition/use-resize-handle.d.ts +0 -3
  604. package/types/layout/src/designer/layout-panel-use-designer-rules.d.ts +0 -3
  605. package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -3
  606. package/types/layout/src/layout.props.d.ts +0 -4
  607. package/types/layout/src/schema/schema-mapper.d.ts +0 -2
  608. package/types/layout/src/schema/schema-resolver.d.ts +0 -2
  609. package/types/list-nav/index.d.ts +0 -25
  610. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  611. package/types/list-nav/src/designer/list-nav.design.component.d.ts +0 -6
  612. package/types/list-nav/src/list-nav.component.d.ts +0 -6
  613. package/types/list-nav/src/list-nav.props.d.ts +0 -19
  614. package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
  615. package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
  616. package/types/list-view/index.d.ts +0 -25
  617. package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
  618. package/types/list-view/src/composition/types.d.ts +0 -40
  619. package/types/list-view/src/composition/use-draggable.d.ts +0 -4
  620. package/types/list-view/src/composition/use-hover.d.ts +0 -2
  621. package/types/list-view/src/composition/use-remove.d.ts +0 -4
  622. package/types/list-view/src/composition/use-search.d.ts +0 -5
  623. package/types/list-view/src/composition/use-selection.d.ts +0 -4
  624. package/types/list-view/src/designer/list-view-table.design.component.d.ts +0 -6
  625. package/types/list-view/src/designer/list-view.design.component.d.ts +0 -6
  626. package/types/list-view/src/list-view-table.component.d.ts +0 -6
  627. package/types/list-view/src/list-view-table.props.d.ts +0 -19
  628. package/types/list-view/src/list-view.component.d.ts +0 -6
  629. package/types/list-view/src/list-view.props.d.ts +0 -23
  630. package/types/list-view/src/schema/schema-mapper.d.ts +0 -2
  631. package/types/list-view/src/schema/schema-resolver.d.ts +0 -2
  632. package/types/loading/index.d.ts +0 -23
  633. package/types/loading/src/composition/types.d.ts +0 -24
  634. package/types/loading/src/loading.component.d.ts +0 -61
  635. package/types/loading/src/loading.props.d.ts +0 -49
  636. package/types/loading/src/loading.service.d.ts +0 -4
  637. package/types/locale/src/lib/locale.service.d.ts +0 -26
  638. package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
  639. package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
  640. package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
  641. package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
  642. package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
  643. package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
  644. package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
  645. package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
  646. package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
  647. package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
  648. package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
  649. package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
  650. package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
  651. package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
  652. package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
  653. package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
  654. package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
  655. package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
  656. package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
  657. package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
  658. package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
  659. package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
  660. package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
  661. package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
  662. package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
  663. package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
  664. package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
  665. package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
  666. package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
  667. package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
  668. package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
  669. package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
  670. package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
  671. package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
  672. package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
  673. package/types/locale/src/lib/locales/index.d.ts +0 -1712
  674. package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
  675. package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
  676. package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
  677. package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
  678. package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
  679. package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
  680. package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
  681. package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
  682. package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
  683. package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
  684. package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
  685. package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
  686. package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
  687. package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
  688. package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
  689. package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
  690. package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
  691. package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
  692. package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
  693. package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
  694. package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
  695. package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
  696. package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
  697. package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
  698. package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
  699. package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
  700. package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
  701. package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
  702. package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
  703. package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
  704. package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
  705. package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
  706. package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
  707. package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
  708. package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
  709. package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
  710. package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
  711. package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
  712. package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
  713. package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
  714. package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
  715. package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
  716. package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
  717. package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
  718. package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
  719. package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
  720. package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
  721. package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
  722. package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
  723. package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
  724. package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
  725. package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
  726. package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
  727. package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
  728. package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
  729. package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
  730. package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
  731. package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
  732. package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
  733. package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
  734. package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
  735. package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
  736. package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
  737. package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
  738. package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
  739. package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
  740. package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
  741. package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
  742. package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
  743. package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
  744. package/types/message-box/index.d.ts +0 -24
  745. package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
  746. package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
  747. package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
  748. package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
  749. package/types/message-box/src/composition/types.d.ts +0 -27
  750. package/types/message-box/src/composition/use-copy.d.ts +0 -2
  751. package/types/message-box/src/composition/use-editor.d.ts +0 -4
  752. package/types/message-box/src/composition/use-feedback.d.ts +0 -2
  753. package/types/message-box/src/message-box.component.d.ts +0 -70
  754. package/types/message-box/src/message-box.props.d.ts +0 -54
  755. package/types/modal/index.d.ts +0 -24
  756. package/types/modal/src/modal.props.d.ts +0 -76
  757. package/types/modal/src/modal.service.d.ts +0 -21
  758. package/types/nav/index.d.ts +0 -25
  759. package/types/nav/src/composition/types.d.ts +0 -6
  760. package/types/nav/src/designer/nav.design.component.d.ts +0 -6
  761. package/types/nav/src/nav.component.d.ts +0 -6
  762. package/types/nav/src/nav.props.d.ts +0 -19
  763. package/types/nav/src/schema/schema-mapper.d.ts +0 -2
  764. package/types/nav/src/schema/schema-resolver.d.ts +0 -2
  765. package/types/notify/index.d.ts +0 -26
  766. package/types/notify/src/components/toast.component.d.ts +0 -32
  767. package/types/notify/src/components/toast.props.d.ts +0 -31
  768. package/types/notify/src/notify.component.d.ts +0 -89
  769. package/types/notify/src/notify.props.d.ts +0 -97
  770. package/types/notify/src/notify.service.d.ts +0 -19
  771. package/types/number-range/index.d.ts +0 -25
  772. package/types/number-range/src/components/spinner.component.d.ts +0 -4
  773. package/types/number-range/src/components/text-box.component.d.ts +0 -4
  774. package/types/number-range/src/composition/types.d.ts +0 -56
  775. package/types/number-range/src/composition/use-format.d.ts +0 -4
  776. package/types/number-range/src/composition/use-number.d.ts +0 -4
  777. package/types/number-range/src/composition/use-spinner.d.ts +0 -4
  778. package/types/number-range/src/composition/use-text-box.d.ts +0 -4
  779. package/types/number-range/src/number-range.component.d.ts +0 -6
  780. package/types/number-range/src/number-range.props.d.ts +0 -19
  781. package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
  782. package/types/number-range/src/schema/schema-resolver.d.ts +0 -2
  783. package/types/number-spinner/index.d.ts +0 -25
  784. package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
  785. package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
  786. package/types/number-spinner/src/composition/types.d.ts +0 -58
  787. package/types/number-spinner/src/composition/use-format.d.ts +0 -4
  788. package/types/number-spinner/src/composition/use-number.d.ts +0 -4
  789. package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
  790. package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
  791. package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
  792. package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
  793. package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
  794. package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
  795. package/types/number-spinner/src/schema/schema-resolver.d.ts +0 -2
  796. package/types/order/index.d.ts +0 -10
  797. package/types/order/src/order.props.d.ts +0 -10
  798. package/types/order/src/schema/schema-mapper.d.ts +0 -2
  799. package/types/order/src/schema/schema-resolver.d.ts +0 -2
  800. package/types/overlay/src/overlay.props.d.ts +0 -33
  801. package/types/overlay/src/overlay.service.d.ts +0 -17
  802. package/types/page-footer/index.d.ts +0 -10
  803. package/types/page-footer/src/page-footer.props.d.ts +0 -4
  804. package/types/page-footer/src/schema/schema-mapper.d.ts +0 -2
  805. package/types/page-footer/src/schema/schema-resolver.d.ts +0 -2
  806. package/types/page-header/index.d.ts +0 -10
  807. package/types/page-header/src/designer/use-designer-rules.d.ts +0 -3
  808. package/types/page-header/src/page-header.props.d.ts +0 -4
  809. package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
  810. package/types/page-header/src/schema/schema-resolver.d.ts +0 -2
  811. package/types/pagination/index.d.ts +0 -25
  812. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
  813. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
  814. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
  815. package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
  816. package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
  817. package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
  818. package/types/pagination/src/composition/types.d.ts +0 -24
  819. package/types/pagination/src/composition/use-pages.d.ts +0 -18
  820. package/types/pagination/src/designer/pagination.design.components.d.ts +0 -6
  821. package/types/pagination/src/pagination.components.d.ts +0 -6
  822. package/types/pagination/src/pagination.props.d.ts +0 -20
  823. package/types/pagination/src/schema/schema-mapper.d.ts +0 -2
  824. package/types/pagination/src/schema/schema-resolver.d.ts +0 -2
  825. package/types/popover/index.d.ts +0 -24
  826. package/types/popover/src/composition/types.d.ts +0 -25
  827. package/types/popover/src/composition/use-host.d.ts +0 -3
  828. package/types/popover/src/composition/use-popup.d.ts +0 -4
  829. package/types/popover/src/composition/use-position.d.ts +0 -4
  830. package/types/popover/src/composition/use-resize.d.ts +0 -4
  831. package/types/popover/src/popover.component.d.ts +0 -112
  832. package/types/popover/src/popover.directive.d.ts +0 -5
  833. package/types/popover/src/popover.props.d.ts +0 -69
  834. package/types/progress/index.d.ts +0 -10
  835. package/types/progress/src/composition/types.d.ts +0 -65
  836. package/types/progress/src/composition/use-format.d.ts +0 -3
  837. package/types/progress/src/composition/use-gradient.d.ts +0 -3
  838. package/types/progress/src/composition/use-progress-status.d.ts +0 -3
  839. package/types/progress/src/composition/use-progress-type.d.ts +0 -3
  840. package/types/progress/src/composition/use-progress.d.ts +0 -3
  841. package/types/progress/src/composition/use-stroke-width.d.ts +0 -3
  842. package/types/progress/src/composition/use-success-percent.d.ts +0 -3
  843. package/types/progress/src/progress.props.d.ts +0 -13
  844. package/types/progress/src/schema/schema-mapper.d.ts +0 -2
  845. package/types/progress/src/schema/schema-resolver.d.ts +0 -2
  846. package/types/property-panel/index.d.ts +0 -24
  847. package/types/property-panel/src/component/property-panel-item-list.component.d.ts +0 -43
  848. package/types/property-panel/src/component/property-panel-item.component.d.ts +0 -25
  849. package/types/property-panel/src/composition/entity/property-entity.d.ts +0 -165
  850. package/types/property-panel/src/composition/props/property-panel-item-list.props.d.ts +0 -38
  851. package/types/property-panel/src/composition/props/property-panel-item.props.d.ts +0 -27
  852. package/types/property-panel/src/composition/props/property-panel.props.d.ts +0 -100
  853. package/types/property-panel/src/composition/type.d.ts +0 -45
  854. package/types/property-panel/src/property-panel.component.d.ts +0 -156
  855. package/types/query-solution/index.d.ts +0 -25
  856. package/types/query-solution/src/composition/types.d.ts +0 -8
  857. package/types/query-solution/src/composition/use-filter.d.ts +0 -19
  858. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +0 -26
  859. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +0 -19
  860. package/types/query-solution/src/designer/query-solution-config/query-solution-config.component.d.ts +0 -6
  861. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +0 -23
  862. package/types/query-solution/src/designer/query-solution-config/schema/schema-mapper.d.ts +0 -2
  863. package/types/query-solution/src/designer/query-solution-config/schema/schema-resolver.d.ts +0 -2
  864. package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
  865. package/types/query-solution/src/query-solution.component.d.ts +0 -6
  866. package/types/query-solution/src/query-solution.d.ts +0 -40
  867. package/types/query-solution/src/query-solution.props.d.ts +0 -19
  868. package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
  869. package/types/query-solution/src/schema/schema-resolver.d.ts +0 -2
  870. package/types/query-solution/src/solutions.d.ts +0 -1238
  871. package/types/radio-group/index.d.ts +0 -25
  872. package/types/radio-group/src/composition/change-radio.d.ts +0 -19
  873. package/types/radio-group/src/composition/types.d.ts +0 -42
  874. package/types/radio-group/src/designer/radio-group.design.component.d.ts +0 -6
  875. package/types/radio-group/src/radio-group.component.d.ts +0 -6
  876. package/types/radio-group/src/radio-group.props.d.ts +0 -19
  877. package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
  878. package/types/radio-group/src/schema/schema-resolver.d.ts +0 -2
  879. package/types/rate/index.d.ts +0 -25
  880. package/types/rate/src/designer/rate.design.component.d.ts +0 -6
  881. package/types/rate/src/rate.component.d.ts +0 -6
  882. package/types/rate/src/rate.props.d.ts +0 -19
  883. package/types/rate/src/schema/schema-mapper.d.ts +0 -2
  884. package/types/rate/src/schema/schema-resolver.d.ts +0 -2
  885. package/types/response-layout/index.d.ts +0 -26
  886. package/types/response-layout/src/component/response-layout-item.props.d.ts +0 -4
  887. package/types/response-layout/src/response-layout.props.d.ts +0 -4
  888. package/types/response-layout/src/schema/schema-mapper.d.ts +0 -2
  889. package/types/response-layout/src/schema/schema-resolver.d.ts +0 -2
  890. package/types/response-layout-editor/index.d.ts +0 -23
  891. package/types/response-layout-editor/src/components/field-list/column-width-editor/column-width-editor.props.d.ts +0 -3
  892. package/types/response-layout-editor/src/components/field-list/field-list.props.d.ts +0 -3
  893. package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.component.d.ts +0 -6
  894. package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.props.d.ts +0 -3
  895. package/types/response-layout-editor/src/components/preview/preview.component.d.ts +0 -6
  896. package/types/response-layout-editor/src/components/preview/preview.props.d.ts +0 -3
  897. package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.component.d.ts +0 -6
  898. package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.props.d.ts +0 -3
  899. package/types/response-layout-editor/src/response-layout-editor.component.d.ts +0 -6
  900. package/types/response-layout-editor/src/response-layout-editor.props.d.ts +0 -3
  901. package/types/response-layout-editor/src/type.d.ts +0 -4
  902. package/types/response-toolbar/index.d.ts +0 -13
  903. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -6
  904. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
  905. package/types/response-toolbar/src/composition/types.d.ts +0 -9
  906. package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
  907. package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
  908. package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -5
  909. package/types/response-toolbar/src/schema/schema-mapper.d.ts +0 -2
  910. package/types/response-toolbar/src/schema/schema-resolver.d.ts +0 -2
  911. package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
  912. package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
  913. package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
  914. package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
  915. package/types/search-box/index.d.ts +0 -25
  916. package/types/search-box/src/components/search-box-container.props.d.ts +0 -31
  917. package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
  918. package/types/search-box/src/schema/schema-resolver.d.ts +0 -2
  919. package/types/search-box/src/search-box.props.d.ts +0 -4
  920. package/types/section/index.d.ts +0 -25
  921. package/types/section/src/components/toolbar.component.d.ts +0 -3
  922. package/types/section/src/composition/types.d.ts +0 -18
  923. package/types/section/src/composition/use-max-min.d.ts +0 -3
  924. package/types/section/src/designer/section.design.component.d.ts +0 -6
  925. package/types/section/src/designer/use-designer-rules.d.ts +0 -3
  926. package/types/section/src/schema/accordion-resolver.d.ts +0 -3
  927. package/types/section/src/schema/schema-mapper.d.ts +0 -2
  928. package/types/section/src/schema/schema-resolver.d.ts +0 -2
  929. package/types/section/src/schema/toolbar-resolver.d.ts +0 -7
  930. package/types/section/src/section.component.d.ts +0 -6
  931. package/types/section/src/section.props.d.ts +0 -31
  932. package/types/smoke-detector/index.d.ts +0 -10
  933. package/types/smoke-detector/src/schema/schema-mapper.d.ts +0 -2
  934. package/types/smoke-detector/src/schema/schema-resolver.d.ts +0 -2
  935. package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -4
  936. package/types/spacing-editor/index.d.ts +0 -23
  937. package/types/spacing-editor/src/components/spacing-editor-margin.component.d.ts +0 -5
  938. package/types/spacing-editor/src/components/spacing-editor-padding.component.d.ts +0 -5
  939. package/types/spacing-editor/src/spacing-editor.component.d.ts +0 -6
  940. package/types/spacing-editor/src/spacing-editor.props.d.ts +0 -3
  941. package/types/splitter/index.d.ts +0 -10
  942. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
  943. package/types/splitter/src/composition/types.d.ts +0 -23
  944. package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
  945. package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
  946. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +0 -3
  947. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +0 -3
  948. package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
  949. package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
  950. package/types/splitter/src/schema/splitter-schema-resolver.d.ts +0 -2
  951. package/types/splitter/src/splitter.props.d.ts +0 -5
  952. package/types/step/index.d.ts +0 -10
  953. package/types/step/src/schema/schema-mapper.d.ts +0 -2
  954. package/types/step/src/schema/schema-resolver.d.ts +0 -2
  955. package/types/step/src/step.props.d.ts +0 -11
  956. package/types/switch/index.d.ts +0 -25
  957. package/types/switch/src/designer/switch.design.component.d.ts +0 -6
  958. package/types/switch/src/schema/schema-mapper.d.ts +0 -2
  959. package/types/switch/src/schema/schema-resolver.d.ts +0 -2
  960. package/types/switch/src/switch.component.d.ts +0 -6
  961. package/types/switch/src/switch.props.d.ts +0 -20
  962. package/types/tabs/index.d.ts +0 -27
  963. package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
  964. package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
  965. package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
  966. package/types/tabs/src/components/tab-header.component.d.ts +0 -4
  967. package/types/tabs/src/components/tab-page.props.d.ts +0 -19
  968. package/types/tabs/src/composition/types.d.ts +0 -83
  969. package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
  970. package/types/tabs/src/composition/use-nav.d.ts +0 -4
  971. package/types/tabs/src/composition/use-one-page.d.ts +0 -4
  972. package/types/tabs/src/composition/use-tabs.d.ts +0 -19
  973. package/types/tabs/src/designer/tab-header.design.component.d.ts +0 -6
  974. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +0 -3
  975. package/types/tabs/src/designer/tab-page.design.component.d.ts +0 -6
  976. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +0 -3
  977. package/types/tabs/src/designer/tabs-use-design.d.ts +0 -20
  978. package/types/tabs/src/designer/tabs.design.component.d.ts +0 -6
  979. package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
  980. package/types/tabs/src/schema/schema-resolver.d.ts +0 -2
  981. package/types/tabs/src/schema/tab-page-schema-mapper.d.ts +0 -2
  982. package/types/tabs/src/tabs.component.d.ts +0 -6
  983. package/types/tabs/src/tabs.props.d.ts +0 -22
  984. package/types/tags/index.d.ts +0 -10
  985. package/types/tags/src/composition/types.d.ts +0 -13
  986. package/types/tags/src/composition/use-draggable.d.ts +0 -4
  987. package/types/tags/src/schema/schema-mapper.d.ts +0 -2
  988. package/types/tags/src/schema/schema-resolver.d.ts +0 -2
  989. package/types/tags/src/tags.props.d.ts +0 -15
  990. package/types/text/index.d.ts +0 -25
  991. package/types/text/src/designer/text.design.component.d.ts +0 -6
  992. package/types/text/src/schema/schema-mapper.d.ts +0 -2
  993. package/types/text/src/schema/schema-resolver.d.ts +0 -2
  994. package/types/text/src/text.component.d.ts +0 -6
  995. package/types/text/src/text.props.d.ts +0 -19
  996. package/types/time-picker/index.d.ts +0 -12
  997. package/types/time-picker/src/components/time-holder.d.ts +0 -82
  998. package/types/time-picker/src/components/time.props.d.ts +0 -48
  999. package/types/time-picker/src/components/utils/check.d.ts +0 -1
  1000. package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
  1001. package/types/time-picker/src/schema/schema-resolver.d.ts +0 -2
  1002. package/types/time-picker/src/time-picker.props.d.ts +0 -4
  1003. package/types/tooltip/index.d.ts +0 -24
  1004. package/types/tooltip/src/composition/types.d.ts +0 -45
  1005. package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
  1006. package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
  1007. package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
  1008. package/types/tooltip/src/composition/use-relative.d.ts +0 -19
  1009. package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
  1010. package/types/tooltip/src/tooltip.component.d.ts +0 -78
  1011. package/types/tooltip/src/tooltip.directive.d.ts +0 -6
  1012. package/types/tooltip/src/tooltip.props.d.ts +0 -60
  1013. package/types/transfer/index.d.ts +0 -10
  1014. package/types/transfer/src/schema/schema-mapper.d.ts +0 -2
  1015. package/types/transfer/src/schema/schema-resolver.d.ts +0 -2
  1016. package/types/transfer/src/transfer.component.d.ts +0 -6
  1017. package/types/transfer/src/transfer.props.d.ts +0 -4
  1018. package/types/tree-grid/index.d.ts +0 -24
  1019. package/types/tree-grid/src/components/data/data-area.component.d.ts +0 -21
  1020. package/types/tree-grid/src/schema/schema-mapper.d.ts +0 -2
  1021. package/types/tree-grid/src/schema/schema-resolver.d.ts +0 -2
  1022. package/types/tree-grid/src/tree-grid.props.d.ts +0 -431
  1023. package/types/tree-view/index.d.ts +0 -10
  1024. package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -7
  1025. package/types/tree-view/src/schema/schema-mapper.d.ts +0 -2
  1026. package/types/tree-view/src/schema/schema-resolver.d.ts +0 -2
  1027. package/types/tree-view/src/tree-view.component.d.ts +0 -6
  1028. package/types/tree-view/src/tree-view.props.d.ts +0 -4
  1029. package/types/uploader/index.d.ts +0 -27
  1030. package/types/uploader/src/components/file-select.component.d.ts +0 -99
  1031. package/types/uploader/src/components/sub-component.props.d.ts +0 -102
  1032. package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
  1033. package/types/uploader/src/composition/type.d.ts +0 -129
  1034. package/types/uploader/src/composition/use-service.d.ts +0 -5
  1035. package/types/uploader/src/schema/schema-mapper.d.ts +0 -2
  1036. package/types/uploader/src/schema/schema-resolver.d.ts +0 -2
  1037. package/types/uploader/src/uploader.props.d.ts +0 -4
  1038. package/types/verify-detail/index.d.ts +0 -28
  1039. package/types/verify-detail/src/composition/type.d.ts +0 -25
  1040. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +0 -6
  1041. package/types/verify-detail/src/schema/schema-mapper.d.ts +0 -2
  1042. package/types/verify-detail/src/schema/schema-resolver.d.ts +0 -2
  1043. package/types/verify-detail/src/verify-detail.component.d.ts +0 -6
  1044. package/types/verify-detail/src/verify-detail.props.d.ts +0 -4
  1045. package/types/verify-detail/src/verify-detail.service.d.ts +0 -7
  1046. package/types/video/index.d.ts +0 -25
  1047. package/types/video/src/composition/types.d.ts +0 -38
  1048. package/types/video/src/composition/use-video.d.ts +0 -20
  1049. package/types/video/src/composition/use-viewport.d.ts +0 -20
  1050. package/types/video/src/designer/video.design.component.d.ts +0 -4
  1051. package/types/video/src/schema/schema-mapper.d.ts +0 -2
  1052. package/types/video/src/schema/schema-resolver.d.ts +0 -2
  1053. package/types/video/src/video.component.d.ts +0 -6
  1054. package/types/video/src/video.props.d.ts +0 -19
  1055. package/types/weather/index.d.ts +0 -25
  1056. package/types/weather/src/components/weather-city.component.d.ts +0 -6
  1057. package/types/weather/src/components/weather-detail.component.d.ts +0 -6
  1058. package/types/weather/src/components/weather-home.component.d.ts +0 -6
  1059. package/types/weather/src/components/weather-information.component.d.ts +0 -6
  1060. package/types/weather/src/components/weather-proindex.component.d.ts +0 -6
  1061. package/types/weather/src/components/weather-report.component.d.ts +0 -6
  1062. package/types/weather/src/components/weather-sunset.component.d.ts +0 -6
  1063. package/types/weather/src/composition/types.d.ts +0 -2
  1064. package/types/weather/src/composition/use-weather-charts.d.ts +0 -3
  1065. package/types/weather/src/composition/use-weather-color.d.ts +0 -3
  1066. package/types/weather/src/composition/use-weather-data.d.ts +0 -3
  1067. package/types/weather/src/composition/use-weather-format-number.d.ts +0 -3
  1068. package/types/weather/src/demo-data.d.ts +0 -181
  1069. package/types/weather/src/designer/weather.design.component.d.ts +0 -6
  1070. package/types/weather/src/schema/schema-mapper.d.ts +0 -2
  1071. package/types/weather/src/schema/schema-resolver.d.ts +0 -2
  1072. package/types/weather/src/weather.component.d.ts +0 -6
  1073. package/types/weather/src/weather.props.d.ts +0 -19
  1074. package/uploader/index.esm.js +0 -3187
  1075. package/uploader/index.umd.js +0 -2
  1076. package/uploader/package.json +0 -8
  1077. package/uploader/style.css +0 -1
  1078. package/verify-detail/index.esm.js +0 -648
  1079. package/verify-detail/index.umd.js +0 -1
  1080. package/verify-detail/package.json +0 -8
  1081. package/video/index.esm.js +0 -1178
  1082. package/video/index.umd.js +0 -1
  1083. package/video/package.json +0 -8
  1084. package/weather/index.esm.js +0 -6816
  1085. package/weather/index.umd.js +0 -16
  1086. package/weather/package.json +0 -8
  1087. package/weather/style.css +0 -1
@@ -1,3780 +0,0 @@
1
- import { defineComponent as U, toRefs as Me, ref as n, computed as S, watch as E, createVNode as l, onBeforeMount as se, createTextVNode as X, onMounted as ae, Fragment as re, withDirectives as oe, vModelCheckbox as Fe, withModifiers as ee, vModelText as Re, Teleport as ce, createApp as he, onUnmounted as de, nextTick as ne, vShow as ge, mergeProps as Oe } from "vue";
2
- import { cloneDeep as Y } from "lodash-es";
3
- const $e = {
4
- /** 接受传入的原始数据的defaultState */
5
- initialState: { type: Object, default: {} },
6
- /** 页面高度 */
7
- height: { type: Number, default: 700 },
8
- /** 页面宽度 */
9
- width: { type: Number, default: 950 }
10
- };
11
- const Ve = {
12
- /** 记录默认模式及分组状态 */
13
- defaultStates: { type: Object, default: { mode: "" } },
14
- /** 当前开关模式 */
15
- onSwitchInStandardModeChanged: { type: Function, default: () => {
16
- } }
17
- }, Ae = {}, De = {};
18
- function ye(e) {
19
- const { properties: t, title: u } = e, c = Object.keys(t).reduce((a, r) => (a[r] = t[r].type === "object" && t[r].properties ? ye(t[r]) : Y(t[r].default), a), {});
20
- return c.id = `${u}-${Date.now()}`, c;
21
- }
22
- function je(e, t) {
23
- const u = ye(t);
24
- return Object.keys(e).reduce((c, a) => (c[a] = e[a], c), u), u;
25
- }
26
- function Pe(e, t) {
27
- return Object.keys(e).filter((c) => e[c] != null).reduce((c, a) => {
28
- if (t.has(a)) {
29
- const r = t.get(a);
30
- if (typeof r == "string")
31
- c[r] = e[a];
32
- else {
33
- const d = r(a, e[a], e);
34
- Object.assign(c, d);
35
- }
36
- } else
37
- c[a] = e[a];
38
- return c;
39
- }, {});
40
- }
41
- function Le(e, t, u = /* @__PURE__ */ new Map()) {
42
- const c = je(e, t);
43
- return Pe(c, u);
44
- }
45
- function Ee(e = {}) {
46
- function t(i, f, o, s) {
47
- if (typeof o == "number")
48
- return s[i].length === o;
49
- if (typeof o == "object") {
50
- const h = Object.keys(o)[0], m = o[h];
51
- if (h === "not")
52
- return Number(s[i].length) !== Number(m);
53
- if (h === "moreThan")
54
- return Number(s[i].length) >= Number(m);
55
- if (h === "lessThan")
56
- return Number(s[i].length) <= Number(m);
57
- }
58
- return !1;
59
- }
60
- function u(i, f, o, s) {
61
- return s[f] && s[f].propertyValue && String(s[f].propertyValue.value) === String(o);
62
- }
63
- const c = /* @__PURE__ */ new Map([
64
- ["length", t],
65
- ["getProperty", u]
66
- ]);
67
- Object.keys(e).reduce((i, f) => (i.set(f, e[f]), i), c);
68
- function a(i, f) {
69
- const o = i;
70
- return typeof f == "number" ? [{ target: o, operator: "length", param: null, value: Number(f) }] : typeof f == "boolean" ? [{ target: o, operator: "getProperty", param: i, value: !!f }] : typeof f == "object" ? Object.keys(f).map((s) => {
71
- if (s === "length")
72
- return { target: o, operator: "length", param: null, value: f[s] };
73
- const h = s, m = f[s];
74
- return { target: o, operator: i, param: h, value: m };
75
- }) : [];
76
- }
77
- function r(i) {
78
- return Object.keys(i).reduce((o, s) => {
79
- const h = a(s, i[s]);
80
- return o.push(...h), o;
81
- }, []);
82
- }
83
- function d(i, f) {
84
- if (c.has(i.operator)) {
85
- const o = c.get(i.operator);
86
- return o && o(i.target, i.param, i.value, f) || !1;
87
- }
88
- return !1;
89
- }
90
- function v(i, f) {
91
- return r(i).reduce((h, m) => h && d(m, f), !0);
92
- }
93
- function g(i, f) {
94
- const o = Object.keys(i), s = o.includes("allOf"), h = o.includes("anyOf"), m = s || h, k = (m ? i[m ? s ? "allOf" : "anyOf" : "allOf"] : [i]).map((C) => v(C, f));
95
- return s ? !k.includes(!1) : k.includes(!0);
96
- }
97
- return { parseValueSchema: g };
98
- }
99
- const He = {}, Ne = {};
100
- Ee();
101
- function Q(e, t, u = /* @__PURE__ */ new Map(), c = (d, v, g) => v, a = {}, r = (d) => d) {
102
- return Ae[t.title] = t, De[t.title] = c, He[t.title] = a, Ne[t.title] = r, (d = {}) => {
103
- const v = Le(d, t, u), g = Object.keys(e).reduce((i, f) => (i[f] = e[f].default, i), {});
104
- return Object.assign(g, v);
105
- };
106
- }
107
- function Z(e, t) {
108
- return { customClass: t.class };
109
- }
110
- const We = /* @__PURE__ */ new Map([
111
- ["appearance", Z]
112
- ]), ze = "https://json-schema.org/draft/2020-12/schema", _e = "https://farris-design.gitee.io/switch.schema.json", Ge = "switch", qe = "A Farris Component", Ue = "object", Xe = {
113
- id: {
114
- description: "The unique identifier for a switch",
115
- type: "string"
116
- },
117
- type: {
118
- description: "The type string of switch component",
119
- type: "string",
120
- default: "switch"
121
- },
122
- appearance: {
123
- description: "",
124
- type: "object",
125
- properties: {
126
- class: {
127
- type: "string"
128
- },
129
- style: {
130
- type: "string"
131
- }
132
- },
133
- default: {}
134
- },
135
- binding: {
136
- description: "",
137
- type: "object",
138
- default: {}
139
- },
140
- disable: {
141
- type: "string",
142
- default: !1
143
- },
144
- editable: {
145
- description: "",
146
- type: "boolean",
147
- default: !0
148
- },
149
- placeHolder: {
150
- description: "",
151
- type: "string",
152
- default: ""
153
- },
154
- readonly: {
155
- description: "",
156
- type: "boolean",
157
- default: !1
158
- },
159
- require: {
160
- description: "",
161
- type: "boolean",
162
- default: !1
163
- },
164
- tabindex: {
165
- description: "",
166
- type: "number",
167
- default: -1
168
- },
169
- visible: {
170
- description: "",
171
- type: "boolean",
172
- default: !0
173
- }
174
- }, Ke = [
175
- "id",
176
- "type"
177
- ], Ye = {
178
- $schema: ze,
179
- $id: _e,
180
- title: Ge,
181
- description: qe,
182
- type: Ue,
183
- properties: Xe,
184
- required: Ke
185
- };
186
- function Je(e, t, u) {
187
- return t;
188
- }
189
- const Qe = "switch", Ze = "A Farris Component", et = "object", tt = {
190
- basic: {
191
- description: "Basic Infomation",
192
- title: "基本信息",
193
- properties: {
194
- id: {
195
- description: "组件标识",
196
- title: "标识",
197
- type: "string",
198
- readonly: !0
199
- },
200
- type: {
201
- description: "组件类型",
202
- title: "控件类型",
203
- type: "select",
204
- editor: {
205
- type: "waiting for modification",
206
- enum: []
207
- }
208
- }
209
- }
210
- }
211
- }, nt = {
212
- title: Qe,
213
- description: Ze,
214
- type: et,
215
- categories: tt
216
- }, be = {
217
- /**
218
- * 组件值
219
- */
220
- modelValue: { type: Boolean, default: !1 },
221
- disable: { type: Boolean },
222
- onBackground: { type: String },
223
- offBackground: { type: String },
224
- onColor: { type: String },
225
- offColor: { type: String },
226
- onLabel: { type: String },
227
- offLabel: { type: String },
228
- size: { type: String, default: "medium" },
229
- /** 开关值变化事件 */
230
- onModelValueChanged: { type: Function, default: () => {
231
- } }
232
- };
233
- Q(be, Ye, We, Je, nt);
234
- const at = /* @__PURE__ */ U({
235
- name: "FSwitch",
236
- props: be,
237
- emits: ["update:modelValue", "modelValueChanged"],
238
- setup(e, t) {
239
- const {
240
- disable: u,
241
- size: c,
242
- onLabel: a,
243
- offLabel: r,
244
- onBackground: d,
245
- offBackground: v,
246
- onColor: g,
247
- offColor: i
248
- } = Me(e), f = n(e.modelValue), o = S(() => ({
249
- switch: !0,
250
- "f-cmp-switch": !0,
251
- checked: f.value,
252
- disabled: u.value,
253
- "switch-large": c.value === "large",
254
- "switch-medium": c.value === "medium",
255
- "switch-small": c.value === "small"
256
- })), s = S(() => f.value ? {
257
- outline: "none",
258
- background: d.value
259
- } : {
260
- outline: "none",
261
- backgroundColor: v.value
262
- }), h = S(() => f.value ? {
263
- background: g.value
264
- } : {
265
- backgroundColor: i.value
266
- }), m = S(() => (a == null ? void 0 : a.value) || (r == null ? void 0 : r.value));
267
- function y() {
268
- u.value || (f.value = !f.value, t.emit("update:modelValue", f.value));
269
- }
270
- return E(f, (b, k) => {
271
- b !== k && t.emit("modelValueChanged", b);
272
- }), () => l("span", {
273
- tabindex: "0",
274
- role: "button",
275
- class: o.value,
276
- style: s.value,
277
- onClick: y
278
- }, [m.value && l("span", {
279
- class: "switch-pane"
280
- }, [l("span", {
281
- class: "switch-label-checked"
282
- }, [a == null ? void 0 : a.value]), l("span", {
283
- class: "switch-label-unchecked"
284
- }, [r == null ? void 0 : r.value])]), l("small", {
285
- style: h.value
286
- }, [t.slots.default && t.slots.default()])]);
287
- }
288
- }), ot = /* @__PURE__ */ U({
289
- name: "FScreenResolutionSelector",
290
- props: Ve,
291
- emits: ["screenName", "screenResolution", "switchInStandardModeChanged"],
292
- setup(e, t) {
293
- const u = n([{
294
- name: "小屏幕",
295
- code: "SM",
296
- active: !1
297
- }, {
298
- name: "中等屏幕",
299
- code: "MD",
300
- active: !0
301
- }, {
302
- name: "大屏幕",
303
- code: "LG",
304
- active: !1
305
- }, {
306
- name: "极大屏幕",
307
- code: "EL",
308
- active: !1
309
- }]), c = n(e.defaultStates), a = n("MD"), r = n("中等屏幕"), d = n(!1);
310
- function v(i) {
311
- u.value.forEach((f) => {
312
- f.active = !1, f.name === i && (f.active = !0, a.value = f.code, r.value = i, t.emit("screenName", i), t.emit("screenResolution", a.value));
313
- });
314
- }
315
- function g() {
316
- t.emit("switchInStandardModeChanged", d.value);
317
- }
318
- return se(() => {
319
- c.value.mode === "standard" ? (d.value = !0, g()) : d.value = !1;
320
- }), () => l("div", {
321
- class: "f-layout-editor-screen-resolution-selector"
322
- }, [l("div", {
323
- class: "f-layout-editor-screen-resolution-selector-header"
324
- }, [l("div", {
325
- class: "f-layout-editor-screen-resolution-selector-form"
326
- }, [X("表单布局配置")])]), l("div", {
327
- class: "f-layout-editor-screen-resolution-selector-frame"
328
- }, [u.value.map((i) => l("span", {
329
- class: i.active ? "f-layout-editor-namelist-focus" : "f-layout-editor-namelist",
330
- onClick: () => v(i.name)
331
- }, [i.name]))]), l("div", {
332
- class: "f-layout-editor-screen-resolution-selector-switch"
333
- }, [l(at, {
334
- class: "f-layout-editor-show-switch",
335
- modelValue: d.value,
336
- "onUpdate:modelValue": (i) => d.value = i,
337
- onModelValueChanged: g
338
- }, null), d.value ? l("div", {
339
- class: "f-layout-editor-show-switch-label"
340
- }, [X("标准模式")]) : l("div", {
341
- class: "f-layout-editor-show-switch-label"
342
- }, [X("自定义模式")])])]);
343
- }
344
- }), lt = {
345
- /** 默认屏幕分辨率对应的英文缩写 */
346
- currentScreenResolution: { type: String, default: "" },
347
- /** 模式开关 */
348
- switchInStandardMode: { type: Boolean, default: !1 },
349
- /** 记录当前展示的区域 */
350
- currentArea: { type: Object, default: [] },
351
- /** 接受组件列表区传入的二维数组 */
352
- twoDimensionalArray: { type: Array, default: [] }
353
- }, it = {
354
- /** 单个组件的预览状态 */
355
- item: { type: Object, default: {} },
356
- /** 默认屏幕分辨率对应的英文缩写 */
357
- currentScreenResolution: { type: String, default: "" },
358
- /** 接受switch状态,若为自定义模式,则需要改变Col-num的num来源;*/
359
- switchInStandardMode: { type: Boolean, default: !1 }
360
- }, ut = /* @__PURE__ */ U({
361
- name: "FColumnWidthView",
362
- props: it,
363
- emits: [],
364
- setup(e, t) {
365
- const u = n(e.item), c = n(e.currentScreenResolution);
366
- n(e.switchInStandardMode);
367
- const a = S(() => `col-${u.value[`columnIn${c.value}`]}`);
368
- return E(() => e.item, (r, d) => {
369
- r !== d && (u.value = e.item);
370
- }), E(() => e.currentScreenResolution, (r, d) => {
371
- d !== r && (c.value = e.currentScreenResolution);
372
- }), () => l("div", {
373
- class: a.value
374
- }, [l("div", {
375
- class: "f-layout-editor-column-width-view",
376
- title: u.value.label
377
- }, [l("div", {
378
- class: "f-layout-editor-column-width-view-label"
379
- }, [u.value.label])])]);
380
- }
381
- }), st = /* @__PURE__ */ U({
382
- name: "FPreview",
383
- props: lt,
384
- emits: ["update:twoDimensionalArray"],
385
- setup(e, t) {
386
- const u = n(e.currentScreenResolution), c = n(e.switchInStandardMode), a = n(e.currentArea), r = n(e.twoDimensionalArray), d = n([]);
387
- E(() => e.currentArea, (o, s) => {
388
- o !== s && (a.value = e.currentArea);
389
- }), E(() => e.switchInStandardMode, (o, s) => {
390
- o !== s && (c.value = e.switchInStandardMode);
391
- }), E(() => e.switchInStandardMode, (o, s) => {
392
- o !== s && (c.value = e.switchInStandardMode);
393
- }), E(() => e.currentScreenResolution, (o, s) => {
394
- o !== s && (u.value = e.twoDimensionalArray);
395
- }), E(() => e.twoDimensionalArray, () => {
396
- r.value = e.twoDimensionalArray, v();
397
- }), ae(() => {
398
- v();
399
- });
400
- function v() {
401
- d.value = Y(r.value), d.value = g();
402
- }
403
- function g() {
404
- const o = [];
405
- let s = 1;
406
- return d.value.forEach((h) => {
407
- const m = i(h, s);
408
- s += m.length, o.push(m);
409
- }), o;
410
- }
411
- function i(o, s) {
412
- const h = [];
413
- let m = [];
414
- return o.forEach((y) => {
415
- s !== y.componentRow && (s += 1, h.push(m), m = []), m.push(y);
416
- }), h.push(m), h;
417
- }
418
- function f() {
419
- if (c.value)
420
- return "";
421
- const o = Array.from({
422
- length: 12
423
- }, () => l("div", {
424
- class: "col-1"
425
- }, [l("div", {
426
- class: "f-layout-editor-preview-customize-single-background"
427
- }, [X(" ")])]));
428
- return l("div", {
429
- class: "f-layout-editor-preview-customize-whole-background"
430
- }, [o]);
431
- }
432
- return () => l("div", {
433
- class: "f-layout-editor-preview f-utils-fill-flex-column"
434
- }, [l("div", {
435
- class: "f-layout-editor-preview-header"
436
- }, [X("预览区")]), f(), l("div", {
437
- class: "f-layout-editor-preview-view f-utils-overflow-xhya"
438
- }, [l("div", {
439
- class: "f-layout-editor-preview-row-group"
440
- }, [d.value.map((o) => {
441
- var s, h;
442
- return l(re, null, [((s = o[0][0]) == null ? void 0 : s.group.toString()) === ((h = a.value[0]) == null ? void 0 : h.id) ? o.map((m) => l("div", {
443
- class: "f-layout-editor-row"
444
- }, [m.map((y) => l(ut, {
445
- item: y,
446
- "onUpdate:item": (b) => y = b,
447
- currentScreenResolution: u.value,
448
- switchInStandardMode: c.value
449
- }, null))])) : ""]);
450
- })])])]);
451
- }
452
- }), rt = {
453
- /** 用户切换屏幕分辨率-缩写-例:MD; */
454
- currentScreenResolution: { type: String, default: "" },
455
- /** 检测用户是否切换模式 */
456
- switchInStandardMode: { type: Boolean, default: !1 },
457
- /** 输入的控件原始数据 */
458
- originalData: { type: Array, default: [] },
459
- /** 在用户切换模式时显示原数据,确保两个模式下的数据不互通 */
460
- originalDataCopy: { type: Array, default: [] },
461
- /** 默认状态:包括defaultGroupNumber(默认显示组)及mode(当前模式:standard或customize) */
462
- defaultStates: { type: Object, default: {} },
463
- /** twoDimensionalArray值变化事件 */
464
- twoDimensionalArrayChanged: { type: Function, default: () => {
465
- } }
466
- }, ct = /* @__PURE__ */ new Map([
467
- ["appearance", Z]
468
- ]), dt = "https://json-schema.org/draft/2020-12/schema", ft = "https://farris-design.gitee.io/combo-list.schema.json", vt = "combo-list", pt = "A Farris Input Component", mt = "object", ht = {
469
- id: {
470
- description: "The unique identifier for a combo list",
471
- type: "string"
472
- },
473
- type: {
474
- description: "The type string of number combo list component",
475
- type: "string",
476
- default: "combo-list"
477
- },
478
- appearance: {
479
- description: "",
480
- type: "object",
481
- properties: {
482
- class: {
483
- type: "string"
484
- },
485
- style: {
486
- type: "string"
487
- }
488
- },
489
- default: {}
490
- },
491
- binding: {
492
- description: "",
493
- type: "object",
494
- default: {}
495
- },
496
- editable: {
497
- description: "",
498
- type: "boolean",
499
- default: !0
500
- },
501
- enableLinkLabel: {
502
- description: "",
503
- type: "boolean",
504
- default: !1
505
- },
506
- label: {
507
- description: "",
508
- type: "string",
509
- default: ""
510
- },
511
- lableWidth: {
512
- description: "",
513
- type: "number"
514
- },
515
- placeHolder: {
516
- description: "",
517
- type: "string",
518
- default: ""
519
- },
520
- readonly: {
521
- description: "",
522
- type: "boolean",
523
- default: !1
524
- },
525
- required: {
526
- description: "",
527
- type: "boolean",
528
- default: !1
529
- },
530
- tabindex: {
531
- description: "",
532
- type: "number",
533
- default: -1
534
- },
535
- textAlign: {
536
- description: "",
537
- type: "string",
538
- enum: [
539
- "left",
540
- "middle",
541
- "right"
542
- ],
543
- default: "left"
544
- },
545
- visible: {
546
- description: "",
547
- type: "boolean",
548
- default: !0
549
- },
550
- onBlur: {
551
- description: "",
552
- type: "string",
553
- default: ""
554
- },
555
- onClickLinkLabel: {
556
- description: "",
557
- type: "sting",
558
- default: ""
559
- }
560
- }, gt = [
561
- "id",
562
- "type"
563
- ], yt = {
564
- $schema: dt,
565
- $id: ft,
566
- title: vt,
567
- description: pt,
568
- type: mt,
569
- properties: ht,
570
- required: gt
571
- };
572
- function bt(e, t, u) {
573
- return t;
574
- }
575
- const Ct = "combo-list", wt = "A Farris Component", St = "object", Bt = {
576
- basic: {
577
- description: "Basic Infomation",
578
- title: "基本信息",
579
- properties: {
580
- id: {
581
- description: "组件标识",
582
- title: "标识",
583
- type: "string",
584
- readonly: !0
585
- },
586
- type: {
587
- description: "组件类型",
588
- title: "控件类型",
589
- type: "select",
590
- editor: {
591
- type: "waiting for modification",
592
- enum: []
593
- }
594
- }
595
- }
596
- },
597
- behavior: {
598
- description: "Basic Infomation",
599
- title: "行为",
600
- properties: {
601
- editable: {
602
- description: "",
603
- title: "允许编辑",
604
- type: "boolean"
605
- },
606
- readonly: {
607
- description: "",
608
- title: "只读",
609
- type: "string"
610
- },
611
- required: {
612
- description: "",
613
- title: "必填",
614
- type: "boolean"
615
- },
616
- visible: {
617
- description: "",
618
- title: "可见",
619
- type: "boolean"
620
- },
621
- placeHolder: {
622
- description: "",
623
- title: "提示文本",
624
- type: "string"
625
- },
626
- tabindex: {
627
- description: "",
628
- title: "tab索引",
629
- type: "number"
630
- }
631
- }
632
- }
633
- }, It = {
634
- title: Ct,
635
- description: wt,
636
- type: St,
637
- categories: Bt
638
- }, Ce = {
639
- /**
640
- * 组件标识
641
- */
642
- id: { type: String },
643
- /**
644
- * 下拉数据源
645
- */
646
- data: { type: Array, default: [] },
647
- /**
648
- * 可选,展示文本
649
- * 默认为空字符串
650
- */
651
- displayText: { type: String, default: "" },
652
- /**
653
- * 可选,是否禁用
654
- * 默认为`false`
655
- */
656
- disabled: { default: !1, type: Boolean },
657
- /**
658
- * 可选,下拉图标
659
- * 默认为'<span class="f-icon f-icon-arrow-60-down"></span>'
660
- */
661
- dropDownIcon: { type: String, default: '<span class="f-icon f-icon-arrow-60-down"></span>' },
662
- /**
663
- * 可选,是否可编辑
664
- * 默认`false`
665
- */
666
- editable: { default: !1, type: Boolean },
667
- /**
668
- * 可选,是否启用清空
669
- * 默认启用
670
- */
671
- enableClear: { default: !0, type: Boolean },
672
- /**
673
- * 可选,启用搜索
674
- * 默认为`false`
675
- */
676
- enableSearch: { type: Boolean, default: !1 },
677
- /**
678
- * 可选,鼠标悬停时是否显示控件值
679
- * 默认显示
680
- */
681
- enableTitle: { default: !0, type: Boolean },
682
- fitEditor: { default: !1, type: Boolean },
683
- /**
684
- * 可选,强制显示占位符
685
- * 默认`false`
686
- */
687
- forcePlaceholder: { default: !1, type: Boolean },
688
- /**
689
- * 可选,清空值时隐藏面板
690
- * 默认`true`
691
- */
692
- hidePanelOnClear: { default: !0, type: Boolean },
693
- /**
694
- * 可选,数据源id字段
695
- * 默认为`id`
696
- */
697
- idField: { default: "id", type: String },
698
- /**
699
- * 可选,字段映射
700
- */
701
- mapFields: { type: Object },
702
- /**
703
- * 可选,最大高度
704
- * 默认`350`
705
- */
706
- maxHeight: { default: 350, type: Number },
707
- /**
708
- * 最大输入长度
709
- */
710
- maxLength: { type: Number },
711
- /**
712
- * 可选,是否支持多选
713
- * 默认`false`
714
- */
715
- multiSelect: { default: !1, type: Boolean },
716
- /**
717
- * 绑定值
718
- */
719
- modelValue: {},
720
- /**
721
- * 占位符
722
- */
723
- placeholder: { type: String },
724
- /**
725
- * 可选,下拉面板展示位置
726
- * 默认为`auto`
727
- */
728
- placement: {
729
- type: String,
730
- default: "auto"
731
- /* auto */
732
- },
733
- /**
734
- * 可选,是否只读
735
- * 默认为`false`
736
- */
737
- readonly: { default: !1, type: Boolean },
738
- /**
739
- * 远端数据源信息
740
- */
741
- remote: { default: null, type: Object },
742
- /**
743
- * 可选,是否支持远端过滤
744
- * 默认`false`
745
- */
746
- remoteSearch: { default: !1, type: Boolean },
747
- /**
748
- * 可选,分隔符
749
- * 默认`,`
750
- */
751
- separator: { default: ",", type: String },
752
- /**
753
- * tabIndex
754
- */
755
- tabIndex: { type: Number, default: -1 },
756
- /**
757
- * 可选,数据源显示字段
758
- * 默认为`name`
759
- */
760
- textField: { default: "name", type: String },
761
- /**
762
- * 可选,数据源的title
763
- * 默认为`name`
764
- */
765
- titleField: { default: "name", type: String },
766
- /**
767
- * 可选,数据源值字段
768
- * 默认为`id`
769
- */
770
- valueField: { default: "id", type: String },
771
- /**
772
- * 可选,下拉列表值展示方式
773
- * 支持text | tag,即文本或标签,默认为`ViewType.Text`,即文本方式`text`
774
- */
775
- viewType: { default: "text", type: String },
776
- /**
777
- * 值变化事件
778
- */
779
- change: { type: Function, default: () => {
780
- } }
781
- };
782
- Q(Ce, yt, ct, bt, It);
783
- const kt = {
784
- dataSource: { type: Array, default: [] },
785
- enableSearch: { type: Boolean, default: !1 },
786
- idField: { type: String, default: "id" },
787
- multiSelect: { default: !1, type: Boolean },
788
- selectedValues: { type: String, default: "" },
789
- separator: { type: String, default: "," },
790
- textField: { type: String, default: "name" },
791
- titleField: { type: String, default: "name" },
792
- width: { type: Number },
793
- height: { type: Number },
794
- valueField: { type: String, default: "id" },
795
- /** 值变化事件 */
796
- onSelectionChange: { type: Function, default: () => {
797
- } }
798
- }, xt = /* @__PURE__ */ new Map([
799
- ["appearance", Z]
800
- ]);
801
- function Tt(e, t, u) {
802
- return t;
803
- }
804
- const Mt = "https://json-schema.org/draft/2020-12/schema", Ft = "https://farris-design.gitee.io/list-view.schema.json", Rt = "list-view", Ot = "A Farris Component", $t = "object", Vt = {
805
- id: {
806
- description: "The unique identifier for list-view",
807
- type: "string"
808
- },
809
- type: {
810
- description: "The type string of list-view",
811
- type: "string",
812
- default: "list-view"
813
- },
814
- appearance: {
815
- description: "",
816
- type: "object",
817
- properties: {
818
- class: {
819
- type: "string"
820
- },
821
- style: {
822
- type: "string"
823
- }
824
- },
825
- default: {}
826
- },
827
- binding: {
828
- description: "",
829
- type: "object",
830
- default: {}
831
- },
832
- disable: {
833
- type: "string",
834
- default: !1
835
- },
836
- editable: {
837
- description: "",
838
- type: "boolean",
839
- default: !0
840
- },
841
- placeHolder: {
842
- description: "",
843
- type: "string",
844
- default: ""
845
- },
846
- readonly: {
847
- description: "",
848
- type: "boolean",
849
- default: !1
850
- },
851
- require: {
852
- description: "",
853
- type: "boolean",
854
- default: !1
855
- },
856
- tabindex: {
857
- description: "",
858
- type: "number",
859
- default: -1
860
- },
861
- visible: {
862
- description: "",
863
- type: "boolean",
864
- default: !0
865
- }
866
- }, At = [
867
- "id",
868
- "type"
869
- ], Dt = {
870
- $schema: Mt,
871
- $id: Ft,
872
- title: Rt,
873
- description: Ot,
874
- type: $t,
875
- properties: Vt,
876
- required: At
877
- }, jt = "list-view", Pt = "A Farris Component", Lt = "object", Et = {
878
- basic: {
879
- description: "Basic Infomation",
880
- title: "基本信息",
881
- properties: {
882
- id: {
883
- description: "组件标识",
884
- title: "标识",
885
- type: "string",
886
- readonly: !0
887
- },
888
- type: {
889
- description: "组件类型",
890
- title: "控件类型",
891
- type: "select",
892
- editor: {
893
- type: "waiting for modification",
894
- enum: []
895
- }
896
- }
897
- }
898
- }
899
- }, Ht = {
900
- title: jt,
901
- description: Pt,
902
- type: Lt,
903
- categories: Et
904
- }, we = {
905
- data: { type: Array, default: [] },
906
- draggable: { type: Boolean, default: !1 },
907
- multiSelect: { Type: Boolean, default: !1 },
908
- multiSelectMode: { Type: String, default: "OnCheck" },
909
- idField: { Type: String, default: "id" },
910
- valueField: { Type: String, default: "id" },
911
- textField: { Type: String, default: "name" },
912
- titleField: { Type: String, default: "name" },
913
- view: { Type: String, default: "ContentView" },
914
- size: { Type: String, default: "default" },
915
- placeholder: { type: String, default: "" },
916
- header: { Type: String, default: "ContentHeader" },
917
- headerClass: { Type: String, default: "" },
918
- itemClass: { Type: String, default: "" },
919
- selectionValues: { type: Array, default: [] },
920
- keepOrder: { type: Boolean, default: !1 },
921
- disableField: { type: String, default: "disabled" }
922
- };
923
- Q(we, Dt, xt, Tt, Ht);
924
- function Nt(e, t, u, c, a) {
925
- const r = n(e.idField), d = n(e.disableField), v = n(e.draggable), g = n(e.itemClass), i = n(e.multiSelect), f = n(e.multiSelectMode);
926
- n(!0);
927
- const { isDragging: o } = u, { activeIndex: s, focusedItemId: h, hoverIndex: m } = c, { clearSelection: y, selectedItems: b, toggleSelectItem: k } = a;
928
- function R(p, V) {
929
- const D = {
930
- "f-list-view-group-item": !0,
931
- "f-list-view-draggable-item": v.value,
932
- "f-un-click": !!p.unClick,
933
- "f-un-select": !!p[d.value],
934
- "f-listview-active": p.__fv_index__ === s.value,
935
- "f-listview-hover": !o.value && V === m.value,
936
- moving: !!p.moving
937
- };
938
- return g.value.split(" ").reduce((O, F) => (O[F] = !0, O), D), D;
939
- }
940
- function C(p, V) {
941
- return p[r.value] || "";
942
- }
943
- const I = S(() => !i.value);
944
- function A(p, V) {
945
- p.unClick || p[d.value] || (I.value && (h.value = p[r.value]), k(p, V));
946
- }
947
- const x = S(() => i.value && f.value === "OnCheckClearByClick"), j = S(() => !i.value || i.value && (f.value === "OnCheckAndClick" || f.value === "OnClick"));
948
- function N(p, V, D) {
949
- if (V.unClick || V[d.value]) {
950
- p.preventDefault(), p.stopPropagation();
951
- return;
952
- }
953
- h.value = V[r.value], s.value = D, x.value && y(), j.value && k(V, D), t.emit("clickItem", { data: b.value, index: D }), t.emit("activeChange", b.value);
954
- }
955
- return {
956
- getKey: C,
957
- listViewItemClass: R,
958
- onCheckItem: A,
959
- onClickItem: N
960
- };
961
- }
962
- function Wt(e, t, u) {
963
- const c = n(e.idField), a = n(e.multiSelect);
964
- n(e.multiSelectMode);
965
- const { getSelectionItems: r } = u, d = n(r(e.selectionValues));
966
- E(() => e.selectionValues, (s) => {
967
- d.value = n(r(s)).value;
968
- });
969
- const v = S(() => !a.value);
970
- function g(s) {
971
- return s[c.value] || "";
972
- }
973
- function i(s) {
974
- return d.value.findIndex((m) => g(m) === g(s));
975
- }
976
- function f() {
977
- d.value.forEach((s) => {
978
- s.checked = !1;
979
- }), d.value = [];
980
- }
981
- function o(s, h) {
982
- v.value && f();
983
- const m = i(s);
984
- m > -1 ? (d.value.splice(m, 1), s.checked = !1) : (d.value.push(s), s.checked = !0), t.emit("selectionChange", d.value);
985
- }
986
- return { clearSelection: f, findIndexInSelectedItems: i, selectedItems: d, toggleSelectItem: o };
987
- }
988
- function zt(e, t) {
989
- function u(r) {
990
- const d = [];
991
- let v = r.nextNode();
992
- for (; v; )
993
- d.push(v), v = r.nextNode();
994
- return d;
995
- }
996
- function c(r, d) {
997
- const v = document.createTreeWalker(r, NodeFilter.SHOW_TEXT);
998
- return u(v).map((o) => ({ textNode: o, text: (o.textContent || "").toLocaleLowerCase() })).map(({ textNode: o, text: s }) => {
999
- const h = [];
1000
- let m = 0;
1001
- for (; m < s.length; ) {
1002
- const y = s.indexOf(d, m);
1003
- if (y === -1)
1004
- break;
1005
- h.push(y), m = y + d.length;
1006
- }
1007
- return h.map((y) => {
1008
- const b = new Range();
1009
- return b.setStart(o, y), b.setEnd(o, y + d.length), b;
1010
- });
1011
- }).flat();
1012
- }
1013
- function a(r) {
1014
- if (!CSS.highlights || (CSS.highlights.clear(), !r || !t))
1015
- return;
1016
- const d = c(t.value, r.toLocaleLowerCase()), v = new Highlight(...d);
1017
- CSS.highlights.set("search-result", v);
1018
- }
1019
- return { search: a };
1020
- }
1021
- const _t = {
1022
- /** 组件唯一标识 */
1023
- id: { Type: String, default: "" },
1024
- /** 自定义样式 */
1025
- customClass: { Type: String, default: "" },
1026
- /** 禁用状态 */
1027
- disable: { Type: Boolean, default: !1 },
1028
- /** 中间状态 */
1029
- indeterminate: { Type: Boolean, default: !1 },
1030
- /** 选择状态 */
1031
- modelValue: { Type: Boolean, default: !1 }
1032
- }, fe = /* @__PURE__ */ U({
1033
- name: "FCheckBox",
1034
- props: _t,
1035
- emits: ["change", "update:modelValue"],
1036
- setup(e, t) {
1037
- const u = n(e.id), c = n(e.customClass), a = n(e.disable), r = n(e.modelValue), d = n(e.indeterminate), v = S(() => {
1038
- const i = {
1039
- "custom-control": !0,
1040
- "custom-checkbox": !0
1041
- };
1042
- return c.value && c.value.split(" ").reduce((f, o) => (f[o] = !0, f), i), i;
1043
- });
1044
- function g(i) {
1045
- i.stopPropagation(), i.preventDefault(), a.value || (r.value = !r.value, t.emit("update:modelValue", r.value), t.emit("change", {
1046
- originalEvent: i,
1047
- checked: r.value
1048
- }));
1049
- }
1050
- return E(() => e.modelValue, (i) => {
1051
- r.value = i;
1052
- }), E(() => e.indeterminate, (i) => {
1053
- d.value = i;
1054
- }), () => l("div", {
1055
- class: v.value
1056
- }, [oe(l("input", {
1057
- id: u.value,
1058
- title: u.value,
1059
- type: "checkbox",
1060
- class: "custom-control-input",
1061
- "onUpdate:modelValue": (i) => r.value = i,
1062
- indeterminate: d.value
1063
- }, null), [[Fe, r.value]]), l("label", {
1064
- for: u.value,
1065
- class: "custom-control-label",
1066
- onClick: g
1067
- }, null)]);
1068
- }
1069
- });
1070
- function ve(e, t, u, c, a, r, d, v) {
1071
- const g = n(e.size), i = n(e.textField), f = n(e.titleField), o = n(e.multiSelect), s = n(e.disableField), {
1072
- onMouseenterItem: h,
1073
- onMouseoverItem: m,
1074
- onMouseoutItem: y
1075
- } = a, {
1076
- getKey: b,
1077
- listViewItemClass: k,
1078
- onCheckItem: R,
1079
- onClickItem: C
1080
- } = r, I = S(() => ({
1081
- margin: g.value === "small" ? "0.25rem 0" : "10px 0"
1082
- }));
1083
- function A(x, j, N) {
1084
- return x.checked = d.findIndexInSelectedItems(x) > -1, l("li", {
1085
- class: k(x, j),
1086
- id: b(x, j),
1087
- key: b(x, j),
1088
- onClick: (p) => C(p, x, j),
1089
- onMouseenter: (p) => h(p, x, j),
1090
- onMouseover: (p) => m(p, x, j),
1091
- onMouseout: (p) => y(p, x, j)
1092
- }, [o.value && l("div", {
1093
- class: "f-list-select",
1094
- onClick: (p) => p.stopPropagation()
1095
- }, [l(fe, {
1096
- id: "list-" + b(x, j),
1097
- customClass: "listview-checkbox",
1098
- disable: x[s.value] || x.unClick,
1099
- modelValue: x.checked,
1100
- "onUpdate:modelValue": (p) => x.checked = p,
1101
- onChange: (p) => R(x, j)
1102
- }, null)]), l("div", {
1103
- class: "f-list-content"
1104
- }, [l("div", {
1105
- style: I.value,
1106
- title: x[f.value] || x[i.value]
1107
- }, [x[i.value]])])]);
1108
- }
1109
- return {
1110
- renderItem: A
1111
- };
1112
- }
1113
- function Gt(e, t, u, c, a, r, d, v) {
1114
- const g = n(e.multiSelect), i = n(e.disableField), {
1115
- onMouseenterItem: f,
1116
- onMouseoverItem: o,
1117
- onMouseoutItem: s
1118
- } = a, {
1119
- getKey: h,
1120
- listViewItemClass: m,
1121
- onCheckItem: y,
1122
- onClickItem: b
1123
- } = r;
1124
- function k(C, I, A) {
1125
- return t.slots.content ? l(re, null, [t.slots.content && t.slots.content({
1126
- item: C,
1127
- index: I,
1128
- selectedItem: A
1129
- })]) : l("div", {
1130
- style: "margin: 10px 0;"
1131
- }, [C.name]);
1132
- }
1133
- function R(C, I, A) {
1134
- return l("li", {
1135
- class: m(C, I),
1136
- id: h(C, I),
1137
- key: h(C, I),
1138
- onClick: (x) => b(x, C, I),
1139
- onMouseenter: (x) => f(x, C, I),
1140
- onMouseover: (x) => o(x, C, I),
1141
- onMouseout: (x) => s(x, C, I)
1142
- }, [g.value && l("div", {
1143
- class: "f-list-select",
1144
- onClick: (x) => x.stopPropagation()
1145
- }, [l(fe, {
1146
- id: "list-" + h(C, I),
1147
- customClass: "listview-checkbox",
1148
- disable: C[i.value] || C.unClick,
1149
- modelValue: C.checked,
1150
- "onUpdate:modelValue": (x) => C.checked = x,
1151
- onChange: (x) => y(C, I)
1152
- }, null)]), l("div", {
1153
- class: "f-list-content"
1154
- }, [k(C, I, A)])]);
1155
- }
1156
- return {
1157
- renderItem: R
1158
- };
1159
- }
1160
- function qt(e, t, u, c, a, r, d, v) {
1161
- const g = n(e.multiSelect), i = n(e.disableField), {
1162
- onMouseenterItem: f,
1163
- onMouseoverItem: o,
1164
- onMouseoutItem: s
1165
- } = a, {
1166
- getKey: h,
1167
- listViewItemClass: m,
1168
- onCheckItem: y,
1169
- onClickItem: b
1170
- } = r, {
1171
- dragstart: k,
1172
- dragenter: R,
1173
- dragover: C,
1174
- dragend: I
1175
- } = c, {
1176
- removeItem: A
1177
- } = v, x = S(() => ({
1178
- margin: g.value ? "10px 0" : "10px 0px 10px 14px"
1179
- }));
1180
- function j(D) {
1181
- return l("div", {
1182
- style: x.value
1183
- }, [D.name]);
1184
- }
1185
- function N() {
1186
- return t.slots.itemContent ? t.slots.itemContent : j;
1187
- }
1188
- const p = N();
1189
- function V(D, w, O) {
1190
- return l("li", {
1191
- class: m(D, w),
1192
- id: h(D, w),
1193
- key: h(D, w),
1194
- onClick: (F) => b(F, D, w),
1195
- onMouseenter: (F) => f(F, D, w),
1196
- onMouseover: (F) => o(F, D, w),
1197
- onMouseout: (F) => s(F, D, w),
1198
- draggable: "true",
1199
- onDragstart: (F) => k(F, D, w),
1200
- onDragenter: (F) => R(F, w),
1201
- onDragend: (F) => I(F, D),
1202
- onDragover: (F) => C(F, w)
1203
- }, [g.value && l("div", {
1204
- class: "f-list-select",
1205
- onClick: (F) => F.stopPropagation()
1206
- }, [l(fe, {
1207
- id: "list-" + h(D, w),
1208
- customClass: "listview-checkbox",
1209
- disable: D[i.value] || D.unClick,
1210
- modelValue: D.checked,
1211
- "onUpdate:modelValue": (F) => D.checked = F,
1212
- onChange: (F) => y(D, w)
1213
- }, null)]), l("div", {
1214
- class: "f-list-content"
1215
- }, [p(D)]), l("div", {
1216
- class: "f-list-remove",
1217
- onClick: (F) => A(w)
1218
- }, [l("div", {
1219
- class: "f-list-remove-icon"
1220
- }, [l("i", {
1221
- class: "f-icon f-icon-remove_face"
1222
- }, null)])]), l("div", {
1223
- class: "f-list-handle"
1224
- }, [l("div", null, [l("i", {
1225
- class: "f-icon f-icon-drag-vertical"
1226
- }, null)])])]);
1227
- }
1228
- return {
1229
- renderItem: V
1230
- };
1231
- }
1232
- function Ut(e, t, u) {
1233
- function c() {
1234
- return t.slots.header && l("div", {
1235
- class: "f-list-view-header"
1236
- }, [t.slots.header()]);
1237
- }
1238
- return {
1239
- renderHeader: c
1240
- };
1241
- }
1242
- function pe(e, t, u) {
1243
- const c = n(e.headerClass), a = n(e.placeholder), r = n(""), d = S(() => !r.value), v = S(() => !!r.value);
1244
- function g(s) {
1245
- r.value = "";
1246
- }
1247
- E(r, (s) => {
1248
- u.search(s);
1249
- });
1250
- const i = S(() => {
1251
- const s = {
1252
- "form-group": !0,
1253
- "farris-form-group": !0
1254
- };
1255
- return c.value && c.value.split(" ").reduce((m, y) => (m[y] = !0, m), s), s;
1256
- });
1257
- function f(s) {
1258
- }
1259
- function o() {
1260
- return l("div", {
1261
- class: "f-list-view-header",
1262
- onClick: ee(f, ["prevent", "stop"])
1263
- }, [l("div", {
1264
- class: i.value
1265
- }, [l("div", {
1266
- class: "farris-input-wrap"
1267
- }, [l("div", {
1268
- class: "f-cmp-inputgroup"
1269
- }, [l("div", {
1270
- class: "input-group f-state-editable"
1271
- }, [oe(l("input", {
1272
- class: "form-control f-utils-fill text-left",
1273
- "onUpdate:modelValue": (s) => r.value = s,
1274
- name: "input-group-value",
1275
- type: "text",
1276
- placeholder: a.value,
1277
- autocomplete: "off"
1278
- }, null), [[Re, r.value]]), l("div", {
1279
- class: "input-group-append"
1280
- }, [v.value && l("span", {
1281
- class: "input-group-text input-group-clear",
1282
- onClick: (s) => g()
1283
- }, [l("i", {
1284
- class: "f-icon f-icon-close-circle"
1285
- }, null)]), d.value && l("span", {
1286
- class: "input-group-text"
1287
- }, [l("span", {
1288
- class: "f-icon f-icon-search"
1289
- }, null)])])])])])])]);
1290
- }
1291
- return {
1292
- renderHeader: o
1293
- };
1294
- }
1295
- function Xt(e, t) {
1296
- const u = n(e.idField), c = n(e.data), a = n(e.data), r = n(e.keepOrder);
1297
- function d() {
1298
- const i = c.value.map((f, o) => typeof f != "object" ? { __fv_index__: o, name: f } : (f.__fv_index__ = o, f));
1299
- return a.value = i, i;
1300
- }
1301
- const v = n(d());
1302
- E(
1303
- () => e.data,
1304
- (i) => {
1305
- if (r.value) {
1306
- const f = i.reduce((m, y) => (m.set(y.id, !0), m), /* @__PURE__ */ new Map()), o = c.value.reduce((m, y) => (m.set(y.id, !0), m), /* @__PURE__ */ new Map()), s = v.value.filter((m) => f.has(m.id)), h = i.filter((m) => !o.has(m.id));
1307
- c.value = [...s, ...h];
1308
- } else
1309
- c.value = i;
1310
- v.value = d();
1311
- }
1312
- );
1313
- function g(i) {
1314
- return i.map((o) => {
1315
- const s = a.value.findIndex((h) => h[u.value] === o);
1316
- return s > -1 ? a.value[s] : null;
1317
- }).filter((o) => o != null);
1318
- }
1319
- return {
1320
- dataView: v,
1321
- getSelectionItems: g
1322
- };
1323
- }
1324
- function Kt(e, t, u, c) {
1325
- const a = n(e.idField), { dataView: r } = u, d = n(-1), v = n(!1), { activeIndex: g, focusedItemId: i, hoverIndex: f, resumeHover: o, suspendHover: s } = c;
1326
- function h(k, R, C) {
1327
- k.stopPropagation(), s(), R && setTimeout(() => {
1328
- d.value = C, v.value = !0, R.moving = !0;
1329
- });
1330
- }
1331
- function m(k, R) {
1332
- if (k.preventDefault(), d.value !== R) {
1333
- const C = r.value[d.value], I = r.value;
1334
- I.splice(d.value, 1), I.splice(R, 0, C), d.value = R;
1335
- }
1336
- }
1337
- function y(k, R) {
1338
- k.preventDefault(), k.dataTransfer && (k.dataTransfer.dropEffect = "move");
1339
- }
1340
- function b(k, R) {
1341
- R && (R.moving = !1), r.value.forEach((C, I) => {
1342
- C.__fv_index__ = I;
1343
- }), v.value = !1, o(), f.value = R.__fv_index__, g.value = R.__fv_index__, i.value = R[a.value], t.emit("change", r.value), t.emit("activeChange", R);
1344
- }
1345
- return {
1346
- dragstart: h,
1347
- dragenter: m,
1348
- dragover: y,
1349
- dragend: b,
1350
- isDragging: v
1351
- };
1352
- }
1353
- function Yt(e, t, u) {
1354
- const { dataView: c } = u;
1355
- function a(r) {
1356
- if (r > -1 && r < c.value.length) {
1357
- const d = c.value.splice(r, 1);
1358
- t.emit("removeItem", d[0]);
1359
- }
1360
- }
1361
- return { removeItem: a };
1362
- }
1363
- function Jt() {
1364
- const e = n(-1), t = n(""), u = n(-1), c = n(!1);
1365
- function a(i, f, o) {
1366
- u.value = o;
1367
- }
1368
- function r(i, f, o) {
1369
- c.value || (u.value = o);
1370
- }
1371
- function d(i, f, o) {
1372
- u.value = -1;
1373
- }
1374
- function v() {
1375
- c.value = !0;
1376
- }
1377
- function g() {
1378
- c.value = !1;
1379
- }
1380
- return {
1381
- activeIndex: e,
1382
- focusedItemId: t,
1383
- hoverIndex: u,
1384
- onMouseenterItem: a,
1385
- onMouseoverItem: r,
1386
- onMouseoutItem: d,
1387
- resumeHover: g,
1388
- suspendHover: v
1389
- };
1390
- }
1391
- const Qt = /* @__PURE__ */ U({
1392
- name: "FListView",
1393
- props: we,
1394
- emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
1395
- setup(e, t) {
1396
- const u = n(), c = n(e.view), a = n(e.header), r = n(e.multiSelect), d = n(e.view === "CardView"), v = n(!0), g = n({}), i = n("暂无数据"), f = Xt(e), {
1397
- dataView: o
1398
- } = f, s = S(() => {
1399
- const W = {
1400
- "f-list-view": !0,
1401
- "f-list-view-multiple": r.value
1402
- };
1403
- return e.size !== "default" && (W[`${e.size}-item`] = !0), W;
1404
- }), h = S(() => ({
1405
- "f-list-view-group": !0,
1406
- "d-flex": d.value,
1407
- "flex-wrap": d.value
1408
- })), m = S(() => !!o.value && o.value.length > 0), y = Jt(), b = Wt(e, t, f), k = Kt(e, t, f, y), R = Yt(e, t, f), C = Nt(e, t, k, y, b), I = zt(e, u), A = S(() => o.value.length === 0), x = S(() => A.value && !t.slots.empty), j = S(() => !!t.slots.footer || v.value);
1409
- function N() {
1410
- return c.value === "SingleView" ? ve : c.value === "DraggableView" ? qt : c.value === "ContentView" && t.slots.content ? Gt : ve;
1411
- }
1412
- const p = N(), {
1413
- renderItem: V
1414
- } = p(e, t, f, k, y, C, b, R);
1415
- function D() {
1416
- return a.value === "SearchBar" ? pe : a.value === "ContentHeader" ? Ut : pe;
1417
- }
1418
- const w = D(), {
1419
- renderHeader: O
1420
- } = w(e, t, I);
1421
- function F(W) {
1422
- I.search(W);
1423
- }
1424
- t.expose({
1425
- search: F
1426
- });
1427
- function z(W) {
1428
- r.value && (W.preventDefault(), W.stopPropagation());
1429
- }
1430
- return () => l("div", {
1431
- class: s.value,
1432
- onClick: z
1433
- }, [O(), l("div", {
1434
- ref: u,
1435
- class: "f-list-view-content"
1436
- }, [l("ul", {
1437
- class: h.value,
1438
- style: "list-style: none;"
1439
- }, [m.value && o.value.map((W, $) => V(W, $, g)), x.value && l("div", {
1440
- class: "f-list-view-emptydata"
1441
- }, [l("p", {
1442
- class: "f-empty-title"
1443
- }, [i.value])]), t.slots.empty && t.slots.empty()])]), j.value && l("div", {
1444
- class: "f-list-view-footer"
1445
- }, [t.slots.footer && t.slots.footer()])]);
1446
- }
1447
- }), Zt = /* @__PURE__ */ U({
1448
- name: "FComboListContainer",
1449
- props: kt,
1450
- emits: ["selectionChange"],
1451
- setup(e, t) {
1452
- const u = n(e.dataSource), c = n([]), a = n(e.separator), r = n(e.width), d = n(e.height), v = n(String(e.selectedValues).split(a.value));
1453
- E(e.dataSource, () => {
1454
- u.value = e.dataSource;
1455
- });
1456
- const g = S(() => e.enableSearch ? "SearchBar" : "ContentHeader"), i = S(() => {
1457
- const o = {};
1458
- return r.value !== void 0 && (o.width = `${r.value}px`), d.value !== void 0 && (o.height = `${d.value}px`), o;
1459
- });
1460
- function f(o) {
1461
- c.value = o.map((s) => Object.assign({}, s)), v.value = o.map((s) => s[e.idField]), t.emit("selectionChange", c.value);
1462
- }
1463
- return E([() => e.selectedValues], ([o]) => {
1464
- v.value = o.split(a.value);
1465
- }), () => l("div", {
1466
- class: "f-combo-list-container pl-3",
1467
- style: i.value
1468
- }, [l(Qt, {
1469
- size: "small",
1470
- itemClass: "f-combo-list-item",
1471
- header: g.value,
1472
- headerClass: "f-combo-list-search-box",
1473
- data: u.value,
1474
- idField: e.idField,
1475
- textField: e.textField,
1476
- titleField: e.titleField,
1477
- multiSelect: e.multiSelect,
1478
- multiSelectMode: "OnCheckAndClick",
1479
- "selection-values": v.value,
1480
- onSelectionChange: f
1481
- }, null)]);
1482
- }
1483
- }), en = /* @__PURE__ */ new Map([
1484
- ["appearance", Z]
1485
- ]);
1486
- function tn(e, t, u) {
1487
- return t;
1488
- }
1489
- const nn = "https://json-schema.org/draft/2020-12/schema", an = "https://farris-design.gitee.io/button-edit.schema.json", on = "button-edit", ln = "A Farris Input Component", un = "object", sn = {
1490
- id: {
1491
- description: "The unique identifier for a Input Group",
1492
- type: "string"
1493
- },
1494
- type: {
1495
- description: "The type string of Input Group component",
1496
- type: "string",
1497
- default: "button-edit"
1498
- },
1499
- appearance: {
1500
- description: "",
1501
- type: "object",
1502
- properties: {
1503
- class: {
1504
- type: "string"
1505
- },
1506
- style: {
1507
- type: "string"
1508
- }
1509
- },
1510
- default: {}
1511
- },
1512
- binding: {
1513
- description: "",
1514
- type: "object",
1515
- default: {}
1516
- },
1517
- disable: {
1518
- type: "string",
1519
- default: !1
1520
- },
1521
- editable: {
1522
- description: "",
1523
- type: "boolean",
1524
- default: !0
1525
- },
1526
- enableLinkLabel: {
1527
- description: "",
1528
- type: "boolean",
1529
- default: !1
1530
- },
1531
- label: {
1532
- description: "",
1533
- type: "string",
1534
- default: ""
1535
- },
1536
- lableWidth: {
1537
- description: "",
1538
- type: "number"
1539
- },
1540
- placeHolder: {
1541
- description: "",
1542
- type: "string",
1543
- default: ""
1544
- },
1545
- readonly: {
1546
- description: "",
1547
- type: "boolean",
1548
- default: !1
1549
- },
1550
- require: {
1551
- description: "",
1552
- type: "boolean",
1553
- default: !1
1554
- },
1555
- tabindex: {
1556
- description: "",
1557
- type: "number",
1558
- default: -1
1559
- },
1560
- textAlign: {
1561
- description: "",
1562
- type: "string",
1563
- enum: [
1564
- "left",
1565
- "middle",
1566
- "right"
1567
- ],
1568
- default: "left"
1569
- },
1570
- visible: {
1571
- description: "",
1572
- type: "boolean",
1573
- default: !0
1574
- },
1575
- onBlur: {
1576
- description: "",
1577
- type: "string",
1578
- default: ""
1579
- },
1580
- onClickLinkLabel: {
1581
- description: "",
1582
- type: "sting",
1583
- default: ""
1584
- },
1585
- autoComplete: {
1586
- description: "",
1587
- type: "boolean",
1588
- default: !1
1589
- },
1590
- buttonContent: {
1591
- description: "",
1592
- type: "string",
1593
- default: ""
1594
- },
1595
- enableClear: {
1596
- description: "",
1597
- type: "boolean",
1598
- default: !0
1599
- },
1600
- inputType: {
1601
- description: "",
1602
- type: "string",
1603
- enum: [
1604
- "text",
1605
- "tag"
1606
- ],
1607
- default: "text"
1608
- },
1609
- multiSelect: {
1610
- description: "",
1611
- type: "boolean",
1612
- default: !1
1613
- },
1614
- popup: {
1615
- description: "",
1616
- type: "object",
1617
- properties: {
1618
- footerButtons: {
1619
- type: "array",
1620
- default: []
1621
- },
1622
- height: {
1623
- type: "number",
1624
- default: 600
1625
- },
1626
- dataMapping: {
1627
- type: "object"
1628
- },
1629
- contents: {
1630
- type: "array",
1631
- default: []
1632
- },
1633
- showMaxButton: {
1634
- type: "boolean",
1635
- default: !0
1636
- },
1637
- showCloseButton: {
1638
- type: "boolean",
1639
- default: !0
1640
- },
1641
- showFooter: {
1642
- type: "boolean",
1643
- default: !0
1644
- },
1645
- title: {
1646
- type: "string",
1647
- default: ""
1648
- },
1649
- width: {
1650
- type: "number",
1651
- default: 800
1652
- }
1653
- }
1654
- },
1655
- separator: {
1656
- type: "string",
1657
- default: ","
1658
- },
1659
- showButtonWhenDisabled: {
1660
- description: "",
1661
- type: "boolean",
1662
- default: !1
1663
- },
1664
- wrapText: {
1665
- type: "boolean",
1666
- default: !1
1667
- },
1668
- onClear: {
1669
- description: "",
1670
- type: "string",
1671
- default: ""
1672
- }
1673
- }, rn = [
1674
- "id",
1675
- "type"
1676
- ], cn = {
1677
- $schema: nn,
1678
- $id: an,
1679
- title: on,
1680
- description: ln,
1681
- type: un,
1682
- properties: sn,
1683
- required: rn
1684
- }, dn = "buttonEdit", fn = "A Farris Component", vn = "object", pn = {
1685
- basic: {
1686
- description: "Basic Infomation",
1687
- title: "基本信息",
1688
- properties: {
1689
- id: {
1690
- description: "组件标识",
1691
- title: "标识",
1692
- type: "string",
1693
- readonly: !0
1694
- },
1695
- type: {
1696
- description: "组件类型",
1697
- title: "控件类型",
1698
- type: "select",
1699
- editor: {
1700
- type: "waiting for modification",
1701
- enum: []
1702
- }
1703
- }
1704
- }
1705
- },
1706
- behavior: {
1707
- description: "Basic Infomation",
1708
- title: "行为",
1709
- properties: {
1710
- editable: {
1711
- description: "",
1712
- title: "允许编辑",
1713
- type: "boolean"
1714
- },
1715
- readonly: {
1716
- description: "",
1717
- title: "只读",
1718
- type: "string"
1719
- },
1720
- required: {
1721
- description: "",
1722
- title: "必填",
1723
- type: "boolean"
1724
- },
1725
- visible: {
1726
- description: "",
1727
- title: "可见",
1728
- type: "boolean"
1729
- },
1730
- placeHolder: {
1731
- description: "",
1732
- title: "提示文本",
1733
- type: "string"
1734
- },
1735
- tabindex: {
1736
- description: "",
1737
- title: "tab索引",
1738
- type: "number"
1739
- },
1740
- textAlign: {
1741
- description: "",
1742
- title: "对齐方式",
1743
- type: "enum",
1744
- editor: {
1745
- type: "combo-select",
1746
- textField: "name",
1747
- valueField: "value",
1748
- data: [
1749
- {
1750
- value: "left",
1751
- name: "左对齐"
1752
- },
1753
- {
1754
- value: "center",
1755
- name: "居中对齐"
1756
- },
1757
- {
1758
- value: "right",
1759
- name: "右对齐"
1760
- }
1761
- ]
1762
- }
1763
- }
1764
- }
1765
- }
1766
- }, mn = {
1767
- title: dn,
1768
- description: fn,
1769
- type: vn,
1770
- categories: pn
1771
- }, Se = {
1772
- /**
1773
- * 组件标识
1774
- */
1775
- id: String,
1776
- /**
1777
- * 扩展按钮显示内容,这是一段现在扩展按钮中的html标签
1778
- */
1779
- buttonContent: { type: String, default: '<i class="f-icon f-icon-lookup"></i>' },
1780
- buttonBehavior: { type: String, default: "Popup" },
1781
- /**
1782
- * 启用输入框自动完成功能
1783
- */
1784
- autoComplete: { type: Boolean, default: !1 },
1785
- /**
1786
- * 组件自定义样式
1787
- */
1788
- customClass: { type: String, default: "" },
1789
- /**
1790
- * 禁用组件,既不允许在输入框中录入,也不允许点击扩展按钮。
1791
- */
1792
- disable: { type: Boolean, default: !1 },
1793
- /**
1794
- * 允许在输入框中录入文本。
1795
- */
1796
- editable: { type: Boolean, default: !0 },
1797
- /**
1798
- * 显示清空文本按钮
1799
- */
1800
- enableClear: { type: Boolean, default: !1 },
1801
- /**
1802
- * 组件值
1803
- */
1804
- modelValue: { type: String, default: "" },
1805
- /**
1806
- * 将组件设置为只读,既不允许在输入框中录入,也不允许点击扩展按钮,但是允许复制输入框中的内容。
1807
- */
1808
- readonly: { type: Boolean, default: !1 },
1809
- /**
1810
- * 禁用组件时,是否显示扩展按钮
1811
- */
1812
- showButtonWhenDisabled: { type: Boolean, default: !1 },
1813
- /**
1814
- * 显示输入框的标签
1815
- */
1816
- enableTitle: { type: Boolean, default: !1 },
1817
- /**
1818
- * 输入框类型
1819
- */
1820
- inputType: { type: String, default: "text" },
1821
- /**
1822
- * 显示输入框提示信息
1823
- */
1824
- forcePlaceholder: { type: Boolean, default: !1 },
1825
- /**
1826
- * 输入框提示文本
1827
- */
1828
- placeholder: { type: String, default: "" },
1829
- /**
1830
- * 输入框最小长度
1831
- */
1832
- minLength: Number,
1833
- /**
1834
- * 输入框最大长度
1835
- */
1836
- maxLength: Number,
1837
- /**
1838
- * 输入框Tab键索引
1839
- */
1840
- tabIndex: Number,
1841
- popupHost: { type: Object },
1842
- popupRightBoundary: { type: Object },
1843
- popupOffsetX: { type: Object },
1844
- popupOnInput: { type: Boolean, default: !1 },
1845
- popupOnFocus: { type: Boolean, default: !1 },
1846
- popupMinWidth: { type: Number, default: 160 },
1847
- modalOptions: { type: Object, default: {} },
1848
- wrapText: { type: Boolean, default: !1 },
1849
- /**
1850
- * 可选,是否支持多选
1851
- * 默认`false`
1852
- */
1853
- multiSelect: { type: Boolean, default: !1 },
1854
- /**
1855
- * 可选,分隔符
1856
- * 默认`,`
1857
- */
1858
- separator: { type: String, default: "," },
1859
- /**对齐方式 */
1860
- textAlign: { type: String, default: "left" }
1861
- };
1862
- Q(Se, cn, en, tn, mn);
1863
- const hn = {
1864
- popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
1865
- host: { type: Object },
1866
- backgroundColor: { type: String, default: "" }
1867
- }, gn = /* @__PURE__ */ U({
1868
- name: "FOverlay",
1869
- props: hn,
1870
- emits: ["click"],
1871
- setup(e, t) {
1872
- const u = n(e.popupContentPosition), c = n(e.host), a = S(() => ({
1873
- backgroundColor: e.backgroundColor || "",
1874
- pointerEvents: "auto"
1875
- }));
1876
- function r(v) {
1877
- t.emit("click"), v.preventDefault(), v.stopPropagation();
1878
- }
1879
- S(() => {
1880
- const v = c.value;
1881
- if (v) {
1882
- const g = v.getBoundingClientRect(), {
1883
- left: i,
1884
- top: f,
1885
- height: o
1886
- } = g;
1887
- return {
1888
- left: i,
1889
- top: f + o
1890
- };
1891
- }
1892
- return u.value;
1893
- });
1894
- const d = S(() => ({
1895
- // position: 'relative',
1896
- // left: `${position.value.left}px`,
1897
- // top: `${position.value.top}px`
1898
- }));
1899
- return () => l(ce, {
1900
- to: "body"
1901
- }, {
1902
- default: () => {
1903
- var v, g;
1904
- return [l("div", {
1905
- class: "overlay-container",
1906
- onClick: (i) => r(i),
1907
- style: a.value
1908
- }, [l("div", {
1909
- style: d.value
1910
- }, [(g = (v = t.slots).default) == null ? void 0 : g.call(v)])])];
1911
- }
1912
- });
1913
- }
1914
- });
1915
- function yn(e) {
1916
- if (e.content && e.content.render)
1917
- return e.content.render;
1918
- if (e.render && typeof e.render == "function")
1919
- return e.render;
1920
- }
1921
- function bn(e) {
1922
- const t = document.createElement("div");
1923
- t.style.display = "contents";
1924
- let u;
1925
- const c = e.onClickCallback || (() => {
1926
- }), a = () => {
1927
- c(), u && u.unmount();
1928
- };
1929
- return u = he({
1930
- setup() {
1931
- de(() => {
1932
- document.body.removeChild(t);
1933
- });
1934
- const r = yn(e);
1935
- return () => l(gn, {
1936
- "popup-content-position": e.popupPosition,
1937
- host: e.host,
1938
- onClick: a,
1939
- backgroundColor: e.backgroundColor
1940
- }, {
1941
- default: () => [r && r()]
1942
- });
1943
- }
1944
- }), document.body.appendChild(t), u.mount(t), u;
1945
- }
1946
- class Cn {
1947
- static show(t) {
1948
- return bn(t);
1949
- }
1950
- }
1951
- const wn = {
1952
- class: { type: String, default: "" },
1953
- title: { type: String, default: "" },
1954
- width: { type: Number, default: 500 },
1955
- height: { type: Number, default: 320 },
1956
- buttons: {
1957
- type: Array,
1958
- default: []
1959
- },
1960
- modelValue: { type: Boolean, default: !1 },
1961
- showHeader: { type: Boolean, default: !0 },
1962
- showButtons: { type: Boolean, default: !0 },
1963
- fitContent: { type: Boolean, default: !0 }
1964
- }, Sn = /* @__PURE__ */ U({
1965
- name: "FModal",
1966
- props: wn,
1967
- emits: ["update:modelValue", "accept", "cancel", "closed"],
1968
- setup(e, t) {
1969
- const u = n(e.width), c = n(e.height), a = n(e.modelValue), r = n(""), d = n(e.class), v = n(e.fitContent), g = n(e.showHeader), i = n(""), f = n(!0), o = n(!1), s = n(!1), h = n(""), m = n(""), y = n(""), b = n(e.showButtons), k = n(e.title);
1970
- function R(L, q) {
1971
- a.value = !1, t.emit("update:modelValue", !1), q != null && t.emit(q ? "accept" : "cancel"), t.emit("closed");
1972
- }
1973
- const C = [{
1974
- text: "取消",
1975
- class: "btn btn-light",
1976
- handle: (L) => {
1977
- R(L, !1);
1978
- }
1979
- }, {
1980
- text: "确定",
1981
- class: "btn btn-primary",
1982
- handle: (L) => {
1983
- R(L, !0);
1984
- }
1985
- }], I = n(e.buttons && e.buttons.length ? e.buttons : C), A = S(() => !!i.value), x = S(() => !!b.value && !!I.value);
1986
- n(), n(), E(() => e.modelValue, () => {
1987
- a.value = e.modelValue;
1988
- });
1989
- const j = n(!1), N = S(() => a.value), p = S(() => {
1990
- const L = {
1991
- modal: !0,
1992
- "farris-modal": !0
1993
- };
1994
- return L["f-modal-fitContent"] = v.value, L;
1995
- }), V = S(() => ({
1996
- display: N.value ? "block" : "none !important"
1997
- })), D = S(() => {
1998
- const L = {
1999
- "modal-dialog": !0
2000
- };
2001
- return d.value.split(" ").reduce((G, J) => (G[J] = !0, G), L), L;
2002
- }), w = S(() => ({
2003
- position: "absolute",
2004
- top: "50%",
2005
- left: "50%",
2006
- width: `${u.value}px`,
2007
- height: v.value ? "auto" : `${c.value}px`,
2008
- "margin-left": `${0 - u.value / 2}px`,
2009
- "margin-top": v.value ? "auto" : `${0 - c.value / 2}px`
2010
- })), O = S(() => ({
2011
- "modal-content": !0,
2012
- "modal-content-has-header": g.value
2013
- })), F = S(() => ({
2014
- display: g.value ? "" : "none"
2015
- })), z = S(() => ({
2016
- "f-icon": !0,
2017
- modal_maximize: !0,
2018
- modalrevert: j.value
2019
- })), W = S(() => ({
2020
- height: "10px",
2021
- "z-index": 1,
2022
- display: g.value ? "none" : ""
2023
- })), $ = S(() => ({
2024
- "modal-body": !0,
2025
- "f-utils-flex-column": h.value === "iframe"
2026
- }));
2027
- function T() {
2028
- return {};
2029
- }
2030
- const P = S(() => {
2031
- const L = {
2032
- textAlgin: y.value
2033
- }, q = T();
2034
- return Object.assign(L, q);
2035
- });
2036
- function _(L) {
2037
- }
2038
- return () => l(ce, {
2039
- to: "body"
2040
- }, {
2041
- default: () => {
2042
- var L, q;
2043
- return [l("div", {
2044
- class: p.value,
2045
- style: V.value
2046
- }, [l("div", {
2047
- id: r.value,
2048
- class: D.value,
2049
- style: w.value
2050
- }, [l("div", {
2051
- class: O.value
2052
- }, [l("div", {
2053
- ref: "modalHeaderRef",
2054
- class: "modal-header",
2055
- style: F.value
2056
- }, [l("div", {
2057
- class: "modal-title"
2058
- }, [A.value && l("span", {
2059
- class: i.value,
2060
- style: "margin-right: 8px"
2061
- }, null), l("span", {
2062
- class: "modal-title-label"
2063
- }, [k.value])]), l("div", {
2064
- class: "actions"
2065
- }, [l("ul", null, [s.value && l("li", {
2066
- class: "f-btn-icon f-bare"
2067
- }, [l("span", {
2068
- class: "f-icon modal_minimize"
2069
- }, null)]), o.value && l("li", {
2070
- onClick: _,
2071
- class: "f-btn-icon f-bare"
2072
- }, [l("span", {
2073
- class: z.value
2074
- }, null)]), f.value && l("li", {
2075
- class: "f-btn-icon f-bare",
2076
- onClick: (G) => R(G, !1)
2077
- }, [l("span", {
2078
- class: "f-icon modal_close"
2079
- }, null)])])])]), l("div", {
2080
- ref: "dragableElementRef",
2081
- class: "f-utils-absolute-all",
2082
- style: W.value
2083
- }, null), l("div", {
2084
- class: $.value
2085
- }, [(q = (L = t.slots).default) == null ? void 0 : q.call(L), h.value === "iframe" && l("iframe", {
2086
- title: r.value,
2087
- class: "f-utils-fill",
2088
- width: "100%",
2089
- frameborder: "0",
2090
- src: m.value
2091
- }, null)]), x.value && l("div", {
2092
- class: "modal-footer",
2093
- style: P.value
2094
- }, [I.value && I.value.map((G) => l("button", {
2095
- type: "button",
2096
- class: G.class + " " + (G.iconClass && "btn-icontext"),
2097
- onClick: (J) => {
2098
- G.handle && G.handle(J);
2099
- }
2100
- }, [!!G.iconClass && l("i", {
2101
- class: G.iconClass
2102
- }, null), G.text]))])])])])];
2103
- }
2104
- });
2105
- }
2106
- });
2107
- function Bn(e) {
2108
- if (e.content && e.content.render)
2109
- return e.content.render;
2110
- if (e.render && typeof e.render == "function")
2111
- return e.render;
2112
- }
2113
- function In(e) {
2114
- const t = document.createElement("div");
2115
- t.style.display = "contents";
2116
- const u = he({
2117
- setup() {
2118
- de(() => {
2119
- document.body.removeChild(t);
2120
- });
2121
- const c = n(e.class || ""), a = n(!!e.showButtons), r = n(!!e.showHeader), d = n(!0), v = n(e.title || ""), g = e.acceptCallback || (() => {
2122
- }), i = e.rejectCallback || (() => {
2123
- }), f = Bn(e), o = () => {
2124
- d.value = !1, u.unmount();
2125
- };
2126
- return () => l(Sn, {
2127
- class: c.value,
2128
- modelValue: d.value,
2129
- "onUpdate:modelValue": (s) => d.value = s,
2130
- title: v.value,
2131
- width: e.width,
2132
- height: e.height,
2133
- buttons: e.buttons,
2134
- "show-header": r.value,
2135
- "show-buttons": a.value,
2136
- onAccept: g,
2137
- onCancel: i,
2138
- fitContent: e.fitContent,
2139
- onClosed: o
2140
- }, {
2141
- default: () => [f && f(u)]
2142
- });
2143
- }
2144
- });
2145
- return document.body.appendChild(t), u.mount(t), u;
2146
- }
2147
- class kn {
2148
- static show(t) {
2149
- const u = Object.assign({
2150
- title: "",
2151
- showButtons: !0,
2152
- showHeader: !0
2153
- }, t);
2154
- return In(u);
2155
- }
2156
- }
2157
- function xn(e, t, u, c) {
2158
- const a = n(e.buttonBehavior), r = n(e.popupOnInput), d = S(() => ({
2159
- "input-group-append": !0,
2160
- "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
2161
- })), v = S(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable);
2162
- async function g(o) {
2163
- if (v.value) {
2164
- const s = !!t.slots.default;
2165
- if (a.value === "Modal") {
2166
- const h = e.modalOptions;
2167
- kn.show({
2168
- ...h,
2169
- render: () => t.slots.default && t.slots.default()
2170
- });
2171
- }
2172
- a.value === "Overlay" && Cn.show({
2173
- // host: buttonEditRef.value,
2174
- host: document.body,
2175
- backgroundColor: "rgba(0,0,0,.15)",
2176
- render: () => t.slots.default && t.slots.default()
2177
- }), s && a.value === "Popup" && c.togglePopup(), s && r.value && c.hidePopup(), t.emit("clickButton", { origin: o, value: e.modelValue });
2178
- }
2179
- o.stopPropagation();
2180
- }
2181
- function i(o) {
2182
- t.emit("mouseEnterIcon", o);
2183
- }
2184
- function f(o) {
2185
- t.emit("mouseLeaveIcon", o);
2186
- }
2187
- return {
2188
- buttonGroupClass: d,
2189
- onClickButton: g,
2190
- onMouseEnterButton: i,
2191
- onMouseLeaveButton: f
2192
- };
2193
- }
2194
- function Tn(e, t, u, c, a, r) {
2195
- const d = n(!1), v = S(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: g } = r;
2196
- function i(h) {
2197
- d.value = h;
2198
- }
2199
- E(a, () => {
2200
- i(!!a.value);
2201
- });
2202
- function f(h) {
2203
- const m = !e.readonly && !e.disable && e.editable, y = !e.editable;
2204
- h.stopPropagation(), (m || y) && (g("", !1), i(!d.value), t.emit("clear"));
2205
- }
2206
- function o(h) {
2207
- if (v.value) {
2208
- if (!u.value) {
2209
- i(!1);
2210
- return;
2211
- }
2212
- !e.disable && !e.readonly && i(!0);
2213
- }
2214
- }
2215
- function s(h) {
2216
- v.value && i(!1);
2217
- }
2218
- return {
2219
- enableClearButton: v,
2220
- showClearButton: d,
2221
- onClearValue: f,
2222
- onMouseEnterTextBox: o,
2223
- onMouseLeaveTextBox: s
2224
- };
2225
- }
2226
- function Mn(e, t, u, c, a) {
2227
- const r = n(e.popupOnInput), d = n(e.popupOnFocus), { shouldPopupContent: v } = a, g = S(() => e.enableTitle ? u.value : ""), i = S(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = S(() => e.readonly || !e.editable), o = n(!1), s = S(() => !e.disable && o.value), h = S(() => ({
2228
- "text-left": e.textAlign === "left",
2229
- "text-center": e.textAlign === "center",
2230
- "text-right": e.textAlign === "right",
2231
- "form-control": !0,
2232
- "f-utils-fill": !0
2233
- })), m = S(() => ({
2234
- "input-group": !0,
2235
- "f-state-disable": e.disable,
2236
- "f-state-editable": e.editable && !e.disable && !e.readonly,
2237
- "f-state-readonly": e.readonly && !e.disable,
2238
- "f-state-focus": s.value
2239
- }));
2240
- function y(p, V = !0) {
2241
- u.value !== p && (u.value = p, V && t.emit("change", p), t.emit("update:modelValue", p));
2242
- }
2243
- function b(p) {
2244
- v.value = !1, y(p, !0);
2245
- }
2246
- E(
2247
- () => e.modelValue,
2248
- (p) => {
2249
- u.value = p;
2250
- }
2251
- );
2252
- function k(p) {
2253
- o.value = !1, t.emit("blur", p), p.stopPropagation();
2254
- }
2255
- function R(p) {
2256
- t.emit("click", p);
2257
- }
2258
- function C(p) {
2259
- e.disable || (o.value = !0, f.value || (t.emit("focus", p), d.value && !v.value && a.popup()));
2260
- }
2261
- function I(p) {
2262
- t.emit("input", p.target.value);
2263
- const V = p.target.value;
2264
- c.value = V, u.value !== V && y(V, !1), r.value && !v.value && a.popup();
2265
- }
2266
- function A(p) {
2267
- p.target.tagName !== "INPUT" && p.preventDefault(), p.stopPropagation();
2268
- }
2269
- function x(p) {
2270
- t.emit("keydown", p);
2271
- }
2272
- function j(p) {
2273
- p.key === "Enter" && (r.value || d.value) && a.hidePopup(), t.emit("keyup", p);
2274
- }
2275
- function N(p) {
2276
- const V = p.target.value;
2277
- p.stopPropagation(), y(V);
2278
- }
2279
- return {
2280
- hasFocusedTextBox: s,
2281
- isTextBoxReadonly: f,
2282
- textBoxClass: h,
2283
- textBoxPlaceholder: i,
2284
- textBoxTitle: g,
2285
- inputGroupClass: m,
2286
- changeTextBoxValue: y,
2287
- commitValue: b,
2288
- onBlurTextBox: k,
2289
- onClickTextBox: R,
2290
- onFocusTextBox: C,
2291
- onInput: I,
2292
- onKeyDownTextBox: x,
2293
- onKeyUpTextBox: j,
2294
- onMouseDownTextBox: A,
2295
- onTextBoxValueChange: N
2296
- };
2297
- }
2298
- function Fn(e, t, u) {
2299
- const c = n(), a = n(!1);
2300
- function r() {
2301
- const i = c.value;
2302
- i && i.show(u.value);
2303
- }
2304
- async function d() {
2305
- !!t.slots.default && (a.value = !a.value, await ne(), r());
2306
- }
2307
- async function v() {
2308
- !!t.slots.default && (a.value = !0, await ne(), r());
2309
- }
2310
- function g() {
2311
- a.value = !1;
2312
- }
2313
- return { hidePopup: g, popup: v, shouldPopupContent: a, togglePopup: d, popoverRef: c };
2314
- }
2315
- function Rn(e, t, u) {
2316
- const {
2317
- isTextBoxReadonly: c,
2318
- textBoxClass: a,
2319
- textBoxPlaceholder: r,
2320
- textBoxTitle: d,
2321
- onBlurTextBox: v,
2322
- onClickTextBox: g,
2323
- onFocusTextBox: i,
2324
- onInput: f,
2325
- onKeyDownTextBox: o,
2326
- onKeyUpTextBox: s,
2327
- onMouseDownTextBox: h,
2328
- onTextBoxValueChange: m
2329
- } = u;
2330
- return () => l("input", {
2331
- name: "input-group-value",
2332
- autocomplete: e.autoComplete ? "on" : "off",
2333
- class: a.value,
2334
- disabled: e.disable,
2335
- maxlength: e.maxLength,
2336
- minlength: e.minLength,
2337
- placeholder: r.value,
2338
- readonly: c.value,
2339
- tabindex: e.tabIndex,
2340
- title: d.value,
2341
- type: e.inputType,
2342
- value: t.value,
2343
- onBlur: v,
2344
- onChange: m,
2345
- onClick: g,
2346
- onFocus: i,
2347
- onInput: f,
2348
- onKeydown: o,
2349
- onKeyup: s,
2350
- onMousedown: h
2351
- }, null);
2352
- }
2353
- function On(e, t, u) {
2354
- return t;
2355
- }
2356
- const $n = /* @__PURE__ */ new Map([
2357
- ["appearance", Z]
2358
- ]), Vn = "tags", An = "A Farris Component", Dn = "object", jn = {
2359
- basic: {
2360
- description: "Basic Infomation",
2361
- title: "基本信息",
2362
- properties: {
2363
- id: {
2364
- description: "组件标识",
2365
- title: "标识",
2366
- type: "string",
2367
- readonly: !0
2368
- },
2369
- type: {
2370
- description: "组件类型",
2371
- title: "控件类型",
2372
- type: "select",
2373
- editor: {
2374
- type: "waiting for modification",
2375
- enum: []
2376
- }
2377
- }
2378
- }
2379
- }
2380
- }, Pn = {
2381
- title: Vn,
2382
- description: An,
2383
- type: Dn,
2384
- categories: jn
2385
- }, Ln = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-design.gitee.io/tags.schema.json", Hn = "tags", Nn = "A Farris Component", Wn = "object", zn = {
2386
- id: {
2387
- description: "The unique identifier for tags",
2388
- type: "string"
2389
- },
2390
- type: {
2391
- description: "The type string of tags",
2392
- type: "string",
2393
- default: "tags"
2394
- },
2395
- appearance: {
2396
- description: "",
2397
- type: "object",
2398
- properties: {
2399
- class: {
2400
- type: "string"
2401
- },
2402
- style: {
2403
- type: "string"
2404
- }
2405
- },
2406
- default: {}
2407
- },
2408
- binding: {
2409
- description: "",
2410
- type: "object",
2411
- default: {}
2412
- },
2413
- disable: {
2414
- type: "string",
2415
- default: !1
2416
- },
2417
- editable: {
2418
- description: "",
2419
- type: "boolean",
2420
- default: !0
2421
- },
2422
- placeHolder: {
2423
- description: "",
2424
- type: "string",
2425
- default: ""
2426
- },
2427
- readonly: {
2428
- description: "",
2429
- type: "boolean",
2430
- default: !1
2431
- },
2432
- require: {
2433
- description: "",
2434
- type: "boolean",
2435
- default: !1
2436
- },
2437
- tabindex: {
2438
- description: "",
2439
- type: "number",
2440
- default: -1
2441
- },
2442
- visible: {
2443
- description: "",
2444
- type: "boolean",
2445
- default: !0
2446
- }
2447
- }, _n = [
2448
- "id",
2449
- "type"
2450
- ], Gn = {
2451
- $schema: Ln,
2452
- $id: En,
2453
- title: Hn,
2454
- description: Nn,
2455
- type: Wn,
2456
- properties: zn,
2457
- required: _n
2458
- }, Be = {
2459
- activeTag: { type: String, default: "" },
2460
- addButtonText: { type: String, default: "" },
2461
- customClass: { type: String, default: "" },
2462
- customStyle: { type: String, default: "" },
2463
- data: { type: Array, default: [{ name: "示例1" }] },
2464
- enableAddButton: { type: Boolean, default: !1 },
2465
- selectable: { type: Boolean, default: !1 },
2466
- showAddButton: { type: Boolean, default: !1 },
2467
- showClose: { type: Boolean, default: !0 },
2468
- showColor: { type: Boolean, default: !1 },
2469
- tagType: { type: String, default: "" },
2470
- tagStyle: { type: String, default: "" },
2471
- wrapText: { type: Boolean, default: !1 },
2472
- draggable: { type: Boolean, default: !1 },
2473
- disable: { type: Boolean, default: !1 }
2474
- };
2475
- Q(Be, Gn, $n, On, Pn);
2476
- function qn(e, t, u, c) {
2477
- const a = n(-1), r = n(!1);
2478
- function d(f, o, s) {
2479
- f.stopPropagation(), o && setTimeout(() => {
2480
- a.value = s, r.value = !0, o.moving = !0;
2481
- });
2482
- }
2483
- function v(f, o) {
2484
- if (f.preventDefault(), a.value !== o) {
2485
- const s = c.value[a.value], h = c.value;
2486
- h.splice(a.value, 1), h.splice(o, 0, s), a.value = o;
2487
- }
2488
- }
2489
- function g(f, o) {
2490
- f.preventDefault(), f.dataTransfer && (f.dataTransfer.dropEffect = "move");
2491
- }
2492
- function i(f, o) {
2493
- o && (o.moving = !1), u.value = c.value.filter((s) => s.type === "Tag").map((s) => s.payload), r.value = !1, t.emit("change", u.value);
2494
- }
2495
- return {
2496
- dragstart: d,
2497
- dragenter: v,
2498
- dragover: g,
2499
- dragend: i,
2500
- isDragging: r
2501
- };
2502
- }
2503
- const Un = /* @__PURE__ */ U({
2504
- name: "FTags",
2505
- props: Be,
2506
- emits: ["remove", "selectionChange", "change"],
2507
- setup(e, t) {
2508
- const u = n(e.selectable), c = n(e.customClass), a = n(e.data), r = n(e.tagType), d = n(e.tagStyle), v = n(e.showColor), g = n(e.customStyle), i = n(e.activeTag), f = n(e.showClose), o = n(e.addButtonText), s = n(), h = n(e.wrapText), m = n();
2509
- n(e.disable);
2510
- const y = n(!1);
2511
- function b() {
2512
- const B = a.value.map((M) => ({
2513
- type: "Tag",
2514
- payload: M
2515
- }));
2516
- return e.showAddButton && B.push({
2517
- type: "AddButton"
2518
- }), B;
2519
- }
2520
- const k = n(b());
2521
- function R(B) {
2522
- a.value = B, k.value = b();
2523
- }
2524
- const C = S(() => k.value.findIndex((B) => B.type === "Input")), I = qn(e, t, a, k), {
2525
- dragstart: A,
2526
- dragenter: x,
2527
- dragover: j,
2528
- dragend: N
2529
- } = I;
2530
- E(() => e.data, (B) => R(B)), E(() => e.showAddButton, () => {
2531
- k.value = b();
2532
- }), E(() => e.disable, (B) => {
2533
- k.value = b();
2534
- }), E(() => e.activeTag, (B) => {
2535
- i.value = B;
2536
- }), E(y, (B) => {
2537
- const M = [...k.value];
2538
- B ? M.length > 0 && M[M.length - 1].type != "Input" && (M.splice(M.length - 1, 1), M.splice(M.length, 0, {
2539
- type: "Input"
2540
- }), k.value = M, ne(() => {
2541
- m.value && m.value.focus();
2542
- })) : M.length > 0 && M[M.length - 1].type != "AddButton" && (M.splice(M.length - 1, 1), M.splice(M.length, 0, {
2543
- type: "AddButton"
2544
- }), k.value = M);
2545
- });
2546
- const p = S(() => {
2547
- const B = {
2548
- "farris-tags": !0,
2549
- "farris-tags-checkable": u.value,
2550
- "farris-tags-nowrap": !h.value
2551
- };
2552
- return c.value.split(" ").reduce((M, H) => (M[H] = !0, M), B), B;
2553
- });
2554
- function V(B) {
2555
- const M = {
2556
- "farris-tag-item": !0,
2557
- "farris-tag-item-checked": u.value && B.checked,
2558
- "farris-tag-item-checkable": u.value,
2559
- "farris-tag-item-has-color": v.value,
2560
- "farris-tag-item-actived": i.value === B.name
2561
- };
2562
- if (r.value) {
2563
- const H = `farris-tag-item-${r.value}`;
2564
- M[H] = !0;
2565
- }
2566
- return M;
2567
- }
2568
- const D = S(() => {
2569
- const B = {};
2570
- return g.value && g.value.split(";").reduce((M, H) => {
2571
- const K = H.split(":");
2572
- return M[K[0]] = K[1], M;
2573
- }, B), B;
2574
- });
2575
- function w(B, M) {
2576
- !e.disable && u.value && (!M.hasOwnProperty("selectable") || M.selectable) && (M.checked = !M.checked, i.value = M.checked ? M.name : "", M.checked && a.value.filter((H) => H.name !== M.name).forEach((H) => {
2577
- H.checked = !M.checked;
2578
- }), t.emit("change", a.value), t.emit("selectionChange", M));
2579
- }
2580
- function O(B, M) {
2581
- let H;
2582
- switch (B.key) {
2583
- case "Backspace":
2584
- a.value = a.value.filter((K) => K.name !== M.name), t.emit("change", a.value);
2585
- break;
2586
- case "ArrowLeft":
2587
- H = Math.max(s.value.scrollLeft + 20, 0), s.value.scrollLeft = H;
2588
- break;
2589
- case "ArrowRight":
2590
- H = Math.max(s.value.scrollLeft - 20, 0), s.value.scrollLeft = H;
2591
- }
2592
- }
2593
- function F(B, M) {
2594
- const H = a.value.findIndex((K) => K.name === M.name);
2595
- if (H > -1) {
2596
- const [K] = a.value.splice(H, 1);
2597
- k.value = b(), t.emit("change", a.value), t.emit("remove", {
2598
- tags: a.value,
2599
- remove: K
2600
- });
2601
- }
2602
- B.stopPropagation();
2603
- }
2604
- const z = S(() => ({
2605
- "farris-tag-item": !0,
2606
- "farris-tag-add-button": !0,
2607
- "farris-tag-add-button-disabled": !e.enableAddButton
2608
- }));
2609
- function W(B) {
2610
- B.stopPropagation(), y.value = !0;
2611
- }
2612
- function $() {
2613
- return !e.disable && l("li", {
2614
- class: z.value,
2615
- onClick: (B) => W(B)
2616
- }, [l("span", {
2617
- class: "f-icon f-icon-amplification"
2618
- }, null), o.value && l("span", {
2619
- class: "farris-tag-add-text"
2620
- }, [o.value])]);
2621
- }
2622
- function T(B, M, H) {
2623
- B > -1 && (a.value.splice(B, 0, {
2624
- name: M,
2625
- value: H,
2626
- selectable: u.value
2627
- }), k.value = b(), y.value = !1, t.emit("change", a.value));
2628
- }
2629
- function P(B) {
2630
- if (B && B.value) {
2631
- const M = B.value, H = C.value;
2632
- T(H, M, M), B.innerText = "";
2633
- } else
2634
- y.value = !1;
2635
- }
2636
- function _(B) {
2637
- const M = B.target;
2638
- M && M.value ? P(M) : y.value = !1;
2639
- }
2640
- function L(B) {
2641
- B.key === "Enter" && P(B.target);
2642
- }
2643
- function q() {
2644
- return !e.disable && l("li", {
2645
- class: "farris-tag-input-box"
2646
- }, [l("input", {
2647
- ref: m,
2648
- class: "form-control",
2649
- onKeyup: L,
2650
- onBlur: _
2651
- }, null)]);
2652
- }
2653
- function G(B, M) {
2654
- return l("li", {
2655
- class: V(B),
2656
- style: D.value,
2657
- tabindex: 0,
2658
- id: B.name,
2659
- key: B.name,
2660
- onClick: (H) => w(H, B),
2661
- onKeydown: (H) => O(H, B),
2662
- draggable: "true",
2663
- onDragstart: (H) => A(H, B, M),
2664
- onDragenter: (H) => x(H, M),
2665
- onDragend: (H) => N(H, B),
2666
- onDragover: (H) => j(H, M)
2667
- }, [l("span", {
2668
- title: B.name,
2669
- class: "tag-box"
2670
- }, [B.name]), !e.disable && f.value && l("span", {
2671
- class: "tag-delete"
2672
- }, [l("i", {
2673
- class: "f-icon f-icon-close",
2674
- onClick: (H) => F(H, B)
2675
- }, null)])]);
2676
- }
2677
- function J() {
2678
- return k.value.map((B, M) => {
2679
- switch (B.type) {
2680
- case "Tag":
2681
- return G(B.payload, M);
2682
- case "AddButton":
2683
- return $();
2684
- case "Input":
2685
- return q();
2686
- }
2687
- });
2688
- }
2689
- const le = S(() => ({
2690
- "farris-tags-item-container": !0,
2691
- "farris-tag-item-capsule": d.value === "capsule"
2692
- }));
2693
- function ie(B) {
2694
- const M = Math.max(s.value.scrollLeft - B.deltaX, 0);
2695
- s.value.scrollLeft = M;
2696
- }
2697
- function ke(B) {
2698
- var H;
2699
- B.preventDefault(), B.stopPropagation();
2700
- const M = (H = B.dataTransfer) == null ? void 0 : H.getData("Text");
2701
- if (M) {
2702
- const K = M.split(":"), Te = K[0], te = K[1];
2703
- [...a.value].findIndex((ue) => (console.log(`${ue.value} === ${te} is ${ue.value === te}`), ue.value === te)) > -1 || T(a.value.length, Te, te);
2704
- }
2705
- }
2706
- function xe(B) {
2707
- B.preventDefault();
2708
- }
2709
- return () => l("div", {
2710
- class: p.value,
2711
- onDrop: ke,
2712
- onDragover: xe
2713
- }, [l("ul", {
2714
- ref: s,
2715
- class: le.value,
2716
- onWheel: (B) => ie(B)
2717
- }, [J()])]);
2718
- }
2719
- });
2720
- function Xn(e, t, u) {
2721
- const c = n(e.separator), {
2722
- changeTextBoxValue: a
2723
- } = u, r = S(() => t.value ? t.value.split(c.value).map((v) => ({
2724
- name: v,
2725
- selectable: !0
2726
- })) : []);
2727
- function d(v) {
2728
- a(v.map((g) => g.name).join(c.value), !0);
2729
- }
2730
- return () => l(Un, {
2731
- id: `${e.id}-tag-editor`,
2732
- class: "form-control",
2733
- data: r.value,
2734
- showClose: !0,
2735
- showInput: !0,
2736
- onChange: d
2737
- }, null);
2738
- }
2739
- function Kn(e, t, u) {
2740
- const {
2741
- buttonGroupClass: c,
2742
- onClickButton: a,
2743
- onMouseEnterButton: r,
2744
- onMouseLeaveButton: d
2745
- } = t, {
2746
- enableClearButton: v,
2747
- showClearButton: g,
2748
- onClearValue: i
2749
- } = u;
2750
- return () => l("div", {
2751
- id: `${e.id}-button-group`,
2752
- class: c.value
2753
- }, [v.value && oe(l("span", {
2754
- class: "input-group-text input-group-clear",
2755
- onClick: i
2756
- }, [l("i", {
2757
- class: "f-icon modal_close"
2758
- }, null)]), [[ge, g.value]]), e.buttonContent && l("span", {
2759
- class: "input-group-text input-group-append-button",
2760
- innerHTML: e.buttonContent,
2761
- onClick: a,
2762
- onMouseenter: r,
2763
- onMouseleave: d
2764
- }, null)]);
2765
- }
2766
- const Yn = {
2767
- id: { type: String },
2768
- title: { type: String },
2769
- placement: { type: String, default: "bottom" },
2770
- reference: {
2771
- type: Object
2772
- },
2773
- host: {
2774
- type: Object
2775
- },
2776
- leftBoundary: {
2777
- type: Object
2778
- },
2779
- rightBoundary: {
2780
- type: Object
2781
- },
2782
- visible: { type: Boolean, default: !1 },
2783
- class: { type: String },
2784
- offsetX: { type: Object, default: n(0) },
2785
- zIndex: { type: Number, default: -1 },
2786
- keepWidthWithReference: { type: Boolean, default: !1 },
2787
- fitContent: { type: Boolean, default: !1 },
2788
- minWidth: { type: Number, default: -1 }
2789
- };
2790
- function Jn(e) {
2791
- const t = e.host ? e.host : "body", u = S(() => t === "body" ? 0 : t ? t.getBoundingClientRect().top : 0), c = S(() => t === "body" ? 0 : t ? t.getBoundingClientRect().left : 0), a = S(() => t === "body" ? document.body.getBoundingClientRect().width : t ? t.getBoundingClientRect().width - (e.rightBoundary ? e.rightBoundary.getBoundingClientRect().width : 0) : document.body.getBoundingClientRect().width), r = S(() => t === "body" ? document.body.getBoundingClientRect().height : t ? t.getBoundingClientRect().height : document.body.getBoundingClientRect().height);
2792
- return { host: t, hostLeft: c, hostTop: u, hostWidth: a, hostHeight: r };
2793
- }
2794
- function Qn(e, t, u, c) {
2795
- var W;
2796
- const a = n(0), r = n(((W = e.offsetX) == null ? void 0 : W.value) || 0), d = n(e.minWidth), v = n(-1), g = n(-1), i = n(e.placement), f = n(0), o = n(0), s = n(0), h = n(document.documentElement.scrollLeft), m = n(document.documentElement.scrollTop), { hostLeft: y, hostTop: b, hostWidth: k, hostHeight: R } = c;
2797
- E(e.offsetX, ($) => {
2798
- a.value = $ - r.value;
2799
- });
2800
- const C = S(() => {
2801
- const $ = {
2802
- left: `${o.value}px`,
2803
- top: `${s.value}px`,
2804
- transform: `translateX(${a.value}px)`
2805
- };
2806
- return e.zIndex !== -1 && ($["z-index"] = e.zIndex), d.value !== -1 && ($.width = `${d.value}px`), $;
2807
- }), I = S(() => ({
2808
- left: `${f.value}px`
2809
- }));
2810
- function A($) {
2811
- if ($ && e.keepWidthWithReference) {
2812
- const T = $.getBoundingClientRect();
2813
- d.value = Math.max(e.minWidth, T.width);
2814
- }
2815
- }
2816
- function x($, T) {
2817
- const P = k.value - $.width - 4;
2818
- return P > 0 ? P : T;
2819
- }
2820
- function j($, T) {
2821
- const P = R.value - $.height - 4;
2822
- return P > 0 ? P : T;
2823
- }
2824
- function N($, T, P) {
2825
- const _ = f.value, L = T.left - y.value + T.width / 2 + h.value, q = T.top - b.value - ($.height + P.height) + m.value;
2826
- return { popoverLeft: L, popoverTop: q, arrowLeft: _ };
2827
- }
2828
- function p($, T, P) {
2829
- const _ = T.top - b.value + (T.height + P.height) + m.value, L = j($, _);
2830
- return Math.min(_, L);
2831
- }
2832
- function V($, T) {
2833
- const P = x(T, $), _ = $ <= P ? f.value : $ - P;
2834
- return { popoverLeft: Math.min($, P), arrowLeft: _ };
2835
- }
2836
- function D($, T, P) {
2837
- const _ = T.left - y.value + T.width / 2 - (P.width / 2 - ($.left - y.value)) + h.value, { arrowLeft: L, popoverLeft: q } = V(_, $), G = p($, T, P);
2838
- return { popoverLeft: q, popoverTop: G, arrowLeft: L };
2839
- }
2840
- function w($, T, P) {
2841
- const _ = T.left - y.value + h.value, { arrowLeft: L, popoverLeft: q } = V(_, $), G = p($, T, P);
2842
- return { popoverLeft: q, popoverTop: G, arrowLeft: L };
2843
- }
2844
- const O = /* @__PURE__ */ new Map([
2845
- ["top", N],
2846
- ["bottom", D],
2847
- ["bottom-left", w]
2848
- ]);
2849
- function F($) {
2850
- var q, G;
2851
- const T = $.getBoundingClientRect();
2852
- v.value = T.top, g.value = T.left;
2853
- const P = (q = t.value) == null ? void 0 : q.getBoundingClientRect(), _ = (G = u.value) == null ? void 0 : G.getBoundingClientRect(), L = O.get(i.value);
2854
- if (L) {
2855
- const { arrowLeft: J, popoverLeft: le, popoverTop: ie } = L(_, T, P);
2856
- f.value = J, o.value = le, s.value = ie;
2857
- }
2858
- e.keepWidthWithReference && A($);
2859
- }
2860
- function z($) {
2861
- if ($) {
2862
- const T = $.getBoundingClientRect();
2863
- (T.left !== g.value || T.top !== v.value) && F($);
2864
- }
2865
- }
2866
- return {
2867
- arrowStyle: I,
2868
- popoverStyle: C,
2869
- position: i,
2870
- popoverWidth: d,
2871
- fitToReference: A,
2872
- followToReferencePosition: z,
2873
- locateToReference: F
2874
- };
2875
- }
2876
- function Zn(e, t, u, c, a, r, d) {
2877
- const v = n(e.visible), g = S(() => v.value), { fitToReference: i, locateToReference: f } = d;
2878
- let o;
2879
- function s() {
2880
- v.value = !1, document.body.removeEventListener("click", o), t.emit("hidden");
2881
- }
2882
- o = (m) => {
2883
- if (!a.value.contains(m.target)) {
2884
- const y = a.value.closest(".popover");
2885
- y && y.removeEventListener("click", o), s();
2886
- }
2887
- };
2888
- async function h(m) {
2889
- if (c.value && u.value && m) {
2890
- v.value = !0, a.value = m, r.value && i(m), await ne(), f(m), document.body.addEventListener("click", o);
2891
- const y = m.closest(".popover");
2892
- y && y.addEventListener("click", o), t.emit("shown");
2893
- }
2894
- }
2895
- return t.expose({ hide: s, show: h, shown: g }), { showPopover: v, hidePopverOnClickBodyHandler: o };
2896
- }
2897
- function ea(e, t, u, c, a) {
2898
- const { popoverWidth: r, fitToReference: d, followToReferencePosition: v } = a;
2899
- function g() {
2900
- if (u.value) {
2901
- v(u.value);
2902
- const i = u.value.getBoundingClientRect();
2903
- c.value && i.width !== r.value && d(u.value);
2904
- }
2905
- }
2906
- return { onResize: g };
2907
- }
2908
- const ta = /* @__PURE__ */ U({
2909
- name: "FPopover",
2910
- props: Yn,
2911
- emits: ["shown", "hidden"],
2912
- setup(e, t) {
2913
- const u = n(), c = n(), a = n(e.reference), r = n(e.keepWidthWithReference), d = S(() => !!e.title), v = Jn(e), {
2914
- host: g
2915
- } = v, i = Qn(e, u, c, v), {
2916
- position: f,
2917
- arrowStyle: o,
2918
- popoverStyle: s,
2919
- fitToReference: h,
2920
- locateToReference: m
2921
- } = i, {
2922
- showPopover: y,
2923
- hidePopverOnClickBodyHandler: b
2924
- } = Zn(e, t, u, c, a, r, i), {
2925
- onResize: k
2926
- } = ea(e, t, a, r, i), R = S(() => {
2927
- const I = `popover in popover-${f.value}`, A = `bs-popover-${f.value}`, x = {
2928
- "popover-fitcontent": e.fitContent
2929
- };
2930
- return x[I] = !0, x[A] = !0, (e.class || "").split(" ").reduce((N, p) => (N[p] = !0, N), x), x;
2931
- }), C = S(() => ({
2932
- "popover-content": !0,
2933
- "popover-body": !0
2934
- }));
2935
- return ae(() => {
2936
- e.reference && m(a.value), r.value && h(a.value), window.addEventListener("resize", k);
2937
- }), de(() => {
2938
- document.body.removeEventListener("click", b), window.removeEventListener("resize", k);
2939
- }), () => l(ce, {
2940
- to: g
2941
- }, {
2942
- default: () => {
2943
- var I;
2944
- return [oe(l("div", {
2945
- ref: c,
2946
- class: R.value,
2947
- style: s.value,
2948
- onClick: (A) => {
2949
- A.stopPropagation();
2950
- }
2951
- }, [l("div", {
2952
- ref: u,
2953
- class: "popover-arrow arrow",
2954
- style: o.value
2955
- }, null), d.value && l("h3", {
2956
- class: "popover-title popover-header"
2957
- }, [e.title]), l("div", {
2958
- class: C.value
2959
- }, [t.slots.default && ((I = t.slots) == null ? void 0 : I.default())])]), [[ge, y.value]])];
2960
- }
2961
- });
2962
- }
2963
- });
2964
- function na(e, t, u) {
2965
- const c = n(e.popupMinWidth), {
2966
- hidePopup: a,
2967
- popoverRef: r
2968
- } = u;
2969
- return () => l(ta, {
2970
- id: `${e.id}-popover`,
2971
- ref: r,
2972
- visible: !0,
2973
- placement: "bottom-left",
2974
- host: e.popupHost,
2975
- "keep-width-with-reference": !0,
2976
- fitContent: !0,
2977
- "right-boundary": e.popupRightBoundary,
2978
- minWidth: c.value,
2979
- offsetX: e.popupOffsetX,
2980
- onHidden: a
2981
- }, {
2982
- default: () => {
2983
- var d, v;
2984
- return [(v = (d = t.slots).default) == null ? void 0 : v.call(d)];
2985
- }
2986
- });
2987
- }
2988
- const aa = /* @__PURE__ */ U({
2989
- name: "FButtonEdit",
2990
- props: Se,
2991
- emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
2992
- setup(e, t) {
2993
- const u = n(), c = n(e.customClass), a = n(e.modelValue), r = Fn(e, t, u), {
2994
- shouldPopupContent: d,
2995
- hidePopup: v,
2996
- togglePopup: g
2997
- } = r, i = xn(e, t, u, r), f = n(""), o = Mn(e, t, a, f, r), {
2998
- hasFocusedTextBox: s,
2999
- commitValue: h,
3000
- inputGroupClass: m
3001
- } = o, y = Tn(e, t, a, s, f, o), {
3002
- onMouseEnterTextBox: b,
3003
- onMouseLeaveTextBox: k
3004
- } = y, R = S(() => {
3005
- const p = {
3006
- "f-button-edit": !0,
3007
- "f-cmp-inputgroup": !0,
3008
- "f-button-edit-nowrap": !e.wrapText
3009
- };
3010
- return c.value && c.value.split(" ").reduce((V, D) => (V[D] = !0, V), p), p;
3011
- });
3012
- function C() {
3013
- return e.multiSelect && e.inputType === "tag" ? Xn(e, a, o) : Rn(e, a, o);
3014
- }
3015
- let I = C();
3016
- E([() => e.multiSelect, () => e.inputType], () => {
3017
- I = C();
3018
- });
3019
- const A = Kn(e, i, y), x = na(e, t, r), j = {
3020
- commitValue: h,
3021
- elementRef: u,
3022
- hidePopup: v,
3023
- shouldPopupContent: d,
3024
- togglePopup: g
3025
- };
3026
- ae(() => {
3027
- u.value.componentInstance = j, window.onresize = () => {
3028
- document.body.click();
3029
- };
3030
- });
3031
- function N(p) {
3032
- u.value.contains(p.target) && d.value || document.body.click();
3033
- }
3034
- return t.expose(j), () => l(re, null, [l("div", Oe(t.attrs, {
3035
- ref: u,
3036
- class: R.value,
3037
- id: e.id,
3038
- onMousedown: N
3039
- }), [l("div", {
3040
- id: `${e.id}-input-group`,
3041
- class: m.value,
3042
- onMouseenter: b,
3043
- onMouseleave: k
3044
- }, [I(), A()])]), d.value && x()]);
3045
- }
3046
- });
3047
- function oa(e) {
3048
- const t = n(""), u = n(e.modelValue), c = n(e.data || []), a = n(e.editable);
3049
- function r(o) {
3050
- const s = String(o).split(e.separator).map((m) => [m, !0]), h = new Map(s);
3051
- return c.value.filter((m) => h.has(String(m[e.valueField])));
3052
- }
3053
- function d(o) {
3054
- const s = r(o).map((h) => h[e.textField]).join(e.separator);
3055
- t.value = a.value ? s || o : s;
3056
- }
3057
- function v(o) {
3058
- const s = o.split(e.separator).map((m) => [m, !0]), h = new Map(s);
3059
- return c.value.filter((m) => h.has(m[e.textField]));
3060
- }
3061
- function g(o) {
3062
- const s = {};
3063
- return s[e.idField] = o, s[e.textField] = o, [s];
3064
- }
3065
- function i(o) {
3066
- let s = v(o);
3067
- const h = s && s.length > 0;
3068
- return a.value && !h && (s = g(o)), s;
3069
- }
3070
- function f() {
3071
- const { url: o, method: s = "GET", headers: h = {}, body: m = null } = e.remote;
3072
- fetch(o, { method: s, headers: h, body: m }).then((b) => {
3073
- if (b.status === 200)
3074
- return b.json();
3075
- throw new Error(b.statusText);
3076
- }).then((b) => {
3077
- c.value = b;
3078
- }).catch((b) => {
3079
- console.error(b);
3080
- });
3081
- }
3082
- return e.remote && f(), E(() => e.data, () => {
3083
- c.value = e.data;
3084
- }), E([c], ([o]) => {
3085
- if (e.modelValue) {
3086
- const s = o.find((h) => h[e.valueField] === e.modelValue);
3087
- s && (t.value = s[e.textField]);
3088
- }
3089
- }), E(() => e.modelValue, (o) => {
3090
- u.value = o, d(o);
3091
- }), d(e.modelValue), { dataSource: c, displayText: t, editable: a, modelValue: u, getItemsByDisplayText: v, getItemsByValue: r, getSelectedItemsByDisplayText: i };
3092
- }
3093
- const la = /* @__PURE__ */ U({
3094
- name: "FComboList",
3095
- props: Ce,
3096
- emits: ["clear", "update:modelValue", "change"],
3097
- setup(e, t) {
3098
- const u = n(), c = n(e.disabled), a = n(e.enableClear), r = n(e.enableSearch), d = n(e.readonly), {
3099
- dataSource: v,
3100
- displayText: g,
3101
- editable: i,
3102
- modelValue: f,
3103
- getSelectedItemsByDisplayText: o
3104
- } = oa(e), s = S(() => e.multiSelect), h = S(() => u.value ? u.value.elementRef.getBoundingClientRect().width : 0);
3105
- function m() {
3106
- !s.value && u.value && u.value.hidePopup();
3107
- }
3108
- function y(C) {
3109
- g.value = C.map((I) => I[e.textField]).join(e.separator), f.value = C.map((I) => I[e.valueField]).join(e.separator), t.emit("update:modelValue", f.value), t.emit("change", C, f.value), m();
3110
- }
3111
- function b(C) {
3112
- f.value = "", t.emit("update:modelValue", ""), t.emit("clear");
3113
- }
3114
- function k(C) {
3115
- const I = o(C);
3116
- y(I);
3117
- }
3118
- function R() {
3119
- return g.value;
3120
- }
3121
- return t.expose({
3122
- getDisplayText: R
3123
- }), E([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([C, I, A, x, j]) => {
3124
- c.value = C, i.value = I, a.value = A, r.value = x, d.value = j;
3125
- }), () => l(aa, {
3126
- ref: u,
3127
- id: e.id,
3128
- disable: c.value,
3129
- readonly: d.value,
3130
- forcePlaceholder: e.forcePlaceholder,
3131
- editable: i.value,
3132
- buttonContent: e.dropDownIcon,
3133
- placeholder: e.placeholder,
3134
- enableClear: a.value,
3135
- maxLength: e.maxLength,
3136
- tabIndex: e.tabIndex,
3137
- enableTitle: e.enableTitle,
3138
- multiSelect: e.multiSelect,
3139
- inputType: e.multiSelect ? "tag" : "text",
3140
- modelValue: g.value,
3141
- "onUpdate:modelValue": (C) => g.value = C,
3142
- onClear: b,
3143
- onChange: k
3144
- }, {
3145
- default: () => [l(Zt, {
3146
- idField: e.idField,
3147
- valueField: e.valueField,
3148
- textField: e.textField,
3149
- titleField: e.titleField,
3150
- dataSource: v.value,
3151
- selectedValues: f.value,
3152
- multiSelect: e.multiSelect,
3153
- enableSearch: r.value,
3154
- height: e.maxHeight,
3155
- width: e.fitEditor ? h.value : void 0,
3156
- onSelectionChange: y
3157
- }, null)]
3158
- });
3159
- }
3160
- }), ia = {
3161
- /** 默认屏幕分辨率对应的英文缩写 */
3162
- currentScreenResolution: { type: String, default: "" },
3163
- /** 传入的单个控件的响应式列宽值 */
3164
- field: { type: Object, default: {} },
3165
- /** 模式开关 */
3166
- switchInStandardMode: { type: Boolean, default: !1 },
3167
- /** 列数值变化事件 */
3168
- fieldChanged: { type: Function, default: () => {
3169
- } }
3170
- }, ua = /* @__PURE__ */ new Map([
3171
- ["appearance", Z]
3172
- ]);
3173
- function sa(e, t, u) {
3174
- return t;
3175
- }
3176
- const ra = "https://json-schema.org/draft/2020-12/schema", ca = "https://farris-design.gitee.io/rate.schema.json", da = "rate", fa = "A Farris Component", va = "object", pa = {
3177
- id: {
3178
- description: "The unique identifier for rate",
3179
- type: "string"
3180
- },
3181
- type: {
3182
- description: "The type string of rate",
3183
- type: "string",
3184
- default: "rate"
3185
- },
3186
- appearance: {
3187
- description: "",
3188
- type: "object",
3189
- properties: {
3190
- class: {
3191
- type: "string"
3192
- },
3193
- style: {
3194
- type: "string"
3195
- }
3196
- },
3197
- default: {}
3198
- },
3199
- binding: {
3200
- description: "",
3201
- type: "object",
3202
- default: {}
3203
- },
3204
- disable: {
3205
- type: "string",
3206
- default: !1
3207
- },
3208
- editable: {
3209
- description: "",
3210
- type: "boolean",
3211
- default: !0
3212
- },
3213
- placeHolder: {
3214
- description: "",
3215
- type: "string",
3216
- default: ""
3217
- },
3218
- readonly: {
3219
- description: "",
3220
- type: "boolean",
3221
- default: !1
3222
- },
3223
- require: {
3224
- description: "",
3225
- type: "boolean",
3226
- default: !1
3227
- },
3228
- tabindex: {
3229
- description: "",
3230
- type: "number",
3231
- default: -1
3232
- },
3233
- visible: {
3234
- description: "",
3235
- type: "boolean",
3236
- default: !0
3237
- }
3238
- }, ma = [
3239
- "id",
3240
- "type"
3241
- ], ha = {
3242
- $schema: ra,
3243
- $id: ca,
3244
- title: da,
3245
- description: fa,
3246
- type: va,
3247
- properties: pa,
3248
- required: ma
3249
- }, ga = "rate", ya = "A Farris Component", ba = "object", Ca = {
3250
- basic: {
3251
- description: "Basic Infomation",
3252
- title: "基本信息",
3253
- properties: {
3254
- id: {
3255
- description: "组件标识",
3256
- title: "标识",
3257
- type: "string",
3258
- readonly: !0
3259
- },
3260
- type: {
3261
- description: "组件类型",
3262
- title: "控件类型",
3263
- type: "select",
3264
- editor: {
3265
- type: "waiting for modification",
3266
- enum: []
3267
- }
3268
- }
3269
- }
3270
- }
3271
- }, wa = {
3272
- title: ga,
3273
- description: ya,
3274
- type: ba,
3275
- categories: Ca
3276
- }, Sa = ["很不满意", "不满意", "一般", "满意", "非常满意"], Ie = {
3277
- /** 星星大小 */
3278
- size: { type: String, default: "large" },
3279
- /** 启用半颗星模式 */
3280
- enableHalf: { type: Boolean, default: !1 },
3281
- /** 启用再次点击后清除 */
3282
- enableClear: { type: Boolean, default: !1 },
3283
- /** 只读 */
3284
- disabled: { type: Boolean, default: !1 },
3285
- /** 分制 */
3286
- pointSystem: { type: Number, default: 5 },
3287
- /** 星星亮色 */
3288
- lightColor: { type: String, default: "" },
3289
- /** 星星暗色(底色) */
3290
- darkColor: { type: String, default: "" },
3291
- /** 图案样式 */
3292
- iconClass: { type: String, default: "f-icon-star" },
3293
- /** 星星个数 */
3294
- numOfStar: { type: Number, default: 5 },
3295
- /** 禁用单个星星的文字提示 */
3296
- toolTipDisabled: { type: Boolean, default: !0 },
3297
- /** 默认的满意度文案 */
3298
- toolTipContents: { type: Array, default: Sa },
3299
- /** 启用评分 */
3300
- enableScore: { type: Boolean, default: !0 },
3301
- /** 启用满意度 */
3302
- enableSatisfaction: { type: Boolean, default: !1 },
3303
- /**
3304
- * 绑定值
3305
- */
3306
- value: { type: Number, default: 0 }
3307
- };
3308
- Q(Ie, ha, ua, sa, wa);
3309
- const Ba = /* @__PURE__ */ U({
3310
- name: "FRate",
3311
- props: Ie,
3312
- emits: ["selectedValue"],
3313
- setup(e, t) {
3314
- const u = n(e.size), c = n(e.enableHalf), a = n(e.enableClear), r = n(e.disabled), d = n(e.pointSystem), v = n(e.lightColor), g = n(e.darkColor), i = n(e.iconClass), f = n(e.numOfStar), o = n(e.toolTipDisabled), s = n(e.toolTipContents), h = n(e.enableScore), m = n(e.enableSatisfaction);
3315
- let y;
3316
- const b = n(0);
3317
- let k = 0;
3318
- const R = n(0), C = n(e.value);
3319
- let I = 1, A, x, j;
3320
- const N = 4;
3321
- ae(() => {
3322
- });
3323
- function p() {
3324
- switch (u.value) {
3325
- case "small":
3326
- y = 14;
3327
- break;
3328
- case "middle":
3329
- y = 16;
3330
- break;
3331
- case "large":
3332
- y = 18;
3333
- break;
3334
- case "extraLarge":
3335
- y = 24;
3336
- break;
3337
- }
3338
- V(), f.value && (I = d.value / f.value), C.value && w();
3339
- }
3340
- p();
3341
- function V() {
3342
- const T = f.value;
3343
- j = [];
3344
- for (let P = 1; P <= T; P++)
3345
- j.push({
3346
- id: P
3347
- });
3348
- }
3349
- function D(T) {
3350
- return T.className.indexOf("f-icon") !== -1;
3351
- }
3352
- function w() {
3353
- let T;
3354
- c.value ? T = Math.ceil(C.value / I) : T = C.value, k = (y * C.value + Math.floor(C.value) * N) / I, A = s.value[T - 1];
3355
- }
3356
- function O() {
3357
- return b.value === k && a.value && k !== 0 ? (k = 0, C.value = 0, x = null, b.value = 0, R.value = 0, t.emit("selectedValue", C.value), !0) : !1;
3358
- }
3359
- function F(T, P, _) {
3360
- if (T.movementX || T.movementY) {
3361
- if (r.value)
3362
- return;
3363
- m.value && (A = s.value[P - 1]), T.offsetX < y / 2 && c.value === !0 ? (b.value = y * P - y / 2 + N * (P - 1), R.value = I * P - I / 2) : (b.value = y * P + N * (P - 1), R.value = I * P);
3364
- }
3365
- if (_ === !0) {
3366
- if (O())
3367
- return;
3368
- C.value = R.value, k = b.value, x = A, t.emit("selectedValue", C.value);
3369
- }
3370
- }
3371
- function z(T, P) {
3372
- var _;
3373
- if (D(T.target) && T.target) {
3374
- const L = parseInt((_ = T.target) == null ? void 0 : _.id);
3375
- F(T, L, P);
3376
- }
3377
- }
3378
- const W = S(() => R.value ? R.value + "分" : C.value + "分"), $ = S(() => ({
3379
- width: (b.value || k) + "px"
3380
- }));
3381
- return () => l("div", {
3382
- class: "farris-star-rating",
3383
- onMouseover: ee((T) => z(T, !1), ["prevent"]),
3384
- onMousemove: ee((T) => z(T, !1), ["prevent"]),
3385
- onMouseout: ee((T) => z(T, !1), ["prevent"]),
3386
- onClick: ee((T) => z(T, !0), ["prevent"])
3387
- }, [l("div", {
3388
- class: "star-light-area",
3389
- style: $.value
3390
- }, [j.map((T) => l("span", {
3391
- class: ["f-icon default-light-color ", i.value, {
3392
- "f-star-sm": u.value === "small"
3393
- }, {
3394
- "f-star-md": u.value === "middle"
3395
- }, {
3396
- "f-star-lg": u.value === "large"
3397
- }, {
3398
- "f-star-exlarge": u.value === "extraLarge"
3399
- }, {
3400
- disabled: o.value
3401
- }],
3402
- id: T.id,
3403
- style: {
3404
- color: v.value
3405
- }
3406
- }, null))]), l("div", {
3407
- class: ["star-dark-area", {
3408
- small: u.value === "small"
3409
- }, {
3410
- middle: u.value === "middle"
3411
- }, {
3412
- large: u.value === "large"
3413
- }]
3414
- }, [j.map((T) => l("span", {
3415
- class: ["f-icon default-dark-color", i.value, {
3416
- "f-star-sm": u.value === "small"
3417
- }, {
3418
- "f-star-md": u.value === "middle"
3419
- }, {
3420
- "f-star-lg": u.value === "large"
3421
- }, {
3422
- "f-star-exlarge": u.value === "extraLarge"
3423
- }],
3424
- id: T.id,
3425
- style: {
3426
- color: g.value
3427
- }
3428
- }, null))]), l("div", {
3429
- class: ["f-utils-fill", {
3430
- "font-small": u.value === "small"
3431
- }, {
3432
- "font-middle": u.value === "middle"
3433
- }, {
3434
- "font-large": u.value === "large"
3435
- }, {
3436
- "font-exlarge": u.value === "extraLarge"
3437
- }]
3438
- }, [h.value && l("span", null, [X(" "), W.value, X(" ")]), m.value && (x || A) && l("span", null, [X(" "), A || x])])]);
3439
- }
3440
- }), Ia = /* @__PURE__ */ U({
3441
- name: "FColumnWidthEditor",
3442
- props: ia,
3443
- emits: ["fieldChanged"],
3444
- setup(e, t) {
3445
- const u = {
3446
- SM: ["1"],
3447
- MD: ["1", "2"],
3448
- LG: ["1", "2", "3", "4"],
3449
- EL: ["1", "2", "3", "4", "5", "6"]
3450
- }, c = n(e.currentScreenResolution), a = n(e.field), r = n(e.switchInStandardMode), d = n(), v = n("");
3451
- n();
3452
- const g = n("customize"), i = n();
3453
- function f() {
3454
- const b = `In${c.value}`;
3455
- r.value ? (v.value = `displayWidth${b}`, g.value = `${a.value[v.value]}`) : (v.value = `column${b}`, i.value = a.value[v.value]);
3456
- }
3457
- function o(b) {
3458
- i.value = b, a.value[`columnIn${c.value}`] = i.value, a.value[`displayWidthIn${c.value}`] = i.value, t.emit("fieldChanged", a.value);
3459
- }
3460
- function s() {
3461
- return l(Ba, {
3462
- enableHalf: !0,
3463
- size: "extraLarge",
3464
- pointSystem: 12,
3465
- numOfStar: 6,
3466
- lightColor: "#5D89FE",
3467
- darkColor: "#e7e9f3",
3468
- iconClass: "f-icon-column-rectangle",
3469
- modelValue: i.value,
3470
- "onUpdate:modelValue": (b) => i.value = b,
3471
- enableScore: !1,
3472
- onClick: o(i.value)
3473
- }, null);
3474
- }
3475
- function h() {
3476
- var b;
3477
- if (((b = a == null ? void 0 : a.value) == null ? void 0 : b.showTopBorder) === 1)
3478
- return l("div", {
3479
- class: "f-layout-editor-column-width-editor-row"
3480
- }, [l("span", {
3481
- class: "f-layout-editor-column-width-editor-row-left"
3482
- }, null), l("span", {
3483
- class: "f-layout-editor-column-width-editor-row-middle"
3484
- }, [X("第"), a.value.componentRow, X("行")]), l("span", {
3485
- class: "f-layout-editor-column-width-editor-row-right"
3486
- }, null)]);
3487
- }
3488
- function m() {
3489
- return r.value ? l("div", {
3490
- class: "f-column-width-editor-switch-standard"
3491
- }, [l("div", {
3492
- class: "f-layout-editor-column-width-editor-click-button"
3493
- }, null)]) : l("div", {
3494
- class: "f-column-width-editor-switch-customize"
3495
- }, [l("div", {
3496
- class: "f-layout-editor-column-width-editor-rectangle"
3497
- }, [s(), l("div", {
3498
- class: "f-rate-show-column"
3499
- }, [i.value, X("列")])])]);
3500
- }
3501
- function y() {
3502
- var b;
3503
- return l("div", {
3504
- class: "f-layout-editor-column-width-editor-component"
3505
- }, [l("div", {
3506
- class: "f-layout-editor-column-width-editor-label"
3507
- }, [(b = a == null ? void 0 : a.value) == null ? void 0 : b.label]), m()]);
3508
- }
3509
- return E(() => [e.field, e.switchInStandardMode, e.currentScreenResolution], ([b, k, R], [C, I, A]) => {
3510
- b !== C && b.showTopBorder !== 0 && (a.value = b), k !== I && (r.value = k), R !== A && (d.value = u[R], f());
3511
- }), () => l("div", {
3512
- class: "f-layout-editor-column-width-editor"
3513
- }, [h(), y()]);
3514
- }
3515
- }), ka = /* @__PURE__ */ U({
3516
- name: "FFieldList",
3517
- props: rt,
3518
- emits: ["update:currentArea", "twoDimensionalArrayChanged", "originalData"],
3519
- setup(e, t) {
3520
- const u = n(e.currentScreenResolution), c = n(e.switchInStandardMode), a = n(e.originalData), r = n(e.originalDataCopy), d = n(e.defaultStates), v = n(""), g = n([]), i = n(e.currentArea), f = n(0), o = n(), s = n(0), h = n("1"), m = n([]);
3521
- function y() {
3522
- var O;
3523
- let w = b();
3524
- for (let F = 0; F < w.length; F++) {
3525
- const z = {
3526
- id: (O = w[F]) == null ? void 0 : O.toString(),
3527
- label: "区域" + w[F]
3528
- };
3529
- g.value.push(z);
3530
- }
3531
- k();
3532
- }
3533
- function b() {
3534
- let w = [];
3535
- return a.value.forEach((O) => {
3536
- w.indexOf(O.group) === -1 && w.push(O.group);
3537
- }), w;
3538
- }
3539
- function k() {
3540
- h.value = d.value.defaultGroupNumber.toString(), v.value = `区域${h.value}`, i.value = [g.value[Number(h.value) - 1]], t.emit("update:currentArea", i.value);
3541
- }
3542
- function R() {
3543
- let w = [];
3544
- o.value = [];
3545
- let O = 1;
3546
- a.value.forEach((F) => {
3547
- F.group === O || (O += 1, o.value.push(w), w = []), w.push(F);
3548
- }), o.value.push(w);
3549
- }
3550
- function C() {
3551
- o.value[Number(i.value[0].id) - 1] = Y(m.value);
3552
- let w = [];
3553
- s.value = 0, o.value.forEach((O) => {
3554
- let F = A(O);
3555
- w.push(F), s.value = F[F.length - 1].componentRow;
3556
- }), x(w);
3557
- }
3558
- function I() {
3559
- R();
3560
- let w = [];
3561
- return s.value = 0, o.value.forEach((O) => {
3562
- let F = A(O);
3563
- w.push(F), s.value = F[F.length - 1].componentRow;
3564
- }), t.emit("twoDimensionalArrayChanged", o.value), x(w), a.value;
3565
- }
3566
- function A(w) {
3567
- let F = 12;
3568
- return f.value = 1 + s.value, w.forEach((z) => {
3569
- z.showTopBorder = 0;
3570
- let W = z[`columnIn${u.value}`];
3571
- F - W >= 0 ? (z.componentRow = f.value, F -= W) : F - W < 0 && (f.value += 1, z.componentRow = f.value, F = 12 - W, z.showTopBorder = 1);
3572
- }), w[0].showTopBorder = 1, w;
3573
- }
3574
- function x(w) {
3575
- let O = [];
3576
- for (let F of w)
3577
- for (let z of F)
3578
- O.push(z);
3579
- a.value = Y(O), O = [], s.value = 0;
3580
- }
3581
- function j() {
3582
- return l("div", {
3583
- class: "f-layout-editor-field-list-top"
3584
- }, [l("div", {
3585
- class: "f-layout-editor-field-list-header"
3586
- }, [X("组件列表")]), l("div", {
3587
- class: "f-layout-editor-choose-group"
3588
- }, [l(la, {
3589
- modelValue: h.value,
3590
- "onUpdate:modelValue": (w) => h.value = w,
3591
- placeholder: "当前可编辑组",
3592
- enableClear: !1,
3593
- "id-field": "id",
3594
- "text-field": "label",
3595
- data: g.value,
3596
- editable: !1,
3597
- onChange: D
3598
- }, null)])]);
3599
- }
3600
- function N() {
3601
- return l("div", {
3602
- class: "f-layout-editor-field-list-content f-utils-overflow-xhya"
3603
- }, [m.value.map((w) => l(Ia, {
3604
- currentScreenResolution: u.value,
3605
- field: w,
3606
- "onUpdate:field": (O) => w = O,
3607
- switchInStandardMode: c.value,
3608
- "onUpdate:switchInStandardMode": (O) => c.value = O
3609
- }, null))]);
3610
- }
3611
- function p() {
3612
- m.value = [], a.value.forEach((w) => {
3613
- w.group === Number(i.value[0].id) && m.value.push(w);
3614
- });
3615
- }
3616
- function V() {
3617
- a.value = Y(I()), t.emit("originalData", a.value);
3618
- }
3619
- function D(w) {
3620
- for (let O = 0; O < w.length; O++)
3621
- i.value = [{
3622
- id: w[O].id,
3623
- label: w[O].label
3624
- }];
3625
- t.emit("update:currentArea", i.value), p(), C();
3626
- }
3627
- return E(() => e.currentArea, (w, O) => {
3628
- w !== O && (i.value = e.currentArea, p());
3629
- }), E(i, (w, O) => {
3630
- w !== O && p();
3631
- }), E(() => e.currentGroup, (w, O) => {
3632
- w !== O && (v.value = e.currentGroup);
3633
- }), E(() => e.currentScreenResolution, (w, O) => {
3634
- w !== O && (V(), i.value[0] !== void 0 && (m.value = Y(o.value[Number(i.value[0].id) - 1])));
3635
- }), E(() => e.switchInStandardMode, (w, O) => {
3636
- w !== O && (c.value = e.switchInStandardMode, a.value = Y(r.value));
3637
- }), E(d, (w, O) => {
3638
- w !== O && V();
3639
- }), se(() => {
3640
- y(), I(), p();
3641
- }), () => l("div", {
3642
- class: "f-layout-editor-field-list f-utils-fill-flex-column"
3643
- }, [c.value ? (
3644
- /* 标准模式 */
3645
- l("div", {
3646
- class: "f-layout-editor-field-list-standard f-utils-fill-flex-column"
3647
- }, [j(), N()])
3648
- ) : (
3649
- /* 自定义模式 */
3650
- l("div", {
3651
- class: "f-layout-editor-field-list-customize f-utils-fill-flex-column"
3652
- }, [j(), N()])
3653
- )]);
3654
- }
3655
- }), me = /* @__PURE__ */ U({
3656
- name: "FResponseLayoutEditor",
3657
- props: $e,
3658
- emits: ["close", "submit"],
3659
- setup(e, t) {
3660
- const u = n(e.initialState), c = n(), a = n(), r = n(""), d = n(""), v = n(!1), g = n([{
3661
- id: "1",
3662
- label: "区域1"
3663
- }]), i = n([]), f = n(), o = n(e.width), s = n(e.height);
3664
- E(() => e.currentArea, (p, V) => {
3665
- p !== V && (g.value = e.currentArea);
3666
- }), E(() => e.switchInStandardMode, (p, V) => {
3667
- p !== V && (v.value = e.switchInStandardMode);
3668
- }), E(() => e.currentScreenResolution, (p, V) => {
3669
- p !== V && (d.value = e.currentScreenResolution);
3670
- });
3671
- function h(p) {
3672
- r.value = p;
3673
- }
3674
- function m(p) {
3675
- d.value = p;
3676
- }
3677
- function y(p) {
3678
- v.value = p;
3679
- }
3680
- function b(p) {
3681
- g.value = [].concat(p);
3682
- }
3683
- function k(p) {
3684
- c.value = Y(p);
3685
- }
3686
- function R(p) {
3687
- i.value = p;
3688
- }
3689
- function C() {
3690
- t.emit("close");
3691
- }
3692
- function I() {
3693
- t.emit("submit", c.value);
3694
- }
3695
- function A() {
3696
- return l(ka, {
3697
- class: "f-utils-fill-flex-column",
3698
- defaultStates: a.value,
3699
- originalDataCopy: f.value,
3700
- currentScreenResolution: d.value,
3701
- "onUpdate:currentScreenResolution": (p) => d.value = p,
3702
- originalData: c.value,
3703
- switchInStandardMode: v.value,
3704
- "onUpdate:switchInStandardMode": (p) => v.value = p,
3705
- currentArea: g.value,
3706
- "onUpdate:currentArea": (p) => g.value = p,
3707
- onCurrentAreaChanged: b,
3708
- onTwoDimensionalArrayChanged: R,
3709
- onOriginalDataChanged: k
3710
- }, null);
3711
- }
3712
- function x() {
3713
- return l(st, {
3714
- class: "f-utils-fill-flex-column",
3715
- currentArea: g.value,
3716
- "onUpdate:currentArea": (p) => g.value = p,
3717
- currentScreenResolution: d.value,
3718
- "onUpdate:currentScreenResolution": (p) => d.value = p,
3719
- switchInStandardMode: v.value,
3720
- twoDimensionalArray: i.value,
3721
- "onUpdate:twoDimensionalArray": (p) => i.value = p
3722
- }, null);
3723
- }
3724
- const j = S(() => v.value ? "f-layout-editor-left-standard f-utils-fill-flex-column" : "f-layout-editor-left-customize f-utils-fill-flex-column"), N = S(() => v.value ? "f-layout-editor-right-standard f-utils-fill-flex-column" : "f-layout-editor-right-customize f-utils-fill-flex-column");
3725
- return se(() => {
3726
- c.value = Y(u.value.importData), f.value = Y(u.value.importData), a.value = u.value.defaultState, r.value = "中等屏幕", d.value = "MD";
3727
- }), () => l("div", {
3728
- class: "f-layout-editor f-utils-flex-column",
3729
- style: "height:" + s.value + "px;width:" + o.value + "px;"
3730
- }, [l("div", {
3731
- class: "f-layout-editor-top"
3732
- }, [l(ot, {
3733
- defaultStates: a.value,
3734
- onScreenNameChanged: h,
3735
- onScreenResolutionChanged: m,
3736
- onSwitchInStandardModeChanged: y
3737
- }, null)]), l("div", {
3738
- class: "f-layout-editor-content f-utils-fill"
3739
- }, [l("div", {
3740
- class: "f-layout-editor-left f-utils-fill-flex-column"
3741
- }, [l("div", {
3742
- class: j.value
3743
- }, [A()])]), l("div", {
3744
- class: "f-layout-editor-right f-utils-fill-flex-column"
3745
- }, [l("div", {
3746
- class: N.value
3747
- }, [x()])])]), l("div", {
3748
- class: "f-layout-editor-bottom"
3749
- }, [l("div", {
3750
- class: "f-layout-editor-button"
3751
- }, [l("div", {
3752
- class: "f-layout-editor-cancel-btn",
3753
- onClick: C
3754
- }, [l("span", {
3755
- class: "f-layout-editor-text-cancel"
3756
- }, [X("取消")])]), l("div", {
3757
- class: "f-layout-editor-sure-btn",
3758
- onClick: I
3759
- }, [l("span", {
3760
- class: "f-layout-editor-text-sure"
3761
- }, [X("确认")])])])])]);
3762
- }
3763
- }), Ra = {
3764
- install(e) {
3765
- e.component(me.name, me);
3766
- }
3767
- // register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>, configResolverMap: Record<string, any>): void {
3768
- // componentMap.responseLayoutEditor = ResponseLayoutEditor;
3769
- // propsResolverMap.responseLayoutEditor = propsResolver;
3770
- // },
3771
- // registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>, configResolverMap: Record<string, any>): void {
3772
- // componentMap.responseLayoutEditor = ResponseLayoutEditorDesign;
3773
- // propsResolverMap.responseLayoutEditor = propsResolver;
3774
- // }
3775
- };
3776
- export {
3777
- me as ResponseLayoutEditor,
3778
- Ra as default,
3779
- $e as responseLayoutEditorProps
3780
- };