@conboai/storybook.components 0.2.65 → 0.2.67
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/ActionSelect/ActionSelect.d.ts +1 -1
- package/dist/components/TrailPathView/TrailPathView.d.ts +21 -0
- package/dist/components/TrailPathView/index.d.ts +1 -0
- package/dist/components/TrailPathView/utils.d.ts +5 -0
- package/dist/helpers/utils/utils.d.ts +1 -0
- package/dist/interfaces/actionSelect.d.ts +1 -0
- package/dist/storybook.components.mjs +78 -67
- package/package.json +11 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IActionSelect } from '../../interfaces/actionSelect';
|
|
3
3
|
|
|
4
|
-
declare const ActionSelect: ({ options, setValue, value }: IActionSelect) => React.JSX.Element;
|
|
4
|
+
declare const ActionSelect: ({ options, setValue, value, disabled }: IActionSelect) => React.JSX.Element;
|
|
5
5
|
export default ActionSelect;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare enum TrailPathType {
|
|
4
|
+
Geo = 0,
|
|
5
|
+
Feed = 1
|
|
6
|
+
}
|
|
7
|
+
interface IGeoPath {
|
|
8
|
+
type: TrailPathType.Geo;
|
|
9
|
+
coordinates: Array<[number, number]>;
|
|
10
|
+
points?: never;
|
|
11
|
+
feedUrl?: never;
|
|
12
|
+
}
|
|
13
|
+
interface IFeedPath {
|
|
14
|
+
type: TrailPathType.Feed;
|
|
15
|
+
points: Array<[number, number]>;
|
|
16
|
+
feedUrl: string;
|
|
17
|
+
coordinates?: never;
|
|
18
|
+
}
|
|
19
|
+
export type ITrailPathView = IGeoPath | IFeedPath;
|
|
20
|
+
declare const TrailPathView: React.FC<ITrailPathView>;
|
|
21
|
+
export default TrailPathView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TrailPathView } from './TrailPathView';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Point } from '../../core/Shapes/types';
|
|
2
|
+
import { CoordinatePoint } from '../../core/Geo/types';
|
|
3
|
+
|
|
4
|
+
export declare const arrayToShapePoints: (points: number[][]) => Point[];
|
|
5
|
+
export declare const arrayToGeoCoordinates: (coordinates: number[][]) => CoordinatePoint[];
|
|
@@ -28060,17 +28060,22 @@ function Mt({ fill: t = "black", icon: e, width: n, height: r, fillOpacity: i })
|
|
|
28060
28060
|
}
|
|
28061
28061
|
);
|
|
28062
28062
|
}
|
|
28063
|
-
const wM = ({
|
|
28064
|
-
|
|
28063
|
+
const wM = ({
|
|
28064
|
+
options: t,
|
|
28065
|
+
setValue: e,
|
|
28066
|
+
value: n,
|
|
28067
|
+
disabled: r = !1
|
|
28068
|
+
}) => {
|
|
28069
|
+
const [i, s] = mt(
|
|
28065
28070
|
t && t[0].value
|
|
28066
|
-
),
|
|
28067
|
-
|
|
28068
|
-
}, a = () => {
|
|
28069
|
-
const c = ft(n).valueOf(), d = ft(c - r);
|
|
28070
|
-
e(d);
|
|
28071
|
+
), a = (d) => {
|
|
28072
|
+
s(d.target.value);
|
|
28071
28073
|
}, l = () => {
|
|
28072
|
-
const
|
|
28073
|
-
e(
|
|
28074
|
+
const d = ft(n).valueOf(), u = ft(d - i);
|
|
28075
|
+
e(u);
|
|
28076
|
+
}, c = () => {
|
|
28077
|
+
const d = ft(n).valueOf(), u = ft(i + d);
|
|
28078
|
+
e(u);
|
|
28074
28079
|
};
|
|
28075
28080
|
return /* @__PURE__ */ ee.jsx(lt, { children: /* @__PURE__ */ ee.jsx(_s, { fullWidth: !0, children: /* @__PURE__ */ ee.jsxs(
|
|
28076
28081
|
ht,
|
|
@@ -28084,8 +28089,8 @@ const wM = ({ options: t, setValue: e, value: n }) => {
|
|
|
28084
28089
|
Zr,
|
|
28085
28090
|
{
|
|
28086
28091
|
size: "small",
|
|
28087
|
-
onClick:
|
|
28088
|
-
disabled: !r,
|
|
28092
|
+
onClick: l,
|
|
28093
|
+
disabled: !i || r,
|
|
28089
28094
|
variant: "action",
|
|
28090
28095
|
children: /* @__PURE__ */ ee.jsx(Mt, { icon: "minus" })
|
|
28091
28096
|
}
|
|
@@ -28095,19 +28100,20 @@ const wM = ({ options: t, setValue: e, value: n }) => {
|
|
|
28095
28100
|
{
|
|
28096
28101
|
labelId: "action-select",
|
|
28097
28102
|
id: "action-select",
|
|
28098
|
-
value:
|
|
28099
|
-
onChange:
|
|
28103
|
+
value: i,
|
|
28104
|
+
onChange: a,
|
|
28100
28105
|
size: "small",
|
|
28101
28106
|
sx: TM,
|
|
28102
|
-
|
|
28107
|
+
disabled: r,
|
|
28108
|
+
children: t == null ? void 0 : t.map((d) => /* @__PURE__ */ ee.jsx(Ii, { value: d.value, children: d.label }, d.label))
|
|
28103
28109
|
}
|
|
28104
28110
|
),
|
|
28105
28111
|
/* @__PURE__ */ ee.jsx(
|
|
28106
28112
|
Zr,
|
|
28107
28113
|
{
|
|
28108
28114
|
size: "small",
|
|
28109
|
-
onClick:
|
|
28110
|
-
disabled: !r,
|
|
28115
|
+
onClick: c,
|
|
28116
|
+
disabled: !i || r,
|
|
28111
28117
|
variant: "action",
|
|
28112
28118
|
children: /* @__PURE__ */ ee.jsx(Mt, { icon: "plus" })
|
|
28113
28119
|
}
|
|
@@ -40809,6 +40815,7 @@ const j8 = ({
|
|
|
40809
40815
|
l && /* @__PURE__ */ ee.jsx(
|
|
40810
40816
|
wM,
|
|
40811
40817
|
{
|
|
40818
|
+
disabled: u,
|
|
40812
40819
|
options: a,
|
|
40813
40820
|
setValue: (b) => {
|
|
40814
40821
|
e(b == null ? void 0 : b.toDate());
|
|
@@ -42558,7 +42565,7 @@ function wB(t, e) {
|
|
|
42558
42565
|
"error"
|
|
42559
42566
|
);
|
|
42560
42567
|
try {
|
|
42561
|
-
po.log(`Debug logs enabled for "${e}" in hls.js version 1.5.
|
|
42568
|
+
po.log(`Debug logs enabled for "${e}" in hls.js version 1.5.13`);
|
|
42562
42569
|
} catch {
|
|
42563
42570
|
po = Id;
|
|
42564
42571
|
}
|
|
@@ -44000,12 +44007,15 @@ function Sm(t, e) {
|
|
|
44000
44007
|
return t && t !== "mp4a" ? t : e && e.split(",")[0];
|
|
44001
44008
|
}
|
|
44002
44009
|
function fj(t) {
|
|
44003
|
-
const e = t.split("
|
|
44004
|
-
|
|
44005
|
-
|
|
44006
|
-
|
|
44010
|
+
const e = t.split(",");
|
|
44011
|
+
for (let n = 0; n < e.length; n++) {
|
|
44012
|
+
const r = e[n].split(".");
|
|
44013
|
+
if (r.length > 2) {
|
|
44014
|
+
let i = r.shift() + ".";
|
|
44015
|
+
i += parseInt(r.shift()).toString(16), i += ("000" + parseInt(r.shift()).toString(16)).slice(-4), e[n] = i;
|
|
44016
|
+
}
|
|
44007
44017
|
}
|
|
44008
|
-
return
|
|
44018
|
+
return e.join(",");
|
|
44009
44019
|
}
|
|
44010
44020
|
const Tm = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g, Cm = /#EXT-X-MEDIA:(.*)/g, pj = /^#EXT(?:INF|-X-TARGETDURATION):/m, wm = new RegExp([
|
|
44011
44021
|
/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
|
|
@@ -47836,7 +47846,7 @@ class bh extends Zj {
|
|
|
47836
47846
|
return e ? r = Math.max(8 * n.maxBufferSize / e, n.maxBufferLength) : r = n.maxBufferLength, Math.min(r, n.maxMaxBufferLength);
|
|
47837
47847
|
}
|
|
47838
47848
|
reduceMaxBufferLength(e, n) {
|
|
47839
|
-
const r = this.config, i = Math.max(Math.min(e, r.maxBufferLength), n), s = Math.max(e - n * 3, r.maxMaxBufferLength / 2);
|
|
47849
|
+
const r = this.config, i = Math.max(Math.min(e - n, r.maxBufferLength), n), s = Math.max(e - n * 3, r.maxMaxBufferLength / 2, i);
|
|
47840
47850
|
return s >= i ? (r.maxMaxBufferLength = s, this.warn(`Reduce max buffer length to ${s}s`), !0) : !1;
|
|
47841
47851
|
}
|
|
47842
47852
|
getAppendedFrag(e, n = nt.MAIN) {
|
|
@@ -58612,7 +58622,7 @@ class wr {
|
|
|
58612
58622
|
* Get the video-dev/hls.js package version.
|
|
58613
58623
|
*/
|
|
58614
58624
|
static get version() {
|
|
58615
|
-
return "1.5.
|
|
58625
|
+
return "1.5.13";
|
|
58616
58626
|
}
|
|
58617
58627
|
/**
|
|
58618
58628
|
* Check if the required MediaSource Extensions are available.
|
|
@@ -62344,7 +62354,7 @@ const p8 = hn.forwardRef(
|
|
|
62344
62354
|
var vv = { exports: {} };
|
|
62345
62355
|
(function(t) {
|
|
62346
62356
|
/**
|
|
62347
|
-
* Highcharts JS v11.4.
|
|
62357
|
+
* Highcharts JS v11.4.5 (2024-07-04)
|
|
62348
62358
|
*
|
|
62349
62359
|
* (c) 2009-2024 Torstein Honsi
|
|
62350
62360
|
*
|
|
@@ -62359,7 +62369,7 @@ var vv = { exports: {} };
|
|
|
62359
62369
|
}
|
|
62360
62370
|
return r(n, "Core/Globals.js", [], function() {
|
|
62361
62371
|
var i, s;
|
|
62362
|
-
return (s = i || (i = {})).SVG_NS = "http://www.w3.org/2000/svg", s.product = "Highcharts", s.version = "11.4.
|
|
62372
|
+
return (s = i || (i = {})).SVG_NS = "http://www.w3.org/2000/svg", s.product = "Highcharts", s.version = "11.4.5", s.win = e !== void 0 ? e : {}, s.doc = s.win.document, s.svg = s.doc && s.doc.createElementNS && !!s.doc.createElementNS(s.SVG_NS, "svg").createSVGRect, s.userAgent = s.win.navigator && s.win.navigator.userAgent || "", s.isChrome = s.win.chrome, s.isFirefox = s.userAgent.indexOf("Firefox") !== -1, s.isMS = /(edge|msie|trident)/i.test(s.userAgent) && !s.win.opera, s.isSafari = !s.isChrome && s.userAgent.indexOf("Safari") !== -1, s.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(s.userAgent), s.isWebKit = s.userAgent.indexOf("AppleWebKit") !== -1, s.deg2rad = 2 * Math.PI / 360, s.hasBidiBug = s.isFirefox && 4 > parseInt(s.userAgent.split("Firefox/")[1], 10), s.marginNames = ["plotTop", "marginRight", "marginBottom", "plotLeft"], s.noop = function() {
|
|
62363
62373
|
}, s.supportsPassiveEvents = function() {
|
|
62364
62374
|
let a = !1;
|
|
62365
62375
|
if (!s.isMS) {
|
|
@@ -63606,7 +63616,7 @@ var vv = { exports: {} };
|
|
|
63606
63616
|
class ie {
|
|
63607
63617
|
constructor(z, J, re, B, U, R, H) {
|
|
63608
63618
|
let Y, q, K = this.createElement("svg").attr({ version: "1.1", class: "highcharts-root" }), ne = K.element;
|
|
63609
|
-
H || K.css(this.getStyle(B || {})), z.appendChild(ne), I(z, "dir", "ltr"), z.innerHTML.indexOf("xmlns") === -1 && I(ne, "xmlns", this.SVG_NS), this.box = ne, this.boxWrapper = K, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(b.createTextNode("Created with Highcharts 11.4.
|
|
63619
|
+
H || K.css(this.getStyle(B || {})), z.appendChild(ne), I(z, "dir", "ltr"), z.innerHTML.indexOf("xmlns") === -1 && I(ne, "xmlns", this.SVG_NS), this.box = ne, this.boxWrapper = K, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(b.createTextNode("Created with Highcharts 11.4.5")), this.defs = this.createElement("defs").add(), this.allowHTML = R, this.forExport = U, this.styledMode = H, this.gradients = {}, this.cache = {}, this.cacheKeys = [], this.imgCount = 0, this.rootFontSize = K.getStyle("font-size"), this.setSize(J, re, !1), T && z.getBoundingClientRect && ((Y = function() {
|
|
63610
63620
|
y(z, { left: 0, top: 0 }), q = z.getBoundingClientRect(), y(z, { left: Math.ceil(q.left) - q.left + "px", top: Math.ceil(q.top) - q.top + "px" });
|
|
63611
63621
|
})(), this.unSubPixelFix = O($, "resize", Y));
|
|
63612
63622
|
}
|
|
@@ -64019,7 +64029,7 @@ var vv = { exports: {} };
|
|
|
64019
64029
|
}
|
|
64020
64030
|
let ge = { value: R, lineWidth: H, old: U, force: oe, acrossPanes: V.acrossPanes, translatedValue: ne };
|
|
64021
64031
|
return I(this, "getPlotLinePath", ge, function(fe) {
|
|
64022
|
-
ue = le = (ne = w(ne = M(ne, z.translate(R, void 0, void 0, U)), -1e5, 1e5)) + K, de = ae = Y - ne - K, C(ne) ? z.horiz ? (de = B, ae = Y - z.bottom + (J.scrollablePixelsY || 0), ue = le = he(ue, re, re + z.width)) : (ue = re, le = q - z.right + (J.scrollablePixelsX || 0), de = ae = he(de, B, B + z.height)) : (ce = !0, oe = !1), fe.path = ce && !oe ? void 0 : J.renderer.crispLine([["M", ue, de], ["L", le, ae]], H || 1);
|
|
64032
|
+
ue = le = (ne = w(ne = M(ne, z.translate(R, void 0, void 0, U)), -1e5, 1e5)) + K, de = ae = Y - ne - K, C(ne) ? z.horiz ? (de = B, ae = Y - z.bottom + (z.options.isInternal ? 0 : J.scrollablePixelsY || 0), ue = le = he(ue, re, re + z.width)) : (ue = re, le = q - z.right + (J.scrollablePixelsX || 0), de = ae = he(de, B, B + z.height)) : (ce = !0, oe = !1), fe.path = ce && !oe ? void 0 : J.renderer.crispLine([["M", ue, de], ["L", le, ae]], H || 1);
|
|
64023
64033
|
}), ge.path;
|
|
64024
64034
|
}
|
|
64025
64035
|
getLinearTickPositions(V, z, J) {
|
|
@@ -67340,7 +67350,7 @@ const kl = /* @__PURE__ */ Pn(m8);
|
|
|
67340
67350
|
var Sv = { exports: {} };
|
|
67341
67351
|
(function(t) {
|
|
67342
67352
|
/**
|
|
67343
|
-
* Highcharts JS v11.4.
|
|
67353
|
+
* Highcharts JS v11.4.5 (2024-07-04)
|
|
67344
67354
|
*
|
|
67345
67355
|
* (c) 2009-2024 Torstein Honsi
|
|
67346
67356
|
*
|
|
@@ -68388,7 +68398,7 @@ var Sv = { exports: {} };
|
|
|
68388
68398
|
break;
|
|
68389
68399
|
}
|
|
68390
68400
|
}
|
|
68391
|
-
T.push(T[0].slice()), m.polygon = T;
|
|
68401
|
+
T.length && T.push(T[0].slice()), m.polygon = T;
|
|
68392
68402
|
}
|
|
68393
68403
|
return m;
|
|
68394
68404
|
}
|
|
@@ -69085,7 +69095,7 @@ const b8 = /* @__PURE__ */ Pn(g8);
|
|
|
69085
69095
|
var Tv = { exports: {} };
|
|
69086
69096
|
(function(t) {
|
|
69087
69097
|
/**
|
|
69088
|
-
* Highcharts JS v11.4.
|
|
69098
|
+
* Highcharts JS v11.4.5 (2024-07-04)
|
|
69089
69099
|
*
|
|
69090
69100
|
* X-range series
|
|
69091
69101
|
*
|
|
@@ -69578,7 +69588,7 @@ const lV = ({
|
|
|
69578
69588
|
}
|
|
69579
69589
|
)
|
|
69580
69590
|
] });
|
|
69581
|
-
}, T8 = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), cV = (t) => t.join(", ")
|
|
69591
|
+
}, T8 = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), cV = (t) => t.join(", "), dV = () => `ID_${Math.random().toString(36).substr(2, 3)}_${Date.now()}`;
|
|
69582
69592
|
ft.extend(Hb);
|
|
69583
69593
|
ft.extend(Gb);
|
|
69584
69594
|
const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(t).set(e, n), w8 = (t) => ft().subtract(1, "day").startOf("day").set("hour", t), yg = (t, e) => ft().subtract(t, e), E8 = () => {
|
|
@@ -69609,30 +69619,30 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69609
69619
|
}
|
|
69610
69620
|
}).join("");
|
|
69611
69621
|
return n ? r.replace("hh", "hh") : r.replace("hh", "HH");
|
|
69612
|
-
},
|
|
69622
|
+
}, uV = (t) => {
|
|
69613
69623
|
const e = E8();
|
|
69614
69624
|
return ft(t).format(e);
|
|
69615
|
-
},
|
|
69625
|
+
}, hV = (t) => {
|
|
69616
69626
|
const r = Math.floor(t / 6e4);
|
|
69617
69627
|
t %= 6e4;
|
|
69618
69628
|
const i = Math.floor(t / 1e3);
|
|
69619
69629
|
let s = "";
|
|
69620
69630
|
return r > 0 ? (s += `${r} min`, i > 0 && (s += ` ${i} sec`), s) : i > 0 ? (s += `${i} sec`, s) : "0 sec";
|
|
69621
|
-
}, wv = (t, e = "UTC") => ft(t).tz(e).startOf("minute").format("YYYY-MM-DDTHH:mm:00.000[Z]"), k8 = (t, e) => ft(t).add(e, "millisecond").toISOString(), Ev = (t, e) => ft.tz(t, e).utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"),
|
|
69631
|
+
}, wv = (t, e = "UTC") => ft(t).tz(e).startOf("minute").format("YYYY-MM-DDTHH:mm:00.000[Z]"), k8 = (t, e) => ft(t).add(e, "millisecond").toISOString(), Ev = (t, e) => ft.tz(t, e).utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), fV = (t, e) => ft.utc(t).tz(e).format("YYYY-MM-DDTHH:mm:ssZ"), pV = (t, e) => ft(t).tz(e).format(), mV = (t, e) => Ev(wv(t, e), e), gV = (t, e, n) => Ev(
|
|
69622
69632
|
wv(k8(t, n), e),
|
|
69623
69633
|
e
|
|
69624
|
-
),
|
|
69634
|
+
), bV = [
|
|
69625
69635
|
"Camera 1 (all items)",
|
|
69626
69636
|
"Camera 5 (all items)",
|
|
69627
69637
|
"Camera 2 (10 items)",
|
|
69628
69638
|
"Camera 3 (Zone 1)",
|
|
69629
69639
|
"Camera 4 (24 items)"
|
|
69630
|
-
],
|
|
69640
|
+
], yV = [
|
|
69631
69641
|
{ key: "classifier", label: "Classifier" },
|
|
69632
69642
|
{ key: "value", label: "Value" },
|
|
69633
69643
|
{ key: "count", label: "Count" },
|
|
69634
69644
|
{ key: "score", label: "Score" }
|
|
69635
|
-
],
|
|
69645
|
+
], xV = [
|
|
69636
69646
|
{
|
|
69637
69647
|
label: "Summary",
|
|
69638
69648
|
value: "0",
|
|
@@ -69643,14 +69653,14 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69643
69653
|
value: "1",
|
|
69644
69654
|
disabled: !0
|
|
69645
69655
|
}
|
|
69646
|
-
],
|
|
69656
|
+
], vV = [
|
|
69647
69657
|
{ classifier: "Color", value: "Black", count: 50, score: "80%" },
|
|
69648
69658
|
{ classifier: "Color", value: "Yellow", count: 60, score: "70%" },
|
|
69649
69659
|
{ classifier: "Manufacture", value: "Volvo", count: 50, score: "80%" },
|
|
69650
69660
|
{ classifier: "Color", value: "Red", count: 50, score: "40%" },
|
|
69651
69661
|
{ classifier: "Color", value: "Green", count: 75, score: "70%" },
|
|
69652
69662
|
{ classifier: "Manufacture", value: "Man", count: 3, score: "80%" }
|
|
69653
|
-
],
|
|
69663
|
+
], SV = (t) => [
|
|
69654
69664
|
{
|
|
69655
69665
|
value: "0",
|
|
69656
69666
|
content: /* @__PURE__ */ ee.jsx(sB, { ...t })
|
|
@@ -69659,7 +69669,7 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69659
69669
|
value: "1",
|
|
69660
69670
|
content: "More"
|
|
69661
69671
|
}
|
|
69662
|
-
],
|
|
69672
|
+
], TV = {
|
|
69663
69673
|
data: [
|
|
69664
69674
|
{
|
|
69665
69675
|
id: "1",
|
|
@@ -69717,15 +69727,15 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69717
69727
|
value: "kit"
|
|
69718
69728
|
}
|
|
69719
69729
|
]
|
|
69720
|
-
},
|
|
69730
|
+
}, CV = [
|
|
69721
69731
|
{ key: "id", label: "ID" },
|
|
69722
69732
|
{ key: "name", label: "Name" },
|
|
69723
69733
|
{ key: "age", label: "Age" }
|
|
69724
|
-
],
|
|
69734
|
+
], wV = [
|
|
69725
69735
|
{ id: 1, name: "John Doe", age: 30 },
|
|
69726
69736
|
{ id: 2, name: "Jane Smith", age: 25 },
|
|
69727
69737
|
{ id: 3, name: "Bob Johnson", age: 40 }
|
|
69728
|
-
],
|
|
69738
|
+
], EV = {
|
|
69729
69739
|
feed: 139,
|
|
69730
69740
|
conbo_key: "28145-139-021-64216",
|
|
69731
69741
|
event_id: "CNB-7987",
|
|
@@ -69735,7 +69745,7 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69735
69745
|
end: "2024-05-15T21:05:27.745000Z",
|
|
69736
69746
|
cargo: "N/A",
|
|
69737
69747
|
zones: ["Dock main road ", "Hello dock"]
|
|
69738
|
-
},
|
|
69748
|
+
}, kV = [
|
|
69739
69749
|
{ headerName: "Event ID", field: "event_id" },
|
|
69740
69750
|
{
|
|
69741
69751
|
headerName: "Move",
|
|
@@ -69754,7 +69764,7 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69754
69764
|
},
|
|
69755
69765
|
{ headerName: "Cargo", field: "cargo" },
|
|
69756
69766
|
{ headerName: "Zones", field: "zones" }
|
|
69757
|
-
],
|
|
69767
|
+
], RV = [
|
|
69758
69768
|
{ id: "1", color: "#f99191", title: "New title" },
|
|
69759
69769
|
{
|
|
69760
69770
|
id: "2",
|
|
@@ -69762,7 +69772,7 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69762
69772
|
title: "Message should contain more information"
|
|
69763
69773
|
},
|
|
69764
69774
|
{ id: "3", color: "#7095f4", title: "Hello, World!" }
|
|
69765
|
-
],
|
|
69775
|
+
], AV = [
|
|
69766
69776
|
{
|
|
69767
69777
|
label: "Start of the day",
|
|
69768
69778
|
getValue: () => bg("day", "hour", 6)
|
|
@@ -69787,7 +69797,7 @@ const bg = (t, e, n) => ft().startOf(t).set(e, n), C8 = (t, e, n) => ft().endOf(
|
|
|
69787
69797
|
label: "One day ago",
|
|
69788
69798
|
getValue: () => yg(1, "day")
|
|
69789
69799
|
}
|
|
69790
|
-
],
|
|
69800
|
+
], PV = [
|
|
69791
69801
|
{
|
|
69792
69802
|
value: 864e5,
|
|
69793
69803
|
label: "1 day"
|
|
@@ -69859,7 +69869,7 @@ export {
|
|
|
69859
69869
|
pl as PLACEMENTS,
|
|
69860
69870
|
H$ as SearchInput,
|
|
69861
69871
|
Mt as Svg,
|
|
69862
|
-
|
|
69872
|
+
xV as TABS,
|
|
69863
69873
|
I8 as TICK_COLOR,
|
|
69864
69874
|
dB as Tab,
|
|
69865
69875
|
U8 as TabsBar,
|
|
@@ -69870,41 +69880,42 @@ export {
|
|
|
69870
69880
|
X8 as VideoBox,
|
|
69871
69881
|
bn as WHITE,
|
|
69872
69882
|
k8 as addMillisecondsToDate,
|
|
69873
|
-
|
|
69874
|
-
|
|
69875
|
-
|
|
69883
|
+
yV as columnDefs,
|
|
69884
|
+
CV as columns,
|
|
69885
|
+
gV as convertDateFromUTCWithFormattedDateAndDuration,
|
|
69876
69886
|
Ev as convertLocalToUTC,
|
|
69877
|
-
|
|
69878
|
-
|
|
69879
|
-
|
|
69880
|
-
|
|
69881
|
-
|
|
69887
|
+
mV as convertLocalToUTCWithFormattedDate,
|
|
69888
|
+
pV as convertTimezone,
|
|
69889
|
+
fV as convertUTCToTimeZone,
|
|
69890
|
+
bV as dataMock,
|
|
69891
|
+
vV as detailsViewDataMock,
|
|
69882
69892
|
Gd as extractPrefix,
|
|
69883
69893
|
c8 as extractZip,
|
|
69884
69894
|
wv as formatDate,
|
|
69885
|
-
|
|
69886
|
-
|
|
69895
|
+
uV as formatDateWithLocal,
|
|
69896
|
+
hV as formatDuration,
|
|
69887
69897
|
cV as formatValueWithComma,
|
|
69898
|
+
dV as generateRandomId,
|
|
69888
69899
|
C8 as getEndTime,
|
|
69889
69900
|
E8 as getLocalDateTimeFormat,
|
|
69890
69901
|
sV as getParsedSvgViewsFromZip,
|
|
69891
69902
|
bg as getStartTime,
|
|
69892
69903
|
w8 as getStartTimeOfYesterday,
|
|
69893
|
-
|
|
69904
|
+
SV as getTabsContent,
|
|
69894
69905
|
sx as inputLabelSx,
|
|
69895
69906
|
rx as loaderSx,
|
|
69896
|
-
|
|
69897
|
-
|
|
69898
|
-
|
|
69899
|
-
|
|
69907
|
+
wV as mainTableDataMock,
|
|
69908
|
+
PV as mockSelectOptions,
|
|
69909
|
+
AV as mockShortcut,
|
|
69910
|
+
TV as newFilterMock,
|
|
69900
69911
|
mg as parseSvg,
|
|
69901
69912
|
ix as selectSx,
|
|
69902
69913
|
T8 as snakeCaseToTitleCase,
|
|
69903
69914
|
l8 as startsWithAny,
|
|
69904
69915
|
yg as subtractTime,
|
|
69905
69916
|
tx as tabSx,
|
|
69906
|
-
|
|
69917
|
+
RV as tabsMock,
|
|
69907
69918
|
nx as tabsSx,
|
|
69908
|
-
|
|
69909
|
-
|
|
69919
|
+
kV as verticalTableColumnDefs,
|
|
69920
|
+
EV as verticalTableDataMock
|
|
69910
69921
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conboai/storybook.components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.67",
|
|
4
4
|
"main": "dist/storybook.components.mjs",
|
|
5
5
|
"types": "dist/build/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -9,16 +9,26 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start": "react-scripts start",
|
|
14
|
+
"build": "tsc && vite build",
|
|
15
|
+
"storybook": "storybook dev -p 6006",
|
|
16
|
+
"build-storybook": "storybook build",
|
|
17
|
+
"prepare": "husky"
|
|
18
|
+
},
|
|
12
19
|
"dependencies": {
|
|
13
20
|
"@emotion/react": "^11.11.4",
|
|
14
21
|
"@emotion/styled": "^11.11.5",
|
|
22
|
+
"@mui/icons-material": "^5.15.21",
|
|
15
23
|
"@mui/lab": "^5.0.0-alpha.170",
|
|
16
24
|
"@mui/material": "^5.15.15",
|
|
17
25
|
"@mui/x-date-pickers": "^7.2.0",
|
|
26
|
+
"@react-google-maps/api": "^2.19.3",
|
|
18
27
|
"@storybook/addon-actions": "^8.0.8",
|
|
19
28
|
"@testing-library/jest-dom": "^5.17.0",
|
|
20
29
|
"@testing-library/react": "^13.4.0",
|
|
21
30
|
"@testing-library/user-event": "^13.5.0",
|
|
31
|
+
"@types/googlemaps": "^3.43.3",
|
|
22
32
|
"@types/jest": "^29.5.12",
|
|
23
33
|
"@types/node": "^20.12.7",
|
|
24
34
|
"@types/react": "^18.2.78",
|
|
@@ -39,15 +49,6 @@
|
|
|
39
49
|
"react": "^18.2.0",
|
|
40
50
|
"react-scripts": "5.0.1"
|
|
41
51
|
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"start": "react-scripts start",
|
|
44
|
-
"build": "tsc && vite build",
|
|
45
|
-
"test": "react-scripts test",
|
|
46
|
-
"eject": "react-scripts eject",
|
|
47
|
-
"storybook": "storybook dev -p 6006",
|
|
48
|
-
"build-storybook": "storybook build",
|
|
49
|
-
"prepare": "husky"
|
|
50
|
-
},
|
|
51
52
|
"eslintConfig": {
|
|
52
53
|
"extends": [
|
|
53
54
|
"react-app",
|