randmarcomps 1.106.0 → 1.108.0
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/randmarcomps.d.ts +9 -9
- package/dist/randmarcomps.js +36 -15
- package/dist/randmarcomps.umd.cjs +17 -12
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -40,15 +40,6 @@ export declare interface AreaChartProps {
|
|
|
40
40
|
className?: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export declare function AutomaticReorderingFormCard({ manufacturer, onSave, loading, saving, }: AutomaticReorderingFormCardProps): JSX.Element;
|
|
44
|
-
|
|
45
|
-
declare interface AutomaticReorderingFormCardProps {
|
|
46
|
-
manufacturer: Manufacturer;
|
|
47
|
-
onSave: (updatedManufacturer: Manufacturer) => void;
|
|
48
|
-
loading?: boolean;
|
|
49
|
-
saving?: boolean;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
43
|
export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
53
44
|
|
|
54
45
|
export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -248,6 +239,15 @@ export declare interface ManufacturerCardProps {
|
|
|
248
239
|
loading?: boolean;
|
|
249
240
|
}
|
|
250
241
|
|
|
242
|
+
export declare function ManufacturerReorderingCard({ manufacturer, onSave, loading, saving, }: ManufacturerReorderingCardProps): JSX.Element;
|
|
243
|
+
|
|
244
|
+
declare interface ManufacturerReorderingCardProps {
|
|
245
|
+
manufacturer: Manufacturer;
|
|
246
|
+
onSave: (updatedManufacturer: Manufacturer) => void;
|
|
247
|
+
loading?: boolean;
|
|
248
|
+
saving?: boolean;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
251
|
declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
|
|
252
252
|
|
|
253
253
|
export declare const Navbar: default_2.ForwardRefExoticComponent<NavbarProps & default_2.RefAttributes<ChatLayoutHandle>>;
|
package/dist/randmarcomps.js
CHANGED
|
@@ -277,49 +277,49 @@ const createLucideIcon = (e, t) => {
|
|
|
277
277
|
* This source code is licensed under the ISC license.
|
|
278
278
|
* See the LICENSE file in the root directory of this source tree.
|
|
279
279
|
*/
|
|
280
|
-
const __iconNode$
|
|
280
|
+
const __iconNode$w = [
|
|
281
281
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
282
282
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
283
283
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
284
284
|
["path", { d: "M20 14h2", key: "4cs60a" }],
|
|
285
285
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
286
286
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
287
|
-
], Bot = createLucideIcon("Bot", __iconNode$
|
|
287
|
+
], Bot = createLucideIcon("Bot", __iconNode$w);
|
|
288
288
|
/**
|
|
289
289
|
* @license lucide-react v0.479.0 - ISC
|
|
290
290
|
*
|
|
291
291
|
* This source code is licensed under the ISC license.
|
|
292
292
|
* See the LICENSE file in the root directory of this source tree.
|
|
293
293
|
*/
|
|
294
|
-
const __iconNode$
|
|
294
|
+
const __iconNode$v = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Check = createLucideIcon("Check", __iconNode$v);
|
|
295
295
|
/**
|
|
296
296
|
* @license lucide-react v0.479.0 - ISC
|
|
297
297
|
*
|
|
298
298
|
* This source code is licensed under the ISC license.
|
|
299
299
|
* See the LICENSE file in the root directory of this source tree.
|
|
300
300
|
*/
|
|
301
|
-
const __iconNode$
|
|
301
|
+
const __iconNode$u = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], ChevronDown = createLucideIcon("ChevronDown", __iconNode$u);
|
|
302
302
|
/**
|
|
303
303
|
* @license lucide-react v0.479.0 - ISC
|
|
304
304
|
*
|
|
305
305
|
* This source code is licensed under the ISC license.
|
|
306
306
|
* See the LICENSE file in the root directory of this source tree.
|
|
307
307
|
*/
|
|
308
|
-
const __iconNode$
|
|
308
|
+
const __iconNode$t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("ChevronRight", __iconNode$t);
|
|
309
309
|
/**
|
|
310
310
|
* @license lucide-react v0.479.0 - ISC
|
|
311
311
|
*
|
|
312
312
|
* This source code is licensed under the ISC license.
|
|
313
313
|
* See the LICENSE file in the root directory of this source tree.
|
|
314
314
|
*/
|
|
315
|
-
const __iconNode$
|
|
315
|
+
const __iconNode$s = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], ChevronUp = createLucideIcon("ChevronUp", __iconNode$s);
|
|
316
316
|
/**
|
|
317
317
|
* @license lucide-react v0.479.0 - ISC
|
|
318
318
|
*
|
|
319
319
|
* This source code is licensed under the ISC license.
|
|
320
320
|
* See the LICENSE file in the root directory of this source tree.
|
|
321
321
|
*/
|
|
322
|
-
const __iconNode$
|
|
322
|
+
const __iconNode$r = [
|
|
323
323
|
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
324
324
|
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
325
325
|
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
@@ -328,24 +328,34 @@ const __iconNode$q = [
|
|
|
328
328
|
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
329
329
|
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
330
330
|
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
331
|
-
], CircleDashed = createLucideIcon("CircleDashed", __iconNode$
|
|
331
|
+
], CircleDashed = createLucideIcon("CircleDashed", __iconNode$r);
|
|
332
332
|
/**
|
|
333
333
|
* @license lucide-react v0.479.0 - ISC
|
|
334
334
|
*
|
|
335
335
|
* This source code is licensed under the ISC license.
|
|
336
336
|
* See the LICENSE file in the root directory of this source tree.
|
|
337
337
|
*/
|
|
338
|
-
const __iconNode$
|
|
338
|
+
const __iconNode$q = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Circle = createLucideIcon("Circle", __iconNode$q);
|
|
339
339
|
/**
|
|
340
340
|
* @license lucide-react v0.479.0 - ISC
|
|
341
341
|
*
|
|
342
342
|
* This source code is licensed under the ISC license.
|
|
343
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
344
344
|
*/
|
|
345
|
-
const __iconNode$
|
|
345
|
+
const __iconNode$p = [
|
|
346
346
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
347
347
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
348
|
-
], Copy = createLucideIcon("Copy", __iconNode$
|
|
348
|
+
], Copy = createLucideIcon("Copy", __iconNode$p);
|
|
349
|
+
/**
|
|
350
|
+
* @license lucide-react v0.479.0 - ISC
|
|
351
|
+
*
|
|
352
|
+
* This source code is licensed under the ISC license.
|
|
353
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
354
|
+
*/
|
|
355
|
+
const __iconNode$o = [
|
|
356
|
+
["line", { x1: "12", x2: "12", y1: "2", y2: "22", key: "7eqyqh" }],
|
|
357
|
+
["path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6", key: "1b0p4s" }]
|
|
358
|
+
], DollarSign = createLucideIcon("DollarSign", __iconNode$o);
|
|
349
359
|
/**
|
|
350
360
|
* @license lucide-react v0.479.0 - ISC
|
|
351
361
|
*
|
|
@@ -49027,6 +49037,10 @@ function ManufacturerCard({
|
|
|
49027
49037
|
e.Website && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
49028
49038
|
/* @__PURE__ */ jsx(Globe, { className: "h-4 w-4" }),
|
|
49029
49039
|
/* @__PURE__ */ jsx("span", { children: e.Website })
|
|
49040
|
+
] }),
|
|
49041
|
+
e.CurrencyCode && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
49042
|
+
/* @__PURE__ */ jsx(DollarSign, { className: "h-4 w-4" }),
|
|
49043
|
+
/* @__PURE__ */ jsx("span", { children: e.CurrencyCode })
|
|
49030
49044
|
] })
|
|
49031
49045
|
] })
|
|
49032
49046
|
] }) }),
|
|
@@ -49112,6 +49126,10 @@ function ResellerCard({
|
|
|
49112
49126
|
e.Website && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
49113
49127
|
/* @__PURE__ */ jsx(Globe, { className: "h-4 w-4" }),
|
|
49114
49128
|
/* @__PURE__ */ jsx("span", { children: e.Website })
|
|
49129
|
+
] }),
|
|
49130
|
+
e.CurrencyCode && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
49131
|
+
/* @__PURE__ */ jsx(DollarSign, { className: "h-4 w-4" }),
|
|
49132
|
+
/* @__PURE__ */ jsx("span", { children: e.CurrencyCode })
|
|
49115
49133
|
] })
|
|
49116
49134
|
] }) }) }),
|
|
49117
49135
|
(n || t) && /* @__PURE__ */ jsxs(CardFooter, { className: `flex pt-2 gap-2 ${n ? "justify-between" : "justify-end"}`, children: [
|
|
@@ -50147,7 +50165,7 @@ const Switch = React.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ j
|
|
|
50147
50165
|
));
|
|
50148
50166
|
Switch.displayName = Root.displayName;
|
|
50149
50167
|
const DAYS_OF_WEEK = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
|
|
50150
|
-
function
|
|
50168
|
+
function ManufacturerReorderingCard({
|
|
50151
50169
|
manufacturer: e,
|
|
50152
50170
|
onSave: t,
|
|
50153
50171
|
loading: n = !1,
|
|
@@ -50173,8 +50191,11 @@ function AutomaticReorderingFormCard({
|
|
|
50173
50191
|
}, p = () => {
|
|
50174
50192
|
i || t(o);
|
|
50175
50193
|
}, m = (b) => b === void 0 || b < 0 || b > 6 ? "Monday" : DAYS_OF_WEEK[b], g = (b) => DAYS_OF_WEEK.indexOf(b);
|
|
50176
|
-
return /* @__PURE__ */ jsxs(Card, {
|
|
50177
|
-
/* @__PURE__ */
|
|
50194
|
+
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
50195
|
+
/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
50196
|
+
n ? /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-32" }) : /* @__PURE__ */ jsx(CardTitle, { children: "Reordering" }),
|
|
50197
|
+
n ? /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-full mt-2" }) : /* @__PURE__ */ jsx(CardDescription, { className: "text-sm", children: "Adjust your reordering settings to control lead times, stocking weeks, minimum orders, and reorder dates, enhancing efficiency in restocking processes." })
|
|
50198
|
+
] }),
|
|
50178
50199
|
/* @__PURE__ */ jsx(CardContent, { className: "space-y-6", children: n ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
50179
50200
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
50180
50201
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-10" }),
|
|
@@ -50310,7 +50331,6 @@ function AutomaticReorderingFormCard({
|
|
|
50310
50331
|
}
|
|
50311
50332
|
export {
|
|
50312
50333
|
AreaChart,
|
|
50313
|
-
AutomaticReorderingFormCard,
|
|
50314
50334
|
Avatar,
|
|
50315
50335
|
AvatarFallback,
|
|
50316
50336
|
AvatarFooter,
|
|
@@ -50358,6 +50378,7 @@ export {
|
|
|
50358
50378
|
Label$2 as Label,
|
|
50359
50379
|
Layout,
|
|
50360
50380
|
ManufacturerCard,
|
|
50381
|
+
ManufacturerReorderingCard,
|
|
50361
50382
|
Navbar,
|
|
50362
50383
|
PartnerCard,
|
|
50363
50384
|
Preloader,
|