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,1305 @@
1
+ import { defineComponent as st, computed as g, ref as X, provide as rt, watch as _, onMounted as ut, onUnmounted as dt, resolveComponent as S, openBlock as o, createBlock as d, unref as l, withCtx as r, renderSlot as m, createCommentVNode as v, createVNode as u, mergeProps as ne, createElementBlock as p, Fragment as E, renderList as P, withKeys as De, withModifiers as T, createTextVNode as fe, toDisplayString as oe, createElementVNode as x, normalizeStyle as W, normalizeClass as Z, createSlots as Ne, nextTick as vt } from "vue";
2
+ import { isLengthyArray as Y, isNullOrEmpty as ie, copyDeep as ge, capitalizeWords as Me } from "../composables/helpers.mjs";
3
+ import { useAuth as ct } from "../composables/auth.mjs";
4
+ import { useList as pt } from "../composables/list.mjs";
5
+ import { useNavigation as yt } from "../composables/navigation.mjs";
6
+ import { usePresets as mt } from "../composables/presets.mjs";
7
+ import { useRoute as ht, useRouter as He } from "vue-router";
8
+ import { useHeights as ft } from "../composables/heights.mjs";
9
+ import { useDisplay as gt } from "vuetify";
10
+ import { registerSteps as St, unregisterSteps as kt } from "../composables/steps.mjs";
11
+ import { useTracker as $t } from "../composables/track.mjs";
12
+ const bt = {
13
+ key: 0,
14
+ class: "d-flex align-center mr-2"
15
+ }, Ct = {
16
+ key: 0,
17
+ class: "d-flex"
18
+ }, zt = {
19
+ key: 0,
20
+ class: "d-flex align-center",
21
+ density: "compact",
22
+ flat: "",
23
+ tile: ""
24
+ }, Bt = { class: "text-h6 ml-3" }, wt = { key: "0" }, At = {
25
+ class: "d-flex",
26
+ key: "a1"
27
+ }, Et = {
28
+ key: "itemActions",
29
+ class: "text-right"
30
+ }, It = ["onClick"], Pt = { key: "0" }, Tt = {
31
+ class: "d-flex",
32
+ key: "a1"
33
+ }, Dt = { key: 0 }, Yt = /* @__PURE__ */ st({
34
+ __name: "BT-Blade-Steps",
35
+ props: {
36
+ actionButtonSize: { default: "x-small" },
37
+ activeClass: { default: "text-primary" },
38
+ actualHeight: {},
39
+ actualUsedHeight: {},
40
+ archiveBladeName: {},
41
+ bordered: { type: Boolean },
42
+ canAdd: { type: Boolean, default: !0 },
43
+ canDelete: { type: Boolean, default: !0 },
44
+ canEdit: { type: Boolean },
45
+ canExportCSV: { type: Boolean },
46
+ canRestore: { type: Boolean },
47
+ canSave: { type: Boolean, default: !0 },
48
+ canSearch: { type: Boolean, default: !0 },
49
+ canShowInactive: { type: Boolean },
50
+ defaultNew: { type: Boolean },
51
+ density: { default: "compact" },
52
+ dividers: { type: Boolean, default: !0 },
53
+ fadingActions: { type: Boolean, default: void 0 },
54
+ fixedHeader: { type: Boolean, default: !0 },
55
+ flat: { type: Boolean },
56
+ getLabel: {},
57
+ heightStrat: { default: "fixed" },
58
+ hideColumns: { type: Boolean },
59
+ hideFilters: { type: Boolean },
60
+ hideFooter: { type: Boolean },
61
+ hideIntegrations: { type: Boolean, default: !1 },
62
+ hideRefresh: { type: Boolean },
63
+ hideSubtoolbar: { type: Boolean },
64
+ hideSubtoolbarSettings: { type: Boolean, default: !1 },
65
+ hideToolbar: { type: Boolean },
66
+ itemValue: {},
67
+ label: {},
68
+ lines: {},
69
+ onGetNewAsync: {},
70
+ onSelectAsync: {},
71
+ paginate: {},
72
+ preset: {},
73
+ resetSlidesToggle: { type: Boolean },
74
+ resetTrackerToggle: { type: Boolean },
75
+ returnCSV: { type: Boolean },
76
+ returnIndex: { type: Boolean },
77
+ ripple: { type: Boolean, default: !0 },
78
+ showCount: { type: Boolean, default: !1 },
79
+ scrollY: { type: Boolean },
80
+ selected: {},
81
+ showListOnly: { type: Boolean },
82
+ showTableOnly: { type: Boolean },
83
+ size: { default: "small" },
84
+ steps: {},
85
+ stepsID: {},
86
+ trackChanges: { type: Boolean, default: !0 },
87
+ trackIgnoreProps: {},
88
+ trackProps: {},
89
+ transparent: { type: Boolean },
90
+ useStepHeader: { type: Boolean, default: !1 },
91
+ addBladeName: {},
92
+ additionalUrl: {},
93
+ bladeGroup: {},
94
+ bladeName: {},
95
+ bladeStartShowing: { type: Boolean },
96
+ canSelect: { type: Boolean, default: !0 },
97
+ canUnselect: { type: Boolean },
98
+ closeBladeNames: {},
99
+ confirmOnDelete: { type: Boolean },
100
+ customFilters: {},
101
+ dateFrom: {},
102
+ dateTo: {},
103
+ defaultFilters: {},
104
+ eager: { type: Boolean, default: !0 },
105
+ errorMsg: {},
106
+ filterToggle: { type: Boolean },
107
+ headers: {},
108
+ hideActions: { type: Boolean },
109
+ idSelector: {},
110
+ ignoreID: { type: Boolean },
111
+ inactiveProp: {},
112
+ isSingle: { type: Boolean },
113
+ itemBladeName: {},
114
+ itemID: {},
115
+ items: {},
116
+ itemsPerPage: { default: 75 },
117
+ itemText: {},
118
+ keyStrategy: {},
119
+ loadingMsg: {},
120
+ localFilters: {},
121
+ localOnly: { type: Boolean },
122
+ nav: {},
123
+ navType: {},
124
+ onCanDelete: {},
125
+ onCanDeleteAsync: {},
126
+ onCanIntegrate: {},
127
+ onCanRestore: {},
128
+ onCanRestoreAsync: {},
129
+ onCanSave: {},
130
+ onCanSaveAsync: {},
131
+ onCanSelectItem: {},
132
+ onDeleteAsync: {},
133
+ onDeleteSuccessAsync: {},
134
+ onError: {},
135
+ onFilter: {},
136
+ onFinished: {},
137
+ onGetAsync: {},
138
+ onGetSingleAsync: {},
139
+ onGetSaveAsync: {},
140
+ onGetSingleSuccessAsync: {},
141
+ onGetSuccessAsync: {},
142
+ onRestoreAsync: {},
143
+ onRestoreSuccessAsync: {},
144
+ onSaveAsync: {},
145
+ onSaveSuccessAsync: {},
146
+ onSelectItem: {},
147
+ onSyncAsync: {},
148
+ onUpdateAsyncItem: {},
149
+ params: {},
150
+ proxyID: {},
151
+ proxyKey: {},
152
+ refreshOnChange: { type: Boolean },
153
+ queryParams: {},
154
+ refreshLiteToggle: { type: Boolean },
155
+ refreshToggle: { type: Boolean },
156
+ searchKey: {},
157
+ searchProps: {},
158
+ searchStr: {},
159
+ selectProps: {},
160
+ sortDirection: {},
161
+ sortProp: {},
162
+ startEditing: { type: Boolean, default: !0 },
163
+ startShowingInactive: { type: Boolean },
164
+ startShowingSearch: { type: Boolean },
165
+ storeMode: {},
166
+ storageMode: {},
167
+ trackSearchQuery: { type: Boolean },
168
+ useBladeSrc: { type: Boolean, default: void 0 },
169
+ useRouteSrc: { type: Boolean, default: void 0 },
170
+ variant: { default: "page" }
171
+ },
172
+ emits: ["change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item", "saved"],
173
+ setup(Fe, { emit: Ve }) {
174
+ const Se = Ve, i = Fe, F = g(() => i.steps ?? []), ke = X(null), $e = X(null), { xs: Ue } = gt(), I = ht(), j = mt(i.preset), U = He(), { findDisplay: Le, findSingleDisplay: Oe } = yt(), q = ct(), be = ft(), t = pt(i, Se, {
175
+ hideActions: !0,
176
+ onError: (e) => {
177
+ if (console.log(e), e.code == 401)
178
+ q.logout(), q.login(location.pathname);
179
+ else
180
+ return e;
181
+ },
182
+ onFinishedAsync: async (e) => {
183
+ if (i.defaultNew === !0 && !Y(e))
184
+ G();
185
+ else if (t.id.value != null) {
186
+ if (t.id.value == "new")
187
+ G();
188
+ else if (e != null) {
189
+ var a = e.find((s) => s.id == t.id.value);
190
+ a != null && (await J(a), ee(), B());
191
+ }
192
+ }
193
+ },
194
+ router: He(),
195
+ route: I
196
+ }), D = X([]), y = X(0), se = X(0);
197
+ function qe(e) {
198
+ console.log(`window updated to: ${e.toString()}`);
199
+ }
200
+ const $ = g(() => y.value > 0 ? F.value[y.value - 1] : void 0), Ge = g(() => y.value > 0), re = g(() => {
201
+ var e;
202
+ return !(y.value >= F.value.length || ((e = $.value) == null ? void 0 : e.onCanMoveNext) != null && $.value.onCanMoveNext({
203
+ isChanged: N.value,
204
+ item: k.value,
205
+ meta: C.value,
206
+ mode: t.mode.value
207
+ }) !== !0);
208
+ }), Ke = g(() => y.value > 0), ue = g(() => {
209
+ var e;
210
+ return ((e = $.value) == null ? void 0 : e.onCanSave) != null ? $.value.onCanSave({
211
+ isChanged: N.value,
212
+ item: k.value,
213
+ meta: C.value,
214
+ mode: t.mode.value
215
+ }) && N.value : !!(i.canSave && y.value >= F.value.length && N.value);
216
+ }), Ye = g(() => {
217
+ var e;
218
+ return !!(((e = $.value) == null ? void 0 : e.onCanSave) != null && $.value.onCanSave({
219
+ isChanged: N.value,
220
+ item: k.value,
221
+ meta: C.value,
222
+ mode: t.mode.value
223
+ }) && !N.value || y.value >= F.value.length && !N.value);
224
+ }), Ce = g(() => {
225
+ var e;
226
+ return !!(((e = $.value) == null ? void 0 : e.onCanSkip) != null && $.value.onCanSkip({
227
+ isChanged: N.value,
228
+ item: k.value,
229
+ meta: C.value,
230
+ mode: t.mode.value
231
+ }));
232
+ }), Qe = g(() => i.nav != null && !q.canEdit(i.nav) ? !1 : t.isEditing.value);
233
+ rt("isEditing", Qe);
234
+ const z = g(() => i.actionButtonSize ?? i.size), We = g(() => j.canAdd ?? i.canAdd), ze = g(() => {
235
+ const e = j.fadingActions ?? i.fadingActions;
236
+ return t.currentExternalParty.value == null && (e ?? !Ue.value);
237
+ }), je = g(() => j.hideColumns ?? i.hideColumns), Je = g(() => j.hideFilters ?? i.hideFilters), de = g(() => (j.hideIntegrations ?? i.hideIntegrations) || t.proxyID.value != null), Xe = g(() => j.hideRefresh ?? i.hideRefresh), Be = g(() => !!i.hideSubtoolbar || i.variant == "inline"), Ze = g(() => {
238
+ var a, s, h;
239
+ let e = i.label ?? (i.variant == "page" ? (a = I == null ? void 0 : I.meta) == null ? void 0 : a.displayName : void 0) ?? Le(i.nav);
240
+ return i.showCount == !0 && ((s = t.filteredItems.value) == null ? void 0 : s.length) != null && ((h = t.asyncItems.value) == null ? void 0 : h.length) != null && (e = `${e} (${t.filteredItems.value.length} of ${t.asyncItems.value.length})`), e;
241
+ }), we = g(() => {
242
+ var e, a;
243
+ return ((e = $.value) == null ? void 0 : e.label) != null ? $.value.label : ((a = $.value) == null ? void 0 : a.getLabel) != null ? $.value.getLabel({
244
+ item: k.value,
245
+ meta: C.value
246
+ }) : i.getLabel != null ? i.getLabel(k.value, $.value) : Oe(i.nav);
247
+ }), ve = g(() => i.variant == "inline" && (i.canSearch || Y(i.searchProps))), Q = g(() => {
248
+ if (i.actualHeight != null)
249
+ return `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(${i.actualHeight})`;
250
+ if (i.actualUsedHeight != null)
251
+ return `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${be.getUsedHeight(i.actualUsedHeight)}px)`;
252
+ {
253
+ let e = 154;
254
+ return y.value > 0 ? e -= 48 : i.variant == "pure" && (e -= 96), i.bordered ? e += 26 : i.variant == "page" && (e += 16), Be.value && y.value == 0 && (e -= 48), i.hideToolbar == !0 && (e -= 48), (ie(i.paginate) || y.value > 0) && (e -= 58), `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${be.getUsedHeight(e)}px)`;
255
+ }
256
+ });
257
+ function Ae() {
258
+ vt(() => {
259
+ var a, s;
260
+ let e;
261
+ ve.value ? e = (a = $e.value) == null ? void 0 : a.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])") : t.showSearch.value && (e = (s = ke.value) == null ? void 0 : s.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])")), e == null || e.focus();
262
+ });
263
+ }
264
+ const C = X(), { asyncItem: k, isChanged: N, restartTracker: ee } = $t(void 0, {
265
+ useTracker: i.trackChanges,
266
+ propsToIgnore: i.trackIgnoreProps,
267
+ propsToTrack: i.trackProps
268
+ });
269
+ async function J(e, a) {
270
+ var s;
271
+ if (k.value = i.onSelectAsync != null ? await i.onSelectAsync(ge(e), e) : ge(e), C.value = {}, ((s = k.value) == null ? void 0 : s.id) != null) {
272
+ let h = {};
273
+ t.proxyID.value != null && (h.proxyID = t.proxyID.value);
274
+ let A = {
275
+ ...I,
276
+ params: {
277
+ ...I.params,
278
+ id: k.value.id
279
+ },
280
+ query: h,
281
+ replace: !0
282
+ };
283
+ U == null || U.replace(A);
284
+ }
285
+ ee(), a == null ? B() : typeof a == "string" ? K(a) : typeof a == "number" && b(a);
286
+ }
287
+ async function G() {
288
+ var e = i.onGetNewAsync ?? (async () => ({}));
289
+ t.mode.value = "new", k.value = await e(), C.value = {};
290
+ let a = {};
291
+ t.proxyID.value != null && (a.proxyID = t.proxyID.value);
292
+ const s = {
293
+ ...I,
294
+ params: {
295
+ ...I.params,
296
+ id: "new"
297
+ },
298
+ query: a,
299
+ replace: !0
300
+ };
301
+ U == null || U.replace(s), B();
302
+ }
303
+ function Re() {
304
+ (i.canSearch !== !1 || Y(i.searchProps)) && !t.showSearch.value && t.toggleSearch();
305
+ }
306
+ function B() {
307
+ var h, A;
308
+ var e = y.value + 1;
309
+ if (((h = $.value) == null ? void 0 : h.onMoveNext) != null) {
310
+ var a = (A = $.value) == null ? void 0 : A.onMoveNext({
311
+ item: k.value,
312
+ meta: C.value,
313
+ mode: t.mode.value,
314
+ next: e
315
+ });
316
+ if (a == null)
317
+ return;
318
+ if (typeof a == "string") {
319
+ if (a == $.value.name)
320
+ return;
321
+ var s = F.value.findIndex((M) => M.name == a);
322
+ if (s == null)
323
+ return;
324
+ s >= 0 && (e = s + 1);
325
+ } else if (typeof a == "number") {
326
+ if (a == y.value)
327
+ return;
328
+ e = a;
329
+ }
330
+ }
331
+ e <= F.value.length && b(e);
332
+ }
333
+ function ce() {
334
+ D.value.pop(), pe();
335
+ }
336
+ function b(e) {
337
+ if (console.log(`from: ${y.value} (other: ${se.value}) | to: ${e}`), e != 0) {
338
+ var a = e - 1;
339
+ if (a < F.value.length) {
340
+ var s = F.value[a];
341
+ if (s.onMoveInto != null) {
342
+ var h = s.onMoveInto({
343
+ item: k.value,
344
+ meta: C.value,
345
+ mode: t.mode.value,
346
+ from: y.value,
347
+ thisStep: e
348
+ });
349
+ if (console.log(`returned: ${h}`), h == null)
350
+ return;
351
+ if (typeof h == "string") {
352
+ var A = F.value.findIndex((M) => M.name == h) ?? -1;
353
+ A >= 0 && (e = A + 1);
354
+ } else
355
+ typeof h == "number" && (e = h);
356
+ }
357
+ }
358
+ }
359
+ if (e == 0 ? (D.value = [e], pe(), console.log(`zero: ${y.value}`)) : y.value !== e ? (D.value.length == 0 && D.value.push(0), D.value.push(e), pe()) : console.log(`same same: ${e}`), e == 0) {
360
+ let M = {};
361
+ t.proxyID.value != null && (M.proxyID = t.proxyID.value);
362
+ const le = {
363
+ ...I,
364
+ params: {},
365
+ query: M,
366
+ replace: !0
367
+ };
368
+ U == null || U.replace(le), i.startEditing == !0 ? t.mode.value = "edit" : t.mode.value = "view";
369
+ }
370
+ }
371
+ _(y, (e) => {
372
+ console.log(`changed to: ${e}`);
373
+ });
374
+ function pe() {
375
+ se.value = D.value.length > 0 ? D.value[D.value.length - 1] : 0, y.value = D.value.length > 0 ? D.value[D.value.length - 1] : 0;
376
+ }
377
+ function K(e) {
378
+ if (e != null) {
379
+ var a = F.value.findIndex((s) => s.name == e);
380
+ a >= 0 && b(a + 1);
381
+ }
382
+ }
383
+ function _e() {
384
+ console.log("skip not implemented yet");
385
+ }
386
+ async function te() {
387
+ var s;
388
+ if (k.value != null) {
389
+ var e = await t.saveItem(k.value);
390
+ if (e != null) {
391
+ k.value = ge(e), ee();
392
+ var a = ((s = $.value) == null ? void 0 : s.onSaveMoveNext) ?? 0;
393
+ typeof a == "number" ? b(a) : typeof a == "boolean" && a == !0 && B();
394
+ }
395
+ }
396
+ }
397
+ return _(y, (e) => {
398
+ Se("change", e);
399
+ }), _(t.showSearch, () => {
400
+ Ae();
401
+ }), _(() => i.resetTrackerToggle, () => {
402
+ ee();
403
+ }), _(() => i.resetSlidesToggle, () => {
404
+ b(0);
405
+ }), ut(() => {
406
+ var a;
407
+ console.log("mounted"), Ae();
408
+ var e = (a = I == null ? void 0 : I.query) == null ? void 0 : a.step;
409
+ e != null ? K(e) : (console.log("mm"), b(0)), ie(i.stepsID) || St(i.stepsID, {
410
+ navBack: ce,
411
+ navTo: b,
412
+ navToName: K,
413
+ nextStep: B
414
+ });
415
+ }), dt(() => {
416
+ console.log("unmounte"), ie(i.stepsID) || kt(i.stepsID);
417
+ }), (e, a) => {
418
+ const s = S("v-btn"), h = S("v-list-item"), A = S("v-list"), M = S("v-menu"), le = S("v-text-field"), xe = S("v-slide-y-transition"), ae = S("v-spacer"), Ee = S("v-icon"), R = S("v-slide-x-transition"), Ie = S("v-fade-transition"), ye = S("v-slide-y-reverse-transition"), et = S("v-slide-x-reverse-transition"), me = S("bt-header-option"), Pe = S("v-row"), tt = S("v-divider"), lt = S("v-table"), Te = S("v-window-item"), at = S("v-card"), nt = S("v-window"), ot = S("v-pagination"), it = S("bt-blade");
419
+ return o(), d(it, {
420
+ onTitled: Re,
421
+ bladeBasic: "",
422
+ bladeName: e.bladeName,
423
+ bladeStartShowing: e.bladeStartShowing,
424
+ bordered: e.bordered,
425
+ density: e.density,
426
+ flat: e.flat,
427
+ errorMsg: l(t).errorMsg.value,
428
+ hideSubtoolbar: e.useStepHeader != !1 || y.value !== 0 || Be.value,
429
+ hideToolbar: e.useStepHeader != !1 || y.value !== 0 || e.hideToolbar,
430
+ label: Ze.value,
431
+ loadingMsg: l(t).loadingMsg.value,
432
+ preset: e.preset,
433
+ showOnlyTitleLeft: ve.value && l(t).showSearch.value,
434
+ size: e.size,
435
+ transparent: e.transparent,
436
+ variant: e.variant
437
+ }, {
438
+ "blade-toolbar": r(() => [
439
+ m(e.$slots, "blade-toolbar", {
440
+ newItem: G,
441
+ refresh: l(t).refresh,
442
+ searchString: l(t).searchString,
443
+ showSearch: l(t).showSearch,
444
+ toggleSearch: l(t).toggleSearch,
445
+ ui: l(t)
446
+ }, void 0, !0)
447
+ ]),
448
+ "blade-toolbar-left": r(() => [
449
+ m(e.$slots, "toolbar-left", { ui: l(t) }, void 0, !0)
450
+ ]),
451
+ "blade-toolbar-right": r(() => [
452
+ m(e.$slots, "toolbar-right", {
453
+ newItem: G,
454
+ ui: l(t)
455
+ }, void 0, !0),
456
+ Xe.value ? v("", !0) : (o(), d(s, {
457
+ key: 0,
458
+ icon: "$refresh",
459
+ onClick: a[0] || (a[0] = (c) => l(t).refresh({ deepRefresh: !0 })),
460
+ size: e.size,
461
+ title: "Refresh",
462
+ variant: "text"
463
+ }, null, 8, ["size"])),
464
+ We.value ? (o(), d(s, {
465
+ key: 1,
466
+ icon: "$plus",
467
+ onClick: G,
468
+ size: e.size,
469
+ disabled: !l(q).canEdit(e.nav),
470
+ title: "Add",
471
+ variant: "text"
472
+ }, null, 8, ["size", "disabled"])) : v("", !0)
473
+ ]),
474
+ subtoolbar: r(() => [
475
+ m(e.$slots, "subtoolbar", {}, () => [
476
+ e.hideSubtoolbarSettings ? v("", !0) : (o(), d(M, {
477
+ key: 0,
478
+ "close-on-content-click": !1,
479
+ density: e.density
480
+ }, {
481
+ activator: r(({ props: c }) => [
482
+ u(s, ne({
483
+ icon: "$cog",
484
+ size: e.size
485
+ }, c, { variant: "text" }), null, 16, ["size"])
486
+ ]),
487
+ default: r(() => [
488
+ u(A, {
489
+ density: e.density,
490
+ "min-width": "300"
491
+ }, {
492
+ default: r(() => [
493
+ je.value ? v("", !0) : (o(), d(M, {
494
+ key: 0,
495
+ "close-on-content-click": !1,
496
+ density: e.density,
497
+ location: "end"
498
+ }, {
499
+ activator: r(({ props: c }) => [
500
+ u(h, ne(c, {
501
+ "prepend-icon": "$view-column",
502
+ subtitle: "Columns"
503
+ }), null, 16)
504
+ ]),
505
+ default: r(() => [
506
+ u(A, null, {
507
+ default: r(() => [
508
+ (o(!0), p(E, null, P(l(t).headerOptions.value, (c, V) => (o(), d(h, {
509
+ key: V,
510
+ "prepend-icon": c.hide === !0 ? "mdi" : "$check",
511
+ subtitle: c.title,
512
+ onClick: (n) => c.hide = !c.hide
513
+ }, null, 8, ["prepend-icon", "subtitle", "onClick"]))), 128))
514
+ ]),
515
+ _: 1
516
+ })
517
+ ]),
518
+ _: 1
519
+ }, 8, ["density"])),
520
+ e.archiveBladeName != null ? (o(), d(h, {
521
+ key: 1,
522
+ density: e.density,
523
+ "prepend-icon": "$archive-outline",
524
+ subtitle: "Archives",
525
+ to: { name: e.archiveBladeName }
526
+ }, null, 8, ["density", "to"])) : v("", !0),
527
+ e.canShowInactive ? (o(), d(h, {
528
+ key: 2,
529
+ density: e.density,
530
+ "prepend-icon": "$eraser",
531
+ subtitle: l(t).showInactive.value ? "Hide Inactive" : "Show Inactive",
532
+ onClick: a[1] || (a[1] = (c) => l(t).showInactive.value = !l(t).showInactive.value)
533
+ }, null, 8, ["density", "subtitle"])) : v("", !0),
534
+ e.canExportCSV ? (o(), d(h, {
535
+ key: 3,
536
+ density: e.density,
537
+ "prepend-icon": "$file-delimited-outline",
538
+ subtitle: "Export To CSV",
539
+ onClick: l(t).exportToCSV
540
+ }, null, 8, ["density", "onClick"])) : v("", !0),
541
+ m(e.$slots, "settings", {
542
+ items: l(t).filteredItems.value,
543
+ allItems: l(t).asyncItems.value,
544
+ size: e.size
545
+ }, void 0, !0)
546
+ ]),
547
+ _: 3
548
+ }, 8, ["density"])
549
+ ]),
550
+ _: 3
551
+ }, 8, ["density"])),
552
+ u(xe, {
553
+ group: "",
554
+ "hide-on-leave": ""
555
+ }, {
556
+ default: r(() => [
557
+ (e.canSearch !== !1 || l(Y)(e.searchProps)) && !l(t).showSearch.value ? (o(), d(s, {
558
+ icon: "$magnify",
559
+ key: "11",
560
+ size: e.size,
561
+ onClick: l(t).toggleSearch
562
+ }, null, 8, ["size", "onClick"])) : v("", !0),
563
+ (e.canSearch !== !1 || l(Y)(e.searchProps)) && l(t).showSearch.value ? (o(), d(le, {
564
+ "onClick:appendInner": a[2] || (a[2] = () => l(t).refresh({ deepRefresh: !0 })),
565
+ "onClick:prependInner": a[3] || (a[3] = () => l(t).toggleSearch()),
566
+ onKeyup: a[4] || (a[4] = De(T(() => l(t).refresh({ deepRefresh: !0 }), ["stop"]), ["native", "enter"])),
567
+ "append-inner-icon": "$magnify",
568
+ "prepend-inner-icon": "$close",
569
+ density: e.density,
570
+ flat: "",
571
+ "hide-details": "",
572
+ ref_key: "searchEl",
573
+ ref: ke,
574
+ key: "12",
575
+ placeholder: "Find",
576
+ variant: "outlined",
577
+ modelValue: l(t).searchString.value,
578
+ "onUpdate:modelValue": a[5] || (a[5] = (c) => l(t).searchString.value = c)
579
+ }, null, 8, ["density", "modelValue"])) : v("", !0)
580
+ ]),
581
+ _: 1
582
+ }),
583
+ m(e.$slots, "actions", {
584
+ allItems: l(t).asyncItems.value,
585
+ size: e.size,
586
+ last: se.value,
587
+ navToName: K
588
+ }, void 0, !0),
589
+ e.variant != "inline" ? (o(), d(ae, { key: 1 })) : v("", !0),
590
+ m(e.$slots, "actions-right", {
591
+ allItems: l(t).asyncItems.value,
592
+ size: e.size
593
+ }, void 0, !0),
594
+ !Je.value && l(Y)(l(t).filters.value) ? (o(), d(M, {
595
+ key: 2,
596
+ "close-on-content-click": !1,
597
+ density: e.density,
598
+ location: "start"
599
+ }, {
600
+ activator: r(({ props: c }) => [
601
+ u(s, ne({
602
+ icon: "$filter",
603
+ size: e.size
604
+ }, c, { variant: "text" }), null, 16, ["size"])
605
+ ]),
606
+ default: r(() => [
607
+ u(A, {
608
+ class: "pa-0",
609
+ density: e.density,
610
+ "open-strategy": "multiple",
611
+ "select-strategy": "classic",
612
+ selected: l(t).selectedFilters.value,
613
+ "onUpdate:selected": a[6] || (a[6] = (c) => l(t).selectedFilters.value = c)
614
+ }, {
615
+ default: r(() => [
616
+ (o(!0), p(E, null, P(l(t).filters.value, (c, V) => (o(), d(h, {
617
+ key: V,
618
+ subtitle: c,
619
+ value: V
620
+ }, {
621
+ prepend: r(({ isActive: n }) => [
622
+ u(R, null, {
623
+ default: r(() => [
624
+ u(Ee, { size: e.size }, {
625
+ default: r(() => [
626
+ fe(oe(n ? "$check" : ""), 1)
627
+ ]),
628
+ _: 2
629
+ }, 1032, ["size"])
630
+ ]),
631
+ _: 2
632
+ }, 1024)
633
+ ]),
634
+ _: 2
635
+ }, 1032, ["subtitle", "value"]))), 128)),
636
+ u(Ie, {
637
+ "hide-on-leave": "",
638
+ group: ""
639
+ }, {
640
+ default: r(() => [
641
+ l(t).filtersChanged.value ? (o(), d(s, {
642
+ key: 0,
643
+ block: "",
644
+ onClick: l(t).applyFilters,
645
+ size: e.size
646
+ }, {
647
+ default: r(() => [
648
+ u(Ee, {
649
+ start: "",
650
+ size: e.size
651
+ }, {
652
+ default: r(() => a[17] || (a[17] = [
653
+ fe("$filter")
654
+ ])),
655
+ _: 1
656
+ }, 8, ["size"]),
657
+ a[18] || (a[18] = fe("Apply "))
658
+ ]),
659
+ _: 1
660
+ }, 8, ["onClick", "size"])) : v("", !0)
661
+ ]),
662
+ _: 1
663
+ })
664
+ ]),
665
+ _: 1
666
+ }, 8, ["density", "selected"])
667
+ ]),
668
+ _: 1
669
+ }, 8, ["density"])) : v("", !0),
670
+ !de.value && l(Y)(l(t).externalParties.value) ? (o(), d(M, {
671
+ key: 3,
672
+ "close-on-content-click": !1,
673
+ density: e.density,
674
+ location: "bottom"
675
+ }, {
676
+ activator: r(({ props: c }) => [
677
+ u(ye, { "hide-on-leave": "" }, {
678
+ default: r(() => [
679
+ l(t).currentExternalParty.value != null ? (o(), p("div", bt, [
680
+ u(s, {
681
+ icon: "$close",
682
+ onClick: a[7] || (a[7] = (V) => l(t).selectExternalParty(void 0))
683
+ }),
684
+ x("span", null, "Sync: " + oe(l(Me)(l(t).currentExternalParty.value.party)), 1)
685
+ ])) : (o(), d(s, ne({
686
+ key: 1,
687
+ icon: "$cloud-sync",
688
+ size: e.size
689
+ }, c, {
690
+ title: "Open sync options",
691
+ variant: "text"
692
+ }), null, 16, ["size"]))
693
+ ]),
694
+ _: 2
695
+ }, 1024)
696
+ ]),
697
+ default: r(() => [
698
+ u(A, {
699
+ density: e.density,
700
+ "min-width": "150"
701
+ }, {
702
+ default: r(() => [
703
+ (o(!0), p(E, null, P(l(t).externalParties.value, (c, V) => (o(), d(h, {
704
+ onClick: (n) => l(t).selectExternalParty(c),
705
+ key: (c.party ?? "") + V,
706
+ title: l(Me)(c.party)
707
+ }, null, 8, ["onClick", "title"]))), 128))
708
+ ]),
709
+ _: 1
710
+ }, 8, ["density"])
711
+ ]),
712
+ _: 1
713
+ }, 8, ["density"])) : v("", !0)
714
+ ], !0)
715
+ ]),
716
+ content: r(({ bladeData: c, isMobile: V }) => [
717
+ m(e.$slots, "body", {
718
+ bladeData: c,
719
+ items: l(t).filteredItems.value,
720
+ allItems: l(t).asyncItems.value,
721
+ refresh: l(t).refresh,
722
+ searchString: l(t).searchString,
723
+ selectItem: J,
724
+ showSearch: l(t).showSearch,
725
+ size: e.size,
726
+ style: W(Q.value),
727
+ toggleSearch: l(t).toggleSearch
728
+ }, () => [
729
+ ve.value ? (o(), p("div", Ct, [
730
+ u(s, {
731
+ icon: l(t).showSearch.value ? "$close" : "$magnify",
732
+ size: e.size,
733
+ onClick: l(t).toggleSearch,
734
+ variant: "text"
735
+ }, null, 8, ["icon", "size", "onClick"]),
736
+ u(et, null, {
737
+ default: r(() => [
738
+ l(t).showSearch.value ? (o(), d(le, {
739
+ key: 0,
740
+ "onClick:appendInner": a[8] || (a[8] = () => l(t).refresh()),
741
+ onKeyup: a[9] || (a[9] = De(T(() => l(t).refresh(), ["stop"]), ["native", "enter"])),
742
+ "append-inner-icon": "$magnify",
743
+ autofocus: "",
744
+ density: e.density,
745
+ flat: "",
746
+ "hide-details": "",
747
+ placeholder: "Find",
748
+ ref_key: "inlineSearchEl",
749
+ ref: $e,
750
+ variant: "solo",
751
+ modelValue: l(t).searchString.value,
752
+ "onUpdate:modelValue": a[10] || (a[10] = (n) => l(t).searchString.value = n)
753
+ }, null, 8, ["density", "modelValue"])) : v("", !0)
754
+ ]),
755
+ _: 1
756
+ })
757
+ ])) : v("", !0),
758
+ m(e.$slots, "top", {
759
+ mode: l(t).mode.value,
760
+ newItem: G,
761
+ refresh: l(t).refresh,
762
+ searchString: l(t).searchString,
763
+ showSearch: l(t).showSearch,
764
+ toggleSearch: l(t).toggleSearch,
765
+ size: e.size,
766
+ allItems: l(t).asyncItems.value,
767
+ items: l(t).filteredItems.value
768
+ }, void 0, !0),
769
+ u(R, { "hide-on-leave": "" }, {
770
+ default: r(() => [
771
+ e.useStepHeader != !1 || y.value != 0 ? (o(), p("div", zt, [
772
+ m(e.$slots, "step-toolbar", {
773
+ back: () => ce(),
774
+ item: l(k),
775
+ meta: C.value,
776
+ navTo: b,
777
+ nextStep: B,
778
+ title: we.value
779
+ }, () => [
780
+ u(s, {
781
+ icon: "$chevron-left",
782
+ onClick: ce,
783
+ disabled: !Ge.value,
784
+ variant: "text"
785
+ }, null, 8, ["disabled"]),
786
+ u(s, {
787
+ icon: "$chevron-right",
788
+ onClick: B,
789
+ disabled: !re.value,
790
+ variant: "text"
791
+ }, null, 8, ["disabled"]),
792
+ u(s, {
793
+ icon: "$restart",
794
+ onClick: a[11] || (a[11] = (n) => b(0)),
795
+ disabled: !Ke.value,
796
+ variant: "text",
797
+ size: "small"
798
+ }, null, 8, ["disabled"]),
799
+ x("div", Bt, oe(we.value), 1),
800
+ m(e.$slots, "step-label", {
801
+ item: l(k),
802
+ meta: C.value,
803
+ mode: l(t).mode.value,
804
+ navTo: b,
805
+ navToName: K,
806
+ nextStep: B
807
+ }, void 0, !0),
808
+ u(ae),
809
+ Ce.value ? (o(), d(s, {
810
+ key: 0,
811
+ icon: "$debug-step-over",
812
+ onClick: _e,
813
+ variant: "text",
814
+ text: "Skip"
815
+ })) : v("", !0),
816
+ ue.value ? (o(), d(s, {
817
+ key: 1,
818
+ "prepend-icon": "$content-save",
819
+ class: "mr-2",
820
+ onClick: te,
821
+ text: "Save"
822
+ })) : v("", !0)
823
+ ], !0)
824
+ ])) : v("", !0)
825
+ ]),
826
+ _: 3
827
+ }),
828
+ u(nt, {
829
+ modelValue: y.value,
830
+ "onUpdate:modelValue": [
831
+ a[15] || (a[15] = (n) => y.value = n),
832
+ qe
833
+ ],
834
+ class: "ma-0 pa-0"
835
+ }, {
836
+ default: r(() => [
837
+ u(Te, null, {
838
+ default: r(() => [
839
+ m(e.$slots, "firstStep", {
840
+ allItems: l(t).asyncItems.value,
841
+ bladeData: c,
842
+ items: l(t).filteredItems.value,
843
+ meta: C.value,
844
+ mode: l(t).mode.value,
845
+ navTo: b,
846
+ navToName: K,
847
+ nextStep: B,
848
+ refresh: l(t).refresh,
849
+ searchString: l(t).searchString,
850
+ selectItem: J,
851
+ showSearch: l(t).showSearch,
852
+ size: e.size,
853
+ style: W(Q.value),
854
+ toggleSearch: l(t).toggleSearch,
855
+ ui: l(t)
856
+ }, () => [
857
+ l(Y)(l(t).asyncItems.value) ? e.showListOnly || V ? (o(), d(A, {
858
+ key: 1,
859
+ "active-class": e.activeClass,
860
+ class: Z(["pt-0", e.scrollY ? "overflow-y-auto" : ""]),
861
+ "bg-color": e.transparent ? "transparent" : void 0,
862
+ flat: "",
863
+ density: e.density,
864
+ lines: e.lines,
865
+ style: W(Q.value)
866
+ }, {
867
+ default: r(() => [
868
+ u(R, {
869
+ group: "",
870
+ "hide-on-leave": ""
871
+ }, {
872
+ default: r(() => [
873
+ (o(!0), p(E, null, P(l(t).filteredItems.value, (n, w) => (o(), p(E, {
874
+ key: `${n != null && (n == null ? void 0 : n.id) != null ? n.id : w}-table-list-item`
875
+ }, [
876
+ m(e.$slots, "listItem", {
877
+ bladeData: c,
878
+ deleteItem: () => l(t).deleteItem(n),
879
+ item: n,
880
+ index: w,
881
+ size: e.size,
882
+ select: () => J(n)
883
+ }, () => [
884
+ u(h, {
885
+ class: "mouse-item",
886
+ density: e.density,
887
+ ripple: e.ripple,
888
+ value: n,
889
+ onClick: (f) => J(n)
890
+ }, Ne({
891
+ title: r(() => [
892
+ m(e.$slots, "itemTitle", {
893
+ item: n,
894
+ index: w,
895
+ size: e.size
896
+ }, () => [
897
+ (o(!0), p(E, null, P(l(t).titleOptions.value, (f, L) => (o(), p("span", { key: L }, [
898
+ (o(!0), p(E, null, P(f.values, (H, O) => m(e.$slots, H.value, {
899
+ key: O,
900
+ item: n,
901
+ class: "mr-1"
902
+ }, () => [
903
+ u(me, {
904
+ option: H,
905
+ data: n
906
+ }, null, 8, ["option", "data"])
907
+ ], !0)), 128))
908
+ ]))), 128))
909
+ ], !0)
910
+ ]),
911
+ subtitle: r(() => [
912
+ m(e.$slots, "itemSubtitle", {
913
+ item: n,
914
+ index: w,
915
+ size: e.size
916
+ }, () => [
917
+ (o(!0), p(E, null, P(l(t).subtitleOptions.value, (f, L) => (o(), p("span", { key: L }, [
918
+ (o(!0), p(E, null, P(f.values, (H, O) => m(e.$slots, H.value, {
919
+ key: O,
920
+ item: n,
921
+ class: "mr-1"
922
+ }, () => [
923
+ u(me, {
924
+ option: H,
925
+ data: n
926
+ }, null, 8, ["option", "data"])
927
+ ], !0)), 128))
928
+ ]))), 128))
929
+ ], !0)
930
+ ]),
931
+ prepend: r(() => [
932
+ m(e.$slots, "itemPrepend", {
933
+ item: n,
934
+ index: w,
935
+ size: e.size
936
+ }, void 0, !0)
937
+ ]),
938
+ _: 2
939
+ }, [
940
+ e.hideActions ? void 0 : {
941
+ name: "append",
942
+ fn: r(() => [
943
+ u(Pe, {
944
+ "no-gutters": "",
945
+ class: Z(ze.value ? "actionButtons" : null)
946
+ }, {
947
+ default: r(() => [
948
+ m(e.$slots, "itemActions", {
949
+ item: n,
950
+ index: w,
951
+ items: l(t).asyncItems.value,
952
+ size: z.value,
953
+ density: e.density,
954
+ ui: l(t)
955
+ }, void 0, !0),
956
+ u(R, {
957
+ group: "",
958
+ "hide-on-leave": ""
959
+ }, {
960
+ default: r(() => [
961
+ !de.value && l(t).isIntegratable.value(n) ? (o(), p("div", wt, [
962
+ u(ye, { "hide-on-leave": "" }, {
963
+ default: r(() => {
964
+ var f, L, H, O;
965
+ return [
966
+ l(t).isIntegrated.value(n) ? (o(), p("div", At, [
967
+ u(s, {
968
+ class: "text-success",
969
+ icon: "$cloud-check",
970
+ size: z.value,
971
+ title: `Synced with ${(f = l(t).currentExternalParty.value) == null ? void 0 : f.party}`,
972
+ variant: "text"
973
+ }, null, 8, ["size", "title"]),
974
+ (L = l(t).currentExternalParty.value) != null && L.canUnlink ? (o(), d(s, {
975
+ key: 0,
976
+ onClick: T((he) => l(t).unlinkFromExternalParty(n), ["stop"]),
977
+ class: "text-error",
978
+ icon: "$cloud-remove",
979
+ size: z.value,
980
+ title: `Unlink from ${(H = l(t).currentExternalParty.value) == null ? void 0 : H.party}`,
981
+ variant: "text"
982
+ }, null, 8, ["onClick", "size", "title"])) : v("", !0)
983
+ ])) : (o(), d(s, {
984
+ onClick: T((he) => l(t).pushToExternalParty(n), ["stop"]),
985
+ icon: "$cloud-upload",
986
+ key: "a2",
987
+ size: z.value,
988
+ title: `Send to ${(O = l(t).currentExternalParty.value) == null ? void 0 : O.party}`,
989
+ variant: "text"
990
+ }, null, 8, ["onClick", "size", "title"]))
991
+ ];
992
+ }),
993
+ _: 2
994
+ }, 1024)
995
+ ])) : v("", !0),
996
+ n.errorMsg != null ? (o(), d(s, {
997
+ onClick: a[12] || (a[12] = T(() => {
998
+ }, ["stop"])),
999
+ class: "text-warning",
1000
+ icon: "$alert-circle",
1001
+ key: "1",
1002
+ size: z.value,
1003
+ title: n.errorMsg
1004
+ }, null, 8, ["size", "title"])) : v("", !0),
1005
+ e.canDelete && l(t).isDeletable.value(n) ? (o(), d(s, {
1006
+ onClick: T((f) => l(t).deleteItem(n), ["stop"]),
1007
+ class: "text-error",
1008
+ disabled: !l(q).canEdit(e.nav),
1009
+ icon: "$delete",
1010
+ key: "2",
1011
+ loading: n.loadingCount > 0,
1012
+ size: z.value,
1013
+ variant: "text"
1014
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0),
1015
+ e.canRestore && l(t).isRestorable.value(n) ? (o(), d(s, {
1016
+ onClick: T((f) => l(t).restoreItem(n), ["stop"]),
1017
+ disabled: !l(q).canEdit(e.nav),
1018
+ key: "3",
1019
+ icon: "$eraser-variant",
1020
+ loading: n.loadingCount > 0,
1021
+ size: z.value,
1022
+ variant: "text"
1023
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0)
1024
+ ]),
1025
+ _: 2
1026
+ }, 1024)
1027
+ ]),
1028
+ _: 2
1029
+ }, 1032, ["class"])
1030
+ ]),
1031
+ key: "0"
1032
+ }
1033
+ ]), 1032, ["density", "ripple", "value", "onClick"])
1034
+ ], !0),
1035
+ e.dividers ? (o(), d(tt, {
1036
+ key: "d" + w.toString()
1037
+ })) : v("", !0)
1038
+ ], 64))), 128))
1039
+ ]),
1040
+ _: 2
1041
+ }, 1024)
1042
+ ]),
1043
+ _: 2
1044
+ }, 1032, ["active-class", "class", "bg-color", "density", "lines", "style"])) : e.showTableOnly === !0 || !V ? (o(), d(lt, {
1045
+ key: 2,
1046
+ class: "text-body-2 overflow-y-auto",
1047
+ density: e.density,
1048
+ "fixed-header": e.fixedHeader,
1049
+ hover: "",
1050
+ style: W(Q.value)
1051
+ }, {
1052
+ default: r(() => [
1053
+ x("thead", null, [
1054
+ x("tr", null, [
1055
+ (o(!0), p(E, null, P(l(t).tableHeaders.value, (n) => (o(), p("th", {
1056
+ key: n.value,
1057
+ class: Z(`d-none d-${n.showSize ?? "sm"}-table-cell`)
1058
+ }, oe(n.title), 3))), 128)),
1059
+ e.hideActions ? v("", !0) : (o(), p("th", Et, " Actions "))
1060
+ ])
1061
+ ]),
1062
+ x("tbody", null, [
1063
+ u(R, {
1064
+ group: "",
1065
+ "hide-on-leave": ""
1066
+ }, {
1067
+ default: r(() => [
1068
+ (o(!0), p(E, null, P(l(t).filteredItems.value, (n, w) => (o(), p("tr", {
1069
+ key: `${n.id}${w}`,
1070
+ onClick: (f) => J(n)
1071
+ }, [
1072
+ (o(!0), p(E, null, P(l(t).tableHeaders.value, (f) => (o(), p("td", {
1073
+ key: "1" + f.value,
1074
+ class: Z(`d-none d-${f.showSize ?? "sm"}-table-cell`)
1075
+ }, [
1076
+ m(e.$slots, f.value, {
1077
+ item: n,
1078
+ options: f
1079
+ }, () => [
1080
+ u(me, {
1081
+ option: f,
1082
+ data: n
1083
+ }, null, 8, ["option", "data"])
1084
+ ], !0)
1085
+ ], 2))), 128)),
1086
+ e.hideActions ? v("", !0) : (o(), p("td", {
1087
+ key: "itemActions" + n.id,
1088
+ class: "text-right"
1089
+ }, [
1090
+ u(Ie, { "hide-on-leave": "" }, {
1091
+ default: r(() => [
1092
+ u(Pe, {
1093
+ "no-gutters": "",
1094
+ class: Z([ze.value ? "actionButtons" : null, "flex-nowrap"])
1095
+ }, {
1096
+ default: r(() => [
1097
+ u(ae),
1098
+ m(e.$slots, "itemActions", {
1099
+ item: n,
1100
+ allItems: l(t).asyncItems.value,
1101
+ items: l(t).filteredItems.value,
1102
+ size: z.value,
1103
+ density: e.density
1104
+ }, void 0, !0),
1105
+ !de.value && l(t).isIntegratable.value(n) ? (o(), p("div", Pt, [
1106
+ u(ye, { "hide-on-leave": "" }, {
1107
+ default: r(() => {
1108
+ var f, L, H, O;
1109
+ return [
1110
+ l(t).isIntegrated.value(n) ? (o(), p("div", Tt, [
1111
+ u(s, {
1112
+ class: "text-success",
1113
+ icon: "$cloud-check",
1114
+ size: z.value,
1115
+ title: `Synced with ${(f = l(t).currentExternalParty.value) == null ? void 0 : f.party}`,
1116
+ variant: "text"
1117
+ }, null, 8, ["size", "title"]),
1118
+ (L = l(t).currentExternalParty.value) != null && L.canUnlink ? (o(), d(s, {
1119
+ key: 0,
1120
+ onClick: T((he) => l(t).unlinkFromExternalParty(n), ["stop"]),
1121
+ class: "text-error",
1122
+ icon: "$cloud-remove",
1123
+ size: z.value,
1124
+ title: `Unlink from ${(H = l(t).currentExternalParty.value) == null ? void 0 : H.party}`,
1125
+ variant: "text"
1126
+ }, null, 8, ["onClick", "size", "title"])) : v("", !0)
1127
+ ])) : (o(), d(s, {
1128
+ onClick: T((he) => l(t).pushToExternalParty(n), ["stop"]),
1129
+ icon: "$cloud-upload",
1130
+ key: "a2",
1131
+ size: z.value,
1132
+ title: `Send to ${(O = l(t).currentExternalParty.value) == null ? void 0 : O.party}`,
1133
+ variant: "text"
1134
+ }, null, 8, ["onClick", "size", "title"]))
1135
+ ];
1136
+ }),
1137
+ _: 2
1138
+ }, 1024)
1139
+ ])) : v("", !0),
1140
+ n.errorMsg != null ? (o(), d(s, {
1141
+ onClick: a[13] || (a[13] = T(() => {
1142
+ }, ["stop"])),
1143
+ class: "text-warning",
1144
+ icon: "$alert-circle",
1145
+ key: "1",
1146
+ size: z.value,
1147
+ title: n.errorMsg
1148
+ }, null, 8, ["size", "title"])) : v("", !0),
1149
+ e.canDelete && l(t).isDeletable.value(n) ? (o(), d(s, {
1150
+ onClick: T((f) => l(t).deleteItem(n), ["stop"]),
1151
+ class: "text-error",
1152
+ disabled: !l(q).canEdit(e.nav),
1153
+ icon: "$delete",
1154
+ key: "2",
1155
+ size: z.value,
1156
+ variant: "text"
1157
+ }, null, 8, ["onClick", "disabled", "size"])) : v("", !0),
1158
+ e.canRestore && l(t).isRestorable.value(n) ? (o(), d(s, {
1159
+ onClick: T((f) => l(t).restoreItem(n), ["stop"]),
1160
+ disabled: !l(q).canEdit(e.nav),
1161
+ key: "3",
1162
+ icon: "$eraser-variant",
1163
+ size: z.value,
1164
+ variant: "text"
1165
+ }, null, 8, ["onClick", "disabled", "size"])) : v("", !0)
1166
+ ]),
1167
+ _: 2
1168
+ }, 1032, ["class"])
1169
+ ]),
1170
+ _: 2
1171
+ }, 1024)
1172
+ ]))
1173
+ ], 8, It))), 128))
1174
+ ]),
1175
+ _: 3
1176
+ })
1177
+ ])
1178
+ ]),
1179
+ _: 3
1180
+ }, 8, ["density", "fixed-header", "style"])) : v("", !0) : (o(), p("div", {
1181
+ key: 0,
1182
+ class: Z(e.scrollY ? "overflow-y-auto" : ""),
1183
+ style: W(Q.value)
1184
+ }, [
1185
+ m(e.$slots, "notFound", {
1186
+ bladeData: c,
1187
+ create: G,
1188
+ navTo: b,
1189
+ nextStep: B,
1190
+ refresh: l(t).refresh,
1191
+ size: e.size
1192
+ }, void 0, !0)
1193
+ ], 6))
1194
+ ], !0)
1195
+ ]),
1196
+ _: 2
1197
+ }, 1024),
1198
+ (o(!0), p(E, null, P(e.steps, (n, w) => (o(), d(Te, {
1199
+ key: w,
1200
+ class: "ma-0 pa-0"
1201
+ }, {
1202
+ default: r(() => [
1203
+ m(e.$slots, `${n.name}-top`, {
1204
+ isChanged: l(N),
1205
+ isShowing: w == y.value - 1,
1206
+ item: l(k),
1207
+ meta: C.value,
1208
+ mode: l(t).mode.value,
1209
+ navTo: b,
1210
+ navToName: K,
1211
+ nextStep: B,
1212
+ ui: l(t)
1213
+ }, void 0, !0),
1214
+ u(at, {
1215
+ style: W(Q.value),
1216
+ class: "overflow-y-auto"
1217
+ }, Ne({
1218
+ default: r(() => [
1219
+ m(e.$slots, `${n.name}`, {
1220
+ meta: C.value,
1221
+ mode: l(t).mode.value,
1222
+ isChanged: l(N),
1223
+ isShowing: w == y.value - 1,
1224
+ item: l(k),
1225
+ navTo: b,
1226
+ navToName: K,
1227
+ nextStep: B,
1228
+ save: te,
1229
+ style: W(Q.value),
1230
+ ui: l(t)
1231
+ }, void 0, !0)
1232
+ ]),
1233
+ _: 2
1234
+ }, [
1235
+ n.hideActions !== !0 ? {
1236
+ name: "actions",
1237
+ fn: r(() => [
1238
+ m(e.$slots, `${n.name}-actions`, {
1239
+ meta: C.value,
1240
+ mode: l(t).mode.value,
1241
+ isChanged: l(N),
1242
+ isShowing: w == y.value - 1,
1243
+ item: l(k),
1244
+ canMoveNext: re.value,
1245
+ canSave: ue.value,
1246
+ canSkip: Ce.value,
1247
+ navTo: b,
1248
+ nextStep: B,
1249
+ save: te,
1250
+ ui: l(t)
1251
+ }, () => [
1252
+ u(ae),
1253
+ ue.value ? (o(), d(s, {
1254
+ key: 0,
1255
+ "prepend-icon": "$content-save",
1256
+ onClick: te,
1257
+ text: "Save"
1258
+ })) : v("", !0),
1259
+ Ye.value ? (o(), d(s, {
1260
+ key: 1,
1261
+ "prepend-icon": "$check",
1262
+ onClick: a[14] || (a[14] = (f) => b(0)),
1263
+ text: "Done"
1264
+ })) : v("", !0),
1265
+ re.value ? (o(), d(s, {
1266
+ key: 2,
1267
+ onClick: B,
1268
+ text: "Next"
1269
+ })) : v("", !0)
1270
+ ], !0)
1271
+ ]),
1272
+ key: "0"
1273
+ } : void 0
1274
+ ]), 1032, ["style"])
1275
+ ]),
1276
+ _: 2
1277
+ }, 1024))), 128))
1278
+ ]),
1279
+ _: 2
1280
+ }, 1032, ["modelValue"]),
1281
+ m(e.$slots, "bottom", {
1282
+ mode: l(t).mode.value,
1283
+ newItem: G,
1284
+ size: e.size,
1285
+ allItems: l(t).asyncItems.value,
1286
+ items: l(t).filteredItems.value,
1287
+ ui: l(t)
1288
+ }, void 0, !0)
1289
+ ], !0),
1290
+ y.value == 0 && !l(ie)(e.paginate) ? (o(), p("div", Dt, [
1291
+ u(ot, {
1292
+ modelValue: l(t).currentPage.value,
1293
+ "onUpdate:modelValue": a[16] || (a[16] = (n) => l(t).currentPage.value = n),
1294
+ length: l(t).totalPages.value
1295
+ }, null, 8, ["modelValue", "length"])
1296
+ ])) : v("", !0)
1297
+ ]),
1298
+ _: 3
1299
+ }, 8, ["bladeName", "bladeStartShowing", "bordered", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "showOnlyTitleLeft", "size", "transparent", "variant"]);
1300
+ };
1301
+ }
1302
+ });
1303
+ export {
1304
+ Yt as default
1305
+ };