@indielayer/ui 1.10.1 → 1.10.2

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 (207) hide show
  1. package/docs/pages/component/datepicker/usage.vue +2 -0
  2. package/docs/pages/component/select/usage.vue +15 -0
  3. package/docs/pages/component/tag/index.vue +1 -1
  4. package/docs/pages/component/tag/usage.vue +10 -1
  5. package/lib/components/datepicker/Datepicker.vue.d.ts +118 -276
  6. package/lib/components/datepicker/Datepicker.vue.js +47 -69
  7. package/lib/components/datepicker/theme/Datepicker.base.theme.js +10 -12
  8. package/lib/components/select/Select.vue.d.ts +333 -1
  9. package/lib/components/select/Select.vue.js +219 -203
  10. package/lib/components/tag/Tag.vue.d.ts +4 -0
  11. package/lib/components/tag/Tag.vue.js +2 -1
  12. package/lib/components/tag/theme/Tag.base.theme.js +15 -15
  13. package/lib/composables/index.d.ts +1 -0
  14. package/lib/index.js +37 -35
  15. package/lib/index.umd.js +5 -7
  16. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.1_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5199 -0
  17. package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/format/formatters.js +2 -3
  18. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js +11 -0
  19. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
  20. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/add.js +20 -0
  21. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addDays.js +10 -0
  22. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addHours.js +9 -0
  23. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMilliseconds.js +9 -0
  24. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMonths.js +21 -0
  25. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addQuarters.js +8 -0
  26. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addYears.js +8 -0
  27. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/compareAsc.js +9 -0
  28. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js +9 -0
  29. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +8 -0
  30. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarDays.js +16 -0
  31. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarYears.js +13 -0
  32. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInYears.js +17 -0
  33. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachDayOfInterval.js +20 -0
  34. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachQuarterOfInterval.js +21 -0
  35. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfQuarter.js +9 -0
  36. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js +11 -0
  37. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfYear.js +9 -0
  38. package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/format.js +14 -14
  39. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDay.js +8 -0
  40. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDayOfYear.js +11 -0
  41. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDaysInMonth.js +10 -0
  42. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getHours.js +8 -0
  43. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISODay.js +9 -0
  44. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeek.js +12 -0
  45. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeekYear.js +15 -0
  46. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMinutes.js +8 -0
  47. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMonth.js +8 -0
  48. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getQuarter.js +9 -0
  49. package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/getSeconds.js +3 -3
  50. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeek.js +12 -0
  51. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeekYear.js +17 -0
  52. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getYear.js +8 -0
  53. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isAfter.js +8 -0
  54. package/lib/node_modules/.pnpm/{date-fns@3.6.0/node_modules/date-fns/isEqual.js → date-fns@4.1.0/node_modules/date-fns/isBefore.js} +2 -3
  55. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isEqual.js +8 -0
  56. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameQuarter.js +14 -0
  57. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isValid.js +9 -0
  58. package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildMatchFn.js +2 -2
  59. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/Setter.js +41 -0
  60. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse.js +90 -0
  61. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/set.js +11 -0
  62. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setDay.js +12 -0
  63. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setHours.js +9 -0
  64. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISODay.js +11 -0
  65. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISOWeek.js +10 -0
  66. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMilliseconds.js +9 -0
  67. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMinutes.js +9 -0
  68. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMonth.js +13 -0
  69. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setSeconds.js +9 -0
  70. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setWeek.js +10 -0
  71. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setYear.js +10 -0
  72. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfDay.js +9 -0
  73. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeek.js +8 -0
  74. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  75. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfMonth.js +9 -0
  76. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfQuarter.js +9 -0
  77. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +11 -0
  78. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeekYear.js +13 -0
  79. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfYear.js +9 -0
  80. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/sub.js +19 -0
  81. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js +8 -0
  82. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subMonths.js +8 -0
  83. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subYears.js +8 -0
  84. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +8 -0
  85. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/transpose.js +18 -0
  86. package/lib/version.d.ts +1 -1
  87. package/lib/version.js +1 -1
  88. package/package.json +2 -2
  89. package/src/components/datepicker/Datepicker.vue +23 -29
  90. package/src/components/datepicker/theme/Datepicker.base.theme.ts +6 -8
  91. package/src/components/select/Select.vue +49 -43
  92. package/src/components/tag/Tag.vue +2 -1
  93. package/src/components/tag/theme/Tag.base.theme.ts +22 -11
  94. package/src/composables/index.ts +1 -0
  95. package/src/version.ts +1 -1
  96. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -4774
  97. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/add.js +0 -20
  98. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addDays.js +0 -10
  99. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addHours.js +0 -9
  100. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addMilliseconds.js +0 -10
  101. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addMonths.js +0 -21
  102. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addQuarters.js +0 -9
  103. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addYears.js +0 -8
  104. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/constants.js +0 -8
  105. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/constructFrom.js +0 -7
  106. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInCalendarDays.js +0 -11
  107. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/eachDayOfInterval.js +0 -19
  108. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/eachQuarterOfInterval.js +0 -20
  109. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfQuarter.js +0 -9
  110. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfWeek.js +0 -11
  111. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfYear.js +0 -9
  112. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getDay.js +0 -8
  113. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getDayOfYear.js +0 -11
  114. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getDaysInMonth.js +0 -10
  115. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getHours.js +0 -8
  116. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getISODay.js +0 -9
  117. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getISOWeek.js +0 -12
  118. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getISOWeekYear.js +0 -15
  119. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getMinutes.js +0 -8
  120. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getMonth.js +0 -8
  121. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getQuarter.js +0 -9
  122. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getWeek.js +0 -12
  123. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getWeekYear.js +0 -17
  124. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getYear.js +0 -8
  125. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isAfter.js +0 -9
  126. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isBefore.js +0 -9
  127. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isSameQuarter.js +0 -9
  128. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isValid.js +0 -12
  129. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/parse/_lib/Setter.js +0 -40
  130. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/parse.js +0 -90
  131. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/set.js +0 -11
  132. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setDay.js +0 -12
  133. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setHours.js +0 -9
  134. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setISODay.js +0 -11
  135. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setISOWeek.js +0 -10
  136. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setMilliseconds.js +0 -9
  137. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setMinutes.js +0 -9
  138. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setMonth.js +0 -13
  139. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setSeconds.js +0 -9
  140. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setWeek.js +0 -10
  141. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setYear.js +0 -10
  142. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfDay.js +0 -9
  143. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfISOWeek.js +0 -8
  144. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  145. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfQuarter.js +0 -9
  146. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfWeek.js +0 -11
  147. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfWeekYear.js +0 -13
  148. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfYear.js +0 -10
  149. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/sub.js +0 -19
  150. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/subDays.js +0 -8
  151. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/subMonths.js +0 -8
  152. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/subYears.js +0 -8
  153. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/toDate.js +0 -8
  154. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/transpose.js +0 -18
  155. /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.3.2_vue@3.5.10_typescript@5.2.2_ → @vuepic_vue-datepicker@11.0.1_vue@3.5.10_typescript@5.2.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
  156. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/addLeadingZeros.js +0 -0
  157. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/defaultOptions.js +0 -0
  158. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/format/lightFormatters.js +0 -0
  159. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/format/longFormatters.js +0 -0
  160. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -0
  161. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/_lib/protectedTokens.js +0 -0
  162. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/getDefaultOptions.js +0 -0
  163. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/isDate.js +0 -0
  164. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -0
  165. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -0
  166. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -0
  167. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -0
  168. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -0
  169. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -0
  170. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -0
  171. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/match.js +0 -0
  172. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US.js +0 -0
  173. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/Parser.js +0 -0
  174. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/constants.js +0 -0
  175. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -0
  176. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -0
  177. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -0
  178. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -0
  179. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -0
  180. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -0
  181. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -0
  182. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -0
  183. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -0
  184. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -0
  185. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -0
  186. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -0
  187. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -0
  188. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -0
  189. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -0
  190. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -0
  191. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -0
  192. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -0
  193. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -0
  194. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -0
  195. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -0
  196. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -0
  197. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -0
  198. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -0
  199. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -0
  200. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -0
  201. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -0
  202. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -0
  203. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -0
  204. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -0
  205. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -0
  206. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/parsers.js +0 -0
  207. /package/lib/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/parse/_lib/utils.js +0 -0
