bt-core-app 2.1.36 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (478) hide show
  1. package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  2. package/dist/_virtual/_commonjsHelpers.mjs +30 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.mjs +9 -0
  4. package/dist/_virtual/index.mjs +4 -0
  5. package/dist/_virtual/localforage.mjs +4 -0
  6. package/dist/_virtual/luxon.mjs +6 -0
  7. package/dist/_virtual/matcher.mjs +4 -0
  8. package/dist/_virtual/parser.mjs +4 -0
  9. package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/index.mjs +12 -0
  10. package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/matcher.mjs +220 -0
  11. package/dist/bt-core/core/node_modules/@datasert/cronjs-parser/dist/parser.mjs +186 -0
  12. package/dist/bt-core/core/node_modules/@mdi/js/mdi.mjs +70 -0
  13. package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/main.css.mjs +1 -0
  14. package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.mjs +5210 -0
  15. package/dist/bt-core/core/node_modules/date-fns/_lib/addLeadingZeros.mjs +7 -0
  16. package/dist/bt-core/core/node_modules/date-fns/_lib/defaultOptions.mjs +7 -0
  17. package/dist/bt-core/core/node_modules/date-fns/_lib/format/formatters.mjs +517 -0
  18. package/dist/bt-core/core/node_modules/date-fns/_lib/format/lightFormatters.mjs +59 -0
  19. package/dist/bt-core/core/node_modules/date-fns/_lib/format/longFormatters.mjs +52 -0
  20. package/dist/bt-core/core/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs +18 -0
  21. package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeDates.mjs +11 -0
  22. package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeInterval.mjs +8 -0
  23. package/dist/bt-core/core/node_modules/date-fns/_lib/protectedTokens.mjs +21 -0
  24. package/dist/bt-core/core/node_modules/date-fns/add.mjs +20 -0
  25. package/dist/bt-core/core/node_modules/date-fns/addDays.mjs +10 -0
  26. package/dist/bt-core/core/node_modules/date-fns/addHours.mjs +9 -0
  27. package/dist/bt-core/core/node_modules/date-fns/addMilliseconds.mjs +9 -0
  28. package/dist/bt-core/core/node_modules/date-fns/addMonths.mjs +21 -0
  29. package/dist/bt-core/core/node_modules/date-fns/addQuarters.mjs +8 -0
  30. package/dist/bt-core/core/node_modules/date-fns/addYears.mjs +8 -0
  31. package/dist/bt-core/core/node_modules/date-fns/compareAsc.mjs +9 -0
  32. package/dist/bt-core/core/node_modules/date-fns/constants.mjs +9 -0
  33. package/dist/bt-core/core/node_modules/date-fns/constructFrom.mjs +8 -0
  34. package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarDays.mjs +16 -0
  35. package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarYears.mjs +13 -0
  36. package/dist/bt-core/core/node_modules/date-fns/differenceInYears.mjs +17 -0
  37. package/dist/bt-core/core/node_modules/date-fns/eachDayOfInterval.mjs +20 -0
  38. package/dist/bt-core/core/node_modules/date-fns/eachQuarterOfInterval.mjs +21 -0
  39. package/dist/bt-core/core/node_modules/date-fns/endOfQuarter.mjs +9 -0
  40. package/dist/bt-core/core/node_modules/date-fns/endOfWeek.mjs +11 -0
  41. package/dist/bt-core/core/node_modules/date-fns/endOfYear.mjs +9 -0
  42. package/dist/bt-core/core/node_modules/date-fns/format.mjs +60 -0
  43. package/dist/bt-core/core/node_modules/date-fns/getDay.mjs +8 -0
  44. package/dist/bt-core/core/node_modules/date-fns/getDayOfYear.mjs +11 -0
  45. package/dist/bt-core/core/node_modules/date-fns/getDaysInMonth.mjs +10 -0
  46. package/dist/bt-core/core/node_modules/date-fns/getDefaultOptions.mjs +8 -0
  47. package/dist/bt-core/core/node_modules/date-fns/getHours.mjs +8 -0
  48. package/dist/bt-core/core/node_modules/date-fns/getISODay.mjs +9 -0
  49. package/dist/bt-core/core/node_modules/date-fns/getISOWeek.mjs +12 -0
  50. package/dist/bt-core/core/node_modules/date-fns/getISOWeekYear.mjs +15 -0
  51. package/dist/bt-core/core/node_modules/date-fns/getMinutes.mjs +8 -0
  52. package/dist/bt-core/core/node_modules/date-fns/getMonth.mjs +8 -0
  53. package/dist/bt-core/core/node_modules/date-fns/getQuarter.mjs +9 -0
  54. package/dist/bt-core/core/node_modules/date-fns/getSeconds.mjs +8 -0
  55. package/dist/bt-core/core/node_modules/date-fns/getWeek.mjs +12 -0
  56. package/dist/bt-core/core/node_modules/date-fns/getWeekYear.mjs +17 -0
  57. package/dist/bt-core/core/node_modules/date-fns/getYear.mjs +8 -0
  58. package/dist/bt-core/core/node_modules/date-fns/isAfter.mjs +8 -0
  59. package/dist/bt-core/core/node_modules/date-fns/isBefore.mjs +8 -0
  60. package/dist/bt-core/core/node_modules/date-fns/isDate.mjs +7 -0
  61. package/dist/bt-core/core/node_modules/date-fns/isEqual.mjs +8 -0
  62. package/dist/bt-core/core/node_modules/date-fns/isSameQuarter.mjs +14 -0
  63. package/dist/bt-core/core/node_modules/date-fns/isValid.mjs +9 -0
  64. package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs +9 -0
  65. package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs +18 -0
  66. package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchFn.mjs +31 -0
  67. package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs +17 -0
  68. package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs +70 -0
  69. package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatLong.mjs +33 -0
  70. package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs +11 -0
  71. package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/localize.mjs +155 -0
  72. package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/match.mjs +110 -0
  73. package/dist/bt-core/core/node_modules/date-fns/locale/en-US.mjs +21 -0
  74. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Parser.mjs +22 -0
  75. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Setter.mjs +41 -0
  76. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/constants.mjs +49 -0
  77. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.mjs +49 -0
  78. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMParser.mjs +49 -0
  79. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DateParser.mjs +61 -0
  80. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.mjs +51 -0
  81. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayParser.mjs +45 -0
  82. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.mjs +49 -0
  83. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/EraParser.mjs +30 -0
  84. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.mjs +21 -0
  85. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.mjs +22 -0
  86. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.mjs +32 -0
  87. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.mjs +32 -0
  88. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.mjs +33 -0
  89. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.mjs +33 -0
  90. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISODayParser.mjs +99 -0
  91. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.mjs +48 -0
  92. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.mjs +48 -0
  93. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.mjs +49 -0
  94. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.mjs +40 -0
  95. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.mjs +74 -0
  96. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.mjs +48 -0
  97. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.mjs +69 -0
  98. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MinuteParser.mjs +32 -0
  99. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MonthParser.mjs +71 -0
  100. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/QuarterParser.mjs +70 -0
  101. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/SecondParser.mjs +32 -0
  102. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.mjs +74 -0
  103. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.mjs +71 -0
  104. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.mjs +70 -0
  105. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.mjs +22 -0
  106. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.mjs +22 -0
  107. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/YearParser.mjs +49 -0
  108. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers.mjs +67 -0
  109. package/dist/bt-core/core/node_modules/date-fns/parse/_lib/utils.mjs +103 -0
  110. package/dist/bt-core/core/node_modules/date-fns/parse.mjs +90 -0
  111. package/dist/bt-core/core/node_modules/date-fns/set.mjs +11 -0
  112. package/dist/bt-core/core/node_modules/date-fns/setDay.mjs +12 -0
  113. package/dist/bt-core/core/node_modules/date-fns/setHours.mjs +9 -0
  114. package/dist/bt-core/core/node_modules/date-fns/setISODay.mjs +11 -0
  115. package/dist/bt-core/core/node_modules/date-fns/setISOWeek.mjs +10 -0
  116. package/dist/bt-core/core/node_modules/date-fns/setMilliseconds.mjs +9 -0
  117. package/dist/bt-core/core/node_modules/date-fns/setMinutes.mjs +9 -0
  118. package/dist/bt-core/core/node_modules/date-fns/setMonth.mjs +13 -0
  119. package/dist/bt-core/core/node_modules/date-fns/setSeconds.mjs +9 -0
  120. package/dist/bt-core/core/node_modules/date-fns/setWeek.mjs +10 -0
  121. package/dist/bt-core/core/node_modules/date-fns/setYear.mjs +10 -0
  122. package/dist/bt-core/core/node_modules/date-fns/startOfDay.mjs +9 -0
  123. package/dist/bt-core/core/node_modules/date-fns/startOfISOWeek.mjs +8 -0
  124. package/dist/bt-core/core/node_modules/date-fns/startOfISOWeekYear.mjs +11 -0
  125. package/dist/bt-core/core/node_modules/date-fns/startOfMonth.mjs +9 -0
  126. package/dist/bt-core/core/node_modules/date-fns/startOfQuarter.mjs +9 -0
  127. package/dist/bt-core/core/node_modules/date-fns/startOfWeek.mjs +11 -0
  128. package/dist/bt-core/core/node_modules/date-fns/startOfWeekYear.mjs +13 -0
  129. package/dist/bt-core/core/node_modules/date-fns/startOfYear.mjs +9 -0
  130. package/dist/bt-core/core/node_modules/date-fns/sub.mjs +19 -0
  131. package/dist/bt-core/core/node_modules/date-fns/subDays.mjs +8 -0
  132. package/dist/bt-core/core/node_modules/date-fns/subMonths.mjs +8 -0
  133. package/dist/bt-core/core/node_modules/date-fns/subYears.mjs +8 -0
  134. package/dist/bt-core/core/node_modules/date-fns/toDate.mjs +8 -0
  135. package/dist/bt-core/core/node_modules/date-fns/transpose.mjs +18 -0
  136. package/dist/bt-core/core/node_modules/localforage/dist/localforage.mjs +1454 -0
  137. package/dist/bt-core/core/node_modules/luxon/src/datetime.mjs +1855 -0
  138. package/dist/bt-core/core/node_modules/luxon/src/duration.mjs +753 -0
  139. package/dist/bt-core/core/node_modules/luxon/src/errors.mjs +40 -0
  140. package/dist/bt-core/core/node_modules/luxon/src/impl/conversions.mjs +92 -0
  141. package/dist/bt-core/core/node_modules/luxon/src/impl/diff.mjs +36 -0
  142. package/dist/bt-core/core/node_modules/luxon/src/impl/digits.mjs +77 -0
  143. package/dist/bt-core/core/node_modules/luxon/src/impl/english.mjs +138 -0
  144. package/dist/bt-core/core/node_modules/luxon/src/impl/formats.mjs +150 -0
  145. package/dist/bt-core/core/node_modules/luxon/src/impl/formatter.mjs +258 -0
  146. package/dist/bt-core/core/node_modules/luxon/src/impl/invalid.mjs +11 -0
  147. package/dist/bt-core/core/node_modules/luxon/src/impl/locale.mjs +294 -0
  148. package/dist/bt-core/core/node_modules/luxon/src/impl/regexParser.mjs +202 -0
  149. package/dist/bt-core/core/node_modules/luxon/src/impl/tokenParser.mjs +329 -0
  150. package/dist/bt-core/core/node_modules/luxon/src/impl/util.mjs +220 -0
  151. package/dist/bt-core/core/node_modules/luxon/src/impl/zoneUtil.mjs +20 -0
  152. package/dist/bt-core/core/node_modules/luxon/src/info.mjs +180 -0
  153. package/dist/bt-core/core/node_modules/luxon/src/interval.mjs +481 -0
  154. package/dist/bt-core/core/node_modules/luxon/src/luxon.mjs +24 -0
  155. package/dist/bt-core/core/node_modules/luxon/src/settings.mjs +150 -0
  156. package/dist/bt-core/core/node_modules/luxon/src/zone.mjs +88 -0
  157. package/dist/bt-core/core/node_modules/luxon/src/zones/IANAZone.mjs +183 -0
  158. package/dist/bt-core/core/node_modules/luxon/src/zones/fixedOffsetZone.mjs +125 -0
  159. package/dist/bt-core/core/node_modules/luxon/src/zones/invalidZone.mjs +41 -0
  160. package/dist/bt-core/core/node_modules/luxon/src/zones/systemZone.mjs +47 -0
  161. package/dist/bt-core/core/node_modules/merge-images/dist/index.es2015.mjs +47 -0
  162. package/dist/bt-core/core/node_modules/signature_pad/dist/signature_pad.mjs +248 -0
  163. package/dist/bt-core/core/node_modules/thenby/thenBy.module.mjs +38 -0
  164. package/dist/bt-core/core/node_modules/vue-picture-cropper/lib/index.mjs +1643 -0
  165. package/dist/bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs +173 -0
  166. package/dist/bt-core/core/node_modules/vue-use-spring/dist/index.mjs +204 -0
  167. package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +61 -0
  168. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +82 -0
  169. package/dist/bt-core/core/node_modules/vuetify/lib/iconsets/mdi-svg.mjs +74 -0
  170. package/dist/bt-core/core/node_modules/vuetify/lib/util/colors.mjs +322 -0
  171. package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +7 -0
  172. package/dist/bt-core/core/node_modules/vuetify/lib/util/defineComponent.mjs +34 -0
  173. package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +10 -0
  174. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +44 -0
  175. package/dist/bt-core/core/node_modules/vuetify/lib/util/injectSelf.mjs +12 -0
  176. package/dist/bt-core/core/node_modules/vuetify/lib/util/propsFactory.mjs +14 -0
  177. package/dist/components/BT-Assistant-Menu.vue.d.ts +19 -0
  178. package/dist/components/BT-Assistant-Menu.vue.mjs +464 -0
  179. package/dist/components/BT-Assistant-Menu.vue2.mjs +4 -0
  180. package/dist/components/BT-Avatar.vue.d.ts +16 -0
  181. package/dist/components/BT-Avatar.vue.mjs +41 -0
  182. package/dist/components/BT-Avatar.vue2.mjs +4 -0
  183. package/dist/components/BT-Background-Task.vue.d.ts +61 -0
  184. package/dist/components/BT-Background-Task.vue.mjs +89 -0
  185. package/dist/components/BT-Background-Task.vue2.mjs +4 -0
  186. package/dist/components/BT-Blade-Item.vue.d.ts +578 -0
  187. package/dist/components/BT-Blade-Item.vue.mjs +441 -0
  188. package/dist/components/BT-Blade-Item.vue2.mjs +4 -0
  189. package/dist/components/BT-Blade-Items.vue.d.ts +2358 -0
  190. package/dist/components/BT-Blade-Items.vue.mjs +7 -0
  191. package/dist/components/BT-Blade-Items.vue2.mjs +943 -0
  192. package/dist/components/BT-Blade-Items.vue3.mjs +1 -0
  193. package/dist/components/BT-Blade-Steps.vue.d.ts +1740 -0
  194. package/dist/components/BT-Blade-Steps.vue.mjs +7 -0
  195. package/dist/components/BT-Blade-Steps.vue2.mjs +1305 -0
  196. package/dist/components/BT-Blade-Steps.vue3.mjs +1 -0
  197. package/dist/components/BT-Blade.vue.d.ts +109 -0
  198. package/dist/components/BT-Blade.vue.mjs +268 -0
  199. package/dist/components/BT-Blade.vue2.mjs +4 -0
  200. package/dist/components/BT-Btn.vue.d.ts +47 -0
  201. package/dist/components/BT-Btn.vue.mjs +43 -0
  202. package/dist/components/BT-Btn.vue2.mjs +4 -0
  203. package/dist/components/BT-Camera-Overlay.vue.d.ts +57 -0
  204. package/dist/components/BT-Camera-Overlay.vue.mjs +173 -0
  205. package/dist/components/BT-Camera-Overlay.vue2.mjs +4 -0
  206. package/dist/components/BT-Col.vue.d.ts +49 -0
  207. package/dist/components/BT-Col.vue.mjs +33 -0
  208. package/dist/components/BT-Col.vue2.mjs +4 -0
  209. package/dist/components/BT-Color-Picker-Menu.vue.d.ts +23 -0
  210. package/dist/components/BT-Color-Picker-Menu.vue.mjs +63 -0
  211. package/dist/components/BT-Color-Picker-Menu.vue2.mjs +4 -0
  212. package/dist/components/BT-Cosmetics-Menu.vue.d.ts +14 -0
  213. package/dist/components/BT-Cosmetics-Menu.vue.mjs +211 -0
  214. package/dist/components/BT-Cosmetics-Menu.vue2.mjs +4 -0
  215. package/dist/components/BT-Cron-Span.vue.d.ts +21 -0
  216. package/dist/components/BT-Cron-Span.vue.mjs +66 -0
  217. package/dist/components/BT-Cron-Span.vue2.mjs +4 -0
  218. package/dist/components/BT-Cron.vue.d.ts +37 -0
  219. package/dist/components/BT-Cron.vue.mjs +538 -0
  220. package/dist/components/BT-Cron.vue2.mjs +4 -0
  221. package/dist/components/BT-Date-Select.vue.d.ts +46 -0
  222. package/dist/components/BT-Date-Select.vue.mjs +71 -0
  223. package/dist/components/BT-Date-Select.vue2.mjs +4 -0
  224. package/dist/components/BT-Date.vue.d.ts +53 -0
  225. package/dist/components/BT-Date.vue.mjs +55 -0
  226. package/dist/components/BT-Date.vue2.mjs +4 -0
  227. package/dist/components/BT-Demo-Profile-Select.vue.d.ts +17 -0
  228. package/dist/components/BT-Demo-Profile-Select.vue.mjs +52 -0
  229. package/dist/components/BT-Demo-Profile-Select.vue2.mjs +4 -0
  230. package/dist/components/BT-Dialog-Confirm.vue.d.ts +2 -0
  231. package/dist/components/BT-Dialog-Confirm.vue.mjs +63 -0
  232. package/dist/components/BT-Dialog-Confirm.vue2.mjs +4 -0
  233. package/dist/components/BT-Dialog-Date.vue.d.ts +2 -0
  234. package/dist/components/BT-Dialog-Date.vue.mjs +79 -0
  235. package/dist/components/BT-Dialog-Date.vue2.mjs +4 -0
  236. package/dist/components/BT-Dialog-Number.vue.d.ts +2 -0
  237. package/dist/components/BT-Dialog-Number.vue.mjs +178 -0
  238. package/dist/components/BT-Dialog-Number.vue2.mjs +4 -0
  239. package/dist/components/BT-Dialog-Select.vue.d.ts +2 -0
  240. package/dist/components/BT-Dialog-Select.vue.mjs +235 -0
  241. package/dist/components/BT-Dialog-Select.vue2.mjs +4 -0
  242. package/dist/components/BT-Divider.vue.d.ts +24 -0
  243. package/dist/components/BT-Divider.vue.mjs +31 -0
  244. package/dist/components/BT-Divider.vue2.mjs +4 -0
  245. package/dist/components/BT-Drag-Counter.vue.d.ts +114 -0
  246. package/dist/components/BT-Drag-Counter.vue.mjs +7 -0
  247. package/dist/components/BT-Drag-Counter.vue2.mjs +156 -0
  248. package/dist/components/BT-Drag-Counter.vue3.mjs +1 -0
  249. package/dist/components/BT-Entity.vue.d.ts +82 -0
  250. package/dist/components/BT-Entity.vue.mjs +172 -0
  251. package/dist/components/BT-Entity.vue2.mjs +4 -0
  252. package/dist/components/BT-Error.vue.d.ts +15 -0
  253. package/dist/components/BT-Error.vue.mjs +35 -0
  254. package/dist/components/BT-Error.vue2.mjs +4 -0
  255. package/dist/components/BT-Field-Checkbox.vue.d.ts +57 -0
  256. package/dist/components/BT-Field-Checkbox.vue.mjs +61 -0
  257. package/dist/components/BT-Field-Checkbox.vue2.mjs +4 -0
  258. package/dist/components/BT-Field-Date.vue.d.ts +69 -0
  259. package/dist/components/BT-Field-Date.vue.mjs +120 -0
  260. package/dist/components/BT-Field-Date.vue2.mjs +4 -0
  261. package/dist/components/BT-Field-Entity.vue.d.ts +48 -0
  262. package/dist/components/BT-Field-Entity.vue.mjs +55 -0
  263. package/dist/components/BT-Field-Entity.vue2.mjs +4 -0
  264. package/dist/components/BT-Field-Select-Simple.vue.d.ts +55 -0
  265. package/dist/components/BT-Field-Select-Simple.vue.mjs +52 -0
  266. package/dist/components/BT-Field-Select-Simple.vue2.mjs +4 -0
  267. package/dist/components/BT-Field-Select.vue.d.ts +70 -0
  268. package/dist/components/BT-Field-Select.vue.mjs +60 -0
  269. package/dist/components/BT-Field-Select.vue2.mjs +4 -0
  270. package/dist/components/BT-Field-String.vue.d.ts +57 -0
  271. package/dist/components/BT-Field-String.vue.mjs +87 -0
  272. package/dist/components/BT-Field-String.vue2.mjs +4 -0
  273. package/dist/components/BT-Field-Switch.vue.d.ts +51 -0
  274. package/dist/components/BT-Field-Switch.vue.mjs +64 -0
  275. package/dist/components/BT-Field-Switch.vue2.mjs +4 -0
  276. package/dist/components/BT-Field-Tags.vue.d.ts +53 -0
  277. package/dist/components/BT-Field-Tags.vue.mjs +80 -0
  278. package/dist/components/BT-Field-Tags.vue2.mjs +4 -0
  279. package/dist/components/BT-Field-Textarea.vue.d.ts +53 -0
  280. package/dist/components/BT-Field-Textarea.vue.mjs +66 -0
  281. package/dist/components/BT-Field-Textarea.vue2.mjs +4 -0
  282. package/dist/components/BT-Field-Trigger.vue.d.ts +113 -0
  283. package/dist/components/BT-Field-Trigger.vue.mjs +368 -0
  284. package/dist/components/BT-Field-Trigger.vue2.mjs +4 -0
  285. package/dist/components/BT-Field.vue.d.ts +49 -0
  286. package/dist/components/BT-Field.vue.mjs +59 -0
  287. package/dist/components/BT-Field.vue2.mjs +4 -0
  288. package/dist/components/BT-Form-Builder.vue.d.ts +74 -0
  289. package/dist/components/BT-Form-Builder.vue.mjs +762 -0
  290. package/dist/components/BT-Form-Builder.vue2.mjs +4 -0
  291. package/dist/components/BT-Form-Field.vue.d.ts +41 -0
  292. package/dist/components/BT-Form-Field.vue.mjs +186 -0
  293. package/dist/components/BT-Form-Field.vue2.mjs +4 -0
  294. package/dist/components/BT-Form.vue.d.ts +95 -0
  295. package/dist/components/BT-Form.vue.mjs +635 -0
  296. package/dist/components/BT-Form.vue2.mjs +4 -0
  297. package/dist/components/BT-Header-Option.vue.d.ts +18 -0
  298. package/dist/components/BT-Header-Option.vue.mjs +62 -0
  299. package/dist/components/BT-Header-Option.vue2.mjs +4 -0
  300. package/dist/components/BT-Image-Select.vue.d.ts +71 -0
  301. package/dist/components/BT-Image-Select.vue.mjs +219 -0
  302. package/dist/components/BT-Image-Select.vue2.mjs +4 -0
  303. package/dist/components/BT-Json.vue.d.ts +6 -0
  304. package/dist/components/BT-Json.vue.mjs +38 -0
  305. package/dist/components/BT-Json.vue2.mjs +1 -0
  306. package/dist/components/BT-Json.vue3.mjs +5 -0
  307. package/dist/components/BT-Loader.vue.d.ts +6 -0
  308. package/dist/components/BT-Loader.vue.mjs +37 -0
  309. package/dist/components/BT-Loader.vue2.mjs +4 -0
  310. package/dist/components/BT-Nav-Sidebar.vue.d.ts +25 -0
  311. package/dist/components/BT-Nav-Sidebar.vue.mjs +138 -0
  312. package/dist/components/BT-Nav-Sidebar.vue2.mjs +4 -0
  313. package/dist/components/BT-Number.vue.d.ts +23 -0
  314. package/dist/components/BT-Number.vue.mjs +7 -0
  315. package/dist/components/BT-Number.vue2.mjs +43 -0
  316. package/dist/components/BT-Number.vue3.mjs +1 -0
  317. package/dist/components/BT-Numpad.vue.d.ts +68 -0
  318. package/dist/components/BT-Numpad.vue.mjs +191 -0
  319. package/dist/components/BT-Numpad.vue2.mjs +4 -0
  320. package/dist/components/BT-Select-Inline.vue.d.ts +121 -0
  321. package/dist/components/BT-Select-Inline.vue.mjs +74 -0
  322. package/dist/components/BT-Select-Inline.vue2.mjs +24 -0
  323. package/dist/components/BT-Select-Inline.vue3.mjs +1 -0
  324. package/dist/components/BT-Select-List-Box.vue.d.ts +137 -0
  325. package/dist/components/BT-Select-List-Box.vue.mjs +414 -0
  326. package/dist/components/BT-Select-List-Box.vue2.mjs +4 -0
  327. package/dist/components/BT-Select-Simple.vue.d.ts +58 -0
  328. package/dist/components/BT-Select-Simple.vue.mjs +126 -0
  329. package/dist/components/BT-Select-Simple.vue2.mjs +4 -0
  330. package/dist/components/BT-Select.vue.d.ts +73 -0
  331. package/dist/components/BT-Select.vue.mjs +138 -0
  332. package/dist/components/BT-Select.vue2.mjs +4 -0
  333. package/dist/components/BT-Signature-Overlay.vue.d.ts +65 -0
  334. package/dist/components/BT-Signature-Overlay.vue.mjs +146 -0
  335. package/dist/components/BT-Signature-Overlay.vue2.mjs +4 -0
  336. package/dist/components/BT-Signature.vue.d.ts +70 -0
  337. package/dist/components/BT-Signature.vue.mjs +155 -0
  338. package/dist/components/BT-Signature.vue2.mjs +4 -0
  339. package/dist/components/BT-Slider.vue.d.ts +37 -0
  340. package/dist/components/BT-Slider.vue.mjs +126 -0
  341. package/dist/components/BT-Slider.vue2.mjs +4 -0
  342. package/dist/components/BT-Span.vue.d.ts +19 -0
  343. package/dist/components/BT-Span.vue.mjs +23 -0
  344. package/dist/components/BT-Span.vue2.mjs +4 -0
  345. package/dist/components/BT-Square-Check.vue.d.ts +104 -0
  346. package/dist/components/BT-Square-Check.vue.mjs +98 -0
  347. package/dist/components/BT-Square-Check.vue2.mjs +4 -0
  348. package/dist/components/BT-Status-Item.vue.d.ts +45 -0
  349. package/dist/components/BT-Status-Item.vue.mjs +51 -0
  350. package/dist/components/BT-Status-Item.vue2.mjs +4 -0
  351. package/dist/components/BT-Tags.vue.d.ts +19 -0
  352. package/dist/components/BT-Tags.vue.mjs +32 -0
  353. package/dist/components/BT-Tags.vue2.mjs +4 -0
  354. package/dist/components/BT-Tour.vue.d.ts +43 -0
  355. package/dist/components/BT-Tour.vue.mjs +78 -0
  356. package/dist/components/BT-Tour.vue2.mjs +4 -0
  357. package/dist/components.mjs +36 -0
  358. package/dist/composables/actions-local.d.ts +14 -0
  359. package/dist/composables/actions-local.mjs +26 -0
  360. package/dist/composables/actions-tracker.d.ts +36 -0
  361. package/dist/composables/actions-tracker.mjs +88 -0
  362. package/dist/composables/actions.d.ts +116 -0
  363. package/dist/composables/actions.mjs +272 -0
  364. package/dist/composables/api.d.ts +100 -0
  365. package/dist/composables/api.mjs +329 -0
  366. package/dist/composables/assistant.d.ts +38 -0
  367. package/dist/composables/assistant.mjs +70 -0
  368. package/dist/composables/auth.d.ts +94 -0
  369. package/dist/composables/auth.mjs +257 -0
  370. package/dist/composables/background-tasks.d.ts +31 -0
  371. package/dist/composables/background-tasks.mjs +79 -0
  372. package/dist/composables/blade-old.d.ts +1 -0
  373. package/dist/composables/blade.d.ts +91 -0
  374. package/dist/composables/blade.mjs +156 -0
  375. package/dist/composables/charts.d.ts +10 -0
  376. package/dist/composables/colorizer.d.ts +5 -0
  377. package/dist/composables/colorizer.mjs +27 -0
  378. package/dist/composables/component-config.d.ts +8 -0
  379. package/dist/composables/component-config.mjs +11 -0
  380. package/dist/composables/confirm.d.ts +1 -0
  381. package/dist/composables/confirm.mjs +11 -0
  382. package/dist/composables/cosmetics.d.ts +44 -0
  383. package/dist/composables/cosmetics.mjs +125 -0
  384. package/dist/composables/cron-adjustments.d.ts +63 -0
  385. package/dist/composables/cron-adjustments.mjs +106 -0
  386. package/dist/composables/cron.d.ts +72 -0
  387. package/dist/composables/cron.mjs +326 -0
  388. package/dist/composables/csv.d.ts +44 -0
  389. package/dist/composables/csv.mjs +163 -0
  390. package/dist/composables/dates.d.ts +22 -0
  391. package/dist/composables/dates.mjs +61 -0
  392. package/dist/composables/demo.d.ts +68 -0
  393. package/dist/composables/demo.mjs +173 -0
  394. package/dist/composables/dialog-items.d.ts +117 -0
  395. package/dist/composables/dialog-items.mjs +72 -0
  396. package/dist/composables/document-meta.d.ts +11 -0
  397. package/dist/composables/document-meta.mjs +20 -0
  398. package/dist/composables/draggable.d.ts +56 -0
  399. package/dist/composables/draggable.mjs +76 -0
  400. package/dist/composables/feedback.d.ts +24 -0
  401. package/dist/composables/feedback.mjs +32 -0
  402. package/dist/composables/filters.d.ts +27 -0
  403. package/dist/composables/filters.mjs +218 -0
  404. package/dist/composables/forage.d.ts +89 -0
  405. package/dist/composables/forage.mjs +37 -0
  406. package/dist/composables/forms.d.ts +104 -0
  407. package/dist/composables/forms.mjs +256 -0
  408. package/dist/composables/geo.d.ts +24 -0
  409. package/dist/composables/geo.mjs +95 -0
  410. package/dist/composables/graph-pro.d.ts +98 -0
  411. package/dist/composables/graph-pro.mjs +205 -0
  412. package/dist/composables/graphing.d.ts +1 -0
  413. package/dist/composables/heights.d.ts +24 -0
  414. package/dist/composables/heights.mjs +41 -0
  415. package/dist/composables/helpers.d.ts +114 -0
  416. package/dist/composables/helpers.mjs +512 -0
  417. package/dist/composables/icons.d.ts +3 -0
  418. package/dist/composables/icons.mjs +84 -0
  419. package/dist/composables/id.d.ts +8 -0
  420. package/dist/composables/id.mjs +32 -0
  421. package/dist/composables/item.d.ts +132 -0
  422. package/dist/composables/item.mjs +263 -0
  423. package/dist/composables/iterating.d.ts +1 -0
  424. package/dist/composables/list.d.ts +345 -0
  425. package/dist/composables/list.mjs +460 -0
  426. package/dist/composables/lists.d.ts +10 -0
  427. package/dist/composables/lists.mjs +31 -0
  428. package/dist/composables/menu.d.ts +35 -0
  429. package/dist/composables/menu.mjs +63 -0
  430. package/dist/composables/navigation.d.ts +123 -0
  431. package/dist/composables/navigation.mjs +157 -0
  432. package/dist/composables/nested.d.ts +3 -0
  433. package/dist/composables/nested.mjs +20 -0
  434. package/dist/composables/old-dialogs.d.ts +1 -0
  435. package/dist/composables/presets.d.ts +8 -0
  436. package/dist/composables/presets.mjs +16 -0
  437. package/dist/composables/pwa-old.d.ts +15 -0
  438. package/dist/composables/pwa.d.ts +26 -0
  439. package/dist/composables/pwa.mjs +80 -0
  440. package/dist/composables/resizable.d.ts +34 -0
  441. package/dist/composables/resizable.mjs +135 -0
  442. package/dist/composables/routing-old.d.ts +1 -0
  443. package/dist/composables/routing.d.ts +16 -0
  444. package/dist/composables/routing.mjs +112 -0
  445. package/dist/composables/rules.d.ts +13 -0
  446. package/dist/composables/rules.mjs +22 -0
  447. package/dist/composables/select.d.ts +78 -0
  448. package/dist/composables/select.mjs +129 -0
  449. package/dist/composables/settings.d.ts +6 -0
  450. package/dist/composables/settings.mjs +21 -0
  451. package/dist/composables/setup.d.ts +1 -0
  452. package/dist/composables/steps-old.d.ts +1 -0
  453. package/dist/composables/steps.d.ts +53 -0
  454. package/dist/composables/steps.mjs +39 -0
  455. package/dist/composables/stores.d.ts +258 -0
  456. package/dist/composables/stores.mjs +1257 -0
  457. package/dist/composables/sync.d.ts +33 -0
  458. package/dist/composables/track.d.ts +13 -0
  459. package/dist/composables/track.mjs +30 -0
  460. package/dist/composables/urls.d.ts +35 -0
  461. package/dist/composables/urls.mjs +66 -0
  462. package/dist/composables/vuetify.d.ts +85 -0
  463. package/dist/composables.mjs +237 -0
  464. package/dist/core.d.ts +48 -0
  465. package/dist/core.mjs +6 -0
  466. package/dist/core2.mjs +118 -0
  467. package/dist/index-components.d.ts +19 -0
  468. package/dist/index-composables.d.ts +75 -0
  469. package/dist/index-core.d.ts +3 -0
  470. package/dist/index.d.ts +96 -3036
  471. package/dist/index.mjs +275 -0
  472. package/dist/main.d.ts +1 -0
  473. package/dist/node_modules/bt-core-app/dist/bt-core-app.mjs +30372 -0
  474. package/dist/style.css +1 -5
  475. package/dist/types.d.ts +18 -0
  476. package/dist/types.mjs +7 -0
  477. package/package.json +4 -1
  478. package/dist/bt-core-app.js +0 -81355
