@equinor/roma-framework 0.0.12 → 0.1.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/dev-portal/package.json +1 -1
- package/dev-portal/roma-framework.umd.js +276 -191
- package/index.d.ts +1 -0
- package/lib/api/ms-graph/api/group/find-group-members.d.ts +3 -0
- package/lib/api/ms-graph/api/user/find-user-by-shortname.d.ts +1 -0
- package/lib/api/ms-graph/api/user/find-users-by-mail.d.ts +3 -0
- package/lib/api/ms-graph/index.d.ts +11 -0
- package/lib/api/ms-graph/model/group-membership.d.ts +8 -0
- package/lib/api/ms-graph/model/user.d.ts +18 -0
- package/lib/api/roma/api/app-controller/app-controller.d.ts +36 -8
- package/lib/api/roma/api/category-controller/category-controller.d.ts +8 -8
- package/lib/api/roma/api/feedback-controller/feedback-controller.d.ts +31 -0
- package/lib/api/roma/api/roma-configuration-controller/roma-configuration-controller.d.ts +1 -1
- package/lib/api/roma/api/service-controller/service-controller.d.ts +8 -8
- package/lib/api/roma/api/setting-controller/setting-controller.d.ts +32 -32
- package/lib/api/roma/index.d.ts +1 -0
- package/lib/api/roma/model/environmentDto.d.ts +1 -0
- package/lib/api/roma/model/feedbackDetailsDto.d.ts +13 -0
- package/lib/api/roma/model/feedbackDto.d.ts +7 -0
- package/lib/api/roma/model/feedbackFeedbackDto.d.ts +13 -0
- package/lib/api/roma/model/feedbackResponseDto.d.ts +5 -0
- package/lib/api/roma/model/feedbackResponseIssueDto.d.ts +11 -0
- package/lib/api/roma/model/feedbackSolutionDto.d.ts +10 -0
- package/lib/api/roma/model/getAllApps200.d.ts +10 -0
- package/lib/api/roma/model/getAllCategories200.d.ts +10 -0
- package/lib/api/roma/model/getAllServices200.d.ts +10 -0
- package/lib/api/roma/model/getSettingsByAppShortName200.d.ts +10 -0
- package/lib/api/roma/model/getSettingsByUserId200.d.ts +10 -0
- package/lib/api/roma/model/index.d.ts +12 -0
- package/lib/api/roma/model/romaConfigurationDtoValue.d.ts +3 -1
- package/lib/api/roma/model/serverSentEventStandardEventDto.d.ts +3 -1
- package/lib/api/roma/model/settingDtoValue.d.ts +3 -1
- package/lib/api/roma/model/uploadBundleBody.d.ts +10 -0
- package/lib/api/roma/use-client.d.ts +1 -1
- package/package.json +1 -1
- package/roma-framework.mjs +132 -1
|
@@ -59794,7 +59794,7 @@ ${error2.join("\n")}`);
|
|
|
59794
59794
|
return cache2[arg];
|
|
59795
59795
|
};
|
|
59796
59796
|
}
|
|
59797
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|
|
|
59797
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
|
|
59798
59798
|
var isPropValid = /* @__PURE__ */ memoize(
|
|
59799
59799
|
function(prop) {
|
|
59800
59800
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
|
|
@@ -62082,8 +62082,11 @@ ${error2.join("\n")}`);
|
|
|
62082
62082
|
}
|
|
62083
62083
|
}
|
|
62084
62084
|
};
|
|
62085
|
+
var _placeholder$1 = {
|
|
62086
|
+
"@@functional/placeholder": true
|
|
62087
|
+
};
|
|
62085
62088
|
function _isPlaceholder$1(a2) {
|
|
62086
|
-
return a2
|
|
62089
|
+
return a2 === _placeholder$1;
|
|
62087
62090
|
}
|
|
62088
62091
|
function _curry1$1(fn2) {
|
|
62089
62092
|
return function f1(a2) {
|
|
@@ -62152,7 +62155,7 @@ ${error2.join("\n")}`);
|
|
|
62152
62155
|
function _has$1(prop, obj) {
|
|
62153
62156
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
62154
62157
|
}
|
|
62155
|
-
var mergeWithKey$
|
|
62158
|
+
var mergeWithKey$1 = /* @__PURE__ */ _curry3$1(function mergeWithKey2(fn2, l2, r2) {
|
|
62156
62159
|
var result = {};
|
|
62157
62160
|
var k2;
|
|
62158
62161
|
l2 = l2 || {};
|
|
@@ -62169,9 +62172,8 @@ ${error2.join("\n")}`);
|
|
|
62169
62172
|
}
|
|
62170
62173
|
return result;
|
|
62171
62174
|
});
|
|
62172
|
-
var
|
|
62173
|
-
|
|
62174
|
-
return mergeWithKey$1$1(function(k2, lVal, rVal) {
|
|
62175
|
+
var mergeDeepWithKey$1 = /* @__PURE__ */ _curry3$1(function mergeDeepWithKey2(fn2, lObj, rObj) {
|
|
62176
|
+
return mergeWithKey$1(function(k2, lVal, rVal) {
|
|
62175
62177
|
if (_isObject$1(lVal) && _isObject$1(rVal)) {
|
|
62176
62178
|
return mergeDeepWithKey2(fn2, lVal, rVal);
|
|
62177
62179
|
} else {
|
|
@@ -62179,13 +62181,11 @@ ${error2.join("\n")}`);
|
|
|
62179
62181
|
}
|
|
62180
62182
|
}, lObj, rObj);
|
|
62181
62183
|
});
|
|
62182
|
-
var
|
|
62183
|
-
|
|
62184
|
-
return mergeDeepWithKey$1$1(function(k2, lVal, rVal) {
|
|
62184
|
+
var mergeDeepRight$1 = /* @__PURE__ */ _curry2$1(function mergeDeepRight2(lObj, rObj) {
|
|
62185
|
+
return mergeDeepWithKey$1(function(k2, lVal, rVal) {
|
|
62185
62186
|
return rVal;
|
|
62186
62187
|
}, lObj, rObj);
|
|
62187
62188
|
});
|
|
62188
|
-
var mergeDeepRight$1$1 = mergeDeepRight$2;
|
|
62189
62189
|
const {
|
|
62190
62190
|
colors: {
|
|
62191
62191
|
text: {
|
|
@@ -62220,7 +62220,7 @@ ${error2.join("\n")}`);
|
|
|
62220
62220
|
}
|
|
62221
62221
|
}
|
|
62222
62222
|
} = tokens$1;
|
|
62223
|
-
const primary$7 = mergeDeepRight$1
|
|
62223
|
+
const primary$7 = mergeDeepRight$1(button, {
|
|
62224
62224
|
background: primaryColor$3,
|
|
62225
62225
|
typography: {
|
|
62226
62226
|
color: primaryWhite$2
|
|
@@ -62238,7 +62238,7 @@ ${error2.join("\n")}`);
|
|
|
62238
62238
|
}
|
|
62239
62239
|
}
|
|
62240
62240
|
});
|
|
62241
|
-
const secondary$5 = mergeDeepRight$1
|
|
62241
|
+
const secondary$5 = mergeDeepRight$1(primary$7, {
|
|
62242
62242
|
background: secondaryColor$3,
|
|
62243
62243
|
border: {
|
|
62244
62244
|
color: secondaryColor$3
|
|
@@ -62252,7 +62252,7 @@ ${error2.join("\n")}`);
|
|
|
62252
62252
|
}
|
|
62253
62253
|
}
|
|
62254
62254
|
});
|
|
62255
|
-
const danger$6 = mergeDeepRight$1
|
|
62255
|
+
const danger$6 = mergeDeepRight$1(primary$7, {
|
|
62256
62256
|
background: dangerColor$3,
|
|
62257
62257
|
border: {
|
|
62258
62258
|
color: dangerColor$3
|
|
@@ -62304,7 +62304,7 @@ ${error2.join("\n")}`);
|
|
|
62304
62304
|
}
|
|
62305
62305
|
}
|
|
62306
62306
|
} = tokens$1;
|
|
62307
|
-
const primary$6 = mergeDeepRight$1
|
|
62307
|
+
const primary$6 = mergeDeepRight$1(button, {
|
|
62308
62308
|
typography: {
|
|
62309
62309
|
color: primaryColor$2
|
|
62310
62310
|
},
|
|
@@ -62333,7 +62333,7 @@ ${error2.join("\n")}`);
|
|
|
62333
62333
|
}
|
|
62334
62334
|
}
|
|
62335
62335
|
});
|
|
62336
|
-
const secondary$4 = mergeDeepRight$1
|
|
62336
|
+
const secondary$4 = mergeDeepRight$1(primary$6, {
|
|
62337
62337
|
typography: {
|
|
62338
62338
|
color: secondaryColor$2
|
|
62339
62339
|
},
|
|
@@ -62352,7 +62352,7 @@ ${error2.join("\n")}`);
|
|
|
62352
62352
|
}
|
|
62353
62353
|
}
|
|
62354
62354
|
});
|
|
62355
|
-
const danger$5 = mergeDeepRight$1
|
|
62355
|
+
const danger$5 = mergeDeepRight$1(primary$6, {
|
|
62356
62356
|
typography: {
|
|
62357
62357
|
color: dangerColor$2
|
|
62358
62358
|
},
|
|
@@ -62404,7 +62404,7 @@ ${error2.join("\n")}`);
|
|
|
62404
62404
|
}
|
|
62405
62405
|
}
|
|
62406
62406
|
} = tokens$1;
|
|
62407
|
-
const primary$5 = mergeDeepRight$1
|
|
62407
|
+
const primary$5 = mergeDeepRight$1(button, {
|
|
62408
62408
|
typography: {
|
|
62409
62409
|
color: primaryColor$1
|
|
62410
62410
|
},
|
|
@@ -62423,7 +62423,7 @@ ${error2.join("\n")}`);
|
|
|
62423
62423
|
}
|
|
62424
62424
|
}
|
|
62425
62425
|
});
|
|
62426
|
-
const secondary$3 = mergeDeepRight$1
|
|
62426
|
+
const secondary$3 = mergeDeepRight$1(primary$5, {
|
|
62427
62427
|
typography: {
|
|
62428
62428
|
color: secondaryColor$1
|
|
62429
62429
|
},
|
|
@@ -62436,7 +62436,7 @@ ${error2.join("\n")}`);
|
|
|
62436
62436
|
}
|
|
62437
62437
|
}
|
|
62438
62438
|
});
|
|
62439
|
-
const danger$4 = mergeDeepRight$1
|
|
62439
|
+
const danger$4 = mergeDeepRight$1(primary$5, {
|
|
62440
62440
|
typography: {
|
|
62441
62441
|
color: dangerColor$1
|
|
62442
62442
|
},
|
|
@@ -62489,7 +62489,7 @@ ${error2.join("\n")}`);
|
|
|
62489
62489
|
}
|
|
62490
62490
|
}
|
|
62491
62491
|
} = tokens$1;
|
|
62492
|
-
const primary$4 = mergeDeepRight$1
|
|
62492
|
+
const primary$4 = mergeDeepRight$1(button, {
|
|
62493
62493
|
height: shape$1.icon_button.minHeight,
|
|
62494
62494
|
width: shape$1.icon_button.minWidth,
|
|
62495
62495
|
typography: {
|
|
@@ -62507,7 +62507,7 @@ ${error2.join("\n")}`);
|
|
|
62507
62507
|
clickbound: {
|
|
62508
62508
|
width: clicboundHeight$1,
|
|
62509
62509
|
offset: {
|
|
62510
|
-
top:
|
|
62510
|
+
top: `${(parseInt(clicboundHeight$1) - parseInt(shape$1.icon_button.minWidth)) / 2}px`,
|
|
62511
62511
|
left: `${(parseInt(clicboundHeight$1) - parseInt(shape$1.icon_button.minWidth)) / 2}px`
|
|
62512
62512
|
}
|
|
62513
62513
|
},
|
|
@@ -62545,7 +62545,7 @@ ${error2.join("\n")}`);
|
|
|
62545
62545
|
}
|
|
62546
62546
|
}
|
|
62547
62547
|
});
|
|
62548
|
-
const secondary$2 = mergeDeepRight$1
|
|
62548
|
+
const secondary$2 = mergeDeepRight$1(primary$4, {
|
|
62549
62549
|
typography: {
|
|
62550
62550
|
color: secondaryColor
|
|
62551
62551
|
},
|
|
@@ -62558,7 +62558,7 @@ ${error2.join("\n")}`);
|
|
|
62558
62558
|
}
|
|
62559
62559
|
}
|
|
62560
62560
|
});
|
|
62561
|
-
const danger$3 = mergeDeepRight$1
|
|
62561
|
+
const danger$3 = mergeDeepRight$1(primary$4, {
|
|
62562
62562
|
typography: {
|
|
62563
62563
|
color: dangerColor
|
|
62564
62564
|
},
|
|
@@ -62592,8 +62592,8 @@ ${error2.join("\n")}`);
|
|
|
62592
62592
|
clickbound: {
|
|
62593
62593
|
width: clicboundHeight,
|
|
62594
62594
|
offset: {
|
|
62595
|
-
top:
|
|
62596
|
-
left: `${(parseInt(clicboundHeight) - parseInt(
|
|
62595
|
+
top: `${(parseInt(clicboundHeight) - parseInt(shape.icon_button.minWidth)) / 2}px`,
|
|
62596
|
+
left: `${(parseInt(clicboundHeight) - parseInt(shape.icon_button.minWidth)) / 2}px`
|
|
62597
62597
|
}
|
|
62598
62598
|
},
|
|
62599
62599
|
states: {
|
|
@@ -62618,9 +62618,9 @@ ${error2.join("\n")}`);
|
|
|
62618
62618
|
}
|
|
62619
62619
|
}
|
|
62620
62620
|
};
|
|
62621
|
-
const primary$3 = mergeDeepRight$1
|
|
62622
|
-
const secondary$1 = mergeDeepRight$1
|
|
62623
|
-
const danger$2 = mergeDeepRight$1
|
|
62621
|
+
const primary$3 = mergeDeepRight$1(primary$7, contained_icon);
|
|
62622
|
+
const secondary$1 = mergeDeepRight$1(secondary$5, contained_icon);
|
|
62623
|
+
const danger$2 = mergeDeepRight$1(danger$6, contained_icon);
|
|
62624
62624
|
const token$1 = {
|
|
62625
62625
|
primary: {
|
|
62626
62626
|
contained: primary$7,
|
|
@@ -62682,8 +62682,11 @@ ${error2.join("\n")}`);
|
|
|
62682
62682
|
}, [el]);
|
|
62683
62683
|
return inDialog;
|
|
62684
62684
|
};
|
|
62685
|
+
var _placeholder = {
|
|
62686
|
+
"@@functional/placeholder": true
|
|
62687
|
+
};
|
|
62685
62688
|
function _isPlaceholder(a2) {
|
|
62686
|
-
return a2
|
|
62689
|
+
return a2 === _placeholder;
|
|
62687
62690
|
}
|
|
62688
62691
|
function _curry1(fn2) {
|
|
62689
62692
|
return function f1(a2) {
|
|
@@ -62769,9 +62772,8 @@ ${error2.join("\n")}`);
|
|
|
62769
62772
|
}
|
|
62770
62773
|
return result;
|
|
62771
62774
|
});
|
|
62772
|
-
var mergeWithKey$1 = mergeWithKey;
|
|
62773
62775
|
var mergeDeepWithKey = /* @__PURE__ */ _curry3(function mergeDeepWithKey2(fn2, lObj, rObj) {
|
|
62774
|
-
return mergeWithKey
|
|
62776
|
+
return mergeWithKey(function(k2, lVal, rVal) {
|
|
62775
62777
|
if (_isObject(lVal) && _isObject(rVal)) {
|
|
62776
62778
|
return mergeDeepWithKey2(fn2, lVal, rVal);
|
|
62777
62779
|
} else {
|
|
@@ -62779,19 +62781,17 @@ ${error2.join("\n")}`);
|
|
|
62779
62781
|
}
|
|
62780
62782
|
}, lObj, rObj);
|
|
62781
62783
|
});
|
|
62782
|
-
var mergeDeepWithKey$1 = mergeDeepWithKey;
|
|
62783
62784
|
var mergeDeepRight = /* @__PURE__ */ _curry2(function mergeDeepRight2(lObj, rObj) {
|
|
62784
|
-
return mergeDeepWithKey
|
|
62785
|
+
return mergeDeepWithKey(function(k2, lVal, rVal) {
|
|
62785
62786
|
return rVal;
|
|
62786
62787
|
}, lObj, rObj);
|
|
62787
62788
|
});
|
|
62788
|
-
var mergeDeepRight$1 = mergeDeepRight;
|
|
62789
62789
|
const useToken = (options, token2) => reactExports.useCallback(() => {
|
|
62790
62790
|
const {
|
|
62791
62791
|
density
|
|
62792
62792
|
} = options;
|
|
62793
62793
|
if (density === "compact") {
|
|
62794
|
-
return mergeDeepRight
|
|
62794
|
+
return mergeDeepRight(token2, token2.modes.compact);
|
|
62795
62795
|
}
|
|
62796
62796
|
return token2;
|
|
62797
62797
|
}, [options, token2]);
|
|
@@ -63023,7 +63023,7 @@ cursor: pointer;`;
|
|
|
63023
63023
|
hover: hover2,
|
|
63024
63024
|
disabled: disabled2
|
|
63025
63025
|
} = states;
|
|
63026
|
-
return nt(["box-sizing:border-box;margin:0;padding:0;text-decoration:none;position:relative;cursor:pointer;display:inline-block;background:", ";height:", ";width:", ";svg{justify-self:center;}", " ", " ", " &::
|
|
63026
|
+
return nt(["box-sizing:border-box;margin:0;padding:0;text-decoration:none;position:relative;cursor:pointer;display:inline-block;background:", ";height:", ";width:", ";svg{justify-self:center;}", " ", " ", " &::after{position:absolute;top:-", ";left:-", ";width:", ";height:", ";content:'';}@media (hover:hover) and (pointer:fine){&:hover{background:", ";color:", ";", ";}}&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}&::-moz-focus-inner{border:0;}&:disabled,&[aria-disabled='true']{cursor:not-allowed;background:", ";", ";", ";@media (hover:hover) and (pointer:fine){&:hover{background:", ";}}}"], theme.background, theme.height, theme.width, spacingsTemplate(theme.spacings), bordersTemplate(theme.border), typographyTemplate(theme.typography), (_a2 = clickbound == null ? void 0 : clickbound.offset) == null ? void 0 : _a2.top, (_b2 = clickbound == null ? void 0 : clickbound.offset) == null ? void 0 : _b2.left, clickbound == null ? void 0 : clickbound.width, clickbound == null ? void 0 : clickbound.height, hover2.background, (_c2 = hover2.typography) == null ? void 0 : _c2.color, bordersTemplate(hover2 == null ? void 0 : hover2.border), outlineTemplate(focus2.outline), outlineTemplate(focus2.outline), disabled2.background, bordersTemplate(disabled2.border), typographyTemplate(disabled2.typography), disabled2.background);
|
|
63027
63027
|
});
|
|
63028
63028
|
const Button$3 = /* @__PURE__ */ reactExports.forwardRef(function Button2({
|
|
63029
63029
|
color = "primary",
|
|
@@ -63215,9 +63215,8 @@ cursor: pointer;`;
|
|
|
63215
63215
|
while (isHTMLElement$1(currentNode) && !isLastTraversableNode$1(currentNode)) {
|
|
63216
63216
|
if (isContainingBlock$1(currentNode)) {
|
|
63217
63217
|
return currentNode;
|
|
63218
|
-
} else {
|
|
63219
|
-
currentNode = getParentNode$1(currentNode);
|
|
63220
63218
|
}
|
|
63219
|
+
currentNode = getParentNode$1(currentNode);
|
|
63221
63220
|
}
|
|
63222
63221
|
return null;
|
|
63223
63222
|
}
|
|
@@ -63497,12 +63496,21 @@ cursor: pointer;`;
|
|
|
63497
63496
|
};
|
|
63498
63497
|
}
|
|
63499
63498
|
function rectToClientRect$1(rect) {
|
|
63499
|
+
const {
|
|
63500
|
+
x: x2,
|
|
63501
|
+
y: y2,
|
|
63502
|
+
width,
|
|
63503
|
+
height
|
|
63504
|
+
} = rect;
|
|
63500
63505
|
return {
|
|
63501
|
-
|
|
63502
|
-
|
|
63503
|
-
|
|
63504
|
-
|
|
63505
|
-
|
|
63506
|
+
width,
|
|
63507
|
+
height,
|
|
63508
|
+
top: y2,
|
|
63509
|
+
left: x2,
|
|
63510
|
+
right: x2 + width,
|
|
63511
|
+
bottom: y2 + height,
|
|
63512
|
+
x: x2,
|
|
63513
|
+
y: y2
|
|
63506
63514
|
};
|
|
63507
63515
|
}
|
|
63508
63516
|
function computeCoordsFromPlacement$1(_ref, placement, rtl) {
|
|
@@ -63673,9 +63681,10 @@ cursor: pointer;`;
|
|
|
63673
63681
|
strategy
|
|
63674
63682
|
}));
|
|
63675
63683
|
const rect = elementContext === "floating" ? {
|
|
63676
|
-
...rects.floating,
|
|
63677
63684
|
x: x2,
|
|
63678
|
-
y: y2
|
|
63685
|
+
y: y2,
|
|
63686
|
+
width: rects.floating.width,
|
|
63687
|
+
height: rects.floating.height
|
|
63679
63688
|
} : rects.reference;
|
|
63680
63689
|
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
63681
63690
|
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
@@ -63698,7 +63707,7 @@ cursor: pointer;`;
|
|
|
63698
63707
|
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
63699
63708
|
};
|
|
63700
63709
|
}
|
|
63701
|
-
const arrow$
|
|
63710
|
+
const arrow$4 = (options) => ({
|
|
63702
63711
|
name: "arrow",
|
|
63703
63712
|
options,
|
|
63704
63713
|
async fn(state) {
|
|
@@ -63760,7 +63769,7 @@ cursor: pointer;`;
|
|
|
63760
63769
|
};
|
|
63761
63770
|
}
|
|
63762
63771
|
});
|
|
63763
|
-
const flip$
|
|
63772
|
+
const flip$3 = function(options) {
|
|
63764
63773
|
if (options === void 0) {
|
|
63765
63774
|
options = {};
|
|
63766
63775
|
}
|
|
@@ -63892,7 +63901,7 @@ cursor: pointer;`;
|
|
|
63892
63901
|
y: crossAxis * crossAxisMulti
|
|
63893
63902
|
};
|
|
63894
63903
|
}
|
|
63895
|
-
const offset$
|
|
63904
|
+
const offset$3 = function(options) {
|
|
63896
63905
|
if (options === void 0) {
|
|
63897
63906
|
options = 0;
|
|
63898
63907
|
}
|
|
@@ -63922,7 +63931,7 @@ cursor: pointer;`;
|
|
|
63922
63931
|
}
|
|
63923
63932
|
};
|
|
63924
63933
|
};
|
|
63925
|
-
const shift$
|
|
63934
|
+
const shift$3 = function(options) {
|
|
63926
63935
|
if (options === void 0) {
|
|
63927
63936
|
options = {};
|
|
63928
63937
|
}
|
|
@@ -63990,7 +63999,7 @@ cursor: pointer;`;
|
|
|
63990
63999
|
}
|
|
63991
64000
|
};
|
|
63992
64001
|
};
|
|
63993
|
-
const size$
|
|
64002
|
+
const size$3 = function(options) {
|
|
63994
64003
|
if (options === void 0) {
|
|
63995
64004
|
options = {};
|
|
63996
64005
|
}
|
|
@@ -64026,16 +64035,16 @@ cursor: pointer;`;
|
|
|
64026
64035
|
widthSide = side;
|
|
64027
64036
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
64028
64037
|
}
|
|
64029
|
-
const
|
|
64030
|
-
const
|
|
64038
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
64039
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
64040
|
+
const overflowAvailableHeight = min$1(height - overflow[heightSide], maximumClippingHeight);
|
|
64041
|
+
const overflowAvailableWidth = min$1(width - overflow[widthSide], maximumClippingWidth);
|
|
64031
64042
|
const noShift = !state.middlewareData.shift;
|
|
64032
64043
|
let availableHeight = overflowAvailableHeight;
|
|
64033
64044
|
let availableWidth = overflowAvailableWidth;
|
|
64034
64045
|
if (isYAxis) {
|
|
64035
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
64036
64046
|
availableWidth = alignment || noShift ? min$1(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
64037
64047
|
} else {
|
|
64038
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
64039
64048
|
availableHeight = alignment || noShift ? min$1(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
64040
64049
|
}
|
|
64041
64050
|
if (noShift && !alignment) {
|
|
@@ -64184,10 +64193,10 @@ cursor: pointer;`;
|
|
|
64184
64193
|
});
|
|
64185
64194
|
}
|
|
64186
64195
|
const topLayerSelectors$1 = [":popover-open", ":modal"];
|
|
64187
|
-
function isTopLayer$1(
|
|
64196
|
+
function isTopLayer$1(element) {
|
|
64188
64197
|
return topLayerSelectors$1.some((selector) => {
|
|
64189
64198
|
try {
|
|
64190
|
-
return
|
|
64199
|
+
return element.matches(selector);
|
|
64191
64200
|
} catch (e2) {
|
|
64192
64201
|
return false;
|
|
64193
64202
|
}
|
|
@@ -64353,7 +64362,7 @@ cursor: pointer;`;
|
|
|
64353
64362
|
rootBoundary,
|
|
64354
64363
|
strategy
|
|
64355
64364
|
} = _ref;
|
|
64356
|
-
const elementClippingAncestors = boundary === "clippingAncestors" ? getClippingElementAncestors$1(element, this._c) : [].concat(boundary);
|
|
64365
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer$1(element) ? [] : getClippingElementAncestors$1(element, this._c) : [].concat(boundary);
|
|
64357
64366
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
64358
64367
|
const firstClippingAncestor = clippingAncestors[0];
|
|
64359
64368
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -64412,6 +64421,9 @@ cursor: pointer;`;
|
|
|
64412
64421
|
height: rect.height
|
|
64413
64422
|
};
|
|
64414
64423
|
}
|
|
64424
|
+
function isStaticPositioned$1(element) {
|
|
64425
|
+
return getComputedStyle$1(element).position === "static";
|
|
64426
|
+
}
|
|
64415
64427
|
function getTrueOffsetParent$1(element, polyfill) {
|
|
64416
64428
|
if (!isHTMLElement$1(element) || getComputedStyle$1(element).position === "fixed") {
|
|
64417
64429
|
return null;
|
|
@@ -64422,28 +64434,40 @@ cursor: pointer;`;
|
|
|
64422
64434
|
return element.offsetParent;
|
|
64423
64435
|
}
|
|
64424
64436
|
function getOffsetParent$1(element, polyfill) {
|
|
64425
|
-
const
|
|
64426
|
-
if (
|
|
64427
|
-
return
|
|
64437
|
+
const win = getWindow$1(element);
|
|
64438
|
+
if (isTopLayer$1(element)) {
|
|
64439
|
+
return win;
|
|
64440
|
+
}
|
|
64441
|
+
if (!isHTMLElement$1(element)) {
|
|
64442
|
+
let svgOffsetParent = getParentNode$1(element);
|
|
64443
|
+
while (svgOffsetParent && !isLastTraversableNode$1(svgOffsetParent)) {
|
|
64444
|
+
if (isElement$1(svgOffsetParent) && !isStaticPositioned$1(svgOffsetParent)) {
|
|
64445
|
+
return svgOffsetParent;
|
|
64446
|
+
}
|
|
64447
|
+
svgOffsetParent = getParentNode$1(svgOffsetParent);
|
|
64448
|
+
}
|
|
64449
|
+
return win;
|
|
64428
64450
|
}
|
|
64429
64451
|
let offsetParent = getTrueOffsetParent$1(element, polyfill);
|
|
64430
|
-
while (offsetParent && isTableElement$1(offsetParent) &&
|
|
64452
|
+
while (offsetParent && isTableElement$1(offsetParent) && isStaticPositioned$1(offsetParent)) {
|
|
64431
64453
|
offsetParent = getTrueOffsetParent$1(offsetParent, polyfill);
|
|
64432
64454
|
}
|
|
64433
|
-
if (offsetParent &&
|
|
64434
|
-
return
|
|
64455
|
+
if (offsetParent && isLastTraversableNode$1(offsetParent) && isStaticPositioned$1(offsetParent) && !isContainingBlock$1(offsetParent)) {
|
|
64456
|
+
return win;
|
|
64435
64457
|
}
|
|
64436
|
-
return offsetParent || getContainingBlock$1(element) ||
|
|
64458
|
+
return offsetParent || getContainingBlock$1(element) || win;
|
|
64437
64459
|
}
|
|
64438
64460
|
const getElementRects$1 = async function(data) {
|
|
64439
64461
|
const getOffsetParentFn = this.getOffsetParent || getOffsetParent$1;
|
|
64440
64462
|
const getDimensionsFn = this.getDimensions;
|
|
64463
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
64441
64464
|
return {
|
|
64442
64465
|
reference: getRectRelativeToOffsetParent$1(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
64443
64466
|
floating: {
|
|
64444
64467
|
x: 0,
|
|
64445
64468
|
y: 0,
|
|
64446
|
-
|
|
64469
|
+
width: floatingDimensions.width,
|
|
64470
|
+
height: floatingDimensions.height
|
|
64447
64471
|
}
|
|
64448
64472
|
};
|
|
64449
64473
|
};
|
|
@@ -64511,7 +64535,7 @@ cursor: pointer;`;
|
|
|
64511
64535
|
if (!ratio) {
|
|
64512
64536
|
timeoutId2 = setTimeout(() => {
|
|
64513
64537
|
refresh(false, 1e-7);
|
|
64514
|
-
},
|
|
64538
|
+
}, 1e3);
|
|
64515
64539
|
} else {
|
|
64516
64540
|
refresh(false, ratio);
|
|
64517
64541
|
}
|
|
@@ -64600,10 +64624,11 @@ cursor: pointer;`;
|
|
|
64600
64624
|
}
|
|
64601
64625
|
};
|
|
64602
64626
|
}
|
|
64603
|
-
const
|
|
64604
|
-
const
|
|
64605
|
-
const
|
|
64606
|
-
const
|
|
64627
|
+
const offset$2 = offset$3;
|
|
64628
|
+
const shift$2 = shift$3;
|
|
64629
|
+
const flip$2 = flip$3;
|
|
64630
|
+
const size$2 = size$3;
|
|
64631
|
+
const arrow$3 = arrow$4;
|
|
64607
64632
|
const computePosition$1 = (reference, floating, options) => {
|
|
64608
64633
|
const cache2 = /* @__PURE__ */ new Map();
|
|
64609
64634
|
const mergedOptions = {
|
|
@@ -64619,37 +64644,6 @@ cursor: pointer;`;
|
|
|
64619
64644
|
platform: platformWithCache
|
|
64620
64645
|
});
|
|
64621
64646
|
};
|
|
64622
|
-
const arrow$1 = (options) => {
|
|
64623
|
-
function isRef(value) {
|
|
64624
|
-
return {}.hasOwnProperty.call(value, "current");
|
|
64625
|
-
}
|
|
64626
|
-
return {
|
|
64627
|
-
name: "arrow",
|
|
64628
|
-
options,
|
|
64629
|
-
fn(state) {
|
|
64630
|
-
const {
|
|
64631
|
-
element,
|
|
64632
|
-
padding
|
|
64633
|
-
} = typeof options === "function" ? options(state) : options;
|
|
64634
|
-
if (element && isRef(element)) {
|
|
64635
|
-
if (element.current != null) {
|
|
64636
|
-
return arrow$2({
|
|
64637
|
-
element: element.current,
|
|
64638
|
-
padding
|
|
64639
|
-
}).fn(state);
|
|
64640
|
-
}
|
|
64641
|
-
return {};
|
|
64642
|
-
}
|
|
64643
|
-
if (element) {
|
|
64644
|
-
return arrow$2({
|
|
64645
|
-
element,
|
|
64646
|
-
padding
|
|
64647
|
-
}).fn(state);
|
|
64648
|
-
}
|
|
64649
|
-
return {};
|
|
64650
|
-
}
|
|
64651
|
-
};
|
|
64652
|
-
};
|
|
64653
64647
|
var index$1 = typeof document !== "undefined" ? reactExports.useLayoutEffect : reactExports.useEffect;
|
|
64654
64648
|
function deepEqual(a2, b2) {
|
|
64655
64649
|
if (a2 === b2) {
|
|
@@ -64865,6 +64859,57 @@ cursor: pointer;`;
|
|
|
64865
64859
|
floatingStyles
|
|
64866
64860
|
}), [data, update, refs, elements, floatingStyles]);
|
|
64867
64861
|
}
|
|
64862
|
+
const arrow$1 = (options) => {
|
|
64863
|
+
function isRef(value) {
|
|
64864
|
+
return {}.hasOwnProperty.call(value, "current");
|
|
64865
|
+
}
|
|
64866
|
+
return {
|
|
64867
|
+
name: "arrow",
|
|
64868
|
+
options,
|
|
64869
|
+
fn(state) {
|
|
64870
|
+
const {
|
|
64871
|
+
element,
|
|
64872
|
+
padding
|
|
64873
|
+
} = typeof options === "function" ? options(state) : options;
|
|
64874
|
+
if (element && isRef(element)) {
|
|
64875
|
+
if (element.current != null) {
|
|
64876
|
+
return arrow$3({
|
|
64877
|
+
element: element.current,
|
|
64878
|
+
padding
|
|
64879
|
+
}).fn(state);
|
|
64880
|
+
}
|
|
64881
|
+
return {};
|
|
64882
|
+
}
|
|
64883
|
+
if (element) {
|
|
64884
|
+
return arrow$3({
|
|
64885
|
+
element,
|
|
64886
|
+
padding
|
|
64887
|
+
}).fn(state);
|
|
64888
|
+
}
|
|
64889
|
+
return {};
|
|
64890
|
+
}
|
|
64891
|
+
};
|
|
64892
|
+
};
|
|
64893
|
+
const offset$1 = (options, deps) => ({
|
|
64894
|
+
...offset$2(options),
|
|
64895
|
+
options: [options, deps]
|
|
64896
|
+
});
|
|
64897
|
+
const shift$1 = (options, deps) => ({
|
|
64898
|
+
...shift$2(options),
|
|
64899
|
+
options: [options, deps]
|
|
64900
|
+
});
|
|
64901
|
+
const flip$1 = (options, deps) => ({
|
|
64902
|
+
...flip$2(options),
|
|
64903
|
+
options: [options, deps]
|
|
64904
|
+
});
|
|
64905
|
+
const size$1 = (options, deps) => ({
|
|
64906
|
+
...size$2(options),
|
|
64907
|
+
options: [options, deps]
|
|
64908
|
+
});
|
|
64909
|
+
const arrow$2 = (options, deps) => ({
|
|
64910
|
+
...arrow$1(options),
|
|
64911
|
+
options: [options, deps]
|
|
64912
|
+
});
|
|
64868
64913
|
/*!
|
|
64869
64914
|
* tabbable 6.2.0
|
|
64870
64915
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -65291,8 +65336,7 @@ cursor: pointer;`;
|
|
|
65291
65336
|
elements: {
|
|
65292
65337
|
domReference,
|
|
65293
65338
|
floating
|
|
65294
|
-
}
|
|
65295
|
-
refs
|
|
65339
|
+
}
|
|
65296
65340
|
} = context2;
|
|
65297
65341
|
const {
|
|
65298
65342
|
enabled = true,
|
|
@@ -65307,9 +65351,9 @@ cursor: pointer;`;
|
|
|
65307
65351
|
const handleCloseRef = useLatestRef(handleClose);
|
|
65308
65352
|
const delayRef = useLatestRef(delay);
|
|
65309
65353
|
const pointerTypeRef = reactExports.useRef();
|
|
65310
|
-
const timeoutRef = reactExports.useRef();
|
|
65354
|
+
const timeoutRef = reactExports.useRef(-1);
|
|
65311
65355
|
const handlerRef = reactExports.useRef();
|
|
65312
|
-
const restTimeoutRef = reactExports.useRef();
|
|
65356
|
+
const restTimeoutRef = reactExports.useRef(-1);
|
|
65313
65357
|
const blockMouseMoveRef = reactExports.useRef(true);
|
|
65314
65358
|
const performedPointerEventsMutationRef = reactExports.useRef(false);
|
|
65315
65359
|
const unbindMouseMoveRef = reactExports.useRef(() => {
|
|
@@ -65363,24 +65407,24 @@ cursor: pointer;`;
|
|
|
65363
65407
|
const closeDelay = getDelay(delayRef.current, "close", pointerTypeRef.current);
|
|
65364
65408
|
if (closeDelay && !handlerRef.current) {
|
|
65365
65409
|
clearTimeout(timeoutRef.current);
|
|
65366
|
-
timeoutRef.current = setTimeout(() => onOpenChange(false, event, reason), closeDelay);
|
|
65410
|
+
timeoutRef.current = window.setTimeout(() => onOpenChange(false, event, reason), closeDelay);
|
|
65367
65411
|
} else if (runElseBranch) {
|
|
65368
65412
|
clearTimeout(timeoutRef.current);
|
|
65369
65413
|
onOpenChange(false, event, reason);
|
|
65370
65414
|
}
|
|
65371
65415
|
}, [delayRef, onOpenChange]);
|
|
65372
|
-
const cleanupMouseMoveHandler =
|
|
65416
|
+
const cleanupMouseMoveHandler = useEffectEvent(() => {
|
|
65373
65417
|
unbindMouseMoveRef.current();
|
|
65374
65418
|
handlerRef.current = void 0;
|
|
65375
|
-
}
|
|
65376
|
-
const clearPointerEvents =
|
|
65419
|
+
});
|
|
65420
|
+
const clearPointerEvents = useEffectEvent(() => {
|
|
65377
65421
|
if (performedPointerEventsMutationRef.current) {
|
|
65378
|
-
const body = getDocument$1(
|
|
65422
|
+
const body = getDocument$1(floating).body;
|
|
65379
65423
|
body.style.pointerEvents = "";
|
|
65380
65424
|
body.removeAttribute(safePolygonIdentifier);
|
|
65381
65425
|
performedPointerEventsMutationRef.current = false;
|
|
65382
65426
|
}
|
|
65383
|
-
}
|
|
65427
|
+
});
|
|
65384
65428
|
reactExports.useEffect(() => {
|
|
65385
65429
|
if (!enabled) {
|
|
65386
65430
|
return;
|
|
@@ -65391,12 +65435,12 @@ cursor: pointer;`;
|
|
|
65391
65435
|
function onMouseEnter(event) {
|
|
65392
65436
|
clearTimeout(timeoutRef.current);
|
|
65393
65437
|
blockMouseMoveRef.current = false;
|
|
65394
|
-
if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && getDelay(delayRef.current, "open")
|
|
65438
|
+
if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && !getDelay(delayRef.current, "open")) {
|
|
65395
65439
|
return;
|
|
65396
65440
|
}
|
|
65397
65441
|
const openDelay = getDelay(delayRef.current, "open", pointerTypeRef.current);
|
|
65398
65442
|
if (openDelay) {
|
|
65399
|
-
timeoutRef.current = setTimeout(() => {
|
|
65443
|
+
timeoutRef.current = window.setTimeout(() => {
|
|
65400
65444
|
onOpenChange(true, event, "hover");
|
|
65401
65445
|
}, openDelay);
|
|
65402
65446
|
} else {
|
|
@@ -65404,18 +65448,17 @@ cursor: pointer;`;
|
|
|
65404
65448
|
}
|
|
65405
65449
|
}
|
|
65406
65450
|
function onMouseLeave(event) {
|
|
65407
|
-
if (isClickLikeOpenEvent())
|
|
65451
|
+
if (isClickLikeOpenEvent())
|
|
65408
65452
|
return;
|
|
65409
|
-
}
|
|
65410
65453
|
unbindMouseMoveRef.current();
|
|
65411
65454
|
const doc = getDocument$1(floating);
|
|
65412
65455
|
clearTimeout(restTimeoutRef.current);
|
|
65413
|
-
if (handleCloseRef.current) {
|
|
65456
|
+
if (handleCloseRef.current && dataRef.current.floatingContext) {
|
|
65414
65457
|
if (!open) {
|
|
65415
65458
|
clearTimeout(timeoutRef.current);
|
|
65416
65459
|
}
|
|
65417
65460
|
handlerRef.current = handleCloseRef.current({
|
|
65418
|
-
...
|
|
65461
|
+
...dataRef.current.floatingContext,
|
|
65419
65462
|
tree,
|
|
65420
65463
|
x: event.clientX,
|
|
65421
65464
|
y: event.clientY,
|
|
@@ -65438,11 +65481,12 @@ cursor: pointer;`;
|
|
|
65438
65481
|
}
|
|
65439
65482
|
}
|
|
65440
65483
|
function onScrollMouseLeave(event) {
|
|
65441
|
-
if (isClickLikeOpenEvent())
|
|
65484
|
+
if (isClickLikeOpenEvent())
|
|
65485
|
+
return;
|
|
65486
|
+
if (!dataRef.current.floatingContext)
|
|
65442
65487
|
return;
|
|
65443
|
-
}
|
|
65444
65488
|
handleCloseRef.current == null || handleCloseRef.current({
|
|
65445
|
-
...
|
|
65489
|
+
...dataRef.current.floatingContext,
|
|
65446
65490
|
tree,
|
|
65447
65491
|
x: event.clientX,
|
|
65448
65492
|
y: event.clientY,
|
|
@@ -65524,9 +65568,12 @@ cursor: pointer;`;
|
|
|
65524
65568
|
onPointerDown: setPointerRef,
|
|
65525
65569
|
onPointerEnter: setPointerRef,
|
|
65526
65570
|
onMouseMove(event) {
|
|
65571
|
+
const {
|
|
65572
|
+
nativeEvent
|
|
65573
|
+
} = event;
|
|
65527
65574
|
function handleMouseMove() {
|
|
65528
65575
|
if (!blockMouseMoveRef.current) {
|
|
65529
|
-
onOpenChange(true,
|
|
65576
|
+
onOpenChange(true, nativeEvent, "hover");
|
|
65530
65577
|
}
|
|
65531
65578
|
}
|
|
65532
65579
|
if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {
|
|
@@ -65539,7 +65586,7 @@ cursor: pointer;`;
|
|
|
65539
65586
|
if (pointerTypeRef.current === "touch") {
|
|
65540
65587
|
handleMouseMove();
|
|
65541
65588
|
} else {
|
|
65542
|
-
restTimeoutRef.current = setTimeout(handleMouseMove, restMs);
|
|
65589
|
+
restTimeoutRef.current = window.setTimeout(handleMouseMove, restMs);
|
|
65543
65590
|
}
|
|
65544
65591
|
}
|
|
65545
65592
|
},
|
|
@@ -65685,6 +65732,8 @@ cursor: pointer;`;
|
|
|
65685
65732
|
};
|
|
65686
65733
|
}, [portalNode]);
|
|
65687
65734
|
index(() => {
|
|
65735
|
+
if (!uniqueId)
|
|
65736
|
+
return;
|
|
65688
65737
|
if (portalNodeRef.current)
|
|
65689
65738
|
return;
|
|
65690
65739
|
const existingIdRoot = id ? document.getElementById(id) : null;
|
|
@@ -65698,6 +65747,8 @@ cursor: pointer;`;
|
|
|
65698
65747
|
setPortalNode(subRoot);
|
|
65699
65748
|
}, [id, uniqueId]);
|
|
65700
65749
|
index(() => {
|
|
65750
|
+
if (!uniqueId)
|
|
65751
|
+
return;
|
|
65701
65752
|
if (portalNodeRef.current)
|
|
65702
65753
|
return;
|
|
65703
65754
|
let container = root || (portalContext == null ? void 0 : portalContext.portalNode);
|
|
@@ -65826,7 +65877,6 @@ cursor: pointer;`;
|
|
|
65826
65877
|
const {
|
|
65827
65878
|
open,
|
|
65828
65879
|
onOpenChange,
|
|
65829
|
-
nodeId,
|
|
65830
65880
|
elements: {
|
|
65831
65881
|
reference,
|
|
65832
65882
|
domReference,
|
|
@@ -65859,9 +65909,11 @@ cursor: pointer;`;
|
|
|
65859
65909
|
outsidePress: outsidePressCapture
|
|
65860
65910
|
} = normalizeProp(capture);
|
|
65861
65911
|
const closeOnEscapeKeyDown = useEffectEvent((event) => {
|
|
65912
|
+
var _dataRef$current$floa;
|
|
65862
65913
|
if (!open || !enabled || !escapeKey2 || event.key !== "Escape") {
|
|
65863
65914
|
return;
|
|
65864
65915
|
}
|
|
65916
|
+
const nodeId = (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;
|
|
65865
65917
|
const children2 = tree ? getChildren(tree.nodesRef.current, nodeId) : [];
|
|
65866
65918
|
if (!escapeKeyBubbles) {
|
|
65867
65919
|
event.stopPropagation();
|
|
@@ -65891,6 +65943,7 @@ cursor: pointer;`;
|
|
|
65891
65943
|
(_getTarget2 = getTarget(event)) == null || _getTarget2.addEventListener("keydown", callback);
|
|
65892
65944
|
});
|
|
65893
65945
|
const closeOnPressOutside = useEffectEvent((event) => {
|
|
65946
|
+
var _dataRef$current$floa2;
|
|
65894
65947
|
const insideReactTree = insideReactTreeRef.current;
|
|
65895
65948
|
insideReactTreeRef.current = false;
|
|
65896
65949
|
const endedOrStartedInside = endedOrStartedInsideRef.current;
|
|
@@ -65935,6 +65988,7 @@ cursor: pointer;`;
|
|
|
65935
65988
|
return;
|
|
65936
65989
|
}
|
|
65937
65990
|
}
|
|
65991
|
+
const nodeId = (_dataRef$current$floa2 = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa2.nodeId;
|
|
65938
65992
|
const targetIsInsideChildren = tree && getChildren(tree.nodesRef.current, nodeId).some((node2) => {
|
|
65939
65993
|
var _node$context;
|
|
65940
65994
|
return isEventTargetWithin(event, (_node$context = node2.context) == null ? void 0 : _node$context.elements.floating);
|
|
@@ -66039,25 +66093,74 @@ cursor: pointer;`;
|
|
|
66039
66093
|
};
|
|
66040
66094
|
}, [enabled, referencePress, outsidePressEvent, referencePressEvent, onOpenChange, closeOnEscapeKeyDown]);
|
|
66041
66095
|
}
|
|
66096
|
+
function useFloatingRootContext(options) {
|
|
66097
|
+
const {
|
|
66098
|
+
open = false,
|
|
66099
|
+
onOpenChange: onOpenChangeProp,
|
|
66100
|
+
elements: elementsProp
|
|
66101
|
+
} = options;
|
|
66102
|
+
const floatingId = useId();
|
|
66103
|
+
const dataRef = reactExports.useRef({});
|
|
66104
|
+
const [events] = reactExports.useState(() => createPubSub());
|
|
66105
|
+
const nested = useFloatingParentNodeId() != null;
|
|
66106
|
+
if (process.env.NODE_ENV !== "production") {
|
|
66107
|
+
const optionDomReference = elementsProp.reference;
|
|
66108
|
+
if (optionDomReference && !isElement$1(optionDomReference)) {
|
|
66109
|
+
error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
66110
|
+
}
|
|
66111
|
+
}
|
|
66112
|
+
const [positionReference, setPositionReference] = reactExports.useState(elementsProp.reference);
|
|
66113
|
+
const onOpenChange = useEffectEvent((open2, event, reason) => {
|
|
66114
|
+
dataRef.current.openEvent = open2 ? event : void 0;
|
|
66115
|
+
events.emit("openchange", {
|
|
66116
|
+
open: open2,
|
|
66117
|
+
event,
|
|
66118
|
+
reason,
|
|
66119
|
+
nested
|
|
66120
|
+
});
|
|
66121
|
+
onOpenChangeProp == null || onOpenChangeProp(open2, event, reason);
|
|
66122
|
+
});
|
|
66123
|
+
const refs = reactExports.useMemo(() => ({
|
|
66124
|
+
setPositionReference
|
|
66125
|
+
}), []);
|
|
66126
|
+
const elements = reactExports.useMemo(() => ({
|
|
66127
|
+
reference: positionReference || elementsProp.reference || null,
|
|
66128
|
+
floating: elementsProp.floating || null,
|
|
66129
|
+
domReference: elementsProp.reference
|
|
66130
|
+
}), [positionReference, elementsProp.reference, elementsProp.floating]);
|
|
66131
|
+
return reactExports.useMemo(() => ({
|
|
66132
|
+
dataRef,
|
|
66133
|
+
open,
|
|
66134
|
+
onOpenChange,
|
|
66135
|
+
elements,
|
|
66136
|
+
events,
|
|
66137
|
+
floatingId,
|
|
66138
|
+
refs
|
|
66139
|
+
}), [open, onOpenChange, elements, events, floatingId, refs]);
|
|
66140
|
+
}
|
|
66042
66141
|
function useFloating(options) {
|
|
66043
|
-
var _options$elements;
|
|
66044
66142
|
if (options === void 0) {
|
|
66045
66143
|
options = {};
|
|
66046
66144
|
}
|
|
66047
66145
|
const {
|
|
66048
|
-
open = false,
|
|
66049
|
-
onOpenChange: unstable_onOpenChange,
|
|
66050
66146
|
nodeId
|
|
66051
66147
|
} = options;
|
|
66148
|
+
const internalRootContext = useFloatingRootContext({
|
|
66149
|
+
...options,
|
|
66150
|
+
elements: {
|
|
66151
|
+
reference: null,
|
|
66152
|
+
floating: null,
|
|
66153
|
+
...options.elements
|
|
66154
|
+
}
|
|
66155
|
+
});
|
|
66156
|
+
const rootContext = options.rootContext || internalRootContext;
|
|
66157
|
+
const computedElements = rootContext.elements;
|
|
66052
66158
|
const [_domReference, setDomReference] = reactExports.useState(null);
|
|
66053
66159
|
const [positionReference, _setPositionReference] = reactExports.useState(null);
|
|
66054
|
-
const optionDomReference =
|
|
66160
|
+
const optionDomReference = computedElements == null ? void 0 : computedElements.reference;
|
|
66055
66161
|
const domReference = optionDomReference || _domReference;
|
|
66056
|
-
|
|
66057
|
-
|
|
66058
|
-
error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
66059
|
-
}
|
|
66060
|
-
}
|
|
66162
|
+
const domReferenceRef = reactExports.useRef(null);
|
|
66163
|
+
const tree = useFloatingTree();
|
|
66061
66164
|
index(() => {
|
|
66062
66165
|
if (domReference) {
|
|
66063
66166
|
domReferenceRef.current = domReference;
|
|
@@ -66066,28 +66169,12 @@ cursor: pointer;`;
|
|
|
66066
66169
|
const position2 = useFloating$1({
|
|
66067
66170
|
...options,
|
|
66068
66171
|
elements: {
|
|
66069
|
-
...
|
|
66172
|
+
...computedElements,
|
|
66070
66173
|
...positionReference && {
|
|
66071
66174
|
reference: positionReference
|
|
66072
66175
|
}
|
|
66073
66176
|
}
|
|
66074
66177
|
});
|
|
66075
|
-
const tree = useFloatingTree();
|
|
66076
|
-
const nested = useFloatingParentNodeId() != null;
|
|
66077
|
-
const onOpenChange = useEffectEvent((open2, event, reason) => {
|
|
66078
|
-
dataRef.current.openEvent = open2 ? event : void 0;
|
|
66079
|
-
events.emit("openchange", {
|
|
66080
|
-
open: open2,
|
|
66081
|
-
event,
|
|
66082
|
-
reason,
|
|
66083
|
-
nested
|
|
66084
|
-
});
|
|
66085
|
-
unstable_onOpenChange == null || unstable_onOpenChange(open2, event, reason);
|
|
66086
|
-
});
|
|
66087
|
-
const domReferenceRef = reactExports.useRef(null);
|
|
66088
|
-
const dataRef = reactExports.useRef({});
|
|
66089
|
-
const events = reactExports.useState(() => createPubSub())[0];
|
|
66090
|
-
const floatingId = useId();
|
|
66091
66178
|
const setPositionReference = reactExports.useCallback((node2) => {
|
|
66092
66179
|
const computedPositionReference = isElement$1(node2) ? {
|
|
66093
66180
|
getBoundingClientRect: () => node2.getBoundingClientRect(),
|
|
@@ -66120,16 +66207,13 @@ cursor: pointer;`;
|
|
|
66120
66207
|
}), [position2.elements, domReference]);
|
|
66121
66208
|
const context2 = reactExports.useMemo(() => ({
|
|
66122
66209
|
...position2,
|
|
66210
|
+
...rootContext,
|
|
66123
66211
|
refs,
|
|
66124
66212
|
elements,
|
|
66125
|
-
|
|
66126
|
-
|
|
66127
|
-
floatingId,
|
|
66128
|
-
events,
|
|
66129
|
-
open,
|
|
66130
|
-
onOpenChange
|
|
66131
|
-
}), [position2, nodeId, floatingId, events, open, onOpenChange, refs, elements]);
|
|
66213
|
+
nodeId
|
|
66214
|
+
}), [position2, refs, elements, nodeId, rootContext]);
|
|
66132
66215
|
index(() => {
|
|
66216
|
+
rootContext.dataRef.current.floatingContext = context2;
|
|
66133
66217
|
const node2 = tree == null ? void 0 : tree.nodesRef.current.find((node3) => node3.id === nodeId);
|
|
66134
66218
|
if (node2) {
|
|
66135
66219
|
node2.context = context2;
|
|
@@ -66150,7 +66234,7 @@ cursor: pointer;`;
|
|
|
66150
66234
|
open,
|
|
66151
66235
|
onOpenChange,
|
|
66152
66236
|
events,
|
|
66153
|
-
|
|
66237
|
+
dataRef,
|
|
66154
66238
|
elements: {
|
|
66155
66239
|
domReference
|
|
66156
66240
|
}
|
|
@@ -66241,10 +66325,11 @@ cursor: pointer;`;
|
|
|
66241
66325
|
const relatedTarget = event.relatedTarget;
|
|
66242
66326
|
const movedToFocusGuard = isElement$1(relatedTarget) && relatedTarget.hasAttribute(createAttribute("focus-guard")) && relatedTarget.getAttribute("data-type") === "outside";
|
|
66243
66327
|
timeoutRef.current = window.setTimeout(() => {
|
|
66328
|
+
var _dataRef$current$floa;
|
|
66244
66329
|
const activeEl = activeElement(domReference ? domReference.ownerDocument : document);
|
|
66245
66330
|
if (!relatedTarget && activeEl === domReference)
|
|
66246
66331
|
return;
|
|
66247
|
-
if (contains$1(refs.floating.current, activeEl) || contains$1(domReference, activeEl) || movedToFocusGuard) {
|
|
66332
|
+
if (contains$1((_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.refs.floating.current, activeEl) || contains$1(domReference, activeEl) || movedToFocusGuard) {
|
|
66248
66333
|
return;
|
|
66249
66334
|
}
|
|
66250
66335
|
onOpenChange(false, event.nativeEvent, "focus");
|
|
@@ -66252,7 +66337,7 @@ cursor: pointer;`;
|
|
|
66252
66337
|
}
|
|
66253
66338
|
}
|
|
66254
66339
|
};
|
|
66255
|
-
}, [enabled, visibleOnly,
|
|
66340
|
+
}, [enabled, visibleOnly, dataRef, domReference, onOpenChange]);
|
|
66256
66341
|
}
|
|
66257
66342
|
const ACTIVE_KEY = "active";
|
|
66258
66343
|
const SELECTED_KEY = "selected";
|
|
@@ -66476,7 +66561,7 @@ cursor: pointer;`;
|
|
|
66476
66561
|
onOpenChange: setOpen,
|
|
66477
66562
|
middleware: [offset$1(14), flip$1(), shift$1({
|
|
66478
66563
|
padding: 8
|
|
66479
|
-
}), arrow$
|
|
66564
|
+
}), arrow$2({
|
|
66480
66565
|
element: arrowRef
|
|
66481
66566
|
})],
|
|
66482
66567
|
whileElementsMounted: autoUpdate$1
|
|
@@ -66745,6 +66830,20 @@ cursor: pointer;`;
|
|
|
66745
66830
|
});
|
|
66746
66831
|
const Icon = Icon$1;
|
|
66747
66832
|
Icon.add = add;
|
|
66833
|
+
const business = {
|
|
66834
|
+
name: "business",
|
|
66835
|
+
prefix: "eds",
|
|
66836
|
+
height: "24",
|
|
66837
|
+
width: "24",
|
|
66838
|
+
svgPathData: "M12 7h10v14H2V3h10v4ZM4 19h2v-2H4v2Zm2-4H4v-2h2v2Zm-2-4h2V9H4v2Zm2-4H4V5h2v2Zm2 12h2v-2H8v2Zm2-4H8v-2h2v2Zm-2-4h2V9H8v2Zm2-4H8V5h2v2Zm10 12V9h-8v2h2v2h-2v2h2v2h-2v2h8Zm-2-8h-2v2h2v-2Zm-2 4h2v2h-2v-2Z"
|
|
66839
|
+
};
|
|
66840
|
+
const home = {
|
|
66841
|
+
name: "home",
|
|
66842
|
+
prefix: "eds",
|
|
66843
|
+
height: "24",
|
|
66844
|
+
width: "24",
|
|
66845
|
+
svgPathData: "M5 12.5H2l10-9 10 9h-3v8h-6v-6h-2v6H5v-8Zm12-1.81-5-4.5-5 4.5v7.81h2v-6h6v6h2v-7.81Z"
|
|
66846
|
+
};
|
|
66748
66847
|
const expand = {
|
|
66749
66848
|
name: "expand",
|
|
66750
66849
|
prefix: "eds",
|
|
@@ -66807,6 +66906,22 @@ cursor: pointer;`;
|
|
|
66807
66906
|
width: "24",
|
|
66808
66907
|
svgPathData: "M7.437 12 13 17.355 11.287 19 4 12l7.287-7L13 6.645 7.437 12Zm7 0L20 17.355 18.287 19 11 12l7.288-7L20 6.645 14.437 12Z"
|
|
66809
66908
|
};
|
|
66909
|
+
const accessible = {
|
|
66910
|
+
name: "accessible",
|
|
66911
|
+
prefix: "eds",
|
|
66912
|
+
height: "24",
|
|
66913
|
+
width: "24",
|
|
66914
|
+
svgPathData: "M14 4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2 3c2.83 0 5.89-.3 8.5-1l.5 2c-1.86.5-4 .83-6 1v13h-2v-6h-2v6H9V9c-2-.17-4.14-.5-6-1l.5-2c2.61.7 5.67 1 8.5 1Z",
|
|
66915
|
+
sizes: {
|
|
66916
|
+
small: {
|
|
66917
|
+
name: "accessible_small",
|
|
66918
|
+
prefix: "eds",
|
|
66919
|
+
height: "18",
|
|
66920
|
+
width: "18",
|
|
66921
|
+
svgPathData: "M10.5 3c0 .825-.675 1.5-1.5 1.5S7.5 3.825 7.5 3 8.175 1.5 9 1.5s1.5.675 1.5 1.5ZM9 5.25c2.123 0 4.418-.225 6.375-.75L15.75 6c-1.395.375-3 .622-4.5.75v9.75h-1.5V12h-1.5v4.5h-1.5V6.75c-1.5-.128-3.105-.375-4.5-.75l.375-1.5c1.957.525 4.253.75 6.375.75Z"
|
|
66922
|
+
}
|
|
66923
|
+
}
|
|
66924
|
+
};
|
|
66810
66925
|
const {
|
|
66811
66926
|
colors: {
|
|
66812
66927
|
ui: {
|
|
@@ -67661,7 +67776,7 @@ cursor: pointer;`;
|
|
|
67661
67776
|
$active
|
|
67662
67777
|
}) => $active && nt(["background:", ";*{color:", ";}"], activeToken.background, activeToken.typography.color), ({
|
|
67663
67778
|
disabled: disabled2
|
|
67664
|
-
}) => disabled2 ? nt(["*{color:", ";}svg{fill:", ";}
|
|
67779
|
+
}) => disabled2 ? nt(["*{color:", ";}svg{fill:", ";}@media (hover:hover) and (pointer:fine){&:hover{cursor:not-allowed;}}"], disabledToken.typography.color, icon.states.disabled.typography.color) : nt(["@media (hover:hover) and (pointer:fine){&:hover{cursor:pointer;background:", ";}}&:focus-visible{z-index:3;", "}"], hover.background, outlineTemplate(focus$2.outline)));
|
|
67665
67780
|
const Content = st.div.withConfig({
|
|
67666
67781
|
displayName: "MenuItem__Content",
|
|
67667
67782
|
componentId: "sc-1g9fpbe-1"
|
|
@@ -72033,36 +72148,6 @@ cursor: pointer;`;
|
|
|
72033
72148
|
}
|
|
72034
72149
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(AppLoader, { app, kind: "app" });
|
|
72035
72150
|
};
|
|
72036
|
-
var business = {
|
|
72037
|
-
name: "business",
|
|
72038
|
-
prefix: "eds",
|
|
72039
|
-
height: "24",
|
|
72040
|
-
width: "24",
|
|
72041
|
-
svgPathData: "M12 7h10v14H2V3h10v4ZM4 19h2v-2H4v2Zm2-4H4v-2h2v2Zm-2-4h2V9H4v2Zm2-4H4V5h2v2Zm2 12h2v-2H8v2Zm2-4H8v-2h2v2Zm-2-4h2V9H8v2Zm2-4H8V5h2v2Zm10 12V9h-8v2h2v2h-2v2h2v2h-2v2h8Zm-2-8h-2v2h2v-2Zm-2 4h2v2h-2v-2Z"
|
|
72042
|
-
};
|
|
72043
|
-
var home = {
|
|
72044
|
-
name: "home",
|
|
72045
|
-
prefix: "eds",
|
|
72046
|
-
height: "24",
|
|
72047
|
-
width: "24",
|
|
72048
|
-
svgPathData: "M5 12.5H2l10-9 10 9h-3v8h-6v-6h-2v6H5v-8Zm12-1.81-5-4.5-5 4.5v7.81h2v-6h6v6h2v-7.81Z"
|
|
72049
|
-
};
|
|
72050
|
-
var accessible = {
|
|
72051
|
-
name: "accessible",
|
|
72052
|
-
prefix: "eds",
|
|
72053
|
-
height: "24",
|
|
72054
|
-
width: "24",
|
|
72055
|
-
svgPathData: "M14 4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2Zm-2 3c2.83 0 5.89-.3 8.5-1l.5 2c-1.86.5-4 .83-6 1v13h-2v-6h-2v6H9V9c-2-.17-4.14-.5-6-1l.5-2c2.61.7 5.67 1 8.5 1Z",
|
|
72056
|
-
sizes: {
|
|
72057
|
-
small: {
|
|
72058
|
-
name: "accessible_small",
|
|
72059
|
-
prefix: "eds",
|
|
72060
|
-
height: "18",
|
|
72061
|
-
width: "18",
|
|
72062
|
-
svgPathData: "M10.5 3c0 .825-.675 1.5-1.5 1.5S7.5 3.825 7.5 3 8.175 1.5 9 1.5s1.5.675 1.5 1.5ZM9 5.25c2.123 0 4.418-.225 6.375-.75L15.75 6c-1.395.375-3 .622-4.5.75v9.75h-1.5V12h-1.5v4.5h-1.5V6.75c-1.5-.128-3.105-.375-4.5-.75l.375-1.5c1.957.525 4.253.75 6.375.75Z"
|
|
72063
|
-
}
|
|
72064
|
-
}
|
|
72065
|
-
};
|
|
72066
72151
|
const Styled$1 = {
|
|
72067
72152
|
Title: st.div`
|
|
72068
72153
|
display: flex;
|