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
package/dist/index.d.ts CHANGED
@@ -1,3036 +1,96 @@
1
- import { App } from 'vue';
2
- import { BladeData as BladeData_2 } from '../composables/blade.ts';
3
- import { default as BTAssistantMenu } from './components/BT-Assistant-Menu.vue';
4
- import { default as BTBladeSteps } from './components/BT-Blade-Steps.vue';
5
- import { default as BTColorPickerMenu } from './components/BT-Color-Picker-Menu.vue';
6
- import { default as BTCronSpan } from './components/BT-Cron-Span.vue';
7
- import { default as BTDateSelect } from './components/BT-Date-Select.vue';
8
- import { default as BTDemoProfileSelect } from './components/BT-Demo-Profile-Select.vue';
9
- import { default as BTDialogConfirm } from './components/BT-Dialog-Confirm.vue';
10
- import { default as BTDialogDate } from './components/BT-Dialog-Date.vue';
11
- import { default as BTDialogNumber } from './components/BT-Dialog-Number.vue';
12
- import { default as BTDialogSelect } from './components/BT-Dialog-Select.vue';
13
- import { default as BTFieldSelectSimple } from './components/BT-Field-Select-Simple.vue';
14
- import { default as BTForm } from './components/BT-Form.vue';
15
- import { default as BTFormBuilder } from './components/BT-Form-Builder.vue';
16
- import { default as BTFormField } from './components/BT-Form-Field.vue';
17
- import { default as BTSelectSimple } from './components/BT-Select-Simple.vue';
18
- import { default as BTSquareCheck } from './components/BT-Square-Check.vue';
19
- import { default as BTTour } from './components/BT-Tour.vue';
20
- import { CloseBladeOptions as CloseBladeOptions_2 } from '../composables/blade.ts';
21
- import { ComponentPublicInstance } from 'vue';
22
- import { ComputedRef } from 'vue';
23
- import { createVuetify } from 'vuetify';
24
- import { DateTime } from 'luxon';
25
- import { DisplayInstance } from 'vuetify';
26
- import { IconAliases } from 'vuetify';
27
- import { IconOptions } from 'vuetify';
28
- import { MaybeRefOrGetter } from 'vue';
29
- import { MaybeRefOrGetter as MaybeRefOrGetter_2 } from '@vueuse/core';
30
- import { Pinia } from 'pinia';
31
- import { Position } from '@vueuse/core';
32
- import { Ref } from 'vue';
33
- import { RemovableRef } from '@vueuse/core';
34
- import { RouteLocation } from 'vue-router';
35
- import { RouteLocationNormalized } from 'vue-router';
36
- import { RouteLocationNormalizedLoaded } from 'vue-router';
37
- import { Router } from 'vue-router';
38
- import { ShallowRef } from 'vue';
39
- import { Store } from 'pinia';
40
- import { StoreDefinition } from 'pinia';
41
- import { ThemeInstance } from 'vuetify';
42
- import { UpdateBladeData as UpdateBladeData_2 } from '../composables/blade.ts';
43
- import { WritableComputedRef } from 'vue';
44
-
45
- export declare interface ActionOptions extends StorePathOptions, DoActionOptions {
46
- }
47
-
48
- /**adds and sorts the weekday string */
49
- export declare function addWeekday(weekdays?: string, day?: string): string | undefined;
50
-
51
- declare interface Adjustment {
52
- dateTrigger: string;
53
- isAdjusting?: boolean;
54
- leadTimeLeft: number;
55
- leadTimeRight: number;
56
- replacingDate?: string;
57
- isInSchedule?: boolean;
58
- leadLeftDate?: string;
59
- leadRightDate?: string;
60
- }
61
-
62
- export declare interface AForm extends AFormBase {
63
- slides: AFormSlide[];
64
- }
65
-
66
- declare interface AFormBase {
67
- bgColor?: string;
68
- bgSrc?: string;
69
- ctlColor?: string;
70
- logoSrc?: string;
71
- textColor?: string;
72
- theme?: 'light' | 'dark';
73
- title?: string;
74
- useBgSrc?: boolean;
75
- useLogoSrc?: boolean;
76
- variant?: AFormVariant;
77
- version?: number;
78
- }
79
-
80
- export declare interface AFormField extends AFormFieldBase {
81
- type: FieldType;
82
- }
83
-
84
- declare interface AFormFieldBase {
85
- description?: string;
86
- isRequired?: boolean;
87
- isSubmitButton?: boolean;
88
- label?: string;
89
- mapToProp?: string;
90
- options?: string[];
91
- placeholder?: string;
92
- prop?: string;
93
- remember?: boolean;
94
- url?: string;
95
- }
96
-
97
- export declare interface AFormFieldMeta {
98
- description?: string;
99
- icon?: string;
100
- label?: string;
101
- type: FieldType;
102
- }
103
-
104
- export declare interface AFormRequirements {
105
- group: string;
106
- props: string[];
107
- }
108
-
109
- export declare interface AFormSlide extends AFormSlideBase {
110
- fields: AFormField[];
111
- name: string;
112
- }
113
-
114
- declare interface AFormSlideBase {
115
- canDelete?: boolean;
116
- canEdit?: boolean;
117
- }
118
-
119
- export declare interface AFormTemplate {
120
- description?: string;
121
- form: AForm;
122
- group?: string;
123
- templateName: string;
124
- }
125
-
126
- export declare type AFormVariant = 'basic' | 'half-and-half' | 'single-page';
127
-
128
- export declare interface ApiActionOptions extends StorePathOptions, DoActionOptions {
129
- api?: BTApi;
130
- }
131
-
132
- export declare interface ApiError {
133
- name: string;
134
- code: 401 | 403;
135
- message: string;
136
- }
137
-
138
- declare interface ApiRequestActionOptions extends ApiActionOptions {
139
- method: string;
140
- }
141
-
142
- export declare function appendUrl(originalVal?: string, additionalVal?: string, splittingChar?: string): string;
143
-
144
- export declare interface AuthItem {
145
- children?: AuthItem[];
146
- ignoreSuspension?: boolean;
147
- permissions?: PermissionGroup | PermissionGroup[];
148
- requiresAuth?: boolean;
149
- subscriptions?: string[];
150
- }
151
-
152
- export declare const authKey: unique symbol;
153
-
154
- export declare interface AuthSubscription {
155
- code: string;
156
- value: number;
157
- }
158
-
159
- export declare interface BackgroundTaskDTO {
160
- actionName?: string;
161
- isFinished: boolean;
162
- progress: number;
163
- version: number;
164
- }
165
-
166
- export declare interface BaseAuthCredentials {
167
- expiresOn?: string;
168
- isGlobalAdmin?: boolean;
169
- isLoggedIn?: boolean;
170
- isSuspended?: boolean;
171
- permissions?: string;
172
- refreshExpiresOn?: string;
173
- refreshToken?: string;
174
- subscriptionCode?: string;
175
- timeZone?: string;
176
- token?: string;
177
- userID?: string;
178
- userPermissions?: string[];
179
- }
180
-
181
- export declare interface BaseCosmeticTheme extends Record<string, string> {
182
- primary: string;
183
- }
184
-
185
- declare interface BaseIDModel {
186
- id?: string;
187
- }
188
-
189
- export declare interface BaseInactiveModel {
190
- inactive?: boolean;
191
- }
192
-
193
- export declare interface BaseModel {
194
- id?: string;
195
- }
196
-
197
- export declare interface BaseSettings<T> {
198
- settings: Ref<T>;
199
- }
200
-
201
- declare interface BladeData {
202
- bladeName: string;
203
- bladeGroup: string;
204
- data: any;
205
- show: boolean;
206
- }
207
-
208
- export declare type BladeDensity = 'default' | 'comfortable' | 'compact';
209
-
210
- export declare type BladeMode = 'new' | 'view' | 'edit';
211
-
212
- /**
213
- Inline: merges toolbars | much more compact | hides navigation
214
- Pane: same as inline except shows toolbar colors and titles, etc.
215
- Page: shows navigation and page settings
216
- Blade: shows blade minimize, maximize, close, and pins as a column
217
- Free-moving: show blade as draggable and resizable with minimize, maximize, and close and pinning
218
- */
219
- export declare type BladeVariant = 'page' | 'inline' | 'pane' | 'pure';
220
-
221
- export declare interface BTActions {
222
- actionLoadingMsg: ShallowRef<string | undefined>;
223
- actionErrorMsg: ShallowRef<string | undefined>;
224
- apiGet: <TReturn>(doOptions: ApiActionOptions) => Promise<TReturn | undefined>;
225
- apiPatch: <TReturn>(doOptions: ApiActionOptions) => Promise<TReturn | undefined>;
226
- apiPost: <TReturn>(doOptions: ApiActionOptions) => Promise<TReturn | undefined>;
227
- apiRequest: (doOptions: ApiRequestActionOptions) => Promise<Response | undefined>;
228
- apiUpload: <TReturn>(doOptions: ApiActionOptions) => Promise<TReturn | undefined>;
229
- clearErrors: () => void;
230
- clearStore: (nav: string) => void;
231
- deleteItem: <T>(doOptions: DeleteOptions<T>) => Promise<string | undefined>;
232
- doAction: (action: any, options?: DoActionOptions) => Promise<any>;
233
- expectArray: <T>(doOptions: GetAllOptions<T, T>) => Promise<T[]>;
234
- expectSingle: <T>(doOptions: GetOptions<T, T>) => Promise<T | undefined>;
235
- getAllItems: <T, TReturn>(doOptions: GetAllOptions<T, TReturn>) => Promise<StoreGetAllReturn<T | TReturn> | undefined>;
236
- getItem: <T, TReturn>(doOptions: GetOptions<T, TReturn>) => Promise<StoreGetReturn<T | T[] | TReturn | TReturn[]> | undefined>;
237
- isLoading: ComputedRef<boolean>;
238
- iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
239
- logError: (err?: string | Error) => void;
240
- persistLoading: (startingMsg: string) => void;
241
- releaseLoading: () => void;
242
- restoreItem: <T>(doOptions: RestoreOptions<T>) => Promise<T | undefined>;
243
- saveItem: <T, TSave, TReturn>(doOptions: SaveOptions<T, TSave, TReturn>) => Promise<TReturn | undefined>;
244
- syncItem: <T extends BaseIDModel>(syncOptions: SyncOptions<T>) => Promise<BulkActionResult<T>[] | undefined>;
245
- }
246
-
247
- export declare interface BTApi {
248
- buildHeaders: (options: PathOptions, createOptions?: UseApiOptions) => HeadersInit;
249
- buildQuery: (params: any) => string;
250
- buildUrl: (path: PathOptions) => string;
251
- deleteItem: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
252
- get: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
253
- getAll: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
254
- getBlob: (pathOptions: PathOptions) => Promise<Response>;
255
- post: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
256
- patch: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
257
- request: (pathOptions: RequestPathOptions) => Promise<Response | undefined>;
258
- uploadImage: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
259
- }
260
-
261
- export declare interface BTAssistant {
262
- allItems: HelpLink[];
263
- doShowDialog: (routeName?: string) => boolean;
264
- getLinks: (routeName?: string, tags?: string[]) => HelpLink[];
265
- getPrimaryLinks: (routeName?: string, tags?: string[]) => HelpLink[];
266
- getSecondaryLinks: (routeName?: string, tags?: string[]) => HelpLink[];
267
- hideDialogPermanently: (rotueName?: string) => void;
268
- hideDialogTemporarily: () => void;
269
- hideFeedback: Ref<boolean>;
270
- menuRouteName?: string;
271
- tab: Ref<number>;
272
- }
273
-
274
- export { BTAssistantMenu }
275
-
276
- export declare interface BTAuth {
277
- authState: Ref<string>;
278
- /**Global Admin, everything.edit, *.edit */
279
- canEdit: (navName?: string) => boolean;
280
- canEditPermit: (permit: string) => boolean;
281
- /**Global Admin, everything.view, *.view */
282
- canView: (navName?: string) => boolean;
283
- canViewPermit: (permit: string) => boolean;
284
- credentials: RemovableRef<any>;
285
- doShow: (subcodes?: string[], permissions?: PermissionGroup | PermissionGroup[], action?: 'view' | 'edit') => boolean;
286
- doShowByNav: (navName?: string | AuthItem, includeChildren?: boolean) => boolean;
287
- getAuthorizeUrl: (redirectPath?: string) => string;
288
- getToken: (code?: string, state?: string) => Promise<void>;
289
- isLoggedIn: ComputedRef<boolean>;
290
- login: (redirectPath?: string, query?: any) => void;
291
- logout: (navNameRedirect?: string) => void;
292
- refreshTokenExpired: () => boolean;
293
- resetAuthState: () => void;
294
- setAuth: (jwtToken?: string) => void;
295
- testToken: () => Promise<boolean>;
296
- timeZone: ComputedRef<string>;
297
- tokenExpired: () => boolean;
298
- tryLogin: (redirectPath?: string, query?: any) => boolean | undefined;
299
- tryRefreshToken: () => Promise<void>;
300
- }
301
-
302
- export declare interface BTBackgroundTask {
303
- startTask: (pathOptions?: PathOptions) => Promise<void>;
304
- task: ComputedRef<BackgroundTaskDTO | undefined>;
305
- }
306
-
307
- export declare interface BTBackgroundTasks {
308
- getProgressFor: (actionName: string) => number | undefined;
309
- refresh: () => Promise<void>;
310
- startTask: (actionName: string, pathOptions?: PathOptions) => Promise<void>;
311
- tasks: Ref<BackgroundTaskDTO[]>;
312
- }
313
-
314
- export declare interface BTBlade<T extends GetOptions<any, any>> {
315
- blades: Ref<BladeData[]>;
316
- bladeData: BladeData;
317
- closeBlade: (options?: CloseBladeOptions) => void;
318
- closeBladeAsync: (options?: CloseBladeOptions) => Promise<void>;
319
- isMobile: Ref<boolean>;
320
- isShowing: ComputedRef<(bladeName?: string) => boolean>;
321
- updateBlade: (data: UpdateBladeData<T>) => void;
322
- variant: Ref<BladeVariant>;
323
- }
324
-
325
- export { BTBladeSteps }
326
-
327
- export declare interface BTBlobStore extends Store<any, {}, {}, {
328
- getBlob: (dOptions: StorePathOptions) => Promise<Blob | undefined>;
329
- }> {
330
- }
331
-
332
- export declare interface BTBlobStoreDefinition extends StoreDefinition<any, {}, {}, {
333
- getBlob: (dOptions: StorePathOptions) => Promise<Blob | undefined>;
334
- }> {
335
- }
336
-
337
- export declare interface BTColorizer {
338
- getColor: () => string;
339
- getSpecificColor: (ind: number) => string;
340
- }
341
-
342
- export { BTColorPickerMenu }
343
-
344
- export declare interface BTCosmetics {
345
- state: Ref<CosmeticData>;
346
- currentSet: ComputedRef<BaseCosmeticTheme>;
347
- resetCosmetics: (toDefault: boolean) => void;
348
- saveState: () => void;
349
- setTemporaryColor: (color: string) => void;
350
- toggleDrawer: () => void;
351
- toggleDrawerStick: () => void;
352
- toggleLightDark: () => void;
353
- updateDrawer: (isOpen: boolean) => void;
354
- undoTemporaryColor: () => void;
355
- }
356
-
357
- export declare interface BTCreateMenu {
358
- /**filter to only these groups */
359
- currentGroup: Ref<string | undefined>;
360
- /**filter to only menu items with this subscription view */
361
- currentView: Ref<string | undefined>;
362
- groupOptions: Ref<MenuGroup[]>;
363
- /**whether to read from vue routes or just purely the given groups */
364
- useRoutes?: boolean;
365
- }
366
-
367
- export { BTCronSpan }
368
-
369
- export declare const BTDateFormat: string;
370
-
371
- export declare interface BTDates {
372
- btDate: (val?: string) => DateTime;
373
- btString: (val?: DateTime) => string;
374
- /**returns start of day */
375
- getToday: () => string;
376
- /**returns start of tomorrow */
377
- getTomorrow: () => string;
378
- /**returns current datetime in tz format */
379
- tzDate: (val?: string, fromFormat?: string) => DateTime;
380
- tzString: (val?: string, format?: string, fromFormat?: string) => string;
381
- utcDate: (val?: string, fromFormat?: string) => DateTime;
382
- utcString: (val?: string, format?: string, fromFormat?: string) => string;
383
- }
384
-
385
- export { BTDateSelect }
386
-
387
- export declare interface BTDemo {
388
- getProfiles?: () => DemoProfile[];
389
- endDemo: (goHome?: boolean) => void;
390
- isDemoing: Ref<boolean>;
391
- startDemo: (profileID?: string) => void;
392
- data: DemoApiGroup[];
393
- deleteItem: (pathOptions: PathOptions) => Promise<any>;
394
- get: (pathOptions: PathOptions) => Promise<any>;
395
- getAll: (pathOptions: PathOptions) => Promise<any>;
396
- post: (pathOptions: PathOptions) => Promise<any>;
397
- patch: (pathOptions: PathOptions) => Promise<any>;
398
- }
399
-
400
- export { BTDemoProfileSelect }
401
-
402
- export { BTDialogConfirm }
403
-
404
- export { BTDialogDate }
405
-
406
- export { BTDialogNumber }
407
-
408
- export { BTDialogSelect }
409
-
410
- export declare interface BTDocumentMeta {
411
- updateMeta: (to: RouteLocationNormalized) => void;
412
- }
413
-
414
- export declare interface BTFeedback {
415
- loadingMsg: ShallowRef<string | undefined>;
416
- sendAsync: (obj: FeedbackDTO) => Promise<boolean>;
417
- }
418
-
419
- export { BTFieldSelectSimple }
420
-
421
- export declare interface BTFilters {
422
- findFilter: (mFilter: string | undefined) => Function;
423
- }
424
-
425
- export { BTForm }
426
-
427
- export { BTFormBuilder }
428
-
429
- export { BTFormField }
430
-
431
- export declare interface BTGlobalBlades {
432
- blades: Ref<BladeData[]>;
433
- closeBlade: (options?: CloseBladeOptions) => void;
434
- isShowing: ComputedRef<(bladeName?: string) => boolean>;
435
- updateBlade: <T, TReturn>(data: UpdateBladeData<GetOptions<T, TReturn>>) => void;
436
- }
437
-
438
- export declare interface BTGraphs {
439
- getDataForChartJS: <T>(options: GetXYOptions<T>[], chartType?: ChartType, chartOptions?: any) => GetChartResult;
440
- getBarChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
441
- getGraphData: <T>(options: GetGraphDataOptions<T>, chartOptions?: any) => GetChartResult;
442
- getPieData: (labels: string[], values: number[], chartOptions?: any) => GetChartResult;
443
- getPieChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
444
- getXY: <T>(options: GetXYOptions<T>) => GraphedData[];
445
- getRawXY: <T>(options: GetRawXYOptions<T>) => GraphedData[];
446
- }
447
-
448
- export declare interface BTMenu extends BTCreateMenu {
449
- sidebarNavItems: ComputedRef<MenuGroup[]>;
450
- }
451
-
452
- export declare interface BTNavigation {
453
- showAppBar: Ref<boolean>;
454
- showAppNavigation: Ref<boolean>;
455
- showBottomNavigation: Ref<boolean>;
456
- backgroundName: Ref<string | undefined>;
457
- backgroundURL: Ref<string | undefined>;
458
- hesitate: Ref<boolean>;
459
- navHistory: Ref<RouteLocation[]>;
460
- navigationItems: NavigationItem[];
461
- findArchiveName: (navName?: string | NavigationItem) => string | undefined;
462
- findCacheHours: (navName?: string | NavigationItem) => number;
463
- findDisplay: (navName?: string | NavigationItem) => string | undefined;
464
- findIcon: (navName?: string | NavigationItem) => string | undefined;
465
- findItem: (navName?: string | NavigationItem) => NavigationItem | null;
466
- findItemText: (navName?: string | NavigationItem) => string | undefined;
467
- findStoreName: (navName?: string | NavigationItem) => string | undefined;
468
- findPath: (navName?: string | NavigationItem) => string | undefined;
469
- findSingleDisplay: (navName?: string | NavigationItem) => string | undefined;
470
- updateBackgroundID: (id?: string) => void;
471
- updateNavigationChange: (to: RouteLocationNormalized, from?: RouteLocationNormalized, isReplacement?: boolean) => void;
472
- }
473
-
474
- export declare interface BTPresets {
475
- usePresets(preset?: string): any;
476
- }
477
-
478
- export declare interface BTPWA {
479
- canInstallApp: Ref<boolean>;
480
- canUpdateApp: Ref<boolean>;
481
- installApp: () => void;
482
- isInstalled: () => boolean;
483
- showIOSPrompt: Ref<boolean>;
484
- updateApp: () => void;
485
- }
486
-
487
- export { BTSelectSimple }
488
-
489
- export { BTSquareCheck }
490
-
491
- export declare interface BTStore extends Store<any, {}, {}, {
492
- $reset: () => void;
493
- deleteItem: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
494
- get: <T>(dOptions: StorePathOptions) => Promise<StoreGetReturn<T>>;
495
- getAll: <T>(dOptions: StorePathOptions) => Promise<StoreGetAllReturn<T>>;
496
- patch: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
497
- post: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
498
- restore: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
499
- }> {
500
- }
501
-
502
- export declare interface BTStoreDefinition extends StoreDefinition<any, {}, {}, {
503
- $reset: () => void;
504
- deleteItem: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
505
- get: <T>(dOptions: StorePathOptions) => Promise<StoreGetReturn<T>>;
506
- getAll: <T>(dOptions: StorePathOptions) => Promise<StoreGetAllReturn<T>>;
507
- patch: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
508
- post: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
509
- restore: <T>(dOptions: StorePathOptions) => Promise<T | undefined>;
510
- }> {
511
- }
512
-
513
- export { BTTour }
514
-
515
- export declare interface BTUseDialog {
516
- options: BTUseDialogOption[];
517
- }
518
-
519
- export declare interface BTUseDialogOption extends RegisterDialogOptions {
520
- }
521
-
522
- export declare interface BulkActionResult<T> {
523
- item?: T;
524
- isSuccess?: boolean;
525
- msg?: string;
526
- }
527
-
528
- export declare function capitalizeWords(val?: string): string | undefined;
529
-
530
- export declare interface ChartJSData {
531
- datasets: ChartJSDataSet[];
532
- labels?: string[];
533
- }
534
-
535
- export declare interface ChartJSDataPoint {
536
- x: string | number;
537
- y: string | number;
538
- }
539
-
540
- export declare interface ChartJSDataSet {
541
- backgroundColor?: string | string[];
542
- borderColor?: string | string[];
543
- data: number[] | any[][] | ChartJSDataPoint[] | any[];
544
- label?: string;
545
- parsing?: ChartJSParsing;
546
- }
547
-
548
- export declare interface ChartJSOptions {
549
- responsive?: boolean;
550
- parsing?: ChartJSParsing;
551
- }
552
-
553
- export declare interface ChartJSParsing {
554
- yAxisKey?: string;
555
- xAxisKey?: string;
556
- }
557
-
558
- export declare type ChartType = 'line' | 'bar' | 'pie';
559
-
560
- export declare function checkImage(url: string, onGood: (this: GlobalEventHandlers, ev: Event) => void, onBad: OnErrorEventHandler): void;
561
-
562
- declare interface CloseBladeOptions {
563
- all?: boolean;
564
- except?: string | string[];
565
- mode?: 'remove' | 'hide';
566
- bladeName?: string | string[];
567
- }
568
-
569
- export declare function compareString(str?: string): string | undefined;
570
-
571
- /**whether string is contained somewhere in this value */
572
- export declare function containsSearch(value?: string | number, str?: string): boolean;
573
-
574
- /**whether the csv string contains the weekday
575
- * returns true if either prop is undefined
576
- */
577
- export declare function containsWeekday(weekdays?: string, wkDay?: string): boolean;
578
-
579
- /**copies object and all descendant properties */
580
- export declare function copyDeep<T>(aObject: T): T;
581
-
582
- /**copies object and returns copied object with descendant properties placed in alphabetical order */
583
- export declare function copyItemByAlphabet(aObject: any): any;
584
-
585
- export declare interface CoreApp {
586
- install(app: App, options: any): void;
587
- }
588
-
589
- export declare interface CosmeticData {
590
- dark?: BaseCosmeticTheme;
591
- drawer?: boolean;
592
- drawerStick?: boolean;
593
- light?: BaseCosmeticTheme;
594
- theme?: string;
595
- }
596
-
597
- declare interface CreateAForm {
598
- form: AForm;
599
- addSlide: (slideName: string, furtherProps?: AFormSlideBase) => CreateAForm;
600
- addField: (t: FieldType, furtherProps?: AFormFieldBase) => CreateAForm;
601
- }
602
-
603
- export declare function createAForm(furtherProps?: AFormBase): CreateAForm;
604
-
605
- export declare function createApi(options?: UseApiOptions): BTApi;
606
-
607
- export declare function createAssistant(options?: CreateAssistantOptions): BTAssistant;
608
-
609
- export declare interface CreateAssistantOptions {
610
- firstFeedbackAfterDays?: number;
611
- feedbackAfterDays?: number;
612
- helpMenuRoute?: string;
613
- hideFeedback?: boolean;
614
- items: HelpLink[];
615
- storageKey?: string;
616
- }
617
-
618
- export declare function createAuth(options: CreateAuthOptions): BTAuth;
619
-
620
- export declare interface CreateAuthOptions {
621
- defaultTimeZone?: string;
622
- /**expiry token date format. Defaults to 'd/MM/yyyy h:mm:ss a' */
623
- expiryTokenFormat?: string;
624
- /**OVERRIDES CORE DEFAULT. retrieve the auth item */
625
- getAuthItem?: (navName?: string | AuthItem) => AuthItem | null;
626
- /**OVERRIDES DEFAULT. the url to start the OAuth 2.0 process */
627
- getAuthorizeUrl?: (redirectPath?: string, state?: string) => string;
628
- /**OVERRIDES DEFAULT. use the given code and generate the url to convert to an access token */
629
- getTokenUrl?: (code: string, redirect_uri: string, grant_type: string, client_id: string) => string;
630
- /**OVERRIDES DEFAULT. */
631
- getToken?: (code?: string, state?: string) => Promise<void>;
632
- getTokenTestUrl?: (token: string) => string;
633
- menu?: BTCreateMenu;
634
- oauthGrantType?: string;
635
- oauthClientID?: string;
636
- /**sets current credentials on top of default function
637
- * for processing the token payload and applying to state
638
- */
639
- processTokenPayload?: (state: RemovableRef<any>, payload: any) => void;
640
- router?: Router;
641
- /**suboptions */
642
- subscriptionOptions?: AuthSubscription[];
643
- /**tests whether token is still valid after receiving a 401 Unauthorized Response */
644
- testToken?: (code?: string) => Promise<boolean>;
645
- /**where to route to if token is no longer valid */
646
- tokenInvalidPath?: string;
647
- /**overrides refresh token and all params below */
648
- tryRefreshToken?: (authObj?: any) => Promise<void>;
649
- /**how many minutes left on refresh expiry before refreshing | Defaults to 10,800 (7 days) */
650
- tokenRefreshMinuteWindow?: number;
651
- /**if UseTokenRefresh */
652
- tokenRefreshPath?: string;
653
- /**whether to use token refreshing */
654
- useTokenRefresh?: boolean;
655
- }
656
-
657
- export declare function createBackgroundTasks(options: CreateBackgroundTasksOptions): BTBackgroundTasks;
658
-
659
- export declare interface CreateBackgroundTasksOptions {
660
- api?: BTApi;
661
- nav: string;
662
- pollSeconds?: number;
663
- }
664
-
665
- export declare function createBlobStoreBuilder(options: CreateStoreBuilderOptions): (opt: CreateBlobStoreOptions) => BTBlobStoreDefinition;
666
-
667
- export declare function createBlobStoreDefinition(options: UseBlobStoreOptions): BTBlobStoreDefinition;
668
-
669
- declare interface CreateBlobStoreOptions {
670
- /**whether to store data locally or only for the duration of the session */
671
- storageMode?: StorageMode;
672
- /**the nav item or name of this store */
673
- nav: string;
674
- }
675
-
676
- declare interface CreateComponentConfigOptions {
677
- editVariant?: EditVariant;
678
- viewVariant?: ViewVariant;
679
- }
680
-
681
- export declare function createCore(options: CreateCoreOptions): CoreApp;
682
-
683
- export declare interface CreateCoreOptions {
684
- api?: UseApiOptions;
685
- assistant?: CreateAssistantOptions;
686
- auth: CreateAuthOptions;
687
- backgroundTasks?: CreateBackgroundTasksOptions;
688
- componentConfig?: CreateComponentConfigOptions;
689
- cosmetics?: UseCosmeticsOptions<BaseCosmeticTheme>;
690
- demo?: CreateDemoOptions;
691
- feedback?: CreateFeedbackOptions;
692
- filters?: any;
693
- forms?: CreateFormsOptions;
694
- heights?: CreateHeightOptions;
695
- includeComponents?: boolean;
696
- menu?: CreateMenuOptions;
697
- navigation?: UseNavigationOptions;
698
- presets?: any;
699
- pwa?: CreatePWAOptions;
700
- /**suboptions */
701
- subscriptionOptions?: AuthSubscription[];
702
- urls: CreateUrlOptions;
703
- }
704
-
705
- export declare function createCosmetics<T extends BaseCosmeticTheme>(options: UseCosmeticsOptions<T>): BTCosmetics;
706
-
707
- export declare function createDates(options: CreateDatesOptions): BTDates;
708
-
709
- export declare interface CreateDatesOptions {
710
- getTimeZone: () => string;
711
- getUTC?: () => DateTime;
712
- }
713
-
714
- export declare function createDemo(options?: CreateDemoOptions): BTDemo;
715
-
716
- export declare interface CreateDemoOptions {
717
- apis?: DemoApiGroup[];
718
- auth?: BTAuth;
719
- getProfiles?: () => DemoProfile[];
720
- getAuthToken?: () => any;
721
- getOwnerID?: (p: DemoProfile) => string | undefined;
722
- startInDemo?: boolean;
723
- }
724
-
725
- export declare function createFeedback(options?: CreateFeedbackOptions): {
726
- loadingMsg: ShallowRef<string | undefined>;
727
- sendAsync: (obj: FeedbackDTO) => Promise<boolean>;
728
- };
729
-
730
- export declare interface CreateFeedbackOptions {
731
- /**Whether to keep this instance as current or to handle separately */
732
- createSeparately?: boolean;
733
- /**OVERRIDES DEFAULT final url which is [UseDataURL] + [feedbackURL] */
734
- feedbackFinalURL?: string;
735
- /**OVERRIDES DEFAULT which is '/api/v1/Feedback/post' */
736
- feedbackURL?: string;
737
- }
738
-
739
- export declare function createFilters(options: UseFiltersOptions): BTFilters;
740
-
741
- export declare function createForms(options?: CreateFormsOptions): CreateFormsOptions;
742
-
743
- export declare interface CreateFormsOptions {
744
- requirementSets: AFormRequirements[];
745
- templates: AFormTemplate[];
746
- }
747
-
748
- export declare function createGraphs(opt: CreateGraphsOptions): BTGraphs;
749
-
750
- export declare interface CreateGraphsOptions {
751
- dates: BTDates;
752
- }
753
-
754
- export declare interface CreateHeightOptions {
755
- display?: DisplayInstance;
756
- navigation?: BTNavigation;
757
- getUsedHeight?: (display?: DisplayInstance, navigation?: BTNavigation) => number;
758
- }
759
-
760
- export declare function createMenu(options?: CreateMenuOptions): BTCreateMenu;
761
-
762
- export declare interface CreateMenuOptions {
763
- default?: string;
764
- groups?: MenuGroup[];
765
- /**whether to read from vue routes or just purely the given groups */
766
- useRoutes?: boolean;
767
- }
768
-
769
- export declare function createNavigation(options: UseNavigationOptions): BTNavigation;
770
-
771
- export declare function createPresets(options: CreatePresetsOptions): BTPresets;
772
-
773
- export declare interface CreatePresetsOptions {
774
- presets?: any;
775
- }
776
-
777
- export declare function createPWA(options: UsePWAOptions): BTPWA;
778
-
779
- declare interface CreatePWAOptions {
780
- appleAppUrl?: string;
781
- microsoftAppUrl?: string;
782
- playstoreAppUrl?: string;
783
- registerServiceWorker?: boolean;
784
- usePWA?: boolean;
785
- }
786
-
787
- export declare function createSessionStoreDefinition(options: UseSessionStoreOptions): BTStoreDefinition;
788
-
789
- export declare function createStoreBuilder(options: CreateStoreBuilderOptions): (opt: CreateStoreOptions) => BTStoreDefinition;
790
-
791
- declare interface CreateStoreBuilderOptions {
792
- /**ideally required. Otherwise will struggle to find url path */
793
- api?: BTApi;
794
- /**ideally required. For setting unique local storage keys */
795
- auth?: BTAuth;
796
- /**build a query. Overrides the default */
797
- builderQuery?: (params: any) => string;
798
- /**overrides the default */
799
- buildUrl?: (path: PathOptions) => string;
800
- dates: BTDates;
801
- demo?: BTDemo;
802
- /**ideally required. For determining store mode */
803
- navigation?: BTNavigation;
804
- }
805
-
806
- declare interface CreateStoreOptions {
807
- /**particularly what store syle to use */
808
- storeMode?: StoreMode;
809
- /**whether to store data locally or only for the duration of the session */
810
- storageMode?: StorageMode;
811
- /**the nav item or name of this store */
812
- nav: string;
813
- proxyID?: string;
814
- }
815
-
816
- export declare function createUrl(options: CreateUrlOptions): CreateUrlOptions;
817
-
818
- export declare interface CreateUrlOptions {
819
- getDocTitle?: () => string | undefined;
820
- getEnv?: () => string;
821
- production: UrlSet;
822
- staging: UrlSet;
823
- development: UrlSet;
824
- }
825
-
826
- export { createVuetify }
827
-
828
- export declare function createWholeLastUpdateStoreDefinition(options: UseWholeLastUpdateStoreOptions): BTStoreDefinition;
829
-
830
- declare type CronRegularity = 'Daily' | 'Weekly' | 'Monthly' | 'Custom';
831
-
832
- export declare function csvContains(value?: string, tag?: string): boolean;
833
-
834
- export declare const csvDefaults: {
835
- canExportCSV: boolean;
836
- };
837
-
838
- export declare interface CSVItem {
839
- header: string;
840
- itemText?: string;
841
- value: any;
842
- }
843
-
844
- export declare interface CSVProps {
845
- canExportCSV?: boolean;
846
- }
847
-
848
- export declare interface CustomFilterParam {
849
- name: string;
850
- filterFunction: () => string;
851
- onFilterResult: Function | null;
852
- }
853
-
854
- export declare function DataURIToBlob(dataURI: any): Blob;
855
-
856
- /**must be an object. Returns a flat map of all items in the prop selector */
857
- export declare function deepSelect(obj: any, propSelector?: Function): any[];
858
-
859
- export declare interface DeleteOptions<T> extends StoreAction, StorePathOptions, DoActionOptions {
860
- /**only applies if connecting to store */
861
- deleteStrat?: 'soft' | undefined;
862
- /**Returns a string if cannot */
863
- onCanDeleteAsync?: OnCanDoAsync<T>;
864
- /**Will override the default store delete action */
865
- onDeleteAsync?: OnDoActionAsync<T>;
866
- /**Will open a dialog box requesting user confirmation for delete action */
867
- onDeleteSuccessAsync?: OnDoMaybeSuccessAsync<T, T>;
868
- }
869
-
870
- declare interface DeleteOptions_2 extends StorePathOptions, DoActionOptions {
871
- id?: string;
872
- nav: string;
873
- }
874
-
875
- export declare interface DemoApiGroup {
876
- defaultFilter?: <T>(list: T[], ownerID?: string) => T[];
877
- defaultFilterProp?: 'buyerID' | 'courierID' | 'companyAccountID' | 'sellerID' | string;
878
- nav?: string | string[];
879
- path?: string;
880
- data?: any[];
881
- deleteAction?: <T>(list: T[], itemInd: number) => any;
882
- getAllAction?: <T>(list: T[], params: any) => T[] | any[];
883
- getAction?: <T>(list: T[], id?: string) => T | any;
884
- patchAction?: <T>(list: T[], item: any) => T | any;
885
- postAction?: <T>(list: T[], item: any) => T | any;
886
- getActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
887
- postActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
888
- patchActions?: Record<string, <T>(list: T[], pathOptions?: PathOptions, id?: string) => any>;
889
- }
890
-
891
- export declare const demoKey: unique symbol;
892
-
893
- export declare interface DemoProfile {
894
- description?: string;
895
- getAuthToken?: () => any;
896
- id: string;
897
- isDefault?: boolean;
898
- navigateTo?: string;
899
- profileName?: string;
900
- profileAvatarURL?: string;
901
- profileIcon?: string;
902
- }
903
-
904
- export declare type DialogResolve<T> = (value: DialogReturn<T> | PromiseLike<DialogReturn<T>>) => void;
905
-
906
- export declare interface DialogReturn<T> {
907
- isError: boolean;
908
- isCancelled: boolean;
909
- isConfirmed: boolean;
910
- result?: T;
911
- }
912
-
913
- export declare function distinct<T>(list: T[], compareFunc?: string | ((item: T) => any)): T[];
914
-
915
- export declare interface DoActionOptions {
916
- completionMsg?: string;
917
- confirmationMsg?: string;
918
- errorMsg?: string;
919
- loadingMsg?: string;
920
- onFinished?: () => void;
921
- onError?: (err: any) => any;
922
- requireConfirmation?: boolean;
923
- stringifyError?: (err: any) => string;
924
- throwError?: boolean;
925
- }
926
-
927
- /**remove all items with a certain predicate and add item to the first predicate or at the end of the list */
928
- export declare function dropAndAddToList<T>(arr?: T[], itemToAdd?: T, pred?: (item: T) => boolean): number;
929
-
930
- export declare function dropFromList<T>(arr?: T[], pred?: (item: T) => boolean): number;
931
-
932
- declare type EditVariant = 'outlined' | 'plain' | 'underlined' | 'filled' | 'solo' | 'solo-inverted' | 'solo-filled';
933
-
934
- declare type Environment = 'production' | 'staging' | 'development';
935
-
936
- export declare function expectArray<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T[] | undefined;
937
-
938
- export declare function expectArrayReturn<T>(res: StoreGetReturn<T | T[]> | undefined): StoreGetReturn<T[]> | undefined;
939
-
940
- export declare function expectSingle<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T | undefined;
941
-
942
- export declare function expectSingleReturn<T>(res: StoreGetReturn<T | T[]> | undefined): StoreGetReturn<T> | undefined;
943
-
944
- export declare interface ExportToCSVOptions {
945
- delimiter?: string;
946
- items: any[];
947
- headers?: TableColumn[];
948
- fileName?: string;
949
- format?: 'array' | 'file';
950
- }
951
-
952
- export declare interface ExtendedPinia extends Pinia {
953
- _s: Map<string, Store>;
954
- }
955
-
956
- export declare function extensionExists(elementId?: string): boolean;
957
-
958
- export declare interface ExternalParty {
959
- additionalUrl: string;
960
- canUnlink: boolean;
961
- externalTextProp?: string;
962
- localIDProp: string;
963
- party: string;
964
- }
965
-
966
- export declare const externalUses: string[];
967
-
968
- export declare function extractErrorDescription(error: any): string;
969
-
970
- export declare interface FeedbackDTO {
971
- msg?: string;
972
- rating?: number;
973
- route?: string;
974
- }
975
-
976
- export declare const Fields: AFormFieldMeta[];
977
-
978
- export declare type FieldType = 'info' | 'short-text' | 'long-text' | 'number' | 'checkbox' | 'button' | 'date' | 'email' | 'phone' | 'file' | 'select';
979
-
980
- /**
981
- Inline: merges toolbars | much more compact | hides navigation
982
- Page: shows navigation and page settings
983
- Blade: shows blade minimize, maximize, close, and pins as a column
984
- Free-moving: show blade as draggable and resizable with minimize, maximize, and close and pinning
985
- */
986
- export declare type FieldVariant = 'underlined' | 'outlined' | 'filled' | 'solo' | 'solo-inverted' | 'solo-filled' | 'plain';
987
-
988
- declare type FindPath = (navName?: string) => string | undefined;
989
-
990
- export declare function findYouTubeAvatar(url?: string): string | undefined;
991
-
992
- /**
993
- *
994
- * @param val Converts string from camel case to every word being capitalized and spaces between
995
- * @returns
996
- */
997
- export declare function fromCamelCase(val?: string): string | undefined;
998
-
999
- export declare interface GeoCoordinate {
1000
- lat?: number;
1001
- lng?: number;
1002
- }
1003
-
1004
- export declare interface GetAllOptions<T, TReturn> extends StoreAction, StorePathOptions, DoActionOptions {
1005
- /**returns an error msg if failed */
1006
- onGetAsync?: OnGetAllAsync<T>;
1007
- /**called after get occurs successfully */
1008
- onGetSuccessAsync?: OnGetAllSuccessAsync<T, TReturn>;
1009
- }
1010
-
1011
- export declare interface GetBarChartOptions<T> {
1012
- getBottomLabel: (item: T) => string;
1013
- getXYSets: GetXYSet<T>[];
1014
- list: T[];
1015
- }
1016
-
1017
- export declare interface GetChartResult {
1018
- chartType: ChartType;
1019
- data: ChartJSData;
1020
- options?: ChartJSOptions;
1021
- }
1022
-
1023
- export declare function getColors(): string[];
1024
-
1025
- export declare function getCSVItems<T>(csvTxt: string, options: GetCSVOption<T>[], onProcessItem?: (csvItem: string[], item: T) => void): T[];
1026
-
1027
- export declare interface GetCSVOption<T> {
1028
- csvColumnNames: string[];
1029
- onProcessProp?: (v: string, ret: T) => void;
1030
- propName?: string;
1031
- }
1032
-
1033
- export declare interface GetDataSetOptions<T> {
1034
- backgroundColor?: string;
1035
- borderColor?: string;
1036
- data: T[];
1037
- getBackgroundColor?: (item: T, ind: number, colorizer: BTColorizer) => string;
1038
- getLabelValue: (item: T) => string;
1039
- getValue: (item: T) => number | undefined;
1040
- groupValues?: boolean;
1041
- lineLabel?: string;
1042
- noBackgroundColor?: boolean;
1043
- noBorderColor?: boolean;
1044
- }
1045
-
1046
- /**
1047
- *
1048
- * @param value converts location to a single string and standardizes state and road names, etc.
1049
- * @returns
1050
- */
1051
- export declare function getGoogleMapsLocationLine(value: any): string;
1052
-
1053
- export declare interface GetGraphDataOptions<T> {
1054
- chartType?: ChartType;
1055
- datasets: GetDataSetOptions<T>[];
1056
- fillGaps?: boolean;
1057
- labelFormat?: 'day' | 'week' | 'month' | 'year';
1058
- labelFormatFilter?: string;
1059
- labelFormatString?: string;
1060
- }
1061
-
1062
- export declare function getImageData(url?: string, throwErrorOnFail?: boolean): Promise<unknown>;
1063
-
1064
- declare interface GetLabelOptions<T> {
1065
- item: T;
1066
- meta: any;
1067
- }
1068
-
1069
- export declare function getLocationLine(value: any, forGoogle?: boolean): string;
1070
-
1071
- export declare function getLocationLineOne(value: any): string;
1072
-
1073
- export declare function getLocationLineTwo(value: any): string;
1074
-
1075
- export declare function getMinDate(): number;
1076
-
1077
- export declare function getMinDateString(): string;
1078
-
1079
- export declare interface GetOptions<T, TReturn> extends StoreAction, StorePathOptions, DoActionOptions {
1080
- /**returns an error msg if failed */
1081
- onGetAsync?: OnGetAsync<T>;
1082
- /**called after get occurs successfully */
1083
- onGetSuccessAsync?: OnGetSuccessAsync<T, TReturn>;
1084
- }
1085
-
1086
- export declare function getOtherColors(): string[];
1087
-
1088
- export declare function getRandomColor(): string;
1089
-
1090
- export declare interface GetRawXYOptions<T> {
1091
- list: T[];
1092
- getXAxis?: (item: T) => string | number;
1093
- getXLabel?: (item: string | number) => string;
1094
- xProp?: string;
1095
- getYValue?: (item: T) => number;
1096
- getYGroupValue?: (items: T[]) => number;
1097
- yProp?: string;
1098
- }
1099
-
1100
- export declare interface GetStorageKeyOptions {
1101
- credentials?: any;
1102
- itemID?: string;
1103
- proxyID?: string;
1104
- start: string;
1105
- storeName?: string;
1106
- userID?: string;
1107
- }
1108
-
1109
- export declare interface GetXYOptions<T> extends GetRawXYOptions<T> {
1110
- fillGaps?: boolean;
1111
- label?: string;
1112
- list: T[];
1113
- /**can be a filter or a time format */
1114
- xLabelFilter?: string;
1115
- xSpan: 'hour' | 'day' | 'week' | 'month' | 'year';
1116
- xSpanProp: string | ((item: T) => string);
1117
- }
1118
-
1119
- export declare interface GetXYSet<T> {
1120
- getLabel: () => string;
1121
- getValue: (item: T) => number;
1122
- }
1123
-
1124
- export declare interface GraphedData {
1125
- xValue: string | number;
1126
- xLabel?: string | number;
1127
- yValue: number;
1128
- }
1129
-
1130
- export declare function group<T>(list: T[], keyGetter: string | ((item: T) => string | number)): Map<any, any>;
1131
-
1132
- export declare function groupArrays<T>(array: T[], keyGetter: (item: T) => string | undefined, defaultKey: string): T[][];
1133
-
1134
- export declare function groupBy<T>(array: T[], keyGetter: (item: T) => string | undefined, defaultKey: string): Map<string, T[]>;
1135
-
1136
- export declare interface GroupedArray<T> {
1137
- key: string;
1138
- values: T[];
1139
- }
1140
-
1141
- export declare interface GroupedHeaderOption {
1142
- position: number;
1143
- values: TableColumn[];
1144
- }
1145
-
1146
- export declare function guardRoute(to: RouteLocationNormalized, from: RouteLocationNormalized, restrictedName: string, loggedInHome: string): {
1147
- name: string;
1148
- path?: undefined;
1149
- } | {
1150
- path: string;
1151
- name?: undefined;
1152
- } | undefined;
1153
-
1154
- /**tests for whether string is contains in any of the given props of the given value */
1155
- export declare function hasSearch(value: any, str?: string, props?: string[]): boolean;
1156
-
1157
- export declare function hasSteps(id: string): boolean;
1158
-
1159
- export declare interface HeightOptions {
1160
- getStyle: (actualUsedHeight?: number) => string;
1161
- getUsedHeight: (inAdditionTo?: number) => number;
1162
- }
1163
-
1164
- export declare interface HelpLink {
1165
- categories?: string[];
1166
- description?: string;
1167
- icon?: string;
1168
- id: string;
1169
- isAlways?: boolean;
1170
- routeNames?: string[];
1171
- sort?: number;
1172
- subtitle?: string;
1173
- tags?: string[];
1174
- title?: string;
1175
- url?: string;
1176
- }
1177
-
1178
- export declare interface ImportFromCSVOptions {
1179
- headers?: Array<TableColumn | string>;
1180
- }
1181
-
1182
- export declare interface InstallCoreOptions {
1183
- vuetifyInstance?: ThemeInstance;
1184
- vuetifyDisplay?: DisplayInstance;
1185
- router?: Router;
1186
- }
1187
-
1188
- declare interface InternalBladeData extends BladeData {
1189
- closeFunctions: Array<() => void>;
1190
- updateFunctions: Array<(data: BladeData) => void>;
1191
- }
1192
-
1193
- export declare function isArrayOfLength(val: any, l: number): boolean;
1194
-
1195
- export declare function isLengthyArray(val: any, greaterThan?: number): boolean;
1196
-
1197
- export declare function isMinDate(d?: string): boolean;
1198
-
1199
- export declare function isNullOrEmpty(val: string | undefined): boolean;
1200
-
1201
- export declare function isSameDownToHour(firstDate?: string, secondDate?: string): boolean;
1202
-
1203
- export declare interface ItemEvents {
1204
- (e: 'fetched', item: any): void;
1205
- (e: 'saved', item: any, isNew?: boolean): void;
1206
- }
1207
-
1208
- export declare interface ItemProps<T, TSave, TReturn> {
1209
- additionalUrl?: string;
1210
- alwaysEditing?: boolean;
1211
- bladeGroup?: string;
1212
- bladeName?: string;
1213
- bladeStartShowing?: boolean;
1214
- canSave?: boolean;
1215
- closeBladeNames?: string[] | string;
1216
- confirmOnDelete?: boolean;
1217
- eager?: boolean;
1218
- eagerWithID?: boolean;
1219
- errorMsg?: string;
1220
- findItem?: (list?: TReturn[]) => TReturn | undefined;
1221
- ignorePermissions?: boolean;
1222
- isSingle?: boolean;
1223
- item?: any;
1224
- itemID?: string;
1225
- loadingMsg?: string;
1226
- localPredicate?: (item: any) => boolean;
1227
- nav?: string;
1228
- navSuffix?: string;
1229
- onBeforeEditAsync?: (item: TReturn | TReturn[] | undefined) => Promise<TReturn | TReturn[] | undefined>;
1230
- onBeforeViewAsync?: (item: TReturn | TReturn[] | undefined) => Promise<TReturn | TReturn[] | undefined>;
1231
- onCanDelete?: (item: TReturn) => boolean;
1232
- onCanDeleteAsync?: OnCanDoAsync<TReturn>;
1233
- onCanEdit?: (item: TReturn) => boolean;
1234
- onCanRestore?: (item: TReturn) => boolean;
1235
- onCanRestoreAsync?: OnCanDoAsync<TReturn>;
1236
- onCanSave?: (item: TReturn) => boolean;
1237
- onCanSaveAsync?: OnCanDoAsync<TReturn | TSave>;
1238
- onDeleteAsync?: OnDoActionAsync<TReturn>;
1239
- onDeleteSuccessAsync?: OnDoMaybeSuccessAsync<TReturn, TReturn>;
1240
- onError?: (err: any) => any;
1241
- onGetAsync?: OnGetAsync<T>;
1242
- onGetListAsync?: OnGetAllAsync<T>;
1243
- onGetListSuccessAsync?: OnGetAllSuccessAsync<T, TReturn>;
1244
- onGetSuccessAsync?: OnGetSuccessAsync<T, TReturn>;
1245
- onGetNew?: (data?: PathOptions) => TReturn;
1246
- onGetNewAsync?: (data?: PathOptions) => Promise<TReturn>;
1247
- onGetNotFound?: (data?: PathOptions) => TReturn;
1248
- onGetSaveAsync?: OnDoSuccessAsync<TReturn, TSave>;
1249
- onRefreshAsync?: (refreshOptions?: ItemRefreshOptions) => Promise<void> | undefined;
1250
- onRestoreAsync?: OnDoActionAsync<TReturn>;
1251
- onRestoreSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
1252
- onSaveAsync?: (item: TSave | TReturn) => Promise<TReturn | undefined>;
1253
- onSaveSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
1254
- onUpdateAsyncItem?: (asyncItem: TReturn | TReturn[] | undefined, newVersionItem: T) => void;
1255
- params?: any;
1256
- proxyID?: string;
1257
- proxyKey?: string;
1258
- queryParams?: string[] | Record<string, string>[];
1259
- refreshOnChange?: boolean;
1260
- refreshLiteToggle?: boolean;
1261
- refreshToggle?: boolean;
1262
- resetTrackerToggle?: boolean;
1263
- startEditing?: boolean;
1264
- storeMode?: StoreMode;
1265
- storageMode?: StorageMode;
1266
- trackChanges?: boolean;
1267
- trackIgnoreProps?: string[];
1268
- trackProps?: string[];
1269
- useBladeSrc?: boolean;
1270
- useRouteSrc?: boolean;
1271
- variant?: BladeVariant;
1272
- }
1273
-
1274
- export declare interface ItemRefreshOptions {
1275
- bladeData?: BladeData;
1276
- deepRefresh?: boolean;
1277
- resetMode?: boolean;
1278
- }
1279
-
1280
- export declare interface IterateThroughOptions<T> {
1281
- eachList?: (list: T[]) => Promise<any>;
1282
- eachItem?: (item: T) => Promise<any>;
1283
- errorMsg?: string;
1284
- getLoadingMsg?: (ind: number, total: number) => string;
1285
- iterationCount?: number;
1286
- listToIterate: T[];
1287
- onError?: (err: any) => any;
1288
- onFinished?: () => void;
1289
- throwError?: boolean;
1290
- }
1291
-
1292
- /**decrypts jwt token */
1293
- export declare function jwtDecrypt(token: string): any;
1294
-
1295
- export declare function jwtEncrypt(payload?: any): string;
1296
-
1297
- export declare interface ListEvents {
1298
- (e: 'change', item: any): void;
1299
- (e: 'deleted', item: any): void;
1300
- (e: 'fetched', item: any): void;
1301
- (e: 'input', item: any): void;
1302
- (e: 'select', item: any): void;
1303
- (e: 'confirm', item: any): void;
1304
- (e: 'mouse-over-item', item: any): void;
1305
- }
1306
-
1307
- export declare interface ListProps<T, TSave, TReturn> {
1308
- addBladeName?: string;
1309
- additionalUrl?: string;
1310
- bladeGroup?: string;
1311
- bladeName?: string;
1312
- bladeStartShowing?: boolean;
1313
- canSelect?: boolean;
1314
- canUnselect?: boolean;
1315
- closeBladeNames?: string[] | string;
1316
- confirmOnDelete?: boolean;
1317
- customFilters?: CustomFilterParam[];
1318
- dateFrom?: string;
1319
- dateTo?: string;
1320
- defaultFilters?: string[];
1321
- eager?: boolean;
1322
- errorMsg?: string;
1323
- filterToggle?: boolean;
1324
- headers?: TableColumn[];
1325
- hideActions?: boolean;
1326
- idSelector?: <T>(item: T) => string;
1327
- ignoreID?: boolean;
1328
- inactiveProp?: string;
1329
- isSingle?: boolean;
1330
- itemBladeName?: string;
1331
- itemID?: string;
1332
- items?: any[];
1333
- /**only used with server pagination */
1334
- itemsPerPage?: number;
1335
- itemText?: string;
1336
- keyStrategy?: 'rID' | 'index' | 'id';
1337
- loadingMsg?: string;
1338
- localFilters?: LocalFilter[];
1339
- localOnly?: boolean;
1340
- nav?: string;
1341
- navType?: 'blade' | 'page';
1342
- /**for defining if deletable (show button or not) */
1343
- onCanDelete?: (item: TReturn) => boolean;
1344
- /**when trying to delete in api */
1345
- onCanDeleteAsync?: OnCanDoAsync<TReturn>;
1346
- /**for defining if can be integrated */
1347
- onCanIntegrate?: (item: TReturn) => boolean;
1348
- onCanRestore?: (item: TReturn) => boolean;
1349
- onCanRestoreAsync?: OnCanDoAsync<TReturn>;
1350
- onCanSave?: (item: TReturn) => boolean;
1351
- onCanSaveAsync?: OnCanDoAsync<TReturn | TSave>;
1352
- onCanSelectItem?: (item: TReturn) => boolean;
1353
- onDeleteAsync?: OnDoActionAsync<TReturn>;
1354
- onDeleteSuccessAsync?: OnDoMaybeSuccessAsync<TReturn, TReturn>;
1355
- onError?: (err: any) => any;
1356
- onFilter?: (list: TReturn[]) => TReturn[];
1357
- onFinished?: (items: any) => void;
1358
- onGetAsync?: OnGetAllAsync<T>;
1359
- onGetSingleAsync?: OnGetAsync<T>;
1360
- onGetSaveAsync?: OnDoSuccessAsync<TReturn, TSave>;
1361
- onGetSingleSuccessAsync?: OnGetSuccessAsync<T, TReturn>;
1362
- onGetSuccessAsync?: OnGetAllSuccessAsync<T, TReturn>;
1363
- onRestoreAsync?: OnDoActionAsync<TReturn>;
1364
- onRestoreSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
1365
- onSaveAsync?: (item: TSave | TReturn) => Promise<TReturn | undefined>;
1366
- onSaveSuccessAsync?: OnDoSuccessAsync<TReturn, TReturn>;
1367
- onSelectItem?: (item: TReturn) => void;
1368
- onSyncAsync?: (opt: SyncOptions<T>) => Promise<BulkActionResult<T>[]>;
1369
- onUpdateAsyncItem?: (asyncItem: TReturn | TReturn[] | undefined, newVersionItem: T) => void;
1370
- paginate?: 'server' | 'local';
1371
- params?: any;
1372
- proxyID?: string;
1373
- proxyKey?: string;
1374
- refreshOnChange?: boolean;
1375
- queryParams?: string[] | Record<string, string>[];
1376
- refreshLiteToggle?: boolean;
1377
- refreshToggle?: boolean;
1378
- searchKey?: string;
1379
- searchProps?: string[];
1380
- searchStr?: string;
1381
- selectProps?: string[];
1382
- sortDirection?: SortOrder;
1383
- sortProp?: string | string[];
1384
- startEditing?: boolean;
1385
- startShowingInactive?: boolean;
1386
- startShowingSearch?: boolean;
1387
- storeMode?: StoreMode;
1388
- storageMode?: StorageMode;
1389
- /**usually used for last-updated configs or large quantities of local items */
1390
- /**uses pagination from server */
1391
- trackSearchQuery?: boolean;
1392
- useBladeSrc?: boolean;
1393
- useRouteSrc?: boolean;
1394
- variant?: BladeVariant;
1395
- }
1396
-
1397
- declare interface ListRefreshOptions {
1398
- deepRefresh?: boolean;
1399
- params?: any;
1400
- resetSearch?: boolean;
1401
- }
1402
-
1403
- declare interface LocalFilter {
1404
- name: string;
1405
- predicate?: (item: any) => boolean;
1406
- onFilter?: (list: any[]) => any[];
1407
- }
1408
-
1409
- declare interface LocalForage_2 extends LocalForageDbMethods_2 {
1410
- LOCALSTORAGE: string;
1411
- WEBSQL: string;
1412
- INDEXEDDB: string;
1413
- /**
1414
- * Set and persist localForage options. This must be called before any other calls to localForage are made, but can be called after localForage is loaded.
1415
- * If you set any config values with this method they will persist after driver changes, so you can call config() then setDriver()
1416
- * @param {LocalForageOptions} options?
1417
- */
1418
- config(options: LocalForageOptions_2): boolean;
1419
- config(options: string): any;
1420
- config(): LocalForageOptions_2;
1421
- /**
1422
- * Create a new instance of localForage to point to a different store.
1423
- * All the configuration options used by config are supported.
1424
- * @param {LocalForageOptions} options
1425
- */
1426
- createInstance(options: LocalForageOptions_2): LocalForage_2;
1427
- driver(): string;
1428
- /**
1429
- * Force usage of a particular driver or drivers, if available.
1430
- * @param {string} driver
1431
- */
1432
- setDriver(driver: string | string[], callback?: () => void, errorCallback?: (error: any) => void): Promise<void>;
1433
- defineDriver(driver: LocalForageDriver_2, callback?: () => void, errorCallback?: (error: any) => void): Promise<void>;
1434
- /**
1435
- * Return a particular driver
1436
- * @param {string} driver
1437
- */
1438
- getDriver(driver: string): Promise<LocalForageDriver_2>;
1439
- getSerializer(callback?: (serializer: LocalForageSerializer_2) => void): Promise<LocalForageSerializer_2>;
1440
- supports(driverName: string): boolean;
1441
- ready(callback?: (error: any) => void): Promise<void>;
1442
- }
1443
-
1444
- declare interface LocalForageDbInstanceOptions_2 {
1445
- name?: string;
1446
- storeName?: string;
1447
- }
1448
-
1449
- declare interface LocalForageDbMethods_2 extends LocalForageDbMethodsCore_2, LocalForageDbMethodsOptional_2 {
1450
- }
1451
-
1452
- declare interface LocalForageDbMethodsCore_2 {
1453
- getItem<T>(key: string, callback?: (err: any, value: T | null) => void): Promise<T | null>;
1454
- setItem<T>(key: string, value: T, callback?: (err: any, value: T) => void): Promise<T>;
1455
- removeItem(key: string, callback?: (err: any) => void): Promise<void>;
1456
- clear(callback?: (err: any) => void): Promise<void>;
1457
- length(callback?: (err: any, numberOfKeys: number) => void): Promise<number>;
1458
- key(keyIndex: number, callback?: (err: any, key: string) => void): Promise<string>;
1459
- keys(callback?: (err: any, keys: string[]) => void): Promise<string[]>;
1460
- iterate<T, U>(iteratee: (value: T, key: string, iterationNumber: number) => U, callback?: (err: any, result: U) => void): Promise<U>;
1461
- }
1462
-
1463
- declare interface LocalForageDbMethodsOptional_2 {
1464
- dropInstance: LocalForageDropInstanceFn_2;
1465
- }
1466
-
1467
- declare interface LocalForageDriver_2 extends LocalForageDriverDbMethods_2 {
1468
- _driver: string;
1469
- _initStorage(options: LocalForageOptions_2): void;
1470
- _support?: boolean | LocalForageDriverSupportFunc_2;
1471
- }
1472
-
1473
- declare interface LocalForageDriverDbMethods_2 extends LocalForageDbMethodsCore_2, LocalForageDriverMethodsOptional_2 {
1474
- }
1475
-
1476
- declare interface LocalForageDriverMethodsOptional_2 {
1477
- dropInstance?: LocalForageDropInstanceFn_2;
1478
- }
1479
-
1480
- declare interface LocalForageDriverSupportFunc_2 {
1481
- (): Promise<boolean>;
1482
- }
1483
-
1484
- declare interface LocalForageDropInstanceFn_2 {
1485
- (dbInstanceOptions?: LocalForageDbInstanceOptions_2, callback?: (err: any) => void): Promise<void>;
1486
- }
1487
-
1488
- declare interface LocalForageOptions_2 extends LocalForageDbInstanceOptions_2 {
1489
- driver?: string | string[];
1490
- size?: number;
1491
- version?: number;
1492
- description?: string;
1493
- }
1494
-
1495
- declare interface LocalForageSerializer_2 {
1496
- serialize<T>(value: T | ArrayBuffer | Blob, callback: (value: string, error: any) => void): void;
1497
- deserialize<T>(value: string): T | ArrayBuffer | Blob;
1498
- stringToBuffer(serializedString: string): ArrayBuffer;
1499
- bufferToString(buffer: ArrayBuffer): string;
1500
- }
1501
-
1502
- export declare interface LocallyStoredItem {
1503
- meta: LocalMeta;
1504
- data: any;
1505
- count?: number;
1506
- filters?: string[];
1507
- }
1508
-
1509
- export declare interface LocalMeta {
1510
- storedOn: string;
1511
- isDetailed?: boolean;
1512
- lastUpdate?: string;
1513
- }
1514
-
1515
- export declare function log(obj: any): void;
1516
-
1517
- export declare interface MenuGroup {
1518
- displayName: string;
1519
- icon?: string;
1520
- id?: string;
1521
- isGroup?: boolean;
1522
- items?: MenuGroup[];
1523
- permissions?: string[];
1524
- requiresAuth?: boolean;
1525
- sortNumber?: number;
1526
- subscriptions?: string[];
1527
- subFilters?: string[] | 'All';
1528
- routeName?: any;
1529
- }
1530
-
1531
- export declare const monthOptions: {
1532
- text: string;
1533
- value: string;
1534
- }[];
1535
-
1536
- export declare function moveInArray(arr: any[], fromInd: number, toInd: number): void;
1537
-
1538
- export declare function navBack(id: string): void;
1539
-
1540
- export declare interface NavigationItem extends AuthItem {
1541
- /**aliases are other names that could use this navigation item's set of permissions, etc.*/
1542
- aliases?: string[];
1543
- /**potentially the nav that leads to the archive */
1544
- archiveName?: string;
1545
- /**the name of the background img to show when the route opens this nav */
1546
- background?: string;
1547
- /**how long until locally cached data is refreshed */
1548
- cacheExpiryHours?: number;
1549
- /**any children of this nav item */
1550
- children?: NavigationItem[];
1551
- /**only applies if connecting to store */
1552
- deleteStrat?: 'soft' | undefined;
1553
- /**the name that will be displayed in the navigation menu */
1554
- displayName?: string;
1555
- /**the configuration for external parties */
1556
- externals?: ExternalParty[];
1557
- /**custom override for getting the key to store */
1558
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
1559
- /**will hide app bar if set to true when the route opens this nav */
1560
- hideAppBar?: boolean;
1561
- /**hide bottom navigation even when xs */
1562
- hideBottomNavigation?: boolean;
1563
- /**will hide the nav sidebar if set to true when the route opens this nav */
1564
- hideNavigation?: boolean;
1565
- /**will open a dialog box to confirm navigating away from this route */
1566
- hesitate?: boolean;
1567
- /**how many minutes until WLU Store clears all data. Undefined means it won't happen */
1568
- minutesToClear?: number;
1569
- /**the mdi icon that goes with this nav item. Will show in places like the nav menu */
1570
- icon?: string;
1571
- /**default to false. True will mean that even is account is suspended, this will still allow navigation */
1572
- ignoreSuspension?: boolean;
1573
- /**default to true. When false will hide from nav menu */
1574
- isInNavMenu?: boolean;
1575
- /**default item text in lists, selects, etc. */
1576
- itemText?: string;
1577
- /**the microservice the leads to the default url to obtain data from. Defaults to 'default'. */
1578
- microservice?: string;
1579
- /**the name of this nav item. */
1580
- name?: string;
1581
- /**the url path on top of the base microservice url */
1582
- path?: string;
1583
- /**permissions that are required for this navItem. All these permissions must be met. Must be either all strings or all string arrays */
1584
- permissions?: PermissionGroup | PermissionGroup[];
1585
- /**for PLU stores only - defining what prop to cal window */
1586
- pluWindowProp?: string;
1587
- /**for PLU stores only - defining how many days to bunch requests in */
1588
- pluDays?: number;
1589
- /**whether to search for list locally or server first */
1590
- priority?: 'server' | 'local';
1591
- /**default to true. When false will allow universal access regardless of permission */
1592
- requiresAuth?: boolean;
1593
- /**the name of the route to access individual items */
1594
- singleName?: string;
1595
- /**what kind of store is needed for this api item */
1596
- storeMode?: StoreMode;
1597
- /**what kind of storage mode is needed for this api item */
1598
- storageMode?: StorageMode;
1599
- /**name of local store */
1600
- storeName?: string;
1601
- /**this nav item is restricted to these subscriptions. So the user needs to have at least one of these subscription codes. */
1602
- subscriptions?: string[];
1603
- /**this nav item is preferred in this subscription codes. */
1604
- subFilters?: string[] | 'All';
1605
- /**props to ignore (ie. 'customer') when updating */
1606
- updateIgnoreProps?: string[];
1607
- }
1608
-
1609
- export declare const navigationKey: unique symbol;
1610
-
1611
- export declare function navTo(id: string, stepIndex: number): void;
1612
-
1613
- export declare function navToName(id: string, stepName: string): void;
1614
-
1615
- export declare function nestedValue(obj: any, path?: string): any;
1616
-
1617
- export declare function nextStep(id: string): void;
1618
-
1619
- declare type OnCanDoAsync<T> = (item: T) => Promise<string | undefined>;
1620
-
1621
- declare type OnDoActionAsync<T> = (item: T) => Promise<T | undefined>;
1622
-
1623
- declare type OnDoMaybeSuccessAsync<T, TReturn> = (item?: T) => Promise<TReturn | undefined>;
1624
-
1625
- declare type OnDoSuccessAsync<T, TReturn> = (item: T) => Promise<TReturn | undefined>;
1626
-
1627
- declare type OnGetAllAsync<T> = (opt?: StorePathOptions) => Promise<StoreGetAllReturn<T> | undefined>;
1628
-
1629
- declare type OnGetAllSuccessAsync<T, TReturn> = (item: StoreGetAllReturn<T>, opt?: StorePathOptions) => Promise<StoreGetAllReturn<T | TReturn> | undefined>;
1630
-
1631
- declare type OnGetAsync<T> = (opt?: StorePathOptions) => Promise<StoreGetReturn<T | T[]> | undefined>;
1632
-
1633
- declare type OnGetSuccessAsync<T, TReturn> = (item: StoreGetReturn<T | T[]>, opt?: StorePathOptions) => Promise<StoreGetReturn<T | T[] | TReturn | TReturn[]> | undefined>;
1634
-
1635
- export declare function orderBy<T>(arr: T[], prop?: keyof T | ((item: T) => boolean | number | string), asc?: true | false): T[];
1636
-
1637
- export declare interface PathOptions {
1638
- /**always added to end before query {url}/{additionalUrl}?{query} */
1639
- additionalUrl?: string;
1640
- /**application/json or other options */
1641
- contentType?: string;
1642
- /**that data to send in the body for POST, PATCH, and DELETE requests */
1643
- data?: any;
1644
- /** resulting url after building {nav | url}/{additionalUrl}?{params} */
1645
- finalUrl?: string;
1646
- /**override default headers */
1647
- headers?: HeadersInit;
1648
- /**id will be added as a url paramter (/{id}?) rather than as a query parameter */
1649
- id?: string;
1650
- /**where to find the url */
1651
- nav?: string;
1652
- /**headers will not be calculated. Only the given headers in these options will be used */
1653
- overrideHeaders?: boolean;
1654
- /**query parameters */
1655
- params?: QueryParams;
1656
- /**attaches a proxyID to the request */
1657
- proxyID?: string;
1658
- /**whether to refresh the store data and go straight to the server */
1659
- refresh?: boolean;
1660
- /**returns result as a json object. Defaults to true. */
1661
- returnJson?: boolean;
1662
- /**returns result as a string */
1663
- returnText?: boolean;
1664
- /**If false, returns response no matter the status code */
1665
- throwError?: boolean;
1666
- /**if exists then overrides default nav */
1667
- url?: string;
1668
- /**whether to preference using the local cache */
1669
- useLocalCache?: boolean;
1670
- }
1671
-
1672
- export declare type PermissionGroup = string[];
1673
-
1674
- export declare function personName(firstName?: string, lastName?: string, userName?: string): string | undefined;
1675
-
1676
- export declare interface PointerOrTouchEvent extends PointerEvent, TouchEvent {
1677
- }
1678
-
1679
- declare interface PredictOptions {
1680
- adjustments?: string;
1681
- futureCount: number;
1682
- cron?: string;
1683
- }
1684
-
1685
- /**Pulls only props that obj2 contains and applies to obj1 */
1686
- export declare function pullPropsFrom(obj1: any, obj2: any, propsToIgnore?: string[], strat?: 'only-obj1-props' | 'all-obj2-props'): any;
1687
-
1688
- export declare interface QueryParams extends Record<string, any> {
1689
- filterBy?: string;
1690
- includeCount?: boolean;
1691
- includeInactive?: boolean;
1692
- lastUpdate?: string;
1693
- other?: any;
1694
- properties?: string[] | string;
1695
- query?: string;
1696
- searchString?: string;
1697
- sortOrder?: string;
1698
- sortBy?: string;
1699
- takeFrom?: number;
1700
- takeAmount?: number;
1701
- }
1702
-
1703
- export declare function registerDialog(options: RegisterDialogOptions): () => void;
1704
-
1705
- export declare interface RegisterDialogOptions {
1706
- dialogType: 'items' | 'number' | 'date' | 'string' | 'confirm';
1707
- open: (options: any, resolve: DialogResolve<any>) => void;
1708
- }
1709
-
1710
- export declare function registerSteps(id: string, options: RegisterStepsOptions): void;
1711
-
1712
- export declare interface RegisterStepsOptions {
1713
- navBack: () => void;
1714
- navTo: (panelIndex: number) => void;
1715
- navToName: (stepName?: string) => void;
1716
- nextStep: () => void;
1717
- }
1718
-
1719
- export declare function removeWeekday(weekdays?: string, day?: string): string | undefined;
1720
-
1721
- declare interface RequestPathOptions extends PathOptions {
1722
- method: string;
1723
- }
1724
-
1725
- export declare type ResizeHandle = 't' | 'r' | 'b' | 'l' | 'tr' | 'br' | 'bl' | 'tl';
1726
-
1727
- declare interface ResponsiveStyleOptions {
1728
- getUsedHeight: (display?: DisplayInstance, navigation?: BTNavigation) => number;
1729
- overflow?: boolean;
1730
- }
1731
-
1732
- export declare interface RestoreOptions<T> extends StoreAction, StorePathOptions, DoActionOptions {
1733
- /**Returns a string if cannot */
1734
- onCanRestoreAsync?: OnCanDoAsync<T>;
1735
- /**Will override the default store delete action */
1736
- onRestoreAsync?: OnDoActionAsync<T>;
1737
- /**Called after restore succeeds */
1738
- onRestoreSuccessAsync?: OnDoSuccessAsync<T, T>;
1739
- }
1740
-
1741
- /**
1742
- * rounds the given value to a certain number of decimal places
1743
- * @param v
1744
- * @param dPlaces
1745
- * @returns
1746
- */
1747
- export declare function roundTo(val: number, dPlaces: number): number;
1748
-
1749
- export declare interface SaveItemOptions {
1750
- navBack?: boolean;
1751
- stayEditing?: boolean;
1752
- updateUrl?: boolean;
1753
- }
1754
-
1755
- export declare interface SaveOptions<T, TSave, TReturn> extends StoreAction, StorePathOptions, DoActionOptions {
1756
- getMode?: 'post' | 'patch' | ((item: any) => BladeMode);
1757
- /**called to check whether to proceed with save */
1758
- onCanSaveAsync?: OnCanDoAsync<T | TSave>;
1759
- /**
1760
- * retrieves item to save
1761
- * called before seeing whether it can save
1762
- */
1763
- onGetSaveAsync?: OnDoSuccessAsync<T, TSave>;
1764
- /**Will override the default store post/patch action */
1765
- onSaveAsync?: (item: T | TSave) => Promise<T | undefined>;
1766
- /**Called after save succeeds */
1767
- onSaveSuccessAsync?: OnDoSuccessAsync<T, TReturn>;
1768
- }
1769
-
1770
- export declare function singularize(str: string): string;
1771
-
1772
- export declare function splitArray<T>(arr: T[], chunkSize: number, fill?: boolean): (T | null)[][];
1773
-
1774
- export declare function spread<T>(arr: T[], chunkSize: number): (T)[][];
1775
-
1776
- declare interface StepCanOptions<T> {
1777
- isChanged: boolean;
1778
- item: T;
1779
- meta: any;
1780
- mode: BladeMode;
1781
- }
1782
-
1783
- declare interface StepMoveToNextOptions<T> {
1784
- item: T;
1785
- meta: any;
1786
- mode: BladeMode;
1787
- next: number;
1788
- }
1789
-
1790
- declare interface StepMoveToThisOptions<T> {
1791
- item: T;
1792
- meta: any;
1793
- mode: BladeMode;
1794
- from: number;
1795
- thisStep: number;
1796
- }
1797
-
1798
- export declare interface StepOption<T> {
1799
- getLabel?: (options: GetLabelOptions<T>) => string | undefined;
1800
- hideActions?: boolean;
1801
- ignoreHistory?: boolean;
1802
- label?: string;
1803
- onCanFinish?: (options: StepCanOptions<T>) => boolean;
1804
- onCanMoveNext?: (options: StepCanOptions<T>) => boolean;
1805
- onCanSave?: (options: StepCanOptions<T>) => boolean;
1806
- onCanSkip?: (options: StepCanOptions<T>) => boolean;
1807
- onMoveInto?: (options: StepMoveToThisOptions<T>) => number | string | undefined;
1808
- onMoveNext?: (options: StepMoveToNextOptions<T>) => number | string | undefined;
1809
- onSaveMoveNext?: boolean | number;
1810
- name?: string;
1811
- }
1812
-
1813
- export declare type StorageMode = 'session' | 'local-cache';
1814
-
1815
- declare interface StoreAction {
1816
- /**particularly what store syle to use */
1817
- storeMode?: StoreMode;
1818
- /**whether to store data locally or only for the duration of the session */
1819
- storageMode?: StorageMode;
1820
- store?: BTStoreDefinition;
1821
- }
1822
-
1823
- export declare interface StoreGetAllReturn<T> {
1824
- data: T[];
1825
- count?: number;
1826
- filters?: string[];
1827
- }
1828
-
1829
- export declare interface StoreGetReturn<T> {
1830
- data: T;
1831
- }
1832
-
1833
- export declare type StoreMode = 'whole-last-updated' | 'partial-last-updated' | 'session' | 'whole-store';
1834
-
1835
- export declare interface StorePathOptions extends PathOptions {
1836
- /**will store this request in session as a special memory in the pinia store */
1837
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
1838
- localOnly?: boolean;
1839
- localPredicate?: (item: any) => boolean;
1840
- /**PLU Only */
1841
- dateFrom?: string;
1842
- /**PLU Only */
1843
- dateTo?: string;
1844
- }
1845
-
1846
- declare interface StringCron {
1847
- regularity?: CronRegularity;
1848
- orderDays: string[];
1849
- deliveryDays: string[];
1850
- }
1851
-
1852
- export declare function sum(array: number[]): number;
1853
-
1854
- export declare interface SWEvent extends Event {
1855
- detail: any;
1856
- }
1857
-
1858
- export declare interface SyncAction<T> {
1859
- partyID?: string;
1860
- localIDProp: string;
1861
- actions: SyncActionInstruction<T>[];
1862
- }
1863
-
1864
- export declare interface SyncActionInstruction<T> extends SyncActionPOST {
1865
- item?: T;
1866
- }
1867
-
1868
- export declare interface SyncActionPOST {
1869
- action: 'unlink' | 'link' | 'push';
1870
- externalItemID?: string;
1871
- localItemID: string;
1872
- }
1873
-
1874
- export declare interface SyncOptions<T> extends StoreAction, StorePathOptions, DoActionOptions {
1875
- actions?: SyncActionInstruction<T>[];
1876
- localIDProp: string;
1877
- onSyncAsync?: (opt: SyncOptions<T>) => Promise<BulkActionResult<T>[]>;
1878
- partyID: string;
1879
- }
1880
-
1881
- export declare interface SyncPOST {
1882
- partyID?: string;
1883
- autoSync?: boolean;
1884
- actions?: SyncActionPOST[];
1885
- }
1886
-
1887
- export declare interface TableColumn {
1888
- align?: 'start' | 'end' | 'center';
1889
- bool?: number;
1890
- csv?: boolean;
1891
- csvArray?: boolean;
1892
- csvFilter?: string;
1893
- csvText?: string;
1894
- display?: boolean;
1895
- hide?: boolean;
1896
- itemText?: string;
1897
- level?: number;
1898
- maxWidth?: string;
1899
- minWidth?: string;
1900
- nav?: string;
1901
- prefix?: string;
1902
- searchable?: boolean;
1903
- showSize?: string;
1904
- single?: boolean;
1905
- sublevel?: number;
1906
- suffix?: string;
1907
- textFilter?: string;
1908
- textFunction?: Function;
1909
- title?: string;
1910
- truncate?: boolean;
1911
- value?: string;
1912
- width?: string;
1913
- }
1914
-
1915
- export declare interface TaskProgressDTO {
1916
- actionName?: string;
1917
- progress?: number;
1918
- }
1919
-
1920
- export declare const TestEmailValid: (v: any) => true | "Email must be valid";
1921
-
1922
- export declare const TestRequired: (v: any) => true | "Required";
1923
-
1924
- /**
1925
- * Converts props to camel casing
1926
- * @param value
1927
- * @returns
1928
- */
1929
- export declare function toCamelCase(value: any): any;
1930
-
1931
- export declare function toCompareString(str?: string): string | null;
1932
-
1933
- export declare const ToDayDate = "ccc | d LLL";
1934
-
1935
- export declare const ToDayMonth = "d LLL";
1936
-
1937
- export declare const ToDayOfWeek = "ccc";
1938
-
1939
- export declare const ToDayShortDate = "ccc dd LLL yyyy";
1940
-
1941
- export declare const ToDayShortDateAndTime = "ccc dd LLL @ hh:mm a";
1942
-
1943
- export declare function toggle(obj: any, prop: string, values: any[]): void;
1944
-
1945
- export declare function toggleCSV(value?: string | string[], tag?: string): string | undefined;
1946
-
1947
- export declare const ToLongDate = "ccc dd LLL yyyy";
1948
-
1949
- export declare const ToLongDateAndTime = "ccc dd LLL yyyy hh:mm a";
1950
-
1951
- export declare const ToShortDate = "dd LLL yyyy";
1952
-
1953
- export declare const ToShortDateAndTime = "dd LLL yyyy hh:mm a";
1954
-
1955
- export declare const ToTime = "hh:mm a";
1956
-
1957
- export declare interface TrackedItem<T> {
1958
- asyncItem: Ref<T>;
1959
- isChanged: Ref<boolean>;
1960
- restartTracker: () => void;
1961
- }
1962
-
1963
- export declare function twiddleThumbs(mSec?: number): Promise<void>;
1964
-
1965
- export declare function unregisterSteps(id: string): void;
1966
-
1967
- declare interface UpdateBladeData<T extends GetOptions<any, any>> {
1968
- bladeName?: string;
1969
- closeBladeNames?: string | string[];
1970
- data?: T;
1971
- }
1972
-
1973
- export declare interface UrlOrigin {
1974
- origin: string;
1975
- tabTitle?: string;
1976
- }
1977
-
1978
- export declare interface UrlSet {
1979
- auth?: string;
1980
- data?: string;
1981
- localDbName?: string;
1982
- /**the origins that are this url set */
1983
- origins?: Array<string | UrlOrigin>;
1984
- other?: any;
1985
- images?: string;
1986
- tabTitle?: string;
1987
- }
1988
-
1989
- export declare const urlsKey: unique symbol;
1990
-
1991
- export declare function useActions(options?: UseActionsOptions): BTActions;
1992
-
1993
- export declare interface UseActionsOptions extends DoActionOptions {
1994
- nav?: string;
1995
- proxyID?: string;
1996
- refresh?: boolean;
1997
- store?: BTStoreDefinition;
1998
- /**particularly what store syle to use */
1999
- storeMode?: StoreMode;
2000
- /**whether to store data locally or only for the duration of the session */
2001
- storageMode?: StorageMode;
2002
- throwError?: boolean;
2003
- url?: string;
2004
- /**for basic functionality when no store is provided */
2005
- items?: any[];
2006
- }
2007
-
2008
- export declare function useActionsTracker(useOptions?: DoActionOptions): {
2009
- actionErrorMsg: ShallowRef<string | undefined>;
2010
- actionLoadingMsg: ShallowRef<string | undefined>;
2011
- actionCompleteMsg: ShallowRef<string | undefined>;
2012
- clearErrors: () => void;
2013
- doAction: <TReturn>(action: any, options?: DoActionOptions) => Promise<TReturn | undefined>;
2014
- isLoading: ComputedRef<boolean>;
2015
- iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
2016
- logError: (err?: string | Error) => void;
2017
- persistLoading: (startingMsg: string) => void;
2018
- releaseLoading: () => void;
2019
- };
2020
-
2021
- export declare function useApi(): BTApi;
2022
-
2023
- export declare interface UseApiOptions {
2024
- auth?: BTAuth;
2025
- /**overrides the default */
2026
- buildHeaders?: (path: PathOptions, createOptions?: UseApiOptions) => HeadersInit;
2027
- /**build a query. Overrides the default */
2028
- buildQuery?: (params: any) => string;
2029
- /**overrides the default */
2030
- buildUrl?: (path: PathOptions) => string;
2031
- /**defaults to 'application/json' */
2032
- defaultContentType?: string;
2033
- /**returns result as a json object. Defaults to true. */
2034
- defaultReturnJson?: boolean;
2035
- /**returns result as a string */
2036
- defaultReturnText?: boolean;
2037
- /**defaults to true. Will throw an error on fail */
2038
- defaultThrowError?: boolean;
2039
- /**demo for providing any demo data */
2040
- demo?: BTDemo;
2041
- /**defaults to a function that returns '' */
2042
- findPath?: FindPath;
2043
- testUnauthorizedErrors?: boolean;
2044
- /**if true and logged in then will set an authorization header with 'bearer [token]' */
2045
- useBearerToken?: boolean;
2046
- }
2047
-
2048
- export declare function useAssistant(): BTAssistant;
2049
-
2050
- export declare function useAuth(): BTAuth;
2051
-
2052
- export declare function useAuthUrl(): string;
2053
-
2054
- export declare function useBackgroundTask(actionName: string): BTBackgroundTask;
2055
-
2056
- export declare function useBackgroundTasks(): BTBackgroundTasks;
2057
-
2058
- export declare function useBlade<T, TReturn>(options?: UseBladeOptions): BTBlade<GetOptions<T, TReturn>>;
2059
-
2060
- export declare interface UseBladeOptions {
2061
- blade?: Ref<ComponentPublicInstance | null>;
2062
- bladeGroup?: string;
2063
- /**a custom name for just this blade */
2064
- bladeName?: string;
2065
- bladeStartShowing?: boolean;
2066
- /**whether to include full functionality */
2067
- bladeBasic?: boolean;
2068
- handle?: Ref<ComponentPublicInstance | null>;
2069
- mobileBreakpoint?: number;
2070
- onClose?: () => void;
2071
- onUpdate?: (data: BladeData) => void;
2072
- useDragging?: boolean;
2073
- useResizing?: boolean;
2074
- variant?: BladeVariant;
2075
- }
2076
-
2077
- export declare function useBlobStore(options: CreateBlobStoreOptions): BTBlobStore;
2078
-
2079
- declare interface UseBlobStoreOptions extends UseStoreOptions {
2080
- api?: BTApi;
2081
- auth?: BTAuth;
2082
- demo?: BTDemo;
2083
- /**custom override for getting the key to store */
2084
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
2085
- /**whether to store data locally or only for the duration of the session */
2086
- storageMode?: 'session' | 'local-cache';
2087
- /**overrides the default */
2088
- buildUrl?: (path: PathOptions) => string;
2089
- /**the name of this store */
2090
- storeName?: string;
2091
- }
2092
-
2093
- export declare function useColorizer(): BTColorizer;
2094
-
2095
- export declare function useConfirm(action: any, requireConfirmation?: boolean): Promise<void>;
2096
-
2097
- export declare function useCosmetics(): BTCosmetics;
2098
-
2099
- export declare interface UseCosmeticsOptions<T extends BaseCosmeticTheme> {
2100
- defaultDarkTheme?: T;
2101
- defaultLightTheme?: T;
2102
- defaultDrawer?: boolean;
2103
- defaultDrawerStick?: boolean;
2104
- defaultTheme?: string;
2105
- storageName?: string;
2106
- vuetifyInstance?: ThemeInstance;
2107
- }
2108
-
2109
- export declare function useCron(options: UseCronOptions): {
2110
- applyRawExpression: () => void;
2111
- applyRegularity: (v: any) => void;
2112
- cronExpression: Ref<string | undefined, string | undefined>;
2113
- getRegularityAndOrderAndDeliveryDays: () => StringCron;
2114
- hour: Ref<string | undefined, string | undefined>;
2115
- leadTimeLeft: Ref<number, number>;
2116
- leadTimeRight: Ref<number, number>;
2117
- months: Ref<string[] | undefined, string[] | undefined>;
2118
- pack: () => string | undefined;
2119
- rawExpression: WritableComputedRef<string | undefined, string | undefined>;
2120
- regularity: WritableComputedRef<CronRegularity, CronRegularity>;
2121
- unpack: (exp?: string) => {
2122
- applyRawExpression: () => void;
2123
- applyRegularity: (v: any) => void;
2124
- cronExpression: Ref<string | undefined, string | undefined>;
2125
- hour: Ref<string | undefined, string | undefined>;
2126
- leadTimeLeft: Ref<number, number>;
2127
- leadTimeRight: Ref<number, number>;
2128
- months: Ref<string[] | undefined, string[] | undefined>;
2129
- pack: () => string | undefined;
2130
- rawExpression: WritableComputedRef<string | undefined, string | undefined>;
2131
- regularity: WritableComputedRef<CronRegularity, CronRegularity>;
2132
- unpack: any;
2133
- weekdays: Ref<string[] | undefined, string[] | undefined>;
2134
- weeks: Ref<string[] | undefined, string[] | undefined>;
2135
- };
2136
- weekdays: Ref<string[] | undefined, string[] | undefined>;
2137
- weeks: Ref<string[] | undefined, string[] | undefined>;
2138
- };
2139
-
2140
- export declare function useCronAdjustments(options: UseCronAdjustmentsOptions): {
2141
- adjustments: Ref< {
2142
- dateTrigger: string;
2143
- isAdjusting?: boolean | undefined;
2144
- leadTimeLeft: number;
2145
- leadTimeRight: number;
2146
- replacingDate?: string | undefined;
2147
- isInSchedule?: boolean | undefined;
2148
- leadLeftDate?: string | undefined;
2149
- leadRightDate?: string | undefined;
2150
- }[], Adjustment[] | {
2151
- dateTrigger: string;
2152
- isAdjusting?: boolean | undefined;
2153
- leadTimeLeft: number;
2154
- leadTimeRight: number;
2155
- replacingDate?: string | undefined;
2156
- isInSchedule?: boolean | undefined;
2157
- leadLeftDate?: string | undefined;
2158
- leadRightDate?: string | undefined;
2159
- }[]>;
2160
- adjustmentsString: Ref<string | undefined, string | undefined>;
2161
- applyAdjustment: (data: Adjustment) => void;
2162
- cancelAdjustment: (adj: Adjustment) => Adjustment;
2163
- filteredAdjustments: ComputedRef< {
2164
- dateTrigger: string;
2165
- isAdjusting?: boolean | undefined;
2166
- leadTimeLeft: number;
2167
- leadTimeRight: number;
2168
- replacingDate?: string | undefined;
2169
- isInSchedule?: boolean | undefined;
2170
- leadLeftDate?: string | undefined;
2171
- leadRightDate?: string | undefined;
2172
- }[]>;
2173
- stringifyAdjustments: (adjustments: Adjustment[]) => string | undefined;
2174
- stringify: () => string | undefined;
2175
- undoAdjustment: (adj: Adjustment) => void;
2176
- unpack: (adjString?: string, cronExp?: string) => {
2177
- dateTrigger: string;
2178
- isAdjusting?: boolean | undefined;
2179
- leadTimeLeft: number;
2180
- leadTimeRight: number;
2181
- replacingDate?: string | undefined;
2182
- isInSchedule?: boolean | undefined;
2183
- leadLeftDate?: string | undefined;
2184
- leadRightDate?: string | undefined;
2185
- }[];
2186
- };
2187
-
2188
- declare interface UseCronAdjustmentsOptions {
2189
- adjustmentString?: string;
2190
- cronExpression?: string;
2191
- futureLimit?: number;
2192
- useLeadTimeInHours?: boolean;
2193
- }
2194
-
2195
- declare interface UseCronOptions {
2196
- defaultExpression?: string;
2197
- /**defaults to minutes */
2198
- useLeadTimeInHours?: boolean;
2199
- useLeadTimeLeft?: boolean;
2200
- useLeadTimeRight?: boolean;
2201
- value?: string;
2202
- }
2203
-
2204
- export declare function useCronPredictor(): {
2205
- predictFuture: (options: PredictOptions) => string[];
2206
- };
2207
-
2208
- export declare function useCSV<T>(options?: UseCSVOptions<T>): UseCSVPropsReturn;
2209
-
2210
- export declare interface UseCSVOptions<T> {
2211
- onImport?: (items: T[]) => void;
2212
- }
2213
-
2214
- export declare interface UseCSVPropsReturn {
2215
- exportToCSV: (options: ExportToCSVOptions) => string[] | undefined;
2216
- importFromCSV: (options?: ImportFromCSVOptions) => void;
2217
- loadingMsg: ComputedRef<string | undefined>;
2218
- }
2219
-
2220
- export declare function useCurrentEnv(curr?: CreateUrlOptions): Environment;
2221
-
2222
- /**
2223
- *
2224
- * @param microservice
2225
- * @returns
2226
- */
2227
- export declare function useDataUrl(microservice?: string): string;
2228
-
2229
- export declare function useDates(): BTDates;
2230
-
2231
- export declare function useDbName(): string;
2232
-
2233
- export declare function useDemo(): BTDemo;
2234
-
2235
- export declare function useDialogConfirm(options: UseDialogConfirmOptions): Promise<DialogReturn<string>>;
2236
-
2237
- export declare interface UseDialogConfirmOptions {
2238
- cancelText?: string;
2239
- confirmText?: string;
2240
- height?: string;
2241
- maxWidth?: string;
2242
- subtitle?: string;
2243
- text?: string;
2244
- title?: string;
2245
- }
2246
-
2247
- export declare function useDialogDate<T>(options: UseDialogDateOptions): Promise<DialogReturn<T>>;
2248
-
2249
- export declare interface UseDialogDateOptions extends ListProps<any, any, any> {
2250
- cancelText?: string;
2251
- confirmText?: string;
2252
- /**whether to show raw object/string in line items */
2253
- height?: string;
2254
- dateFrom?: string;
2255
- dateRules?: Function | unknown[];
2256
- format?: string;
2257
- fromNow?: boolean;
2258
- horizontal?: boolean;
2259
- onSelect?: (item: any) => void;
2260
- range?: boolean;
2261
- startingDate?: any;
2262
- useTime?: boolean;
2263
- maxWidth?: string;
2264
- subtitle?: string;
2265
- text?: string;
2266
- title?: string;
2267
- }
2268
-
2269
- export declare interface UseDialogItemsOptions extends ListProps<any, any, any> {
2270
- cancelText?: string;
2271
- confirmText?: string;
2272
- /**whether to show raw object/string in line items */
2273
- height?: string;
2274
- isRaw?: boolean;
2275
- itemActionTitle?: string;
2276
- itemActionFilter?: string;
2277
- itemActionFunction?: Function | undefined;
2278
- itemActionPrefix?: string;
2279
- itemActionProp?: string;
2280
- itemActionTruncate?: boolean;
2281
- itemSubtitle?: string;
2282
- itemSubtitleFilter?: string;
2283
- itemSubtitleFunction?: Function | undefined;
2284
- itemSubtitlePrefix?: string;
2285
- itemSubtitleProp?: string;
2286
- itemSubtitleTruncate?: boolean;
2287
- itemTitle?: string;
2288
- itemTitleFilter?: string;
2289
- itemTitleFunction?: Function | undefined;
2290
- itemTitlePrefix?: string;
2291
- itemTitleProp?: string;
2292
- itemTitleTruncate?: boolean;
2293
- itemValue?: string;
2294
- lines?: 'one' | 'two' | 'three';
2295
- maxWidth?: string;
2296
- onDisabled?: (item: any) => boolean;
2297
- /**defaults to single */
2298
- refresh?: boolean;
2299
- selectMode?: 'single' | 'multi';
2300
- selected?: any[];
2301
- selector?: (item: any) => string;
2302
- subtitle?: string;
2303
- text?: string;
2304
- title?: string;
2305
- }
2306
-
2307
- export declare function useDialogNumber(options: UseDialogNumberOptions): Promise<DialogReturn<number>>;
2308
-
2309
- export declare interface UseDialogNumberOptions {
2310
- buttonClass?: string;
2311
- buttonHeight?: string;
2312
- cancelText?: string;
2313
- confirmText?: string;
2314
- height?: string;
2315
- maxWidth?: string;
2316
- prefix?: string;
2317
- showDecimal?: boolean;
2318
- showNegative?: boolean;
2319
- startValue?: number;
2320
- subtitle?: string;
2321
- text?: string;
2322
- title?: string;
2323
- }
2324
-
2325
- export declare function useDialogSelect<T>(options: UseDialogItemsOptions): Promise<DialogReturn<T>>;
2326
-
2327
- export declare function useDialogString(options: UseDialogStringOptions): Promise<DialogReturn<string>>;
2328
-
2329
- export declare interface UseDialogStringOptions {
2330
- cancelText?: string;
2331
- confirmText?: string;
2332
- height?: string;
2333
- label?: string;
2334
- maxWidth?: string;
2335
- placeholder?: string;
2336
- rules?: any[];
2337
- startValue?: string;
2338
- subtitle?: string;
2339
- text?: string;
2340
- title?: string;
2341
- }
2342
-
2343
- /**routes with meta object */
2344
- export declare function useDocumentMeta(options?: UseDocumentMetaOptions): BTDocumentMeta;
2345
-
2346
- export declare interface UseDocumentMetaOptions {
2347
- demo?: BTDemo;
2348
- }
2349
-
2350
- export declare function useDraggable(target: MaybeRefOrGetter<ComponentPublicInstance | null>, //HTMLElement | SVGElement | null | undefined>,
2351
- handle: MaybeRefOrGetter<ComponentPublicInstance | null>, options?: UseDraggableOptions): {
2352
- draggingIsOn: Ref<boolean, boolean>;
2353
- turnDraggableOff: () => void;
2354
- turnDraggableOn: () => void;
2355
- };
2356
-
2357
- export declare interface UseDraggableOptions {
2358
- /**
2359
- * Only start the dragging when click on the element directly
2360
- *
2361
- * @default false
2362
- */
2363
- preventDefault?: MaybeRefOrGetter<boolean>;
2364
- stopPropagation?: MaybeRefOrGetter<boolean>;
2365
- /**
2366
- * Whether dispatch events in capturing phase
2367
- *
2368
- * @default true
2369
- */
2370
- capture?: boolean;
2371
- /**
2372
- * Element to attach `pointermove` and `pointerup` events to.
2373
- *
2374
- * @default window
2375
- */
2376
- draggingElement?: MaybeRefOrGetter<HTMLElement | SVGElement | Window | Document | null | undefined>;
2377
- /**
2378
- * Element for calculating bounds (If not set, it will use the event's target).
2379
- *
2380
- * @default undefined
2381
- */
2382
- /**
2383
- * Handle that triggers the drag event
2384
- *
2385
- * @default target
2386
- */
2387
- handle?: MaybeRefOrGetter<HTMLElement | SVGElement | null | undefined>;
2388
- /**
2389
- * Initial position of the element.
2390
- *
2391
- * @default { x: 0, y: 0 }
2392
- */
2393
- initialValue?: MaybeRefOrGetter<Position>;
2394
- onStart?: (position: Position, event: PointerEvent) => void | false;
2395
- onMove?: (position: Position, event: PointerEvent) => void;
2396
- onEnd?: (position: Position, event: PointerEvent) => void;
2397
- /**
2398
- * Axis to drag on.
2399
- *
2400
- * @default 'both'
2401
- */
2402
- axis?: 'x' | 'y' | 'both';
2403
- }
2404
-
2405
- export declare function useFeedback(): BTFeedback;
2406
-
2407
- export declare function useFilters(): BTFilters;
2408
-
2409
- export declare interface UseFiltersOptions {
2410
- auth: BTAuth;
2411
- dates: BTDates;
2412
- demo: BTDemo;
2413
- filters?: any;
2414
- }
2415
-
2416
- export declare function useForms(options?: UseFormsOptions): {
2417
- addFieldToSlide: (field: AFormFieldMeta, slide: AFormSlide) => void;
2418
- addSlide: () => void;
2419
- applyTemplate: (template: AFormTemplate) => void;
2420
- clearCurrent: () => void;
2421
- currentField: Ref<AFormField | undefined, AFormField | undefined>;
2422
- currentSlide: Ref<AFormSlide | undefined, AFormSlide | undefined>;
2423
- duplicateField: (field: AFormField) => AFormField;
2424
- duplicateSlide: (slide: AFormSlide) => AFormSlide;
2425
- fieldPropRules: (((prop: any) => true | "Property name is required") | ((prop: any) => true | "Must contain only letters, numbers, underscores, and dashes") | ((prop: any) => true | "This property name is already being used"))[];
2426
- getPropNameFor: (type: FieldType) => string;
2427
- hasInvalidProps: (schema: AForm) => string | undefined;
2428
- isInputType: ComputedRef<boolean>;
2429
- isLabelType: ComputedRef<boolean>;
2430
- isPlaceholderType: ComputedRef<boolean>;
2431
- isPropType: ComputedRef<boolean>;
2432
- isRequiredType: ComputedRef<boolean>;
2433
- isPropField: (type: FieldType) => boolean;
2434
- loadSchema: (schemaStr?: string) => void;
2435
- moveSlideDown: (slideIndex: number) => void;
2436
- moveSlideUp: (slideIndex: number) => void;
2437
- removeCurrent: () => void;
2438
- removeSlide: (slideName?: string) => void;
2439
- schema: Ref<AForm | undefined, AForm | undefined>;
2440
- schemaString: ComputedRef<string>;
2441
- selectField: (slide: AFormSlide, field: AFormField) => void;
2442
- selectSlide: (slide: AFormSlide) => void;
2443
- };
2444
-
2445
- export declare interface UseFormsOptions {
2446
- defaultColor?: string;
2447
- defaultTemplateName?: string;
2448
- onGetSchema?: (schema: AForm) => AForm;
2449
- }
2450
-
2451
- export declare function useFormSource(): CreateFormsOptions;
2452
-
2453
- export declare function useFormTemplates(group?: string): AFormTemplate[];
2454
-
2455
- export declare function useGeo(): {
2456
- areaContains: (polygon: GeoCoordinate[], point?: GeoCoordinate) => boolean;
2457
- getAreaAround: (location: GeoCoordinate, radius: number) => {
2458
- lat: number;
2459
- lng: number;
2460
- }[] | undefined;
2461
- getAreaToLeft: (location: GeoCoordinate, radius: number) => {
2462
- lat: number;
2463
- lng: number;
2464
- }[] | undefined;
2465
- getAreaToRight: (location: GeoCoordinate, radius: number) => {
2466
- lat: number;
2467
- lng: number;
2468
- }[] | undefined;
2469
- getBoundary: (mvcArray: any) => GeoCoordinate[];
2470
- };
2471
-
2472
- export declare function useGlobalBlades(options?: UseGlobalBladesOptions): {
2473
- blades: Ref<{
2474
- closeFunctions: (() => void)[];
2475
- updateFunctions: ((data: BladeData) => void)[];
2476
- bladeName: string;
2477
- bladeGroup: string;
2478
- data: any;
2479
- show: boolean;
2480
- }[], InternalBladeData[] | {
2481
- closeFunctions: (() => void)[];
2482
- updateFunctions: ((data: BladeData) => void)[];
2483
- bladeName: string;
2484
- bladeGroup: string;
2485
- data: any;
2486
- show: boolean;
2487
- }[]>;
2488
- closeBlade: (cOptions?: CloseBladeOptions) => void;
2489
- closeBladeAsync: (opt?: CloseBladeOptions) => Promise<void>;
2490
- isShowing: ComputedRef<(bladeName?: string) => boolean>;
2491
- updateBlade: <T, TReturn>(updateOptions: UpdateBladeData<GetOptions<T, TReturn>>) => void;
2492
- };
2493
-
2494
- export declare interface UseGlobalBladesOptions {
2495
- bladeGroup?: string;
2496
- }
2497
-
2498
- export declare function useGraphs(): BTGraphs;
2499
-
2500
- export declare function useHeights(options?: CreateHeightOptions): HeightOptions;
2501
-
2502
- export declare function useIcons(icons?: Partial<IconAliases>): IconOptions;
2503
-
2504
- export declare function useId(pattern?: string): string;
2505
-
2506
- export declare function useIDMemory(prefix?: string): {
2507
- getID: (key?: string) => string;
2508
- };
2509
-
2510
- export declare function useIds(): {
2511
- getID: () => string;
2512
- };
2513
-
2514
- export declare function useImageUrl(id: string, containerUrl?: string): string;
2515
-
2516
- /**
2517
- *
2518
- * @param props
2519
- * bladeName <-- props.bladeName ?? props.nav ?? 'basic'
2520
- * nav <-- props.nav ?? undefined
2521
- * @param options
2522
- * @returns
2523
- */
2524
- export declare function useItem<T, TSave, TReturn>(props: ItemProps<T, TSave, TReturn>, emit?: ItemEvents, options?: UseItemOptions): {
2525
- blades: Ref<BladeData[], BladeData[]>;
2526
- bladeData: BladeData;
2527
- closeBlade: (options?: CloseBladeOptions_2 | undefined) => void;
2528
- closeBladeAsync: (options?: CloseBladeOptions_2 | undefined) => Promise<void>;
2529
- isMobile: Ref<boolean, boolean>;
2530
- isShowing: ComputedRef<(bladeName?: string | undefined) => boolean>;
2531
- updateBlade: (data: UpdateBladeData_2<GetOptions<T, TReturn>>) => void;
2532
- variant: Ref<BladeVariant, BladeVariant>;
2533
- asyncItem: Ref<TReturn | TReturn[] | undefined, TReturn | TReturn[] | undefined>;
2534
- isChangingMode: Ref<boolean, boolean>;
2535
- deleteItem: (dItem: any) => Promise<void>;
2536
- errorMsg: ComputedRef<string | undefined>;
2537
- id: ComputedRef<string | undefined>;
2538
- isChanged: Ref<boolean, boolean>;
2539
- isDeletable: ComputedRef<boolean>;
2540
- isEditing: ComputedRef<boolean>;
2541
- isEditable: ComputedRef<boolean>;
2542
- isLoading: ComputedRef<boolean>;
2543
- isNew: ComputedRef<boolean>;
2544
- isRestorable: ComputedRef<boolean>;
2545
- isSaveable: ComputedRef<boolean>;
2546
- loadingMsg: ComputedRef<string | undefined>;
2547
- mode: Ref<BladeMode, BladeMode>;
2548
- proxyID: ComputedRef<string | undefined>;
2549
- refresh: (refreshOptions?: ItemRefreshOptions) => Promise<void>;
2550
- restoreItem: (dItem: any) => Promise<TReturn | undefined>;
2551
- runRefresh: (refreshOptions?: ItemRefreshOptions) => Promise<void>;
2552
- saveItem: (dItem: any, options?: SaveItemOptions) => Promise<TReturn | undefined>;
2553
- showError: ShallowRef<boolean, boolean>;
2554
- toggleMode: () => Promise<void>;
2555
- };
2556
-
2557
- export declare interface UseItemOptions {
2558
- onGetItem?: (item: any) => void;
2559
- onError?: (err: any) => any;
2560
- storeMode?: StoreMode;
2561
- storageMode?: StorageMode;
2562
- useRouteSrc?: boolean;
2563
- useBladeSrc?: boolean;
2564
- }
2565
-
2566
- /**
2567
- * PROPS first
2568
- * ROUTE second
2569
- * page=1
2570
- *
2571
- * BLADE third
2572
- * @param props
2573
- * @param emit
2574
- * @param options
2575
- */
2576
- export declare function useList<T, TSave, TReturn>(props: ListProps<T, TSave, TReturn>, emit?: ListEvents, options?: UseListOptions): {
2577
- blades?: Ref<BladeData_2[], BladeData_2[]> | undefined;
2578
- bladeData?: BladeData_2 | undefined;
2579
- closeBlade?: ((options?: CloseBladeOptions_2 | undefined) => void) | undefined;
2580
- closeBladeAsync?: ((options?: CloseBladeOptions_2 | undefined) => Promise<void>) | undefined;
2581
- isMobile?: Ref<boolean, boolean> | undefined;
2582
- isShowing?: ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
2583
- updateBlade?: ((data: UpdateBladeData_2<GetOptions<T, TReturn>>) => void) | undefined;
2584
- variant?: Ref<BladeVariant, BladeVariant> | undefined;
2585
- add: (variant: BladeVariant) => void;
2586
- applyFilters: () => Promise<void>;
2587
- asyncItems: Ref<TReturn | TReturn[] | undefined, TReturn | TReturn[] | undefined>;
2588
- currentExternalParty: Ref<ExternalParty | undefined, ExternalParty | undefined>;
2589
- currentPage: Ref<number, number>;
2590
- deleteItem: (item: TReturn) => Promise<void>;
2591
- displayHeaders: ComputedRef< {
2592
- align?: "end" | "start" | "center" | undefined;
2593
- bool?: number | undefined;
2594
- csv?: boolean | undefined;
2595
- csvArray?: boolean | undefined;
2596
- csvFilter?: string | undefined;
2597
- csvText?: string | undefined;
2598
- display?: boolean | undefined;
2599
- hide?: boolean | undefined;
2600
- itemText?: string | undefined;
2601
- level?: number | undefined;
2602
- maxWidth?: string | undefined;
2603
- minWidth?: string | undefined;
2604
- nav?: string | undefined;
2605
- prefix?: string | undefined;
2606
- searchable?: boolean | undefined;
2607
- showSize?: string | undefined;
2608
- single?: boolean | undefined;
2609
- sublevel?: number | undefined;
2610
- suffix?: string | undefined;
2611
- textFilter?: string | undefined;
2612
- textFunction?: Function | undefined;
2613
- title?: string | undefined;
2614
- truncate?: boolean | undefined;
2615
- value?: string | undefined;
2616
- width?: string | undefined;
2617
- }[]>;
2618
- errorMsg: ComputedRef<string | undefined>;
2619
- exportToCSV: () => void;
2620
- externalParties: Ref< {
2621
- additionalUrl: string;
2622
- canUnlink: boolean;
2623
- externalTextProp?: string | undefined;
2624
- localIDProp: string;
2625
- party: string;
2626
- }[], ExternalParty[] | {
2627
- additionalUrl: string;
2628
- canUnlink: boolean;
2629
- externalTextProp?: string | undefined;
2630
- localIDProp: string;
2631
- party: string;
2632
- }[]>;
2633
- filteredItems: ShallowRef<TReturn[], TReturn[]>;
2634
- filters: ComputedRef<any[]>;
2635
- filtersChanged: ComputedRef<boolean>;
2636
- headerOptions: Ref< {
2637
- align?: "end" | "start" | "center" | undefined;
2638
- bool?: number | undefined;
2639
- csv?: boolean | undefined;
2640
- csvArray?: boolean | undefined;
2641
- csvFilter?: string | undefined;
2642
- csvText?: string | undefined;
2643
- display?: boolean | undefined;
2644
- hide?: boolean | undefined;
2645
- itemText?: string | undefined;
2646
- level?: number | undefined;
2647
- maxWidth?: string | undefined;
2648
- minWidth?: string | undefined;
2649
- nav?: string | undefined;
2650
- prefix?: string | undefined;
2651
- searchable?: boolean | undefined;
2652
- showSize?: string | undefined;
2653
- single?: boolean | undefined;
2654
- sublevel?: number | undefined;
2655
- suffix?: string | undefined;
2656
- textFilter?: string | undefined;
2657
- textFunction?: Function | undefined;
2658
- title?: string | undefined;
2659
- truncate?: boolean | undefined;
2660
- value?: string | undefined;
2661
- width?: string | undefined;
2662
- }[], TableColumn[] | {
2663
- align?: "end" | "start" | "center" | undefined;
2664
- bool?: number | undefined;
2665
- csv?: boolean | undefined;
2666
- csvArray?: boolean | undefined;
2667
- csvFilter?: string | undefined;
2668
- csvText?: string | undefined;
2669
- display?: boolean | undefined;
2670
- hide?: boolean | undefined;
2671
- itemText?: string | undefined;
2672
- level?: number | undefined;
2673
- maxWidth?: string | undefined;
2674
- minWidth?: string | undefined;
2675
- nav?: string | undefined;
2676
- prefix?: string | undefined;
2677
- searchable?: boolean | undefined;
2678
- showSize?: string | undefined;
2679
- single?: boolean | undefined;
2680
- sublevel?: number | undefined;
2681
- suffix?: string | undefined;
2682
- textFilter?: string | undefined;
2683
- textFunction?: Function | undefined;
2684
- title?: string | undefined;
2685
- truncate?: boolean | undefined;
2686
- value?: string | undefined;
2687
- width?: string | undefined;
2688
- }[]>;
2689
- id: ComputedRef<string | undefined>;
2690
- isDeletable: ComputedRef<(item: TReturn | any) => boolean>;
2691
- isEditing: ComputedRef<boolean>;
2692
- isIntegratable: ComputedRef<(item: TReturn | any) => boolean>;
2693
- isIntegrated: ComputedRef<(item: TReturn | any) => boolean>;
2694
- isLoading: ComputedRef<boolean>;
2695
- isRestorable: ComputedRef<(item: TReturn | any) => boolean>;
2696
- loadingMsg: ComputedRef<string | undefined>;
2697
- mode: Ref<BladeMode, BladeMode>;
2698
- proxyID: ComputedRef<string | undefined>;
2699
- pushToExternalParty: (dItem: any) => Promise<void>;
2700
- refresh: (rOptions?: ListRefreshOptions) => Promise<void>;
2701
- refreshFilteredList: () => void;
2702
- restoreItem: (dItem: any) => Promise<TReturn | undefined>;
2703
- saveItem: (dItem: any) => Promise<TReturn | undefined>;
2704
- searchString: Ref<string | undefined, string | undefined>;
2705
- selectExternalParty: (party?: ExternalParty) => void;
2706
- selectedFilters: Ref<number[], number[]>;
2707
- selectItem: (rItem: any, variant: BladeVariant) => void;
2708
- showError: ShallowRef<boolean, boolean>;
2709
- showInactive: Ref<boolean, boolean>;
2710
- showSearch: ShallowRef<boolean, boolean>;
2711
- subtitleOptions: ComputedRef<GroupedHeaderOption[]>;
2712
- tableHeaders: ComputedRef< {
2713
- align?: "end" | "start" | "center" | undefined;
2714
- bool?: number | undefined;
2715
- csv?: boolean | undefined;
2716
- csvArray?: boolean | undefined;
2717
- csvFilter?: string | undefined;
2718
- csvText?: string | undefined;
2719
- display?: boolean | undefined;
2720
- hide?: boolean | undefined;
2721
- itemText?: string | undefined;
2722
- level?: number | undefined;
2723
- maxWidth?: string | undefined;
2724
- minWidth?: string | undefined;
2725
- nav?: string | undefined;
2726
- prefix?: string | undefined;
2727
- searchable?: boolean | undefined;
2728
- showSize?: string | undefined;
2729
- single?: boolean | undefined;
2730
- sublevel?: number | undefined;
2731
- suffix?: string | undefined;
2732
- textFilter?: string | undefined;
2733
- textFunction?: Function | undefined;
2734
- title?: string | undefined;
2735
- truncate?: boolean | undefined;
2736
- value?: string | undefined;
2737
- width?: string | undefined;
2738
- }[]>;
2739
- titleOptions: ComputedRef<GroupedHeaderOption[]>;
2740
- toggleSearch: () => void;
2741
- totalCount: Ref<number | undefined, number | undefined>;
2742
- totalPages: Ref<number, number>;
2743
- unlinkFromExternalParty: (dItem: any) => Promise<void>;
2744
- };
2745
-
2746
- export declare interface UseListOptions {
2747
- hideActions?: boolean;
2748
- /**used to select item. Default to x => x.id */
2749
- idSelector?: <T>(item: T) => string;
2750
- isNotSetup?: boolean;
2751
- onError?: (err: any) => any;
2752
- onFinished?: (items: any) => void;
2753
- onFinishedAsync?: (items: any) => Promise<void>;
2754
- params?: any;
2755
- router?: Router;
2756
- route?: RouteLocationNormalizedLoaded;
2757
- }
2758
-
2759
- export declare function useLists(options: UseListsOptions): {
2760
- loading: Ref<boolean, boolean>;
2761
- registerList: (listOptions: ListProps<any, any, any>) => ListProps<any, any, any>;
2762
- };
2763
-
2764
- declare interface UseListsOptions {
2765
- onAllLoaded: () => void;
2766
- }
2767
-
2768
- export declare function useLocalActions(): {
2769
- actionErrorMsg: ShallowRef<string | undefined>;
2770
- actionLoadingMsg: ShallowRef<string | undefined>;
2771
- clearErrors: () => void;
2772
- deleteItem: (doOptions: DeleteOptions_2) => Promise<unknown>;
2773
- isLoading: ComputedRef<boolean>;
2774
- };
2775
-
2776
- export declare function useLocalCache(): {
2777
- clearAsync: (storeName: string) => Promise<void>;
2778
- getAsync: <T>(key: string) => Promise<T | null>;
2779
- removeAsync: (key: string) => Promise<void>;
2780
- saveAsync: <T_1>(data: T_1, key: string) => Promise<void>;
2781
- };
2782
-
2783
- /**Returns a theme options object to pass into the create vuetify theme options */
2784
- export declare function useLocalCosmetics(options?: UseLocalCosmeticsOptions): any;
2785
-
2786
- declare interface UseLocalCosmeticsOptions {
2787
- defaultTheme?: string;
2788
- dark?: any;
2789
- light?: any;
2790
- storageName?: string;
2791
- }
2792
-
2793
- export declare function useLocalDb(): LocalForage_2;
2794
-
2795
- export declare function useLocalDeviceID(): string;
2796
-
2797
- export declare function useMenu(): BTMenu;
2798
-
2799
- export declare function useMyGeoLocation(): {
2800
- canGetGeoLocation: ComputedRef<boolean>;
2801
- getGeoLocation: () => Promise<GeoCoordinate | undefined>;
2802
- };
2803
-
2804
- export declare function useNavBack(): {
2805
- canNavBack: ComputedRef<boolean>;
2806
- navBack: (refresh?: boolean, to?: any) => void;
2807
- };
2808
-
2809
- export declare function useNavigation(): BTNavigation;
2810
-
2811
- export declare interface UseNavigationOptions {
2812
- defaultBackgroundName?: string;
2813
- defaultCacheExpiryHours?: number;
2814
- /**for overriding getting the display name */
2815
- getDisplayName?: (navItem: NavigationItem) => string | undefined;
2816
- /**returns potential a default company id for background image */
2817
- getDefaultBackgroundID?: () => string | undefined;
2818
- /**formulate the background url - whether external or internal */
2819
- getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
2820
- menu?: BTCreateMenu;
2821
- navItems?: NavigationItem[];
2822
- router?: Router;
2823
- updateNavItems?: boolean;
2824
- }
2825
-
2826
- export declare function useNested(): {
2827
- getValue: (item: any, path?: string, textFilter?: string) => any;
2828
- };
2829
-
2830
- export declare function usePresets(preset?: string): any;
2831
-
2832
- export declare function usePWA(): BTPWA;
2833
-
2834
- declare interface UsePWAOptions extends CreatePWAOptions {
2835
- urls: CreateUrlOptions;
2836
- }
2837
-
2838
- export declare function useRequirements(options?: UseRulesOptions): {
2839
- rules: ((val: any) => string | boolean)[];
2840
- isValid: (val: any) => boolean;
2841
- };
2842
-
2843
- export declare function useResizable(target: MaybeRefOrGetter_2<ComponentPublicInstance | null>, options?: UseResizeOptions): {
2844
- resizingIsOn: Ref<boolean, boolean>;
2845
- turnResizingOn: (handles?: ResizeHandle[]) => void;
2846
- turnResizingOff: () => void;
2847
- };
2848
-
2849
- export declare interface UseResizeOptions {
2850
- preventDefault?: MaybeRefOrGetter_2<boolean>;
2851
- stopPropagation?: MaybeRefOrGetter_2<boolean>;
2852
- handles?: ResizeHandle[];
2853
- /**
2854
- * Callback when the dragging starts. Return `false` to prevent dragging.
2855
- */
2856
- onStart?: (position: Position, event: PointerEvent) => void | false;
2857
- /**
2858
- * Callback during dragging.
2859
- */
2860
- onMove?: (position: Position, event: PointerEvent) => void;
2861
- /**
2862
- * Callback when dragging end.
2863
- */
2864
- onEnd?: (position: Position, event: PointerEvent) => void;
2865
- minWidth?: number;
2866
- maxWidth?: number;
2867
- minHeight?: number;
2868
- maxHeight?: number;
2869
- handleWidth?: number;
2870
- handleZIndex?: number;
2871
- }
2872
-
2873
- export declare function useResponsiveStyle(options: ResponsiveStyleOptions): {
2874
- style: ComputedRef<string>;
2875
- };
2876
-
2877
- export declare function useRules(options?: UseRulesOptions): ((val: any) => boolean | string)[];
2878
-
2879
- export declare interface UseRulesOptions {
2880
- forEmail?: boolean;
2881
- forPassword?: boolean;
2882
- otherRules?: any;
2883
- required?: boolean;
2884
- }
2885
-
2886
- declare interface UseSessionStoreOptions {
2887
- /**ideally required. Otherwise will struggle to find url path */
2888
- api?: BTApi;
2889
- /**ideally required. For setting unique local storage keys */
2890
- auth?: BTAuth;
2891
- demo?: BTDemo;
2892
- /**custom override for getting the key to store */
2893
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
2894
- /**used to select item. Default to x => x.id */
2895
- idSelector?: (item: any) => string;
2896
- /**whether to search for list locally or server first */
2897
- priority?: 'server' | 'local';
2898
- /**whether to store data locally or only for the duration of the session */
2899
- storageMode?: 'session' | 'local-cache';
2900
- /**build a query. Overrides the default */
2901
- buildQuery?: (params: any) => string;
2902
- /**overrides the default */
2903
- buildUrl?: (path: PathOptions) => string;
2904
- /**the name of this store */
2905
- storeName: string;
2906
- /**props to ignore (ie. 'customer') when updating */
2907
- updateIgnoreProps?: string[];
2908
- }
2909
-
2910
- export declare function useSettingsFor<TSettings>(key: string, defaultSettings: TSettings): BaseSettings<TSettings>;
2911
-
2912
- export declare function useSteps(id: string): RegisterStepsOptions;
2913
-
2914
- export declare function useStore(options: CreateStoreOptions): BTStore;
2915
-
2916
- export declare function useStoreDefinition(options: CreateStoreOptions): BTStoreDefinition;
2917
-
2918
- export declare interface UseStoreOptions {
2919
- /**ideally required. Otherwise will struggle to find url path */
2920
- api?: BTApi;
2921
- /**ideally required. For setting unique local storage keys */
2922
- auth?: BTAuth;
2923
- /**build a query. Overrides the default */
2924
- builderQuery?: (params: any) => string;
2925
- /**overrides the default */
2926
- buildUrl?: (path: PathOptions) => string;
2927
- dates: BTDates;
2928
- demo?: BTDemo;
2929
- /**custom override for getting the key to store */
2930
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
2931
- /**used to select item. Default to x => x.id */
2932
- idSelector?: (item: any) => string;
2933
- /**the name of this store found in navigation */
2934
- nav?: string;
2935
- /**ideally required. For determining store mode */
2936
- navigation?: BTNavigation;
2937
- /**appended to the end of the store name if exists */
2938
- proxyID?: string;
2939
- /**particularly what store syle to use */
2940
- storeMode?: StoreMode;
2941
- /**whether to store data locally or only for the duration of the session */
2942
- storageMode?: StorageMode;
2943
- /**the name of this store */
2944
- storeName?: string;
2945
- /**props to ignore (ie. 'customer') when updating */
2946
- updateIgnoreProps?: string[];
2947
- }
2948
-
2949
- export declare function useStyle(actualUsedHeight?: MaybeRefOrGetter<number>, ignoreCore?: boolean): {
2950
- style: ComputedRef<string>;
2951
- };
2952
-
2953
- export declare function useTabTitle(): string | undefined;
2954
-
2955
- export declare function useTracker<T>(data: MaybeRefOrGetter<T>, options?: UseTrackerOptions): TrackedItem<T>;
2956
-
2957
- export declare interface UseTrackerOptions {
2958
- propsToIgnore?: string[];
2959
- propsToTrack?: string[];
2960
- useTracker?: boolean;
2961
- }
2962
-
2963
- export declare function useUrls(): CreateUrlOptions;
2964
-
2965
- export declare function useUrlUpdater(): {
2966
- replaceParams: (newParams: any) => void;
2967
- updateID: (id?: string, replace?: boolean) => void;
2968
- updateParams: (newParams: any) => void;
2969
- updateQuery: (key: string, value?: string, replace?: boolean) => void;
2970
- updateSearch: (str?: string, replace?: boolean) => void;
2971
- };
2972
-
2973
- declare interface UseWholeLastUpdateStoreOptions {
2974
- /**ideally required. Otherwise will struggle to find url path */
2975
- api?: BTApi;
2976
- /**ideally required. For setting unique local storage keys */
2977
- auth?: BTAuth;
2978
- dates: BTDates;
2979
- demo?: BTDemo;
2980
- /**custom override for getting the key to store */
2981
- getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
2982
- /**how many minutes until store clears all data. Undefined means it won't happen */
2983
- minutesToClear?: number;
2984
- /**used to select item. Default to x => x.id */
2985
- idSelector?: (item: any) => string;
2986
- /**whether to search for list locally or server first */
2987
- priority?: 'server' | 'local';
2988
- storageMode?: 'session' | 'local-cache';
2989
- storeName: string;
2990
- }
2991
-
2992
- export declare function validEmail(email?: string): boolean;
2993
-
2994
- declare type ViewVariant = 'list-item' | 'outlined' | 'plain' | 'underlined' | 'filled' | 'solo' | 'solo-inverted' | 'solo-filled';
2995
-
2996
- export declare const weekdayPairs: {
2997
- value: number;
2998
- short: string;
2999
- values: (string | null | undefined)[];
3000
- }[];
3001
-
3002
- /**returns the sort value of the weekday csv string
3003
- * returns minimum if csv list
3004
- */
3005
- export declare function weekdayShortName(wkDay?: string): string | undefined;
3006
-
3007
- /**returns the sort value of the weekday csv string
3008
- * returns minimum if csv list
3009
- */
3010
- export declare function weekdayValue(wkDay?: string): number;
3011
-
3012
- export declare type WithBuyerID<T> = {
3013
- buyerID?: string;
3014
- } & T;
3015
-
3016
- export declare type WithCompanyID<T> = {
3017
- companyAccountID?: string;
3018
- } & T;
3019
-
3020
- export declare type WithCourierID<T> = {
3021
- courierID?: string;
3022
- } & T;
3023
-
3024
- export declare type WithSellerID<T> = {
3025
- sellerID?: string;
3026
- } & T;
3027
-
3028
- export { }
3029
-
3030
-
3031
- declare global {
3032
- interface Navigator {
3033
- msSaveOrOpenBlob: (blob: Blob, fileName: string) => boolean;
3034
- }
3035
- }
3036
-
1
+ import { default as BTTour } from './components/BT-Tour.vue';
2
+ import { default as BTFieldSelectSimple } from './components/BT-Field-Select-Simple.vue';
3
+ import { default as BTSelectSimple } from './components/BT-Select-Simple.vue';
4
+ import { default as BTSquareCheck } from './components/BT-Square-Check.vue';
5
+ import { default as BTFormField } from './components/BT-Form-Field.vue';
6
+ import { default as BTFormBuilder } from './components/BT-Form-Builder.vue';
7
+ import { default as BTForm } from './components/BT-Form.vue';
8
+ import { default as BTColorPickerMenu } from './components/BT-Color-Picker-Menu.vue';
9
+ import { default as BTDemoProfileSelect } from './components/BT-Demo-Profile-Select.vue';
10
+ import { default as BTDialogDate } from './components/BT-Dialog-Date.vue';
11
+ import { default as BTDialogNumber } from './components/BT-Dialog-Number.vue';
12
+ import { default as BTDialogSelect } from './components/BT-Dialog-Select.vue';
13
+ import { default as BTDialogConfirm } from './components/BT-Dialog-Confirm.vue';
14
+ import { default as BTDateSelect } from './components/BT-Date-Select.vue';
15
+ import { default as BTCronSpan } from './components/BT-Cron-Span.vue';
16
+ import { default as BTBladeSteps } from './components/BT-Blade-Steps.vue';
17
+ import { default as BTAssistantMenu } from './components/BT-Assistant-Menu.vue';
18
+ export type { DoActionOptions, IterateThroughOptions } from './composables/actions-tracker.ts';
19
+ export { useActionsTracker } from './composables/actions-tracker.ts';
20
+ export type { BTActions, GetOptions, DeleteOptions, RestoreOptions, SaveOptions, ApiActionOptions, ActionOptions, GetAllOptions, UseActionsOptions } from './composables/actions.ts';
21
+ export { useActions } from './composables/actions.ts';
22
+ export type { HelpLink, CreateAssistantOptions, BTAssistant } from './composables/assistant.ts';
23
+ export { useAssistant, createAssistant, findYouTubeAvatar } from './composables/assistant.ts';
24
+ export { useLocalActions } from './composables/actions-local.ts';
25
+ export type { BTApi, ApiError, CreateApiOptions as UseApiOptions, PathOptions, QueryParams } from './composables/api.ts';
26
+ export { createApi, useApi } from './composables/api.ts';
27
+ export type { BTAuth, AuthItem, AuthSubscription, BaseAuthCredentials, CreateAuthOptions } from './composables/auth.ts';
28
+ export { createAuth, useAuth } from './composables/auth.ts';
29
+ export type { TaskProgressDTO, BackgroundTaskDTO, BTBackgroundTasks, BTBackgroundTask, CreateBackgroundTasksOptions } from './composables/background-tasks.ts';
30
+ export { useBackgroundTask, useBackgroundTasks, createBackgroundTasks } from './composables/background-tasks.ts';
31
+ export type { BladeDensity, BladeVariant, BladeMode, BTGlobalBlades, UseGlobalBladesOptions, BTBlade, UseBladeOptions } from './composables/blade.ts';
32
+ export { useBlade, useGlobalBlades } from './composables/blade.ts';
33
+ export { useColorizer, type BTColorizer } from './composables/colorizer.ts';
34
+ export { useConfirm } from './composables/confirm.ts';
35
+ export type { BTCosmetics, BaseCosmeticTheme, UseCosmeticsOptions, CosmeticData } from './composables/cosmetics.ts';
36
+ export { createCosmetics, useCosmetics, useLocalCosmetics } from './composables/cosmetics.ts';
37
+ export { useCron, useCronPredictor, monthOptions } from './composables/cron.ts';
38
+ export { useCronAdjustments } from './composables/cron-adjustments.ts';
39
+ export * from './composables/csv.ts';
40
+ export type { BTDates, CreateDatesOptions } from './composables/dates.ts';
41
+ export { createDates, useDates, BTDateFormat } from './composables/dates.ts';
42
+ export type { BTDemo, DemoApiGroup, CreateDemoOptions, ExtendedPinia, DemoProfile, WithBuyerID, WithCourierID, WithCompanyID, WithSellerID } from './composables/demo.ts';
43
+ export { createDemo, useDemo } from './composables/demo.ts';
44
+ export * from './composables/dialog-items.ts';
45
+ export type { BTDocumentMeta, UseDocumentMetaOptions } from './composables/document-meta.ts';
46
+ export { useDocumentMeta } from './composables/document-meta.ts';
47
+ export * from './composables/draggable.ts';
48
+ export type { CreateFeedbackOptions, FeedbackDTO, BTFeedback } from './composables/feedback.ts';
49
+ export { createFeedback, useFeedback } from './composables/feedback.ts';
50
+ export type { BTFilters, UseFiltersOptions } from './composables/filters.ts';
51
+ export { createFilters, useFilters, ToDayDate, ToDayMonth, ToDayOfWeek, ToDayShortDate, ToDayShortDateAndTime, ToLongDate, ToLongDateAndTime, ToShortDate, ToShortDateAndTime, ToTime } from './composables/filters.ts';
52
+ export type { FieldType, CreateFormsOptions, UseFormsOptions, AFormFieldMeta, AFormField, AFormSlide, AForm, AFormVariant, AFormTemplate, AFormRequirements } from './composables/forms.ts';
53
+ export { createAForm, createForms, Fields, useForms, useFormTemplates, useFormSource } from './composables/forms.ts';
54
+ export type { GeoCoordinate } from './composables/geo.ts';
55
+ export { useGeo, useMyGeoLocation } from './composables/geo.ts';
56
+ export * from './composables/graph-pro.ts';
57
+ export type { HeightOptions, CreateHeightOptions } from './composables/heights.ts';
58
+ export { useHeights, useResponsiveStyle, useStyle } from './composables/heights.ts';
59
+ export { useLocalDb, useLocalCache } from './composables/forage.ts';
60
+ export * from './composables/helpers.ts';
61
+ export { useIcons } from './composables/icons.ts';
62
+ export { useId, useIds, useLocalDeviceID, useIDMemory } from './composables/id.ts';
63
+ export type { ItemEvents, ItemProps, ItemRefreshOptions, SaveItemOptions, UseItemOptions } from './composables/item.ts';
64
+ export { useItem } from './composables/item.ts';
65
+ export type { TableColumn, CustomFilterParam, ListEvents, ListProps, UseListOptions, GroupedHeaderOption } from './composables/list.ts';
66
+ export { useList } from './composables/list.ts';
67
+ export { useLists } from './composables/lists.ts';
68
+ export type { MenuGroup, CreateMenuOptions, BTCreateMenu, BTMenu } from './composables/menu.ts';
69
+ export { createMenu, useMenu } from './composables/menu.ts';
70
+ export type { BTNavigation, ExternalParty, NavigationItem, UseNavigationOptions, PermissionGroup } from './composables/navigation.ts';
71
+ export { createNavigation, useNavigation, useNavBack } from './composables/navigation.ts';
72
+ export { useNested } from './composables/nested.ts';
73
+ export type { BTPresets, CreatePresetsOptions } from './composables/presets.ts';
74
+ export { createPresets, usePresets } from './composables/presets.ts';
75
+ export type { BTPWA, SWEvent } from './composables/pwa.ts';
76
+ export { createPWA, usePWA } from './composables/pwa.ts';
77
+ export * from './composables/resizable.ts';
78
+ export { useResizable } from './composables/resizable.ts';
79
+ export { guardRoute, useUrlUpdater } from './composables/routing.ts';
80
+ export type { UseRulesOptions } from './composables/rules.ts';
81
+ export { TestEmailValid, TestRequired, useRules, useRequirements } from './composables/rules.ts';
82
+ export { type BaseSettings, useSettingsFor } from './composables/settings.ts';
83
+ export type { StepOption, RegisterStepsOptions } from './composables/steps.ts';
84
+ export { registerSteps, unregisterSteps, useSteps, hasSteps, nextStep, navBack, navTo, navToName } from './composables/steps.ts';
85
+ export type { GetStorageKeyOptions, StorePathOptions, BTStoreDefinition, BTBlobStoreDefinition, BTStore, BTBlobStore, StoreMode, StorageMode, LocalMeta, LocallyStoredItem, StoreGetAllReturn, StoreGetReturn, UseStoreOptions } from './composables/stores.ts';
86
+ export { useBlobStore, useStoreDefinition, useStore, createBlobStoreBuilder, createBlobStoreDefinition, createStoreBuilder, createWholeLastUpdateStoreDefinition, createSessionStoreDefinition } from './composables/stores.ts';
87
+ export type { SyncPOST, SyncActionPOST, BulkActionResult, SyncActionInstruction, SyncAction, SyncOptions } from './composables/sync.ts';
88
+ export type { UseTrackerOptions, TrackedItem } from './composables/track.ts';
89
+ export { useTracker } from './composables/track.ts';
90
+ export type { CreateUrlOptions, UrlSet, UrlOrigin } from './composables/urls.ts';
91
+ export { createUrl, useCurrentEnv, useUrls, useAuthUrl, useDbName, useDataUrl, useImageUrl, useTabTitle } from './composables/urls.ts';
92
+ export * from './types.ts';
93
+ export type { CoreApp, CreateCoreOptions, InstallCoreOptions } from './core.ts';
94
+ export { createCore } from './core.ts';
95
+ export { createVuetify } from 'vuetify';
96
+ export { BTAssistantMenu, BTBladeSteps, BTColorPickerMenu, BTCronSpan, BTDateSelect, BTDemoProfileSelect, BTDialogConfirm, BTDialogDate, BTDialogSelect, BTDialogNumber, BTFieldSelectSimple, BTForm, BTFormBuilder, BTFormField, BTSelectSimple, BTSquareCheck, BTTour };