@feedmepos/mf-inventory-portal 0.0.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 (284) hide show
  1. package/README.md +31 -0
  2. package/dist/App.vue.d.ts +2 -0
  3. package/dist/ApprovalView-CTQdDgGH.js +119 -0
  4. package/dist/BindingsDialog-DvX_DRsO.js +82 -0
  5. package/dist/BindingsPicker-CQIGhTCR.js +124 -0
  6. package/dist/BindingsTable-Da4BLkvc.js +122 -0
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js +97 -0
  8. package/dist/Entry.vue.d.ts +2 -0
  9. package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js +144 -0
  10. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js +49 -0
  11. package/dist/IngredientsView-2ZKdzsgI.js +739 -0
  12. package/dist/IntegrationView-BRWYO3VE.js +1172 -0
  13. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +240 -0
  14. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js +66 -0
  15. package/dist/PurchaseOrderPrintPreview-CH9gVYDg.js +152 -0
  16. package/dist/ReceiveRequestView-DQBqc3GF.js +1298 -0
  17. package/dist/RecipeView-DFG9Wkx-.js +594 -0
  18. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +53 -0
  19. package/dist/Standalone.vue.d.ts +2 -0
  20. package/dist/StockView-DLWMp_I5.js +1733 -0
  21. package/dist/SupplierView-CZhM2ie3.js +607 -0
  22. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js +1027 -0
  23. package/dist/UnitView-C3XVSbJY.js +626 -0
  24. package/dist/WarehouseView-BntzAdz3.js +1139 -0
  25. package/dist/api/bill.d.ts +1364 -0
  26. package/dist/api/closing.d.ts +3 -0
  27. package/dist/api/error.d.ts +31 -0
  28. package/dist/api/food-market-hub.d.ts +38 -0
  29. package/dist/api/inventory.d.ts +176 -0
  30. package/dist/api/purchase-order.d.ts +13 -0
  31. package/dist/api/stock.d.ts +9 -0
  32. package/dist/api/supplier.d.ts +7 -0
  33. package/dist/api/type.d.ts +12 -0
  34. package/dist/api/warehouse.d.ts +7 -0
  35. package/dist/app-BzDhmCVx.js +36639 -0
  36. package/dist/app.d.ts +2 -0
  37. package/dist/app.js +5 -0
  38. package/dist/components/ChangeLocationComponent.vue.d.ts +2 -0
  39. package/dist/components/DeferableLoading.vue.d.ts +19 -0
  40. package/dist/components/DeferableLoadingProps.d.ts +4 -0
  41. package/dist/components/DeleteDialog.vue.d.ts +18 -0
  42. package/dist/components/FmCoordinateInput.vue.d.ts +24 -0
  43. package/dist/components/FmCoordinateInputProps.d.ts +23 -0
  44. package/dist/components/FmFilterableSelect.vue.d.ts +25 -0
  45. package/dist/components/FmFilterableSelectProps.d.ts +28 -0
  46. package/dist/components/FmMultiselectDialog.vue.d.ts +30 -0
  47. package/dist/components/FmMultiselectDialogProps.d.ts +16 -0
  48. package/dist/components/FmTableToolbar.vue.d.ts +49 -0
  49. package/dist/components/MultiSelectDialog.vue.d.ts +12 -0
  50. package/dist/components/MultiSelectDialogProps.d.ts +7 -0
  51. package/dist/components/NavigationTab.vue.d.ts +2 -0
  52. package/dist/components/NumberPrecisionInput.vue.d.ts +16 -0
  53. package/dist/components/NumberPrecisionInputProps.d.ts +12 -0
  54. package/dist/components/TableActionableRow.vue.d.ts +40 -0
  55. package/dist/components/UnitDisplayControl.vue.d.ts +12 -0
  56. package/dist/components/UnitDisplayControlProp.d.ts +7 -0
  57. package/dist/components/fm-components.type.d.ts +8 -0
  58. package/dist/components/form/form-mode.enum.d.ts +5 -0
  59. package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
  60. package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
  61. package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
  62. package/dist/components/icons/IconSupport.vue.d.ts +2 -0
  63. package/dist/components/icons/IconTooling.vue.d.ts +2 -0
  64. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +145 -0
  65. package/dist/components/inventory-binding/InventoryBindingProps.d.ts +11 -0
  66. package/dist/components/map/CoordinateDialog.vue.d.ts +24 -0
  67. package/dist/components/map/GoogleMap.vue.d.ts +79 -0
  68. package/dist/components/map/coordinates.d.ts +6 -0
  69. package/dist/components/map/helper/coords-to-latlong.d.ts +8 -0
  70. package/dist/components/map/type.d.ts +27 -0
  71. package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +7 -0
  72. package/dist/components/nested-multiselect/FmNestedMultiselectDialogProps.d.ts +22 -0
  73. package/dist/components/nested-multiselect/helper/multiselect-utils.d.ts +2 -0
  74. package/dist/components/row-action.enum.d.ts +13 -0
  75. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +84 -0
  76. package/dist/components/shell/inventory/binding-ui.test.d.ts +1 -0
  77. package/dist/components/shell/inventory/binding-ui.vue.d.ts +110 -0
  78. package/dist/components/shell/inventory/utils.d.ts +5 -0
  79. package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +36 -0
  80. package/dist/components/ui-library/FmSpecialChip.vue.d.ts +79 -0
  81. package/dist/composable/defineApi.d.ts +18 -0
  82. package/dist/composable/useBreakpoints.d.ts +7 -0
  83. package/dist/composable/useIframe.d.ts +37 -0
  84. package/dist/composable/useSearch.d.ts +5 -0
  85. package/dist/composable/useTabStorage.d.ts +2 -0
  86. package/dist/composable/useToast.d.ts +36 -0
  87. package/dist/core.d.ts +12 -0
  88. package/dist/cypress/component/FmFilterableSelect.cy.d.ts +1 -0
  89. package/dist/cypress/component/FmNestedMultiselectDialog.cy.d.ts +1 -0
  90. package/dist/cypress/component/UnitDisplayControl.cy.d.ts +1 -0
  91. package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +2 -0
  92. package/dist/cypress/e2e/views/MenuV3.spec.cy.d.ts +0 -0
  93. package/dist/cypress/e2e/views/MenuV4.spec.cy.d.ts +0 -0
  94. package/dist/cypress/e2e/views/Root.spec.cy.d.ts +0 -0
  95. package/dist/cypress/e2e/views/StockView.spec.cy.d.ts +0 -0
  96. package/dist/cypress/support/commands.d.ts +0 -0
  97. package/dist/cypress/support/component.d.ts +10 -0
  98. package/dist/cypress/support/e2e.d.ts +1 -0
  99. package/dist/date2-C7HiAWQG.js +209 -0
  100. package/dist/dayjs.min-Db57WhI9.js +282 -0
  101. package/dist/decimal-D3a0BwVj.js +98 -0
  102. package/dist/empty-placeholder-wf6-BWE8.js +4 -0
  103. package/dist/extensions/array.d.ts +15 -0
  104. package/dist/favicon.ico +0 -0
  105. package/dist/fuzzy-BW8ZYsDG.js +41 -0
  106. package/dist/helper/address.d.ts +2 -0
  107. package/dist/helper/component.d.ts +4 -0
  108. package/dist/helper/core/country/codes.d.ts +255 -0
  109. package/dist/helper/core/country/utils.d.ts +8 -0
  110. package/dist/helper/core/id-to-date.d.ts +1 -0
  111. package/dist/helper/core/store/type.d.ts +2 -0
  112. package/dist/helper/country.d.ts +260 -0
  113. package/dist/helper/date.spec.d.ts +1 -0
  114. package/dist/helper/date2.d.ts +20 -0
  115. package/dist/helper/decimal.d.ts +15 -0
  116. package/dist/helper/decimal.spec.d.ts +1 -0
  117. package/dist/helper/export.d.ts +12 -0
  118. package/dist/helper/form.d.ts +5 -0
  119. package/dist/helper/inventory.d.ts +1 -0
  120. package/dist/helper/iteration.d.ts +15 -0
  121. package/dist/helper/number.d.ts +27 -0
  122. package/dist/helper/number.spec.d.ts +1 -0
  123. package/dist/helper/object.d.ts +36 -0
  124. package/dist/helper/object.spec.d.ts +1 -0
  125. package/dist/helper/rules.d.ts +22 -0
  126. package/dist/helper/search.d.ts +21 -0
  127. package/dist/helper/semver.d.ts +20 -0
  128. package/dist/helper/semver.spec.d.ts +1 -0
  129. package/dist/helper/type.d.ts +8 -0
  130. package/dist/helper/url.d.ts +7 -0
  131. package/dist/helper/validate.d.ts +70 -0
  132. package/dist/helper/xlsx.util.d.ts +8 -0
  133. package/dist/helper/zod.d.ts +21 -0
  134. package/dist/id-to-date-ReZIpUDw.js +30 -0
  135. package/dist/index-D46it8Rk.js +12956 -0
  136. package/dist/init-date-range-M3Q03-Fd.js +21 -0
  137. package/dist/is-linked-ingredient-error-C6AghEwR.js +37 -0
  138. package/dist/layout/InventoryLayout.vue.d.ts +2 -0
  139. package/dist/layout/SingleColumnLayout.vue.d.ts +55 -0
  140. package/dist/layout/components/NavigationButton.vue.d.ts +22 -0
  141. package/dist/layout/layout-routes.d.ts +7 -0
  142. package/dist/layout/type.d.ts +17 -0
  143. package/dist/layout-BvUjg6JS.js +151 -0
  144. package/dist/locales/en/common.json +7 -0
  145. package/dist/main.d.ts +2 -0
  146. package/dist/router/index.d.ts +5 -0
  147. package/dist/router/name.d.ts +17 -0
  148. package/dist/router/shared.d.ts +11 -0
  149. package/dist/row-action.enum-BwQbURNh.js +28 -0
  150. package/dist/rules-DHfAMDW3.js +86 -0
  151. package/dist/stores/api.d.ts +10 -0
  152. package/dist/stores/env.d.ts +5 -0
  153. package/dist/stores/feature.d.ts +9 -0
  154. package/dist/stores/googlemap.d.ts +37 -0
  155. package/dist/stores/helper/generate-backend-urls.d.ts +8 -0
  156. package/dist/stores/inventory.d.ts +1983 -0
  157. package/dist/stores/layout.d.ts +5 -0
  158. package/dist/stores/location.d.ts +1898 -0
  159. package/dist/stores/route.d.ts +12 -0
  160. package/dist/stores/stock.d.ts +58 -0
  161. package/dist/stores/supplier.d.ts +30 -0
  162. package/dist/stores/warehouse.d.ts +88 -0
  163. package/dist/style.css +1 -0
  164. package/dist/supplier-DTiiOLtg.js +65 -0
  165. package/dist/tsconfig.app.tsbuildinfo +1 -0
  166. package/dist/use-inventory-binding-dialog-B6JO7050.js +109 -0
  167. package/dist/views/InventoryView.vue.d.ts +2 -0
  168. package/dist/views/SelectBussinessDialog.vue.d.ts +2 -0
  169. package/dist/views/approval/ApprovalView.vue.d.ts +2 -0
  170. package/dist/views/dev/ComponentPreview.vue.d.ts +2 -0
  171. package/dist/views/dev/components/CoordinateTest.vue.d.ts +2 -0
  172. package/dist/views/dev/components/DateRange.vue.d.ts +2 -0
  173. package/dist/views/dev/components/FmSelectTest.vue.d.ts +2 -0
  174. package/dist/views/dev/components/InventoryIframe.vue.d.ts +2 -0
  175. package/dist/views/dev/components/LayoutDev.vue.d.ts +2 -0
  176. package/dist/views/dev/components/MfCommontTest.vue.d.ts +2 -0
  177. package/dist/views/dev/components/NestedSelection.vue.d.ts +2 -0
  178. package/dist/views/dev/components/NumberStepper.vue.d.ts +2 -0
  179. package/dist/views/dev/components/TabStorageTest.vue.d.ts +2 -0
  180. package/dist/views/dev/helpers/debug.d.ts +22 -0
  181. package/dist/views/dev/helpers/nested-options.d.ts +60 -0
  182. package/dist/views/dev/helpers/pinia-test.d.ts +9 -0
  183. package/dist/views/home/HomeView.vue.d.ts +2 -0
  184. package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +2 -0
  185. package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +2 -0
  186. package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +2 -0
  187. package/dist/views/ingredients/IngredientsView.vue.d.ts +2 -0
  188. package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +30 -0
  189. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +54 -0
  190. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +8 -0
  191. package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +12 -0
  192. package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItemProps.d.ts +5 -0
  193. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +31 -0
  194. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +9 -0
  195. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +104 -0
  196. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +10 -0
  197. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +88 -0
  198. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +4 -0
  199. package/dist/views/ingredients/components/inventory-binding/util.d.ts +7 -0
  200. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -0
  201. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +46 -0
  202. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +7 -0
  203. package/dist/views/integration/IntegrationView.vue.d.ts +2 -0
  204. package/dist/views/integration/components/ApplyAddon.vue.d.ts +379 -0
  205. package/dist/views/integration/components/ApplyProduct.vue.d.ts +303 -0
  206. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +277 -0
  207. package/dist/views/integration/components/ApplyProductDialogProps.d.ts +17 -0
  208. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +277 -0
  209. package/dist/views/integration/helper/menu.d.ts +36 -0
  210. package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +2 -0
  211. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +12 -0
  212. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +11 -0
  213. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +18 -0
  214. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +12 -0
  215. package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +22 -0
  216. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +11 -0
  217. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -0
  218. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +10 -0
  219. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +369 -0
  220. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1202 -0
  221. package/dist/views/receive-request/constants/dialog-templates.d.ts +8 -0
  222. package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
  223. package/dist/views/receive-request/constants/purchase-row-actions.d.ts +2 -0
  224. package/dist/views/receive-request/helper/format-time-from-id.d.ts +2 -0
  225. package/dist/views/receive-request/helper/format-unit-display.d.ts +6 -0
  226. package/dist/views/receive-request/helper/get-received-amount.d.ts +2 -0
  227. package/dist/views/receive-request/helper/init-date-range.d.ts +8 -0
  228. package/dist/views/receive-request/helper/print-po.d.ts +2 -0
  229. package/dist/views/receive-request/helper/status-to-background.d.ts +2 -0
  230. package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +47 -0
  231. package/dist/views/recipe/RecipeView.vue.d.ts +2 -0
  232. package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +31 -0
  233. package/dist/views/recipe/components/recipe-dialog/RecipeDialogProps.d.ts +9 -0
  234. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +62 -0
  235. package/dist/views/recipe/components/recipe-form/RecipeFormProps.d.ts +10 -0
  236. package/dist/views/recipe/composables/use-recipe-form.d.ts +9 -0
  237. package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
  238. package/dist/views/recipe/helper/export-recipe.d.ts +1 -0
  239. package/dist/views/stock/StockView.vue.d.ts +2 -0
  240. package/dist/views/stock/components/StockHistory.vue.d.ts +17 -0
  241. package/dist/views/stock/components/StockHistoryProps.d.ts +7 -0
  242. package/dist/views/stock/components/StockRecordCard.vue.d.ts +712 -0
  243. package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +22 -0
  244. package/dist/views/stock/components/dialog/AdjustSkuDialogProps.d.ts +8 -0
  245. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +164 -0
  246. package/dist/views/stock/components/dialog/AdjustedItemFormProps.d.ts +8 -0
  247. package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +22 -0
  248. package/dist/views/stock/components/dialog/ConvertSkuDialogProps.d.ts +9 -0
  249. package/dist/views/stock/components/dialog/constant/adjustment-type-options.d.ts +7 -0
  250. package/dist/views/stock/components/dialog/helper/adjust.d.ts +3 -0
  251. package/dist/views/stock/components/dialog/helper/form-adjust.d.ts +10 -0
  252. package/dist/views/stock/composables/use-stock-table.d.ts +12 -0
  253. package/dist/views/stock/helper/compute-summary-total-test.d.ts +1 -0
  254. package/dist/views/stock/helper/compute-summary-total.d.ts +1 -0
  255. package/dist/views/stock/helper/compute-summary-total.spec.d.ts +1 -0
  256. package/dist/views/stock/helper/format-date-from-id.d.ts +2 -0
  257. package/dist/views/stock/helper/on-click-export-excel.d.ts +9 -0
  258. package/dist/views/stock/helper/stock-row-action.d.ts +13 -0
  259. package/dist/views/stock/type.d.ts +9 -0
  260. package/dist/views/supplier/SupplierView.vue.d.ts +2 -0
  261. package/dist/views/supplier/components/SupplierDialog.vue.d.ts +22 -0
  262. package/dist/views/supplier/components/SupplierDialogProps.d.ts +10 -0
  263. package/dist/views/supplier/components/SupplierForm.vue.d.ts +58 -0
  264. package/dist/views/supplier/components/SupplierFormProps.d.ts +8 -0
  265. package/dist/views/supplier/composables/use-supplier-table.d.ts +22 -0
  266. package/dist/views/unit/UnitView.vue.d.ts +2 -0
  267. package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +31 -0
  268. package/dist/views/unit/components/unit-dialog/UnitDialogProps.d.ts +9 -0
  269. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +50 -0
  270. package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +10 -0
  271. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +43 -0
  272. package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +12 -0
  273. package/dist/views/unit/components/unit-used-by/UnitUsedByProps.d.ts +3 -0
  274. package/dist/views/unit/composables/use-unit-form.d.ts +8 -0
  275. package/dist/views/unit/composables/use-unit-table.d.ts +19 -0
  276. package/dist/views/unit/type.d.ts +2 -0
  277. package/dist/views/warehouse/WarehouseView.vue.d.ts +2 -0
  278. package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +22 -0
  279. package/dist/views/warehouse/components/WarehouseDialogProps.d.ts +10 -0
  280. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +174 -0
  281. package/dist/views/warehouse/components/WarehouseFormProps.d.ts +8 -0
  282. package/dist/views/warehouse/composables/use-warehouse-table.d.ts +12 -0
  283. package/dist/xlsx-BljO4Lx2.js +15510 -0
  284. package/package.json +93 -0
