@commercelayer/app-elements 0.0.52 → 0.0.53
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/{Async-dfc6b253.js → Async-d80f3c80.js} +2 -2
- package/dist/{InputDateComponent-4ef11b30.js → InputDateComponent-9460bfbd.js} +1 -1
- package/dist/{Select-ab183a5a.js → Select-5ec14044.js} +2 -2
- package/dist/helpers/attachments.d.ts +8 -0
- package/dist/helpers/tracking.d.ts +2 -2
- package/dist/{main-286fe9f0.js → main-aae862a7.js} +4986 -4800
- package/dist/main.d.ts +2 -0
- package/dist/main.js +79 -76
- package/dist/{overrides-e830493a.js → overrides-cac099f7.js} +1 -1
- package/dist/ui/atoms/Card.d.ts +1 -1
- package/dist/ui/resources/OrderTimeline.d.ts +11 -0
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { isAttachmentValidNote, referenceOrigins } from './helpers/attachments';
|
|
1
2
|
export { formatDate, getIsoDateAtDayEdge, getIsoDateAtDaysBefore, timeSeparator } from './helpers/date';
|
|
2
3
|
export { downloadJsonAsFile } from './helpers/downloadJsonAsFile';
|
|
3
4
|
export { computeFullname, formatDisplayName } from './helpers/name';
|
|
@@ -77,6 +78,7 @@ export { ListItem } from './ui/lists/ListItem';
|
|
|
77
78
|
export { ListItemOrder } from './ui/resources/ListItemOrder';
|
|
78
79
|
export { ListItemsMetadata } from './ui/resources/ListItemsMetadata';
|
|
79
80
|
export { OrderSummary } from './ui/resources/OrderSummary';
|
|
81
|
+
export { OrderTimeline } from './ui/resources/OrderTimeline';
|
|
80
82
|
export { RelationshipSelector } from './ui/resources/RelationshipSelector';
|
|
81
83
|
export { ResourceList } from './ui/resources/ResourceList';
|
|
82
84
|
export { ShipmentParcels } from './ui/resources/ShipmentParcels';
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aa as o, aL as n, ab as i, ac as u, ad as l, ae as b, af as g, ag as p, ah as d, aM as m, ai as c, aN as S, aj as T, a3 as I, aF as D, aG as k, aH as y, ak as C, a6 as P, al as h, am as R, an as A, ao as B, aU as L, aV as O, aW as v, aX as f, aZ as x, a_ as F, a$ as N, b0 as w, b1 as M, b2 as V, b3 as E, b4 as G, b5 as H, ba as J, bb as j, bc as q, bd as z, be as K, ap as Q, bh as U, bi as W, bj as X, bk as Y, bl as Z, bm as _, a7 as $, bn as aa, bo as ea, aq as sa, aO as ta, ar as ra, aP as oa, aQ as na, as as ia, at as ua, au as la, bf as ba, bp as ga, aR as pa, bq as da, aS as ma, br as ca, av as Sa, aw as Ta, ax as Ia, az as Da, aA as ka, aB as ya, aC as Ca, bs as Pa, bt as ha, aD as Ra, aI as Aa, aE as Ba, aJ as La, aT as Oa, bg as va, a8 as fa, aK as xa, R as Fa, Q as Na, b6 as wa, aY as Ma, L as Va, S as Ea, T as Ga, U as Ha, b7 as Ja, M as ja, N as qa, bu as za, bv as Ka, bw as Qa, bx as Ua, by as Wa, bz as Xa, V as Ya, W as Za, X as _a, Y as $a, Z as ae, _ as ee, J as se, b8 as te, b9 as re, K as oe, O as ne, $ as ie, a4 as ue, a5 as le, a0 as be, a1 as ge, a2 as pe, a9 as de, ay as me } from "./main-aae862a7.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "@commercelayer/sdk";
|
|
@@ -8,15 +8,15 @@ export {
|
|
|
8
8
|
i as Avatar,
|
|
9
9
|
u as AvatarLetter,
|
|
10
10
|
l as Badge,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
b as BlockCode,
|
|
12
|
+
g as Button,
|
|
13
|
+
p as ButtonFilter,
|
|
14
14
|
d as Card,
|
|
15
15
|
m as CardDialog,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
c as Container,
|
|
17
|
+
S as ContextMenu,
|
|
18
|
+
T as CopyToClipboard,
|
|
19
|
+
I as CoreSdkProvider,
|
|
20
20
|
D as DropdownMenu,
|
|
21
21
|
k as DropdownMenuDivider,
|
|
22
22
|
y as DropdownMenuItem,
|
|
@@ -24,16 +24,16 @@ export {
|
|
|
24
24
|
P as ErrorBoundary,
|
|
25
25
|
h as Grid,
|
|
26
26
|
R as Hint,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
A as Hr,
|
|
28
|
+
B as Icon,
|
|
29
|
+
L as Input,
|
|
30
|
+
O as InputCheckbox,
|
|
31
|
+
v as InputCheckboxGroup,
|
|
32
32
|
f as InputCurrency,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
x as InputCurrencyRange,
|
|
34
|
+
F as InputDate,
|
|
35
|
+
N as InputDateRange,
|
|
36
|
+
w as InputFeedback,
|
|
37
37
|
M as InputFile,
|
|
38
38
|
V as InputJson,
|
|
39
39
|
E as InputRadioGroup,
|
|
@@ -42,60 +42,61 @@ export {
|
|
|
42
42
|
J as InputSpinner,
|
|
43
43
|
j as InputTextArea,
|
|
44
44
|
q as InputToggleBox,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
45
|
+
z as InputToggleListBox,
|
|
46
|
+
K as Label,
|
|
47
|
+
Q as Legend,
|
|
48
|
+
U as List,
|
|
49
|
+
W as ListDetails,
|
|
50
|
+
X as ListDetailsItem,
|
|
51
|
+
Y as ListItem,
|
|
52
|
+
Z as ListItemOrder,
|
|
53
|
+
_ as ListItemsMetadata,
|
|
54
|
+
$ as MetaTags,
|
|
55
55
|
aa as OrderSummary,
|
|
56
|
-
ea as
|
|
57
|
-
sa as
|
|
58
|
-
ta as
|
|
59
|
-
ra as
|
|
60
|
-
oa as
|
|
61
|
-
na as
|
|
62
|
-
ia as
|
|
63
|
-
ua as
|
|
64
|
-
la as
|
|
56
|
+
ea as OrderTimeline,
|
|
57
|
+
sa as Overlay,
|
|
58
|
+
ta as PageError,
|
|
59
|
+
ra as PageHeading,
|
|
60
|
+
oa as PageLayout,
|
|
61
|
+
na as PageSkeleton,
|
|
62
|
+
ia as Pagination,
|
|
63
|
+
ua as Progress,
|
|
64
|
+
la as RadialProgress,
|
|
65
|
+
ba as RadioButtons,
|
|
65
66
|
ga as RelationshipSelector,
|
|
66
67
|
pa as Report,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
da as ResourceList,
|
|
69
|
+
ma as SearchBar,
|
|
70
|
+
ca as ShipmentParcels,
|
|
70
71
|
Sa as Skeleton,
|
|
71
|
-
|
|
72
|
+
Ta as SkeletonItem,
|
|
72
73
|
Ia as SkeletonTemplate,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
74
|
+
Da as Spacer,
|
|
75
|
+
ka as Stack,
|
|
76
|
+
ya as StatusDot,
|
|
77
|
+
Ca as Tab,
|
|
78
|
+
Pa as Table,
|
|
79
|
+
ha as TableData,
|
|
80
|
+
Ra as Tabs,
|
|
81
|
+
Aa as Td,
|
|
81
82
|
Ba as Text,
|
|
82
83
|
La as Th,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
Oa as Timeline,
|
|
85
|
+
va as ToggleButtons,
|
|
86
|
+
fa as TokenProvider,
|
|
87
|
+
xa as Tr,
|
|
87
88
|
Fa as computeFullname,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
89
|
+
Na as downloadJsonAsFile,
|
|
90
|
+
wa as flatSelectValues,
|
|
91
|
+
Ma as formatCentsToCurrency,
|
|
92
|
+
Va as formatDate,
|
|
93
|
+
Ea as formatDisplayName,
|
|
94
|
+
Ga as formatResourceName,
|
|
95
|
+
Ha as getAvatarSrcFromRate,
|
|
96
|
+
Ja as getDefaultValueFromFlatten,
|
|
97
|
+
ja as getIsoDateAtDayEdge,
|
|
98
|
+
qa as getIsoDateAtDaysBefore,
|
|
99
|
+
za as getOrderDisplayStatus,
|
|
99
100
|
Ka as getOrderFulfillmentStatusName,
|
|
100
101
|
Qa as getOrderPaymentStatusName,
|
|
101
102
|
Ua as getOrderStatusName,
|
|
@@ -105,17 +106,19 @@ export {
|
|
|
105
106
|
Za as getParcelTrackingDetails,
|
|
106
107
|
_a as getShipmentRate,
|
|
107
108
|
$a as getShipmentRates,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ge as
|
|
120
|
-
pe as
|
|
109
|
+
ae as hasBeenPurchased,
|
|
110
|
+
ee as hasSingleTracking,
|
|
111
|
+
se as isAttachmentValidNote,
|
|
112
|
+
te as isGroupedSelectValues,
|
|
113
|
+
re as isSingleValueSelected,
|
|
114
|
+
oe as referenceOrigins,
|
|
115
|
+
ne as timeSeparator,
|
|
116
|
+
ie as useClickAway,
|
|
117
|
+
ue as useCoreApi,
|
|
118
|
+
le as useCoreSdkProvider,
|
|
119
|
+
be as useDelayShow,
|
|
120
|
+
ge as useIsChanged,
|
|
121
|
+
pe as useOverlayNavigation,
|
|
122
|
+
de as useTokenProvider,
|
|
123
|
+
me as withSkeletonTemplate
|
|
121
124
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as V from "react";
|
|
2
2
|
import fe, { useLayoutEffect as yn, createContext as Et, forwardRef as Cr, useContext as Te, createElement as pe, Fragment as Ne, useRef as ue, useState as me, useMemo as Ce, useCallback as Y, Component as Ar, useEffect as En } from "react";
|
|
3
|
-
import { H as yr } from "./main-
|
|
3
|
+
import { H as yr } from "./main-aae862a7.js";
|
|
4
4
|
import { createPortal as Er } from "react-dom";
|
|
5
5
|
function F() {
|
|
6
6
|
return F = Object.assign ? Object.assign.bind() : function(t) {
|
package/dist/ui/atoms/Card.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export declare const Card: import("./SkeletonTemplate").SkeletonTemplateComponen
|
|
|
47
47
|
results?: number | undefined;
|
|
48
48
|
security?: string | undefined;
|
|
49
49
|
unselectable?: "on" | "off" | undefined;
|
|
50
|
-
inputMode?: "none" | "
|
|
50
|
+
inputMode?: "none" | "url" | "search" | "text" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
51
51
|
is?: string | undefined;
|
|
52
52
|
'aria-activedescendant'?: string | undefined;
|
|
53
53
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { referenceOrigins } from '../../helpers/attachments';
|
|
2
|
+
import type { Attachment } from '@commercelayer/sdk';
|
|
3
|
+
export declare const OrderTimeline: import('../atoms/SkeletonTemplate').SkeletonTemplateComponent<{
|
|
4
|
+
orderId: string;
|
|
5
|
+
attachmentOption?: {
|
|
6
|
+
onMessage?: ((attachment: Attachment) => void) | undefined;
|
|
7
|
+
referenceOrigin: typeof referenceOrigins.appOrdersNote | typeof referenceOrigins.appShipmentsNote;
|
|
8
|
+
} | undefined;
|
|
9
|
+
delayMs?: number | undefined;
|
|
10
|
+
isLoading?: boolean | undefined;
|
|
11
|
+
}>;
|