bt-core-app 2.1.37 → 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,24 @@
1
+ export interface GeoCoordinate {
2
+ lat?: number;
3
+ lng?: number;
4
+ }
5
+ export declare function useGeo(): {
6
+ areaContains: (polygon: GeoCoordinate[], point?: GeoCoordinate) => boolean;
7
+ getAreaAround: (location: GeoCoordinate, radius: number) => {
8
+ lat: number;
9
+ lng: number;
10
+ }[] | undefined;
11
+ getAreaToLeft: (location: GeoCoordinate, radius: number) => {
12
+ lat: number;
13
+ lng: number;
14
+ }[] | undefined;
15
+ getAreaToRight: (location: GeoCoordinate, radius: number) => {
16
+ lat: number;
17
+ lng: number;
18
+ }[] | undefined;
19
+ getBoundary: (mvcArray: any) => GeoCoordinate[];
20
+ };
21
+ export declare function useMyGeoLocation(): {
22
+ canGetGeoLocation: import('vue').ComputedRef<boolean>;
23
+ getGeoLocation: () => Promise<GeoCoordinate | undefined>;
24
+ };
@@ -0,0 +1,95 @@
1
+ import { computed as L } from "vue";
2
+ function N() {
3
+ function f(l, t) {
4
+ if (!(l.lat == null || l.lng == null))
5
+ return [
6
+ { lat: l.lat - t, lng: l.lng + t },
7
+ { lat: l.lat - t, lng: l.lng - t },
8
+ { lat: l.lat + t, lng: l.lng - t },
9
+ { lat: l.lat + t, lng: l.lng + t }
10
+ ];
11
+ }
12
+ function h(l, t) {
13
+ if (!(l.lat == null || l.lng == null))
14
+ return [
15
+ { lat: l.lat - t * 2, lng: l.lng + t },
16
+ { lat: l.lat - t * 2, lng: l.lng - t },
17
+ { lat: l.lat, lng: l.lng - t },
18
+ { lat: l.lat, lng: l.lng + t }
19
+ ];
20
+ }
21
+ function a(l, t) {
22
+ if (!(l.lat == null || l.lng == null))
23
+ return [
24
+ { lat: l.lat, lng: l.lng + t },
25
+ { lat: l.lat, lng: l.lng - t },
26
+ { lat: l.lat + t * 2, lng: l.lng - t },
27
+ { lat: l.lat + t * 2, lng: l.lng + t }
28
+ ];
29
+ }
30
+ function g(l) {
31
+ let t = [];
32
+ var n = l.getLength();
33
+ for (let r = 0; r < n; r++) {
34
+ let e = [], u = l.getAt(r), A = u.getLength();
35
+ for (let v = 0; v < A; v++) {
36
+ let m = u.getAt(v);
37
+ e.push({ lat: m.lat(), lng: m.lng() });
38
+ }
39
+ t.push(e);
40
+ }
41
+ return t[0];
42
+ }
43
+ function y(l, t) {
44
+ if (l == null || (t == null ? void 0 : t.lat) == null || (t == null ? void 0 : t.lng) == null)
45
+ return !1;
46
+ var n = l.map((e) => ({ x: e.lat, y: e.lng }));
47
+ let r = !1;
48
+ for (let e = 0, u = n.length - 1; e < n.length; e++)
49
+ n[e].y > t.lng != n[u].y > t.lng && t.lat < (n[u].x - n[e].x) * (t.lng - n[e].y) / (n[u].y - n[e].y) + n[e].x && (r = !r), u = e;
50
+ return r;
51
+ }
52
+ return {
53
+ areaContains: y,
54
+ getAreaAround: f,
55
+ getAreaToLeft: h,
56
+ getAreaToRight: a,
57
+ getBoundary: g
58
+ };
59
+ }
60
+ function x() {
61
+ const f = L(() => navigator && "geolocation" in navigator);
62
+ async function h() {
63
+ if (f.value)
64
+ return new Promise((a) => {
65
+ navigator.geolocation.getCurrentPosition(
66
+ (g) => {
67
+ if (Number.isNaN(g.coords.latitude) || Number.isNaN(g.coords.longitude)) {
68
+ a(void 0);
69
+ return;
70
+ }
71
+ a({
72
+ lat: g.coords.latitude,
73
+ lng: g.coords.longitude
74
+ });
75
+ },
76
+ (g) => {
77
+ console.log(g), a(void 0);
78
+ },
79
+ {
80
+ enableHighAccuracy: !0,
81
+ timeout: 5e3,
82
+ maximumAge: 0
83
+ }
84
+ );
85
+ });
86
+ }
87
+ return {
88
+ canGetGeoLocation: L(() => navigator && "geolocation" in navigator),
89
+ getGeoLocation: h
90
+ };
91
+ }
92
+ export {
93
+ N as useGeo,
94
+ x as useMyGeoLocation
95
+ };
@@ -0,0 +1,98 @@
1
+ import { BTDates } from './dates.ts';
2
+ import { BTColorizer } from './colorizer.ts';
3
+
4
+ export interface CreateGraphsOptions {
5
+ dates: BTDates;
6
+ }
7
+ export interface GetDataSetOptions<T> {
8
+ backgroundColor?: string;
9
+ borderColor?: string;
10
+ data: T[];
11
+ getBackgroundColor?: (item: T, ind: number, colorizer: BTColorizer) => string;
12
+ getLabelValue: (item: T) => string;
13
+ getValue: (item: T) => number | undefined;
14
+ groupValues?: boolean;
15
+ lineLabel?: string;
16
+ noBackgroundColor?: boolean;
17
+ noBorderColor?: boolean;
18
+ }
19
+ export interface GetGraphDataOptions<T> {
20
+ chartType?: ChartType;
21
+ datasets: GetDataSetOptions<T>[];
22
+ fillGaps?: boolean;
23
+ labelFormat?: 'day' | 'week' | 'month' | 'year';
24
+ labelFormatFilter?: string;
25
+ labelFormatString?: string;
26
+ }
27
+ export interface GetRawXYOptions<T> {
28
+ list: T[];
29
+ getXAxis?: (item: T) => string | number;
30
+ getXLabel?: (item: string | number) => string;
31
+ xProp?: string;
32
+ getYValue?: (item: T) => number;
33
+ getYGroupValue?: (items: T[]) => number;
34
+ yProp?: string;
35
+ }
36
+ export interface GetXYOptions<T> extends GetRawXYOptions<T> {
37
+ fillGaps?: boolean;
38
+ label?: string;
39
+ list: T[];
40
+ /**can be a filter or a time format */
41
+ xLabelFilter?: string;
42
+ xSpan: 'hour' | 'day' | 'week' | 'month' | 'year';
43
+ xSpanProp: string | ((item: T) => string);
44
+ }
45
+ export interface GetBarChartOptions<T> {
46
+ getBottomLabel: (item: T) => string;
47
+ getXYSets: GetXYSet<T>[];
48
+ list: T[];
49
+ }
50
+ export interface GetXYSet<T> {
51
+ getLabel: () => string;
52
+ getValue: (item: T) => number;
53
+ }
54
+ export interface GraphedData {
55
+ xValue: string | number;
56
+ xLabel?: string | number;
57
+ yValue: number;
58
+ }
59
+ export interface ChartJSDataPoint {
60
+ x: string | number;
61
+ y: string | number;
62
+ }
63
+ export interface ChartJSParsing {
64
+ yAxisKey?: string;
65
+ xAxisKey?: string;
66
+ }
67
+ export interface ChartJSDataSet {
68
+ backgroundColor?: string | string[];
69
+ borderColor?: string | string[];
70
+ data: number[] | any[][] | ChartJSDataPoint[] | any[];
71
+ label?: string;
72
+ parsing?: ChartJSParsing;
73
+ }
74
+ export interface ChartJSData {
75
+ datasets: ChartJSDataSet[];
76
+ labels?: string[];
77
+ }
78
+ export interface ChartJSOptions {
79
+ responsive?: boolean;
80
+ parsing?: ChartJSParsing;
81
+ }
82
+ export type ChartType = 'line' | 'bar' | 'pie';
83
+ export interface GetChartResult {
84
+ chartType: ChartType;
85
+ data: ChartJSData;
86
+ options?: ChartJSOptions;
87
+ }
88
+ export interface BTGraphs {
89
+ getDataForChartJS: <T>(options: GetXYOptions<T>[], chartType?: ChartType, chartOptions?: any) => GetChartResult;
90
+ getBarChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
91
+ getGraphData: <T>(options: GetGraphDataOptions<T>, chartOptions?: any) => GetChartResult;
92
+ getPieData: (labels: string[], values: number[], chartOptions?: any) => GetChartResult;
93
+ getPieChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
94
+ getXY: <T>(options: GetXYOptions<T>) => GraphedData[];
95
+ getRawXY: <T>(options: GetRawXYOptions<T>) => GraphedData[];
96
+ }
97
+ export declare function useGraphs(): BTGraphs;
98
+ export declare function createGraphs(opt: CreateGraphsOptions): BTGraphs;
@@ -0,0 +1,205 @@
1
+ import { BTDateFormat as x } from "../node_modules/bt-core-app/dist/bt-core-app.mjs";
2
+ import { useColorizer as v } from "./colorizer.mjs";
3
+ import { useDates as O } from "./dates.mjs";
4
+ import { useFilters as K } from "./filters.mjs";
5
+ import { nestedValue as $, group as I } from "./helpers.mjs";
6
+ import { t as J } from "../bt-core/core/node_modules/thenby/thenBy.module.mjs";
7
+ let D;
8
+ function Q() {
9
+ return D;
10
+ }
11
+ function U(z) {
12
+ const S = K();
13
+ function G(e, a, u) {
14
+ const r = v();
15
+ return {
16
+ chartType: a ?? "line",
17
+ data: {
18
+ datasets: e.map((l) => {
19
+ var o = k(l);
20
+ let n = r.getColor();
21
+ return {
22
+ backgroundColor: n,
23
+ borderColor: n,
24
+ data: o,
25
+ label: l.label
26
+ };
27
+ })
28
+ },
29
+ options: {
30
+ responsive: !0,
31
+ parsing: {
32
+ xAxisKey: "xValue",
33
+ yAxisKey: "yValue"
34
+ },
35
+ ...u
36
+ }
37
+ };
38
+ }
39
+ function T(e, a) {
40
+ const u = v();
41
+ return {
42
+ chartType: "bar",
43
+ data: {
44
+ datasets: e.getXYSets.map((r) => {
45
+ let l = u.getColor();
46
+ return {
47
+ backgroundColor: l,
48
+ borderColor: l,
49
+ data: e.list.map((o) => r.getValue(o)),
50
+ label: r.getLabel()
51
+ };
52
+ }),
53
+ labels: e.list.map((r) => e.getBottomLabel(r))
54
+ },
55
+ options: {
56
+ responsive: !0,
57
+ ...a
58
+ }
59
+ };
60
+ }
61
+ function Y(e, a, u) {
62
+ const r = v();
63
+ var l = {
64
+ chartType: "pie",
65
+ data: {
66
+ labels: e,
67
+ datasets: [
68
+ {
69
+ backgroundColor: a.map(() => r.getColor()),
70
+ data: a
71
+ }
72
+ ]
73
+ },
74
+ options: {
75
+ responsive: !0,
76
+ ...u
77
+ }
78
+ };
79
+ return l;
80
+ }
81
+ function p(e, a) {
82
+ const u = v();
83
+ return {
84
+ chartType: "pie",
85
+ data: {
86
+ datasets: e.getXYSets.map((r) => {
87
+ var l = e.list.map(() => u.getColor());
88
+ return {
89
+ backgroundColor: l,
90
+ borderColor: l,
91
+ data: e.list.map((o) => r.getValue(o)),
92
+ label: r.getLabel()
93
+ };
94
+ }),
95
+ labels: e.list.map((r) => e.getBottomLabel(r))
96
+ },
97
+ options: {
98
+ responsive: !0,
99
+ ...a
100
+ }
101
+ };
102
+ }
103
+ function A(e, a) {
104
+ var u = {
105
+ chartType: e.chartType ?? "line",
106
+ data: {
107
+ datasets: []
108
+ },
109
+ options: {
110
+ responsive: !0,
111
+ ...a
112
+ }
113
+ }, r = O(), l = e.labelFormatFilter != null ? S.findFilter(e.labelFormatFilter) : void 0, o = v();
114
+ if (e.fillGaps && e.labelFormat != null) {
115
+ var n, h, g = {}, c = e.labelFormat, L = [];
116
+ c == "day" ? g = { days: 1 } : c == "week" ? g = { weeks: 1 } : c == "month" ? g = { months: 1 } : c == "year" && (g = { years: 1 }), e.datasets.forEach((t) => {
117
+ t.data.forEach((C) => {
118
+ var s = t.getLabelValue(C);
119
+ n ?? (n = s), h ?? (h = s), s < n && (n = s), s > h && (h = s);
120
+ });
121
+ });
122
+ var b = r.tzDate(n).startOf(c), i = b.toFormat(x), E = r.tzDate(h).endOf(c), X = E.toFormat(x);
123
+ if (i < X)
124
+ for (; i < X; )
125
+ l != null ? L.push(l(i)) : e.labelFormatString != null ? L.push(b.toFormat(e.labelFormatString)) : L.push(i), b = b.plus(g), i = b.toFormat(x);
126
+ }
127
+ return u.data.datasets = e.datasets.map((t) => {
128
+ let C = t.noBackgroundColor == !0 && t.noBorderColor == !0 ? void 0 : o.getColor();
129
+ var s = {
130
+ backgroundColor: t.noBackgroundColor == !0 ? void 0 : t.backgroundColor ?? C,
131
+ borderColor: t.noBorderColor == !0 ? void 0 : t.borderColor ?? C,
132
+ data: t.data.reduce((f, F) => {
133
+ var d = t.getLabelValue(F), y = r.tzDate(d), m = d;
134
+ e.labelFormat != null && (y = y.startOf(e.labelFormat)), l != null ? m = l(y.toFormat(x)) : e.labelFormatString != null && (m = y.toFormat(e.labelFormatString));
135
+ var V = t.getValue(F);
136
+ if (V != null)
137
+ if (t.groupValues == !0) {
138
+ var B = f.find((w) => w.x == m);
139
+ B != null ? (console.log(`merging: ${B.x}`), B.y += V) : (console.log(`adding: ${d}`), f.push({
140
+ x: m,
141
+ y: V,
142
+ z: d
143
+ }));
144
+ } else
145
+ f.push({
146
+ x: m,
147
+ y: V,
148
+ z: d
149
+ });
150
+ return f;
151
+ }, []).sort(J.firstBy((f) => f.z)),
152
+ label: t.lineLabel
153
+ };
154
+ return t.getBackgroundColor != null && (s.backgroundColor = t.data.map((f, F) => t.getBackgroundColor(f, F, o))), s;
155
+ }), u;
156
+ }
157
+ function k(e) {
158
+ let a = [];
159
+ const u = S.findFilter(e.xLabelFilter);
160
+ return e.getXAxis ?? (e.getXAxis = (r) => {
161
+ const l = typeof e.xSpanProp == "string" ? $(r, e.xSpanProp) : e.xSpanProp(r), o = u(l);
162
+ return o ?? z.dates.tzDate(l).startOf(e.xSpan).toFormat(e.xLabelFilter ?? "");
163
+ }), a = P(e), e.fillGaps && (a = a), a;
164
+ }
165
+ function P(e) {
166
+ if (e.getXAxis == null && e.xProp == null)
167
+ return [];
168
+ if (e.getYGroupValue == null && e.getYValue == null && e.yProp == null)
169
+ return [];
170
+ const a = I(e.list, e.getXAxis ?? e.xProp), u = [];
171
+ return a.forEach((r, l) => {
172
+ if (e.getYGroupValue != null)
173
+ u.push({
174
+ xValue: l,
175
+ xLabel: e.getXLabel != null ? e.getXLabel(l) : void 0,
176
+ yValue: e.getYGroupValue(r)
177
+ });
178
+ else {
179
+ const o = {
180
+ xValue: l,
181
+ xLabel: e.getXLabel != null ? e.getXLabel(l) : void 0,
182
+ yValue: 0
183
+ };
184
+ u.push(o), e.getYValue != null ? r.forEach((n) => {
185
+ o.yValue += e.getYValue(n);
186
+ }) : e.yProp != null && r.forEach((n) => {
187
+ o.yValue += n[e.yProp];
188
+ });
189
+ }
190
+ }), u;
191
+ }
192
+ return D ?? (D = {
193
+ getBarChartData: T,
194
+ getDataForChartJS: G,
195
+ getGraphData: A,
196
+ getPieChartData: p,
197
+ getPieData: Y,
198
+ getXY: k,
199
+ getRawXY: P
200
+ }), D;
201
+ }
202
+ export {
203
+ U as createGraphs,
204
+ Q as useGraphs
205
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,24 @@
1
+ import { MaybeRefOrGetter } from 'vue';
2
+ import { BTNavigation } from './navigation.ts';
3
+ import { DisplayInstance } from 'vuetify';
4
+
5
+ export interface HeightOptions {
6
+ getStyle: (actualUsedHeight?: number) => string;
7
+ getUsedHeight: (inAdditionTo?: number) => number;
8
+ }
9
+ export interface CreateHeightOptions {
10
+ display?: DisplayInstance;
11
+ navigation?: BTNavigation;
12
+ getUsedHeight?: (display?: DisplayInstance, navigation?: BTNavigation) => number;
13
+ }
14
+ export declare function useHeights(options?: CreateHeightOptions): HeightOptions;
15
+ export interface ResponsiveStyleOptions {
16
+ getUsedHeight: (display?: DisplayInstance, navigation?: BTNavigation) => number;
17
+ overflow?: boolean;
18
+ }
19
+ export declare function useResponsiveStyle(options: ResponsiveStyleOptions): {
20
+ style: import('vue').ComputedRef<string>;
21
+ };
22
+ export declare function useStyle(actualUsedHeight?: MaybeRefOrGetter<number>, ignoreCore?: boolean): {
23
+ style: import('vue').ComputedRef<string>;
24
+ };
@@ -0,0 +1,41 @@
1
+ import { computed as f, toValue as r } from "vue";
2
+ let u, l;
3
+ function c(e) {
4
+ if (u != null)
5
+ return u;
6
+ const g = (e == null ? void 0 : e.getUsedHeight) ?? (() => 0);
7
+ function h(v) {
8
+ return g(e == null ? void 0 : e.display, e == null ? void 0 : e.navigation) + (v ?? 0);
9
+ }
10
+ function a(v) {
11
+ return `height: calc(100vh - ${h(v)}px);`;
12
+ }
13
+ return l = e, u = {
14
+ getStyle: a,
15
+ getUsedHeight: h
16
+ }, u;
17
+ }
18
+ function d(e) {
19
+ return {
20
+ style: f(() => {
21
+ var g = !!e.overflow;
22
+ return u == null ? "" : g ? `height: calc(100vh - ${e.getUsedHeight(l == null ? void 0 : l.display, l == null ? void 0 : l.navigation)}px); overflow-y: auto;` : `height: calc(100vh - ${e.getUsedHeight(l == null ? void 0 : l.display, l == null ? void 0 : l.navigation)}px);`;
23
+ })
24
+ };
25
+ }
26
+ function y(e, g) {
27
+ return {
28
+ style: f(() => {
29
+ if (u == null)
30
+ return "";
31
+ var h = r(e);
32
+ return `height: calc(100vh - ${g == !0 ? h : u.getUsedHeight(h)}px); overflow-y: auto;`;
33
+ })
34
+ // usedHeight: aHeight
35
+ };
36
+ }
37
+ export {
38
+ c as useHeights,
39
+ d as useResponsiveStyle,
40
+ y as useStyle
41
+ };
@@ -0,0 +1,114 @@
1
+ import { StoreGetReturn, StoreGetAllReturn } from './stores.ts';
2
+
3
+ export declare const externalUses: string[];
4
+ export declare function getColors(): string[];
5
+ export declare function getOtherColors(): string[];
6
+ export declare function personName(firstName?: string, lastName?: string, userName?: string): string | undefined;
7
+ /**Pulls only props that obj2 contains and applies to obj1 */
8
+ export declare function pullPropsFrom(obj1: any, obj2: any, propsToIgnore?: string[], strat?: 'only-obj1-props' | 'all-obj2-props'): any;
9
+ export declare function toggle(obj: any, prop: string, values: any[]): void;
10
+ export declare function log(obj: any): void;
11
+ export declare function moveInArray(arr: any[], fromInd: number, toInd: number): void;
12
+ /**decrypts jwt token */
13
+ export declare function jwtDecrypt(token: string): any;
14
+ export declare function jwtEncrypt(payload?: any): string;
15
+ export declare function expectSingleReturn<T>(res: StoreGetReturn<T | T[]> | undefined): StoreGetReturn<T> | undefined;
16
+ export declare function expectArrayReturn<T>(res: StoreGetReturn<T | T[]> | undefined): StoreGetReturn<T[]> | undefined;
17
+ export declare function expectSingle<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T | undefined;
18
+ export declare function expectArray<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T[] | undefined;
19
+ export declare function sum(array: number[]): number;
20
+ export declare function orderBy<T>(arr: T[], prop?: keyof T | ((item: T) => boolean | number | string), asc?: true | false): T[];
21
+ export declare function appendUrl(originalVal?: string, additionalVal?: string, splittingChar?: string): string;
22
+ export declare function checkImage(url: string, onGood: (this: GlobalEventHandlers, ev: Event) => void, onBad: OnErrorEventHandler): void;
23
+ export declare function distinct<T>(list: T[], compareFunc?: string | ((item: T) => any)): T[];
24
+ export declare function groupBy<T>(array: T[], keyGetter: (item: T) => string | undefined, defaultKey: string): Map<string, T[]>;
25
+ export interface GroupedArray<T> {
26
+ key: string;
27
+ values: T[];
28
+ }
29
+ export declare function groupArrays<T>(array: T[], keyGetter: (item: T) => string | undefined, defaultKey: string): T[][];
30
+ export declare function group<T>(list: T[], keyGetter: string | ((item: T) => string | number)): Map<any, any>;
31
+ export declare function extensionExists(elementId?: string): boolean;
32
+ /**
33
+ *
34
+ * @param value converts location to a single string and standardizes state and road names, etc.
35
+ * @returns
36
+ */
37
+ export declare function getGoogleMapsLocationLine(value: any): string;
38
+ export declare function getLocationLine(value: any, forGoogle?: boolean): string;
39
+ export declare function getLocationLineOne(value: any): string;
40
+ export declare function getLocationLineTwo(value: any): string;
41
+ export declare function dropFromList<T>(arr?: T[], pred?: (item: T) => boolean): number;
42
+ /**remove all items with a certain predicate and add item to the first predicate or at the end of the list */
43
+ export declare function dropAndAddToList<T>(arr?: T[], itemToAdd?: T, pred?: (item: T) => boolean): number;
44
+ export declare function getImageData(url?: string, throwErrorOnFail?: boolean): Promise<unknown>;
45
+ /**
46
+ *
47
+ * @param val Converts string from camel case to every word being capitalized and spaces between
48
+ * @returns
49
+ */
50
+ export declare function fromCamelCase(val?: string): string | undefined;
51
+ /**
52
+ * Converts props to camel casing
53
+ * @param value
54
+ * @returns
55
+ */
56
+ export declare function toCamelCase(value: any): any;
57
+ export declare function capitalizeWords(val?: string): string | undefined;
58
+ export declare const weekdayPairs: {
59
+ value: number;
60
+ short: string;
61
+ values: (string | null | undefined)[];
62
+ }[];
63
+ /**returns the sort value of the weekday csv string
64
+ * returns minimum if csv list
65
+ */
66
+ export declare function weekdayValue(wkDay?: string): number;
67
+ /**returns the sort value of the weekday csv string
68
+ * returns minimum if csv list
69
+ */
70
+ export declare function weekdayShortName(wkDay?: string): string | undefined;
71
+ /**whether the csv string contains the weekday
72
+ * returns true if either prop is undefined
73
+ */
74
+ export declare function containsWeekday(weekdays?: string, wkDay?: string): boolean;
75
+ /**adds and sorts the weekday string */
76
+ export declare function addWeekday(weekdays?: string, day?: string): string | undefined;
77
+ export declare function removeWeekday(weekdays?: string, day?: string): string | undefined;
78
+ export declare function isArrayOfLength(val: any, l: number): boolean;
79
+ export declare function isLengthyArray(val: any, greaterThan?: number): boolean;
80
+ export declare function isNullOrEmpty(val: string | undefined): boolean;
81
+ export declare function isMinDate(d?: string): boolean;
82
+ export declare function getMinDate(): number;
83
+ export declare function getMinDateString(): string;
84
+ export declare function isSameDownToHour(firstDate?: string, secondDate?: string): boolean;
85
+ /**
86
+ * rounds the given value to a certain number of decimal places
87
+ * @param v
88
+ * @param dPlaces
89
+ * @returns
90
+ */
91
+ export declare function roundTo(val: number, dPlaces: number): number;
92
+ export declare function toggleCSV(value?: string | string[], tag?: string): string | undefined;
93
+ export declare function csvContains(value?: string, tag?: string): boolean;
94
+ /**copies object and all descendant properties */
95
+ export declare function copyDeep<T>(aObject: T): T;
96
+ /**copies object and returns copied object with descendant properties placed in alphabetical order */
97
+ export declare function copyItemByAlphabet(aObject: any): any;
98
+ /**whether string is contained somewhere in this value */
99
+ export declare function containsSearch(value?: string | number, str?: string): boolean;
100
+ /**must be an object. Returns a flat map of all items in the prop selector */
101
+ export declare function deepSelect(obj: any, propSelector?: Function): any[];
102
+ export declare function DataURIToBlob(dataURI: any): Blob;
103
+ export declare function extractErrorDescription(error: any): string;
104
+ export declare function getRandomColor(): string;
105
+ /**tests for whether string is contains in any of the given props of the given value */
106
+ export declare function hasSearch(value: any, str?: string, props?: string[]): boolean;
107
+ export declare function toCompareString(str?: string): string | null;
108
+ export declare function twiddleThumbs(mSec?: number): Promise<void>;
109
+ export declare function nestedValue(obj: any, path?: string): any;
110
+ export declare function spread<T>(arr: T[], chunkSize: number): (T)[][];
111
+ export declare function splitArray<T>(arr: T[], chunkSize: number, fill?: boolean): (T | null)[][];
112
+ export declare function validEmail(email?: string): boolean;
113
+ export declare function singularize(str: string): string;
114
+ export declare function compareString(str?: string): string | undefined;