@farris/ui-vue 1.0.2 → 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 (798) hide show
  1. package/farris.all.esm.js +52196 -23847
  2. package/farris.all.umd.cjs +26 -0
  3. package/package.json +7 -6
  4. package/style.css +1 -11
  5. package/accordion/index.esm.js +0 -355
  6. package/accordion/index.umd.js +0 -1
  7. package/accordion/package.json +0 -8
  8. package/accordion/style.css +0 -1
  9. package/avatar/index.esm.js +0 -121
  10. package/avatar/index.umd.js +0 -1
  11. package/avatar/package.json +0 -8
  12. package/avatar/style.css +0 -1
  13. package/button/index.esm.js +0 -271
  14. package/button/index.umd.js +0 -1
  15. package/button/package.json +0 -8
  16. package/button-edit/index.esm.js +0 -1208
  17. package/button-edit/index.umd.js +0 -1
  18. package/button-edit/package.json +0 -8
  19. package/button-edit/style.css +0 -1
  20. package/calculator/index.esm.js +0 -315
  21. package/calculator/index.umd.js +0 -1
  22. package/calculator/package.json +0 -8
  23. package/calculator/style.css +0 -1
  24. package/calendar/index.esm.js +0 -778
  25. package/calendar/index.umd.js +0 -1
  26. package/calendar/package.json +0 -8
  27. package/calendar/style.css +0 -1
  28. package/capsule/index.esm.js +0 -130
  29. package/capsule/index.umd.js +0 -1
  30. package/capsule/package.json +0 -8
  31. package/capsule/style.css +0 -1
  32. package/checkbox/index.esm.js +0 -251
  33. package/checkbox/index.umd.js +0 -1
  34. package/checkbox/package.json +0 -8
  35. package/color-picker/index.esm.js +0 -1551
  36. package/color-picker/index.umd.js +0 -16
  37. package/color-picker/package.json +0 -8
  38. package/color-picker/style.css +0 -1
  39. package/combo-list/index.esm.js +0 -2227
  40. package/combo-list/index.umd.js +0 -1
  41. package/combo-list/package.json +0 -8
  42. package/combo-list/style.css +0 -1
  43. package/component/index.esm.js +0 -176
  44. package/component/index.umd.js +0 -1
  45. package/component/package.json +0 -8
  46. package/condition/index.esm.js +0 -13570
  47. package/condition/index.umd.js +0 -1
  48. package/condition/package.json +0 -8
  49. package/condition/style.css +0 -1
  50. package/content-container/index.esm.js +0 -242
  51. package/content-container/index.umd.js +0 -1
  52. package/content-container/package.json +0 -8
  53. package/data-grid/index.esm.js +0 -13724
  54. package/data-grid/index.umd.js +0 -1
  55. package/data-grid/package.json +0 -8
  56. package/data-grid/style.css +0 -1
  57. package/date-picker/index.esm.js +0 -2558
  58. package/date-picker/index.umd.js +0 -1
  59. package/date-picker/package.json +0 -8
  60. package/date-picker/style.css +0 -1
  61. package/designer-canvas/index.esm.js +0 -15240
  62. package/designer-canvas/index.umd.js +0 -1
  63. package/designer-canvas/package.json +0 -8
  64. package/designer-canvas/style.css +0 -1
  65. package/discussion-editor/index.esm.js +0 -3559
  66. package/discussion-editor/index.umd.js +0 -16
  67. package/discussion-editor/package.json +0 -8
  68. package/discussion-editor/style.css +0 -1
  69. package/discussion-list/index.esm.js +0 -111
  70. package/discussion-list/index.umd.js +0 -1
  71. package/discussion-list/package.json +0 -8
  72. package/discussion-list/style.css +0 -1
  73. package/dropdown/index.esm.js +0 -214
  74. package/dropdown/index.umd.js +0 -1
  75. package/dropdown/package.json +0 -8
  76. package/dropdown/style.css +0 -1
  77. package/dynamic-form/index.esm.js +0 -13568
  78. package/dynamic-form/index.umd.js +0 -1
  79. package/dynamic-form/package.json +0 -8
  80. package/dynamic-form/style.css +0 -1
  81. package/dynamic-resolver/index.esm.js +0 -41
  82. package/dynamic-resolver/index.umd.js +0 -1
  83. package/dynamic-resolver/package.json +0 -8
  84. package/dynamic-view/index.esm.js +0 -13608
  85. package/dynamic-view/index.umd.js +0 -1
  86. package/dynamic-view/package.json +0 -8
  87. package/dynamic-view/style.css +0 -1
  88. package/farris.all.umd.js +0 -24
  89. package/filter-bar/index.esm.js +0 -549
  90. package/filter-bar/index.umd.js +0 -1
  91. package/filter-bar/package.json +0 -8
  92. package/filter-bar/style.css +0 -1
  93. package/image-cropper/index.esm.js +0 -720
  94. package/image-cropper/index.umd.js +0 -1
  95. package/image-cropper/package.json +0 -8
  96. package/image-cropper/style.css +0 -1
  97. package/input-group/index.esm.js +0 -549
  98. package/input-group/index.umd.js +0 -1
  99. package/input-group/package.json +0 -8
  100. package/input-group/style.css +0 -1
  101. package/list-nav/index.esm.js +0 -61
  102. package/list-nav/index.umd.js +0 -1
  103. package/list-nav/package.json +0 -8
  104. package/list-nav/style.css +0 -1
  105. package/list-view/index.esm.js +0 -536
  106. package/list-view/index.umd.js +0 -1
  107. package/list-view/package.json +0 -8
  108. package/list-view/style.css +0 -1
  109. package/loading/index.esm.js +0 -124
  110. package/loading/index.umd.js +0 -8
  111. package/loading/package.json +0 -8
  112. package/loading/style.css +0 -1
  113. package/locale/index.esm.js +0 -1868
  114. package/locale/index.umd.js +0 -1
  115. package/locale/package.json +0 -8
  116. package/message-box/index.esm.js +0 -572
  117. package/message-box/index.umd.js +0 -1
  118. package/message-box/package.json +0 -8
  119. package/message-box/style.css +0 -1
  120. package/modal/index.esm.js +0 -212
  121. package/modal/index.umd.js +0 -1
  122. package/modal/package.json +0 -8
  123. package/modal/style.css +0 -1
  124. package/nav/index.esm.js +0 -456
  125. package/nav/index.umd.js +0 -16
  126. package/nav/package.json +0 -8
  127. package/nav/style.css +0 -1
  128. package/notify/index.esm.js +0 -187
  129. package/notify/index.umd.js +0 -1
  130. package/notify/package.json +0 -8
  131. package/notify/style.css +0 -1
  132. package/order/index.esm.js +0 -2278
  133. package/order/index.umd.js +0 -1
  134. package/order/package.json +0 -8
  135. package/order/style.css +0 -1
  136. package/page-footer/index.esm.js +0 -94
  137. package/page-footer/index.umd.js +0 -1
  138. package/page-footer/package.json +0 -8
  139. package/page-header/index.esm.js +0 -230
  140. package/page-header/index.umd.js +0 -1
  141. package/page-header/package.json +0 -8
  142. package/pagination/index.esm.js +0 -340
  143. package/pagination/index.umd.js +0 -1
  144. package/pagination/package.json +0 -8
  145. package/pagination/style.css +0 -1
  146. package/popover/index.esm.js +0 -218
  147. package/popover/index.umd.js +0 -1
  148. package/popover/package.json +0 -8
  149. package/popover/style.css +0 -1
  150. package/propress/index.esm.js +0 -108
  151. package/propress/index.umd.js +0 -1
  152. package/propress/package.json +0 -8
  153. package/propress/style.css +0 -1
  154. package/radio-group/index.esm.js +0 -221
  155. package/radio-group/index.umd.js +0 -1
  156. package/radio-group/package.json +0 -8
  157. package/rate/index.esm.js +0 -168
  158. package/rate/index.umd.js +0 -1
  159. package/rate/package.json +0 -8
  160. package/rate/style.css +0 -1
  161. package/response-toolbar/index.esm.js +0 -433
  162. package/response-toolbar/index.umd.js +0 -1
  163. package/response-toolbar/package.json +0 -8
  164. package/search-box/index.esm.js +0 -208
  165. package/search-box/index.umd.js +0 -1
  166. package/search-box/package.json +0 -8
  167. package/search-box/style.css +0 -1
  168. package/section/index.esm.js +0 -366
  169. package/section/index.umd.js +0 -1
  170. package/section/package.json +0 -8
  171. package/section/style.css +0 -1
  172. package/splitter/index.esm.js +0 -491
  173. package/splitter/index.umd.js +0 -1
  174. package/splitter/package.json +0 -8
  175. package/splitter/style.css +0 -1
  176. package/step/index.esm.js +0 -117
  177. package/step/index.umd.js +0 -1
  178. package/step/package.json +0 -8
  179. package/step/style.css +0 -1
  180. package/switch/index.esm.js +0 -197
  181. package/switch/index.umd.js +0 -1
  182. package/switch/package.json +0 -8
  183. package/switch/style.css +0 -1
  184. package/tabs/index.esm.js +0 -1638
  185. package/tabs/index.umd.js +0 -1
  186. package/tabs/package.json +0 -8
  187. package/tabs/style.css +0 -1
  188. package/tags/index.esm.js +0 -287
  189. package/tags/index.umd.js +0 -1
  190. package/tags/package.json +0 -8
  191. package/tags/style.css +0 -1
  192. package/text/index.esm.js +0 -36
  193. package/text/index.umd.js +0 -1
  194. package/text/package.json +0 -8
  195. package/time-picker/index.esm.js +0 -1465
  196. package/time-picker/index.umd.js +0 -1
  197. package/time-picker/package.json +0 -8
  198. package/time-picker/style.css +0 -1
  199. package/tooltip/index.esm.js +0 -195
  200. package/tooltip/index.umd.js +0 -1
  201. package/tooltip/package.json +0 -8
  202. package/tooltip/style.css +0 -1
  203. package/transfer/index.esm.js +0 -642
  204. package/transfer/index.umd.js +0 -1
  205. package/transfer/package.json +0 -8
  206. package/transfer/style.css +0 -1
  207. package/tree-view/index.esm.js +0 -701
  208. package/tree-view/index.umd.js +0 -1
  209. package/tree-view/package.json +0 -8
  210. package/tree-view/style.css +0 -1
  211. package/types/accordion/index.d.ts +0 -27
  212. package/types/accordion/src/accordion.component.d.ts +0 -6
  213. package/types/accordion/src/accordion.props.d.ts +0 -19
  214. package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
  215. package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
  216. package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
  217. package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
  218. package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
  219. package/types/avatar/index.d.ts +0 -23
  220. package/types/avatar/src/avatar.component.d.ts +0 -111
  221. package/types/avatar/src/avatar.props.d.ts +0 -96
  222. package/types/avatar/src/composition/types.d.ts +0 -31
  223. package/types/avatar/src/composition/use-image.d.ts +0 -19
  224. package/types/button/index.d.ts +0 -25
  225. package/types/button/src/button-group.component.d.ts +0 -108
  226. package/types/button/src/button-group.props.d.ts +0 -106
  227. package/types/button/src/button.component.d.ts +0 -42
  228. package/types/button/src/button.props.d.ts +0 -53
  229. package/types/button/src/composition/types-group.d.ts +0 -24
  230. package/types/button/src/composition/types.d.ts +0 -24
  231. package/types/button/src/composition/use-button-group.d.ts +0 -19
  232. package/types/button/src/composition/use-button.d.ts +0 -19
  233. package/types/button-edit/index.d.ts +0 -25
  234. package/types/button-edit/src/button-edit.component.d.ts +0 -6
  235. package/types/button-edit/src/button-edit.props.d.ts +0 -21
  236. package/types/button-edit/src/components/button-group.component.d.ts +0 -3
  237. package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
  238. package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
  239. package/types/button-edit/src/composition/types.d.ts +0 -132
  240. package/types/button-edit/src/composition/use-button.d.ts +0 -19
  241. package/types/button-edit/src/composition/use-clear.d.ts +0 -19
  242. package/types/button-edit/src/composition/use-popup.d.ts +0 -4
  243. package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
  244. package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
  245. package/types/calculator/index.d.ts +0 -23
  246. package/types/calculator/src/calculator.component.d.ts +0 -8
  247. package/types/calculator/src/calculator.props.d.ts +0 -23
  248. package/types/calculator/src/composition/use-calculator.d.ts +0 -26
  249. package/types/calendar/index.d.ts +0 -21
  250. package/types/calendar/src/calendar.props.d.ts +0 -26
  251. package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
  252. package/types/calendar/src/components/header/header.props.d.ts +0 -24
  253. package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
  254. package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
  255. package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
  256. package/types/calendar/src/composition/types.d.ts +0 -57
  257. package/types/calendar/src/composition/use-calendar.d.ts +0 -2
  258. package/types/calendar/src/composition/use-compare.d.ts +0 -2
  259. package/types/calendar/src/composition/use-date.d.ts +0 -2
  260. package/types/calendar/src/composition/use-event.d.ts +0 -30
  261. package/types/calendar/src/composition/use-month.d.ts +0 -2
  262. package/types/calendar/src/types/calendar.d.ts +0 -13
  263. package/types/calendar/src/types/common.d.ts +0 -32
  264. package/types/calendar/src/types/month-view.d.ts +0 -23
  265. package/types/calendar/src/types/month.d.ts +0 -20
  266. package/types/calendar/src/types/schedule.d.ts +0 -35
  267. package/types/capsule/index.d.ts +0 -8
  268. package/types/capsule/src/capsule.props.d.ts +0 -67
  269. package/types/checkbox/index.d.ts +0 -24
  270. package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
  271. package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
  272. package/types/checkbox/src/composition/types.d.ts +0 -46
  273. package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
  274. package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
  275. package/types/color-picker/index.d.ts +0 -22
  276. package/types/color-picker/src/color-picker.props.d.ts +0 -62
  277. package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
  278. package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
  279. package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
  280. package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
  281. package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
  282. package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -21
  283. package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
  284. package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
  285. package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
  286. package/types/color-picker/src/composition/component/hue.d.ts +0 -40
  287. package/types/color-picker/src/composition/component/preset.d.ts +0 -43
  288. package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
  289. package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
  290. package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
  291. package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
  292. package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
  293. package/types/combo-list/index.d.ts +0 -25
  294. package/types/combo-list/src/combo-list.props.d.ts +0 -59
  295. package/types/combo-list/src/components/list-container.props.d.ts +0 -56
  296. package/types/combo-list/src/composition/types.d.ts +0 -11
  297. package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
  298. package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
  299. package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
  300. package/types/component/index.d.ts +0 -26
  301. package/types/component/src/component.props.d.ts +0 -4
  302. package/types/component/src/designer/types.d.ts +0 -10
  303. package/types/component/src/designer/use-designer-rules.d.ts +0 -2
  304. package/types/component/src/schema/schema-mapper.d.ts +0 -2
  305. package/types/condition/index.d.ts +0 -24
  306. package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -13
  307. package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -19
  308. package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -25
  309. package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -18
  310. package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -13
  311. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -18
  312. package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -21
  313. package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -21
  314. package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -15
  315. package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -18
  316. package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -21
  317. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -13
  318. package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -13
  319. package/types/condition/src/composition/condition-value/text-value.d.ts +0 -13
  320. package/types/condition/src/composition/condition-value/types.d.ts +0 -9
  321. package/types/condition/src/composition/types.d.ts +0 -41
  322. package/types/condition/src/composition/use-compare.d.ts +0 -40
  323. package/types/condition/src/composition/use-condition-value.d.ts +0 -2
  324. package/types/condition/src/composition/use-condition.d.ts +0 -2
  325. package/types/condition/src/composition/use-field-config.d.ts +0 -4
  326. package/types/condition/src/composition/use-selection.d.ts +0 -4
  327. package/types/condition/src/condition.props.d.ts +0 -58
  328. package/types/condition/src/types.d.ts +0 -144
  329. package/types/content-container/index.d.ts +0 -26
  330. package/types/content-container/src/content-container.props.d.ts +0 -4
  331. package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
  332. package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
  333. package/types/data-grid/index.d.ts +0 -26
  334. package/types/data-grid/src/components/data/data-area.component.d.ts +0 -21
  335. package/types/data-grid/src/components/editors/commands.component.d.ts +0 -18
  336. package/types/data-grid/src/components/editors/date-picker.component.d.ts +0 -18
  337. package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +0 -3
  338. package/types/data-grid/src/components/editors/text-editor.component.d.ts +0 -18
  339. package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +0 -2
  340. package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +0 -19
  341. package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +0 -2
  342. package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +0 -3
  343. package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +0 -2
  344. package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +0 -2
  345. package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +0 -3
  346. package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +0 -5
  347. package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +0 -21
  348. package/types/data-grid/src/components/header/data-grid-header.component.d.ts +0 -22
  349. package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +0 -5
  350. package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -21
  351. package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +0 -21
  352. package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +0 -21
  353. package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +0 -21
  354. package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +0 -5
  355. package/types/data-grid/src/composition/types.d.ts +0 -301
  356. package/types/data-grid/src/composition/use-column-filter.d.ts +0 -3
  357. package/types/data-grid/src/composition/use-column.d.ts +0 -20
  358. package/types/data-grid/src/composition/use-command-column.d.ts +0 -3
  359. package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
  360. package/types/data-grid/src/composition/use-drag-column.d.ts +0 -4
  361. package/types/data-grid/src/composition/use-filter-history.d.ts +0 -2
  362. package/types/data-grid/src/composition/use-group-column.d.ts +0 -22
  363. package/types/data-grid/src/composition/use-group-data.d.ts +0 -3
  364. package/types/data-grid/src/composition/use-positon-style.d.ts +0 -20
  365. package/types/data-grid/src/composition/use-resize.d.ts +0 -20
  366. package/types/data-grid/src/composition/use-row.d.ts +0 -19
  367. package/types/data-grid/src/composition/use-selection.d.ts +0 -3
  368. package/types/data-grid/src/composition/use-sidebar.d.ts +0 -3
  369. package/types/data-grid/src/composition/use-sort.d.ts +0 -3
  370. package/types/data-grid/src/composition/use-virtual-scroll.d.ts +0 -20
  371. package/types/data-grid/src/composition/use-visual-data-bound.d.ts +0 -2
  372. package/types/data-grid/src/composition/use-visual-data-cell.d.ts +0 -3
  373. package/types/data-grid/src/composition/use-visual-data-row.d.ts +0 -3
  374. package/types/data-grid/src/composition/use-visual-data.d.ts +0 -19
  375. package/types/data-grid/src/composition/use-visual-summary-row.d.ts +0 -3
  376. package/types/data-grid/src/data-grid.props.d.ts +0 -512
  377. package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
  378. package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
  379. package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
  380. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
  381. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
  382. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -628
  383. package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -306
  384. package/types/date-picker/src/components/month/month.component.d.ts +0 -88
  385. package/types/date-picker/src/components/month/month.props.d.ts +0 -57
  386. package/types/date-picker/src/components/year/year.component.d.ts +0 -88
  387. package/types/date-picker/src/components/year/year.props.d.ts +0 -57
  388. package/types/date-picker/src/composition/types.d.ts +0 -102
  389. package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
  390. package/types/date-picker/src/composition/use-compare.d.ts +0 -2
  391. package/types/date-picker/src/composition/use-date.d.ts +0 -2
  392. package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
  393. package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
  394. package/types/date-picker/src/composition/use-event.d.ts +0 -45
  395. package/types/date-picker/src/composition/use-mark.d.ts +0 -2
  396. package/types/date-picker/src/composition/use-month.d.ts +0 -2
  397. package/types/date-picker/src/composition/use-number.d.ts +0 -2
  398. package/types/date-picker/src/composition/use-year.d.ts +0 -2
  399. package/types/date-picker/src/date-picker.component.d.ts +0 -6
  400. package/types/date-picker/src/date-picker.props.d.ts +0 -19
  401. package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
  402. package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
  403. package/types/date-picker/src/types/calendar.d.ts +0 -30
  404. package/types/date-picker/src/types/common.d.ts +0 -42
  405. package/types/date-picker/src/types/date-model.d.ts +0 -38
  406. package/types/date-picker/src/types/month.d.ts +0 -48
  407. package/types/date-picker/src/types/year.d.ts +0 -24
  408. package/types/designer-canvas/index.d.ts +0 -8
  409. package/types/designer-canvas/src/components/designer-item.props.d.ts +0 -3
  410. package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +0 -7
  411. package/types/designer-canvas/src/components/maps.d.ts +0 -3
  412. package/types/designer-canvas/src/components/toolbox.props.d.ts +0 -11
  413. package/types/designer-canvas/src/composition/types.d.ts +0 -27
  414. package/types/designer-canvas/src/designer-canvas.props.d.ts +0 -3
  415. package/types/designer-canvas/src/types.d.ts +0 -40
  416. package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
  417. package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
  418. package/types/discussion-editor/index.d.ts +0 -23
  419. package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
  420. package/types/discussion-editor/src/types/interface.d.ts +0 -22
  421. package/types/discussion-list/discussion-list.component.d.ts +0 -70
  422. package/types/discussion-list/discussion-list.props.d.ts +0 -52
  423. package/types/discussion-list/index.d.ts +0 -23
  424. package/types/dropdown/index.d.ts +0 -9
  425. package/types/dropdown/src/composition/function/use-dropdown.d.ts +0 -26
  426. package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +0 -46
  427. package/types/dropdown/src/composition/props/dropdown.props.d.ts +0 -99
  428. package/types/dropdown/src/dropdown.component.d.ts +0 -179
  429. package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
  430. package/types/dropdown/src/types.d.ts +0 -46
  431. package/types/dynamic-form/index.d.ts +0 -14
  432. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
  433. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -15
  434. package/types/dynamic-form/src/composition/types.d.ts +0 -5
  435. package/types/dynamic-form/src/dynamic-form.props.d.ts +0 -3
  436. package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
  437. package/types/dynamic-form/src/types.d.ts +0 -17
  438. package/types/dynamic-resolver/index.d.ts +0 -3
  439. package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
  440. package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
  441. package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -5
  442. package/types/dynamic-resolver/src/types.d.ts +0 -1
  443. package/types/dynamic-view/index.d.ts +0 -8
  444. package/types/dynamic-view/src/components/maps.d.ts +0 -4
  445. package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
  446. package/types/filter-bar/index.d.ts +0 -7
  447. package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
  448. package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
  449. package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
  450. package/types/filter-bar/src/composition/types.d.ts +0 -14
  451. package/types/filter-bar/src/composition/use-filter-items.d.ts +0 -4
  452. package/types/filter-bar/src/filter-bar.props.d.ts +0 -53
  453. package/types/filter-bar/src/types.d.ts +0 -9
  454. package/types/image-cropper/index.d.ts +0 -23
  455. package/types/image-cropper/src/composition/type.d.ts +0 -44
  456. package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
  457. package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
  458. package/types/image-cropper/src/image-cropper.component.d.ts +0 -248
  459. package/types/image-cropper/src/image-cropper.props.d.ts +0 -153
  460. package/types/index.d.ts +0 -25
  461. package/types/input-group/index.d.ts +0 -25
  462. package/types/input-group/src/components/appended-button.component.d.ts +0 -4
  463. package/types/input-group/src/components/text-edit.component.d.ts +0 -4
  464. package/types/input-group/src/composition/types.d.ts +0 -37
  465. package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
  466. package/types/input-group/src/composition/use-clear.d.ts +0 -4
  467. package/types/input-group/src/composition/use-password.d.ts +0 -4
  468. package/types/input-group/src/composition/use-text-box.d.ts +0 -4
  469. package/types/input-group/src/input-group.props.d.ts +0 -4
  470. package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
  471. package/types/list-nav/index.d.ts +0 -23
  472. package/types/list-nav/src/list-nav.component.d.ts +0 -61
  473. package/types/list-nav/src/list-nav.props.d.ts +0 -51
  474. package/types/list-view/index.d.ts +0 -23
  475. package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
  476. package/types/list-view/src/components/header/search-header.component.d.ts +0 -6
  477. package/types/list-view/src/components/list-view-checkbox.props.d.ts +0 -38
  478. package/types/list-view/src/composition/types.d.ts +0 -40
  479. package/types/list-view/src/composition/use-data-view.d.ts +0 -4
  480. package/types/list-view/src/composition/use-draggable.d.ts +0 -4
  481. package/types/list-view/src/composition/use-hover.d.ts +0 -2
  482. package/types/list-view/src/composition/use-item.d.ts +0 -4
  483. package/types/list-view/src/composition/use-remove.d.ts +0 -4
  484. package/types/list-view/src/composition/use-search.d.ts +0 -5
  485. package/types/list-view/src/composition/use-selection.d.ts +0 -4
  486. package/types/list-view/src/list-view.component.d.ts +0 -203
  487. package/types/list-view/src/list-view.props.d.ts +0 -113
  488. package/types/loading/index.d.ts +0 -23
  489. package/types/loading/src/composition/types.d.ts +0 -19
  490. package/types/loading/src/loading.component.d.ts +0 -43
  491. package/types/loading/src/loading.props.d.ts +0 -35
  492. package/types/loading/src/loading.service.d.ts +0 -4
  493. package/types/locale/src/lib/locale.service.d.ts +0 -26
  494. package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
  495. package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
  496. package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
  497. package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
  498. package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
  499. package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
  500. package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
  501. package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
  502. package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
  503. package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
  504. package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
  505. package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
  506. package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
  507. package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
  508. package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
  509. package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
  510. package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
  511. package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
  512. package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
  513. package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
  514. package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
  515. package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
  516. package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
  517. package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
  518. package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
  519. package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
  520. package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
  521. package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
  522. package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
  523. package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
  524. package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
  525. package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
  526. package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
  527. package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
  528. package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
  529. package/types/locale/src/lib/locales/index.d.ts +0 -1712
  530. package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
  531. package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
  532. package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
  533. package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
  534. package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
  535. package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
  536. package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
  537. package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
  538. package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
  539. package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
  540. package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
  541. package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
  542. package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
  543. package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
  544. package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
  545. package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
  546. package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
  547. package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
  548. package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
  549. package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
  550. package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
  551. package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
  552. package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
  553. package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
  554. package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
  555. package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
  556. package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
  557. package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
  558. package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
  559. package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
  560. package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
  561. package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
  562. package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
  563. package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
  564. package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
  565. package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
  566. package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
  567. package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
  568. package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
  569. package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
  570. package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
  571. package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
  572. package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
  573. package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
  574. package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
  575. package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
  576. package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
  577. package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
  578. package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
  579. package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
  580. package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
  581. package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
  582. package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
  583. package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
  584. package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
  585. package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
  586. package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
  587. package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
  588. package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
  589. package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
  590. package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
  591. package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
  592. package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
  593. package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
  594. package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
  595. package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
  596. package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
  597. package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
  598. package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
  599. package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
  600. package/types/message-box/index.d.ts +0 -24
  601. package/types/message-box/src/components/footer/footer.component.d.ts +0 -4
  602. package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
  603. package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
  604. package/types/message-box/src/components/message-detail/exception-message.component.d.ts +0 -3
  605. package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
  606. package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
  607. package/types/message-box/src/composition/types.d.ts +0 -27
  608. package/types/message-box/src/composition/use-copy.d.ts +0 -2
  609. package/types/message-box/src/composition/use-editor.d.ts +0 -4
  610. package/types/message-box/src/composition/use-feedback.d.ts +0 -2
  611. package/types/message-box/src/message-box.component.d.ts +0 -70
  612. package/types/message-box/src/message-box.props.d.ts +0 -54
  613. package/types/modal/index.d.ts +0 -24
  614. package/types/modal/src/modal.component.d.ts +0 -106
  615. package/types/modal/src/modal.props.d.ts +0 -72
  616. package/types/modal/src/modal.service.d.ts +0 -17
  617. package/types/nav/index.d.ts +0 -23
  618. package/types/nav/src/composition/types.d.ts +0 -6
  619. package/types/nav/src/nav.component.d.ts +0 -87
  620. package/types/nav/src/nav.props.d.ts +0 -62
  621. package/types/notify/index.d.ts +0 -26
  622. package/types/notify/src/components/toast.component.d.ts +0 -23
  623. package/types/notify/src/components/toast.props.d.ts +0 -27
  624. package/types/notify/src/notify.component.d.ts +0 -130
  625. package/types/notify/src/notify.props.d.ts +0 -99
  626. package/types/notify/src/notify.service.d.ts +0 -4
  627. package/types/number-range/index.d.ts +0 -24
  628. package/types/number-range/src/components/spinner.component.d.ts +0 -4
  629. package/types/number-range/src/components/text-box.component.d.ts +0 -4
  630. package/types/number-range/src/composition/types.d.ts +0 -54
  631. package/types/number-range/src/composition/use-format.d.ts +0 -4
  632. package/types/number-range/src/composition/use-number.d.ts +0 -4
  633. package/types/number-range/src/composition/use-spinner.d.ts +0 -4
  634. package/types/number-range/src/composition/use-text-box.d.ts +0 -4
  635. package/types/number-range/src/number-range.component.d.ts +0 -6
  636. package/types/number-range/src/number-range.props.d.ts +0 -19
  637. package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
  638. package/types/number-spinner/index.d.ts +0 -25
  639. package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
  640. package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
  641. package/types/number-spinner/src/composition/types.d.ts +0 -57
  642. package/types/number-spinner/src/composition/use-format.d.ts +0 -4
  643. package/types/number-spinner/src/composition/use-number.d.ts +0 -4
  644. package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
  645. package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
  646. package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
  647. package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
  648. package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
  649. package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
  650. package/types/order/index.d.ts +0 -8
  651. package/types/order/src/order.props.d.ts +0 -44
  652. package/types/overlay/src/overlay.component.d.ts +0 -28
  653. package/types/overlay/src/overlay.props.d.ts +0 -29
  654. package/types/overlay/src/overlay.service.d.ts +0 -16
  655. package/types/page-footer/index.d.ts +0 -8
  656. package/types/page-footer/src/page-footer.props.d.ts +0 -40
  657. package/types/page-header/index.d.ts +0 -10
  658. package/types/page-header/src/page-header.props.d.ts +0 -4
  659. package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
  660. package/types/pagination/index.d.ts +0 -23
  661. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
  662. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
  663. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
  664. package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
  665. package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
  666. package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
  667. package/types/pagination/src/composition/types.d.ts +0 -24
  668. package/types/pagination/src/composition/use-pages.d.ts +0 -18
  669. package/types/pagination/src/pagination.components.d.ts +0 -43
  670. package/types/pagination/src/pagination.props.d.ts +0 -36
  671. package/types/popover/index.d.ts +0 -24
  672. package/types/popover/src/composition/types.d.ts +0 -24
  673. package/types/popover/src/composition/use-host.d.ts +0 -3
  674. package/types/popover/src/composition/use-popup.d.ts +0 -4
  675. package/types/popover/src/composition/use-position.d.ts +0 -4
  676. package/types/popover/src/composition/use-resize.d.ts +0 -4
  677. package/types/popover/src/popover.component.d.ts +0 -106
  678. package/types/popover/src/popover.directive.d.ts +0 -5
  679. package/types/popover/src/popover.props.d.ts +0 -66
  680. package/types/propress/index.d.ts +0 -8
  681. package/types/propress/src/progress.props.d.ts +0 -49
  682. package/types/query-solution/index.d.ts +0 -25
  683. package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
  684. package/types/query-solution/src/query-solution.component.d.ts +0 -6
  685. package/types/query-solution/src/query-solution.d.ts +0 -40
  686. package/types/query-solution/src/query-solution.props.d.ts +0 -19
  687. package/types/query-solution/src/schema/preset-resolver.d.ts +0 -5
  688. package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
  689. package/types/radio-group/index.d.ts +0 -24
  690. package/types/radio-group/src/composition/change-radio.d.ts +0 -19
  691. package/types/radio-group/src/composition/types.d.ts +0 -42
  692. package/types/radio-group/src/radio-group.component.d.ts +0 -6
  693. package/types/radio-group/src/radio-group.props.d.ts +0 -19
  694. package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
  695. package/types/rate/index.d.ts +0 -23
  696. package/types/rate/src/rate.component.d.ts +0 -124
  697. package/types/rate/src/rate.props.d.ts +0 -86
  698. package/types/response-toolbar/index.d.ts +0 -10
  699. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -5
  700. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
  701. package/types/response-toolbar/src/composition/types.d.ts +0 -9
  702. package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
  703. package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
  704. package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -26
  705. package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
  706. package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
  707. package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
  708. package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
  709. package/types/search-box/index.d.ts +0 -24
  710. package/types/search-box/src/components/search-box-container.props.d.ts +0 -21
  711. package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
  712. package/types/search-box/src/search-box.props.d.ts +0 -4
  713. package/types/section/index.d.ts +0 -25
  714. package/types/section/src/schema/schema-mapper.d.ts +0 -2
  715. package/types/section/src/section.component.d.ts +0 -6
  716. package/types/section/src/section.props.d.ts +0 -34
  717. package/types/splitter/index.d.ts +0 -10
  718. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
  719. package/types/splitter/src/composition/types.d.ts +0 -23
  720. package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
  721. package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
  722. package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
  723. package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
  724. package/types/splitter/src/splitter.props.d.ts +0 -5
  725. package/types/step/index.d.ts +0 -8
  726. package/types/step/src/step.props.d.ts +0 -46
  727. package/types/switch/index.d.ts +0 -24
  728. package/types/switch/src/schema/schema-mapper.d.ts +0 -2
  729. package/types/switch/src/switch.component.d.ts +0 -6
  730. package/types/switch/src/switch.props.d.ts +0 -20
  731. package/types/tabs/index.d.ts +0 -27
  732. package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
  733. package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
  734. package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
  735. package/types/tabs/src/components/tab-header.component.d.ts +0 -4
  736. package/types/tabs/src/components/tab-page.component.d.ts +0 -6
  737. package/types/tabs/src/components/tab-page.props.d.ts +0 -19
  738. package/types/tabs/src/composition/types.d.ts +0 -66
  739. package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
  740. package/types/tabs/src/composition/use-nav.d.ts +0 -4
  741. package/types/tabs/src/composition/use-one-page.d.ts +0 -4
  742. package/types/tabs/src/composition/use-tabs.d.ts +0 -19
  743. package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
  744. package/types/tabs/src/tabs.props.d.ts +0 -22
  745. package/types/tags/index.d.ts +0 -8
  746. package/types/tags/src/composition/types.d.ts +0 -13
  747. package/types/tags/src/composition/use-draggable.d.ts +0 -4
  748. package/types/tags/src/tags.props.d.ts +0 -92
  749. package/types/text/index.d.ts +0 -23
  750. package/types/text/src/text.component.d.ts +0 -16
  751. package/types/text/src/text.props.d.ts +0 -26
  752. package/types/time-picker/index.d.ts +0 -11
  753. package/types/time-picker/src/components/time-holder.d.ts +0 -82
  754. package/types/time-picker/src/components/time.props.d.ts +0 -48
  755. package/types/time-picker/src/components/utils/check.d.ts +0 -1
  756. package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
  757. package/types/time-picker/src/time-picker.props.d.ts +0 -4
  758. package/types/tooltip/index.d.ts +0 -24
  759. package/types/tooltip/src/composition/types.d.ts +0 -45
  760. package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
  761. package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
  762. package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
  763. package/types/tooltip/src/composition/use-relative.d.ts +0 -19
  764. package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
  765. package/types/tooltip/src/tooltip.component.d.ts +0 -58
  766. package/types/tooltip/src/tooltip.directive.d.ts +0 -5
  767. package/types/tooltip/src/tooltip.props.d.ts +0 -45
  768. package/types/transfer/index.d.ts +0 -8
  769. package/types/transfer/src/transfer.props.d.ts +0 -71
  770. package/types/tree-view/index.d.ts +0 -8
  771. package/types/tree-view/src/components/data/control-tree-view.component.d.ts +0 -108
  772. package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -8
  773. package/types/tree-view/src/composition/types.d.ts +0 -97
  774. package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +0 -4
  775. package/types/tree-view/src/composition/use-tree-data-view.d.ts +0 -21
  776. package/types/tree-view/src/composition/use-tree-node-icon.d.ts +0 -4
  777. package/types/tree-view/src/composition/use-tree-node-lines.d.ts +0 -3
  778. package/types/tree-view/src/composition/use-visual-tree-node.d.ts +0 -9
  779. package/types/tree-view/src/control-tree-view.props.d.ts +0 -58
  780. package/types/tree-view/src/tree-view.component.d.ts +0 -97
  781. package/types/tree-view/src/tree-view.props.d.ts +0 -54
  782. package/types/uploader/index.d.ts +0 -25
  783. package/types/uploader/src/components/sub-component.props.d.ts +0 -63
  784. package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
  785. package/types/uploader/src/composition/type.d.ts +0 -135
  786. package/types/uploader/src/service/get-service.d.ts +0 -2
  787. package/types/uploader/src/uploader.props.d.ts +0 -156
  788. package/types/verify-detail/index.d.ts +0 -23
  789. package/types/verify-detail/src/verify-detail.component.d.ts +0 -70
  790. package/types/verify-detail/src/verify-detail.props.d.ts +0 -36
  791. package/uploader/index.esm.js +0 -1972
  792. package/uploader/index.umd.js +0 -17
  793. package/uploader/package.json +0 -8
  794. package/uploader/style.css +0 -1
  795. package/verify-detail/index.esm.js +0 -187
  796. package/verify-detail/index.umd.js +0 -1
  797. package/verify-detail/package.json +0 -8
  798. package/verify-detail/style.css +0 -1
