impact-nova 1.5.7 → 1.5.8
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/layout/dashboard-layout.d.ts +24 -39
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/percent-progress-cell-editor.d.ts +16 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/percent-progress-cell-editor.js +135 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/index.d.ts +14 -1
- package/dist/components/ui/ag-grid-react/cell-renderers/index.js +41 -35
- package/dist/components/ui/ag-grid-react/cell-renderers/percent-progress-display-renderer.d.ts +31 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/percent-progress-display-renderer.js +63 -0
- package/dist/components/ui/command-palette/command-palette-context.d.ts +4 -2
- package/dist/components/ui/command-palette/command-palette-context.js +76 -77
- package/dist/components/ui/command-palette/index.d.ts +3 -3
- package/dist/components/ui/command-palette/index.js +43 -40
- package/dist/components/ui/command-palette/shortcut-registry.d.ts +15 -2
- package/dist/components/ui/command-palette/shortcut-registry.js +61 -35
- package/dist/components/ui/command-palette/utils.d.ts +15 -0
- package/dist/components/ui/command-palette/utils.js +105 -70
- package/dist/icons/assets/command-pallet.svg.js +5 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +146 -144
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +100 -97
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ let f = null;
|
|
|
2
2
|
function u() {
|
|
3
3
|
return f !== null ? f : typeof navigator > "u" ? !1 : (f = /mac|ipod|iphone|ipad/i.test(navigator.platform ?? navigator.userAgent ?? ""), f);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const p = {
|
|
6
6
|
meta: "⌘",
|
|
7
7
|
ctrl: "⌃",
|
|
8
8
|
alt: "⌥",
|
|
@@ -33,45 +33,62 @@ const d = {
|
|
|
33
33
|
tab: "Tab",
|
|
34
34
|
space: "Space"
|
|
35
35
|
};
|
|
36
|
-
function
|
|
37
|
-
return (u() ?
|
|
36
|
+
function h(t) {
|
|
37
|
+
return (u() ? p : w)[t.toLowerCase()] ?? t.toUpperCase();
|
|
38
38
|
}
|
|
39
39
|
function C(t) {
|
|
40
40
|
const e = [];
|
|
41
|
-
return u() ? (t.ctrl && e.push(
|
|
41
|
+
return u() ? (t.ctrl && e.push(h("ctrl")), t.alt && e.push(h("alt")), t.shift && e.push(h("shift")), t.meta && e.push(h("meta"))) : ((t.meta || t.ctrl) && e.push(h("ctrl")), t.alt && e.push(h("alt")), t.shift && e.push(h("shift"))), e.push(h(t.key)), e;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function F(t) {
|
|
44
44
|
const e = C(t);
|
|
45
45
|
return u() ? e.join("") : e.join("+");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
function K(t, e) {
|
|
48
|
+
let o = t.key.toLowerCase() === e.key.toLowerCase();
|
|
49
|
+
if (!o && e.alt && u()) {
|
|
50
|
+
const n = t.code, i = e.key.toLowerCase();
|
|
51
|
+
n.startsWith("Key") ? o = n.slice(3).toLowerCase() === i : n.startsWith("Digit") ? o = n.slice(5) === i : o = ({
|
|
52
|
+
Comma: ",",
|
|
53
|
+
Period: ".",
|
|
54
|
+
Slash: "/",
|
|
55
|
+
Backslash: "\\",
|
|
56
|
+
BracketLeft: "[",
|
|
57
|
+
BracketRight: "]",
|
|
58
|
+
Semicolon: ";",
|
|
59
|
+
Quote: "'",
|
|
60
|
+
Backquote: "`",
|
|
61
|
+
Minus: "-",
|
|
62
|
+
Equal: "="
|
|
63
|
+
}[n] ?? n.toLowerCase()) === i;
|
|
64
|
+
}
|
|
65
|
+
if (!o) return !1;
|
|
66
|
+
const a = !!e.meta, r = !!e.ctrl, s = !!e.alt, c = !!e.shift;
|
|
50
67
|
if (u())
|
|
51
|
-
return t.metaKey ===
|
|
52
|
-
const
|
|
53
|
-
return t.ctrlKey ===
|
|
68
|
+
return t.metaKey === a && t.ctrlKey === r && t.altKey === s && t.shiftKey === c;
|
|
69
|
+
const m = a || r;
|
|
70
|
+
return t.ctrlKey === m && t.altKey === s && t.shiftKey === c && !t.metaKey;
|
|
54
71
|
}
|
|
55
72
|
function k(t) {
|
|
56
|
-
const e = { key: "" },
|
|
57
|
-
for (const
|
|
58
|
-
const
|
|
59
|
-
|
|
73
|
+
const e = { key: "" }, o = t.includes("+") ? t.split("+").map((a) => a.trim()) : S(t);
|
|
74
|
+
for (const a of o) {
|
|
75
|
+
const r = a.toLowerCase();
|
|
76
|
+
r === "⌘" || r === "meta" || r === "cmd" || r === "command" ? e.meta = !0 : r === "⌃" || r === "ctrl" || r === "control" ? e.ctrl = !0 : r === "⌥" || r === "alt" || r === "option" ? e.alt = !0 : r === "⇧" || r === "shift" ? e.shift = !0 : e.key = a;
|
|
60
77
|
}
|
|
61
78
|
return e;
|
|
62
79
|
}
|
|
63
80
|
function S(t) {
|
|
64
|
-
const e = ["⌘", "⌃", "⌥", "⇧"],
|
|
65
|
-
let
|
|
66
|
-
for (const
|
|
67
|
-
|
|
68
|
-
return
|
|
81
|
+
const e = ["⌘", "⌃", "⌥", "⇧"], o = [];
|
|
82
|
+
let a = t;
|
|
83
|
+
for (const r of e)
|
|
84
|
+
a.includes(r) && (o.push(r), a = a.replace(r, ""));
|
|
85
|
+
return a.trim() && o.push(a.trim()), o;
|
|
69
86
|
}
|
|
70
|
-
function
|
|
87
|
+
function O(t, e) {
|
|
71
88
|
return t.key.toLowerCase() === e.key.toLowerCase() && !!t.meta == !!e.meta && !!t.ctrl == !!e.ctrl && !!t.alt == !!e.alt && !!t.shift == !!e.shift;
|
|
72
89
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
90
|
+
function L(t) {
|
|
91
|
+
if ((/* @__PURE__ */ new Set([
|
|
75
92
|
"Control",
|
|
76
93
|
"Shift",
|
|
77
94
|
"Alt",
|
|
@@ -79,8 +96,26 @@ function R(t) {
|
|
|
79
96
|
"CapsLock",
|
|
80
97
|
"NumLock",
|
|
81
98
|
"ScrollLock"
|
|
82
|
-
])).has(t.key)
|
|
83
|
-
|
|
99
|
+
])).has(t.key)) return null;
|
|
100
|
+
let o = t.key;
|
|
101
|
+
if (t.altKey && u()) {
|
|
102
|
+
const a = t.code;
|
|
103
|
+
a.startsWith("Key") ? o = a.slice(3).toLowerCase() : a.startsWith("Digit") ? o = a.slice(5) : o = {
|
|
104
|
+
Comma: ",",
|
|
105
|
+
Period: ".",
|
|
106
|
+
Slash: "/",
|
|
107
|
+
Backslash: "\\",
|
|
108
|
+
BracketLeft: "[",
|
|
109
|
+
BracketRight: "]",
|
|
110
|
+
Semicolon: ";",
|
|
111
|
+
Quote: "'",
|
|
112
|
+
Backquote: "`",
|
|
113
|
+
Minus: "-",
|
|
114
|
+
Equal: "="
|
|
115
|
+
}[a] ?? o;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
key: o,
|
|
84
119
|
meta: u() ? t.metaKey : !1,
|
|
85
120
|
ctrl: u() ? t.ctrlKey : t.ctrlKey || t.metaKey,
|
|
86
121
|
alt: t.altKey,
|
|
@@ -164,66 +199,66 @@ const b = [
|
|
|
164
199
|
], g = new Set(
|
|
165
200
|
b.map((t) => t.shortcut)
|
|
166
201
|
);
|
|
167
|
-
function
|
|
202
|
+
function d(t) {
|
|
168
203
|
const e = [];
|
|
169
204
|
return (t.meta || t.ctrl) && e.push("meta"), t.alt && e.push("alt"), t.shift && e.push("shift"), e.push(t.key.toLowerCase()), e.join("+");
|
|
170
205
|
}
|
|
171
|
-
function
|
|
172
|
-
const e =
|
|
206
|
+
function R(t) {
|
|
207
|
+
const e = d(t);
|
|
173
208
|
return g.has(e) || g.has(e.replace("meta+", "ctrl+"));
|
|
174
209
|
}
|
|
175
|
-
function
|
|
176
|
-
const e =
|
|
210
|
+
function B(t) {
|
|
211
|
+
const e = d(t);
|
|
177
212
|
return b.find(
|
|
178
|
-
(
|
|
213
|
+
(o) => o.shortcut === e || o.shortcut === e.replace("meta+", "ctrl+")
|
|
179
214
|
);
|
|
180
215
|
}
|
|
181
216
|
function T(t, e) {
|
|
182
217
|
if (!t) return { score: 0, matches: [] };
|
|
183
|
-
const
|
|
184
|
-
let
|
|
185
|
-
for (const l of
|
|
186
|
-
const
|
|
187
|
-
if (
|
|
188
|
-
|
|
218
|
+
const o = t.toLowerCase(), a = e.toLowerCase();
|
|
219
|
+
let r = 0;
|
|
220
|
+
for (const l of o) {
|
|
221
|
+
const y = a.indexOf(l, r);
|
|
222
|
+
if (y === -1) return null;
|
|
223
|
+
r = y + 1;
|
|
189
224
|
}
|
|
190
|
-
let s = 0, c = 0,
|
|
191
|
-
const
|
|
192
|
-
let
|
|
193
|
-
for (let l = 0; l < e.length && c <
|
|
194
|
-
|
|
195
|
-
return
|
|
196
|
-
}
|
|
197
|
-
function
|
|
198
|
-
if (!e.trim()) return t.map((
|
|
199
|
-
const
|
|
200
|
-
for (const
|
|
201
|
-
const s = r
|
|
202
|
-
c &&
|
|
225
|
+
let s = 0, c = 0, m = 0;
|
|
226
|
+
const n = [];
|
|
227
|
+
let i = -1;
|
|
228
|
+
for (let l = 0; l < e.length && c < o.length; l++)
|
|
229
|
+
a[l] === o[c] ? (s += 1, m++, m > 1 && (s += m), (l === 0 || /[\s\-_./:]/.test(e[l - 1])) && (s += 5), e[l] === t[c] && (s += 0.5), i === -1 && (i = l), c++) : (i !== -1 && (n.push([i, l - 1]), i = -1), m = 0);
|
|
230
|
+
return i !== -1 && n.push([i, i + (c - n.reduce((l, y) => l + (y[1] - y[0] + 1), 0)) - 1]), c < o.length ? null : (a.startsWith(o) && (s += 10), s += Math.max(0, 5 - (e.length - t.length) * 0.1), { score: s, matches: n });
|
|
231
|
+
}
|
|
232
|
+
function M(t, e, o) {
|
|
233
|
+
if (!e.trim()) return t.map((r) => ({ item: r, score: 0, matches: [] }));
|
|
234
|
+
const a = [];
|
|
235
|
+
for (const r of t) {
|
|
236
|
+
const s = o(r), c = T(e, s);
|
|
237
|
+
c && a.push({ item: r, score: c.score, matches: c.matches });
|
|
203
238
|
}
|
|
204
|
-
return
|
|
239
|
+
return a.sort((r, s) => s.score - r.score), a;
|
|
205
240
|
}
|
|
206
|
-
const
|
|
241
|
+
const W = {
|
|
207
242
|
global: 0,
|
|
208
243
|
module: 1,
|
|
209
244
|
page: 2,
|
|
210
245
|
modal: 3
|
|
211
246
|
};
|
|
212
|
-
function
|
|
213
|
-
return
|
|
247
|
+
function D(t) {
|
|
248
|
+
return W[t];
|
|
214
249
|
}
|
|
215
|
-
function
|
|
250
|
+
function E(t) {
|
|
216
251
|
const e = [];
|
|
217
|
-
return t.forEach((
|
|
218
|
-
e.push({ commandId:
|
|
252
|
+
return t.forEach((o, a) => {
|
|
253
|
+
e.push({ commandId: a, keybinding: o });
|
|
219
254
|
}), JSON.stringify(e);
|
|
220
255
|
}
|
|
221
256
|
function x(t) {
|
|
222
257
|
const e = /* @__PURE__ */ new Map();
|
|
223
258
|
try {
|
|
224
|
-
const
|
|
225
|
-
for (const
|
|
226
|
-
e.set(
|
|
259
|
+
const o = JSON.parse(t);
|
|
260
|
+
for (const a of o)
|
|
261
|
+
e.set(a.commandId, a.keybinding);
|
|
227
262
|
} catch {
|
|
228
263
|
}
|
|
229
264
|
return e;
|
|
@@ -231,18 +266,18 @@ function x(t) {
|
|
|
231
266
|
export {
|
|
232
267
|
b as BROWSER_SHORTCUTS,
|
|
233
268
|
x as deserialiseOverrides,
|
|
234
|
-
|
|
269
|
+
M as fuzzyFilter,
|
|
235
270
|
T as fuzzyScore,
|
|
236
|
-
|
|
237
|
-
|
|
271
|
+
B as getBrowserShortcutInfo,
|
|
272
|
+
h as getKeySymbol,
|
|
238
273
|
u as isMac,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
274
|
+
R as isReservedShortcut,
|
|
275
|
+
L as keybindingFromEvent,
|
|
276
|
+
F as keybindingToString,
|
|
242
277
|
C as keybindingToSymbols,
|
|
243
|
-
|
|
244
|
-
|
|
278
|
+
O as keybindingsEqual,
|
|
279
|
+
K as matchesKeybinding,
|
|
245
280
|
k as parseKeybinding,
|
|
246
|
-
|
|
247
|
-
|
|
281
|
+
D as scopePriority,
|
|
282
|
+
E as serialiseOverrides
|
|
248
283
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
const a = (l) => /* @__PURE__ */ c.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "currentColor", "xmlns:v": "https://vecta.io/nano", ...l }, /* @__PURE__ */ c.createElement("path", { d: "M15.348 2c-.695.031-1.262.176-1.84.461a4.1 4.1 0 0 0-.574.336 4.54 4.54 0 0 0-1.898 3.16 5.13 5.13 0 0 0-.035.641 2.4 2.4 0 0 0 .012.191 3.4 3.4 0 0 0 .063.551c.184.988.699 1.879 1.465 2.539a4.64 4.64 0 0 0 1.227.77c.152.066.457.172.586.203l.082.023c.051.02.406.082.586.098.301.035.836.023 1.133-.016.555-.078 1.164-.297 1.602-.57l.133-.074c.008 0 .711.699 1.566 1.551l1.559 1.555a155.07 155.07 0 0 0 1.414-1.41c.004-.004-.625-.633-1.398-1.402l-1.555-1.559c-.148-.148-.156-.16-.141-.18.082-.09.332-.609.422-.883a4.12 4.12 0 0 0 .238-1.5 4.25 4.25 0 0 0-.25-1.477l-.098-.258-.039-.09c0-.027-.199-.406-.262-.508l-.098-.145c-.156-.242-.414-.551-.617-.75-.75-.711-1.676-1.145-2.656-1.234A5.05 5.05 0 0 0 15.35 2zm.527 2.023c.332.051.672.184.977.379a2.61 2.61 0 0 1 .867.965 2.57 2.57 0 0 1 .266.895 2.04 2.04 0 0 1 0 .488 2.49 2.49 0 0 1-.543 1.316 2.55 2.55 0 0 1-1.059.77c-.102.039-.281.09-.434.121-.687.141-1.488-.07-2.043-.543a2.47 2.47 0 0 1-.773-1.141c-.109-.32-.148-.695-.113-1.035.047-.406.219-.859.449-1.176a2.36 2.36 0 0 1 .492-.52 2.52 2.52 0 0 1 1.316-.535 3.09 3.09 0 0 1 .598.016zM3.844 4.004a2.01 2.01 0 0 0-.715.195c-.449.211-.816.621-1 1.109a2.29 2.29 0 0 0-.109.41c-.02.105-.02.512-.023 7.176l.008 7.238a2.06 2.06 0 0 0 .09.484c.164.516.539.945 1.031 1.184a1.75 1.75 0 0 0 .598.184c.055.008 2.344.012 7.289.012h7.211l.16-.031a2.02 2.02 0 0 0 .543-.184c.539-.289.934-.812 1.039-1.375.039-.219.039-.309.039-2.867v-2.547l-1-.996-.996-1-.004 3.5L18 19.992h-.754l-6.996.004H4.008V6h2.496l2.5-.02a.29.29 0 0 0 .008-.07c0-.152.078-.629.141-.887.082-.324.16-.555.297-.867L9.516 4c0-.004-5.602 0-5.672.004zm3.16 7.016l-.699.699c0 .004.516.52 1.145 1.152l1.148 1.145-1.152 1.152-1.152 1.148.113.117 1.289 1.285c.008 0 .844-.836 1.863-1.855l1.855-1.855-1.785-1.781-1.844-1.84c-.035-.035-.066-.062-.07-.062s-.324.313-.711.695zM12 16.996V18l4-.008.004-.961-.004-.996-.008-.039H12zm0 0" }));
|
|
3
|
+
export {
|
|
4
|
+
a as default
|
|
5
|
+
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare const Info: IconComponent;
|
|
|
54
54
|
export declare const Blocks: IconComponent;
|
|
55
55
|
export declare const Document: IconComponent;
|
|
56
56
|
export declare const Settings: IconComponent;
|
|
57
|
+
export declare const CommandPallet: IconComponent;
|
|
57
58
|
export declare const AnalyticalSearch: IconComponent;
|
|
58
59
|
export declare const Draw: IconComponent;
|
|
59
60
|
export declare const Alerts: IconComponent;
|
package/dist/icons/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import I from "./assets/unpin.svg.js";
|
|
|
6
6
|
import h from "./assets/table.svg.js";
|
|
7
7
|
import y from "./assets/chart.svg.js";
|
|
8
8
|
import B from "./assets/expand.svg.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import P from "./assets/collapse.svg.js";
|
|
10
|
+
import D from "./assets/PivotMode.svg.js";
|
|
11
|
+
import E from "./assets/back.svg.js";
|
|
12
12
|
import w from "./assets/reset.svg.js";
|
|
13
13
|
import x from "./assets/bin.svg.js";
|
|
14
14
|
import F from "./assets/fiveSideStar.svg.js";
|
|
@@ -59,9 +59,9 @@ import Io from "./assets/paperrocket.svg.js";
|
|
|
59
59
|
import ho from "./assets/matchWith.svg.js";
|
|
60
60
|
import yo from "./assets/delete.svg.js";
|
|
61
61
|
import Bo from "./assets/bell.svg.js";
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
62
|
+
import Po from "./assets/message-icon.svg.js";
|
|
63
|
+
import Do from "./assets/help-icon.svg.js";
|
|
64
|
+
import Eo from "./assets/ia-logo.svg.js";
|
|
65
65
|
import wo from "./assets/alan.svg.js";
|
|
66
66
|
import xo from "./assets/hamburger-open.svg.js";
|
|
67
67
|
import Fo from "./assets/hamburger-closed.svg.js";
|
|
@@ -77,36 +77,37 @@ import Wo from "./assets/funnel-show.svg.js";
|
|
|
77
77
|
import No from "./assets/trolley.svg.js";
|
|
78
78
|
import Oo from "./assets/boxed.svg.js";
|
|
79
79
|
import jo from "./assets/boxAdd.svg.js";
|
|
80
|
-
import _o from "./assets/
|
|
81
|
-
import Go from "./assets/webp/
|
|
82
|
-
import Ko from "./assets/webp/
|
|
83
|
-
import Zo from "./assets/webp/
|
|
84
|
-
import qo from "./assets/webp/
|
|
85
|
-
import Jo from "./assets/webp/
|
|
86
|
-
import Qo from "./assets/webp/
|
|
87
|
-
import Vo from "./assets/webp/
|
|
88
|
-
import Xo from "./assets/webp/
|
|
89
|
-
import Yo from "./assets/webp/
|
|
90
|
-
import $o from "./assets/webp/
|
|
91
|
-
import zo from "./assets/webp/
|
|
92
|
-
import ot from "./assets/webp/
|
|
93
|
-
import tt from "./assets/webp/empty-state-
|
|
94
|
-
import rt from "./assets/webp/empty-state-
|
|
95
|
-
import et from "./assets/webp/empty-state-
|
|
96
|
-
import nt from "./assets/webp/empty-state-
|
|
97
|
-
import mt from "./assets/webp/empty-state-
|
|
98
|
-
import it from "./assets/webp/
|
|
99
|
-
import ct from "./assets/webp/
|
|
100
|
-
import at from "./assets/webp/
|
|
101
|
-
import st from "./assets/webp/
|
|
102
|
-
import pt from "./assets/webp/
|
|
103
|
-
import lt from "./assets/webp/
|
|
104
|
-
import gt from "./assets/webp/
|
|
105
|
-
import St from "./assets/webp/
|
|
106
|
-
import ft from "./assets/webp/
|
|
107
|
-
import dt from "./assets/webp/
|
|
108
|
-
import vt from "./assets/
|
|
109
|
-
import kt from "./assets/
|
|
80
|
+
import _o from "./assets/command-pallet.svg.js";
|
|
81
|
+
import Go from "./assets/webp/bill-or-receipt.webp.js";
|
|
82
|
+
import Ko from "./assets/webp/checklist-with-pen.webp.js";
|
|
83
|
+
import Zo from "./assets/webp/dollar.webp.js";
|
|
84
|
+
import qo from "./assets/webp/inventory-adjustment.webp.js";
|
|
85
|
+
import Jo from "./assets/webp/price-tag.webp.js";
|
|
86
|
+
import Qo from "./assets/webp/receipts-stack.webp.js";
|
|
87
|
+
import Vo from "./assets/webp/recommended-receipt.webp.js";
|
|
88
|
+
import Xo from "./assets/webp/return-carton.webp.js";
|
|
89
|
+
import Yo from "./assets/webp/shipping-container.webp.js";
|
|
90
|
+
import $o from "./assets/webp/stack-of-packaged-boxes.webp.js";
|
|
91
|
+
import zo from "./assets/webp/two-stacked-packaged-boxes.webp.js";
|
|
92
|
+
import ot from "./assets/webp/warranty.webp.js";
|
|
93
|
+
import tt from "./assets/webp/empty-state-1.webp.js";
|
|
94
|
+
import rt from "./assets/webp/empty-state-2.webp.js";
|
|
95
|
+
import et from "./assets/webp/empty-state-3.webp.js";
|
|
96
|
+
import nt from "./assets/webp/empty-state-4.webp.js";
|
|
97
|
+
import mt from "./assets/webp/empty-state-5.webp.js";
|
|
98
|
+
import it from "./assets/webp/empty-state-6.webp.js";
|
|
99
|
+
import ct from "./assets/webp/file-upload.webp.js";
|
|
100
|
+
import at from "./assets/webp/csv-logo.webp.js";
|
|
101
|
+
import st from "./assets/webp/excel-logo.webp.js";
|
|
102
|
+
import pt from "./assets/webp/text-logo.webp.js";
|
|
103
|
+
import lt from "./assets/webp/multicolor-bell.webp.js";
|
|
104
|
+
import gt from "./assets/webp/click-me-arrow.webp.js";
|
|
105
|
+
import St from "./assets/webp/warning-3d.webp.js";
|
|
106
|
+
import ft from "./assets/webp/delete-3d.webp.js";
|
|
107
|
+
import dt from "./assets/webp/info-3d.webp.js";
|
|
108
|
+
import vt from "./assets/webp/success-3d.webp.js";
|
|
109
|
+
import kt from "./assets/illustration_1.svg.js";
|
|
110
|
+
import Ct from "./assets/backdrop.svg2.js";
|
|
110
111
|
const s = {
|
|
111
112
|
xs: 12,
|
|
112
113
|
sm: 14,
|
|
@@ -158,7 +159,7 @@ function t(m, i) {
|
|
|
158
159
|
);
|
|
159
160
|
return r.displayName = m, r.src = i, r.toString = () => i, S[m] = r, r;
|
|
160
161
|
}
|
|
161
|
-
const
|
|
162
|
+
const ye = o("Pin", u), Be = o("Unpin", I), Pe = o("Table", h), De = o("Chart", y), Ee = o("Expand", B), we = o("Collapse", P), xe = o("PivotMode", D), Fe = o("Back", E), Te = o("Reset", w), Re = o("Bin", x), Me = o("FiveSideStar", F), Ae = o("Globe", T), Ue = o("Pencil", R), be = o("Person", M), He = o("Plus", A), Le = o("Bookmark", U), We = o("BookmarkFilled", b), Ne = o("Download", H), Oe = o("Info", L), je = o("Blocks", N), _e = o("Document", O), Ge = o("Settings", j), Ke = o("CommandPallet", _o), Ze = o("AnalyticalSearch", _), qe = o("Draw", G), Je = o("Alerts", K), Qe = o("CreateNewDocument", Z), Ve = o("ChevronRight", X), Xe = o("Search", Y), ut = o("Checkmark", $), Ye = ut, $e = o("ErrorCircle", z), ze = o("Email", oo), on = o("Lock", to), tn = o("Unlock", ro), rn = o("LoadingSpinner", eo), en = o("LoginArrow", no), nn = o("Copy", mo), mn = o("Floppy", io), cn = o("Rocket", co), an = o("Shapes", ao), sn = o("Store", so), pn = o("Upload", po), ln = o("Box", lo), gn = o("Calendar", go), Sn = o("CalendarMonth", So), fn = o("Filter", fo), dn = o("More", vo), vn = o("Drag", ko), kn = o("Backdrop", Co, Ct), Cn = o("Cross", uo), un = o("PaperRocket", Io), In = o("MatchWith", ho), hn = o("Delete", yo), yn = o("Bell", Bo), Bn = o("Message", Po), Pn = o("Help", Do), Dn = o("IA", Eo), En = o("Alan", wo), wn = o("HamburgerOpen", xo), xn = o("HamburgerClosed", Fo), Fn = o("MultiColorFilter", W), Tn = o("ThreeDots", Uo), Rn = o("Stack", To), Mn = o("StackCompact", Ro), An = o("StackComfort", Mo), Un = o("Density", Ao), bn = o("Column", bo), Hn = o("Font", Ho), Ln = o("FunnelHide", Lo), Wn = o("FunnelShow", Wo), Nn = o("Trolley", No), On = o("Boxed", Oo), jn = o("BoxAdd", jo), _n = o("TrendingUp", q), Gn = o("TrendingDown", J), Kn = o("TrendingFlat", Q), Zn = o("TrendingNeutral", V), qn = o("IllustrationIcon1", kt), Jn = t("BillOrReceipt", Go), Qn = t("ChecklistWithPen", Ko), Vn = t("Dollar", Zo), Xn = t("InventoryAdjustment", qo), Yn = t("PriceTag", Jo), $n = t("ReceiptsStack", Qo), zn = t("RecommendedReceipt", Vo), om = t("ReturnCarton", Xo), tm = t("ShippingContainer", Yo), rm = t("StackOfPackagedBoxes", $o), em = t("TwoStackedPackagedBoxes", zo), nm = t("Warranty", ot), mm = t("EmptyState1", tt), im = t("EmptyState2", rt), cm = t("EmptyState3", et), am = t("EmptyState4", nt), sm = t("EmptyState5", mt), pm = t("EmptyState6", it), lm = t("FileUpload", ct), gm = t("Csv", at), Sm = t("Excel", st), fm = t("Text", pt), dm = t("MulticolorBell", lt), vm = t("ClickMeArrow", gt), km = t("Warning3d", St), Cm = t("Delete3d", ft), um = t("Info3d", dt), Im = t("Success3d", vt), g = S, hm = (m, i) => {
|
|
162
163
|
let r = g[m];
|
|
163
164
|
if (!r) {
|
|
164
165
|
const e = m.toLowerCase(), n = Object.keys(g).find(
|
|
@@ -169,113 +170,114 @@ const Ie = o("Pin", u), he = o("Unpin", I), ye = o("Table", h), Be = o("Chart",
|
|
|
169
170
|
return r ? C.createElement(r, i) : null;
|
|
170
171
|
};
|
|
171
172
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
173
|
+
En as Alan,
|
|
174
|
+
Je as Alerts,
|
|
175
|
+
Ze as AnalyticalSearch,
|
|
176
|
+
Fe as Back,
|
|
177
|
+
kn as Backdrop,
|
|
178
|
+
yn as Bell,
|
|
179
|
+
Jn as BillOrReceipt,
|
|
180
|
+
Re as Bin,
|
|
181
|
+
je as Blocks,
|
|
182
|
+
Le as Bookmark,
|
|
183
|
+
We as BookmarkFilled,
|
|
184
|
+
ln as Box,
|
|
185
|
+
jn as BoxAdd,
|
|
186
|
+
On as Boxed,
|
|
187
|
+
gn as Calendar,
|
|
188
|
+
Sn as CalendarMonth,
|
|
189
|
+
De as Chart,
|
|
190
|
+
Ye as Check,
|
|
191
|
+
Qn as ChecklistWithPen,
|
|
192
|
+
ut as Checkmark,
|
|
193
|
+
Ve as ChevronRight,
|
|
194
|
+
vm as ClickMeArrow,
|
|
195
|
+
we as Collapse,
|
|
196
|
+
bn as Column,
|
|
197
|
+
Ke as CommandPallet,
|
|
198
|
+
nn as Copy,
|
|
199
|
+
Qe as CreateNewDocument,
|
|
200
|
+
Cn as Cross,
|
|
201
|
+
gm as Csv,
|
|
202
|
+
hn as Delete,
|
|
203
|
+
Cm as Delete3d,
|
|
204
|
+
Un as Density,
|
|
205
|
+
_e as Document,
|
|
206
|
+
Vn as Dollar,
|
|
207
|
+
Ne as Download,
|
|
208
|
+
vn as Drag,
|
|
209
|
+
qe as Draw,
|
|
210
|
+
ze as Email,
|
|
211
|
+
mm as EmptyState1,
|
|
212
|
+
im as EmptyState2,
|
|
213
|
+
cm as EmptyState3,
|
|
214
|
+
am as EmptyState4,
|
|
215
|
+
sm as EmptyState5,
|
|
216
|
+
pm as EmptyState6,
|
|
217
|
+
$e as ErrorCircle,
|
|
218
|
+
Sm as Excel,
|
|
219
|
+
Ee as Expand,
|
|
220
|
+
lm as FileUpload,
|
|
221
|
+
fn as Filter,
|
|
222
|
+
Me as FiveSideStar,
|
|
223
|
+
mn as Floppy,
|
|
224
|
+
Hn as Font,
|
|
225
|
+
Ln as FunnelHide,
|
|
226
|
+
Wn as FunnelShow,
|
|
227
|
+
Ae as Globe,
|
|
228
|
+
xn as HamburgerClosed,
|
|
229
|
+
wn as HamburgerOpen,
|
|
230
|
+
Pn as Help,
|
|
231
|
+
Dn as IA,
|
|
230
232
|
s as ICON_SIZE_MAP,
|
|
231
233
|
g as IconRegistry,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
234
|
+
qn as IllustrationIcon1,
|
|
235
|
+
Oe as Info,
|
|
236
|
+
um as Info3d,
|
|
237
|
+
Xn as InventoryAdjustment,
|
|
238
|
+
rn as LoadingSpinner,
|
|
239
|
+
on as Lock,
|
|
240
|
+
en as LoginArrow,
|
|
241
|
+
In as MatchWith,
|
|
242
|
+
Bn as Message,
|
|
243
|
+
dn as More,
|
|
244
|
+
Fn as MultiColorFilter,
|
|
245
|
+
dm as MulticolorBell,
|
|
246
|
+
un as PaperRocket,
|
|
247
|
+
Ue as Pencil,
|
|
248
|
+
be as Person,
|
|
249
|
+
ye as Pin,
|
|
250
|
+
xe as PivotMode,
|
|
251
|
+
He as Plus,
|
|
252
|
+
Yn as PriceTag,
|
|
253
|
+
$n as ReceiptsStack,
|
|
254
|
+
zn as RecommendedReceipt,
|
|
255
|
+
Te as Reset,
|
|
256
|
+
om as ReturnCarton,
|
|
257
|
+
cn as Rocket,
|
|
258
|
+
Xe as Search,
|
|
259
|
+
Ge as Settings,
|
|
260
|
+
an as Shapes,
|
|
261
|
+
tm as ShippingContainer,
|
|
262
|
+
Rn as Stack,
|
|
263
|
+
An as StackComfort,
|
|
264
|
+
Mn as StackCompact,
|
|
265
|
+
rm as StackOfPackagedBoxes,
|
|
266
|
+
sn as Store,
|
|
267
|
+
Im as Success3d,
|
|
268
|
+
Pe as Table,
|
|
269
|
+
fm as Text,
|
|
270
|
+
Tn as ThreeDots,
|
|
271
|
+
Gn as TrendingDown,
|
|
272
|
+
Kn as TrendingFlat,
|
|
273
|
+
Zn as TrendingNeutral,
|
|
274
|
+
_n as TrendingUp,
|
|
275
|
+
Nn as Trolley,
|
|
276
|
+
em as TwoStackedPackagedBoxes,
|
|
277
|
+
tn as Unlock,
|
|
278
|
+
Be as Unpin,
|
|
279
|
+
pn as Upload,
|
|
280
|
+
km as Warning3d,
|
|
281
|
+
nm as Warranty,
|
|
282
|
+
hm as getIconComponent
|
|
281
283
|
};
|