bt-core-app 2.1.37 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +13 -1
  478. package/dist/bt-core-app.js +0 -81355
@@ -0,0 +1,123 @@
1
+ import { BTCreateMenu } from './menu.ts';
2
+ import { RouteLocation, RouteLocationNormalized, Router } from 'vue-router';
3
+ import { GetStorageKeyOptions, StorageMode, StoreMode } from './stores.ts';
4
+ import { AuthItem } from './auth.ts';
5
+ import { Ref } from 'vue';
6
+
7
+ export interface ExternalParty {
8
+ additionalUrl: string;
9
+ canUnlink: boolean;
10
+ externalTextProp?: string;
11
+ localIDProp: string;
12
+ party: string;
13
+ }
14
+ export type PermissionGroup = string[];
15
+ export interface NavigationItem extends AuthItem {
16
+ /**aliases are other names that could use this navigation item's set of permissions, etc.*/
17
+ aliases?: string[];
18
+ /**potentially the nav that leads to the archive */
19
+ archiveName?: string;
20
+ /**the name of the background img to show when the route opens this nav */
21
+ background?: string;
22
+ /**how long until locally cached data is refreshed */
23
+ cacheExpiryHours?: number;
24
+ /**any children of this nav item */
25
+ children?: NavigationItem[];
26
+ /**only applies if connecting to store */
27
+ deleteStrat?: 'soft' | undefined;
28
+ /**the name that will be displayed in the navigation menu */
29
+ displayName?: string;
30
+ /**the configuration for external parties */
31
+ externals?: ExternalParty[];
32
+ /**custom override for getting the key to store */
33
+ getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
34
+ /**will hide app bar if set to true when the route opens this nav */
35
+ hideAppBar?: boolean;
36
+ /**hide bottom navigation even when xs */
37
+ hideBottomNavigation?: boolean;
38
+ /**will hide the nav sidebar if set to true when the route opens this nav */
39
+ hideNavigation?: boolean;
40
+ /**will open a dialog box to confirm navigating away from this route */
41
+ hesitate?: boolean;
42
+ /**how many minutes until WLU Store clears all data. Undefined means it won't happen */
43
+ minutesToClear?: number;
44
+ /**the mdi icon that goes with this nav item. Will show in places like the nav menu */
45
+ icon?: string;
46
+ /**default to false. True will mean that even is account is suspended, this will still allow navigation */
47
+ ignoreSuspension?: boolean;
48
+ /**default to true. When false will hide from nav menu */
49
+ isInNavMenu?: boolean;
50
+ /**default item text in lists, selects, etc. */
51
+ itemText?: string;
52
+ /**the microservice the leads to the default url to obtain data from. Defaults to 'default'. */
53
+ microservice?: string;
54
+ /**the name of this nav item. */
55
+ name?: string;
56
+ /**the url path on top of the base microservice url */
57
+ path?: string;
58
+ /**permissions that are required for this navItem. All these permissions must be met. Must be either all strings or all string arrays */
59
+ permissions?: PermissionGroup | PermissionGroup[];
60
+ /**for PLU stores only - defining what prop to cal window */
61
+ pluWindowProp?: string;
62
+ /**for PLU stores only - defining how many days to bunch requests in */
63
+ pluDays?: number;
64
+ /**whether to search for list locally or server first */
65
+ priority?: 'server' | 'local';
66
+ /**default to true. When false will allow universal access regardless of permission */
67
+ requiresAuth?: boolean;
68
+ /**the name of the route to access individual items */
69
+ singleName?: string;
70
+ /**what kind of store is needed for this api item */
71
+ storeMode?: StoreMode;
72
+ /**what kind of storage mode is needed for this api item */
73
+ storageMode?: StorageMode;
74
+ /**name of local store */
75
+ storeName?: string;
76
+ /**this nav item is restricted to these subscriptions. So the user needs to have at least one of these subscription codes. */
77
+ subscriptions?: string[];
78
+ /**this nav item is preferred in this subscription codes. */
79
+ subFilters?: string[] | 'All';
80
+ /**props to ignore (ie. 'customer') when updating */
81
+ updateIgnoreProps?: string[];
82
+ }
83
+ export interface BTNavigation {
84
+ showAppBar: Ref<boolean>;
85
+ showAppNavigation: Ref<boolean>;
86
+ showBottomNavigation: Ref<boolean>;
87
+ backgroundName: Ref<string | undefined>;
88
+ backgroundURL: Ref<string | undefined>;
89
+ hesitate: Ref<boolean>;
90
+ navHistory: Ref<RouteLocation[]>;
91
+ navigationItems: NavigationItem[];
92
+ findArchiveName: (navName?: string | NavigationItem) => string | undefined;
93
+ findCacheHours: (navName?: string | NavigationItem) => number;
94
+ findDisplay: (navName?: string | NavigationItem) => string | undefined;
95
+ findIcon: (navName?: string | NavigationItem) => string | undefined;
96
+ findItem: (navName?: string | NavigationItem) => NavigationItem | null;
97
+ findItemText: (navName?: string | NavigationItem) => string | undefined;
98
+ findStoreName: (navName?: string | NavigationItem) => string | undefined;
99
+ findPath: (navName?: string | NavigationItem) => string | undefined;
100
+ findSingleDisplay: (navName?: string | NavigationItem) => string | undefined;
101
+ updateBackgroundID: (id?: string) => void;
102
+ updateNavigationChange: (to: RouteLocationNormalized, from?: RouteLocationNormalized, isReplacement?: boolean) => void;
103
+ }
104
+ export interface UseNavigationOptions {
105
+ defaultBackgroundName?: string;
106
+ defaultCacheExpiryHours?: number;
107
+ /**for overriding getting the display name */
108
+ getDisplayName?: (navItem: NavigationItem) => string | undefined;
109
+ /**returns potential a default company id for background image */
110
+ getDefaultBackgroundID?: () => string | undefined;
111
+ /**formulate the background url - whether external or internal */
112
+ getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
113
+ menu?: BTCreateMenu;
114
+ navItems?: NavigationItem[];
115
+ router?: Router;
116
+ updateNavItems?: boolean;
117
+ }
118
+ export declare function useNavigation(): BTNavigation;
119
+ export declare function useNavBack(): {
120
+ canNavBack: import('vue').ComputedRef<boolean>;
121
+ navBack: (refresh?: boolean, to?: any) => void;
122
+ };
123
+ export declare function createNavigation(options: UseNavigationOptions): BTNavigation;
@@ -0,0 +1,157 @@
1
+ import { useDataUrl as z } from "./urls.mjs";
2
+ import { capitalizeWords as T, deepSelect as W, appendUrl as j, singularize as F, checkImage as b } from "./helpers.mjs";
3
+ import { computed as J, ref as c } from "vue";
4
+ import { useRouter as K } from "vue-router";
5
+ let y;
6
+ function M() {
7
+ return y;
8
+ }
9
+ function X() {
10
+ const u = K(), t = M();
11
+ function d(g, f) {
12
+ if (t.navHistory.value.length > 1) {
13
+ t.navHistory.value.pop();
14
+ const i = t.navHistory.value[t.navHistory.value.length - 1];
15
+ t.navHistory.value.pop(), i != null && (g == !0 && (i.query ?? (i.query = {}), i.query.refresh = "true"), u.push(i));
16
+ } else
17
+ f != null ? u.push(f) : u.back();
18
+ }
19
+ return {
20
+ canNavBack: J(() => t.navHistory.value.length > 1),
21
+ navBack: d
22
+ };
23
+ }
24
+ function Y(u) {
25
+ var D;
26
+ const t = u.defaultCacheExpiryHours ?? 7, d = c([]), g = c(!0), f = c(!1), i = c(!1), k = c(), s = c(), v = c(), R = c(!1), m = [], p = [];
27
+ u.getDisplayName ?? (u.getDisplayName = (e) => {
28
+ if (e.displayName != null)
29
+ return e.displayName;
30
+ if (e.name != null)
31
+ return T(e.name.replaceAll("-", " "));
32
+ }), u.getDefaultBackgroundID ?? (u.getDefaultBackgroundID = () => {
33
+ }), u.getBackgroundURL ?? (u.getBackgroundURL = () => {
34
+ });
35
+ const h = (u.navItems ?? []).map((e) => ({
36
+ displayName: e.displayName ?? u.getDisplayName(e),
37
+ ...e
38
+ }));
39
+ let B = (D = u.router) == null ? void 0 : D.getRoutes();
40
+ B != null && B.forEach((e) => {
41
+ e.meta.nav == null && e.meta.requiresAuth !== !1 && e.meta.permissions != null && !h.some((a) => a.name == e.name) && h.push({
42
+ displayName: e.name,
43
+ name: e.name,
44
+ permissions: e.meta.permissions
45
+ });
46
+ });
47
+ function U(e) {
48
+ var a;
49
+ return (a = r(e)) == null ? void 0 : a.archiveName;
50
+ }
51
+ function A(e) {
52
+ var a;
53
+ return ((a = r(e)) == null ? void 0 : a.cacheExpiryHours) ?? t;
54
+ }
55
+ function L(e) {
56
+ var a;
57
+ return (a = r(e)) == null ? void 0 : a.displayName;
58
+ }
59
+ function w(e) {
60
+ var a;
61
+ return (a = r(e)) == null ? void 0 : a.icon;
62
+ }
63
+ function r(e) {
64
+ return e == null ? null : typeof e != "string" ? e : W(h, (n) => n.children).find((n) => {
65
+ var N;
66
+ return n.name == e || n.singleName == e || ((N = n.aliases) == null ? void 0 : N.some((l) => l == e));
67
+ }) ?? null;
68
+ }
69
+ function q(e) {
70
+ var a;
71
+ return (a = r(e)) == null ? void 0 : a.itemText;
72
+ }
73
+ function x(e) {
74
+ const a = r(e);
75
+ if (a == null)
76
+ return;
77
+ let n = z(a.microservice ?? "default") ?? "";
78
+ return a.path != null && (n = j(n, a.path)), n != null && n.endsWith("/") && (n = n.slice(0, n.length - 1)), n;
79
+ }
80
+ function E(e) {
81
+ const a = r(e);
82
+ if ((a == null ? void 0 : a.singleName) != null)
83
+ return a.singleName;
84
+ const n = a == null ? void 0 : a.displayName;
85
+ if (n != null)
86
+ return F(n);
87
+ }
88
+ function C(e) {
89
+ const a = r(e);
90
+ return (a == null ? void 0 : a.storeName) ?? (a == null ? void 0 : a.name) ?? (a == null ? void 0 : a.singleName);
91
+ }
92
+ function o() {
93
+ let e = s.value ?? u.getDefaultBackgroundID();
94
+ e != null && m.some((n) => n == e) && (e = void 0);
95
+ let a = u.getBackgroundURL(e, v.value);
96
+ e != null && a != null && !p.some((n) => n == e) && b(
97
+ a,
98
+ () => {
99
+ p.push(e), o();
100
+ },
101
+ () => {
102
+ m.push(e), o();
103
+ }
104
+ ), s.value = e, k.value = a;
105
+ }
106
+ function G(e) {
107
+ if (e == null || p.some((a) => a == e))
108
+ s.value = e, o();
109
+ else if (m.some((a) => a == e))
110
+ s.value = void 0, o();
111
+ else {
112
+ const a = u.getBackgroundURL != null ? u.getBackgroundURL(e, void 0) : void 0;
113
+ a != null && b(
114
+ a,
115
+ () => {
116
+ p.push(e), s.value = e, o();
117
+ },
118
+ () => {
119
+ m.push(e), s.value = void 0, o();
120
+ }
121
+ );
122
+ }
123
+ }
124
+ function S(e, a, n) {
125
+ (e.name == (a == null ? void 0 : a.name) && ((a == null ? void 0 : a.params.id) == "new" || (a == null ? void 0 : a.query.id) == "new") || n == !0) && d.value.pop(), e.params.navIgnore !== "true" && d.value.push(e);
126
+ const N = e.meta.nav ?? e.name, l = r(N);
127
+ s.value = void 0;
128
+ var H = e.meta.background ?? (l == null ? void 0 : l.background) ?? u.defaultBackgroundName;
129
+ H != v.value && (v.value = H, s.value == null && o()), f.value = e.meta.hideNavigation !== !0 && (l == null ? void 0 : l.hideNavigation) !== !0, i.value = e.meta.hideBottomNavigation !== !0 && (l == null ? void 0 : l.hideBottomNavigation) !== !0, g.value = e.meta.hideAppBar !== !0 && (l == null ? void 0 : l.hideAppBar) !== !0, u.menu != null && e.meta.menuGroup != null && u.updateNavItems && (u.menu.currentGroup.value = e.meta.menuGroup);
130
+ }
131
+ return y = {
132
+ showAppBar: g,
133
+ showAppNavigation: f,
134
+ showBottomNavigation: i,
135
+ backgroundName: v,
136
+ backgroundURL: k,
137
+ hesitate: R,
138
+ navigationItems: h,
139
+ findArchiveName: U,
140
+ findCacheHours: A,
141
+ findDisplay: L,
142
+ findIcon: w,
143
+ findItem: r,
144
+ findItemText: q,
145
+ findStoreName: C,
146
+ findPath: x,
147
+ findSingleDisplay: E,
148
+ navHistory: d,
149
+ updateBackgroundID: G,
150
+ updateNavigationChange: S
151
+ }, y;
152
+ }
153
+ export {
154
+ Y as createNavigation,
155
+ X as useNavBack,
156
+ M as useNavigation
157
+ };
@@ -0,0 +1,3 @@
1
+ export declare function useNested(): {
2
+ getValue: (item: any, path?: string, textFilter?: string) => any;
3
+ };
@@ -0,0 +1,20 @@
1
+ import { nestedValue as t } from "./helpers.mjs";
2
+ import { useFilters as i } from "./filters.mjs";
3
+ function d() {
4
+ const { findFilter: l } = i();
5
+ function o(u, e, n) {
6
+ let r = u;
7
+ if (e != null && (r = t(u, e)), n != null) {
8
+ const f = l(n);
9
+ if (f != null)
10
+ return f(n);
11
+ }
12
+ return r;
13
+ }
14
+ return {
15
+ getValue: o
16
+ };
17
+ }
18
+ export {
19
+ d as useNested
20
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface BTPresets {
2
+ usePresets(preset?: string): any;
3
+ }
4
+ export interface CreatePresetsOptions {
5
+ presets?: any;
6
+ }
7
+ export declare function usePresets(preset?: string): any;
8
+ export declare function createPresets(options: CreatePresetsOptions): BTPresets;
@@ -0,0 +1,16 @@
1
+ let e;
2
+ function P(t) {
3
+ return e != null ? e.usePresets(t) : {};
4
+ }
5
+ function c(t) {
6
+ function r(s) {
7
+ return s ? (t.presets ?? {})[s] ?? {} : {};
8
+ }
9
+ return e = {
10
+ usePresets: r
11
+ }, e;
12
+ }
13
+ export {
14
+ c as createPresets,
15
+ P as usePresets
16
+ };
@@ -0,0 +1,15 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export interface SWEvent extends Event {
4
+ detail: any;
5
+ }
6
+ export interface BTPWA {
7
+ canInstallApp: Ref<boolean>;
8
+ canUpdateApp: Ref<boolean>;
9
+ installApp: () => void;
10
+ isInstalled: () => boolean;
11
+ showIOSPrompt: Ref<boolean>;
12
+ updateApp: () => void;
13
+ }
14
+ export declare function usePWA(): BTPWA;
15
+ export declare function createPWA(): BTPWA;
@@ -0,0 +1,26 @@
1
+ import { CreateUrlOptions } from './urls.ts';
2
+ import { Ref } from 'vue';
3
+
4
+ export interface SWEvent extends Event {
5
+ detail: any;
6
+ }
7
+ export interface BTPWA {
8
+ canInstallApp: Ref<boolean>;
9
+ canUpdateApp: Ref<boolean>;
10
+ installApp: () => void;
11
+ isInstalled: () => boolean;
12
+ showIOSPrompt: Ref<boolean>;
13
+ updateApp: () => void;
14
+ }
15
+ export interface CreatePWAOptions {
16
+ appleAppUrl?: string;
17
+ microsoftAppUrl?: string;
18
+ playstoreAppUrl?: string;
19
+ registerServiceWorker?: boolean;
20
+ usePWA?: boolean;
21
+ }
22
+ export interface UsePWAOptions extends CreatePWAOptions {
23
+ urls: CreateUrlOptions;
24
+ }
25
+ export declare function usePWA(): BTPWA;
26
+ export declare function createPWA(options: UsePWAOptions): BTPWA;
@@ -0,0 +1,80 @@
1
+ import { tryOnMounted as L } from "@vueuse/core";
2
+ import { ref as i } from "vue";
3
+ import { useCurrentEnv as S } from "./urls.mjs";
4
+ let g, w, m, h = !1;
5
+ const l = i(!1), s = i(!1), u = i(), a = i(), A = i(!1);
6
+ let d;
7
+ function b() {
8
+ return d;
9
+ }
10
+ function O(r) {
11
+ function k() {
12
+ const e = n.includes("Safari") && !n.includes("Chrome") && !n.includes("Edg"), t = n.includes("Macintosh") || n.includes("Windows");
13
+ return e && t;
14
+ }
15
+ function c() {
16
+ return P(/iPhone|iPad|iPod/) || k();
17
+ }
18
+ const n = window.navigator.userAgent;
19
+ function P(e) {
20
+ return !!n.match(e);
21
+ }
22
+ function E(e) {
23
+ a.value = e.detail, s.value = !0;
24
+ }
25
+ function U() {
26
+ h || (h = !0, window.location.reload());
27
+ }
28
+ function W() {
29
+ var e;
30
+ u.value != null ? ((e = u.value) == null || e.prompt(), l.value = !1) : c() && (r.appleAppUrl != null ? window.open(r.appleAppUrl, "_blank") : A.value = !0);
31
+ }
32
+ function f() {
33
+ return !!("standalone" in window.navigator && window.navigator.standalone) || !!window.matchMedia("(display-mode: standalone)").matches;
34
+ }
35
+ function y(e) {
36
+ e.preventDefault(), l.value = !0, u.value = e;
37
+ }
38
+ function I() {
39
+ s.value = !1, !(!a.value || !a.value.waiting) && a.value.waiting.postMessage({ type: "SKIP_WAITING" });
40
+ }
41
+ L(() => {
42
+ g == null && (g = document.addEventListener("swUpdated", E, { once: !0 })), w == null && (w = navigator.serviceWorker.addEventListener("controllerchange", U)), m == null && (m = window.addEventListener("beforeinstallprompt", y)), c() && !f() && (l.value = !0);
43
+ });
44
+ function p(e) {
45
+ document.dispatchEvent(new CustomEvent("swUpdated", { detail: e }));
46
+ }
47
+ let o, v = S(r.urls);
48
+ return typeof window < "u" && (typeof Promise < "u" ? o = new Promise((e) => window.addEventListener("load", e)) : o = { then: (e) => window.addEventListener("load", e) }), r.registerServiceWorker == !0 && "serviceWorker" in navigator && (o == null || o.then(() => {
49
+ console.log("registering"), navigator.serviceWorker.register(
50
+ v != "development" ? "/service-worker.js" : "/dev-sw.js?dev-sw",
51
+ { type: v != "development" ? "classic" : "module" }
52
+ ).then((e) => {
53
+ if (console.log("registering done"), e.waiting) {
54
+ console.log("waiting"), p(e);
55
+ return;
56
+ }
57
+ e.onupdatefound = () => {
58
+ if (console.log("update found"), console.log(e), e.installing != null) {
59
+ const t = e.installing;
60
+ t.onstatechange = () => {
61
+ (t == null ? void 0 : t.state) === "installed" && navigator.serviceWorker.controller && p(e);
62
+ };
63
+ }
64
+ };
65
+ }).catch((e) => {
66
+ console.log("service worker registration error"), console.log(e);
67
+ });
68
+ })), d = {
69
+ canInstallApp: l,
70
+ canUpdateApp: s,
71
+ installApp: W,
72
+ isInstalled: f,
73
+ showIOSPrompt: A,
74
+ updateApp: I
75
+ }, d;
76
+ }
77
+ export {
78
+ O as createPWA,
79
+ b as usePWA
80
+ };
@@ -0,0 +1,34 @@
1
+ import { Position, MaybeRefOrGetter } from '@vueuse/core';
2
+ import { ComponentPublicInstance, Ref } from 'vue';
3
+
4
+ export type ResizeHandle = 't' | 'r' | 'b' | 'l' | 'tr' | 'br' | 'bl' | 'tl';
5
+ export interface PointerOrTouchEvent extends PointerEvent, TouchEvent {
6
+ }
7
+ export interface UseResizeOptions {
8
+ preventDefault?: MaybeRefOrGetter<boolean>;
9
+ stopPropagation?: MaybeRefOrGetter<boolean>;
10
+ handles?: ResizeHandle[];
11
+ /**
12
+ * Callback when the dragging starts. Return `false` to prevent dragging.
13
+ */
14
+ onStart?: (position: Position, event: PointerEvent) => void | false;
15
+ /**
16
+ * Callback during dragging.
17
+ */
18
+ onMove?: (position: Position, event: PointerEvent) => void;
19
+ /**
20
+ * Callback when dragging end.
21
+ */
22
+ onEnd?: (position: Position, event: PointerEvent) => void;
23
+ minWidth?: number;
24
+ maxWidth?: number;
25
+ minHeight?: number;
26
+ maxHeight?: number;
27
+ handleWidth?: number;
28
+ handleZIndex?: number;
29
+ }
30
+ export declare function useResizable(target: MaybeRefOrGetter<ComponentPublicInstance | null>, options?: UseResizeOptions): {
31
+ resizingIsOn: Ref<boolean, boolean>;
32
+ turnResizingOn: (handles?: ResizeHandle[]) => void;
33
+ turnResizingOff: () => void;
34
+ };
@@ -0,0 +1,135 @@
1
+ import { toValue as s, useEventListener as r } from "@vueuse/core";
2
+ import { ref as a } from "vue";
3
+ import { copyDeep as B } from "./helpers.mjs";
4
+ const k = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
5
+ function Q(c, n = {}) {
6
+ let P = n.handleWidth ?? 12, $ = n.handleZIndex ?? 100, H = n.minWidth ?? 0, I = n.maxWidth ?? Number.MAX_SAFE_INTEGER, S = n.minHeight ?? 0, M = n.maxHeight ?? Number.MAX_SAFE_INTEGER, O = n.preventDefault ?? !1, X = n.stopPropagation ?? !1, f, w = [];
7
+ const T = a(!1), z = a(!1), C = a(!1), W = a(!1), D = a(!1);
8
+ let x = [], d = [];
9
+ const y = a(!1), g = a({ x: 0, y: 0 });
10
+ let p = {
11
+ position: "absolute"
12
+ }, o = {};
13
+ function R(t) {
14
+ s(O) && t.preventDefault(), s(X) && t.stopPropagation();
15
+ }
16
+ function _(t, e) {
17
+ w = e.map(F), w.forEach((i) => t.$el.appendChild(i)), z.value = e.some((i) => i.includes("l")), C.value = e.some((i) => i.includes("r")), W.value = e.some((i) => i.includes("t")), D.value = e.some((i) => i.includes("b"));
18
+ }
19
+ function Z(t) {
20
+ w.forEach((e) => t.$el.removeChild(e));
21
+ }
22
+ function F(t) {
23
+ const e = P + "px", i = -P / 2 + "px", b = $ + 1, l = document.createElement("div");
24
+ return l.dataset.handle = t, l.style.position = "absolute", l.style.touchAction = "none", l.style.userSelect = "none", l.style.zIndex = (t.length === 1 ? $ : b).toString(), l.style.cursor = N(t), t.includes("t") && (l.style.top = i, l.style.height = e, t === "t" && (l.style.left = "0", l.style.width = "100%")), t.includes("b") && (l.style.bottom = i, l.style.height = e, t === "b" && (l.style.left = "0", l.style.width = "100%")), t.includes("r") && (l.style.right = i, l.style.width = e, t === "r" && (l.style.top = "0", l.style.height = "100%")), t.includes("l") && (l.style.left = i, l.style.width = e, t === "l" && (l.style.top = "0", l.style.height = "100%")), l;
25
+ }
26
+ function A(t) {
27
+ var m;
28
+ if (!w.some((u) => u == t.target))
29
+ return;
30
+ const e = s(c);
31
+ if (!e)
32
+ return;
33
+ const i = e.$el, l = t.type === "touchstart" && t.touches.length > 0 ? t.touches[0] : t;
34
+ if (g.value.x = l.clientX, g.value.y = l.clientY, p = {
35
+ left: z.value ? i.offsetLeft : void 0,
36
+ top: W.value ? i.offsetTop : void 0,
37
+ height: D.value ? parseInt(window.getComputedStyle(i).getPropertyValue("height")) : void 0,
38
+ width: C.value ? parseInt(window.getComputedStyle(i).getPropertyValue("width")) : void 0
39
+ }, o = B(p), ((m = n.onStart) == null ? void 0 : m.call(n, g.value, t)) === !1)
40
+ return;
41
+ let v = t.target;
42
+ document.documentElement.style.cursor = N(v.dataset.handle), f = v.dataset.handle, d.push(r("mousemove", L)), d.push(r("mouseup", V)), d.push(r("touchmove", L)), d.push(r("touchend", V)), R(t);
43
+ }
44
+ function L(t) {
45
+ const e = s(c);
46
+ if (!e)
47
+ return;
48
+ const i = e.$el, l = t.type === "touchmove" && t.touches.length > 0 ? t.touches[0] : t;
49
+ let v = l.clientX - g.value.x, m = l.clientY - g.value.y;
50
+ const u = s(p);
51
+ if (f.includes("t")) {
52
+ const h = Math.min(M, Math.max(S, (u.height ?? 0) - m));
53
+ o.height = h, o.top = (u.top ?? 0) + m;
54
+ }
55
+ if (f.includes("b")) {
56
+ const h = Math.min(M, Math.max(S, (u.height ?? 0) + m));
57
+ o.height = h;
58
+ }
59
+ if (f.includes("l")) {
60
+ const h = Math.min(I, Math.max(H, (u.width ?? 0) - v));
61
+ o.width = h;
62
+ }
63
+ if (f.includes("r")) {
64
+ const h = Math.min(I, Math.max(H, (u.width ?? 0) + v));
65
+ o.width = h;
66
+ }
67
+ i.dispatchEvent(new CustomEvent("resize")), R(t), E(o);
68
+ }
69
+ function V() {
70
+ document.documentElement.style.cursor = "", f = null, d.forEach((t) => {
71
+ t();
72
+ }), d.length = 0;
73
+ }
74
+ function N(t) {
75
+ const e = {
76
+ t: "n",
77
+ r: "e",
78
+ b: "s",
79
+ l: "w"
80
+ };
81
+ return t.split("").map((i) => e[i]).join("") + "-resize";
82
+ }
83
+ function G() {
84
+ const t = s(c);
85
+ if (!t)
86
+ return;
87
+ const e = t.$el;
88
+ e.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", T.value = !0, p = {
89
+ height: parseInt(window.getComputedStyle(e).getPropertyValue("height")),
90
+ width: parseInt(window.getComputedStyle(e).getPropertyValue("width")),
91
+ top: e.offsetTop,
92
+ left: e.offsetLeft,
93
+ position: "absolute"
94
+ }, E(p), e.offsetHeight;
95
+ const i = p;
96
+ o = {
97
+ height: i.height,
98
+ width: (i.width ?? 100) / 2,
99
+ top: (i.top ?? 0) + 2,
100
+ left: (i.left ?? 0) + 2,
101
+ position: "absolute"
102
+ }, E(o), r(e, "transitionend", () => {
103
+ e.style.transition = "", T.value = !1;
104
+ }, { once: !0 });
105
+ }
106
+ function E(t) {
107
+ const e = s(c);
108
+ if (!e)
109
+ return;
110
+ const i = e.$el;
111
+ t.top ? i.style.top = `${t.top}px` : i.style.top = void 0, t.left ? i.style.left = `${t.left}px` : i.style.left = void 0, t.height ? i.style.height = `${t.height}px` : i.style.height = void 0, t.width ? i.style.width = `${t.width}px` : i.style.width = void 0, t.position ? i.style.position = `${t.position}` : i.style.position = void 0;
112
+ }
113
+ function Y(t) {
114
+ if (y.value)
115
+ return;
116
+ const e = s(c);
117
+ e && (_(e, t ?? k), x.push(r(e.$el, "mousedown", A)), x.push(r(e.$el, "touchstart", A)), y.value = !0);
118
+ }
119
+ function j() {
120
+ if (!y.value)
121
+ return;
122
+ const t = s(c);
123
+ t && (Z(t), G(), x.forEach((e) => {
124
+ e();
125
+ }), x.length = 0, y.value = !1);
126
+ }
127
+ return {
128
+ resizingIsOn: y,
129
+ turnResizingOn: Y,
130
+ turnResizingOff: j
131
+ };
132
+ }
133
+ export {
134
+ Q as useResizable
135
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
1
+ import { RouteLocationNormalized } from 'vue-router';
2
+
3
+ export declare function guardRoute(to: RouteLocationNormalized, from: RouteLocationNormalized, restrictedName: string, loggedInHome: string): {
4
+ name: string;
5
+ path?: undefined;
6
+ } | {
7
+ path: string;
8
+ name?: undefined;
9
+ } | undefined;
10
+ export declare function useUrlUpdater(): {
11
+ replaceParams: (newParams: any) => void;
12
+ updateID: (id?: string, replace?: boolean) => void;
13
+ updateParams: (newParams: any) => void;
14
+ updateQuery: (key: string, value?: string, replace?: boolean) => void;
15
+ updateSearch: (str?: string, replace?: boolean) => void;
16
+ };