@indielayer/ui 1.6.3 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/docs/pages/component/accordion/usage.vue +7 -1
  2. package/docs/pages/component/datepicker/usage.vue +2 -5
  3. package/lib/components/accordion/AccordionItem.vue.d.ts +8 -3
  4. package/lib/components/accordion/AccordionItem.vue.js +75 -66
  5. package/lib/components/accordion/theme/AccordionItem.base.theme.js +1 -1
  6. package/lib/components/datepicker/Datepicker.vue.d.ts +32 -4
  7. package/lib/components/datepicker/Datepicker.vue.js +5 -4
  8. package/lib/components/menu/MenuItem.vue.js +2 -2
  9. package/lib/components/menu/MenuItem.vue2.js +5 -3
  10. package/lib/components/table/Table.vue.js +61 -65
  11. package/lib/index.js +1 -1
  12. package/lib/index.umd.js +4 -4
  13. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4774 -0
  14. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addHours.js +9 -0
  15. package/lib/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addMilliseconds.js +10 -0
  16. package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse.js +9 -9
  17. package/lib/version.d.ts +1 -1
  18. package/lib/version.js +1 -1
  19. package/package.json +2 -2
  20. package/src/components/accordion/AccordionItem.vue +9 -5
  21. package/src/components/accordion/theme/AccordionItem.base.theme.ts +2 -2
  22. package/src/components/datepicker/Datepicker.vue +6 -1
  23. package/src/components/menu/MenuItem.vue +4 -2
  24. package/src/components/table/Table.vue +8 -3
  25. package/src/version.ts +1 -1
  26. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@8.0.0_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -5011
  27. package/lib/node_modules/.pnpm/date-fns@3.3.1/node_modules/date-fns/parseISO.js +0 -128
  28. /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@8.0.0_vue@3.3.9 → @vuepic_vue-datepicker@8.3.2_vue@3.3.9}/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -0
  29. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/addLeadingZeros.js +0 -0
  30. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/defaultOptions.js +0 -0
  31. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/format/formatters.js +0 -0
  32. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/format/lightFormatters.js +0 -0
  33. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/format/longFormatters.js +0 -0
  34. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -0
  35. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/_lib/protectedTokens.js +0 -0
  36. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/add.js +0 -0
  37. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/addDays.js +0 -0
  38. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/addMonths.js +0 -0
  39. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/addQuarters.js +0 -0
  40. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/addYears.js +0 -0
  41. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/constants.js +0 -0
  42. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/constructFrom.js +0 -0
  43. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/differenceInCalendarDays.js +0 -0
  44. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/eachDayOfInterval.js +0 -0
  45. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/eachQuarterOfInterval.js +0 -0
  46. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/endOfQuarter.js +0 -0
  47. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/endOfWeek.js +0 -0
  48. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/endOfYear.js +0 -0
  49. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/format.js +0 -0
  50. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getDay.js +0 -0
  51. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getDayOfYear.js +0 -0
  52. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getDaysInMonth.js +0 -0
  53. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getDefaultOptions.js +0 -0
  54. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getHours.js +0 -0
  55. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getISODay.js +0 -0
  56. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getISOWeek.js +0 -0
  57. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getISOWeekYear.js +0 -0
  58. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getMinutes.js +0 -0
  59. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getMonth.js +0 -0
  60. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getQuarter.js +0 -0
  61. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getSeconds.js +0 -0
  62. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getWeek.js +0 -0
  63. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getWeekYear.js +0 -0
  64. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/getYear.js +0 -0
  65. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isAfter.js +0 -0
  66. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isBefore.js +0 -0
  67. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isDate.js +0 -0
  68. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isEqual.js +0 -0
  69. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isSameQuarter.js +0 -0
  70. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/isValid.js +0 -0
  71. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -0
  72. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -0
  73. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -0
  74. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -0
  75. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -0
  76. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -0
  77. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -0
  78. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -0
  79. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US/_lib/match.js +0 -0
  80. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/locale/en-US.js +0 -0
  81. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/Parser.js +0 -0
  82. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/Setter.js +0 -0
  83. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/constants.js +0 -0
  84. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -0
  85. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -0
  86. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -0
  87. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -0
  88. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -0
  89. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -0
  90. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -0
  91. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -0
  92. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -0
  93. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -0
  94. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -0
  95. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -0
  96. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -0
  97. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -0
  98. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -0
  99. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -0
  100. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -0
  101. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -0
  102. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -0
  103. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -0
  104. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -0
  105. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -0
  106. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -0
  107. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -0
  108. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -0
  109. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -0
  110. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -0
  111. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -0
  112. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -0
  113. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -0
  114. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -0
  115. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/parsers.js +0 -0
  116. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/parse/_lib/utils.js +0 -0
  117. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/set.js +0 -0
  118. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setDay.js +0 -0
  119. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setHours.js +0 -0
  120. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setISODay.js +0 -0
  121. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setISOWeek.js +0 -0
  122. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setMilliseconds.js +0 -0
  123. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setMinutes.js +0 -0
  124. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setMonth.js +0 -0
  125. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setSeconds.js +0 -0
  126. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setWeek.js +0 -0
  127. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/setYear.js +0 -0
  128. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfDay.js +0 -0
  129. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfISOWeek.js +0 -0
  130. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfISOWeekYear.js +0 -0
  131. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfQuarter.js +0 -0
  132. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfWeek.js +0 -0
  133. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfWeekYear.js +0 -0
  134. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/startOfYear.js +0 -0
  135. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/sub.js +0 -0
  136. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/subDays.js +0 -0
  137. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/subMonths.js +0 -0
  138. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/subYears.js +0 -0
  139. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/toDate.js +0 -0
  140. /package/lib/node_modules/.pnpm/{date-fns@3.3.1 → date-fns@3.6.0}/node_modules/date-fns/transpose.js +0 -0