@@ -0,0 +1,594 @@
1
+ import { defineComponent as N, ref as R, onMounted as le, resolveComponent as x, openBlock as w, createElementBlock as A, Fragment as ie, createElementVNode as g, toDisplayString as re, createVNode as v, createCommentVNode as j, computed as S, watch as ce, createBlock as T, withCtx as $, unref as b, isRef as Z, normalizeStyle as ue, Teleport as de, normalizeProps as me, guardReactiveProps as pe } from "vue";
2
+ import { u as I, c as K, S as fe, a as ee, b as ve } from "./app-BzDhmCVx.js";
3
+ import { useDialog as _e, useSnackbar as ae, useProxiedModel as te, useBreakpoints as ye } from "@feedmepos/ui-library";
4
+ import { i as ge, _ as be } from "./is-linked-ingredient-error-C6AghEwR.js";
5
+ import { F as h, D as oe, R as z } from "./row-action.enum-BwQbURNh.js";
6
+ import { _ as se } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js";
7
+ import { c as he, _ as we, F as ne, u as xe } from "./layout-BvUjg6JS.js";
8
+ import { a as q, f as Re } from "./date2-C7HiAWQG.js";
9
+ import { _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
10
+ import { R as Ce, U as Ee } from "./rules-DHfAMDW3.js";
11
+ import { _ as Se } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js";
12
+ import { u as H, w as Fe } from "./xlsx-BljO4Lx2.js";
13
+ const Ve = {
14
+ key: 0,
15
+ class: "flex flex-col items-center w-full h-full gap-24"
16
+ }, De = /* @__PURE__ */ g("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1), Ae = { key: 1 }, $e = /* @__PURE__ */ g("br", null, null, -1), Ie = { key: 0 }, Pe = /* @__PURE__ */ g("p", { class: "fm-typo-en-body-lg-600" }, "Affected menu items:", -1), Te = /* @__PURE__ */ N({
17
+ __name: "DeleteDialog",
18
+ props: {
19
+ type: {},
20
+ data: {},
21
+ message: {},
22
+ bindedItems: {}
23
+ },
24
+ setup(p) {
25
+ const u = p, f = R(u.bindedItems || []), n = R(!1);
26
+ le(() => {
27
+ r();
28
+ });
29
+ async function r() {
30
+ var a, d;
31
+ !n.value && ((a = u.data) != null && a._id) && (n.value = !0, f.value = await I().getAffectedMenu((d = u.data) == null ? void 0 : d._id), n.value = !1);
32
+ }
33
+ return (a, d) => {
34
+ const l = x("FmSpacer"), c = x("FmCircularProgress");
35
+ return w(), A(ie, null, [
36
+ g("p", null, re(a.message), 1),
37
+ n.value ? (w(), A("div", Ve, [
38
+ v(l),
39
+ g("div", null, [
40
+ v(c, { size: "xl" })
41
+ ]),
42
+ De,
43
+ v(l)
44
+ ])) : (w(), A("div", Ae, [
45
+ $e,
46
+ f.value.length > 0 ? (w(), A("div", Ie, [
47
+ Pe,
48
+ v(se, {
49
+ name: "Menu",
50
+ bindings: f.value
51
+ }, null, 8, ["bindings"])
52
+ ])) : j("", !0)
53
+ ]))
54
+ ], 64);
55
+ };
56
+ }
57
+ });
58
+ function Me() {
59
+ const p = _e(), u = ae(), f = I(), n = R(!1), r = R();
60
+ function a() {
61
+ const e = {
62
+ recipe: {},
63
+ mode: h.CREATE,
64
+ show: !0,
65
+ "onUpdate:show"(i) {
66
+ r.value.show = i;
67
+ }
68
+ };
69
+ r.value = e;
70
+ }
71
+ async function d(e) {
72
+ const i = {
73
+ recipe: K(e),
74
+ mode: h.UPDATE,
75
+ show: !0,
76
+ "onUpdate:show"(y) {
77
+ r.value.show = y;
78
+ }
79
+ };
80
+ r.value = i;
81
+ }
82
+ async function l(e) {
83
+ n.value = !0;
84
+ try {
85
+ await f.deleteRecipe(e), u.open({
86
+ title: "Success",
87
+ message: `Deleted ${e.name}`,
88
+ type: "success"
89
+ });
90
+ } catch (i) {
91
+ i instanceof fe && ge(i) ? p.open({
92
+ title: "Cannot delete recipe",
93
+ contentComponent: be,
94
+ contentComponentProps: {
95
+ subject: (e == null ? void 0 : e.name) ?? "",
96
+ items: i.errorResponse.message
97
+ },
98
+ secondaryActions: {
99
+ text: "Close",
100
+ close: !0
101
+ }
102
+ }) : console.log("unable to delete recipe", i), u.open({
103
+ title: `Cannot delete ${e == null ? void 0 : e.name}`,
104
+ message: "Please try again.",
105
+ type: "error"
106
+ }), console.error("failed to delete recipe", i);
107
+ } finally {
108
+ n.value = !1;
109
+ }
110
+ }
111
+ function c(e) {
112
+ p.open({
113
+ title: `Delete ${(e == null ? void 0 : e.name) ?? "recipe"}?`,
114
+ closeButton: !1,
115
+ primaryActions: {
116
+ text: "Delete",
117
+ close: !0,
118
+ variant: "destructive"
119
+ },
120
+ secondaryActions: {
121
+ text: "Cancel",
122
+ close: !0
123
+ },
124
+ contentComponent: Te,
125
+ contentComponentProps: {
126
+ type: "menu",
127
+ data: e,
128
+ message: "You may not be able to delete this recipe if it is linked in any of the inventory modules."
129
+ }
130
+ }).onPrimary(() => l(e));
131
+ }
132
+ return {
133
+ createRecipe: a,
134
+ updateRecipe: d,
135
+ deleteRecipe: c,
136
+ recipeDialogProps: r,
137
+ recipeViewLoading: n
138
+ };
139
+ }
140
+ function Ue({
141
+ updateRecipe: p,
142
+ deleteRecipe: u
143
+ }) {
144
+ async function f(a, d) {
145
+ const l = K(d);
146
+ if (a === z.Edit) {
147
+ await p(l);
148
+ return;
149
+ }
150
+ if (a === z.Delete) {
151
+ await u(l);
152
+ return;
153
+ }
154
+ }
155
+ const n = [
156
+ {
157
+ accessorKey: "recipe",
158
+ header: "Recipe",
159
+ size: 400
160
+ },
161
+ {
162
+ accessorKey: "ingredients",
163
+ header: "Ingredients",
164
+ size: "auto"
165
+ },
166
+ {
167
+ id: "action",
168
+ header: "",
169
+ cell(a) {
170
+ return he(
171
+ [oe[z.Edit], oe[z.Delete]],
172
+ (d) => {
173
+ f(d, a.row.original.original);
174
+ }
175
+ );
176
+ },
177
+ enableSorting: !1,
178
+ size: 40,
179
+ meta: {
180
+ cellClass: "",
181
+ headerClass: ""
182
+ }
183
+ }
184
+ ];
185
+ function r(a) {
186
+ const d = I();
187
+ return a.map((l) => ({
188
+ recipe: l.name,
189
+ ingredients: l.contains.map((c) => {
190
+ var i, y;
191
+ const e = d.skuById[c.id];
192
+ return e ? `${e.name} (${q(c.amount)}${((i = c.measurement) == null ? void 0 : i.abbrev) ?? ((y = e == null ? void 0 : e.unit) == null ? void 0 : y.abbrev)})` : null;
193
+ }).filter((c) => c).join(", "),
194
+ original: l
195
+ }));
196
+ }
197
+ return { columnDefs: n, formatRowData: r };
198
+ }
199
+ const Be = { class: "flex flex-col gap-40" }, Le = {
200
+ key: 0,
201
+ class: "col-span-2 mt-16 border-1 border-fm-color-neutral-gray-200 fm-corner-radius-lg flex flex-col p-16 gap-16"
202
+ }, ze = {
203
+ key: 0,
204
+ class: "flex flex-col items-center w-full h-full gap-24"
205
+ }, Ne = /* @__PURE__ */ g("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1), Ye = { key: 1 }, He = /* @__PURE__ */ N({
206
+ __name: "RecipeForm",
207
+ props: {
208
+ mode: {},
209
+ modelValue: {},
210
+ disabled: { type: Boolean }
211
+ },
212
+ emits: ["update:modelValue", "click:submit"],
213
+ setup(p, { expose: u, emit: f }) {
214
+ var C;
215
+ const n = p, r = f, a = S({
216
+ get() {
217
+ var t;
218
+ return ((t = n.modelValue) == null ? void 0 : t.name) ?? "";
219
+ },
220
+ set(t) {
221
+ const o = n.modelValue ?? {};
222
+ o.name = t, r("update:modelValue", o);
223
+ }
224
+ }), d = S({
225
+ get() {
226
+ var t;
227
+ return ((t = n.modelValue) == null ? void 0 : t.contains) ?? [];
228
+ },
229
+ set(t) {
230
+ const o = n.modelValue ?? {};
231
+ o.contains = t, r("update:modelValue", o);
232
+ }
233
+ });
234
+ function l() {
235
+ r("click:submit");
236
+ }
237
+ const c = R();
238
+ u({
239
+ validateInputs: () => {
240
+ var t, o;
241
+ (o = (t = c.value) == null ? void 0 : t.validateInputs) == null || o.call(t);
242
+ },
243
+ resetInputsValidation: () => {
244
+ var t, o;
245
+ (o = (t = c.value) == null ? void 0 : t.resetInputsValidation) == null || o.call(t);
246
+ },
247
+ resetInputs: () => {
248
+ var t, o;
249
+ (o = (t = c.value) == null ? void 0 : t.resetInputs) == null || o.call(t);
250
+ }
251
+ });
252
+ const e = I(), i = R([]), y = R(!1), m = R(!1);
253
+ ce(y, async (t) => {
254
+ k(t);
255
+ });
256
+ async function k(t) {
257
+ var o, V;
258
+ t && !m.value && ((o = n.modelValue) != null && o._id) && (m.value = !0, i.value = await e.getAffectedMenu((V = n.modelValue) == null ? void 0 : V._id), m.value = !1);
259
+ }
260
+ const s = S(
261
+ () => e.recipes.map((t) => ({ label: t.name, value: t.name }))
262
+ ), _ = R((C = n.modelValue) == null ? void 0 : C.name);
263
+ return (t, o) => {
264
+ const V = x("FmTextField"), P = x("FmCard"), Y = x("FmSwitch"), M = x("FmSpacer"), D = x("FmCircularProgress"), F = x("FmForm");
265
+ return w(), T(F, {
266
+ ref_key: "formRef",
267
+ ref: c,
268
+ onValidationSuccess: l
269
+ }, {
270
+ default: $(() => [
271
+ g("div", Be, [
272
+ v(V, {
273
+ disabled: t.disabled,
274
+ label: "Name",
275
+ "model-value": a.value,
276
+ "onUpdate:modelValue": o[0] || (o[0] = (E) => a.value = E),
277
+ rules: [
278
+ b(Ce)(),
279
+ b(Ee)(s.value, _.value, (E) => `[${E.value}] already exists`)
280
+ ],
281
+ "label-mark": "required"
282
+ }, null, 8, ["disabled", "model-value", "rules"]),
283
+ v(P, {
284
+ variant: "outlined",
285
+ class: "p-16"
286
+ }, {
287
+ default: $(() => {
288
+ var E;
289
+ return [
290
+ v(Se, {
291
+ id: (E = t.modelValue) == null ? void 0 : E._id,
292
+ disabled: t.disabled,
293
+ "model-value": d.value,
294
+ "onUpdate:modelValue": o[1] || (o[1] = (U) => d.value = U)
295
+ }, null, 8, ["id", "disabled", "model-value"])
296
+ ];
297
+ }),
298
+ _: 1
299
+ })
300
+ ]),
301
+ t.mode !== b(h).CREATE ? (w(), A("div", Le, [
302
+ g("div", null, [
303
+ v(Y, {
304
+ label: "Show binded items",
305
+ modelValue: y.value,
306
+ "onUpdate:modelValue": o[2] || (o[2] = (E) => y.value = E),
307
+ "label-placement": "right",
308
+ disabled: m.value
309
+ }, null, 8, ["modelValue", "disabled"])
310
+ ]),
311
+ m.value ? (w(), A("div", ze, [
312
+ v(M),
313
+ g("div", null, [
314
+ v(D, { size: "xl" })
315
+ ]),
316
+ Ne,
317
+ v(M)
318
+ ])) : (w(), A("div", Ye, [
319
+ y.value && i.value.length ? (w(), T(se, {
320
+ key: 0,
321
+ name: "Menu",
322
+ bindings: i.value
323
+ }, null, 8, ["bindings"])) : j("", !0)
324
+ ]))
325
+ ])) : j("", !0)
326
+ ]),
327
+ _: 1
328
+ }, 512);
329
+ };
330
+ }
331
+ }), je = { class: "flex gap-4" }, qe = /* @__PURE__ */ N({
332
+ __name: "RecipeDialog",
333
+ props: {
334
+ show: { type: Boolean },
335
+ recipe: {},
336
+ mode: { default: h.READ }
337
+ },
338
+ emits: ["update:show"],
339
+ setup(p) {
340
+ const u = p, f = I(), n = ae(), r = te(u, "show"), a = te(u, "recipe"), d = S(() => {
341
+ switch (u.mode) {
342
+ case h.READ:
343
+ return "View Recipe";
344
+ case h.UPDATE:
345
+ return "Edit Recipe";
346
+ case h.CREATE:
347
+ return "Add Recipe";
348
+ }
349
+ return "";
350
+ }), l = S(() => {
351
+ switch (u.mode) {
352
+ case h.READ:
353
+ return "";
354
+ case h.UPDATE:
355
+ return "Save";
356
+ case h.CREATE:
357
+ return "Add";
358
+ }
359
+ return "";
360
+ }), c = R(), e = R(!1);
361
+ async function i() {
362
+ e.value = !0;
363
+ try {
364
+ const s = K(a.value);
365
+ s.precision ?? (s.precision = 0), s.measurements ?? (s.measurements = []), await f.createRecipe(s), r.value = !1, n.open({
366
+ title: "Success",
367
+ message: "Created " + a.value.name,
368
+ type: "success"
369
+ });
370
+ } catch (s) {
371
+ s instanceof ee || n.open({
372
+ title: "Failed to create recipe",
373
+ message: "Please try again",
374
+ type: "error"
375
+ });
376
+ } finally {
377
+ e.value = !1;
378
+ }
379
+ }
380
+ async function y() {
381
+ e.value = !0;
382
+ try {
383
+ await f.updateRecipe(a.value), r.value = !1, n.open({
384
+ title: "Success",
385
+ message: "Updated " + a.value.name,
386
+ type: "success"
387
+ });
388
+ } catch (s) {
389
+ s instanceof ee || n.open({
390
+ title: "Failed to update recipe",
391
+ message: "Please try again",
392
+ type: "error"
393
+ });
394
+ } finally {
395
+ e.value = !1;
396
+ }
397
+ }
398
+ function m() {
399
+ var s, _;
400
+ (_ = (s = c.value) == null ? void 0 : s.validateInputs) == null || _.call(s);
401
+ }
402
+ function k() {
403
+ switch (u.mode) {
404
+ case h.READ:
405
+ return;
406
+ case h.UPDATE:
407
+ return y();
408
+ case h.CREATE:
409
+ return i();
410
+ }
411
+ }
412
+ return (s, _) => {
413
+ const C = x("FmButton"), t = x("FmSideSheet");
414
+ return w(), T(t, {
415
+ "model-value": b(r),
416
+ "onUpdate:modelValue": _[3] || (_[3] = (o) => Z(r) ? r.value = o : null),
417
+ header: d.value,
418
+ "close-button": "",
419
+ "dismiss-away": "",
420
+ "max-width": 500
421
+ }, {
422
+ "side-sheet-footer": $(() => [
423
+ g("div", je, [
424
+ v(C, {
425
+ loading: e.value,
426
+ label: l.value,
427
+ onClick: m
428
+ }, null, 8, ["loading", "label"]),
429
+ v(C, {
430
+ disabled: e.value,
431
+ label: "Close",
432
+ variant: "tertiary",
433
+ onClick: _[2] || (_[2] = (o) => r.value = !1)
434
+ }, null, 8, ["disabled"])
435
+ ])
436
+ ]),
437
+ default: $(() => [
438
+ v(He, {
439
+ class: "w-full",
440
+ ref_key: "hasValidationExpose",
441
+ ref: c,
442
+ modelValue: b(a),
443
+ "onUpdate:modelValue": _[0] || (_[0] = (o) => Z(a) ? a.value = o : null),
444
+ mode: s.mode,
445
+ disabled: e.value,
446
+ "onClick:submit": _[1] || (_[1] = (o) => k())
447
+ }, null, 8, ["modelValue", "mode", "disabled"])
448
+ ]),
449
+ _: 1
450
+ }, 8, ["model-value", "header"]);
451
+ };
452
+ }
453
+ });
454
+ function Ke(p, u, f = "Sheet1") {
455
+ const n = H.aoa_to_sheet([u, ...p]), r = p.reduce((l, c) => Math.max(l, c.length), 0), a = Array.from({ length: r }).map((l, c) => {
456
+ const e = p.map((i) => `${i[c]}`).reduce((i, y) => Math.max(i, y.length), 0);
457
+ return {
458
+ wch: Math.max(e, 5)
459
+ };
460
+ });
461
+ n["!cols"] = a;
462
+ const d = H.book_new();
463
+ return H.book_append_sheet(d, n, f), d;
464
+ }
465
+ function Xe(p, u) {
466
+ Fe(p, u, { compression: !0 });
467
+ }
468
+ function Ge() {
469
+ const p = I(), u = p.recipes, f = p.recipeById, n = p.skuById, r = u.flatMap((l, c) => {
470
+ var e;
471
+ if ((e = l.contains) != null && e.length) {
472
+ const i = l.contains.filter((m) => m.type === "RECIPE"), y = l.contains.filter((m) => m.type === "SKU");
473
+ return [
474
+ ...c === 0 ? [] : [["", "", "", "", ""]],
475
+ ...i.map(
476
+ (m, k) => {
477
+ var s;
478
+ return [
479
+ k === 0 ? l.name : "",
480
+ "RECIPE",
481
+ (s = f[m.id]) == null ? void 0 : s.name,
482
+ q(m.amount),
483
+ "UNIT"
484
+ ];
485
+ }
486
+ ),
487
+ ...y.map(
488
+ (m, k) => {
489
+ var s, _, C;
490
+ return [
491
+ !i.length && k === 0 ? l.name : "",
492
+ "INGREDIENT",
493
+ (s = n[m.id]) == null ? void 0 : s.name,
494
+ q(m.amount),
495
+ m.measurement ? m.measurement.abbrev : (C = (_ = n[m.id]) == null ? void 0 : _.unit) == null ? void 0 : C.abbrev
496
+ ];
497
+ }
498
+ )
499
+ ];
500
+ }
501
+ return [
502
+ ...c === 0 ? [] : [["", "", "", "", ""]],
503
+ [l.name, "No bindings", "", "", ""]
504
+ ];
505
+ }), d = Ke(r, ["Name", "Type", "Item", "Amount", "Unit"]);
506
+ Xe(d, `RECIPE_${Re(/* @__PURE__ */ new Date(), "-", "-")}.xlsx`);
507
+ }
508
+ const Je = { class: "px-24 xs:p-0 sm:p-0 flex flex-col gap-8 max-h-full" }, Oe = { class: "px-8 flex items-center xs:gap-0 xs:flex-col-reverse sm:gap-0 sm:flex-col-reverse" }, Qe = { class: "flex-1 w-full" }, We = { class: "flex flex-col py-8" }, Ze = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, et = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pt = /* @__PURE__ */ N({
509
+ __name: "RecipeView",
510
+ setup(p) {
511
+ const u = I(), f = S(() => u.recipes), n = ve(), { createRecipe: r, updateRecipe: a, deleteRecipe: d, recipeDialogProps: l, recipeViewLoading: c } = Me(), { columnDefs: e, formatRowData: i } = Ue({
512
+ updateRecipe: a,
513
+ deleteRecipe: d
514
+ }), y = S(() => i(f.value));
515
+ function m(V) {
516
+ V === "add" && r();
517
+ }
518
+ const k = R(""), s = S(() => c.value), _ = {
519
+ label: "Export",
520
+ icon: "ios_share",
521
+ key: "export"
522
+ }, { breakpoints: C } = ye(), t = S(() => C.value.xs || C.value.sm ? 10 : 20), o = xe();
523
+ return (V, P) => {
524
+ const Y = x("FmTableToolbar"), M = x("FmTable");
525
+ return w(), T(ke, {
526
+ title: "Recipe",
527
+ actions: [{ label: "Add recipe", value: "add", isPrimary: !0, prependIcon: "add" }],
528
+ "onClick:action": m
529
+ }, {
530
+ default: $(() => [
531
+ g("div", Je, [
532
+ g("div", Oe, [
533
+ g("div", Qe, [
534
+ v(Y, {
535
+ searchable: "",
536
+ "search-model": k.value,
537
+ "onUpdate:searchModel": P[0] || (P[0] = (D) => k.value = D),
538
+ actions: [_],
539
+ "onClick:actionExport": b(Ge)
540
+ }, null, 8, ["search-model", "actions", "onClick:actionExport"])
541
+ ])
542
+ ]),
543
+ (w(), T(M, {
544
+ style: ue(b(o).tableHeight),
545
+ "column-defs": b(e),
546
+ "row-data": y.value,
547
+ "search-value": k.value,
548
+ loading: !b(n)._currentLocation || s.value,
549
+ onRowClick: P[1] || (P[1] = (D) => b(a)(D.original.original)),
550
+ key: f.value.length,
551
+ "page-size": t.value
552
+ }, {
553
+ "list-row": $((D) => [
554
+ v(we, {
555
+ row: D,
556
+ onRowClick: (F) => b(a)(F.original)
557
+ }, {
558
+ default: $((F) => {
559
+ var E, U, X, B, G, J, O, Q, L, W;
560
+ return [
561
+ g("div", We, [
562
+ g("div", Ze, [
563
+ v(b(ne), {
564
+ render: (X = (U = (E = F.recipe) == null ? void 0 : E.column) == null ? void 0 : U.columnDef) == null ? void 0 : X.cell,
565
+ props: (G = (B = F.recipe) == null ? void 0 : B.getContext) == null ? void 0 : G.call(B)
566
+ }, null, 8, ["render", "props"])
567
+ ]),
568
+ g("div", et, [
569
+ v(b(ne), {
570
+ render: (Q = (O = (J = F.ingredients) == null ? void 0 : J.column) == null ? void 0 : O.columnDef) == null ? void 0 : Q.cell,
571
+ props: (W = (L = F.ingredients) == null ? void 0 : L.getContext) == null ? void 0 : W.call(L)
572
+ }, null, 8, ["render", "props"])
573
+ ])
574
+ ])
575
+ ];
576
+ }),
577
+ _: 2
578
+ }, 1032, ["row", "onRowClick"])
579
+ ]),
580
+ _: 1
581
+ }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"]))
582
+ ]),
583
+ (w(), T(de, { to: "body" }, [
584
+ v(qe, me(pe(b(l))), null, 16)
585
+ ]))
586
+ ]),
587
+ _: 1
588
+ });
589
+ };
590
+ }
591
+ });
592
+ export {
593
+ pt as default
594
+ };
@@ -0,0 +1,53 @@
1
+ import { defineComponent as b, computed as _, resolveComponent as k, openBlock as s, createElementBlock as r, Fragment as x, createElementVNode as t, toDisplayString as h, unref as i, createVNode as p, createCommentVNode as d, renderSlot as y, createBlock as g, Teleport as B } from "vue";
2
+ import { useBreakpoints as C } from "@feedmepos/ui-library";
3
+ const w = { class: "flex flex-col w-full bg-white h-full" }, F = { class: "flex items-center px-24 py-16 xs:p-12 sm:p-12 gap-4 h-[68px]" }, N = { class: "flex-1 fm-typo-en-title-md-800 flex items-center h-[36px] bg-white" }, S = { key: 0 }, V = { class: "bg-white flex-1" }, $ = { class: "fixed bottom-96 right-16" }, P = /* @__PURE__ */ b({
4
+ __name: "SingleColumnLayout",
5
+ props: {
6
+ actions: { default: () => [] },
7
+ title: { default: "Title" },
8
+ description: {},
9
+ showBackButton: { type: Boolean },
10
+ defaultPadding: { type: Boolean },
11
+ breadcrumbs: { default: () => [] }
12
+ },
13
+ emits: ["click:action"],
14
+ setup(u, { emit: m }) {
15
+ const f = u, a = m, e = _(() => f.actions.find((l) => l.isPrimary)), { breakpoints: o } = C();
16
+ return (l, n) => {
17
+ const c = k("FmButton");
18
+ return s(), r(x, null, [
19
+ t("div", w, [
20
+ t("div", F, [
21
+ t("div", N, h(l.title), 1),
22
+ e.value && (i(o).lg || i(o).md) ? (s(), r("div", S, [
23
+ p(c, {
24
+ label: e.value.label,
25
+ "prepend-icon": e.value.prependIcon,
26
+ onClick: n[0] || (n[0] = (v) => a("click:action", e.value.value))
27
+ }, null, 8, ["label", "prepend-icon"])
28
+ ])) : d("", !0)
29
+ ]),
30
+ t("div", V, [
31
+ y(l.$slots, "default")
32
+ ])
33
+ ]),
34
+ e.value && (i(o).sm || i(o).xs) ? (s(), g(B, {
35
+ key: 0,
36
+ to: "body"
37
+ }, [
38
+ t("div", $, [
39
+ p(c, {
40
+ label: e.value.label,
41
+ "prepend-icon": e.value.prependIcon,
42
+ onClick: n[1] || (n[1] = (v) => a("click:action", e.value.value)),
43
+ variant: "fab"
44
+ }, null, 8, ["label", "prepend-icon"])
45
+ ])
46
+ ])) : d("", !0)
47
+ ], 64);
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ P as _
53
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;