@tesouro/embedded-components-react 0.7.70 → 0.7.73

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 (46) hide show
  1. package/README.md +15 -12
  2. package/dist/index.css +24 -6
  3. package/dist/index.d.ts +76 -8
  4. package/dist/lib/LinkedAccountsWidget.d.ts +9 -0
  5. package/dist/lib/ProductsWidget.d.ts +12 -6
  6. package/dist/lib/ReceivablesWidget.d.ts +1 -5
  7. package/dist/lib/TransfersWidget.d.ts +55 -2
  8. package/dist/lib/WidgetSuite.d.ts +63 -1
  9. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +6 -4
  10. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +199 -182
  11. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +23 -24
  12. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/constants.js +6 -2
  13. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductsTable.js +112 -51
  14. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductsWidget.js +80 -56
  15. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index.js +6 -5
  16. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +15 -6
  17. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index4.js +170 -135
  18. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index5.js +49 -150
  19. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index6.js +152 -24
  20. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index7.js +28 -0
  21. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +13 -12
  23. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +2 -2
  24. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/ProductSelector.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/helpers.js +41 -27
  26. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/useProductForm.js +70 -52
  27. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index.js +7 -6
  28. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +19 -8
  29. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index3.js +171 -218
  30. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +52 -180
  31. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +188 -46
  32. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +47 -124
  33. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index7.js +128 -0
  34. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetFeature.js +4 -3
  35. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +99 -108
  36. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/testIds.js +2 -0
  37. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/transferViews.js +135 -0
  38. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +140 -153
  39. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferAccountTile.js +15 -0
  40. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferDetailSheet.js +111 -0
  41. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransferStatusBadge.js +18 -0
  42. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +181 -126
  43. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js +33 -0
  44. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/TransfersSection.js +16 -8
  45. package/dist/packages/shared-ui-shadcn/dist/index.js +328 -327
  46. package/package.json +1 -1