@@ -1,7 +1,13 @@
1
+ <script setup lang="ts">
2
+ function onChange(expanded: boolean) {
3
+ console.log(expanded)
4
+ }
5
+ </script>
6
+
1
7
  <template>
2
8
  <div class="space-y-8">
3
9
  <x-accordion>
4
- <x-accordion-item>
10
+ <x-accordion-item @change="onChange">
5
11
  Hey
6
12
  <template #content>
7
13
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Deleniti veritatis unde natus esse minima, quibusdam nesciunt atque id assumenda inventore numquam vel consectetur est illum ratione perferendis optio architecto sapiente fuga et commodi harum ea? Error doloribus illum tempora obcaecati quam voluptatum cumque magnam nemo, perspiciatis quas mollitia. Aliquid nulla corrupti sit mollitia dolor sequi nobis eveniet cumque cupiditate perspiciatis magnam laudantium in ducimus fuga quaerat, ipsam assumenda consequatur obcaecati atque? Sint asperiores labore quidem minima modi odio autem rerum eligendi, quisquam incidunt quae enim eos vitae dolores praesentium debitis, consequatur fuga hic nostrum, dolorem dicta quod ea assumenda. Expedita.
@@ -11,12 +11,9 @@ date.value = [startDate, endDate]
11
11
  <template>
12
12
  <x-datepicker
13
13
  v-model="date"
14
- label="Select a date"
15
- helper="Pick a date"
14
+ label="Date"
16
15
  tooltip="Use it to pick a date"
17
- range
18
16
  multi-calendars
19
- disable-year-select
20
- :enable-time-picker="false"
17
+ range
21
18
  />
22
19
  </template>
@@ -47,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
47
  toggle: () => void;
48
48
  open: (anim?: boolean) => void;
49
49
  close: (anim?: boolean) => void;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "expand"[], "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "expand")[], "change" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
51
  tag: {
52
52
  type: StringConstructor;
53
53
  default: string;
@@ -64,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
64
  default: string;
65
65
  };
