@oliasoft-open-source/react-ui-library 4.3.0-beta-1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -0
- package/dist/assets/{index-0d78a198.css → index-2b7aaa8d.css} +65 -64
- package/dist/assets/{index-26f804a8.js → index-326366e3.js} +37 -37
- package/dist/global.css +65 -64
- package/dist/index.d.ts +5 -2
- package/dist/index.html +1 -1
- package/dist/index.js +78 -89
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-caa8bffa.js → Color-6VNJS4EI-811ca6f0.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-e463e8a5.js → DocsRenderer-NNNQARDV-13015b39.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-9514f93a.js → WithTooltip-4HIR6TLV-fe3aa2ab.js} +1 -1
- package/dist/storybook/assets/accordion.stories-0f8af16e.js +170 -0
- package/dist/storybook/assets/{afe.stories-49904fdb.js → afe.stories-41970a5c.js} +1 -1
- package/dist/storybook/assets/breadcrumb.stories-e4334a75.js +1 -0
- package/dist/storybook/assets/buttons-and-links-236ef744.js +14 -0
- package/dist/storybook/assets/{casing-loads.stories-dff0b8fc.js → casing-loads.stories-d3994990.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-d8be29f3.js → chunk-HLWAVYOI-f143d329.js} +1 -1
- package/dist/storybook/assets/{color-9e78f280.js → color-915dd9da.js} +1 -1
- package/dist/storybook/assets/dialog-8e840c50.css +1 -0
- package/dist/storybook/assets/dialog-cd58dd09.js +1 -0
- package/dist/storybook/assets/{drawer.stories-59cd794a.js → drawer.stories-948b5e8b.js} +1 -1
- package/dist/storybook/assets/empty.stories-e0e3ac78.js +1 -0
- package/dist/storybook/assets/file-input.stories-d855942a.js +66 -0
- package/dist/storybook/assets/{form.stories-45c0cd59.js → form.stories-d6c8da7e.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-c42be4d9.js → formatter-SWP5E3XI-a0191e1f.js} +1 -1
- package/dist/storybook/assets/iframe-e6f0bd3c.js +1 -0
- package/dist/storybook/assets/{index-56f304c1.js → index-58f3d19c.js} +4 -4
- package/dist/storybook/assets/{input-validation-1b895773.js → input-validation-566bbbb7.js} +1 -1
- package/dist/storybook/assets/{inputs-e51c1c31.js → inputs-230d0995.js} +2 -2
- package/dist/storybook/assets/{layout-forms-29ceb520.js → layout-forms-36d75e93.js} +1 -1
- package/dist/storybook/assets/{layout-general-245ef20f.js → layout-general-af624016.js} +1 -1
- package/dist/storybook/assets/{list-e6e7e5ed.js → list-31b815b8.js} +1 -1
- package/dist/storybook/assets/list-heading-58edcddc.css +1 -0
- package/dist/storybook/assets/list-heading-5a293d8b.js +1 -0
- package/dist/storybook/assets/{list.stories-e2d00aea.js → list.stories-4850aa29.js} +2 -2
- package/dist/storybook/assets/{message-dabd76a8.js → message-7e627e60.js} +1 -1
- package/dist/storybook/assets/{message.stories-6f612f7c.js → message.stories-f41a0c22.js} +1 -1
- package/dist/storybook/assets/{modal.stories-448cc75d.js → modal.stories-0e068cc1.js} +1 -1
- package/dist/storybook/assets/option-dropdown.stories-5030bdb8.js +21 -0
- package/dist/storybook/assets/{padding-and-spacing-27e63c65.js → padding-and-spacing-37bd345b.js} +1 -1
- package/dist/storybook/assets/page.stories-7cb68fed.js +57 -0
- package/dist/storybook/assets/pop-confirm.stories-81b30901.js +7 -0
- package/dist/storybook/assets/preview-564d3c1d.js +1 -0
- package/dist/storybook/assets/{preview-72d84988.js → preview-b5fa6b4e.js} +3 -3
- package/dist/storybook/assets/{global-aa71ac9c.css → preview-d47a2f40.css} +1 -1
- package/dist/storybook/assets/{projects.stories-c383cdce.js → projects.stories-222ad869.js} +1 -1
- package/dist/storybook/assets/{reservoirs.stories-b4549b91.js → reservoirs.stories-8e7035a5.js} +1 -1
- package/dist/storybook/assets/{rich-text-input-977847ce.js → rich-text-input.stories-661f34f1.js} +127 -52
- package/dist/storybook/assets/{site.stories-80a441ea.js → site.stories-8b3718ce.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-73149e16.js → syntaxhighlighter-NMPM6SWI-9f2334eb.js} +1 -1
- package/dist/storybook/assets/text-link.stories-c1227c6f.js +1 -0
- package/dist/storybook/assets/{toaster-3fba1dd3.js → toaster-541ce85b.js} +1 -1
- package/dist/storybook/assets/{toaster.stories-4cdefe35.js → toaster.stories-5e4d95b1.js} +1 -1
- package/dist/storybook/assets/toggle-01690c44.js +1 -0
- package/dist/storybook/assets/toggle.stories-bc686ae1.js +117 -0
- package/dist/storybook/assets/tree.stories-3422a0bc.js +128 -0
- package/dist/storybook/assets/unit-input.stories-65984064.js +273 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +3 -3
- package/dist/storybook/assets/accordion-with-default-toggle-0b4845c8.js +0 -1
- package/dist/storybook/assets/accordion.stories-ad491954.js +0 -170
- package/dist/storybook/assets/breadcrumb-f8742fbd.js +0 -1
- package/dist/storybook/assets/breadcrumb.stories-b5582cfb.js +0 -1
- package/dist/storybook/assets/buttons-and-links-6c701fa6.js +0 -14
- package/dist/storybook/assets/empty-2d83d50b.js +0 -1
- package/dist/storybook/assets/empty.stories-c98807b8.js +0 -1
- package/dist/storybook/assets/file-input-a3594635.js +0 -1
- package/dist/storybook/assets/file-input.stories-3d2e95e7.js +0 -55
- package/dist/storybook/assets/iframe-8d80f428.js +0 -1
- package/dist/storybook/assets/meta-content-6f132e03.js +0 -1
- package/dist/storybook/assets/meta-content-d7e578fa.css +0 -1
- package/dist/storybook/assets/modal-ad69eee9.js +0 -1
- package/dist/storybook/assets/modal-f1e8e468.css +0 -1
- package/dist/storybook/assets/option-dropdown-fbe54c09.js +0 -1
- package/dist/storybook/assets/option-dropdown.stories-8b7ee529.js +0 -21
- package/dist/storybook/assets/page.stories-4ad3bea8.js +0 -57
- package/dist/storybook/assets/pop-confirm-e6b7cc0c.js +0 -1
- package/dist/storybook/assets/pop-confirm.stories-27da1975.js +0 -7
- package/dist/storybook/assets/preview-608a4ee9.js +0 -1
- package/dist/storybook/assets/preview-a5b25924.css +0 -1
- package/dist/storybook/assets/print-header-bd013690.js +0 -1
- package/dist/storybook/assets/rich-text-input.stories-b770908d.js +0 -76
- package/dist/storybook/assets/text-link-f4589768.js +0 -1
- package/dist/storybook/assets/text-link.stories-6b7c8329.js +0 -1
- package/dist/storybook/assets/toggle-bb34b2a2.js +0 -1
- package/dist/storybook/assets/toggle.stories-b771ed81.js +0 -108
- package/dist/storybook/assets/tree-a5de7d3a.js +0 -6
- package/dist/storybook/assets/tree.stories-b16724d6.js +0 -123
- package/dist/storybook/assets/unit-input-9bf08434.js +0 -1
- package/dist/storybook/assets/unit-input.stories-65646cf3.js +0 -273
- package/dist/storybook/assets/unit-table.stories-4706910f.js +0 -229
- /package/dist/storybook/assets/{accordion-with-default-toggle-e92bccf3.css → accordion.stories-e92bccf3.css} +0 -0
- /package/dist/storybook/assets/{breadcrumb-a644544e.css → breadcrumb.stories-a644544e.css} +0 -0
- /package/dist/storybook/assets/{empty-9914c767.css → empty.stories-9914c767.css} +0 -0
- /package/dist/storybook/assets/{file-input-f40408e6.css → file-input.stories-f40408e6.css} +0 -0
- /package/dist/storybook/assets/{option-dropdown-ddc96b15.css → option-dropdown.stories-ddc96b15.css} +0 -0
- /package/dist/storybook/assets/{print-header-dd8c1b35.css → page.stories-dd8c1b35.css} +0 -0
- /package/dist/storybook/assets/{pop-confirm-c9faec6b.css → pop-confirm.stories-c9faec6b.css} +0 -0
- /package/dist/storybook/assets/{rich-text-input-023a1c99.css → rich-text-input.stories-023a1c99.css} +0 -0
- /package/dist/storybook/assets/{tree-3406c5f6.css → tree.stories-3406c5f6.css} +0 -0
- /package/dist/storybook/assets/{unit-input-c251e2c8.css → unit-input.stories-c251e2c8.css} +0 -0
package/dist/index.js
CHANGED
|
@@ -13,7 +13,6 @@ import ReactDOM, { createPortal, unstable_batchedUpdates, render } from "react-d
|
|
|
13
13
|
import _$1, { set, get as get$2, isString as isString$3, isNumber as isNumber$1, isBoolean as isBoolean$2, isFunction as isFunction$3, isEmpty, isArray as isArray$1, toNumber, debounce as debounce$2, isObject as isObject$5, isObjectLike, has as has$1 } from "lodash";
|
|
14
14
|
import { validateNumber, cleanNumStr, unitFromQuantity, isValueWithUnit, withUnit, convertSamePrecision, getValue as getValue$1, getUnit, KNOWN_UNITS, split as split$1, checkAndCleanDecimalComma, label as label$b, altUnitsList } from "@oliasoft-open-source/units";
|
|
15
15
|
import { isValueWithUnit as isValueWithUnit$1 } from "@oliasoft-open-source/units/dist/units";
|
|
16
|
-
const global$2 = "";
|
|
17
16
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18
17
|
function getDefaultExportFromCjs(x2) {
|
|
19
18
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -23,8 +22,8 @@ function getAugmentedNamespace(n2) {
|
|
|
23
22
|
return n2;
|
|
24
23
|
var f2 = n2.default;
|
|
25
24
|
if (typeof f2 == "function") {
|
|
26
|
-
var a2 = function
|
|
27
|
-
if (this instanceof
|
|
25
|
+
var a2 = function a22() {
|
|
26
|
+
if (this instanceof a22) {
|
|
28
27
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
29
28
|
}
|
|
30
29
|
return f2.apply(this, arguments);
|
|
@@ -895,7 +894,7 @@ var DefaultContext = {
|
|
|
895
894
|
attr: void 0
|
|
896
895
|
};
|
|
897
896
|
var IconContext = React__default.createContext && React__default.createContext(DefaultContext);
|
|
898
|
-
var __assign$2 =
|
|
897
|
+
var __assign$2 = function() {
|
|
899
898
|
__assign$2 = Object.assign || function(t) {
|
|
900
899
|
for (var s, i = 1, n2 = arguments.length; i < n2; i++) {
|
|
901
900
|
s = arguments[i];
|
|
@@ -907,7 +906,7 @@ var __assign$2 = globalThis && globalThis.__assign || function() {
|
|
|
907
906
|
};
|
|
908
907
|
return __assign$2.apply(this, arguments);
|
|
909
908
|
};
|
|
910
|
-
var __rest =
|
|
909
|
+
var __rest = function(s, e2) {
|
|
911
910
|
var t = {};
|
|
912
911
|
for (var p in s)
|
|
913
912
|
if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
|
|
@@ -2100,7 +2099,7 @@ var ResizeObservation$1 = (
|
|
|
2100
2099
|
);
|
|
2101
2100
|
var ResizeObserverEntry$1 = (
|
|
2102
2101
|
/** @class */
|
|
2103
|
-
function() {
|
|
2102
|
+
/* @__PURE__ */ function() {
|
|
2104
2103
|
function ResizeObserverEntry2(target, rectInit) {
|
|
2105
2104
|
var contentRect = createReadOnlyRect(rectInit);
|
|
2106
2105
|
defineConfigurable(this, { target, contentRect });
|
|
@@ -2195,7 +2194,7 @@ var ResizeObserverSPI = (
|
|
|
2195
2194
|
var observers$1 = typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : new MapShim();
|
|
2196
2195
|
var ResizeObserver$2 = (
|
|
2197
2196
|
/** @class */
|
|
2198
|
-
function() {
|
|
2197
|
+
/* @__PURE__ */ function() {
|
|
2199
2198
|
function ResizeObserver2(callback) {
|
|
2200
2199
|
if (!(this instanceof ResizeObserver2)) {
|
|
2201
2200
|
throw new TypeError("Cannot call a class as a function.");
|
|
@@ -6396,7 +6395,7 @@ function Qe(e2, r2, s) {
|
|
|
6396
6395
|
re(e4, r3[o], true);
|
|
6397
6396
|
return e4;
|
|
6398
6397
|
}({}, a2.defaultProps, e3) : e3;
|
|
6399
|
-
} }), "production" !== process.env.NODE_ENV && (b$2(y2, v2), D2.warnTooManyClasses = function(e3, t) {
|
|
6398
|
+
} }), "production" !== process.env.NODE_ENV && (b$2(y2, v2), D2.warnTooManyClasses = /* @__PURE__ */ function(e3, t) {
|
|
6400
6399
|
var n2 = {}, o = false;
|
|
6401
6400
|
return function(r3) {
|
|
6402
6401
|
if (!o && (n2[r3] = true, Object.keys(n2).length >= 200)) {
|
|
@@ -9249,6 +9248,18 @@ const readFile = (file = new Blob(), method = InputReaderMethods.READ_AS_TEXT) =
|
|
|
9249
9248
|
reader.onerror = (error2) => reject(error2);
|
|
9250
9249
|
});
|
|
9251
9250
|
};
|
|
9251
|
+
const getName = (file, multi) => {
|
|
9252
|
+
var _a;
|
|
9253
|
+
let name2;
|
|
9254
|
+
if (!file)
|
|
9255
|
+
return null;
|
|
9256
|
+
if (multi) {
|
|
9257
|
+
name2 = `Selected - ${(_a = Object.keys(file)) == null ? void 0 : _a.length} files`;
|
|
9258
|
+
} else {
|
|
9259
|
+
name2 = file == null ? void 0 : file.name;
|
|
9260
|
+
}
|
|
9261
|
+
return name2 || null;
|
|
9262
|
+
};
|
|
9252
9263
|
const FileInput = ({
|
|
9253
9264
|
label: label2 = "Select",
|
|
9254
9265
|
loading = false,
|
|
@@ -9265,7 +9276,7 @@ const FileInput = ({
|
|
|
9265
9276
|
}) => {
|
|
9266
9277
|
const disabledContext = useContext(DisabledContext);
|
|
9267
9278
|
const inputRef = useRef(null);
|
|
9268
|
-
const fileName = (file
|
|
9279
|
+
const fileName = getName(file, multi);
|
|
9269
9280
|
const handleClick2 = () => {
|
|
9270
9281
|
var _a;
|
|
9271
9282
|
if (!(disabled2 || disabledContext))
|
|
@@ -9292,6 +9303,7 @@ const FileInput = ({
|
|
|
9292
9303
|
className: styles$y.fileInput,
|
|
9293
9304
|
type: "file",
|
|
9294
9305
|
accept,
|
|
9306
|
+
multiple: multi,
|
|
9295
9307
|
onChange: (evt) => {
|
|
9296
9308
|
var _a, _b, _c;
|
|
9297
9309
|
onChange({
|
|
@@ -11463,7 +11475,6 @@ var rafSchd = function rafSchd2(fn) {
|
|
|
11463
11475
|
};
|
|
11464
11476
|
return wrapperFn;
|
|
11465
11477
|
};
|
|
11466
|
-
const rafSchd$1 = rafSchd;
|
|
11467
11478
|
var isProduction$1 = process.env.NODE_ENV === "production";
|
|
11468
11479
|
var spacesAndTabs = /[ \t]{2,}/g;
|
|
11469
11480
|
var lineStartWithSpaces = /^[ \t]*/gm;
|
|
@@ -11892,8 +11903,8 @@ var moveToNextCombine = function(_ref) {
|
|
|
11892
11903
|
at
|
|
11893
11904
|
});
|
|
11894
11905
|
}
|
|
11895
|
-
var
|
|
11896
|
-
var closestId =
|
|
11906
|
+
var all = previousImpact.displaced.all;
|
|
11907
|
+
var closestId = all.length ? all[0] : null;
|
|
11897
11908
|
if (isMovingForward) {
|
|
11898
11909
|
return closestId ? getImpact(closestId) : null;
|
|
11899
11910
|
}
|
|
@@ -14136,7 +14147,7 @@ function getScrollListener(_ref) {
|
|
|
14136
14147
|
function updateScroll() {
|
|
14137
14148
|
onWindowScroll(getWindowScroll2());
|
|
14138
14149
|
}
|
|
14139
|
-
var scheduled2 = rafSchd
|
|
14150
|
+
var scheduled2 = rafSchd(updateScroll);
|
|
14140
14151
|
var binding = getWindowScrollBinding(scheduled2);
|
|
14141
14152
|
var unbind = noop$1;
|
|
14142
14153
|
function isActive() {
|
|
@@ -15073,7 +15084,7 @@ var smallestSigned = apply$1(function(value) {
|
|
|
15073
15084
|
}
|
|
15074
15085
|
return value > 0 ? 1 : -1;
|
|
15075
15086
|
});
|
|
15076
|
-
var getOverlap = function() {
|
|
15087
|
+
var getOverlap = /* @__PURE__ */ function() {
|
|
15077
15088
|
var getRemainder = function getRemainder2(target, max) {
|
|
15078
15089
|
if (target < 0) {
|
|
15079
15090
|
return target;
|
|
@@ -15229,8 +15240,8 @@ var scroll$1$1 = function(_ref) {
|
|
|
15229
15240
|
};
|
|
15230
15241
|
var createFluidScroller = function(_ref) {
|
|
15231
15242
|
var scrollWindow2 = _ref.scrollWindow, scrollDroppable2 = _ref.scrollDroppable;
|
|
15232
|
-
var scheduleWindowScroll = rafSchd
|
|
15233
|
-
var scheduleDroppableScroll = rafSchd
|
|
15243
|
+
var scheduleWindowScroll = rafSchd(scrollWindow2);
|
|
15244
|
+
var scheduleDroppableScroll = rafSchd(scrollDroppable2);
|
|
15234
15245
|
var dragging = null;
|
|
15235
15246
|
var tryScroll = function tryScroll2(state) {
|
|
15236
15247
|
!dragging ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Cannot fluid scroll if not dragging") : invariant$3(false) : void 0;
|
|
@@ -16867,7 +16878,7 @@ function tryStart(_ref3) {
|
|
|
16867
16878
|
}, args.actions);
|
|
16868
16879
|
}
|
|
16869
16880
|
function fluidLift(clientSelection) {
|
|
16870
|
-
var move$1 = rafSchd
|
|
16881
|
+
var move$1 = rafSchd(function(client) {
|
|
16871
16882
|
tryDispatchWhenDragging(function() {
|
|
16872
16883
|
return move({
|
|
16873
16884
|
client
|
|
@@ -17418,7 +17429,7 @@ function useDroppablePublisher(args) {
|
|
|
17418
17429
|
memoizedUpdateScroll(scroll4.x, scroll4.y);
|
|
17419
17430
|
}, [getClosestScroll, memoizedUpdateScroll]);
|
|
17420
17431
|
var scheduleScrollUpdate = useMemo(function() {
|
|
17421
|
-
return rafSchd
|
|
17432
|
+
return rafSchd(updateScroll);
|
|
17422
17433
|
}, [updateScroll]);
|
|
17423
17434
|
var onClosestScroll = useCallback(function() {
|
|
17424
17435
|
var dragging = whileDraggingRef.current;
|
|
@@ -18774,43 +18785,43 @@ var InfiniteScroll = (
|
|
|
18774
18785
|
return InfiniteScroll2;
|
|
18775
18786
|
}(Component$1)
|
|
18776
18787
|
);
|
|
18777
|
-
const inputInTable$8 = "
|
|
18778
|
-
const inputHover$8 = "
|
|
18779
|
-
const inputFocus$8 = "
|
|
18780
|
-
const inputError$8 = "
|
|
18781
|
-
const inputWarning$8 = "
|
|
18782
|
-
const inputDisabled$8 = "
|
|
18783
|
-
const hideScrollbars$8 = "
|
|
18784
|
-
const header$1 = "
|
|
18785
|
-
const headerTitle = "
|
|
18786
|
-
const heading$3 = "
|
|
18787
|
-
const itemHeader = "
|
|
18788
|
-
const narrow = "
|
|
18789
|
-
const stickyHeader = "
|
|
18790
|
-
const title$3 = "
|
|
18791
|
-
const name = "
|
|
18792
|
-
const iconTooltipMargin = "
|
|
18793
|
-
const bold = "
|
|
18794
|
-
const toggleNarrow = "
|
|
18795
|
-
const drag$1 = "
|
|
18796
|
-
const list$1 = "
|
|
18797
|
-
const bordered$1 = "
|
|
18798
|
-
const item$4 = "
|
|
18799
|
-
const action = "
|
|
18800
|
-
const active$3 = "
|
|
18801
|
-
const indented = "
|
|
18802
|
-
const disabled$5 = "
|
|
18803
|
-
const label$6 = "
|
|
18804
|
-
const details$2 = "
|
|
18805
|
-
const metadata = "
|
|
18806
|
-
const itemContent = "
|
|
18807
|
-
const indentIcon = "
|
|
18808
|
-
const expandIcon = "
|
|
18809
|
-
const expanded = "
|
|
18810
|
-
const right$4 = "
|
|
18811
|
-
const actions = "
|
|
18812
|
-
const scrollableList = "
|
|
18813
|
-
const hideScrollbar = "
|
|
18788
|
+
const inputInTable$8 = "_inputInTable_1qlur_1";
|
|
18789
|
+
const inputHover$8 = "_inputHover_1qlur_13";
|
|
18790
|
+
const inputFocus$8 = "_inputFocus_1qlur_18";
|
|
18791
|
+
const inputError$8 = "_inputError_1qlur_25";
|
|
18792
|
+
const inputWarning$8 = "_inputWarning_1qlur_26";
|
|
18793
|
+
const inputDisabled$8 = "_inputDisabled_1qlur_61";
|
|
18794
|
+
const hideScrollbars$8 = "_hideScrollbars_1qlur_67";
|
|
18795
|
+
const header$1 = "_header_1qlur_77";
|
|
18796
|
+
const headerTitle = "_headerTitle_1qlur_77";
|
|
18797
|
+
const heading$3 = "_heading_1qlur_78";
|
|
18798
|
+
const itemHeader = "_itemHeader_1qlur_78";
|
|
18799
|
+
const narrow = "_narrow_1qlur_81";
|
|
18800
|
+
const stickyHeader = "_stickyHeader_1qlur_85";
|
|
18801
|
+
const title$3 = "_title_1qlur_96";
|
|
18802
|
+
const name = "_name_1qlur_102";
|
|
18803
|
+
const iconTooltipMargin = "_iconTooltipMargin_1qlur_105";
|
|
18804
|
+
const bold = "_bold_1qlur_108";
|
|
18805
|
+
const toggleNarrow = "_toggleNarrow_1qlur_117";
|
|
18806
|
+
const drag$1 = "_drag_1qlur_135";
|
|
18807
|
+
const list$1 = "_list_1qlur_155";
|
|
18808
|
+
const bordered$1 = "_bordered_1qlur_159";
|
|
18809
|
+
const item$4 = "_item_1qlur_78";
|
|
18810
|
+
const action = "_action_1qlur_192";
|
|
18811
|
+
const active$3 = "_active_1qlur_195";
|
|
18812
|
+
const indented = "_indented_1qlur_202";
|
|
18813
|
+
const disabled$5 = "_disabled_1qlur_215";
|
|
18814
|
+
const label$6 = "_label_1qlur_226";
|
|
18815
|
+
const details$2 = "_details_1qlur_237";
|
|
18816
|
+
const metadata = "_metadata_1qlur_238";
|
|
18817
|
+
const itemContent = "_itemContent_1qlur_246";
|
|
18818
|
+
const indentIcon = "_indentIcon_1qlur_253";
|
|
18819
|
+
const expandIcon = "_expandIcon_1qlur_258";
|
|
18820
|
+
const expanded = "_expanded_1qlur_265";
|
|
18821
|
+
const right$4 = "_right_1qlur_268";
|
|
18822
|
+
const actions = "_actions_1qlur_276";
|
|
18823
|
+
const scrollableList = "_scrollableList_1qlur_281";
|
|
18824
|
+
const hideScrollbar = "_hideScrollbar_1qlur_67";
|
|
18814
18825
|
const listStyles = {
|
|
18815
18826
|
inputInTable: inputInTable$8,
|
|
18816
18827
|
inputHover: inputHover$8,
|
|
@@ -19909,7 +19920,7 @@ var reactKeyboardEventHandler = { exports: {} };
|
|
|
19909
19920
|
Object.prototype.hasOwnProperty.call(n3, r3) && (e4[r3] = n3[r3]);
|
|
19910
19921
|
}
|
|
19911
19922
|
return e4;
|
|
19912
|
-
}, o = function() {
|
|
19923
|
+
}, o = /* @__PURE__ */ function() {
|
|
19913
19924
|
function e4(e5, t3) {
|
|
19914
19925
|
for (var n3 = 0; n3 < t3.length; n3++) {
|
|
19915
19926
|
var r3 = t3[n3];
|
|
@@ -29211,7 +29222,6 @@ function getDomDocument() {
|
|
|
29211
29222
|
}
|
|
29212
29223
|
return null;
|
|
29213
29224
|
}
|
|
29214
|
-
var getDomDocument_1 = getDomDocument;
|
|
29215
29225
|
function parse$2(str, opts) {
|
|
29216
29226
|
if (typeof str !== "string")
|
|
29217
29227
|
return [str];
|
|
@@ -36021,7 +36031,7 @@ function createDocumentNode(props) {
|
|
|
36021
36031
|
}
|
|
36022
36032
|
}
|
|
36023
36033
|
function getDocument() {
|
|
36024
|
-
const document2 =
|
|
36034
|
+
const document2 = getDomDocument();
|
|
36025
36035
|
if (document2) {
|
|
36026
36036
|
return document2;
|
|
36027
36037
|
}
|
|
@@ -36031,7 +36041,7 @@ function getDocument() {
|
|
|
36031
36041
|
}
|
|
36032
36042
|
function maybeGetWindowFromDocument(document2) {
|
|
36033
36043
|
var _a;
|
|
36034
|
-
return (document2 == null ? void 0 : document2.defaultView) ?? (typeof window !== "undefined" ? window : void 0) ?? ((_a =
|
|
36044
|
+
return (document2 == null ? void 0 : document2.defaultView) ?? (typeof window !== "undefined" ? window : void 0) ?? ((_a = getDomDocument()) == null ? void 0 : _a.defaultView);
|
|
36035
36045
|
}
|
|
36036
36046
|
function maybeGetWindowFromElement(element) {
|
|
36037
36047
|
return maybeGetWindowFromDocument(element == null ? void 0 : element.ownerDocument);
|
|
@@ -50234,7 +50244,7 @@ var moo = { exports: {} };
|
|
|
50234
50244
|
}
|
|
50235
50245
|
}
|
|
50236
50246
|
function compileStates(states, start3) {
|
|
50237
|
-
var
|
|
50247
|
+
var all = states.$all ? toRules(states.$all) : [];
|
|
50238
50248
|
delete states.$all;
|
|
50239
50249
|
var keys2 = Object.getOwnPropertyNames(states);
|
|
50240
50250
|
if (!start3)
|
|
@@ -50242,7 +50252,7 @@ var moo = { exports: {} };
|
|
|
50242
50252
|
var ruleMap = /* @__PURE__ */ Object.create(null);
|
|
50243
50253
|
for (var i = 0; i < keys2.length; i++) {
|
|
50244
50254
|
var key2 = keys2[i];
|
|
50245
|
-
ruleMap[key2] = toRules(states[key2]).concat(
|
|
50255
|
+
ruleMap[key2] = toRules(states[key2]).concat(all);
|
|
50246
50256
|
}
|
|
50247
50257
|
for (var i = 0; i < keys2.length; i++) {
|
|
50248
50258
|
var key2 = keys2[i];
|
|
@@ -52378,7 +52388,6 @@ function Remirror(props) {
|
|
|
52378
52388
|
const autoRenderAtEnd = autoRender === "end";
|
|
52379
52389
|
return /* @__PURE__ */ React__default.createElement(I18nProvider, { i18n: i18n2, locale, supportedLocales }, /* @__PURE__ */ React__default.createElement(RemirrorContext.Provider, { value: context2 }, /* @__PURE__ */ React__default.createElement(RemirrorPortals, { portals }), hooks.map((hook, index2) => /* @__PURE__ */ React__default.createElement(HookComponent, { hook, key: index2 })), autoRenderAtStart && /* @__PURE__ */ React__default.createElement(EditorComponent, null), children, autoRenderAtEnd && /* @__PURE__ */ React__default.createElement(EditorComponent, null)));
|
|
52380
52390
|
}
|
|
52381
|
-
const all = "";
|
|
52382
52391
|
const richTextToolbar = "_richTextToolbar_1gbkk_1";
|
|
52383
52392
|
const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
|
|
52384
52393
|
const styles$g = {
|
|
@@ -55267,7 +55276,6 @@ const SliderTooltip = ({ text: text2 }) => {
|
|
|
55267
55276
|
}
|
|
55268
55277
|
);
|
|
55269
55278
|
};
|
|
55270
|
-
const rcSlider = "";
|
|
55271
55279
|
const container = "_container_1a936_1";
|
|
55272
55280
|
const small$2 = "_small_1a936_7";
|
|
55273
55281
|
const hasMarks = "_hasMarks_1a936_10";
|
|
@@ -57857,7 +57865,6 @@ eventManager.on(
|
|
|
57857
57865
|
}
|
|
57858
57866
|
}
|
|
57859
57867
|
);
|
|
57860
|
-
const toaster = "";
|
|
57861
57868
|
const toast = ({
|
|
57862
57869
|
id: id2,
|
|
57863
57870
|
message: message2 = { type: MessageType.INFO, content: "" },
|
|
@@ -57934,6 +57941,7 @@ const Toggle = ({
|
|
|
57934
57941
|
label: label2,
|
|
57935
57942
|
checked = false,
|
|
57936
57943
|
disabled: disabled2,
|
|
57944
|
+
display,
|
|
57937
57945
|
small: small2 = false,
|
|
57938
57946
|
onChange,
|
|
57939
57947
|
noMargin: noMargin2 = false,
|
|
@@ -57953,6 +57961,7 @@ const Toggle = ({
|
|
|
57953
57961
|
small2 ? styles$4.small : null,
|
|
57954
57962
|
noMargin2 ? styles$4.noMargin : null
|
|
57955
57963
|
),
|
|
57964
|
+
style: { display },
|
|
57956
57965
|
onClick: (evt) => {
|
|
57957
57966
|
if (!isDisabled) {
|
|
57958
57967
|
evt.target.name = name2;
|
|
@@ -61258,7 +61267,7 @@ var ResizeObserverBoxOptions;
|
|
|
61258
61267
|
var freeze = function(obj) {
|
|
61259
61268
|
return Object.freeze(obj);
|
|
61260
61269
|
};
|
|
61261
|
-
var ResizeObserverSize = function() {
|
|
61270
|
+
var ResizeObserverSize = /* @__PURE__ */ function() {
|
|
61262
61271
|
function ResizeObserverSize2(inlineSize, blockSize) {
|
|
61263
61272
|
this.inlineSize = inlineSize;
|
|
61264
61273
|
this.blockSize = blockSize;
|
|
@@ -61406,7 +61415,7 @@ var calculateBoxSize = function(target, observedBox, forceRecalculation) {
|
|
|
61406
61415
|
return contentBoxSize;
|
|
61407
61416
|
}
|
|
61408
61417
|
};
|
|
61409
|
-
var ResizeObserverEntry = function() {
|
|
61418
|
+
var ResizeObserverEntry = /* @__PURE__ */ function() {
|
|
61410
61419
|
function ResizeObserverEntry2(target) {
|
|
61411
61420
|
var boxes = calculateBoxSizes(target);
|
|
61412
61421
|
this.target = target;
|
|
@@ -61642,7 +61651,7 @@ var ResizeObservation = function() {
|
|
|
61642
61651
|
};
|
|
61643
61652
|
return ResizeObservation2;
|
|
61644
61653
|
}();
|
|
61645
|
-
var ResizeObserverDetail = function() {
|
|
61654
|
+
var ResizeObserverDetail = /* @__PURE__ */ function() {
|
|
61646
61655
|
function ResizeObserverDetail2(resizeObserver, callback) {
|
|
61647
61656
|
this.activeTargets = [];
|
|
61648
61657
|
this.skippedTargets = [];
|
|
@@ -68593,20 +68602,6 @@ function getEventClientOffset(e2, lastTargetTouchFallback) {
|
|
|
68593
68602
|
};
|
|
68594
68603
|
}
|
|
68595
68604
|
}
|
|
68596
|
-
const supportsPassive = (() => {
|
|
68597
|
-
let supported = false;
|
|
68598
|
-
try {
|
|
68599
|
-
addEventListener("test", () => {
|
|
68600
|
-
}, Object.defineProperty({}, "passive", {
|
|
68601
|
-
get() {
|
|
68602
|
-
supported = true;
|
|
68603
|
-
return true;
|
|
68604
|
-
}
|
|
68605
|
-
}));
|
|
68606
|
-
} catch (e2) {
|
|
68607
|
-
}
|
|
68608
|
-
return supported;
|
|
68609
|
-
})();
|
|
68610
68605
|
const eventNames = {
|
|
68611
68606
|
[ListenerType.mouse]: {
|
|
68612
68607
|
start: "mousedown",
|
|
@@ -68681,10 +68676,7 @@ class TouchBackendImpl {
|
|
|
68681
68676
|
this.uninstallSourceNodeRemovalObserver();
|
|
68682
68677
|
}
|
|
68683
68678
|
addEventListener(subject, event, handler, capture = false) {
|
|
68684
|
-
const options =
|
|
68685
|
-
capture,
|
|
68686
|
-
passive: false
|
|
68687
|
-
} : capture;
|
|
68679
|
+
const options = capture;
|
|
68688
68680
|
this.listenerTypes.forEach(function(listenerType) {
|
|
68689
68681
|
const evt = eventNames[listenerType][event];
|
|
68690
68682
|
if (evt) {
|
|
@@ -68693,10 +68685,7 @@ class TouchBackendImpl {
|
|
|
68693
68685
|
});
|
|
68694
68686
|
}
|
|
68695
68687
|
removeEventListener(subject, event, handler, capture = false) {
|
|
68696
|
-
const options =
|
|
68697
|
-
capture,
|
|
68698
|
-
passive: false
|
|
68699
|
-
} : capture;
|
|
68688
|
+
const options = capture;
|
|
68700
68689
|
this.listenerTypes.forEach(function(listenerType) {
|
|
68701
68690
|
const evt = eventNames[listenerType][event];
|
|
68702
68691
|
if (evt) {
|