@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
package/dist/components/index.js
CHANGED
|
@@ -3444,7 +3444,7 @@ var ControlledValidTextInput = ({
|
|
|
3444
3444
|
value: controlledField?.value || "",
|
|
3445
3445
|
fullWidth: true,
|
|
3446
3446
|
id: fieldName,
|
|
3447
|
-
"data-testid": `${dataTestId}-input`
|
|
3447
|
+
"data-testid": dataTestId ? `${dataTestId}-input` : `${convertUnderscoreToHyphen2(fieldName)}-input`,
|
|
3448
3448
|
label,
|
|
3449
3449
|
error: !!fieldState.error,
|
|
3450
3450
|
multiline: true,
|
|
@@ -3459,7 +3459,7 @@ var ControlledValidTextInput = ({
|
|
|
3459
3459
|
className: classNames({
|
|
3460
3460
|
[classes.helperTextWrapper]: !!maxLength
|
|
3461
3461
|
}),
|
|
3462
|
-
"data-testid": `${dataTestId}-helper-text`
|
|
3462
|
+
"data-testid": dataTestId ? `${dataTestId}-helper-text` : `${convertUnderscoreToHyphen2(fieldName)}-helper-text`,
|
|
3463
3463
|
children: [
|
|
3464
3464
|
/* @__PURE__ */ jsx71(
|
|
3465
3465
|
Box10,
|
|
@@ -4240,7 +4240,7 @@ var drawerAppList = [
|
|
|
4240
4240
|
featureNames: [],
|
|
4241
4241
|
pinned: null,
|
|
4242
4242
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconHome, {}),
|
|
4243
|
-
url:
|
|
4243
|
+
url: `/#/`
|
|
4244
4244
|
}
|
|
4245
4245
|
]
|
|
4246
4246
|
},
|
|
@@ -4254,7 +4254,7 @@ var drawerAppList = [
|
|
|
4254
4254
|
featureNames: [featureName_default.NOTIFICATIONS],
|
|
4255
4255
|
pinned: null,
|
|
4256
4256
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconNotification, {}),
|
|
4257
|
-
url:
|
|
4257
|
+
url: `/#/notifications`
|
|
4258
4258
|
},
|
|
4259
4259
|
{
|
|
4260
4260
|
name: "Promo Codes",
|
|
@@ -4304,7 +4304,7 @@ var drawerAppList = [
|
|
|
4304
4304
|
featureNames: [featureName_default.CUSTOMERS],
|
|
4305
4305
|
pinned: "customers",
|
|
4306
4306
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconAccount, {}),
|
|
4307
|
-
url:
|
|
4307
|
+
url: `/#/customer-list`,
|
|
4308
4308
|
children: [
|
|
4309
4309
|
{
|
|
4310
4310
|
name: "Sites",
|
|
@@ -4327,7 +4327,7 @@ var drawerAppList = [
|
|
|
4327
4327
|
featureNames: [featureName_default.ORDERS],
|
|
4328
4328
|
pinned: "orders",
|
|
4329
4329
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconOrders, {}),
|
|
4330
|
-
url:
|
|
4330
|
+
url: `/#/orders`
|
|
4331
4331
|
},
|
|
4332
4332
|
{
|
|
4333
4333
|
name: "Price Lists",
|
|
@@ -4336,7 +4336,7 @@ var drawerAppList = [
|
|
|
4336
4336
|
featureNames: [featureName_default.PRICE_LIST],
|
|
4337
4337
|
pinned: "price_list",
|
|
4338
4338
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconPriceList, {}),
|
|
4339
|
-
url:
|
|
4339
|
+
url: `/#/price-list`
|
|
4340
4340
|
},
|
|
4341
4341
|
{
|
|
4342
4342
|
name: "Special Prices",
|
|
@@ -4345,7 +4345,7 @@ var drawerAppList = [
|
|
|
4345
4345
|
featureNames: [featureName_default.SPECIAL_PRICES],
|
|
4346
4346
|
pinned: "special_prices",
|
|
4347
4347
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconSpecialPrice, {}),
|
|
4348
|
-
url:
|
|
4348
|
+
url: `/#/pricing/special-prices`
|
|
4349
4349
|
}
|
|
4350
4350
|
]
|
|
4351
4351
|
},
|
|
@@ -4368,7 +4368,7 @@ var drawerAppList = [
|
|
|
4368
4368
|
featureNames: [featureName_default.PRODUCTS],
|
|
4369
4369
|
pinned: "products",
|
|
4370
4370
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconProducts, {}),
|
|
4371
|
-
url:
|
|
4371
|
+
url: `/#/product-base-list`
|
|
4372
4372
|
},
|
|
4373
4373
|
{
|
|
4374
4374
|
name: "Suppliers",
|
|
@@ -4386,7 +4386,7 @@ var drawerAppList = [
|
|
|
4386
4386
|
featureNames: [featureName_default.SUPPLIER_PRICES],
|
|
4387
4387
|
pinned: "supplier_prices",
|
|
4388
4388
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconSupplierPrices, {}),
|
|
4389
|
-
url:
|
|
4389
|
+
url: `/#/supplier-prices`
|
|
4390
4390
|
},
|
|
4391
4391
|
{
|
|
4392
4392
|
name: "Product Bulk Update",
|
|
@@ -4427,7 +4427,7 @@ var drawerAppList = [
|
|
|
4427
4427
|
featureNames: [featureName_default.KANBAN],
|
|
4428
4428
|
pinned: "kanbancards",
|
|
4429
4429
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconVkc, {}),
|
|
4430
|
-
url:
|
|
4430
|
+
url: `/#/kanban`
|
|
4431
4431
|
},
|
|
4432
4432
|
{
|
|
4433
4433
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconLocation, {}),
|
|
@@ -4453,7 +4453,7 @@ var drawerAppList = [
|
|
|
4453
4453
|
featureNames: [featureName_default.PICKING_STATIONS],
|
|
4454
4454
|
pinned: "picking_stations",
|
|
4455
4455
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconScales, {}),
|
|
4456
|
-
url:
|
|
4456
|
+
url: `/#/pickingstation`
|
|
4457
4457
|
},
|
|
4458
4458
|
{
|
|
4459
4459
|
name: "Quality Control",
|
|
@@ -4462,7 +4462,7 @@ var drawerAppList = [
|
|
|
4462
4462
|
featureNames: [featureName_default.QUALITY_CONTROL],
|
|
4463
4463
|
pinned: "quality_control",
|
|
4464
4464
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconQc, {}),
|
|
4465
|
-
url:
|
|
4465
|
+
url: `/#/quality-control`
|
|
4466
4466
|
},
|
|
4467
4467
|
{
|
|
4468
4468
|
name: "Retail",
|
|
@@ -4471,7 +4471,7 @@ var drawerAppList = [
|
|
|
4471
4471
|
featureNames: [featureName_default.RETAIL],
|
|
4472
4472
|
pinned: "retail",
|
|
4473
4473
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconRetail, {}),
|
|
4474
|
-
url:
|
|
4474
|
+
url: `/#/retail/product-availability`
|
|
4475
4475
|
},
|
|
4476
4476
|
{
|
|
4477
4477
|
name: "Service Delivery",
|
|
@@ -4480,7 +4480,7 @@ var drawerAppList = [
|
|
|
4480
4480
|
featureNames: [featureName_default.SERVICE_DELIVERY],
|
|
4481
4481
|
pinned: "runs",
|
|
4482
4482
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconRuns, {}),
|
|
4483
|
-
url:
|
|
4483
|
+
url: `/#/runs`
|
|
4484
4484
|
},
|
|
4485
4485
|
{
|
|
4486
4486
|
name: "Ops Metrics",
|
|
@@ -4503,7 +4503,7 @@ var drawerAppList = [
|
|
|
4503
4503
|
featureNames: [featureName_default.ACCOUNTS],
|
|
4504
4504
|
pinned: "accounts",
|
|
4505
4505
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconAccounts, {}),
|
|
4506
|
-
url:
|
|
4506
|
+
url: `/#/accounts`
|
|
4507
4507
|
},
|
|
4508
4508
|
{
|
|
4509
4509
|
name: "Reports",
|
|
@@ -4512,7 +4512,7 @@ var drawerAppList = [
|
|
|
4512
4512
|
featureNames: [featureName_default.REPORTS],
|
|
4513
4513
|
pinned: "reports",
|
|
4514
4514
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconReports, {}),
|
|
4515
|
-
url:
|
|
4515
|
+
url: `/#/reports`
|
|
4516
4516
|
}
|
|
4517
4517
|
]
|
|
4518
4518
|
},
|
|
@@ -4526,7 +4526,7 @@ var drawerAppList = [
|
|
|
4526
4526
|
featureNames: [featureName_default.ADMIN],
|
|
4527
4527
|
pinned: "admin",
|
|
4528
4528
|
icon: /* @__PURE__ */ jsx83(icons_default.SvgIconSetting, {}),
|
|
4529
|
-
url:
|
|
4529
|
+
url: `/#/admin`
|
|
4530
4530
|
},
|
|
4531
4531
|
{
|
|
4532
4532
|
name: "User Management",
|