@farris/ui-vue 1.7.0-beta.4 → 1.7.0

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 (563) hide show
  1. package/components/accordion/index.esm.js +61 -312
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +56 -1481
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +8 -752
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-edit/index.esm.js +358 -351
  8. package/components/button-edit/index.umd.cjs +1 -1
  9. package/components/button-group/index.esm.js +110 -266
  10. package/components/button-group/index.umd.cjs +1 -1
  11. package/components/calendar/index.esm.js +1371 -1284
  12. package/components/calendar/index.umd.cjs +30 -30
  13. package/components/code-editor/index.esm.js +169 -237
  14. package/components/code-editor/index.umd.cjs +3 -3
  15. package/components/collection-property-editor/index.esm.js +382 -351
  16. package/components/collection-property-editor/index.umd.cjs +2 -2
  17. package/components/color-picker/index.esm.js +502 -812
  18. package/components/color-picker/index.umd.cjs +1 -1
  19. package/components/combo-list/index.esm.js +197 -183
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-tree/index.esm.js +199 -364
  22. package/components/combo-tree/index.umd.cjs +1 -1
  23. package/components/comment/index.esm.js +1501 -1465
  24. package/components/comment/index.umd.cjs +6 -6
  25. package/components/common/index.esm.js +136 -100
  26. package/components/common/index.umd.cjs +1 -1
  27. package/components/component/index.css +1 -1
  28. package/components/component/index.esm.js +2662 -3647
  29. package/components/component/index.umd.cjs +1 -8
  30. package/components/condition/index.esm.js +492 -2449
  31. package/components/condition/index.umd.cjs +1 -8
  32. package/components/content-container/index.esm.js +252 -241
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/data-grid/index.esm.js +505 -409
  35. package/components/data-grid/index.umd.cjs +1 -1
  36. package/components/data-view/index.esm.js +3326 -3258
  37. package/components/data-view/index.umd.cjs +1 -1
  38. package/components/date-picker/index.esm.js +1709 -1634
  39. package/components/date-picker/index.umd.cjs +1 -1
  40. package/components/designer-canvas/index.css +1 -1
  41. package/components/designer-canvas/index.esm.js +2693 -3021
  42. package/components/designer-canvas/index.umd.cjs +1 -1
  43. package/components/designer-outline/index.esm.js +102 -98
  44. package/components/designer-outline/index.umd.cjs +1 -1
  45. package/components/drawer/index.esm.js +409 -358
  46. package/components/drawer/index.umd.cjs +2 -2
  47. package/components/dropdown/index.esm.js +124 -373
  48. package/components/dropdown/index.umd.cjs +2 -2
  49. package/components/dynamic-form/index.esm.js +760 -573
  50. package/components/dynamic-form/index.umd.cjs +1 -1
  51. package/components/dynamic-resolver/index.esm.js +354 -327
  52. package/components/dynamic-resolver/index.umd.cjs +2 -2
  53. package/components/dynamic-view/index.esm.js +413 -359
  54. package/components/dynamic-view/index.umd.cjs +1 -1
  55. package/components/event-parameter/index.esm.js +1 -1
  56. package/components/event-parameter/index.umd.cjs +1 -1
  57. package/components/events-editor/index.css +1 -1
  58. package/components/events-editor/index.esm.js +1535 -1941
  59. package/components/events-editor/index.umd.cjs +3 -3
  60. package/components/expression-editor/index.css +1 -1
  61. package/components/expression-editor/index.esm.js +2 -7317
  62. package/components/expression-editor/index.umd.cjs +1 -427
  63. package/components/field-selector/index.esm.js +13 -13
  64. package/components/field-selector/index.umd.cjs +1 -1
  65. package/components/fieldset/index.esm.js +140 -123
  66. package/components/fieldset/index.umd.cjs +1 -1
  67. package/components/filter-bar/index.esm.js +1021 -1012
  68. package/components/filter-bar/index.umd.cjs +2 -2
  69. package/components/filter-condition-editor/index.css +1 -1
  70. package/components/filter-condition-editor/index.esm.js +448 -9000
  71. package/components/filter-condition-editor/index.umd.cjs +1 -427
  72. package/components/html-template/index.esm.js +167 -147
  73. package/components/html-template/index.umd.cjs +1 -1
  74. package/components/image/index.esm.js +372 -352
  75. package/components/image/index.umd.cjs +2 -2
  76. package/components/image-cropper/index.esm.js +361 -615
  77. package/components/image-cropper/index.umd.cjs +1 -1
  78. package/components/json-editor/index.esm.js +247 -325
  79. package/components/json-editor/index.umd.cjs +1 -1
  80. package/components/language-textbox/index.esm.js +835 -421
  81. package/components/language-textbox/index.umd.cjs +2 -2
  82. package/components/layout/index.esm.js +163 -549
  83. package/components/layout/index.umd.cjs +1 -1
  84. package/components/list-nav/index.esm.js +39 -836
  85. package/components/list-nav/index.umd.cjs +1 -1
  86. package/components/list-view/index.esm.js +690 -474
  87. package/components/list-view/index.umd.cjs +6 -8
  88. package/components/loading/index.esm.js +128 -97
  89. package/components/loading/index.umd.cjs +2 -2
  90. package/components/locale/index.esm.js +361 -340
  91. package/components/locale/index.umd.cjs +5 -5
  92. package/components/lookup/index.css +1 -1
  93. package/components/lookup/index.esm.js +3396 -3368
  94. package/components/lookup/index.umd.cjs +1 -1
  95. package/components/mapping-editor/index.css +1 -1
  96. package/components/mapping-editor/index.esm.js +1684 -1584
  97. package/components/mapping-editor/index.umd.cjs +1 -1
  98. package/components/menu-lookup/index.esm.js +586 -609
  99. package/components/menu-lookup/index.umd.cjs +6 -6
  100. package/components/message-box/index.css +1 -1
  101. package/components/message-box/index.esm.js +357 -353
  102. package/components/message-box/index.umd.cjs +1 -1
  103. package/components/modal/index.esm.js +325 -318
  104. package/components/modal/index.umd.cjs +1 -1
  105. package/components/nav/index.esm.js +31 -311
  106. package/components/nav/index.umd.cjs +1 -1
  107. package/components/number-range/index.esm.js +189 -1633
  108. package/components/number-range/index.umd.cjs +1 -1
  109. package/components/number-spinner/index.esm.js +195 -175
  110. package/components/number-spinner/index.umd.cjs +1 -1
  111. package/components/order/index.esm.js +761 -1057
  112. package/components/order/index.umd.cjs +7 -9
  113. package/components/page-footer/index.esm.js +48 -331
  114. package/components/page-footer/index.umd.cjs +1 -1
  115. package/components/page-header/index.esm.js +92 -73
  116. package/components/page-header/index.umd.cjs +1 -1
  117. package/components/pagination/index.esm.js +195 -472
  118. package/components/pagination/index.umd.cjs +1 -1
  119. package/components/popover/index.esm.js +77 -76
  120. package/components/popover/index.umd.cjs +1 -1
  121. package/components/progress/index.esm.js +148 -353
  122. package/components/progress/index.umd.cjs +3 -3
  123. package/components/property-editor/index.esm.js +74 -68
  124. package/components/property-editor/index.umd.cjs +1 -1
  125. package/components/property-panel/index.esm.js +872 -1800
  126. package/components/property-panel/index.umd.cjs +5 -12
  127. package/components/query-solution/index.css +1 -1
  128. package/components/query-solution/index.esm.js +4223 -6205
  129. package/components/query-solution/index.umd.cjs +6 -13
  130. package/components/response-layout/index.esm.js +206 -170
  131. package/components/response-layout/index.umd.cjs +1 -1
  132. package/components/response-layout-editor/index.esm.js +1 -1
  133. package/components/response-layout-editor/index.umd.cjs +1 -1
  134. package/components/response-toolbar/index.esm.js +378 -359
  135. package/components/response-toolbar/index.umd.cjs +1 -1
  136. package/components/schema-selector/index.esm.js +2491 -2653
  137. package/components/schema-selector/index.umd.cjs +8 -10
  138. package/components/search-box/index.esm.js +79 -240
  139. package/components/search-box/index.umd.cjs +1 -1
  140. package/components/section/index.esm.js +304 -289
  141. package/components/section/index.umd.cjs +2 -2
  142. package/components/smoke-detector/index.esm.js +8 -179
  143. package/components/smoke-detector/index.umd.cjs +1 -1
  144. package/components/sort-condition-editor/index.esm.js +4 -9421
  145. package/components/sort-condition-editor/index.umd.cjs +1 -427
  146. package/components/splitter/index.esm.js +142 -1171
  147. package/components/splitter/index.umd.cjs +1 -1
  148. package/components/step/index.esm.js +48 -47
  149. package/components/step/index.umd.cjs +1 -1
  150. package/components/tabs/index.esm.js +460 -513
  151. package/components/tabs/index.umd.cjs +1 -1
  152. package/components/text/index.esm.js +73 -217
  153. package/components/text/index.umd.cjs +1 -1
  154. package/components/time-picker/index.esm.js +380 -375
  155. package/components/time-picker/index.umd.cjs +1 -1
  156. package/components/tooltip/index.esm.js +40 -40
  157. package/components/tooltip/index.umd.cjs +1 -1
  158. package/components/transfer/index.esm.js +551 -771
  159. package/components/transfer/index.umd.cjs +6 -8
  160. package/components/tree-grid/index.esm.js +250 -235
  161. package/components/tree-grid/index.umd.cjs +1 -1
  162. package/components/tree-view/index.esm.js +157 -314
  163. package/components/tree-view/index.umd.cjs +1 -1
  164. package/components/uploader/index.esm.js +634 -1125
  165. package/components/uploader/index.umd.cjs +2 -2
  166. package/components/verify-detail/index.esm.js +106 -359
  167. package/components/verify-detail/index.umd.cjs +1 -1
  168. package/components/video/index.esm.js +89 -222
  169. package/components/video/index.umd.cjs +1 -1
  170. package/components/weather/index.esm.js +199 -290
  171. package/components/weather/index.umd.cjs +1 -1
  172. package/designer/accordion/index.esm.js +257 -0
  173. package/designer/accordion/index.umd.cjs +1 -0
  174. package/designer/avatar/index.esm.js +227 -0
  175. package/designer/avatar/index.umd.cjs +1 -0
  176. package/designer/binding-selector/index.esm.js +792 -0
  177. package/designer/binding-selector/index.umd.cjs +1 -0
  178. package/designer/button-edit/index.esm.js +210 -203
  179. package/designer/button-edit/index.umd.cjs +1 -1
  180. package/designer/button-group/index.esm.js +282 -0
  181. package/designer/button-group/index.umd.cjs +1 -0
  182. package/designer/checkbox/index.esm.js +51 -45
  183. package/designer/checkbox/index.umd.cjs +1 -1
  184. package/designer/checkbox-group/index.esm.js +89 -83
  185. package/designer/checkbox-group/index.umd.cjs +1 -1
  186. package/designer/code-editor/index.esm.js +75 -0
  187. package/designer/code-editor/index.umd.cjs +1 -0
  188. package/designer/color-picker/index.esm.js +1096 -0
  189. package/designer/color-picker/index.umd.cjs +1 -0
  190. package/designer/combo-list/index.esm.js +1095 -0
  191. package/designer/combo-list/index.umd.cjs +1 -0
  192. package/designer/combo-tree/index.esm.js +186 -0
  193. package/designer/combo-tree/index.umd.cjs +1 -0
  194. package/designer/component/index.css +1 -0
  195. package/designer/component/index.esm.js +5002 -0
  196. package/designer/component/index.umd.cjs +1 -0
  197. package/designer/condition/index.esm.js +1899 -0
  198. package/designer/condition/index.umd.cjs +1 -0
  199. package/designer/data-grid/index.esm.js +5580 -6213
  200. package/designer/data-grid/index.umd.cjs +10 -17
  201. package/designer/data-view/index.esm.js +212 -191
  202. package/designer/data-view/index.umd.cjs +2 -2
  203. package/designer/date-picker/index.esm.js +621 -607
  204. package/designer/date-picker/index.umd.cjs +1 -1
  205. package/designer/drawer/index.css +1 -1
  206. package/designer/drawer/index.esm.js +869 -620
  207. package/designer/drawer/index.umd.cjs +2 -2
  208. package/designer/dropdown/index.esm.js +261 -0
  209. package/designer/dropdown/index.umd.cjs +1 -0
  210. package/designer/dynamic-form/index.esm.js +1166 -1384
  211. package/designer/dynamic-form/index.umd.cjs +1 -8
  212. package/designer/expression-editor/index.css +1 -0
  213. package/designer/expression-editor/index.esm.js +7006 -0
  214. package/designer/expression-editor/index.umd.cjs +427 -0
  215. package/designer/farris-designer.all.esm.js +10309 -10617
  216. package/designer/farris-designer.all.umd.cjs +17 -19
  217. package/designer/filter-condition-editor/index.css +1 -0
  218. package/designer/filter-condition-editor/index.esm.js +4795 -0
  219. package/designer/filter-condition-editor/index.umd.cjs +1 -0
  220. package/designer/html-template/index.esm.js +718 -0
  221. package/designer/html-template/index.umd.cjs +1 -0
  222. package/designer/image-cropper/index.esm.js +765 -0
  223. package/designer/image-cropper/index.umd.cjs +1 -0
  224. package/designer/index.css +1 -1
  225. package/designer/input-group/index.esm.js +72 -66
  226. package/designer/input-group/index.umd.cjs +1 -1
  227. package/designer/json-editor/index.esm.js +83 -0
  228. package/designer/json-editor/index.umd.cjs +1 -0
  229. package/designer/language-textbox/index.esm.js +783 -0
  230. package/designer/language-textbox/index.umd.cjs +8 -0
  231. package/designer/layout/index.esm.js +430 -0
  232. package/designer/layout/index.umd.cjs +1 -0
  233. package/designer/list-nav/index.esm.js +802 -0
  234. package/designer/list-nav/index.umd.cjs +1 -0
  235. package/designer/list-view/index.esm.js +864 -844
  236. package/designer/list-view/index.umd.cjs +7 -9
  237. package/designer/lookup/index.esm.js +2083 -0
  238. package/designer/lookup/index.umd.cjs +1 -0
  239. package/designer/menu-lookup/index.esm.js +46 -0
  240. package/designer/menu-lookup/index.umd.cjs +1 -0
  241. package/designer/modal/index.esm.js +137 -29
  242. package/designer/modal/index.umd.cjs +1 -1
  243. package/designer/nav/index.esm.js +284 -0
  244. package/designer/nav/index.umd.cjs +1 -0
  245. package/designer/number-range/index.esm.js +1616 -0
  246. package/designer/number-range/index.umd.cjs +1 -0
  247. package/designer/number-spinner/index.esm.js +19 -17
  248. package/designer/number-spinner/index.umd.cjs +1 -1
  249. package/designer/order/index.css +1 -0
  250. package/designer/order/index.esm.js +2196 -0
  251. package/designer/order/index.umd.cjs +18 -0
  252. package/designer/page-footer/index.esm.js +290 -0
  253. package/designer/page-footer/index.umd.cjs +1 -0
  254. package/designer/page-header/index.esm.js +1003 -0
  255. package/designer/page-header/index.umd.cjs +1 -0
  256. package/designer/pagination/index.esm.js +591 -0
  257. package/designer/pagination/index.umd.cjs +1 -0
  258. package/designer/progress/index.esm.js +213 -0
  259. package/designer/progress/index.umd.cjs +1 -0
  260. package/designer/radio-group/index.esm.js +978 -949
  261. package/designer/radio-group/index.umd.cjs +1 -1
  262. package/designer/response-layout-editor/index.esm.js +1 -1
  263. package/designer/response-layout-editor/index.umd.cjs +1 -1
  264. package/designer/response-toolbar/index.esm.js +1471 -1416
  265. package/designer/response-toolbar/index.umd.cjs +1 -1
  266. package/designer/search-box/index.esm.js +245 -0
  267. package/designer/search-box/index.umd.cjs +1 -0
  268. package/designer/section/index.esm.js +83 -78
  269. package/designer/section/index.umd.cjs +1 -1
  270. package/designer/smoke-detector/index.css +1 -0
  271. package/designer/smoke-detector/index.esm.js +178 -0
  272. package/designer/smoke-detector/index.umd.cjs +1 -0
  273. package/designer/sort-condition-editor/index.esm.js +138 -0
  274. package/designer/sort-condition-editor/index.umd.cjs +1 -0
  275. package/designer/splitter/index.esm.js +1120 -0
  276. package/designer/splitter/index.umd.cjs +1 -0
  277. package/designer/step/index.esm.js +226 -0
  278. package/designer/step/index.umd.cjs +1 -0
  279. package/designer/switch/index.esm.js +10 -10
  280. package/designer/switch/index.umd.cjs +1 -1
  281. package/designer/tabs/index.css +1 -1
  282. package/designer/tabs/index.esm.js +2447 -2698
  283. package/designer/tabs/index.umd.cjs +2 -2
  284. package/designer/text/index.esm.js +147 -0
  285. package/designer/text/index.umd.cjs +1 -0
  286. package/designer/time-picker/index.esm.js +101 -100
  287. package/designer/time-picker/index.umd.cjs +1 -1
  288. package/designer/transfer/index.esm.js +254 -0
  289. package/designer/transfer/index.umd.cjs +1 -0
  290. package/designer/tree-grid/index.esm.js +473 -810
  291. package/designer/tree-grid/index.umd.cjs +1 -1
  292. package/designer/tree-view/index.esm.js +313 -0
  293. package/designer/tree-view/index.umd.cjs +1 -0
  294. package/designer/uploader/index.esm.js +1190 -0
  295. package/designer/uploader/index.umd.cjs +2 -0
  296. package/designer/verify-detail/index.esm.js +258 -0
  297. package/designer/verify-detail/index.umd.cjs +1 -0
  298. package/designer/video/index.esm.js +136 -0
  299. package/designer/video/index.umd.cjs +1 -0
  300. package/designer/weather/index.css +1 -0
  301. package/designer/weather/index.esm.js +6244 -0
  302. package/designer/weather/index.umd.cjs +14 -0
  303. package/farris.all.esm.js +69941 -70514
  304. package/farris.all.umd.cjs +117 -117
  305. package/index.css +1 -1
  306. package/locales/filter-bar/ui/en.json +2 -1
  307. package/locales/filter-bar/ui/zh-CHS.json +2 -1
  308. package/locales/filter-bar/ui/zh-CHT.json +2 -1
  309. package/locales/query-solution/ui/en.json +1 -1
  310. package/locales/query-solution/ui/zh-CHS.json +1 -1
  311. package/locales/query-solution/ui/zh-CHT.json +1 -1
  312. package/locales/ui/en.json +3 -2
  313. package/locales/ui/zh-CHS.json +3 -2
  314. package/locales/ui/zh-CHT.json +3 -2
  315. package/package.json +1 -1
  316. package/types/accordion/designer.d.ts +44 -0
  317. package/types/accordion/src/accordion.props.d.ts +0 -1
  318. package/types/accordion/src/components/accordion-item.props.d.ts +0 -1
  319. package/types/avatar/designer.d.ts +29 -0
  320. package/types/avatar/src/avatar.props.d.ts +0 -1
  321. package/types/avatar/src/property-config/avatar.property-config.d.ts +1 -1
  322. package/types/{expression-editor/index.d.ts → binding-selector/designer.d.ts} +6 -6
  323. package/types/binding-selector/index.d.ts +0 -54
  324. package/types/binding-selector/src/binding-selector.props.d.ts +0 -1
  325. package/types/button-group/designer.d.ts +29 -0
  326. package/types/button-group/index.d.ts +15 -0
  327. package/types/button-group/src/button-group.props.d.ts +0 -1
  328. package/types/calendar/src/calendar.props.d.ts +1 -0
  329. package/types/calendar/src/components/month/month-view.component.d.ts +6 -6
  330. package/types/calendar/src/composition/use-calendar-events.d.ts +1 -1
  331. package/types/calendar/src/composition/use-locales.d.ts +1 -0
  332. package/types/calendar/src/property-config/calendar.property-config.d.ts +2 -0
  333. package/types/capsule/src/capsule-item.component.d.ts +6 -6
  334. package/types/checkbox/designer.d.ts +2 -0
  335. package/types/checkbox-group/designer.d.ts +2 -0
  336. package/types/code-editor/designer.d.ts +5 -0
  337. package/types/code-editor/index.d.ts +0 -1
  338. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  339. package/types/code-editor/src/code-textbox.props.d.ts +0 -2
  340. package/types/color-picker/designer.d.ts +29 -0
  341. package/types/color-picker/index.d.ts +0 -15
  342. package/types/color-picker/src/color-picker.props.d.ts +0 -1
  343. package/types/combo-list/designer.d.ts +29 -0
  344. package/types/combo-list/src/combo-list.props.d.ts +1 -0
  345. package/types/combo-list/src/designer/combo-list.design.props.d.ts +6 -0
  346. package/types/combo-tree/designer.d.ts +5 -0
  347. package/types/combo-tree/src/combo-tree.props.d.ts +0 -1
  348. package/types/combo-tree/src/components/tree-container.component.d.ts +7 -7
  349. package/types/comment/src/comment.props.d.ts +4 -0
  350. package/types/comment/src/designer/comment.design.props.d.ts +4 -0
  351. package/types/common/index.d.ts +1 -0
  352. package/types/common/utils/use-mobile.d.ts +1 -0
  353. package/types/component/designer.d.ts +35 -0
  354. package/types/component/index.d.ts +0 -2
  355. package/types/component/src/component.props.d.ts +0 -8
  356. package/types/component/src/composition/field-tree-builder.d.ts +1 -0
  357. package/types/components.d.ts +2 -6
  358. package/types/condition/designer.d.ts +56 -0
  359. package/types/condition/index.d.ts +0 -55
  360. package/types/content-container/index.d.ts +3 -2
  361. package/types/content-container/src/content-container.props.d.ts +1 -0
  362. package/types/data-grid/designer.d.ts +2 -0
  363. package/types/data-grid/index.d.ts +5 -2
  364. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  365. package/types/data-grid/src/designer/grid-field-editor.props.d.ts +1 -0
  366. package/types/data-view/composition/types.d.ts +7 -1
  367. package/types/data-view/composition/use-mobile.d.ts +3 -0
  368. package/types/data-view/designer/property-config/use-command-option.d.ts +11 -0
  369. package/types/data-view/index.d.ts +1 -0
  370. package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +3 -3
  371. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -0
  372. package/types/designer-outline/src/designer-outline.component.d.ts +3 -3
  373. package/types/designer-outline/src/types.d.ts +5 -1
  374. package/types/drawer/designer.d.ts +12 -0
  375. package/types/drawer/src/designer/drawer-toolbar.design.props.d.ts +12 -0
  376. package/types/drawer/src/designer/drawer.design.component.d.ts +8 -0
  377. package/types/drawer/src/designer/drawer.design.props.d.ts +4 -0
  378. package/types/drawer/src/schema/schema-mapper.d.ts +1 -0
  379. package/types/drawer/src/schema/schema-resolver.d.ts +1 -0
  380. package/types/dropdown/designer.d.ts +6 -0
  381. package/types/dropdown/index.d.ts +27 -6
  382. package/types/dropdown/src/dropdown.item.component.d.ts +2 -2
  383. package/types/dropdown/src/dropdown.props.d.ts +0 -1
  384. package/types/dynamic-form/designer.d.ts +3 -1
  385. package/types/dynamic-form/index.d.ts +4 -3
  386. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -6
  387. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +11 -0
  388. package/types/dynamic-resolver/index.d.ts +3 -0
  389. package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
  390. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  391. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  392. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  393. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  394. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  395. package/types/dynamic-view/src/components/maps.d.ts +883 -1
  396. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  397. package/types/dynamic-view/src/types.d.ts +4 -0
  398. package/types/expression-editor/designer.d.ts +9 -0
  399. package/types/field-selector/index.d.ts +2 -1
  400. package/types/fieldset/index.d.ts +3 -2
  401. package/types/fieldset/src/fieldset.props.d.ts +1 -0
  402. package/types/filter-bar/src/composition/types.d.ts +1 -1
  403. package/types/filter-bar/src/composition/use-size.d.ts +2 -2
  404. package/types/filter-bar/src/locale/locale.d.ts +1 -0
  405. package/types/filter-condition-editor/designer.d.ts +10 -0
  406. package/types/filter-condition-editor/index.d.ts +0 -9
  407. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  408. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  409. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +0 -1
  410. package/types/html-template/designer.d.ts +31 -0
  411. package/types/html-template/src/designer/html-template.design.props.d.ts +9 -0
  412. package/types/html-template/src/html-template.props.d.ts +2 -0
  413. package/types/image-cropper/designer.d.ts +4 -0
  414. package/types/image-cropper/src/image-cropper.props.d.ts +0 -1
  415. package/types/index.d.ts +0 -1
  416. package/types/input-group/designer.d.ts +2 -0
  417. package/types/json-editor/designer.d.ts +5 -0
  418. package/types/json-editor/src/components/editable-combo/editable-combo.component.d.ts +3 -3
  419. package/types/json-editor/src/components/editable-combo/popup-container.component.d.ts +3 -3
  420. package/types/json-editor/src/json-editor.props.d.ts +0 -1
  421. package/types/language-textbox/index.d.ts +6 -6
  422. package/types/language-textbox/src/language-textbox.component.d.ts +2 -2
  423. package/types/language-textbox/src/language-textbox.props.d.ts +1 -0
  424. package/types/layout/index.d.ts +1 -0
  425. package/types/layout/src/components/layout-pane.props.d.ts +0 -1
  426. package/types/layout/src/layout.props.d.ts +0 -1
  427. package/types/list-nav/index.d.ts +24 -5
  428. package/types/list-nav/src/list-nav.props.d.ts +0 -1
  429. package/types/list-view/index.d.ts +1 -0
  430. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  431. package/types/list-view/src/designer/list-view.design.props.d.ts +1 -0
  432. package/types/list-view/src/list-view-table.props.d.ts +1 -0
  433. package/types/loading/index.d.ts +6 -6
  434. package/types/loading/src/loading.component.d.ts +3 -3
  435. package/types/lookup/index.d.ts +1 -1
  436. package/types/lookup/src/components/popup-container.component.d.ts +6 -6
  437. package/types/lookup/src/lookup.props.d.ts +1 -0
  438. package/types/lookup/src/property-config/external-lookup.property-config.d.ts +1 -0
  439. package/types/lookup/src/property-config/lookup.property-config.d.ts +1 -0
  440. package/types/menu-lookup/designer.d.ts +5 -0
  441. package/types/menu-lookup/src/menu-lookup.props.d.ts +0 -1
  442. package/types/message-box/index.d.ts +6 -6
  443. package/types/message-box/src/message-box.component.d.ts +3 -3
  444. package/types/modal/designer.d.ts +2 -0
  445. package/types/modal/index.d.ts +30 -24
  446. package/types/modal/src/modal.component.d.ts +15 -12
  447. package/types/modal/src/modal.props.d.ts +4 -0
  448. package/types/nav/designer.d.ts +6 -0
  449. package/types/nav/index.d.ts +24 -20
  450. package/types/nav/src/nav.props.d.ts +0 -1
  451. package/types/notify/index.d.ts +3 -3
  452. package/types/notify/src/notify.component.d.ts +2 -2
  453. package/types/number-range/designer.d.ts +29 -0
  454. package/types/number-range/src/number-range.props.d.ts +0 -1
  455. package/types/number-spinner/src/composition/types.d.ts +1 -0
  456. package/types/order/designer.d.ts +6 -0
  457. package/types/order/index.d.ts +36 -5
  458. package/types/order/src/designer/order.design.component.d.ts +1 -1
  459. package/types/order/src/order.props.d.ts +0 -1
  460. package/types/page-footer/designer.d.ts +6 -0
  461. package/types/page-footer/index.d.ts +0 -2
  462. package/types/page-footer/src/page-footer.props.d.ts +0 -1
  463. package/types/page-header/index.d.ts +3 -2
  464. package/types/page-header/src/designer/page-header.design.props.d.ts +20 -0
  465. package/types/page-header/src/page-header.props.d.ts +2 -0
  466. package/types/pagination/designer.d.ts +29 -0
  467. package/types/pagination/index.d.ts +15 -0
  468. package/types/pagination/src/pagination.props.d.ts +0 -1
  469. package/types/popover/index.d.ts +3 -3
  470. package/types/popover/src/composition/use-resize.d.ts +1 -1
  471. package/types/popover/src/popover.component.d.ts +2 -2
  472. package/types/progress/designer.d.ts +29 -0
  473. package/types/progress/src/progress.props.d.ts +0 -1
  474. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  475. package/types/query-solution/index.d.ts +4 -4
  476. package/types/query-solution/src/composition/types.d.ts +8 -2
  477. package/types/query-solution/src/composition/use-header.d.ts +2 -2
  478. package/types/query-solution/src/composition/use-solution-utils.d.ts +1 -1
  479. package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
  480. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -0
  481. package/types/query-solution/src/designer/solution-preset-config/solution-preset.props.d.ts +1 -0
  482. package/types/query-solution/src/query-solution.props.d.ts +1 -0
  483. package/types/radio-group/designer.d.ts +4 -1
  484. package/types/radio-group/src/designer/item-collection-editor.props.d.ts +1 -0
  485. package/types/response-layout/index.d.ts +3 -2
  486. package/types/response-layout/src/component/response-layout-item.props.d.ts +1 -0
  487. package/types/response-layout/src/property-config/response-layout-splitter/response-layout-splitter.props.d.ts +1 -0
  488. package/types/response-layout/src/response-layout.props.d.ts +1 -0
  489. package/types/response-toolbar/designer.d.ts +2 -1
  490. package/types/response-toolbar/src/designer/response-toolbar.design.props.d.ts +1 -0
  491. package/types/search-box/designer.d.ts +52 -0
  492. package/types/search-box/index.d.ts +1 -17
  493. package/types/search-box/src/components/search-box-container.component.d.ts +3 -3
  494. package/types/search-box/src/search-box.props.d.ts +0 -1
  495. package/types/section/designer.d.ts +1 -0
  496. package/types/smoke-detector/designer.d.ts +6 -0
  497. package/types/smoke-detector/index.d.ts +0 -2
  498. package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -1
  499. package/types/sort-condition-editor/designer.d.ts +9 -0
  500. package/types/sort-condition-editor/index.d.ts +2 -7
  501. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +0 -1
  502. package/types/splitter/designer.d.ts +32 -0
  503. package/types/splitter/index.d.ts +1 -0
  504. package/types/splitter/src/components/splitter-pane.props.d.ts +0 -1
  505. package/types/splitter/src/splitter.props.d.ts +0 -1
  506. package/types/step/designer.d.ts +6 -0
  507. package/types/tabs/designer.d.ts +1 -0
  508. package/types/tabs/index.d.ts +0 -1
  509. package/types/tabs/src/composition/types.d.ts +1 -0
  510. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +1 -0
  511. package/types/tags/index.d.ts +3 -3
  512. package/types/tags/src/tags.component.d.ts +1 -1
  513. package/types/text/designer.d.ts +6 -0
  514. package/types/text/index.d.ts +24 -20
  515. package/types/text/src/text.props.d.ts +0 -1
  516. package/types/time-picker/src/components/time.component.d.ts +3 -3
  517. package/types/transfer/designer.d.ts +35 -0
  518. package/types/transfer/src/transfer.props.d.ts +0 -1
  519. package/types/tree-view/designer.d.ts +29 -0
  520. package/types/tree-view/src/tree-view.props.d.ts +0 -1
  521. package/types/uploader/designer.d.ts +141 -0
  522. package/types/uploader/index.d.ts +6 -6
  523. package/types/uploader/src/components/upload-progress.component.d.ts +3 -3
  524. package/types/uploader/src/uploader.component.d.ts +3 -3
  525. package/types/uploader/src/uploader.props.d.ts +0 -1
  526. package/types/verify-detail/designer.d.ts +6 -0
  527. package/types/verify-detail/index.d.ts +58 -5
  528. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  529. package/types/verify-detail/src/verify-detail.props.d.ts +0 -1
  530. package/types/video/designer.d.ts +6 -0
  531. package/types/video/index.d.ts +24 -20
  532. package/types/video/src/video.props.d.ts +0 -1
  533. package/components/sort-condition-editor/index.css +0 -1
  534. package/package.zip +0 -0
  535. package/types/designer-toolbox/index.d.ts +0 -3
  536. package/types/designer-toolbox/src/toolbox.component.d.ts +0 -14
  537. package/types/designer-toolbox/src/toolbox.props.d.ts +0 -29
  538. package/types/designer-toolbox/src/types.d.ts +0 -21
  539. package/types/designer.d.ts +0 -13
  540. package/types/flow-canvas/index.d.ts +0 -3
  541. package/types/flow-canvas/src/components/flow-node-item.component.d.ts +0 -8
  542. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +0 -3
  543. package/types/flow-canvas/src/composition/types.d.ts +0 -42
  544. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +0 -2
  545. package/types/flow-canvas/src/composition/use-connections.d.ts +0 -2
  546. package/types/flow-canvas/src/composition/use-curve.d.ts +0 -4
  547. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +0 -2
  548. package/types/flow-canvas/src/composition/use-drawing.d.ts +0 -4
  549. package/types/flow-canvas/src/flow-canvas.component.d.ts +0 -8
  550. package/types/flow-canvas/src/flow-canvas.props.d.ts +0 -3
  551. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +0 -2
  552. package/types/layout/src/designer/layout-pane.design.component.d.ts +0 -8
  553. package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -2
  554. package/types/layout/src/designer/layout.design.component.d.ts +0 -8
  555. package/types/layout/src/schema/schema-mapper.d.ts +0 -2
  556. package/types/layout/src/schema/schema-resolver.d.ts +0 -2
  557. package/types/list-nav/src/designer/use-designer-rules.d.ts +0 -2
  558. package/types/list-nav/src/property-config/list-nav.property-config.d.ts +0 -8
  559. package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
  560. package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
  561. /package/{components → designer}/condition/index.css +0 -0
  562. /package/{components → designer}/uploader/index.css +0 -0
  563. /package/types/{list-nav/src/designer/list-nav.design.component.d.ts → dynamic-form/src/component/form-control/form-control.component.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
- var et = Object.defineProperty;
2
- var tt = (t, r, e) => r in t ? et(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
- var o = (t, r, e) => tt(t, typeof r != "symbol" ? r + "" : r, e);
4
- import { ref as O, defineComponent as Ve, watch as C, computed as $, onMounted as rt, createVNode as x, mergeProps as nt } from "vue";
5
- import at from "../button-edit/index.esm.js";
6
- import { useReqAnimationFrame as st } from "../common/index.esm.js";
7
- import { LocaleService as it } from "../locale/index.esm.js";
8
- const ot = {
1
+ var tt = Object.defineProperty;
2
+ var rt = (t, r, e) => r in t ? tt(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var o = (t, r, e) => rt(t, typeof r != "symbol" ? r + "" : r, e);
4
+ import { ref as O, defineComponent as Ee, watch as C, computed as $, onMounted as nt, createVNode as x, mergeProps as at } from "vue";
5
+ import st from "../button-edit/index.esm.js";
6
+ import { useReqAnimationFrame as it, isMobilePhone as ot } from "../common/index.esm.js";
7
+ import { LocaleService as ut } from "../locale/index.esm.js";
8
+ const ct = {
9
9
  /**
10
10
  * 组件值,这个是与指定的format格式相对应的值
11
11
  */
@@ -34,7 +34,7 @@ const ot = {
34
34
  disabled: { type: Boolean, default: !1 },
35
35
  readonly: { type: Boolean, default: !1 },
36
36
  editable: { type: Boolean, default: !0 }
37
- }, ut = {
37
+ }, lt = {
38
38
  modelValue: {
39
39
  type: String,
40
40
  default: ""
@@ -103,14 +103,14 @@ function N(t) {
103
103
  function T(t, r) {
104
104
  return t instanceof Date ? new t.constructor(r) : new Date(r);
105
105
  }
106
- function Ee(t, r) {
106
+ function Ne(t, r) {
107
107
  const e = N(t);
108
108
  return isNaN(r) ? T(t, NaN) : (r && e.setDate(e.getDate() + r), e);
109
109
  }
110
- const Ne = 6048e5, ct = 864e5, lt = 6e4, dt = 36e5, ft = 1e3;
111
- let ht = {};
110
+ const We = 6048e5, dt = 864e5, ft = 6e4, ht = 36e5, mt = 1e3;
111
+ let wt = {};
112
112
  function z() {
113
- return ht;
113
+ return wt;
114
114
  }
115
115
  function R(t, r) {
116
116
  var l, m, w, f;
@@ -120,7 +120,7 @@ function R(t, r) {
120
120
  function U(t) {
121
121
  return R(t, { weekStartsOn: 1 });
122
122
  }
123
- function We(t) {
123
+ function Ce(t) {
124
124
  const r = N(t), e = r.getFullYear(), n = T(t, 0);
125
125
  n.setFullYear(e + 1, 0, 4), n.setHours(0, 0, 0, 0);
126
126
  const a = U(n), s = T(t, 0);
@@ -128,7 +128,7 @@ function We(t) {
128
128
  const c = U(s);
129
129
  return r.getTime() >= a.getTime() ? e + 1 : r.getTime() >= c.getTime() ? e : e - 1;
130
130
  }
131
- function Me(t) {
131
+ function Pe(t) {
132
132
  const r = N(t);
133
133
  return r.setHours(0, 0, 0, 0), r;
134
134
  }
@@ -146,28 +146,28 @@ function oe(t) {
146
146
  );
147
147
  return e.setUTCFullYear(r.getFullYear()), +t - +e;
148
148
  }
149
- function mt(t, r) {
150
- const e = Me(t), n = Me(r), a = +e - oe(e), s = +n - oe(n);
151
- return Math.round((a - s) / ct);
149
+ function yt(t, r) {
150
+ const e = Pe(t), n = Pe(r), a = +e - oe(e), s = +n - oe(n);
151
+ return Math.round((a - s) / dt);
152
152
  }
153
- function wt(t) {
154
- const r = We(t), e = T(t, 0);
153
+ function pt(t) {
154
+ const r = Ce(t), e = T(t, 0);
155
155
  return e.setFullYear(r, 0, 4), e.setHours(0, 0, 0, 0), U(e);
156
156
  }
157
- function yt(t) {
157
+ function bt(t) {
158
158
  return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
159
159
  }
160
- function Ce(t) {
161
- if (!yt(t) && typeof t != "number")
160
+ function _e(t) {
161
+ if (!bt(t) && typeof t != "number")
162
162
  return !1;
163
163
  const r = N(t);
164
164
  return !isNaN(Number(r));
165
165
  }
166
- function pt(t) {
166
+ function gt(t) {
167
167
  const r = N(t), e = T(t, 0);
168
168
  return e.setFullYear(r.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
169
169
  }
170
- const bt = {
170
+ const xt = {
171
171
  lessThanXSeconds: {
172
172
  one: "less than a second",
173
173
  other: "less than {{count}} seconds"
@@ -229,53 +229,53 @@ const bt = {
229
229
  one: "almost 1 year",
230
230
  other: "almost {{count}} years"
231
231
  }
232
- }, gt = (t, r, e) => {
232
+ }, vt = (t, r, e) => {
233
233
  let n;
234
- const a = bt[t];
234
+ const a = xt[t];
235
235
  return typeof a == "string" ? n = a : r === 1 ? n = a.one : n = a.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "in " + n : n + " ago" : n;
236
236
  };
237
- function fe(t) {
237
+ function he(t) {
238
238
  return (r = {}) => {
239
239
  const e = r.width ? String(r.width) : t.defaultWidth;
240
240
  return t.formats[e] || t.formats[t.defaultWidth];
241
241
  };
242
242
  }
243
- const xt = {
243
+ const Mt = {
244
244
  full: "EEEE, MMMM do, y",
245
245
  long: "MMMM do, y",
246
246
  medium: "MMM d, y",
247
247
  short: "MM/dd/yyyy"
248
- }, vt = {
248
+ }, Ht = {
249
249
  full: "h:mm:ss a zzzz",
250
250
  long: "h:mm:ss a z",
251
251
  medium: "h:mm:ss a",
252
252
  short: "h:mm a"
253
- }, Ht = {
253
+ }, Pt = {
254
254
  full: "{{date}} 'at' {{time}}",
255
255
  long: "{{date}} 'at' {{time}}",
256
256
  medium: "{{date}}, {{time}}",
257
257
  short: "{{date}}, {{time}}"
258
- }, Mt = {
259
- date: fe({
260
- formats: xt,
258
+ }, Tt = {
259
+ date: he({
260
+ formats: Mt,
261
261
  defaultWidth: "full"
262
262
  }),
263
- time: fe({
264
- formats: vt,
263
+ time: he({
264
+ formats: Ht,
265
265
  defaultWidth: "full"
266
266
  }),
267
- dateTime: fe({
268
- formats: Ht,
267
+ dateTime: he({
268
+ formats: Pt,
269
269
  defaultWidth: "full"
270
270
  })
271
- }, Pt = {
271
+ }, kt = {
272
272
  lastWeek: "'last' eeee 'at' p",
273
273
  yesterday: "'yesterday at' p",
274
274
  today: "'today at' p",
275
275
  tomorrow: "'tomorrow at' p",
276
276
  nextWeek: "eeee 'at' p",
277
277
  other: "P"
278
- }, Tt = (t, r, e, n) => Pt[t];
278
+ }, Dt = (t, r, e, n) => kt[t];
279
279
  function ee(t) {
280
280
  return (r, e) => {
281
281
  const n = e != null && e.context ? String(e.context) : "standalone";
@@ -291,15 +291,15 @@ function ee(t) {
291
291
  return a[s];
292
292
  };
293
293
  }
294
- const kt = {
294
+ const Ot = {
295
295
  narrow: ["B", "A"],
296
296
  abbreviated: ["BC", "AD"],
297
297
  wide: ["Before Christ", "Anno Domini"]
298
- }, Dt = {
298
+ }, Yt = {
299
299
  narrow: ["1", "2", "3", "4"],
300
300
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
301
301
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
302
- }, Ot = {
302
+ }, Vt = {
303
303
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
304
304
  abbreviated: [
305
305
  "Jan",
@@ -329,7 +329,7 @@ const kt = {
329
329
  "November",
330
330
  "December"
331
331
  ]
332
- }, Yt = {
332
+ }, Et = {
333
333
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
334
334
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
335
335
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -342,7 +342,7 @@ const kt = {
342
342
  "Friday",
343
343
  "Saturday"
344
344
  ]
345
- }, Vt = {
345
+ }, Nt = {
346
346
  narrow: {
347
347
  am: "a",
348
348
  pm: "p",
@@ -373,7 +373,7 @@ const kt = {
373
373
  evening: "evening",
374
374
  night: "night"
375
375
  }
376
- }, Et = {
376
+ }, Wt = {
377
377
  narrow: {
378
378
  am: "a",
379
379
  pm: "p",
@@ -404,7 +404,7 @@ const kt = {
404
404
  evening: "in the evening",
405
405
  night: "at night"
406
406
  }
407
- }, Nt = (t, r) => {
407
+ }, Ct = (t, r) => {
408
408
  const e = Number(t), n = e % 100;
409
409
  if (n > 20 || n < 10)
410
410
  switch (n % 10) {
@@ -416,29 +416,29 @@ const kt = {
416
416
  return e + "rd";
417
417
  }
418
418
  return e + "th";
419
- }, Wt = {
420
- ordinalNumber: Nt,
419
+ }, _t = {
420
+ ordinalNumber: Ct,
421
421
  era: ee({
422
- values: kt,
422
+ values: Ot,
423
423
  defaultWidth: "wide"
424
424
  }),
425
425
  quarter: ee({
426
- values: Dt,
426
+ values: Yt,
427
427
  defaultWidth: "wide",
428
428
  argumentCallback: (t) => t - 1
429
429
  }),
430
430
  month: ee({
431
- values: Ot,
431
+ values: Vt,
432
432
  defaultWidth: "wide"
433
433
  }),
434
434
  day: ee({
435
- values: Yt,
435
+ values: Et,
436
436
  defaultWidth: "wide"
437
437
  }),
438
438
  dayPeriod: ee({
439
- values: Vt,
439
+ values: Nt,
440
440
  defaultWidth: "wide",
441
- formattingValues: Et,
441
+ formattingValues: Wt,
442
442
  defaultFormattingWidth: "wide"
443
443
  })
444
444
  };
@@ -447,9 +447,9 @@ function te(t) {
447
447
  const n = e.width, a = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], s = r.match(a);
448
448
  if (!s)
449
449
  return null;
450
- const c = s[0], l = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], m = Array.isArray(l) ? _t(l, (y) => y.test(c)) : (
450
+ const c = s[0], l = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], m = Array.isArray(l) ? Lt(l, (y) => y.test(c)) : (
451
451
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
452
- Ct(l, (y) => y.test(c))
452
+ qt(l, (y) => y.test(c))
453
453
  );
454
454
  let w;
455
455
  w = t.valueCallback ? t.valueCallback(m) : m, w = e.valueCallback ? (
@@ -460,17 +460,17 @@ function te(t) {
460
460
  return { value: w, rest: f };
461
461
  };
462
462
  }
463
- function Ct(t, r) {
463
+ function qt(t, r) {
464
464
  for (const e in t)
465
465
  if (Object.prototype.hasOwnProperty.call(t, e) && r(t[e]))
466
466
  return e;
467
467
  }
468
- function _t(t, r) {
468
+ function Lt(t, r) {
469
469
  for (let e = 0; e < t.length; e++)
470
470
  if (r(t[e]))
471
471
  return e;
472
472
  }
473
- function qt(t) {
473
+ function Ft(t) {
474
474
  return (r, e = {}) => {
475
475
  const n = r.match(t.matchPattern);
476
476
  if (!n) return null;
@@ -482,23 +482,23 @@ function qt(t) {
482
482
  return { value: c, rest: l };
483
483
  };
484
484
  }
485
- const Lt = /^(\d+)(th|st|nd|rd)?/i, Ft = /\d+/i, It = {
485
+ const It = /^(\d+)(th|st|nd|rd)?/i, St = /\d+/i, Rt = {
486
486
  narrow: /^(b|a)/i,
487
487
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
488
488
  wide: /^(before christ|before common era|anno domini|common era)/i
489
- }, St = {
489
+ }, Bt = {
490
490
  any: [/^b/i, /^(a|c)/i]
491
- }, Rt = {
491
+ }, Qt = {
492
492
  narrow: /^[1234]/i,
493
493
  abbreviated: /^q[1234]/i,
494
494
  wide: /^[1234](th|st|nd|rd)? quarter/i
495
- }, Bt = {
495
+ }, At = {
496
496
  any: [/1/i, /2/i, /3/i, /4/i]
497
- }, Qt = {
497
+ }, Xt = {
498
498
  narrow: /^[jfmasond]/i,
499
499
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
500
500
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
501
- }, At = {
501
+ }, Gt = {
502
502
  narrow: [
503
503
  /^j/i,
504
504
  /^f/i,
@@ -527,18 +527,18 @@ const Lt = /^(\d+)(th|st|nd|rd)?/i, Ft = /\d+/i, It = {
527
527
  /^n/i,
528
528
  /^d/i
529
529
  ]
530
- }, Xt = {
530
+ }, jt = {
531
531
  narrow: /^[smtwf]/i,
532
532
  short: /^(su|mo|tu|we|th|fr|sa)/i,
533
533
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
534
534
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
535
- }, Gt = {
535
+ }, $t = {
536
536
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
537
537
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
538
- }, jt = {
538
+ }, Ut = {
539
539
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
540
540
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
541
- }, $t = {
541
+ }, zt = {
542
542
  any: {
543
543
  am: /^a/i,
544
544
  pm: /^p/i,
@@ -549,64 +549,64 @@ const Lt = /^(\d+)(th|st|nd|rd)?/i, Ft = /\d+/i, It = {
549
549
  evening: /evening/i,
550
550
  night: /night/i
551
551
  }
552
- }, Ut = {
553
- ordinalNumber: qt({
554
- matchPattern: Lt,
555
- parsePattern: Ft,
552
+ }, Zt = {
553
+ ordinalNumber: Ft({
554
+ matchPattern: It,
555
+ parsePattern: St,
556
556
  valueCallback: (t) => parseInt(t, 10)
557
557
  }),
558
558
  era: te({
559
- matchPatterns: It,
559
+ matchPatterns: Rt,
560
560
  defaultMatchWidth: "wide",
561
- parsePatterns: St,
561
+ parsePatterns: Bt,
562
562
  defaultParseWidth: "any"
563
563
  }),
564
564
  quarter: te({
565
- matchPatterns: Rt,
565
+ matchPatterns: Qt,
566
566
  defaultMatchWidth: "wide",
567
- parsePatterns: Bt,
567
+ parsePatterns: At,
568
568
  defaultParseWidth: "any",
569
569
  valueCallback: (t) => t + 1
570
570
  }),
571
571
  month: te({
572
- matchPatterns: Qt,
572
+ matchPatterns: Xt,
573
573
  defaultMatchWidth: "wide",
574
- parsePatterns: At,
574
+ parsePatterns: Gt,
575
575
  defaultParseWidth: "any"
576
576
  }),
577
577
  day: te({
578
- matchPatterns: Xt,
578
+ matchPatterns: jt,
579
579
  defaultMatchWidth: "wide",
580
- parsePatterns: Gt,
580
+ parsePatterns: $t,
581
581
  defaultParseWidth: "any"
582
582
  }),
583
583
  dayPeriod: te({
584
- matchPatterns: jt,
584
+ matchPatterns: Ut,
585
585
  defaultMatchWidth: "any",
586
- parsePatterns: $t,
586
+ parsePatterns: zt,
587
587
  defaultParseWidth: "any"
588
588
  })
589
- }, _e = {
589
+ }, qe = {
590
590
  code: "en-US",
591
- formatDistance: gt,
592
- formatLong: Mt,
593
- formatRelative: Tt,
594
- localize: Wt,
595
- match: Ut,
591
+ formatDistance: vt,
592
+ formatLong: Tt,
593
+ formatRelative: Dt,
594
+ localize: _t,
595
+ match: Zt,
596
596
  options: {
597
597
  weekStartsOn: 0,
598
598
  firstWeekContainsDate: 1
599
599
  }
600
600
  };
601
- function zt(t) {
601
+ function Jt(t) {
602
602
  const r = N(t);
603
- return mt(r, pt(r)) + 1;
603
+ return yt(r, gt(r)) + 1;
604
604
  }
605
- function qe(t) {
606
- const r = N(t), e = +U(r) - +wt(r);
607
- return Math.round(e / Ne) + 1;
605
+ function Le(t) {
606
+ const r = N(t), e = +U(r) - +pt(r);
607
+ return Math.round(e / We) + 1;
608
608
  }
609
- function be(t, r) {
609
+ function ge(t, r) {
610
610
  var f, y, i, p;
611
611
  const e = N(t), n = e.getFullYear(), a = z(), s = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((y = (f = r == null ? void 0 : r.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, c = T(t, 0);
612
612
  c.setFullYear(n + 1, 0, s), c.setHours(0, 0, 0, 0);
@@ -615,16 +615,16 @@ function be(t, r) {
615
615
  const w = R(m, r);
616
616
  return e.getTime() >= l.getTime() ? n + 1 : e.getTime() >= w.getTime() ? n : n - 1;
617
617
  }
618
- function Zt(t, r) {
618
+ function Kt(t, r) {
619
619
  var l, m, w, f;
620
- const e = z(), n = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((m = (l = r == null ? void 0 : r.locale) == null ? void 0 : l.options) == null ? void 0 : m.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((f = (w = e.locale) == null ? void 0 : w.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, a = be(t, r), s = T(t, 0);
620
+ const e = z(), n = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((m = (l = r == null ? void 0 : r.locale) == null ? void 0 : l.options) == null ? void 0 : m.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((f = (w = e.locale) == null ? void 0 : w.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, a = ge(t, r), s = T(t, 0);
621
621
  return s.setFullYear(a, 0, n), s.setHours(0, 0, 0, 0), R(s, r);
622
622
  }
623
- function Le(t, r) {
624
- const e = N(t), n = +R(e, r) - +Zt(e, r);
625
- return Math.round(n / Ne) + 1;
623
+ function Fe(t, r) {
624
+ const e = N(t), n = +R(e, r) - +Kt(e, r);
625
+ return Math.round(n / We) + 1;
626
626
  }
627
- function H(t, r) {
627
+ function M(t, r) {
628
628
  const e = t < 0 ? "-" : "", n = Math.abs(t).toString().padStart(r, "0");
629
629
  return e + n;
630
630
  }
@@ -632,16 +632,16 @@ const S = {
632
632
  // Year
633
633
  y(t, r) {
634
634
  const e = t.getFullYear(), n = e > 0 ? e : 1 - e;
635
- return H(r === "yy" ? n % 100 : n, r.length);
635
+ return M(r === "yy" ? n % 100 : n, r.length);
636
636
  },
637
637
  // Month
638
638
  M(t, r) {
639
639
  const e = t.getMonth();
640
- return r === "M" ? String(e + 1) : H(e + 1, 2);
640
+ return r === "M" ? String(e + 1) : M(e + 1, 2);
641
641
  },
642
642
  // Day of the month
643
643
  d(t, r) {
644
- return H(t.getDate(), r.length);
644
+ return M(t.getDate(), r.length);
645
645
  },
646
646
  // AM or PM
647
647
  a(t, r) {
@@ -661,26 +661,26 @@ const S = {
661
661
  },
662
662
  // Hour [1-12]
663
663
  h(t, r) {
664
- return H(t.getHours() % 12 || 12, r.length);
664
+ return M(t.getHours() % 12 || 12, r.length);
665
665
  },
666
666
  // Hour [0-23]
667
667
  H(t, r) {
668
- return H(t.getHours(), r.length);
668
+ return M(t.getHours(), r.length);
669
669
  },
670
670
  // Minute
671
671
  m(t, r) {
672
- return H(t.getMinutes(), r.length);
672
+ return M(t.getMinutes(), r.length);
673
673
  },
674
674
  // Second
675
675
  s(t, r) {
676
- return H(t.getSeconds(), r.length);
676
+ return M(t.getSeconds(), r.length);
677
677
  },
678
678
  // Fraction of second
679
679
  S(t, r) {
680
680
  const e = r.length, n = t.getMilliseconds(), a = Math.trunc(
681
681
  n * Math.pow(10, e - 3)
682
682
  );
683
- return H(a, r.length);
683
+ return M(a, r.length);
684
684
  }
685
685
  }, j = {
686
686
  midnight: "midnight",
@@ -689,7 +689,7 @@ const S = {
689
689
  afternoon: "afternoon",
690
690
  evening: "evening",
691
691
  night: "night"
692
- }, Pe = {
692
+ }, Te = {
693
693
  // Era
694
694
  G: function(t, r, e) {
695
695
  const n = t.getFullYear() > 0 ? 1 : 0;
@@ -715,17 +715,17 @@ const S = {
715
715
  },
716
716
  // Local week-numbering year
717
717
  Y: function(t, r, e, n) {
718
- const a = be(t, n), s = a > 0 ? a : 1 - a;
718
+ const a = ge(t, n), s = a > 0 ? a : 1 - a;
719
719
  if (r === "YY") {
720
720
  const c = s % 100;
721
- return H(c, 2);
721
+ return M(c, 2);
722
722
  }
723
- return r === "Yo" ? e.ordinalNumber(s, { unit: "year" }) : H(s, r.length);
723
+ return r === "Yo" ? e.ordinalNumber(s, { unit: "year" }) : M(s, r.length);
724
724
  },
725
725
  // ISO week-numbering year
726
726
  R: function(t, r) {
727
- const e = We(t);
728
- return H(e, r.length);
727
+ const e = Ce(t);
728
+ return M(e, r.length);
729
729
  },
730
730
  // Extended year. This is a single number designating the year of this calendar system.
731
731
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -738,7 +738,7 @@ const S = {
738
738
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
739
739
  u: function(t, r) {
740
740
  const e = t.getFullYear();
741
- return H(e, r.length);
741
+ return M(e, r.length);
742
742
  },
743
743
  // Quarter
744
744
  Q: function(t, r, e) {
@@ -747,7 +747,7 @@ const S = {
747
747
  case "Q":
748
748
  return String(n);
749
749
  case "QQ":
750
- return H(n, 2);
750
+ return M(n, 2);
751
751
  case "Qo":
752
752
  return e.ordinalNumber(n, { unit: "quarter" });
753
753
  case "QQQ":
@@ -775,7 +775,7 @@ const S = {
775
775
  case "q":
776
776
  return String(n);
777
777
  case "qq":
778
- return H(n, 2);
778
+ return M(n, 2);
779
779
  case "qo":
780
780
  return e.ordinalNumber(n, { unit: "quarter" });
781
781
  case "qqq":
@@ -827,7 +827,7 @@ const S = {
827
827
  case "L":
828
828
  return String(n + 1);
829
829
  case "LL":
830
- return H(n + 1, 2);
830
+ return M(n + 1, 2);
831
831
  case "Lo":
832
832
  return e.ordinalNumber(n + 1, { unit: "month" });
833
833
  case "LLL":
@@ -847,13 +847,13 @@ const S = {
847
847
  },
848
848
  // Local week of year
849
849
  w: function(t, r, e, n) {
850
- const a = Le(t, n);
851
- return r === "wo" ? e.ordinalNumber(a, { unit: "week" }) : H(a, r.length);
850
+ const a = Fe(t, n);
851
+ return r === "wo" ? e.ordinalNumber(a, { unit: "week" }) : M(a, r.length);
852
852
  },
853
853
  // ISO week of year
854
854
  I: function(t, r, e) {
855
- const n = qe(t);
856
- return r === "Io" ? e.ordinalNumber(n, { unit: "week" }) : H(n, r.length);
855
+ const n = Le(t);
856
+ return r === "Io" ? e.ordinalNumber(n, { unit: "week" }) : M(n, r.length);
857
857
  },
858
858
  // Day of the month
859
859
  d: function(t, r, e) {
@@ -861,8 +861,8 @@ const S = {
861
861
  },
862
862
  // Day of year
863
863
  D: function(t, r, e) {
864
- const n = zt(t);
865
- return r === "Do" ? e.ordinalNumber(n, { unit: "dayOfYear" }) : H(n, r.length);
864
+ const n = Jt(t);
865
+ return r === "Do" ? e.ordinalNumber(n, { unit: "dayOfYear" }) : M(n, r.length);
866
866
  },
867
867
  // Day of week
868
868
  E: function(t, r, e) {
@@ -900,7 +900,7 @@ const S = {
900
900
  case "e":
901
901
  return String(s);
902
902
  case "ee":
903
- return H(s, 2);
903
+ return M(s, 2);
904
904
  case "eo":
905
905
  return e.ordinalNumber(s, { unit: "day" });
906
906
  case "eee":
@@ -933,7 +933,7 @@ const S = {
933
933
  case "c":
934
934
  return String(s);
935
935
  case "cc":
936
- return H(s, r.length);
936
+ return M(s, r.length);
937
937
  case "co":
938
938
  return e.ordinalNumber(s, { unit: "day" });
939
939
  case "ccc":
@@ -966,7 +966,7 @@ const S = {
966
966
  case "i":
967
967
  return String(a);
968
968
  case "ii":
969
- return H(a, r.length);
969
+ return M(a, r.length);
970
970
  case "io":
971
971
  return e.ordinalNumber(a, { unit: "day" });
972
972
  case "iii":
@@ -1089,12 +1089,12 @@ const S = {
1089
1089
  // Hour [0-11]
1090
1090
  K: function(t, r, e) {
1091
1091
  const n = t.getHours() % 12;
1092
- return r === "Ko" ? e.ordinalNumber(n, { unit: "hour" }) : H(n, r.length);
1092
+ return r === "Ko" ? e.ordinalNumber(n, { unit: "hour" }) : M(n, r.length);
1093
1093
  },
1094
1094
  // Hour [1-24]
1095
1095
  k: function(t, r, e) {
1096
1096
  let n = t.getHours();
1097
- return n === 0 && (n = 24), r === "ko" ? e.ordinalNumber(n, { unit: "hour" }) : H(n, r.length);
1097
+ return n === 0 && (n = 24), r === "ko" ? e.ordinalNumber(n, { unit: "hour" }) : M(n, r.length);
1098
1098
  },
1099
1099
  // Minute
1100
1100
  m: function(t, r, e) {
@@ -1115,7 +1115,7 @@ const S = {
1115
1115
  return "Z";
1116
1116
  switch (r) {
1117
1117
  case "X":
1118
- return ke(n);
1118
+ return De(n);
1119
1119
  case "XXXX":
1120
1120
  case "XX":
1121
1121
  return Q(n);
@@ -1130,7 +1130,7 @@ const S = {
1130
1130
  const n = t.getTimezoneOffset();
1131
1131
  switch (r) {
1132
1132
  case "x":
1133
- return ke(n);
1133
+ return De(n);
1134
1134
  case "xxxx":
1135
1135
  case "xx":
1136
1136
  return Q(n);
@@ -1147,7 +1147,7 @@ const S = {
1147
1147
  case "O":
1148
1148
  case "OO":
1149
1149
  case "OOO":
1150
- return "GMT" + Te(n, ":");
1150
+ return "GMT" + ke(n, ":");
1151
1151
  case "OOOO":
1152
1152
  default:
1153
1153
  return "GMT" + Q(n, ":");
@@ -1160,7 +1160,7 @@ const S = {
1160
1160
  case "z":
1161
1161
  case "zz":
1162
1162
  case "zzz":
1163
- return "GMT" + Te(n, ":");
1163
+ return "GMT" + ke(n, ":");
1164
1164
  case "zzzz":
1165
1165
  default:
1166
1166
  return "GMT" + Q(n, ":");
@@ -1169,26 +1169,26 @@ const S = {
1169
1169
  // Seconds timestamp
1170
1170
  t: function(t, r, e) {
1171
1171
  const n = Math.trunc(t.getTime() / 1e3);
1172
- return H(n, r.length);
1172
+ return M(n, r.length);
1173
1173
  },
1174
1174
  // Milliseconds timestamp
1175
1175
  T: function(t, r, e) {
1176
1176
  const n = t.getTime();
1177
- return H(n, r.length);
1177
+ return M(n, r.length);
1178
1178
  }
1179
1179
  };
1180
- function Te(t, r = "") {
1180
+ function ke(t, r = "") {
1181
1181
  const e = t > 0 ? "-" : "+", n = Math.abs(t), a = Math.trunc(n / 60), s = n % 60;
1182
- return s === 0 ? e + String(a) : e + String(a) + r + H(s, 2);
1182
+ return s === 0 ? e + String(a) : e + String(a) + r + M(s, 2);
1183
1183
  }
1184
- function ke(t, r) {
1185
- return t % 60 === 0 ? (t > 0 ? "-" : "+") + H(Math.abs(t) / 60, 2) : Q(t, r);
1184
+ function De(t, r) {
1185
+ return t % 60 === 0 ? (t > 0 ? "-" : "+") + M(Math.abs(t) / 60, 2) : Q(t, r);
1186
1186
  }
1187
1187
  function Q(t, r = "") {
1188
- const e = t > 0 ? "-" : "+", n = Math.abs(t), a = H(Math.trunc(n / 60), 2), s = H(n % 60, 2);
1188
+ const e = t > 0 ? "-" : "+", n = Math.abs(t), a = M(Math.trunc(n / 60), 2), s = M(n % 60, 2);
1189
1189
  return e + a + r + s;
1190
1190
  }
1191
- const De = (t, r) => {
1191
+ const Oe = (t, r) => {
1192
1192
  switch (t) {
1193
1193
  case "P":
1194
1194
  return r.date({ width: "short" });
@@ -1200,7 +1200,7 @@ const De = (t, r) => {
1200
1200
  default:
1201
1201
  return r.date({ width: "full" });
1202
1202
  }
1203
- }, Fe = (t, r) => {
1203
+ }, Ie = (t, r) => {
1204
1204
  switch (t) {
1205
1205
  case "p":
1206
1206
  return r.time({ width: "short" });
@@ -1212,10 +1212,10 @@ const De = (t, r) => {
1212
1212
  default:
1213
1213
  return r.time({ width: "full" });
1214
1214
  }
1215
- }, Jt = (t, r) => {
1215
+ }, er = (t, r) => {
1216
1216
  const e = t.match(/(P+)(p+)?/) || [], n = e[1], a = e[2];
1217
1217
  if (!a)
1218
- return De(t, r);
1218
+ return Oe(t, r);
1219
1219
  let s;
1220
1220
  switch (n) {
1221
1221
  case "P":
@@ -1232,47 +1232,47 @@ const De = (t, r) => {
1232
1232
  s = r.dateTime({ width: "full" });
1233
1233
  break;
1234
1234
  }
1235
- return s.replace("{{date}}", De(n, r)).replace("{{time}}", Fe(a, r));
1236
- }, me = {
1237
- p: Fe,
1238
- P: Jt
1239
- }, Kt = /^D+$/, er = /^Y+$/, tr = ["D", "DD", "YY", "YYYY"];
1240
- function Ie(t) {
1241
- return Kt.test(t);
1242
- }
1235
+ return s.replace("{{date}}", Oe(n, r)).replace("{{time}}", Ie(a, r));
1236
+ }, we = {
1237
+ p: Ie,
1238
+ P: er
1239
+ }, tr = /^D+$/, rr = /^Y+$/, nr = ["D", "DD", "YY", "YYYY"];
1243
1240
  function Se(t) {
1244
- return er.test(t);
1241
+ return tr.test(t);
1242
+ }
1243
+ function Re(t) {
1244
+ return rr.test(t);
1245
1245
  }
1246
- function we(t, r, e) {
1247
- const n = rr(t, r, e);
1248
- if (console.warn(n), tr.includes(t)) throw new RangeError(n);
1246
+ function ye(t, r, e) {
1247
+ const n = ar(t, r, e);
1248
+ if (console.warn(n), nr.includes(t)) throw new RangeError(n);
1249
1249
  }
1250
- function rr(t, r, e) {
1250
+ function ar(t, r, e) {
1251
1251
  const n = t[0] === "Y" ? "years" : "days of the month";
1252
1252
  return `Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${r}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1253
1253
  }
1254
- const nr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ar = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, sr = /^'([^]*?)'?$/, ir = /''/g, or = /[a-zA-Z]/;
1255
- function Oe(t, r, e) {
1254
+ const sr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ir = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, or = /^'([^]*?)'?$/, ur = /''/g, cr = /[a-zA-Z]/;
1255
+ function Ye(t, r, e) {
1256
1256
  var f, y, i, p;
1257
- const n = z(), a = n.locale ?? _e, s = n.firstWeekContainsDate ?? ((y = (f = n.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, c = n.weekStartsOn ?? ((p = (i = n.locale) == null ? void 0 : i.options) == null ? void 0 : p.weekStartsOn) ?? 0, l = N(t);
1258
- if (!Ce(l))
1257
+ const n = z(), a = n.locale ?? qe, s = n.firstWeekContainsDate ?? ((y = (f = n.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, c = n.weekStartsOn ?? ((p = (i = n.locale) == null ? void 0 : i.options) == null ? void 0 : p.weekStartsOn) ?? 0, l = N(t);
1258
+ if (!_e(l))
1259
1259
  throw new RangeError("Invalid time value");
1260
- let m = r.match(ar).map((g) => {
1260
+ let m = r.match(ir).map((g) => {
1261
1261
  const D = g[0];
1262
1262
  if (D === "p" || D === "P") {
1263
- const _ = me[D];
1263
+ const _ = we[D];
1264
1264
  return _(g, a.formatLong);
1265
1265
  }
1266
1266
  return g;
1267
- }).join("").match(nr).map((g) => {
1267
+ }).join("").match(sr).map((g) => {
1268
1268
  if (g === "''")
1269
1269
  return { isToken: !1, value: "'" };
1270
1270
  const D = g[0];
1271
1271
  if (D === "'")
1272
- return { isToken: !1, value: ur(g) };
1273
- if (Pe[D])
1272
+ return { isToken: !1, value: lr(g) };
1273
+ if (Te[D])
1274
1274
  return { isToken: !0, value: g };
1275
- if (D.match(or))
1275
+ if (D.match(cr))
1276
1276
  throw new RangeError(
1277
1277
  "Format string contains an unescaped latin alphabet character `" + D + "`"
1278
1278
  );
@@ -1287,23 +1287,23 @@ function Oe(t, r, e) {
1287
1287
  return m.map((g) => {
1288
1288
  if (!g.isToken) return g.value;
1289
1289
  const D = g.value;
1290
- (Se(D) || Ie(D)) && we(D, r, String(t));
1291
- const _ = Pe[D[0]];
1290
+ (Re(D) || Se(D)) && ye(D, r, String(t));
1291
+ const _ = Te[D[0]];
1292
1292
  return _(l, D, a.localize, w);
1293
1293
  }).join("");
1294
1294
  }
1295
- function ur(t) {
1296
- const r = t.match(sr);
1297
- return r ? r[1].replace(ir, "'") : t;
1295
+ function lr(t) {
1296
+ const r = t.match(or);
1297
+ return r ? r[1].replace(ur, "'") : t;
1298
1298
  }
1299
- function cr() {
1299
+ function dr() {
1300
1300
  return Object.assign({}, z());
1301
1301
  }
1302
- function lr(t) {
1302
+ function fr(t) {
1303
1303
  let e = N(t).getDay();
1304
1304
  return e === 0 && (e = 7), e;
1305
1305
  }
1306
- function dr(t, r) {
1306
+ function hr(t, r) {
1307
1307
  const e = r instanceof Date ? T(r, 0) : new r(0);
1308
1308
  return e.setFullYear(
1309
1309
  t.getFullYear(),
@@ -1316,8 +1316,8 @@ function dr(t, r) {
1316
1316
  t.getMilliseconds()
1317
1317
  ), e;
1318
1318
  }
1319
- const fr = 10;
1320
- class Re {
1319
+ const mr = 10;
1320
+ class Be {
1321
1321
  constructor() {
1322
1322
  o(this, "subPriority", 0);
1323
1323
  }
@@ -1325,7 +1325,7 @@ class Re {
1325
1325
  return !0;
1326
1326
  }
1327
1327
  }
1328
- class hr extends Re {
1328
+ class wr extends Be {
1329
1329
  constructor(r, e, n, a, s) {
1330
1330
  super(), this.value = r, this.validateValue = e, this.setValue = n, this.priority = a, s && (this.subPriority = s);
1331
1331
  }
@@ -1336,21 +1336,21 @@ class hr extends Re {
1336
1336
  return this.setValue(r, e, this.value, n);
1337
1337
  }
1338
1338
  }
1339
- class mr extends Re {
1339
+ class yr extends Be {
1340
1340
  constructor() {
1341
1341
  super(...arguments);
1342
- o(this, "priority", fr);
1342
+ o(this, "priority", mr);
1343
1343
  o(this, "subPriority", -1);
1344
1344
  }
1345
1345
  set(e, n) {
1346
- return n.timestampIsSet ? e : T(e, dr(e, Date));
1346
+ return n.timestampIsSet ? e : T(e, hr(e, Date));
1347
1347
  }
1348
1348
  }
1349
1349
  class v {
1350
1350
  run(r, e, n, a) {
1351
1351
  const s = this.parse(r, e, n, a);
1352
1352
  return s ? {
1353
- setter: new hr(
1353
+ setter: new wr(
1354
1354
  s.value,
1355
1355
  this.validate,
1356
1356
  this.set,
@@ -1364,7 +1364,7 @@ class v {
1364
1364
  return !0;
1365
1365
  }
1366
1366
  }
1367
- class wr extends v {
1367
+ class pr extends v {
1368
1368
  constructor() {
1369
1369
  super(...arguments);
1370
1370
  o(this, "priority", 140);
@@ -1456,11 +1456,11 @@ function F(t, r) {
1456
1456
  };
1457
1457
  const n = e[1] === "+" ? 1 : -1, a = e[2] ? parseInt(e[2], 10) : 0, s = e[3] ? parseInt(e[3], 10) : 0, c = e[5] ? parseInt(e[5], 10) : 0;
1458
1458
  return {
1459
- value: n * (a * dt + s * lt + c * ft),
1459
+ value: n * (a * ht + s * ft + c * mt),
1460
1460
  rest: r.slice(e[0].length)
1461
1461
  };
1462
1462
  }
1463
- function Be(t) {
1463
+ function Qe(t) {
1464
1464
  return P(Y.anyDigitsSigned, t);
1465
1465
  }
1466
1466
  function k(t, r) {
@@ -1491,7 +1491,7 @@ function ue(t, r) {
1491
1491
  return P(new RegExp("^-?\\d{1," + t + "}"), r);
1492
1492
  }
1493
1493
  }
1494
- function ge(t) {
1494
+ function xe(t) {
1495
1495
  switch (t) {
1496
1496
  case "morning":
1497
1497
  return 4;
@@ -1508,7 +1508,7 @@ function ge(t) {
1508
1508
  return 0;
1509
1509
  }
1510
1510
  }
1511
- function Qe(t, r) {
1511
+ function Ae(t, r) {
1512
1512
  const e = r > 0, n = e ? r : 1 - r;
1513
1513
  let a;
1514
1514
  if (n <= 50)
@@ -1519,10 +1519,10 @@ function Qe(t, r) {
1519
1519
  }
1520
1520
  return e ? a : 1 - a;
1521
1521
  }
1522
- function Ae(t) {
1522
+ function Xe(t) {
1523
1523
  return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
1524
1524
  }
1525
- class yr extends v {
1525
+ class br extends v {
1526
1526
  constructor() {
1527
1527
  super(...arguments);
1528
1528
  o(this, "priority", 130);
@@ -1553,7 +1553,7 @@ class yr extends v {
1553
1553
  set(e, n, a) {
1554
1554
  const s = e.getFullYear();
1555
1555
  if (a.isTwoDigitYear) {
1556
- const l = Qe(
1556
+ const l = Ae(
1557
1557
  a.year,
1558
1558
  s
1559
1559
  );
@@ -1563,7 +1563,7 @@ class yr extends v {
1563
1563
  return e.setFullYear(c, 0, 1), e.setHours(0, 0, 0, 0), e;
1564
1564
  }
1565
1565
  }
1566
- class pr extends v {
1566
+ class gr extends v {
1567
1567
  constructor() {
1568
1568
  super(...arguments);
1569
1569
  o(this, "priority", 130);
@@ -1606,9 +1606,9 @@ class pr extends v {
1606
1606
  return n.isTwoDigitYear || n.year > 0;
1607
1607
  }
1608
1608
  set(e, n, a, s) {
1609
- const c = be(e, s);
1609
+ const c = ge(e, s);
1610
1610
  if (a.isTwoDigitYear) {
1611
- const m = Qe(
1611
+ const m = Ae(
1612
1612
  a.year,
1613
1613
  c
1614
1614
  );
@@ -1622,7 +1622,7 @@ class pr extends v {
1622
1622
  return e.setFullYear(l, 0, s.firstWeekContainsDate), e.setHours(0, 0, 0, 0), R(e, s);
1623
1623
  }
1624
1624
  }
1625
- class br extends v {
1625
+ class xr extends v {
1626
1626
  constructor() {
1627
1627
  super(...arguments);
1628
1628
  o(this, "priority", 130);
@@ -1652,7 +1652,7 @@ class br extends v {
1652
1652
  return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), U(s);
1653
1653
  }
1654
1654
  }
1655
- class gr extends v {
1655
+ class vr extends v {
1656
1656
  constructor() {
1657
1657
  super(...arguments);
1658
1658
  o(this, "priority", 130);
@@ -1665,7 +1665,7 @@ class gr extends v {
1665
1665
  return e.setFullYear(a, 0, 1), e.setHours(0, 0, 0, 0), e;
1666
1666
  }
1667
1667
  }
1668
- class xr extends v {
1668
+ class Mr extends v {
1669
1669
  constructor() {
1670
1670
  super(...arguments);
1671
1671
  o(this, "priority", 120);
@@ -1727,7 +1727,7 @@ class xr extends v {
1727
1727
  return e.setMonth((a - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1728
1728
  }
1729
1729
  }
1730
- class vr extends v {
1730
+ class Hr extends v {
1731
1731
  constructor() {
1732
1732
  super(...arguments);
1733
1733
  o(this, "priority", 120);
@@ -1789,7 +1789,7 @@ class vr extends v {
1789
1789
  return e.setMonth((a - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
1790
1790
  }
1791
1791
  }
1792
- class Hr extends v {
1792
+ class Pr extends v {
1793
1793
  constructor() {
1794
1794
  super(...arguments);
1795
1795
  o(this, "incompatibleTokens", [
@@ -1851,7 +1851,7 @@ class Hr extends v {
1851
1851
  return e.setMonth(a, 1), e.setHours(0, 0, 0, 0), e;
1852
1852
  }
1853
1853
  }
1854
- class Mr extends v {
1854
+ class Tr extends v {
1855
1855
  constructor() {
1856
1856
  super(...arguments);
1857
1857
  o(this, "priority", 110);
@@ -1913,11 +1913,11 @@ class Mr extends v {
1913
1913
  return e.setMonth(a, 1), e.setHours(0, 0, 0, 0), e;
1914
1914
  }
1915
1915
  }
1916
- function Pr(t, r, e) {
1917
- const n = N(t), a = Le(n, e) - r;
1916
+ function kr(t, r, e) {
1917
+ const n = N(t), a = Fe(n, e) - r;
1918
1918
  return n.setDate(n.getDate() - a * 7), n;
1919
1919
  }
1920
- class Tr extends v {
1920
+ class Dr extends v {
1921
1921
  constructor() {
1922
1922
  super(...arguments);
1923
1923
  o(this, "priority", 100);
@@ -1951,14 +1951,14 @@ class Tr extends v {
1951
1951
  return n >= 1 && n <= 53;
1952
1952
  }
1953
1953
  set(e, n, a, s) {
1954
- return R(Pr(e, a, s), s);
1954
+ return R(kr(e, a, s), s);
1955
1955
  }
1956
1956
  }
1957
- function kr(t, r) {
1958
- const e = N(t), n = qe(e) - r;
1957
+ function Or(t, r) {
1958
+ const e = N(t), n = Le(e) - r;
1959
1959
  return e.setDate(e.getDate() - n * 7), e;
1960
1960
  }
1961
- class Dr extends v {
1961
+ class Yr extends v {
1962
1962
  constructor() {
1963
1963
  super(...arguments);
1964
1964
  o(this, "priority", 100);
@@ -1993,10 +1993,10 @@ class Dr extends v {
1993
1993
  return n >= 1 && n <= 53;
1994
1994
  }
1995
1995
  set(e, n, a) {
1996
- return U(kr(e, a));
1996
+ return U(Or(e, a));
1997
1997
  }
1998
1998
  }
1999
- const Or = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Yr = [
1999
+ const Vr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Er = [
2000
2000
  31,
2001
2001
  29,
2002
2002
  31,
@@ -2010,7 +2010,7 @@ const Or = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Yr = [
2010
2010
  30,
2011
2011
  31
2012
2012
  ];
2013
- class Vr extends v {
2013
+ class Nr extends v {
2014
2014
  constructor() {
2015
2015
  super(...arguments);
2016
2016
  o(this, "priority", 90);
@@ -2041,14 +2041,14 @@ class Vr extends v {
2041
2041
  }
2042
2042
  }
2043
2043
  validate(e, n) {
2044
- const a = e.getFullYear(), s = Ae(a), c = e.getMonth();
2045
- return s ? n >= 1 && n <= Yr[c] : n >= 1 && n <= Or[c];
2044
+ const a = e.getFullYear(), s = Xe(a), c = e.getMonth();
2045
+ return s ? n >= 1 && n <= Er[c] : n >= 1 && n <= Vr[c];
2046
2046
  }
2047
2047
  set(e, n, a) {
2048
2048
  return e.setDate(a), e.setHours(0, 0, 0, 0), e;
2049
2049
  }
2050
2050
  }
2051
- class Er extends v {
2051
+ class Wr extends v {
2052
2052
  constructor() {
2053
2053
  super(...arguments);
2054
2054
  o(this, "priority", 90);
@@ -2084,18 +2084,18 @@ class Er extends v {
2084
2084
  }
2085
2085
  validate(e, n) {
2086
2086
  const a = e.getFullYear();
2087
- return Ae(a) ? n >= 1 && n <= 366 : n >= 1 && n <= 365;
2087
+ return Xe(a) ? n >= 1 && n <= 366 : n >= 1 && n <= 365;
2088
2088
  }
2089
2089
  set(e, n, a) {
2090
2090
  return e.setMonth(0, a), e.setHours(0, 0, 0, 0), e;
2091
2091
  }
2092
2092
  }
2093
- function xe(t, r, e) {
2093
+ function ve(t, r, e) {
2094
2094
  var y, i, p, g;
2095
2095
  const n = z(), a = (e == null ? void 0 : e.weekStartsOn) ?? ((i = (y = e == null ? void 0 : e.locale) == null ? void 0 : y.options) == null ? void 0 : i.weekStartsOn) ?? n.weekStartsOn ?? ((g = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : g.weekStartsOn) ?? 0, s = N(t), c = s.getDay(), m = (r % 7 + 7) % 7, w = 7 - a, f = r < 0 || r > 6 ? r - (c + w) % 7 : (m + w) % 7 - (c + w) % 7;
2096
- return Ee(s, f);
2096
+ return Ne(s, f);
2097
2097
  }
2098
- class Nr extends v {
2098
+ class Cr extends v {
2099
2099
  constructor() {
2100
2100
  super(...arguments);
2101
2101
  o(this, "priority", 90);
@@ -2129,10 +2129,10 @@ class Nr extends v {
2129
2129
  return n >= 0 && n <= 6;
2130
2130
  }
2131
2131
  set(e, n, a, s) {
2132
- return e = xe(e, a, s), e.setHours(0, 0, 0, 0), e;
2132
+ return e = ve(e, a, s), e.setHours(0, 0, 0, 0), e;
2133
2133
  }
2134
2134
  }
2135
- class Wr extends v {
2135
+ class _r extends v {
2136
2136
  constructor() {
2137
2137
  super(...arguments);
2138
2138
  o(this, "priority", 90);
@@ -2194,10 +2194,10 @@ class Wr extends v {
2194
2194
  return n >= 0 && n <= 6;
2195
2195
  }
2196
2196
  set(e, n, a, s) {
2197
- return e = xe(e, a, s), e.setHours(0, 0, 0, 0), e;
2197
+ return e = ve(e, a, s), e.setHours(0, 0, 0, 0), e;
2198
2198
  }
2199
2199
  }
2200
- class Cr extends v {
2200
+ class qr extends v {
2201
2201
  constructor() {
2202
2202
  super(...arguments);
2203
2203
  o(this, "priority", 90);
@@ -2259,14 +2259,14 @@ class Cr extends v {
2259
2259
  return n >= 0 && n <= 6;
2260
2260
  }
2261
2261
  set(e, n, a, s) {
2262
- return e = xe(e, a, s), e.setHours(0, 0, 0, 0), e;
2262
+ return e = ve(e, a, s), e.setHours(0, 0, 0, 0), e;
2263
2263
  }
2264
2264
  }
2265
- function _r(t, r) {
2266
- const e = N(t), n = lr(e), a = r - n;
2267
- return Ee(e, a);
2265
+ function Lr(t, r) {
2266
+ const e = N(t), n = fr(e), a = r - n;
2267
+ return Ne(e, a);
2268
2268
  }
2269
- class qr extends v {
2269
+ class Fr extends v {
2270
2270
  constructor() {
2271
2271
  super(...arguments);
2272
2272
  o(this, "priority", 90);
@@ -2353,10 +2353,10 @@ class qr extends v {
2353
2353
  return n >= 1 && n <= 7;
2354
2354
  }
2355
2355
  set(e, n, a) {
2356
- return e = _r(e, a), e.setHours(0, 0, 0, 0), e;
2356
+ return e = Lr(e, a), e.setHours(0, 0, 0, 0), e;
2357
2357
  }
2358
2358
  }
2359
- class Lr extends v {
2359
+ class Ir extends v {
2360
2360
  constructor() {
2361
2361
  super(...arguments);
2362
2362
  o(this, "priority", 80);
@@ -2394,10 +2394,10 @@ class Lr extends v {
2394
2394
  }
2395
2395
  }
2396
2396
  set(e, n, a) {
2397
- return e.setHours(ge(a), 0, 0, 0), e;
2397
+ return e.setHours(xe(a), 0, 0, 0), e;
2398
2398
  }
2399
2399
  }
2400
- class Fr extends v {
2400
+ class Sr extends v {
2401
2401
  constructor() {
2402
2402
  super(...arguments);
2403
2403
  o(this, "priority", 80);
@@ -2435,10 +2435,10 @@ class Fr extends v {
2435
2435
  }
2436
2436
  }
2437
2437
  set(e, n, a) {
2438
- return e.setHours(ge(a), 0, 0, 0), e;
2438
+ return e.setHours(xe(a), 0, 0, 0), e;
2439
2439
  }
2440
2440
  }
2441
- class Ir extends v {
2441
+ class Rr extends v {
2442
2442
  constructor() {
2443
2443
  super(...arguments);
2444
2444
  o(this, "priority", 80);
@@ -2476,10 +2476,10 @@ class Ir extends v {
2476
2476
  }
2477
2477
  }
2478
2478
  set(e, n, a) {
2479
- return e.setHours(ge(a), 0, 0, 0), e;
2479
+ return e.setHours(xe(a), 0, 0, 0), e;
2480
2480
  }
2481
2481
  }
2482
- class Sr extends v {
2482
+ class Br extends v {
2483
2483
  constructor() {
2484
2484
  super(...arguments);
2485
2485
  o(this, "priority", 70);
@@ -2503,7 +2503,7 @@ class Sr extends v {
2503
2503
  return s && a < 12 ? e.setHours(a + 12, 0, 0, 0) : !s && a === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(a, 0, 0, 0), e;
2504
2504
  }
2505
2505
  }
2506
- class Rr extends v {
2506
+ class Qr extends v {
2507
2507
  constructor() {
2508
2508
  super(...arguments);
2509
2509
  o(this, "priority", 70);
@@ -2526,7 +2526,7 @@ class Rr extends v {
2526
2526
  return e.setHours(a, 0, 0, 0), e;
2527
2527
  }
2528
2528
  }
2529
- class Br extends v {
2529
+ class Ar extends v {
2530
2530
  constructor() {
2531
2531
  super(...arguments);
2532
2532
  o(this, "priority", 70);
@@ -2549,7 +2549,7 @@ class Br extends v {
2549
2549
  return e.getHours() >= 12 && a < 12 ? e.setHours(a + 12, 0, 0, 0) : e.setHours(a, 0, 0, 0), e;
2550
2550
  }
2551
2551
  }
2552
- class Qr extends v {
2552
+ class Xr extends v {
2553
2553
  constructor() {
2554
2554
  super(...arguments);
2555
2555
  o(this, "priority", 70);
@@ -2573,7 +2573,7 @@ class Qr extends v {
2573
2573
  return e.setHours(s, 0, 0, 0), e;
2574
2574
  }
2575
2575
  }
2576
- class Ar extends v {
2576
+ class Gr extends v {
2577
2577
  constructor() {
2578
2578
  super(...arguments);
2579
2579
  o(this, "priority", 60);
@@ -2596,7 +2596,7 @@ class Ar extends v {
2596
2596
  return e.setMinutes(a, 0, 0), e;
2597
2597
  }
2598
2598
  }
2599
- class Xr extends v {
2599
+ class jr extends v {
2600
2600
  constructor() {
2601
2601
  super(...arguments);
2602
2602
  o(this, "priority", 50);
@@ -2619,7 +2619,7 @@ class Xr extends v {
2619
2619
  return e.setSeconds(a, 0), e;
2620
2620
  }
2621
2621
  }
2622
- class Gr extends v {
2622
+ class $r extends v {
2623
2623
  constructor() {
2624
2624
  super(...arguments);
2625
2625
  o(this, "priority", 30);
@@ -2633,7 +2633,7 @@ class Gr extends v {
2633
2633
  return e.setMilliseconds(a), e;
2634
2634
  }
2635
2635
  }
2636
- class jr extends v {
2636
+ class Ur extends v {
2637
2637
  constructor() {
2638
2638
  super(...arguments);
2639
2639
  o(this, "priority", 10);
@@ -2670,7 +2670,7 @@ class jr extends v {
2670
2670
  );
2671
2671
  }
2672
2672
  }
2673
- class $r extends v {
2673
+ class zr extends v {
2674
2674
  constructor() {
2675
2675
  super(...arguments);
2676
2676
  o(this, "priority", 10);
@@ -2707,85 +2707,85 @@ class $r extends v {
2707
2707
  );
2708
2708
  }
2709
2709
  }
2710
- class Ur extends v {
2710
+ class Zr extends v {
2711
2711
  constructor() {
2712
2712
  super(...arguments);
2713
2713
  o(this, "priority", 40);
2714
2714
  o(this, "incompatibleTokens", "*");
2715
2715
  }
2716
2716
  parse(e) {
2717
- return Be(e);
2717
+ return Qe(e);
2718
2718
  }
2719
2719
  set(e, n, a) {
2720
2720
  return [T(e, a * 1e3), { timestampIsSet: !0 }];
2721
2721
  }
2722
2722
  }
2723
- class zr extends v {
2723
+ class Jr extends v {
2724
2724
  constructor() {
2725
2725
  super(...arguments);
2726
2726
  o(this, "priority", 20);
2727
2727
  o(this, "incompatibleTokens", "*");
2728
2728
  }
2729
2729
  parse(e) {
2730
- return Be(e);
2730
+ return Qe(e);
2731
2731
  }
2732
2732
  set(e, n, a) {
2733
2733
  return [T(e, a), { timestampIsSet: !0 }];
2734
2734
  }
2735
2735
  }
2736
- const Zr = {
2737
- G: new wr(),
2738
- y: new yr(),
2739
- Y: new pr(),
2740
- R: new br(),
2741
- u: new gr(),
2742
- Q: new xr(),
2743
- q: new vr(),
2744
- M: new Hr(),
2745
- L: new Mr(),
2746
- w: new Tr(),
2747
- I: new Dr(),
2748
- d: new Vr(),
2749
- D: new Er(),
2750
- E: new Nr(),
2751
- e: new Wr(),
2752
- c: new Cr(),
2753
- i: new qr(),
2754
- a: new Lr(),
2755
- b: new Fr(),
2756
- B: new Ir(),
2757
- h: new Sr(),
2758
- H: new Rr(),
2759
- K: new Br(),
2760
- k: new Qr(),
2761
- m: new Ar(),
2762
- s: new Xr(),
2763
- S: new Gr(),
2764
- X: new jr(),
2765
- x: new $r(),
2766
- t: new Ur(),
2767
- T: new zr()
2768
- }, Jr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Kr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, en = /^'([^]*?)'?$/, tn = /''/g, rn = /\S/, nn = /[a-zA-Z]/;
2769
- function Ye(t, r, e, n) {
2736
+ const Kr = {
2737
+ G: new pr(),
2738
+ y: new br(),
2739
+ Y: new gr(),
2740
+ R: new xr(),
2741
+ u: new vr(),
2742
+ Q: new Mr(),
2743
+ q: new Hr(),
2744
+ M: new Pr(),
2745
+ L: new Tr(),
2746
+ w: new Dr(),
2747
+ I: new Yr(),
2748
+ d: new Nr(),
2749
+ D: new Wr(),
2750
+ E: new Cr(),
2751
+ e: new _r(),
2752
+ c: new qr(),
2753
+ i: new Fr(),
2754
+ a: new Ir(),
2755
+ b: new Sr(),
2756
+ B: new Rr(),
2757
+ h: new Br(),
2758
+ H: new Qr(),
2759
+ K: new Ar(),
2760
+ k: new Xr(),
2761
+ m: new Gr(),
2762
+ s: new jr(),
2763
+ S: new $r(),
2764
+ X: new Ur(),
2765
+ x: new zr(),
2766
+ t: new Zr(),
2767
+ T: new Jr()
2768
+ }, en = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, tn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rn = /^'([^]*?)'?$/, nn = /''/g, an = /\S/, sn = /[a-zA-Z]/;
2769
+ function Ve(t, r, e, n) {
2770
2770
  var D, _, re, A;
2771
- const a = cr(), s = a.locale ?? _e, c = a.firstWeekContainsDate ?? ((_ = (D = a.locale) == null ? void 0 : D.options) == null ? void 0 : _.firstWeekContainsDate) ?? 1, l = a.weekStartsOn ?? ((A = (re = a.locale) == null ? void 0 : re.options) == null ? void 0 : A.weekStartsOn) ?? 0;
2771
+ const a = dr(), s = a.locale ?? qe, c = a.firstWeekContainsDate ?? ((_ = (D = a.locale) == null ? void 0 : D.options) == null ? void 0 : _.firstWeekContainsDate) ?? 1, l = a.weekStartsOn ?? ((A = (re = a.locale) == null ? void 0 : re.options) == null ? void 0 : A.weekStartsOn) ?? 0;
2772
2772
  if (r === "")
2773
2773
  return t === "" ? N(e) : T(e, NaN);
2774
2774
  const m = {
2775
2775
  firstWeekContainsDate: c,
2776
2776
  weekStartsOn: l,
2777
2777
  locale: s
2778
- }, w = [new mr()], f = r.match(Kr).map((h) => {
2778
+ }, w = [new yr()], f = r.match(tn).map((h) => {
2779
2779
  const b = h[0];
2780
- if (b in me) {
2781
- const W = me[b];
2780
+ if (b in we) {
2781
+ const W = we[b];
2782
2782
  return W(h, s.formatLong);
2783
2783
  }
2784
2784
  return h;
2785
- }).join("").match(Jr), y = [];
2785
+ }).join("").match(en), y = [];
2786
2786
  for (let h of f) {
2787
- Se(h) && we(h, r, t), Ie(h) && we(h, r, t);
2788
- const b = h[0], W = Zr[b];
2787
+ Re(h) && ye(h, r, t), Se(h) && ye(h, r, t);
2788
+ const b = h[0], W = Kr[b];
2789
2789
  if (W) {
2790
2790
  const { incompatibleTokens: I } = W;
2791
2791
  if (Array.isArray(I)) {
@@ -2811,17 +2811,17 @@ function Ye(t, r, e, n) {
2811
2811
  return T(e, NaN);
2812
2812
  w.push(X.setter), t = X.rest;
2813
2813
  } else {
2814
- if (b.match(nn))
2814
+ if (b.match(sn))
2815
2815
  throw new RangeError(
2816
2816
  "Format string contains an unescaped latin alphabet character `" + b + "`"
2817
2817
  );
2818
- if (h === "''" ? h = "'" : b === "'" && (h = an(h)), t.indexOf(h) === 0)
2818
+ if (h === "''" ? h = "'" : b === "'" && (h = on(h)), t.indexOf(h) === 0)
2819
2819
  t = t.slice(h.length);
2820
2820
  else
2821
2821
  return T(e, NaN);
2822
2822
  }
2823
2823
  }
2824
- if (t.length > 0 && rn.test(t))
2824
+ if (t.length > 0 && an.test(t))
2825
2825
  return T(e, NaN);
2826
2826
  const i = w.map((h) => h.priority).sort((h, b) => b - h).filter((h, b, W) => W.indexOf(h) === b).map(
2827
2827
  (h) => w.filter((b) => b.priority === h).sort((b, W) => W.subPriority - b.subPriority)
@@ -2838,30 +2838,30 @@ function Ye(t, r, e, n) {
2838
2838
  }
2839
2839
  return T(e, p);
2840
2840
  }
2841
- function an(t) {
2842
- return t.match(en)[1].replace(tn, "'");
2841
+ function on(t) {
2842
+ return t.match(rn)[1].replace(nn, "'");
2843
2843
  }
2844
- function M(t) {
2844
+ function H(t) {
2845
2845
  return typeof t < "u" && t !== null;
2846
2846
  }
2847
- function wn(t) {
2847
+ function pn(t) {
2848
2848
  return !!t;
2849
2849
  }
2850
- function Xe(t, r = "hh:mm:ss") {
2850
+ function Ge(t, r = "hh:mm:ss") {
2851
2851
  if (!(!t || !r))
2852
- return r.indexOf("ss") === -1 && t.split(":").length === 3 && (r = r + ":ss"), r.indexOf("A") > -1 ? (r = r.replace(/A/g, "a"), Ye(t.toLowerCase(), r, /* @__PURE__ */ new Date())) : Ye(t, r, /* @__PURE__ */ new Date());
2852
+ return r.indexOf("ss") === -1 && t.split(":").length === 3 && (r = r + ":ss"), r.indexOf("A") > -1 ? (r = r.replace(/A/g, "a"), Ve(t.toLowerCase(), r, /* @__PURE__ */ new Date())) : Ve(t, r, /* @__PURE__ */ new Date());
2853
2853
  }
2854
- function Ge(t, r = "hh:mm:ss", e = "AM") {
2855
- return !t || isNaN(t.getTime()) ? "" : r.indexOf("A") > -1 ? (r = r.replace(/A/g, "a"), Oe(t, r).toUpperCase()) : Oe(t, r);
2854
+ function je(t, r = "hh:mm:ss", e = "AM") {
2855
+ return !t || isNaN(t.getTime()) ? "" : r.indexOf("A") > -1 ? (r = r.replace(/A/g, "a"), Ye(t, r).toUpperCase()) : Ye(t, r);
2856
2856
  }
2857
- function yn(t) {
2857
+ function bn(t) {
2858
2858
  return t = String(t), t.length === 1 ? "0" + t : t;
2859
2859
  }
2860
- function ye(t, r) {
2860
+ function pe(t, r) {
2861
2861
  let e = t || "hh:mm:ss";
2862
2862
  return r ? (e = e ? e.replace(/H/g, "h") : "hh:mm:ss a", e.indexOf("a") === -1 && e.indexOf("A") === -1 && (e = e + " a")) : e = e ? e.replace(/h/g, "H") : "HH:mm:ss", e;
2863
2863
  }
2864
- class sn {
2864
+ class un {
2865
2865
  constructor() {
2866
2866
  o(this, "hourStep", 1);
2867
2867
  o(this, "minuteStep", 1);
@@ -2906,7 +2906,7 @@ class sn {
2906
2906
  * Get viewHours which is selected in `time-picker-panel` and its range is [12, 1, 2, ..., 11]
2907
2907
  */
2908
2908
  get viewHours() {
2909
- return this.use12Hours && M(this.temporaryHours) ? this.calculateViewHour(this.temporaryHours) : this.temporaryHours;
2909
+ return this.use12Hours && H(this.temporaryHours) ? this.calculateViewHour(this.temporaryHours) : this.temporaryHours;
2910
2910
  }
2911
2911
  get minutes() {
2912
2912
  return this.temporaryMinutes;
@@ -2934,7 +2934,7 @@ class sn {
2934
2934
  */
2935
2935
  get defaultViewHours() {
2936
2936
  const r = this.defaultOpenValue.getHours();
2937
- return this.use12Hours && M(r) ? this.calculateViewHour(r) : r;
2937
+ return this.use12Hours && H(r) ? this.calculateViewHour(r) : r;
2938
2938
  }
2939
2939
  /**
2940
2940
  * @description
@@ -2963,7 +2963,7 @@ class sn {
2963
2963
  return this.temporaryValue;
2964
2964
  }
2965
2965
  set value(r) {
2966
- r !== this.temporaryValue && (this.temporaryValue = r, M(this.temporaryValue) && Ce(this.temporaryValue) ? (this.temporaryHours = this.temporaryValue.getHours(), this.temporaryMinutes = this.temporaryValue.getMinutes(), this.temporarySeconds = this.temporaryValue.getSeconds(), this.use12Hours && M(this.temporaryHours) && (this.temporarySelected12Hours = this.temporaryHours >= 12 ? "PM" : "AM")) : this.clearTimeValue());
2966
+ r !== this.temporaryValue && (this.temporaryValue = r, H(this.temporaryValue) && _e(this.temporaryValue) ? (this.temporaryHours = this.temporaryValue.getHours(), this.temporaryMinutes = this.temporaryValue.getMinutes(), this.temporarySeconds = this.temporaryValue.getSeconds(), this.use12Hours && H(this.temporaryHours) && (this.temporarySelected12Hours = this.temporaryHours >= 12 ? "PM" : "AM")) : this.clearTimeValue());
2967
2967
  }
2968
2968
  get selected12Hours() {
2969
2969
  return this.temporarySelected12Hours;
@@ -2978,7 +2978,7 @@ class sn {
2978
2978
  this.temporaryDefaultOpenValue !== r && (this.temporaryDefaultOpenValue = r, this.update());
2979
2979
  }
2980
2980
  get isEmpty() {
2981
- return !(M(this.temporaryHours) || M(this.temporaryMinutes) || M(this.temporarySeconds));
2981
+ return !(H(this.temporaryHours) || H(this.temporaryMinutes) || H(this.temporarySeconds));
2982
2982
  }
2983
2983
  setFormat(r) {
2984
2984
  this.format = r;
@@ -2996,7 +2996,7 @@ class sn {
2996
2996
  return e ? this : (this.setDefaultValueIfNil(), this.seconds = r, this);
2997
2997
  }
2998
2998
  setValue(r, e) {
2999
- return M(e) && (this.use12Hours = e), this.value = r, this;
2999
+ return H(e) && (this.use12Hours = e), this.value = r, this;
3000
3000
  }
3001
3001
  setValueByStep(r, e) {
3002
3002
  let n = Math.floor(r / e);
@@ -3007,10 +3007,10 @@ class sn {
3007
3007
  return this.defaultOpenValue = r, this;
3008
3008
  }
3009
3009
  setDefaultValueIfNil() {
3010
- M(this.temporaryValue) || (this.temporaryValue = new Date(this.defaultOpenValue));
3010
+ H(this.temporaryValue) || (this.temporaryValue = new Date(this.defaultOpenValue));
3011
3011
  }
3012
3012
  update() {
3013
- this.isEmpty ? this.temporaryValue = void 0 : (M(this.temporaryHours) ? this.temporaryValue.setHours(this.hours) : this.temporaryHours = this.defaultHours, M(this.temporaryMinutes) ? this.temporaryValue.setMinutes(this.minutes) : this.temporaryMinutes = this.defaultMinutes, M(this.temporarySeconds) ? this.temporaryValue.setSeconds(this.seconds) : this.temporarySeconds = this.defaultSeconds, this.use12Hours && (M(this.temporarySelected12Hours) || (this.temporarySelected12Hours = this.default12Hours), this.selected12Hours === "PM" && this.temporaryHours < 12 && (this.temporaryHours += 12, this.temporaryValue.setHours(this.temporaryHours)), this.selected12Hours === "AM" && this.temporaryHours >= 12 && (this.temporaryHours -= 12, this.temporaryValue.setHours(this.temporaryHours))), this.temporaryValue = new Date(this.temporaryValue), this.text = Ge(
3013
+ this.isEmpty ? this.temporaryValue = void 0 : (H(this.temporaryHours) ? this.temporaryValue.setHours(this.hours) : this.temporaryHours = this.defaultHours, H(this.temporaryMinutes) ? this.temporaryValue.setMinutes(this.minutes) : this.temporaryMinutes = this.defaultMinutes, H(this.temporarySeconds) ? this.temporaryValue.setSeconds(this.seconds) : this.temporarySeconds = this.defaultSeconds, this.use12Hours && (H(this.temporarySelected12Hours) || (this.temporarySelected12Hours = this.default12Hours), this.selected12Hours === "PM" && this.temporaryHours < 12 && (this.temporaryHours += 12, this.temporaryValue.setHours(this.temporaryHours)), this.selected12Hours === "AM" && this.temporaryHours >= 12 && (this.temporaryHours -= 12, this.temporaryValue.setHours(this.temporaryHours))), this.temporaryValue = new Date(this.temporaryValue), this.text = je(
3014
3014
  this.temporaryValue,
3015
3015
  this.format,
3016
3016
  this.selected12Hours
@@ -3027,7 +3027,7 @@ class sn {
3027
3027
  return e === "PM" && r > 12 ? r - 12 : e === "AM" && r === 0 ? 12 : r;
3028
3028
  }
3029
3029
  }
3030
- function on(t, r, e, n, a, s) {
3030
+ function cn(t, r, e, n, a, s) {
3031
3031
  function c(f, y, i = 0, p, g) {
3032
3032
  const D = l(y, p, g), _ = f.children[0].children[D] || f.children[0].children[0];
3033
3033
  m(f, _.offsetTop, i);
@@ -3065,7 +3065,7 @@ function on(t, r, e, n, a, s) {
3065
3065
  return;
3066
3066
  }
3067
3067
  const g = (y - f.scrollTop) / i * 10;
3068
- st(() => {
3068
+ it(() => {
3069
3069
  f.scrollTop += g, f.scrollTop !== y && m(f, y, i - 10);
3070
3070
  });
3071
3071
  }
@@ -3074,18 +3074,18 @@ function on(t, r, e, n, a, s) {
3074
3074
  }
3075
3075
  return { scrollToSelected: c };
3076
3076
  }
3077
- function un(t, r) {
3077
+ function ln(t, r) {
3078
3078
  function e(l) {
3079
- return l.index === t.viewHours || !M(t.viewHours) && l.index === t.defaultViewHours;
3079
+ return l.index === t.viewHours || !H(t.viewHours) && l.index === t.defaultViewHours;
3080
3080
  }
3081
3081
  function n(l) {
3082
- return l.index === t.minutes || !M(t.minutes) && l.index === t.defaultMinutes;
3082
+ return l.index === t.minutes || !H(t.minutes) && l.index === t.defaultMinutes;
3083
3083
  }
3084
3084
  function a(l) {
3085
- return l.index === t.seconds || !M(t.seconds) && l.index === t.defaultSeconds;
3085
+ return l.index === t.seconds || !H(t.seconds) && l.index === t.defaultSeconds;
3086
3086
  }
3087
3087
  function s(l) {
3088
- return l.value.toUpperCase() === t.selected12Hours || !M(t.selected12Hours) && l.value.toUpperCase() === t.default12Hours;
3088
+ return l.value.toUpperCase() === t.selected12Hours || !H(t.selected12Hours) && l.value.toUpperCase() === t.default12Hours;
3089
3089
  }
3090
3090
  function c(l, m) {
3091
3091
  let w = "";
@@ -3095,32 +3095,32 @@ function un(t, r) {
3095
3095
  }
3096
3096
  return { getSelectedClass: c };
3097
3097
  }
3098
- const pe = /* @__PURE__ */ Ve({
3098
+ const be = /* @__PURE__ */ Ee({
3099
3099
  name: "FTimePickerTimeView",
3100
- props: ut,
3100
+ props: lt,
3101
3101
  emits: ["valueChange", "formatedValueChange"],
3102
3102
  setup(t, r) {
3103
- const e = t.inDatePicker ? "calendar-time-picker" : "time-picker-panel", n = O(0), a = O([]), s = O([]), c = O([]), l = O([]), m = O(), w = O(), f = O(), y = O(), i = new sn(), {
3103
+ const e = t.inDatePicker ? "calendar-time-picker" : "time-picker-panel", n = O(0), a = O([]), s = O([]), c = O([]), l = O([]), m = O(), w = O(), f = O(), y = O(), i = new un(), {
3104
3104
  scrollToSelected: p
3105
- } = on(t, r, a, s, c, l), {
3105
+ } = cn(t, r, a, s, c, l), {
3106
3106
  getSelectedClass: g
3107
- } = un(i, e), D = O(t.hourStep), _ = O(t.minuteStep), re = O(t.secondStep), A = O(), h = O(""), b = O(), W = O(t.hideDisabledElements), I = O(0);
3107
+ } = ln(i, e), D = O(t.hourStep), _ = O(t.minuteStep), re = O(t.secondStep), A = O(), h = O(""), b = O(), W = O(t.hideDisabledElements), I = O(0);
3108
3108
  C(() => t.defaultOpenValue, (u) => {
3109
- M(u) && (A.value = u);
3109
+ H(u) && (A.value = u);
3110
3110
  }), C(A, (u) => {
3111
- M(u) && i.setDefaultOpenValue(u);
3111
+ H(u) && i.setDefaultOpenValue(u);
3112
3112
  }), A.value = t.defaultOpenValue, C(() => i.changedValue.value, (u) => {
3113
3113
  r.emit("valueChange", u);
3114
3114
  }), C(() => t.modelValue, (u) => {
3115
3115
  X(u);
3116
3116
  }), C(() => t.format, (u) => {
3117
- M(u) ? h.value = u : h.value = "HH:mm:ss";
3117
+ H(u) ? h.value = u : h.value = "HH:mm:ss";
3118
3118
  }), C(h, (u) => {
3119
- M(u) && (i.setFormat(h.value), I.value = 0, ae.value && I.value++, Z.value && I.value++, J.value && I.value++, b.value && (I.value++, He()), n.value = I.value * 66);
3119
+ H(u) && (i.setFormat(h.value), I.value = 0, ae.value && I.value++, Z.value && I.value++, J.value && I.value++, b.value && (I.value++, He()), n.value = I.value * 66);
3120
3120
  }), C(() => t.use12Hours, (u) => {
3121
3121
  b.value = u;
3122
3122
  }), C(b, (u) => {
3123
- h.value = ye(h.value, u), i.setUse12Hours(u);
3123
+ h.value = pe(h.value, u), i.setUse12Hours(u);
3124
3124
  }), C(() => t.disabledHours, () => {
3125
3125
  le();
3126
3126
  }), C(() => t.disabledMinutes, () => {
@@ -3129,9 +3129,9 @@ const pe = /* @__PURE__ */ Ve({
3129
3129
  K();
3130
3130
  });
3131
3131
  function X(u) {
3132
- if (M(u) && u) {
3132
+ if (H(u) && u) {
3133
3133
  i.text = u;
3134
- const d = Xe(i.text, h.value);
3134
+ const d = Ge(i.text, h.value);
3135
3135
  d ? i.setValue(d, b.value) : (i.setValue(/* @__PURE__ */ new Date(), b.value), i.update()), de();
3136
3136
  } else
3137
3137
  i.setUse12Hours(b.value);
@@ -3143,12 +3143,12 @@ const pe = /* @__PURE__ */ Ve({
3143
3143
  function G(u = "hour") {
3144
3144
  return h.value ? h.value.indexOf(u[0].toUpperCase()) > -1 || h.value.indexOf(u[0].toLowerCase()) > -1 : !1;
3145
3145
  }
3146
- const je = $(() => ({
3146
+ const $e = $(() => ({
3147
3147
  "time-picker-panel": !0,
3148
3148
  "time-picker-panel-column-3": !0,
3149
3149
  "time-picker-panel-placement-bottomLeft": !0,
3150
3150
  "f-area-show": !0
3151
- })), ve = $(() => {
3151
+ })), Me = $(() => {
3152
3152
  const u = {
3153
3153
  width: `${n.value}px`
3154
3154
  };
@@ -3157,9 +3157,9 @@ const pe = /* @__PURE__ */ Ve({
3157
3157
  function ce(u, d = 1, q = 0) {
3158
3158
  return d = Math.ceil(d), new Array(Math.ceil(u / d)).fill(0).map((E, B) => (B + q) * d);
3159
3159
  }
3160
- function $e() {
3161
- if (ae.value && m.value && p(m.value, M(i.viewHours) ? i.viewHours : i.defaultViewHours, 0, "hour", i), Z.value && w.value && p(w.value, M(i.minutes) ? i.minutes : i.defaultMinutes, 0, "minute", i), J.value && f.value && p(f.value, M(i.seconds) ? i.seconds : i.defaultSeconds, 0, "second", i), b.value && y.value) {
3162
- const d = (M(i.selected12Hours) ? i.selected12Hours : i.default12Hours) === "AM" ? 0 : 1;
3160
+ function Ue() {
3161
+ if (ae.value && m.value && p(m.value, H(i.viewHours) ? i.viewHours : i.defaultViewHours, 0, "hour", i), Z.value && w.value && p(w.value, H(i.minutes) ? i.minutes : i.defaultMinutes, 0, "minute", i), J.value && f.value && p(f.value, H(i.seconds) ? i.seconds : i.defaultSeconds, 0, "second", i), b.value && y.value) {
3162
+ const d = (H(i.selected12Hours) ? i.selected12Hours : i.default12Hours) === "AM" ? 0 : 1;
3163
3163
  p(y.value, d, 0, "12-hour", i);
3164
3164
  }
3165
3165
  }
@@ -3198,7 +3198,7 @@ const pe = /* @__PURE__ */ Ve({
3198
3198
  value: u ? "PM" : "pm"
3199
3199
  }], l.value = l.value.filter(() => !W.value);
3200
3200
  }
3201
- function Ue(u, d) {
3201
+ function ze(u, d) {
3202
3202
  if (u.stopPropagation(), i.setHours(d.index, d.disabled), !d.disabled) {
3203
3203
  if (p(m.value, d.index, 120, "hour", i), t.disabledMinutes !== null) {
3204
3204
  se();
@@ -3214,10 +3214,10 @@ const pe = /* @__PURE__ */ Ve({
3214
3214
  (t.disabledSeconds !== null || t.disabledMinutes !== null) && K();
3215
3215
  }
3216
3216
  }
3217
- function ze(u, d) {
3217
+ function Ze(u, d) {
3218
3218
  u.stopPropagation(), i.selected12Hours = d.value, le(), se(), K(), p(y.value, d.index, 120, "12-hour", i);
3219
3219
  }
3220
- function Ze(u, d) {
3220
+ function Je(u, d) {
3221
3221
  if (u.stopPropagation(), i.setMinutes(d.index, d.disabled), !d.disabled && (p(w.value, d.index, 120, "minute", i), t.disabledSeconds !== null)) {
3222
3222
  K();
3223
3223
  const q = c.value.filter((E) => !E.disabled);
@@ -3230,23 +3230,23 @@ const pe = /* @__PURE__ */ Ve({
3230
3230
  }
3231
3231
  }
3232
3232
  }
3233
- function Je(u, d) {
3233
+ function Ke(u, d) {
3234
3234
  u.stopPropagation(), i.setSeconds(d.index, d.disabled), !d.disabled && p(f.value, d.index, 120, "second", i);
3235
3235
  }
3236
3236
  function de() {
3237
3237
  le(), se(), K(), He();
3238
3238
  }
3239
- rt(() => {
3240
- h.value = ye(t.format, t.use12Hours), b.value = t.use12Hours, X(t.modelValue), de(), setTimeout(() => {
3241
- $e();
3239
+ nt(() => {
3240
+ h.value = pe(t.format, t.use12Hours), b.value = t.use12Hours, X(t.modelValue), de(), setTimeout(() => {
3241
+ Ue();
3242
3242
  }, 10);
3243
3243
  }), r.expose({
3244
3244
  refresh: de
3245
3245
  });
3246
- function Ke() {
3246
+ function et() {
3247
3247
  return t.showHeader ? x("div", {
3248
3248
  class: e + "-combobox time-picker-panel-header",
3249
- style: ve.value
3249
+ style: Me.value
3250
3250
  }, [ae.value && x("div", {
3251
3251
  class: e + "-select",
3252
3252
  style: "height: 32px"
@@ -3281,9 +3281,11 @@ const pe = /* @__PURE__ */ Ve({
3281
3281
  class: "time-header"
3282
3282
  }, null)])])]) : null;
3283
3283
  }
3284
- const ie = e + "-select " + (t.inDatePicker ? "h-100" : "");
3284
+ const ie = e + "-select " + (t.inDatePicker ? "h-100" : ""), fe = ot() ? {
3285
+ "overflow-y": "auto"
3286
+ } : {};
3285
3287
  return () => x("div", {
3286
- class: je.value,
3288
+ class: $e.value,
3287
3289
  style: "position: relative"
3288
3290
  }, [x("div", {
3289
3291
  class: {
@@ -3292,38 +3294,41 @@ const pe = /* @__PURE__ */ Ve({
3292
3294
  }
3293
3295
  }, [x("div", {
3294
3296
  class: e + "-inner " + (t.inDatePicker ? "h-100" : "")
3295
- }, [Ke(), x("div", {
3297
+ }, [et(), x("div", {
3296
3298
  class: e + "-combobox d-flex h-100",
3297
- style: ve.value
3299
+ style: Me.value
3298
3300
  }, [ae.value && x("div", {
3299
3301
  class: ie,
3300
- ref: m
3302
+ ref: m,
3303
+ style: fe
3301
3304
  }, [x("ul", null, [a.value.map((u) => x("li", {
3302
3305
  class: g(u, "hour"),
3303
- onClick: (d) => Ue(d, u)
3306
+ onClick: (d) => ze(d, u)
3304
3307
  }, [`${u.index}`]))])]), Z.value && x("div", {
3305
3308
  class: ie,
3306
- ref: w
3309
+ ref: w,
3310
+ style: fe
3307
3311
  }, [x("ul", null, [s.value.map((u) => x("li", {
3308
3312
  class: g(u, "minute"),
3309
- onClick: (d) => Ze(d, u)
3313
+ onClick: (d) => Je(d, u)
3310
3314
  }, [`${u.index}`]))])]), J.value && x("div", {
3311
3315
  class: ie,
3312
- ref: f
3316
+ ref: f,
3317
+ style: fe
3313
3318
  }, [x("ul", null, [c.value.map((u) => x("li", {
3314
3319
  class: g(u, "second"),
3315
- onClick: (d) => Je(d, u)
3320
+ onClick: (d) => Ke(d, u)
3316
3321
  }, [`${u.index}`]))])]), b.value && x("div", {
3317
3322
  class: ie,
3318
3323
  ref: y
3319
3324
  }, [x("ul", null, [l.value.map((u) => x("li", {
3320
3325
  class: g(u, "12-hour"),
3321
- onClick: (d) => ze(d, u)
3326
+ onClick: (d) => Ze(d, u)
3322
3327
  }, [`${u.value}`]))])])])])])]);
3323
3328
  }
3324
3329
  });
3325
- function cn(t) {
3326
- const { getLocaleValue: r } = it;
3330
+ function dn(t) {
3331
+ const { getLocaleValue: r } = ut;
3327
3332
  function e(s, c, l) {
3328
3333
  return c === l ? r(s) : c || "";
3329
3334
  }
@@ -3334,19 +3339,19 @@ function cn(t) {
3334
3339
  };
3335
3340
  return { placeholder: n, headerLabels: a };
3336
3341
  }
3337
- const he = /* @__PURE__ */ Ve({
3342
+ const me = /* @__PURE__ */ Ee({
3338
3343
  name: "FTimePicker",
3339
- props: ot,
3344
+ props: ct,
3340
3345
  emits: ["update:modelValue", "valueChange", "clear"],
3341
3346
  setup(t, r) {
3342
- const e = '<span class="f-icon f-icon-timepicker"></span>', n = O(t.modelValue), a = O(null), s = O(), c = cn(t), l = $(() => ye(t.format, t.use12Hours));
3347
+ const e = '<span class="f-icon f-icon-timepicker"></span>', n = O(t.modelValue), a = O(null), s = O(), c = dn(t), l = $(() => pe(t.format, t.use12Hours));
3343
3348
  function m() {
3344
3349
  n.value = "", r.emit("clear");
3345
3350
  }
3346
3351
  function w() {
3347
3352
  if (n.value) {
3348
- const i = Xe(n.value, l.value);
3349
- n.value = Ge(i, l.value);
3353
+ const i = Ge(n.value, l.value);
3354
+ n.value = je(i, l.value);
3350
3355
  }
3351
3356
  }
3352
3357
  function f() {
@@ -3359,7 +3364,7 @@ const he = /* @__PURE__ */ Ve({
3359
3364
  n.value = i;
3360
3365
  }), C(n, (i) => {
3361
3366
  r.emit("valueChange", i), r.emit("update:modelValue", i);
3362
- }), () => x(at, {
3367
+ }), () => x(st, {
3363
3368
  ref: a,
3364
3369
  modelValue: n.value,
3365
3370
  "onUpdate:modelValue": (i) => n.value = i,
@@ -3376,7 +3381,7 @@ const he = /* @__PURE__ */ Ve({
3376
3381
  onBlur: f,
3377
3382
  popupMinWidth: 132
3378
3383
  }, {
3379
- default: () => [x(pe, nt({
3384
+ default: () => [x(be, at({
3380
3385
  ref: s
3381
3386
  }, t, {
3382
3387
  headerLabels: c.headerLabels,
@@ -3385,19 +3390,19 @@ const he = /* @__PURE__ */ Ve({
3385
3390
  });
3386
3391
  }
3387
3392
  });
3388
- he.install = (t) => {
3389
- t.component(he.name, he).component(pe.name, pe);
3393
+ me.install = (t) => {
3394
+ t.component(me.name, me).component(be.name, be);
3390
3395
  };
3391
3396
  export {
3392
- he as FTimePicker,
3393
- pe as FTimePickerTimeView,
3394
- yn as addZero,
3395
- Xe as convertToDate,
3396
- Ge as convertToString,
3397
- he as default,
3398
- ye as getRealFormat,
3399
- M as isNotNull,
3400
- ot as timePickerProps,
3401
- ut as timeProps,
3402
- wn as toBoolean
3397
+ me as FTimePicker,
3398
+ be as FTimePickerTimeView,
3399
+ bn as addZero,
3400
+ Ge as convertToDate,
3401
+ je as convertToString,
3402
+ me as default,
3403
+ pe as getRealFormat,
3404
+ H as isNotNull,
3405
+ ct as timePickerProps,
3406
+ lt as timeProps,
3407
+ pn as toBoolean
3403
3408
  };