design-system-silkhaus 2.11.1 → 2.11.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/dist/index.cjs +1 -1
- package/dist/index.js +110 -97
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -116,8 +116,8 @@ function SO() {
|
|
|
116
116
|
}
|
|
117
117
|
function _(Z, ye, _e) {
|
|
118
118
|
{
|
|
119
|
-
var qe = w.ReactDebugCurrentFrame,
|
|
120
|
-
|
|
119
|
+
var qe = w.ReactDebugCurrentFrame, Ke = qe.getStackAddendum();
|
|
120
|
+
Ke !== "" && (ye += "%s", _e = _e.concat([Ke]));
|
|
121
121
|
var st = _e.map(function(ze) {
|
|
122
122
|
return String(ze);
|
|
123
123
|
});
|
|
@@ -137,8 +137,8 @@ function SO() {
|
|
|
137
137
|
var qe = Z.displayName;
|
|
138
138
|
if (qe)
|
|
139
139
|
return qe;
|
|
140
|
-
var
|
|
141
|
-
return
|
|
140
|
+
var Ke = ye.displayName || ye.name || "";
|
|
141
|
+
return Ke !== "" ? _e + "(" + Ke + ")" : _e;
|
|
142
142
|
}
|
|
143
143
|
function P(Z) {
|
|
144
144
|
return Z.displayName || "Context";
|
|
@@ -178,7 +178,7 @@ function SO() {
|
|
|
178
178
|
var qe = Z.displayName || null;
|
|
179
179
|
return qe !== null ? qe : O(Z.type) || "Memo";
|
|
180
180
|
case f: {
|
|
181
|
-
var
|
|
181
|
+
var Ke = Z, st = Ke._payload, ze = Ke._init;
|
|
182
182
|
try {
|
|
183
183
|
return O(ze(st));
|
|
184
184
|
} catch (Ye) {
|
|
@@ -256,8 +256,8 @@ function SO() {
|
|
|
256
256
|
if (Q === void 0)
|
|
257
257
|
try {
|
|
258
258
|
throw Error();
|
|
259
|
-
} catch (
|
|
260
|
-
var qe =
|
|
259
|
+
} catch (Ke) {
|
|
260
|
+
var qe = Ke.stack.trim().match(/\n( *(at )?)/);
|
|
261
261
|
Q = qe && qe[1] || "";
|
|
262
262
|
}
|
|
263
263
|
return `
|
|
@@ -279,7 +279,7 @@ function SO() {
|
|
|
279
279
|
}
|
|
280
280
|
var qe;
|
|
281
281
|
Y = !0;
|
|
282
|
-
var
|
|
282
|
+
var Ke = Error.prepareStackTrace;
|
|
283
283
|
Error.prepareStackTrace = void 0;
|
|
284
284
|
var st;
|
|
285
285
|
st = U.current, U.current = null, V();
|
|
@@ -335,7 +335,7 @@ function SO() {
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
} finally {
|
|
338
|
-
Y = !1, U.current = st, G(), Error.prepareStackTrace =
|
|
338
|
+
Y = !1, U.current = st, G(), Error.prepareStackTrace = Ke;
|
|
339
339
|
}
|
|
340
340
|
var an = Z ? Z.displayName || Z.name : "", on = an ? te(an) : "";
|
|
341
341
|
return typeof Z == "function" && T.set(Z, on), on;
|
|
@@ -367,9 +367,9 @@ function SO() {
|
|
|
367
367
|
case c:
|
|
368
368
|
return X(Z.type, ye, _e);
|
|
369
369
|
case f: {
|
|
370
|
-
var qe = Z,
|
|
370
|
+
var qe = Z, Ke = qe._payload, st = qe._init;
|
|
371
371
|
try {
|
|
372
|
-
return X(st(
|
|
372
|
+
return X(st(Ke), ye, _e);
|
|
373
373
|
} catch (ze) {
|
|
374
374
|
}
|
|
375
375
|
}
|
|
@@ -384,7 +384,7 @@ function SO() {
|
|
|
384
384
|
} else
|
|
385
385
|
ie.setExtraStackFrame(null);
|
|
386
386
|
}
|
|
387
|
-
function oe(Z, ye, _e, qe,
|
|
387
|
+
function oe(Z, ye, _e, qe, Ke) {
|
|
388
388
|
{
|
|
389
389
|
var st = Function.call.bind(L);
|
|
390
390
|
for (var ze in Z)
|
|
@@ -399,7 +399,7 @@ function SO() {
|
|
|
399
399
|
} catch (jt) {
|
|
400
400
|
Ye = jt;
|
|
401
401
|
}
|
|
402
|
-
Ye && !(Ye instanceof Error) && (le(
|
|
402
|
+
Ye && !(Ye instanceof Error) && (le(Ke), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", qe || "React class", _e, ze, typeof Ye), le(null)), Ye instanceof Error && !(Ye.message in ee) && (ee[Ye.message] = !0, le(Ke), b("Failed %s type: %s", _e, Ye.message), le(null));
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -478,7 +478,7 @@ function SO() {
|
|
|
478
478
|
});
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
var Fe = function(Z, ye, _e, qe,
|
|
481
|
+
var Fe = function(Z, ye, _e, qe, Ke, st, ze) {
|
|
482
482
|
var Ye = {
|
|
483
483
|
// This tag allows us to uniquely identify this as a React Element
|
|
484
484
|
$$typeof: t,
|
|
@@ -504,13 +504,13 @@ function SO() {
|
|
|
504
504
|
configurable: !1,
|
|
505
505
|
enumerable: !1,
|
|
506
506
|
writable: !1,
|
|
507
|
-
value:
|
|
507
|
+
value: Ke
|
|
508
508
|
}), Object.freeze && (Object.freeze(Ye.props), Object.freeze(Ye)), Ye;
|
|
509
509
|
};
|
|
510
|
-
function Ee(Z, ye, _e, qe,
|
|
510
|
+
function Ee(Z, ye, _e, qe, Ke) {
|
|
511
511
|
{
|
|
512
512
|
var st, ze = {}, Ye = null, lr = null;
|
|
513
|
-
_e !== void 0 && (ue(_e), Ye = "" + _e), J(ye) && (ue(ye.key), Ye = "" + ye.key), je(ye) && (lr = ye.ref, re(ye,
|
|
513
|
+
_e !== void 0 && (ue(_e), Ye = "" + _e), J(ye) && (ue(ye.key), Ye = "" + ye.key), je(ye) && (lr = ye.ref, re(ye, Ke));
|
|
514
514
|
for (st in ye)
|
|
515
515
|
L.call(ye, st) && !Me.hasOwnProperty(st) && (ze[st] = ye[st]);
|
|
516
516
|
if (Z && Z.defaultProps) {
|
|
@@ -522,7 +522,7 @@ function SO() {
|
|
|
522
522
|
var Mt = typeof Z == "function" ? Z.displayName || Z.name || "Unknown" : Z;
|
|
523
523
|
Ye && Te(ze, Mt), lr && Re(ze, Mt);
|
|
524
524
|
}
|
|
525
|
-
return Fe(Z, Ye, lr,
|
|
525
|
+
return Fe(Z, Ye, lr, Ke, qe, ge.current, ze);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
var pt = w.ReactCurrentOwner, Ct = w.ReactDebugCurrentFrame;
|
|
@@ -591,9 +591,9 @@ Check the top-level render call using <` + _e + ">.");
|
|
|
591
591
|
else if (rt(Z))
|
|
592
592
|
Z._store && (Z._store.validated = !0);
|
|
593
593
|
else if (Z) {
|
|
594
|
-
var
|
|
595
|
-
if (typeof
|
|
596
|
-
for (var st =
|
|
594
|
+
var Ke = y(Z);
|
|
595
|
+
if (typeof Ke == "function" && Ke !== Z.entries)
|
|
596
|
+
for (var st = Ke.call(Z), ze; !(ze = st.next()).done; )
|
|
597
597
|
rt(ze.value) && mr(ze.value, ye);
|
|
598
598
|
}
|
|
599
599
|
}
|
|
@@ -617,8 +617,8 @@ Check the top-level render call using <` + _e + ">.");
|
|
|
617
617
|
oe(_e, Z.props, "prop", qe, Z);
|
|
618
618
|
} else if (ye.PropTypes !== void 0 && !tt) {
|
|
619
619
|
tt = !0;
|
|
620
|
-
var
|
|
621
|
-
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
620
|
+
var Ke = O(ye);
|
|
621
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ke || "Unknown");
|
|
622
622
|
}
|
|
623
623
|
typeof ye.getDefaultProps == "function" && !ye.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
624
624
|
}
|
|
@@ -636,7 +636,7 @@ Check the top-level render call using <` + _e + ">.");
|
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
var Gt = {};
|
|
639
|
-
function bt(Z, ye, _e, qe,
|
|
639
|
+
function bt(Z, ye, _e, qe, Ke, st) {
|
|
640
640
|
{
|
|
641
641
|
var ze = x(Z);
|
|
642
642
|
if (!ze) {
|
|
@@ -647,7 +647,7 @@ Check the top-level render call using <` + _e + ">.");
|
|
|
647
647
|
var jt;
|
|
648
648
|
Z === null ? jt = "null" : me(Z) ? jt = "array" : Z !== void 0 && Z.$$typeof === t ? (jt = "<" + (O(Z.type) || "Unknown") + " />", Ye = " Did you accidentally export a JSX literal instead of a component?") : jt = typeof Z, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", jt, Ye);
|
|
649
649
|
}
|
|
650
|
-
var Mt = Ee(Z, ye, _e,
|
|
650
|
+
var Mt = Ee(Z, ye, _e, Ke, st);
|
|
651
651
|
if (Mt == null)
|
|
652
652
|
return Mt;
|
|
653
653
|
if (ze) {
|
|
@@ -3614,7 +3614,7 @@ const At = (e) => {
|
|
|
3614
3614
|
// ],
|
|
3615
3615
|
plugins: []
|
|
3616
3616
|
}, rC = tC(pe({}, eg));
|
|
3617
|
-
function
|
|
3617
|
+
function Ue(...e) {
|
|
3618
3618
|
return rC(Ne(e));
|
|
3619
3619
|
}
|
|
3620
3620
|
const gS = (e, t = "AED") => {
|
|
@@ -3663,7 +3663,7 @@ const gS = (e, t = "AED") => {
|
|
|
3663
3663
|
"helpterTextClassName",
|
|
3664
3664
|
"buttonClassName"
|
|
3665
3665
|
]);
|
|
3666
|
-
return /* @__PURE__ */ h.jsxs("div", { className:
|
|
3666
|
+
return /* @__PURE__ */ h.jsxs("div", { className: Ue("ds-flex ds-flex-col ds-gap-1", n), children: [
|
|
3667
3667
|
/* @__PURE__ */ h.jsxs(
|
|
3668
3668
|
"button",
|
|
3669
3669
|
He(pe({
|
|
@@ -3689,7 +3689,7 @@ const gS = (e, t = "AED") => {
|
|
|
3689
3689
|
u && /* @__PURE__ */ h.jsx(
|
|
3690
3690
|
"div",
|
|
3691
3691
|
{
|
|
3692
|
-
className:
|
|
3692
|
+
className: Ue(
|
|
3693
3693
|
"ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
|
|
3694
3694
|
d
|
|
3695
3695
|
),
|
|
@@ -3731,7 +3731,7 @@ const Lo = ({ text: e, error: t, className: r }) => /* @__PURE__ */ h.jsx(
|
|
|
3731
3731
|
"div",
|
|
3732
3732
|
{
|
|
3733
3733
|
className: "ds-text-mediumCaption1Regular ds-mobile:ds-text-xSmallCaption1Regular ds-tablet:ds-text-smallCaption1Regular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
|
|
3734
|
-
|
|
3734
|
+
Ue(
|
|
3735
3735
|
"ds-text-Text-secondary",
|
|
3736
3736
|
{
|
|
3737
3737
|
"ds-text-System-red": t
|
|
@@ -3744,7 +3744,7 @@ const Lo = ({ text: e, error: t, className: r }) => /* @__PURE__ */ h.jsx(
|
|
|
3744
3744
|
({ className: e = "" }, t) => /* @__PURE__ */ h.jsx(
|
|
3745
3745
|
"span",
|
|
3746
3746
|
{
|
|
3747
|
-
className:
|
|
3747
|
+
className: Ue("ds-ms-[2px] ds-text-accentEggplant-100", e),
|
|
3748
3748
|
ref: t,
|
|
3749
3749
|
children: "*"
|
|
3750
3750
|
}
|
|
@@ -7722,7 +7722,7 @@ const h1 = "data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%20
|
|
|
7722
7722
|
o && /* @__PURE__ */ h.jsx(
|
|
7723
7723
|
Lo,
|
|
7724
7724
|
{
|
|
7725
|
-
className:
|
|
7725
|
+
className: Ue("ds-mt-2", d),
|
|
7726
7726
|
error: e === "error",
|
|
7727
7727
|
text: /* @__PURE__ */ h.jsxs("div", { className: "ds-flex ds-items-center ds-gap-1", children: [
|
|
7728
7728
|
e === "error" && /* @__PURE__ */ h.jsx(
|
|
@@ -7803,7 +7803,7 @@ const h1 = "data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%20
|
|
|
7803
7803
|
o && /* @__PURE__ */ h.jsx(
|
|
7804
7804
|
Lo,
|
|
7805
7805
|
{
|
|
7806
|
-
className:
|
|
7806
|
+
className: Ue("ds-mt-2", d),
|
|
7807
7807
|
error: e === "error",
|
|
7808
7808
|
text: /* @__PURE__ */ h.jsxs("div", { className: "ds-flex ds-items-center ds-gap-1", children: [
|
|
7809
7809
|
e === "error" && /* @__PURE__ */ h.jsx(
|
|
@@ -8324,7 +8324,7 @@ const e4 = se.forwardRef(
|
|
|
8324
8324
|
({ checked: e = !1, onChange: t, disabled: r = !1, htmlId: n = "wa" }, a) => /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs(
|
|
8325
8325
|
"label",
|
|
8326
8326
|
{
|
|
8327
|
-
className:
|
|
8327
|
+
className: Ue("switch", r && "disabled"),
|
|
8328
8328
|
htmlFor: n,
|
|
8329
8329
|
children: [
|
|
8330
8330
|
/* @__PURE__ */ h.jsx(
|
|
@@ -21440,7 +21440,7 @@ function dy() {
|
|
|
21440
21440
|
key: "week-".concat(L)
|
|
21441
21441
|
}), u.default.createElement("ul", (0, f.css)(me.DayPicker_weekHeader_ul), fe));
|
|
21442
21442
|
}, K.render = function() {
|
|
21443
|
-
for (var L = this, ee = this.state, ie = ee.calendarMonthWidth, le = ee.currentMonth, oe = ee.monthTransition, ce = ee.translationValue, me = ee.scrollableMonthMultiple, we = ee.focusedDate, de = ee.showKeyboardShortcuts, ne = ee.isTouchDevice, ue = ee.hasSetHeight, ge = ee.calendarInfoWidth, Me = ee.monthTitleHeight, fe = this.props, Pe = fe.enableOutsideDays, be = fe.numberOfMonths, je = fe.orientation, J = fe.modifiers, re = fe.withPortal, Te = fe.onDayClick, Re = fe.onDayMouseEnter, Fe = fe.onDayMouseLeave, Ee = fe.firstDayOfWeek, pt = fe.renderMonthText, Ct = fe.renderCalendarDay, at = fe.renderDayContents, tt = fe.renderCalendarInfo, rt = fe.renderMonthElement, Dt = fe.renderKeyboardShortcutsButton, xt = fe.renderKeyboardShortcutsPanel, Vt = fe.calendarInfoPosition, xe = fe.hideKeyboardShortcutsPanel, mr = fe.onOutsideClick, Et = fe.monthFormat, ur = fe.daySize, fr = fe.isFocused, Gt = fe.isRTL, bt = fe.styles, dr = fe.theme, Yt = fe.phrases, sr = fe.verticalHeight, ar = fe.dayAriaLabelFormat, Z = fe.noBorder, ye = fe.transitionDuration, _e = fe.verticalBorderSpacing, qe = fe.horizontalMonthPadding,
|
|
21443
|
+
for (var L = this, ee = this.state, ie = ee.calendarMonthWidth, le = ee.currentMonth, oe = ee.monthTransition, ce = ee.translationValue, me = ee.scrollableMonthMultiple, we = ee.focusedDate, de = ee.showKeyboardShortcuts, ne = ee.isTouchDevice, ue = ee.hasSetHeight, ge = ee.calendarInfoWidth, Me = ee.monthTitleHeight, fe = this.props, Pe = fe.enableOutsideDays, be = fe.numberOfMonths, je = fe.orientation, J = fe.modifiers, re = fe.withPortal, Te = fe.onDayClick, Re = fe.onDayMouseEnter, Fe = fe.onDayMouseLeave, Ee = fe.firstDayOfWeek, pt = fe.renderMonthText, Ct = fe.renderCalendarDay, at = fe.renderDayContents, tt = fe.renderCalendarInfo, rt = fe.renderMonthElement, Dt = fe.renderKeyboardShortcutsButton, xt = fe.renderKeyboardShortcutsPanel, Vt = fe.calendarInfoPosition, xe = fe.hideKeyboardShortcutsPanel, mr = fe.onOutsideClick, Et = fe.monthFormat, ur = fe.daySize, fr = fe.isFocused, Gt = fe.isRTL, bt = fe.styles, dr = fe.theme, Yt = fe.phrases, sr = fe.verticalHeight, ar = fe.dayAriaLabelFormat, Z = fe.noBorder, ye = fe.transitionDuration, _e = fe.verticalBorderSpacing, qe = fe.horizontalMonthPadding, Ke = fe.navPosition, st = dr.reactDates.spacing.dayPickerHorizontalPadding, ze = this.isHorizontal(), Ye = this.isVertical() ? 1 : be, lr = [], jt = 0; jt < Ye; jt += 1)
|
|
21444
21444
|
lr.push(this.renderWeekHeader(jt));
|
|
21445
21445
|
var Mt = je === N.VERTICAL_SCROLLABLE, hr;
|
|
21446
21446
|
ze ? hr = this.calendarMonthGridHeight : this.isVertical() && !Mt && !re && (hr = sr || 1.75 * ie);
|
|
@@ -21479,7 +21479,7 @@ function dy() {
|
|
|
21479
21479
|
role: "application",
|
|
21480
21480
|
"aria-roledescription": Yt.roleDescription,
|
|
21481
21481
|
"aria-label": Yt.calendarLabel
|
|
21482
|
-
}), !Mt &&
|
|
21482
|
+
}), !Mt && Ke === N.NAV_POSITION_TOP && this.renderNavigation(), u.default.createElement("div", (0, a.default)({}, (0, f.css)(bt.DayPicker_transitionContainer, ii && bt.DayPicker_transitionContainer__horizontal, this.isVertical() && bt.DayPicker_transitionContainer__vertical, Mt && bt.DayPicker_transitionContainer__verticalScrollable, cO), {
|
|
21483
21483
|
ref: this.setTransitionContainerRef
|
|
21484
21484
|
}), Mt && this.renderNavigation(U), u.default.createElement(S.default, {
|
|
21485
21485
|
setMonthTitleHeight: Me ? void 0 : this.setMonthTitleHeight,
|
|
@@ -21512,7 +21512,7 @@ function dy() {
|
|
|
21512
21512
|
transitionDuration: ye,
|
|
21513
21513
|
verticalBorderSpacing: _e,
|
|
21514
21514
|
horizontalMonthPadding: qe
|
|
21515
|
-
}), Mt && this.renderNavigation(Q)), !Mt &&
|
|
21515
|
+
}), Mt && this.renderNavigation(Q)), !Mt && Ke === N.NAV_POSITION_BOTTOM && this.renderNavigation(), !ne && !xe && u.default.createElement(E.default, {
|
|
21516
21516
|
block: this.isVertical() && !re,
|
|
21517
21517
|
buttonLocation: cr,
|
|
21518
21518
|
showKeyboardShortcutsPanel: de,
|
|
@@ -22570,7 +22570,7 @@ function xE() {
|
|
|
22570
22570
|
var p = this.props, q = p.withPortal, z = p.withFullScreenPortal, V = p.appendToBody;
|
|
22571
22571
|
return this.isOpened() ? q || z || V ? s.default.createElement(d.Portal, null, this.renderDayPicker()) : this.renderDayPicker() : null;
|
|
22572
22572
|
}, N.renderDayPicker = function() {
|
|
22573
|
-
var p = this.props, q = p.anchorDirection, z = p.openDirection, V = p.isDayBlocked, G = p.isDayHighlighted, U = p.isOutsideRange, Q = p.numberOfMonths, te = p.orientation, Y = p.monthFormat, T = p.renderMonthText, B = p.renderWeekHeaderElement, W = p.dayPickerNavigationInlineStyles, K = p.navPosition, ae = p.navPrev, X = p.navNext, L = p.renderNavPrevButton, ee = p.renderNavNextButton, ie = p.onPrevMonthClick, le = p.onNextMonthClick, oe = p.onDatesChange, ce = p.onFocusChange, me = p.withPortal, we = p.withFullScreenPortal, de = p.daySize, ne = p.enableOutsideDays, ue = p.focusedInput, ge = p.startDate, Me = p.startDateOffset, fe = p.endDate, Pe = p.endDateOffset, be = p.minDate, je = p.maxDate, J = p.minimumNights, re = p.keepOpenOnDateSelect, Te = p.renderCalendarDay, Re = p.renderDayContents, Fe = p.renderCalendarInfo, Ee = p.renderMonthElement, pt = p.calendarInfoPosition, Ct = p.firstDayOfWeek, at = p.initialVisibleMonth, tt = p.hideKeyboardShortcutsPanel, rt = p.customCloseIcon, Dt = p.onClose, xt = p.phrases, Vt = p.dayAriaLabelFormat, xe = p.isRTL, mr = p.weekDayFormat, Et = p.styles, ur = p.verticalHeight, fr = p.transitionDuration, Gt = p.verticalSpacing, bt = p.horizontalMonthPadding, dr = p.small, Yt = p.disabled, sr = p.theme.reactDates, ar = this.state, Z = ar.dayPickerContainerStyles, ye = ar.isDayPickerFocused, _e = ar.showKeyboardShortcuts, qe = !we && me ? this.onOutsideClick : void 0,
|
|
22573
|
+
var p = this.props, q = p.anchorDirection, z = p.openDirection, V = p.isDayBlocked, G = p.isDayHighlighted, U = p.isOutsideRange, Q = p.numberOfMonths, te = p.orientation, Y = p.monthFormat, T = p.renderMonthText, B = p.renderWeekHeaderElement, W = p.dayPickerNavigationInlineStyles, K = p.navPosition, ae = p.navPrev, X = p.navNext, L = p.renderNavPrevButton, ee = p.renderNavNextButton, ie = p.onPrevMonthClick, le = p.onNextMonthClick, oe = p.onDatesChange, ce = p.onFocusChange, me = p.withPortal, we = p.withFullScreenPortal, de = p.daySize, ne = p.enableOutsideDays, ue = p.focusedInput, ge = p.startDate, Me = p.startDateOffset, fe = p.endDate, Pe = p.endDateOffset, be = p.minDate, je = p.maxDate, J = p.minimumNights, re = p.keepOpenOnDateSelect, Te = p.renderCalendarDay, Re = p.renderDayContents, Fe = p.renderCalendarInfo, Ee = p.renderMonthElement, pt = p.calendarInfoPosition, Ct = p.firstDayOfWeek, at = p.initialVisibleMonth, tt = p.hideKeyboardShortcutsPanel, rt = p.customCloseIcon, Dt = p.onClose, xt = p.phrases, Vt = p.dayAriaLabelFormat, xe = p.isRTL, mr = p.weekDayFormat, Et = p.styles, ur = p.verticalHeight, fr = p.transitionDuration, Gt = p.verticalSpacing, bt = p.horizontalMonthPadding, dr = p.small, Yt = p.disabled, sr = p.theme.reactDates, ar = this.state, Z = ar.dayPickerContainerStyles, ye = ar.isDayPickerFocused, _e = ar.showKeyboardShortcuts, qe = !we && me ? this.onOutsideClick : void 0, Ke = at || function() {
|
|
22574
22574
|
return ge || fe || (0, l.default)();
|
|
22575
22575
|
}, st = rt || s.default.createElement(R.default, (0, u.css)(Et.DateRangePicker_closeButton_svg)), ze = (0, _.default)(sr, dr), Ye = me || we;
|
|
22576
22576
|
return s.default.createElement("div", (0, n.default)({
|
|
@@ -22602,7 +22602,7 @@ function xE() {
|
|
|
22602
22602
|
renderWeekHeaderElement: B,
|
|
22603
22603
|
withPortal: Ye,
|
|
22604
22604
|
daySize: de,
|
|
22605
|
-
initialVisibleMonth:
|
|
22605
|
+
initialVisibleMonth: Ke,
|
|
22606
22606
|
hideKeyboardShortcutsPanel: tt,
|
|
22607
22607
|
dayPickerNavigationInlineStyles: W,
|
|
22608
22608
|
navPosition: K,
|
|
@@ -24267,14 +24267,14 @@ function NE() {
|
|
|
24267
24267
|
Fe = [];
|
|
24268
24268
|
else if (ee(Fe, re) >= 0)
|
|
24269
24269
|
return "[Circular]";
|
|
24270
|
-
function xt(
|
|
24270
|
+
function xt(Ke, st, ze) {
|
|
24271
24271
|
if (st && (Fe = R.call(Fe), Fe.push(st)), ze) {
|
|
24272
24272
|
var Ye = {
|
|
24273
24273
|
depth: Ee.depth
|
|
24274
24274
|
};
|
|
24275
|
-
return ae(Ee, "quoteStyle") && (Ye.quoteStyle = Ee.quoteStyle), J(
|
|
24275
|
+
return ae(Ee, "quoteStyle") && (Ye.quoteStyle = Ee.quoteStyle), J(Ke, Ye, Re + 1, Fe);
|
|
24276
24276
|
}
|
|
24277
|
-
return J(
|
|
24277
|
+
return J(Ke, Ee, Re + 1, Fe);
|
|
24278
24278
|
}
|
|
24279
24279
|
if (typeof re == "function" && !U(re)) {
|
|
24280
24280
|
var Vt = L(re), xe = je(re, xt);
|
|
@@ -24307,14 +24307,14 @@ function NE() {
|
|
|
24307
24307
|
}
|
|
24308
24308
|
if (ie(re)) {
|
|
24309
24309
|
var dr = [];
|
|
24310
|
-
return n && n.call(re, function(
|
|
24311
|
-
dr.push(xt(st, re, !0) + " => " + xt(
|
|
24310
|
+
return n && n.call(re, function(Ke, st) {
|
|
24311
|
+
dr.push(xt(st, re, !0) + " => " + xt(Ke, re));
|
|
24312
24312
|
}), Me("Map", r.call(re), dr, Dt);
|
|
24313
24313
|
}
|
|
24314
24314
|
if (ce(re)) {
|
|
24315
24315
|
var Yt = [];
|
|
24316
|
-
return s && s.call(re, function(
|
|
24317
|
-
Yt.push(xt(
|
|
24316
|
+
return s && s.call(re, function(Ke) {
|
|
24317
|
+
Yt.push(xt(Ke, re));
|
|
24318
24318
|
}), Me("Set", o.call(re), Yt, Dt);
|
|
24319
24319
|
}
|
|
24320
24320
|
if (le(re))
|
|
@@ -28280,7 +28280,7 @@ const vP = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%20
|
|
|
28280
28280
|
return /* @__PURE__ */ h.jsxs(
|
|
28281
28281
|
"div",
|
|
28282
28282
|
He(pe({
|
|
28283
|
-
className:
|
|
28283
|
+
className: Ue("ds-mb-6", v && "ds-cursor-not-allowed ds-opacity-30"),
|
|
28284
28284
|
ref: t
|
|
28285
28285
|
}, m), {
|
|
28286
28286
|
children: [
|
|
@@ -28486,7 +28486,7 @@ const Zj = _r(
|
|
|
28486
28486
|
return /* @__PURE__ */ h.jsxs(
|
|
28487
28487
|
"div",
|
|
28488
28488
|
He(pe({
|
|
28489
|
-
className:
|
|
28489
|
+
className: Ue("ds-mb-6", f && "ds-cursor-not-allowed ds-opacity-30"),
|
|
28490
28490
|
ref: t
|
|
28491
28491
|
}, v), {
|
|
28492
28492
|
children: [
|
|
@@ -31207,7 +31207,7 @@ const eF = se.forwardRef(
|
|
|
31207
31207
|
"div",
|
|
31208
31208
|
{
|
|
31209
31209
|
ref: b,
|
|
31210
|
-
className:
|
|
31210
|
+
className: Ue(
|
|
31211
31211
|
"ds-box-border ds-w-full ds-overflow-hidden ds-rounded",
|
|
31212
31212
|
(!m || g === "none") && "ds-border-2 ds-border-Fills-quadrutery ds-bg-white hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
|
|
31213
31213
|
m && g === "selected" && "ds-border-2 ds-border-accentEggplant-100 ds-bg-accentEggplant-5 ds-bg-opacity-50 hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
|
|
@@ -31247,7 +31247,7 @@ const eF = se.forwardRef(
|
|
|
31247
31247
|
) && /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsx(
|
|
31248
31248
|
"div",
|
|
31249
31249
|
{
|
|
31250
|
-
className:
|
|
31250
|
+
className: Ue(
|
|
31251
31251
|
"ds-absolute ds-left-0 ds-top-0 ds-z-10 ds-size-6 ds-rounded-full",
|
|
31252
31252
|
g === "selected" && "ds-cursor-pointer ds-bg-accentEggplant-100",
|
|
31253
31253
|
g === "added" && "ds-bg-Background-accentTeal-100"
|
|
@@ -31262,7 +31262,7 @@ const eF = se.forwardRef(
|
|
|
31262
31262
|
(o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ h.jsx("div", { className: "ds-absolute ds-right-4 ds-top-2 ds-z-10", children: /* @__PURE__ */ h.jsx("div", { className: "ds-flex ds-flex-row ds-items-end ds-justify-center", children: o.map((_, S) => /* @__PURE__ */ h.jsx(
|
|
31263
31263
|
"div",
|
|
31264
31264
|
{
|
|
31265
|
-
className:
|
|
31265
|
+
className: Ue(S > 0 && "ds-ms-2"),
|
|
31266
31266
|
children: /* @__PURE__ */ h.jsx(
|
|
31267
31267
|
Lp,
|
|
31268
31268
|
{
|
|
@@ -31302,7 +31302,7 @@ const eF = se.forwardRef(
|
|
|
31302
31302
|
/* @__PURE__ */ h.jsxs(
|
|
31303
31303
|
"div",
|
|
31304
31304
|
{
|
|
31305
|
-
className:
|
|
31305
|
+
className: Ue(
|
|
31306
31306
|
"ds-p-4",
|
|
31307
31307
|
m && g && [
|
|
31308
31308
|
"added"
|
|
@@ -31333,7 +31333,7 @@ const eF = se.forwardRef(
|
|
|
31333
31333
|
(s == null ? void 0 : s.length) > 0 && /* @__PURE__ */ h.jsx("div", { className: "ds-mb-4 ds-flex ds-flex-row", children: s.map((_, S) => /* @__PURE__ */ h.jsx(
|
|
31334
31334
|
"div",
|
|
31335
31335
|
{
|
|
31336
|
-
className:
|
|
31336
|
+
className: Ue(S > 0 && "ds-ms-2"),
|
|
31337
31337
|
children: /* @__PURE__ */ h.jsx(
|
|
31338
31338
|
Lp,
|
|
31339
31339
|
{
|
|
@@ -31610,7 +31610,7 @@ const rF = _r(
|
|
|
31610
31610
|
ref: t
|
|
31611
31611
|
}, f), {
|
|
31612
31612
|
children: [
|
|
31613
|
-
/* @__PURE__ */ h.jsx("div", { className:
|
|
31613
|
+
/* @__PURE__ */ h.jsx("div", { className: Ue("ds-flex ds-flex-wrap ds-gap-2", d), children: n.length > 0 ? n.map((S) => /* @__PURE__ */ h.jsx(se.Fragment, { children: i ? /* @__PURE__ */ h.jsx(
|
|
31614
31614
|
vr,
|
|
31615
31615
|
{
|
|
31616
31616
|
selected: v.some((M) => M.value === S.value),
|
|
@@ -36134,7 +36134,7 @@ const B5 = (a) => {
|
|
|
36134
36134
|
Iy,
|
|
36135
36135
|
pe({
|
|
36136
36136
|
tooltip: e,
|
|
36137
|
-
className:
|
|
36137
|
+
className: Ue(t, r ? "ds-opacity-30" : ""),
|
|
36138
36138
|
disabled: r
|
|
36139
36139
|
}, n)
|
|
36140
36140
|
);
|
|
@@ -36364,7 +36364,7 @@ const KB = ({ hideEdit: e, hideShare: t }) => [
|
|
|
36364
36364
|
/* @__PURE__ */ h.jsxs(
|
|
36365
36365
|
"div",
|
|
36366
36366
|
{
|
|
36367
|
-
className:
|
|
36367
|
+
className: Ue(
|
|
36368
36368
|
"ds-flex ds-flex-row ds-items-start ds-gap-x-4 ds-border-b ds-border-Fills-quadrutery ds-bg-white ds-py-4 last:ds-border-b-0 ds-tablet:ds-cursor-default ds-tablet:ds-py-6",
|
|
36369
36369
|
(!l || !u) && "ds-cursor-pointer"
|
|
36370
36370
|
),
|
|
@@ -36485,7 +36485,7 @@ const eS = () => /* @__PURE__ */ h.jsx("div", { className: "ds-absolute ds-left-
|
|
|
36485
36485
|
}, c) => /* @__PURE__ */ h.jsxs(
|
|
36486
36486
|
"div",
|
|
36487
36487
|
{
|
|
36488
|
-
className:
|
|
36488
|
+
className: Ue(
|
|
36489
36489
|
e,
|
|
36490
36490
|
"ds-relative ds-flex ds-flex-row-reverse ds-justify-between ds-gap-x-4 ds-px-6 ds-py-4 ds-tablet:ds-w-full ds-tablet:ds-flex-row ds-tablet:ds-gap-6 ds-tablet:ds-px-10 ds-tablet:ds-py-4"
|
|
36491
36491
|
),
|
|
@@ -36900,7 +36900,7 @@ const SY = It, DY = (e) => {
|
|
|
36900
36900
|
}, uV = ({ children: e, className: t }) => /* @__PURE__ */ h.jsx(
|
|
36901
36901
|
"div",
|
|
36902
36902
|
{
|
|
36903
|
-
className:
|
|
36903
|
+
className: Ue(
|
|
36904
36904
|
"ds-absolute ds-left-0 ds-top-0 ds-flex ds-h-dvh ds-w-dvw ds-items-center ds-justify-center ds-bg-[rgba(0,0,0,0.48)] ds-opacity-[0.48]",
|
|
36905
36905
|
t
|
|
36906
36906
|
),
|
|
@@ -36924,7 +36924,7 @@ const xY = ({
|
|
|
36924
36924
|
}) => /* @__PURE__ */ h.jsx(
|
|
36925
36925
|
Ki,
|
|
36926
36926
|
{
|
|
36927
|
-
className:
|
|
36927
|
+
className: Ue(
|
|
36928
36928
|
l && "ds-flex ds-items-end ds-justify-center ds-tablet:ds-items-center",
|
|
36929
36929
|
r,
|
|
36930
36930
|
!l && "ds-hidden"
|
|
@@ -36936,7 +36936,7 @@ const xY = ({
|
|
|
36936
36936
|
children: /* @__PURE__ */ h.jsxs(
|
|
36937
36937
|
"div",
|
|
36938
36938
|
{
|
|
36939
|
-
className:
|
|
36939
|
+
className: Ue(
|
|
36940
36940
|
"ds-flex ds-flex-col ds-items-center ds-bg-white ds-shadow-[0px_12px_24px_0px_rgba(0,0,0,0.12)] ds-tablet:ds-max-w-[560px] ds-tablet:ds-rounded-lg",
|
|
36941
36941
|
n
|
|
36942
36942
|
),
|
|
@@ -36953,7 +36953,7 @@ const xY = ({
|
|
|
36953
36953
|
/* @__PURE__ */ h.jsx(
|
|
36954
36954
|
"div",
|
|
36955
36955
|
{
|
|
36956
|
-
className:
|
|
36956
|
+
className: Ue(
|
|
36957
36957
|
"ds-w-full ds-rounded-b-lg ds-px-4 ds-py-6 ds-tablet:ds-bg-[#F6F8FC] ds-tablet:ds-px-8 ds-tablet:ds-py-8",
|
|
36958
36958
|
i
|
|
36959
36959
|
),
|
|
@@ -36978,7 +36978,7 @@ const xY = ({
|
|
|
36978
36978
|
return /* @__PURE__ */ h.jsx(
|
|
36979
36979
|
vr,
|
|
36980
36980
|
He(pe({
|
|
36981
|
-
className:
|
|
36981
|
+
className: Ue("ds-flex-1", r),
|
|
36982
36982
|
size: n
|
|
36983
36983
|
}, a), {
|
|
36984
36984
|
children: t
|
|
@@ -36988,7 +36988,7 @@ const xY = ({
|
|
|
36988
36988
|
}) }), cV = ({ title: e, subTitle: t, className: r, onClose: n }) => /* @__PURE__ */ h.jsxs(
|
|
36989
36989
|
"div",
|
|
36990
36990
|
{
|
|
36991
|
-
className:
|
|
36991
|
+
className: Ue(
|
|
36992
36992
|
"ds-relative ds-flex ds-w-full ds-flex-col ds-items-center ds-gap-2 ds-rounded-t-lg ds-bg-white ds-px-14 ds-py-4",
|
|
36993
36993
|
r
|
|
36994
36994
|
),
|
|
@@ -37006,7 +37006,7 @@ const xY = ({
|
|
|
37006
37006
|
t && /* @__PURE__ */ h.jsx("div", { className: "ds-text-xSmallCalloutRegular ds-tablet:ds-text-mediumCalloutRegular", children: t })
|
|
37007
37007
|
]
|
|
37008
37008
|
}
|
|
37009
|
-
), PY = ({ steps: e, className: t }) => /* @__PURE__ */ h.jsx("div", { className:
|
|
37009
|
+
), PY = ({ steps: e, className: t }) => /* @__PURE__ */ h.jsx("div", { className: Ue("ds-flex ds-flex-col ds-gap-4 ds-tablet:ds-gap-6", t), children: e.map((r) => /* @__PURE__ */ h.jsx(
|
|
37010
37010
|
fV,
|
|
37011
37011
|
{
|
|
37012
37012
|
title: r.title,
|
|
@@ -37021,11 +37021,11 @@ const xY = ({
|
|
|
37021
37021
|
IconComponent: r,
|
|
37022
37022
|
iconClassName: n,
|
|
37023
37023
|
className: a
|
|
37024
|
-
}) => /* @__PURE__ */ h.jsxs("div", { className:
|
|
37024
|
+
}) => /* @__PURE__ */ h.jsxs("div", { className: Ue("ds-flex ds-gap-4", a), children: [
|
|
37025
37025
|
/* @__PURE__ */ h.jsx("div", { className: "ds-flex ds-size-[60px] ds-items-center ds-justify-center ds-rounded-sm ds-bg-Background-accentEggplant-5 ds-tablet:ds-size-[70px]", children: /* @__PURE__ */ h.jsx(
|
|
37026
37026
|
r,
|
|
37027
37027
|
{
|
|
37028
|
-
className:
|
|
37028
|
+
className: Ue("ds-size-6 ds-tablet:ds-size-7", n)
|
|
37029
37029
|
}
|
|
37030
37030
|
) }),
|
|
37031
37031
|
/* @__PURE__ */ h.jsxs("div", { className: "ds-flex ds-flex-1 ds-flex-col ds-gap-1", children: [
|
|
@@ -37572,7 +37572,7 @@ const OY = (r) => {
|
|
|
37572
37572
|
const c = () => {
|
|
37573
37573
|
d(e);
|
|
37574
37574
|
};
|
|
37575
|
-
return /* @__PURE__ */ h.jsxs("div", { className:
|
|
37575
|
+
return /* @__PURE__ */ h.jsxs("div", { className: Ue(u), children: [
|
|
37576
37576
|
/* @__PURE__ */ h.jsx(
|
|
37577
37577
|
"div",
|
|
37578
37578
|
{
|
|
@@ -37646,19 +37646,19 @@ const zV = {
|
|
|
37646
37646
|
/* @__PURE__ */ h.jsx(
|
|
37647
37647
|
"div",
|
|
37648
37648
|
{
|
|
37649
|
-
className:
|
|
37649
|
+
className: Ue("ds-h-4 ds-border-l", a === "first" && "ds-border-none")
|
|
37650
37650
|
}
|
|
37651
37651
|
),
|
|
37652
37652
|
/* @__PURE__ */ h.jsx(
|
|
37653
37653
|
"div",
|
|
37654
37654
|
{
|
|
37655
|
-
className:
|
|
37655
|
+
className: Ue("ds-flex-1 ds-border-l", a === "last" && "ds-border-none")
|
|
37656
37656
|
}
|
|
37657
37657
|
),
|
|
37658
37658
|
/* @__PURE__ */ h.jsx(
|
|
37659
37659
|
"div",
|
|
37660
37660
|
{
|
|
37661
|
-
className:
|
|
37661
|
+
className: Ue(
|
|
37662
37662
|
"ds-absolute ds-top-3 ds-h-[9px] ds-w-[9px] ds-rounded-full",
|
|
37663
37663
|
zV[n]
|
|
37664
37664
|
)
|
|
@@ -37672,7 +37672,7 @@ const zV = {
|
|
|
37672
37672
|
] }),
|
|
37673
37673
|
/* @__PURE__ */ h.jsx("div", { className: "ds-text-mediumCaption1Regular ds-text-Text-secondary", children: t })
|
|
37674
37674
|
] })
|
|
37675
|
-
] }), VV = ({ className: e, paymentItems: t }) => /* @__PURE__ */ h.jsx("ul", { className:
|
|
37675
|
+
] }), VV = ({ className: e, paymentItems: t }) => /* @__PURE__ */ h.jsx("ul", { className: Ue(e), children: t.map((r, n) => /* @__PURE__ */ h.jsx("li", { children: /* @__PURE__ */ h.jsx(
|
|
37676
37676
|
BV,
|
|
37677
37677
|
He(pe({}, r), {
|
|
37678
37678
|
positionInSchedule: n === 0 ? "first" : n === t.length - 1 ? "last" : "in-between"
|
|
@@ -37686,7 +37686,7 @@ const zV = {
|
|
|
37686
37686
|
currency: i
|
|
37687
37687
|
}) => {
|
|
37688
37688
|
const o = [Ia, ea];
|
|
37689
|
-
return /* @__PURE__ */ h.jsxs("div", { className:
|
|
37689
|
+
return /* @__PURE__ */ h.jsxs("div", { className: Ue(a), children: [
|
|
37690
37690
|
/* @__PURE__ */ h.jsxs("div", { className: "ds-flex ds-cursor-text ds-flex-row ds-flex-nowrap ds-items-center ds-justify-between", children: [
|
|
37691
37691
|
/* @__PURE__ */ h.jsxs("div", { className: "ds-relative ds-flex ds-flex-row ds-flex-nowrap ds-items-center ds-justify-start", children: [
|
|
37692
37692
|
e === Ia && /* @__PURE__ */ h.jsx(dC, { className: "ds-absolute ds-left-0 ds-top-1/2 ds-size-4 -ds-translate-y-1/2 ds-text-black" }),
|
|
@@ -37744,7 +37744,7 @@ const YV = ({
|
|
|
37744
37744
|
}), ([Ia, ea].includes(w.keyId) || b < n + a - 1 && w.keyId === _s) && (g -= w.amount);
|
|
37745
37745
|
}), m(g), f(y);
|
|
37746
37746
|
}, [r, t, n, a, s]), /* @__PURE__ */ h.jsx(h.Fragment, { children: (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
|
|
37747
|
-
/* @__PURE__ */ h.jsx("div", { className:
|
|
37747
|
+
/* @__PURE__ */ h.jsx("div", { className: Ue(e, "ds-grid ds-grid-cols-1 ds-gap-4"), children: r.map((g, y) => {
|
|
37748
37748
|
if ([Ia, ea].includes(g.keyId) || y < n + a - 1 && g.keyId === _s)
|
|
37749
37749
|
return /* @__PURE__ */ h.jsx(
|
|
37750
37750
|
Qp,
|
|
@@ -37846,7 +37846,7 @@ const KV = ({
|
|
|
37846
37846
|
className: i = ""
|
|
37847
37847
|
}) => {
|
|
37848
37848
|
const o = n / r * 100, s = lt(() => se.isValidElement(e) ? e : /* @__PURE__ */ h.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: e }), [e]), l = () => typeof t == "string" || typeof t == "number" ? /* @__PURE__ */ h.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: t }) : se.isValidElement(t) ? t : /* @__PURE__ */ h.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: `${o.toFixed(2)}%` });
|
|
37849
|
-
return /* @__PURE__ */ h.jsxs("div", { className:
|
|
37849
|
+
return /* @__PURE__ */ h.jsxs("div", { className: Ue("ds-w-full", i), children: [
|
|
37850
37850
|
/* @__PURE__ */ h.jsxs("div", { className: "ds-mb-1 ds-flex ds-items-center ds-justify-between", children: [
|
|
37851
37851
|
s(),
|
|
37852
37852
|
l()
|
|
@@ -37895,7 +37895,7 @@ const CY = ({
|
|
|
37895
37895
|
}), []), /* @__PURE__ */ h.jsxs(
|
|
37896
37896
|
"div",
|
|
37897
37897
|
{
|
|
37898
|
-
className:
|
|
37898
|
+
className: Ue(
|
|
37899
37899
|
"ds-relative ds-w-full ds-cursor-pointer",
|
|
37900
37900
|
u && "ds-pointer-events-none",
|
|
37901
37901
|
a
|
|
@@ -37917,8 +37917,8 @@ const CY = ({
|
|
|
37917
37917
|
{
|
|
37918
37918
|
ref: v,
|
|
37919
37919
|
className: "ds-group ds-text-mediumBodyRegular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
|
|
37920
|
-
|
|
37921
|
-
"ds-flex ds-items-center ds-justify-between ds-gap-2 ds-whitespace-nowrap ds-rounded-sm ds-border ds-border-Fills-terciary ds-px-4 ds-py-2 ds-text-Text-primary hover:ds-border-Fills-secondary focus:ds-border-Fills-black active:ds-border-Fills-black",
|
|
37920
|
+
Ue(
|
|
37921
|
+
"ds-flex ds-items-center ds-justify-between ds-gap-2 ds-whitespace-nowrap ds-rounded-sm ds-border ds-border-Fills-terciary ds-bg-white ds-px-4 ds-py-2 ds-text-Text-primary hover:ds-border-Fills-secondary focus:ds-border-Fills-black active:ds-border-Fills-black",
|
|
37922
37922
|
{
|
|
37923
37923
|
"ds-border-Fills-black hover:ds-border-Fills-black": d,
|
|
37924
37924
|
"ds-border-System-red ds-bg-System-red ds-bg-opacity-[0.1] ds-text-System-red hover:ds-border-System-red focus:ds-border-System-red active:ds-border-System-red": n,
|
|
@@ -37927,11 +37927,11 @@ const CY = ({
|
|
|
37927
37927
|
),
|
|
37928
37928
|
onClick: () => !u && c((y) => !y),
|
|
37929
37929
|
children: [
|
|
37930
|
-
g(t) ? /* @__PURE__ */ h.jsx("span", { className:
|
|
37930
|
+
g(t) ? /* @__PURE__ */ h.jsx("span", { className: Ue({ "ds-text-Text-tertiary": u }), children: g(t) }) : /* @__PURE__ */ h.jsx("span", { className: "ds-text-Text-tertiary", children: o }),
|
|
37931
37931
|
/* @__PURE__ */ h.jsx(
|
|
37932
37932
|
vC,
|
|
37933
37933
|
{
|
|
37934
|
-
className:
|
|
37934
|
+
className: Ue(
|
|
37935
37935
|
"ds-size-4 ds-text-Fills-terciary group-hover:ds-text-Fills-secondary group-focus:ds-text-Fills-black group-active:ds-text-Fills-black",
|
|
37936
37936
|
{
|
|
37937
37937
|
"ds-text-Fills-black group-hover:ds-text-Fills-black": d,
|
|
@@ -38000,7 +38000,7 @@ const CY = ({
|
|
|
38000
38000
|
}, b = (_) => {
|
|
38001
38001
|
n && n(_.target.files);
|
|
38002
38002
|
};
|
|
38003
|
-
return /* @__PURE__ */ h.jsxs("div", { className:
|
|
38003
|
+
return /* @__PURE__ */ h.jsxs("div", { className: Ue("ds-group ds-flex ds-flex-col ds-gap-2", d), children: [
|
|
38004
38004
|
/* @__PURE__ */ h.jsxs("div", { className: Ne(f && "ds-flex ds-w-full ds-items-center ds-justify-between"), children: [
|
|
38005
38005
|
e && /* @__PURE__ */ h.jsx(
|
|
38006
38006
|
tg,
|
|
@@ -38021,10 +38021,11 @@ const CY = ({
|
|
|
38021
38021
|
/* @__PURE__ */ h.jsxs(
|
|
38022
38022
|
"div",
|
|
38023
38023
|
{
|
|
38024
|
-
className:
|
|
38025
|
-
"ds-flex ds-cursor-pointer ds-items-center ds-gap-2 ds-rounded-sm ds-border ds-border-Fills-terciary ds-px-2 ds-py-1.5 hover:ds-border-Fills-secondary",
|
|
38024
|
+
className: Ue(
|
|
38025
|
+
"ds-flex ds-cursor-pointer ds-items-center ds-gap-2 ds-rounded-sm ds-border ds-border-Fills-terciary ds-bg-white ds-px-2 ds-py-1.5 hover:ds-border-Fills-secondary",
|
|
38026
38026
|
{
|
|
38027
|
-
"ds-border-System-red ds-bg-System-red ds-bg-opacity-[0.1] hover:ds-border-System-red": c
|
|
38027
|
+
"ds-border-System-red ds-bg-System-red ds-bg-opacity-[0.1] hover:ds-border-System-red": c,
|
|
38028
|
+
"ds-pointer-events-none ds-bg-Fills-quintiary ds-bg-opacity-[0.05]": a
|
|
38028
38029
|
}
|
|
38029
38030
|
),
|
|
38030
38031
|
onClick: w,
|
|
@@ -38069,23 +38070,35 @@ const CY = ({
|
|
|
38069
38070
|
disabled: e,
|
|
38070
38071
|
label: t,
|
|
38071
38072
|
onClick: r
|
|
38072
|
-
}) => /* @__PURE__ */ h.jsxs(
|
|
38073
|
-
|
|
38074
|
-
|
|
38075
|
-
|
|
38076
|
-
|
|
38077
|
-
|
|
38078
|
-
|
|
38079
|
-
|
|
38080
|
-
|
|
38081
|
-
|
|
38082
|
-
|
|
38083
|
-
|
|
38084
|
-
|
|
38073
|
+
}) => /* @__PURE__ */ h.jsxs(
|
|
38074
|
+
"div",
|
|
38075
|
+
{
|
|
38076
|
+
className: Ue(
|
|
38077
|
+
"ds-flex ds-items-center ds-gap-1 ds-rounded-sm ds-bg-Fills-quadrutery ds-px-4 ds-py-2 ds-text-mediumFootnoteEmphasized",
|
|
38078
|
+
{
|
|
38079
|
+
"group-hover:ds-bg-[rgba(0,0,0,0.15)]": !e,
|
|
38080
|
+
"ds-pointer-events-none": e
|
|
38081
|
+
}
|
|
38082
|
+
),
|
|
38083
|
+
children: [
|
|
38084
|
+
/* @__PURE__ */ h.jsx(fC, { className: "ds-size-4" }),
|
|
38085
|
+
/* @__PURE__ */ h.jsx(
|
|
38086
|
+
"button",
|
|
38087
|
+
{
|
|
38088
|
+
className: "ds-p-0",
|
|
38089
|
+
onClick: r,
|
|
38090
|
+
type: "button",
|
|
38091
|
+
disabled: e,
|
|
38092
|
+
children: t
|
|
38093
|
+
}
|
|
38094
|
+
)
|
|
38095
|
+
]
|
|
38096
|
+
}
|
|
38097
|
+
), ZV = ({ isComplete: e, message: t }) => /* @__PURE__ */ h.jsxs(
|
|
38085
38098
|
"div",
|
|
38086
38099
|
{
|
|
38087
38100
|
className: "ds-flex ds-items-center ds-gap-2 ds-text-mediumCaption1Regular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
|
|
38088
|
-
|
|
38101
|
+
Ue("ds-text-Text-secondary", e && "ds-text-Background-accentTeal-100"),
|
|
38089
38102
|
children: [
|
|
38090
38103
|
e && /* @__PURE__ */ h.jsx(lC, { className: "ds-size-4" }),
|
|
38091
38104
|
!e && /* @__PURE__ */ h.jsx(hC, { className: "ds-size-4" }),
|
|
@@ -38206,7 +38219,7 @@ export {
|
|
|
38206
38219
|
m8 as TwoColumnDialog,
|
|
38207
38220
|
gY as WarningIcon,
|
|
38208
38221
|
wY as WifiIcon,
|
|
38209
|
-
|
|
38222
|
+
Ue as cn,
|
|
38210
38223
|
Wj as desktopMinWidth,
|
|
38211
38224
|
gS as formatCurrency,
|
|
38212
38225
|
my as tabletMinWidth,
|