@natoora-libs/core 0.1.0 → 0.1.2-dev-gabriel-1
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.
- package/dist/components/index.cjs +18 -18
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +18 -18
- package/dist/components/index.js.map +1 -1
- package/package.json +14 -15
|
@@ -3728,7 +3728,7 @@ var ControlledValidTextInput = ({
|
|
|
3728
3728
|
value: controlledField?.value || "",
|
|
3729
3729
|
fullWidth: true,
|
|
3730
3730
|
id: fieldName,
|
|
3731
|
-
"data-testid": `${dataTestId}-input`
|
|
3731
|
+
"data-testid": dataTestId ? `${dataTestId}-input` : `${convertUnderscoreToHyphen2(fieldName)}-input`,
|
|
3732
3732
|
label,
|
|
3733
3733
|
error: !!fieldState.error,
|
|
3734
3734
|
multiline: true,
|
|
@@ -3743,7 +3743,7 @@ var ControlledValidTextInput = ({
|
|
|
3743
3743
|
className: (0, import_classnames.default)({
|
|
3744
3744
|
[classes.helperTextWrapper]: !!maxLength
|
|
3745
3745
|
}),
|
|
3746
|
-
"data-testid": `${dataTestId}-helper-text`
|
|
3746
|
+
"data-testid": dataTestId ? `${dataTestId}-helper-text` : `${convertUnderscoreToHyphen2(fieldName)}-helper-text`,
|
|
3747
3747
|
children: [
|
|
3748
3748
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3749
3749
|
import_material23.Box,
|
|
@@ -4496,7 +4496,7 @@ var drawerAppList = [
|
|
|
4496
4496
|
featureNames: [],
|
|
4497
4497
|
pinned: null,
|
|
4498
4498
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconHome, {}),
|
|
4499
|
-
url:
|
|
4499
|
+
url: `/#/`
|
|
4500
4500
|
}
|
|
4501
4501
|
]
|
|
4502
4502
|
},
|
|
@@ -4510,7 +4510,7 @@ var drawerAppList = [
|
|
|
4510
4510
|
featureNames: [featureName_default.NOTIFICATIONS],
|
|
4511
4511
|
pinned: null,
|
|
4512
4512
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconNotification, {}),
|
|
4513
|
-
url:
|
|
4513
|
+
url: `/#/notifications`
|
|
4514
4514
|
},
|
|
4515
4515
|
{
|
|
4516
4516
|
name: "Promo Codes",
|
|
@@ -4560,7 +4560,7 @@ var drawerAppList = [
|
|
|
4560
4560
|
featureNames: [featureName_default.CUSTOMERS],
|
|
4561
4561
|
pinned: "customers",
|
|
4562
4562
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconAccount, {}),
|
|
4563
|
-
url:
|
|
4563
|
+
url: `/#/customer-list`,
|
|
4564
4564
|
children: [
|
|
4565
4565
|
{
|
|
4566
4566
|
name: "Sites",
|
|
@@ -4583,7 +4583,7 @@ var drawerAppList = [
|
|
|
4583
4583
|
featureNames: [featureName_default.ORDERS],
|
|
4584
4584
|
pinned: "orders",
|
|
4585
4585
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconOrders, {}),
|
|
4586
|
-
url:
|
|
4586
|
+
url: `/#/orders`
|
|
4587
4587
|
},
|
|
4588
4588
|
{
|
|
4589
4589
|
name: "Price Lists",
|
|
@@ -4592,7 +4592,7 @@ var drawerAppList = [
|
|
|
4592
4592
|
featureNames: [featureName_default.PRICE_LIST],
|
|
4593
4593
|
pinned: "price_list",
|
|
4594
4594
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconPriceList, {}),
|
|
4595
|
-
url:
|
|
4595
|
+
url: `/#/price-list`
|
|
4596
4596
|
},
|
|
4597
4597
|
{
|
|
4598
4598
|
name: "Special Prices",
|
|
@@ -4601,7 +4601,7 @@ var drawerAppList = [
|
|
|
4601
4601
|
featureNames: [featureName_default.SPECIAL_PRICES],
|
|
4602
4602
|
pinned: "special_prices",
|
|
4603
4603
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconSpecialPrice, {}),
|
|
4604
|
-
url:
|
|
4604
|
+
url: `/#/pricing/special-prices`
|
|
4605
4605
|
}
|
|
4606
4606
|
]
|
|
4607
4607
|
},
|
|
@@ -4624,7 +4624,7 @@ var drawerAppList = [
|
|
|
4624
4624
|
featureNames: [featureName_default.PRODUCTS],
|
|
4625
4625
|
pinned: "products",
|
|
4626
4626
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconProducts, {}),
|
|
4627
|
-
url:
|
|
4627
|
+
url: `/#/product-base-list`
|
|
4628
4628
|
},
|
|
4629
4629
|
{
|
|
4630
4630
|
name: "Suppliers",
|
|
@@ -4642,7 +4642,7 @@ var drawerAppList = [
|
|
|
4642
4642
|
featureNames: [featureName_default.SUPPLIER_PRICES],
|
|
4643
4643
|
pinned: "supplier_prices",
|
|
4644
4644
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconSupplierPrices, {}),
|
|
4645
|
-
url:
|
|
4645
|
+
url: `/#/supplier-prices`
|
|
4646
4646
|
},
|
|
4647
4647
|
{
|
|
4648
4648
|
name: "Product Bulk Update",
|
|
@@ -4683,7 +4683,7 @@ var drawerAppList = [
|
|
|
4683
4683
|
featureNames: [featureName_default.KANBAN],
|
|
4684
4684
|
pinned: "kanbancards",
|
|
4685
4685
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconVkc, {}),
|
|
4686
|
-
url:
|
|
4686
|
+
url: `/#/kanban`
|
|
4687
4687
|
},
|
|
4688
4688
|
{
|
|
4689
4689
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconLocation, {}),
|
|
@@ -4709,7 +4709,7 @@ var drawerAppList = [
|
|
|
4709
4709
|
featureNames: [featureName_default.PICKING_STATIONS],
|
|
4710
4710
|
pinned: "picking_stations",
|
|
4711
4711
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconScales, {}),
|
|
4712
|
-
url:
|
|
4712
|
+
url: `/#/pickingstation`
|
|
4713
4713
|
},
|
|
4714
4714
|
{
|
|
4715
4715
|
name: "Quality Control",
|
|
@@ -4718,7 +4718,7 @@ var drawerAppList = [
|
|
|
4718
4718
|
featureNames: [featureName_default.QUALITY_CONTROL],
|
|
4719
4719
|
pinned: "quality_control",
|
|
4720
4720
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconQc, {}),
|
|
4721
|
-
url:
|
|
4721
|
+
url: `/#/quality-control`
|
|
4722
4722
|
},
|
|
4723
4723
|
{
|
|
4724
4724
|
name: "Retail",
|
|
@@ -4727,7 +4727,7 @@ var drawerAppList = [
|
|
|
4727
4727
|
featureNames: [featureName_default.RETAIL],
|
|
4728
4728
|
pinned: "retail",
|
|
4729
4729
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconRetail, {}),
|
|
4730
|
-
url:
|
|
4730
|
+
url: `/#/retail/product-availability`
|
|
4731
4731
|
},
|
|
4732
4732
|
{
|
|
4733
4733
|
name: "Service Delivery",
|
|
@@ -4736,7 +4736,7 @@ var drawerAppList = [
|
|
|
4736
4736
|
featureNames: [featureName_default.SERVICE_DELIVERY],
|
|
4737
4737
|
pinned: "runs",
|
|
4738
4738
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconRuns, {}),
|
|
4739
|
-
url:
|
|
4739
|
+
url: `/#/runs`
|
|
4740
4740
|
},
|
|
4741
4741
|
{
|
|
4742
4742
|
name: "Ops Metrics",
|
|
@@ -4759,7 +4759,7 @@ var drawerAppList = [
|
|
|
4759
4759
|
featureNames: [featureName_default.ACCOUNTS],
|
|
4760
4760
|
pinned: "accounts",
|
|
4761
4761
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconAccounts, {}),
|
|
4762
|
-
url:
|
|
4762
|
+
url: `/#/accounts`
|
|
4763
4763
|
},
|
|
4764
4764
|
{
|
|
4765
4765
|
name: "Reports",
|
|
@@ -4768,7 +4768,7 @@ var drawerAppList = [
|
|
|
4768
4768
|
featureNames: [featureName_default.REPORTS],
|
|
4769
4769
|
pinned: "reports",
|
|
4770
4770
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconReports, {}),
|
|
4771
|
-
url:
|
|
4771
|
+
url: `/#/reports`
|
|
4772
4772
|
}
|
|
4773
4773
|
]
|
|
4774
4774
|
},
|
|
@@ -4782,7 +4782,7 @@ var drawerAppList = [
|
|
|
4782
4782
|
featureNames: [featureName_default.ADMIN],
|
|
4783
4783
|
pinned: "admin",
|
|
4784
4784
|
icon: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(icons_default.SvgIconSetting, {}),
|
|
4785
|
-
url:
|
|
4785
|
+
url: `/#/admin`
|
|
4786
4786
|
},
|
|
4787
4787
|
{
|
|
4788
4788
|
name: "User Management",
|