@@ -2,64 +2,125 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { buildProductRows as e } from "../../../../../shared/product-catalog/feature/dist/lib/helpers.js";
6
- import { useProductsQuery as t } from "../../../../../shared/product-catalog/data-access/dist/index2.js";
5
+ import { useFilterPanel as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { buildProductRows as t } from "../../../../../shared/product-catalog/feature/dist/lib/helpers.js";
7
+ import { useProductsQuery as n } from "../../../../../shared/product-catalog/data-access/dist/index2.js";
7
8
  import "../../../../../shared/product-catalog/feature/dist/index.js";
8
- import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
9
+ import { ProductsFilterKey as r, TYPE_FILTER_OPTIONS as i } from "./constants.js";
10
+ import { useCallback as a, useEffect as o, useMemo as s, useState as c } from "react";
9
11
  //#region ../../libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductsTable.js
10
- function o({ unitNamesById: o, enabled: s = !0 }) {
11
- let [c, l] = a([]), [u, d] = a(10), [f, p] = a(), [m, h] = a(""), [g, _] = a(""), [v, y] = a("all"), [b, x] = a("all");
12
- r(() => {
12
+ function l({ unitNamesById: l, unitOptions: u, labels: d, enabled: f = !0 }) {
13
+ let [p, m] = c([]), [h, g] = c(10), [_, v] = c(), [y, b] = c(""), [x, S] = c(""), [C, w] = c([]), [T, E] = c("all"), D = e(), O = C.length === 1 ? C[0] : void 0;
14
+ T !== "all" && !l[T] && (E("all"), v(void 0));
15
+ let k = T === "all" ? void 0 : T;
16
+ o(() => {
17
+ if (y === x) return;
13
18
  let e = setTimeout(() => {
14
- _(m), p(void 0);
19
+ S(y), v(void 0);
15
20
  }, 400);
16
21
  return () => clearTimeout(e);
17
- }, [m]);
18
- let S = c[0]?.id === "name" ? "name" : void 0, C = c[0] ? c[0].desc ? "desc" : "asc" : void 0, w = t({
19
- ...S ? {
20
- sort: S,
21
- order: C
22
+ }, [y, x]);
23
+ let A = p[0]?.id === "name" ? "name" : void 0, j = p[0] ? p[0].desc ? "desc" : "asc" : void 0, M = n({
24
+ ...A ? {
25
+ sort: A,
26
+ order: j
22
27
  } : {},
23
- limit: u,
24
- pagination_token: f,
25
- name__icontains: g || void 0,
26
- type: v === "all" ? void 0 : v,
27
- measure_unit_id: b === "all" ? void 0 : b,
28
- enabled: s
29
- }), T = i(() => e({
30
- products: w.data?.data ?? [],
31
- unitNamesById: o
32
- }), [w.data, o]), E = !!g || v !== "all" || b !== "all", D = n((e) => {
33
- let t = typeof e == "function" ? e(c) : e;
34
- l(t), p(void 0);
35
- }, [c]), O = n((e) => {
36
- d(e), p(void 0);
37
- }, []), k = n(() => p(w.data?.next_pagination_token ?? void 0), [w.data?.next_pagination_token]), A = n(() => p(w.data?.prev_pagination_token ?? void 0), [w.data?.prev_pagination_token]), j = n(() => {
38
- w.refetch();
39
- }, [w]), M = n((e) => (t) => {
40
- e(t), p(void 0);
41
- }, []);
28
+ limit: h,
29
+ pagination_token: _,
30
+ name__icontains: x || void 0,
31
+ type: O,
32
+ measure_unit_id: k,
33
+ enabled: f
34
+ }), N = s(() => t({
35
+ products: M.data?.data ?? [],
36
+ unitNamesById: l
37
+ }), [M.data, l]), P = s(() => i.map((e) => ({
38
+ value: e,
39
+ label: e === "product" ? d.typeFilterProduct : d.typeFilterService
40
+ })), [d.typeFilterProduct, d.typeFilterService]), F = s(() => [{
41
+ value: "all",
42
+ label: d.unitFilterAll
43
+ }, ...u], [d.unitFilterAll, u]), I = s(() => {
44
+ let e = [], t = P.find((e) => e.value === O)?.label;
45
+ return t && e.push({
46
+ key: r.Type,
47
+ label: d.typeChip(t)
48
+ }), k && e.push({
49
+ key: r.Unit,
50
+ label: d.unitChip(l[k])
51
+ }), x && e.push({
52
+ key: r.Search,
53
+ label: d.searchChip(x)
54
+ }), e;
55
+ }, [
56
+ x,
57
+ O,
58
+ k,
59
+ d,
60
+ P,
61
+ l
62
+ ]), L = I.length > 0, R = a((e) => {
63
+ let t = typeof e == "function" ? e(p) : e;
64
+ m(t), v(void 0);
65
+ }, [p]), z = a((e) => {
66
+ g(e), v(void 0);
67
+ }, []), B = a(() => v(M.data?.next_pagination_token ?? void 0), [M.data?.next_pagination_token]), V = a(() => v(M.data?.prev_pagination_token ?? void 0), [M.data?.prev_pagination_token]), H = a(() => {
68
+ M.refetch();
69
+ }, [M]), U = a((e) => {
70
+ w(e), v(void 0);
71
+ }, []), W = a((e) => {
72
+ E(e), v(void 0);
73
+ }, []), G = a(() => {
74
+ b(""), S(""), v(void 0);
75
+ }, []), K = a((e) => {
76
+ e === r.Search ? G() : e === r.Unit ? W("all") : U([]);
77
+ }, [
78
+ G,
79
+ U,
80
+ W
81
+ ]), q = a(() => {
82
+ G(), w([]), E("all");
83
+ }, [G]), J = {
84
+ searchValue: y,
85
+ onSearchChange: b,
86
+ isPopoverOpen: D.isMenuOpen || !!D.activePanelId,
87
+ isMenuOpen: D.isMenuOpen,
88
+ isPanelOpen: !!D.activePanelId,
89
+ isTypePanelOpen: D.activePanelId === r.Type,
90
+ isUnitPanelOpen: D.activePanelId === r.Unit,
91
+ onMenuToggle: D.toggleMenu,
92
+ onPopoverClose: () => {
93
+ D.closeMenu(), D.closePanel();
94
+ },
95
+ onTypeFieldSelect: () => D.openPanel(r.Type),
96
+ onUnitFieldSelect: () => D.openPanel(r.Unit),
97
+ activeFilterCount: I.length,
98
+ chips: I,
99
+ onRemoveChip: K,
100
+ onClearAll: q,
101
+ typeOptions: P,
102
+ selectedTypes: C,
103
+ onTypeChange: U,
104
+ unitOptions: F,
105
+ selectedUnit: k ?? "all",
106
+ onUnitChange: W
107
+ };
42
108
  return {
43
- rows: T,
44
- isLoading: w.isLoading,
45
- isError: w.isError,
46
- sorting: c,
47
- onSortingChange: D,
48
- pageSize: u,
49
- onPageSizeChange: O,
50
- hasNextPage: !!w.data?.next_pagination_token,
51
- hasPrevPage: !!w.data?.prev_pagination_token,
52
- onNextPage: k,
53
- onPrevPage: A,
54
- searchValue: m,
55
- onSearchChange: h,
56
- typeFilter: v,
57
- onTypeFilterChange: M(y),
58
- unitFilter: b,
59
- onUnitFilterChange: M(x),
60
- isFiltering: E,
61
- onRetry: j
109
+ rows: N,
110
+ isLoading: M.isLoading,
111
+ isError: M.isError,
112
+ sorting: p,
113
+ onSortingChange: R,
114
+ pageSize: h,
115
+ onPageSizeChange: z,
116
+ hasNextPage: !!M.data?.next_pagination_token,
117
+ hasPrevPage: !!M.data?.prev_pagination_token,
118
+ onNextPage: B,
119
+ onPrevPage: V,
120
+ filters: J,
121
+ isFiltering: L,
122
+ onRetry: H
62
123
  };
63
124
  }
64
125
  //#endregion
65
- export { o as useProductsTable };
126
+ export { l as useProductsTable };
@@ -6,68 +6,92 @@ import { useRefetchWidget as e, useWidgetConfig as t, useWidgetError as n, useWi
6
6
  import "../../../../../shared/feature/dist/index.js";
7
7
  import { PRODUCT_MESSAGE_LABELS_EN as a } from "../../../../../shared/product-catalog/feature/dist/lib/labels.js";
8
8
  import { hasSelectedText as o } from "../../../../../shared/product-catalog/feature/dist/lib/helpers.js";
9
- import { useMeasureUnits as s } from "../../../../../shared/product-catalog/feature/dist/lib/useMeasureUnits.js";
10
- import { useProductForm as c } from "../../../../../shared/product-catalog/feature/dist/lib/useProductForm.js";
9
+ import { PRODUCT_FORM_SHEET_LABELS_EN as s } from "../../../../../shared/product-catalog/ui/dist/index2.js";
10
+ import { useMeasureUnits as c } from "../../../../../shared/product-catalog/feature/dist/lib/useMeasureUnits.js";
11
+ import { useProductForm as l } from "../../../../../shared/product-catalog/feature/dist/lib/useProductForm.js";
11
12
  import "../../../../../shared/product-catalog/feature/dist/index.js";
12
- import { getProductPermissions as l } from "./permissions.js";
13
- import { useProductDelete as u } from "./useProductDelete.js";
14
- import { useProductDetails as d } from "./useProductDetails.js";
15
- import { useProductsTable as f } from "./useProductsTable.js";
16
- import { useCallback as p, useMemo as m, useState as h } from "react";
13
+ import { getProductPermissions as u } from "./permissions.js";
14
+ import { useProductDelete as d } from "./useProductDelete.js";
15
+ import { useProductDetails as f } from "./useProductDetails.js";
16
+ import { useProductsTable as p } from "./useProductsTable.js";
17
+ import { PRODUCTS_SCREEN_LABELS_EN as m } from "../../../../ui/dist/index2.js";
18
+ import "../../../../ui/dist/index.js";
19
+ import { useCallback as h, useMemo as g, useState as _ } from "react";
17
20
  //#region ../../libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductsWidget.js
18
- function g({ messageLabels: g }) {
19
- let _ = m(() => ({
21
+ function v({ messageLabels: v, screenLabels: y, formLabels: b }) {
22
+ let x = g(() => ({
20
23
  ...a,
21
- ...g
22
- }), [g]), { initResponse: v, widgetToken: y } = t(), b = i(), x = n(), S = r(), C = e(), w = m(() => l(S ? void 0 : v?.scopes), [S, v?.scopes]), T = !(!y || v || x) || b && !v || S, E = !!x && (!v || S), [D, O] = h("none"), [k, A] = h(), [j, M] = h(!1), N = s({ enabled: w.canRead }), P = f({
23
- unitNamesById: N.unitNamesById,
24
- enabled: w.canRead
25
- }), F = d({
26
- selectedProductId: k,
27
- unitNamesById: N.unitNamesById,
28
- enabled: w.canRead
29
- }), I = c({
30
- view: D,
31
- setView: O,
32
- selectedProductId: k,
33
- setSelectedProductId: A,
34
- product: F.product,
35
- messages: _
36
- }), L = u({
37
- selectedProductId: k,
38
- setSelectedProductId: A,
39
- setView: O,
40
- messages: _
24
+ ...v
25
+ }), [v]), S = g(() => ({
26
+ ...m,
27
+ ...y
28
+ }), [y]), { initResponse: C, widgetToken: w } = t(), T = i(), E = n(), D = r(), O = e(), k = g(() => u(D ? void 0 : C?.scopes), [D, C?.scopes]), A = !(!w || C || E) || T && !C || D, j = !!E && (!C || D), [M, N] = _("none"), [P, F] = _(), [I, L] = _(!1), R = c({ enabled: k.canRead }), z = p({
29
+ unitNamesById: R.unitNamesById,
30
+ unitOptions: R.unitOptions,
31
+ labels: S,
32
+ enabled: k.canRead
33
+ }), B = f({
34
+ selectedProductId: P,
35
+ unitNamesById: R.unitNamesById,
36
+ enabled: k.canRead
37
+ }), V = l({
38
+ view: M,
39
+ setView: N,
40
+ selectedProductId: P,
41
+ setSelectedProductId: F,
42
+ product: B.product,
43
+ messages: x
44
+ }), H = d({
45
+ selectedProductId: P,
46
+ setSelectedProductId: F,
47
+ setView: N,
48
+ messages: x
41
49
  });
42
- if (!S) {
43
- let { canRead: e, canCreate: t, canUpdate: n, canDelete: r } = w;
44
- (!e && (D !== "none" || k) || D === "create" && !t || D === "edit" && !n) && (O("none"), A(void 0)), L.open && !(e && r) && L.cancel(), j && !(e && t) && M(!1);
50
+ if (!D) {
51
+ let { canRead: e, canCreate: t, canUpdate: n, canDelete: r } = k;
52
+ !e && (M !== "none" || P) || M === "create" && !t ? (N("none"), F(void 0)) : M === "edit" && !n && N("details"), H.open && !(e && r) && H.cancel(), I && !(e && t) && L(!1);
45
53
  }
46
- let R = p((e) => {
47
- w.canRead && !o() && (A(e.id), O("details"));
48
- }, [w.canRead]), z = p(() => {
49
- w.canCreate && M(!0);
50
- }, [w.canCreate]), B = p(() => M(!1), []), V = p(() => S ? void 0 : I.submit(), [S, I.submit]), H = p(() => S ? void 0 : L.confirm(), [S, L.confirm]);
54
+ let U = h((e) => {
55
+ k.canRead && !o() && (F(e.id), N("details"));
56
+ }, [k.canRead]), W = h(() => {
57
+ k.canCreate && L(!0);
58
+ }, [k.canCreate]), G = h(() => L(!1), []), { submit: K } = V, q = h(() => D ? void 0 : K(), [D, K]), J = (B.product?.type === "service" ? b?.typeService ?? s.typeService : b?.typeProduct ?? s.typeProduct).toLowerCase(), Y = M === "edit" ? {
59
+ heading: (b?.editingBanner ?? s.editingBanner).replace("{type}", J),
60
+ values: V.values,
61
+ errors: V.errors,
62
+ unitOptions: R.unitOptions,
63
+ pricePrefix: V.pricePrefix,
64
+ inProgress: V.isSubmitting || D,
65
+ submitDisabled: !V.isDirty,
66
+ onChange: (e) => V.setValues((t) => ({
67
+ ...t,
68
+ ...e
69
+ })),
70
+ onSubmit: q,
71
+ onCancel: V.cancelEdit,
72
+ labels: b
73
+ } : void 0, { confirm: X } = H, Z = h(() => D ? void 0 : X(), [D, X]);
51
74
  return {
52
- view: D,
53
- units: N,
54
- table: P,
55
- details: F,
56
- form: I,
57
- del: L,
58
- permissions: w,
59
- isPermissionLoading: T,
60
- isTableLoading: P.isLoading || T && P.rows.length === 0,
61
- hasInitError: E,
62
- refetchWidgetInit: C,
63
- measureUnitsOpen: j,
64
- actionsSuspended: S,
65
- handleRowClick: R,
66
- openMeasureUnits: z,
67
- closeMeasureUnits: B,
68
- submitForm: V,
69
- confirmDelete: H
75
+ view: M,
76
+ units: R,
77
+ table: z,
78
+ details: B,
79
+ form: V,
80
+ del: H,
81
+ permissions: k,
82
+ isPermissionLoading: A,
83
+ isTableLoading: z.isLoading || A && z.rows.length === 0,
84
+ hasInitError: j,
85
+ refetchWidgetInit: O,
86
+ measureUnitsOpen: I,
87
+ actionsSuspended: D,
88
+ editForm: Y,
89
+ handleRowClick: U,
90
+ openMeasureUnits: W,
91
+ closeMeasureUnits: G,
92
+ submitForm: q,
93
+ confirmDelete: Z
70
94
  };
71
95
  }
72
96
  //#endregion
73
- export { g as useProductsWidget };
97
+ export { v as useProductsWidget };
@@ -1,6 +1,7 @@
1
- import "./index2.js";
1
+ import { PRODUCTS_SCREEN_LABELS_EN as e } from "./index2.js";
2
2
  import "./index3.js";
3
- import { ProductsScreen as e } from "./index4.js";
4
- import { ProductDetailsSheet as t } from "./index5.js";
5
- import { ProductDeleteDialog as n } from "./index6.js";
6
- export { n as ProductDeleteDialog, t as ProductDetailsSheet, e as ProductsScreen };
3
+ import { ProductsScreen as t } from "./index4.js";
4
+ import "./index5.js";
5
+ import { ProductDetailsSheet as n } from "./index6.js";
6
+ import { ProductDeleteDialog as r } from "./index7.js";
7
+ export { e as PRODUCTS_SCREEN_LABELS_EN, r as ProductDeleteDialog, n as ProductDetailsSheet, t as ProductsScreen };
@@ -1,8 +1,9 @@
1
+ import { FILTER_MENU_BUTTON_LABELS_EN as e, FILTER_TAG_LABELS_EN as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
1
2
  //#region ../../libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js
2
- var e = {
3
+ var n = {
3
4
  product: "Product",
4
5
  service: "Service"
5
- }, t = {
6
+ }, r = {
6
7
  createButton: "Add product or service",
7
8
  manageUnitsButton: "Manage units of measure",
8
9
  columnName: "Name",
@@ -11,7 +12,15 @@ var e = {
11
12
  columnUnit: "Unit",
12
13
  columnPrice: "Price per unit",
13
14
  searchPlaceholder: "Search by name",
14
- typeFilterAll: "All types",
15
+ searchLabel: "Search by name",
16
+ filtersButton: e.filters,
17
+ filterFieldType: "Type",
18
+ filterFieldUnit: "Unit",
19
+ filterChipRemove: t.remove,
20
+ typeChip: (e) => `Type: ${e}`,
21
+ unitChip: (e) => `Unit: ${e}`,
22
+ searchChip: (e) => `Search: ${e}`,
23
+ clearAllFilters: "Clear all",
15
24
  typeFilterProduct: "Products",
16
25
  typeFilterService: "Services",
17
26
  unitFilterAll: "All units",
@@ -30,7 +39,7 @@ var e = {
30
39
  product: "Product",
31
40
  service: "Service"
32
41
  }
33
- }, n = {
42
+ }, i = {
34
43
  hiddenDescription: "Product details",
35
44
  subtitle: "{type} · Added {createdAt}",
36
45
  sectionHeading: "{type} details",
@@ -56,11 +65,11 @@ var e = {
56
65
  product: "Product",
57
66
  service: "Service"
58
67
  }
59
- }, r = {
68
+ }, a = {
60
69
  title: "Delete \"{name}\"?",
61
70
  message: "It will remain in all the documents where it is added. You can't undo this action.",
62
71
  confirmButton: "Delete",
63
72
  cancelButton: "Cancel"
64
73
  };
65
74
  //#endregion
66
- export { t as PRODUCTS_SCREEN_LABELS_EN, r as PRODUCT_DELETE_DIALOG_LABELS_EN, n as PRODUCT_DETAILS_SHEET_LABELS_EN, e as PRODUCT_TYPE_BADGE_LABELS_EN };
75
+ export { r as PRODUCTS_SCREEN_LABELS_EN, a as PRODUCT_DELETE_DIALOG_LABELS_EN, i as PRODUCT_DETAILS_SHEET_LABELS_EN, n as PRODUCT_TYPE_BADGE_LABELS_EN };