@@ -1,2227 +0,0 @@
1
- import { ref as a, computed as B, watch as W, defineComponent as G, createVNode as v, withDirectives as Q, vModelCheckbox as Me, Fragment as re, withModifiers as Fe, vModelText as Oe, Teleport as de, createApp as Le, onUnmounted as fe, nextTick as K, vShow as ve, onMounted as ne, mergeProps as Ve, inject as De } from "vue";
2
- const pe = {};
3
- function oe(e) {
4
- const { properties: t } = e;
5
- return Object.keys(t).reduce((l, n) => (l[n] = t[n].type === "object" && t[n].properties ? oe(t[n]) : t[n].default, l), {});
6
- }
7
- function je(e) {
8
- const t = pe[e];
9
- return t ? oe(t) : null;
10
- }
11
- function Re(e, t) {
12
- const o = oe(t);
13
- return Object.keys(e).reduce((l, n) => (l[n] = e[n], l), o), o;
14
- }
15
- function Ae(e, t) {
16
- return Object.keys(e).filter((l) => e[l] != null).reduce((l, n) => {
17
- if (t.has(n)) {
18
- const s = t.get(n);
19
- if (typeof s == "string")
20
- l[s] = e[n];
21
- else {
22
- const u = s(n, e[n]);
23
- Object.assign(l, u);
24
- }
25
- } else
26
- l[n] = e[n];
27
- return l;
28
- }, {});
29
- }
30
- function Ee(e, t, o = /* @__PURE__ */ new Map()) {
31
- const l = Re(e, t);
32
- return Ae(l, o);
33
- }
34
- function ge(e, t, o = /* @__PURE__ */ new Map()) {
35
- return pe[t.title] = t, (l) => {
36
- const n = Ee(l, t, o), s = Object.keys(e).reduce((u, r) => (u[r] = e[r].default, u), {});
37
- return Object.assign(s, n);
38
- };
39
- }
40
- function me(e, t) {
41
- return { customClass: t.class };
42
- }
43
- const He = /* @__PURE__ */ new Map([
44
- ["appearance", me]
45
- ]), We = "https://json-schema.org/draft/2020-12/schema", _e = "https://farris-design.gitee.io/combo-list.schema.json", $e = "combo-list", Ne = "A Farris Input Component", ze = "object", Xe = {
46
- id: {
47
- description: "The unique identifier for a combo list",
48
- type: "string"
49
- },
50
- type: {
51
- description: "The type string of number combo list component",
52
- type: "string",
53
- default: "combo-list"
54
- },
55
- appearance: {
56
- description: "",
57
- type: "object",
58
- properties: {
59
- class: {
60
- type: "string"
61
- },
62
- style: {
63
- type: "string"
64
- }
65
- },
66
- default: {}
67
- },
68
- binding: {
69
- description: "",
70
- type: "object",
71
- default: {}
72
- },
73
- editable: {
74
- description: "",
75
- type: "boolean",
76
- default: !0
77
- },
78
- enableLinkLabel: {
79
- description: "",
80
- type: "boolean",
81
- default: !1
82
- },
83
- label: {
84
- description: "",
85
- type: "string",
86
- default: ""
87
- },
88
- lableWidth: {
89
- description: "",
90
- type: "number"
91
- },
92
- placeHolder: {
93
- description: "",
94
- type: "string",
95
- default: ""
96
- },
97
- readonly: {
98
- description: "",
99
- type: "boolean",
100
- default: !1
101
- },
102
- required: {
103
- description: "",
104
- type: "boolean",
105
- default: !1
106
- },
107
- tabindex: {
108
- description: "",
109
- type: "number",
110
- default: -1
111
- },
112
- textAlign: {
113
- description: "",
114
- type: "string",
115
- enum: [
116
- "left",
117
- "middle",
118
- "right"
119
- ],
120
- default: "left"
121
- },
122
- visible: {
123
- description: "",
124
- type: "boolean",
125
- default: !0
126
- },
127
- onBlur: {
128
- description: "",
129
- type: "string",
130
- default: ""
131
- },
132
- onClickLinkLabel: {
133
- description: "",
134
- type: "sting",
135
- default: ""
136
- }
137
- }, qe = [
138
- "id",
139
- "type"
140
- ], Ge = {
141
- $schema: We,
142
- $id: _e,
143
- title: $e,
144
- description: Ne,
145
- type: ze,
146
- properties: Xe,
147
- required: qe
148
- };
149
- var Ue = /* @__PURE__ */ ((e) => (e.Text = "text", e.Tag = "tag", e))(Ue || {}), Ke = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e.auto = "auto", e))(Ke || {});
150
- const ae = {
151
- /**
152
- * 组件标识
153
- */
154
- id: { type: String },
155
- /**
156
- * 下拉数据源
157
- */
158
- data: { type: Array, default: [] },
159
- /**
160
- * 可选,展示文本
161
- * 默认为空字符串
162
- */
163
- displayText: { type: String, default: "" },
164
- /**
165
- * 可选,是否禁用
166
- * 默认为`false`
167
- */
168
- disabled: { default: !1, type: Boolean },
169
- /**
170
- * 可选,下拉图标
171
- * 默认为'<span class="f-icon f-icon-arrow-60-down"></span>'
172
- */
173
- dropDownIcon: { type: String, default: '<span class="f-icon f-icon-arrow-60-down"></span>' },
174
- /**
175
- * 可选,是否可编辑
176
- * 默认`false`
177
- */
178
- editable: { default: !1, type: Boolean },
179
- /**
180
- * 可选,是否启用清空
181
- * 默认启用
182
- */
183
- enableClear: { default: !0, type: Boolean },
184
- /**
185
- * 可选,启用搜索
186
- * 默认为`false`
187
- */
188
- enableSearch: { type: Boolean, default: !1 },
189
- /**
190
- * 可选,鼠标悬停时是否显示控件值
191
- * 默认显示
192
- */
193
- enableTitle: { default: !0, type: Boolean },
194
- /**
195
- * 可选,强制显示占位符
196
- * 默认`false`
197
- */
198
- forcePlaceholder: { default: !1, type: Boolean },
199
- /**
200
- * 可选,清空值时隐藏面板
201
- * 默认`true`
202
- */
203
- hidePanelOnClear: { default: !0, type: Boolean },
204
- /**
205
- * 可选,数据源id字段
206
- * 默认为`id`
207
- */
208
- idField: { default: "id", type: String },
209
- /**
210
- * 可选,字段映射
211
- */
212
- mapFields: { type: Object },
213
- /**
214
- * 可选,最大高度
215
- * 默认`350`
216
- */
217
- maxHeight: { default: 350, type: Number },
218
- /**
219
- * 最大输入长度
220
- */
221
- maxLength: { type: Number },
222
- /**
223
- * 可选,是否支持多选
224
- * 默认`false`
225
- */
226
- multiSelect: { default: !1, type: Boolean },
227
- /**
228
- * 绑定值
229
- */
230
- modelValue: { type: String, default: "" },
231
- /**
232
- * 占位符
233
- */
234
- placeholder: { type: String },
235
- /**
236
- * 可选,下拉面板展示位置
237
- * 默认为`auto`
238
- */
239
- placement: {
240
- type: String,
241
- default: "auto"
242
- /* auto */
243
- },
244
- /**
245
- * 可选,是否只读
246
- * 默认为`false`
247
- */
248
- readonly: { default: !1, type: Boolean },
249
- /**
250
- * 远端数据源信息
251
- */
252
- remote: { default: null, type: Object },
253
- /**
254
- * 可选,是否支持远端过滤
255
- * 默认`false`
256
- */
257
- remoteSearch: { default: !1, type: Boolean },
258
- /**
259
- * 可选,分隔符
260
- * 默认`,`
261
- */
262
- separator: { default: ",", type: String },
263
- /**
264
- * tabIndex
265
- */
266
- tabIndex: { type: Number, default: -1 },
267
- /**
268
- * 可选,数据源显示字段
269
- * 默认为`name`
270
- */
271
- textField: { default: "name", type: String },
272
- /**
273
- * 可选,数据源值字段
274
- * 默认为`id`
275
- */
276
- valueField: { default: "id", type: String },
277
- /**
278
- * 可选,下拉列表值展示方式
279
- * 支持text | tag,即文本或标签,默认为`ViewType.Text`,即文本方式`text`
280
- */
281
- viewType: { default: "text", type: String }
282
- }, ie = ge(ae, Ge, He), Je = {
283
- dataSource: { type: Array, default: [] },
284
- enableSearch: { type: Boolean, default: !1 },
285
- idField: { type: String, default: "id" },
286
- multiSelect: { default: !1, type: Boolean },
287
- selectedValues: { type: String, default: "" },
288
- separator: { type: String, default: "," },
289
- textField: { type: String, default: "name" },
290
- width: { type: Number },
291
- height: { type: Number },
292
- valueField: { type: String, default: "id" }
293
- }, Qe = {
294
- data: { type: Array, default: [] },
295
- draggable: { type: Boolean, default: !1 },
296
- multiSelect: { Type: Boolean, default: !1 },
297
- multiSelectMode: { Type: String, default: "OnCheck" },
298
- idField: { Type: String, default: "id" },
299
- valueField: { Type: String, default: "id" },
300
- textField: { Type: String, default: "name" },
301
- view: { Type: String, default: "ContentView" },
302
- size: { Type: String, default: "default" },
303
- placeholder: { type: String, default: "" },
304
- header: { Type: String, default: "ContentHeader" },
305
- headerClass: { Type: String, default: "" },
306
- itemClass: { Type: String, default: "" },
307
- selectionValues: { type: Array, default: [] },
308
- keepOrder: { type: Boolean, default: !1 },
309
- disableField: { type: String, default: "disabled" }
310
- };
311
- function Ye(e, t, o, l, n) {
312
- const s = a(e.idField), u = a(e.disableField), r = a(e.draggable), y = a(e.itemClass), d = a(e.multiSelect), f = a(e.multiSelectMode);
313
- a(!0);
314
- const { isDragging: i } = o, { activeIndex: c, focusedItemId: m, hoverIndex: p } = l, { clearSelection: b, selectedItems: M, toggleSelectItem: P } = n;
315
- function S(C, j) {
316
- const L = {
317
- "f-list-view-group-item": !0,
318
- "f-list-view-draggable-item": r.value,
319
- "f-un-click": !!C.unClick,
320
- "f-un-select": !!C[u.value],
321
- "f-listview-active": C.__fv_index__ === c.value,
322
- "f-listview-hover": !i.value && j === p.value,
323
- moving: !!C.moving
324
- };
325
- return y.value.split(" ").reduce((z, D) => (z[D] = !0, z), L), L;
326
- }
327
- function h(C, j) {
328
- return C[s.value] || "";
329
- }
330
- const T = B(() => !d.value);
331
- function k(C, j) {
332
- C.unClick || C[u.value] || (T.value && (m.value = C[s.value]), P(C, j));
333
- }
334
- const x = B(() => d.value && f.value === "OnCheckClearByClick"), E = B(() => !d.value || d.value && (f.value === "OnCheckAndClick" || f.value === "OnClick"));
335
- function V(C, j, L) {
336
- if (j.unClick || j[u.value]) {
337
- C.preventDefault(), C.stopPropagation();
338
- return;
339
- }
340
- m.value = j[s.value], c.value = L, x.value && b(), E.value && P(j, L), t.emit("clickItem", { data: M.value, index: L });
341
- }
342
- return {
343
- getKey: h,
344
- listViewItemClass: S,
345
- onCheckItem: k,
346
- onClickItem: V
347
- };
348
- }
349
- function Ze(e, t, o) {
350
- const l = a(e.idField), n = a(e.multiSelect);
351
- a(e.multiSelectMode);
352
- const { getSelectionItems: s } = o, u = a(s(e.selectionValues));
353
- W(() => e.selectionValues, (c) => {
354
- u.value = a(s(c)).value;
355
- });
356
- const r = B(() => !n.value);
357
- function y(c) {
358
- return c[l.value] || "";
359
- }
360
- function d(c) {
361
- return u.value.findIndex((p) => y(p) === y(c));
362
- }
363
- function f() {
364
- u.value.forEach((c) => {
365
- c.checked = !1;
366
- }), u.value = [];
367
- }
368
- function i(c, m) {
369
- r.value && f();
370
- const p = d(c);
371
- p > -1 ? (u.value.splice(p, 1), c.checked = !1) : (u.value.push(c), c.checked = !0), t.emit("selectionChange", u.value);
372
- }
373
- return { clearSelection: f, findIndexInSelectedItems: d, selectedItems: u, toggleSelectItem: i };
374
- }
375
- function et(e, t) {
376
- function o(s) {
377
- const u = [];
378
- let r = s.nextNode();
379
- for (; r; )
380
- u.push(r), r = s.nextNode();
381
- return u;
382
- }
383
- function l(s, u) {
384
- const r = document.createTreeWalker(s, NodeFilter.SHOW_TEXT);
385
- return o(r).map((i) => ({ textNode: i, text: (i.textContent || "").toLocaleLowerCase() })).map(({ textNode: i, text: c }) => {
386
- const m = [];
387
- let p = 0;
388
- for (; p < c.length; ) {
389
- const b = c.indexOf(u, p);
390
- if (b === -1)
391
- break;
392
- m.push(b), p = b + u.length;
393
- }
394
- return m.map((b) => {
395
- const M = new Range();
396
- return M.setStart(i, b), M.setEnd(i, b + u.length), M;
397
- });
398
- }).flat();
399
- }
400
- function n(s) {
401
- if (!CSS.highlights || (CSS.highlights.clear(), !s || !t))
402
- return;
403
- const u = l(t.value, s.toLocaleLowerCase()), r = new Highlight(...u);
404
- CSS.highlights.set("search-result", r);
405
- }
406
- return { search: n };
407
- }
408
- const tt = {
409
- checked: { Type: Boolean, default: !1 },
410
- id: { Type: String, default: "" },
411
- disabled: { Type: Boolean, default: !1 },
412
- /**
413
- * 组件值,字符串或者数组
414
- */
415
- modelValue: { Type: Boolean, default: !1 }
416
- }, le = /* @__PURE__ */ G({
417
- name: "FListViewCheckBox",
418
- props: tt,
419
- emits: ["change", "update:modelValue"],
420
- setup(e, t) {
421
- const o = a(e.checked), l = a(e.disabled), n = a(e.id);
422
- function s(u) {
423
- u.stopPropagation(), u.preventDefault(), l.value || (o.value = !o.value, t.emit("change", {
424
- originalEvent: u,
425
- checked: o.value
426
- }));
427
- }
428
- return W(() => e.checked, (u) => {
429
- o.value = u;
430
- }), () => v("div", {
431
- class: "custom-control custom-checkbox custom-control-inline listview-checkbox"
432
- }, [Q(v("input", {
433
- id: n.value,
434
- title: n.value,
435
- type: "checkbox",
436
- class: "custom-control-input",
437
- "onUpdate:modelValue": (u) => o.value = u,
438
- onChange: (u) => console.log(u)
439
- }, null), [[Me, o.value]]), v("label", {
440
- for: n.value,
441
- class: "custom-control-label",
442
- onClick: (u) => s(u)
443
- }, null)]);
444
- }
445
- });
446
- function se(e, t, o, l, n, s, u, r) {
447
- const y = a(e.size), d = a(e.textField), f = a(e.multiSelect), i = a(e.disableField), {
448
- onMouseenterItem: c,
449
- onMouseoverItem: m,
450
- onMouseoutItem: p
451
- } = n, {
452
- getKey: b,
453
- listViewItemClass: M,
454
- onCheckItem: P,
455
- onClickItem: S
456
- } = s, h = B(() => ({
457
- margin: y.value === "small" ? "0.25rem 0" : "10px 0"
458
- }));
459
- function T(k, x, E) {
460
- return k.checked = u.findIndexInSelectedItems(k) > -1, v("li", {
461
- class: M(k, x),
462
- id: b(k, x),
463
- key: b(k, x),
464
- onClick: (V) => S(V, k, x),
465
- onMouseenter: (V) => c(V, k, x),
466
- onMouseover: (V) => m(V, k, x),
467
- onMouseout: (V) => p(V, k, x)
468
- }, [f.value && v("div", {
469
- class: "f-list-select",
470
- onClick: (V) => V.stopPropagation()
471
- }, [v(le, {
472
- id: "list-" + b(k, x),
473
- disabled: k[i.value] || k.unClick,
474
- checked: k.checked,
475
- onChange: (V) => P(k, x)
476
- }, null)]), v("div", {
477
- class: "f-list-content"
478
- }, [v("div", {
479
- style: h.value
480
- }, [k[d.value]])])]);
481
- }
482
- return {
483
- renderItem: T
484
- };
485
- }
486
- function nt(e, t, o, l, n, s, u, r) {
487
- const y = a(e.multiSelect), d = a(e.disableField), {
488
- onMouseenterItem: f,
489
- onMouseoverItem: i,
490
- onMouseoutItem: c
491
- } = n, {
492
- getKey: m,
493
- listViewItemClass: p,
494
- onCheckItem: b,
495
- onClickItem: M
496
- } = s;
497
- function P(h, T, k) {
498
- return t.slots.content ? v(re, null, [t.slots.content && t.slots.content({
499
- item: h,
500
- index: T,
501
- selectedItem: k
502
- })]) : v("div", {
503
- style: "margin: 10px 0;"
504
- }, [h.name]);
505
- }
506
- function S(h, T, k) {
507
- return v("li", {
508
- class: p(h, T),
509
- id: m(h, T),
510
- key: m(h, T),
511
- onClick: (x) => M(x, h, T),
512
- onMouseenter: (x) => f(x, h, T),
513
- onMouseover: (x) => i(x, h, T),
514
- onMouseout: (x) => c(x, h, T)
515
- }, [y.value && v("div", {
516
- class: "f-list-select",
517
- onClick: (x) => x.stopPropagation()
518
- }, [v(le, {
519
- id: "list-" + m(h, T),
520
- disabled: h[d.value] || h.unClick,
521
- checked: h.checked,
522
- onChange: (x) => b(h, T)
523
- }, null)]), v("div", {
524
- class: "f-list-content"
525
- }, [P(h, T, k)])]);
526
- }
527
- return {
528
- renderItem: S
529
- };
530
- }
531
- function ot(e, t, o, l, n, s, u, r) {
532
- const y = a(e.multiSelect), d = a(e.disableField), {
533
- onMouseenterItem: f,
534
- onMouseoverItem: i,
535
- onMouseoutItem: c
536
- } = n, {
537
- getKey: m,
538
- listViewItemClass: p,
539
- onCheckItem: b,
540
- onClickItem: M
541
- } = s, {
542
- dragstart: P,
543
- dragenter: S,
544
- dragover: h,
545
- dragend: T
546
- } = l, {
547
- removeItem: k
548
- } = r, x = B(() => ({
549
- margin: y.value ? "10px 0" : "10px 0px 10px 14px"
550
- }));
551
- function E(L) {
552
- return v("div", {
553
- style: x.value
554
- }, [L.name]);
555
- }
556
- function V() {
557
- return t.slots.itemContent ? t.slots.itemContent : E;
558
- }
559
- const C = V();
560
- function j(L, R, z) {
561
- return v("li", {
562
- class: p(L, R),
563
- id: m(L, R),
564
- key: m(L, R),
565
- onClick: (D) => M(D, L, R),
566
- onMouseenter: (D) => f(D, L, R),
567
- onMouseover: (D) => i(D, L, R),
568
- onMouseout: (D) => c(D, L, R),
569
- draggable: "true",
570
- onDragstart: (D) => P(D, L, R),
571
- onDragenter: (D) => S(D, R),
572
- onDragend: (D) => T(D, L),
573
- onDragover: (D) => h(D, R)
574
- }, [y.value && v("div", {
575
- class: "f-list-select",
576
- onClick: (D) => D.stopPropagation()
577
- }, [v(le, {
578
- id: "list-" + m(L, R),
579
- disabled: L[d.value] || L.unClick,
580
- checked: L.checked,
581
- onChange: (D) => b(L, R)
582
- }, null)]), v("div", {
583
- class: "f-list-content"
584
- }, [C(L)]), v("div", {
585
- class: "f-list-remove",
586
- onClick: (D) => k(R)
587
- }, [v("div", {
588
- class: "f-list-remove-icon"
589
- }, [v("i", {
590
- class: "f-icon f-icon-remove_face"
591
- }, null)])]), v("div", {
592
- class: "f-list-handle"
593
- }, [v("div", null, [v("i", {
594
- class: "f-icon f-icon-drag-vertical"
595
- }, null)])])]);
596
- }
597
- return {
598
- renderItem: j
599
- };
600
- }
601
- function at(e, t, o) {
602
- function l() {
603
- return t.slots.header && v("div", {
604
- class: "f-list-view-header"
605
- }, [t.slots.header()]);
606
- }
607
- return {
608
- renderHeader: l
609
- };
610
- }
611
- function ce(e, t, o) {
612
- const l = a(e.headerClass), n = a(e.placeholder), s = a(""), u = B(() => !s.value), r = B(() => !!s.value);
613
- function y(c) {
614
- s.value = "";
615
- }
616
- W(s, (c) => {
617
- o.search(c);
618
- });
619
- const d = B(() => {
620
- const c = {
621
- "form-group": !0,
622
- "farris-form-group": !0
623
- };
624
- return l.value && l.value.split(" ").reduce((p, b) => (p[b] = !0, p), c), c;
625
- });
626
- function f(c) {
627
- }
628
- function i() {
629
- return v("div", {
630
- class: "f-list-view-header",
631
- onClick: Fe(f, ["prevent", "stop"])
632
- }, [v("div", {
633
- class: d.value
634
- }, [v("div", {
635
- class: "farris-input-wrap"
636
- }, [v("div", {
637
- class: "f-cmp-inputgroup"
638
- }, [v("div", {
639
- class: "input-group f-state-editable"
640
- }, [Q(v("input", {
641
- class: "form-control f-utils-fill text-left",
642
- "onUpdate:modelValue": (c) => s.value = c,
643
- name: "input-group-value",
644
- type: "text",
645
- placeholder: n.value,
646
- autocomplete: "off"
647
- }, null), [[Oe, s.value]]), v("div", {
648
- class: "input-group-append"
649
- }, [r.value && v("span", {
650
- class: "input-group-text input-group-clear",
651
- onClick: (c) => y()
652
- }, [v("i", {
653
- class: "f-icon f-icon-close-circle"
654
- }, null)]), u.value && v("span", {
655
- class: "input-group-text"
656
- }, [v("span", {
657
- class: "f-icon f-icon-search"
658
- }, null)])])])])])])]);
659
- }
660
- return {
661
- renderHeader: i
662
- };
663
- }
664
- function lt(e, t) {
665
- const o = a(e.idField), l = a(e.data), n = a(e.data), s = a(e.keepOrder);
666
- function u() {
667
- const d = l.value.map((f, i) => typeof f != "object" ? { __fv_index__: i, name: f } : (f.__fv_index__ = i, f));
668
- return n.value = d, d;
669
- }
670
- const r = a(u());
671
- W(
672
- () => e.data,
673
- (d) => {
674
- if (s.value) {
675
- const f = d.reduce((p, b) => (p.set(b.id, !0), p), /* @__PURE__ */ new Map()), i = l.value.reduce((p, b) => (p.set(b.id, !0), p), /* @__PURE__ */ new Map()), c = r.value.filter((p) => f.has(p.id)), m = d.filter((p) => !i.has(p.id));
676
- l.value = [...c, ...m];
677
- } else
678
- l.value = d;
679
- r.value = u();
680
- }
681
- );
682
- function y(d) {
683
- return d.map((i) => {
684
- const c = n.value.findIndex((m) => m[o.value] === i);
685
- return c > -1 ? n.value[c] : null;
686
- }).filter((i) => i != null);
687
- }
688
- return {
689
- dataView: r,
690
- getSelectionItems: y
691
- };
692
- }
693
- function ut(e, t, o, l) {
694
- const n = a(e.idField), { dataView: s } = o, u = a(-1), r = a(!1), { activeIndex: y, focusedItemId: d, hoverIndex: f, resumeHover: i, suspendHover: c } = l;
695
- function m(P, S, h) {
696
- P.stopPropagation(), c(), S && setTimeout(() => {
697
- u.value = h, r.value = !0, S.moving = !0;
698
- });
699
- }
700
- function p(P, S) {
701
- if (P.preventDefault(), u.value !== S) {
702
- const h = s.value[u.value], T = s.value;
703
- T.splice(u.value, 1), T.splice(S, 0, h), u.value = S;
704
- }
705
- }
706
- function b(P, S) {
707
- P.preventDefault(), P.dataTransfer && (P.dataTransfer.dropEffect = "move");
708
- }
709
- function M(P, S) {
710
- S && (S.moving = !1), s.value.forEach((h, T) => {
711
- h.__fv_index__ = T;
712
- }), r.value = !1, i(), f.value = S.__fv_index__, y.value = S.__fv_index__, d.value = S[n.value], t.emit("change", s.value);
713
- }
714
- return {
715
- dragstart: m,
716
- dragenter: p,
717
- dragover: b,
718
- dragend: M,
719
- isDragging: r
720
- };
721
- }
722
- function it(e, t, o) {
723
- const { dataView: l } = o;
724
- function n(s) {
725
- if (s > -1 && s < l.value.length) {
726
- const u = l.value.splice(s, 1);
727
- t.emit("removeItem", u[0]);
728
- }
729
- }
730
- return { removeItem: n };
731
- }
732
- function st() {
733
- const e = a(-1), t = a(""), o = a(-1), l = a(!1);
734
- function n(d, f, i) {
735
- o.value = i;
736
- }
737
- function s(d, f, i) {
738
- l.value || (o.value = i);
739
- }
740
- function u(d, f, i) {
741
- o.value = -1;
742
- }
743
- function r() {
744
- l.value = !0;
745
- }
746
- function y() {
747
- l.value = !1;
748
- }
749
- return {
750
- activeIndex: e,
751
- focusedItemId: t,
752
- hoverIndex: o,
753
- onMouseenterItem: n,
754
- onMouseoverItem: s,
755
- onMouseoutItem: u,
756
- resumeHover: y,
757
- suspendHover: r
758
- };
759
- }
760
- const ct = /* @__PURE__ */ G({
761
- name: "FListView",
762
- props: Qe,
763
- emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
764
- setup(e, t) {
765
- const o = a(), l = a(e.view), n = a(e.header), s = a(e.multiSelect), u = a(e.view === "CardView"), r = a(!0), y = a({}), d = a("暂无数据");
766
- a(!0), a(!1), a("id");
767
- const f = lt(e), {
768
- dataView: i
769
- } = f, c = B(() => {
770
- const F = {
771
- "f-list-view": !0,
772
- "f-list-view-multiple": s.value
773
- };
774
- return e.size !== "default" && (F[`${e.size}-item`] = !0), F;
775
- }), m = B(() => ({
776
- "f-list-view-group": !0,
777
- "d-flex": u.value,
778
- "flex-wrap": u.value
779
- })), p = B(() => !!i.value && i.value.length > 0), b = st(), M = Ze(e, t, f), P = ut(e, t, f, b), S = it(e, t, f), h = Ye(e, t, P, b, M), T = et(e, o), k = B(() => i.value.length === 0), x = B(() => k.value && !t.slots.empty), E = B(() => !!t.slots.footer || r.value);
780
- function V() {
781
- return l.value === "SingleView" ? se : l.value === "DraggableView" ? ot : l.value === "ContentView" && t.slots.content ? nt : se;
782
- }
783
- const C = V(), {
784
- renderItem: j
785
- } = C(e, t, f, P, b, h, M, S);
786
- function L() {
787
- return n.value === "SearchBar" ? ce : n.value === "ContentHeader" ? at : ce;
788
- }
789
- const R = L(), {
790
- renderHeader: z
791
- } = R(e, t, T);
792
- function D(F) {
793
- T.search(F);
794
- }
795
- t.expose({
796
- search: D
797
- });
798
- function O(F) {
799
- s.value && (F.preventDefault(), F.stopPropagation());
800
- }
801
- return () => v("div", {
802
- class: c.value,
803
- onClick: O
804
- }, [z(), v("div", {
805
- ref: o,
806
- class: "f-list-view-content"
807
- }, [v("ul", {
808
- class: m.value,
809
- style: "list-style: none;"
810
- }, [p.value && i.value.map((F, A) => j(F, A, y)), x.value && v("div", {
811
- class: "f-list-view-emptydata"
812
- }, [v("p", {
813
- class: "f-empty-title"
814
- }, [d.value])]), t.slots.empty && t.slots.empty()])]), E.value && v("div", {
815
- class: "f-list-view-footer"
816
- }, [t.slots.footer && t.slots.footer()])]);
817
- }
818
- }), rt = /* @__PURE__ */ G({
819
- name: "FComboListContainer",
820
- props: Je,
821
- emits: ["selectionChange"],
822
- setup(e, t) {
823
- const o = a(e.dataSource), l = a([]), n = a(e.separator), s = a(e.width), u = a(e.height), r = a(e.selectedValues.split(n.value));
824
- W(e.dataSource, () => {
825
- o.value = e.dataSource;
826
- });
827
- const y = B(() => e.enableSearch ? "SearchBar" : "ContentHeader"), d = B(() => {
828
- const i = {};
829
- return s.value !== void 0 && (i.width = `${s.value}px`), u.value !== void 0 && (i.height = `${u.value}px`), i;
830
- });
831
- function f(i) {
832
- l.value = i.map((c) => Object.assign({}, c)), r.value = i.map((c) => c[e.idField]), t.emit("selectionChange", l.value);
833
- }
834
- return () => v("div", {
835
- class: "f-combo-list-container",
836
- style: d.value
837
- }, [v(ct, {
838
- size: "small",
839
- itemClass: "f-combo-list-item",
840
- header: y.value,
841
- headerClass: "f-combo-list-search-box",
842
- data: o.value,
843
- idField: e.idField,
844
- textField: e.textField,
845
- multiSelect: e.multiSelect,
846
- multiSelectMode: "OnCheckAndClick",
847
- "selection-values": r.value,
848
- onSelectionChange: f
849
- }, null)]);
850
- }
851
- }), dt = /* @__PURE__ */ new Map([
852
- ["appearance", me]
853
- ]), ft = "https://json-schema.org/draft/2020-12/schema", vt = "https://farris-design.gitee.io/button-edit.schema.json", pt = "button-edit", gt = "A Farris Input Component", mt = "object", ht = {
854
- id: {
855
- description: "The unique identifier for a Input Group",
856
- type: "string"
857
- },
858
- type: {
859
- description: "The type string of Input Group component",
860
- type: "string",
861
- default: "button-edit"
862
- },
863
- appearance: {
864
- description: "",
865
- type: "object",
866
- properties: {
867
- class: {
868
- type: "string"
869
- },
870
- style: {
871
- type: "string"
872
- }
873
- },
874
- default: {}
875
- },
876
- binding: {
877
- description: "",
878
- type: "object",
879
- default: {}
880
- },
881
- disable: {
882
- type: "string",
883
- default: !1
884
- },
885
- editable: {
886
- description: "",
887
- type: "boolean",
888
- default: !0
889
- },
890
- enableLinkLabel: {
891
- description: "",
892
- type: "boolean",
893
- default: !1
894
- },
895
- label: {
896
- description: "",
897
- type: "string",
898
- default: ""
899
- },
900
- lableWidth: {
901
- description: "",
902
- type: "number"
903
- },
904
- placeHolder: {
905
- description: "",
906
- type: "string",
907
- default: ""
908
- },
909
- readonly: {
910
- description: "",
911
- type: "boolean",
912
- default: !1
913
- },
914
- require: {
915
- description: "",
916
- type: "boolean",
917
- default: !1
918
- },
919
- tabindex: {
920
- description: "",
921
- type: "number",
922
- default: -1
923
- },
924
- textAlign: {
925
- description: "",
926
- type: "string",
927
- enum: [
928
- "left",
929
- "middle",
930
- "right"
931
- ],
932
- default: "left"
933
- },
934
- visible: {
935
- description: "",
936
- type: "boolean",
937
- default: !0
938
- },
939
- onBlur: {
940
- description: "",
941
- type: "string",
942
- default: ""
943
- },
944
- onClickLinkLabel: {
945
- description: "",
946
- type: "sting",
947
- default: ""
948
- },
949
- autoComplete: {
950
- description: "",
951
- type: "boolean",
952
- default: !1
953
- },
954
- buttonContent: {
955
- description: "",
956
- type: "string",
957
- default: ""
958
- },
959
- enableClear: {
960
- description: "",
961
- type: "boolean",
962
- default: !0
963
- },
964
- inputType: {
965
- description: "",
966
- type: "string",
967
- enum: [
968
- "text",
969
- "tag"
970
- ],
971
- default: "text"
972
- },
973
- multiSelect: {
974
- description: "",
975
- type: "boolean",
976
- default: !1
977
- },
978
- popup: {
979
- description: "",
980
- type: "object",
981
- properties: {
982
- footerButtons: {
983
- type: "array",
984
- default: []
985
- },
986
- height: {
987
- type: "number",
988
- default: 600
989
- },
990
- dataMapping: {
991
- type: "object"
992
- },
993
- contents: {
994
- type: "array",
995
- default: []
996
- },
997
- showMaxButton: {
998
- type: "boolean",
999
- default: !0
1000
- },
1001
- showCloseButton: {
1002
- type: "boolean",
1003
- default: !0
1004
- },
1005
- showFooter: {
1006
- type: "boolean",
1007
- default: !0
1008
- },
1009
- title: {
1010
- type: "string",
1011
- default: ""
1012
- },
1013
- width: {
1014
- type: "number",
1015
- default: 800
1016
- }
1017
- }
1018
- },
1019
- separator: {
1020
- type: "string",
1021
- default: ","
1022
- },
1023
- showButtonWhenDisabled: {
1024
- description: "",
1025
- type: "boolean",
1026
- default: !1
1027
- },
1028
- wrapText: {
1029
- type: "boolean",
1030
- default: !1
1031
- },
1032
- onClear: {
1033
- description: "",
1034
- type: "string",
1035
- default: ""
1036
- }
1037
- }, yt = [
1038
- "id",
1039
- "type"
1040
- ], bt = {
1041
- $schema: ft,
1042
- $id: vt,
1043
- title: pt,
1044
- description: gt,
1045
- type: mt,
1046
- properties: ht,
1047
- required: yt
1048
- }, he = {
1049
- /**
1050
- * 组件标识
1051
- */
1052
- id: String,
1053
- /**
1054
- * 扩展按钮显示内容,这是一段现在扩展按钮中的html标签
1055
- */
1056
- buttonContent: { type: String, default: '<i class="f-icon f-icon-lookup"></i>' },
1057
- buttonBehavior: { type: String, default: "Popup" },
1058
- /**
1059
- * 启用输入框自动完成功能
1060
- */
1061
- autoComplete: { type: Boolean, default: !1 },
1062
- /**
1063
- * 组件自定义样式
1064
- */
1065
- customClass: { type: String, default: "" },
1066
- /**
1067
- * 禁用组件,既不允许在输入框中录入,也不允许点击扩展按钮。
1068
- */
1069
- disable: { type: Boolean, default: !1 },
1070
- /**
1071
- * 允许在输入框中录入文本。
1072
- */
1073
- editable: { type: Boolean, default: !0 },
1074
- /**
1075
- * 显示清空文本按钮
1076
- */
1077
- enableClear: { type: Boolean, default: !1 },
1078
- /**
1079
- * 组件值
1080
- */
1081
- modelValue: { type: String, default: "" },
1082
- /**
1083
- * 将组件设置为只读,既不允许在输入框中录入,也不允许点击扩展按钮,但是允许复制输入框中的内容。
1084
- */
1085
- readonly: { type: Boolean, default: !1 },
1086
- /**
1087
- * 文本对齐方式
1088
- */
1089
- textAlign: { type: String, default: "left" },
1090
- /**
1091
- * 禁用组件时,是否显示扩展按钮
1092
- */
1093
- showButtonWhenDisabled: { type: Boolean, default: !1 },
1094
- /**
1095
- * 显示输入框的标签
1096
- */
1097
- enableTitle: { type: Boolean, default: !1 },
1098
- /**
1099
- * 输入框类型
1100
- */
1101
- inputType: { type: String, default: "text" },
1102
- /**
1103
- * 显示输入框提示信息
1104
- */
1105
- forcePlaceholder: { type: Boolean, default: !1 },
1106
- /**
1107
- * 输入框提示文本
1108
- */
1109
- placeholder: { type: String, default: "" },
1110
- /**
1111
- * 输入框最小长度
1112
- */
1113
- minLength: Number,
1114
- /**
1115
- * 输入框最大长度
1116
- */
1117
- maxLength: Number,
1118
- /**
1119
- * 输入框Tab键索引
1120
- */
1121
- tabIndex: Number,
1122
- popupHost: { type: Object },
1123
- popupRightBoundary: { type: Object },
1124
- popupOffsetX: { type: Object },
1125
- popupOnInput: { type: Boolean, default: !1 },
1126
- popupOnFocus: { type: Boolean, default: !1 },
1127
- popupMinWidth: { type: Number, default: 320 },
1128
- wrapText: { type: Boolean, default: !1 },
1129
- /**
1130
- * 可选,是否支持多选
1131
- * 默认`false`
1132
- */
1133
- multiSelect: { type: Boolean, default: !1 },
1134
- /**
1135
- * 可选,分隔符
1136
- * 默认`,`
1137
- */
1138
- separator: { type: String, default: "," }
1139
- };
1140
- ge(he, bt, dt);
1141
- const Ct = {
1142
- popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
1143
- host: { type: Object }
1144
- }, wt = /* @__PURE__ */ G({
1145
- name: "FOverlay",
1146
- props: Ct,
1147
- emits: ["click"],
1148
- setup(e, t) {
1149
- const o = a(e.popupContentPosition), l = a(e.host);
1150
- function n(r) {
1151
- t.emit("click"), r.preventDefault(), r.stopPropagation();
1152
- }
1153
- const s = B(() => {
1154
- const r = l.value;
1155
- if (r) {
1156
- const y = r.getBoundingClientRect(), {
1157
- left: d,
1158
- top: f,
1159
- height: i
1160
- } = y;
1161
- return {
1162
- left: d,
1163
- top: f + i
1164
- };
1165
- }
1166
- return o.value;
1167
- }), u = B(() => ({
1168
- position: "relative",
1169
- left: `${s.value.left}px`,
1170
- top: `${s.value.top}px`
1171
- }));
1172
- return () => v(de, {
1173
- to: "body"
1174
- }, {
1175
- default: () => {
1176
- var r, y;
1177
- return [v("div", {
1178
- class: "overlay-container",
1179
- style: "pointer-events: auto;",
1180
- onClick: (d) => n(d)
1181
- }, [v("div", {
1182
- style: u.value
1183
- }, [(y = (r = t.slots).default) == null ? void 0 : y.call(r)])])];
1184
- }
1185
- });
1186
- }
1187
- });
1188
- function St(e) {
1189
- if (e.content && e.content.render)
1190
- return e.content.render;
1191
- if (e.render && typeof e.render == "function")
1192
- return e.render;
1193
- }
1194
- function Tt(e) {
1195
- const t = document.createElement("div");
1196
- t.style.display = "contents";
1197
- let o;
1198
- const l = e.onClickCallback || (() => {
1199
- }), n = () => {
1200
- l(), o && o.unmount();
1201
- };
1202
- return o = Le({
1203
- setup() {
1204
- fe(() => {
1205
- document.body.removeChild(t);
1206
- });
1207
- const s = St(e);
1208
- return () => v(wt, {
1209
- "popup-content-position": e.popupPosition,
1210
- host: e.host,
1211
- onClick: n
1212
- }, {
1213
- default: () => [s && s()]
1214
- });
1215
- }
1216
- }), document.body.appendChild(t), o.mount(t), o;
1217
- }
1218
- class It {
1219
- static show(t) {
1220
- return Tt(t);
1221
- }
1222
- }
1223
- function Bt(e, t, o, l) {
1224
- const n = a(e.buttonBehavior), s = a(e.popupOnInput), u = B(() => ({
1225
- "input-group-append": !0,
1226
- "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1227
- })), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable);
1228
- async function y(c) {
1229
- if (r.value) {
1230
- const m = !!t.slots.default;
1231
- n.value === "Overlay" && It.show({
1232
- host: o.value,
1233
- render: () => {
1234
- if (t.slots.default)
1235
- return t.slots.default();
1236
- }
1237
- }), m && n.value === "Popup" && l.togglePopup(), m && s.value && l.hidePopup(), t.emit("clickButton", { origin: c, value: e.modelValue });
1238
- }
1239
- c.stopPropagation();
1240
- }
1241
- function d(c) {
1242
- t.emit("mouseEnterIcon", c);
1243
- }
1244
- function f(c) {
1245
- t.emit("mouseLeaveIcon", c);
1246
- }
1247
- function i() {
1248
- t.emit("mouseOverButton");
1249
- }
1250
- return {
1251
- buttonClass: u,
1252
- onClickButton: y,
1253
- onMouseEnterButton: d,
1254
- onMouseLeaveButton: f,
1255
- onMouseOverButton: i
1256
- };
1257
- }
1258
- function kt(e, t, o, l, n, s) {
1259
- const u = a(!1), r = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: y } = s;
1260
- function d(m) {
1261
- u.value = m;
1262
- }
1263
- W(n, () => {
1264
- l.value ? d(!!n.value) : d(!1);
1265
- });
1266
- function f(m) {
1267
- const p = !e.readonly && !e.disable && e.editable, b = !e.editable;
1268
- m.stopPropagation(), (p || b) && (y("", !1), d(!u.value), t.emit("clear"));
1269
- }
1270
- function i(m) {
1271
- if (r.value) {
1272
- if (!o.value) {
1273
- d(!1);
1274
- return;
1275
- }
1276
- (!e.editable || !e.readonly) && !e.disable && d(!0);
1277
- }
1278
- }
1279
- function c(m) {
1280
- r.value && d(!1);
1281
- }
1282
- return {
1283
- enableClearButton: r,
1284
- showClearButton: u,
1285
- onClearValue: f,
1286
- onMouseEnterTextBox: i,
1287
- onMouseLeaveTextBox: c
1288
- };
1289
- }
1290
- function xt(e, t, o, l, n) {
1291
- const s = a(e.popupOnInput), u = a(e.popupOnFocus), { shouldPopupContent: r } = n, y = B(() => e.enableTitle ? o.value : ""), d = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = B(() => e.readonly || !e.editable);
1292
- let i = !1;
1293
- const c = B(() => !e.disable && i), m = B(() => ({
1294
- "text-left": e.textAlign === "left",
1295
- "text-center": e.textAlign === "center",
1296
- "text-right": e.textAlign === "right",
1297
- "form-control": !0,
1298
- "f-utils-fill": !0
1299
- })), p = B(() => ({
1300
- "input-group": !0,
1301
- "f-state-disable": e.disable,
1302
- "f-state-editable": e.editable && !e.disable && !e.readonly,
1303
- "f-state-readonly": e.readonly && !e.disable,
1304
- "f-state-focus": c.value
1305
- }));
1306
- function b(C, j = !0) {
1307
- o.value !== C && (o.value = C, j && t.emit("change", C), t.emit("update:modelValue", C));
1308
- }
1309
- function M(C) {
1310
- r.value = !1, b(C, !0);
1311
- }
1312
- W(
1313
- () => e.modelValue,
1314
- (C) => {
1315
- o.value = C, t.emit("change", C);
1316
- }
1317
- );
1318
- function P(C) {
1319
- i = !1, t.emit("blur", C), C.stopPropagation();
1320
- }
1321
- function S(C) {
1322
- t.emit("click", C);
1323
- }
1324
- function h(C) {
1325
- if (e.disable) {
1326
- i = !0;
1327
- return;
1328
- }
1329
- i = !0, f.value || (t.emit("focus", C), u.value && !r.value && n.popup());
1330
- }
1331
- function T(C) {
1332
- t.emit("input", C.target.value);
1333
- const j = C.target.value;
1334
- l.value = j, o.value !== j && b(j, !1), s.value && !r.value && n.popup();
1335
- }
1336
- function k(C) {
1337
- C.target.tagName !== "INPUT" && C.preventDefault(), C.stopPropagation();
1338
- }
1339
- function x(C) {
1340
- t.emit("keydown", C);
1341
- }
1342
- function E(C) {
1343
- C.key === "Enter" && (s.value || u.value) && n.hidePopup(), t.emit("keyup", C);
1344
- }
1345
- function V(C) {
1346
- const j = C.target.value;
1347
- C.stopPropagation(), b(j);
1348
- }
1349
- return {
1350
- hasFocusedTextBox: c,
1351
- isTextBoxReadonly: f,
1352
- textBoxClass: m,
1353
- textBoxPlaceholder: d,
1354
- textBoxTitle: y,
1355
- inputGroupClass: p,
1356
- changeTextBoxValue: b,
1357
- commitValue: M,
1358
- onBlurTextBox: P,
1359
- onClickTextBox: S,
1360
- onFocusTextBox: h,
1361
- onInput: T,
1362
- onKeyDownTextBox: x,
1363
- onKeyUpTextBox: E,
1364
- onMouseDownTextBox: k,
1365
- onTextBoxValueChange: V
1366
- };
1367
- }
1368
- function Pt(e, t, o) {
1369
- const l = a(), n = a(!1);
1370
- function s() {
1371
- const d = l.value;
1372
- d && d.show(o.value);
1373
- }
1374
- async function u() {
1375
- !!t.slots.default && (n.value = !n.value, await K(), s());
1376
- }
1377
- async function r() {
1378
- !!t.slots.default && (n.value = !0, await K(), s());
1379
- }
1380
- function y() {
1381
- n.value = !1;
1382
- }
1383
- return { hidePopup: y, popup: r, shouldPopupContent: n, togglePopup: u, popoverRef: l };
1384
- }
1385
- function Mt(e, t, o) {
1386
- const {
1387
- isTextBoxReadonly: l,
1388
- textBoxClass: n,
1389
- textBoxPlaceholder: s,
1390
- textBoxTitle: u,
1391
- onBlurTextBox: r,
1392
- onClickTextBox: y,
1393
- onFocusTextBox: d,
1394
- onInput: f,
1395
- onKeyDownTextBox: i,
1396
- onKeyUpTextBox: c,
1397
- onMouseDownTextBox: m,
1398
- onTextBoxValueChange: p
1399
- } = o;
1400
- return () => v("input", {
1401
- name: "input-group-value",
1402
- autocomplete: e.autoComplete ? "on" : "off",
1403
- class: n.value,
1404
- disabled: e.disable,
1405
- maxlength: e.maxLength,
1406
- minlength: e.minLength,
1407
- placeholder: s.value,
1408
- readonly: l.value,
1409
- tabindex: e.tabIndex,
1410
- title: u.value,
1411
- type: e.inputType,
1412
- value: t.value,
1413
- onBlur: r,
1414
- onChange: p,
1415
- onClick: y,
1416
- onFocus: d,
1417
- onInput: f,
1418
- onKeydown: i,
1419
- onKeyup: c,
1420
- onMousedown: m
1421
- }, null);
1422
- }
1423
- const Ft = {
1424
- activeTag: { Type: String, default: "" },
1425
- addButtonText: { Type: String, default: "" },
1426
- customClass: { Type: String, default: "" },
1427
- customStyle: { Type: String, default: "" },
1428
- data: { type: Array, default: [] },
1429
- enableAddButton: { Type: Boolean, default: !1 },
1430
- placeholder: { Type: String, default: "" },
1431
- selectable: { Type: Boolean, default: !1 },
1432
- showAddButton: { Type: Boolean, default: !1 },
1433
- showClose: { Type: Boolean, default: !1 },
1434
- showColor: { Type: Boolean, default: !1 },
1435
- showInput: { Type: Boolean, default: !1 },
1436
- tagType: { Type: String, default: "" },
1437
- tagStyle: { Type: String, default: "" },
1438
- wrapText: { Type: Boolean, default: !1 },
1439
- draggable: { Type: Boolean, default: !1 }
1440
- };
1441
- function Ot(e, t, o, l) {
1442
- const n = a(-1), s = a(!1);
1443
- function u(f, i, c) {
1444
- f.stopPropagation(), i && setTimeout(() => {
1445
- n.value = c, s.value = !0, i.moving = !0;
1446
- });
1447
- }
1448
- function r(f, i) {
1449
- if (f.preventDefault(), n.value !== i) {
1450
- const c = l.value[n.value], m = l.value;
1451
- m.splice(n.value, 1), m.splice(i, 0, c), n.value = i;
1452
- }
1453
- }
1454
- function y(f, i) {
1455
- f.preventDefault(), f.dataTransfer && (f.dataTransfer.dropEffect = "move");
1456
- }
1457
- function d(f, i) {
1458
- i && (i.moving = !1), o.value = l.value.filter((c) => c.type === "Tag").map((c) => c.payload), s.value = !1, t.emit("change", o.value);
1459
- }
1460
- return {
1461
- dragstart: u,
1462
- dragenter: r,
1463
- dragover: y,
1464
- dragend: d,
1465
- isDragging: s
1466
- };
1467
- }
1468
- const Lt = /* @__PURE__ */ G({
1469
- name: "FTags",
1470
- props: Ft,
1471
- emits: ["remove", "selectionChange", "change"],
1472
- setup(e, t) {
1473
- const o = a(e.selectable), l = a(e.customClass), n = a(e.data), s = a(e.tagType), u = a(e.tagStyle), r = a(e.showColor), y = a(e.activeTag), d = a(e.customStyle), f = a(e.showClose), i = a(e.showAddButton), c = a(e.showInput), m = a(e.addButtonText), p = a(e.enableAddButton);
1474
- a(e.placeholder), a(""), a();
1475
- const b = a(), M = a(e.wrapText), P = a();
1476
- function S() {
1477
- const g = n.value.map((w) => ({
1478
- type: "Tag",
1479
- payload: w
1480
- }));
1481
- return i.value && g.push({
1482
- type: "AddButton"
1483
- }), g;
1484
- }
1485
- const h = a(S());
1486
- function T(g) {
1487
- n.value = g, h.value = S();
1488
- }
1489
- const k = B(() => h.value.findIndex((g) => g.type === "Input")), x = Ot(e, t, n, h), {
1490
- dragstart: E,
1491
- dragenter: V,
1492
- dragover: C,
1493
- dragend: j
1494
- } = x;
1495
- W(() => e.data, (g) => T(g));
1496
- const L = B(() => {
1497
- const g = {
1498
- "farris-tags": !0,
1499
- "farris-tags-checkable": o.value,
1500
- "farris-tags-nowrap": !M.value
1501
- };
1502
- return l.value.split(" ").reduce((w, I) => (w[I] = !0, w), g), g;
1503
- });
1504
- function R(g) {
1505
- const w = {
1506
- "farris-tag-item": !0,
1507
- "farris-tag-item-checked": o.value && g.checked,
1508
- "farris-tag-item-checkable": o.value,
1509
- "farris-tag-item-has-color": r.value,
1510
- "farris-tag-item-actived": y.value === g.name
1511
- };
1512
- if (s.value) {
1513
- const I = `farris-tag-item-${s.value}`;
1514
- w[I] = !0;
1515
- }
1516
- return w;
1517
- }
1518
- const z = B(() => {
1519
- const g = {};
1520
- return d.value && d.value.split(";").reduce((w, I) => {
1521
- const H = I.split(":");
1522
- return w[H[0]] = H[1], w;
1523
- }, g), g;
1524
- });
1525
- function D(g, w) {
1526
- o.value && w.selectable && (w.checked = !w.checked, y.value = w.checked ? w.name : "", w.checked && n.value.filter((I) => I.name !== w.name).forEach((I) => {
1527
- I.checked = !w.checked;
1528
- }), t.emit("change", n.value), t.emit("selectionChange", w));
1529
- }
1530
- function O(g, w) {
1531
- let I;
1532
- switch (g.key) {
1533
- case "Backspace":
1534
- n.value = n.value.filter((H) => H.name !== w.name), t.emit("change", n.value);
1535
- break;
1536
- case "ArrowLeft":
1537
- I = Math.max(b.value.scrollLeft + 20, 0), b.value.scrollLeft = I;
1538
- break;
1539
- case "ArrowRight":
1540
- I = Math.max(b.value.scrollLeft - 20, 0), b.value.scrollLeft = I;
1541
- }
1542
- }
1543
- function F(g, w) {
1544
- const I = n.value.findIndex((H) => H.name === w.name);
1545
- if (I > -1) {
1546
- const [H] = n.value.splice(I, 1);
1547
- h.value = S(), t.emit("change", n.value), t.emit("remove", n.value, H, I);
1548
- }
1549
- g.stopPropagation();
1550
- }
1551
- const A = B(() => ({
1552
- "farris-tag-item": !0,
1553
- "farris-tag-add-button": !0,
1554
- "farris-tag-add-button-disabled": !p.value
1555
- }));
1556
- function $(g) {
1557
- }
1558
- function _() {
1559
- return v("li", {
1560
- class: A.value,
1561
- onClick: (g) => void 0
1562
- }, [v("span", {
1563
- class: "f-icon f-icon-amplification"
1564
- }, null), v("span", {
1565
- class: "farris-tag-add-text"
1566
- }, [m.value])]);
1567
- }
1568
- function N(g) {
1569
- if (g && !g.innerText) {
1570
- const w = k.value;
1571
- if (w > 0) {
1572
- const [I] = n.value.splice(w - 1, 1);
1573
- h.value.splice(w - 1, 1), t.emit("remove", n.value, I, w - 1);
1574
- }
1575
- }
1576
- }
1577
- function U(g, w, I) {
1578
- g > -1 && (n.value.splice(g, 0, {
1579
- name: w,
1580
- value: I,
1581
- selectable: o.value
1582
- }), h.value = S(), t.emit("change", n.value));
1583
- }
1584
- function J(g) {
1585
- if (g && g.innerText) {
1586
- const w = g.innerText, I = k.value;
1587
- U(I, w, w), g.innerText = "";
1588
- }
1589
- }
1590
- function Y(g) {
1591
- const w = g.target;
1592
- w && (w.innerText ? J(w) : t.emit("change", n.value));
1593
- }
1594
- function be(g) {
1595
- g.key === "Enter" && J(g.target), g.key === "Backspace" && (N(g.target), K(() => {
1596
- P.value && P.value.focus();
1597
- }));
1598
- }
1599
- function Ce() {
1600
- return v("li", {
1601
- class: "farris-tag-input-box"
1602
- }, [v("div", {
1603
- ref: P,
1604
- class: "form-control",
1605
- contenteditable: "true",
1606
- onKeyup: be,
1607
- onBlur: Y
1608
- }, null)]);
1609
- }
1610
- function we(g, w) {
1611
- return v("li", {
1612
- class: R(g),
1613
- style: z.value,
1614
- tabindex: 0,
1615
- id: g.name,
1616
- key: g.name,
1617
- onClick: (I) => D(I, g),
1618
- onKeydown: (I) => O(I, g),
1619
- draggable: "true",
1620
- onDragstart: (I) => E(I, g, w),
1621
- onDragenter: (I) => V(I, w),
1622
- onDragend: (I) => j(I, g),
1623
- onDragover: (I) => C(I, w)
1624
- }, [v("div", {
1625
- title: g.name,
1626
- class: "tag-box"
1627
- }, [g.name]), f.value && v("span", {
1628
- class: "tag-delete"
1629
- }, [v("i", {
1630
- class: "f-icon f-icon-close",
1631
- onClick: (I) => F(I, g)
1632
- }, null)])]);
1633
- }
1634
- function Se() {
1635
- return h.value.map((g, w) => {
1636
- switch (g.type) {
1637
- case "Tag":
1638
- return we(g.payload, w);
1639
- case "AddButton":
1640
- return _();
1641
- case "Input":
1642
- return Ce();
1643
- }
1644
- });
1645
- }
1646
- const Te = B(() => ({
1647
- "farris-tags-item-container": !0,
1648
- "farris-tag-item-capsule": u.value === "capsule"
1649
- }));
1650
- function Ie(g) {
1651
- const w = Math.max(b.value.scrollLeft - g.deltaX, 0);
1652
- b.value.scrollLeft = w;
1653
- }
1654
- function Be(g) {
1655
- const w = b.value, I = n.value.length - 1;
1656
- if (w) {
1657
- const H = Array.from(w.children).filter((X) => X.className.indexOf("farris-tag-item") > -1).findIndex((X) => {
1658
- const q = X.getBoundingClientRect(), Z = window.getComputedStyle(X), ue = parseInt(Z["margin-left"], 10) + q.width + parseInt(Z["margin-right"], 10);
1659
- return q.left + ue > g;
1660
- });
1661
- if (H > -1)
1662
- return H;
1663
- }
1664
- return I;
1665
- }
1666
- function ke(g) {
1667
- if (c.value) {
1668
- const I = Be(g.clientX) + 1, X = h.value.filter((q) => q.type !== "Input");
1669
- X.splice(I, 0, {
1670
- type: "Input"
1671
- }), h.value = X, K(() => {
1672
- P.value && P.value.focus();
1673
- });
1674
- }
1675
- }
1676
- function xe(g) {
1677
- var I;
1678
- g.preventDefault(), g.stopPropagation();
1679
- const w = (I = g.dataTransfer) == null ? void 0 : I.getData("Text");
1680
- if (w) {
1681
- const H = w.split(":"), X = H[0], q = H[1];
1682
- [...n.value].findIndex((ee) => (console.log(`${ee.value} === ${q} is ${ee.value === q}`), ee.value === q)) > -1 || U(n.value.length, X, q);
1683
- }
1684
- }
1685
- function Pe(g) {
1686
- g.preventDefault();
1687
- }
1688
- return () => v("div", {
1689
- class: L.value,
1690
- onClick: ke,
1691
- onDrop: xe,
1692
- onDragover: Pe
1693
- }, [v("ul", {
1694
- ref: b,
1695
- class: Te.value,
1696
- onWheel: (g) => Ie(g)
1697
- }, [Se()])]);
1698
- }
1699
- });
1700
- function Vt(e, t, o) {
1701
- const l = a(e.separator), {
1702
- changeTextBoxValue: n
1703
- } = o, s = B(() => t.value ? t.value.split(l.value).map((r) => ({
1704
- name: r,
1705
- selectable: !0
1706
- })) : []);
1707
- function u(r) {
1708
- n(r.map((y) => y.name).join(l.value), !0);
1709
- }
1710
- return () => v(Lt, {
1711
- class: "form-control",
1712
- data: s.value,
1713
- showClose: !0,
1714
- showInput: !0,
1715
- onChange: u
1716
- }, null);
1717
- }
1718
- function Dt(e, t, o) {
1719
- const {
1720
- buttonClass: l,
1721
- onClickButton: n,
1722
- onMouseEnterButton: s,
1723
- onMouseLeaveButton: u
1724
- } = t, {
1725
- enableClearButton: r,
1726
- showClearButton: y,
1727
- onClearValue: d
1728
- } = o;
1729
- return () => v("div", {
1730
- class: l.value
1731
- }, [r.value && Q(v("span", {
1732
- class: "input-group-text input-group-clear",
1733
- onClick: d
1734
- }, [v("i", {
1735
- class: "f-icon modal_close"
1736
- }, null)]), [[ve, y.value]]), e.buttonContent && v("span", {
1737
- class: "input-group-text input-group-append-button",
1738
- innerHTML: e.buttonContent,
1739
- onClick: n,
1740
- onMouseenter: s,
1741
- onMouseleave: u
1742
- }, null)]);
1743
- }
1744
- const jt = {
1745
- title: { type: String },
1746
- placement: { type: String, default: "bottom" },
1747
- reference: {
1748
- type: Object
1749
- },
1750
- host: {
1751
- type: Object
1752
- },
1753
- leftBoundary: {
1754
- type: Object
1755
- },
1756
- rightBoundary: {
1757
- type: Object
1758
- },
1759
- visible: { type: Boolean, default: !1 },
1760
- class: { type: String },
1761
- offsetX: { type: Object, default: a(0) },
1762
- zIndex: { type: Number, default: -1 },
1763
- keepWidthWithReference: { type: Boolean, default: !1 },
1764
- fitContent: { type: Boolean, default: !1 },
1765
- minWidth: { type: Number, default: -1 }
1766
- };
1767
- function Rt(e) {
1768
- const t = e.host ? e.host : "body", o = B(() => t === "body" ? 0 : t ? t.getBoundingClientRect().top : 0), l = B(() => t === "body" ? 0 : t ? t.getBoundingClientRect().left : 0), n = B(() => t === "body" ? document.body.getBoundingClientRect().width : t ? t.getBoundingClientRect().width - (e.rightBoundary ? e.rightBoundary.getBoundingClientRect().width : 0) : document.body.getBoundingClientRect().width);
1769
- return { host: t, hostLeft: l, hostTop: o, hostWidth: n };
1770
- }
1771
- function At(e, t, o, l) {
1772
- var D;
1773
- const n = a(0), s = a(((D = e.offsetX) == null ? void 0 : D.value) || 0), u = a(-1), r = a(-1), y = a(-1), d = a(e.placement), f = a(0), i = a(0), c = a(0), m = a(document.documentElement.scrollLeft), p = a(document.documentElement.scrollTop), { hostLeft: b, hostTop: M, hostWidth: P } = l;
1774
- W(e.offsetX, (O) => {
1775
- n.value = O - s.value;
1776
- });
1777
- const S = B(() => {
1778
- const O = {
1779
- left: `${i.value}px`,
1780
- top: `${c.value}px`,
1781
- transform: `translateX(${n.value}px)`
1782
- };
1783
- return e.zIndex !== -1 && (O["z-index"] = e.zIndex), u.value !== -1 && (O.width = `${u.value}px`), O;
1784
- }), h = B(() => ({
1785
- left: `${f.value}px`
1786
- }));
1787
- function T(O) {
1788
- if (O && e.keepWidthWithReference) {
1789
- const F = O.getBoundingClientRect();
1790
- u.value = Math.max(e.minWidth, F.width);
1791
- }
1792
- }
1793
- function k(O, F) {
1794
- const A = P.value - O.width - 4;
1795
- return A > 0 ? A : F;
1796
- }
1797
- function x(O, F, A) {
1798
- const $ = f.value, _ = F.left - b.value + F.width / 2 + m.value, N = F.top - M.value - (O.height + A.height) + p.value;
1799
- return { popoverLeft: _, popoverTop: N, arrowLeft: $ };
1800
- }
1801
- function E(O, F, A) {
1802
- return F.top - M.value + (F.height + A.height) + p.value;
1803
- }
1804
- function V(O, F) {
1805
- const A = k(F, O), $ = O <= A ? f.value : O - A;
1806
- return { popoverLeft: Math.min(O, A), arrowLeft: $ };
1807
- }
1808
- function C(O, F, A) {
1809
- const $ = F.left - b.value + F.width / 2 - (A.width / 2 - (O.left - b.value)) + m.value, { arrowLeft: _, popoverLeft: N } = V($, O), U = E(O, F, A);
1810
- return { popoverLeft: N, popoverTop: U, arrowLeft: _ };
1811
- }
1812
- function j(O, F, A) {
1813
- const $ = F.left - b.value + m.value, { arrowLeft: _, popoverLeft: N } = V($, O), U = E(O, F, A);
1814
- return { popoverLeft: N, popoverTop: U, arrowLeft: _ };
1815
- }
1816
- const L = /* @__PURE__ */ new Map([
1817
- ["top", x],
1818
- ["bottom", C],
1819
- ["bottom-left", j]
1820
- ]);
1821
- function R(O) {
1822
- var N;
1823
- const F = O.getBoundingClientRect();
1824
- r.value = F.top, y.value = F.left;
1825
- const A = t.value.getBoundingClientRect(), $ = (N = o.value) == null ? void 0 : N.getBoundingClientRect(), _ = L.get(d.value);
1826
- if (_) {
1827
- const { arrowLeft: U, popoverLeft: J, popoverTop: Y } = _($, F, A);
1828
- f.value = U, i.value = J, c.value = Y;
1829
- }
1830
- e.keepWidthWithReference && T(O);
1831
- }
1832
- function z(O) {
1833
- if (O) {
1834
- const F = O.getBoundingClientRect();
1835
- (F.left !== y.value || F.top !== r.value) && R(O);
1836
- }
1837
- }
1838
- return {
1839
- arrowStyle: h,
1840
- popoverStyle: S,
1841
- position: d,
1842
- popoverWidth: u,
1843
- fitToReference: T,
1844
- followToReferencePosition: z,
1845
- locateToReference: R
1846
- };
1847
- }
1848
- function Et(e, t, o, l, n, s, u) {
1849
- const r = a(e.visible), y = B(() => r.value), { fitToReference: d, locateToReference: f } = u;
1850
- let i;
1851
- function c() {
1852
- r.value = !1, document.body.removeEventListener("click", i), t.emit("hidden");
1853
- }
1854
- i = (p) => {
1855
- if (!n.value.contains(p.target)) {
1856
- const b = n.value.closest(".popover");
1857
- b && b.removeEventListener("click", i), c();
1858
- }
1859
- };
1860
- async function m(p) {
1861
- if (l.value && o.value && p) {
1862
- r.value = !0, n.value = p, await K(), f(p), s.value && d(p), document.body.addEventListener("click", i);
1863
- const b = p.closest(".popover");
1864
- b && b.addEventListener("click", i), t.emit("shown");
1865
- }
1866
- }
1867
- return t.expose({ hide: c, show: m, shown: y }), { showPopover: r, hidePopverOnClickBodyHandler: i };
1868
- }
1869
- function Ht(e, t, o, l, n) {
1870
- const { popoverWidth: s, fitToReference: u, followToReferencePosition: r } = n;
1871
- function y() {
1872
- if (o.value) {
1873
- r(o.value);
1874
- const d = o.value.getBoundingClientRect();
1875
- l.value && d.width !== s.value && u(o.value);
1876
- }
1877
- }
1878
- return { onResize: y };
1879
- }
1880
- const Wt = /* @__PURE__ */ G({
1881
- name: "FPopover",
1882
- props: jt,
1883
- emits: ["shown", "hidden"],
1884
- setup(e, t) {
1885
- const o = a(), l = a(), n = a(e.reference), s = a(e.keepWidthWithReference), u = B(() => !!e.title), r = Rt(e), {
1886
- host: y
1887
- } = r, d = At(e, o, l, r), {
1888
- position: f,
1889
- arrowStyle: i,
1890
- popoverStyle: c,
1891
- fitToReference: m,
1892
- locateToReference: p
1893
- } = d, {
1894
- showPopover: b,
1895
- hidePopverOnClickBodyHandler: M
1896
- } = Et(e, t, o, l, n, s, d), {
1897
- onResize: P
1898
- } = Ht(e, t, n, s, d), S = B(() => {
1899
- const T = `popover in popover-${f.value}`, k = `bs-popover-${f.value}`, x = {
1900
- "popover-fitcontent": e.fitContent
1901
- };
1902
- return x[T] = !0, x[k] = !0, (e.class || "").split(" ").reduce((V, C) => (V[C] = !0, V), x), x;
1903
- }), h = B(() => ({
1904
- "popover-content": !0,
1905
- "popover-body": !0
1906
- }));
1907
- return ne(() => {
1908
- e.reference && p(n.value), s.value && m(n.value), window.addEventListener("resize", P);
1909
- }), fe(() => {
1910
- document.body.removeEventListener("click", M), window.removeEventListener("resize", P);
1911
- }), () => v(de, {
1912
- to: y
1913
- }, {
1914
- default: () => {
1915
- var T;
1916
- return [Q(v("div", {
1917
- ref: l,
1918
- class: S.value,
1919
- style: c.value,
1920
- onClick: (k) => {
1921
- k.stopPropagation();
1922
- }
1923
- }, [v("div", {
1924
- ref: o,
1925
- class: "popover-arrow arrow",
1926
- style: i.value
1927
- }, null), u.value && v("h3", {
1928
- class: "popover-title popover-header"
1929
- }, [e.title]), v("div", {
1930
- class: h.value
1931
- }, [t.slots.default && ((T = t.slots) == null ? void 0 : T.default())])]), [[ve, b.value]])];
1932
- }
1933
- });
1934
- }
1935
- });
1936
- function _t(e, t, o) {
1937
- const l = a(e.popupMinWidth), {
1938
- hidePopup: n,
1939
- popoverRef: s
1940
- } = o;
1941
- return () => v(Wt, {
1942
- ref: s,
1943
- visible: !0,
1944
- placement: "bottom-left",
1945
- host: e.popupHost,
1946
- "keep-width-with-reference": !0,
1947
- fitContent: !0,
1948
- "right-boundary": e.popupRightBoundary,
1949
- minWidth: l.value,
1950
- offsetX: e.popupOffsetX,
1951
- onHidden: n
1952
- }, {
1953
- default: () => {
1954
- var u, r;
1955
- return [(r = (u = t.slots).default) == null ? void 0 : r.call(u)];
1956
- }
1957
- });
1958
- }
1959
- const ye = /* @__PURE__ */ G({
1960
- name: "FButtonEdit",
1961
- props: he,
1962
- emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
1963
- setup(e, t) {
1964
- const o = a(), l = a(e.customClass), n = a(e.modelValue), s = Pt(e, t, o), {
1965
- shouldPopupContent: u,
1966
- hidePopup: r
1967
- } = s, y = Bt(e, t, o, s), d = a(""), f = xt(e, t, n, d, s), {
1968
- hasFocusedTextBox: i,
1969
- commitValue: c,
1970
- inputGroupClass: m
1971
- } = f, p = kt(e, t, n, i, d, f), {
1972
- onMouseEnterTextBox: b,
1973
- onMouseLeaveTextBox: M
1974
- } = p, P = B(() => {
1975
- const E = {
1976
- "f-button-edit": !0,
1977
- "f-cmp-inputgroup": !0,
1978
- "f-button-edit-nowrap": !e.wrapText
1979
- };
1980
- return l.value && l.value.split(" ").reduce((V, C) => (V[C] = !0, V), E), E;
1981
- });
1982
- function S() {
1983
- return e.multiSelect && e.inputType === "tag" ? Vt(e, n, f) : Mt(e, n, f);
1984
- }
1985
- let h = S();
1986
- W([() => e.multiSelect, () => e.inputType], () => {
1987
- h = S();
1988
- });
1989
- const T = Dt(e, y, p), k = _t(e, t, s), x = {
1990
- commitValue: c,
1991
- elementRef: o,
1992
- hidePopup: r
1993
- };
1994
- return ne(() => {
1995
- o.value.componentInstance = x;
1996
- }), t.expose(x), () => v(re, null, [v("div", Ve(t.attrs, {
1997
- ref: o,
1998
- class: P.value,
1999
- id: e.id
2000
- }), [v("div", {
2001
- class: m.value,
2002
- onMouseenter: b,
2003
- onMouseleave: M
2004
- }, [h(), T()])]), u.value && k()]);
2005
- }
2006
- });
2007
- function $t(e) {
2008
- const t = a(""), o = a(e.modelValue), l = a(e.data || []), n = a(e.editable);
2009
- function s(i) {
2010
- const c = i.split(e.separator).map((p) => [p, !0]), m = new Map(c);
2011
- return l.value.filter((p) => m.has(p[e.valueField]));
2012
- }
2013
- function u(i) {
2014
- const c = s(i).map((m) => m[e.textField]).join(e.separator);
2015
- t.value = n.value ? c || i : c;
2016
- }
2017
- function r(i) {
2018
- const c = i.split(e.separator).map((p) => [p, !0]), m = new Map(c);
2019
- return l.value.filter((p) => m.has(p[e.textField]));
2020
- }
2021
- function y(i) {
2022
- const c = {};
2023
- return c[e.idField] = i, c[e.textField] = i, [c];
2024
- }
2025
- function d(i) {
2026
- let c = r(i);
2027
- const m = c && c.length > 0;
2028
- return n.value && !m && (c = y(i)), c;
2029
- }
2030
- function f() {
2031
- const { url: i, method: c = "GET", headers: m = {}, body: p = null } = e.remote;
2032
- fetch(i, { method: c, headers: m, body: p }).then((M) => {
2033
- if (M.status === 200)
2034
- return M.json();
2035
- throw new Error(M.statusText);
2036
- }).then((M) => {
2037
- l.value = M;
2038
- }).catch((M) => {
2039
- console.error(M);
2040
- });
2041
- }
2042
- return e.remote && f(), W(() => e.data, () => {
2043
- l.value = e.data;
2044
- }), W([l], ([i]) => {
2045
- if (e.modelValue) {
2046
- const c = i.find((m) => m[e.valueField] === e.modelValue);
2047
- c && (t.value = c[e.textField]);
2048
- }
2049
- }), W(() => e.modelValue, (i) => {
2050
- o.value = i, u(i);
2051
- }), u(e.modelValue), { dataSource: l, displayText: t, editable: n, modelValue: o, getItemsByDisplayText: r, getItemsByValue: s, getSelectedItemsByDisplayText: d };
2052
- }
2053
- const te = /* @__PURE__ */ G({
2054
- name: "FComboList",
2055
- props: ae,
2056
- emits: ["clear", "update:modelValue", "change"],
2057
- setup(e, t) {
2058
- const o = a(), l = a(e.disabled), n = a(e.enableClear), s = a(e.enableSearch), u = a(e.readonly), {
2059
- dataSource: r,
2060
- displayText: y,
2061
- editable: d,
2062
- modelValue: f,
2063
- getSelectedItemsByDisplayText: i
2064
- } = $t(e), c = B(() => e.multiSelect);
2065
- function m() {
2066
- !c.value && o.value && o.value.hidePopup();
2067
- }
2068
- function p(S) {
2069
- y.value = S.map((h) => h[e.textField]).join(e.separator), f.value = S.map((h) => h[e.valueField]).join(e.separator), t.emit("update:modelValue", f.value), t.emit("change", S), m();
2070
- }
2071
- function b(S) {
2072
- f.value = "", t.emit("update:modelValue", ""), t.emit("clear");
2073
- }
2074
- function M(S) {
2075
- const h = i(S);
2076
- p(h);
2077
- }
2078
- function P() {
2079
- return y.value;
2080
- }
2081
- return t.expose({
2082
- getDisplayText: P
2083
- }), W([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([S, h, T, k, x]) => {
2084
- l.value = S, d.value = h, n.value = T, s.value = k, u.value = x;
2085
- }), () => v(ye, {
2086
- ref: o,
2087
- id: e.id,
2088
- disable: l.value,
2089
- readonly: u.value,
2090
- forcePlaceholder: e.forcePlaceholder,
2091
- editable: d.value,
2092
- buttonContent: e.dropDownIcon,
2093
- placeholder: e.placeholder,
2094
- enableClear: n.value,
2095
- maxLength: e.maxLength,
2096
- tabIndex: e.tabIndex,
2097
- enableTitle: e.enableTitle,
2098
- multiSelect: e.multiSelect,
2099
- inputType: e.multiSelect ? "tag" : "text",
2100
- modelValue: y.value,
2101
- "onUpdate:modelValue": (S) => y.value = S,
2102
- onClear: b,
2103
- onChange: M
2104
- }, {
2105
- default: () => [v(rt, {
2106
- idField: e.idField,
2107
- valueField: e.valueField,
2108
- textField: e.textField,
2109
- dataSource: r.value,
2110
- selectedValues: f.value,
2111
- multiSelect: e.multiSelect,
2112
- enableSearch: s.value,
2113
- height: e.maxHeight,
2114
- onSelectionChange: p
2115
- }, null)]
2116
- });
2117
- }
2118
- });
2119
- function Nt(e, t, o) {
2120
- var S;
2121
- const l = o == null ? void 0 : o.checkIsInFixedContextRules(), n = o && o.getStyles && o.getStyles() || "";
2122
- function s() {
2123
- return !(t.schema.componentType || l);
2124
- }
2125
- function u() {
2126
- return !1;
2127
- }
2128
- function r() {
2129
- return !(t.schema.componentType || l);
2130
- }
2131
- function y() {
2132
- return !!l;
2133
- }
2134
- function d(h) {
2135
- if (!h)
2136
- return null;
2137
- if (h.schema.type === "Component")
2138
- return h;
2139
- const T = d(h.parent);
2140
- return T || null;
2141
- }
2142
- function f(h, T, k) {
2143
- return !!o && o.canAccepts();
2144
- }
2145
- function i() {
2146
- return t.schema.label || t.schema.title || t.schema.name;
2147
- }
2148
- function c() {
2149
- }
2150
- function m(h, T) {
2151
- T && (o == null || o.onAcceptMovedChildElement(T));
2152
- }
2153
- function p(h, T) {
2154
- const k = String(h.getAttribute("data-controltype"));
2155
- return je(k);
2156
- }
2157
- function b(h) {
2158
- return h.contents ? h.contents.length : -1;
2159
- }
2160
- function M(h) {
2161
- }
2162
- const P = {
2163
- canMove: s(),
2164
- canSelectParent: u(),
2165
- canDelete: r(),
2166
- canNested: !y(),
2167
- contents: t.schema.contents,
2168
- elementRef: e,
2169
- parent: (S = t.parent) == null ? void 0 : S.componentInstance.value,
2170
- schema: t.schema,
2171
- styles: n,
2172
- canAccepts: f,
2173
- getBelongedComponentInstance: d,
2174
- getDraggingDisplayText: i,
2175
- getDragScopeElement: c,
2176
- onAcceptMovedChildElement: m,
2177
- onAcceptNewChildElement: p,
2178
- onAddNewChildElement: b,
2179
- onChildElementMovedOut: M,
2180
- triggerBelongedComponentToMoveWhenMoved: !!o && o.triggerBelongedComponentToMoveWhenMoved
2181
- };
2182
- return a(P);
2183
- }
2184
- const zt = /* @__PURE__ */ G({
2185
- name: "FComboListDesign",
2186
- props: ae,
2187
- emits: ["clear", "update:modelValue", "change"],
2188
- setup(e, t) {
2189
- const o = a(), l = De("design-item-context"), n = Nt(o, l);
2190
- return ne(() => {
2191
- o.value.componentInstance = n;
2192
- }), t.expose(n.value), () => v(ye, {
2193
- ref: o,
2194
- id: e.id,
2195
- disable: e.disabled,
2196
- readonly: e.readonly,
2197
- forcePlaceholder: e.forcePlaceholder,
2198
- editable: e.editable,
2199
- buttonContent: e.dropDownIcon,
2200
- placeholder: e.placeholder,
2201
- enableClear: e.enableClear,
2202
- maxLength: e.maxLength,
2203
- tabIndex: e.tabIndex,
2204
- enableTitle: e.enableTitle,
2205
- multiSelect: e.multiSelect,
2206
- inputType: e.multiSelect ? "tag" : "text"
2207
- }, null);
2208
- }
2209
- }), qt = {
2210
- install(e) {
2211
- e.component(te.name, te);
2212
- },
2213
- register(e, t) {
2214
- e["combo-list"] = te, t["combo-list"] = ie;
2215
- },
2216
- registerDesigner(e, t) {
2217
- e["combo-list"] = zt, t["combo-list"] = ie;
2218
- }
2219
- };
2220
- export {
2221
- te as FComboList,
2222
- Ke as Placement,
2223
- Ue as ViewType,
2224
- ae as comboListProps,
2225
- qt as default,
2226
- ie as propsResolver
2227
- };