@meeovi/layer-shared 1.1.3 → 1.1.5

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 (375) hide show
  1. package/dist/api/global-search.d.ts +8 -0
  2. package/dist/api/global-search.js +1 -0
  3. package/dist/app/components/Gallery/__tests__/Gallery.spec.d.ts +1 -0
  4. package/dist/app/components/Gallery/__tests__/Gallery.spec.js +12 -0
  5. package/dist/app/components/Heading/__tests__/Heading.spec.d.ts +1 -0
  6. package/dist/app/components/Heading/__tests__/Heading.spec.js +12 -0
  7. package/dist/app/components/Heading/types.d.ts +5 -0
  8. package/dist/app/components/Heading/types.js +1 -0
  9. package/dist/app/components/ui/AccordionItem/__tests__/AccordionItem.spec.d.ts +1 -0
  10. package/dist/app/components/ui/AccordionItem/__tests__/AccordionItem.spec.js +12 -0
  11. package/dist/app/components/ui/AccordionItem/types.d.ts +5 -0
  12. package/dist/app/components/ui/AccordionItem/types.js +1 -0
  13. package/dist/app/components/ui/Alert/types.d.ts +5 -0
  14. package/dist/app/components/ui/Alert/types.js +1 -0
  15. package/dist/app/components/ui/Breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +1 -0
  16. package/dist/app/components/ui/Breadcrumbs/__tests__/Breadcrumbs.spec.js +12 -0
  17. package/dist/app/components/ui/Breadcrumbs/types.d.ts +7 -0
  18. package/dist/app/components/ui/Breadcrumbs/types.js +1 -0
  19. package/dist/app/components/ui/CartProductCard/types.d.ts +17 -0
  20. package/dist/app/components/ui/CartProductCard/types.js +1 -0
  21. package/dist/app/components/ui/CategoryCard/types.d.ts +8 -0
  22. package/dist/app/components/ui/CategoryCard/types.js +1 -0
  23. package/dist/app/components/ui/Display/types.d.ts +12 -0
  24. package/dist/app/components/ui/Display/types.js +1 -0
  25. package/dist/app/components/ui/Divider/__tests__/Divider.spec.d.ts +1 -0
  26. package/dist/app/components/ui/Divider/__tests__/Divider.spec.js +8 -0
  27. package/dist/app/components/ui/Form/__tests__/FormHelperText.spec.d.ts +1 -0
  28. package/dist/app/components/ui/Form/__tests__/FormHelperText.spec.js +8 -0
  29. package/dist/app/components/ui/Form/__tests__/FormLabel.spec.d.ts +1 -0
  30. package/dist/app/components/ui/Form/__tests__/FormLabel.spec.js +8 -0
  31. package/dist/app/components/ui/Hero/types.d.ts +10 -0
  32. package/dist/app/components/ui/Hero/types.js +1 -0
  33. package/dist/app/components/ui/Modal/types.d.ts +7 -0
  34. package/dist/app/components/ui/Modal/types.js +1 -0
  35. package/dist/app/components/ui/Overlay/__tests__/Overlay.spec.d.ts +1 -0
  36. package/dist/app/components/ui/Overlay/__tests__/Overlay.spec.js +12 -0
  37. package/dist/app/components/ui/Overlay/types.d.ts +3 -0
  38. package/dist/app/components/ui/Overlay/types.js +1 -0
  39. package/dist/app/components/ui/Pagination/__tests__/Pagination.spec.d.ts +1 -0
  40. package/dist/app/components/ui/Pagination/__tests__/Pagination.spec.js +15 -0
  41. package/dist/app/components/ui/Pagination/types.d.ts +6 -0
  42. package/dist/app/components/ui/Pagination/types.js +1 -0
  43. package/dist/app/components/ui/ProductCard/__tests__/ProductCard.spec.d.ts +1 -0
  44. package/dist/app/components/ui/ProductCard/__tests__/ProductCard.spec.js +14 -0
  45. package/dist/app/components/ui/ProductCard/types.d.ts +12 -0
  46. package/dist/app/components/ui/ProductCard/types.js +1 -0
  47. package/dist/app/components/ui/ProductCardHorizontal/__tests__/ProductCardHorizontal.spec.d.ts +1 -0
  48. package/dist/app/components/ui/ProductCardHorizontal/__tests__/ProductCardHorizontal.spec.js +34 -0
  49. package/dist/app/components/ui/ProductCardHorizontal/types.d.ts +4 -0
  50. package/dist/app/components/ui/ProductCardHorizontal/types.js +1 -0
  51. package/dist/app/components/ui/PurchaseCard/__tests__/PurchaseCard.spec.d.ts +1 -0
  52. package/dist/app/components/ui/PurchaseCard/__tests__/PurchaseCard.spec.js +12 -0
  53. package/dist/app/components/ui/PurchaseCard/types.d.ts +4 -0
  54. package/dist/app/components/ui/PurchaseCard/types.js +1 -0
  55. package/dist/app/components/ui/QuantitySelector/__tests__/QuantitySelector.spec.d.ts +1 -0
  56. package/dist/app/components/ui/QuantitySelector/__tests__/QuantitySelector.spec.js +13 -0
  57. package/dist/app/components/ui/QuantitySelector/types.d.ts +5 -0
  58. package/dist/app/components/ui/QuantitySelector/types.js +1 -0
  59. package/dist/app/components/ui/Review/__tests__/Review.spec.d.ts +1 -0
  60. package/dist/app/components/ui/Review/__tests__/Review.spec.js +13 -0
  61. package/dist/app/components/ui/Review/types.d.ts +4 -0
  62. package/dist/app/components/ui/Review/types.js +1 -0
  63. package/dist/app/components/ui/Tag/__tests__/Tag.spec.d.ts +1 -0
  64. package/dist/app/components/ui/Tag/__tests__/Tag.spec.js +8 -0
  65. package/dist/app/components/ui/Tag/types.d.ts +14 -0
  66. package/dist/app/components/ui/Tag/types.js +11 -0
  67. package/dist/app/composables/globals/useAdminTable.d.ts +3 -0
  68. package/dist/app/composables/globals/useAdminTable.js +9 -0
  69. package/dist/app/composables/globals/useCustomFetch.d.ts +2 -0
  70. package/dist/app/composables/globals/useCustomFetch.js +8 -0
  71. package/dist/app/composables/globals/useDirectusField.d.ts +10 -0
  72. package/dist/app/composables/globals/useDirectusField.js +119 -0
  73. package/dist/app/composables/globals/useDirectusForm.d.ts +10 -0
  74. package/dist/app/composables/globals/useDirectusForm.js +66 -0
  75. package/dist/app/composables/globals/useFileManager.d.ts +14 -0
  76. package/dist/app/composables/globals/useFileManager.js +62 -0
  77. package/dist/app/composables/globals/useLivePreview.d.ts +1 -0
  78. package/dist/app/composables/globals/useLivePreview.js +16 -0
  79. package/dist/app/composables/globals/useLoading.d.ts +6 -0
  80. package/dist/app/composables/globals/useLoading.js +19 -0
  81. package/dist/app/composables/globals/useNotifications.d.ts +35 -0
  82. package/dist/app/composables/globals/useNotifications.js +133 -0
  83. package/dist/app/composables/globals/useRichText.d.ts +1 -0
  84. package/dist/app/composables/globals/useRichText.js +32 -0
  85. package/dist/app/composables/globals/useServerRootMixin.d.ts +3 -0
  86. package/dist/app/composables/globals/useServerRootMixin.js +15 -0
  87. package/dist/app/composables/globals/useVisualEditing.d.ts +17 -0
  88. package/dist/app/composables/globals/useVisualEditing.js +27 -0
  89. package/dist/app/composables/mappers/createMapper.d.ts +2 -0
  90. package/dist/app/composables/mappers/createMapper.js +6 -0
  91. package/dist/app/composables/mappers/errors.d.ts +6 -0
  92. package/dist/app/composables/mappers/errors.js +12 -0
  93. package/dist/app/composables/mappers/index.d.ts +6 -0
  94. package/dist/app/composables/mappers/index.js +7 -0
  95. package/dist/app/composables/mappers/registry.d.ts +5 -0
  96. package/dist/app/composables/mappers/registry.js +18 -0
  97. package/dist/app/composables/mappers/testHarness.d.ts +13 -0
  98. package/dist/app/composables/mappers/testHarness.js +98 -0
  99. package/dist/app/composables/mappers/types.d.ts +5 -0
  100. package/dist/app/composables/mappers/types.js +1 -0
  101. package/dist/app/composables/mappers/zodMapper.d.ts +9 -0
  102. package/dist/app/composables/mappers/zodMapper.js +17 -0
  103. package/dist/app/composables/media/useFile.d.ts +2 -0
  104. package/dist/app/composables/media/useFile.js +4 -0
  105. package/dist/app/composables/media/useMediaCenter.d.ts +29 -0
  106. package/dist/app/composables/media/useMediaCenter.js +321 -0
  107. package/dist/app/composables/media/useVideojs.d.ts +11 -0
  108. package/dist/app/composables/media/useVideojs.js +42 -0
  109. package/dist/app/composables/registry.d.ts +3 -0
  110. package/dist/app/composables/registry.js +10 -0
  111. package/dist/app/composables/schema/commerce/attributes.d.ts +7 -0
  112. package/dist/app/composables/schema/commerce/attributes.js +1 -0
  113. package/dist/app/composables/schema/commerce/blocks.d.ts +6 -0
  114. package/dist/app/composables/schema/commerce/blocks.js +1 -0
  115. package/dist/app/composables/schema/commerce/bundleProduts.d.ts +10 -0
  116. package/dist/app/composables/schema/commerce/bundleProduts.js +1 -0
  117. package/dist/app/composables/schema/commerce/cart.d.ts +29 -0
  118. package/dist/app/composables/schema/commerce/cart.js +1 -0
  119. package/dist/app/composables/schema/commerce/category.d.ts +12 -0
  120. package/dist/app/composables/schema/commerce/category.js +1 -0
  121. package/dist/app/composables/schema/commerce/checkout.d.ts +9 -0
  122. package/dist/app/composables/schema/commerce/checkout.js +1 -0
  123. package/dist/app/composables/schema/commerce/company.d.ts +7 -0
  124. package/dist/app/composables/schema/commerce/company.js +1 -0
  125. package/dist/app/composables/schema/commerce/configurableProducts.d.ts +12 -0
  126. package/dist/app/composables/schema/commerce/configurableProducts.js +1 -0
  127. package/dist/app/composables/schema/commerce/coupons.d.ts +9 -0
  128. package/dist/app/composables/schema/commerce/coupons.js +1 -0
  129. package/dist/app/composables/schema/commerce/credit-memos.d.ts +48 -0
  130. package/dist/app/composables/schema/commerce/credit-memos.js +1 -0
  131. package/dist/app/composables/schema/commerce/digitalProducts.d.ts +11 -0
  132. package/dist/app/composables/schema/commerce/digitalProducts.js +1 -0
  133. package/dist/app/composables/schema/commerce/directory.d.ts +7 -0
  134. package/dist/app/composables/schema/commerce/directory.js +1 -0
  135. package/dist/app/composables/schema/commerce/events.d.ts +27 -0
  136. package/dist/app/composables/schema/commerce/events.js +1 -0
  137. package/dist/app/composables/schema/commerce/gift-registry.d.ts +7 -0
  138. package/dist/app/composables/schema/commerce/gift-registry.js +1 -0
  139. package/dist/app/composables/schema/commerce/guest-cart.d.ts +4 -0
  140. package/dist/app/composables/schema/commerce/guest-cart.js +1 -0
  141. package/dist/app/composables/schema/commerce/inventory.d.ts +8 -0
  142. package/dist/app/composables/schema/commerce/inventory.js +1 -0
  143. package/dist/app/composables/schema/commerce/invoices.d.ts +47 -0
  144. package/dist/app/composables/schema/commerce/invoices.js +1 -0
  145. package/dist/app/composables/schema/commerce/orders.d.ts +32 -0
  146. package/dist/app/composables/schema/commerce/orders.js +1 -0
  147. package/dist/app/composables/schema/commerce/payments.d.ts +8 -0
  148. package/dist/app/composables/schema/commerce/payments.js +1 -0
  149. package/dist/app/composables/schema/commerce/price.d.ts +9 -0
  150. package/dist/app/composables/schema/commerce/price.js +1 -0
  151. package/dist/app/composables/schema/commerce/product-types.d.ts +6 -0
  152. package/dist/app/composables/schema/commerce/product-types.js +1 -0
  153. package/dist/app/composables/schema/commerce/product.d.ts +20 -0
  154. package/dist/app/composables/schema/commerce/product.js +1 -0
  155. package/dist/app/composables/schema/commerce/quotes.d.ts +13 -0
  156. package/dist/app/composables/schema/commerce/quotes.js +1 -0
  157. package/dist/app/composables/schema/commerce/requisition-lists.d.ts +9 -0
  158. package/dist/app/composables/schema/commerce/requisition-lists.js +1 -0
  159. package/dist/app/composables/schema/commerce/returns.d.ts +8 -0
  160. package/dist/app/composables/schema/commerce/returns.js +1 -0
  161. package/dist/app/composables/schema/commerce/reward.d.ts +7 -0
  162. package/dist/app/composables/schema/commerce/reward.js +1 -0
  163. package/dist/app/composables/schema/commerce/rules.d.ts +7 -0
  164. package/dist/app/composables/schema/commerce/rules.js +1 -0
  165. package/dist/app/composables/schema/commerce/shipment.d.ts +18 -0
  166. package/dist/app/composables/schema/commerce/shipment.js +1 -0
  167. package/dist/app/composables/schema/commerce/shops.d.ts +8 -0
  168. package/dist/app/composables/schema/commerce/shops.js +1 -0
  169. package/dist/app/composables/schema/commerce/stockItems.d.ts +7 -0
  170. package/dist/app/composables/schema/commerce/stockItems.js +1 -0
  171. package/dist/app/composables/schema/commerce/store.d.ts +7 -0
  172. package/dist/app/composables/schema/commerce/store.js +1 -0
  173. package/dist/app/composables/schema/commerce/subscriptons.d.ts +9 -0
  174. package/dist/app/composables/schema/commerce/subscriptons.js +1 -0
  175. package/dist/app/composables/schema/commerce/taxRates.d.ts +7 -0
  176. package/dist/app/composables/schema/commerce/taxRates.js +1 -0
  177. package/dist/app/composables/schema/commerce/taxRules.d.ts +7 -0
  178. package/dist/app/composables/schema/commerce/taxRules.js +1 -0
  179. package/dist/app/composables/schema/commerce/teams.d.ts +6 -0
  180. package/dist/app/composables/schema/commerce/teams.js +1 -0
  181. package/dist/app/composables/schema/commerce/transactions.d.ts +11 -0
  182. package/dist/app/composables/schema/commerce/transactions.js +1 -0
  183. package/dist/app/composables/schema/identity/customerGroup.d.ts +7 -0
  184. package/dist/app/composables/schema/identity/customerGroup.js +1 -0
  185. package/dist/app/composables/schema/identity/user.d.ts +45 -0
  186. package/dist/app/composables/schema/identity/user.js +1 -0
  187. package/dist/app/composables/schema/media/asset.d.ts +28 -0
  188. package/dist/app/composables/schema/media/asset.js +1 -0
  189. package/dist/app/composables/schema/social/post.d.ts +25 -0
  190. package/dist/app/composables/schema/social/post.js +1 -0
  191. package/dist/app/composables/schema/social/profile.d.ts +22 -0
  192. package/dist/app/composables/schema/social/profile.js +1 -0
  193. package/dist/app/composables/schema/social/space.d.ts +17 -0
  194. package/dist/app/composables/schema/social/space.js +1 -0
  195. package/dist/app/composables/types.d.ts +11 -0
  196. package/dist/app/composables/types.js +1 -0
  197. package/dist/app/composables/useContent.d.ts +4 -0
  198. package/dist/app/composables/useContent.js +10 -0
  199. package/dist/app/composables/useDirectusRequest.d.ts +12 -0
  200. package/dist/app/composables/useDirectusRequest.js +83 -0
  201. package/dist/app/composables/utils/assert.d.ts +1 -0
  202. package/dist/app/composables/utils/assert.js +5 -0
  203. package/dist/app/composables/utils/deepMerge.d.ts +1 -0
  204. package/dist/app/composables/utils/deepMerge.js +15 -0
  205. package/dist/app/composables/utils/index.d.ts +4 -0
  206. package/dist/app/composables/utils/index.js +4 -0
  207. package/dist/app/composables/utils/isObject.d.ts +1 -0
  208. package/dist/app/composables/utils/isObject.js +5 -0
  209. package/dist/app/composables/utils/module.d.ts +4 -0
  210. package/dist/app/composables/utils/module.js +14 -0
  211. package/dist/app/composables/utils/safeGet.d.ts +1 -0
  212. package/dist/app/composables/utils/safeGet.js +5 -0
  213. package/dist/app/stores/index.d.ts +0 -0
  214. package/dist/app/stores/index.js +1 -0
  215. package/dist/app/utils/billing-address.d.ts +2 -0
  216. package/dist/app/utils/billing-address.js +18 -0
  217. package/dist/app/utils/color.d.ts +2 -0
  218. package/dist/app/utils/color.js +11 -0
  219. package/dist/app/utils/currency.d.ts +6 -0
  220. package/dist/app/utils/currency.js +20 -0
  221. package/dist/app/utils/embed.d.ts +2 -0
  222. package/dist/app/utils/embed.js +52 -0
  223. package/dist/app/utils/errors.d.ts +5 -0
  224. package/dist/app/utils/errors.js +6 -0
  225. package/dist/app/utils/fonts.d.ts +5 -0
  226. package/dist/app/utils/fonts.js +18 -0
  227. package/dist/app/utils/formkit.d.ts +12 -0
  228. package/dist/app/utils/formkit.js +59 -0
  229. package/dist/app/utils/icons.d.ts +4 -0
  230. package/dist/app/utils/icons.js +36 -0
  231. package/dist/app/utils/links.d.ts +7 -0
  232. package/dist/app/utils/links.js +21 -0
  233. package/dist/app/utils/lodash.d.ts +2 -0
  234. package/dist/app/utils/lodash.js +23 -0
  235. package/dist/app/utils/markdown.d.ts +1 -0
  236. package/dist/app/utils/markdown.js +8 -0
  237. package/dist/app/utils/math.d.ts +6 -0
  238. package/dist/app/utils/math.js +21 -0
  239. package/dist/app/utils/navigation.d.ts +2 -0
  240. package/dist/app/utils/navigation.js +9 -0
  241. package/dist/app/utils/objects.d.ts +3 -0
  242. package/dist/app/utils/objects.js +11 -0
  243. package/dist/app/utils/paths.d.ts +21 -0
  244. package/dist/app/utils/paths.js +21 -0
  245. package/dist/app/utils/relations.d.ts +9 -0
  246. package/dist/app/utils/relations.js +24 -0
  247. package/dist/app/utils/strings.d.ts +14 -0
  248. package/dist/app/utils/strings.js +92 -0
  249. package/dist/app/utils/time.d.ts +13 -0
  250. package/dist/app/utils/time.js +124 -0
  251. package/dist/app/utils/url.d.ts +12 -0
  252. package/dist/app/utils/url.js +20 -0
  253. package/dist/app/utils/user-name.d.ts +2 -0
  254. package/dist/app/utils/user-name.js +15 -0
  255. package/dist/blocks/block-button-group.d.ts +6 -0
  256. package/dist/blocks/block-button-group.js +1 -0
  257. package/dist/blocks/block-button.d.ts +13 -0
  258. package/dist/blocks/block-button.js +1 -0
  259. package/dist/blocks/block-column.d.ts +18 -0
  260. package/dist/blocks/block-column.js +1 -0
  261. package/dist/blocks/block-cta.d.ts +11 -0
  262. package/dist/blocks/block-cta.js +1 -0
  263. package/dist/blocks/block-divider.d.ts +4 -0
  264. package/dist/blocks/block-divider.js +1 -0
  265. package/dist/blocks/block-faq.d.ts +11 -0
  266. package/dist/blocks/block-faq.js +1 -0
  267. package/dist/blocks/block-form.d.ts +7 -0
  268. package/dist/blocks/block-form.js +1 -0
  269. package/dist/blocks/block-gallery.d.ts +13 -0
  270. package/dist/blocks/block-gallery.js +1 -0
  271. package/dist/blocks/block-hero.d.ts +11 -0
  272. package/dist/blocks/block-hero.js +1 -0
  273. package/dist/blocks/block-html.d.ts +4 -0
  274. package/dist/blocks/block-html.js +1 -0
  275. package/dist/blocks/block-logocloud.d.ts +13 -0
  276. package/dist/blocks/block-logocloud.js +1 -0
  277. package/dist/blocks/block-quote.d.ts +10 -0
  278. package/dist/blocks/block-quote.js +1 -0
  279. package/dist/blocks/block-richtext.d.ts +7 -0
  280. package/dist/blocks/block-richtext.js +1 -0
  281. package/dist/blocks/block-steps.d.ts +21 -0
  282. package/dist/blocks/block-steps.js +1 -0
  283. package/dist/blocks/block-team.d.ts +6 -0
  284. package/dist/blocks/block-team.js +1 -0
  285. package/dist/blocks/block-testimonial.d.ts +13 -0
  286. package/dist/blocks/block-testimonial.js +1 -0
  287. package/dist/blocks/block-video.d.ts +9 -0
  288. package/dist/blocks/block-video.js +1 -0
  289. package/dist/blocks/block.d.ts +17 -0
  290. package/dist/blocks/block.js +1 -0
  291. package/dist/blocks/index.d.ts +18 -0
  292. package/dist/blocks/index.js +1 -0
  293. package/dist/componentMap.d.ts +6 -0
  294. package/dist/componentMap.js +8 -0
  295. package/dist/content/category.d.ts +10 -0
  296. package/dist/content/category.js +1 -0
  297. package/dist/content/form.d.ts +21 -0
  298. package/dist/content/form.js +1 -0
  299. package/dist/content/index.d.ts +6 -0
  300. package/dist/content/index.js +1 -0
  301. package/dist/content/page.d.ts +38 -0
  302. package/dist/content/page.js +1 -0
  303. package/dist/content/post.d.ts +38 -0
  304. package/dist/content/post.js +1 -0
  305. package/dist/content/team.d.ts +17 -0
  306. package/dist/content/team.js +1 -0
  307. package/dist/content/testimonial.d.ts +18 -0
  308. package/dist/content/testimonial.js +1 -0
  309. package/dist/help/index.d.ts +51 -0
  310. package/dist/help/index.js +1 -0
  311. package/dist/index.d.ts +7 -0
  312. package/dist/index.js +1 -0
  313. package/dist/meta/analytics.d.ts +21 -0
  314. package/dist/meta/analytics.js +1 -0
  315. package/dist/meta/config.d.ts +22 -0
  316. package/dist/meta/config.js +1 -0
  317. package/dist/meta/globals.d.ts +33 -0
  318. package/dist/meta/globals.js +1 -0
  319. package/dist/meta/index.d.ts +6 -0
  320. package/dist/meta/index.js +1 -0
  321. package/dist/meta/navigation.d.ts +31 -0
  322. package/dist/meta/navigation.js +1 -0
  323. package/dist/meta/redirect.d.ts +12 -0
  324. package/dist/meta/redirect.js +1 -0
  325. package/dist/meta/seo.d.ts +19 -0
  326. package/dist/meta/seo.js +1 -0
  327. package/dist/os/contact.d.ts +22 -0
  328. package/dist/os/contact.js +1 -0
  329. package/dist/os/conversation.d.ts +23 -0
  330. package/dist/os/conversation.js +1 -0
  331. package/dist/os/index.d.ts +16 -0
  332. package/dist/os/index.js +1 -0
  333. package/dist/os/organization.d.ts +51 -0
  334. package/dist/os/organization.js +1 -0
  335. package/dist/os/os-activity.d.ts +26 -0
  336. package/dist/os/os-activity.js +1 -0
  337. package/dist/os/os-deal.d.ts +42 -0
  338. package/dist/os/os-deal.js +1 -0
  339. package/dist/os/os-expense.d.ts +21 -0
  340. package/dist/os/os-expense.js +1 -0
  341. package/dist/os/os-invoice.d.ts +46 -0
  342. package/dist/os/os-invoice.js +1 -0
  343. package/dist/os/os-item.d.ts +17 -0
  344. package/dist/os/os-item.js +1 -0
  345. package/dist/os/os-payment.d.ts +27 -0
  346. package/dist/os/os-payment.js +1 -0
  347. package/dist/os/os-project.d.ts +45 -0
  348. package/dist/os/os-project.js +1 -0
  349. package/dist/os/os-proposal.d.ts +61 -0
  350. package/dist/os/os-proposal.js +1 -0
  351. package/dist/os/os-settings.d.ts +17 -0
  352. package/dist/os/os-settings.js +1 -0
  353. package/dist/os/os-subscription.d.ts +12 -0
  354. package/dist/os/os-subscription.js +1 -0
  355. package/dist/os/os-task.d.ts +32 -0
  356. package/dist/os/os-task.js +1 -0
  357. package/dist/os/os-tax-rate.d.ts +12 -0
  358. package/dist/os/os-tax-rate.js +1 -0
  359. package/dist/package.json +77 -0
  360. package/dist/pageComponentMap.d.ts +2 -0
  361. package/dist/pageComponentMap.js +7 -0
  362. package/dist/schema.d.ts +78 -0
  363. package/dist/schema.js +1 -0
  364. package/dist/system/file.d.ts +47 -0
  365. package/dist/system/file.js +1 -0
  366. package/dist/system/folder.d.ts +8 -0
  367. package/dist/system/folder.js +1 -0
  368. package/dist/system/index.d.ts +4 -0
  369. package/dist/system/index.js +1 -0
  370. package/dist/system/role.d.ts +20 -0
  371. package/dist/system/role.js +1 -0
  372. package/dist/system/user.d.ts +57 -0
  373. package/dist/system/user.js +1 -0
  374. package/dist/tsconfig.tsbuildinfo +1 -0
  375. package/package.json +9 -3