66
66
  }>> & {
67
+ onChange?: ((...args: any[]) => any) | undefined;
67
68
  onExpand?: ((...args: any[]) => any) | undefined;
68
69
  }, {
69
70
  disabled: boolean;
@@ -73,11 +74,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
74
  iconAlign: "left" | "right";
74
75
  }, {}>, {
75
76
  default?(_: {
77
+ expand: (anim?: boolean) => void;
78
+ collapsed: boolean;
79
+ }): any;
80
+ summary?(_: {
81
+ expand: (anim?: boolean) => void;
76
82
  collapsed: boolean;
77
83
  }): any;
78
- summary?(_: {}): any;
79
84
  content?(_: {
80
- expand: ((...args: any[]) => any) & ((anim?: boolean) => void);
85
+ expand: (anim?: boolean) => void;
81
86
  collapsed: boolean;
82
87
  }): any;
83
88
  }>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, inject as j, computed as z, reactive as D, ref as m, watch as H, openBlock as a, createBlock as v, resolveDynamicComponent as K, normalizeStyle as M, unref as s, normalizeClass as l, withCtx as h, createElementVNode as r, renderSlot as d, createElementBlock as g, createCommentVNode as y, createVNode as X, Transition as q, withDirectives as F, vShow as G } from "vue";
1
+ import { defineComponent as j, inject as z, computed as D, reactive as H, ref as h, watch as g, openBlock as s, createBlock as y, resolveDynamicComponent as F, normalizeStyle as K, unref as a, normalizeClass as l, withCtx as A, createElementVNode as r, renderSlot as u, createElementBlock as x, createCommentVNode as _, createVNode as M, Transition as X, withDirectives as q, vShow as G } from "vue";
2
2
  import { useTheme as J } from "../../composables/useTheme.js";
3
3
  import O from "../icon/Icon.vue.js";
4
4
  import { injectAccordionKey as Q } from "../../composables/keys.js";
@@ -27,106 +27,115 @@ const R = { class: "flex-1 overflow-hidden" }, U = {
27
27
  type: String,
28
28
  default: "right"
29
29
  }
