@commercelayer/app-elements 7.12.0 → 7.14.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/{CodeEditorComponent-lf915EGg.js → CodeEditorComponent-txM4ls17.js} +2 -2
- package/dist/{InputDateComponent-DD_fCyi_.js → InputDateComponent-C4QUlrmn.js} +2 -2
- package/dist/{RuleEngineComponent-CVD0pObW.js → RuleEngineComponent-dEe0FTBs.js} +266 -261
- package/dist/{en-CcBUYKzR.js → en-B-7ylwWx.js} +30 -1
- package/dist/{fetchCoreResourcesSuggestions-BS4pPkGo.js → fetchCoreResourcesSuggestions-DZuapPGj.js} +1 -1
- package/dist/helpers/numbers.d.ts +25 -0
- package/dist/helpers/numbers.test.d.ts +1 -0
- package/dist/hooks/useConfirmDialog.test.d.ts +1 -0
- package/dist/hooks/useOverlay.d.ts +9 -1
- package/dist/{it-y1Q1-MMT.js → it-BXPKgQsm.js} +30 -1
- package/dist/locales/en.d.ts +29 -0
- package/dist/{main-DIL89neT.js → main-Op1RV9MX.js} +23801 -19311
- package/dist/main.d.ts +9 -3
- package/dist/main.js +176 -165
- package/dist/mocks/data/core_schemas.d.ts +2 -0
- package/dist/mocks/data/event_stores.d.ts +2 -0
- package/dist/mocks/data/event_stores.test.d.ts +1 -0
- package/dist/{parseISO-CeYGLBle.js → parseISO-C1OS0R6q.js} +1 -1
- package/dist/providers/TokenProvider/MockTokenProvider.d.ts +1 -1
- package/dist/providers/TokenProvider/TokenProvider.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tailwind.global.css +8 -4
- package/dist/ui/atoms/AvatarLetter/AvatarLetter.d.ts +6 -1
- package/dist/ui/atoms/ButtonFilter.d.ts +17 -1
- package/dist/ui/atoms/Container.d.ts +10 -0
- package/dist/ui/atoms/PageHeading/PageHeading.d.ts +22 -4
- package/dist/ui/atoms/RadialProgress.d.ts +2 -2
- package/dist/ui/atoms/Section.d.ts +35 -0
- package/dist/ui/atoms/Spacer.d.ts +29 -4
- package/dist/ui/atoms/Stack.d.ts +48 -2
- package/dist/ui/atoms/Table/Table.d.ts +8 -0
- package/dist/ui/atoms/Tabs.d.ts +8 -0
- package/dist/ui/atoms/VisibilityTrigger.d.ts +19 -0
- package/dist/ui/atoms/VisibilityTrigger.test.d.ts +1 -0
- package/dist/ui/composite/Address.d.ts +9 -0
- package/dist/ui/composite/HomePageLayout.d.ts +3 -2
- package/dist/ui/composite/ListDetailsItem.d.ts +14 -1
- package/dist/ui/composite/PageLayout.d.ts +71 -1
- package/dist/ui/composite/PageLoading.d.ts +35 -0
- package/dist/ui/composite/PageLoading.test.d.ts +1 -0
- package/dist/ui/composite/PageSkeleton.d.ts +6 -0
- package/dist/ui/composite/Routes/LoadingPage.test.d.ts +1 -0
- package/dist/ui/forms/InputSelect/InputSelect.d.ts +8 -0
- package/dist/ui/internals/Overlay.test.d.ts +1 -0
- package/dist/ui/internals/bodyScrollLock.d.ts +2 -0
- package/dist/ui/internals/overlayContext.d.ts +36 -0
- package/dist/ui/resources/ResourceAddress/ResourceAddress.d.ts +12 -2
- package/dist/ui/resources/ResourceDetails/ResourceDetails.d.ts +9 -0
- package/dist/ui/resources/ResourceDetails/ResourceDetails.test.d.ts +1 -0
- package/dist/ui/resources/ResourceDetailsModal/ResourceAttributes.d.ts +11 -0
- package/dist/ui/resources/ResourceDetailsModal/ResourceDetailsContent.d.ts +43 -0
- package/dist/ui/resources/ResourceDetailsModal/ResourceDetailsContent.test.d.ts +1 -0
- package/dist/ui/resources/ResourceDetailsModal/ResourceEvents.d.ts +15 -0
- package/dist/ui/resources/ResourceDetailsModal/index.d.ts +2 -0
- package/dist/ui/resources/ResourceDetailsModal/resourceFields.d.ts +19 -0
- package/dist/ui/resources/ResourceDetailsModal/resourceFields.test.d.ts +1 -0
- package/dist/ui/resources/ResourceDetailsModal/useInfiniteScrollCursor.d.ts +39 -0
- package/dist/ui/resources/ResourceDetailsModal/useResourceDetailsModal.d.ts +23 -0
- package/dist/ui/resources/ResourceMetadata/ResourceMetadata.d.ts +9 -0
- package/dist/ui/resources/ResourceTags.d.ts +21 -1
- package/dist/ui/resources/ResourceTags.test.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/FieldOptionsSelect.d.ts +20 -0
- package/dist/ui/resources/useResourceFilters/FiltersBar.d.ts +64 -0
- package/dist/ui/resources/useResourceFilters/FiltersDrawer.d.ts +35 -0
- package/dist/ui/resources/useResourceFilters/FiltersSearchBar.d.ts +2 -2
- package/dist/ui/resources/useResourceFilters/activeFilters.d.ts +111 -0
- package/dist/ui/resources/useResourceFilters/activeFilters.test.d.ts +1 -0
- package/dist/ui/resources/useResourceFilters/types.d.ts +50 -0
- package/dist/ui/resources/useResourceFilters/useResourceFilters.d.ts +48 -0
- package/dist/ui/resources/useResourceFilters/utils.d.ts +10 -0
- package/dist/ui/resources/useResourceList/adaptMetricsOrderToCore.d.ts +5 -0
- package/dist/ui/resources/useResourceList/index.d.ts +1 -0
- package/dist/ui/resources/useResourceList/listFetcher.d.ts +7 -1
- package/dist/ui/resources/useResourceList/resourceListSignals.d.ts +46 -0
- package/dist/ui/resources/useResourceList/resourceListSignals.integration.test.d.ts +1 -0
- package/dist/ui/resources/useResourceList/resourceListSignals.test.d.ts +1 -0
- package/dist/ui/resources/useResourceList/useResourceList.d.ts +3 -1
- package/dist/ui/resources/useResourceTable/index.d.ts +2 -0
- package/dist/ui/resources/useResourceTable/types.d.ts +252 -0
- package/dist/ui/resources/useResourceTable/useResourceTable.d.ts +11 -0
- package/dist/ui/resources/useResourceTable/useResourceTable.test.d.ts +1 -0
- package/package.json +5 -3
- package/dist/ui/resources/useResourceList/VisibilityTrigger.d.ts +0 -8
- /package/dist/{ui/resources/useResourceList/VisibilityTrigger.test.d.ts → dictionaries/orders.test.d.ts} +0 -0
package/dist/main.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { type ApiError, parseApiError } from './helpers/errors';
|
|
|
13
13
|
export { maskGiftCardCode } from './helpers/giftCards';
|
|
14
14
|
export { isMock, isMockedId } from './helpers/mocks';
|
|
15
15
|
export { computeFullname, formatDisplayName } from './helpers/name';
|
|
16
|
+
export { type FormatNumberOptions, formatNumber } from './helpers/numbers';
|
|
16
17
|
export { formatResourceName, getResourceEndpoint, type TriggerAttribute, } from './helpers/resources';
|
|
17
18
|
export { isAllStockTransfersCancelled } from './helpers/shipments';
|
|
18
19
|
export { getAvatarSrcFromRate, getParcelTrackingDetail, getParcelTrackingDetails, getShipmentRate, getShipmentRates, hasBeenPurchased, hasSingleTracking, type Rate, type TrackingDetail, } from './helpers/tracking';
|
|
@@ -61,7 +62,7 @@ export { Section, type SectionProps } from './ui/atoms/Section';
|
|
|
61
62
|
export { Skeleton, SkeletonItem, type SkeletonItemProps, type SkeletonProps, } from './ui/atoms/Skeleton';
|
|
62
63
|
export { SkeletonTemplate, type SkeletonTemplateProps, withSkeletonTemplate, } from './ui/atoms/SkeletonTemplate';
|
|
63
64
|
export { Spacer, type SpacerProps } from './ui/atoms/Spacer';
|
|
64
|
-
export { Stack, type StackProps } from './ui/atoms/Stack';
|
|
65
|
+
export { Stack, StackCell, type StackCellProps, type StackProps, type StackSize, } from './ui/atoms/Stack';
|
|
65
66
|
export { StatusDot, type StatusDotProps } from './ui/atoms/StatusDot';
|
|
66
67
|
export { StatusIcon, type StatusIconProps } from './ui/atoms/StatusIcon';
|
|
67
68
|
export { Steps, type StepsProps } from './ui/atoms/Steps';
|
|
@@ -70,6 +71,7 @@ export { Tab, type TabProps, Tabs, type TabsProps } from './ui/atoms/Tabs';
|
|
|
70
71
|
export { Tag, type TagProps } from './ui/atoms/Tag';
|
|
71
72
|
export { Text, type TextProps } from './ui/atoms/Text';
|
|
72
73
|
export { Tooltip, type TooltipProps, type TooltipRefProps, } from './ui/atoms/Tooltip';
|
|
74
|
+
export { VisibilityTrigger, type VisibilityTriggerProps, } from './ui/atoms/VisibilityTrigger';
|
|
73
75
|
export { ActionButtons, type ActionButtonsProps, } from './ui/composite/ActionButtons';
|
|
74
76
|
export { Address, type AddressProps } from './ui/composite/Address';
|
|
75
77
|
export { CardDialog, type CardDialogProps } from './ui/composite/CardDialog';
|
|
@@ -82,6 +84,8 @@ export { ListItem, type ListItemProps } from './ui/composite/ListItem';
|
|
|
82
84
|
export { Modal, type ModalProps } from './ui/composite/Modal';
|
|
83
85
|
export { PageError, type PageErrorProps } from './ui/composite/PageError';
|
|
84
86
|
export { PageLayout, type PageLayoutProps } from './ui/composite/PageLayout';
|
|
87
|
+
export { PageLoading, type PageLoadingProps, } from './ui/composite/PageLoading';
|
|
88
|
+
/** @deprecated Use `PageLoading` instead. */
|
|
85
89
|
export { PageSkeleton } from './ui/composite/PageSkeleton';
|
|
86
90
|
export { Report, type ReportProps } from './ui/composite/Report';
|
|
87
91
|
export { createRoute, createTypedRoute, GenericPageNotFound, type GetParams, LoadingPage, type PageProps, type Route, Routes, } from './ui/composite/Routes';
|
|
@@ -118,13 +122,15 @@ export { RuleEngine, type RuleEngineProps } from './ui/forms/RuleEngine';
|
|
|
118
122
|
export { getResourceAddressFormFieldsSchema, ResourceAddress, ResourceAddressFormFields, type ResourceAddressFormFieldsProps, type ResourceAddressProps, useResourceAddressOverlay, } from './ui/resources/ResourceAddress';
|
|
119
123
|
export { ResourceAttachments, type ResourceAttachmentsProps, } from './ui/resources/ResourceAttachments';
|
|
120
124
|
export { ResourceDetails, type ResourceDetailsProps, } from './ui/resources/ResourceDetails';
|
|
125
|
+
export { ResourceDetailsContent, type ResourceDetailsContentProps, type ResourceDetailsTab, type UseResourceDetailsModalProps, type UseResourceDetailsModalReturn, useResourceDetailsModal, } from './ui/resources/ResourceDetailsModal';
|
|
121
126
|
export { ResourceLineItems, type ResourceLineItemsProps, } from './ui/resources/ResourceLineItems';
|
|
122
127
|
export { ResourceListItem, type ResourceListItemProps, } from './ui/resources/ResourceListItem';
|
|
123
128
|
export { ResourceMetadata, type ResourceMetadataProps, } from './ui/resources/ResourceMetadata';
|
|
124
129
|
export { ResourceOrderTimeline, type ResourceOrderTimelineProps, } from './ui/resources/ResourceOrderTimeline';
|
|
125
130
|
export { getPaymentInstrumentDetails, getPaymentMethodLogoSrc, ResourcePaymentMethod, type ResourcePaymentMethodProps, } from './ui/resources/ResourcePaymentMethod';
|
|
126
131
|
export { ResourceShipmentParcels, type ResourceShipmentParcelsProps, } from './ui/resources/ResourceShipmentParcels';
|
|
127
|
-
export { ResourceTags, type ResourceTagsProps, } from './ui/resources/ResourceTags';
|
|
132
|
+
export { isTaggableResource, ResourceTags, type ResourceTagsProps, type TaggableResource, taggableResources, } from './ui/resources/ResourceTags';
|
|
128
133
|
export { type FiltersInstructions, type FormFullValues, type MetricsFilters, type UiFilterName, type UiFilterValue, useResourceFilters, } from './ui/resources/useResourceFilters';
|
|
129
|
-
export { type ResourceListItemTemplateProps, type ResourceListProps, type UseResourceListConfig, useResourceList, } from './ui/resources/useResourceList';
|
|
134
|
+
export { type ResourceListItemTemplateProps, type ResourceListProps, refreshResourceLists, removeFromResourceLists, type UseResourceListConfig, useResourceList, } from './ui/resources/useResourceList';
|
|
135
|
+
export { type ResourceTableColumn, type ResourceTableProps, type ResourceTableSort, type UseResourceTableConfig, type UseResourceTableReturn, useResourceTable, } from './ui/resources/useResourceTable';
|
|
130
136
|
export { useTrackingDetails } from './ui/resources/useTrackingDetails';
|
package/dist/main.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { an as s, ao as t, ap as o, aq as r, ar as
|
|
2
|
+
import { an as s, ao as t, ap as o, aq as r, ar as c, as as n, at as u, af as d, au as i, av as l, aw as p, ax as g, ay as b, al as m, az as S, aA as k, aB as I, a1 as T, ae as R, a9 as D, aC as y, aD as C, aE as h, aF as A, aG as P, aH as f, aI as H, aJ as v, aK as F, aL as L, aM as B, aN as O, aO as E, aP as N, aQ as M, aR as G, aS as w, aT as V, aU as x, aV as W, aW as J, aX as U, aY as j, aZ as q, a_ as z, a$ as Y, b0 as K, ah as Q, b1 as X, a0 as Z, ab as _, b2 as $, b3 as aa, b4 as ea, b5 as sa, aj as ta, ai as oa, b6 as ra, b7 as ca, b8 as na, b9 as ua, ba as da, a7 as ia, bb as la, bc as pa, bd as ga, be as ba, bf as ma, bg as Sa, bh as ka, bi as Ia, bj as Ta, bk as Ra, bl as Da, bm as ya, bn as Ca, bo as ha, bp as Aa, bq as Pa, br as fa, bs as Ha, bt as va, bu as Fa, bv as La, bw as Ba, bx as Oa, by as Ea, bz as Na, bA as Ma, bB as Ga, bC as wa, bD as Va, bE as xa, bF as Wa, bG as Ja, bH as Ua, bI as ja, bJ as qa, bK as za, bL as Ya, bM as Ka, bN as Qa, bO as Xa, bP as Za, bQ as _a, bR as $a, bS as ae, ag as ee, bT as se, bU as te, bV as oe, bW as re, bX as ce, bY as ne, bZ as ue, b_ as de, b$ as ie, c0 as le, c1 as pe, a8 as ge, c2 as be, c3 as me, c4 as Se, c5 as ke, c6 as Ie, c7 as Te, c8 as Re, c9 as De, ca as ye, cb as Ce, cc as he, cd as Ae, ce as Pe, cf as fe, cg as He, ch as ve, ci as Fe, cj as Le, ck as Be, cl as Oe, cm as Ee, cn as Ne, co as Me, cp as Ge, cq as we, cr as Ve, cs as xe, ct as We, cu as Je, cv as Ue, cw as je, cx as qe, cy as ze, cz as Ye, cA as Ke, cB as Qe, cC as Xe, cD as Ze, cE as _e, cF as $e, cG as as, cH as es, cI as ss, cJ as ts, cK as os, cL as rs, cM as cs, cN as ns, cO as us, cP as ds, cQ as is, cR as ls, cS as ps, cT as gs, cU as bs, cV as ms, cW as Ss, cX as ks, cY as Is, cZ as Ts, S as Rs, c_ as Ds, c$ as ys, d0 as Cs, ad as hs, aa as As, d1 as Ps, d2 as fs, d3 as Hs, d4 as vs, d5 as Fs, d6 as Ls, d7 as Bs, d8 as Os, d9 as Es, da as Ns, db as Ms, dc as Gs, dd as ws, de as Vs, df as xs, dg as Ws, dh as Js, di as Us, dj as js, a5 as qs, a4 as zs, dk as Ys, dl as Ks, dm as Qs, dn as Xs, dp as Zs, dq as _s, dr as $s, ds as at, dt as et, du as st, dv as tt, dw as ot, dx as rt, u as ct, dy as nt, ac as ut, dz as dt, dA as it, dB as lt } from "./main-Op1RV9MX.js";
|
|
3
3
|
export {
|
|
4
4
|
s as A,
|
|
5
5
|
t as ActionButtons,
|
|
6
6
|
o as Address,
|
|
7
7
|
r as Alert,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
c as Avatar,
|
|
9
|
+
n as AvatarLetter,
|
|
10
10
|
u as Badge,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
d as Button,
|
|
12
|
+
i as ButtonFilter,
|
|
13
13
|
l as ButtonImageSelect,
|
|
14
14
|
p as Card,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
g as CardDialog,
|
|
16
|
+
b as CodeBlock,
|
|
17
17
|
m as CodeEditor,
|
|
18
18
|
S as Container,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
k as CopyToClipboard,
|
|
20
|
+
I as CoreSdkProvider,
|
|
21
21
|
T as Dropdown,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
R as DropdownDivider,
|
|
23
|
+
D as DropdownItem,
|
|
24
24
|
y as DropdownSearch,
|
|
25
25
|
C as EmptyState,
|
|
26
26
|
h as ErrorBoundary,
|
|
27
27
|
A as GTMProvider,
|
|
28
28
|
P as GenericPageNotFound,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
f as Grid,
|
|
30
|
+
H as Hint,
|
|
31
|
+
v as HomePageLayout,
|
|
32
|
+
F as HookedCodeEditor,
|
|
33
|
+
L as HookedForm,
|
|
34
34
|
B as HookedInput,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
O as HookedInputCheckbox,
|
|
36
|
+
E as HookedInputCheckboxGroup,
|
|
37
37
|
N as HookedInputCurrency,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
M as HookedInputDate,
|
|
39
|
+
G as HookedInputDateRange,
|
|
40
40
|
w as HookedInputRadioGroup,
|
|
41
41
|
V as HookedInputResourceGroup,
|
|
42
42
|
x as HookedInputSelect,
|
|
@@ -45,8 +45,8 @@ export {
|
|
|
45
45
|
U as HookedInputSwitch,
|
|
46
46
|
j as HookedInputTextArea,
|
|
47
47
|
q as HookedInputToggleButton,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
z as HookedMarketWithCurrencySelector,
|
|
49
|
+
Y as HookedValidationApiError,
|
|
50
50
|
K as HookedValidationError,
|
|
51
51
|
Q as Hr,
|
|
52
52
|
X as I18NProvider,
|
|
@@ -59,161 +59,172 @@ export {
|
|
|
59
59
|
ta as InputDate,
|
|
60
60
|
oa as InputDateRange,
|
|
61
61
|
ra as InputFeedback,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ca as InputFile,
|
|
63
|
+
na as InputJson,
|
|
64
64
|
ua as InputRadioGroup,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
da as InputResourceGroup,
|
|
66
|
+
ia as InputSelect,
|
|
67
67
|
la as InputSimpleSelect,
|
|
68
68
|
pa as InputSpinner,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
ga as InputSwitch,
|
|
70
|
+
ba as InputTextArea,
|
|
71
71
|
ma as InputToggleButton,
|
|
72
72
|
Sa as Label,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
ka as Legend,
|
|
74
|
+
Ia as List,
|
|
75
75
|
Ta as ListDetails,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
Ra as ListDetailsItem,
|
|
77
|
+
Da as ListItem,
|
|
78
78
|
ya as LoadingPage,
|
|
79
79
|
Ca as MetaTags,
|
|
80
80
|
ha as Modal,
|
|
81
81
|
Aa as PageError,
|
|
82
82
|
Pa as PageHeading,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
fa as PageLayout,
|
|
84
|
+
Ha as PageLoading,
|
|
85
|
+
va as PageSkeleton,
|
|
85
86
|
Fa as Pagination,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
La as Progress,
|
|
88
|
+
Ba as RadialProgress,
|
|
89
|
+
Oa as RemoveButton,
|
|
89
90
|
Ea as Report,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
Na as ResourceAddress,
|
|
92
|
+
Ma as ResourceAddressFormFields,
|
|
92
93
|
Ga as ResourceAttachments,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
Ya as
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
ne as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ie as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
be as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
Ie as
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
De as
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
He as
|
|
138
|
-
|
|
139
|
-
Fe as
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
Ee as
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
Ge as
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Ye as
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
ns as
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
is as
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
bs as
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
Is as
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
Ds as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
Hs as
|
|
192
|
-
|
|
193
|
-
Fs as
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
Es as
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
Gs as
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
Ys as
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
94
|
+
wa as ResourceDetails,
|
|
95
|
+
Va as ResourceDetailsContent,
|
|
96
|
+
xa as ResourceLineItems,
|
|
97
|
+
Wa as ResourceListItem,
|
|
98
|
+
Ja as ResourceMetadata,
|
|
99
|
+
Ua as ResourceOrderTimeline,
|
|
100
|
+
ja as ResourcePaymentMethod,
|
|
101
|
+
qa as ResourceShipmentParcels,
|
|
102
|
+
za as ResourceTags,
|
|
103
|
+
Ya as Routes,
|
|
104
|
+
Ka as RuleEngine,
|
|
105
|
+
Qa as ScrollToTop,
|
|
106
|
+
Xa as SearchBar,
|
|
107
|
+
Za as Section,
|
|
108
|
+
_a as Skeleton,
|
|
109
|
+
$a as SkeletonItem,
|
|
110
|
+
ae as SkeletonTemplate,
|
|
111
|
+
ee as Spacer,
|
|
112
|
+
se as Stack,
|
|
113
|
+
te as StackCell,
|
|
114
|
+
oe as StatusDot,
|
|
115
|
+
re as StatusIcon,
|
|
116
|
+
ce as Steps,
|
|
117
|
+
ne as Tab,
|
|
118
|
+
ue as Table,
|
|
119
|
+
de as TableData,
|
|
120
|
+
ie as Tabs,
|
|
121
|
+
le as Tag,
|
|
122
|
+
pe as Td,
|
|
123
|
+
ge as Text,
|
|
124
|
+
be as Th,
|
|
125
|
+
me as Timeline,
|
|
126
|
+
Se as ToastContainer,
|
|
127
|
+
ke as TokenProvider,
|
|
128
|
+
Ie as Toolbar,
|
|
129
|
+
Te as Tooltip,
|
|
130
|
+
Re as Tr,
|
|
131
|
+
De as Trans,
|
|
132
|
+
ye as VisibilityTrigger,
|
|
133
|
+
Ce as computeFullname,
|
|
134
|
+
he as createApp,
|
|
135
|
+
Ae as createRoute,
|
|
136
|
+
Pe as createTypedRoute,
|
|
137
|
+
fe as currencies,
|
|
138
|
+
He as currencyInputSelectOptions,
|
|
139
|
+
ve as downloadJsonAsFile,
|
|
140
|
+
Fe as encodeExtras,
|
|
141
|
+
Le as flatSelectValues,
|
|
142
|
+
Be as formatCentsToCurrency,
|
|
143
|
+
Oe as formatDate,
|
|
144
|
+
Ee as formatDateRange,
|
|
145
|
+
Ne as formatDateWithPredicate,
|
|
146
|
+
Me as formatDisplayName,
|
|
147
|
+
Ge as formatNumber,
|
|
148
|
+
we as formatResourceName,
|
|
149
|
+
Ve as getAvatarSrcFromRate,
|
|
150
|
+
xe as getCustomerDisplayStatus,
|
|
151
|
+
We as getCustomerStatusName,
|
|
152
|
+
Je as getDefaultValueFromFlatten,
|
|
153
|
+
Ue as getEventDateInfo,
|
|
154
|
+
je as getIsoDateAtDayEdge,
|
|
155
|
+
qe as getIsoDateAtDaysBefore,
|
|
156
|
+
ze as getOrderDisplayStatus,
|
|
157
|
+
Ye as getOrderFulfillmentStatusName,
|
|
158
|
+
Ke as getOrderPaymentStatusName,
|
|
159
|
+
Qe as getOrderStatusName,
|
|
160
|
+
Xe as getOrderTransactionName,
|
|
161
|
+
Ze as getParcelTrackingDetail,
|
|
162
|
+
_e as getParcelTrackingDetails,
|
|
163
|
+
$e as getPaymentInstrumentDetails,
|
|
164
|
+
as as getPaymentMethodLogoSrc,
|
|
165
|
+
es as getPromotionDisplayStatus,
|
|
166
|
+
ss as getResourceAddressFormFieldsSchema,
|
|
167
|
+
ts as getResourceEndpoint,
|
|
168
|
+
os as getReturnDisplayStatus,
|
|
169
|
+
rs as getReturnStatusName,
|
|
170
|
+
cs as getShipmentDisplayStatus,
|
|
171
|
+
ns as getShipmentRate,
|
|
172
|
+
us as getShipmentRates,
|
|
173
|
+
ds as getShipmentStatusName,
|
|
174
|
+
is as getStockTransferDisplayStatus,
|
|
175
|
+
ls as getStockTransferStatusName,
|
|
176
|
+
ps as getUnitOfWeightName,
|
|
177
|
+
gs as getUnitsOfWeightForSelect,
|
|
178
|
+
bs as goBack,
|
|
179
|
+
ms as hasBeenPurchased,
|
|
180
|
+
Ss as hasSingleTracking,
|
|
181
|
+
ks as i18nLocales,
|
|
182
|
+
Is as isAllStockTransfersCancelled,
|
|
183
|
+
Ts as isAttachmentValidNote,
|
|
184
|
+
Rs as isDateValid,
|
|
185
|
+
Ds as isGroupedSelectValues,
|
|
186
|
+
ys as isMock,
|
|
187
|
+
Cs as isMockedId,
|
|
188
|
+
hs as isMultiValueSelected,
|
|
189
|
+
As as isSingleValueSelected,
|
|
190
|
+
Ps as isTaggableResource,
|
|
191
|
+
fs as makeDateYearsRange,
|
|
192
|
+
Hs as maskGiftCardCode,
|
|
193
|
+
vs as navigateTo,
|
|
194
|
+
Fs as orderTransactionIsAnAsyncCapture,
|
|
195
|
+
Ls as parseApiError,
|
|
196
|
+
Bs as referenceOrigins,
|
|
197
|
+
Os as refreshResourceLists,
|
|
198
|
+
Es as removeFromResourceLists,
|
|
199
|
+
Ns as removeMillisecondsFromIsoDate,
|
|
200
|
+
Ms as setApiFormErrors,
|
|
201
|
+
Gs as sortAndGroupByDate,
|
|
202
|
+
ws as t,
|
|
203
|
+
Vs as taggableResources,
|
|
204
|
+
xs as timeSeparator,
|
|
205
|
+
Ws as toast,
|
|
206
|
+
Js as useAppLinking,
|
|
207
|
+
Us as useClickAway,
|
|
208
|
+
js as useConfirmDialog,
|
|
209
|
+
qs as useCoreApi,
|
|
210
|
+
zs as useCoreSdkProvider,
|
|
211
|
+
Ys as useDelayShow,
|
|
212
|
+
Ks as useEditMetadataOverlay,
|
|
213
|
+
Qs as useEditTagsOverlay,
|
|
214
|
+
Xs as useInputResourceGroupOverlay,
|
|
215
|
+
Zs as useIsChanged,
|
|
216
|
+
_s as useOnBlurFromContainer,
|
|
217
|
+
$s as useOverlay,
|
|
218
|
+
at as useResourceAddressOverlay,
|
|
219
|
+
et as useResourceDetailsModal,
|
|
220
|
+
st as useResourceFilters,
|
|
221
|
+
tt as useResourceList,
|
|
222
|
+
ot as useResourceTable,
|
|
223
|
+
rt as useTagManager,
|
|
224
|
+
ct as useTokenProvider,
|
|
225
|
+
nt as useTrackingDetails,
|
|
226
|
+
ut as useTranslation,
|
|
227
|
+
dt as useValidationFeedback,
|
|
228
|
+
it as useViewJsonOverlay,
|
|
229
|
+
lt as withSkeletonTemplate
|
|
219
230
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { TokenProviderProps } from './TokenProvider';
|
|
3
|
-
export declare function MockTokenProvider({ children, isInDashboard, onAppClose, }: TokenProviderProps): JSX.Element;
|
|
3
|
+
export declare function MockTokenProvider({ children, isInDashboard, onAppClose, extras, }: TokenProviderProps): JSX.Element;
|
|
4
4
|
export declare namespace MockTokenProvider {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -58,7 +58,7 @@ export interface TokenProviderProps {
|
|
|
58
58
|
}) => void;
|
|
59
59
|
/**
|
|
60
60
|
* The UI element to be used as loader (e.g. skeleton or spinner icon).
|
|
61
|
-
* This element is ignored when app is running within the dashboard, since it will use the standard
|
|
61
|
+
* This element is ignored when app is running within the dashboard, since it will use the standard `PageLoading` as not-overridable ui loader.
|
|
62
62
|
*/
|
|
63
63
|
loadingElement?: ReactNode;
|
|
64
64
|
/**
|