@banyan_cloud/roots 2.0.41 → 2.0.42
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/esm/index.js +577 -498
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/buttons/button/types/index.d.ts +1 -2
- package/dist/esm/src/components/hierarchy/browser/HierarchyBrowser.d.ts +9 -1
- package/dist/esm/src/components/hierarchy/item/HierarchyItem.d.ts +4 -2
- package/dist/esm/src/components/icons/Calender/Calender.d.ts +6 -6
- package/dist/esm/src/components/icons/Calender/index.d.ts +1 -1
- package/dist/esm/src/components/icons/Close/Close.d.ts +3 -3
- package/dist/esm/src/components/icons/Close/index.d.ts +1 -1
- package/dist/esm/src/components/icons/ColumnFilter/ColumnFilter.d.ts +4 -6
- package/dist/esm/src/components/icons/ColumnFilter/index.d.ts +1 -1
- package/dist/esm/src/components/icons/Delete/Delete.d.ts +3 -6
- package/dist/esm/src/components/icons/Delete/index.d.ts +1 -1
- package/dist/esm/src/components/icons/Edit/Edit.d.ts +3 -6
- package/dist/esm/src/components/icons/Edit/index.d.ts +1 -1
- package/dist/esm/src/components/icons/Email/Email.d.ts +3 -1
- package/dist/esm/src/components/icons/Email/index.d.ts +1 -1
- package/dist/esm/src/components/icons/MaximizeIcon/Maximize.d.ts +3 -1
- package/dist/esm/src/components/icons/MaximizeIcon/index.d.ts +1 -1
- package/dist/esm/src/components/icons/index.d.ts +0 -1
- package/dist/esm/src/components/modal/BaseModal.d.ts +4 -26
- package/dist/esm/src/components/modal/constants/index.d.ts +21 -0
- package/dist/esm/src/components/modal/dialogBox/DialogBox.d.ts +33 -1
- package/dist/esm/src/components/modal/dialogBox/index.d.ts +1 -1
- package/dist/esm/src/components/modal/index.d.ts +1 -1
- package/dist/esm/src/components/modal/types/index.d.ts +38 -0
- package/package.json +4 -2
- package/dist/esm/src/components/icons/Columns/Columns.d.ts +0 -7
- package/dist/esm/src/components/icons/Columns/index.d.ts +0 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { motion, AnimatePresence, useAnimate } from 'framer-motion';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import React__default, { forwardRef, createElement, isValidElement, useState, useRef, useLayoutEffect, useEffect, useId as useId$1, useImperativeHandle, useCallback, cloneElement, useMemo, useReducer, Children } from 'react';
|
|
4
|
+
import React__default, { forwardRef, createElement, isValidElement, useState, useRef, useLayoutEffect, useEffect, useId as useId$1, useImperativeHandle, useCallback, cloneElement, startTransition, useMemo, useReducer, Children } from 'react';
|
|
5
5
|
import * as ReactDOM from 'react-dom';
|
|
6
6
|
import { createPortal } from 'react-dom';
|
|
7
7
|
import EChartsReactCore from 'echarts-for-react/lib/core';
|
|
@@ -4382,21 +4382,18 @@ var Calender$1 = function Calender(props) {
|
|
|
4382
4382
|
width = props.width,
|
|
4383
4383
|
height = props.height,
|
|
4384
4384
|
color = props.color;
|
|
4385
|
-
return
|
|
4385
|
+
return jsx("svg", {
|
|
4386
4386
|
className: className,
|
|
4387
4387
|
width: width !== null && width !== void 0 ? width : '1.5rem',
|
|
4388
4388
|
height: height !== null && height !== void 0 ? height : '1.5rem',
|
|
4389
4389
|
fill: color !== null && color !== void 0 ? color : '#333333',
|
|
4390
|
-
viewBox:
|
|
4391
|
-
xmlns:
|
|
4392
|
-
children:
|
|
4393
|
-
d:
|
|
4390
|
+
viewBox: '0 0 24 24',
|
|
4391
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
4392
|
+
children: jsx("path", {
|
|
4393
|
+
d: 'M19 4H17V3C17 2.73478 16.8946 2.48043 16.7071 2.29289C16.5196 2.10536 16.2652 2 16 2C15.7348 2 15.4804 2.10536 15.2929 2.29289C15.1054 2.48043 15 2.73478 15 3V4H9V3C9 2.73478 8.89464 2.48043 8.70711 2.29289C8.51957 2.10536 8.26522 2 8 2C7.73478 2 7.48043 2.10536 7.29289 2.29289C7.10536 2.48043 7 2.73478 7 3V4H5C4.20435 4 3.44129 4.31607 2.87868 4.87868C2.31607 5.44129 2 6.20435 2 7V19C2 19.7956 2.31607 20.5587 2.87868 21.1213C3.44129 21.6839 4.20435 22 5 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V7C22 6.20435 21.6839 5.44129 21.1213 4.87868C20.5587 4.31607 19.7956 4 19 4ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H5C4.73478 20 4.48043 19.8946 4.29289 19.7071C4.10536 19.5196 4 19.2652 4 19V12H20V19ZM20 10H4V7C4 6.73478 4.10536 6.48043 4.29289 6.29289C4.48043 6.10536 4.73478 6 5 6H7V7C7 7.26522 7.10536 7.51957 7.29289 7.70711C7.48043 7.89464 7.73478 8 8 8C8.26522 8 8.51957 7.89464 8.70711 7.70711C8.89464 7.51957 9 7.26522 9 7V6H15V7C15 7.26522 15.1054 7.51957 15.2929 7.70711C15.4804 7.89464 15.7348 8 16 8C16.2652 8 16.5196 7.89464 16.7071 7.70711C16.8946 7.51957 17 7.26522 17 7V6H19C19.2652 6 19.5196 6.10536 19.7071 6.29289C19.8946 6.48043 20 6.73478 20 7V10Z'
|
|
4394
4394
|
})
|
|
4395
4395
|
});
|
|
4396
4396
|
};
|
|
4397
|
-
Calender$1.defaultProps = {
|
|
4398
|
-
className: ''
|
|
4399
|
-
};
|
|
4400
4397
|
|
|
4401
4398
|
var Caret = function Caret(props) {
|
|
4402
4399
|
var _props$className = props.className,
|
|
@@ -5271,183 +5268,117 @@ var Clock = function Clock(_ref) {
|
|
|
5271
5268
|
|
|
5272
5269
|
var Close = function Close(_ref) {
|
|
5273
5270
|
var className = _ref.className;
|
|
5274
|
-
return
|
|
5271
|
+
return jsx("svg", {
|
|
5275
5272
|
className: className,
|
|
5276
|
-
width:
|
|
5277
|
-
height:
|
|
5278
|
-
viewBox:
|
|
5279
|
-
fill:
|
|
5280
|
-
xmlns:
|
|
5281
|
-
children:
|
|
5282
|
-
d:
|
|
5273
|
+
width: '1.5rem',
|
|
5274
|
+
height: '1.5rem',
|
|
5275
|
+
viewBox: '0 0 14 15',
|
|
5276
|
+
fill: '#333333',
|
|
5277
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5278
|
+
children: jsx("path", {
|
|
5279
|
+
d: 'M11.0834 3.74416L10.2609 2.92166L7.00002 6.18249L3.73919 2.92166L2.91669 3.74416L6.17752 7.00499L2.91669 10.2658L3.73919 11.0883L7.00002 7.82749L10.2609 11.0883L11.0834 10.2658L7.82252 7.00499L11.0834 3.74416Z'
|
|
5283
5280
|
})
|
|
5284
5281
|
});
|
|
5285
5282
|
};
|
|
5286
5283
|
|
|
5287
5284
|
var ColumnFilter = function ColumnFilter(props) {
|
|
5288
5285
|
var className = props.className,
|
|
5289
|
-
v2 = props.v2,
|
|
5290
5286
|
active = props.active;
|
|
5291
5287
|
if (active) {
|
|
5292
|
-
return
|
|
5293
|
-
width:
|
|
5294
|
-
height:
|
|
5288
|
+
return jsxs("svg", {
|
|
5289
|
+
width: '1.5rem',
|
|
5290
|
+
height: '1.5rem',
|
|
5295
5291
|
className: className,
|
|
5296
|
-
viewBox:
|
|
5297
|
-
fill:
|
|
5298
|
-
xmlns:
|
|
5299
|
-
children: [
|
|
5300
|
-
clipPath:
|
|
5301
|
-
children: [
|
|
5302
|
-
d:
|
|
5303
|
-
stroke:
|
|
5304
|
-
strokeWidth:
|
|
5305
|
-
strokeLinecap:
|
|
5306
|
-
strokeLinejoin:
|
|
5307
|
-
}),
|
|
5308
|
-
d:
|
|
5309
|
-
stroke:
|
|
5310
|
-
strokeWidth:
|
|
5311
|
-
strokeLinecap:
|
|
5312
|
-
strokeLinejoin:
|
|
5313
|
-
}),
|
|
5314
|
-
d:
|
|
5315
|
-
stroke:
|
|
5316
|
-
strokeWidth:
|
|
5317
|
-
strokeLinecap:
|
|
5318
|
-
strokeLinejoin:
|
|
5319
|
-
}),
|
|
5320
|
-
d:
|
|
5321
|
-
stroke:
|
|
5322
|
-
strokeWidth:
|
|
5323
|
-
strokeLinecap:
|
|
5324
|
-
strokeLinejoin:
|
|
5292
|
+
viewBox: '0 0 24 25',
|
|
5293
|
+
fill: 'none',
|
|
5294
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5295
|
+
children: [jsxs("g", {
|
|
5296
|
+
clipPath: 'url(#clip0_2242_8740)',
|
|
5297
|
+
children: [jsx("path", {
|
|
5298
|
+
d: 'M3.271 6H19.271',
|
|
5299
|
+
stroke: '#0F62FE',
|
|
5300
|
+
strokeWidth: '1',
|
|
5301
|
+
strokeLinecap: 'round',
|
|
5302
|
+
strokeLinejoin: 'round'
|
|
5303
|
+
}), jsx("path", {
|
|
5304
|
+
d: 'M3.271 12H7.271',
|
|
5305
|
+
stroke: '#0F62FE',
|
|
5306
|
+
strokeWidth: '1',
|
|
5307
|
+
strokeLinecap: 'round',
|
|
5308
|
+
strokeLinejoin: 'round'
|
|
5309
|
+
}), jsx("path", {
|
|
5310
|
+
d: 'M3.271 18H7.271',
|
|
5311
|
+
stroke: '#0F62FE',
|
|
5312
|
+
strokeWidth: '1',
|
|
5313
|
+
strokeLinecap: 'round',
|
|
5314
|
+
strokeLinejoin: 'round'
|
|
5315
|
+
}), jsx("path", {
|
|
5316
|
+
d: 'M9.84447 9H20.9873C21.1108 9.04329 21.2227 9.11427 21.3144 9.20748C21.4062 9.3007 21.4754 9.41369 21.5168 9.53779C21.5582 9.66189 21.5706 9.79382 21.5531 9.92346C21.5356 10.0531 21.4887 10.177 21.4159 10.2857L17.1302 15V21L13.7016 18.4286V15L9.4159 10.2857C9.34312 10.177 9.29619 10.0531 9.27869 9.92346C9.2612 9.79382 9.27361 9.66189 9.31498 9.53779C9.35635 9.41369 9.42557 9.3007 9.51735 9.20748C9.60913 9.11427 9.72103 9.04329 9.84447 9Z',
|
|
5317
|
+
stroke: '#0F62FE',
|
|
5318
|
+
strokeWidth: '1',
|
|
5319
|
+
strokeLinecap: 'round',
|
|
5320
|
+
strokeLinejoin: 'round'
|
|
5325
5321
|
})]
|
|
5326
|
-
}),
|
|
5327
|
-
children:
|
|
5328
|
-
id:
|
|
5329
|
-
children:
|
|
5330
|
-
width:
|
|
5331
|
-
height:
|
|
5332
|
-
fill:
|
|
5333
|
-
transform:
|
|
5322
|
+
}), jsx("defs", {
|
|
5323
|
+
children: jsx("clipPath", {
|
|
5324
|
+
id: 'clip0_2242_8740',
|
|
5325
|
+
children: jsx("rect", {
|
|
5326
|
+
width: '24',
|
|
5327
|
+
height: '24',
|
|
5328
|
+
fill: 'white',
|
|
5329
|
+
transform: 'translate(0 0.5)'
|
|
5334
5330
|
})
|
|
5335
5331
|
})
|
|
5336
5332
|
})]
|
|
5337
5333
|
});
|
|
5338
5334
|
}
|
|
5339
|
-
return
|
|
5340
|
-
width:
|
|
5341
|
-
height:
|
|
5342
|
-
className: className,
|
|
5343
|
-
viewBox: "0 0 24 25",
|
|
5344
|
-
fill: "none",
|
|
5345
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5346
|
-
children: [/*#__PURE__*/jsxs("g", {
|
|
5347
|
-
clipPath: "url(#clip0_2242_8740)",
|
|
5348
|
-
children: [/*#__PURE__*/jsx("path", {
|
|
5349
|
-
d: "M3.271 6H19.271",
|
|
5350
|
-
stroke: "#141920",
|
|
5351
|
-
strokeWidth: "1",
|
|
5352
|
-
strokeLinecap: "round",
|
|
5353
|
-
strokeLinejoin: "round"
|
|
5354
|
-
}), /*#__PURE__*/jsx("path", {
|
|
5355
|
-
d: "M3.271 12H7.271",
|
|
5356
|
-
stroke: "#141920",
|
|
5357
|
-
strokeWidth: "1",
|
|
5358
|
-
strokeLinecap: "round",
|
|
5359
|
-
strokeLinejoin: "round"
|
|
5360
|
-
}), /*#__PURE__*/jsx("path", {
|
|
5361
|
-
d: "M3.271 18H7.271",
|
|
5362
|
-
stroke: "#141920",
|
|
5363
|
-
strokeWidth: "1",
|
|
5364
|
-
strokeLinecap: "round",
|
|
5365
|
-
strokeLinejoin: "round"
|
|
5366
|
-
}), /*#__PURE__*/jsx("path", {
|
|
5367
|
-
d: "M9.84447 9H20.9873C21.1108 9.04329 21.2227 9.11427 21.3144 9.20748C21.4062 9.3007 21.4754 9.41369 21.5168 9.53779C21.5582 9.66189 21.5706 9.79382 21.5531 9.92346C21.5356 10.0531 21.4887 10.177 21.4159 10.2857L17.1302 15V21L13.7016 18.4286V15L9.4159 10.2857C9.34312 10.177 9.29619 10.0531 9.27869 9.92346C9.2612 9.79382 9.27361 9.66189 9.31498 9.53779C9.35635 9.41369 9.42557 9.3007 9.51735 9.20748C9.60913 9.11427 9.72103 9.04329 9.84447 9Z",
|
|
5368
|
-
stroke: "#141920",
|
|
5369
|
-
strokeWidth: "1",
|
|
5370
|
-
strokeLinecap: "round",
|
|
5371
|
-
strokeLinejoin: "round"
|
|
5372
|
-
})]
|
|
5373
|
-
}), /*#__PURE__*/jsx("defs", {
|
|
5374
|
-
children: /*#__PURE__*/jsx("clipPath", {
|
|
5375
|
-
id: "clip0_2242_8740",
|
|
5376
|
-
children: /*#__PURE__*/jsx("rect", {
|
|
5377
|
-
width: "24",
|
|
5378
|
-
height: "24",
|
|
5379
|
-
fill: "white",
|
|
5380
|
-
transform: "translate(0 0.5)"
|
|
5381
|
-
})
|
|
5382
|
-
})
|
|
5383
|
-
})]
|
|
5384
|
-
}) : /*#__PURE__*/jsxs("svg", {
|
|
5385
|
-
width: "24",
|
|
5386
|
-
height: "24",
|
|
5387
|
-
viewBox: "0 0 24 24",
|
|
5388
|
-
fill: "none",
|
|
5335
|
+
return jsxs("svg", {
|
|
5336
|
+
width: '1.5rem',
|
|
5337
|
+
height: '1.5rem',
|
|
5389
5338
|
className: className,
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5339
|
+
viewBox: '0 0 24 25',
|
|
5340
|
+
fill: 'none',
|
|
5341
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5342
|
+
children: [jsxs("g", {
|
|
5343
|
+
clipPath: 'url(#clip0_2242_8740)',
|
|
5344
|
+
children: [jsx("path", {
|
|
5345
|
+
d: 'M3.271 6H19.271',
|
|
5346
|
+
stroke: '#141920',
|
|
5347
|
+
strokeWidth: '1',
|
|
5348
|
+
strokeLinecap: 'round',
|
|
5349
|
+
strokeLinejoin: 'round'
|
|
5350
|
+
}), jsx("path", {
|
|
5351
|
+
d: 'M3.271 12H7.271',
|
|
5352
|
+
stroke: '#141920',
|
|
5353
|
+
strokeWidth: '1',
|
|
5354
|
+
strokeLinecap: 'round',
|
|
5355
|
+
strokeLinejoin: 'round'
|
|
5356
|
+
}), jsx("path", {
|
|
5357
|
+
d: 'M3.271 18H7.271',
|
|
5358
|
+
stroke: '#141920',
|
|
5359
|
+
strokeWidth: '1',
|
|
5360
|
+
strokeLinecap: 'round',
|
|
5361
|
+
strokeLinejoin: 'round'
|
|
5362
|
+
}), jsx("path", {
|
|
5363
|
+
d: 'M9.84447 9H20.9873C21.1108 9.04329 21.2227 9.11427 21.3144 9.20748C21.4062 9.3007 21.4754 9.41369 21.5168 9.53779C21.5582 9.66189 21.5706 9.79382 21.5531 9.92346C21.5356 10.0531 21.4887 10.177 21.4159 10.2857L17.1302 15V21L13.7016 18.4286V15L9.4159 10.2857C9.34312 10.177 9.29619 10.0531 9.27869 9.92346C9.2612 9.79382 9.27361 9.66189 9.31498 9.53779C9.35635 9.41369 9.42557 9.3007 9.51735 9.20748C9.60913 9.11427 9.72103 9.04329 9.84447 9Z',
|
|
5364
|
+
stroke: '#141920',
|
|
5365
|
+
strokeWidth: '1',
|
|
5366
|
+
strokeLinecap: 'round',
|
|
5367
|
+
strokeLinejoin: 'round'
|
|
5417
5368
|
})]
|
|
5418
|
-
}),
|
|
5419
|
-
children:
|
|
5420
|
-
id:
|
|
5421
|
-
children:
|
|
5422
|
-
width:
|
|
5423
|
-
height:
|
|
5424
|
-
fill:
|
|
5369
|
+
}), jsx("defs", {
|
|
5370
|
+
children: jsx("clipPath", {
|
|
5371
|
+
id: 'clip0_2242_8740',
|
|
5372
|
+
children: jsx("rect", {
|
|
5373
|
+
width: '24',
|
|
5374
|
+
height: '24',
|
|
5375
|
+
fill: 'white',
|
|
5376
|
+
transform: 'translate(0 0.5)'
|
|
5425
5377
|
})
|
|
5426
5378
|
})
|
|
5427
5379
|
})]
|
|
5428
5380
|
});
|
|
5429
5381
|
};
|
|
5430
|
-
ColumnFilter.defaultProps = {
|
|
5431
|
-
className: ''
|
|
5432
|
-
};
|
|
5433
|
-
|
|
5434
|
-
var Columns = function Columns(props) {
|
|
5435
|
-
var className = props.className;
|
|
5436
|
-
return /*#__PURE__*/jsx("svg", {
|
|
5437
|
-
className: className,
|
|
5438
|
-
width: "14",
|
|
5439
|
-
height: "15",
|
|
5440
|
-
viewBox: "0 0 14 15",
|
|
5441
|
-
fill: "#2A2A2A",
|
|
5442
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5443
|
-
children: /*#__PURE__*/jsx("path", {
|
|
5444
|
-
d: "M12.25 1.17167H1.75002C1.59531 1.17167 1.44694 1.23313 1.33754 1.34252C1.22815 1.45192 1.16669 1.60029 1.16669 1.755V12.255C1.16669 12.4097 1.22815 12.5581 1.33754 12.6675C1.44694 12.7769 1.59531 12.8383 1.75002 12.8383H12.25C12.4047 12.8383 12.5531 12.7769 12.6625 12.6675C12.7719 12.5581 12.8334 12.4097 12.8334 12.255V1.755C12.8334 1.60029 12.7719 1.45192 12.6625 1.34252C12.5531 1.23313 12.4047 1.17167 12.25 1.17167ZM6.41669 11.6717H2.33335V2.33833H6.41669V11.6717ZM11.6667 11.6717H7.58335V2.33833H11.6667V11.6717Z"
|
|
5445
|
-
})
|
|
5446
|
-
});
|
|
5447
|
-
};
|
|
5448
|
-
Columns.defaultProps = {
|
|
5449
|
-
className: ''
|
|
5450
|
-
};
|
|
5451
5382
|
|
|
5452
5383
|
var Copy = function Copy(props) {
|
|
5453
5384
|
var className = props.className,
|
|
@@ -5484,79 +5415,73 @@ var Cross = function Cross(props) {
|
|
|
5484
5415
|
|
|
5485
5416
|
var Delete = function Delete(props) {
|
|
5486
5417
|
var className = props.className;
|
|
5487
|
-
return
|
|
5418
|
+
return jsx("svg", {
|
|
5488
5419
|
className: className,
|
|
5489
|
-
viewBox:
|
|
5490
|
-
fill:
|
|
5491
|
-
xmlns:
|
|
5492
|
-
children:
|
|
5493
|
-
d:
|
|
5420
|
+
viewBox: '0 0 18 20',
|
|
5421
|
+
fill: '#CD0000',
|
|
5422
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5423
|
+
children: jsx("path", {
|
|
5424
|
+
d: 'M7.16667 15.5C7.40978 15.5 7.64294 15.4034 7.81485 15.2315C7.98676 15.0596 8.08333 14.8264 8.08333 14.5833V9.08333C8.08333 8.84021 7.98676 8.60706 7.81485 8.43515C7.64294 8.26324 7.40978 8.16666 7.16667 8.16666C6.92355 8.16666 6.69039 8.26324 6.51849 8.43515C6.34658 8.60706 6.25 8.84021 6.25 9.08333V14.5833C6.25 14.8264 6.34658 15.0596 6.51849 15.2315C6.69039 15.4034 6.92355 15.5 7.16667 15.5ZM16.3333 4.49999H12.6667V3.58333C12.6667 2.85398 12.3769 2.15451 11.8612 1.63878C11.3455 1.12306 10.646 0.833328 9.91667 0.833328H8.08333C7.35399 0.833328 6.65451 1.12306 6.13879 1.63878C5.62306 2.15451 5.33333 2.85398 5.33333 3.58333V4.49999H1.66667C1.42355 4.49999 1.19039 4.59657 1.01849 4.76848C0.846577 4.94039 0.75 5.17355 0.75 5.41666C0.75 5.65978 0.846577 5.89293 1.01849 6.06484C1.19039 6.23675 1.42355 6.33333 1.66667 6.33333H2.58333V16.4167C2.58333 17.146 2.87306 17.8455 3.38879 18.3612C3.90451 18.8769 4.60399 19.1667 5.33333 19.1667H12.6667C13.396 19.1667 14.0955 18.8769 14.6112 18.3612C15.1269 17.8455 15.4167 17.146 15.4167 16.4167V6.33333H16.3333C16.5764 6.33333 16.8096 6.23675 16.9815 6.06484C17.1534 5.89293 17.25 5.65978 17.25 5.41666C17.25 5.17355 17.1534 4.94039 16.9815 4.76848C16.8096 4.59657 16.5764 4.49999 16.3333 4.49999ZM7.16667 3.58333C7.16667 3.34021 7.26324 3.10706 7.43515 2.93515C7.60706 2.76324 7.84022 2.66666 8.08333 2.66666H9.91667C10.1598 2.66666 10.3929 2.76324 10.5648 2.93515C10.7368 3.10706 10.8333 3.34021 10.8333 3.58333V4.49999H7.16667V3.58333ZM13.5833 16.4167C13.5833 16.6598 13.4868 16.8929 13.3148 17.0648C13.1429 17.2368 12.9098 17.3333 12.6667 17.3333H5.33333C5.09022 17.3333 4.85706 17.2368 4.68515 17.0648C4.51324 16.8929 4.41667 16.6598 4.41667 16.4167V6.33333H13.5833V16.4167ZM10.8333 15.5C11.0764 15.5 11.3096 15.4034 11.4815 15.2315C11.6534 15.0596 11.75 14.8264 11.75 14.5833V9.08333C11.75 8.84021 11.6534 8.60706 11.4815 8.43515C11.3096 8.26324 11.0764 8.16666 10.8333 8.16666C10.5902 8.16666 10.3571 8.26324 10.1852 8.43515C10.0132 8.60706 9.91667 8.84021 9.91667 9.08333V14.5833C9.91667 14.8264 10.0132 15.0596 10.1852 15.2315C10.3571 15.4034 10.5902 15.5 10.8333 15.5Z'
|
|
5494
5425
|
})
|
|
5495
5426
|
});
|
|
5496
5427
|
};
|
|
5497
|
-
Delete.defaultProps = {
|
|
5498
|
-
className: ''
|
|
5499
|
-
};
|
|
5500
5428
|
|
|
5501
5429
|
var Edit = function Edit(props) {
|
|
5502
5430
|
var className = props.className;
|
|
5503
|
-
return
|
|
5431
|
+
return jsxs("svg", {
|
|
5504
5432
|
className: className,
|
|
5505
|
-
viewBox:
|
|
5506
|
-
fill:
|
|
5507
|
-
stroke:
|
|
5508
|
-
xmlns:
|
|
5509
|
-
children: [
|
|
5510
|
-
clipPath:
|
|
5511
|
-
children: [
|
|
5512
|
-
d:
|
|
5513
|
-
strokeWidth:
|
|
5514
|
-
strokeLinecap:
|
|
5515
|
-
strokeLinejoin:
|
|
5516
|
-
}),
|
|
5517
|
-
d:
|
|
5518
|
-
strokeWidth:
|
|
5519
|
-
strokeLinecap:
|
|
5520
|
-
strokeLinejoin:
|
|
5521
|
-
}),
|
|
5522
|
-
d:
|
|
5523
|
-
strokeWidth:
|
|
5524
|
-
strokeLinecap:
|
|
5525
|
-
strokeLinejoin:
|
|
5433
|
+
viewBox: '0 0 16 17',
|
|
5434
|
+
fill: 'none',
|
|
5435
|
+
stroke: '#101010',
|
|
5436
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5437
|
+
children: [jsxs("g", {
|
|
5438
|
+
clipPath: 'url(#clip0_7396_6511)',
|
|
5439
|
+
children: [jsx("path", {
|
|
5440
|
+
d: 'M3.33341 11.4333L2.66675 14.0999L5.33341 13.4333L13.0001 5.7666C13.5524 5.21432 13.5524 4.31889 13.0001 3.7666C12.4478 3.21432 11.5524 3.21432 11.0001 3.7666L3.33341 11.4333Z',
|
|
5441
|
+
strokeWidth: '1.33333',
|
|
5442
|
+
strokeLinecap: 'round',
|
|
5443
|
+
strokeLinejoin: 'round'
|
|
5444
|
+
}), jsx("path", {
|
|
5445
|
+
d: 'M10 4.7666L12 6.7666',
|
|
5446
|
+
strokeWidth: '1.33333',
|
|
5447
|
+
strokeLinecap: 'round',
|
|
5448
|
+
strokeLinejoin: 'round'
|
|
5449
|
+
}), jsx("path", {
|
|
5450
|
+
d: 'M8.66675 14.0999H14.0001',
|
|
5451
|
+
strokeWidth: '1.33333',
|
|
5452
|
+
strokeLinecap: 'round',
|
|
5453
|
+
strokeLinejoin: 'round'
|
|
5526
5454
|
})]
|
|
5527
|
-
}),
|
|
5528
|
-
children:
|
|
5529
|
-
id:
|
|
5530
|
-
children:
|
|
5531
|
-
width:
|
|
5532
|
-
height:
|
|
5533
|
-
fill:
|
|
5534
|
-
transform:
|
|
5455
|
+
}), jsx("defs", {
|
|
5456
|
+
children: jsx("clipPath", {
|
|
5457
|
+
id: 'clip0_7396_6511',
|
|
5458
|
+
children: jsx("rect", {
|
|
5459
|
+
width: '16',
|
|
5460
|
+
height: '16',
|
|
5461
|
+
fill: 'white',
|
|
5462
|
+
transform: 'translate(0 0.766602)'
|
|
5535
5463
|
})
|
|
5536
5464
|
})
|
|
5537
5465
|
})]
|
|
5538
5466
|
});
|
|
5539
5467
|
};
|
|
5540
|
-
Edit.defaultProps = {
|
|
5541
|
-
className: ''
|
|
5542
|
-
};
|
|
5543
5468
|
|
|
5544
5469
|
var Email = function Email(props) {
|
|
5545
5470
|
var _props$className = props.className,
|
|
5546
5471
|
className = _props$className === void 0 ? '' : _props$className;
|
|
5547
|
-
return
|
|
5472
|
+
return jsx("svg", {
|
|
5548
5473
|
className: className,
|
|
5549
|
-
width:
|
|
5550
|
-
height:
|
|
5551
|
-
viewBox:
|
|
5552
|
-
fill:
|
|
5553
|
-
xmlns:
|
|
5554
|
-
children:
|
|
5555
|
-
d:
|
|
5556
|
-
stroke:
|
|
5557
|
-
strokeWidth:
|
|
5558
|
-
strokeLinecap:
|
|
5559
|
-
strokeLinejoin:
|
|
5474
|
+
width: '1rem',
|
|
5475
|
+
height: '1rem',
|
|
5476
|
+
viewBox: '0 0 24 24',
|
|
5477
|
+
fill: 'none',
|
|
5478
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5479
|
+
children: jsx("path", {
|
|
5480
|
+
d: 'M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6M22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6M22 6L12 13L2 6',
|
|
5481
|
+
stroke: '#71839B',
|
|
5482
|
+
strokeWidth: '1.5',
|
|
5483
|
+
strokeLinecap: 'round',
|
|
5484
|
+
strokeLinejoin: 'round'
|
|
5560
5485
|
})
|
|
5561
5486
|
});
|
|
5562
5487
|
};
|
|
@@ -5770,32 +5695,17 @@ MagnifyingGlass.defaultProps = {
|
|
|
5770
5695
|
};
|
|
5771
5696
|
|
|
5772
5697
|
var Maximize = function Maximize(props) {
|
|
5773
|
-
var className = props.className
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
height: "1.5rem",
|
|
5698
|
+
var className = props.className;
|
|
5699
|
+
return jsx("svg", {
|
|
5700
|
+
width: '1.5rem',
|
|
5701
|
+
height: '1.5rem',
|
|
5778
5702
|
className: className,
|
|
5779
|
-
viewBox:
|
|
5780
|
-
fill:
|
|
5781
|
-
xmlns:
|
|
5782
|
-
children:
|
|
5783
|
-
d:
|
|
5703
|
+
viewBox: '0 0 14 15',
|
|
5704
|
+
fill: '#FFFFFF',
|
|
5705
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5706
|
+
children: jsx("path", {
|
|
5707
|
+
d: 'M13.95 1.66683C13.95 1.44582 13.8622 1.23385 13.706 1.07757C13.5497 0.921294 13.3377 0.833496 13.1167 0.833496H8.95003C8.72902 0.833496 8.51706 0.921294 8.36078 1.07757C8.2045 1.23385 8.1167 1.44582 8.1167 1.66683C8.1167 1.88784 8.2045 2.0998 8.36078 2.25608C8.51706 2.41237 8.72902 2.50016 8.95003 2.50016H11.0917L8.35837 5.24183C8.28026 5.3193 8.21826 5.41147 8.17596 5.51302C8.13365 5.61456 8.11187 5.72349 8.11187 5.8335C8.11187 5.94351 8.13365 6.05243 8.17596 6.15398C8.21826 6.25553 8.28026 6.34769 8.35837 6.42516C8.43583 6.50327 8.528 6.56526 8.62955 6.60757C8.7311 6.64988 8.84002 6.67166 8.95003 6.67166C9.06004 6.67166 9.16896 6.64988 9.27051 6.60757C9.37206 6.56526 9.46423 6.50327 9.5417 6.42516L12.2834 3.6835V5.8335C12.2834 6.05451 12.3712 6.26647 12.5274 6.42275C12.6837 6.57903 12.8957 6.66683 13.1167 6.66683C13.3377 6.66683 13.5497 6.57903 13.706 6.42275C13.8622 6.26647 13.95 6.05451 13.95 5.8335V1.66683ZM6.20837 8.57516C6.1309 8.49706 6.03873 8.43506 5.93718 8.39275C5.83563 8.35045 5.72671 8.32866 5.6167 8.32866C5.50669 8.32866 5.39777 8.35045 5.29622 8.39275C5.19467 8.43506 5.1025 8.49706 5.02503 8.57516L2.28337 11.3085V9.16683C2.28337 8.94582 2.19557 8.73385 2.03929 8.57757C1.88301 8.42129 1.67105 8.3335 1.45003 8.3335C1.22902 8.3335 1.01706 8.42129 0.860777 8.57757C0.704497 8.73385 0.616699 8.94582 0.616699 9.16683V13.3335C0.616699 13.5545 0.704497 13.7665 0.860777 13.9228C1.01706 14.079 1.22902 14.1668 1.45003 14.1668H5.6167C5.83771 14.1668 6.04967 14.079 6.20595 13.9228C6.36224 13.7665 6.45003 13.5545 6.45003 13.3335C6.45003 13.1125 6.36224 12.9005 6.20595 12.7442C6.04967 12.588 5.83771 12.5002 5.6167 12.5002H3.4667L6.20837 9.7585C6.28647 9.68103 6.34847 9.58886 6.39078 9.48731C6.43308 9.38576 6.45486 9.27684 6.45486 9.16683C6.45486 9.05682 6.43308 8.9479 6.39078 8.84635C6.34847 8.7448 6.28647 8.65263 6.20837 8.57516Z'
|
|
5784
5708
|
})
|
|
5785
|
-
}) : /*#__PURE__*/jsxs("svg", {
|
|
5786
|
-
className: className,
|
|
5787
|
-
width: "1.5rem",
|
|
5788
|
-
height: "1.5rem",
|
|
5789
|
-
viewBox: "0 0 20 20",
|
|
5790
|
-
fill: "#FFFFFF",
|
|
5791
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5792
|
-
children: [/*#__PURE__*/jsx("path", {
|
|
5793
|
-
d: "M5.00011 15.625C4.84178 15.625 4.68345 15.5667 4.55845 15.4417C4.31678 15.2 4.31678 14.8 4.55845 14.5583L14.5584 4.55833C14.8001 4.31666 15.2001 4.31666 15.4418 4.55833C15.6834 4.79999 15.6834 5.19999 15.4418 5.44166L5.44178 15.4417C5.31678 15.5667 5.15845 15.625 5.00011 15.625Z"
|
|
5794
|
-
}), /*#__PURE__*/jsx("path", {
|
|
5795
|
-
d: "M15.0001 8.95833C14.6584 8.95833 14.3751 8.675 14.3751 8.33333V5.625H11.6667C11.3251 5.625 11.0417 5.34167 11.0417 5C11.0417 4.65833 11.3251 4.375 11.6667 4.375H15.0001C15.3417 4.375 15.6251 4.65833 15.6251 5V8.33333C15.6251 8.675 15.3417 8.95833 15.0001 8.95833Z"
|
|
5796
|
-
}), /*#__PURE__*/jsx("path", {
|
|
5797
|
-
d: "M8.33333 15.625H5C4.65833 15.625 4.375 15.3416 4.375 15V11.6666C4.375 11.325 4.65833 11.0416 5 11.0416C5.34167 11.0416 5.625 11.325 5.625 11.6666V14.375H8.33333C8.675 14.375 8.95833 14.6583 8.95833 15C8.95833 15.3416 8.675 15.625 8.33333 15.625Z"
|
|
5798
|
-
})]
|
|
5799
5709
|
});
|
|
5800
5710
|
};
|
|
5801
5711
|
|
|
@@ -16165,6 +16075,7 @@ var css$M = ".BaseModal_module_root__627cb2d4 {\n display: flex;\n flex-direct
|
|
|
16165
16075
|
var modules_f23ae002 = {"root":"BaseModal_module_root__627cb2d4","body":"BaseModal_module_body__627cb2d4","header":"BaseModal_module_header__627cb2d4","footer":"BaseModal_module_footer__627cb2d4","dismiss":"BaseModal_module_dismiss__627cb2d4","close":"BaseModal_module_close__627cb2d4","icon":"BaseModal_module_icon__627cb2d4"};
|
|
16166
16076
|
n(css$M,{});
|
|
16167
16077
|
|
|
16078
|
+
var MotionFooter = motion.footer;
|
|
16168
16079
|
var footerAnimations = {
|
|
16169
16080
|
initial: {
|
|
16170
16081
|
opacity: 0,
|
|
@@ -16181,32 +16092,31 @@ var footerAnimations = {
|
|
|
16181
16092
|
var ModalHeader = function ModalHeader(_ref) {
|
|
16182
16093
|
var title = _ref.title,
|
|
16183
16094
|
description = _ref.description;
|
|
16184
|
-
return
|
|
16185
|
-
children: [
|
|
16186
|
-
component:
|
|
16187
|
-
variant:
|
|
16095
|
+
return jsxs(Fragment, {
|
|
16096
|
+
children: [jsx(Text, {
|
|
16097
|
+
component: 'h2',
|
|
16098
|
+
variant: 'h2',
|
|
16188
16099
|
weight: 600,
|
|
16189
16100
|
children: title
|
|
16190
|
-
}),
|
|
16191
|
-
component:
|
|
16192
|
-
variant:
|
|
16101
|
+
}), jsx(Text, {
|
|
16102
|
+
component: 'span',
|
|
16103
|
+
variant: 'b1',
|
|
16193
16104
|
weight: 400,
|
|
16194
16105
|
children: description
|
|
16195
16106
|
})]
|
|
16196
16107
|
});
|
|
16197
16108
|
};
|
|
16198
16109
|
var ModalFooter = function ModalFooter(props) {
|
|
16199
|
-
var
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
loading = _ref2.loading;
|
|
16110
|
+
var _props$actionTitle = props.actionTitle,
|
|
16111
|
+
actionTitle = _props$actionTitle === void 0 ? 'Save' : _props$actionTitle,
|
|
16112
|
+
_props$disabled = props.disabled,
|
|
16113
|
+
disabled = _props$disabled === void 0 ? {} : _props$disabled,
|
|
16114
|
+
_props$cancelTitle = props.cancelTitle,
|
|
16115
|
+
cancelTitle = _props$cancelTitle === void 0 ? 'Cancel' : _props$cancelTitle,
|
|
16116
|
+
onAction = props.onAction,
|
|
16117
|
+
onDismiss = props.onDismiss,
|
|
16118
|
+
toggle = props.toggle,
|
|
16119
|
+
loading = props.loading;
|
|
16210
16120
|
var handleAction = function handleAction() {
|
|
16211
16121
|
if (loading) {
|
|
16212
16122
|
return;
|
|
@@ -16217,13 +16127,13 @@ var ModalFooter = function ModalFooter(props) {
|
|
|
16217
16127
|
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
16218
16128
|
toggle === null || toggle === void 0 || toggle();
|
|
16219
16129
|
};
|
|
16220
|
-
return
|
|
16221
|
-
children: [
|
|
16130
|
+
return jsxs(Fragment, {
|
|
16131
|
+
children: [jsx(Button, {
|
|
16222
16132
|
className: modules_f23ae002.dismiss,
|
|
16223
16133
|
title: cancelTitle,
|
|
16224
16134
|
onClick: handleDismiss,
|
|
16225
16135
|
disabled: disabled.cancel
|
|
16226
|
-
}),
|
|
16136
|
+
}), jsx(Button, {
|
|
16227
16137
|
className: modules_f23ae002.action,
|
|
16228
16138
|
title: actionTitle,
|
|
16229
16139
|
onClick: handleAction,
|
|
@@ -16252,23 +16162,12 @@ var DEFAULT_ANIMATION_PROPS = {
|
|
|
16252
16162
|
duration: 0.15
|
|
16253
16163
|
}
|
|
16254
16164
|
};
|
|
16255
|
-
|
|
16256
16165
|
/**
|
|
16257
16166
|
* Renders a modal dialog with customizable header, body, and footer content.
|
|
16258
16167
|
* Manages the modal's open state and provides a toggle function.
|
|
16259
16168
|
* Handles dismiss interactions, such as clicking outside the modal or pressing the Escape key.
|
|
16260
|
-
*
|
|
16261
|
-
* @param {string} className - The CSS class name for the modal container.
|
|
16262
|
-
* @param {string} popperClassName - The CSS class name for the popper container.
|
|
16263
|
-
* @param {ReactElement|Function} renderHeader - The content to render in the modal header.
|
|
16264
|
-
* @param {ReactElement} children - The content to render in the modal body.
|
|
16265
|
-
* @param {ReactElement|Function} renderFooter - The content to render in the modal footer.
|
|
16266
|
-
* @param {Function} toggle - A function to toggle the modal's open state.
|
|
16267
|
-
* @param {boolean} open - The open state of the modal.
|
|
16268
|
-
* @param {boolean} noDismiss - If true, the modal cannot be dismissed by clicking outside or pressing the Escape key.
|
|
16269
|
-
* @param {boolean} hideCrossDismiss - If true, it will hide the cross close button from the top right of the modal.
|
|
16270
|
-
* @returns {ReactElement} The rendered modal dialog.
|
|
16271
16169
|
*/
|
|
16170
|
+
// eslint-disable-next-line react/function-component-definition
|
|
16272
16171
|
var BaseModal = function BaseModal(props) {
|
|
16273
16172
|
var _props$className = props.className,
|
|
16274
16173
|
className = _props$className === void 0 ? '' : _props$className,
|
|
@@ -16279,8 +16178,7 @@ var BaseModal = function BaseModal(props) {
|
|
|
16279
16178
|
renderHeader = props.renderHeader,
|
|
16280
16179
|
children = props.children,
|
|
16281
16180
|
renderFooter = props.renderFooter,
|
|
16282
|
-
|
|
16283
|
-
toggle = _props$toggle === void 0 ? function () {} : _props$toggle,
|
|
16181
|
+
toggle = props.toggle,
|
|
16284
16182
|
open = props.open,
|
|
16285
16183
|
noDismiss = props.noDismiss,
|
|
16286
16184
|
hideCrossDismiss = props.hideCrossDismiss,
|
|
@@ -16289,92 +16187,75 @@ var BaseModal = function BaseModal(props) {
|
|
|
16289
16187
|
animation = _props$animation === void 0 ? true : _props$animation,
|
|
16290
16188
|
_props$animationPrope = props.animationProperties,
|
|
16291
16189
|
animationProperties = _props$animationPrope === void 0 ? DEFAULT_ANIMATION_PROPS : _props$animationPrope;
|
|
16292
|
-
var _useFloating = useFloating({
|
|
16293
|
-
open: open
|
|
16190
|
+
var _useFloating = useFloating(_objectSpread2({
|
|
16191
|
+
open: open
|
|
16192
|
+
}, toggle && {
|
|
16294
16193
|
onOpenChange: toggle
|
|
16295
|
-
}),
|
|
16194
|
+
})),
|
|
16296
16195
|
floating = _useFloating.floating,
|
|
16297
16196
|
context = _useFloating.context;
|
|
16298
16197
|
var _useInteractions = useInteractions([useDismiss(context, {
|
|
16299
16198
|
enabled: !noDismiss
|
|
16300
16199
|
})]),
|
|
16301
16200
|
getFloatingProps = _useInteractions.getFloatingProps;
|
|
16302
|
-
var
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16201
|
+
var bodyProps = function () {
|
|
16202
|
+
if (children && _typeof$1(children) === 'object' && 'props' in children) {
|
|
16203
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
16204
|
+
return children.props;
|
|
16205
|
+
}
|
|
16206
|
+
return undefined;
|
|
16207
|
+
}();
|
|
16208
|
+
return jsx(AnimatePresence, {
|
|
16209
|
+
children: jsx(Popper, {
|
|
16306
16210
|
open: open,
|
|
16307
16211
|
className: popperClassName,
|
|
16308
16212
|
transparent: false,
|
|
16309
|
-
wrapperId:
|
|
16310
|
-
children: open &&
|
|
16213
|
+
wrapperId: 'base-modal-popper',
|
|
16214
|
+
children: open && jsx(FloatingFocusManager, {
|
|
16311
16215
|
context: context,
|
|
16312
|
-
children:
|
|
16216
|
+
children: jsxs(motion.div, _objectSpread2(_objectSpread2({}, getFloatingProps(_objectSpread2({
|
|
16313
16217
|
className: classes(modules_f23ae002.root, className),
|
|
16314
16218
|
ref: floating
|
|
16315
16219
|
}, animation && _objectSpread2({}, animationProperties)))), {}, {
|
|
16316
|
-
children: [renderHeader ?
|
|
16317
|
-
"data-elem":
|
|
16220
|
+
children: [renderHeader ? jsx("header", {
|
|
16221
|
+
"data-elem": 'header',
|
|
16318
16222
|
className: modules_f23ae002.header,
|
|
16319
|
-
children: function ()
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
}
|
|
16323
|
-
return renderHeader(_objectSpread2({}, bodyProps));
|
|
16324
|
-
}()
|
|
16325
|
-
}) : /*#__PURE__*/jsx("header", {
|
|
16326
|
-
"data-elem": "header",
|
|
16223
|
+
children: typeof renderHeader !== 'function' ? renderHeader : renderHeader(_objectSpread2({}, bodyProps))
|
|
16224
|
+
}) : jsx("header", {
|
|
16225
|
+
"data-elem": 'header',
|
|
16327
16226
|
className: modules_f23ae002.header,
|
|
16328
|
-
children:
|
|
16227
|
+
children: jsx(ModalHeader, {
|
|
16329
16228
|
title: title,
|
|
16330
16229
|
description: description
|
|
16331
16230
|
})
|
|
16332
|
-
}),
|
|
16333
|
-
"data-elem":
|
|
16231
|
+
}), jsx("div", {
|
|
16232
|
+
"data-elem": 'body',
|
|
16334
16233
|
className: modules_f23ae002.body,
|
|
16335
16234
|
children: children
|
|
16336
|
-
}), renderFooter ?
|
|
16337
|
-
"data-elem":
|
|
16235
|
+
}), renderFooter ? jsx(MotionFooter, _objectSpread2(_objectSpread2({}, animation && _objectSpread2({}, footerAnimations)), {}, {
|
|
16236
|
+
"data-elem": 'footer',
|
|
16338
16237
|
className: modules_f23ae002.footer,
|
|
16339
|
-
children: function ()
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
}
|
|
16343
|
-
return renderFooter(_objectSpread2({}, bodyProps));
|
|
16344
|
-
}()
|
|
16345
|
-
})) : footerProps ? /*#__PURE__*/jsx(motion.footer, _objectSpread2(_objectSpread2({}, animation && _objectSpread2({}, footerAnimations)), {}, {
|
|
16346
|
-
"data-elem": "footer",
|
|
16238
|
+
children: typeof renderFooter !== 'function' ? renderFooter : renderFooter(_objectSpread2({}, bodyProps))
|
|
16239
|
+
})) : footerProps && jsx(MotionFooter, _objectSpread2(_objectSpread2({}, animation && _objectSpread2({}, footerAnimations)), {}, {
|
|
16240
|
+
"data-elem": 'footer',
|
|
16347
16241
|
className: modules_f23ae002.footer,
|
|
16348
|
-
children:
|
|
16349
|
-
}))
|
|
16350
|
-
size:
|
|
16351
|
-
variant:
|
|
16242
|
+
children: jsx(ModalFooter, _objectSpread2({}, footerProps))
|
|
16243
|
+
})), !hideCrossDismiss && jsx(Button, {
|
|
16244
|
+
size: 'auto',
|
|
16245
|
+
variant: 'text',
|
|
16352
16246
|
className: modules_f23ae002.close,
|
|
16353
16247
|
onClick: function onClick() {
|
|
16354
|
-
toggle(false);
|
|
16248
|
+
toggle === null || toggle === void 0 || toggle(false);
|
|
16355
16249
|
},
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
});
|
|
16360
|
-
}
|
|
16250
|
+
title: jsx(Cross, {
|
|
16251
|
+
className: modules_f23ae002.icon
|
|
16252
|
+
})
|
|
16361
16253
|
})]
|
|
16362
16254
|
}))
|
|
16363
16255
|
})
|
|
16364
16256
|
})
|
|
16365
16257
|
});
|
|
16366
16258
|
};
|
|
16367
|
-
BaseModal.propTypes = {
|
|
16368
|
-
className: propTypesExports.string,
|
|
16369
|
-
popperClassName: propTypesExports.string,
|
|
16370
|
-
renderHeader: propTypesExports.element,
|
|
16371
|
-
renderFooter: propTypesExports.element,
|
|
16372
|
-
toggle: propTypesExports.func,
|
|
16373
|
-
noDismiss: propTypesExports.bool,
|
|
16374
|
-
hideCrossDismiss: propTypesExports.bool,
|
|
16375
|
-
animation: propTypesExports.bool,
|
|
16376
|
-
animationProperties: propTypesExports.object
|
|
16377
|
-
};
|
|
16378
16259
|
|
|
16379
16260
|
var css$L = ".ErrorBoundaryWrapper_module_root__ac28c8d4 {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_message__ac28c8d4 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: flex-start;\n gap: 1rem;\n margin-bottom: 1.5rem;\n width: 80%;\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_message__ac28c8d4 > h1 {\n text-wrap: nowrap;\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_actions__ac28c8d4 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 0.625rem;\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_actions__ac28c8d4 > button[data-elem=base-cell].ErrorBoundaryWrapper_module_action__ac28c8d4 {\n gap: 1rem;\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_actions__ac28c8d4 > button[data-elem=base-cell].ErrorBoundaryWrapper_module_action__ac28c8d4:nth-child(1) {\n background-color: var(--mono-color1);\n}\n.ErrorBoundaryWrapper_module_root__ac28c8d4 .ErrorBoundaryWrapper_module_actions__ac28c8d4 > button[data-elem=base-cell].ErrorBoundaryWrapper_module_action__ac28c8d4 > [data-elem=component1] .ErrorBoundaryWrapper_module_icon__ac28c8d4 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n}";
|
|
16380
16261
|
var modules_2dbfc50c = {"root":"ErrorBoundaryWrapper_module_root__ac28c8d4","message":"ErrorBoundaryWrapper_module_message__ac28c8d4","actions":"ErrorBoundaryWrapper_module_actions__ac28c8d4","action":"ErrorBoundaryWrapper_module_action__ac28c8d4","icon":"ErrorBoundaryWrapper_module_icon__ac28c8d4"};
|
|
@@ -18563,8 +18444,8 @@ var TextField = /*#__PURE__*/forwardRef(function (props, inputRef) {
|
|
|
18563
18444
|
});
|
|
18564
18445
|
});
|
|
18565
18446
|
|
|
18566
|
-
var css$t = ".HierarchyItem_module_root__1d4319b9 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n position: relative;\n min-width: 300px;\n}\n.HierarchyItem_module_root__1d4319b9 span[data-elem=component2] label > div[data-elem=base-cell] > span[data-elem=component1] {\n margin-top: 0 !important;\n margin-left: 0.525rem !important;\n}\n.HierarchyItem_module_root__1d4319b9 span[data-elem=component3] button {\n max-height: 10px;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_searching__1d4319b9 > .HierarchyItem_module_header__1d4319b9:hover {\n background: none;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_searching__1d4319b9 > .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_icon__1d4319b9,\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_searching__1d4319b9 > .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_title__1d4319b9,\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_searching__1d4319b9 > .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_title__1d4319b9 svg {\n color: inherit;\n fill: inherit;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_searching__1d4319b9 > .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_searchWrapper__1d4319b9 {\n display: none !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_headerNoCount__1d4319b9 {\n margin-left: 7px;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n min-width: 220px;\n height: auto;\n width: -moz-fit-content;\n width: fit-content;\n padding: 0rem 0rem !important;\n cursor: pointer;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component1], .HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component3] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component1] .HierarchyItem_module_expand__1d4319b9, .HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component3] .HierarchyItem_module_expand__1d4319b9 {\n padding: 0;\n width: 1rem;\n height: 1rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component1] .HierarchyItem_module_expand__1d4319b9 .HierarchyItem_module_icon__1d4319b9, .HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component3] .HierarchyItem_module_expand__1d4319b9 .HierarchyItem_module_icon__1d4319b9 {\n width: 1rem;\n margin-left: 0.4rem;\n height: 1.49rem;\n fill: var(--text-color);\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] {\n padding-left: 0.5rem;\n flex: 1 1 auto;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_title__1d4319b9 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n height: 2rem;\n padding: 0.25rem 0rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_titleNoList__1d4319b9 {\n padding-left: 0.5rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 {\n display: flex;\n align-items: center;\n background: white;\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n border-radius: 0.25rem;\n height: 2rem;\n margin-left: -28px;\n margin-bottom: 2px;\n margin-top: 1px;\n padding: 0 !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchButton__1d4319b9 {\n width: 1.25rem;\n margin: 0 !important;\n padding: 0 !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 {\n width: 100%;\n padding-left: 12px;\n height: 100%;\n gap: 0.25rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 [data-elem=base-cell] {\n box-shadow: none !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 [data-elem=base-cell]:focus-within {\n outline: none !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 [data-elem=base-cell] > [data-elem=component3] > button {\n margin-top: 1px;\n padding: 0;\n height: auto;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 [data-elem=base-cell] > [data-elem=component3] > button [data-elem=title] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 [data-elem=base-cell] > [data-elem=component1] {\n width: 1.244rem;\n margin-left: 7px;\n margin-top: 2.9px;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 label {\n display: contents;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__1d4319b9 .HierarchyItem_module_searchInput__1d4319b9 input {\n outline: none;\n font-size: 0.875rem;\n height: 100%;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_searchWrapper__1d4319b9 {\n height: 100%;\n display: none;\n transition: opacity 0.2s ease;\n padding-block: 0 !important;\n padding-inline: 0.75rem !important;\n height: 2.25rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_searchWrapper__1d4319b9 [data-elem=title] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_searchWrapper__1d4319b9 .HierarchyItem_module_searchButton__1d4319b9 {\n width: 1.25rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9:hover {\n background: var(--background-color4);\n border-radius: 4px;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_icon__1d4319b9,\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_title__1d4319b9,\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_title__1d4319b9 svg {\n color: var(--primary-color4);\n fill: var(--primary-color4);\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_header__1d4319b9:hover .HierarchyItem_module_searchWrapper__1d4319b9 {\n height: 2.5rem;\n display: block;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_expandContainer__1d4319b9 {\n margin-left: 4px;\n position: relative;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_expandContainer__1d4319b9 .HierarchyItem_module_collapsedTail__1d4319b9 {\n position: absolute;\n top: 128%;\n left: 0.45rem;\n width: 1px;\n height: 1rem;\n background: var(--grey1);\n z-index: 1;\n pointer-events: none;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_expandContainer__1d4319b9 .HierarchyItem_module_dashedConnectorForButton__1d4319b9 {\n height: 1.3rem;\n border-left: 0.0313rem dashed #cccccc;\n transform: translateX(0.45rem);\n margin-top: 30px;\n margin-left: 2.18rem;\n z-index: 9;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_expandContainer__1d4319b9 .HierarchyItem_module_hiddenConnector__1d4319b9 {\n border-left: none !important;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_collapsedTailSpacer__1d4319b9 {\n height: 0.3rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 {\n display: none;\n flex: 1 0 auto;\n padding: 0px 0rem 0px 0.5rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component1] {\n flex: 0 0 1.6rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component1] .HierarchyItem_module_tail__1d4319b9 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 1rem;\n height: 100%;\n margin-left: -0.2rem;\n z-index: -99;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component1] .HierarchyItem_module_tail__1d4319b9::after {\n content: \"\";\n display: block;\n margin: auto;\n margin-top: -0.325rem;\n width: 1px;\n flex: 1;\n background: var(--grey1);\n margin-bottom: -0.55rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component1] .HierarchyItem_module_highlightTail__1d4319b9 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 1rem;\n height: 100%;\n margin-left: -0.2rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component1] .HierarchyItem_module_highlightTail__1d4319b9::after {\n content: \"\";\n display: block;\n margin: auto;\n margin-top: -0.325rem;\n width: 1px;\n flex: 1;\n background: #0f62fe;\n margin-bottom: -0.55rem;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component2] {\n flex: 1 0 auto;\n}\n.HierarchyItem_module_root__1d4319b9 .HierarchyItem_module_body__1d4319b9 > [data-elem=component2] .HierarchyItem_module_children__1d4319b9 {\n flex: 1 0 auto;\n width: 100%;\n height: auto;\n max-height: 200px;\n overflow-y: auto;\n scrollbar-width: none;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_open__1d4319b9 > .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_expand__1d4319b9 .HierarchyItem_module_icon__1d4319b9 {\n transform: none;\n height: 0.8rem;\n width: 0rem;\n margin-left: 1.8rem;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_open__1d4319b9 > .HierarchyItem_module_body__1d4319b9 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: stretch;\n gap: 0rem;\n height: auto;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_open__1d4319b9 > .HierarchyItem_module_collapsedTail__1d4319b9 {\n display: none;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_active__1d4319b9 > .HierarchyItem_module_header__1d4319b9 {\n background: var(--background-color4);\n border-radius: 0.25rem;\n}\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_active__1d4319b9 > .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_icon__1d4319b9,\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_active__1d4319b9 > .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_title__1d4319b9,\n.HierarchyItem_module_root__1d4319b9.HierarchyItem_module_active__1d4319b9 > .HierarchyItem_module_header__1d4319b9 .HierarchyItem_module_title__1d4319b9 svg {\n color: var(--primary-color4);\n fill: var(--primary-color4);\n}";
|
|
18567
|
-
var modules_6d03d164 = {"root":"
|
|
18447
|
+
var css$t = ".HierarchyItem_module_root__16e12b8d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n position: relative;\n min-width: 300px;\n}\n.HierarchyItem_module_root__16e12b8d span[data-elem=component2] label > div[data-elem=base-cell] > span[data-elem=component1] {\n margin-top: 0 !important;\n margin-left: 0.525rem !important;\n}\n.HierarchyItem_module_root__16e12b8d span[data-elem=component3] button {\n max-height: 10px;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_searching__16e12b8d > .HierarchyItem_module_header__16e12b8d:hover {\n background: none;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_searching__16e12b8d > .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_icon__16e12b8d,\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_searching__16e12b8d > .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_title__16e12b8d,\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_searching__16e12b8d > .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_title__16e12b8d svg {\n color: inherit;\n fill: inherit;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_searching__16e12b8d > .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_searchWrapper__16e12b8d {\n display: none !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_headerNoCount__16e12b8d {\n margin-left: 7px;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n min-width: 220px;\n height: auto;\n width: -moz-fit-content;\n width: fit-content;\n padding: 0rem 0rem !important;\n cursor: pointer;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component1], .HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component3] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component1] .HierarchyItem_module_expand__16e12b8d, .HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component3] .HierarchyItem_module_expand__16e12b8d {\n padding: 0;\n width: 1rem;\n height: 1rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component1] .HierarchyItem_module_expand__16e12b8d .HierarchyItem_module_icon__16e12b8d, .HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component3] .HierarchyItem_module_expand__16e12b8d .HierarchyItem_module_icon__16e12b8d {\n width: 1rem;\n margin-left: 0.4rem;\n height: 1.49rem;\n fill: var(--text-color);\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] {\n padding-left: 0.5rem;\n flex: 1 1 auto;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_title__16e12b8d {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n height: 2rem;\n padding: 0.25rem 0rem;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_titleNoList__16e12b8d {\n padding-left: 0.5rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d {\n display: flex;\n align-items: center;\n background: white;\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n border-radius: 0.25rem;\n height: 2rem;\n margin-left: -28px;\n margin-bottom: 2px;\n margin-top: 1px;\n padding: 0 !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchButton__16e12b8d {\n width: 1.25rem;\n margin: 0 !important;\n padding: 0 !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d {\n width: 100%;\n padding-left: 12px;\n height: 100%;\n gap: 0.25rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d [data-elem=base-cell] {\n box-shadow: none !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d [data-elem=base-cell]:focus-within {\n outline: none !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d [data-elem=base-cell] > [data-elem=component3] > button {\n margin-top: 1px;\n padding: 0;\n height: auto;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d [data-elem=base-cell] > [data-elem=component3] > button [data-elem=title] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d [data-elem=base-cell] > [data-elem=component1] {\n width: 1.244rem;\n margin-left: 7px;\n margin-top: 2.9px;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d label {\n display: contents;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d > [data-elem=component2] .HierarchyItem_module_searchFieldWrapper__16e12b8d .HierarchyItem_module_searchInput__16e12b8d input {\n outline: none;\n font-size: 0.875rem;\n height: 100%;\n width: 120px;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_searchWrapper__16e12b8d {\n height: 100%;\n display: none;\n transition: opacity 0.2s ease;\n padding-block: 0 !important;\n padding-inline: 0.75rem !important;\n height: 2.25rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_searchWrapper__16e12b8d [data-elem=title] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_searchWrapper__16e12b8d .HierarchyItem_module_searchButton__16e12b8d {\n width: 1.25rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d:hover {\n background: var(--background-color4);\n border-radius: 4px;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_icon__16e12b8d,\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_title__16e12b8d,\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_title__16e12b8d svg {\n color: var(--primary-color4);\n fill: var(--primary-color4);\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_header__16e12b8d:hover .HierarchyItem_module_searchWrapper__16e12b8d {\n height: 2.5rem;\n display: block;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_expandContainer__16e12b8d {\n margin-left: 4px;\n position: relative;\n width: 1rem;\n height: 1rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_expandContainer__16e12b8d .HierarchyItem_module_collapsedTail__16e12b8d {\n position: absolute;\n top: 128%;\n left: 0.45rem;\n width: 1px;\n height: 1rem;\n background: var(--grey1);\n z-index: 1;\n pointer-events: none;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_expandContainer__16e12b8d .HierarchyItem_module_dashedConnectorForButton__16e12b8d {\n height: 1.3rem;\n border-left: 0.0313rem dashed #cccccc;\n transform: translateX(0.45rem);\n margin-top: 30px;\n margin-left: 2.18rem;\n z-index: 9;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_expandContainer__16e12b8d .HierarchyItem_module_hiddenConnector__16e12b8d {\n border-left: none !important;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_collapsedTailSpacer__16e12b8d {\n height: 0.3rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d {\n display: none;\n flex: 1 0 auto;\n padding: 0px 0rem 0px 0.5rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component1] {\n flex: 0 0 1.6rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component1] .HierarchyItem_module_tail__16e12b8d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 1rem;\n height: 100%;\n margin-left: -0.2rem;\n z-index: -99;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component1] .HierarchyItem_module_tail__16e12b8d::after {\n content: \"\";\n display: block;\n margin: auto;\n margin-top: -0.325rem;\n width: 1px;\n flex: 1;\n background: var(--grey1);\n margin-bottom: -0.55rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component1] .HierarchyItem_module_highlightTail__16e12b8d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 1rem;\n height: 100%;\n margin-left: -0.2rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component1] .HierarchyItem_module_highlightTail__16e12b8d::after {\n content: \"\";\n display: block;\n margin: auto;\n margin-top: -0.325rem;\n width: 1px;\n flex: 1;\n background: #0f62fe;\n margin-bottom: -0.55rem;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component2] {\n flex: 1 0 auto;\n}\n.HierarchyItem_module_root__16e12b8d .HierarchyItem_module_body__16e12b8d > [data-elem=component2] .HierarchyItem_module_children__16e12b8d {\n flex: 1 0 auto;\n width: 100%;\n height: auto;\n overflow-y: auto;\n scrollbar-width: none;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_open__16e12b8d > .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_expand__16e12b8d .HierarchyItem_module_icon__16e12b8d {\n transform: none;\n height: 0.8rem;\n width: 0rem;\n margin-left: 1.8rem;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_open__16e12b8d > .HierarchyItem_module_body__16e12b8d {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: stretch;\n gap: 0rem;\n height: auto;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_open__16e12b8d > .HierarchyItem_module_collapsedTail__16e12b8d {\n display: none;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_active__16e12b8d > .HierarchyItem_module_header__16e12b8d {\n background: var(--background-color4);\n border-radius: 0.25rem;\n}\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_active__16e12b8d > .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_icon__16e12b8d,\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_active__16e12b8d > .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_title__16e12b8d,\n.HierarchyItem_module_root__16e12b8d.HierarchyItem_module_active__16e12b8d > .HierarchyItem_module_header__16e12b8d .HierarchyItem_module_title__16e12b8d svg {\n color: var(--primary-color4);\n fill: var(--primary-color4);\n}";
|
|
18448
|
+
var modules_6d03d164 = {"root":"HierarchyItem_module_root__16e12b8d","searching":"HierarchyItem_module_searching__16e12b8d","header":"HierarchyItem_module_header__16e12b8d","icon":"HierarchyItem_module_icon__16e12b8d","title":"HierarchyItem_module_title__16e12b8d","searchWrapper":"HierarchyItem_module_searchWrapper__16e12b8d","headerNoCount":"HierarchyItem_module_headerNoCount__16e12b8d","expand":"HierarchyItem_module_expand__16e12b8d","titleNoList":"HierarchyItem_module_titleNoList__16e12b8d","searchFieldWrapper":"HierarchyItem_module_searchFieldWrapper__16e12b8d","searchButton":"HierarchyItem_module_searchButton__16e12b8d","searchInput":"HierarchyItem_module_searchInput__16e12b8d","expand-container":"HierarchyItem_module_expandContainer__16e12b8d","collapsed-tail":"HierarchyItem_module_collapsedTail__16e12b8d","dashed-connector-for-button":"HierarchyItem_module_dashedConnectorForButton__16e12b8d","hidden-connector":"HierarchyItem_module_hiddenConnector__16e12b8d","collapsed-tail-spacer":"HierarchyItem_module_collapsedTailSpacer__16e12b8d","body":"HierarchyItem_module_body__16e12b8d","tail":"HierarchyItem_module_tail__16e12b8d","highlight-tail":"HierarchyItem_module_highlightTail__16e12b8d","children":"HierarchyItem_module_children__16e12b8d","open":"HierarchyItem_module_open__16e12b8d","active":"HierarchyItem_module_active__16e12b8d"};
|
|
18568
18449
|
n(css$t,{});
|
|
18569
18450
|
|
|
18570
18451
|
var ChildrenContainer = function ChildrenContainer(_ref) {
|
|
@@ -18622,6 +18503,7 @@ var ChildrenContainer = function ChildrenContainer(_ref) {
|
|
|
18622
18503
|
});
|
|
18623
18504
|
});
|
|
18624
18505
|
};
|
|
18506
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
18625
18507
|
}, []);
|
|
18626
18508
|
return jsx(BaseCell, {
|
|
18627
18509
|
size: 'auto',
|
|
@@ -18659,8 +18541,10 @@ var HierarchyItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18659
18541
|
lastActive = props.lastActive,
|
|
18660
18542
|
isSearching = props.isSearching,
|
|
18661
18543
|
onSearchStart = props.onSearchStart,
|
|
18544
|
+
searchedText = props.searchedText,
|
|
18662
18545
|
callbackOnScroll = props.callbackOnScroll,
|
|
18663
|
-
list = props.list
|
|
18546
|
+
list = props.list,
|
|
18547
|
+
controlledOpen = props.controlledOpen;
|
|
18664
18548
|
var _useState = useState(defaultOpen),
|
|
18665
18549
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18666
18550
|
open = _useState2[0],
|
|
@@ -18672,6 +18556,9 @@ var HierarchyItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18672
18556
|
var handleSearchSubmit = function handleSearchSubmit() {
|
|
18673
18557
|
onSearchSubmit === null || onSearchSubmit === void 0 || onSearchSubmit(searchText, pathString);
|
|
18674
18558
|
};
|
|
18559
|
+
useEffect(function () {
|
|
18560
|
+
if (typeof controlledOpen === 'boolean') setOpen(controlledOpen);
|
|
18561
|
+
}, [controlledOpen]);
|
|
18675
18562
|
var icon = jsxs("div", {
|
|
18676
18563
|
className: modules_6d03d164['expand-container'],
|
|
18677
18564
|
children: [jsx(Button, {
|
|
@@ -18726,7 +18613,7 @@ var HierarchyItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18726
18613
|
},
|
|
18727
18614
|
RightComponent: function RightComponent() {
|
|
18728
18615
|
return jsx(Button, {
|
|
18729
|
-
title: jsx(
|
|
18616
|
+
title: jsx(SearchIcon, {
|
|
18730
18617
|
className: modules_6d03d164.searchButton
|
|
18731
18618
|
}),
|
|
18732
18619
|
onClick: handleSearchSubmit,
|
|
@@ -18762,7 +18649,9 @@ var HierarchyItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18762
18649
|
onClick: function onClick() {
|
|
18763
18650
|
return onSearchStart === null || onSearchStart === void 0 ? void 0 : onSearchStart();
|
|
18764
18651
|
},
|
|
18765
|
-
title: jsx(
|
|
18652
|
+
title: searchedText ? jsx(Edit, {
|
|
18653
|
+
className: modules_6d03d164.searchButton
|
|
18654
|
+
}) : jsx(SearchIcon, {
|
|
18766
18655
|
className: modules_6d03d164.searchButton
|
|
18767
18656
|
})
|
|
18768
18657
|
}) : undefined
|
|
@@ -18782,21 +18671,28 @@ var HierarchyItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
18782
18671
|
});
|
|
18783
18672
|
});
|
|
18784
18673
|
|
|
18785
|
-
var css$s = ".
|
|
18786
|
-
var modules_5e29d515 = {"root":"
|
|
18674
|
+
var css$s = ".HierarchyBrowser_module_root__8f3a34a5 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n min-width: 20rem;\n position: relative;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_header__8f3a34a5 {\n padding: 0.5rem;\n background: var(--text-color);\n color: var(--light-color3);\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_body__8f3a34a5 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n overflow: auto;\n resize: horizontal;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 {\n display: flex;\n align-items: center;\n gap: 0.625rem;\n width: 100%;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemIcon__8f3a34a5 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.25rem;\n height: 1.25rem;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemTitle__8f3a34a5 {\n font-size: 0.875rem;\n font-weight: 500;\n color: black;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemTitle__8f3a34a5.HierarchyBrowser_module_highlight__8f3a34a5 {\n color: #0f62fe;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemCount__8f3a34a5 {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemCount__8f3a34a5 .HierarchyBrowser_module_countBg__8f3a34a5 {\n background-color: #b7cadb;\n padding: 0.3125rem;\n border-radius: 0.125rem;\n min-width: 1.125rem;\n height: 1.125rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.HierarchyBrowser_module_root__8f3a34a5 .HierarchyBrowser_module_item__8f3a34a5 .HierarchyBrowser_module_itemCount__8f3a34a5 .HierarchyBrowser_module_countText__8f3a34a5 {\n color: #ffffff;\n font-weight: 500;\n font-size: 0.8rem;\n line-height: 1;\n}\n.HierarchyBrowser_module_root__8f3a34a5.HierarchyBrowser_module_resizable__8f3a34a5:hover::after {\n width: 3px;\n cursor: col-resize;\n}";
|
|
18675
|
+
var modules_5e29d515 = {"root":"HierarchyBrowser_module_root__8f3a34a5","header":"HierarchyBrowser_module_header__8f3a34a5","body":"HierarchyBrowser_module_body__8f3a34a5","item":"HierarchyBrowser_module_item__8f3a34a5","item-icon":"HierarchyBrowser_module_itemIcon__8f3a34a5","item-title":"HierarchyBrowser_module_itemTitle__8f3a34a5","highlight":"HierarchyBrowser_module_highlight__8f3a34a5","item-count":"HierarchyBrowser_module_itemCount__8f3a34a5","count-bg":"HierarchyBrowser_module_countBg__8f3a34a5","count-text":"HierarchyBrowser_module_countText__8f3a34a5","resizable":"HierarchyBrowser_module_resizable__8f3a34a5"};
|
|
18787
18676
|
n(css$s,{});
|
|
18788
18677
|
|
|
18678
|
+
var hasRIC = typeof globalThis.requestIdleCallback === 'function';
|
|
18679
|
+
var scheduleIdle = function scheduleIdle(fn) {
|
|
18680
|
+
if (hasRIC) globalThis.requestIdleCallback(fn, {
|
|
18681
|
+
timeout: 50
|
|
18682
|
+
});else setTimeout(fn, 0);
|
|
18683
|
+
};
|
|
18789
18684
|
var Title = function Title(_ref) {
|
|
18790
18685
|
var leftComponent = _ref.leftComponent,
|
|
18791
18686
|
title = _ref.title,
|
|
18792
|
-
rightComponent = _ref.rightComponent
|
|
18687
|
+
rightComponent = _ref.rightComponent,
|
|
18688
|
+
highlight = _ref.highlight;
|
|
18793
18689
|
return jsxs("span", {
|
|
18794
18690
|
className: modules_5e29d515.item,
|
|
18795
18691
|
children: [leftComponent && jsx("span", {
|
|
18796
18692
|
className: modules_5e29d515['item-icon'],
|
|
18797
18693
|
children: leftComponent
|
|
18798
18694
|
}), jsx("span", {
|
|
18799
|
-
className: modules_5e29d515['item-title'],
|
|
18695
|
+
className: classes(modules_5e29d515['item-title'], highlight && modules_5e29d515.highlight),
|
|
18800
18696
|
children: title
|
|
18801
18697
|
}), rightComponent !== undefined && Number(rightComponent) !== 0 && jsx("span", {
|
|
18802
18698
|
className: modules_5e29d515['item-count'],
|
|
@@ -18810,19 +18706,46 @@ var Title = function Title(_ref) {
|
|
|
18810
18706
|
})]
|
|
18811
18707
|
});
|
|
18812
18708
|
};
|
|
18709
|
+
/** Collect all paths (with array children) up to the given depth. Depth 1 = root level. */
|
|
18710
|
+
function collectOpenPaths(meta, maxDepth) {
|
|
18711
|
+
var out = [];
|
|
18712
|
+
if (maxDepth <= 0) return out;
|
|
18713
|
+
var _walk = function walk(node, path, depth) {
|
|
18714
|
+
if (depth >= maxDepth) return;
|
|
18715
|
+
if (Array.isArray(node.list)) {
|
|
18716
|
+
var total = node.list.length;
|
|
18717
|
+
out.push({
|
|
18718
|
+
path: path,
|
|
18719
|
+
total: total
|
|
18720
|
+
});
|
|
18721
|
+
// continue to next level
|
|
18722
|
+
node.list.forEach(function (child, i) {
|
|
18723
|
+
_walk(child, "".concat(path, ".list[").concat(i.toString(), "]"), depth + 1);
|
|
18724
|
+
});
|
|
18725
|
+
}
|
|
18726
|
+
};
|
|
18727
|
+
meta.forEach(function (n, i) {
|
|
18728
|
+
_walk(n, "metadata[".concat(i.toString(), "]"), 0);
|
|
18729
|
+
});
|
|
18730
|
+
return out;
|
|
18731
|
+
}
|
|
18732
|
+
// put near other refs/utilities
|
|
18733
|
+
var pathIsDescendant = function pathIsDescendant(p, ancestor) {
|
|
18734
|
+
return p === ancestor || p.startsWith("".concat(ancestor, "."));
|
|
18735
|
+
};
|
|
18736
|
+
var removePendingUnder = function removePendingUnder(prefix, pending) {
|
|
18737
|
+
for (var _i = 0, _Array$from = Array.from(pending); _i < _Array$from.length; _i++) {
|
|
18738
|
+
var p = _Array$from[_i];
|
|
18739
|
+
if (pathIsDescendant(p, prefix)) pending["delete"](p);
|
|
18740
|
+
}
|
|
18741
|
+
};
|
|
18813
18742
|
var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
18814
18743
|
var _ref2$className = _ref2.className,
|
|
18815
18744
|
className = _ref2$className === void 0 ? '' : _ref2$className,
|
|
18816
18745
|
_ref2$metadata = _ref2.metadata,
|
|
18817
18746
|
metadata = _ref2$metadata === void 0 ? [] : _ref2$metadata,
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
// left blank
|
|
18821
|
-
} : _ref2$onItemClick,
|
|
18822
|
-
_ref2$onItemDoubleCli = _ref2.onItemDoubleClick,
|
|
18823
|
-
onItemDoubleClick = _ref2$onItemDoubleCli === void 0 ? function () {
|
|
18824
|
-
// left blank
|
|
18825
|
-
} : _ref2$onItemDoubleCli,
|
|
18747
|
+
onItemClick = _ref2.onItemClick,
|
|
18748
|
+
onItemDoubleClick = _ref2.onItemDoubleClick,
|
|
18826
18749
|
callbackOnScroll = _ref2.callbackOnScroll,
|
|
18827
18750
|
_ref2$minWidth = _ref2.minWidth,
|
|
18828
18751
|
minWidth = _ref2$minWidth === void 0 ? 220 : _ref2$minWidth,
|
|
@@ -18832,8 +18755,19 @@ var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
|
18832
18755
|
_ref2$setItemProps = _ref2.setItemProps,
|
|
18833
18756
|
setItemProps = _ref2$setItemProps === void 0 ? function () {
|
|
18834
18757
|
return {};
|
|
18835
|
-
} : _ref2$setItemProps
|
|
18758
|
+
} : _ref2$setItemProps,
|
|
18759
|
+
_ref2$progressiveRend = _ref2.progressiveRender,
|
|
18760
|
+
progressiveRender = _ref2$progressiveRend === void 0 ? true : _ref2$progressiveRend,
|
|
18761
|
+
_ref2$initialChunkSiz = _ref2.initialChunkSize,
|
|
18762
|
+
initialChunkSize = _ref2$initialChunkSiz === void 0 ? 200 : _ref2$initialChunkSiz,
|
|
18763
|
+
_ref2$subsequentChunk = _ref2.subsequentChunkSize,
|
|
18764
|
+
subsequentChunkSize = _ref2$subsequentChunk === void 0 ? 200 : _ref2$subsequentChunk,
|
|
18765
|
+
_ref2$chunkSearchResu = _ref2.chunkSearchResults,
|
|
18766
|
+
chunkSearchResults = _ref2$chunkSearchResu === void 0 ? true : _ref2$chunkSearchResu,
|
|
18767
|
+
_ref2$defaultOpenLeve = _ref2.defaultOpenLevel,
|
|
18768
|
+
defaultOpenLevel = _ref2$defaultOpenLeve === void 0 ? 0 : _ref2$defaultOpenLeve;
|
|
18836
18769
|
var browserRef = useRef(null);
|
|
18770
|
+
// --- your existing state (preserved) ---
|
|
18837
18771
|
var _useState = useState({}),
|
|
18838
18772
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18839
18773
|
searchResults = _useState2[0],
|
|
@@ -18842,6 +18776,26 @@ var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
|
18842
18776
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
18843
18777
|
activePath = _useState4[0],
|
|
18844
18778
|
setActivePath = _useState4[1];
|
|
18779
|
+
var _useState5 = useState(null),
|
|
18780
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
18781
|
+
lastOpenedPath = _useState6[0],
|
|
18782
|
+
setLastOpenedPath = _useState6[1];
|
|
18783
|
+
var _useState7 = useState(null),
|
|
18784
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
18785
|
+
searchingPath = _useState8[0],
|
|
18786
|
+
setSearchingPath = _useState8[1];
|
|
18787
|
+
// --- new state for progressive mounting ---
|
|
18788
|
+
var _useState9 = useState(new Set()),
|
|
18789
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
18790
|
+
openPaths = _useState0[0],
|
|
18791
|
+
setOpenPaths = _useState0[1];
|
|
18792
|
+
var _useState1 = useState(new Map()),
|
|
18793
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
18794
|
+
visibleCounts = _useState10[0],
|
|
18795
|
+
setVisibleCounts = _useState10[1];
|
|
18796
|
+
var totalCountsRef = useRef(new Map());
|
|
18797
|
+
var pendingPathsRef = useRef(new Set());
|
|
18798
|
+
var scheduledRef = useRef(false);
|
|
18845
18799
|
useResize({
|
|
18846
18800
|
ref: browserRef,
|
|
18847
18801
|
styles: {
|
|
@@ -18851,122 +18805,258 @@ var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
|
18851
18805
|
},
|
|
18852
18806
|
enabled: resizable !== null && resizable !== void 0 ? resizable : true
|
|
18853
18807
|
});
|
|
18854
|
-
var
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18808
|
+
var didInitDefaultOpen = useRef(false);
|
|
18809
|
+
var kickScheduler = useCallback(function () {
|
|
18810
|
+
if (scheduledRef.current) return;
|
|
18811
|
+
scheduledRef.current = true;
|
|
18812
|
+
scheduleIdle(function () {
|
|
18813
|
+
scheduledRef.current = false;
|
|
18814
|
+
var changed = false;
|
|
18815
|
+
startTransition(function () {
|
|
18816
|
+
setVisibleCounts(function (prev) {
|
|
18817
|
+
var next = new Map(prev);
|
|
18818
|
+
for (var _i2 = 0, _Array$from2 = Array.from(pendingPathsRef.current); _i2 < _Array$from2.length; _i2++) {
|
|
18819
|
+
var _totalCountsRef$curre, _next$get;
|
|
18820
|
+
var path = _Array$from2[_i2];
|
|
18821
|
+
if (!openPaths.has(path)) {
|
|
18822
|
+
pendingPathsRef.current["delete"](path);
|
|
18823
|
+
}
|
|
18824
|
+
var total = (_totalCountsRef$curre = totalCountsRef.current.get(path)) !== null && _totalCountsRef$curre !== void 0 ? _totalCountsRef$curre : 0;
|
|
18825
|
+
var current = (_next$get = next.get(path)) !== null && _next$get !== void 0 ? _next$get : Math.min(initialChunkSize, total);
|
|
18826
|
+
if (current < total) {
|
|
18827
|
+
next.set(path, Math.min(current + subsequentChunkSize, total));
|
|
18828
|
+
changed = true;
|
|
18829
|
+
} else {
|
|
18830
|
+
pendingPathsRef.current["delete"](path);
|
|
18831
|
+
}
|
|
18832
|
+
}
|
|
18833
|
+
return changed ? next : prev;
|
|
18834
|
+
});
|
|
18835
|
+
});
|
|
18836
|
+
if (pendingPathsRef.current.size) kickScheduler();
|
|
18837
|
+
});
|
|
18838
|
+
}, [openPaths, initialChunkSize, subsequentChunkSize]);
|
|
18839
|
+
useEffect(function () {
|
|
18840
|
+
if (didInitDefaultOpen.current) return;
|
|
18841
|
+
if (defaultOpenLevel <= 0) return;
|
|
18842
|
+
if (metadata.length === 0) return;
|
|
18843
|
+
var targets = collectOpenPaths(metadata, defaultOpenLevel);
|
|
18844
|
+
if (!targets.length) return;
|
|
18845
|
+
setOpenPaths(function (prev) {
|
|
18846
|
+
var next = new Set(prev);
|
|
18847
|
+
var _iterator = _createForOfIteratorHelper(targets),
|
|
18848
|
+
_step;
|
|
18849
|
+
try {
|
|
18850
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
18851
|
+
var path = _step.value.path;
|
|
18852
|
+
next.add(path);
|
|
18853
|
+
}
|
|
18854
|
+
} catch (err) {
|
|
18855
|
+
_iterator.e(err);
|
|
18856
|
+
} finally {
|
|
18857
|
+
_iterator.f();
|
|
18858
|
+
}
|
|
18859
|
+
return next;
|
|
18860
|
+
});
|
|
18861
|
+
startTransition(function () {
|
|
18862
|
+
setVisibleCounts(function (prev) {
|
|
18863
|
+
var next = new Map(prev);
|
|
18864
|
+
var _iterator2 = _createForOfIteratorHelper(targets),
|
|
18865
|
+
_step2;
|
|
18866
|
+
try {
|
|
18867
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
18868
|
+
var _step2$value = _step2.value,
|
|
18869
|
+
path = _step2$value.path,
|
|
18870
|
+
total = _step2$value.total;
|
|
18871
|
+
totalCountsRef.current.set(path, total);
|
|
18872
|
+
if (!next.has(path)) next.set(path, Math.min(initialChunkSize, total || initialChunkSize));
|
|
18873
|
+
pendingPathsRef.current.add(path);
|
|
18874
|
+
}
|
|
18875
|
+
} catch (err) {
|
|
18876
|
+
_iterator2.e(err);
|
|
18877
|
+
} finally {
|
|
18878
|
+
_iterator2.f();
|
|
18879
|
+
}
|
|
18880
|
+
return next;
|
|
18881
|
+
});
|
|
18882
|
+
});
|
|
18883
|
+
kickScheduler();
|
|
18884
|
+
didInitDefaultOpen.current = true; // <-- move here (after we actually initialized)
|
|
18885
|
+
}, [metadata, defaultOpenLevel, initialChunkSize, kickScheduler]);
|
|
18865
18886
|
var getParentPath = function getParentPath(path) {
|
|
18866
18887
|
var parts = path.split('.list[');
|
|
18867
18888
|
if (parts.length <= 1) return null;
|
|
18868
18889
|
parts.pop();
|
|
18869
18890
|
return parts.join('.list[');
|
|
18870
18891
|
};
|
|
18871
|
-
var trackOpenState = function trackOpenState(
|
|
18872
|
-
setOpenPaths(function (
|
|
18873
|
-
var
|
|
18892
|
+
var trackOpenState = function trackOpenState(pathString, open) {
|
|
18893
|
+
setOpenPaths(function (prev) {
|
|
18894
|
+
var next = new Set(prev);
|
|
18874
18895
|
if (open) {
|
|
18875
|
-
|
|
18896
|
+
next.add(pathString);
|
|
18876
18897
|
setLastOpenedPath(pathString);
|
|
18898
|
+
startTransition(function () {
|
|
18899
|
+
setVisibleCounts(function (prevVC) {
|
|
18900
|
+
var _totalCountsRef$curre2;
|
|
18901
|
+
var out = new Map(prevVC);
|
|
18902
|
+
var total = (_totalCountsRef$curre2 = totalCountsRef.current.get(pathString)) !== null && _totalCountsRef$curre2 !== void 0 ? _totalCountsRef$curre2 : 0;
|
|
18903
|
+
if (!out.has(pathString)) {
|
|
18904
|
+
out.set(pathString, Math.min(initialChunkSize, total || initialChunkSize));
|
|
18905
|
+
}
|
|
18906
|
+
return out;
|
|
18907
|
+
});
|
|
18908
|
+
});
|
|
18909
|
+
pendingPathsRef.current.add(pathString);
|
|
18910
|
+
kickScheduler();
|
|
18877
18911
|
} else {
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18912
|
+
// ❗ Close ONLY this node; keep descendant open states intact so they "remember" expansion.
|
|
18913
|
+
next["delete"](pathString);
|
|
18914
|
+
// Stop progressive appends for this subtree while hidden, but DO NOT erase saved slices.
|
|
18915
|
+
removePendingUnder(pathString, pendingPathsRef.current);
|
|
18916
|
+
// Keep visibleCounts and totalCounts as-is (cached), so re-open resumes where it left off.
|
|
18917
|
+
// Pick a sensible lastOpenedPath that is still visible (parent if open, else null).
|
|
18918
|
+
var parent = getParentPath(pathString);
|
|
18919
|
+
if (parent && next.has(parent)) setLastOpenedPath(parent);else setLastOpenedPath(null);
|
|
18920
|
+
// Preserve your search behavior (clear search for this path on close) — optional
|
|
18921
|
+
setSearchResults(function (previous) {
|
|
18922
|
+
return Object.fromEntries(Object.entries(previous).filter(function (_ref3) {
|
|
18923
|
+
var _ref4 = _slicedToArray(_ref3, 1),
|
|
18924
|
+
k = _ref4[0];
|
|
18925
|
+
return k !== pathString;
|
|
18926
|
+
}));
|
|
18882
18927
|
});
|
|
18883
|
-
if (
|
|
18884
|
-
var parent = getParentPath(pathString);
|
|
18885
|
-
if (parent && newPaths.has(parent)) {
|
|
18886
|
-
setLastOpenedPath(parent);
|
|
18887
|
-
} else {
|
|
18888
|
-
var sorted = Array.from(newPaths).sort(function (a, b) {
|
|
18889
|
-
return b.length - a.length;
|
|
18890
|
-
});
|
|
18891
|
-
var fallback = sorted[0];
|
|
18892
|
-
if (fallback) {
|
|
18893
|
-
setLastOpenedPath(fallback);
|
|
18894
|
-
} else {
|
|
18895
|
-
setLastOpenedPath(null);
|
|
18896
|
-
}
|
|
18897
|
-
}
|
|
18898
|
-
}
|
|
18928
|
+
if (searchingPath === pathString) setSearchingPath(null);
|
|
18899
18929
|
}
|
|
18900
|
-
return
|
|
18930
|
+
return next;
|
|
18901
18931
|
});
|
|
18902
18932
|
};
|
|
18933
|
+
// Keep search UX as-is
|
|
18903
18934
|
var handleItemClick = function handleItemClick(item, pathString) {
|
|
18904
18935
|
return function (open) {
|
|
18905
|
-
onItemClick(item, pathString, open);
|
|
18936
|
+
onItemClick === null || onItemClick === void 0 || onItemClick(item, pathString, open);
|
|
18906
18937
|
setActivePath(pathString);
|
|
18907
|
-
if (!open) {
|
|
18908
|
-
setSearchResults(function (prev) {
|
|
18909
|
-
return Object.fromEntries(Object.entries(prev).filter(function (_ref3) {
|
|
18910
|
-
var _ref4 = _slicedToArray(_ref3, 1),
|
|
18911
|
-
key = _ref4[0];
|
|
18912
|
-
return key !== pathString;
|
|
18913
|
-
}));
|
|
18914
|
-
});
|
|
18915
|
-
}
|
|
18916
18938
|
};
|
|
18917
18939
|
};
|
|
18918
18940
|
var handleItemDoubleClick = function handleItemDoubleClick(item, pathString) {
|
|
18919
18941
|
return function (open) {
|
|
18920
|
-
onItemDoubleClick(item, pathString, open);
|
|
18942
|
+
onItemDoubleClick === null || onItemDoubleClick === void 0 || onItemDoubleClick(item, pathString, open);
|
|
18921
18943
|
};
|
|
18922
18944
|
};
|
|
18923
|
-
var handleSearchSubmit = function handleSearchSubmit(
|
|
18945
|
+
var handleSearchSubmit = function handleSearchSubmit(text, pathString) {
|
|
18924
18946
|
setSearchResults(function (prev) {
|
|
18925
|
-
return _objectSpread2(_objectSpread2({}, prev), {}, _defineProperty({}, pathString, (
|
|
18947
|
+
return _objectSpread2(_objectSpread2({}, prev), {}, _defineProperty({}, pathString, (text !== null && text !== void 0 ? text : '').toLowerCase()));
|
|
18926
18948
|
});
|
|
18949
|
+
setSearchingPath(null);
|
|
18950
|
+
// Optional: reset visible slice for this path so new results start at initialChunkSize
|
|
18951
|
+
if (chunkSearchResults) {
|
|
18952
|
+
startTransition(function () {
|
|
18953
|
+
setVisibleCounts(function (prev) {
|
|
18954
|
+
var _totalCountsRef$curre3;
|
|
18955
|
+
var out = new Map(prev);
|
|
18956
|
+
var total = (_totalCountsRef$curre3 = totalCountsRef.current.get(pathString)) !== null && _totalCountsRef$curre3 !== void 0 ? _totalCountsRef$curre3 : 0;
|
|
18957
|
+
out.set(pathString, Math.min(initialChunkSize, total || initialChunkSize));
|
|
18958
|
+
return out;
|
|
18959
|
+
});
|
|
18960
|
+
});
|
|
18961
|
+
pendingPathsRef.current.add(pathString);
|
|
18962
|
+
kickScheduler();
|
|
18963
|
+
}
|
|
18927
18964
|
};
|
|
18928
|
-
var shouldDisplayItem = function shouldDisplayItem(item,
|
|
18965
|
+
var shouldDisplayItem = function shouldDisplayItem(item, s) {
|
|
18929
18966
|
var _item$title$toLowerCa, _item$title;
|
|
18930
|
-
|
|
18931
|
-
return (_item$title$toLowerCa = (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.toLowerCase().includes(searchText)) !== null && _item$title$toLowerCa !== void 0 ? _item$title$toLowerCa : false;
|
|
18967
|
+
return !s ? true : (_item$title$toLowerCa = (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.toLowerCase().includes(s)) !== null && _item$title$toLowerCa !== void 0 ? _item$title$toLowerCa : false;
|
|
18932
18968
|
};
|
|
18969
|
+
// If filtering reduces totals, clamp visibleCounts
|
|
18970
|
+
useEffect(function () {
|
|
18971
|
+
startTransition(function () {
|
|
18972
|
+
setVisibleCounts(function (prev) {
|
|
18973
|
+
var changed = false;
|
|
18974
|
+
var out = new Map(prev);
|
|
18975
|
+
var _iterator3 = _createForOfIteratorHelper(out),
|
|
18976
|
+
_step3;
|
|
18977
|
+
try {
|
|
18978
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
18979
|
+
var _step3$value = _slicedToArray(_step3.value, 2),
|
|
18980
|
+
path = _step3$value[0],
|
|
18981
|
+
count = _step3$value[1];
|
|
18982
|
+
var total = totalCountsRef.current.get(path);
|
|
18983
|
+
if (typeof total === 'number' && count > total) {
|
|
18984
|
+
out.set(path, total);
|
|
18985
|
+
changed = true;
|
|
18986
|
+
}
|
|
18987
|
+
}
|
|
18988
|
+
} catch (err) {
|
|
18989
|
+
_iterator3.e(err);
|
|
18990
|
+
} finally {
|
|
18991
|
+
_iterator3.f();
|
|
18992
|
+
}
|
|
18993
|
+
return changed ? out : prev;
|
|
18994
|
+
});
|
|
18995
|
+
});
|
|
18996
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
18997
|
+
}, [searchResults]);
|
|
18933
18998
|
var _renderTree = function renderTree(data) {
|
|
18934
18999
|
var _searchResults$curren, _data$list;
|
|
18935
19000
|
var pathString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
18936
|
-
var isLast = arguments.length >
|
|
18937
|
-
var
|
|
19001
|
+
var isLast = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
19002
|
+
var allChildren = Array.isArray(data.list) ? data.list : [];
|
|
18938
19003
|
var currentPath = pathString || 'metadata';
|
|
18939
19004
|
var searchText = (_searchResults$curren = searchResults[currentPath]) !== null && _searchResults$curren !== void 0 ? _searchResults$curren : '';
|
|
18940
|
-
var filteredChildren = searchText ?
|
|
18941
|
-
return shouldDisplayItem(
|
|
18942
|
-
}) :
|
|
19005
|
+
var filteredChildren = searchText ? allChildren.filter(function (ch) {
|
|
19006
|
+
return shouldDisplayItem(ch, searchText);
|
|
19007
|
+
}) : allChildren;
|
|
18943
19008
|
var _setItemProps = setItemProps(data, currentPath),
|
|
18944
19009
|
leftComponent = _setItemProps.leftComponent,
|
|
18945
19010
|
rightComponent = _setItemProps.rightComponent,
|
|
18946
19011
|
title = _setItemProps.title,
|
|
18947
19012
|
count = _setItemProps.count,
|
|
18948
19013
|
ref = _setItemProps.ref;
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
19014
|
+
var isOpenHere = openPaths.has(currentPath);
|
|
19015
|
+
if (isOpenHere) {
|
|
19016
|
+
// record totals (after filtering) for scheduler targets
|
|
19017
|
+
totalCountsRef.current.set(currentPath, filteredChildren.length);
|
|
19018
|
+
if (progressiveRender && !visibleCounts.has(currentPath)) {
|
|
19019
|
+
pendingPathsRef.current.add(currentPath);
|
|
19020
|
+
}
|
|
19021
|
+
}
|
|
19022
|
+
var childrenToRender = [];
|
|
19023
|
+
if (isOpenHere) {
|
|
19024
|
+
if (!progressiveRender) {
|
|
19025
|
+
childrenToRender = filteredChildren;
|
|
19026
|
+
} else {
|
|
19027
|
+
var shouldChunk = chunkSearchResults || !searchText;
|
|
19028
|
+
if (!shouldChunk) {
|
|
19029
|
+
childrenToRender = filteredChildren;
|
|
19030
|
+
} else {
|
|
19031
|
+
var _visibleCounts$get;
|
|
19032
|
+
var visible = (_visibleCounts$get = visibleCounts.get(currentPath)) !== null && _visibleCounts$get !== void 0 ? _visibleCounts$get : Math.min(initialChunkSize, filteredChildren.length);
|
|
19033
|
+
childrenToRender = filteredChildren.slice(0, visible);
|
|
19034
|
+
if (visible < filteredChildren.length) pendingPathsRef.current.add(currentPath);
|
|
19035
|
+
}
|
|
19036
|
+
}
|
|
19037
|
+
}
|
|
19038
|
+
return jsx(HierarchyItem, {
|
|
18953
19039
|
callbackOnScroll: callbackOnScroll,
|
|
18954
19040
|
ref: ref,
|
|
18955
19041
|
pathString: currentPath,
|
|
18956
|
-
title: jsx(Title, {
|
|
19042
|
+
title: searchText ? jsx(Title, {
|
|
19043
|
+
title: searchText,
|
|
19044
|
+
highlight: true
|
|
19045
|
+
}) : jsx(Title, {
|
|
18957
19046
|
leftComponent: leftComponent,
|
|
18958
19047
|
title: title,
|
|
18959
19048
|
rightComponent: rightComponent
|
|
18960
19049
|
}),
|
|
18961
|
-
iconPlacement:
|
|
19050
|
+
iconPlacement: allChildren.length ? 'left' : 'none',
|
|
18962
19051
|
onClick: function onClick(open) {
|
|
18963
19052
|
handleItemClick(data, currentPath)(open);
|
|
18964
|
-
trackOpenState(
|
|
19053
|
+
trackOpenState(currentPath, open);
|
|
18965
19054
|
},
|
|
18966
19055
|
onDoubleClick: function onDoubleClick(open) {
|
|
18967
19056
|
handleItemDoubleClick(data, currentPath)(open);
|
|
18968
|
-
trackOpenState(
|
|
19057
|
+
trackOpenState(currentPath, open);
|
|
18969
19058
|
},
|
|
19059
|
+
controlledOpen: isOpenHere,
|
|
18970
19060
|
active: activePath === currentPath,
|
|
18971
19061
|
lastActive: lastOpenedPath === currentPath,
|
|
18972
19062
|
isLastItem: isLast,
|
|
@@ -18978,17 +19068,20 @@ var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
|
18978
19068
|
onSearchStart: function onSearchStart() {
|
|
18979
19069
|
setSearchingPath(currentPath);
|
|
18980
19070
|
},
|
|
19071
|
+
searchedText: searchText,
|
|
18981
19072
|
onSearchSubmit: function onSearchSubmit(text) {
|
|
18982
19073
|
handleSearchSubmit(text, currentPath);
|
|
18983
|
-
setSearchingPath(null);
|
|
18984
19074
|
},
|
|
18985
|
-
children:
|
|
18986
|
-
var isLastChild = idx ===
|
|
19075
|
+
children: childrenToRender.map(function (child, idx) {
|
|
19076
|
+
var isLastChild = idx === childrenToRender.length - 1;
|
|
18987
19077
|
var nextPath = "".concat(currentPath, ".list[").concat(String(idx), "]");
|
|
18988
|
-
return _renderTree(child, nextPath,
|
|
19078
|
+
return _renderTree(child, nextPath, isLastChild);
|
|
18989
19079
|
})
|
|
18990
|
-
});
|
|
19080
|
+
}, currentPath);
|
|
18991
19081
|
};
|
|
19082
|
+
useEffect(function () {
|
|
19083
|
+
if (pendingPathsRef.current.size) kickScheduler();
|
|
19084
|
+
}, [openPaths, searchResults, kickScheduler]);
|
|
18992
19085
|
return jsx("div", {
|
|
18993
19086
|
ref: browserRef,
|
|
18994
19087
|
className: classes(modules_5e29d515.root, resizable ? modules_5e29d515.resizable : '', className),
|
|
@@ -18997,7 +19090,7 @@ var HierarchyBrowser = function HierarchyBrowser(_ref2) {
|
|
|
18997
19090
|
"data-elem": 'body',
|
|
18998
19091
|
children: metadata.map(function (item, index) {
|
|
18999
19092
|
var isLastItem = index === metadata.length - 1;
|
|
19000
|
-
return _renderTree(item, "metadata[".concat(String(index), "]"),
|
|
19093
|
+
return _renderTree(item, "metadata[".concat(String(index), "]"), isLastItem);
|
|
19001
19094
|
})
|
|
19002
19095
|
})
|
|
19003
19096
|
});
|
|
@@ -19698,11 +19791,14 @@ var css$n = ".Dialog_module_root__afbc0e34 {\n padding: 0.25rem 0px;\n height:
|
|
|
19698
19791
|
var modules_ca1540aa = {"root":"Dialog_module_root__afbc0e34","sm":"Dialog_module_sm__afbc0e34","md":"Dialog_module_md__afbc0e34","footer":"Dialog_module_footer__afbc0e34","cancel":"Dialog_module_cancel__afbc0e34","description":"Dialog_module_description__afbc0e34"};
|
|
19699
19792
|
n(css$n,{});
|
|
19700
19793
|
|
|
19794
|
+
/* -------------------------------------------------------------------------- */
|
|
19795
|
+
/* Helper components */
|
|
19796
|
+
/* -------------------------------------------------------------------------- */
|
|
19701
19797
|
var Header$1 = function Header(_ref) {
|
|
19702
19798
|
var title = _ref.title;
|
|
19703
|
-
return
|
|
19704
|
-
component:
|
|
19705
|
-
variant:
|
|
19799
|
+
return jsx(Text, {
|
|
19800
|
+
component: 'h2',
|
|
19801
|
+
variant: 'b1',
|
|
19706
19802
|
weight: 600,
|
|
19707
19803
|
children: title
|
|
19708
19804
|
});
|
|
@@ -19710,35 +19806,45 @@ var Header$1 = function Header(_ref) {
|
|
|
19710
19806
|
var Footer$1 = function Footer(_ref2) {
|
|
19711
19807
|
var action = _ref2.action,
|
|
19712
19808
|
cancel = _ref2.cancel,
|
|
19713
|
-
onAction = _ref2.onAction,
|
|
19714
|
-
onCancel = _ref2.onCancel,
|
|
19715
|
-
hideCancel = _ref2.hideCancel,
|
|
19716
19809
|
variant = _ref2.variant,
|
|
19810
|
+
CustomAction = _ref2.customAction,
|
|
19717
19811
|
setOpen = _ref2.setOpen,
|
|
19718
|
-
|
|
19719
|
-
|
|
19812
|
+
hideCancel = _ref2.hideCancel,
|
|
19813
|
+
onAction = _ref2.onAction,
|
|
19814
|
+
onCancel = _ref2.onCancel;
|
|
19815
|
+
return jsxs("div", {
|
|
19720
19816
|
className: modules_ca1540aa.footer,
|
|
19721
|
-
children: [!hideCancel &&
|
|
19722
|
-
|
|
19723
|
-
variant: "outlined",
|
|
19817
|
+
children: [!hideCancel && jsx(Button, {
|
|
19818
|
+
variant: 'outlined',
|
|
19724
19819
|
className: modules_ca1540aa.cancel,
|
|
19725
19820
|
onClick: onCancel,
|
|
19726
19821
|
title: cancel
|
|
19727
|
-
}), CustomAction &&
|
|
19822
|
+
}), CustomAction && jsx(CustomAction, {
|
|
19728
19823
|
dismiss: function dismiss() {
|
|
19729
19824
|
setOpen(false);
|
|
19730
19825
|
}
|
|
19731
|
-
}), onAction &&
|
|
19732
|
-
onClick:
|
|
19826
|
+
}), onAction && jsx(Button, {
|
|
19827
|
+
onClick: function onClick() {
|
|
19828
|
+
return onAction({
|
|
19829
|
+
dismiss: function dismiss() {
|
|
19830
|
+
return setOpen(false);
|
|
19831
|
+
}
|
|
19832
|
+
});
|
|
19833
|
+
},
|
|
19733
19834
|
className: modules_ca1540aa.save,
|
|
19734
19835
|
title: action,
|
|
19735
19836
|
color: variant
|
|
19736
19837
|
})]
|
|
19737
19838
|
});
|
|
19738
19839
|
};
|
|
19739
|
-
|
|
19740
|
-
|
|
19741
|
-
|
|
19840
|
+
/* -------------------------------------------------------------------------- */
|
|
19841
|
+
/* Main Dialog component */
|
|
19842
|
+
/* -------------------------------------------------------------------------- */
|
|
19843
|
+
var DialogBox = /*#__PURE__*/forwardRef(function (_ref3, ref) {
|
|
19844
|
+
var _ref3$className = _ref3.className,
|
|
19845
|
+
className = _ref3$className === void 0 ? '' : _ref3$className,
|
|
19846
|
+
_ref3$size = _ref3.size,
|
|
19847
|
+
defaultSize = _ref3$size === void 0 ? 'md' : _ref3$size;
|
|
19742
19848
|
var _useState = useState(false),
|
|
19743
19849
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19744
19850
|
open = _useState2[0],
|
|
@@ -19759,13 +19865,16 @@ var DialogBox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
19759
19865
|
dialogProps = _useState4[0],
|
|
19760
19866
|
setDialogProps = _useState4[1];
|
|
19761
19867
|
var description = dialogProps.description,
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
19868
|
+
_dialogProps$actionTe = dialogProps.actionText,
|
|
19869
|
+
actionText = _dialogProps$actionTe === void 0 ? 'Done' : _dialogProps$actionTe,
|
|
19870
|
+
_dialogProps$cancelTe = dialogProps.cancelText,
|
|
19871
|
+
cancelText = _dialogProps$cancelTe === void 0 ? 'Dismiss' : _dialogProps$cancelTe,
|
|
19872
|
+
_dialogProps$variant = dialogProps.variant,
|
|
19873
|
+
variant = _dialogProps$variant === void 0 ? 'primary' : _dialogProps$variant,
|
|
19765
19874
|
title = dialogProps.title,
|
|
19766
|
-
|
|
19875
|
+
onAction = dialogProps.onAction,
|
|
19767
19876
|
onCancel = dialogProps.onCancel,
|
|
19768
|
-
|
|
19877
|
+
customAction = dialogProps.customAction,
|
|
19769
19878
|
_dialogProps$hideCanc = dialogProps.hideCancel,
|
|
19770
19879
|
hideCancel = _dialogProps$hideCanc === void 0 ? false : _dialogProps$hideCanc,
|
|
19771
19880
|
_dialogProps$noDismis = dialogProps.noDismiss,
|
|
@@ -19778,51 +19887,21 @@ var DialogBox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
19778
19887
|
onCancel === null || onCancel === void 0 || onCancel();
|
|
19779
19888
|
setOpen(false);
|
|
19780
19889
|
};
|
|
19781
|
-
|
|
19782
|
-
title: title
|
|
19783
|
-
};
|
|
19784
|
-
var footerProps = function footerProps(_ref3) {
|
|
19785
|
-
var setNoDismissEnabled = _ref3.setNoDismissEnabled;
|
|
19786
|
-
return _objectSpread2(_objectSpread2(_objectSpread2({
|
|
19787
|
-
action: actionText,
|
|
19788
|
-
cancel: cancelText,
|
|
19789
|
-
hideCancel: hideCancel,
|
|
19790
|
-
variant: variant,
|
|
19791
|
-
setOpen: setOpen
|
|
19792
|
-
}, _customAction && {
|
|
19793
|
-
customAction: function customAction() {
|
|
19794
|
-
return _customAction({
|
|
19795
|
-
setNoDismissEnabled: setNoDismissEnabled,
|
|
19796
|
-
dismiss: function dismiss() {
|
|
19797
|
-
setOpen(false);
|
|
19798
|
-
}
|
|
19799
|
-
});
|
|
19800
|
-
}
|
|
19801
|
-
}), _onAction && {
|
|
19802
|
-
onAction: function onAction() {
|
|
19803
|
-
_onAction({
|
|
19804
|
-
dismiss: function dismiss() {
|
|
19805
|
-
setOpen(false);
|
|
19806
|
-
}
|
|
19807
|
-
});
|
|
19808
|
-
}
|
|
19809
|
-
}), !hideCancel && {
|
|
19810
|
-
onCancel: toggle
|
|
19811
|
-
});
|
|
19812
|
-
};
|
|
19890
|
+
// function exposed through ref
|
|
19813
19891
|
var dialog = function dialog(appliedDialogProps) {
|
|
19814
|
-
setDialogProps(
|
|
19892
|
+
setDialogProps(function (prev) {
|
|
19893
|
+
return _objectSpread2(_objectSpread2({}, prev), appliedDialogProps);
|
|
19894
|
+
});
|
|
19815
19895
|
};
|
|
19816
19896
|
useImperativeHandle(ref, function () {
|
|
19817
19897
|
return {
|
|
19818
19898
|
dialog: dialog
|
|
19819
19899
|
};
|
|
19820
19900
|
});
|
|
19901
|
+
// open modal when dialogProps are populated
|
|
19821
19902
|
useEffect(function () {
|
|
19822
19903
|
if (dialogProps.title && (dialogProps.description || dialogProps.body)) {
|
|
19823
|
-
setOpen(
|
|
19824
|
-
return !prev;
|
|
19825
|
-
});
|
|
19904
|
+
setOpen(true);
|
|
19826
19905
|
}
|
|
19827
19906
|
}, [dialogProps]);
|
|
19828
19907
|
var _useState5 = useState(false),
|
|
@@ -19830,37 +19909,39 @@ var DialogBox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
19830
19909
|
dismissEnabled = _useState6[0],
|
|
19831
19910
|
setNoDismissEnabled = _useState6[1];
|
|
19832
19911
|
useEffect(function () {
|
|
19833
|
-
setNoDismissEnabled(noDismiss);
|
|
19912
|
+
setNoDismissEnabled(noDismiss !== null && noDismiss !== void 0 ? noDismiss : false);
|
|
19834
19913
|
}, [noDismiss]);
|
|
19835
|
-
return
|
|
19914
|
+
return jsxs(BaseModal, {
|
|
19836
19915
|
open: open,
|
|
19837
19916
|
toggle: toggle,
|
|
19838
19917
|
hideCrossDismiss: hideCrossDismiss,
|
|
19839
19918
|
noDismiss: dismissEnabled,
|
|
19840
19919
|
className: classes(modules_ca1540aa.root, modules_ca1540aa[size], className),
|
|
19841
|
-
renderHeader: title
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
-
|
|
19845
|
-
|
|
19920
|
+
renderHeader: title ? jsx(Header$1, {
|
|
19921
|
+
title: title
|
|
19922
|
+
}) : undefined,
|
|
19923
|
+
renderFooter: jsx(Footer$1, {
|
|
19924
|
+
action: actionText,
|
|
19925
|
+
cancel: cancelText,
|
|
19926
|
+
variant: variant,
|
|
19927
|
+
setOpen: setOpen,
|
|
19928
|
+
hideCancel: hideCancel,
|
|
19929
|
+
customAction: customAction,
|
|
19930
|
+
onAction: onAction !== null && onAction !== void 0 ? onAction : undefined,
|
|
19931
|
+
onCancel: !hideCancel ? toggle : undefined
|
|
19932
|
+
}),
|
|
19933
|
+
children: [Body && jsx(Body, {
|
|
19846
19934
|
dismiss: function dismiss() {
|
|
19847
|
-
setOpen(false);
|
|
19935
|
+
return setOpen(false);
|
|
19848
19936
|
},
|
|
19849
19937
|
setNoDismissEnabled: setNoDismissEnabled
|
|
19850
|
-
}),
|
|
19938
|
+
}), description && jsx("div", {
|
|
19851
19939
|
className: modules_ca1540aa.description,
|
|
19852
19940
|
children: description
|
|
19853
19941
|
})]
|
|
19854
19942
|
});
|
|
19855
19943
|
});
|
|
19856
|
-
DialogBox.
|
|
19857
|
-
className: propTypesExports.string,
|
|
19858
|
-
size: propTypesExports.oneOf(['sm', 'md'])
|
|
19859
|
-
};
|
|
19860
|
-
DialogBox.defaultProps = {
|
|
19861
|
-
className: '',
|
|
19862
|
-
size: 'md'
|
|
19863
|
-
};
|
|
19944
|
+
DialogBox.displayName = 'DialogBox';
|
|
19864
19945
|
|
|
19865
19946
|
var css$m = ".RichEditor_module_root__035ff1b7 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 1rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0.625rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7 {\n width: 2.5rem;\n height: 2.5rem;\n background-color: transparent !important;\n box-shadow: 0px 0px 0.125rem 0px rgba(0, 0, 0, 0.1450980392);\n z-index: 2;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_bold__035ff1b7 [data-elem=title] {\n font-size: 1.3rem;\n font-weight: 700;\n line-height: 2.0194rem;\n color: var(--mono-color1);\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_italic__035ff1b7 [data-elem=title] {\n font-size: 1.5rem;\n line-height: 2.0194rem;\n font-style: italic;\n font-weight: 300;\n color: var(--mono-color1);\n padding-inline: 0.25rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_strike__035ff1b7 [data-elem=title] {\n font-size: 1.5rem;\n line-height: 2.0194rem;\n text-decoration: line-through;\n font-weight: 400;\n color: var(--mono-color1);\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_underline__035ff1b7 [data-elem=title] {\n font-size: 1.5rem;\n line-height: 2.0194rem;\n font-weight: 400;\n color: var(--mono-color1);\n text-decoration: underline;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_color__035ff1b7 {\n cursor: pointer;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_color__035ff1b7 > label {\n height: 100%;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_color__035ff1b7 > label [data-elem=base-cell] {\n box-shadow: none;\n padding: 0.5rem;\n height: 100%;\n position: relative;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_color__035ff1b7 [data-elem=component2] {\n position: absolute;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_color__035ff1b7 [data-elem=component2] [data-elem=input] {\n opacity: 0;\n width: 2.5rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_link__035ff1b7 [data-elem=component2], .RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_align__035ff1b7 [data-elem=component2] {\n min-width: unset;\n display: inline-block;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_active__035ff1b7 {\n background-color: var(--mono-color1) !important;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_item__035ff1b7.RichEditor_module_active__035ff1b7 [data-elem=title] {\n color: var(--white);\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_dropdown__035ff1b7 {\n height: 2.5rem;\n width: 10rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_dropdown__035ff1b7 [data-elem=header] {\n height: 100%;\n box-shadow: 0px 0px 0.125rem 0px rgba(0, 0, 0, 0.1450980392);\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_dropdown__035ff1b7 [data-elem=header] [data-elem=select] {\n padding: 0 !important;\n padding-inline: 1rem 0.75rem !important;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_dropdown__035ff1b7 [data-elem=header] [data-elem=select] [data-elem=value] {\n color: var(--mono-color1);\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_menu__035ff1b7 .RichEditor_module_dropdown__035ff1b7 [data-elem=header] [data-elem=select] svg {\n fill: var(--mono-color1) !important;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_editor__035ff1b7 {\n box-shadow: 0px 0px 0.125rem 0px rgba(0, 0, 0, 0.2509803922);\n width: 100%;\n height: 16rem;\n border-radius: 0.25rem;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_editor__035ff1b7 > div {\n border-radius: 0.25rem;\n height: 100%;\n padding: 0.75rem 1rem;\n overflow-y: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_editor__035ff1b7 > div::-webkit-scrollbar {\n display: none;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_editor__035ff1b7 > div > p:nth-child(1)::before {\n color: var(--mono-color2);\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n}\n.RichEditor_module_root__035ff1b7 .RichEditor_module_editor__035ff1b7 > div:focus-within {\n outline: var(--secondary-color2) 1px solid;\n}\n\n.RichEditor_module_popper__035ff1b7 {\n min-width: 15rem !important;\n}";
|
|
19866
19947
|
var modules_64f0815c = {"root":"RichEditor_module_root__035ff1b7","menu":"RichEditor_module_menu__035ff1b7","item":"RichEditor_module_item__035ff1b7","bold":"RichEditor_module_bold__035ff1b7","italic":"RichEditor_module_italic__035ff1b7","strike":"RichEditor_module_strike__035ff1b7","underline":"RichEditor_module_underline__035ff1b7","color":"RichEditor_module_color__035ff1b7","link":"RichEditor_module_link__035ff1b7","align":"RichEditor_module_align__035ff1b7","active":"RichEditor_module_active__035ff1b7","dropdown":"RichEditor_module_dropdown__035ff1b7","editor":"RichEditor_module_editor__035ff1b7","popper":"RichEditor_module_popper__035ff1b7"};
|
|
@@ -22131,14 +22212,12 @@ var TableFilters = function TableFilters(props) {
|
|
|
22131
22212
|
Active: function Active() {
|
|
22132
22213
|
return jsx(ColumnFilter, {
|
|
22133
22214
|
className: modules_a0fe63f9.icon,
|
|
22134
|
-
v2: true,
|
|
22135
22215
|
active: true
|
|
22136
22216
|
});
|
|
22137
22217
|
},
|
|
22138
22218
|
InActive: function InActive() {
|
|
22139
22219
|
return jsx(ColumnFilter, {
|
|
22140
|
-
className: modules_a0fe63f9.icon
|
|
22141
|
-
v2: true
|
|
22220
|
+
className: modules_a0fe63f9.icon
|
|
22142
22221
|
});
|
|
22143
22222
|
}
|
|
22144
22223
|
},
|
|
@@ -23113,5 +23192,5 @@ var BaseWidget = /*#__PURE__*/forwardRef(function BaseWidget(props, ref) {
|
|
|
23113
23192
|
});
|
|
23114
23193
|
});
|
|
23115
23194
|
|
|
23116
|
-
export { Accordion, Alert$1 as Alert, AlertIcon, AreaChartIcon, Arrow as ArrowIcon, BarChartIcon, BaseAreaChart$1 as BaseAreaChart, BaseAreaChart as BaseAreaChartV2, BaseBarChart as BaseBarChartV2, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart$1 as BasePieChart, BasePieChart as BasePieChartV2, BaseRegionChart, BaseSidePanel, BaseTable as BaseTableV2, BaseVerticalBarChart, BaseWidget, BreadCrumbs, Button, COLORS, Calender$1 as CalenderIcon, Callout, CapsuleChart$1 as CapsuleChart, CapsuleChartIcon, CapsuleChart as CapsuleChartV2, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, Clock as ClockIcon, Close as CloseIcon, CodeSnippet, ColumnFilter,
|
|
23195
|
+
export { Accordion, Alert$1 as Alert, AlertIcon, AreaChartIcon, Arrow as ArrowIcon, BarChartIcon, BaseAreaChart$1 as BaseAreaChart, BaseAreaChart as BaseAreaChartV2, BaseBarChart as BaseBarChartV2, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart$1 as BasePieChart, BasePieChart as BasePieChartV2, BaseRegionChart, BaseSidePanel, BaseTable as BaseTableV2, BaseVerticalBarChart, BaseWidget, BreadCrumbs, Button, COLORS, Calender$1 as CalenderIcon, Callout, CapsuleChart$1 as CapsuleChart, CapsuleChartIcon, CapsuleChart as CapsuleChartV2, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, Clock as ClockIcon, Close as CloseIcon, CodeSnippet, ColumnFilter, Copy as CopyIcon, Cross as CrossIcon, DatePicker, Delete as DeleteIcon, DialogBox, DisplayPicture, DropdownItem as DropdownItemv2, Dropdown as Dropdownv2, Edit as EditIcon, Email as EmailIcon, ExpandArrowAlt as ExpandArrowAltIcon, ExpandCollapseIcon, Filter as FilterIcon, HeatMapChart, HidePassword as HidePasswordIcon, HierarchyBrowser, HierarchyItem, Home as HomeIcon, Info as InfoIcon, LineChartIcon, Link, MagnifyingGlass as MagnifyingGlassIcon, Maximize as MaximizeIcon, NestedPieChart, CapsulePolarChart as NestedPieChartV2, FilterIcon as NewFilterIcon, Pagination, PaginationList, Password as PasswordIcon, PieChartIcon, Plus as PlusIcon, Popover, Popper, Radio, RadioIcon, Refresh as RefreshIcon, RichEditor as RichTextEditor, SearchButton, SearchIcon, Server as ServerIcon, Skeleton, Slider, Sort as SortIcon, StackedPieChart, StackedPieChartIcon, Step, Stepper, Switch, TableCell as TableCellV2, Table as TableV2, Tabs, Text, TextField as TextFieldv2, Tick as TickIcon, Toggle, Tooltip, UnlockPassword as UnlockPasswordIcon, ViewPasswordIcon, areTwinObjects, classes, cloneDeep, doubleDigitted, epochToFormattedDate, generateColors, get, getCSSVariableValue, getDateFromEpoch, getDatesInAMonth, getDatesInStringFormat, getDayInfo, getDuplicatesSansArray, getInitialsOfName, getJSDateFromEpoch, getPagination, getSpacedDisplayName, getTimeFromEpoch, getUniquePrimitives, inputHelper, isEmptyHtmlString, safeJSONParse, sanitizeJSON, stringToPath, sumArrayOfObjects, uniqueArray, uniqueArrayOfObjects, useOutsideClickListener, usePagination, useResize };
|
|
23117
23196
|
//# sourceMappingURL=index.js.map
|