@hybridcore/ui 1.6.12 → 1.6.13

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.
Files changed (105) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/index2.css +1 -1
  3. package/dist/components/button/styled.js +1 -1
  4. package/dist/components/charts/_common/format.js +149 -41
  5. package/dist/components/charts/_common/utils.js +16 -11
  6. package/dist/components/collapsible-card/index.js +21 -30
  7. package/dist/components/collapsible-card/styled.js +16 -14
  8. package/dist/components/color-picker/index.js +2227 -3357
  9. package/dist/components/color-picker/styled.js +87 -7
  10. package/dist/components/confirm/dialog.js +89 -8
  11. package/dist/components/confirm/index.js +1 -1
  12. package/dist/components/data-map/index.js +1 -1
  13. package/dist/components/data-map/logic.js +20 -20
  14. package/dist/components/data-security-selectors/dissemination-list/index.js +32 -3117
  15. package/dist/components/date-picker-with-custom-range/index.js +86 -7
  16. package/dist/components/date-range-picker/index.js +464 -452
  17. package/dist/components/document-viewer/components/viewer/index.js +1 -1
  18. package/dist/components/duration-select/index.js +10 -10
  19. package/dist/components/duration-select/styled.js +1 -1
  20. package/dist/components/geometry-picker/coordinate/index.js +14 -14
  21. package/dist/components/geometry-picker/edit/index.js +1 -1
  22. package/dist/components/geometry-picker/geometry/index.js +1 -1
  23. package/dist/components/geometry-picker/kml/index.js +11 -11
  24. package/dist/components/geometry-picker/map/logic.js +145 -3656
  25. package/dist/components/geometry-picker/map/style.js +18 -17
  26. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
  27. package/dist/components/heat-map/index.js +1 -1
  28. package/dist/components/heat-map/logic.js +77 -1924
  29. package/dist/components/instance-hierarchy-table/styled.js +18 -16
  30. package/dist/components/map/helpers/mapbox.js +17 -15
  31. package/dist/components/map/helpers/ol.js +386 -27
  32. package/dist/components/map/index.js +11 -10
  33. package/dist/components/map/logic.js +22 -22
  34. package/dist/components/map/styled.js +31 -27
  35. package/dist/components/metric-card/logic.js +46 -49
  36. package/dist/components/phone-input/index.js +10 -9
  37. package/dist/components/property-mapping/index.js +1 -1
  38. package/dist/components/prr-map/index.js +1 -1
  39. package/dist/components/prr-map/logic.js +27 -26
  40. package/dist/components/range-selector/styled.js +65 -4228
  41. package/dist/components/raster-grid-map/index.js +1 -1
  42. package/dist/components/raster-grid-map/logic.js +60 -57
  43. package/dist/components/simple-pivot-table/index.js +17 -17
  44. package/dist/components/simple-pivot-table/logic.js +67 -76
  45. package/dist/components/sortable-list/index.js +1091 -1264
  46. package/dist/components/template-form/components/property-list/index.js +36 -33
  47. package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
  48. package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
  49. package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
  50. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
  51. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
  52. package/dist/components/tree-select/index.js +16 -16
  53. package/dist/index.esm-UfGMjYOL.js +197 -0
  54. package/dist/main.d.ts +54 -8
  55. package/dist/main.js +176 -175
  56. package/package.json +1 -1
  57. package/dist/AccordionSummary-CJppWeqF.js +0 -781
  58. package/dist/Add-CqcD1PWb.js +0 -403
  59. package/dist/Box-DqUMmZjL.js +0 -31
  60. package/dist/Button-C5yquWAB.js +0 -357
  61. package/dist/ButtonBase-BEF7oTOe.js +0 -887
  62. package/dist/Delete-BdyYpINH.js +0 -23
  63. package/dist/DialogContent-BvVjD9z3.js +0 -523
  64. package/dist/FormGroup-CpBsIyYR.js +0 -89
  65. package/dist/IconButton-BoGwbvrP.js +0 -184
  66. package/dist/InputLabel-Dd8RrneV.js +0 -341
  67. package/dist/MenuItem-DwqJqzuM.js +0 -233
  68. package/dist/Modal-MUZygjmQ.js +0 -1158
  69. package/dist/Paper-BkQLdsCI.js +0 -582
  70. package/dist/Select-DHUl_uG3.js +0 -3916
  71. package/dist/Source-BSZST_GH.js +0 -4410
  72. package/dist/SwitchBase-DTndTqI8.js +0 -235
  73. package/dist/Text-ChJRuaD8.js +0 -2197
  74. package/dist/TextField-e2oKaUN1.js +0 -669
  75. package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
  76. package/dist/Typography-DgsSLCFC.js +0 -178
  77. package/dist/Vector-BmuhQO4p.js +0 -3606
  78. package/dist/Vector-DfTqQEln.js +0 -1735
  79. package/dist/WKT-2wsDT-nq.js +0 -2310
  80. package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
  81. package/dist/assets/index3.css +0 -1
  82. package/dist/assets/index4.css +0 -1
  83. package/dist/clsx-OuTLNxxd.js +0 -16
  84. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  85. package/dist/createSvgIcon-Ch_cT8az.js +0 -185
  86. package/dist/createSvgIcon-DuDuASu1.js +0 -62
  87. package/dist/debounce-46wSf_lW.js +0 -15
  88. package/dist/dialog-BYRnCztH.js +0 -154
  89. package/dist/formControlState-vgaj2ksH.js +0 -10
  90. package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
  91. package/dist/index-DH6qsPBn.js +0 -153
  92. package/dist/index-e9xTIYWt.js +0 -1934
  93. package/dist/index.esm-BLLrbTzY.js +0 -318
  94. package/dist/math-Bvt2Ubuz.js +0 -704
  95. package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
  96. package/dist/ol-yOE-NV0X.js +0 -7465
  97. package/dist/ownerWindow-wg6foiOE.js +0 -10
  98. package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
  99. package/dist/styled-SoqbyrkW.js +0 -350
  100. package/dist/unsupportedProp-DuqR2hj9.js +0 -36
  101. package/dist/useControlled-BYdyS7Pn.js +0 -31
  102. package/dist/useFormControl-CatNKXAi.js +0 -10
  103. package/dist/useId-BW-oWmul.js +0 -19
  104. package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
  105. package/dist/useSlot-B_Q4vnX5.js +0 -42
