@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,2558 +0,0 @@
1
- import { defineComponent as ee, ref as l, computed as x, watch as G, createVNode as b, Fragment as Ve, createTextVNode as Te, mergeProps as ue, Teleport as qe, createApp as Pt, onUnmounted as ze, nextTick as se, withDirectives as He, vShow as Ke, onMounted as De, inject as wt } from "vue";
2
- const ce = ["Sun.", "Mon.", "Tue.", "Wed.", "Thur", "Fri.", "Sat."];
3
- var X = /* @__PURE__ */ ((e) => (e[e.previous = 1] = "previous", e[e.current = 2] = "current", e[e.next = 3] = "next", e))(X || {});
4
- const Bt = {
5
- dates: { Type: Array, default: [] },
6
- daysInWeek: { Type: Array, default: ce },
7
- enableKeyboadNavigate: { Type: Boolean, default: !0 },
8
- enableMarkCurrent: { Type: Boolean, default: !0 },
9
- enablePeriod: { Type: Boolean, default: !1 },
10
- firstDayOfTheWeek: { Type: Boolean, default: "Sun." },
11
- selected: { Type: Object, default: null },
12
- selectedPeriod: { Type: Object, default: null },
13
- selectedWeek: { Type: Object, default: null },
14
- selectMode: { Type: String, default: "day" },
15
- showWeekNumber: { Type: Boolean, default: !1 },
16
- weekTitle: { Type: String, default: "Week" }
17
- };
18
- var te = /* @__PURE__ */ ((e) => (e[e.enter = 13] = "enter", e[e.esc = 27] = "esc", e[e.space = 32] = "space", e[e.leftArrow = 37] = "leftArrow", e[e.upArrow = 38] = "upArrow", e[e.rightArrow = 39] = "rightArrow", e[e.downArrow = 40] = "downArrow", e[e.tab = 9] = "tab", e[e.shift = 16] = "shift", e))(te || {});
19
- function Oe() {
20
- function e(t) {
21
- const a = t.key || t.keyCode;
22
- return a === "Enter" || a === 13 ? 13 : a === "Escape" || a === 27 ? 27 : a === " " || a === 32 ? 32 : a === "ArrowLeft" || a === 37 ? 37 : a === "ArrowUp" || a === 38 ? 38 : a === "ArrowRight" || a === 39 ? 39 : a === "ArrowDown" || a === 40 ? 40 : a === "Tab" || a === 9 ? 9 : a === "Shift" || a === 16 ? 16 : -1;
23
- }
24
- return { getKeyCodeFromEvent: e };
25
- }
26
- function ae() {
27
- function e() {
28
- return { year: 0, month: 0, day: 0 };
29
- }
30
- function t(o) {
31
- return new Date(
32
- o.year || 0,
33
- o.month ? o.month - 1 : 0,
34
- o.day || 0,
35
- o.hour ? o.hour : 0,
36
- o.minute ? o.minute : 0,
37
- o.second ? o.second : 0,
38
- 0
39
- );
40
- }
41
- function a(o) {
42
- const v = /* @__PURE__ */ new Date();
43
- return o.year || (o.year = v.getFullYear()), o.month || (o.month = v.getMonth() + 1), o.day || (o.day = 1), new Date(
44
- o.year,
45
- o.month - 1,
46
- o.day,
47
- o.hour ? o.hour : 0,
48
- o.minute ? o.minute : 0,
49
- o.second ? o.second : 0,
50
- 0
51
- );
52
- }
53
- function i(o) {
54
- return new Date(
55
- o.year || 1,
56
- (o.month || 1) - 1,
57
- o.day,
58
- o.hour ? o.hour : 0,
59
- o.minute ? o.minute : 0,
60
- o.second ? o.second : 0,
61
- 0
62
- ).getDay();
63
- }
64
- function n(o) {
65
- return ce.indexOf(o);
66
- }
67
- function u(o) {
68
- return t(o).getTime();
69
- }
70
- function p(o) {
71
- return Math.round(u(o) / 1e3);
72
- }
73
- function s(o, v, r) {
74
- const d = u(v), h = u(r), g = u(o);
75
- return h - g > g - d ? v : r;
76
- }
77
- function f() {
78
- const o = /* @__PURE__ */ new Date();
79
- return {
80
- year: o.getFullYear(),
81
- month: o.getMonth() + 1,
82
- day: o.getDate(),
83
- hour: o.getHours(),
84
- minute: o.getMinutes(),
85
- second: o.getSeconds()
86
- };
87
- }
88
- return { emptyDate: e, getDate: t, getDate2: a, getDayNumber: i, getEpocTime: p, getNearDate: s, getWeekdayIndex: n, getTimeInMilliseconds: u, getToday: f };
89
- }
90
- function ie() {
91
- const { getTimeInMilliseconds: e } = ae();
92
- function t(r) {
93
- return r && r.year !== 0 && r.month !== 0 && r.day !== 0;
94
- }
95
- function a(r) {
96
- return r && r.year !== 0 && r.month !== 0;
97
- }
98
- function i(r) {
99
- return r && r.year !== 0;
100
- }
101
- function n(r, d) {
102
- return e(r) < e(d);
103
- }
104
- function u(r, d) {
105
- return e(r) <= e(d);
106
- }
107
- function p(r, d) {
108
- return e(r) === e(d);
109
- }
110
- function s(r, d) {
111
- const h = e(d);
112
- return e(r.from) === h || e(r.to) === h;
113
- }
114
- function f(r, d) {
115
- return !d || !t(d.to) || !t(d.from) ? !1 : u(d.from, r) && u(r, d.to);
116
- }
117
- function o(r, d) {
118
- return t(d) && e(r) >= e(d);
119
- }
120
- function v(r, d) {
121
- return t(d) && e(r) <= e(d);
122
- }
123
- return {
124
- isDateEarlier: n,
125
- equal: p,
126
- inPeriod: f,
127
- isPoint: s,
128
- equalOrEarlier: u,
129
- isInitializedDate: t,
130
- isInitializedMonth: a,
131
- isInitializedYear: i,
132
- isMonthDisabledByDisableSince: o,
133
- isMonthDisabledByDisableUntil: v
134
- };
135
- }
136
- const Me = /* @__PURE__ */ ee({
137
- name: "FDatePickerCalendarView",
138
- props: Bt,
139
- emits: ["click", "clickWeek", "keyDown", "mouseEnter", "mouseLeave"],
140
- setup(e, t) {
141
- const a = l(e.dates), i = l(e.daysInWeek), n = l(e.enableKeyboadNavigate), u = l(e.enableMarkCurrent), p = l(e.enablePeriod), s = l(e.firstDayOfTheWeek), f = l(e.selected), o = l(e.selectedPeriod), v = l(e.selectedWeek), r = l(e.selectMode), d = l(e.showWeekNumber), h = l(e.weekTitle), g = x(() => d.value && s.value === "Mon");
142
- G(() => e.dates, () => {
143
- a.value = e.dates;
144
- }), G(() => e.selected, () => {
145
- f.value = e.selected;
146
- });
147
- const {
148
- equal: C,
149
- inPeriod: N,
150
- isInitializedDate: P,
151
- equalOrEarlier: E,
152
- isPoint: O
153
- } = ie(), {
154
- getKeyCodeFromEvent: w
155
- } = Oe(), M = (c) => {
156
- const S = !!v.value && c.numberInTheYear === v.value.numberInTheYear && c.year === v.value.year;
157
- return {
158
- "f-datepicker-selectWeek": r.value === "week",
159
- "f-datepicker-selectedWeek": r.value === "week" && S
160
- };
161
- }, k = x(() => d.value && s.value === "Mon");
162
- function D(c) {
163
- return N(c, o.value);
164
- }
165
- function L(c) {
166
- return !!o.value && O(o.value, c);
167
- }
168
- function T(c) {
169
- return !!f.value && C({
170
- year: f.value.year,
171
- month: f.value.month,
172
- day: f.value.day
173
- }, c);
174
- }
175
- const Y = (c, S, B) => {
176
- const $ = r.value !== "week" && c.tag === X.current && (p.value && D(c.date) && !L(c.date) || c.range), V = c.tag === X.previous || c.tag === X.next, U = {
177
- "f-datepicker-range": $,
178
- "f-datepicker-no-currmonth": V,
179
- "f-datepicker-disabled": c.disable,
180
- "f-datepicker-singledate": !c.disable
181
- }, J = `d_${S}_${B}`;
182
- return U[J] = !0, U;
183
- }, z = (c) => {
184
- const S = r.value !== "week" && c.tag === X.current && (!p.value && T(c.date) || p.value && L(c.date)), B = c.isCurrent && u.value, $ = c.highlight && (c.tag === X.previous || c.tag === X.next || c.disable);
185
- return {
186
- "f-datepicker-date": !0,
187
- "f-datepicker-selected": S,
188
- "f-datepicker-current": B,
189
- "f-datepicker-opacity": $,
190
- "f-datepicker-highlight": c.highlight,
191
- "f-datepicker-disabled": c.disable
192
- };
193
- };
194
- function F(c, S) {
195
- S.disable || r.value === "week" || (c.stopPropagation(), t.emit("click", S.date));
196
- }
197
- function H(c, S) {
198
- r.value === "week" && (c.stopPropagation(), t.emit("clickWeek", S));
199
- }
200
- function K(c, S) {
201
- const B = w(c);
202
- B !== te.tab && (c.preventDefault(), B === te.enter || B === te.space ? F(c, S) : n.value && t.emit("keyDown", S.date));
203
- }
204
- function I(c) {
205
- o.value && P(o.value.from) && !P(o.value.to) && (a.value.forEach((S) => {
206
- S.days.forEach((B) => {
207
- B.range = !!o.value && (E(o.value.from, B.date) && E(B.date, c.date) || E(B.date, o.value.from) && E(c.date, B.date));
208
- });
209
- }), t.emit("mouseEnter", c.date));
210
- }
211
- function R() {
212
- a.value.forEach((c) => {
213
- c.days.forEach((S) => {
214
- S.range = !1;
215
- });
216
- }), t.emit("mouseLeave");
217
- }
218
- return () => b(Ve, null, [b("div", {
219
- class: "f-datepicker-table-wrapper"
220
- }, [b("table", {
221
- class: "f-datepicker-table",
222
- cellpadding: "0"
223
- }, [b("thead", null, [b("tr", null, [g.value && b("th", {
224
- class: "f-datepicker-weeknbr-title"
225
- }, [h.value]), i.value && i.value.map((c) => b("th", {
226
- scope: "col",
227
- style: "padding-bottom: 8px;padding-top: 4px"
228
- }, [c]))])]), b("tbody", null, [a.value && a.value.map((c, S) => b("tr", {
229
- class: M(c),
230
- onClick: (B) => H(B, c)
231
- }, [k.value && b("td", {
232
- class: "f-datepicker-weeknbr"
233
- }, [b("div", {
234
- class: "f-datepicker-date"
235
- }, [c.numberInTheYear])]), c.days && c.days.map((B, $) => b("td", {
236
- id: `d_${S}_${$}`,
237
- tabindex: "0",
238
- class: Y(B, S, $),
239
- onClick: (V) => F(V, B),
240
- onKeydown: (V) => K(V, B),
241
- onMouseenter: () => I(B),
242
- onMouseleave: () => R()
243
- }, [B.marked && B.marked.marked && b("span", {
244
- class: "f-datepicker-markdate",
245
- style: {
246
- "background-color": B.marked.color
247
- }
248
- }, null), b("div", {
249
- class: z(B)
250
- }, [B.date.day])]))]))])])])]);
251
- }
252
- }), xt = {
253
- activeMonth: { type: Object, require: !0 },
254
- ariaLabelPrevMonth: { type: String, default: "" },
255
- ariaLabelNextMonth: { type: String, default: "" },
256
- dateFormat: { type: String, default: "yyyy-MM-dd" },
257
- disablePrePage: { type: Boolean, default: !1 },
258
- disablePreRecord: { type: Boolean, default: !1 },
259
- disableNextRecord: { type: Boolean, default: !1 },
260
- disableNextPage: { type: Boolean, default: !1 },
261
- years: { type: Array, default: [[{}]] },
262
- selectingMonth: { type: Boolean, default: !1 },
263
- selectingYear: { type: Boolean, default: !1 },
264
- selectMode: { type: String, default: "day" }
265
- };
266
- const Pe = /* @__PURE__ */ ee({
267
- name: "FDatePickerCalendarNavbar",
268
- props: xt,
269
- emits: ["clickMonth", "clickYear", "prePage", "preRecord", "nextRecord", "nextPage"],
270
- setup(e, t) {
271
- return () => {
272
- const a = l(e.ariaLabelPrevMonth), i = l(e.ariaLabelNextMonth), n = l(e.dateFormat), u = l(e.disablePrePage), p = l(e.disablePreRecord), s = l(e.disableNextRecord), f = l(e.disableNextPage), o = l(e.activeMonth), v = l(e.years), r = l(e.selectingMonth), d = l(e.selectingYear), h = l(e.selectMode), g = l(!0), C = l(!0);
273
- G(() => e.activeMonth, () => {
274
- var c, S, B, $;
275
- o.value = {
276
- month: (c = e.activeMonth) == null ? void 0 : c.month,
277
- year: (S = e.activeMonth) == null ? void 0 : S.year,
278
- displayTextOfMonth: (B = e.activeMonth) == null ? void 0 : B.displayTextOfMonth,
279
- displayTextOfYear: ($ = e.activeMonth) == null ? void 0 : $.displayTextOfMonth
280
- };
281
- });
282
- const N = x(() => ({
283
- "f-datepicker-header": !0,
284
- monthYearSelBarBorder: r.value || d.value
285
- })), P = x(() => ({
286
- "f-datepicker-header-btn": !0,
287
- "f-datepicker-header-btn-disabled": u.value
288
- })), E = x(() => !r.value && !d.value), O = x(() => ({
289
- "f-datepicker-header-btn": !0,
290
- "f-datepicker-header-btn-disabled": p.value
291
- })), w = x(() => ({
292
- "f-datepicker-header-btn": !0,
293
- "f-datepicker-header-btn-disabled": s.value
294
- })), M = x(() => ({
295
- "f-datepicker-header-btn": !0,
296
- "f-datepicker-header-btn-disabled": f.value
297
- })), k = x(() => ({
298
- "f-datepicker-header-btn": !0,
299
- "f-datepicker-yearLabel": g.value,
300
- "f-datepicker-labelBtnNotEdit": !g.value
301
- })), D = x(() => ({
302
- "f-datepicker-header-btn": !0,
303
- "f-datepicker-monthLabel": C.value,
304
- "f-datepicker-labelBtnNotEdit": !C.value
305
- })), L = x(() => {
306
- const c = n.value ? n.value.indexOf("yyyy") : 0, S = n.value ? n.value.indexOf("MM") : 0;
307
- return c > S ? "MM-yyyy" : "yyyy-MM";
308
- });
309
- function T(c) {
310
- c.stopPropagation(), t.emit("prePage");
311
- }
312
- function Y(c) {
313
- c.stopPropagation(), t.emit("preRecord");
314
- }
315
- function z(c) {
316
- c.stopPropagation(), t.emit("clickYear");
317
- }
318
- function F(c) {
319
- c.stopPropagation(), t.emit("clickMonth");
320
- }
321
- function H(c) {
322
- c.stopPropagation(), c.stopPropagation(), t.emit("nextRecord");
323
- }
324
- function K(c) {
325
- c.stopPropagation(), t.emit("nextPage");
326
- }
327
- function I() {
328
- return b("button", {
329
- type: "button",
330
- class: k.value,
331
- onClick: (c) => {
332
- g.value && z(c);
333
- },
334
- tabindex: g.value ? "0" : "-1",
335
- disabled: h.value === "year"
336
- }, [d.value ? v.value.length > 3 ? v.value[0][1].year + " - " + v.value[3][1].year : "" : o.value.displayTextOfYear]);
337
- }
338
- function R() {
339
- return !d.value && h.value !== "month" && b("button", {
340
- type: "button",
341
- class: D.value,
342
- onClick: (c) => {
343
- C.value && F(c);
344
- },
345
- tabindex: C.value ? "0" : "-1"
346
- }, [o.value.displayTextOfMonth]);
347
- }
348
- return b("div", {
349
- class: N.value
350
- }, [b("div", {
351
- class: "f-datepicker-prev-btn"
352
- }, [b("button", {
353
- title: "prePage",
354
- type: "button",
355
- class: P.value,
356
- onClick: T
357
- }, [b("i", {
358
- class: "k-icon k-i-arrow-double-60-left"
359
- }, null)]), E.value && b("button", {
360
- type: "button",
361
- "aria-label": a.value,
362
- class: O.value,
363
- onClick: Y
364
- }, [b("i", {
365
- class: "k-icon k-i-arrow-chevron-left"
366
- }, null)])]), b("div", {
367
- class: "f-datepicker-monthYearText"
368
- }, [L.value === "yyyy-MM" ? [I(), R()] : [R(), I()]]), b("div", {
369
- class: "f-datepicker-next-btn"
370
- }, [E.value && b("button", {
371
- type: "button",
372
- "aria-label": i.value,
373
- class: w.value,
374
- onClick: H
375
- }, [b("i", {
376
- class: "k-icon k-i-arrow-chevron-right"
377
- }, null)]), b("button", {
378
- title: "nextPage",
379
- type: "button",
380
- class: M.value,
381
- onClick: K
382
- }, [b("i", {
383
- class: "k-icon k-i-arrow-double-60-right"
384
- }, null)])])]);
385
- };
386
- }
387
- }), _e = {
388
- 1: "Jan",
389
- 2: "Feb",
390
- 3: "Mar",
391
- 4: "Apr",
392
- 5: "May",
393
- 6: "Jun",
394
- 7: "Jul",
395
- 8: "Aug",
396
- 9: "Sep",
397
- 10: "Oct",
398
- 11: "Nov",
399
- 12: "Dec"
400
- }, Dt = {
401
- top: { type: Number, default: 0 },
402
- left: { type: Number, default: 0 },
403
- position: { type: String, default: "bottom" },
404
- enablePeriod: { type: Boolean, default: !1 },
405
- dateFormat: { type: String, default: "MM-dd-yyyy" },
406
- dates: { type: Array, default: [] },
407
- daysInWeek: { type: Array, default: ce },
408
- disableDates: { Type: Array, default: [] },
409
- disablePeriod: { Type: Array, default: [] },
410
- disableSince: { Type: Object, default: { year: 0, month: 0, day: 0 } },
411
- disableWeekdays: { Type: Array, default: [] },
412
- disableWeekends: { Type: Boolean, default: !1 },
413
- disableUntil: { Type: Object, default: { year: 0, month: 0, day: 0 } },
414
- enableKeyboadNavigate: { type: Boolean, default: !0 },
415
- enableMarkCurrent: { type: Boolean, default: !0 },
416
- firstDayOfTheWeek: { type: String, default: "Sun." },
417
- highlightDates: { Type: Array, default: [] },
418
- highlightSaturday: { Type: Boolean, default: !1 },
419
- highlightSunday: { Type: Boolean, default: !1 },
420
- maxYear: { Type: Number, default: 2500 },
421
- minYear: { Type: Number, default: 1 },
422
- months: { type: Array, default: [[]] },
423
- nameOfMonths: { Type: Object, default: _e },
424
- secondaryDates: { type: Array, default: [] },
425
- secondaryMonths: { type: Array, default: [[]] },
426
- selectedDate: { type: Object, default: null },
427
- selectedMonth: { type: Object, default: null },
428
- selectedPeriod: { type: Object, default: null },
429
- selectedWeek: { type: Object, default: null },
430
- selectMode: { type: String, default: "day" },
431
- showWeekNumber: { type: Boolean, default: !1 },
432
- weekTitle: { type: String, default: "Week" },
433
- years: { Type: Array, default: [[]] }
434
- }, Ot = {
435
- months: { Type: Array, default: [[]] },
436
- enableMarkCurrent: { Type: Boolean, default: !1 },
437
- enableKeyboadNavigate: { Type: Boolean, default: !0 },
438
- enablePeriod: { Type: Boolean, default: !1 },
439
- selected: { Type: Object, default: null },
440
- selectedPeriod: { Type: Object, default: null }
441
- }, we = /* @__PURE__ */ ee({
442
- name: "FDatePickerMonthView",
443
- props: Ot,
444
- emits: ["click", "keyDown", "mouseEnter", "mouseLeave"],
445
- setup(e, t) {
446
- const a = l(e.months), i = l(e.enableMarkCurrent), n = l(e.enableKeyboadNavigate), u = l(e.enablePeriod), p = l(e.selected), s = l(e.selectedPeriod), {
447
- equal: f,
448
- inPeriod: o,
449
- isInitializedDate: v,
450
- equalOrEarlier: r
451
- } = ie(), {
452
- getKeyCodeFromEvent: d
453
- } = Oe();
454
- G(() => e.months, () => {
455
- a.value = e.months;
456
- }), G(() => e.selected, () => {
457
- p.value = e.selected;
458
- });
459
- function h(M, k) {
460
- M.stopPropagation(), !k.disable && t.emit("click", k);
461
- }
462
- function g(M, k) {
463
- const D = d(M);
464
- D !== te.tab && (M.preventDefault(), D === te.enter || D === te.space ? h(M, k) : n.value && t.emit("keyDown", k));
465
- }
466
- function C(M) {
467
- s.value && v(s.value.from) && !v(s.value.to) && (a.value.forEach((k) => {
468
- k.forEach((D) => {
469
- D.range = !!s.value && (r(s.value.from, D.date) && r(D.date, M.date) || r(D.date, s.value.from) && r(M.date, D.date));
470
- });
471
- }), t.emit("mouseEnter", M));
472
- }
473
- function N() {
474
- a.value.forEach((M) => {
475
- M.forEach((k) => {
476
- k.range = !1;
477
- });
478
- }), t.emit("mouseLeave");
479
- }
480
- function P(M) {
481
- return !!p.value && f({
482
- year: p.value.year,
483
- month: p.value.month
484
- }, {
485
- year: M.year,
486
- month: M.month
487
- });
488
- }
489
- function E(M) {
490
- return !!s.value && (f({
491
- year: s.value.from.month
492
- }, M) || f({
493
- year: s.value.to.month
494
- }, M));
495
- }
496
- function O(M) {
497
- return o(M, s.value);
498
- }
499
- const w = (M) => ({
500
- "f-datepicker-month-cell": !0,
501
- "f-datepicker-current": M.isCurrent && i,
502
- "f-datepicker-selected": !u.value && P(M.date) || u.value && E(M.date),
503
- "f-datepicker-disabled": M.disable,
504
- "f-datepicker-range": O(M.date) || M.range
505
- });
506
- return () => b("div", {
507
- class: "f-datepicker-table-wrapper"
508
- }, [b("table", {
509
- class: "f-datepicker-table"
510
- }, [b("tbody", null, [a.value && a.value.map((M, k) => b("tr", null, [M.map((D, L) => b("td", {
511
- id: `m_${k}_${L}`,
512
- class: `m_${k}_${L}`,
513
- onClick: (T) => h(T, D),
514
- onKeydown: (T) => g(T, D),
515
- onMouseenter: () => C(D),
516
- onMouseleave: () => N(),
517
- tabindex: "0",
518
- style: "width: 33.3%"
519
- }, [b("div", {
520
- class: "f-datepicker-month"
521
- }, [b("span", {
522
- class: w(D)
523
- }, [D.displayText])])]))]))])])]);
524
- }
525
- }), St = {
526
- years: { Type: Array, default: [[]] },
527
- enableKeyboadNavigate: { Type: Boolean, default: !0 },
528
- enableMarkCurrent: { Type: Boolean, default: !0 },
529
- enablePeriod: { Type: Boolean, default: !1 },
530
- selected: { Type: Object, default: null },
531
- selectedPeriod: { Type: Object, default: null }
532
- }, Be = /* @__PURE__ */ ee({
533
- name: "FDatePickerYearView",
534
- props: St,
535
- emits: ["click", "keyDown", "mouseEnter", "mouseLeave"],
536
- setup(e, t) {
537
- const a = l(e.years), i = l(e.enableMarkCurrent), n = l(e.enableKeyboadNavigate), u = l(e.enablePeriod), p = l(e.selected), s = l(e.selectedPeriod), {
538
- equal: f,
539
- inPeriod: o,
540
- isInitializedDate: v,
541
- equalOrEarlier: r
542
- } = ie(), {
543
- getKeyCodeFromEvent: d
544
- } = Oe();
545
- G(() => e.years, () => {
546
- a.value = e.years;
547
- }), G(() => e.selected, () => {
548
- p.value = e.selected;
549
- });
550
- const h = (k, D) => {
551
- const L = `y_${k}_${D}`, T = {
552
- "f-datepicker-no-currmonth": k === 0 && D === 0 || k === 3 && D === 2
553
- };
554
- return T[L] = !0, T;
555
- };
556
- function g(k) {
557
- return o(k, s.value);
558
- }
559
- function C(k) {
560
- return !!p.value && f({
561
- year: p.value.year
562
- }, k);
563
- }
564
- function N(k) {
565
- return !!s.value && (f({
566
- year: s.value.from.year
567
- }, k) || f({
568
- year: s.value.to.year
569
- }, k));
570
- }
571
- const P = (k) => ({
572
- "f-datepicker-year-cell": !0,
573
- "f-datepicker-current": k.isCurrent && i.value,
574
- "f-datepicker-selected": !s.value && C(k.date) || u.value && N(k.date),
575
- "f-datepicker-disabled": k.disable,
576
- "f-datepicker-range": g(k.date) || k.range
577
- });
578
- function E(k, D) {
579
- k.stopPropagation(), !D.disable && t.emit("click", D);
580
- }
581
- function O(k, D) {
582
- const L = d(k);
583
- L !== te.tab && (k.preventDefault(), L === te.enter || L === te.space ? E(k, D) : n.value && t.emit("keyDown", D));
584
- }
585
- function w(k) {
586
- s.value && v(s.value.from) && !v(s.value.to) && (a.value.forEach((D) => {
587
- D.forEach((L) => {
588
- L.range = !!s.value && (r(s.value.from, L.date) && r(L.date, k.date) || r(L.date, s.value.from) && r(k.date, L.date));
589
- });
590
- }), t.emit("mouseEnter", k));
591
- }
592
- function M() {
593
- a.value.forEach((k) => {
594
- k.forEach((D) => {
595
- D.range = !1;
596
- });
597
- }), t.emit("mouseLeave");
598
- }
599
- return () => b("table", {
600
- class: "f-datepicker-table-wrapper"
601
- }, [b("tbody", {
602
- class: "f-datepicker-table"
603
- }, [a.value && a.value.map((k, D) => b("tr", null, [k.map((L, T) => b("td", {
604
- id: "y_{yi}_{i}",
605
- class: h(D, T),
606
- onClick: (Y) => E(Y, L),
607
- onKeydown: (Y) => O(Y, L),
608
- onMouseenter: () => w(L),
609
- onMouseleave: () => M(),
610
- tabindex: "0"
611
- }, [b("div", {
612
- class: "f-datepicker-year"
613
- }, [b("span", {
614
- class: P(L)
615
- }, [L.year])])]))]))])]);
616
- }
617
- });
618
- function Se() {
619
- function e(n) {
620
- return new Date(
621
- n.year || 0,
622
- (n.month || 1) - 1,
623
- n.day,
624
- n.hour ? n.hour : 0,
625
- n.minute ? n.minute : 0,
626
- n.second ? n.second : 0,
627
- 0
628
- ).getDay();
629
- }
630
- function t(n) {
631
- if (!n)
632
- return 1;
633
- if (!/^\d+$/.test(n.value))
634
- return -1;
635
- let u = Number(n.value);
636
- return (n.format.length === 1 && n.value.length !== 1 && u < 10 || n.format.length === 1 && n.value.length !== 2 && u >= 10 || n.format.length === 2 && n.value.length > 2) && (u = -1), u;
637
- }
638
- function a(n, u) {
639
- if (n.value) {
640
- for (let p = 1; p <= 12; p++)
641
- if (n.value.toLowerCase() === u[p].toLowerCase())
642
- return p;
643
- }
644
- return -1;
645
- }
646
- function i(n) {
647
- const u = new Date(n.year || 0, (n.month || 1) - 1, n.day, 0, 0, 0, 0);
648
- return u.setDate(u.getDate() + (u.getDay() === 0 ? -3 : 4 - u.getDay())), Math.round((u.getTime() - new Date(u.getFullYear(), 0, 4).getTime()) / 864e5 / 7) + 1;
649
- }
650
- return { getNumberByValue: t, getDayNumber: e, getMonthNumberByMonthName: a, getWeekNumber: i };
651
- }
652
- function It(e, t, a, i, n, u, p, s) {
653
- const { getTimeInMilliseconds: f, getWeekdayIndex: o } = ae(), { isInitializedDate: v } = ie(), { getDayNumber: r } = Se();
654
- function d(h) {
655
- if (h.year && h.year < e && h.month === 12 || h.year && h.year > t && h.month === 1)
656
- return !0;
657
- const g = f(h);
658
- if (v(i) && g + 24 * 60 * 60 * 1e3 - 1 < f(i) || v(a) && g > f(a))
659
- return !0;
660
- if (p) {
661
- const N = r(h);
662
- if (N === 0 || N === 6)
663
- return !0;
664
- }
665
- const C = r(h);
666
- return !!(s.length > 0 && s.find((P) => o(P) === C) || n.length > 0 && n.find((P) => (P.year === 0 || P.year === h.year) && (P.month === 0 || P.month === h.month) && P.day === h.day) || u.length > 0 && u.find((P) => v(P.from) && v(P.to) && g >= f(P.from) && g <= f(P.to)));
667
- }
668
- return { isDisabledDate: d };
669
- }
670
- function Nt() {
671
- const { getDayNumber: e } = Se();
672
- function t(i, n, u) {
673
- let p = [];
674
- p = n.reduce((f, o) => {
675
- const v = o.dates.map((r) => ({ date: r, color: o.color }));
676
- return [...f, ...v];
677
- }, p);
678
- const s = p.find((f) => (f.date.year === 0 || f.date.year === i.year) && (f.date.month === 0 || f.date.month === i.month) && f.date.day === i.day);
679
- if (s)
680
- return { marked: !0, color: s.color };
681
- if (u && u.marked) {
682
- const f = e(i);
683
- if (f === 0 || f === 6)
684
- return { marked: !0, color: u.color };
685
- }
686
- return { marked: !1, color: "" };
687
- }
688
- function a(i, n, u, p) {
689
- const s = e(i);
690
- return n && s === 0 || u && s === 6 ? !0 : !!p.find((o) => (o.year === 0 || o.year === i.year) && (o.month === 0 || o.month === i.month) && o.day === i.day);
691
- }
692
- return { isHighlightedDate: a, isMarkedDate: t };
693
- }
694
- function Ue() {
695
- const { getTimeInMilliseconds: e } = ae(), { isInitializedDate: t } = ie();
696
- function a(n, u) {
697
- return t(u) && e(n) <= e(u);
698
- }
699
- function i(n, u) {
700
- return t(u) && e(n) >= e(u);
701
- }
702
- return { isMonthDisabledByDisableSince: i, isMonthDisabledByDisableUntil: a };
703
- }
704
- function Ie() {
705
- const { getToday: e } = ae(), { isMonthDisabledByDisableSince: t, isMonthDisabledByDisableUntil: a } = Ue();
706
- function i(v) {
707
- const r = { displayTextOfMonth: "", month: 0, year: 0, displayTextOfYear: "" };
708
- if (v) {
709
- const d = v.match(/[^0-9]/), h = d && d.length ? d[0] : "", g = v.split(h);
710
- r.month = g[0].length === 2 ? Number(g[0]) : Number(g[1]), r.year = g[0].length === 2 ? Number(g[1]) : Number(g[0]);
711
- }
712
- return r;
713
- }
714
- function n(v, r) {
715
- return new Date(r, v, 0).getDate();
716
- }
717
- function u(v, r, d) {
718
- return new Date(v, r - 1, d, 0, 0, 0, 0);
719
- }
720
- function p(v, r) {
721
- const d = u(r, v, 1);
722
- return d.setMonth(d.getMonth() - 1), n(d.getMonth() + 1, d.getFullYear());
723
- }
724
- function s(v, r, d, h) {
725
- const g = e(), C = [], { year: N } = r, P = 3;
726
- for (let E = 1; E <= 12; E += P) {
727
- const O = [];
728
- for (let w = E; w < E + P; w++) {
729
- const M = t({ year: N, month: w, day: 1 }, d) || a({ year: N, month: w, day: n(w, N || 0) }, h);
730
- O.push({
731
- month: w,
732
- displayText: v[w],
733
- isCurrent: w === g.month && N === g.year,
734
- disable: M,
735
- date: { year: N, month: w }
736
- });
737
- }
738
- C.push(O);
739
- }
740
- return C;
741
- }
742
- function f(v, r) {
743
- const d = {
744
- year: v === 12 ? r + 1 : r
745
- }, h = v === 12 ? 1 : v + 1;
746
- return d.month = h, d;
747
- }
748
- function o(v, r) {
749
- const d = {
750
- year: v === 1 ? r - 1 : r
751
- }, h = v === 1 ? 12 : v - 1;
752
- return d.month = h, d;
753
- }
754
- return { daysInMonth: n, daysInPreMonth: p, generateMonths: s, parseDefaultMonth: i, getNextMonth: f, getPreviousMonth: o };
755
- }
756
- function Wt({ isDisabledDate: e }) {
757
- const { getToday: t } = ae(), { daysInMonth: a, daysInPreMonth: i, getNextMonth: n, getPreviousMonth: u } = Ie(), { isHighlightedDate: p, isMarkedDate: s } = Nt(), { getWeekNumber: f } = Se();
758
- function o(h) {
759
- const g = ce.indexOf(h);
760
- return g > 0 ? 7 - g : 0;
761
- }
762
- function v(h, g, C) {
763
- const N = /* @__PURE__ */ new Date();
764
- N.setDate(1), N.setMonth(g - 1), N.setFullYear(h);
765
- const P = N.getDay() + C;
766
- return P >= 7 ? P - 7 : P;
767
- }
768
- function r(h, g, C, N, P) {
769
- return h === P.day && g === P.month && C === P.year && N === X.current;
770
- }
771
- function d(h, g, C, N, P, E, O, w, M) {
772
- const k = [], D = t(), L = v(g, h, o(C)), T = a(h, g), Y = i(h, g);
773
- let z = 1, F = X.previous;
774
- for (let H = 1; H < 7; H++) {
775
- const K = [];
776
- if (H === 1) {
777
- const R = Y - L + 1;
778
- for (let S = R; S <= Y; S++) {
779
- const B = {
780
- year: h === 1 ? g - 1 : g,
781
- month: h === 1 ? 12 : h - 1,
782
- day: S
783
- }, $ = r(S, h, g, F, D), V = e(B), U = s(B, N, P), J = p(B, w, O, E);
784
- K.push({ date: B, tag: F, isCurrent: $, disable: V, marked: U, highlight: J });
785
- }
786
- F = X.current;
787
- const c = 7 - K.length;
788
- for (let S = 0; S < c; S++) {
789
- const B = { year: g, month: h, day: z }, $ = r(z, h, g, F, D), V = e(B), U = s(B, N, P), J = p(B, w, O, E);
790
- K.push({ date: B, tag: F, isCurrent: $, disable: V, marked: U, highlight: J }), z++;
791
- }
792
- } else
793
- for (let R = 1; R <= 7; R++) {
794
- z > T && (z = 1, F = X.next);
795
- const c = {
796
- year: F === X.next && h === 12 ? g + 1 : g,
797
- month: F === X.current ? h : F === X.next && h < 12 ? h + 1 : 1,
798
- day: z
799
- }, S = r(z, h, g, F, D), B = e(c), $ = s(c, N, P), V = p(c, w, O, E);
800
- K.push({ date: c, tag: F, isCurrent: S, disable: B, marked: $, highlight: V }), z++;
801
- }
802
- const I = M && C === "Mon." ? f(K[0].date) : 0;
803
- k.push({ days: K, numberInTheYear: I, year: g });
804
- }
805
- return k;
806
- }
807
- return { generateCalendar: d };
808
- }
809
- function jt() {
810
- const { getToday: e } = ae(), { daysInMonth: t } = Ie(), { isMonthDisabledByDisableSince: a, isMonthDisabledByDisableUntil: i } = Ue();
811
- function n(u, p, s, f, o, v) {
812
- const r = [], d = u - u % 10, { year: h, month: g } = p, C = e(), N = 3, P = d + 10;
813
- for (let E = d - 1; E < P; E += N) {
814
- const O = [];
815
- for (let w = E; w < E + N; w++) {
816
- const M = a({ year: w, month: g, day: 1 }, o) || i({ year: w, month: g, day: t(g || 0, w) }, v), k = w < s || w > f;
817
- O.push({
818
- year: w,
819
- isCurrent: w === C.year,
820
- selected: w === h,
821
- disable: M || k,
822
- date: { year: w }
823
- });
824
- }
825
- r.push(O);
826
- }
827
- return r;
828
- }
829
- return { generateYears: n };
830
- }
831
- const xe = /* @__PURE__ */ ee({
832
- name: "FDatePickerContainer",
833
- props: Dt,
834
- emits: ["datePicked"],
835
- setup(e, t) {
836
- const a = l(e.top), i = l(e.left), n = l(e.position), u = l(e.enablePeriod), p = l(e.selectMode), s = l(e.dateFormat), f = l(e.nameOfMonths), o = l([]), v = l(!1), r = l(""), d = l(!1), h = l(""), g = l(), C = l(!1), N = l(!1), P = l(!1), E = l(!1), O = l(!1), w = l(!1), M = l(!1), k = l(!1), D = l(e.secondaryDates), L = l(e.daysInWeek), T = l(e.enableKeyboadNavigate), Y = l(e.enableMarkCurrent), z = l(e.firstDayOfTheWeek), F = l(e.showWeekNumber), H = l(e.selectedDate), K = l(e.selectedWeek), I = l(e.selectedPeriod), R = l(e.weekTitle), c = l(e.secondaryMonths), S = l(e.selectedMonth), B = l(e.minYear), $ = l(e.maxYear), V = l(e.disableSince), U = l(e.disableUntil), J = l(e.disableDates), de = l(e.disablePeriod), fe = l(e.disableWeekdays), ve = l(e.disableWeekends), ye = It(B.value, $.value, V.value, U.value, J.value, de.value, ve.value, fe.value), {
837
- generateCalendar: pe
838
- } = Wt(ye), {
839
- getToday: he
840
- } = ae(), {
841
- generateMonths: me,
842
- getNextMonth: be,
843
- getPreviousMonth: ge
844
- } = Ie(), {
845
- generateYears: ke
846
- } = jt(), y = he(), m = l({
847
- year: y.year || 1,
848
- month: y.month || 1,
849
- displayTextOfMonth: f.value[y.month || "1"],
850
- displayTextOfYear: `${y.year}`
851
- }), W = y.month === 12 ? (y.year || 1) + 1 : y.year, _ = (y.month || 1) < 12 ? (y.month || 1) + 1 : 1, Q = l({
852
- year: W,
853
- month: _,
854
- displayTextOfMonth: f.value[y.month || "1"],
855
- displayTextOfYear: `${W}`
856
- }), Z = x(() => pe(m.value.month, m.value.year, z.value, [], {
857
- marked: !0,
858
- color: ""
859
- }, [], e.highlightSaturday, e.highlightSunday, F.value)), oe = x(() => me(f.value, {
860
- year: m.value.year,
861
- month: m.value.month
862
- }, V.value, U.value)), le = x(() => ke(m.value.year, {
863
- year: m.value.year,
864
- month: m.value.month
865
- }, B.value, $.value, V.value, U.value)), re = x(() => {
866
- const j = {
867
- "f-datepicker-container": !0
868
- }, q = `container-position-${n.value}`;
869
- return j[q] = !0, j;
870
- });
871
- function et() {
872
- return "";
873
- }
874
- const tt = x(() => ({
875
- top: `${a.value}px`,
876
- left: `${i.value}px`,
877
- width: et()
878
- }));
879
- function Dn(j) {
880
- }
881
- function nt(j) {
882
- j.stopPropagation();
883
- }
884
- function at(j, q) {
885
- const A = m.value.year - (d.value ? 10 : 1), ne = {
886
- year: A,
887
- month: m.value.month,
888
- displayTextOfMonth: f.value[m.value.month || "1"],
889
- displayTextOfYear: `${A}`
890
- };
891
- m.value = ne;
892
- }
893
- function je(j, q) {
894
- const A = ge(m.value.month, m.value.year), ne = {
895
- year: A.year || 1,
896
- month: A.month || 1,
897
- displayTextOfMonth: f.value[A.month || "1"],
898
- displayTextOfYear: `${A.year}`
899
- };
900
- m.value = ne;
901
- }
902
- function Ee(j, q) {
903
- const A = be(m.value.month, m.value.year), ne = {
904
- year: A.year || 1,
905
- month: A.month || 1,
906
- displayTextOfMonth: f.value[A.month || "1"],
907
- displayTextOfYear: `${A.year}`
908
- };
909
- m.value = ne;
910
- }
911
- function ot(j, q) {
912
- const A = m.value.year + 1, ne = {
913
- year: A,
914
- month: m.value.month,
915
- displayTextOfMonth: f.value[m.value.month || "1"],
916
- displayTextOfYear: `${A}`
917
- };
918
- m.value = ne;
919
- }
920
- function lt(j) {
921
- v.value = !0, d.value = !1;
922
- }
923
- function rt(j) {
924
- v.value = !1, d.value = !0;
925
- }
926
- const ut = x(() => ({
927
- "active-month": m.value,
928
- "date-format": s.value,
929
- "disable-pre-page": C.value,
930
- "disable-pre-record": N.value,
931
- "disable-next-record": P.value,
932
- "disable-next-page": E.value,
933
- years: le.value,
934
- "selecting-month": v.value,
935
- "selecting-year": d.value,
936
- "select-mode": p.value
937
- })), st = x(() => ({
938
- "active-month": Q.value,
939
- "date-format": s.value,
940
- "disable-pre-page": O.value,
941
- "disable-pre-record": w.value,
942
- "disable-next-record": M.value,
943
- "disable-next-page": k.value,
944
- years: o.value,
945
- "selecting-month": r.value,
946
- "selecting-year": h.value,
947
- "select-mode": p.value
948
- }));
949
- function Le(j, q) {
950
- return b(Pe, ue(q, {
951
- onPrePage: (A) => at(),
952
- onPreRecord: (A) => je(),
953
- onNextRecord: (A) => Ee(),
954
- onNextPage: (A) => ot(),
955
- onClickMonth: (A) => lt(),
956
- onClickYear: (A) => rt()
957
- }), null);
958
- }
959
- const Re = x(() => !v.value && !d.value && !g.value || u.value && p.value !== "week" && !r.value && !h.value && !g.value), it = x(() => v.value && !d.value), ct = x(() => d.value && !v.value), dt = x(() => ({
960
- dates: Z.value,
961
- daysInWeek: L.value,
962
- enableKeyboadNavigate: T.value,
963
- enableMarkCurrent: Y.value,
964
- enablePeriod: u.value,
965
- firstDayOfTheWeek: z.value,
966
- selected: H.value,
967
- selectedPeriod: I.value,
968
- selectedWeek: K.value,
969
- selectMode: p.value,
970
- showWeekNumber: F.value,
971
- weekTitle: R.value
972
- })), ft = x(() => ({
973
- dates: D,
974
- daysInWeek: L.value,
975
- enableKeyboadNavigate: T.value,
976
- enableMarkCurrent: Y.value,
977
- enablePeriod: u.value,
978
- firstDayOfTheWeek: z.value,
979
- selected: H.value,
980
- selectedPeriod: I.value,
981
- selectMode: F.value,
982
- showWeekNumber: F.value,
983
- weekTitle: R.value
984
- }));
985
- function vt(j, q) {
986
- H.value = j, t.emit("datePicked", `${j.year}-${j.month}-${j.day}`);
987
- }
988
- function On(j) {
989
- }
990
- function Sn(j) {
991
- }
992
- function In(j, q) {
993
- }
994
- function Nn(j, q) {
995
- }
996
- function Ae(j, q) {
997
- return Re.value && b(Me, ue(q, {
998
- onClick: (A) => vt(A),
999
- onClickWeek: (A) => void 0,
1000
- onKeyDown: (A) => void 0,
1001
- onMouseEnter: (A) => void 0,
1002
- onMouseLeave: (A) => void 0
1003
- }), null);
1004
- }
1005
- const yt = x(() => ({
1006
- months: oe.value,
1007
- enableMarkCurrent: Y.value,
1008
- enableKeyboadNavigate: T.value,
1009
- enablePeriod: u.value,
1010
- selected: S.value,
1011
- selectedPeriod: I.value
1012
- })), pt = x(() => ({
1013
- months: c.value,
1014
- enableMarkCurrent: Y.value,
1015
- enableKeyboadNavigate: T.value,
1016
- enablePeriod: u.value,
1017
- selected: S.value,
1018
- selectedPeriod: I.value
1019
- }));
1020
- function ht(j, q) {
1021
- v.value = !1, d.value = !1, S.value = j, m.value = {
1022
- month: j.month || 1,
1023
- displayTextOfMonth: f.value[m.value.month || "1"],
1024
- year: m.value.year || 1,
1025
- displayTextOfYear: `${m.value.displayTextOfYear}`
1026
- };
1027
- }
1028
- function Wn(j) {
1029
- }
1030
- function jn(j, q) {
1031
- }
1032
- function En(j, q) {
1033
- }
1034
- function Ye(j, q) {
1035
- return b(we, ue(q, {
1036
- onClick: (A) => ht(A),
1037
- onKeyDownMonthView: (A) => void 0,
1038
- onMouseEnterMonthView: (A) => void 0,
1039
- onMouseLeaveMonthView: (A) => void 0
1040
- }), null);
1041
- }
1042
- const mt = x(() => ({
1043
- years: le.value,
1044
- enableKeyboadNavigate: T.value,
1045
- enableMarkCurrent: Y.value,
1046
- enablePeriod: u.value,
1047
- selected: H.value,
1048
- selectedPeriod: I.value
1049
- })), bt = x(() => ({
1050
- years: o.value,
1051
- enableKeyboadNavigate: T.value,
1052
- enableMarkCurrent: Y.value,
1053
- enablePeriod: u.value,
1054
- selected: H.value,
1055
- selectedPeriod: I.value
1056
- }));
1057
- function gt(j, q) {
1058
- v.value = !0, d.value = !1, m.value = {
1059
- month: m.value.month,
1060
- displayTextOfMonth: m.value.displayTextOfMonth,
1061
- year: j.year || 1,
1062
- displayTextOfYear: `${j.year}`
1063
- };
1064
- }
1065
- function Ln(j) {
1066
- }
1067
- function Rn(j, q) {
1068
- }
1069
- function An(j, q) {
1070
- }
1071
- function kt(j) {
1072
- m.value = {
1073
- year: y.year || 1,
1074
- month: y.month || 1,
1075
- displayTextOfMonth: f.value[y.month || "1"],
1076
- displayTextOfYear: `${y.year}`
1077
- }, H.value = y;
1078
- }
1079
- function Tt(j) {
1080
- m.value = {
1081
- year: y.year || 1,
1082
- month: y.month || 1,
1083
- displayTextOfMonth: f.value[y.month || "1"],
1084
- displayTextOfYear: `${y.year}`
1085
- }, H.value = y, S.value = {
1086
- year: y.year,
1087
- month: y.month
1088
- };
1089
- }
1090
- function Ct(j) {
1091
- m.value = {
1092
- year: y.year || 1,
1093
- month: y.month || 1,
1094
- displayTextOfMonth: f.value[y.month || "1"],
1095
- displayTextOfYear: `${y.year}`
1096
- }, H.value = y;
1097
- }
1098
- const Mt = x(() => u.value && p.value !== "week");
1099
- function $e(j, q) {
1100
- return b(Be, ue(q, {
1101
- onClick: (A) => gt(A),
1102
- onKeyDownYearView: (A) => void 0,
1103
- onClickPreRecord: (A) => je(),
1104
- onClickNextRecord: (A) => Ee(),
1105
- onMouseEnterYearView: (A) => void 0,
1106
- onMouseLeaveYearView: (A) => void 0
1107
- }), null);
1108
- }
1109
- return () => b("div", {
1110
- class: re.value,
1111
- style: tt.value,
1112
- tabindex: "0",
1113
- onKeyup: (j) => void 0,
1114
- onClick: (j) => nt(j)
1115
- }, [b("div", {
1116
- class: "f-datepicker-content"
1117
- }, [Le(!1, ut.value), Ae(!1, dt.value), v.value && Ye(!1, yt.value), d.value && $e(!1, mt.value), b("div", {
1118
- class: "f-datepicker-footer"
1119
- }, [b("div", {
1120
- class: "f-datepicker-redirect"
1121
- }, [Re.value && b("button", {
1122
- class: "btn btn-link",
1123
- onClick: kt
1124
- }, [Te("今天")]), it.value && b("button", {
1125
- class: "btn btn-link",
1126
- onClick: Tt
1127
- }, [Te("本月")]), ct.value && b("button", {
1128
- class: "btn btn-link",
1129
- onClick: Ct
1130
- }, [Te("今年")])])])]), Mt.value && b("div", {
1131
- class: "f-datepicker-content"
1132
- }, [Le(!0, st.value), Ae(!0, ft.value), r.value && Ye(!0, pt.value), h.value && $e(!0, bt.value)])]);
1133
- }
1134
- }), Xe = {};
1135
- function Ne(e) {
1136
- const { properties: t } = e;
1137
- return Object.keys(t).reduce((i, n) => (i[n] = t[n].type === "object" && t[n].properties ? Ne(t[n]) : t[n].default, i), {});
1138
- }
1139
- function Et(e) {
1140
- const t = Xe[e];
1141
- return t ? Ne(t) : null;
1142
- }
1143
- function Lt(e, t) {
1144
- const a = Ne(t);
1145
- return Object.keys(e).reduce((i, n) => (i[n] = e[n], i), a), a;
1146
- }
1147
- function Rt(e, t) {
1148
- return Object.keys(e).filter((i) => e[i] != null).reduce((i, n) => {
1149
- if (t.has(n)) {
1150
- const u = t.get(n);
1151
- if (typeof u == "string")
1152
- i[u] = e[n];
1153
- else {
1154
- const p = u(n, e[n]);
1155
- Object.assign(i, p);
1156
- }
1157
- } else
1158
- i[n] = e[n];
1159
- return i;
1160
- }, {});
1161
- }
1162
- function At(e, t, a = /* @__PURE__ */ new Map()) {
1163
- const i = Lt(e, t);
1164
- return Rt(i, a);
1165
- }
1166
- function Ge(e, t, a = /* @__PURE__ */ new Map()) {
1167
- return Xe[t.title] = t, (i) => {
1168
- const n = At(i, t, a), u = Object.keys(e).reduce((p, s) => (p[s] = e[s].default, p), {});
1169
- return Object.assign(u, n);
1170
- };
1171
- }
1172
- function Je(e, t) {
1173
- return { customClass: t.class };
1174
- }
1175
- const Yt = /* @__PURE__ */ new Map([
1176
- ["appearance", Je]
1177
- ]), $t = "https://json-schema.org/draft/2020-12/schema", Ft = "https://farris-design.gitee.io/date-picker.schema.json", Vt = "date-picker", qt = "A Farris Input Component", zt = "object", Ht = {
1178
- id: {
1179
- description: "The unique identifier for a check box",
1180
- type: "string"
1181
- },
1182
- type: {
1183
- description: "The type string of check box component",
1184
- type: "string",
1185
- default: "date-picker"
1186
- },
1187
- appearance: {
1188
- description: "",
1189
- type: "object",
1190
- properties: {
1191
- class: {
1192
- type: "string"
1193
- },
1194
- style: {
1195
- type: "string"
1196
- }
1197
- },
1198
- default: {}
1199
- },
1200
- binding: {
1201
- description: "",
1202
- type: "object",
1203
- default: {}
1204
- },
1205
- disable: {
1206
- type: "string",
1207
- default: !1
1208
- },
1209
- editable: {
1210
- description: "",
1211
- type: "boolean",
1212
- default: !0
1213
- },
1214
- placeHolder: {
1215
- description: "",
1216
- type: "string",
1217
- default: ""
1218
- },
1219
- readonly: {
1220
- description: "",
1221
- type: "boolean",
1222
- default: !1
1223
- },
1224
- require: {
1225
- description: "",
1226
- type: "boolean",
1227
- default: !1
1228
- },
1229
- tabindex: {
1230
- description: "",
1231
- type: "number",
1232
- default: -1
1233
- },
1234
- visible: {
1235
- description: "",
1236
- type: "boolean",
1237
- default: !0
1238
- }
1239
- }, Kt = [
1240
- "id",
1241
- "type"
1242
- ], _t = {
1243
- $schema: $t,
1244
- $id: Ft,
1245
- title: Vt,
1246
- description: qt,
1247
- type: zt,
1248
- properties: Ht,
1249
- required: Kt
1250
- }, We = {
1251
- disableDates: { Type: Array, default: [] },
1252
- disablePeriod: { Type: Array, default: [] },
1253
- disableSince: { Type: Object, default: { year: 0, month: 0, day: 0 } },
1254
- disableWeekdays: { Type: Array, default: [] },
1255
- disableWeekends: { Type: Boolean, default: !1 },
1256
- disableUntil: { Type: Object, default: { year: 0, month: 0, day: 0 } },
1257
- displayFormat: { Type: String, default: "yyyyMMdd" },
1258
- displayTime: { Type: Boolean, default: !1 },
1259
- highlightDates: { Type: Array, default: [] },
1260
- highlightSaturday: { Type: Boolean, default: !1 },
1261
- highlightSunday: { Type: Boolean, default: !1 },
1262
- maxYear: { Type: Number, default: 2500 },
1263
- minYear: { Type: Number, default: 1 },
1264
- /**
1265
- * 组件值
1266
- */
1267
- modelValue: { type: String, default: "" },
1268
- nameOfMonths: { Type: Object, default: _e },
1269
- periodDelimiter: { Type: String, default: "" },
1270
- selectMode: { Type: String, default: "day" },
1271
- valueFormat: { Type: String, default: "yyyyMMdd" }
1272
- }, Fe = Ge(We, _t, Yt), Ut = /* @__PURE__ */ new Map([
1273
- ["appearance", Je]
1274
- ]), Xt = "https://json-schema.org/draft/2020-12/schema", Gt = "https://farris-design.gitee.io/button-edit.schema.json", Jt = "button-edit", Qt = "A Farris Input Component", Zt = "object", en = {
1275
- id: {
1276
- description: "The unique identifier for a Input Group",
1277
- type: "string"
1278
- },
1279
- type: {
1280
- description: "The type string of Input Group component",
1281
- type: "string",
1282
- default: "button-edit"
1283
- },
1284
- appearance: {
1285
- description: "",
1286
- type: "object",
1287
- properties: {
1288
- class: {
1289
- type: "string"
1290
- },
1291
- style: {
1292
- type: "string"
1293
- }
1294
- },
1295
- default: {}
1296
- },
1297
- binding: {
1298
- description: "",
1299
- type: "object",
1300
- default: {}
1301
- },
1302
- disable: {
1303
- type: "string",
1304
- default: !1
1305
- },
1306
- editable: {
1307
- description: "",
1308
- type: "boolean",
1309
- default: !0
1310
- },
1311
- enableLinkLabel: {
1312
- description: "",
1313
- type: "boolean",
1314
- default: !1
1315
- },
1316
- label: {
1317
- description: "",
1318
- type: "string",
1319
- default: ""
1320
- },
1321
- lableWidth: {
1322
- description: "",
1323
- type: "number"
1324
- },
1325
- placeHolder: {
1326
- description: "",
1327
- type: "string",
1328
- default: ""
1329
- },
1330
- readonly: {
1331
- description: "",
1332
- type: "boolean",
1333
- default: !1
1334
- },
1335
- require: {
1336
- description: "",
1337
- type: "boolean",
1338
- default: !1
1339
- },
1340
- tabindex: {
1341
- description: "",
1342
- type: "number",
1343
- default: -1
1344
- },
1345
- textAlign: {
1346
- description: "",
1347
- type: "string",
1348
- enum: [
1349
- "left",
1350
- "middle",
1351
- "right"
1352
- ],
1353
- default: "left"
1354
- },
1355
- visible: {
1356
- description: "",
1357
- type: "boolean",
1358
- default: !0
1359
- },
1360
- onBlur: {
1361
- description: "",
1362
- type: "string",
1363
- default: ""
1364
- },
1365
- onClickLinkLabel: {
1366
- description: "",
1367
- type: "sting",
1368
- default: ""
1369
- },
1370
- autoComplete: {
1371
- description: "",
1372
- type: "boolean",
1373
- default: !1
1374
- },
1375
- buttonContent: {
1376
- description: "",
1377
- type: "string",
1378
- default: ""
1379
- },
1380
- enableClear: {
1381
- description: "",
1382
- type: "boolean",
1383
- default: !0
1384
- },
1385
- inputType: {
1386
- description: "",
1387
- type: "string",
1388
- enum: [
1389
- "text",
1390
- "tag"
1391
- ],
1392
- default: "text"
1393
- },
1394
- multiSelect: {
1395
- description: "",
1396
- type: "boolean",
1397
- default: !1
1398
- },
1399
- popup: {
1400
- description: "",
1401
- type: "object",
1402
- properties: {
1403
- footerButtons: {
1404
- type: "array",
1405
- default: []
1406
- },
1407
- height: {
1408
- type: "number",
1409
- default: 600
1410
- },
1411
- dataMapping: {
1412
- type: "object"
1413
- },
1414
- contents: {
1415
- type: "array",
1416
- default: []
1417
- },
1418
- showMaxButton: {
1419
- type: "boolean",
1420
- default: !0
1421
- },
1422
- showCloseButton: {
1423
- type: "boolean",
1424
- default: !0
1425
- },
1426
- showFooter: {
1427
- type: "boolean",
1428
- default: !0
1429
- },
1430
- title: {
1431
- type: "string",
1432
- default: ""
1433
- },
1434
- width: {
1435
- type: "number",
1436
- default: 800
1437
- }
1438
- }
1439
- },
1440
- separator: {
1441
- type: "string",
1442
- default: ","
1443
- },
1444
- showButtonWhenDisabled: {
1445
- description: "",
1446
- type: "boolean",
1447
- default: !1
1448
- },
1449
- wrapText: {
1450
- type: "boolean",
1451
- default: !1
1452
- },
1453
- onClear: {
1454
- description: "",
1455
- type: "string",
1456
- default: ""
1457
- }
1458
- }, tn = [
1459
- "id",
1460
- "type"
1461
- ], nn = {
1462
- $schema: Xt,
1463
- $id: Gt,
1464
- title: Jt,
1465
- description: Qt,
1466
- type: Zt,
1467
- properties: en,
1468
- required: tn
1469
- }, Qe = {
1470
- /**
1471
- * 组件标识
1472
- */
1473
- id: String,
1474
- /**
1475
- * 扩展按钮显示内容,这是一段现在扩展按钮中的html标签
1476
- */
1477
- buttonContent: { type: String, default: '<i class="f-icon f-icon-lookup"></i>' },
1478
- buttonBehavior: { type: String, default: "Popup" },
1479
- /**
1480
- * 启用输入框自动完成功能
1481
- */
1482
- autoComplete: { type: Boolean, default: !1 },
1483
- /**
1484
- * 组件自定义样式
1485
- */
1486
- customClass: { type: String, default: "" },
1487
- /**
1488
- * 禁用组件,既不允许在输入框中录入,也不允许点击扩展按钮。
1489
- */
1490
- disable: { type: Boolean, default: !1 },
1491
- /**
1492
- * 允许在输入框中录入文本。
1493
- */
1494
- editable: { type: Boolean, default: !0 },
1495
- /**
1496
- * 显示清空文本按钮
1497
- */
1498
- enableClear: { type: Boolean, default: !1 },
1499
- /**
1500
- * 组件值
1501
- */
1502
- modelValue: { type: String, default: "" },
1503
- /**
1504
- * 将组件设置为只读,既不允许在输入框中录入,也不允许点击扩展按钮,但是允许复制输入框中的内容。
1505
- */
1506
- readonly: { type: Boolean, default: !1 },
1507
- /**
1508
- * 文本对齐方式
1509
- */
1510
- textAlign: { type: String, default: "left" },
1511
- /**
1512
- * 禁用组件时,是否显示扩展按钮
1513
- */
1514
- showButtonWhenDisabled: { type: Boolean, default: !1 },
1515
- /**
1516
- * 显示输入框的标签
1517
- */
1518
- enableTitle: { type: Boolean, default: !1 },
1519
- /**
1520
- * 输入框类型
1521
- */
1522
- inputType: { type: String, default: "text" },
1523
- /**
1524
- * 显示输入框提示信息
1525
- */
1526
- forcePlaceholder: { type: Boolean, default: !1 },
1527
- /**
1528
- * 输入框提示文本
1529
- */
1530
- placeholder: { type: String, default: "" },
1531
- /**
1532
- * 输入框最小长度
1533
- */
1534
- minLength: Number,
1535
- /**
1536
- * 输入框最大长度
1537
- */
1538
- maxLength: Number,
1539
- /**
1540
- * 输入框Tab键索引
1541
- */
1542
- tabIndex: Number,
1543
- popupHost: { type: Object },
1544
- popupRightBoundary: { type: Object },
1545
- popupOffsetX: { type: Object },
1546
- popupOnInput: { type: Boolean, default: !1 },
1547
- popupOnFocus: { type: Boolean, default: !1 },
1548
- popupMinWidth: { type: Number, default: 320 },
1549
- wrapText: { type: Boolean, default: !1 },
1550
- /**
1551
- * 可选,是否支持多选
1552
- * 默认`false`
1553
- */
1554
- multiSelect: { type: Boolean, default: !1 },
1555
- /**
1556
- * 可选,分隔符
1557
- * 默认`,`
1558
- */
1559
- separator: { type: String, default: "," }
1560
- };
1561
- Ge(Qe, nn, Ut);
1562
- const an = {
1563
- popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
1564
- host: { type: Object }
1565
- }, on = /* @__PURE__ */ ee({
1566
- name: "FOverlay",
1567
- props: an,
1568
- emits: ["click"],
1569
- setup(e, t) {
1570
- const a = l(e.popupContentPosition), i = l(e.host);
1571
- function n(s) {
1572
- t.emit("click"), s.preventDefault(), s.stopPropagation();
1573
- }
1574
- const u = x(() => {
1575
- const s = i.value;
1576
- if (s) {
1577
- const f = s.getBoundingClientRect(), {
1578
- left: o,
1579
- top: v,
1580
- height: r
1581
- } = f;
1582
- return {
1583
- left: o,
1584
- top: v + r
1585
- };
1586
- }
1587
- return a.value;
1588
- }), p = x(() => ({
1589
- position: "relative",
1590
- left: `${u.value.left}px`,
1591
- top: `${u.value.top}px`
1592
- }));
1593
- return () => b(qe, {
1594
- to: "body"
1595
- }, {
1596
- default: () => {
1597
- var s, f;
1598
- return [b("div", {
1599
- class: "overlay-container",
1600
- style: "pointer-events: auto;",
1601
- onClick: (o) => n(o)
1602
- }, [b("div", {
1603
- style: p.value
1604
- }, [(f = (s = t.slots).default) == null ? void 0 : f.call(s)])])];
1605
- }
1606
- });
1607
- }
1608
- });
1609
- function ln(e) {
1610
- if (e.content && e.content.render)
1611
- return e.content.render;
1612
- if (e.render && typeof e.render == "function")
1613
- return e.render;
1614
- }
1615
- function rn(e) {
1616
- const t = document.createElement("div");
1617
- t.style.display = "contents";
1618
- let a;
1619
- const i = e.onClickCallback || (() => {
1620
- }), n = () => {
1621
- i(), a && a.unmount();
1622
- };
1623
- return a = Pt({
1624
- setup() {
1625
- ze(() => {
1626
- document.body.removeChild(t);
1627
- });
1628
- const u = ln(e);
1629
- return () => b(on, {
1630
- "popup-content-position": e.popupPosition,
1631
- host: e.host,
1632
- onClick: n
1633
- }, {
1634
- default: () => [u && u()]
1635
- });
1636
- }
1637
- }), document.body.appendChild(t), a.mount(t), a;
1638
- }
1639
- class un {
1640
- static show(t) {
1641
- return rn(t);
1642
- }
1643
- }
1644
- function sn(e, t, a, i) {
1645
- const n = l(e.buttonBehavior), u = l(e.popupOnInput), p = x(() => ({
1646
- "input-group-append": !0,
1647
- "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1648
- })), s = x(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable);
1649
- async function f(d) {
1650
- if (s.value) {
1651
- const h = !!t.slots.default;
1652
- n.value === "Overlay" && un.show({
1653
- host: a.value,
1654
- render: () => {
1655
- if (t.slots.default)
1656
- return t.slots.default();
1657
- }
1658
- }), h && n.value === "Popup" && i.togglePopup(), h && u.value && i.hidePopup(), t.emit("clickButton", { origin: d, value: e.modelValue });
1659
- }
1660
- d.stopPropagation();
1661
- }
1662
- function o(d) {
1663
- t.emit("mouseEnterIcon", d);
1664
- }
1665
- function v(d) {
1666
- t.emit("mouseLeaveIcon", d);
1667
- }
1668
- function r() {
1669
- t.emit("mouseOverButton");
1670
- }
1671
- return {
1672
- buttonClass: p,
1673
- onClickButton: f,
1674
- onMouseEnterButton: o,
1675
- onMouseLeaveButton: v,
1676
- onMouseOverButton: r
1677
- };
1678
- }
1679
- function cn(e, t, a, i, n, u) {
1680
- const p = l(!1), s = x(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f } = u;
1681
- function o(h) {
1682
- p.value = h;
1683
- }
1684
- G(n, () => {
1685
- i.value ? o(!!n.value) : o(!1);
1686
- });
1687
- function v(h) {
1688
- const g = !e.readonly && !e.disable && e.editable, C = !e.editable;
1689
- h.stopPropagation(), (g || C) && (f("", !1), o(!p.value), t.emit("clear"));
1690
- }
1691
- function r(h) {
1692
- if (s.value) {
1693
- if (!a.value) {
1694
- o(!1);
1695
- return;
1696
- }
1697
- (!e.editable || !e.readonly) && !e.disable && o(!0);
1698
- }
1699
- }
1700
- function d(h) {
1701
- s.value && o(!1);
1702
- }
1703
- return {
1704
- enableClearButton: s,
1705
- showClearButton: p,
1706
- onClearValue: v,
1707
- onMouseEnterTextBox: r,
1708
- onMouseLeaveTextBox: d
1709
- };
1710
- }
1711
- function dn(e, t, a, i, n) {
1712
- const u = l(e.popupOnInput), p = l(e.popupOnFocus), { shouldPopupContent: s } = n, f = x(() => e.enableTitle ? a.value : ""), o = x(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = x(() => e.readonly || !e.editable);
1713
- let r = !1;
1714
- const d = x(() => !e.disable && r), h = x(() => ({
1715
- "text-left": e.textAlign === "left",
1716
- "text-center": e.textAlign === "center",
1717
- "text-right": e.textAlign === "right",
1718
- "form-control": !0,
1719
- "f-utils-fill": !0
1720
- })), g = x(() => ({
1721
- "input-group": !0,
1722
- "f-state-disable": e.disable,
1723
- "f-state-editable": e.editable && !e.disable && !e.readonly,
1724
- "f-state-readonly": e.readonly && !e.disable,
1725
- "f-state-focus": d.value
1726
- }));
1727
- function C(T, Y = !0) {
1728
- a.value !== T && (a.value = T, Y && t.emit("change", T), t.emit("update:modelValue", T));
1729
- }
1730
- function N(T) {
1731
- s.value = !1, C(T, !0);
1732
- }
1733
- G(
1734
- () => e.modelValue,
1735
- (T) => {
1736
- a.value = T, t.emit("change", T);
1737
- }
1738
- );
1739
- function P(T) {
1740
- r = !1, t.emit("blur", T), T.stopPropagation();
1741
- }
1742
- function E(T) {
1743
- t.emit("click", T);
1744
- }
1745
- function O(T) {
1746
- if (e.disable) {
1747
- r = !0;
1748
- return;
1749
- }
1750
- r = !0, v.value || (t.emit("focus", T), p.value && !s.value && n.popup());
1751
- }
1752
- function w(T) {
1753
- t.emit("input", T.target.value);
1754
- const Y = T.target.value;
1755
- i.value = Y, a.value !== Y && C(Y, !1), u.value && !s.value && n.popup();
1756
- }
1757
- function M(T) {
1758
- T.target.tagName !== "INPUT" && T.preventDefault(), T.stopPropagation();
1759
- }
1760
- function k(T) {
1761
- t.emit("keydown", T);
1762
- }
1763
- function D(T) {
1764
- T.key === "Enter" && (u.value || p.value) && n.hidePopup(), t.emit("keyup", T);
1765
- }
1766
- function L(T) {
1767
- const Y = T.target.value;
1768
- T.stopPropagation(), C(Y);
1769
- }
1770
- return {
1771
- hasFocusedTextBox: d,
1772
- isTextBoxReadonly: v,
1773
- textBoxClass: h,
1774
- textBoxPlaceholder: o,
1775
- textBoxTitle: f,
1776
- inputGroupClass: g,
1777
- changeTextBoxValue: C,
1778
- commitValue: N,
1779
- onBlurTextBox: P,
1780
- onClickTextBox: E,
1781
- onFocusTextBox: O,
1782
- onInput: w,
1783
- onKeyDownTextBox: k,
1784
- onKeyUpTextBox: D,
1785
- onMouseDownTextBox: M,
1786
- onTextBoxValueChange: L
1787
- };
1788
- }
1789
- function fn(e, t, a) {
1790
- const i = l(), n = l(!1);
1791
- function u() {
1792
- const o = i.value;
1793
- o && o.show(a.value);
1794
- }
1795
- async function p() {
1796
- !!t.slots.default && (n.value = !n.value, await se(), u());
1797
- }
1798
- async function s() {
1799
- !!t.slots.default && (n.value = !0, await se(), u());
1800
- }
1801
- function f() {
1802
- n.value = !1;
1803
- }
1804
- return { hidePopup: f, popup: s, shouldPopupContent: n, togglePopup: p, popoverRef: i };
1805
- }
1806
- function vn(e, t, a) {
1807
- const {
1808
- isTextBoxReadonly: i,
1809
- textBoxClass: n,
1810
- textBoxPlaceholder: u,
1811
- textBoxTitle: p,
1812
- onBlurTextBox: s,
1813
- onClickTextBox: f,
1814
- onFocusTextBox: o,
1815
- onInput: v,
1816
- onKeyDownTextBox: r,
1817
- onKeyUpTextBox: d,
1818
- onMouseDownTextBox: h,
1819
- onTextBoxValueChange: g
1820
- } = a;
1821
- return () => b("input", {
1822
- name: "input-group-value",
1823
- autocomplete: e.autoComplete ? "on" : "off",
1824
- class: n.value,
1825
- disabled: e.disable,
1826
- maxlength: e.maxLength,
1827
- minlength: e.minLength,
1828
- placeholder: u.value,
1829
- readonly: i.value,
1830
- tabindex: e.tabIndex,
1831
- title: p.value,
1832
- type: e.inputType,
1833
- value: t.value,
1834
- onBlur: s,
1835
- onChange: g,
1836
- onClick: f,
1837
- onFocus: o,
1838
- onInput: v,
1839
- onKeydown: r,
1840
- onKeyup: d,
1841
- onMousedown: h
1842
- }, null);
1843
- }
1844
- const yn = {
1845
- activeTag: { Type: String, default: "" },
1846
- addButtonText: { Type: String, default: "" },
1847
- customClass: { Type: String, default: "" },
1848
- customStyle: { Type: String, default: "" },
1849
- data: { type: Array, default: [] },
1850
- enableAddButton: { Type: Boolean, default: !1 },
1851
- placeholder: { Type: String, default: "" },
1852
- selectable: { Type: Boolean, default: !1 },
1853
- showAddButton: { Type: Boolean, default: !1 },
1854
- showClose: { Type: Boolean, default: !1 },
1855
- showColor: { Type: Boolean, default: !1 },
1856
- showInput: { Type: Boolean, default: !1 },
1857
- tagType: { Type: String, default: "" },
1858
- tagStyle: { Type: String, default: "" },
1859
- wrapText: { Type: Boolean, default: !1 },
1860
- draggable: { Type: Boolean, default: !1 }
1861
- };
1862
- function pn(e, t, a, i) {
1863
- const n = l(-1), u = l(!1);
1864
- function p(v, r, d) {
1865
- v.stopPropagation(), r && setTimeout(() => {
1866
- n.value = d, u.value = !0, r.moving = !0;
1867
- });
1868
- }
1869
- function s(v, r) {
1870
- if (v.preventDefault(), n.value !== r) {
1871
- const d = i.value[n.value], h = i.value;
1872
- h.splice(n.value, 1), h.splice(r, 0, d), n.value = r;
1873
- }
1874
- }
1875
- function f(v, r) {
1876
- v.preventDefault(), v.dataTransfer && (v.dataTransfer.dropEffect = "move");
1877
- }
1878
- function o(v, r) {
1879
- r && (r.moving = !1), a.value = i.value.filter((d) => d.type === "Tag").map((d) => d.payload), u.value = !1, t.emit("change", a.value);
1880
- }
1881
- return {
1882
- dragstart: p,
1883
- dragenter: s,
1884
- dragover: f,
1885
- dragend: o,
1886
- isDragging: u
1887
- };
1888
- }
1889
- const hn = /* @__PURE__ */ ee({
1890
- name: "FTags",
1891
- props: yn,
1892
- emits: ["remove", "selectionChange", "change"],
1893
- setup(e, t) {
1894
- const a = l(e.selectable), i = l(e.customClass), n = l(e.data), u = l(e.tagType), p = l(e.tagStyle), s = l(e.showColor), f = l(e.activeTag), o = l(e.customStyle), v = l(e.showClose), r = l(e.showAddButton), d = l(e.showInput), h = l(e.addButtonText), g = l(e.enableAddButton);
1895
- l(e.placeholder), l(""), l();
1896
- const C = l(), N = l(e.wrapText), P = l();
1897
- function E() {
1898
- const y = n.value.map((m) => ({
1899
- type: "Tag",
1900
- payload: m
1901
- }));
1902
- return r.value && y.push({
1903
- type: "AddButton"
1904
- }), y;
1905
- }
1906
- const O = l(E());
1907
- function w(y) {
1908
- n.value = y, O.value = E();
1909
- }
1910
- const M = x(() => O.value.findIndex((y) => y.type === "Input")), k = pn(e, t, n, O), {
1911
- dragstart: D,
1912
- dragenter: L,
1913
- dragover: T,
1914
- dragend: Y
1915
- } = k;
1916
- G(() => e.data, (y) => w(y));
1917
- const z = x(() => {
1918
- const y = {
1919
- "farris-tags": !0,
1920
- "farris-tags-checkable": a.value,
1921
- "farris-tags-nowrap": !N.value
1922
- };
1923
- return i.value.split(" ").reduce((m, W) => (m[W] = !0, m), y), y;
1924
- });
1925
- function F(y) {
1926
- const m = {
1927
- "farris-tag-item": !0,
1928
- "farris-tag-item-checked": a.value && y.checked,
1929
- "farris-tag-item-checkable": a.value,
1930
- "farris-tag-item-has-color": s.value,
1931
- "farris-tag-item-actived": f.value === y.name
1932
- };
1933
- if (u.value) {
1934
- const W = `farris-tag-item-${u.value}`;
1935
- m[W] = !0;
1936
- }
1937
- return m;
1938
- }
1939
- const H = x(() => {
1940
- const y = {};
1941
- return o.value && o.value.split(";").reduce((m, W) => {
1942
- const _ = W.split(":");
1943
- return m[_[0]] = _[1], m;
1944
- }, y), y;
1945
- });
1946
- function K(y, m) {
1947
- a.value && m.selectable && (m.checked = !m.checked, f.value = m.checked ? m.name : "", m.checked && n.value.filter((W) => W.name !== m.name).forEach((W) => {
1948
- W.checked = !m.checked;
1949
- }), t.emit("change", n.value), t.emit("selectionChange", m));
1950
- }
1951
- function I(y, m) {
1952
- let W;
1953
- switch (y.key) {
1954
- case "Backspace":
1955
- n.value = n.value.filter((_) => _.name !== m.name), t.emit("change", n.value);
1956
- break;
1957
- case "ArrowLeft":
1958
- W = Math.max(C.value.scrollLeft + 20, 0), C.value.scrollLeft = W;
1959
- break;
1960
- case "ArrowRight":
1961
- W = Math.max(C.value.scrollLeft - 20, 0), C.value.scrollLeft = W;
1962
- }
1963
- }
1964
- function R(y, m) {
1965
- const W = n.value.findIndex((_) => _.name === m.name);
1966
- if (W > -1) {
1967
- const [_] = n.value.splice(W, 1);
1968
- O.value = E(), t.emit("change", n.value), t.emit("remove", n.value, _, W);
1969
- }
1970
- y.stopPropagation();
1971
- }
1972
- const c = x(() => ({
1973
- "farris-tag-item": !0,
1974
- "farris-tag-add-button": !0,
1975
- "farris-tag-add-button-disabled": !g.value
1976
- }));
1977
- function S(y) {
1978
- }
1979
- function B() {
1980
- return b("li", {
1981
- class: c.value,
1982
- onClick: (y) => void 0
1983
- }, [b("span", {
1984
- class: "f-icon f-icon-amplification"
1985
- }, null), b("span", {
1986
- class: "farris-tag-add-text"
1987
- }, [h.value])]);
1988
- }
1989
- function $(y) {
1990
- if (y && !y.innerText) {
1991
- const m = M.value;
1992
- if (m > 0) {
1993
- const [W] = n.value.splice(m - 1, 1);
1994
- O.value.splice(m - 1, 1), t.emit("remove", n.value, W, m - 1);
1995
- }
1996
- }
1997
- }
1998
- function V(y, m, W) {
1999
- y > -1 && (n.value.splice(y, 0, {
2000
- name: m,
2001
- value: W,
2002
- selectable: a.value
2003
- }), O.value = E(), t.emit("change", n.value));
2004
- }
2005
- function U(y) {
2006
- if (y && y.innerText) {
2007
- const m = y.innerText, W = M.value;
2008
- V(W, m, m), y.innerText = "";
2009
- }
2010
- }
2011
- function J(y) {
2012
- const m = y.target;
2013
- m && (m.innerText ? U(m) : t.emit("change", n.value));
2014
- }
2015
- function de(y) {
2016
- y.key === "Enter" && U(y.target), y.key === "Backspace" && ($(y.target), se(() => {
2017
- P.value && P.value.focus();
2018
- }));
2019
- }
2020
- function fe() {
2021
- return b("li", {
2022
- class: "farris-tag-input-box"
2023
- }, [b("div", {
2024
- ref: P,
2025
- class: "form-control",
2026
- contenteditable: "true",
2027
- onKeyup: de,
2028
- onBlur: J
2029
- }, null)]);
2030
- }
2031
- function ve(y, m) {
2032
- return b("li", {
2033
- class: F(y),
2034
- style: H.value,
2035
- tabindex: 0,
2036
- id: y.name,
2037
- key: y.name,
2038
- onClick: (W) => K(W, y),
2039
- onKeydown: (W) => I(W, y),
2040
- draggable: "true",
2041
- onDragstart: (W) => D(W, y, m),
2042
- onDragenter: (W) => L(W, m),
2043
- onDragend: (W) => Y(W, y),
2044
- onDragover: (W) => T(W, m)
2045
- }, [b("div", {
2046
- title: y.name,
2047
- class: "tag-box"
2048
- }, [y.name]), v.value && b("span", {
2049
- class: "tag-delete"
2050
- }, [b("i", {
2051
- class: "f-icon f-icon-close",
2052
- onClick: (W) => R(W, y)
2053
- }, null)])]);
2054
- }
2055
- function ye() {
2056
- return O.value.map((y, m) => {
2057
- switch (y.type) {
2058
- case "Tag":
2059
- return ve(y.payload, m);
2060
- case "AddButton":
2061
- return B();
2062
- case "Input":
2063
- return fe();
2064
- }
2065
- });
2066
- }
2067
- const pe = x(() => ({
2068
- "farris-tags-item-container": !0,
2069
- "farris-tag-item-capsule": p.value === "capsule"
2070
- }));
2071
- function he(y) {
2072
- const m = Math.max(C.value.scrollLeft - y.deltaX, 0);
2073
- C.value.scrollLeft = m;
2074
- }
2075
- function me(y) {
2076
- const m = C.value, W = n.value.length - 1;
2077
- if (m) {
2078
- const _ = Array.from(m.children).filter((Q) => Q.className.indexOf("farris-tag-item") > -1).findIndex((Q) => {
2079
- const Z = Q.getBoundingClientRect(), oe = window.getComputedStyle(Q), le = parseInt(oe["margin-left"], 10) + Z.width + parseInt(oe["margin-right"], 10);
2080
- return Z.left + le > y;
2081
- });
2082
- if (_ > -1)
2083
- return _;
2084
- }
2085
- return W;
2086
- }
2087
- function be(y) {
2088
- if (d.value) {
2089
- const W = me(y.clientX) + 1, Q = O.value.filter((Z) => Z.type !== "Input");
2090
- Q.splice(W, 0, {
2091
- type: "Input"
2092
- }), O.value = Q, se(() => {
2093
- P.value && P.value.focus();
2094
- });
2095
- }
2096
- }
2097
- function ge(y) {
2098
- var W;
2099
- y.preventDefault(), y.stopPropagation();
2100
- const m = (W = y.dataTransfer) == null ? void 0 : W.getData("Text");
2101
- if (m) {
2102
- const _ = m.split(":"), Q = _[0], Z = _[1];
2103
- [...n.value].findIndex((re) => (console.log(`${re.value} === ${Z} is ${re.value === Z}`), re.value === Z)) > -1 || V(n.value.length, Q, Z);
2104
- }
2105
- }
2106
- function ke(y) {
2107
- y.preventDefault();
2108
- }
2109
- return () => b("div", {
2110
- class: z.value,
2111
- onClick: be,
2112
- onDrop: ge,
2113
- onDragover: ke
2114
- }, [b("ul", {
2115
- ref: C,
2116
- class: pe.value,
2117
- onWheel: (y) => he(y)
2118
- }, [ye()])]);
2119
- }
2120
- });
2121
- function mn(e, t, a) {
2122
- const i = l(e.separator), {
2123
- changeTextBoxValue: n
2124
- } = a, u = x(() => t.value ? t.value.split(i.value).map((s) => ({
2125
- name: s,
2126
- selectable: !0
2127
- })) : []);
2128
- function p(s) {
2129
- n(s.map((f) => f.name).join(i.value), !0);
2130
- }
2131
- return () => b(hn, {
2132
- class: "form-control",
2133
- data: u.value,
2134
- showClose: !0,
2135
- showInput: !0,
2136
- onChange: p
2137
- }, null);
2138
- }
2139
- function bn(e, t, a) {
2140
- const {
2141
- buttonClass: i,
2142
- onClickButton: n,
2143
- onMouseEnterButton: u,
2144
- onMouseLeaveButton: p
2145
- } = t, {
2146
- enableClearButton: s,
2147
- showClearButton: f,
2148
- onClearValue: o
2149
- } = a;
2150
- return () => b("div", {
2151
- class: i.value
2152
- }, [s.value && He(b("span", {
2153
- class: "input-group-text input-group-clear",
2154
- onClick: o
2155
- }, [b("i", {
2156
- class: "f-icon modal_close"
2157
- }, null)]), [[Ke, f.value]]), e.buttonContent && b("span", {
2158
- class: "input-group-text input-group-append-button",
2159
- innerHTML: e.buttonContent,
2160
- onClick: n,
2161
- onMouseenter: u,
2162
- onMouseleave: p
2163
- }, null)]);
2164
- }
2165
- const gn = {
2166
- title: { type: String },
2167
- placement: { type: String, default: "bottom" },
2168
- reference: {
2169
- type: Object
2170
- },
2171
- host: {
2172
- type: Object
2173
- },
2174
- leftBoundary: {
2175
- type: Object
2176
- },
2177
- rightBoundary: {
2178
- type: Object
2179
- },
2180
- visible: { type: Boolean, default: !1 },
2181
- class: { type: String },
2182
- offsetX: { type: Object, default: l(0) },
2183
- zIndex: { type: Number, default: -1 },
2184
- keepWidthWithReference: { type: Boolean, default: !1 },
2185
- fitContent: { type: Boolean, default: !1 },
2186
- minWidth: { type: Number, default: -1 }
2187
- };
2188
- function kn(e) {
2189
- const t = e.host ? e.host : "body", a = x(() => t === "body" ? 0 : t ? t.getBoundingClientRect().top : 0), i = x(() => t === "body" ? 0 : t ? t.getBoundingClientRect().left : 0), n = x(() => t === "body" ? document.body.getBoundingClientRect().width : t ? t.getBoundingClientRect().width - (e.rightBoundary ? e.rightBoundary.getBoundingClientRect().width : 0) : document.body.getBoundingClientRect().width);
2190
- return { host: t, hostLeft: i, hostTop: a, hostWidth: n };
2191
- }
2192
- function Tn(e, t, a, i) {
2193
- var K;
2194
- const n = l(0), u = l(((K = e.offsetX) == null ? void 0 : K.value) || 0), p = l(-1), s = l(-1), f = l(-1), o = l(e.placement), v = l(0), r = l(0), d = l(0), h = l(document.documentElement.scrollLeft), g = l(document.documentElement.scrollTop), { hostLeft: C, hostTop: N, hostWidth: P } = i;
2195
- G(e.offsetX, (I) => {
2196
- n.value = I - u.value;
2197
- });
2198
- const E = x(() => {
2199
- const I = {
2200
- left: `${r.value}px`,
2201
- top: `${d.value}px`,
2202
- transform: `translateX(${n.value}px)`
2203
- };
2204
- return e.zIndex !== -1 && (I["z-index"] = e.zIndex), p.value !== -1 && (I.width = `${p.value}px`), I;
2205
- }), O = x(() => ({
2206
- left: `${v.value}px`
2207
- }));
2208
- function w(I) {
2209
- if (I && e.keepWidthWithReference) {
2210
- const R = I.getBoundingClientRect();
2211
- p.value = Math.max(e.minWidth, R.width);
2212
- }
2213
- }
2214
- function M(I, R) {
2215
- const c = P.value - I.width - 4;
2216
- return c > 0 ? c : R;
2217
- }
2218
- function k(I, R, c) {
2219
- const S = v.value, B = R.left - C.value + R.width / 2 + h.value, $ = R.top - N.value - (I.height + c.height) + g.value;
2220
- return { popoverLeft: B, popoverTop: $, arrowLeft: S };
2221
- }
2222
- function D(I, R, c) {
2223
- return R.top - N.value + (R.height + c.height) + g.value;
2224
- }
2225
- function L(I, R) {
2226
- const c = M(R, I), S = I <= c ? v.value : I - c;
2227
- return { popoverLeft: Math.min(I, c), arrowLeft: S };
2228
- }
2229
- function T(I, R, c) {
2230
- const S = R.left - C.value + R.width / 2 - (c.width / 2 - (I.left - C.value)) + h.value, { arrowLeft: B, popoverLeft: $ } = L(S, I), V = D(I, R, c);
2231
- return { popoverLeft: $, popoverTop: V, arrowLeft: B };
2232
- }
2233
- function Y(I, R, c) {
2234
- const S = R.left - C.value + h.value, { arrowLeft: B, popoverLeft: $ } = L(S, I), V = D(I, R, c);
2235
- return { popoverLeft: $, popoverTop: V, arrowLeft: B };
2236
- }
2237
- const z = /* @__PURE__ */ new Map([
2238
- ["top", k],
2239
- ["bottom", T],
2240
- ["bottom-left", Y]
2241
- ]);
2242
- function F(I) {
2243
- var $;
2244
- const R = I.getBoundingClientRect();
2245
- s.value = R.top, f.value = R.left;
2246
- const c = t.value.getBoundingClientRect(), S = ($ = a.value) == null ? void 0 : $.getBoundingClientRect(), B = z.get(o.value);
2247
- if (B) {
2248
- const { arrowLeft: V, popoverLeft: U, popoverTop: J } = B(S, R, c);
2249
- v.value = V, r.value = U, d.value = J;
2250
- }
2251
- e.keepWidthWithReference && w(I);
2252
- }
2253
- function H(I) {
2254
- if (I) {
2255
- const R = I.getBoundingClientRect();
2256
- (R.left !== f.value || R.top !== s.value) && F(I);
2257
- }
2258
- }
2259
- return {
2260
- arrowStyle: O,
2261
- popoverStyle: E,
2262
- position: o,
2263
- popoverWidth: p,
2264
- fitToReference: w,
2265
- followToReferencePosition: H,
2266
- locateToReference: F
2267
- };
2268
- }
2269
- function Cn(e, t, a, i, n, u, p) {
2270
- const s = l(e.visible), f = x(() => s.value), { fitToReference: o, locateToReference: v } = p;
2271
- let r;
2272
- function d() {
2273
- s.value = !1, document.body.removeEventListener("click", r), t.emit("hidden");
2274
- }
2275
- r = (g) => {
2276
- if (!n.value.contains(g.target)) {
2277
- const C = n.value.closest(".popover");
2278
- C && C.removeEventListener("click", r), d();
2279
- }
2280
- };
2281
- async function h(g) {
2282
- if (i.value && a.value && g) {
2283
- s.value = !0, n.value = g, await se(), v(g), u.value && o(g), document.body.addEventListener("click", r);
2284
- const C = g.closest(".popover");
2285
- C && C.addEventListener("click", r), t.emit("shown");
2286
- }
2287
- }
2288
- return t.expose({ hide: d, show: h, shown: f }), { showPopover: s, hidePopverOnClickBodyHandler: r };
2289
- }
2290
- function Mn(e, t, a, i, n) {
2291
- const { popoverWidth: u, fitToReference: p, followToReferencePosition: s } = n;
2292
- function f() {
2293
- if (a.value) {
2294
- s(a.value);
2295
- const o = a.value.getBoundingClientRect();
2296
- i.value && o.width !== u.value && p(a.value);
2297
- }
2298
- }
2299
- return { onResize: f };
2300
- }
2301
- const Pn = /* @__PURE__ */ ee({
2302
- name: "FPopover",
2303
- props: gn,
2304
- emits: ["shown", "hidden"],
2305
- setup(e, t) {
2306
- const a = l(), i = l(), n = l(e.reference), u = l(e.keepWidthWithReference), p = x(() => !!e.title), s = kn(e), {
2307
- host: f
2308
- } = s, o = Tn(e, a, i, s), {
2309
- position: v,
2310
- arrowStyle: r,
2311
- popoverStyle: d,
2312
- fitToReference: h,
2313
- locateToReference: g
2314
- } = o, {
2315
- showPopover: C,
2316
- hidePopverOnClickBodyHandler: N
2317
- } = Cn(e, t, a, i, n, u, o), {
2318
- onResize: P
2319
- } = Mn(e, t, n, u, o), E = x(() => {
2320
- const w = `popover in popover-${v.value}`, M = `bs-popover-${v.value}`, k = {
2321
- "popover-fitcontent": e.fitContent
2322
- };
2323
- return k[w] = !0, k[M] = !0, (e.class || "").split(" ").reduce((L, T) => (L[T] = !0, L), k), k;
2324
- }), O = x(() => ({
2325
- "popover-content": !0,
2326
- "popover-body": !0
2327
- }));
2328
- return De(() => {
2329
- e.reference && g(n.value), u.value && h(n.value), window.addEventListener("resize", P);
2330
- }), ze(() => {
2331
- document.body.removeEventListener("click", N), window.removeEventListener("resize", P);
2332
- }), () => b(qe, {
2333
- to: f
2334
- }, {
2335
- default: () => {
2336
- var w;
2337
- return [He(b("div", {
2338
- ref: i,
2339
- class: E.value,
2340
- style: d.value,
2341
- onClick: (M) => {
2342
- M.stopPropagation();
2343
- }
2344
- }, [b("div", {
2345
- ref: a,
2346
- class: "popover-arrow arrow",
2347
- style: r.value
2348
- }, null), p.value && b("h3", {
2349
- class: "popover-title popover-header"
2350
- }, [e.title]), b("div", {
2351
- class: O.value
2352
- }, [t.slots.default && ((w = t.slots) == null ? void 0 : w.default())])]), [[Ke, C.value]])];
2353
- }
2354
- });
2355
- }
2356
- });
2357
- function wn(e, t, a) {
2358
- const i = l(e.popupMinWidth), {
2359
- hidePopup: n,
2360
- popoverRef: u
2361
- } = a;
2362
- return () => b(Pn, {
2363
- ref: u,
2364
- visible: !0,
2365
- placement: "bottom-left",
2366
- host: e.popupHost,
2367
- "keep-width-with-reference": !0,
2368
- fitContent: !0,
2369
- "right-boundary": e.popupRightBoundary,
2370
- minWidth: i.value,
2371
- offsetX: e.popupOffsetX,
2372
- onHidden: n
2373
- }, {
2374
- default: () => {
2375
- var p, s;
2376
- return [(s = (p = t.slots).default) == null ? void 0 : s.call(p)];
2377
- }
2378
- });
2379
- }
2380
- const Ze = /* @__PURE__ */ ee({
2381
- name: "FButtonEdit",
2382
- props: Qe,
2383
- emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
2384
- setup(e, t) {
2385
- const a = l(), i = l(e.customClass), n = l(e.modelValue), u = fn(e, t, a), {
2386
- shouldPopupContent: p,
2387
- hidePopup: s
2388
- } = u, f = sn(e, t, a, u), o = l(""), v = dn(e, t, n, o, u), {
2389
- hasFocusedTextBox: r,
2390
- commitValue: d,
2391
- inputGroupClass: h
2392
- } = v, g = cn(e, t, n, r, o, v), {
2393
- onMouseEnterTextBox: C,
2394
- onMouseLeaveTextBox: N
2395
- } = g, P = x(() => {
2396
- const D = {
2397
- "f-button-edit": !0,
2398
- "f-cmp-inputgroup": !0,
2399
- "f-button-edit-nowrap": !e.wrapText
2400
- };
2401
- return i.value && i.value.split(" ").reduce((L, T) => (L[T] = !0, L), D), D;
2402
- });
2403
- function E() {
2404
- return e.multiSelect && e.inputType === "tag" ? mn(e, n, v) : vn(e, n, v);
2405
- }
2406
- let O = E();
2407
- G([() => e.multiSelect, () => e.inputType], () => {
2408
- O = E();
2409
- });
2410
- const w = bn(e, f, g), M = wn(e, t, u), k = {
2411
- commitValue: d,
2412
- elementRef: a,
2413
- hidePopup: s
2414
- };
2415
- return De(() => {
2416
- a.value.componentInstance = k;
2417
- }), t.expose(k), () => b(Ve, null, [b("div", ue(t.attrs, {
2418
- ref: a,
2419
- class: P.value,
2420
- id: e.id
2421
- }), [b("div", {
2422
- class: h.value,
2423
- onMouseenter: C,
2424
- onMouseleave: N
2425
- }, [O(), w()])]), p.value && M()]);
2426
- }
2427
- }), Ce = /* @__PURE__ */ ee({
2428
- name: "FDatePicker",
2429
- props: We,
2430
- emits: ["update:modelValue", "datePicked"],
2431
- setup(e, t) {
2432
- const a = '<span class="f-icon f-icon-date"></span>', i = l(e.modelValue), n = l(null);
2433
- function u() {
2434
- }
2435
- function p(f) {
2436
- var o;
2437
- i.value = f, t.emit("update:modelValue", f), t.emit("datePicked", f), (o = n.value) == null || o.commitValue(f);
2438
- }
2439
- function s() {
2440
- t.emit("update:modelValue", i.value);
2441
- }
2442
- return () => b(Ze, {
2443
- ref: n,
2444
- modelValue: i.value,
2445
- "onUpdate:modelValue": (f) => i.value = f,
2446
- buttonContent: a,
2447
- enableClear: !0,
2448
- onClear: s,
2449
- onClickButton: u
2450
- }, {
2451
- default: () => [b(xe, {
2452
- onDatePicked: (f) => p(f)
2453
- }, null)]
2454
- });
2455
- }
2456
- });
2457
- function Bn(e, t, a) {
2458
- var E;
2459
- const i = a == null ? void 0 : a.checkIsInFixedContextRules(), n = a && a.getStyles && a.getStyles() || "";
2460
- function u() {
2461
- return !(t.schema.componentType || i);
2462
- }
2463
- function p() {
2464
- return !1;
2465
- }
2466
- function s() {
2467
- return !(t.schema.componentType || i);
2468
- }
2469
- function f() {
2470
- return !!i;
2471
- }
2472
- function o(O) {
2473
- if (!O)
2474
- return null;
2475
- if (O.schema.type === "Component")
2476
- return O;
2477
- const w = o(O.parent);
2478
- return w || null;
2479
- }
2480
- function v(O, w, M) {
2481
- return !!a && a.canAccepts();
2482
- }
2483
- function r() {
2484
- return t.schema.label || t.schema.title || t.schema.name;
2485
- }
2486
- function d() {
2487
- }
2488
- function h(O, w) {
2489
- w && (a == null || a.onAcceptMovedChildElement(w));
2490
- }
2491
- function g(O, w) {
2492
- const M = String(O.getAttribute("data-controltype"));
2493
- return Et(M);
2494
- }
2495
- function C(O) {
2496
- return O.contents ? O.contents.length : -1;
2497
- }
2498
- function N(O) {
2499
- }
2500
- const P = {
2501
- canMove: u(),
2502
- canSelectParent: p(),
2503
- canDelete: s(),
2504
- canNested: !f(),
2505
- contents: t.schema.contents,
2506
- elementRef: e,
2507
- parent: (E = t.parent) == null ? void 0 : E.componentInstance.value,
2508
- schema: t.schema,
2509
- styles: n,
2510
- canAccepts: v,
2511
- getBelongedComponentInstance: o,
2512
- getDraggingDisplayText: r,
2513
- getDragScopeElement: d,
2514
- onAcceptMovedChildElement: h,
2515
- onAcceptNewChildElement: g,
2516
- onAddNewChildElement: C,
2517
- onChildElementMovedOut: N,
2518
- triggerBelongedComponentToMoveWhenMoved: !!a && a.triggerBelongedComponentToMoveWhenMoved
2519
- };
2520
- return l(P);
2521
- }
2522
- const xn = /* @__PURE__ */ ee({
2523
- name: "FDatePickerDesign",
2524
- props: We,
2525
- emits: ["update:modelValue", "datePicked"],
2526
- setup(e, t) {
2527
- const a = '<span class="f-icon f-icon-date"></span>', i = l(e.modelValue), n = l(), u = wt("design-item-context"), p = Bn(n, u);
2528
- return De(() => {
2529
- n.value.componentInstance = p;
2530
- }), t.expose(p.value), () => b(Ze, {
2531
- ref: n,
2532
- modelValue: i.value,
2533
- "onUpdate:modelValue": (s) => i.value = s,
2534
- buttonContent: a,
2535
- enableClear: !0
2536
- }, null);
2537
- }
2538
- }), $n = {
2539
- install(e) {
2540
- e.component(Me.name, Me).component(Pe.name, Pe).component(xe.name, xe).component(we.name, we).component(Be.name, Be).component(Ce.name, Ce);
2541
- },
2542
- register(e, t) {
2543
- e["date-picker"] = Ce, t["date-picker"] = Fe;
2544
- },
2545
- registerDesigner(e, t) {
2546
- e["date-picker"] = xn, t["date-picker"] = Fe;
2547
- }
2548
- };
2549
- export {
2550
- Me as DatePickerCalendar,
2551
- X as MonthTag,
2552
- Bt as datePickerCalendarProps,
2553
- We as datePickerProps,
2554
- $n as default,
2555
- _e as defaultNameOfMonths,
2556
- Fe as propsResolver,
2557
- ce as weekDays
2558
- };