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,326 @@
1
+ import { useAuth as Z } from "./auth.mjs";
2
+ import { appendUrl as A, isNullOrEmpty as q, isLengthyArray as C } from "./helpers.mjs";
3
+ import { ref as P, computed as k } from "vue";
4
+ import "../bt-core/core/node_modules/@datasert/cronjs-matcher/dist/index.mjs";
5
+ import { __exports as B } from "../_virtual/index.mjs";
6
+ const w = [
7
+ { text: "12:00 AM", value: "0.0" },
8
+ { text: "12:15 AM", value: "0.15" },
9
+ { text: "12:30 AM", value: "0.30" },
10
+ { text: "12:45 AM", value: "0.45" },
11
+ { text: "1:00 AM", value: "1.0" },
12
+ { text: "1:15 AM", value: "1.15" },
13
+ { text: "1:30 AM", value: "1.30" },
14
+ { text: "1:45 AM", value: "1.45" },
15
+ { text: "2:00 AM", value: "2.0" },
16
+ { text: "2:15 AM", value: "2.15" },
17
+ { text: "2:30 AM", value: "2.30" },
18
+ { text: "2:45 AM", value: "2.45" },
19
+ { text: "3:00 AM", value: "3.0" },
20
+ { text: "3:15 AM", value: "3.15" },
21
+ { text: "3:30 AM", value: "3.30" },
22
+ { text: "3:45 AM", value: "3.45" },
23
+ { text: "4:00 AM", value: "4.0" },
24
+ { text: "4:15 AM", value: "4.15" },
25
+ { text: "4:30 AM", value: "4.30" },
26
+ { text: "4:45 AM", value: "4.45" },
27
+ { text: "5:00 AM", value: "5.0" },
28
+ { text: "5:15 AM", value: "5.15" },
29
+ { text: "5:30 AM", value: "5.30" },
30
+ { text: "5:45 AM", value: "5.45" },
31
+ { text: "6:00 AM", value: "6.0" },
32
+ { text: "6:15 AM", value: "6.15" },
33
+ { text: "6:30 AM", value: "6.30" },
34
+ { text: "6:45 AM", value: "6.45" },
35
+ { text: "7:00 AM", value: "7.0" },
36
+ { text: "7:15 AM", value: "7.15" },
37
+ { text: "7:30 AM", value: "7.30" },
38
+ { text: "7:45 AM", value: "7.45" },
39
+ { text: "8:00 AM", value: "8.0" },
40
+ { text: "8:15 AM", value: "8.15" },
41
+ { text: "8:30 AM", value: "8.30" },
42
+ { text: "8:45 AM", value: "8.45" },
43
+ { text: "9:00 AM", value: "9.0" },
44
+ { text: "9:15 AM", value: "9.15" },
45
+ { text: "9:30 AM", value: "9.30" },
46
+ { text: "9:45 AM", value: "9.45" },
47
+ { text: "10:00 AM", value: "10.0" },
48
+ { text: "10:15 AM", value: "10.15" },
49
+ { text: "10:30 AM", value: "10.30" },
50
+ { text: "10:45 AM", value: "10.45" },
51
+ { text: "11:00 AM", value: "11.0" },
52
+ { text: "11:15 AM", value: "11.15" },
53
+ { text: "11:30 AM", value: "11.30" },
54
+ { text: "11:45 AM", value: "11.45" },
55
+ { text: "12:00 PM", value: "12.0" },
56
+ { text: "12:15 PM", value: "12.15" },
57
+ { text: "12:30 PM", value: "12.30" },
58
+ { text: "12:45 PM", value: "12.45" },
59
+ { text: "1:00 PM", value: "13.0" },
60
+ { text: "1:15 PM", value: "13.15" },
61
+ { text: "1:30 PM", value: "13.30" },
62
+ { text: "1:45 PM", value: "13.45" },
63
+ { text: "2:00 PM", value: "14.0" },
64
+ { text: "2:15 PM", value: "14.15" },
65
+ { text: "2:30 PM", value: "14.30" },
66
+ { text: "2:45 PM", value: "14.45" },
67
+ { text: "3:00 PM", value: "15.0" },
68
+ { text: "3:15 PM", value: "15.15" },
69
+ { text: "3:30 PM", value: "15.30" },
70
+ { text: "3:45 PM", value: "15.45" },
71
+ { text: "4:00 PM", value: "16.0" },
72
+ { text: "4:15 PM", value: "16.15" },
73
+ { text: "4:30 PM", value: "16.30" },
74
+ { text: "4:45 PM", value: "16.45" },
75
+ { text: "5:00 PM", value: "17.0" },
76
+ { text: "5:15 PM", value: "17.15" },
77
+ { text: "5:30 PM", value: "17.30" },
78
+ { text: "5:45 PM", value: "17.45" },
79
+ { text: "6:00 PM", value: "18.0" },
80
+ { text: "6:15 PM", value: "18.15" },
81
+ { text: "6:30 PM", value: "18.30" },
82
+ { text: "6:45 PM", value: "18.45" },
83
+ { text: "7:00 PM", value: "19.0" },
84
+ { text: "7:15 PM", value: "19.15" },
85
+ { text: "7:30 PM", value: "19.30" },
86
+ { text: "7:45 PM", value: "19.45" },
87
+ { text: "8:00 PM", value: "20.0" },
88
+ { text: "8:15 PM", value: "20.15" },
89
+ { text: "8:30 PM", value: "20.30" },
90
+ { text: "8:45 PM", value: "20.45" },
91
+ { text: "9:00 PM", value: "21.0" },
92
+ { text: "9:15 PM", value: "21.15" },
93
+ { text: "9:30 PM", value: "21.30" },
94
+ { text: "9:45 PM", value: "21.45" },
95
+ { text: "10:00 PM", value: "22.0" },
96
+ { text: "10:15 PM", value: "22.15" },
97
+ { text: "10:30 PM", value: "22.30" },
98
+ { text: "10:45 PM", value: "22.45" },
99
+ { text: "11:00 PM", value: "23.0" },
100
+ { text: "11:15 PM", value: "23.15" },
101
+ { text: "11:30 PM", value: "23.30" },
102
+ { text: "11:45 PM", value: "23.45" }
103
+ ], H = [
104
+ { text: "Jan", value: "1" },
105
+ { text: "Feb", value: "2" },
106
+ { text: "Mar", value: "3" },
107
+ { text: "Apr", value: "4" },
108
+ { text: "May", value: "5" },
109
+ { text: "Jun", value: "6" },
110
+ { text: "Jul", value: "7" },
111
+ { text: "Aug", value: "8" },
112
+ { text: "Sep", value: "9" },
113
+ { text: "Oct", value: "10" },
114
+ { text: "Nov", value: "11" },
115
+ { text: "Dec", value: "12" }
116
+ ], _ = [
117
+ { text: "1st", value: "1-7" },
118
+ { text: "2nd", value: "8-14" },
119
+ { text: "3rd", value: "15-21" },
120
+ { text: "4th", value: "22-28" },
121
+ { text: "5th", value: "29-31" }
122
+ ], g = [
123
+ { text: "Sun", value: "0" },
124
+ { text: "Mon", value: "1" },
125
+ { text: "Tue", value: "2" },
126
+ { text: "Wed", value: "3" },
127
+ { text: "Thu", value: "4" },
128
+ { text: "Fri", value: "5" },
129
+ { text: "Sat", value: "6" }
130
+ ], Y = [
131
+ { text: "Daily", value: "Daily" },
132
+ { text: "Weekly", value: "Weekly" },
133
+ { text: "Monthly", value: "Monthly" },
134
+ { text: "Custom", value: "Custom" }
135
+ ];
136
+ function ee() {
137
+ const { timeZone: i } = Z();
138
+ function I(s) {
139
+ if (s.cron == null)
140
+ return [];
141
+ const L = s.cron.split(/\s+/).slice(0, 5).join(" ");
142
+ return B.getFutureMatches(L, { matchCount: s.futureCount, formatInTimezone: !1, timezone: i.value });
143
+ }
144
+ return {
145
+ predictFuture: I
146
+ };
147
+ }
148
+ function te(i) {
149
+ function I() {
150
+ let e = "0 0 * * 1";
151
+ return i.useLeadTimeLeft && (i.useLeadTimeRight ? e = A(e, `${R.value.toString()}-${O.value.toString()}`, " ") : e = A(e, R.value.toString(), " ")), e;
152
+ }
153
+ const s = P();
154
+ let L = "";
155
+ const E = k({
156
+ get() {
157
+ return s.value;
158
+ },
159
+ set(e) {
160
+ L = e;
161
+ }
162
+ }), p = P(0), D = P(0), h = P("Custom"), f = k({
163
+ get() {
164
+ return h.value;
165
+ },
166
+ set(e) {
167
+ h.value !== e && (h.value = e, W(e));
168
+ }
169
+ }), N = k(() => i.useLeadTimeInHours ? p.value : p.value / 60), R = k(() => i.useLeadTimeInHours ? p.value * 60 : p.value), O = k(() => i.useLeadTimeInHours ? D.value * 60 : D.value), c = P(), m = P(), d = P(), M = P();
170
+ function b() {
171
+ T(L ?? E.value);
172
+ }
173
+ function W(e) {
174
+ e == "Daily" ? (m.value = ["*"], d.value = ["*"], M.value = ["*"]) : e == "Weekly" ? (console.log("weeklying"), m.value = ["*"], d.value = ["*"], M.value = ["0"]) : e == "Monthly" && (m.value = ["*"], d.value = [_[0].value], M.value = [g[0].value]);
175
+ }
176
+ function j(e, u) {
177
+ var n, l;
178
+ e ?? (e = "0");
179
+ const t = g.findIndex((x) => x.value == e || x.text == e);
180
+ u ?? (u = 0);
181
+ const a = (t + u) % 7, r = Math.ceil(u / 7);
182
+ return r > 1 ? `${r} ${(n = g[a]) == null ? void 0 : n.text} Later` : (l = g[a]) == null ? void 0 : l.text;
183
+ }
184
+ function F(e) {
185
+ if (c.value != null) {
186
+ var u = w.find((r) => r.value == c.value);
187
+ if (u != null) {
188
+ var t = Number.parseFloat(u.value) + N.value, a = Math.floor(t / 24);
189
+ return a == 0 ? "Same Day" : e == null ? `${a} Day${a == 1 ? "" : "s"} Later` : j(e, a);
190
+ }
191
+ }
192
+ }
193
+ function U() {
194
+ var r, n;
195
+ var e = {
196
+ regularity: f.value,
197
+ orderDays: [],
198
+ deliveryDays: []
199
+ };
200
+ if (f.value == "Daily") {
201
+ if (c.value != null) {
202
+ var u = w.find((l) => l.value == c.value);
203
+ if (u != null) {
204
+ f.value == "Daily" && e.orderDays.push(u.text);
205
+ var t = Number.parseFloat(u.value) + N.value, a = Math.floor(t / 24);
206
+ a == 0 ? e.deliveryDays.push("Same Day") : e.deliveryDays.push(`${a} Day${a == 1 ? "" : "s"} Later`);
207
+ }
208
+ }
209
+ } else
210
+ f.value == "Weekly" ? (r = M.value) == null || r.forEach((l) => {
211
+ var x = g.find((y) => y.value == l);
212
+ x != null && (e.orderDays.push(x.text), e.deliveryDays.push(F(l) ?? ""));
213
+ }) : f.value == "Monthly" && ((n = m.value) == null || n.forEach((l) => {
214
+ var x = H.find((y) => y.value == l);
215
+ x != null && (e.orderDays.push(x.text), e.deliveryDays.push(F(void 0) ?? ""));
216
+ }));
217
+ return e;
218
+ }
219
+ function J() {
220
+ var e;
221
+ return (e = s.value) == null ? void 0 : e.split(/\s+/);
222
+ }
223
+ function T(e) {
224
+ if (s.value != e) {
225
+ s.value = e;
226
+ let t = !1, a = !1, r = !1, n = !1;
227
+ if (q(s.value) || !C(J(), 4))
228
+ t = !0;
229
+ else {
230
+ const l = J();
231
+ t = !1;
232
+ var u = `${l[1]}.${l[0]}`;
233
+ u.includes(",") || u.includes("-") || u.includes("/") ? t = !0 : w.some((v) => v.value == u) ? c.value = u : t = !0;
234
+ const x = l[2];
235
+ if (x.includes("/"))
236
+ t = !0;
237
+ else if (x == "*")
238
+ a = !0;
239
+ else {
240
+ a = !1;
241
+ const v = x.split(",");
242
+ v.some((o) => !_.some((S) => S.value == o)) ? t = !0 : d.value = v;
243
+ }
244
+ const y = l[3];
245
+ if (y.includes("-") || y.includes("/"))
246
+ t = !0;
247
+ else if (y == "*")
248
+ n = !0;
249
+ else {
250
+ n = !1;
251
+ const v = y.split(",");
252
+ v.some((o) => !H.some((S) => S.value == o)) ? t = !0 : m.value = v;
253
+ }
254
+ const $ = l[4];
255
+ if ($.includes("-") || $.includes("/"))
256
+ t = !0;
257
+ else if ($ == "*")
258
+ r = !0, M.value = g.map((v) => v.value);
259
+ else {
260
+ r = !1;
261
+ const v = $.split(",");
262
+ v.some((o) => !g.some((S) => S.value == o)) ? t = !0 : M.value = v;
263
+ }
264
+ if (C(l, 5) && i.useLeadTimeLeft) {
265
+ const v = l[5].split("-");
266
+ if (i.useLeadTimeRight && v.length > 1) {
267
+ const o = Number.parseInt(v[1]);
268
+ D.value = i.useLeadTimeInHours ? Math.round(o / 60) : o;
269
+ }
270
+ if (v.length > 0) {
271
+ const o = Number.parseInt(v[0]);
272
+ p.value = i.useLeadTimeInHours ? Math.round(o / 60) : o;
273
+ }
274
+ }
275
+ }
276
+ t ? f.value = "Custom" : n && a && r ? h.value = "Daily" : n && a ? h.value = "Weekly" : n ? h.value = "Monthly" : h.value = "Custom";
277
+ }
278
+ return {
279
+ applyRawExpression: b,
280
+ applyRegularity: W,
281
+ cronExpression: s,
282
+ hour: c,
283
+ leadTimeLeft: p,
284
+ leadTimeRight: D,
285
+ months: m,
286
+ pack: z,
287
+ rawExpression: E,
288
+ regularity: f,
289
+ unpack: T,
290
+ weekdays: M,
291
+ weeks: d
292
+ };
293
+ }
294
+ function z() {
295
+ var u, t, a, r, n, l;
296
+ if (f.value == "Custom")
297
+ return s.value;
298
+ let e = `${(u = c.value) == null ? void 0 : u.split(".")[1]} ${(t = c.value) == null ? void 0 : t.split(".")[0]}`;
299
+ return C(d.value) ? e = A(e, (a = d.value) == null ? void 0 : a.toString(), " ") : e = A(e, "*", " "), C(m.value) ? e = A(e, (r = m.value) == null ? void 0 : r.toString(), " ") : e = A(e, "*", " "), ((n = M.value) == null ? void 0 : n.length) == 7 ? e = A(e, "*", " ") : e = A(e, (l = M.value) == null ? void 0 : l.toString(), " "), e = A(e, `${R.value}-${O.value}`, " "), s.value = e, s.value;
300
+ }
301
+ return T(i.value ?? i.defaultExpression ?? I()), {
302
+ applyRawExpression: b,
303
+ applyRegularity: W,
304
+ cronExpression: s,
305
+ getRegularityAndOrderAndDeliveryDays: U,
306
+ hour: c,
307
+ leadTimeLeft: p,
308
+ leadTimeRight: D,
309
+ months: m,
310
+ pack: z,
311
+ rawExpression: E,
312
+ regularity: f,
313
+ unpack: T,
314
+ weekdays: M,
315
+ weeks: d
316
+ };
317
+ }
318
+ export {
319
+ w as hourOptions,
320
+ H as monthOptions,
321
+ Y as regularityOptions,
322
+ te as useCron,
323
+ ee as useCronPredictor,
324
+ _ as weekOptions,
325
+ g as weekdayOptions
326
+ };
@@ -0,0 +1,44 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { TableColumn } from './list.ts';
3
+
4
+ export interface CSVProps {
5
+ canExportCSV?: boolean;
6
+ }
7
+ export declare const csvDefaults: {
8
+ canExportCSV: boolean;
9
+ };
10
+ export interface UseCSVPropsReturn {
11
+ exportToCSV: (options: ExportToCSVOptions) => string[] | undefined;
12
+ importFromCSV: (options?: ImportFromCSVOptions) => void;
13
+ loadingMsg: ComputedRef<string | undefined>;
14
+ }
15
+ export interface ImportFromCSVOptions {
16
+ headers?: Array<TableColumn | string>;
17
+ }
18
+ export interface CSVItem {
19
+ header: string;
20
+ itemText?: string;
21
+ value: any;
22
+ }
23
+ declare global {
24
+ interface Navigator {
25
+ msSaveOrOpenBlob: (blob: Blob, fileName: string) => boolean;
26
+ }
27
+ }
28
+ export interface ExportToCSVOptions {
29
+ delimiter?: string;
30
+ items: any[];
31
+ headers?: TableColumn[];
32
+ fileName?: string;
33
+ format?: 'array' | 'file';
34
+ }
35
+ export interface UseCSVOptions<T> {
36
+ onImport?: (items: T[]) => void;
37
+ }
38
+ export declare function useCSV<T>(options?: UseCSVOptions<T>): UseCSVPropsReturn;
39
+ export interface GetCSVOption<T> {
40
+ csvColumnNames: string[];
41
+ onProcessProp?: (v: string, ret: T) => void;
42
+ propName?: string;
43
+ }
44
+ export declare function getCSVItems<T>(csvTxt: string, options: GetCSVOption<T>[], onProcessItem?: (csvItem: string[], item: T) => void): T[];
@@ -0,0 +1,163 @@
1
+ import { isLengthyArray as y, toCompareString as A, fromCamelCase as P, nestedValue as F, toCamelCase as U } from "./helpers.mjs";
2
+ import { useFileDialog as B } from "@vueuse/core";
3
+ import { ref as L, computed as D } from "vue";
4
+ const q = {
5
+ canExportCSV: !1
6
+ };
7
+ function G(v) {
8
+ v ?? (v = {});
9
+ const b = L(), { open: S, onChange: m } = B({
10
+ accept: ".csv",
11
+ multiple: !1
12
+ });
13
+ function R(n) {
14
+ const {
15
+ delimiter: e = ",",
16
+ items: t,
17
+ headers: i,
18
+ fileName: I = "data.csv",
19
+ format: j = "file"
20
+ } = n;
21
+ if (!y(t))
22
+ return;
23
+ let o = [];
24
+ i != null && (o = i == null ? void 0 : i.filter((a) => (a.csv ?? a.csvText ?? a.csvFilter ?? a.csvArray) != null).map((a) => ({
25
+ header: a.title ?? a.value ?? "",
26
+ itemText: a.itemText,
27
+ value: a.value
28
+ }))), y(o) || (o = Object.keys(t[0]).map((a) => ({ header: P(a) ?? "", value: a }))), o = o.filter((a) => a.header.length > 0);
29
+ var s = [];
30
+ for (let a = 0; a < t.length; a++) {
31
+ const E = t[a];
32
+ var C = {}, f = [];
33
+ for (let g = 0; g < o.length; g++) {
34
+ const u = o[g];
35
+ var p = null;
36
+ typeof u.value == "function" ? p = u.value(E) : typeof u.value == "string" && (p = F(E, u.value));
37
+ var d = u.itemText != null ? F(p, u.itemText) : p;
38
+ d != null && typeof d == "string" && (d = d.replaceAll(e, " ").replaceAll(`
39
+ `, "").replaceAll("\r", "")), C[u.header] = d;
40
+ }
41
+ s.push(C), y(f) && f.forEach((g) => {
42
+ s.push(g);
43
+ }), f = [];
44
+ }
45
+ var c = [];
46
+ if (c.push(o.map((a) => a.header).join(e)), s.forEach((a) => {
47
+ let E = [];
48
+ o.forEach(function(g) {
49
+ var u = a[g.header];
50
+ E.push(u ?? "");
51
+ }), c.push(E.join(e));
52
+ }), j == "array")
53
+ return c;
54
+ var V = c.join(`
55
+ `), r = new Blob([V], { type: "text/plain;charset=utf-8" });
56
+ if (window.navigator.msSaveOrOpenBlob)
57
+ window.navigator.msSaveOrOpenBlob(r, I);
58
+ else {
59
+ var l = document.createElement("a"), k = URL.createObjectURL(r);
60
+ l.href = k, l.download = I, document.body.appendChild(l), l.click(), setTimeout(function() {
61
+ document.body.removeChild(l), window.URL.revokeObjectURL(k);
62
+ }, 0);
63
+ }
64
+ }
65
+ function T(n) {
66
+ if (n == null)
67
+ return n;
68
+ var e = n.replaceAll(`
69
+ `, "").replaceAll("\r", ""), t = A(e);
70
+ return t == "true" ? !0 : t == "false" ? !1 : e;
71
+ }
72
+ function N(n) {
73
+ return U(n.replaceAll(" ", "").replaceAll(`
74
+ `, "").replaceAll("\r", ""));
75
+ }
76
+ function h(n) {
77
+ return A(n.replaceAll(" ", "").replaceAll(`
78
+ `, "").replaceAll("\r", "")) ?? "";
79
+ }
80
+ function w(n) {
81
+ m((e) => {
82
+ if ((e == null ? void 0 : e.length) == 1) {
83
+ const t = e[0];
84
+ b.value = "Importing from CSV file.";
85
+ const i = new FileReader();
86
+ i.onload = (I) => {
87
+ var d;
88
+ var j = [];
89
+ const o = (d = I.target) == null ? void 0 : d.result;
90
+ if (o != null) {
91
+ let c = o.split(`
92
+ `);
93
+ if (y(c)) {
94
+ var s = [];
95
+ y(n == null ? void 0 : n.headers) ? s = n.headers.map((r) => {
96
+ var l;
97
+ return typeof r == "string" ? l = {
98
+ headerName: h(r),
99
+ propName: N(r),
100
+ csvInd: void 0
101
+ } : l = {
102
+ headerName: h(r.title ?? r.value ?? ""),
103
+ propName: N(r.value ?? r.title ?? ""),
104
+ csvInd: void 0
105
+ }, l;
106
+ }) : s = c[0].split(",").map((l) => ({
107
+ headerName: h(l),
108
+ propName: N(l),
109
+ csvInd: void 0
110
+ }));
111
+ const V = c[0].split(",");
112
+ if (s.forEach((r) => {
113
+ r.csvInd = V.findIndex((l) => l == r.headerName || l == r.propName || A(l) == A(r.headerName) || A(l) == A(r.propName));
114
+ }), s = s.filter((r) => r.csvInd != null && r.csvInd > -1), c.length > 1)
115
+ for (var C = 1; C < c.length; C++) {
116
+ const r = {};
117
+ var f = c[C].split(","), p = !1;
118
+ if (f.length == 1 && f[0].length == 0)
119
+ break;
120
+ f.length > 0 && s.forEach((l) => {
121
+ f.length > l.csvInd - 1 && (r[l.propName] = T(f[l.csvInd]), p = !0);
122
+ }), p && j.push(r);
123
+ }
124
+ }
125
+ }
126
+ (v == null ? void 0 : v.onImport) != null && v.onImport(j), b.value = void 0;
127
+ }, i.readAsText(t);
128
+ }
129
+ }), S();
130
+ }
131
+ return {
132
+ exportToCSV: R,
133
+ importFromCSV: w,
134
+ loadingMsg: D(() => b.value)
135
+ };
136
+ }
137
+ function J(v, b, S) {
138
+ var m = v.split(`
139
+ `);
140
+ if (!y(m))
141
+ return [];
142
+ const R = m[0].split(",").map((e) => A(e)), T = [];
143
+ var N = [];
144
+ b.forEach((e) => {
145
+ var t = R.findIndex((i) => e.csvColumnNames.some((I) => I == i));
146
+ t >= 0 && T.push({
147
+ opt: e,
148
+ csvInd: t
149
+ });
150
+ }), m.splice(0, 1);
151
+ for (var h = 0; h < m.length; h++) {
152
+ var w = m[h].split(","), n = {};
153
+ S != null && S(w, n), T.forEach((e) => {
154
+ e.opt.onProcessProp != null ? e.opt.onProcessProp(w[e.csvInd], n) : e.opt.propName != null && (n[e.opt.propName] = w[e.csvInd]);
155
+ }), N.push(n);
156
+ }
157
+ return N;
158
+ }
159
+ export {
160
+ q as csvDefaults,
161
+ J as getCSVItems,
162
+ G as useCSV
163
+ };
@@ -0,0 +1,22 @@
1
+ import { DateTime } from 'luxon';
2
+
3
+ export interface BTDates {
4
+ btDate: (val?: string) => DateTime;
5
+ btString: (val?: DateTime) => string;
6
+ /**returns start of day */
7
+ getToday: () => string;
8
+ /**returns start of tomorrow */
9
+ getTomorrow: () => string;
10
+ /**returns current datetime in tz format */
11
+ tzDate: (val?: string, fromFormat?: string) => DateTime;
12
+ tzString: (val?: string, format?: string, fromFormat?: string) => string;
13
+ utcDate: (val?: string, fromFormat?: string) => DateTime;
14
+ utcString: (val?: string, format?: string, fromFormat?: string) => string;
15
+ }
16
+ export interface CreateDatesOptions {
17
+ getTimeZone: () => string;
18
+ getUTC?: () => DateTime;
19
+ }
20
+ export declare const BTDateFormat: string;
21
+ export declare function useDates(): BTDates;
22
+ export declare function createDates(options: CreateDatesOptions): BTDates;
@@ -0,0 +1,61 @@
1
+ import r from "../bt-core/core/node_modules/luxon/src/datetime.mjs";
2
+ import "../bt-core/core/node_modules/luxon/src/duration.mjs";
3
+ const n = "yyyy-MM-dd'T'HH:mm:ss'Z'";
4
+ let f;
5
+ function l() {
6
+ return f;
7
+ }
8
+ function z(o) {
9
+ const u = o.getUTC ?? r.utc;
10
+ function F(t) {
11
+ return t == null ? u() : r.fromFormat(t, n);
12
+ }
13
+ function a(t) {
14
+ return t == null ? u().toFormat(n) : t.toFormat(n);
15
+ }
16
+ function g() {
17
+ return c().startOf("day").toUTC().toFormat(n) ?? "";
18
+ }
19
+ function s() {
20
+ return c().startOf("day").plus({ day: 1 }).toUTC().toFormat(n) ?? "";
21
+ }
22
+ function c(t, e) {
23
+ return t == null ? u().setZone(o.getTimeZone()) : e ? r.fromFormat(t, e, { zone: o.getTimeZone() }) : r.fromISO(t, { zone: o.getTimeZone() });
24
+ }
25
+ function Z(t, e, i) {
26
+ if (t == null) {
27
+ const T = u().setZone(o.getTimeZone());
28
+ return e ? T.toFormat(e) : T.toFormat(n);
29
+ }
30
+ if (t == "Invalid DateTime")
31
+ return "";
32
+ const m = i ? r.fromFormat(t, i, { zone: o.getTimeZone() }) : r.fromISO(t, { zone: o.getTimeZone() });
33
+ return e ? m.toFormat(e) : m == null ? void 0 : m.toFormat(n);
34
+ }
35
+ function d(t, e) {
36
+ return t == null ? u() : e ? r.fromFormat(t, e) : r.fromISO(t);
37
+ }
38
+ function y(t, e, i) {
39
+ if (t == null)
40
+ return e ? u().toFormat(e) : u().toFormat(n);
41
+ {
42
+ const m = i ? r.fromFormat(t, i) : r.fromISO(t);
43
+ return e ? m.toFormat(e) : m.toFormat(n);
44
+ }
45
+ }
46
+ return f = {
47
+ btDate: F,
48
+ btString: a,
49
+ getToday: g,
50
+ getTomorrow: s,
51
+ tzDate: c,
52
+ tzString: Z,
53
+ utcDate: d,
54
+ utcString: y
55
+ }, f;
56
+ }
57
+ export {
58
+ n as BTDateFormat,
59
+ z as createDates,
60
+ l as useDates
61
+ };
@@ -0,0 +1,68 @@
1
+ import { BTAuth } from './auth.ts';
2
+ import { Store, Pinia } from 'pinia';
3
+ import { PathOptions } from './api.ts';
4
+ import { Ref } from 'vue';
5
+
6
+ export type ApiAction = 'get' | 'getAll' | 'delete' | 'post' | 'patch';
7
+ export interface CreateDemoOptions {
8
+ apis?: DemoApiGroup[];
9
+ auth?: BTAuth;
10
+ getProfiles?: () => DemoProfile[];
11
+ getAuthToken?: () => any;
12
+ getOwnerID?: (p: DemoProfile) => string | undefined;
13
+ startInDemo?: boolean;
14
+ }
15
+ export interface DemoProfile {
16
+ description?: string;
17
+ getAuthToken?: () => any;
18
+ id: string;
19
+ isDefault?: boolean;
20
+ navigateTo?: string;
21
+ profileName?: string;
22
+ profileAvatarURL?: string;
23
+ profileIcon?: string;
24
+ }
25
+ export type WithBuyerID<T> = {
26
+ buyerID?: string;
27
+ } & T;
28
+ export type WithCourierID<T> = {
29
+ courierID?: string;
30
+ } & T;
31
+ export type WithCompanyID<T> = {
32
+ companyAccountID?: string;
33
+ } & T;
34
+ export type WithSellerID<T> = {
35
+ sellerID?: string;
36
+ } & T;
37
+ export interface DemoApiGroup {
38
+ defaultFilter?: <T>(list: T[], ownerID?: string) => T[];
39
+ defaultFilterProp?: 'buyerID' | 'courierID' | 'companyAccountID' | 'sellerID' | string;
40
+ nav?: string | string[];
41
+ path?: string;
42
+ data?: any[];
43
+ deleteAction?: <T>(list: T[], itemInd: number) => any;
44
+ getAllAction?: <T>(list: T[], params: any) => T[] | any[];
45
+ getAction?: <T>(list: T[], id?: string) => T | any;
46
+ patchAction?: <T>(list: T[], item: any) => T | any;
47
+ postAction?: <T>(list: T[], item: any) => T | any;
48
+ getActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
49
+ postActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
50
+ patchActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
51
+ }
52
+ export interface BTDemo {
53
+ getProfiles?: () => DemoProfile[];
54
+ endDemo: (goHome?: boolean) => void;
55
+ isDemoing: Ref<boolean>;
56
+ startDemo: (profileID?: string) => void;
57
+ data: DemoApiGroup[];
58
+ deleteItem: (pathOptions: PathOptions) => Promise<any>;
59
+ get: (pathOptions: PathOptions) => Promise<any>;
60
+ getAll: (pathOptions: PathOptions) => Promise<any>;
61
+ post: (pathOptions: PathOptions) => Promise<any>;
62
+ patch: (pathOptions: PathOptions) => Promise<any>;
63
+ }
64
+ export declare function useDemo(): BTDemo;
65
+ export interface ExtendedPinia extends Pinia {
66
+ _s: Map<string, Store>;
67
+ }
68
+ export declare function createDemo(options?: CreateDemoOptions): BTDemo;