30
- }, te = {
30
+ }, oe = {
31
31
  name: "XAccordionItem",
32
32
  validators: {
33
33
  iconAlign: Z
34
34
  }
35
- }, ae = /* @__PURE__ */ V({
36
- ...te,
35
+ }, se = /* @__PURE__ */ j({
36
+ ...oe,
37
37
  props: ee,
38
- emits: ["expand"],
39
- setup(A, { expose: x, emit: _ }) {
40
- const n = A, k = _, u = j(Q, {
38
+ emits: ["expand", "change"],
39
+ setup(k, { expose: w, emit: I }) {
40
+ const i = k, p = I, f = z(Q, {
41
41
  isInsideAccordion: !1
42
- }), w = z(() => u.iconAlign || n.iconAlign), I = D({
43
- iconAlign: w
44
- }), t = m(!n.expanded), o = m(!0);
45
- H(() => n.expanded, () => {
46
- t.value = !n.expanded;
42
+ }), B = D(() => f.iconAlign || i.iconAlign), b = H({
43
+ iconAlign: B
44
+ }), o = h(!i.expanded), t = h(!0);
45
+ g(() => i.expanded, () => {
46
+ o.value = !i.expanded;
47
+ }), g(o, (e, n) => {
48
+ p("change", !e);
47
49
  });
48
- function B(e) {
49
- o.value && (e.style.height = "0px");
50
+ function C(e) {
51
+ t.value && (e.style.height = "0px");
50
52
  }
51
- function E(e, i) {
52
- o.value ? (e.addEventListener("transitionend", i), setTimeout(() => {
53
+ function E(e, n) {
54
+ t.value ? (e.addEventListener("transitionend", n), setTimeout(() => {
53
55
  e.style.height = `${e.scrollHeight}px`;
54
- }, 1)) : i();
56
+ }, 1)) : n();
55
57
  }
56
- function b(e) {
57
- o.value ? e.style.removeProperty("height") : o.value = !0;
58
+ function $(e) {
59
+ t.value ? e.style.removeProperty("height") : t.value = !0;
58
60
  }
59
- function C(e) {
60
- o.value && (e.style.height = `${e.scrollHeight}px`);
61
+ function S(e) {
62
+ t.value && (e.style.height = `${e.scrollHeight}px`);
61
63
  }
62
- function $(e, i) {
63
- o.value ? (e.addEventListener("transitionend", i), setTimeout(() => {
64
+ function L(e, n) {
65
+ t.value ? (e.addEventListener("transitionend", n), setTimeout(() => {
64
66
  e.style.height = "0px";
65
- }, 1)) : i();
67
+ }, 1)) : n();
66
68
  }
67
- function S(e) {
68
- o.value ? e.style.removeProperty("height") : o.value = !0;
69
+ function P(e) {
70
+ t.value ? e.style.removeProperty("height") : t.value = !0;
69
71
  }
70
- function p(e = !0) {
71
- o.value = e, t.value = !1;
72
+ function m(e = !0) {
73
+ t.value = e, o.value = !1;
72
74
  }
73
- function L(e = !0) {
74
- o.value = e, t.value = !0;
75
+ function N(e = !0) {
76
+ t.value = e, o.value = !0;
75
77
  }
76
- function f() {
77
- n.disabled || (t.value = !t.value);
78
+ function v() {
79
+ i.disabled || (o.value = !o.value);
78
80
  }
79
- function P(e = !0) {
80
- p(e), k("expand");
81
+ function c(e = !0) {
82
+ m(e), p("expand");
81
83
  }
82
- const { styles: N, classes: c, className: T } = J("AccordionItem", {}, {
83
- ...n,
84
- ...I
85
- }, { collapsed: t, isInsideAccordion: u.isInsideAccordion });
86
- return x({ toggle: f, open: p, close: L }), (e, i) => (a(), v(K(e.tag), {
87
- style: M(s(N)),
88
- class: l(s(T)),
84
+ const { styles: T, classes: d, className: V } = J("AccordionItem", {}, {
85
+ ...i,
86
+ ...b
87
+ }, { collapsed: o, isInsideAccordion: f.isInsideAccordion });
88
+ return w({ toggle: v, open: m, close: N }), (e, n) => (s(), y(F(e.tag), {
89
+ style: K(a(T)),
90
+ class: l(a(V)),
89
91
  "aria-disabled": e.disabled,
90
- "aria-expanded": t.value ? "false" : "true"
92
+ "aria-expanded": o.value ? "false" : "true"
91
93
  }, {
92
- default: h(() => [
94
+ default: A(() => [
93
95
  r("button", {
94
96
  type: "button",
95
- class: l(s(c).wrapper),
96
- onClick: f
97
+ class: l(a(d).wrapper),
98
+ onClick: v
97
99
  }, [
98
100
  r("div", R, [
99
- d(e.$slots, "default", { collapsed: t.value })
101
+ u(e.$slots, "default", {
102
+ expand: c,
103
+ collapsed: o.value
104
+ })
100
105
  ]),
101
- e.showIcon ? (a(), g("div", {
106
+ e.showIcon ? (s(), x("div", {
102
107
  key: 0,
103
- class: l(s(c).icon)
108
+ class: l(a(d).icon)
104
109
  }, [
105
- e.icon ? (a(), v(O, {
110
+ e.icon ? (s(), y(O, {
106
111
  key: 0,
107
112
  icon: e.icon
108
- }, null, 8, ["icon"])) : (a(), g("svg", U, Y))
109
- ], 2)) : y("", !0)
113
+ }, null, 8, ["icon"])) : (s(), x("svg", U, Y))
114
+ ], 2)) : _("", !0)
110
115
  ], 2),
111
- e.$slots.summary ? d(e.$slots, "summary", { key: 0 }) : y("", !0),
112
- X(q, {
113
- onBeforeEnter: B,
116
+ e.$slots.summary ? u(e.$slots, "summary", {
117
+ key: 0,
118
+ expand: c,
119
+ collapsed: o.value
120
+ }) : _("", !0),
121
+ M(X, {
122
+ onBeforeEnter: C,
114
123
  onEnter: E,
115
- onAfterEnter: b,
116
- onBeforeLeave: C,
117
- onLeave: $,
118
- onAfterLeave: S
124
+ onAfterEnter: $,
125
+ onBeforeLeave: S,
126
+ onLeave: L,
127
+ onAfterLeave: P
119
128
  }, {
120
- default: h(() => [
121
- F(r("div", {
122
- class: l(s(c).content)
129
+ default: A(() => [
130
+ q(r("div", {
131
+ class: l(a(d).content)
123
132
  }, [
124
- d(e.$slots, "content", {
125
- expand: P,
126
- collapsed: t.value
133
+ u(e.$slots, "content", {
134
+ expand: c,
135
+ collapsed: o.value
127
136
  })
128
137
  ], 2), [
129
- [G, !t.value]
138
+ [G, !o.value]
130
139
  ])
131
140
  ]),
132
141
  _: 3
@@ -137,5 +146,5 @@ const R = { class: "flex-1 overflow-hidden" }, U = {
137
146
  }
138
147
  });
139
148
  export {
140
- ae as default
149
+ se as default
141
150
  };
@@ -2,7 +2,7 @@ const i = {
2
2
  classes: {
3
3
  wrapper: ({ props: t, slots: r, data: e }) => {
4
4
  const s = ["relative flex items-center w-full text-left rounded"];
5
- return e.isInsideAccordion && (r.default && (t.iconAlign === "left" ? s.push("pl-8 pr-4") : s.push("pr-8 pl-4"), s.push("py-2"), t.disabled || s.push("hover:bg-secondary-100 dark:hover:bg-secondary-600")), t.disabled || s.push("cursor-pointer")), s;
5
+ return e.isInsideAccordion && (r.default && (t.iconAlign === "left" ? s.push("pl-8 pr-3") : s.push("pr-8 pl-3"), s.push("py-2"), t.disabled || s.push("hover:bg-secondary-100 dark:hover:bg-secondary-600")), t.disabled || s.push("cursor-pointer")), s;
6
6
  },
7
7
  icon: ({ props: t, data: r }) => {
8
8
  const e = ["absolute flex transform transition-transform duration-150"];
@@ -87,6 +87,7 @@ declare const datepickerProps: {
87
87
  day?: (({ value }: {
88
88
  value: Date;
89
89
  }) => string) | undefined;
90
+ weekDay?: ((day: number) => string) | undefined;
90
91
  } | undefined>>;
91
92
  default: () => {};
92
93
  };
@@ -99,7 +100,13 @@ declare const datepickerProps: {
99
100
  default: () => never[];
100
101
  };
101
102
  timezone: {
102
- type: PropType<string | undefined>;
103
+ type: PropType<string | {
104
+ timezone?: string | undefined;
105
+ exactMatch?: boolean | undefined;
106
+ dateInTz?: string | undefined;
107
+ emitTimezone?: string | undefined;
108
+ convertModel?: boolean | undefined;
109
+ } | undefined>;
103
110
  default: null;
104
111
  };
105
112
  emitTimezone: {
@@ -646,6 +653,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
646
653
  day?: (({ value }: {
647
654
  value: Date;
648
655
  }) => string) | undefined;
656
+ weekDay?: ((day: number) => string) | undefined;
649
657
  } | undefined>>;
650
658
  default: () => {};
651
659
  };
@@ -658,7 +666,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
658
666
  default: () => never[];
659
667
  };
660
668
  timezone: {
661
- type: PropType<string | undefined>;
669
+ type: PropType<string | {
670
+ timezone?: string | undefined;
671
+ exactMatch?: boolean | undefined;
672
+ dateInTz?: string | undefined;
673
+ emitTimezone?: string | undefined;
674
+ convertModel?: boolean | undefined;
675
+ } | undefined>;
662
676
  default: null;
663
677
  };
664
678
  emitTimezone: {
@@ -1204,6 +1218,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1204
1218
  day?: (({ value }: {
1205
1219
  value: Date;
1206
1220
  }) => string) | undefined;
1221
+ weekDay?: ((day: number) => string) | undefined;
1207
1222
  } | undefined>>;
1208
1223
  default: () => {};
1209
1224
  };
@@ -1216,7 +1231,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1216
1231
  default: () => never[];
1217
1232
  };
1218
1233
  timezone: {
1219
- type: PropType<string | undefined>;
1234
+ type: PropType<string | {
1235
+ timezone?: string | undefined;
1236
+ exactMatch?: boolean | undefined;
1237
+ dateInTz?: string | undefined;
1238
+ emitTimezone?: string | undefined;
1239
+ convertModel?: boolean | undefined;
1240
+ } | undefined>;
1220
1241
  default: null;
1221
1242
  };
1222
1243
  emitTimezone: {
@@ -1731,10 +1752,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1731
1752
  day?: (({ value }: {
1732
1753
  value: Date;
1733
1754
  }) => string) | undefined;
1755
+ weekDay?: ((day: number) => string) | undefined;
1734
1756
  } | undefined>;
1735
1757
  hideNavigation: ("month" | "year" | "calendar" | "time" | "minutes" | "hours" | "seconds")[] | undefined;
1736
1758
  calendar: ((weeks: import("@vuepic/vue-datepicker").CalendarWeek[]) => import("@vuepic/vue-datepicker").CalendarWeek[]) | undefined;
1737
- timezone: string | undefined;
1759
+ timezone: string | {
1760
+ timezone?: string | undefined;
1761
+ exactMatch?: boolean | undefined;
1762
+ dateInTz?: string | undefined;
1763
+ emitTimezone?: string | undefined;
1764
+ convertModel?: boolean | undefined;
1765
+ } | undefined;
1738
1766
  disabledDates: string[] | Date[] | ((date: Date) => boolean) | undefined;
1739
1767
  startTime: import("@vuepic/vue-datepicker").PartialTimeObj | import("@vuepic/vue-datepicker").PartialTimeObj[] | undefined;
1740
1768
  markers: import("@vuepic/vue-datepicker").DatePickerMarker[] | undefined;
@@ -5,8 +5,8 @@ import { useInputtable as m } from "../../composables/useInputtable.js";
5
5
  import { useInteractive as G } from "../../composables/useInteractive.js";
6
6
  import { useTheme as Y } from "../../composables/useTheme.js";
7
7
  import W from "../input/Input.vue.js";
8
- import E from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.0.0_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
9
- import "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.0.0_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/main.css.js";
8
+ import E from "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
9
+ import "../../node_modules/.pnpm/@vuepic_vue-datepicker@8.3.2_vue@3.3.9/node_modules/@vuepic/vue-datepicker/dist/main.css.js";
10
10
  const K = {
11
11
  multiCalendars: { type: [Boolean, Number, String, Object], default: void 0 },
12
12
  modelValue: { type: [String, Date, Array, Object, Number], default: null },
@@ -100,7 +100,7 @@ const K = {
100
100
  maxTime: { type: Object, default: null },
101
101
  placeholder: { type: String, default: "" },
102
102
  hideInputIcon: { type: Boolean, default: !1 },
103
- clearable: { type: Boolean, default: !0 },
103
+ clearable: { type: Boolean, default: !1 },
104
104
  state: { type: Boolean, default: null },
105
105
  required: { type: Boolean, default: !1 },
106
106
  autocomplete: { type: String, default: "off" },
@@ -285,6 +285,7 @@ const K = {
285
285
  config: e.config,
286
286
  "quarter-picker": e.quarterPicker,
287
287
  "year-first": e.yearFirst,
288
+ "is-24": e.is24,
288
289
  "onUpdate:modelValue": b
289
290
  }, {
290
291
  "dp-input": d(({ value: B, onEnter: N, onTab: O }) => [
@@ -319,7 +320,7 @@ const K = {
319
320
  ]), 1032, ["model-value", "label", "size", "disabled", "helper", "loading", "name", "rules", "tooltip", "placeholder", "required", "hide-footer", "onKeydown"])
320
321
  ]),
321
322
  _: 3
322
- }, 8, ["model-value", "multi-calendars", "model-type", "position", "dark", "format", "auto-position", "alt-position", "transitions", "format-locale", "utc", "aria-labels", "offset", "hide-navigation", "timezone", "emit-timezone", "vertical", "disable-month-year-select", "disable-year-select", "menu-class-name", "day-class", "year-range", "calendar-cell-class-name", "enable-time-picker", "auto-apply", "disabled-dates", "month-name-format", "start-date", "start-time", "hide-offset-dates", "auto-range", "no-today", "disabled-week-days", "allowed-dates", "now-button-label", "markers", "esc-close", "space-confirm", "month-change-on-arrows", "preset-dates", "flow", "partial-flow", "prevent-min-max-navigation", "min-range", "max-range", "multi-dates-limit", "reverse-years", "week-picker", "filters", "arrow-navigation", "disable-time-range-validation", "highlight", "teleport", "teleport-center", "locale", "week-num-name", "week-start", "week-numbers", "calendar-class-name", "month-change-on-scroll", "day-names", "month-picker", "custom-props", "year-picker", "model-auto", "select-text", "cancel-text", "preview-format", "multi-dates", "partial-range", "ignore-time-validation", "min-date", "max-date", "placeholder", "hide-input-icon", "clearable", "state", "required", "autocomplete", "input-class-name", "fixed-start", "fixed-end", "time-picker", "enable-seconds", "no-hours-overlay", "no-minutes-overlay", "no-seconds-overlay", "hours-grid-increment", "minutes-grid-increment", "seconds-grid-increment", "hours-increment", "minutes-increment", "seconds-increment", "range", "uid", "inline", "text-input", "no-disabled-range", "six-weeks", "action-row", "focus-start-date", "disabled-times", "show-last-in-range", "time-picker-inline", "calendar", "config", "quarter-picker", "year-first"])
323
+ }, 8, ["model-value", "multi-calendars", "model-type", "position", "dark", "format", "auto-position", "alt-position", "transitions", "format-locale", "utc", "aria-labels", "offset", "hide-navigation", "timezone", "emit-timezone", "vertical", "disable-month-year-select", "disable-year-select", "menu-class-name", "day-class", "year-range", "calendar-cell-class-name", "enable-time-picker", "auto-apply", "disabled-dates", "month-name-format", "start-date", "start-time", "hide-offset-dates", "auto-range", "no-today", "disabled-week-days", "allowed-dates", "now-button-label", "markers", "esc-close", "space-confirm", "month-change-on-arrows", "preset-dates", "flow", "partial-flow", "prevent-min-max-navigation", "min-range", "max-range", "multi-dates-limit", "reverse-years", "week-picker", "filters", "arrow-navigation", "disable-time-range-validation", "highlight", "teleport", "teleport-center", "locale", "week-num-name", "week-start", "week-numbers", "calendar-class-name", "month-change-on-scroll", "day-names", "month-picker", "custom-props", "year-picker", "model-auto", "select-text", "cancel-text", "preview-format", "multi-dates", "partial-range", "ignore-time-validation", "min-date", "max-date", "placeholder", "hide-input-icon", "clearable", "state", "required", "autocomplete", "input-class-name", "fixed-start", "fixed-end", "time-picker", "enable-seconds", "no-hours-overlay", "no-minutes-overlay", "no-seconds-overlay", "hours-grid-increment", "minutes-grid-increment", "seconds-grid-increment", "hours-increment", "minutes-increment", "seconds-increment", "range", "uid", "inline", "text-input", "no-disabled-range", "six-weeks", "action-row", "focus-start-date", "disabled-times", "show-last-in-range", "time-picker-inline", "calendar", "config", "quarter-picker", "year-first", "is-24"])
323
324
  ], 6));
324
325
  }
325
326
  });
@@ -3,7 +3,7 @@ import o from "./MenuItem.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = {
5
5
  $style: o
6
- }, _ = /* @__PURE__ */ t(s, [["__cssModules", e], ["__scopeId", "data-v-1eb4b3ca"]]);
6
+ }, c = /* @__PURE__ */ t(s, [["__cssModules", e], ["__scopeId", "data-v-9061982e"]]);
7
7
  export {
8
- _ as default
8
+ c as default
9
9
  };
@@ -89,9 +89,11 @@ const V = {
89
89
  return (t, q) => (l(), i(x(v.value), N({
90
90
  ref_key: "elRef",
91
91
  ref: a
92
- }, e.value.attrs, {
92
+ }, {
93
+ ...e.value.href ? { href: e.value.href } : {},
94
+ ...e.value.attrs
95
+ }, {
93
96
  to: e.value.to,
94
- href: e.value.href || e.value.to || "",
95
97
  target: e.value.target,
96
98
  color: e.value.color,
97
99
  style: s(_),
@@ -138,7 +140,7 @@ const V = {
138
140
  ])
139
141
  ]),
140
142
  _: 3
141
- }, 16, ["to", "href", "target", "color", "style", "class", "title", "alt"]));
143
+ }, 16, ["to", "target", "color", "style", "class", "title", "alt"]));
142
144
  }
143
145
  });
144
146
  export {