@@ -0,0 +1,90 @@
1
+ import { longFormatters as W } from "./_lib/format/longFormatters.js";
2
+ import { isProtectedWeekYearToken as L, warnOrThrowProtectedError as b, isProtectedDayOfYearToken as j } from "./_lib/protectedTokens.js";
3
+ import { constructFrom as q } from "./constructFrom.js";
4
+ import { getDefaultOptions as v } from "./getDefaultOptions.js";
5
+ import { toDate as A } from "./toDate.js";
6
+ import { DateTimezoneSetter as z } from "./parse/_lib/Setter.js";
7
+ import { parsers as Q } from "./parse/_lib/parsers.js";
8
+ import { enUS as H } from "./locale/en-US.js";
9
+ const I = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, K = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, M = /^'([^]*?)'?$/, U = /''/g, Z = /\S/, B = /[a-zA-Z]/;
10
+ function te(a, i, f, e) {
11
+ var w, d, T, O, y, E, R, x;
12
+ const c = () => q((e == null ? void 0 : e.in) || f, NaN), l = v(), m = (e == null ? void 0 : e.locale) ?? l.locale ?? H, F = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((d = (w = e == null ? void 0 : e.locale) == null ? void 0 : w.options) == null ? void 0 : d.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((O = (T = l.locale) == null ? void 0 : T.options) == null ? void 0 : O.firstWeekContainsDate) ?? 1, $ = (e == null ? void 0 : e.weekStartsOn) ?? ((E = (y = e == null ? void 0 : e.locale) == null ? void 0 : y.options) == null ? void 0 : E.weekStartsOn) ?? l.weekStartsOn ?? ((x = (R = l.locale) == null ? void 0 : R.options) == null ? void 0 : x.weekStartsOn) ?? 0;
13
+ if (!i)
14
+ return a ? c() : A(f, e == null ? void 0 : e.in);
15
+ const u = {
16
+ firstWeekContainsDate: F,
17
+ weekStartsOn: $,
18
+ locale: m
19
+ }, k = [new z(e == null ? void 0 : e.in, f)], Y = i.match(K).map((r) => {
20
+ const t = r[0];
21
+ if (t in W) {
22
+ const n = W[t];
23
+ return n(r, m.formatLong);
24
+ }
25
+ return r;
26
+ }).join("").match(I), g = [];
27
+ for (let r of Y) {
28
+ !(e != null && e.useAdditionalWeekYearTokens) && L(r) && b(r, i, a), !(e != null && e.useAdditionalDayOfYearTokens) && j(r) && b(r, i, a);
29
+ const t = r[0], n = Q[t];
30
+ if (n) {
31
+ const { incompatibleTokens: D } = n;
32
+ if (Array.isArray(D)) {
33
+ const C = g.find(
34
+ (P) => D.includes(P.token) || P.token === t
35
+ );
36
+ if (C)
37
+ throw new RangeError(
38
+ `The format string mustn't contain \`${C.fullToken}\` and \`${r}\` at the same time`
39
+ );
40
+ } else if (n.incompatibleTokens === "*" && g.length > 0)
41
+ throw new RangeError(
42
+ `The format string mustn't contain \`${r}\` and any other token at the same time`
43
+ );
44
+ g.push({ token: t, fullToken: r });
45
+ const h = n.run(
46
+ a,
47
+ r,
48
+ m.match,
49
+ u
50
+ );
51
+ if (!h)
52
+ return c();
53
+ k.push(h.setter), a = h.rest;
54
+ } else {
55
+ if (t.match(B))
56
+ throw new RangeError(
57
+ "Format string contains an unescaped latin alphabet character `" + t + "`"
58
+ );
59
+ if (r === "''" ? r = "'" : t === "'" && (r = G(r)), a.indexOf(r) === 0)
60
+ a = a.slice(r.length);
61
+ else
62
+ return c();
63
+ }
64
+ }
65
+ if (a.length > 0 && Z.test(a))
66
+ return c();
67
+ const N = k.map((r) => r.priority).sort((r, t) => t - r).filter((r, t, n) => n.indexOf(r) === t).map(
68
+ (r) => k.filter((t) => t.priority === r).sort((t, n) => n.subPriority - t.subPriority)
69
+ ).map((r) => r[0]);
70
+ let s = A(f, e == null ? void 0 : e.in);
71
+ if (isNaN(+s))
72
+ return c();
73
+ const o = {};
74
+ for (const r of N) {
75
+ if (!r.validate(s, u))
76
+ return c();
77
+ const t = r.set(s, o, u);
78
+ Array.isArray(t) ? (s = t[0], Object.assign(o, t[1])) : s = t;
79
+ }
80
+ return s;
81
+ }
82
+ function G(a) {
83
+ return a.match(M)[1].replace(U, "'");
84
+ }
85
+ export {
86
+ te as default,
87
+ W as longFormatters,
88
+ te as parse,
89
+ Q as parsers
90
+ };
@@ -0,0 +1,11 @@
1
+ import { constructFrom as i } from "./constructFrom.js";
2
+ import { setMonth as f } from "./setMonth.js";
3
+ import { toDate as m } from "./toDate.js";
4
+ function s(e, t, n) {
5
+ let r = m(e, n == null ? void 0 : n.in);
6
+ return isNaN(+r) ? i((n == null ? void 0 : n.in) || e, NaN) : (t.year != null && r.setFullYear(t.year), t.month != null && (r = f(r, t.month)), t.date != null && r.setDate(t.date), t.hours != null && r.setHours(t.hours), t.minutes != null && r.setMinutes(t.minutes), t.seconds != null && r.setSeconds(t.seconds), t.milliseconds != null && r.setMilliseconds(t.milliseconds), r);
7
+ }
8
+ export {
9
+ s as default,
10
+ s as set
11
+ };
@@ -0,0 +1,12 @@
1
+ import { getDefaultOptions as s } from "./_lib/defaultOptions.js";
2
+ import { addDays as w } from "./addDays.js";
3
+ import { toDate as S } from "./toDate.js";
4
+ function _(O, t, e) {
5
+ var f, d, l, m;
6
+ const a = s(), u = (e == null ? void 0 : e.weekStartsOn) ?? ((d = (f = e == null ? void 0 : e.locale) == null ? void 0 : f.options) == null ? void 0 : d.weekStartsOn) ?? a.weekStartsOn ?? ((m = (l = a.locale) == null ? void 0 : l.options) == null ? void 0 : m.weekStartsOn) ?? 0, c = S(O, e == null ? void 0 : e.in), n = c.getDay(), D = (t % 7 + 7) % 7, r = 7 - u, k = t < 0 || t > 6 ? t - (n + r) % 7 : (D + r) % 7 - (n + r) % 7;
7
+ return w(c, k, e);
8
+ }
9
+ export {
10
+ _ as default,
11
+ _ as setDay
12
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function c(t, u, e) {
3
+ const r = a(t, e == null ? void 0 : e.in);
4
+ return r.setHours(u), r;
5
+ }
6
+ export {
7
+ c as default,
8
+ c as setHours
9
+ };
@@ -0,0 +1,11 @@
1
+ import { addDays as c } from "./addDays.js";
2
+ import { getISODay as d } from "./getISODay.js";
3
+ import { toDate as D } from "./toDate.js";
4
+ function I(a, e, r) {
5
+ const t = D(a, r == null ? void 0 : r.in), f = d(t, r), m = e - f;
6
+ return c(t, m, r);
7
+ }
8
+ export {
9
+ I as default,
10
+ I as setISODay
11
+ };
@@ -0,0 +1,10 @@
1
+ import { getISOWeek as m } from "./getISOWeek.js";
2
+ import { toDate as c } from "./toDate.js";
3
+ function D(r, a, e) {
4
+ const t = c(r, e == null ? void 0 : e.in), f = m(t, e) - a;
5
+ return t.setDate(t.getDate() - f * 7), t;
6
+ }
7
+ export {
8
+ D as default,
9
+ D as setISOWeek
10
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function d(l, r, e) {
3
+ const t = a(l, e == null ? void 0 : e.in);
4
+ return t.setMilliseconds(r), t;
5
+ }
6
+ export {
7
+ d as default,
8
+ d as setMilliseconds
9
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function n(r, u, e) {
3
+ const t = a(r, e == null ? void 0 : e.in);
4
+ return t.setMinutes(u), t;
5
+ }
6
+ export {
7
+ n as default,
8
+ n as setMinutes
9
+ };
@@ -0,0 +1,13 @@
1
+ import { constructFrom as M } from "./constructFrom.js";
2
+ import { getDaysInMonth as f } from "./getDaysInMonth.js";
3
+ import { toDate as h } from "./toDate.js";
4
+ function y(a, n, t) {
5
+ const e = h(a, t == null ? void 0 : t.in), c = e.getFullYear(), m = e.getDate(), r = M((t == null ? void 0 : t.in) || a, 0);
6
+ r.setFullYear(c, n, 15), r.setHours(0, 0, 0, 0);
7
+ const u = f(r);
8
+ return e.setMonth(n, Math.min(m, u)), e;
9
+ }
10
+ export {
11
+ y as default,
12
+ y as setMonth
13
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as c } from "./toDate.js";
2
+ function f(r, a, e) {
3
+ const t = c(r, e == null ? void 0 : e.in);
4
+ return t.setSeconds(a), t;
5
+ }
6
+ export {
7
+ f as default,
8
+ f as setSeconds
9
+ };
@@ -0,0 +1,10 @@
1
+ import { getWeek as c } from "./getWeek.js";
2
+ import { toDate as t } from "./toDate.js";
3
+ function D(a, f, e) {
4
+ const r = t(a, e == null ? void 0 : e.in), m = c(r, e) - f;
5
+ return r.setDate(r.getDate() - m * 7), t(r, e == null ? void 0 : e.in);
6
+ }
7
+ export {
8
+ D as default,
9
+ D as setWeek
10
+ };
@@ -0,0 +1,10 @@
1
+ import { constructFrom as f } from "./constructFrom.js";
2
+ import { toDate as m } from "./toDate.js";
3
+ function N(a, u, r) {
4
+ const e = m(a, r == null ? void 0 : r.in);
5
+ return isNaN(+e) ? f((r == null ? void 0 : r.in) || a, NaN) : (e.setFullYear(u), e);
6
+ }
7
+ export {
8
+ N as default,
9
+ N as setYear
10
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as e } from "./toDate.js";
2
+ function u(a, t) {
3
+ const r = e(a, t == null ? void 0 : t.in);
4
+ return r.setHours(0, 0, 0, 0), r;
5
+ }
6
+ export {
7
+ u as default,
8
+ u as startOfDay
9
+ };
@@ -0,0 +1,8 @@
1
+ import { startOfWeek as r } from "./startOfWeek.js";
2
+ function f(t, e) {
3
+ return r(t, { ...e, weekStartsOn: 1 });
4
+ }
5
+ export {
6
+ f as default,
7
+ f as startOfISOWeek
8
+ };
@@ -0,0 +1,11 @@
1
+ import { constructFrom as f } from "./constructFrom.js";
2
+ import { getISOWeekYear as u } from "./getISOWeekYear.js";
3
+ import { startOfISOWeek as m } from "./startOfISOWeek.js";
4
+ function s(t, r) {
5
+ const a = u(t, r), e = f((r == null ? void 0 : r.in) || t, 0);
6
+ return e.setFullYear(a, 0, 4), e.setHours(0, 0, 0, 0), m(e);
7
+ }
8
+ export {
9
+ s as default,
10
+ s as startOfISOWeekYear
11
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function u(r, t) {
3
+ const e = a(r, t == null ? void 0 : t.in);
4
+ return e.setDate(1), e.setHours(0, 0, 0, 0), e;
5
+ }
6
+ export {
7
+ u as default,
8
+ u as startOfMonth
9
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as u } from "./toDate.js";
2
+ function o(n, r) {
3
+ const t = u(n, r == null ? void 0 : r.in), e = t.getMonth(), a = e - e % 3;
4
+ return t.setMonth(a, 1), t.setHours(0, 0, 0, 0), t;
5
+ }
6
+ export {
7
+ o as default,
8
+ o as startOfQuarter
9
+ };
@@ -0,0 +1,11 @@
1
+ import { getDefaultOptions as s } from "./_lib/defaultOptions.js";
2
+ import { toDate as w } from "./toDate.js";
3
+ function m(u, e) {
4
+ var c, O, l, k;
5
+ const a = s(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((O = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : O.weekStartsOn) ?? a.weekStartsOn ?? ((k = (l = a.locale) == null ? void 0 : l.options) == null ? void 0 : k.weekStartsOn) ?? 0, t = w(u, e == null ? void 0 : e.in), f = t.getDay(), d = (f < r ? 7 : 0) + f - r;
6
+ return t.setDate(t.getDate() - d), t.setHours(0, 0, 0, 0), t;
7
+ }
8
+ export {
9
+ m as default,
10
+ m as startOfWeek
11
+ };
@@ -0,0 +1,13 @@
1
+ import { getDefaultOptions as W } from "./_lib/defaultOptions.js";
2
+ import { constructFrom as n } from "./constructFrom.js";
3
+ import { getWeekYear as u } from "./getWeekYear.js";
4
+ import { startOfWeek as D } from "./startOfWeek.js";
5
+ function g(r, e) {
6
+ var f, s, c, k;
7
+ const a = W(), l = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((s = (f = e == null ? void 0 : e.locale) == null ? void 0 : f.options) == null ? void 0 : s.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((k = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, m = u(r, e), t = n((e == null ? void 0 : e.in) || r, 0);
8
+ return t.setFullYear(m, 0, l), t.setHours(0, 0, 0, 0), D(t, e);
9
+ }
10
+ export {
11
+ g as default,
12
+ g as startOfWeekYear
13
+ };
@@ -0,0 +1,9 @@
1
+ import { toDate as a } from "./toDate.js";
2
+ function l(t, r) {
3
+ const e = a(t, r == null ? void 0 : r.in);
4
+ return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
5
+ }
6
+ export {
7
+ l as default,
8
+ l as startOfYear
9
+ };
@@ -0,0 +1,19 @@
1
+ import { constructFrom as y } from "./constructFrom.js";
2
+ import { subDays as S } from "./subDays.js";
3
+ import { subMonths as T } from "./subMonths.js";
4
+ function k(o, t, s) {
5
+ const {
6
+ years: u = 0,
7
+ months: n = 0,
8
+ weeks: r = 0,
9
+ days: c = 0,
10
+ hours: m = 0,
11
+ minutes: e = 0,
12
+ seconds: b = 0
13
+ } = t, h = T(o, n + u * 12, s), a = S(h, c + r * 7, s), f = e + m * 60, d = (b + f * 60) * 1e3;
14
+ return y((s == null ? void 0 : s.in) || o, +a - d);
15
+ }
16
+ export {
17
+ k as default,
18
+ k as sub
19
+ };
@@ -0,0 +1,8 @@
1
+ import { addDays as o } from "./addDays.js";
2
+ function u(a, r, t) {
3
+ return o(a, -r, t);
4
+ }
5
+ export {
6
+ u as default,
7
+ u as subDays
8
+ };
@@ -0,0 +1,8 @@
1
+ import { addMonths as r } from "./addMonths.js";
2
+ function u(t, o, n) {
3
+ return r(t, -o, n);
4
+ }
5
+ export {
6
+ u as default,
7
+ u as subMonths
8
+ };
@@ -0,0 +1,8 @@
1
+ import { addYears as t } from "./addYears.js";
2
+ function s(r, a, e) {
3
+ return t(r, -a, e);
4
+ }
5
+ export {
6
+ s as default,
7
+ s as subYears
8
+ };
@@ -0,0 +1,8 @@
1
+ import { constructFrom as r } from "./constructFrom.js";
2
+ function e(t, o) {
3
+ return r(o || t, t);
4
+ }
5
+ export {
6
+ e as default,
7
+ e as toDate
8
+ };
@@ -0,0 +1,18 @@
1
+ import { constructFrom as o } from "./constructFrom.js";
2
+ function u(e, t) {
3
+ const n = s(t) ? new t(0) : o(t, 0);
4
+ return n.setFullYear(e.getFullYear(), e.getMonth(), e.getDate()), n.setHours(
5
+ e.getHours(),
6
+ e.getMinutes(),
7
+ e.getSeconds(),
8
+ e.getMilliseconds()
9
+ ), n;
10
+ }
11
+ function s(e) {
12
+ var t;
13
+ return typeof e == "function" && ((t = e.prototype) == null ? void 0 : t.constructor) === e;
14
+ }
15
+ export {
16
+ u as default,
17
+ u as transpose
18
+ };
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.10.1";
1
+ declare const _default: "1.10.2";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "1.10.1";
1
+ const e = "1.10.2";
2
2
  export {
3
3
  e as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indielayer/ui",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Indielayer UI Components with Tailwind CSS build for Vue 3",
5
5
  "author": {
6
6
  "name": "João Teixeira",
@@ -57,7 +57,7 @@
57
57
  "@vitejs/plugin-vue-jsx": "^3.0.1",
58
58
  "@vue/test-utils": "^2.4.0",
59
59
  "@vue/tsconfig": "^0.4.0",
60
- "@vuepic/vue-datepicker": "^8.3.2",
60
+ "@vuepic/vue-datepicker": "^11.0.1",
61
61
  "@vueuse/core": "^11.1.0",
62
62
  "autoprefixer": "^10.4.0",
63
63
  "c8": "^7.12.0",
@@ -18,14 +18,11 @@ const vueDatepickerProps = {
18
18
  offset: { type: [Number, String] as PropType<number | string>, default: 10 },
19
19
  hideNavigation: { type: Array as PropType<VueDatePickerProps['hideNavigation']>, default: () => [] },
20
20
  timezone: { type: [String, Object] as PropType<VueDatePickerProps['timezone']>, default: null },
21
- emitTimezone: { type: String as PropType<string>, default: null },
22
21
  vertical: { type: Boolean as PropType<boolean>, default: false },
23
22
  disableMonthYearSelect: { type: Boolean as PropType<boolean>, default: false },
24
23
  disableYearSelect: { type: Boolean as PropType<boolean>, default: false },
25
- menuClassName: { type: String as PropType<string>, default: null },
26
24
  dayClass: { type: Function as PropType<(date: Date) => string>, default: null },
27
25
  yearRange: { type: Array as PropType<number[]>, default: () => [1900, 2100] },
28
- calendarCellClassName: { type: String as PropType<string>, default: null },
29
26
  enableTimePicker: { type: Boolean as PropType<boolean>, default: true },
30
27
  autoApply: { type: Boolean as PropType<boolean>, default: false },
31
28
  disabledDates: { type: [Array, Function] as PropType<VueDatePickerProps['disabledDates']>, default: () => [] },
@@ -33,7 +30,6 @@ const vueDatepickerProps = {
33
30
  startDate: { type: [Date, String] as PropType<string | Date>, default: null },
34
31
  startTime: { type: [Object, Array] as PropType<VueDatePickerProps['startTime']>, default: null },
35
32
  hideOffsetDates: { type: Boolean as PropType<boolean>, default: false },
36
- autoRange: { type: [Number, String] as PropType<number | string>, default: null },
37
33
  noToday: { type: Boolean as PropType<boolean>, default: false },
38
34
  disabledWeekDays: { type: Array as PropType<string[] | number[]>, default: () => [] },
39
35
  allowedDates: { type: Array as PropType<string[] | Date[]>, default: null },
@@ -46,14 +42,10 @@ const vueDatepickerProps = {
46
42
  flow: { type: Array as PropType<VueDatePickerProps['flow']>, default: () => [] },
47
43
  partialFlow: { type: Boolean as PropType<boolean>, default: false },
48
44
  preventMinMaxNavigation: { type: Boolean as PropType<boolean>, default: false },
49
- minRange: { type: [Number, String] as PropType<number | string>, default: null },
50
- maxRange: { type: [Number, String] as PropType<number | string>, default: null },
51
- multiDatesLimit: { type: [Number, String] as PropType<number | string>, default: null },
52
45
  reverseYears: { type: Boolean as PropType<boolean>, default: false },
53
46
  weekPicker: { type: Boolean as PropType<boolean>, default: false },
54
47
  filters: { type: Object as PropType<Partial<VueDatePickerProps['filters']>>, default: () => ({}) },
55
48
  arrowNavigation: { type: Boolean as PropType<boolean>, default: false },
56
- disableTimeRangeValidation: { type: Boolean as PropType<boolean>, default: false },
57
49
  highlight: {
58
50
  type: [Function, Object] as PropType<VueDatePickerProps['highlight']>,
59
51
  default: null,
@@ -67,7 +59,6 @@ const vueDatepickerProps = {
67
59
  type: [String, Function, Object] as PropType<VueDatePickerProps['weekNumbers']>,
68
60
  default: null,
69
61
  },
70
- calendarClassName: { type: String as PropType<string>, default: null },
71
62
  monthChangeOnScroll: { type: [Boolean, String] as PropType<boolean | 'inverse'>, default: true },
72
63
  dayNames: {
73
64
  type: [Function, Array] as PropType<((lang: string, weekStart: number) => string[]) | string[]>,
@@ -84,7 +75,6 @@ const vueDatepickerProps = {
84
75
  default: () => '',
85
76
  },
86
77
  multiDates: { type: Boolean as PropType<boolean>, default: false },
87
- partialRange: { type: Boolean as PropType<boolean>, default: true },
88
78
  ignoreTimeValidation: { type: Boolean as PropType<boolean>, default: false },
89
79
  minDate: { type: [Date, String] as PropType<Date | string>, default: null },
90
80
  maxDate: { type: [Date, String] as PropType<Date | string>, default: null },
@@ -93,13 +83,10 @@ const vueDatepickerProps = {
93
83
  placeholder: { type: String as PropType<string>, default: '' },
94
84
  hideInputIcon: { type: Boolean as PropType<boolean>, default: false },
95
85
  clearable: { type: Boolean as PropType<boolean>, default: false },
86
+ alwaysClearable: { type: Boolean as PropType<boolean>, default: false },
96
87
  state: { type: Boolean as PropType<VueDatePickerProps['state']>, default: null },
97
88
  required: { type: Boolean as PropType<boolean>, default: false },
98
89
  autocomplete: { type: String as PropType<string>, default: 'off' },
99
- inputClassName: { type: String as PropType<string>, default: null },
100
- fixedStart: { type: Boolean as PropType<boolean>, default: false },
101
- fixedEnd: { type: Boolean as PropType<boolean>, default: false },
102
- timePicker: { type: Boolean as PropType<boolean>, default: false },
103
90
  enableSeconds: { type: Boolean as PropType<boolean>, default: false },
104
91
  is24: { type: Boolean as PropType<boolean>, default: true },
105
92
  noHoursOverlay: { type: Boolean as PropType<boolean>, default: false },
@@ -126,6 +113,9 @@ const vueDatepickerProps = {
126
113
  config: { type: Object as PropType<Partial<VueDatePickerProps['config']>>, default: undefined },
127
114
  quarterPicker: { type: Boolean as PropType<boolean>, default: false },
128
115
  yearFirst: { type: Boolean as PropType<boolean>, default: false },
116
+ onInternalModelChange: { type: [Function, Object] as PropType<(...args: any[]) => void>, default: null },
117
+ enableMinutes: { type: Boolean as PropType<boolean>, default: true },
118
+ ui: { type: Object as PropType<Partial<VueDatePickerProps['ui']>>, default: () => ({}) },
129
119
  }
130
120
 
131
121
  const datepickerProps = {
@@ -206,6 +196,7 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
206
196
  ]"
207
197
  >
208
198
  <vue-datepicker
199
+ :ui="ui"
209
200
  :model-value="modelValue"
210
201
  :multi-calendars="multiCalendars"
211
202
  :model-type="modelType"
@@ -221,14 +212,11 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
221
212
  :offset="offset"
222
213
  :hide-navigation="hideNavigation"
223
214
  :timezone="timezone"
224
- :emit-timezone="emitTimezone"
225
215
  :vertical="vertical"
226
216
  :disable-month-year-select="disableMonthYearSelect"
227
217
  :disable-year-select="disableYearSelect"
228
- :menu-class-name="menuClassName"
229
218
  :day-class="dayClass"
230
219
  :year-range="yearRange"
231
- :calendar-cell-class-name="calendarCellClassName"
232
220
  :enable-time-picker="enableTimePicker"
233
221
  :auto-apply="autoApply"
234
222
  :disabled-dates="disabledDates"
@@ -236,7 +224,6 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
236
224
  :start-date="startDate"
237
225
  :start-time="startTime"
238
226
  :hide-offset-dates="hideOffsetDates"
239
- :auto-range="autoRange"
240
227
  :no-today="noToday"
241
228
  :disabled-week-days="disabledWeekDays"
242
229
  :allowed-dates="allowedDates"
@@ -249,14 +236,10 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
249
236
  :flow="flow"
250
237
  :partial-flow="partialFlow"
251
238
  :prevent-min-max-navigation="preventMinMaxNavigation"
252
- :min-range="minRange"
253
- :max-range="maxRange"
254
- :multi-dates-limit="multiDatesLimit"
255
239
  :reverse-years="reverseYears"
256
240
  :week-picker="weekPicker"
257
241
  :filters="filters"
258
242
  :arrow-navigation="arrowNavigation"
259
- :disable-time-range-validation="disableTimeRangeValidation"
260
243
  :highlight="highlight"
261
244
  :teleport="teleport"
262
245
  :teleport-center="teleportCenter"
@@ -264,7 +247,6 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
264
247
  :week-num-name="weekNumName"
265
248
  :week-start="weekStart"
266
249
  :week-numbers="weekNumbers"
267
- :calendar-class-name="calendarClassName"
268
250
  :month-change-on-scroll="monthChangeOnScroll"
269
251
  :day-names="dayNames"
270
252
  :month-picker="monthPicker"
@@ -275,7 +257,6 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
275
257
  :cancel-text="cancelText"
276
258
  :preview-format="previewFormat"
277
259
  :multi-dates="multiDates"
278
- :partial-range="partialRange"
279
260
  :ignore-time-validation="ignoreTimeValidation"
280
261
  :min-date="minDate"
281
262
  :max-date="maxDate"
@@ -285,10 +266,6 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
285
266
  :state="state"
286
267
  :required="required"
287
268
  :autocomplete="autocomplete"
288
- :input-class-name="inputClassName"
289
- :fixed-start="fixedStart"
290
- :fixed-end="fixedEnd"
291
- :time-picker="timePicker"
292
269
  :enable-seconds="enableSeconds"
293
270
  :no-hours-overlay="noHoursOverlay"
294
271
  :no-minutes-overlay="noMinutesOverlay"
@@ -320,7 +297,7 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
320
297
  <template #dp-input="{ value, onEnter, onTab }">
321
298
  <x-input
322
299
  ref="inputRef"
323
- readonly
300
+ :readonly="textInput === false || readonly"
324
301
  :model-value="value"
325
302
  :label="label"
326
303
  :size="size"
@@ -328,6 +305,7 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
328
305
  :helper="helper"
329
306
  icon-right="calendar"
330
307
  :loading="loading"
308
+ data-1p-ignore
331
309
  :name="name"
332
310
  :rules="rules"
333
311
  :tooltip="tooltip"
@@ -416,4 +394,20 @@ const { styles, classes, className } = useTheme('Datepicker', {}, props)
416
394
  --dp-range-between-dates-text-color: var(--x-datepicker-text, #212121) !important;
417
395
  --dp-range-between-border-color: var(--x-datepicker-range, #f3f3f3) !important;
418
396
  }
397
+
398
+ .dark .dp__cell_inner {
399
+ border: 0 !important;
400
+ }
401
+
402
+ .dp__selection_preview {
403
+ padding: 4px;
404
+ font-weight: 500;
405
+ word-spacing: 4px;
406
+ letter-spacing: 0.5px;
407
+ }
408
+
409
+ .dp__action_row {
410
+ border-top: 1px solid #eee;
411
+ margin-top: 10px;
412
+ }
419
413
  </style>
@@ -11,8 +11,6 @@ const theme: DatepickerTheme = {
11
11
  const vars: Array<Record<string, string> | string> = [`
12
12
  /*General*/
13
13
  --dp-font-family: var(--font-family-sans);
14
- --dp-border-radius: 8px; /*Configurable border-radius*/
15
- --dp-cell-border-radius: 8px; /*Specific border radius for the calendar cell*/
16
14
  --dp-common-transition: all 0.1s ease-in; /*Generic transition applied on buttons and calendar cells*/
17
15
 
18
16
  /*Sizing*/
@@ -36,7 +34,7 @@ const theme: DatepickerTheme = {
36
34
 
37
35
  /*Font sizes*/
38
36
  --dp-font-size: 0.875rem; /*Default font-size*/
39
- --dp-preview-font-size: 0.8rem; /*Font size of the date preview in the action row*/
37
+ --dp-preview-font-size: 0.875rem; /*Font size of the date preview in the action row*/
40
38
  --dp-time-font-size: 0.8rem; /*Font size in the time picker*/
41
39
 
42
40
  /*Transitions*/
@@ -48,19 +46,19 @@ const theme: DatepickerTheme = {
48
46
  vars.push(css.variables({
49
47
  bg: '#fff',
50
48
  text: secondary[800],
51
- disabled: secondary[800],
52
- range: secondary[200],
49
+ disabled: secondary[300],
50
+ range: primary[100],
53
51
  icon: secondary[500],
54
52
  primary: primary[500],
55
53
  border: secondary[100],
56
54
  dark: {
57
55
  bg: secondary[800],
58
56
  text: secondary[100],
59
- disabled: secondary[700],
60
- range: secondary[600],
57
+ disabled: secondary[600],
58
+ range: primary[900],
61
59
  icon: secondary[200],
62
60
  primary: primary[500],
63
- border: secondary[700],
61
+ border: secondary[800],
64
62
  },
65
63
  }))
66
64