@web-utils/form-ui 1.0.0-beta72 → 1.0.0-beta74

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 (328) hide show
  1. package/address-input/index.mjs +1 -1
  2. package/affix/index.d.ts +0 -2
  3. package/affix/index.mjs +2 -3
  4. package/capsule-tab/index.mjs +1 -1
  5. package/card/index.mjs +15 -16
  6. package/chunks/-fXBgN9b2.mjs +37 -0
  7. package/chunks/{-UHCmZBh.mjs → -yfgKY3g.mjs} +1 -1
  8. package/chunks/{Ciy3EJGG2.mjs → -zgWD713.mjs} +44 -45
  9. package/chunks/{qFn9SqfB2.mjs → 7_9hAeqb.mjs} +72 -73
  10. package/chunks/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
  11. package/chunks/B0BOjeph2.mjs +108 -0
  12. package/chunks/BE4V5Vf5.mjs +133 -0
  13. package/chunks/{Diidem-9.mjs → BGJjAw5E.mjs} +1 -1
  14. package/chunks/{BJNI7n9Z.mjs → BH7VEktl.mjs} +19 -19
  15. package/chunks/{BrJzSp9f.mjs → BI6kCG2j2.mjs} +2 -2
  16. package/chunks/BctSGDgW2.mjs +29 -0
  17. package/chunks/BhIWiH5R.mjs +661 -0
  18. package/chunks/BhzlH7Az.mjs +90 -0
  19. package/chunks/{DWjZMJ1e2.mjs → Bj0kgDOA.mjs} +132 -133
  20. package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
  21. package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
  22. package/chunks/{Bnm0osro.mjs → Byy1rvPO.mjs} +13 -16
  23. package/chunks/{iPHgzcZ0.mjs → C6mb7Nru2.mjs} +4 -4
  24. package/chunks/{Bhkk9TmJ2.mjs → CFoSvMJ-2.mjs} +1 -1
  25. package/chunks/{Vrr45MGv.mjs → CO3taG7t2.mjs} +1 -1
  26. package/chunks/{QAHALDuF2.mjs → CWBRpkHy.mjs} +138 -139
  27. package/chunks/Ccxbv7uz2.mjs +34 -0
  28. package/chunks/Ce4tNNzg2.mjs +63 -0
  29. package/chunks/{SEQG09ut.mjs → CelJ2L8A2.mjs} +2 -2
  30. package/chunks/CjYOitzM2.mjs +31 -0
  31. package/chunks/Cknuquqx.mjs +32 -0
  32. package/chunks/ClVh1Lek.mjs +130 -0
  33. package/chunks/CwyebsNL2.mjs +39 -0
  34. package/chunks/{CJl5ZiUq2.mjs → D4Pd8rZi.mjs} +28 -30
  35. package/chunks/D6YM84Pf2.mjs +29 -0
  36. package/chunks/{DlROUHPJ2.mjs → DTq5QLoT.mjs} +43 -43
  37. package/chunks/{5oaTzHT-2.mjs → DVMfVn-M.mjs} +14 -13
  38. package/chunks/DVdQHb_v.mjs +50 -0
  39. package/chunks/{YS7hFnUB2.mjs → Daa7nl7U.mjs} +19 -19
  40. package/chunks/{D6TSUCGL.mjs → Dh_BQpvC2.mjs} +2 -2
  41. package/chunks/DizOY5i8.mjs +69 -0
  42. package/chunks/{Czi7_tAe.mjs → DjaV6_cg2.mjs} +2 -2
  43. package/chunks/{CKWgRCN52.mjs → Dm3gQGoV2.mjs} +2 -2
  44. package/chunks/DqW9QtF3.mjs +68 -0
  45. package/chunks/{CKbOqPFm2.mjs → DqWJCka8.mjs} +9 -9
  46. package/chunks/{CIerTjpq2.mjs → DrWUdRj32.mjs} +2 -2
  47. package/chunks/{BrSZZNRc.mjs → DucSg7Mt.mjs} +70 -72
  48. package/chunks/Dv7YRB2U2.mjs +25 -0
  49. package/chunks/DyLQsqWJ.mjs +61 -0
  50. package/chunks/HsHwYW1a.mjs +99 -0
  51. package/chunks/KDVLIvaS.mjs +30 -0
  52. package/chunks/{BHwRv4F0.mjs → Lkg7bYLD2.mjs} +73 -74
  53. package/chunks/OBTStTaa.mjs +179 -0
  54. package/chunks/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
  55. package/chunks/{C9nRNgwm2.mjs → QTy8g5MS.mjs} +589 -763
  56. package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
  57. package/chunks/_q6JzJYp.mjs +773 -0
  58. package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
  59. package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
  60. package/chunks/nL59ZuIk.mjs +58 -0
  61. package/chunks/{BJuAz5lX2.mjs → sWVkgzQt2.mjs} +2 -2
  62. package/chunks/{DN2qkQvd.mjs → tjwOOiNr2.mjs} +31 -32
  63. package/code-mirror-editor/index.mjs +1 -1
  64. package/confirm-button/index.mjs +1 -1
  65. package/confirmable/index.mjs +1 -1
  66. package/context-menu/index.mjs +1 -1
  67. package/count-up/index.mjs +1 -1
  68. package/custom-scrollbar/index.mjs +1 -1
  69. package/data-box/index.mjs +9 -10
  70. package/data-card/index.mjs +8 -9
  71. package/data-card-text/index.mjs +8 -9
  72. package/data-display/index.mjs +9 -10
  73. package/data-icons/index.mjs +9 -10
  74. package/data-imgtext/index.mjs +9 -11
  75. package/data-operatext/index.mjs +8 -9
  76. package/data-panel/index.mjs +9 -10
  77. package/data-pay/index.mjs +10 -12
  78. package/data-price/index.mjs +8 -9
  79. package/data-progress/index.mjs +10 -11
  80. package/data-rotate/index.mjs +9 -10
  81. package/data-table-picker/index.mjs +11 -12
  82. package/data-tabs/index.mjs +9 -10
  83. package/dict-render/index.mjs +1 -1
  84. package/e-charts/index.mjs +2 -2
  85. package/easy-popup/index.mjs +1 -1
  86. package/editable-progress/index.mjs +8 -8
  87. package/editable-tree/index.mjs +595 -2
  88. package/editable-tree/style.css +1 -1
  89. package/element-dialog/index.mjs +1 -1
  90. package/element-dialog/style.css +1 -1
  91. package/element-resize-observer/index.mjs +1 -1
  92. package/flex-box/index.mjs +1 -1
  93. package/flex-column/index.mjs +1 -1
  94. package/flex-item/index.mjs +1 -1
  95. package/flex-row/index.mjs +1 -1
  96. package/flex-scroller/index.mjs +1 -1
  97. package/flow-designer/index.mjs +1 -1
  98. package/flow-designer/style.css +1 -1
  99. package/flow-viewer/index.mjs +1 -1
  100. package/form-cascader/index.mjs +1 -1
  101. package/form-checkbox/index.mjs +1 -1
  102. package/form-checkbox-group/index.mjs +1 -1
  103. package/form-checkbox-group/style.css +1 -1
  104. package/form-date-picker/index.mjs +1 -1
  105. package/form-holder/index.mjs +1 -1
  106. package/form-image/index.mjs +1 -1
  107. package/form-input/index.mjs +1 -1
  108. package/form-input-cron-expression/index.mjs +1 -1
  109. package/form-input-email/index.mjs +1 -1
  110. package/form-input-id-card/index.mjs +1 -1
  111. package/form-input-number/index.mjs +1 -1
  112. package/form-input-phone-number/index.mjs +1 -1
  113. package/form-input-tag/index.mjs +1 -1
  114. package/form-input-time/index.mjs +1 -1
  115. package/form-item-group/index.mjs +1 -1
  116. package/form-item-x/index.mjs +1 -1
  117. package/form-radio-group/index.mjs +1 -1
  118. package/form-rate/index.mjs +1 -1
  119. package/form-row/index.mjs +1 -1
  120. package/form-select/index.mjs +1 -1
  121. package/form-slider/index.mjs +1 -1
  122. package/form-switch/index.mjs +1 -1
  123. package/form-table/index.mjs +1 -1
  124. package/form-table-plus/index.mjs +1 -1
  125. package/form-text/index.mjs +1 -1
  126. package/form-textarea/index.mjs +1 -1
  127. package/form-time-select/index.mjs +1 -1
  128. package/form-tree-select/index.mjs +1 -1
  129. package/form-tree-select-multiple/index.mjs +1 -1
  130. package/form-view/index.mjs +3 -3
  131. package/guide-steps/index.mjs +77 -2
  132. package/guide-steps/style.css +1 -1
  133. package/helper/dictionary.mjs +1 -1
  134. package/helper/input.mjs +1 -1
  135. package/highlight-j-s/index.mjs +1 -1
  136. package/iframe-window/index.mjs +1 -1
  137. package/image-cropper/index.mjs +12 -11
  138. package/image-preview/index.d.ts +1 -153
  139. package/image-preview/index.mjs +201 -2
  140. package/image-preview/style.css +1 -1
  141. package/image-viewer/index.mjs +1 -1
  142. package/index.css +1 -1
  143. package/index.mjs +101 -101
  144. package/input-number-range/index.mjs +7 -7
  145. package/keyboard/index.mjs +1 -1
  146. package/loading-view/index.mjs +1 -1
  147. package/name-avatar/index.mjs +1 -1
  148. package/nav-bar/index.mjs +3 -4
  149. package/package.json +5 -1
  150. package/page-index/index.mjs +14 -14
  151. package/page-index-top/index.mjs +12 -12
  152. package/pageable-table/index.mjs +1 -1
  153. package/pageable-table/style.css +1 -1
  154. package/photo-swipe/index.mjs +1 -1
  155. package/props/col.mjs +1 -1
  156. package/props/form-item.mjs +1 -1
  157. package/sign-panel/index.mjs +1 -1
  158. package/skeleton-panel/index.mjs +3 -3
  159. package/split-pane/index.mjs +1 -1
  160. package/sub-table/index.mjs +1 -1
  161. package/sub-table-plus/index.mjs +1 -1
  162. package/swiper/index.mjs +2 -2
  163. package/table-column/index.mjs +1 -1
  164. package/table-column-def/index.mjs +1 -1
  165. package/table-view/index.mjs +109 -110
  166. package/table-view/style.css +1 -1
  167. package/tag-render/index.mjs +21 -23
  168. package/text-ellipsis/index.d.ts +1 -1
  169. package/text-ellipsis/index.mjs +1 -1
  170. package/toolbar/index.mjs +1 -1
  171. package/toolbar-button/index.mjs +1 -1
  172. package/vue-cron/index.mjs +1 -1
  173. package/vue-tags-input/index.mjs +1 -1
  174. package/vue-tree-select/index.mjs +1 -1
  175. package/vue-video-player/index.d.ts +1 -1
  176. package/vue-video-player/index.mjs +1 -1
  177. package/watermark/index.mjs +1 -1
  178. package/web-types.json +1 -1
  179. package/x-input-tag/index.mjs +47 -50
  180. package/year-calendar/index.mjs +1 -1
  181. package/year-calendar/style.css +1 -1
  182. package/chunks/49634Q2N2.mjs +0 -936
  183. package/chunks/77cFhiAz.mjs +0 -13
  184. package/chunks/7JVbVOff2.mjs +0 -46
  185. package/chunks/B1ATN2my.mjs +0 -26
  186. package/chunks/B7O8aGqC2.mjs +0 -58
  187. package/chunks/BBPczt0U.mjs +0 -4
  188. package/chunks/BCwAowl1.mjs +0 -589
  189. package/chunks/BDVLN2ly.mjs +0 -105
  190. package/chunks/BEIlrURf.mjs +0 -251
  191. package/chunks/BEysX5TF2.mjs +0 -1038
  192. package/chunks/BHVyaqk0.mjs +0 -736
  193. package/chunks/BIj6pa8Z.mjs +0 -15
  194. package/chunks/BMWg0Wyj.mjs +0 -223
  195. package/chunks/BOsml5YC.mjs +0 -69
  196. package/chunks/BPwFiWYl2.mjs +0 -226
  197. package/chunks/BVIHqL6g.mjs +0 -17
  198. package/chunks/BVSQ6DfJ.mjs +0 -17
  199. package/chunks/BWqFKbFT.mjs +0 -1
  200. package/chunks/B__5L22p2.mjs +0 -346
  201. package/chunks/Bcpewc6H.mjs +0 -1279
  202. package/chunks/Bdeug17L.mjs +0 -42
  203. package/chunks/BffxPn8a.mjs +0 -34
  204. package/chunks/BgKQXQO_.mjs +0 -3093
  205. package/chunks/Bgw_3soo.mjs +0 -35
  206. package/chunks/BjCfQFUL.mjs +0 -54
  207. package/chunks/BjWs-r2V.mjs +0 -25
  208. package/chunks/BlB1fEo92.mjs +0 -8
  209. package/chunks/BmP9lQmT.mjs +0 -1
  210. package/chunks/BrYtAPbN2.mjs +0 -161
  211. package/chunks/BsKwchVA.mjs +0 -14
  212. package/chunks/Bxo1Of95.mjs +0 -479
  213. package/chunks/BzFYbCpR.mjs +0 -25
  214. package/chunks/C6puxasG.mjs +0 -34
  215. package/chunks/C7l9aZGE.mjs +0 -577
  216. package/chunks/CDRNaOEg2.mjs +0 -274
  217. package/chunks/CG7AYiWy.mjs +0 -1
  218. package/chunks/CLzc_j7_.mjs +0 -234
  219. package/chunks/CQSTyCVP.mjs +0 -6
  220. package/chunks/CQxz8uUc.mjs +0 -454
  221. package/chunks/CU8bKuD12.mjs +0 -237
  222. package/chunks/CUF58PQ6.mjs +0 -1
  223. package/chunks/CUMFv5zJ2.mjs +0 -136
  224. package/chunks/C_eGir-J.mjs +0 -17
  225. package/chunks/Cb6Zx6UC.mjs +0 -29
  226. package/chunks/Cb_S4x_i2.mjs +0 -1098
  227. package/chunks/CbgD7y-5.mjs +0 -5
  228. package/chunks/CbsGuLZz2.mjs +0 -105
  229. package/chunks/CcT5SsZk.mjs +0 -48
  230. package/chunks/CcnjxILx.mjs +0 -1
  231. package/chunks/ChkCT6Mm.mjs +0 -4
  232. package/chunks/CiFlMt6Z.mjs +0 -41
  233. package/chunks/CiOqOUkG.mjs +0 -1
  234. package/chunks/CkXf_DVJ2.mjs +0 -1
  235. package/chunks/CnCSm3LY2.mjs +0 -4
  236. package/chunks/CnqWFDqp2.mjs +0 -244
  237. package/chunks/Cq0oEWRi2.mjs +0 -384
  238. package/chunks/CtBIjjQc2.mjs +0 -58
  239. package/chunks/Ctd3_wOH2.mjs +0 -6
  240. package/chunks/CuoYjthQ.mjs +0 -643
  241. package/chunks/CwhXr2Qc.mjs +0 -1
  242. package/chunks/D-hj62se2.mjs +0 -525
  243. package/chunks/D3VpXXqv.mjs +0 -1331
  244. package/chunks/D3Xixh5v.mjs +0 -5
  245. package/chunks/D4oNQiIK.mjs +0 -461
  246. package/chunks/D7O9ov79.mjs +0 -447
  247. package/chunks/D8fid28s2.mjs +0 -42
  248. package/chunks/DJdhVUFO2.mjs +0 -2435
  249. package/chunks/DJo_1CEK2.mjs +0 -61
  250. package/chunks/DMBx2EQl.mjs +0 -107
  251. package/chunks/DOCwznnS.mjs +0 -62
  252. package/chunks/DStwh2ne.mjs +0 -281
  253. package/chunks/D_5z5Xeq2.mjs +0 -37
  254. package/chunks/Df9VO_Wn2.mjs +0 -2
  255. package/chunks/Dg9Q-Tbi2.mjs +0 -299
  256. package/chunks/Diyl8upM.mjs +0 -277
  257. package/chunks/DjIPzCCR.mjs +0 -2
  258. package/chunks/DnBzQ-xh.mjs +0 -4
  259. package/chunks/Dp195RgF.mjs +0 -2
  260. package/chunks/Dqu1Etz62.mjs +0 -52
  261. package/chunks/DrKq_frR.mjs +0 -98
  262. package/chunks/DrXfCf172.mjs +0 -440
  263. package/chunks/DsZznbt2.mjs +0 -208
  264. package/chunks/Dsd58O0g.mjs +0 -25
  265. package/chunks/DssopN-n2.mjs +0 -97
  266. package/chunks/Dtq1xYk8.mjs +0 -47
  267. package/chunks/FeuisuNY2.mjs +0 -88
  268. package/chunks/GEtlriHC.mjs +0 -188
  269. package/chunks/GsvG1yFW.mjs +0 -1919
  270. package/chunks/IheQdJ0z.mjs +0 -267
  271. package/chunks/KGmxNbpi.mjs +0 -21
  272. package/chunks/PNyFONog2.mjs +0 -69
  273. package/chunks/T70m4caR.mjs +0 -1095
  274. package/chunks/ZBsqmcIN2.mjs +0 -622
  275. package/chunks/akEzJ4kG.mjs +0 -18
  276. package/chunks/fX1GD0G5.mjs +0 -70
  277. package/chunks/gh52LMTG.mjs +0 -12
  278. package/chunks/hgAOQY9a.mjs +0 -406
  279. package/chunks/iu5J8EF_.mjs +0 -197
  280. package/chunks/lGc5ksPb.mjs +0 -279
  281. package/chunks/pZQfJv282.mjs +0 -4
  282. package/chunks/qrHhuZXg.mjs +0 -465
  283. package/chunks/r8gDbwly.mjs +0 -1
  284. package/chunks/vpwjmKdg2.mjs +0 -32
  285. package/css/style.css +0 -1
  286. package/css/style10.css +0 -1
  287. package/css/style11.css +0 -1
  288. package/css/style12.css +0 -1
  289. package/css/style13.css +0 -1
  290. package/css/style14.css +0 -1
  291. package/css/style15.css +0 -1
  292. package/css/style16.css +0 -1
  293. package/css/style17.css +0 -1
  294. package/css/style18.css +0 -1
  295. package/css/style19.css +0 -1
  296. package/css/style2.css +0 -1
  297. package/css/style20.css +0 -1
  298. package/css/style21.css +0 -1
  299. package/css/style22.css +0 -1
  300. package/css/style23.css +0 -1
  301. package/css/style24.css +0 -1
  302. package/css/style25.css +0 -1
  303. package/css/style26.css +0 -1
  304. package/css/style27.css +0 -1
  305. package/css/style28.css +0 -1
  306. package/css/style29.css +0 -1
  307. package/css/style3.css +0 -1
  308. package/css/style4.css +0 -1
  309. package/css/style5.css +0 -1
  310. package/css/style6.css +0 -1
  311. package/css/style7.css +0 -1
  312. package/css/style8.css +0 -1
  313. package/css/style9.css +0 -1
  314. package/form-date-picker/style.css +0 -1
  315. package/form-image/style.css +0 -1
  316. package/form-input-time/style.css +0 -1
  317. package/form-radio-group/style.css +0 -1
  318. package/form-rate/style.css +0 -1
  319. package/form-time-select/style.css +0 -1
  320. /package/chunks/{CZnBtJW02.mjs → BBvIPqcc.mjs} +0 -0
  321. /package/chunks/{iIozz7ce.mjs → BoCxKwBf.mjs} +0 -0
  322. /package/chunks/{BxRjXAwz.mjs → CE67pCwD.mjs} +0 -0
  323. /package/chunks/{DWhGFQkb2.mjs → CQeEP_Tl.mjs} +0 -0
  324. /package/chunks/{BQ0e8kIi.mjs → CaczibeD.mjs} +0 -0
  325. /package/chunks/{B_80qPvY.mjs → DZCryyFG.mjs} +0 -0
  326. /package/chunks/{q5iCsXNv.mjs → Dq63V0CC.mjs} +0 -0
  327. /package/chunks/{CRjUGi_-.mjs → OEBJ-trG.mjs} +0 -0
  328. /package/chunks/{GYddfy8T.mjs → fjtZc9Rq2.mjs} +0 -0
