@feedmepos/mf-settings 0.0.61-beta.1 → 0.0.61-prod

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.
@@ -0,0 +1,27 @@
1
+ import { defineComponent as o, computed as n, resolveComponent as d, openBlock as s, createElementBlock as c, createVNode as m } from "vue";
2
+ import { useCoreStore as u, FeedMeAuth as i } from "@feedmepos/mf-common";
3
+ const l = {
4
+ key: 0,
5
+ class: "w-full h-full flex items-center justify-center"
6
+ }, p = ["src"], h = /* @__PURE__ */ o({
7
+ __name: "TemplateBuilder",
8
+ setup(f) {
9
+ const e = u(), t = n(() => {
10
+ var r;
11
+ return e.currentBusiness.value ? `https://print-template-builder.feedme.cc//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${i.token}` : "";
12
+ });
13
+ return (r, b) => {
14
+ const a = d("FmCircularProgress");
15
+ return t.value ? (s(), c("iframe", {
16
+ key: 1,
17
+ class: "w-full h-full",
18
+ src: t.value
19
+ }, null, 8, p)) : (s(), c("div", l, [
20
+ m(a, { size: "lg" })
21
+ ]));
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ h as default
27
+ };
@@ -1,11 +1,11 @@
1
- import { FmApp as b, routers as _, i18nMessages as n } from "@feedmepos/mf-mdm";
2
- import { ref as u, watch as c, nextTick as m, onMounted as h, onBeforeUnmount as v, defineComponent as p, computed as y, openBlock as g, createElementBlock as f, normalizeStyle as R, renderSlot as w, resolveComponent as L, createBlock as U, withCtx as q, createElementVNode as T, createVNode as C, defineAsyncComponent as A } from "vue";
3
- import { useBreakpoints as x } from "@feedmepos/ui-library";
1
+ import { FmApp as b, routers as _, i18nMessages as s } from "@feedmepos/mf-mdm";
2
+ import { ref as m, watch as c, nextTick as u, onMounted as v, onBeforeUnmount as h, defineComponent as p, computed as y, openBlock as g, createElementBlock as f, normalizeStyle as R, renderSlot as w, resolveComponent as L, createBlock as U, withCtx as q, createElementVNode as O, createVNode as S, defineAsyncComponent as T } from "vue";
3
+ import { useBreakpoints as C } from "@feedmepos/ui-library";
4
4
  import "vue-router";
5
- import { withPermission as k } from "@feedmepos/mf-common";
6
- import { FmApp as S, routers as O } from "@feedmepos/mf-e-invoice";
7
- function $(e, s) {
8
- const o = u({ top: 0, bottom: 0, left: 0, right: 0 });
5
+ import { withPermission as A } from "@feedmepos/mf-common";
6
+ import { FmApp as x, routers as k } from "@feedmepos/mf-e-invoice";
7
+ function I(e, n) {
8
+ const o = m({ top: 0, bottom: 0, left: 0, right: 0 });
9
9
  function a() {
10
10
  if (e.value) {
11
11
  const i = e.value.getBoundingClientRect();
@@ -17,22 +17,22 @@ function $(e, s) {
17
17
  };
18
18
  }
19
19
  }
20
- return c(s, async () => {
21
- await m(), a();
20
+ return c(n, async () => {
21
+ await u(), a();
22
22
  }), c(e, async (i) => {
23
- i && (await m(), a());
24
- }), h(() => {
25
- window.addEventListener("resize", a);
23
+ i && (await u(), a());
26
24
  }), v(() => {
25
+ window.addEventListener("resize", a);
26
+ }), h(() => {
27
27
  window.removeEventListener("resize", a);
28
28
  }), o;
29
29
  }
30
- const I = /* @__PURE__ */ p({
30
+ const N = /* @__PURE__ */ p({
31
31
  __name: "FullWrapper",
32
32
  setup(e) {
33
- const s = x(), o = u(null), a = $(o), i = y(() => {
33
+ const n = C(), o = m(null), a = I(o), i = y(() => {
34
34
  var d;
35
- const r = s.isAtMost("sm") ? 56 : 0;
35
+ const r = n.isAtMost("sm") ? 56 : 0;
36
36
  return {
37
37
  height: `calc(100dvh - ${((d = a.value) == null ? void 0 : d.top) + 24 + r}px)`
38
38
  };
@@ -45,25 +45,25 @@ const I = /* @__PURE__ */ p({
45
45
  w(l.$slots, "default")
46
46
  ], 4));
47
47
  }
48
- }), F = { class: "flex justify-center items-center h-full w-full" }, N = /* @__PURE__ */ p({
48
+ }), P = { class: "flex justify-center items-center h-full w-full" }, $ = /* @__PURE__ */ p({
49
49
  __name: "PageLoading",
50
50
  setup(e) {
51
- return (s, o) => {
51
+ return (n, o) => {
52
52
  const a = L("FmCircularProgress");
53
- return g(), U(I, null, {
53
+ return g(), U(N, null, {
54
54
  default: q(() => [
55
- T("div", F, [
56
- C(a, { size: "xl" })
55
+ O("div", P, [
56
+ S(a, { size: "xl" })
57
57
  ])
58
58
  ]),
59
59
  _: 1
60
60
  });
61
61
  };
62
62
  }
63
- }), t = (e) => A({
63
+ }), t = (e) => T({
64
64
  loader: e,
65
- loadingComponent: N
66
- }), P = {
65
+ loadingComponent: $
66
+ }), D = {
67
67
  title: "Settings",
68
68
  eInvoice: {
69
69
  title: "E-invoice"
@@ -367,7 +367,27 @@ const I = /* @__PURE__ */ p({
367
367
  titleRegex: "Tagging key is invalid, only alphanumeric characters, hyphens and underscores are allowed",
368
368
  titlePlaceholder: 'Add key like "region" or "type"',
369
369
  type: "Tagging type",
370
- entity: "Tagging entity"
370
+ typeOptions: {
371
+ string: "String",
372
+ number: "Number"
373
+ },
374
+ entity: "Tagging entity",
375
+ entityOptions: {
376
+ restaurant: "Restaurant",
377
+ item: "Item",
378
+ warehouse: "Warehouse",
379
+ inventorySku: "Inventory Sku",
380
+ inventoryRecipe: "Inventory Recipe",
381
+ group: "Group"
382
+ },
383
+ optionsSection: "Tagging Optional Values",
384
+ enableOptions: "Enable predefined values",
385
+ enableOptionsSubLabel: "When enabled, users can only select from predefined values instead of entering custom text",
386
+ optionValue: "Option value",
387
+ optionPlaceholder: "Enter option value",
388
+ optionDuplicate: "Option value already exists",
389
+ optionInvalidNumber: "Please enter a valid number",
390
+ addOption: "Add option"
371
391
  },
372
392
  delete: {
373
393
  title: "Delete tagging",
@@ -440,9 +460,9 @@ const I = /* @__PURE__ */ p({
440
460
  message: 'Are you sure you want to delete the reason template for "{action}"? This action cannot be undone.'
441
461
  }
442
462
  }
463
+ }, F = {
464
+ settings: D
443
465
  }, B = {
444
- settings: P
445
- }, D = {
446
466
  title: "การตั้งค่า",
447
467
  eInvoice: {
448
468
  title: "ใบแจ้งหนี้อิเล็กทรอนิกส์"
@@ -746,7 +766,27 @@ const I = /* @__PURE__ */ p({
746
766
  titleRegex: "คีย์การแท็กไม่ถูกต้อง อนุญาตให้ใช้เฉพาะตัวอักษรและตัวเลข เครื่องหมายขีดกลาง และเครื่องหมายขีดล่างเท่านั้น",
747
767
  titlePlaceholder: 'เพิ่มคีย์ เช่น "ภูมิภาค" หรือ "ประเภท"',
748
768
  type: "ประเภทการแท็ก",
749
- entity: "เอนทิตีการแท็ก"
769
+ typeOptions: {
770
+ string: "สตริง",
771
+ number: "ตัวเลข"
772
+ },
773
+ entity: "เอนทิตีการแท็ก",
774
+ entityOptions: {
775
+ restaurant: "ร้านอาหาร",
776
+ item: "รายการ",
777
+ warehouse: "คลังสินค้า",
778
+ inventorySku: "SKU สินค้าคงคลัง",
779
+ inventoryRecipe: "สูตรสินค้าคงคลัง",
780
+ group: "กลุ่ม"
781
+ },
782
+ optionsSection: "ค่าตัวเลือก",
783
+ enableOptions: "เปิดใช้งานค่าที่กำหนดไว้ล่วงหน้า",
784
+ enableOptionsSubLabel: "เมื่อเปิดใช้งาน ผู้ใช้จะสามารถเลือกได้เฉพาะจากค่าที่กำหนดไว้ล่วงหน้าแทนการป้อนข้อความที่กำหนดเอง",
785
+ optionValue: "ค่าตัวเลือก",
786
+ optionPlaceholder: "ป้อนค่าตัวเลือก",
787
+ optionDuplicate: "ค่าตัวเลือกมีอยู่แล้ว",
788
+ optionInvalidNumber: "กรุณาป้อนตัวเลขที่ถูกต้อง",
789
+ addOption: "เพิ่มตัวเลือก"
750
790
  },
751
791
  delete: {
752
792
  title: "ลบการแท็ก",
@@ -820,7 +860,7 @@ const I = /* @__PURE__ */ p({
820
860
  }
821
861
  }
822
862
  }, E = {
823
- settings: D
863
+ settings: B
824
864
  }, j = {
825
865
  title: "设置",
826
866
  eInvoice: {
@@ -1128,7 +1168,27 @@ const I = /* @__PURE__ */ p({
1128
1168
  titleRegex: "标签名称无效,只能包含字母、数字、下划线和连字符",
1129
1169
  titlePlaceholder: '添加标签名称,如 "region" 或 "type"',
1130
1170
  type: "标签类型",
1131
- entity: "标签实体"
1171
+ typeOptions: {
1172
+ string: "字符串",
1173
+ number: "数字"
1174
+ },
1175
+ entity: "标签实体",
1176
+ entityOptions: {
1177
+ restaurant: "餐厅",
1178
+ item: "商品",
1179
+ warehouse: "仓库",
1180
+ inventorySku: "库存SKU",
1181
+ inventoryRecipe: "库存配方",
1182
+ group: "分组"
1183
+ },
1184
+ optionsSection: "可选值",
1185
+ enableOptions: "启用预定义值",
1186
+ enableOptionsSubLabel: "启用后,用户只能从预定义值中选择,而不能输入自定义文本",
1187
+ optionValue: "选项值",
1188
+ optionPlaceholder: "输入选项值",
1189
+ optionDuplicate: "选项值已存在",
1190
+ optionInvalidNumber: "请输入有效的数字",
1191
+ addOption: "添加选项"
1132
1192
  },
1133
1193
  delete: {
1134
1194
  title: "删除标签",
@@ -1203,7 +1263,7 @@ const I = /* @__PURE__ */ p({
1203
1263
  }
1204
1264
  }, M = {
1205
1265
  settings: j
1206
- }, z = {
1266
+ }, K = {
1207
1267
  title: "設置",
1208
1268
  eInvoice: {
1209
1269
  title: "電子發票"
@@ -1510,7 +1570,27 @@ const I = /* @__PURE__ */ p({
1510
1570
  titleRegex: "標籤名稱無效,只能包含字母、數字、下劃線和連字符",
1511
1571
  titlePlaceholder: '添加標籤名稱,如 "region" 或 "type"',
1512
1572
  type: "標籤類型",
1513
- entity: "標籤實體"
1573
+ typeOptions: {
1574
+ string: "字符串",
1575
+ number: "數字"
1576
+ },
1577
+ entity: "標籤實體",
1578
+ entityOptions: {
1579
+ restaurant: "餐廳",
1580
+ item: "商品",
1581
+ warehouse: "倉庫",
1582
+ inventorySku: "庫存SKU",
1583
+ inventoryRecipe: "庫存配方",
1584
+ group: "分組"
1585
+ },
1586
+ optionsSection: "可選值",
1587
+ enableOptions: "啟用預定義值",
1588
+ enableOptionsSubLabel: "啟用後,用戶只能從預定義值中選擇,而不能輸入自定義文本",
1589
+ optionValue: "選項值",
1590
+ optionPlaceholder: "輸入選項值",
1591
+ optionDuplicate: "選項值已存在",
1592
+ optionInvalidNumber: "請輸入有效的數字",
1593
+ addOption: "添加選項"
1514
1594
  },
1515
1595
  delete: {
1516
1596
  title: "刪除標籤",
@@ -1583,8 +1663,8 @@ const I = /* @__PURE__ */ p({
1583
1663
  message: '確定要刪除"{action}"的原因模板嗎?此操作無法撤銷。'
1584
1664
  }
1585
1665
  }
1586
- }, K = {
1587
- settings: z
1666
+ }, z = {
1667
+ settings: K
1588
1668
  }, J = [
1589
1669
  {
1590
1670
  path: "/",
@@ -1593,7 +1673,7 @@ const I = /* @__PURE__ */ p({
1593
1673
  {
1594
1674
  path: "/business",
1595
1675
  name: "$settings-my-business",
1596
- component: t(() => import("./Business-d88b053a.js")),
1676
+ component: t(() => import("./Business-f454fc8c.js")),
1597
1677
  meta: {
1598
1678
  i18nKey: "settings.business.title"
1599
1679
  }
@@ -1601,7 +1681,7 @@ const I = /* @__PURE__ */ p({
1601
1681
  {
1602
1682
  path: "/create-business",
1603
1683
  name: "$settings-create-business",
1604
- component: t(() => import("./CreateBusiness-e4bf9d38.js")),
1684
+ component: t(() => import("./CreateBusiness-8145d5b6.js")),
1605
1685
  meta: {
1606
1686
  hideNavigation: !0
1607
1687
  }
@@ -1609,7 +1689,7 @@ const I = /* @__PURE__ */ p({
1609
1689
  {
1610
1690
  path: "/foodcourt",
1611
1691
  name: "$settings-food-court",
1612
- component: t(() => import("./FoodCourt-29393b4e.js")),
1692
+ component: t(() => import("./FoodCourt-681673e7.js")),
1613
1693
  meta: {
1614
1694
  i18nKey: "settings.food_court.list.title"
1615
1695
  }
@@ -1626,7 +1706,7 @@ const I = /* @__PURE__ */ p({
1626
1706
  {
1627
1707
  path: "/template-builder",
1628
1708
  name: "$settings-template-builder",
1629
- component: t(() => import("./TemplateBuilder-54a34178.js")),
1709
+ component: t(() => import("./TemplateBuilder-3e34e9e8.js")),
1630
1710
  meta: {
1631
1711
  i18nKey: "settings.templateBuilder.title"
1632
1712
  }
@@ -1642,8 +1722,8 @@ const I = /* @__PURE__ */ p({
1642
1722
  {
1643
1723
  path: "/e-invoice",
1644
1724
  name: "$settings-e-invoice",
1645
- component: S,
1646
- children: O.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
1725
+ component: x,
1726
+ children: k.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
1647
1727
  meta: {
1648
1728
  i18nKey: "settings.eInvoice.title"
1649
1729
  }
@@ -1651,7 +1731,7 @@ const I = /* @__PURE__ */ p({
1651
1731
  {
1652
1732
  path: "/tagging",
1653
1733
  name: "$settings-tagging",
1654
- component: k(t(() => import("./Tagging-bab8e11e.js"))),
1734
+ component: A(t(() => import("./Tagging-8fafd00a.js"))),
1655
1735
  meta: {
1656
1736
  i18nKey: "settings.tagging.title",
1657
1737
  validationManifest: {
@@ -1663,35 +1743,35 @@ const I = /* @__PURE__ */ p({
1663
1743
  {
1664
1744
  path: "/reason-template",
1665
1745
  name: "$settings-reason-template",
1666
- component: t(() => import("./ReasonTemplate-618844ef.js")),
1746
+ component: t(() => import("./ReasonTemplate-6cc84a02.js")),
1667
1747
  meta: {
1668
1748
  i18nKey: "settings.reasonTemplate.title",
1669
1749
  hideNavigation: !0
1670
1750
  }
1671
1751
  }
1672
- ], X = t(() => import("./App-0751a7d7.js")), Z = {
1752
+ ], X = t(() => import("./App-84371865.js")), Z = {
1673
1753
  "en-US": {
1674
- ...B,
1675
- ...n["en-US"]
1754
+ ...F,
1755
+ ...s["en-US"]
1676
1756
  },
1677
1757
  "zh-CN": {
1678
1758
  ...M,
1679
- ...n["zh-CN"]
1759
+ ...s["zh-CN"]
1680
1760
  },
1681
1761
  "th-TH": {
1682
1762
  ...E,
1683
- ...n["th-TH"]
1763
+ ...s["th-TH"]
1684
1764
  },
1685
1765
  "zh-Hant": {
1686
- ...K,
1687
- ...n["zh-Hant"] || {}
1766
+ ...z,
1767
+ ...s["zh-Hant"] || {}
1688
1768
  }
1689
- }, ee = t(() => import("./ReasonTemplate-618844ef.js"));
1769
+ }, ee = t(() => import("./ReasonTemplate-6cc84a02.js"));
1690
1770
  export {
1691
1771
  X as F,
1692
1772
  ee as R,
1693
- I as _,
1773
+ N as _,
1694
1774
  Z as i,
1695
1775
  J as r,
1696
- $ as u
1776
+ I as u
1697
1777
  };
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@feedmepos/mf-mdm";
2
- import { F as a, R as n, i as F, r as R } from "./app-2ea90e64.js";
2
+ import { F as a, R as n, i as F, r as R } from "./app-485ab76a.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";
@@ -575,7 +575,27 @@ export declare const i18nMessages: {
575
575
  titleRegex: string;
576
576
  titlePlaceholder: string;
577
577
  type: string;
578
+ typeOptions: {
579
+ string: string;
580
+ number: string;
581
+ };
578
582
  entity: string;
583
+ entityOptions: {
584
+ restaurant: string;
585
+ item: string;
586
+ warehouse: string;
587
+ inventorySku: string;
588
+ inventoryRecipe: string;
589
+ group: string;
590
+ };
591
+ optionsSection: string;
592
+ enableOptions: string;
593
+ enableOptionsSubLabel: string;
594
+ optionValue: string;
595
+ optionPlaceholder: string;
596
+ optionDuplicate: string;
597
+ optionInvalidNumber: string;
598
+ addOption: string;
579
599
  };
580
600
  delete: {
581
601
  title: string;
@@ -1227,7 +1247,27 @@ export declare const i18nMessages: {
1227
1247
  titleRegex: string;
1228
1248
  titlePlaceholder: string;
1229
1249
  type: string;
1250
+ typeOptions: {
1251
+ string: string;
1252
+ number: string;
1253
+ };
1230
1254
  entity: string;
1255
+ entityOptions: {
1256
+ restaurant: string;
1257
+ item: string;
1258
+ warehouse: string;
1259
+ inventorySku: string;
1260
+ inventoryRecipe: string;
1261
+ group: string;
1262
+ };
1263
+ optionsSection: string;
1264
+ enableOptions: string;
1265
+ enableOptionsSubLabel: string;
1266
+ optionValue: string;
1267
+ optionPlaceholder: string;
1268
+ optionDuplicate: string;
1269
+ optionInvalidNumber: string;
1270
+ addOption: string;
1231
1271
  };
1232
1272
  delete: {
1233
1273
  title: string;
@@ -2,6 +2,7 @@ import { type PropType } from "vue";
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  initialValue: {
4
4
  type: PropType<{
5
+ options?: any[] | null | undefined;
5
6
  type: "string" | "number" | "boolean" | "date";
6
7
  key: string;
7
8
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
14
15
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
16
  initialValue: {
16
17
  type: PropType<{
18
+ options?: any[] | null | undefined;
17
19
  type: "string" | "number" | "boolean" | "date";
18
20
  key: string;
19
21
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
@@ -22,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
22
24
  };
23
25
  }>> & Readonly<{}>, {
24
26
  initialValue: {
27
+ options?: any[] | null | undefined;
25
28
  type: "string" | "number" | "boolean" | "date";
26
29
  key: string;
27
30
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
@@ -1,24 +1,29 @@
1
1
  import { type FdoCustomAttribute } from "@feedmepos/core/entity";
2
2
  export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<"mf-settings-attribute-settings", Pick<{
3
3
  customAttributes: import("vue").Ref<{
4
+ options?: any[] | null | undefined;
4
5
  type: "string" | "number" | "boolean" | "date";
5
6
  key: string;
6
7
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
7
8
  }[], {
9
+ options?: any[] | null | undefined;
8
10
  type: "string" | "number" | "boolean" | "date";
9
11
  key: string;
10
12
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
11
13
  }[] | {
14
+ options?: any[] | null | undefined;
12
15
  type: "string" | "number" | "boolean" | "date";
13
16
  key: string;
14
17
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
15
18
  }[]>;
16
19
  restaurantAttributes: import("vue").ComputedRef<{
20
+ options?: any[] | null | undefined;
17
21
  type: "string" | "number" | "boolean" | "date";
18
22
  key: string;
19
23
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
20
24
  }[]>;
21
25
  itemAttributes: import("vue").ComputedRef<{
26
+ options?: any[] | null | undefined;
22
27
  type: "string" | "number" | "boolean" | "date";
23
28
  key: string;
24
29
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
@@ -28,24 +33,29 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
28
33
  deleteAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
29
34
  }, "customAttributes">, Pick<{
30
35
  customAttributes: import("vue").Ref<{
36
+ options?: any[] | null | undefined;
31
37
  type: "string" | "number" | "boolean" | "date";
32
38
  key: string;
33
39
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
34
40
  }[], {
41
+ options?: any[] | null | undefined;
35
42
  type: "string" | "number" | "boolean" | "date";
36
43
  key: string;
37
44
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
38
45
  }[] | {
46
+ options?: any[] | null | undefined;
39
47
  type: "string" | "number" | "boolean" | "date";
40
48
  key: string;
41
49
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
42
50
  }[]>;
43
51
  restaurantAttributes: import("vue").ComputedRef<{
52
+ options?: any[] | null | undefined;
44
53
  type: "string" | "number" | "boolean" | "date";
45
54
  key: string;
46
55
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
47
56
  }[]>;
48
57
  itemAttributes: import("vue").ComputedRef<{
58
+ options?: any[] | null | undefined;
49
59
  type: "string" | "number" | "boolean" | "date";
50
60
  key: string;
51
61
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
@@ -55,24 +65,29 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
55
65
  deleteAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
56
66
  }, "restaurantAttributes" | "itemAttributes">, Pick<{
57
67
  customAttributes: import("vue").Ref<{
68
+ options?: any[] | null | undefined;
58
69
  type: "string" | "number" | "boolean" | "date";
59
70
  key: string;
60
71
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
61
72
  }[], {
73
+ options?: any[] | null | undefined;
62
74
  type: "string" | "number" | "boolean" | "date";
63
75
  key: string;
64
76
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
65
77
  }[] | {
78
+ options?: any[] | null | undefined;
66
79
  type: "string" | "number" | "boolean" | "date";
67
80
  key: string;
68
81
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
69
82
  }[]>;
70
83
  restaurantAttributes: import("vue").ComputedRef<{
84
+ options?: any[] | null | undefined;
71
85
  type: "string" | "number" | "boolean" | "date";
72
86
  key: string;
73
87
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
74
88
  }[]>;
75
89
  itemAttributes: import("vue").ComputedRef<{
90
+ options?: any[] | null | undefined;
76
91
  type: "string" | "number" | "boolean" | "date";
77
92
  key: string;
78
93
  entity: "restaurant" | "group" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";