@@ -0,0 +1,8 @@
1
+ export interface GlobalSearchResult {
2
+ id?: string;
3
+ title?: string;
4
+ type?: string;
5
+ description?: string;
6
+ image?: string;
7
+ url?: string;
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Gallery from '~/components/Gallery/Gallery.vue';
3
+ describe('<Gallery />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(Gallery, {
6
+ props: {
7
+ images: [{ alt: 'Test', url: '/images/test.webp' }],
8
+ },
9
+ });
10
+ expect(getByTestId('gallery'));
11
+ });
12
+ });
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Heading from '~/components/Heading/Heading.vue';
3
+ describe('<Heading />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(Heading, {
6
+ props: {
7
+ title: 'test',
8
+ },
9
+ });
10
+ expect(getByTestId('heading'));
11
+ });
12
+ });
@@ -0,0 +1,5 @@
1
+ export type HeadingProps = {
2
+ title: string;
3
+ tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
+ className?: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import AccordionItem from '~/components/ui/AccordionItem/AccordionItem.vue';
3
+ describe('<AccordionItem />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(AccordionItem, {
6
+ props: {
7
+ breadcrumbs: [],
8
+ },
9
+ });
10
+ expect(getByTestId('accordion-item'));
11
+ });
12
+ });
@@ -0,0 +1,5 @@
1
+ export type AccordionItemProps = {
2
+ modelValue?: boolean;
3
+ summary?: string;
4
+ summaryClass?: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface AlertProps {
2
+ size?: 'sm' | 'base';
3
+ strong?: boolean;
4
+ variant?: 'primary' | 'secondary' | 'negative' | 'neutral';
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Breadcrumbs from '~/components/ui/Breadcrumbs/Breadcrumbs.vue';
3
+ describe('<Breadcrumbs />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(Breadcrumbs, {
6
+ props: {
7
+ breadcrumbs: [],
8
+ },
9
+ });
10
+ expect(getByTestId('breadcrumbs'));
11
+ });
12
+ });
@@ -0,0 +1,7 @@
1
+ export type Breadcrumb = {
2
+ name: string;
3
+ link: string;
4
+ };
5
+ export type BreadcrumbsProps = {
6
+ breadcrumbs: Breadcrumb[];
7
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ export interface Attribute {
2
+ label: string;
3
+ name: string;
4
+ value: string;
5
+ }
6
+ export type CartProductCardProps = {
7
+ attributes: Attribute[];
8
+ imageUrl?: string | null;
9
+ imageAlt?: string | null;
10
+ maxValue: number;
11
+ minValue: number;
12
+ name: string;
13
+ price: number;
14
+ specialPrice: number;
15
+ value: number;
16
+ slug: string;
17
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { SfCategory } from '@vue-storefront/unified-data-model';
2
+ interface CategoryWithImage extends SfCategory {
3
+ image: string;
4
+ }
5
+ export type CategoryCardProps = {
6
+ items: CategoryWithImage[];
7
+ };
8
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ export type DisplayProps = {
2
+ items: {
3
+ image: string;
4
+ title: string;
5
+ subtitle: string;
6
+ description: string;
7
+ buttonText: string;
8
+ reverse: boolean;
9
+ titleClass: string;
10
+ subtitleClass: string;
11
+ }[];
12
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Divider from '~/components/ui/Divider/Divider.vue';
3
+ describe('<Divider />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(Divider);
6
+ expect(getByTestId('divider'));
7
+ });
8
+ });
@@ -0,0 +1,8 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import FormHelperText from '~/components/ui/Form/FormHelperText.vue';
3
+ describe('<FormHelperText />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(FormHelperText);
6
+ expect(getByTestId('form-helper-text'));
7
+ });
8
+ });
@@ -0,0 +1,8 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import FormLabel from '~/components/ui/Form/FormLabel.vue';
3
+ describe('<FormLabel />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(FormLabel);
6
+ expect(getByTestId('form-label'));
7
+ });
8
+ });
@@ -0,0 +1,10 @@
1
+ export type HeroProps = {
2
+ image: string;
3
+ subtitle: string;
4
+ title: string;
5
+ description: string;
6
+ primaryButtonLink: string;
7
+ primaryButtonText: string;
8
+ secondaryButtonLink: string;
9
+ secondaryButtonText: string;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { ConcreteComponent } from 'vue';
2
+ export interface ModalProps {
3
+ modelValue?: boolean;
4
+ tag?: string | ConcreteComponent;
5
+ disableClickAway?: boolean;
6
+ disableEsc?: boolean;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Overlay from '~/components/ui/Overlay/Overlay.vue';
3
+ describe('<Overlay />', () => {
4
+ it('should render component', () => {
5
+ const wrapper = mount(Overlay, {
6
+ props: {
7
+ visible: true,
8
+ },
9
+ });
10
+ expect(wrapper.getByTestId('overlay'));
11
+ });
12
+ });
@@ -0,0 +1,3 @@
1
+ export interface OverlayProps {
2
+ visible?: boolean;
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Pagination from '~/components/ui/Pagination/Pagination.vue';
3
+ describe('<Pagination />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(Pagination, {
6
+ props: {
7
+ currentPage: 4,
8
+ pageSize: 24,
9
+ maxVisiblePages: 5,
10
+ totalItems: 2137,
11
+ },
12
+ });
13
+ expect(getByTestId('pagination'));
14
+ });
15
+ });
@@ -0,0 +1,6 @@
1
+ export type PaginationProps = {
2
+ currentPage: number;
3
+ pageSize: number;
4
+ totalItems: number;
5
+ maxVisiblePages: number;
6
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import ProductCard from '~/components/ui/ProductCard/ProductCard.vue';
3
+ describe('<ProductCard />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(ProductCard, {
6
+ props: {
7
+ name: 'test',
8
+ price: 100,
9
+ imageUrl: '/images/product.webp',
10
+ },
11
+ });
12
+ expect(getByTestId('product-card'));
13
+ });
14
+ });
@@ -0,0 +1,12 @@
1
+ export type ProductCardProps = {
2
+ name: string;
3
+ imageUrl: string;
4
+ imageAlt?: string;
5
+ description?: string;
6
+ rating?: number;
7
+ ratingCount?: number;
8
+ price?: number;
9
+ slug?: string;
10
+ priority?: boolean;
11
+ lazy?: boolean;
12
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import ProductCardHorizontal from '~/components/ui/ProductCardHorizontal/ProductCardHorizontal.vue';
3
+ describe('<ProductCardHorizontal />', () => {
4
+ it('should render component', () => {
5
+ const { getByTestId } = mount(ProductCardHorizontal, {
6
+ props: {
7
+ product: {
8
+ name: 'Smartwatch Fitness Tracker',
9
+ gallery: [
10
+ {
11
+ alt: 'Smartwatch Fitness Tracker',
12
+ url: '/images/watch.png',
13
+ },
14
+ ],
15
+ attributes: [
16
+ {
17
+ label: 'Size',
18
+ name: 'Size',
19
+ value: '1.9″',
20
+ valueLabel: 'value',
21
+ },
22
+ {
23
+ name: 'Color',
24
+ label: 'color',
25
+ value: 'Black',
26
+ valueLabel: 'value',
27
+ },
28
+ ],
29
+ },
30
+ },
31
+ });
32
+ expect(getByTestId('product-card-horizontal'));
33
+ });
34
+ });
@@ -0,0 +1,4 @@
1
+ import type { SfProduct } from '@vue-storefront/unified-data-model';
2
+ export type ProductHorizontalProps = {
3
+ product: Omit<SfProduct, 'id' | 'sku' | 'slug' | 'description' | 'price' | 'primaryImage' | 'rating' | 'variants' | 'quantityLimit'>;
4
+ };
@@ -0,0 +1,12 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import PurchaseCard from '~/components/ui/PurchaseCard/PurchaseCard.vue';
3
+ describe('<PurchaseCard />', () => {
4
+ it('should render component', () => {
5
+ const wrapper = mount(PurchaseCard, {
6
+ props: {
7
+ product: {},
8
+ },
9
+ });
10
+ expect(wrapper.getByTestId('purchase-card'));
11
+ });
12
+ });
@@ -0,0 +1,4 @@
1
+ import type { SfProduct } from '@vue-storefront/unified-data-model';
2
+ export type PurchaseCardProps = {
3
+ product: SfProduct;
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import QuantitySelector from '~/components/ui/QuantitySelector/QuantitySelector.vue';
3
+ const value = 1;
4
+ describe('<QuantitySelector />', () => {
5
+ it('should render component', () => {
6
+ const wrapper = mount(QuantitySelector, {
7
+ props: {
8
+ value,
9
+ },
10
+ });
11
+ expect(wrapper.getByTestId('quantity-selector'));
12
+ });
13
+ });
@@ -0,0 +1,5 @@
1
+ export interface QuantitySelectorProps {
2
+ value?: number;
3
+ minValue?: number;
4
+ maxValue?: number;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Review from '~/components/ui/Review/Review.vue';
3
+ import { mockProductReviews } from '~/composables/useProductReviews/__tests__/productReviews.mock';
4
+ describe('<Review />', () => {
5
+ it('should render component', () => {
6
+ const { getByTestId } = mount(Review, {
7
+ props: {
8
+ review: mockProductReviews[0],
9
+ },
10
+ });
11
+ expect(getByTestId('review'));
12
+ });
13
+ });
@@ -0,0 +1,4 @@
1
+ import type { SfProductReview } from '@vue-storefront/unified-data-model';
2
+ export type ReviewProps = {
3
+ review: SfProductReview;
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { mount } from '@vue/test-utils';
2
+ import Tag from '~/components/ui/Tag/Tag.vue';
3
+ describe('<Tag />', () => {
4
+ it('should render component', () => {
5
+ const wrapper = mount(Tag);
6
+ expect(wrapper.getByTestId('tag'));
7
+ });
8
+ });
@@ -0,0 +1,14 @@
1
+ export declare enum TagVariant {
2
+ primary = "primary",
3
+ secondary = "secondary",
4
+ negative = "negative"
5
+ }
6
+ export declare enum TagSize {
7
+ sm = "sm",
8
+ base = "base"
9
+ }
10
+ export interface TagProps {
11
+ size?: `${TagSize}`;
12
+ strong?: boolean;
13
+ variant?: `${TagVariant}`;
14
+ }
@@ -0,0 +1,11 @@
1
+ export var TagVariant;
2
+ (function (TagVariant) {
3
+ TagVariant["primary"] = "primary";
4
+ TagVariant["secondary"] = "secondary";
5
+ TagVariant["negative"] = "negative";
6
+ })(TagVariant || (TagVariant = {}));
7
+ export var TagSize;
8
+ (function (TagSize) {
9
+ TagSize["sm"] = "sm";
10
+ TagSize["base"] = "base";
11
+ })(TagSize || (TagSize = {}));
@@ -0,0 +1,3 @@
1
+ export declare function useAdminTable(refName?: string): {
2
+ refresh: () => void;
3
+ };
@@ -0,0 +1,9 @@
1
+ export function useAdminTable(refName = 'table') {
2
+ const adminTableRef = useTemplateRef(refName);
3
+ const refresh = () => {
4
+ adminTableRef.value?.fetchTableData();
5
+ };
6
+ return {
7
+ refresh
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ import type { UseFetchOptions } from '#imports';
2
+ export declare function useCustomFetch<T>(url: string | Request | Ref<string | Request> | (() => string | Request), options?: UseFetchOptions<T>): any;
@@ -0,0 +1,8 @@
1
+ export function useCustomFetch(url, options = {}) {
2
+ return {
3
+ ...useFetch(url, {
4
+ ...options,
5
+ $fetch: useNuxtApp().$customFetch
6
+ })
7
+ };
8
+ }
@@ -0,0 +1,10 @@
1
+ export declare function useDirectusField(field: any, modelValue: any, emit: any, formContext?: any): {
2
+ internalValue: import("vue").WritableComputedRef<any, any>;
3
+ internalAuto: import("vue").ComputedRef<boolean>;
4
+ label: import("vue").ComputedRef<string>;
5
+ fieldLookup: import("vue").ComputedRef<any>;
6
+ required: import("vue").ComputedRef<boolean>;
7
+ safeOptions: import("vue").ComputedRef<any>;
8
+ defaultValue: import("vue").ComputedRef<any>;
9
+ isMultiple: import("vue").ComputedRef<boolean>;
10
+ };