@@ -0,0 +1,943 @@
1
+ import { defineComponent as Ie, ref as J, computed as k, watch as we, onMounted as Ee, resolveComponent as g, openBlock as i, createBlock as c, unref as l, withCtx as o, renderSlot as y, createElementBlock as p, createVNode as u, withKeys as ue, withModifiers as m, createCommentVNode as v, normalizeStyle as U, mergeProps as O, Fragment as $, renderList as z, createTextVNode as G, toDisplayString as X, createElementVNode as R, normalizeClass as F, createSlots as Pe, nextTick as Ve } from "vue";
2
+ import { isLengthyArray as A, isNullOrEmpty as de, capitalizeWords as ce } from "../composables/helpers.mjs";
3
+ import { useAuth as Te } from "../composables/auth.mjs";
4
+ import { useList as Fe } from "../composables/list.mjs";
5
+ import { useNavigation as He } from "../composables/navigation.mjs";
6
+ import { useNested as Me } from "../composables/nested.mjs";
7
+ import { usePresets as Ne } from "../composables/presets.mjs";
8
+ import { useRoute as Ue, useRouter as De } from "vue-router";
9
+ import { useHeights as Le } from "../composables/heights.mjs";
10
+ import { useDisplay as Oe } from "vuetify";
11
+ const Ge = {
12
+ key: 0,
13
+ class: "d-flex"
14
+ }, Re = {
15
+ key: 0,
16
+ class: "d-flex align-center mr-2"
17
+ }, Ke = { key: "0" }, qe = {
18
+ class: "d-flex",
19
+ key: "a1"
20
+ }, Ye = {
21
+ key: "itemActions",
22
+ class: "text-right"
23
+ }, Qe = ["onClick"], We = { key: "0" }, je = {
24
+ class: "d-flex",
25
+ key: "a1"
26
+ }, Je = { key: 0 }, st = /* @__PURE__ */ Ie({
27
+ __name: "BT-Blade-Items",
28
+ props: {
29
+ actionButtonSize: { default: "x-small" },
30
+ activeClass: { default: "text-primary" },
31
+ actualHeight: {},
32
+ actualUsedHeight: {},
33
+ archiveBladeName: {},
34
+ bordered: { type: Boolean },
35
+ canAdd: { type: Boolean, default: !0 },
36
+ canDelete: { type: Boolean, default: !0 },
37
+ canEdit: { type: Boolean },
38
+ canExportCSV: { type: Boolean },
39
+ canRestore: { type: Boolean },
40
+ canSearch: { type: Boolean, default: !0 },
41
+ canShowInactive: { type: Boolean },
42
+ density: { default: "compact" },
43
+ dividers: { type: Boolean, default: !0 },
44
+ fadingActions: { type: Boolean, default: void 0 },
45
+ fixedHeader: { type: Boolean, default: !0 },
46
+ flat: { type: Boolean },
47
+ heightStrat: { default: "fixed" },
48
+ hideColumns: { type: Boolean },
49
+ hideFilters: { type: Boolean },
50
+ hideFooter: { type: Boolean },
51
+ hideIntegrations: { type: Boolean, default: !1 },
52
+ hideRefresh: { type: Boolean },
53
+ hideSubtoolbar: { type: Boolean, default: void 0 },
54
+ hideSubtoolbarSettings: { type: Boolean, default: !1 },
55
+ hideToolbar: { type: Boolean },
56
+ itemValue: {},
57
+ label: {},
58
+ lines: {},
59
+ onFocusSearch: {},
60
+ opacity: {},
61
+ paginate: {},
62
+ preset: {},
63
+ returnCSV: { type: Boolean },
64
+ returnIndex: { type: Boolean },
65
+ ripple: { type: Boolean, default: !0 },
66
+ showCount: { type: Boolean, default: !1 },
67
+ scrollY: { type: Boolean },
68
+ selectMulti: { type: Boolean, default: !1 },
69
+ selectSingle: { type: Boolean, default: !1 },
70
+ selected: {},
71
+ showListOnly: { type: Boolean },
72
+ showTableOnly: { type: Boolean },
73
+ size: { default: "small" },
74
+ transparent: { type: Boolean },
75
+ addBladeName: {},
76
+ additionalUrl: {},
77
+ bladeGroup: {},
78
+ bladeName: {},
79
+ bladeStartShowing: { type: Boolean },
80
+ canSelect: { type: Boolean, default: !0 },
81
+ canUnselect: { type: Boolean, default: !0 },
82
+ closeBladeNames: {},
83
+ confirmOnDelete: { type: Boolean },
84
+ customFilters: {},
85
+ dateFrom: {},
86
+ dateTo: {},
87
+ defaultFilters: {},
88
+ eager: { type: Boolean, default: !0 },
89
+ errorMsg: {},
90
+ filterToggle: { type: Boolean },
91
+ headers: {},
92
+ hideActions: { type: Boolean },
93
+ idSelector: {},
94
+ ignoreID: { type: Boolean },
95
+ inactiveProp: {},
96
+ isSingle: { type: Boolean },
97
+ itemBladeName: {},
98
+ itemID: {},
99
+ items: {},
100
+ itemsPerPage: { default: 75 },
101
+ itemText: {},
102
+ keyStrategy: {},
103
+ loadingMsg: {},
104
+ localFilters: {},
105
+ localOnly: { type: Boolean },
106
+ nav: {},
107
+ navType: {},
108
+ onCanDelete: {},
109
+ onCanDeleteAsync: {},
110
+ onCanIntegrate: {},
111
+ onCanRestore: {},
112
+ onCanRestoreAsync: {},
113
+ onCanSave: {},
114
+ onCanSaveAsync: {},
115
+ onCanSelectItem: {},
116
+ onDeleteAsync: {},
117
+ onDeleteSuccessAsync: {},
118
+ onError: {},
119
+ onFilter: {},
120
+ onFinished: {},
121
+ onGetAsync: {},
122
+ onGetSingleAsync: {},
123
+ onGetSaveAsync: {},
124
+ onGetSingleSuccessAsync: {},
125
+ onGetSuccessAsync: {},
126
+ onRestoreAsync: {},
127
+ onRestoreSuccessAsync: {},
128
+ onSaveAsync: {},
129
+ onSaveSuccessAsync: {},
130
+ onSelectItem: {},
131
+ onSyncAsync: {},
132
+ onUpdateAsyncItem: {},
133
+ params: {},
134
+ proxyID: {},
135
+ proxyKey: {},
136
+ refreshOnChange: { type: Boolean },
137
+ queryParams: {},
138
+ refreshLiteToggle: { type: Boolean },
139
+ refreshToggle: { type: Boolean },
140
+ searchKey: {},
141
+ searchProps: {},
142
+ searchStr: {},
143
+ selectProps: {},
144
+ sortDirection: {},
145
+ sortProp: {},
146
+ startEditing: { type: Boolean },
147
+ startShowingInactive: { type: Boolean },
148
+ startShowingSearch: { type: Boolean },
149
+ storeMode: {},
150
+ storageMode: {},
151
+ trackSearchQuery: { type: Boolean },
152
+ useBladeSrc: { type: Boolean, default: void 0 },
153
+ useRouteSrc: { type: Boolean, default: void 0 },
154
+ variant: { default: "page" }
155
+ },
156
+ emits: ["update:selected", "change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
157
+ setup(ve, { emit: pe }) {
158
+ const K = pe, s = ve, Z = J(null), x = J(null), { getValue: _ } = Me(), { xs: ye } = Oe(), D = Ue(), T = Ne(s.preset), { findDisplay: he } = He(), P = Te(), ee = Le(), t = Fe(s, K, {
159
+ hideActions: !0,
160
+ onError: (e) => {
161
+ if (e.code == 401)
162
+ P.logout(), P.login(location.pathname);
163
+ else
164
+ return e;
165
+ },
166
+ router: De(),
167
+ route: D
168
+ }), f = k(() => s.actionButtonSize ?? s.size), me = k(() => T.canAdd ?? s.canAdd), te = k(() => {
169
+ const e = T.fadingActions ?? s.fadingActions;
170
+ return t.currentExternalParty.value == null && (e ?? !ye.value);
171
+ }), ge = k(() => T.hideColumns ?? s.hideColumns), fe = k(() => T.hideFilters ?? s.hideFilters), q = k(() => (T.hideIntegrations ?? s.hideIntegrations) || t.proxyID.value != null), Se = k(() => T.hideRefresh ?? s.hideRefresh), le = k(() => !!s.hideSubtoolbar || s.variant == "inline"), ke = k(() => {
172
+ var n, r, S;
173
+ let e = s.label ?? (s.variant == "page" ? (n = D == null ? void 0 : D.meta) == null ? void 0 : n.displayName : void 0) ?? he(s.nav);
174
+ return s.showCount && (s.paginate == "server" ? t.totalCount.value != null && (e = `${e} (${t.totalCount.value})`) : ((r = t.filteredItems.value) == null ? void 0 : r.length) != null && ((S = t.asyncItems.value) == null ? void 0 : S.length) != null && (e = `${e} (${t.filteredItems.value.length} of ${t.asyncItems.value.length})`)), e;
175
+ }), Y = k(() => s.variant == "inline" && (s.canSearch || A(s.searchProps))), H = k(() => {
176
+ let e = s.opacity != null ? `opacity: ${s.opacity};` : "";
177
+ if (s.actualHeight != null)
178
+ return `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(${s.actualHeight})`;
179
+ if (s.actualUsedHeight != null)
180
+ return `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${ee.getUsedHeight(s.actualUsedHeight)}px)`;
181
+ {
182
+ let n = 154;
183
+ return s.bordered ? n += 26 : s.variant == "page" && (n += 16), s.variant == "pure" && (n -= 96), le.value && (n -= 48), s.hideToolbar == !0 && (n -= 48), de(s.paginate) && (n -= 58), `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${ee.getUsedHeight(n)}px)`;
184
+ }
185
+ }), M = J([]), ne = k({
186
+ get() {
187
+ const e = s.selected ?? M.value;
188
+ let n = s.returnCSV ? e.split(",") : e;
189
+ if (s.selectSingle && !Array.isArray(n) && (n = [n]), s.returnIndex && s.returnCSV)
190
+ return n.map((S) => Number.parseInt(S));
191
+ let r = [];
192
+ return s.itemValue != null && A(n) ? t.filteredItems.value.forEach((S) => {
193
+ const V = _(S, s.itemValue);
194
+ n.some((C) => C == V) && r.push(S);
195
+ }) : s.itemValue == null && r.push(...n), s.selectSingle ? A(r) ? [r[0]] : [] : r;
196
+ },
197
+ set(e) {
198
+ if (e == null)
199
+ K("update:selected", e), M.value = [];
200
+ else {
201
+ let n = e;
202
+ s.returnIndex ? n = e.map((r) => t.filteredItems.value.indexOf((S) => S === r)) : s.itemValue != null && (n = e.map((r) => _(r, s.itemValue))), s.selectSingle ? (n = A(n) ? n[0] : void 0, M.value = n != null ? [n] : []) : M.value = n, s.returnCSV && n != null && (n = n.toString()), K("update:selected", n), M.value = n;
203
+ }
204
+ }
205
+ });
206
+ function ae() {
207
+ s.onFocusSearch != null ? s.onFocusSearch() : Ve(() => {
208
+ var n, r;
209
+ let e;
210
+ Y.value ? e = (n = x.value) == null ? void 0 : n.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])") : t.showSearch.value && (e = (r = Z.value) == null ? void 0 : r.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])")), e == null || e.focus();
211
+ });
212
+ }
213
+ function $e() {
214
+ (s.canSearch !== !1 || A(s.searchProps)) && !t.showSearch.value && t.toggleSearch();
215
+ }
216
+ return we(t.showSearch, (e) => {
217
+ e && ae();
218
+ }), Ee(() => {
219
+ ae();
220
+ }), (e, n) => {
221
+ const r = g("v-btn"), S = g("v-text-field"), V = g("v-slide-x-transition"), C = g("v-list-item"), N = g("v-list"), L = g("v-menu"), be = g("v-slide-y-transition"), ie = g("v-spacer"), se = g("v-icon"), oe = g("v-fade-transition"), Q = g("v-slide-y-reverse-transition"), W = g("bt-header-option"), re = g("v-row"), ze = g("v-divider"), Ce = g("v-table"), Be = g("v-pagination"), Ae = g("bt-blade");
222
+ return i(), c(Ae, {
223
+ onTitled: $e,
224
+ bladeBasic: "",
225
+ bladeName: e.bladeName,
226
+ bladeStartShowing: e.bladeStartShowing,
227
+ bordered: e.bordered,
228
+ density: e.density,
229
+ flat: e.flat,
230
+ errorMsg: l(t).errorMsg.value,
231
+ hideSubtoolbar: le.value,
232
+ hideToolbar: e.hideToolbar,
233
+ label: ke.value,
234
+ loadingMsg: l(t).loadingMsg.value,
235
+ opacity: e.opacity,
236
+ preset: e.preset,
237
+ showOnlyTitleLeft: Y.value && l(t).showSearch.value,
238
+ size: e.size,
239
+ transparent: e.transparent,
240
+ variant: e.variant
241
+ }, {
242
+ "blade-toolbar": o(() => [
243
+ y(e.$slots, "blade-toolbar", {
244
+ refresh: l(t).refresh,
245
+ searchString: l(t).searchString,
246
+ showSearch: l(t).showSearch,
247
+ toggleSearch: l(t).toggleSearch,
248
+ ui: l(t)
249
+ }, void 0, !0)
250
+ ]),
251
+ "blade-toolbar-left": o(() => [
252
+ y(e.$slots, "toolbar-left", { ui: l(t) }, void 0, !0)
253
+ ]),
254
+ "blade-title-left": o(() => [
255
+ Y.value ? (i(), p("div", Ge, [
256
+ y(e.$slots, "search-box", { ui: l(t) }, () => [
257
+ u(r, {
258
+ icon: l(t).showSearch.value ? "$close" : "$magnify",
259
+ size: e.size,
260
+ onClick: l(t).toggleSearch,
261
+ variant: "text"
262
+ }, null, 8, ["icon", "size", "onClick"]),
263
+ u(V, { "hide-on-leave": "" }, {
264
+ default: o(() => [
265
+ l(t).showSearch.value ? (i(), c(S, {
266
+ key: 0,
267
+ "onClick:appendInner": n[0] || (n[0] = () => l(t).refresh({ deepRefresh: !0 })),
268
+ onKeyup: n[1] || (n[1] = ue(m(() => {
269
+ console.log("kk");
270
+ }, ["stop"]), ["native", "enter"])),
271
+ "append-inner-icon": "$magnify",
272
+ autofocus: "",
273
+ density: e.density,
274
+ flat: "",
275
+ "hide-details": "",
276
+ placeholder: "Find",
277
+ ref_key: "inlineSearchEl",
278
+ ref: x,
279
+ style: { width: "200px" },
280
+ variant: "solo",
281
+ modelValue: l(t).searchString.value,
282
+ "onUpdate:modelValue": n[2] || (n[2] = (d) => l(t).searchString.value = d)
283
+ }, null, 8, ["density", "modelValue"])) : v("", !0)
284
+ ]),
285
+ _: 1
286
+ })
287
+ ], !0)
288
+ ])) : v("", !0)
289
+ ]),
290
+ "blade-toolbar-right": o(() => [
291
+ y(e.$slots, "toolbar-right", {
292
+ style: U(H.value),
293
+ ui: l(t)
294
+ }, void 0, !0),
295
+ Se.value ? v("", !0) : (i(), c(r, {
296
+ key: 0,
297
+ icon: "$refresh",
298
+ onClick: n[3] || (n[3] = m((d) => l(t).refresh({ deepRefresh: !0 }), ["stop"])),
299
+ size: e.size,
300
+ title: "Refresh",
301
+ variant: "text"
302
+ }, null, 8, ["size"])),
303
+ me.value ? (i(), c(r, {
304
+ key: 1,
305
+ icon: "$plus",
306
+ onClick: n[4] || (n[4] = m((d) => l(t).add(e.variant), ["stop"])),
307
+ size: e.size,
308
+ disabled: !l(P).canEdit(e.nav),
309
+ title: "Add",
310
+ variant: "text"
311
+ }, null, 8, ["size", "disabled"])) : v("", !0)
312
+ ]),
313
+ subtoolbar: o(() => [
314
+ y(e.$slots, "subtoolbar", {}, () => [
315
+ e.hideSubtoolbarSettings ? v("", !0) : (i(), c(L, {
316
+ key: 0,
317
+ "close-on-content-click": !1,
318
+ density: e.density
319
+ }, {
320
+ activator: o(({ props: d }) => [
321
+ u(r, O({
322
+ icon: "$cog",
323
+ size: e.size
324
+ }, d, { variant: "text" }), null, 16, ["size"])
325
+ ]),
326
+ default: o(() => [
327
+ u(N, {
328
+ density: e.density,
329
+ "min-width": "300"
330
+ }, {
331
+ default: o(() => [
332
+ ge.value ? v("", !0) : (i(), c(L, {
333
+ key: 0,
334
+ "close-on-content-click": !1,
335
+ density: e.density,
336
+ location: "end"
337
+ }, {
338
+ activator: o(({ props: d }) => [
339
+ u(C, O(d, {
340
+ "prepend-icon": "$view-column",
341
+ subtitle: "Columns"
342
+ }), null, 16)
343
+ ]),
344
+ default: o(() => [
345
+ u(N, null, {
346
+ default: o(() => [
347
+ (i(!0), p($, null, z(l(t).headerOptions.value, (d, B) => (i(), c(C, {
348
+ key: B,
349
+ "prepend-icon": d.hide === !0 ? "mdi" : "$check",
350
+ subtitle: d.title,
351
+ onClick: m((a) => d.hide = !d.hide, ["stop"])
352
+ }, null, 8, ["prepend-icon", "subtitle", "onClick"]))), 128))
353
+ ]),
354
+ _: 1
355
+ })
356
+ ]),
357
+ _: 1
358
+ }, 8, ["density"])),
359
+ e.archiveBladeName != null ? (i(), c(C, {
360
+ key: 1,
361
+ density: e.density,
362
+ "prepend-icon": "$archive-outline",
363
+ subtitle: "Archives",
364
+ to: { name: e.archiveBladeName }
365
+ }, null, 8, ["density", "to"])) : v("", !0),
366
+ e.canShowInactive ? (i(), c(C, {
367
+ key: 2,
368
+ density: e.density,
369
+ "prepend-icon": "$eraser",
370
+ subtitle: l(t).showInactive.value ? "Hide Inactive" : "Show Inactive",
371
+ onClick: n[5] || (n[5] = m((d) => l(t).showInactive.value = !l(t).showInactive.value, ["stop"]))
372
+ }, null, 8, ["density", "subtitle"])) : v("", !0),
373
+ e.canExportCSV ? (i(), c(C, {
374
+ key: 3,
375
+ density: e.density,
376
+ "prepend-icon": "$file-delimited-outline",
377
+ subtitle: "Export To CSV",
378
+ onClick: l(t).exportToCSV
379
+ }, null, 8, ["density", "onClick"])) : v("", !0),
380
+ y(e.$slots, "settings", {
381
+ items: l(t).filteredItems.value,
382
+ allItems: l(t).asyncItems.value,
383
+ size: e.size,
384
+ ui: l(t)
385
+ }, void 0, !0)
386
+ ]),
387
+ _: 3
388
+ }, 8, ["density"])
389
+ ]),
390
+ _: 3
391
+ }, 8, ["density"])),
392
+ y(e.$slots, "search-box", { ui: l(t) }, () => [
393
+ u(be, { "hide-on-leave": "" }, {
394
+ default: o(() => [
395
+ (e.canSearch !== !1 || l(A)(e.searchProps)) && !l(t).showSearch.value ? (i(), c(r, {
396
+ icon: "$magnify",
397
+ key: "11",
398
+ size: e.size,
399
+ onClick: m(l(t).toggleSearch, ["stop"])
400
+ }, null, 8, ["size", "onClick"])) : (e.canSearch !== !1 || l(A)(e.searchProps)) && l(t).showSearch.value ? (i(), c(S, {
401
+ "onClick:appendInner": n[6] || (n[6] = () => l(t).refresh({ deepRefresh: !0 })),
402
+ "onClick:prependInner": n[7] || (n[7] = () => l(t).toggleSearch()),
403
+ onKeyup: n[8] || (n[8] = ue(m(() => l(t).refresh({ deepRefresh: !0 }), ["stop"]), ["native", "enter"])),
404
+ "append-inner-icon": "$magnify",
405
+ "prepend-inner-icon": "$close",
406
+ density: e.density,
407
+ flat: "",
408
+ "hide-details": "",
409
+ ref_key: "searchEl",
410
+ ref: Z,
411
+ key: "12",
412
+ placeholder: "Find",
413
+ variant: "outlined",
414
+ modelValue: l(t).searchString.value,
415
+ "onUpdate:modelValue": n[9] || (n[9] = (d) => l(t).searchString.value = d)
416
+ }, null, 8, ["density", "modelValue"])) : v("", !0)
417
+ ]),
418
+ _: 1
419
+ })
420
+ ], !0),
421
+ y(e.$slots, "actions", {
422
+ ui: l(t),
423
+ allItems: l(t).asyncItems.value,
424
+ size: e.size
425
+ }, void 0, !0),
426
+ u(ie),
427
+ y(e.$slots, "actions-right", {
428
+ ui: l(t),
429
+ allItems: l(t).asyncItems.value,
430
+ size: e.size
431
+ }, void 0, !0),
432
+ !fe.value && l(A)(l(t).filters.value) ? (i(), c(L, {
433
+ key: 1,
434
+ "close-on-content-click": !1,
435
+ density: e.density,
436
+ location: "start"
437
+ }, {
438
+ activator: o(({ props: d }) => [
439
+ u(r, O({
440
+ icon: "$filter",
441
+ size: e.size
442
+ }, d, { variant: "text" }), null, 16, ["size"])
443
+ ]),
444
+ default: o(() => [
445
+ u(N, {
446
+ class: "pa-0",
447
+ density: e.density,
448
+ "open-strategy": "multiple",
449
+ "select-strategy": "classic",
450
+ selected: l(t).selectedFilters.value,
451
+ "onUpdate:selected": n[10] || (n[10] = (d) => l(t).selectedFilters.value = d)
452
+ }, {
453
+ default: o(() => [
454
+ (i(!0), p($, null, z(l(t).filters.value, (d, B) => (i(), c(C, {
455
+ key: B,
456
+ subtitle: d,
457
+ value: B
458
+ }, {
459
+ prepend: o(({ isActive: a }) => [
460
+ u(V, null, {
461
+ default: o(() => [
462
+ u(se, { size: e.size }, {
463
+ default: o(() => [
464
+ G(X(a ? "$check" : ""), 1)
465
+ ]),
466
+ _: 2
467
+ }, 1032, ["size"])
468
+ ]),
469
+ _: 2
470
+ }, 1024)
471
+ ]),
472
+ _: 2
473
+ }, 1032, ["subtitle", "value"]))), 128)),
474
+ u(oe, { "hide-on-leave": "" }, {
475
+ default: o(() => [
476
+ l(t).filtersChanged.value ? (i(), c(r, {
477
+ key: 0,
478
+ block: "",
479
+ onClick: m(l(t).applyFilters, ["stop"]),
480
+ size: e.size
481
+ }, {
482
+ default: o(() => [
483
+ u(se, {
484
+ start: "",
485
+ size: e.size
486
+ }, {
487
+ default: o(() => n[16] || (n[16] = [
488
+ G("$filter")
489
+ ])),
490
+ _: 1
491
+ }, 8, ["size"]),
492
+ n[17] || (n[17] = G("Apply "))
493
+ ]),
494
+ _: 1
495
+ }, 8, ["onClick", "size"])) : v("", !0)
496
+ ]),
497
+ _: 1
498
+ })
499
+ ]),
500
+ _: 1
501
+ }, 8, ["density", "selected"])
502
+ ]),
503
+ _: 1
504
+ }, 8, ["density"])) : v("", !0),
505
+ !q.value && l(A)(l(t).externalParties.value) ? (i(), c(L, {
506
+ key: 2,
507
+ density: e.density,
508
+ location: "bottom"
509
+ }, {
510
+ activator: o(({ props: d }) => [
511
+ u(Q, { "hide-on-leave": "" }, {
512
+ default: o(() => [
513
+ l(t).currentExternalParty.value != null ? (i(), p("div", Re, [
514
+ u(r, {
515
+ icon: "$close",
516
+ onClick: n[11] || (n[11] = m((B) => l(t).selectExternalParty(void 0), ["stop"]))
517
+ }),
518
+ R("span", null, "Sync: " + X(l(ce)(l(t).currentExternalParty.value.party)), 1)
519
+ ])) : (i(), c(r, O({
520
+ key: 1,
521
+ icon: "$cloud-sync",
522
+ size: e.size
523
+ }, d, {
524
+ title: "Open sync options",
525
+ variant: "text"
526
+ }), null, 16, ["size"]))
527
+ ]),
528
+ _: 2
529
+ }, 1024)
530
+ ]),
531
+ default: o(() => [
532
+ u(N, {
533
+ density: e.density,
534
+ "min-width": "150"
535
+ }, {
536
+ default: o(() => [
537
+ (i(!0), p($, null, z(l(t).externalParties.value, (d, B) => (i(), c(C, {
538
+ onClick: m((a) => l(t).selectExternalParty(d), ["stop"]),
539
+ key: (d.party ?? "") + B,
540
+ title: l(ce)(d.party)
541
+ }, null, 8, ["onClick", "title"]))), 128))
542
+ ]),
543
+ _: 1
544
+ }, 8, ["density"])
545
+ ]),
546
+ _: 1
547
+ }, 8, ["density"])) : v("", !0)
548
+ ], !0)
549
+ ]),
550
+ content: o(({ bladeData: d, isMobile: B }) => [
551
+ y(e.$slots, "d", {
552
+ items: l(t).asyncItems
553
+ }, void 0, !0),
554
+ y(e.$slots, "body", {
555
+ bladeData: d,
556
+ items: l(t).filteredItems.value,
557
+ allItems: l(t).asyncItems.value,
558
+ refresh: l(t).refresh,
559
+ searchString: l(t).searchString,
560
+ showSearch: l(t).showSearch,
561
+ size: e.size,
562
+ style: U(H.value),
563
+ toggleSearch: l(t).toggleSearch,
564
+ ui: l(t)
565
+ }, () => [
566
+ y(e.$slots, "top", {
567
+ refresh: l(t).refresh,
568
+ searchString: l(t).searchString,
569
+ showSearch: l(t).showSearch,
570
+ toggleSearch: l(t).toggleSearch,
571
+ size: e.size,
572
+ allItems: l(t).asyncItems.value,
573
+ items: l(t).filteredItems.value,
574
+ ui: l(t)
575
+ }, void 0, !0),
576
+ l(A)(l(t).asyncItems.value) ? e.selectSingle || e.selectMulti || e.showListOnly === !0 || B ? (i(), c(N, {
577
+ key: 1,
578
+ "active-class": e.activeClass,
579
+ class: F(["pt-0", e.scrollY ? "overflow-y-auto" : ""]),
580
+ "bg-color": e.transparent ? "transparent" : void 0,
581
+ flat: "",
582
+ density: e.density,
583
+ lines: e.lines,
584
+ mandatory: !e.canUnselect,
585
+ selectable: e.selectSingle || e.selectMulti,
586
+ "select-strategy": e.selectSingle ? "single-independent" : "independent",
587
+ style: U(H.value),
588
+ selected: ne.value,
589
+ "onUpdate:selected": n[13] || (n[13] = (a) => ne.value = a)
590
+ }, {
591
+ default: o(() => [
592
+ u(V, {
593
+ group: "",
594
+ "hide-on-leave": ""
595
+ }, {
596
+ default: o(() => [
597
+ (i(!0), p($, null, z(l(t).filteredItems.value, (a, I) => (i(), p($, {
598
+ key: `${a.id}${I}-table-list-item`
599
+ }, [
600
+ y(e.$slots, "listItem", {
601
+ bladeData: d,
602
+ deleteItem: () => l(t).deleteItem(a),
603
+ item: a,
604
+ index: I,
605
+ size: e.size,
606
+ select: () => l(t).selectItem(a, e.variant),
607
+ ui: l(t)
608
+ }, () => [
609
+ u(C, {
610
+ class: "mouse-item",
611
+ density: e.density,
612
+ ripple: e.ripple,
613
+ value: a,
614
+ onClick: (h) => l(t).selectItem(a, e.variant),
615
+ onMouseover: (h) => e.$emit("mouse-over-item", a)
616
+ }, Pe({
617
+ title: o(() => [
618
+ y(e.$slots, "itemTitle", {
619
+ item: a,
620
+ index: I,
621
+ size: e.size
622
+ }, () => [
623
+ (i(!0), p($, null, z(l(t).titleOptions.value, (h, w) => (i(), p("span", { key: w }, [
624
+ (i(!0), p($, null, z(h.values, (b, E) => y(e.$slots, b.value, {
625
+ key: E,
626
+ item: a,
627
+ class: "mr-1"
628
+ }, () => [
629
+ u(W, {
630
+ option: b,
631
+ data: a
632
+ }, null, 8, ["option", "data"])
633
+ ], !0)), 128))
634
+ ]))), 128))
635
+ ], !0)
636
+ ]),
637
+ subtitle: o(() => [
638
+ y(e.$slots, "itemSubtitle", {
639
+ item: a,
640
+ index: I,
641
+ size: e.size
642
+ }, () => [
643
+ (i(!0), p($, null, z(l(t).subtitleOptions.value, (h, w) => (i(), p("span", { key: w }, [
644
+ (i(!0), p($, null, z(h.values, (b, E) => y(e.$slots, b.value, {
645
+ key: E,
646
+ item: a,
647
+ class: "mr-1"
648
+ }, () => [
649
+ u(W, {
650
+ option: b,
651
+ data: a
652
+ }, null, 8, ["option", "data"])
653
+ ], !0)), 128))
654
+ ]))), 128))
655
+ ], !0)
656
+ ]),
657
+ prepend: o(() => [
658
+ y(e.$slots, "itemPrepend", {
659
+ item: a,
660
+ index: I,
661
+ size: e.size
662
+ }, void 0, !0)
663
+ ]),
664
+ _: 2
665
+ }, [
666
+ e.hideActions ? void 0 : {
667
+ name: "append",
668
+ fn: o(() => [
669
+ u(re, {
670
+ "no-gutters": "",
671
+ class: F(te.value ? "actionButtons" : null)
672
+ }, {
673
+ default: o(() => [
674
+ y(e.$slots, "itemActions", {
675
+ item: a,
676
+ index: I,
677
+ items: l(t).asyncItems.value,
678
+ size: f.value
679
+ }, void 0, !0),
680
+ u(V, {
681
+ group: "",
682
+ "hide-on-leave": ""
683
+ }, {
684
+ default: o(() => [
685
+ !q.value && l(t).isIntegratable.value(a) ? (i(), p("div", Ke, [
686
+ u(Q, { "hide-on-leave": "" }, {
687
+ default: o(() => {
688
+ var h, w, b, E;
689
+ return [
690
+ l(t).isIntegrated.value(a) ? (i(), p("div", qe, [
691
+ u(r, {
692
+ class: "text-success",
693
+ icon: "$cloud-check",
694
+ size: f.value,
695
+ title: `Synced with ${(h = l(t).currentExternalParty.value) == null ? void 0 : h.party}`,
696
+ variant: "text"
697
+ }, null, 8, ["size", "title"]),
698
+ (w = l(t).currentExternalParty.value) != null && w.canUnlink ? (i(), c(r, {
699
+ key: 0,
700
+ onClick: m((j) => l(t).unlinkFromExternalParty(a), ["stop"]),
701
+ class: "text-error",
702
+ icon: "$cloud-remove",
703
+ size: f.value,
704
+ title: `Unlink from ${(b = l(t).currentExternalParty.value) == null ? void 0 : b.party}`,
705
+ variant: "text"
706
+ }, null, 8, ["onClick", "size", "title"])) : v("", !0)
707
+ ])) : (i(), c(r, {
708
+ onClick: m((j) => l(t).pushToExternalParty(a), ["stop"]),
709
+ icon: "$cloud-upload",
710
+ key: "a2",
711
+ size: f.value,
712
+ title: `Send to ${(E = l(t).currentExternalParty.value) == null ? void 0 : E.party}`,
713
+ variant: "text"
714
+ }, null, 8, ["onClick", "size", "title"]))
715
+ ];
716
+ }),
717
+ _: 2
718
+ }, 1024)
719
+ ])) : v("", !0),
720
+ a.errorMsg != null ? (i(), c(r, {
721
+ onClick: n[12] || (n[12] = m(() => {
722
+ }, ["stop"])),
723
+ class: "text-warning",
724
+ icon: "$alert-circle",
725
+ key: "1",
726
+ size: f.value,
727
+ title: a.errorMsg
728
+ }, null, 8, ["size", "title"])) : v("", !0),
729
+ e.canDelete && l(t).isDeletable.value(a) ? (i(), c(r, {
730
+ onClick: m((h) => l(t).deleteItem(a), ["stop"]),
731
+ class: "text-error",
732
+ disabled: !l(P).canEdit(e.nav),
733
+ icon: "$delete",
734
+ key: "2",
735
+ loading: a.loadingCount > 0,
736
+ size: f.value,
737
+ variant: "text"
738
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0),
739
+ e.canRestore && l(t).isRestorable.value(a) ? (i(), c(r, {
740
+ onClick: m((h) => l(t).restoreItem(a), ["stop"]),
741
+ disabled: !l(P).canEdit(e.nav),
742
+ key: "3",
743
+ icon: "$eraser-variant",
744
+ loading: a.loadingCount > 0,
745
+ size: f.value,
746
+ variant: "text"
747
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0)
748
+ ]),
749
+ _: 2
750
+ }, 1024)
751
+ ]),
752
+ _: 2
753
+ }, 1032, ["class"])
754
+ ]),
755
+ key: "0"
756
+ }
757
+ ]), 1032, ["density", "ripple", "value", "onClick", "onMouseover"])
758
+ ], !0),
759
+ e.dividers ? (i(), c(ze, {
760
+ key: "d" + I.toString()
761
+ })) : v("", !0)
762
+ ], 64))), 128))
763
+ ]),
764
+ _: 2
765
+ }, 1024),
766
+ y(e.$slots, "bottomItem", {}, void 0, !0)
767
+ ]),
768
+ _: 2
769
+ }, 1032, ["active-class", "class", "bg-color", "density", "lines", "mandatory", "selectable", "select-strategy", "style", "selected"])) : e.showTableOnly === !0 || !B ? (i(), c(Ce, {
770
+ key: 2,
771
+ class: "text-body-2 overflow-y-auto",
772
+ density: e.density,
773
+ "fixed-header": e.fixedHeader,
774
+ hover: "",
775
+ style: U(H.value)
776
+ }, {
777
+ default: o(() => [
778
+ R("thead", null, [
779
+ R("tr", null, [
780
+ (i(!0), p($, null, z(l(t).tableHeaders.value, (a) => (i(), p("th", {
781
+ key: a.value,
782
+ class: F(`d-none d-${a.showSize ?? "sm"}-table-cell ${a.align == "end" ? "text-right" : void 0}`)
783
+ }, [
784
+ y(e.$slots, `${a.value}-header`, { options: a }, () => [
785
+ G(X(a.title), 1)
786
+ ], !0)
787
+ ], 2))), 128)),
788
+ e.hideActions ? v("", !0) : (i(), p("th", Ye, " Actions "))
789
+ ])
790
+ ]),
791
+ R("tbody", null, [
792
+ u(V, {
793
+ group: "",
794
+ "hide-on-leave": ""
795
+ }, {
796
+ default: o(() => [
797
+ (i(!0), p($, null, z(l(t).filteredItems.value, (a, I) => (i(), p("tr", {
798
+ key: `${a.id}${I}`,
799
+ onClick: (h) => l(t).selectItem(a, e.variant)
800
+ }, [
801
+ (i(!0), p($, null, z(l(t).tableHeaders.value, (h) => (i(), p("td", {
802
+ key: "1" + h.value,
803
+ class: F(`d-none d-${h.showSize ?? "sm"}-table-cell ${h.align == "end" ? "text-right" : void 0}`)
804
+ }, [
805
+ y(e.$slots, h.value, {
806
+ item: a,
807
+ options: h
808
+ }, () => [
809
+ u(W, {
810
+ option: h,
811
+ data: a
812
+ }, null, 8, ["option", "data"])
813
+ ], !0)
814
+ ], 2))), 128)),
815
+ e.hideActions ? v("", !0) : (i(), p("td", {
816
+ key: "itemActions" + a.id,
817
+ class: "text-right"
818
+ }, [
819
+ u(oe, { "hide-on-leave": "" }, {
820
+ default: o(() => [
821
+ u(re, {
822
+ "no-gutters": "",
823
+ class: F([te.value ? "actionButtons" : null, "flex-nowrap"])
824
+ }, {
825
+ default: o(() => [
826
+ u(ie),
827
+ y(e.$slots, "itemActions", {
828
+ item: a,
829
+ allItems: l(t).asyncItems.value,
830
+ items: l(t).filteredItems.value,
831
+ size: f.value,
832
+ density: e.density,
833
+ ui: l(t)
834
+ }, void 0, !0),
835
+ !q.value && l(t).isIntegratable.value(a) ? (i(), p("div", We, [
836
+ u(Q, { "hide-on-leave": "" }, {
837
+ default: o(() => {
838
+ var h, w, b, E;
839
+ return [
840
+ l(t).isIntegrated.value(a) ? (i(), p("div", je, [
841
+ u(r, {
842
+ class: "text-success",
843
+ icon: "$cloud-check",
844
+ size: f.value,
845
+ title: `Synced with ${(h = l(t).currentExternalParty.value) == null ? void 0 : h.party}`,
846
+ variant: "text"
847
+ }, null, 8, ["size", "title"]),
848
+ (w = l(t).currentExternalParty.value) != null && w.canUnlink ? (i(), c(r, {
849
+ key: 0,
850
+ onClick: m((j) => l(t).unlinkFromExternalParty(a), ["stop"]),
851
+ class: "text-error",
852
+ icon: "$cloud-remove",
853
+ size: f.value,
854
+ title: `Unlink from ${(b = l(t).currentExternalParty.value) == null ? void 0 : b.party}`,
855
+ variant: "text"
856
+ }, null, 8, ["onClick", "size", "title"])) : v("", !0)
857
+ ])) : (i(), c(r, {
858
+ onClick: m((j) => l(t).pushToExternalParty(a), ["stop"]),
859
+ icon: "$cloud-upload",
860
+ key: "a2",
861
+ size: f.value,
862
+ title: `Send to ${(E = l(t).currentExternalParty.value) == null ? void 0 : E.party}`,
863
+ variant: "text"
864
+ }, null, 8, ["onClick", "size", "title"]))
865
+ ];
866
+ }),
867
+ _: 2
868
+ }, 1024)
869
+ ])) : v("", !0),
870
+ a.errorMsg != null ? (i(), c(r, {
871
+ onClick: n[14] || (n[14] = m(() => {
872
+ }, ["stop"])),
873
+ class: "text-warning",
874
+ icon: "$alert-circle",
875
+ key: "1",
876
+ size: f.value,
877
+ title: a.errorMsg
878
+ }, null, 8, ["size", "title"])) : v("", !0),
879
+ e.canDelete && l(t).isDeletable.value(a) ? (i(), c(r, {
880
+ onClick: m((h) => l(t).deleteItem(a), ["stop"]),
881
+ class: "text-error",
882
+ disabled: !l(P).canEdit(e.nav),
883
+ icon: "$delete",
884
+ key: "2",
885
+ size: f.value,
886
+ variant: "text"
887
+ }, null, 8, ["onClick", "disabled", "size"])) : v("", !0),
888
+ e.canRestore && l(t).isRestorable.value(a) ? (i(), c(r, {
889
+ onClick: m((h) => l(t).restoreItem(a), ["stop"]),
890
+ disabled: !l(P).canEdit(e.nav),
891
+ key: "3",
892
+ icon: "$eraser-variant",
893
+ size: f.value,
894
+ variant: "text"
895
+ }, null, 8, ["onClick", "disabled", "size"])) : v("", !0)
896
+ ]),
897
+ _: 2
898
+ }, 1032, ["class"])
899
+ ]),
900
+ _: 2
901
+ }, 1024)
902
+ ]))
903
+ ], 8, Qe))), 128))
904
+ ]),
905
+ _: 3
906
+ })
907
+ ])
908
+ ]),
909
+ _: 3
910
+ }, 8, ["density", "fixed-header", "style"])) : v("", !0) : (i(), p("div", {
911
+ key: 0,
912
+ class: F(e.scrollY ? "overflow-y-auto" : ""),
913
+ style: U(H.value)
914
+ }, [
915
+ y(e.$slots, "notFound", {
916
+ ui: l(t),
917
+ bladeData: d,
918
+ refresh: l(t).refresh,
919
+ size: e.size
920
+ }, void 0, !0)
921
+ ], 6)),
922
+ y(e.$slots, "bottom", {
923
+ size: e.size,
924
+ allItems: l(t).asyncItems.value,
925
+ items: l(t).filteredItems.value
926
+ }, void 0, !0)
927
+ ], !0),
928
+ l(de)(e.paginate) ? v("", !0) : (i(), p("div", Je, [
929
+ u(Be, {
930
+ modelValue: l(t).currentPage.value,
931
+ "onUpdate:modelValue": n[15] || (n[15] = (a) => l(t).currentPage.value = a),
932
+ length: l(t).totalPages.value
933
+ }, null, 8, ["modelValue", "length"])
934
+ ]))
935
+ ]),
936
+ _: 3
937
+ }, 8, ["bladeName", "bladeStartShowing", "bordered", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "opacity", "preset", "showOnlyTitleLeft", "size", "transparent", "variant"]);
938
+ };
939
+ }
940
+ });
941
+ export {
942
+ st as default
943
+ };