@orangelogic/design-system 2.0.0-29DUO2-beta-1 → 2.0.0-29DUO2-beta-3
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/library/chunks/{asset.DRyD94KY.js → asset.CG_yXtWK.js} +1 -1
- package/library/chunks/{button.Dy5bRiPQ.js → button.KnE3mcyM.js} +1 -1
- package/library/chunks/{color-swatch-group.nog-pq8b.js → color-swatch-group.p3Sdqlat.js} +5 -5
- package/library/chunks/{color-swatch.CLHdvqso.js → color-swatch.C0oPHfOu.js} +1 -1
- package/library/chunks/{confirm-popover.B6BAaXeR.js → confirm-popover.zmOFI4e-.js} +3 -3
- package/library/chunks/content-builder.D_phDrlo.js +127 -0
- package/library/chunks/{dialog.DZGlXo8d.js → dialog.DpZBbTCn.js} +1 -1
- package/library/chunks/{dot-pagination.Cp57TPpZ.js → dot-pagination.COBkyhoJ.js} +1 -1
- package/library/chunks/{endpoints.CkJu-Ory.js → endpoints.B7lcoc1N.js} +178 -179
- package/library/chunks/{file-on-demand.DCn6zLyM.js → file-on-demand.CbE-qsiP.js} +7 -7
- package/library/chunks/{folder-select.DTmBImnZ.js → folder-select.Bl_WkhVE.js} +4 -4
- package/library/chunks/{header.D_90t23Q.js → header.BduX6KJP.js} +1 -1
- package/library/chunks/{i18n.Bge6Wbrz.js → i18n.C0iakJkV.js} +12 -16
- package/library/chunks/{iframe.B0Z8DiDR.js → iframe.BPKV2K7z.js} +1 -1
- package/library/chunks/{image.CBjclAIZ.js → image.C9avagDq.js} +1 -1
- package/library/chunks/{index.Compqu8J.js → index.B3wJT3XS.js} +81 -86
- package/library/chunks/{list-editor.Dl366-77.js → list-editor.B2mFE9f7.js} +8 -8
- package/library/chunks/{option.CiBFEqo6.js → option.DnpkE8Xi.js} +1 -1
- package/library/chunks/{pagination.CTKL1LBP.js → pagination.C30LoTya.js} +3 -3
- package/library/chunks/{responsive.CEZXXas3.js → responsive.CrX-HUow.js} +1 -1
- package/library/chunks/{tab-group.3eI4V3C7.js → tab-group.05PY0smt.js} +2 -2
- package/library/chunks/{table.ZGeb7I52.js → table.DNTm_GMS.js} +5 -5
- package/library/chunks/{tree.dSjb5nEi.js → tree.CeMLCbs-.js} +1 -1
- package/library/components/alert.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +11 -11
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +2 -2
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +2 -2
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +3 -3
- package/library/components/e-chart.js +1744 -1710
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +8 -8
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +4 -4
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +3 -3
- package/library/components/tab.js +1 -1
- package/library/components/table.js +4 -4
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +24386 -24383
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +6 -1
- package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/molecules/src/stat-card/stat-card.d.ts +4 -4
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +0 -28
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +0 -15
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +0 -5
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
- package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
- package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +3 -1
- package/library/packages/services/src/api/dashboard/dashboard.d.ts +1 -8
- package/library/packages/services/src/api/endpoints.d.ts +0 -9
- package/library/packages/types/src/content-builder.d.ts +1 -6
- package/library/packages/utils/src/custom-element/i18n.d.ts +0 -4
- package/library/packages/utils/src/object/object.d.ts +0 -1
- package/library/react-web-component.d.ts +91 -125
- package/library/utils.js +158 -159
- package/package.json +1 -1
- package/library/chunks/content-builder.ViUhoc1l.js +0 -127
- package/library/packages/organisms/src/content-builder/configs/dashboard-chart.d.ts +0 -13
- package/library/packages/organisms/src/content-builder/configs/dashboard-filter.d.ts +0 -17
- package/library/packages/organisms/src/content-builder/configs/dashboard-table.d.ts +0 -12
- package/library/packages/organisms/src/content-builder/configs/dashboard.d.ts +0 -10
- package/library/packages/organisms/src/content-builder/configs/stat-card.d.ts +0 -18
- package/library/packages/organisms/src/content-builder/plugins/dashboard-chart.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard-filter.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard-table.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/dashboard.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/plugins/stat-card.d.ts +0 -5
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.d.ts +0 -0
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-builder.styles.d.ts +0 -0
- package/library/packages/organisms/src/content-builder/components/{chart-plan.builder → chart-plan-builder}/chart-plan-schema.d.ts +0 -0
- package/library/packages/types/src/{state-card.d.ts → stat-card.d.ts} +2 -2
package/library/utils.js
CHANGED
|
@@ -1,181 +1,180 @@
|
|
|
1
|
-
import { C as s, D as t, H as o, P as r, m as i, e as l, f as n, u as m, x as p, g as c, h as g, p as d, d as f, i as x, o as u, j as C, k as A, l as T, y as I, r as E,
|
|
2
|
-
import { l as
|
|
3
|
-
import { e as
|
|
4
|
-
import { d as
|
|
5
|
-
import { a as
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as
|
|
8
|
-
import { c as
|
|
9
|
-
import { d as
|
|
10
|
-
import { d as
|
|
11
|
-
import { d as
|
|
12
|
-
import { w as
|
|
13
|
-
import { F as
|
|
14
|
-
import { L as
|
|
15
|
-
import { c as
|
|
16
|
-
import { g as
|
|
17
|
-
import { H as
|
|
18
|
-
import { g as
|
|
19
|
-
import { i as
|
|
20
|
-
import { w as
|
|
21
|
-
import { c as
|
|
22
|
-
import { f as
|
|
23
|
-
import { c as
|
|
24
|
-
import { a as
|
|
25
|
-
import { s as
|
|
26
|
-
import { g as
|
|
27
|
-
import { a as
|
|
28
|
-
import { g as
|
|
29
|
-
import { c as
|
|
30
|
-
import { R as
|
|
1
|
+
import { C as s, D as t, H as o, P as r, m as i, e as l, f as n, u as m, x as p, g as c, h as g, p as d, d as f, i as x, o as u, j as C, k as A, l as T, y as I, r as E, v, s as y, q as S, n as L, t as R, w as F } from "./chunks/index.B3wJT3XS.js";
|
|
2
|
+
import { l as b, f as h, g as D, j as P, i as _, e as B, k as M, m as O, h as w, r as H } from "./chunks/content-builder.D_phDrlo.js";
|
|
3
|
+
import { e as G, a as N, f as X, g as U, d as z, b as j, c as K, i as W, p as Z, s as q } from "./chunks/browser.BHOCIF_A.js";
|
|
4
|
+
import { d as J, C as Q, e as $, H as aa, R as ea, c as sa, h as ta, f as oa, g as ra, l as ia, p as la, a as na, b as ma } from "./chunks/color.vLD2sNTs.js";
|
|
5
|
+
import { a as ca, b as ga, g as da } from "./chunks/modal.U1QltQKe.js";
|
|
6
|
+
import { a as xa, p as ua, c as Ca, b as Aa, s as Ta } from "./chunks/animate.El-MpOws.js";
|
|
7
|
+
import { t as Ea } from "./chunks/converters.DkDtLstb.js";
|
|
8
|
+
import { c as ya } from "./chunks/custom-element.L4WJXn1j.js";
|
|
9
|
+
import { d as La } from "./chunks/debounce.DaHuiSGU.js";
|
|
10
|
+
import { d as Fa } from "./chunks/default-value.COZopaet.js";
|
|
11
|
+
import { d as ba } from "./chunks/drag.DXEXVXPv.js";
|
|
12
|
+
import { w as Da } from "./chunks/event.mFzZi4sr.js";
|
|
13
|
+
import { F as _a, c as Ba, f as Ma, v as Oa, a as wa } from "./chunks/form.DgwYWi0O.js";
|
|
14
|
+
import { L as ka, r as Ga } from "./chunks/i18n.C0iakJkV.js";
|
|
15
|
+
import { c as Xa } from "./chunks/math.DqTA6ya4.js";
|
|
16
|
+
import { g as za, l as ja, s as Ka, u as Wa } from "./chunks/scroll.xtO5yojm.js";
|
|
17
|
+
import { H as qa, a as Ya, g as Ja } from "./chunks/slot.j5oheLJC.js";
|
|
18
|
+
import { g as $a, a as ae } from "./chunks/tabbable.CcMz3mIL.js";
|
|
19
|
+
import { i as se } from "./chunks/user-agent.D9aPuOyL.js";
|
|
20
|
+
import { w as oe } from "./chunks/watch.q1sEjPWL.js";
|
|
21
|
+
import { c as ie, d as le, k as ne, j as me, a as pe, g as ce, h as ge, b as de, f as fe, i as xe, e as ue, l as Ce, s as Ae } from "./chunks/dom.BQVKDNd8.js";
|
|
22
|
+
import { f as Ie, t as Ee } from "./chunks/toast.BXNbwZV8.js";
|
|
23
|
+
import { c as ye, b as Se, g as Le, r as Re, a as Fe } from "./chunks/image.mbpyiQpQ.js";
|
|
24
|
+
import { a as be, b as he, c as De, e as Pe, f as _e, r as Be, s as Me } from "./chunks/number.CjNxU7Xs.js";
|
|
25
|
+
import { s as we } from "./chunks/parse.Cu5nBDTb.js";
|
|
26
|
+
import { g as ke, a as Ge } from "./chunks/responsive.CrX-HUow.js";
|
|
27
|
+
import { a as Xe, e as Ue, f as ze, h as je, i as Ke, p as We, b as Ze, s as qe, g as Ye, l as Je, j as Qe, k as $e, m as as, t as es, u as ss } from "./chunks/string.B_rEG27K.js";
|
|
28
|
+
import { g as os } from "./chunks/template.CsJd8Pb_.js";
|
|
29
|
+
import { c as is, a as ls, f as ns, g as ms } from "./chunks/time.D_uFZqqe.js";
|
|
30
|
+
import { R as cs, U as gs, c as ds, b as fs, a as xs, i as us } from "./chunks/url.LjsR2sB5.js";
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
J as CMYK_VALIDATION_REGEX,
|
|
33
|
+
Q as ColorType,
|
|
34
34
|
s as CortexPopupController,
|
|
35
35
|
t as DragScroll,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
_a as FormControlController,
|
|
37
|
+
$ as HEX_ALPHA_VALIDATION_REGEX,
|
|
38
|
+
aa as HEX_VALIDATION_REGEX,
|
|
39
|
+
qa as HasSlotController,
|
|
40
40
|
o as HistoryManager,
|
|
41
|
-
|
|
41
|
+
ka as LocalizeController,
|
|
42
42
|
r as PRECISION,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
43
|
+
cs as RELATIVE_URL_REGEX,
|
|
44
|
+
ea as RGB_VALIDATION_REGEX,
|
|
45
|
+
gs as URL_DOMAIN_VALIDATION_REGEX,
|
|
46
|
+
ds as URL_PROTOCOL_VALIDATION_REGEX,
|
|
47
|
+
fs as URL_VALIDATION_REGEX,
|
|
48
|
+
ca as activeElements,
|
|
49
|
+
b as adjustRelativeValues,
|
|
50
|
+
xa as animateTo,
|
|
51
|
+
xs as appendProtocol,
|
|
52
|
+
ye as calculateAspectRatioFit,
|
|
53
|
+
Xa as clamp,
|
|
54
|
+
is as clearZeroDurationParts,
|
|
55
|
+
sa as convertColor,
|
|
56
|
+
be as convertDataUnits,
|
|
57
|
+
he as convertDurationToMilliseconds,
|
|
58
|
+
De as convertPixelsToAspectRatio,
|
|
59
|
+
Se as cropImage,
|
|
60
|
+
ie as cssValueToPx,
|
|
61
|
+
ya as customElement,
|
|
62
|
+
Ba as customErrorValidityState,
|
|
63
|
+
La as debounce,
|
|
64
|
+
Fa as defaultValue,
|
|
65
65
|
i as downloadAsset,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
ba as drag,
|
|
67
|
+
Xe as emptyToSpace,
|
|
68
|
+
ta as extractColor,
|
|
69
|
+
Ue as extractExtension,
|
|
70
70
|
l as extractFrames,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
Pe as extractValueAndUnit,
|
|
72
|
+
Ie as fetchCortexApi,
|
|
73
|
+
G as findAncestorWithBuggyStyle,
|
|
74
|
+
N as findContainingBlock,
|
|
75
|
+
X as findCuttingAncestor,
|
|
76
76
|
n as findFrameByColAndRow,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
77
|
+
h as findIndexByProp,
|
|
78
|
+
Ma as formCollections,
|
|
79
|
+
ls as formatDurationPartsManually,
|
|
80
|
+
_e as formatNumberWithGrouping,
|
|
81
|
+
ze as formatSecondsToTime,
|
|
82
|
+
je as formatTimeToSeconds,
|
|
83
|
+
ns as formatWithIntlDurationFormat,
|
|
84
|
+
le as getActiveElement,
|
|
85
|
+
ga as getActiveModals,
|
|
86
|
+
ke as getBreakpointsFromCSS,
|
|
87
87
|
m as getBrowserFontVariants,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
oa as getColorType,
|
|
89
|
+
Le as getContainedImageSize,
|
|
90
|
+
ne as getCortexPopupLayer,
|
|
91
|
+
me as getCurrentZIndex,
|
|
92
|
+
da as getDeepestActiveElement,
|
|
93
|
+
Ge as getDeviceType,
|
|
94
|
+
ms as getDurationPartsByUnitsFormat,
|
|
95
|
+
pe as getElementFromHTMLString,
|
|
96
|
+
ce as getElementFromTemplate,
|
|
97
97
|
p as getFormControls,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
os as getHighlightedTitle,
|
|
99
|
+
Ya as getInnerHTML,
|
|
100
100
|
c as getInterval,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
101
|
+
ra as getLightDarkCssString,
|
|
102
|
+
ge as getNeededPaddingForBoxShadow,
|
|
103
|
+
U as getNextAncestor,
|
|
104
|
+
za as getOffset,
|
|
105
|
+
de as getRelativeClickPercentage,
|
|
106
|
+
$a as getTabbableBoundary,
|
|
107
|
+
ae as getTabbableElements,
|
|
108
|
+
Ja as getTextContent,
|
|
109
|
+
D as groupBy,
|
|
110
|
+
P as insertAtIndex,
|
|
111
111
|
g as insertFrameToCache,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
112
|
+
_ as insertMultipleAtIndex,
|
|
113
|
+
z as isChrome,
|
|
114
|
+
se as isCortexAdobePlugin,
|
|
115
|
+
fe as isDomElement,
|
|
116
|
+
xe as isElementInHorizontalView,
|
|
117
|
+
j as isFirefox,
|
|
118
118
|
d as isFontFamilyAvailable,
|
|
119
119
|
f as isFormInteracted,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
Ke as isGalleryItemCardType,
|
|
121
|
+
K as isIOS,
|
|
122
|
+
ue as isInElement,
|
|
123
123
|
x as isModKey,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
124
|
+
W as isSafari,
|
|
125
|
+
us as isValidUrl,
|
|
126
|
+
Ce as loadScript,
|
|
127
|
+
ja as lockBodyScrolling,
|
|
128
|
+
ia as luminanceTextColor,
|
|
129
|
+
B as moveMultipleToIndex,
|
|
130
|
+
M as moveToIndex,
|
|
131
|
+
O as multiSelectTo,
|
|
132
132
|
u as omit,
|
|
133
133
|
C as openAssetOverview,
|
|
134
134
|
A as openFolderOverview,
|
|
135
135
|
T as openLink,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
We as padPath,
|
|
137
|
+
la as parseBorder,
|
|
138
|
+
ua as parseDuration,
|
|
139
|
+
na as parseLightDark,
|
|
140
|
+
ma as parseShadow,
|
|
141
141
|
I as pick,
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
Z as popoverSupported,
|
|
143
|
+
Ca as prefersReducedMotion,
|
|
144
144
|
E as readLocalStorageValue,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
qe as
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
y as
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
$e as
|
|
170
|
-
as as
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
wa as
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
V as writeLocalStorageValue
|
|
145
|
+
Ga as registerTranslation,
|
|
146
|
+
w as removeAtIndex,
|
|
147
|
+
H as removeMultipleAtIndex,
|
|
148
|
+
Re as resizeImage,
|
|
149
|
+
Be as rotateBox,
|
|
150
|
+
Fe as rotateImage,
|
|
151
|
+
Ze as safeString,
|
|
152
|
+
qe as sanitizeHTML,
|
|
153
|
+
Me as sanitizeRotation,
|
|
154
|
+
Ka as scrollIntoView,
|
|
155
|
+
v as serialize,
|
|
156
|
+
y as shareAsset,
|
|
157
|
+
Aa as shimKeyframesHeightAuto,
|
|
158
|
+
Ae as sortByTopPosition,
|
|
159
|
+
S as sortTypefaceVariants,
|
|
160
|
+
we as splitBoxValues,
|
|
161
|
+
Ye as splitCamelCaseFormatted,
|
|
162
|
+
Ta as stopAnimations,
|
|
163
|
+
q as supportHLS,
|
|
164
|
+
L as testFontAvailability,
|
|
165
|
+
Ea as timecodeConverter,
|
|
166
|
+
Je as toCamelCase,
|
|
167
|
+
R as toGalleryEventClick,
|
|
168
|
+
Qe as toKebabCase,
|
|
169
|
+
$e as toPascalCase,
|
|
170
|
+
as as toTitleCase,
|
|
171
|
+
Ee as toast,
|
|
172
|
+
es as truncateTextMiddle,
|
|
173
|
+
Wa as unlockBodyScrolling,
|
|
174
|
+
ss as upperFirst,
|
|
175
|
+
Oa as validValidityState,
|
|
176
|
+
wa as valueMissingValidityState,
|
|
177
|
+
Da as waitForEvent,
|
|
178
|
+
oe as watch,
|
|
179
|
+
F as writeLocalStorageValue
|
|
181
180
|
};
|
package/package.json
CHANGED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { c as s } from "./capitalize.WSkCXkNE.js";
|
|
2
|
-
function x(a, n) {
|
|
3
|
-
return a.filter((t, r) => r !== n);
|
|
4
|
-
}
|
|
5
|
-
function v(a, n) {
|
|
6
|
-
return a.filter((t, r) => !n.includes(r));
|
|
7
|
-
}
|
|
8
|
-
function R(a, n, t) {
|
|
9
|
-
return [...a.slice(0, n), t, ...a.slice(n)];
|
|
10
|
-
}
|
|
11
|
-
function D(a, n, t) {
|
|
12
|
-
return [...a.slice(0, n), ...t, ...a.slice(n)];
|
|
13
|
-
}
|
|
14
|
-
function _(a, n, t) {
|
|
15
|
-
return a.findIndex((r) => r[n] === t);
|
|
16
|
-
}
|
|
17
|
-
function G(a, n, t) {
|
|
18
|
-
const r = [...a], d = x(r, n);
|
|
19
|
-
let e = t;
|
|
20
|
-
return e >= a.length - 1 && (e = e + 1), R(d, e, a[n]);
|
|
21
|
-
}
|
|
22
|
-
function V(a, n, t) {
|
|
23
|
-
const r = [...a], d = v(r, n), e = t !== 0 ? n.reduce(
|
|
24
|
-
(o, u) => t > u ? o - 1 : o,
|
|
25
|
-
t
|
|
26
|
-
) : t;
|
|
27
|
-
return D(
|
|
28
|
-
d,
|
|
29
|
-
e,
|
|
30
|
-
n.map((o) => a[o])
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
function j(a, n) {
|
|
34
|
-
return a.reduce(
|
|
35
|
-
(t, r) => {
|
|
36
|
-
const d = r[n];
|
|
37
|
-
return t[d] ??= [], t[d].push(r), t;
|
|
38
|
-
},
|
|
39
|
-
{}
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
function K(a, n, t) {
|
|
43
|
-
if (!a.length)
|
|
44
|
-
return [n];
|
|
45
|
-
const r = t.findIndex(
|
|
46
|
-
(l) => l.id === n
|
|
47
|
-
), d = a[a.length - 1], e = t.findIndex(
|
|
48
|
-
(l) => l.id === d
|
|
49
|
-
);
|
|
50
|
-
if (r < 0 || e < 0)
|
|
51
|
-
return [n];
|
|
52
|
-
const i = t.reduce(
|
|
53
|
-
(l, c, g) => (l[c.id] = g, l),
|
|
54
|
-
{}
|
|
55
|
-
), o = r > e, u = o ? e : r, f = o ? r : e, C = t.slice(u, f + 1).filter((l) => !(!l || a.includes(l.id))).map((l) => l.id), b = o ? C : [...C].reverse(), h = a.includes(n) ? a.slice(0, a.indexOf(n) + 1) : [...a, ...b];
|
|
56
|
-
return h.sort((l, c) => i[l] - i[c]), h;
|
|
57
|
-
}
|
|
58
|
-
function T(a, n, t, r, d, e) {
|
|
59
|
-
const i = t + 1;
|
|
60
|
-
if (a.length < 2)
|
|
61
|
-
throw new Error("Values array must contain at least 2 elements");
|
|
62
|
-
if (t < 0 || i >= a.length)
|
|
63
|
-
throw new Error("Invalid index or not enough values to adjust");
|
|
64
|
-
if (r < 0)
|
|
65
|
-
throw new Error("Minimum value must be non-negative");
|
|
66
|
-
let o = d + n;
|
|
67
|
-
o < r && (n = r - d, o = r);
|
|
68
|
-
let u = e - n;
|
|
69
|
-
u < r && (n = e - r, o = d + n, u = r), a[t] = parseFloat(o.toFixed(2)), a[i] = parseFloat(u.toFixed(2));
|
|
70
|
-
}
|
|
71
|
-
var B = /* @__PURE__ */ ((a) => (a.Desktop = "desktop", a.Mobile = "mobile", a.Tablet = "tablet", a))(B || {});
|
|
72
|
-
const w = {
|
|
73
|
-
canvasWidth: "",
|
|
74
|
-
height: "",
|
|
75
|
-
id: "desktop",
|
|
76
|
-
maxWidth: "",
|
|
77
|
-
name: s(
|
|
78
|
-
"desktop"
|
|
79
|
-
/* Desktop */
|
|
80
|
-
)
|
|
81
|
-
}, E = {
|
|
82
|
-
canvasWidth: "770px",
|
|
83
|
-
height: "",
|
|
84
|
-
id: "tablet",
|
|
85
|
-
maxWidth: "1280px",
|
|
86
|
-
name: s(
|
|
87
|
-
"tablet"
|
|
88
|
-
/* Tablet */
|
|
89
|
-
)
|
|
90
|
-
}, L = {
|
|
91
|
-
canvasWidth: "320px",
|
|
92
|
-
height: "",
|
|
93
|
-
id: "mobile",
|
|
94
|
-
maxWidth: "480px",
|
|
95
|
-
name: s(
|
|
96
|
-
"mobile"
|
|
97
|
-
/* Mobile */
|
|
98
|
-
)
|
|
99
|
-
}, U = [w, E, L];
|
|
100
|
-
var M = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(M || {}), S = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(S || {}), F = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(F || {}), O = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(O || {}), A = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.Dashboard = "BlockDashboard", a.DashboardChart = "BlockDashboardChart", a.DashboardFilter = "BlockDashboardFilter", a.DashboardTable = "BlockDashboardTable", a.Divider = "BlockDivider", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.StatCard = "BlockStatCard", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(A || {});
|
|
101
|
-
const m = Object.values(A).filter(
|
|
102
|
-
(a) => a !== "BlockCell"
|
|
103
|
-
/* Column */
|
|
104
|
-
);
|
|
105
|
-
var k = /* @__PURE__ */ ((a) => (a.Carousel = "carousel", a.Gallery = "gallery", a))(k || {}), N = /* @__PURE__ */ ((a) => (a.Templates = "TEMPLATES", a.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", a.TranslatableTexts = "TRANSLATABLE_TEXTS", a))(N || {});
|
|
106
|
-
export {
|
|
107
|
-
S as A,
|
|
108
|
-
A as B,
|
|
109
|
-
B as D,
|
|
110
|
-
F as E,
|
|
111
|
-
M as P,
|
|
112
|
-
O as T,
|
|
113
|
-
k as a,
|
|
114
|
-
N as b,
|
|
115
|
-
m as c,
|
|
116
|
-
U as d,
|
|
117
|
-
V as e,
|
|
118
|
-
_ as f,
|
|
119
|
-
j as g,
|
|
120
|
-
x as h,
|
|
121
|
-
D as i,
|
|
122
|
-
R as j,
|
|
123
|
-
G as k,
|
|
124
|
-
T as l,
|
|
125
|
-
K as m,
|
|
126
|
-
v as r
|
|
127
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PropertyConfig } from '../../../../types/src/content-builder';
|
|
2
|
-
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
|
|
3
|
-
|
|
4
|
-
type Attribute = {
|
|
5
|
-
data: string;
|
|
6
|
-
'data-type': string;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: {
|
|
9
|
-
configs: (localize: LocalizeController) => Array<PropertyConfig<Attribute>>;
|
|
10
|
-
defaultValue: Attribute;
|
|
11
|
-
stylable: string[];
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropertyConfig } from '../../../../types/src/content-builder';
|
|
2
|
-
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
|
|
3
|
-
|
|
4
|
-
type Attribute = {
|
|
5
|
-
controls: string;
|
|
6
|
-
'default-value': string;
|
|
7
|
-
'no-controls-label': string;
|
|
8
|
-
'panel-title': string;
|
|
9
|
-
'show-reset-button': boolean;
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: {
|
|
13
|
-
configs: (localize: LocalizeController) => Array<PropertyConfig<Attribute>>;
|
|
14
|
-
defaultValue: Attribute;
|
|
15
|
-
stylable: string[];
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PropertyConfig } from '../../../../types/src/content-builder';
|
|
2
|
-
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
|
|
3
|
-
|
|
4
|
-
type Attribute = {
|
|
5
|
-
'data-type': string;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: {
|
|
8
|
-
configs: (localize: LocalizeController) => Array<PropertyConfig<Attribute>>;
|
|
9
|
-
defaultValue: Attribute;
|
|
10
|
-
stylable: string[];
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PropertyConfig } from '../../../../types/src/content-builder';
|
|
2
|
-
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
|
|
3
|
-
|
|
4
|
-
type Attribute = object;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
configs: (localize: LocalizeController) => Array<PropertyConfig<Attribute>>;
|
|
7
|
-
defaultValue: object;
|
|
8
|
-
stylable: string[];
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PropertyConfig } from '../../../../types/src/content-builder';
|
|
2
|
-
import { TitleFormat, ValueFormat } from '../../../../types/src/state-card';
|
|
3
|
-
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
|
|
4
|
-
|
|
5
|
-
type Attribute = {
|
|
6
|
-
'card-title': string;
|
|
7
|
-
'card-title-format': TitleFormat;
|
|
8
|
-
'data-type': string;
|
|
9
|
-
icon: string;
|
|
10
|
-
value: string;
|
|
11
|
-
'value-format': ValueFormat;
|
|
12
|
-
};
|
|
13
|
-
declare const _default: {
|
|
14
|
-
configs: (localize: LocalizeController) => Array<PropertyConfig<Attribute>>;
|
|
15
|
-
defaultValue: Attribute;
|
|
16
|
-
stylable: string[];
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,8 +12,8 @@ export declare enum ValueFormat {
|
|
|
12
12
|
}
|
|
13
13
|
/** How the main stat value is rendered (plain text vs formatters). */
|
|
14
14
|
export declare enum StatCardDisplayType {
|
|
15
|
-
Plain = "plain",
|
|
16
|
-
Number = "number",
|
|
17
15
|
Bytes = "bytes",
|
|
16
|
+
Number = "number",
|
|
17
|
+
Plain = "plain",
|
|
18
18
|
Time = "time"
|
|
19
19
|
}
|