@@ -1,7 +0,0 @@
1
- function i(e) {
2
- if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3
- return e;
4
- }
5
- export {
6
- i as _
7
- };
@@ -1 +0,0 @@
1
- #react-doc-viewer #proxy-renderer{background-color:#ededed;min-height:calc(100vh - 85px)}#react-doc-viewer #pdf-controls{position:fixed;z-index:9999;left:50%;top:7px;transform:translate(-50%);box-shadow:none}#react-doc-viewer #pdf-controls button,#react-doc-viewer #pdf-controls a{box-shadow:none;color:#9e9e9e}#react-doc-viewer #pdf-controls #pdf-download{display:none}#react-doc-viewer #image-img{max-width:100%;max-height:100%}#react-doc-viewer #pdf-page-wrapper{margin-top:20px;margin-bottom:20px}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}
@@ -1 +0,0 @@
1
- .react-daterange-picker{display:inline-flex;position:relative}.react-daterange-picker,.react-daterange-picker *,.react-daterange-picker *:before,.react-daterange-picker *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-daterange-picker--disabled{background-color:#f0f0f0;color:#6d6d6d}.react-daterange-picker__wrapper{display:flex;flex-grow:1;flex-shrink:0;align-items:center;border:thin solid gray}.react-daterange-picker__inputGroup{min-width:calc((4px * 3) + .54em * 8 + .217em * 2);height:100%;flex-grow:1;padding:0 2px;box-sizing:content-box}.react-daterange-picker__inputGroup__divider{padding:1px 0;white-space:pre}.react-daterange-picker__inputGroup__divider,.react-daterange-picker__inputGroup__leadingZero{display:inline-block}.react-daterange-picker__inputGroup__input{min-width:.54em;height:100%;position:relative;padding:0 1px;border:0;background:none;color:currentColor;font:inherit;box-sizing:content-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.react-daterange-picker__inputGroup__input::-webkit-outer-spin-button,.react-daterange-picker__inputGroup__input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.react-daterange-picker__inputGroup__input:invalid{background:#ff00001a}.react-daterange-picker__inputGroup__input--hasLeadingZero{margin-left:-.54em;padding-left:calc(1px + .54em)}.react-daterange-picker__button{border:0;background:transparent;padding:4px 6px}.react-daterange-picker__button:enabled{cursor:pointer}.react-daterange-picker__button:enabled:hover .react-daterange-picker__button__icon,.react-daterange-picker__button:enabled:focus .react-daterange-picker__button__icon{stroke:#0078d7}.react-daterange-picker__button:disabled .react-daterange-picker__button__icon{stroke:#6d6d6d}.react-daterange-picker__button svg{display:inherit}.react-daterange-picker__calendar{width:350px;max-width:100vw;z-index:1}.react-daterange-picker__calendar--closed{display:none}.react-daterange-picker__calendar .react-calendar{border-width:thin}.react-calendar{width:350px;max-width:100%;background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar,.react-calendar *,.react-calendar *:before,.react-calendar *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{margin:0;border:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{min-width:44px;background:none}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#e6e6e6}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__weekNumbers .react-calendar__tile{display:flex;align-items:center;justify-content:center;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth,.react-calendar__decade-view__years__year--neighboringDecade,.react-calendar__century-view__decades__decade--neighboringCentury{color:#757575}.react-calendar__year-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__century-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{max-width:100%;padding:10px 6.6667px;background:none;text-align:center;line-height:16px;font:inherit;font-size:.833em}.react-calendar__tile:disabled{background-color:#f0f0f0;color:#ababab}.react-calendar__month-view__days__day--neighboringMonth:disabled,.react-calendar__decade-view__years__year--neighboringDecade:disabled,.react-calendar__century-view__decades__decade--neighboringCentury:disabled{color:#cdcdcd}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:hover,.react-calendar__tile--active:enabled:focus{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}.react-daterange-picker .react-daterange-picker__wrapper{height:40px;border-radius:4px;padding:4px 8px;border:1px solid rgba(0,0,0,.23)}.react-daterange-picker .react-daterange-picker__wrapper:hover{border-color:#000000de}.MuiTypography-root.react-daterange-picker__label{position:absolute;display:block;top:-6px;left:9px;font-size:12px;color:#0009;background-color:#fff;z-index:9;padding:0 4px;line-height:.75rem}
@@ -1,16 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function i() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- i as c
16
- };
@@ -1,9 +0,0 @@
1
- function u(...i) {
2
- return i.reduce((n, t) => t == null ? n : function(...e) {
3
- n.apply(this, e), t.apply(this, e);
4
- }, () => {
5
- });
6
- }
7
- export {
8
- u as c
9
- };
@@ -1,185 +0,0 @@
1
- import { _ as b, a as S } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as g from "react";
3
- import { jsxs as I, jsx as _ } from "react/jsx-runtime";
4
- import { P as o } from "./index-C__OZmYy.js";
5
- import { c as w } from "./clsx-OuTLNxxd.js";
6
- import { a as C, g as N, s as T, b as v, u as R, c as O } from "./generateUtilityClasses-C3ivN9Ie.js";
7
- function B(e) {
8
- return C("MuiSvgIcon", e);
9
- }
10
- N("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
11
- const j = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], A = (e) => {
12
- const {
13
- color: t,
14
- fontSize: n,
15
- classes: r
16
- } = e, i = {
17
- root: ["root", t !== "inherit" && `color${v(t)}`, `fontSize${v(n)}`]
18
- };
19
- return O(i, B, r);
20
- }, E = T("svg", {
21
- name: "MuiSvgIcon",
22
- slot: "Root",
23
- overridesResolver: (e, t) => {
24
- const {
25
- ownerState: n
26
- } = e;
27
- return [t.root, n.color !== "inherit" && t[`color${v(n.color)}`], t[`fontSize${v(n.fontSize)}`]];
28
- }
29
- })(({
30
- theme: e,
31
- ownerState: t
32
- }) => {
33
- var n, r, i, u, f, c, h, d, m, s, a, p, l;
34
- return {
35
- userSelect: "none",
36
- width: "1em",
37
- height: "1em",
38
- display: "inline-block",
39
- // the <svg> will define the property that has `currentColor`
40
- // for example heroicons uses fill="none" and stroke="currentColor"
41
- fill: t.hasSvgAsChild ? void 0 : "currentColor",
42
- flexShrink: 0,
43
- transition: (n = e.transitions) == null || (r = n.create) == null ? void 0 : r.call(n, "fill", {
44
- duration: (i = e.transitions) == null || (i = i.duration) == null ? void 0 : i.shorter
45
- }),
46
- fontSize: {
47
- inherit: "inherit",
48
- small: ((u = e.typography) == null || (f = u.pxToRem) == null ? void 0 : f.call(u, 20)) || "1.25rem",
49
- medium: ((c = e.typography) == null || (h = c.pxToRem) == null ? void 0 : h.call(c, 24)) || "1.5rem",
50
- large: ((d = e.typography) == null || (m = d.pxToRem) == null ? void 0 : m.call(d, 35)) || "2.1875rem"
51
- }[t.fontSize],
52
- // TODO v5 deprecate, v6 remove for sx
53
- color: (s = (a = (e.vars || e).palette) == null || (a = a[t.color]) == null ? void 0 : a.main) != null ? s : {
54
- action: (p = (e.vars || e).palette) == null || (p = p.action) == null ? void 0 : p.active,
55
- disabled: (l = (e.vars || e).palette) == null || (l = l.action) == null ? void 0 : l.disabled,
56
- inherit: void 0
57
- }[t.color]
58
- };
59
- }), y = /* @__PURE__ */ g.forwardRef(function(t, n) {
60
- const r = R({
61
- props: t,
62
- name: "MuiSvgIcon"
63
- }), {
64
- children: i,
65
- className: u,
66
- color: f = "inherit",
67
- component: c = "svg",
68
- fontSize: h = "medium",
69
- htmlColor: d,
70
- inheritViewBox: m = !1,
71
- titleAccess: s,
72
- viewBox: a = "0 0 24 24"
73
- } = r, p = b(r, j), l = /* @__PURE__ */ g.isValidElement(i) && i.type === "svg", x = S({}, r, {
74
- color: f,
75
- component: c,
76
- fontSize: h,
77
- instanceFontSize: t.fontSize,
78
- inheritViewBox: m,
79
- viewBox: a,
80
- hasSvgAsChild: l
81
- }), $ = {};
82
- m || ($.viewBox = a);
83
- const z = A(x);
84
- return /* @__PURE__ */ I(E, S({
85
- as: c,
86
- className: w(z.root, u),
87
- focusable: "false",
88
- color: d,
89
- "aria-hidden": s ? void 0 : !0,
90
- role: s ? "img" : void 0,
91
- ref: n
92
- }, $, p, l && i.props, {
93
- ownerState: x,
94
- children: [l ? i.props.children : i, s ? /* @__PURE__ */ _("title", {
95
- children: s
96
- }) : null]
97
- }));
98
- });
99
- process.env.NODE_ENV !== "production" && (y.propTypes = {
100
- // ┌────────────────────────────── Warning ──────────────────────────────┐
101
- // │ These PropTypes are generated from the TypeScript type definitions. │
102
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
103
- // └─────────────────────────────────────────────────────────────────────┘
104
- /**
105
- * Node passed into the SVG element.
106
- */
107
- children: o.node,
108
- /**
109
- * Override or extend the styles applied to the component.
110
- */
111
- classes: o.object,
112
- /**
113
- * @ignore
114
- */
115
- className: o.string,
116
- /**
117
- * The color of the component.
118
- * It supports both default and custom theme colors, which can be added as shown in the
119
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
120
- * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
121
- * @default 'inherit'
122
- */
123
- color: o.oneOfType([o.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
124
- /**
125
- * The component used for the root node.
126
- * Either a string to use a HTML element or a component.
127
- */
128
- component: o.elementType,
129
- /**
130
- * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
131
- * @default 'medium'
132
- */
133
- fontSize: o.oneOfType([o.oneOf(["inherit", "large", "medium", "small"]), o.string]),
134
- /**
135
- * Applies a color attribute to the SVG element.
136
- */
137
- htmlColor: o.string,
138
- /**
139
- * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
140
- * prop will be ignored.
141
- * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
142
- * `component`'s viewBox to the root node.
143
- * @default false
144
- */
145
- inheritViewBox: o.bool,
146
- /**
147
- * The shape-rendering attribute. The behavior of the different options is described on the
148
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
149
- * If you are having issues with blurry icons you should investigate this prop.
150
- */
151
- shapeRendering: o.string,
152
- /**
153
- * The system prop that allows defining system overrides as well as additional CSS styles.
154
- */
155
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
156
- /**
157
- * Provides a human-readable title for the element that contains it.
158
- * https://www.w3.org/TR/SVG-access/#Equivalent
159
- */
160
- titleAccess: o.string,
161
- /**
162
- * Allows you to redefine what the coordinates without units mean inside an SVG element.
163
- * For example, if the SVG element is 500 (width) by 200 (height),
164
- * and you pass viewBox="0 0 50 20",
165
- * this means that the coordinates inside the SVG will go from the top left corner (0,0)
166
- * to bottom right (50,20) and each unit will be worth 10px.
167
- * @default '0 0 24 24'
168
- */
169
- viewBox: o.string
170
- });
171
- y.muiName = "SvgIcon";
172
- function k(e, t) {
173
- function n(r, i) {
174
- return /* @__PURE__ */ _(y, S({
175
- "data-testid": `${t}Icon`,
176
- ref: i
177
- }, r, {
178
- children: e
179
- }));
180
- }
181
- return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = y.muiName, /* @__PURE__ */ g.memo(/* @__PURE__ */ g.forwardRef(n));
182
- }
183
- export {
184
- k as c
185
- };
@@ -1,62 +0,0 @@
1
- import { g as l } from "./_commonjsHelpers-BVfed4GL.js";
2
- import { c as f } from "./createSvgIcon-Ch_cT8az.js";
3
- import { C as d, b as p } from "./generateUtilityClasses-C3ivN9Ie.js";
4
- import { d as g } from "./debounce-46wSf_lW.js";
5
- import { o as b, a as v } from "./ownerWindow-wg6foiOE.js";
6
- import { i as h, r as _, u as E } from "./unsupportedProp-DuqR2hj9.js";
7
- import { s as N, a as C, b as I, u as S } from "./TransitionGroupContext-BDAp2T0O.js";
8
- import { c as y } from "./createChainedFunction-C0nujS3O.js";
9
- import { u as $ } from "./useId-BW-oWmul.js";
10
- import { u as O } from "./useControlled-BYdyS7Pn.js";
11
- import { u as P } from "./ButtonBase-BEF7oTOe.js";
12
- var t = {};
13
- function j(e, r) {
14
- return process.env.NODE_ENV === "production" ? () => null : (s, o, n, u, i) => {
15
- const c = n || "<<anonymous>>", m = i || o;
16
- return typeof s[o] < "u" ? new Error(`The ${u} \`${m}\` of \`${c}\` is deprecated. ${r}`) : null;
17
- };
18
- }
19
- const w = {
20
- configure: (e) => {
21
- process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
22
- `)), d.configure(e);
23
- }
24
- }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
- __proto__: null,
26
- capitalize: p,
27
- createChainedFunction: y,
28
- createSvgIcon: f,
29
- debounce: g,
30
- deprecatedPropType: j,
31
- isMuiElement: h,
32
- ownerDocument: b,
33
- ownerWindow: v,
34
- requirePropFactory: _,
35
- setRef: N,
36
- unstable_ClassNameGenerator: w,
37
- unstable_useEnhancedEffect: C,
38
- unstable_useId: $,
39
- unsupportedProp: E,
40
- useControlled: O,
41
- useEventCallback: I,
42
- useForkRef: S,
43
- useIsFocusVisible: P
44
- }, Symbol.toStringTag, { value: "Module" })), T = /* @__PURE__ */ l(F);
45
- var a;
46
- function W() {
47
- return a || (a = 1, function(e) {
48
- "use client";
49
- Object.defineProperty(e, "__esModule", {
50
- value: !0
51
- }), Object.defineProperty(e, "default", {
52
- enumerable: !0,
53
- get: function() {
54
- return r.createSvgIcon;
55
- }
56
- });
57
- var r = T;
58
- }(t)), t;
59
- }
60
- export {
61
- W as r
62
- };
@@ -1,15 +0,0 @@
1
- function i(o, u = 166) {
2
- let e;
3
- function t(...c) {
4
- const n = () => {
5
- o.apply(this, c);
6
- };
7
- clearTimeout(e), e = setTimeout(n, u);
8
- }
9
- return t.clear = () => {
10
- clearTimeout(e);
11
- }, t;
12
- }
13
- export {
14
- i as d
15
- };
@@ -1,154 +0,0 @@
1
- import { jsx as s, jsxs as p } from "react/jsx-runtime";
2
- import { confirmable as x } from "react-confirm";
3
- import { IconButton as D } from "@mui/material";
4
- import { Close as C } from "@mui/icons-material";
5
- import { b as h, g as T, D as b, a as y, c as B } from "./DialogContent-BvVjD9z3.js";
6
- import { _ as j, a as v } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
7
- import * as d from "react";
8
- import { P as o } from "./index-C__OZmYy.js";
9
- import { c as M } from "./clsx-OuTLNxxd.js";
10
- import { s as N, u as O, c as R } from "./generateUtilityClasses-C3ivN9Ie.js";
11
- import { T as P } from "./Typography-DgsSLCFC.js";
12
- import { B as m } from "./Button-C5yquWAB.js";
13
- const _ = ["className", "id"], k = (a) => {
14
- const {
15
- classes: t
16
- } = a;
17
- return R({
18
- root: ["root"]
19
- }, T, t);
20
- }, w = N(P, {
21
- name: "MuiDialogTitle",
22
- slot: "Root",
23
- overridesResolver: (a, t) => t.root
24
- })({
25
- padding: "16px 24px",
26
- flex: "0 0 auto"
27
- }), u = /* @__PURE__ */ d.forwardRef(function(t, r) {
28
- const i = O({
29
- props: t,
30
- name: "MuiDialogTitle"
31
- }), {
32
- className: e,
33
- id: n
34
- } = i, l = j(i, _), c = i, f = k(c), {
35
- titleId: g = n
36
- } = d.useContext(h);
37
- return /* @__PURE__ */ s(w, v({
38
- component: "h2",
39
- className: M(f.root, e),
40
- ownerState: c,
41
- ref: r,
42
- variant: "h6",
43
- id: n ?? g
44
- }, l));
45
- });
46
- process.env.NODE_ENV !== "production" && (u.propTypes = {
47
- // ┌────────────────────────────── Warning ──────────────────────────────┐
48
- // │ These PropTypes are generated from the TypeScript type definitions. │
49
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
50
- // └─────────────────────────────────────────────────────────────────────┘
51
- /**
52
- * The content of the component.
53
- */
54
- children: o.node,
55
- /**
56
- * Override or extend the styles applied to the component.
57
- */
58
- classes: o.object,
59
- /**
60
- * @ignore
61
- */
62
- className: o.string,
63
- /**
64
- * @ignore
65
- */
66
- id: o.string,
67
- /**
68
- * The system prop that allows defining system overrides as well as additional CSS styles.
69
- */
70
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
71
- });
72
- const I = {
73
- confirmButtonText: "OK",
74
- cancelButtonText: "Cancel",
75
- disableCancelButton: !1
76
- }, A = ({
77
- show: a = !0,
78
- proceed: t = () => {
79
- },
80
- title: r,
81
- description: i,
82
- options: e
83
- }) => {
84
- e = { ...I, ...e };
85
- const n = () => {
86
- t(!1);
87
- }, l = () => {
88
- t(!1);
89
- }, c = () => {
90
- t(!0);
91
- };
92
- return /* @__PURE__ */ p(
93
- b,
94
- {
95
- open: a,
96
- onClose: n,
97
- "aria-labelledby": "dialog-title",
98
- "aria-describedby": "dialog-description",
99
- sx: {
100
- zIndex: 9999,
101
- "& .MuiDialog-paper": {
102
- borderRadius: 3
103
- },
104
- "& .MuiDialogTitle-root": {
105
- px: 4,
106
- py: 3
107
- },
108
- "& .MuiDialogContent-root": {
109
- p: 4,
110
- pt: 0
111
- },
112
- "& .MuiDialogActions-root": {
113
- p: 4,
114
- background: "#0439910A"
115
- }
116
- },
117
- children: [
118
- /* @__PURE__ */ p(
119
- u,
120
- {
121
- id: "dialog-title",
122
- sx: {
123
- display: "flex",
124
- justifyContent: "space-between",
125
- alignItems: "center"
126
- },
127
- children: [
128
- r,
129
- /* @__PURE__ */ s(D, { onClick: l, children: /* @__PURE__ */ s(C, {}) })
130
- ]
131
- }
132
- ),
133
- /* @__PURE__ */ s(y, { sx: { minWidth: 400 }, children: i }),
134
- /* @__PURE__ */ p(B, { children: [
135
- !e.disableCancelButton && /* @__PURE__ */ s(m, { color: "inherit", onClick: l, children: e.cancelButtonText }),
136
- /* @__PURE__ */ s(
137
- m,
138
- {
139
- variant: "contained",
140
- color: "primary",
141
- onClick: c,
142
- autoFocus: !0,
143
- children: e.confirmButtonText
144
- }
145
- )
146
- ] })
147
- ]
148
- }
149
- );
150
- }, G = x(A);
151
- export {
152
- G as D,
153
- u as a
154
- };
@@ -1,10 +0,0 @@
1
- function d({
2
- props: e,
3
- states: u,
4
- muiFormControl: r
5
- }) {
6
- return u.reduce((n, f) => (n[f] = e[f], r && typeof e[f] > "u" && (n[f] = r[f]), n), {});
7
- }
8
- export {
9
- d as f
10
- };