@@ -1,479 +0,0 @@
1
- import { r as e } from "./CjjJimnU.mjs";
2
- import { t } from "./Dg9Q-Tbi2.mjs";
3
- import { t as n } from "./BQ0e8kIi.mjs";
4
- import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, createVNode as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderList as f, toDisplayString as p, withModifiers as m } from "vue";
5
- //#region src/components/material-year-calendar/MonthCalendar.vue?vue&type=style&index=0&scoped=f0191d3f&lang.scss
6
- var h = /* @__PURE__ */ e(t()), g = {
7
- name: "MonthCalendar",
8
- props: {
9
- activeDates: {
10
- type: Array,
11
- default: () => []
12
- },
13
- month: {
14
- type: [String, Number],
15
- default: () => (0, h.default)().month() + 1
16
- },
17
- year: {
18
- type: [String, Number],
19
- default: () => (0, h.default)().year()
20
- },
21
- lang: {
22
- type: String,
23
- default: "en"
24
- },
25
- activeClass: {
26
- type: String,
27
- default: () => ""
28
- },
29
- prefixClass: {
30
- type: String,
31
- default: () => "calendar--active"
32
- }
33
- },
34
- emits: ["toggleDate", "monthClickEvent"],
35
- data() {
36
- return {
37
- showDays: [],
38
- isMouseDown: !1
39
- };
40
- },
41
- computed: {
42
- weekTitleFontSizeAdjustLang() {
43
- return {
44
- tw: "16px",
45
- en: "14px",
46
- pt: "14px",
47
- de: "14px",
48
- es: "14px",
49
- pl: "12px",
50
- ru: "14px"
51
- }[this.lang];
52
- },
53
- monthTitle() {
54
- return {
55
- tw: [
56
- "一月",
57
- "二月",
58
- "三月",
59
- "四月",
60
- "五月",
61
- "六月",
62
- "七月",
63
- "八月",
64
- "九月",
65
- "十月",
66
- "十一月",
67
- "十二月"
68
- ],
69
- en: [
70
- "January",
71
- "February",
72
- "March",
73
- "April",
74
- "May",
75
- "June",
76
- "July",
77
- "August",
78
- "September",
79
- "October",
80
- "November",
81
- "December"
82
- ],
83
- pt: [
84
- "Janeiro",
85
- "Fevereiro",
86
- "Março",
87
- "Abril",
88
- "Maio",
89
- "Junho",
90
- "Julho",
91
- "Agosto",
92
- "Setembro",
93
- "Outubro",
94
- "Novembro",
95
- "Dezembro"
96
- ],
97
- de: [
98
- "Januar",
99
- "Februar",
100
- "März",
101
- "April",
102
- "Mai",
103
- "Juni",
104
- "Juli",
105
- "August",
106
- "September",
107
- "Oktober",
108
- "November",
109
- "Dezember"
110
- ],
111
- es: [
112
- "Enero",
113
- "Febrero",
114
- "Marzo",
115
- "Abril",
116
- "Mayo",
117
- "Junio",
118
- "Julio",
119
- "Agosto",
120
- "Septiembre",
121
- "Octubre",
122
- "Noviembre",
123
- "Diciembre"
124
- ],
125
- pl: [
126
- "Styczeń",
127
- "Luty",
128
- "Marzec",
129
- "Kwiecień",
130
- "Maj",
131
- "Czerwiec",
132
- "Lipiec",
133
- "Sierpień",
134
- "Wrzesień",
135
- "Październik",
136
- "Listopad",
137
- "Grudzień"
138
- ],
139
- ru: [
140
- "Январь",
141
- "Февраль",
142
- "Март",
143
- "Апрель",
144
- "Май",
145
- "Июнь",
146
- "Июль",
147
- "Август",
148
- "Сентябрь",
149
- "Октябрь",
150
- "Ноябрь",
151
- "Декабрь"
152
- ]
153
- }[this.lang][this.month - 1];
154
- }
155
- },
156
- watch: {
157
- year(e) {
158
- this.initCalendar();
159
- },
160
- activeDates(e, t) {
161
- this.initCalendar();
162
- }
163
- },
164
- created() {
165
- this.initCalendar();
166
- },
167
- methods: {
168
- initCalendar() {
169
- if (!this.year || !this.month) return [];
170
- let e = (0, h.default)().set("date", 1).set("year", this.year).set("month", this.month - 1), t = e.startOf("month").day() - 1;
171
- t < 0 && (t += 7);
172
- let n = e.endOf("month").date(), r = t >= 5 ? 6 : 5, i = 0, a = Array.from(Array(r * 7).keys()).map((e) => ({
173
- value: t <= e ? i++ % n + 1 : "",
174
- active: !1,
175
- isOtherMonth: t > e || i > n
176
- }));
177
- this.showDays = a, this.activeDates.forEach((e) => {
178
- let n;
179
- typeof e == "string" ? n = {
180
- date: e,
181
- className: this.activeClass
182
- } : typeof e == "object" && (n = e);
183
- let r = (0, h.default)(n.date);
184
- if (r.year() !== this.year) return;
185
- let i = r.date(), a = Math.floor(i / 7), o = i % 7 - 1 + t + 7 * a;
186
- this.showDays[o].active = !0, this.showDays[o].className = n.className;
187
- });
188
- },
189
- showDayTitle(e) {
190
- return {
191
- tw: [
192
- "一",
193
- "二",
194
- "三",
195
- "四",
196
- "五",
197
- "六",
198
- "日"
199
- ],
200
- en: [
201
- "Mo",
202
- "Tu",
203
- "We",
204
- "Th",
205
- "Fr",
206
- "Sa",
207
- "Su"
208
- ],
209
- pt: [
210
- "2ª",
211
- "3ª",
212
- "4ª",
213
- "5ª",
214
- "6ª",
215
- "Sa",
216
- "Do"
217
- ],
218
- de: [
219
- "Mo",
220
- "Di",
221
- "Mi",
222
- "Do",
223
- "Fr",
224
- "Sa",
225
- "So"
226
- ],
227
- es: [
228
- "Lu",
229
- "Ma",
230
- "Mi",
231
- "Ju",
232
- "Vi",
233
- "Sá",
234
- "Do"
235
- ],
236
- pl: [
237
- "Pon",
238
- "Wt",
239
- "Śr",
240
- "Czw",
241
- "Pt",
242
- "Sob",
243
- "Nie"
244
- ],
245
- ru: [
246
- "Пн",
247
- "Вт",
248
- "Ср",
249
- "Чт",
250
- "Пт",
251
- "Сб",
252
- "Вс"
253
- ]
254
- }[this.lang][e];
255
- },
256
- toggleDay(e) {
257
- e.isOtherMonth || this.$emit("toggleDate", {
258
- month: this.month,
259
- date: e.value,
260
- selected: !e.active,
261
- className: this.activeClass
262
- });
263
- },
264
- dragDay(e) {
265
- this.isMouseDown && this.toggleDay(e);
266
- },
267
- mouseDown(e) {
268
- this.toggleDay(e), this.isMouseDown = !0;
269
- },
270
- mouseUp() {
271
- this.isMouseDown = !1;
272
- },
273
- classList(e) {
274
- let t = {
275
- "calendar__day--otherMonth": e.isOtherMonth,
276
- [this.prefixClass]: e.active
277
- };
278
- return e.active && (t[e.className] = !0), t;
279
- },
280
- monthClickEvent(e) {
281
- let t = {
282
- monthTitle: this.monthTitle,
283
- month: this.month,
284
- year: e
285
- };
286
- this.$emit("monthClickEvent", t);
287
- }
288
- }
289
- }, _ = { class: "c-wrapper" }, v = { class: "calendar__body" }, y = ["onMouseover", "onMousedown"];
290
- function b(e, t, n, i, s, c) {
291
- return d(), a("div", _, [o("div", {
292
- class: "calendar",
293
- onMouseup: t[1] || (t[1] = (...e) => c.mouseUp && c.mouseUp(...e)),
294
- onMouseleave: t[2] || (t[2] = m((...e) => c.mouseUp && c.mouseUp(...e), ["stop"]))
295
- }, [o("div", {
296
- class: "calendar__title",
297
- onClick: t[0] || (t[0] = (e) => c.monthClickEvent(n.year))
298
- }, p(c.monthTitle), 1), o("div", v, [(d(), a(r, null, f(7, (e, t) => o("div", {
299
- key: `title${e}`,
300
- class: "calendar__day day__weektitle",
301
- style: u({ fontSize: c.weekTitleFontSizeAdjustLang })
302
- }, p(c.showDayTitle(t)), 5)), 64)), (d(!0), a(r, null, f(s.showDays, (e, t) => (d(), a("div", {
303
- key: `day${t}`,
304
- class: "calendar__day"
305
- }, [o("div", {
306
- class: l(["day", c.classList(e)]),
307
- onMouseover: (t) => c.dragDay(e),
308
- onMousedown: (t) => c.mouseDown(e)
309
- }, p(e.value), 43, y)]))), 128))])], 32)]);
310
- }
311
- var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-f0191d3f"]]), S = {
312
- name: "YearCalendar",
313
- components: { MonthCalendar: x },
314
- props: {
315
- showYearSelector: {
316
- type: Boolean,
317
- default: () => !0
318
- },
319
- activeDates: {
320
- type: Array,
321
- default: () => [],
322
- validator: (e) => {
323
- let t = !0, n = null;
324
- return e.forEach((e) => {
325
- typeof e == "string" ? n = e : typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "date") && (n = e.date), /^\d{4}\-\d{1,2}\-\d{1,2}$/.test(n) || (t = !1);
326
- let r = n.split("-"), i = parseInt(r[2], 10), a = parseInt(r[1], 10), o = parseInt(r[0], 10);
327
- (o < 1e3 || o > 3e3 || a === 0 || a > 12) && (t = !1);
328
- let s = [
329
- 31,
330
- 28,
331
- 31,
332
- 30,
333
- 31,
334
- 30,
335
- 31,
336
- 31,
337
- 30,
338
- 31,
339
- 30,
340
- 31
341
- ];
342
- (o % 400 == 0 || o % 100 != 0 && o % 4 == 0) && (s[1] = 29), i > 0 && i <= s[a - 1] || (t = !1);
343
- }), t;
344
- }
345
- },
346
- modelValue: {
347
- type: [String, Number],
348
- default: (0, h.default)().year()
349
- },
350
- lang: {
351
- type: String,
352
- default: "en"
353
- },
354
- activeClass: {
355
- type: String,
356
- default: () => ""
357
- },
358
- prefixClass: {
359
- type: String,
360
- default: () => "calendar--active"
361
- },
362
- hideWeekend: {
363
- type: Boolean,
364
- default: !1
365
- },
366
- hideSunday: {
367
- type: Boolean,
368
- default: !1
369
- }
370
- },
371
- emits: [
372
- "toggleDate",
373
- "monthClick",
374
- "update:activeDates",
375
- "update:modelValue"
376
- ],
377
- data() {
378
- return { isUsingString: !0 };
379
- },
380
- computed: {
381
- month() {
382
- let e = {};
383
- return this.activeDates.forEach((t) => {
384
- let n;
385
- if (n = typeof t == "string" ? {
386
- date: t,
387
- className: this.activeClass
388
- } : {
389
- date: t.date,
390
- className: t.className || ""
391
- }, (0, h.default)(n.date).year() !== parseInt(this.modelValue)) return;
392
- let r = ((0, h.default)(n.date).month() + 1).toString();
393
- e[r] || (e[r] = []), e[r].push(n);
394
- }), e;
395
- },
396
- activeYear: {
397
- get() {
398
- return parseInt(this.modelValue);
399
- },
400
- set(e) {
401
- this.$emit("update:modelValue", e);
402
- }
403
- }
404
- },
405
- created() {
406
- this.isUsingString = this.activeDates.length && typeof this.activeDates[0] == "string";
407
- },
408
- methods: {
409
- changeYear(e) {
410
- this.activeYear = e + this.activeYear - 3;
411
- },
412
- toggleDate(e) {
413
- let t = (0, h.default)().set("year", this.modelValue).set("month", e.month - 1).set("date", e.date).format("YYYY-MM-DD");
414
- this.$emit("toggleDate", {
415
- date: t,
416
- selected: e.selected,
417
- className: e.className
418
- });
419
- let n, r;
420
- if (this.isUsingString) n = this.activeDates.indexOf(t), r = this.modifiedActiveDates(n, t);
421
- else {
422
- let i = {
423
- date: t,
424
- className: e.className
425
- };
426
- n = this.activeDates.indexOf(this.activeDates.find((e) => e.date === t)), r = this.modifiedActiveDates(n, i);
427
- }
428
- this.$emit("update:activeDates", r);
429
- },
430
- modifiedActiveDates(e, t) {
431
- let n = [...this.activeDates];
432
- return e === -1 ? n.push(t) : n.splice(e, 1), n;
433
- },
434
- monthClick(e) {
435
- this.$emit("monthClick", e);
436
- }
437
- }
438
- }, C = { class: "vue-calendar__container" }, w = {
439
- key: 0,
440
- class: "container__year"
441
- }, T = ["onClick"];
442
- function E(e, t, n, u, m, h) {
443
- let g = x;
444
- return d(), a("div", C, [n.showYearSelector ? (d(), a("div", w, [
445
- i(" <span><button @click=\"addYear(-1)\">back</button></span> "),
446
- (d(), a(r, null, f(5, (e) => o("span", {
447
- key: e,
448
- class: "year__chooser",
449
- onClick: (t) => h.changeYear(e)
450
- }, p(e + h.activeYear - 3), 9, T)), 64)),
451
- i(" <span><button @click=\"addYear(1)\">next</button></span> ")
452
- ])) : i("v-if", !0), o("div", { class: l(["container__months", {
453
- "hide-weekend": n.hideWeekend,
454
- "hide-sunday": n.hideSunday
455
- }]) }, [(d(), a(r, null, f(12, (e) => c(g, {
456
- key: `month-${e}`,
457
- class: "container__month",
458
- year: h.activeYear,
459
- month: e,
460
- "active-dates": h.month[e],
461
- "active-class": n.activeClass,
462
- lang: n.lang,
463
- "prefix-class": n.prefixClass,
464
- onToggleDate: h.toggleDate,
465
- onMonthClickEvent: h.monthClick
466
- }, null, 8, [
467
- "year",
468
- "month",
469
- "active-dates",
470
- "active-class",
471
- "lang",
472
- "prefix-class",
473
- "onToggleDate",
474
- "onMonthClickEvent"
475
- ])), 64)), t[0] || (t[0] = s("<div class=\"container__month p-0\" data-v-7fe7231c></div><div class=\"container__month p-0\" data-v-7fe7231c></div><div class=\"container__month p-0\" data-v-7fe7231c></div><div class=\"container__month p-0\" data-v-7fe7231c></div><div class=\"container__month p-0\" data-v-7fe7231c></div>", 5))], 2)]);
476
- }
477
- var D = /* @__PURE__ */ n(S, [["render", E], ["__scopeId", "data-v-7fe7231c"]]);
478
- //#endregion
479
- export { D as t };
@@ -1,25 +0,0 @@
1
- import "./CjjJimnU.mjs";
2
- import { h as e } from "./D-hj62se2.mjs";
3
- import { t } from "./fX1GD0G5.mjs";
4
- /* empty css */
5
- import { useFormItemProps as n } from "../helper/form-item.mjs";
6
- import { r } from "./CUMFv5zJ2.mjs";
7
- import { allProps as i, predicate as a } from "../props/text.mjs";
8
- import { createVNode as o, mergeProps as s } from "vue";
9
- //#endregion
10
- //#region src/components/form/FormText.vue
11
- var c = {
12
- name: "FormText",
13
- inheritAttrs: !1,
14
- props: { ...i },
15
- setup(i, { slots: c, attrs: l }) {
16
- let u = n(i, { attrs: l }), d = e(i, a);
17
- return () => r(i, {
18
- vNodes: o(t, s(d.value, l), { default: c.default || (() => i.text) }),
19
- formItemProps: u,
20
- slots: c
21
- });
22
- }
23
- };
24
- //#endregion
25
- export { c as t };
@@ -1,34 +0,0 @@
1
- import "./CjjJimnU.mjs";
2
- import { t as e } from "./BMWg0Wyj.mjs";
3
- /* empty css */
4
- import { n as t, o as n } from "./CUMFv5zJ2.mjs";
5
- import { allProps as r, predicate as i } from "../props/switch.mjs";
6
- import { createVNode as a, mergeProps as o, useModel as s } from "vue";
7
- //#endregion
8
- //#region src/components/form/FormSwitch.vue
9
- var c = {
10
- name: "FormSwitch",
11
- inheritAttrs: !1,
12
- props: { ...r },
13
- emits: { ...t },
14
- setup(t, { emit: r, slots: c, attrs: l }) {
15
- let u = s(t, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = n(t, {
16
- emit: r,
17
- attrs: l,
18
- slots: c,
19
- predicate: i
20
- });
21
- return () => d({ vNodes: a(e, o(p.value, m.value, {
22
- modelValue: u.value,
23
- "onUpdate:modelValue": (e) => u.value = e,
24
- disabled: f.value
25
- }), {
26
- "active-action": c["active-action"],
27
- "inactive-action": c["inactive-action"],
28
- active: c.active,
29
- inactive: c.inactive
30
- }) });
31
- }
32
- };
33
- //#endregion
34
- export { c as t };