@gobolt/genesis 0.7.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +9 -0
- package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +17 -0
- package/dist/components/Badge/__tests__/Badge.test.d.ts +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +23 -0
- package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +9 -0
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.d.ts +1 -0
- package/dist/components/Button/__stories__/Button.stories.d.ts +12 -0
- package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
- package/dist/components/Button/__tests__/Button.test.d.ts +1 -0
- package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
- package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
- package/dist/components/Chat/__stories__/Chat.stories.d.ts +19 -0
- package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +7 -0
- package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
- package/dist/components/Dashboard/Dashboard.d.ts +5 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +13 -0
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +6 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +12 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
- package/dist/components/Dashboard/index.d.ts +2 -0
- package/dist/components/Dashboard/styles.d.ts +13 -0
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +9 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +10 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +7 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
- package/dist/components/ErrorBoundary/styles.d.ts +13 -0
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +7 -0
- package/dist/components/Filters/Filter.d.ts +23 -0
- package/dist/components/Filters/FilterRow.d.ts +8 -0
- package/dist/components/Filters/Filters.d.ts +8 -0
- package/dist/components/Filters/__stories__/Filters.stories.d.ts +7 -0
- package/dist/components/Filters/__stories__/mock.d.ts +5 -0
- package/dist/components/Filters/__tests__/Filters.test.d.ts +1 -0
- package/dist/components/Filters/index.d.ts +2 -0
- package/dist/components/Filters/styles.d.ts +28 -0
- package/dist/components/Form/Form.d.ts +1 -1
- package/dist/components/Form/__stories__/Form.stories.d.ts +6 -0
- package/dist/components/Form/__stories__/FormStory.d.ts +1 -0
- package/dist/components/Form/__tests__/form.test.d.ts +1 -0
- package/dist/components/GlobalHeader/__stories__/GlobalHeader.stories.d.ts +11 -0
- package/dist/components/GlobalHeader/__tests__/GlobalHeader.test.d.ts +1 -0
- package/dist/components/GlobalHeader/styles.d.ts +15 -0
- package/dist/components/Glyph/Glyph.d.ts +3 -0
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +6 -0
- package/dist/components/Glyph/custom/__stories__/UnitNumber.stories.d.ts +7 -0
- package/dist/components/Glyph/index.d.ts +4 -0
- package/dist/components/Glyph/styles.d.ts +13 -0
- package/dist/components/Input/__stories__/Input.stories.d.ts +12 -0
- package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
- package/dist/components/InputAddon/__stories__/InputAdd.stories.d.ts +10 -0
- package/dist/components/Insights/BarChart/__stories__/BarChart.stories.d.ts +8 -0
- package/dist/components/Insights/BarChart/__stories__/BarChart.vehicle-insights.stories.d.ts +12 -0
- package/dist/components/Insights/BarChart/__tests__/BarChart.test.d.ts +1 -0
- package/dist/components/Insights/DonutChart/__stories__/DonutChart.stories.d.ts +8 -0
- package/dist/components/Insights/DonutChart/__tests__/DonutChart.test.d.ts +1 -0
- package/dist/components/Insights/LineChart/__stories__/LineChart.stories.d.ts +6 -0
- package/dist/components/Insights/LineChart/__tests__/LineChart.test.d.ts +1 -0
- package/dist/components/Insights/__stories__/InsightsDrawer.stories.d.ts +12 -0
- package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +9 -0
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +8 -0
- package/dist/components/Layout/MainLayout/index.d.ts +2 -0
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +6 -0
- package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
- package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
- package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
- package/dist/components/NavBar/NavBar.d.ts +30 -0
- package/dist/components/NavBar/NavItem.d.ts +15 -0
- package/dist/components/NavBar/NavMenu.d.ts +7 -0
- package/dist/components/NavBar/__stories__/AppLayout.stories.d.ts +10 -0
- package/dist/components/NavBar/__stories__/NavBar.stories.d.ts +15 -0
- package/dist/components/NavBar/__stories__/NavItem.stories.d.ts +16 -0
- package/dist/components/NavBar/__stories__/fixtures.d.ts +8 -0
- package/dist/components/NavBar/__tests__/NavBar.test.d.ts +1 -0
- package/dist/components/NavBar/index.d.ts +2 -0
- package/dist/components/NavBar/styles.d.ts +33 -0
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +12 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
- package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
- package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
- package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/components/OverflowMenu/__stories__/OverflowMenu.stories.d.ts +8 -0
- package/dist/components/OverflowMenu/__tests__/OverflowMenu.test.d.ts +0 -0
- package/dist/components/OverflowMenuItem/__stories__/OverflowMenuItem.stories.d.ts +7 -0
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +6 -0
- package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +18 -0
- package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +8 -0
- package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
- package/dist/components/Row/__stories__/Row.stories.d.ts +12 -0
- package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +8 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
- package/dist/components/Select/__stories__/Select.stories.d.ts +11 -0
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +8 -0
- package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
- package/dist/components/Stories/position-checker.d.ts +6 -0
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
- package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
- package/dist/components/Table/InfiniteScrollTable/__stories__/SpaceX.stories.d.ts +6 -0
- package/dist/components/Table/InfiniteScrollTable/__stories__/TableInfiniteScroll.stories.d.ts +13 -0
- package/dist/components/Table/InfiniteScrollTable/__stories__/api.d.ts +7 -0
- package/dist/components/Table/InfiniteScrollTable/__stories__/exampleConfig.d.ts +26 -0
- package/dist/components/Table/InfiniteScrollTable/__stories__/spacexConfig.d.ts +2 -0
- package/dist/components/Table/InfiniteScrollTable/types.d.ts +88 -0
- package/dist/components/Table/TableControls/__stories__/CustomPaginationStandalone.stories.d.ts +9 -0
- package/dist/components/Table/TableControls/__stories__/PaginationNumber.stories.d.ts +7 -0
- package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +8 -0
- package/dist/components/Table/TableControls/__tests__/CustomPagination.test.d.ts +1 -0
- package/dist/components/Table/TableControls/__tests__/TableControls.test.d.ts +1 -0
- package/dist/components/Table/TableControls/styles.d.ts +13 -0
- package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +5 -0
- package/dist/components/Table/__stories__/Table.stories.d.ts +10 -0
- package/dist/components/Table/__tests__/table.test.d.ts +1 -0
- package/dist/components/TableWithControls/__stories__/InfiniteScrollSelectRowsStory.d.ts +1 -0
- package/dist/components/TableWithControls/__stories__/InfiniteScrollStory.d.ts +13 -0
- package/dist/components/TableWithControls/__stories__/PaginationStory.d.ts +6 -0
- package/dist/components/TableWithControls/__stories__/TablePage.stories.d.ts +6 -0
- package/dist/components/TableWithControls/__stories__/TableWithControls.stories.d.ts +13 -0
- package/dist/components/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +9 -0
- package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
- package/dist/components/Tag/__stories__/Tag.stories.d.ts +10 -0
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +6 -0
- package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
- package/dist/components/TileLog/TileLog.d.ts +10 -0
- package/dist/components/TileLog/__stories__/TileLog.stories.d.ts +22 -0
- package/dist/components/TileLog/index.d.ts +2 -0
- package/dist/components/TileLog/styles.d.ts +15 -0
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +15 -0
- package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +8 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +2 -1
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +15 -0
- package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
- package/dist/components/UtilityButton/UtilityButton.d.ts +1 -2
- package/dist/components/index.d.ts +4 -0
- package/dist/genesis/ComponentOverview.stories.d.ts +6 -0
- package/dist/genesis/GenesisThemeBreakdown.d.ts +3 -0
- package/dist/genesis/GenesisThemeDemo.d.ts +4 -0
- package/dist/genesis/GenesisThemeDemo.stories.d.ts +6 -0
- package/dist/genesis/Lab.stories.d.ts +5 -0
- package/dist/genesis/stories.d.ts +4 -0
- package/dist/genesis/styles.d.ts +11 -0
- package/dist/index.cjs +867 -179
- package/dist/index.js +805 -117
- package/dist/interface/address.d.ts +10 -0
- package/dist/interface/appointment.d.ts +56 -0
- package/dist/interface/appointmentV2.d.ts +64 -0
- package/dist/interface/appointmentsState.d.ts +20 -0
- package/dist/interface/common.d.ts +2 -0
- package/dist/interface/completionData.d.ts +18 -0
- package/dist/interface/deliveryPartner.d.ts +24 -0
- package/dist/interface/organization.d.ts +9 -0
- package/dist/interface/pagination.d.ts +8 -0
- package/dist/interface/roles.d.ts +9 -0
- package/dist/interface/route.d.ts +72 -0
- package/dist/interface/routeAnalysis.d.ts +107 -0
- package/dist/interface/routeAutomationJob.d.ts +94 -0
- package/dist/interface/routeAutomationLog.d.ts +9 -0
- package/dist/interface/routeEvent.d.ts +55 -0
- package/dist/interface/serviceArea.d.ts +17 -0
- package/dist/interface/util.d.ts +3 -0
- package/dist/interface/vehicle.d.ts +119 -0
- package/dist/interface/workOrder.d.ts +22 -0
- package/dist/providers/__stories__/GenesisProvider.stories.d.ts +5 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.d.ts +1 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +5 -0
- package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +6 -0
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -0
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +5 -0
- package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +7 -0
- package/dist/styles/design-tokens/variables.d.ts +706 -0
- package/dist/styles/theme/genesis-theme.types.d.ts +263 -0
- package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +5 -0
- package/dist/test/setup.d.ts +3 -0
- package/dist/test/setup.types.d.ts +6 -0
- package/dist/types/events.d.ts +21 -0
- package/dist/utils/simple-markdown.d.ts +4 -0
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -26,11 +26,6 @@ function getDefaultExportFromCjs(x2) {
|
|
|
26
26
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
27
27
|
}
|
|
28
28
|
var classnames = { exports: {} };
|
|
29
|
-
/*!
|
|
30
|
-
Copyright (c) 2018 Jed Watson.
|
|
31
|
-
Licensed under the MIT License (MIT), see
|
|
32
|
-
http://jedwatson.github.io/classnames
|
|
33
|
-
*/
|
|
34
29
|
var hasRequiredClassnames;
|
|
35
30
|
function requireClassnames() {
|
|
36
31
|
if (hasRequiredClassnames) return classnames.exports;
|
|
@@ -107,9 +102,9 @@ function _typeof(o2) {
|
|
|
107
102
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
108
103
|
}, _typeof(o2);
|
|
109
104
|
}
|
|
110
|
-
var REACT_ELEMENT_TYPE_18 = Symbol.for("react.element");
|
|
111
|
-
var REACT_ELEMENT_TYPE_19 = Symbol.for("react.transitional.element");
|
|
112
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
105
|
+
var REACT_ELEMENT_TYPE_18 = /* @__PURE__ */ Symbol.for("react.element");
|
|
106
|
+
var REACT_ELEMENT_TYPE_19 = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
107
|
+
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
113
108
|
function isFragment$1(object4) {
|
|
114
109
|
return (
|
|
115
110
|
// Base object type
|
|
@@ -246,21 +241,12 @@ function findDOMNode(node2) {
|
|
|
246
241
|
}
|
|
247
242
|
var reactIs = { exports: {} };
|
|
248
243
|
var reactIs_production_min = {};
|
|
249
|
-
/**
|
|
250
|
-
* @license React
|
|
251
|
-
* react-is.production.min.js
|
|
252
|
-
*
|
|
253
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
254
|
-
*
|
|
255
|
-
* This source code is licensed under the MIT license found in the
|
|
256
|
-
* LICENSE file in the root directory of this source tree.
|
|
257
|
-
*/
|
|
258
244
|
var hasRequiredReactIs_production_min;
|
|
259
245
|
function requireReactIs_production_min() {
|
|
260
246
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
261
247
|
hasRequiredReactIs_production_min = 1;
|
|
262
|
-
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l2 = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t2 = Symbol.for("react.offscreen"), u;
|
|
263
|
-
u = Symbol.for("react.module.reference");
|
|
248
|
+
var b = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), e3 = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.server_context"), l2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), n2 = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), t2 = /* @__PURE__ */ Symbol.for("react.offscreen"), u;
|
|
249
|
+
u = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
264
250
|
function v(a) {
|
|
265
251
|
if ("object" === typeof a && null !== a) {
|
|
266
252
|
var r2 = a.$$typeof;
|
|
@@ -352,35 +338,26 @@ function requireReactIs_production_min() {
|
|
|
352
338
|
return reactIs_production_min;
|
|
353
339
|
}
|
|
354
340
|
var reactIs_development = {};
|
|
355
|
-
/**
|
|
356
|
-
* @license React
|
|
357
|
-
* react-is.development.js
|
|
358
|
-
*
|
|
359
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
360
|
-
*
|
|
361
|
-
* This source code is licensed under the MIT license found in the
|
|
362
|
-
* LICENSE file in the root directory of this source tree.
|
|
363
|
-
*/
|
|
364
341
|
var hasRequiredReactIs_development;
|
|
365
342
|
function requireReactIs_development() {
|
|
366
343
|
if (hasRequiredReactIs_development) return reactIs_development;
|
|
367
344
|
hasRequiredReactIs_development = 1;
|
|
368
345
|
if (process.env.NODE_ENV !== "production") {
|
|
369
346
|
(function() {
|
|
370
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
371
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
372
|
-
var REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
|
|
373
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
374
|
-
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
375
|
-
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
376
|
-
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
377
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
|
|
378
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
379
|
-
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
380
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
381
|
-
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
382
|
-
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
383
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
347
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
|
|
348
|
+
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
349
|
+
var REACT_FRAGMENT_TYPE2 = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
350
|
+
var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
|
|
351
|
+
var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
|
|
352
|
+
var REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider");
|
|
353
|
+
var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
|
|
354
|
+
var REACT_SERVER_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.server_context");
|
|
355
|
+
var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
|
|
356
|
+
var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
|
|
357
|
+
var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
|
|
358
|
+
var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
|
|
359
|
+
var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
360
|
+
var REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen");
|
|
384
361
|
var enableScopeAPI = false;
|
|
385
362
|
var enableCacheElement = false;
|
|
386
363
|
var enableTransitionTracing = false;
|
|
@@ -388,7 +365,7 @@ function requireReactIs_development() {
|
|
|
388
365
|
var enableDebugTracing = false;
|
|
389
366
|
var REACT_MODULE_REFERENCE;
|
|
390
367
|
{
|
|
391
|
-
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
368
|
+
REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
392
369
|
}
|
|
393
370
|
function isValidElementType(type4) {
|
|
394
371
|
if (typeof type4 === "string" || typeof type4 === "function") {
|
|
@@ -6462,7 +6439,7 @@ function MotionWrapper(props) {
|
|
|
6462
6439
|
}
|
|
6463
6440
|
return children2;
|
|
6464
6441
|
}
|
|
6465
|
-
const PropWarning = /* @__PURE__ */ React__namespace.memo(({
|
|
6442
|
+
const PropWarning$1 = /* @__PURE__ */ React__namespace.memo(({
|
|
6466
6443
|
dropdownMatchSelectWidth
|
|
6467
6444
|
}) => {
|
|
6468
6445
|
const warning3 = devUseWarning("ConfigProvider");
|
|
@@ -6470,9 +6447,9 @@ const PropWarning = /* @__PURE__ */ React__namespace.memo(({
|
|
|
6470
6447
|
return null;
|
|
6471
6448
|
});
|
|
6472
6449
|
if (process.env.NODE_ENV !== "production") {
|
|
6473
|
-
PropWarning.displayName = "PropWarning";
|
|
6450
|
+
PropWarning$1.displayName = "PropWarning";
|
|
6474
6451
|
}
|
|
6475
|
-
const PropWarning
|
|
6452
|
+
const PropWarning = process.env.NODE_ENV !== "production" ? PropWarning$1 : () => null;
|
|
6476
6453
|
var __rest$Y = function(s, e3) {
|
|
6477
6454
|
var t2 = {};
|
|
6478
6455
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
|
|
@@ -6725,7 +6702,7 @@ const ProviderChildren = (props) => {
|
|
|
6725
6702
|
csp,
|
|
6726
6703
|
layer: layer ? "antd" : void 0
|
|
6727
6704
|
}), [iconPrefixCls, csp, layer]);
|
|
6728
|
-
let childNode = /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(PropWarning
|
|
6705
|
+
let childNode = /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(PropWarning, {
|
|
6729
6706
|
dropdownMatchSelectWidth
|
|
6730
6707
|
}), children2);
|
|
6731
6708
|
const validateMessages = React__namespace.useMemo(() => {
|
|
@@ -7916,7 +7893,6 @@ function _regeneratorDefine(e3, r2, n2, t2) {
|
|
|
7916
7893
|
}, _regeneratorDefine(e3, r2, n2, t2);
|
|
7917
7894
|
}
|
|
7918
7895
|
function _regenerator() {
|
|
7919
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
7920
7896
|
var e3, t2, r2 = "function" == typeof Symbol ? Symbol : {}, n2 = r2.iterator || "@@iterator", o2 = r2.toStringTag || "@@toStringTag";
|
|
7921
7897
|
function i(r3, n3, o3, i2) {
|
|
7922
7898
|
var c2 = n3 && n3.prototype instanceof Generator ? n3 : Generator, u2 = Object.create(c2.prototype);
|
|
@@ -11520,19 +11496,19 @@ function _wrapNativeSuper(t2) {
|
|
|
11520
11496
|
if ("function" != typeof t3) throw new TypeError("Super expression must either be null or a function");
|
|
11521
11497
|
if (void 0 !== r2) {
|
|
11522
11498
|
if (r2.has(t3)) return r2.get(t3);
|
|
11523
|
-
r2.set(t3,
|
|
11499
|
+
r2.set(t3, Wrapper2);
|
|
11524
11500
|
}
|
|
11525
|
-
function
|
|
11501
|
+
function Wrapper2() {
|
|
11526
11502
|
return _construct(t3, arguments, _getPrototypeOf(this).constructor);
|
|
11527
11503
|
}
|
|
11528
|
-
return
|
|
11504
|
+
return Wrapper2.prototype = Object.create(t3.prototype, {
|
|
11529
11505
|
constructor: {
|
|
11530
|
-
value:
|
|
11506
|
+
value: Wrapper2,
|
|
11531
11507
|
enumerable: false,
|
|
11532
11508
|
writable: true,
|
|
11533
11509
|
configurable: true
|
|
11534
11510
|
}
|
|
11535
|
-
}), _setPrototypeOf(
|
|
11511
|
+
}), _setPrototypeOf(Wrapper2, t3);
|
|
11536
11512
|
}, _wrapNativeSuper(t2);
|
|
11537
11513
|
}
|
|
11538
11514
|
var formatRegExp = /%[sdj%]/g;
|
|
@@ -22480,7 +22456,7 @@ var placements$2 = {
|
|
|
22480
22456
|
}
|
|
22481
22457
|
};
|
|
22482
22458
|
var _excluded$z = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"];
|
|
22483
|
-
var Tooltip$
|
|
22459
|
+
var Tooltip$4 = function Tooltip(props, ref) {
|
|
22484
22460
|
var overlayClassName = props.overlayClassName, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, _props$mouseEnterDela = props.mouseEnterDelay, mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, overlayStyle = props.overlayStyle, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tooltip" : _props$prefixCls, children2 = props.children, onVisibleChange = props.onVisibleChange, afterVisibleChange = props.afterVisibleChange, transitionName = props.transitionName, animation = props.animation, motion2 = props.motion, _props$placement = props.placement, placement = _props$placement === void 0 ? "right" : _props$placement, _props$align = props.align, align = _props$align === void 0 ? {} : _props$align, _props$destroyTooltip = props.destroyTooltipOnHide, destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, defaultVisible = props.defaultVisible, getTooltipContainer = props.getTooltipContainer, overlayInnerStyle = props.overlayInnerStyle;
|
|
22485
22461
|
props.arrowContent;
|
|
22486
22462
|
var overlay = props.overlay, id2 = props.id, _props$showArrow = props.showArrow, showArrow = _props$showArrow === void 0 ? true : _props$showArrow, tooltipClassNames = props.classNames, tooltipStyles = props.styles, restProps = _objectWithoutProperties$1(props, _excluded$z);
|
|
@@ -22533,7 +22509,7 @@ var Tooltip$3 = function Tooltip(props, ref) {
|
|
|
22533
22509
|
arrow: showArrow
|
|
22534
22510
|
}, extraProps), getChildren());
|
|
22535
22511
|
};
|
|
22536
|
-
const Tooltip$
|
|
22512
|
+
const Tooltip$3 = /* @__PURE__ */ React.forwardRef(Tooltip$4);
|
|
22537
22513
|
function getArrowToken(token2) {
|
|
22538
22514
|
const {
|
|
22539
22515
|
sizePopupArrow,
|
|
@@ -23240,7 +23216,7 @@ const InternalTooltip = /* @__PURE__ */ React__namespace.forwardRef((props, ref)
|
|
|
23240
23216
|
}, colorInfo.className, rootClassName, hashId, cssVarCls, contextClassName, contextClassNames.root, tooltipClassNames === null || tooltipClassNames === void 0 ? void 0 : tooltipClassNames.root);
|
|
23241
23217
|
const bodyClassNames = classNames(contextClassNames.body, tooltipClassNames === null || tooltipClassNames === void 0 ? void 0 : tooltipClassNames.body);
|
|
23242
23218
|
const [zIndex, contextZIndex] = useZIndex("Tooltip", restProps.zIndex);
|
|
23243
|
-
const content2 = /* @__PURE__ */ React__namespace.createElement(Tooltip$
|
|
23219
|
+
const content2 = /* @__PURE__ */ React__namespace.createElement(Tooltip$3, Object.assign({}, restProps, {
|
|
23244
23220
|
zIndex,
|
|
23245
23221
|
showArrow: mergedShowArrow,
|
|
23246
23222
|
placement,
|
|
@@ -23817,7 +23793,7 @@ var placements$1 = {
|
|
|
23817
23793
|
}
|
|
23818
23794
|
};
|
|
23819
23795
|
var _excluded$y = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
|
|
23820
|
-
function Dropdown$
|
|
23796
|
+
function Dropdown$3(props, ref) {
|
|
23821
23797
|
var _children$props;
|
|
23822
23798
|
var _props$arrow = props.arrow, arrow = _props$arrow === void 0 ? false : _props$arrow, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-dropdown" : _props$prefixCls, transitionName = props.transitionName, animation = props.animation, align = props.align, _props$placement = props.placement, placement = _props$placement === void 0 ? "bottomLeft" : _props$placement, _props$placements = props.placements, placements2 = _props$placements === void 0 ? placements$1 : _props$placements, getPopupContainer = props.getPopupContainer, showAction = props.showAction, hideAction = props.hideAction, overlayClassName = props.overlayClassName, overlayStyle = props.overlayStyle, visible = props.visible, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, autoFocus = props.autoFocus, overlay = props.overlay, children2 = props.children, onVisibleChange = props.onVisibleChange, otherProps = _objectWithoutProperties$1(props, _excluded$y);
|
|
23823
23799
|
var _React$useState = React.useState(), _React$useState2 = _slicedToArray(_React$useState, 2), triggerVisible = _React$useState2[0], setTriggerVisible = _React$useState2[1];
|
|
@@ -23904,7 +23880,7 @@ function Dropdown$2(props, ref) {
|
|
|
23904
23880
|
getPopupContainer
|
|
23905
23881
|
}), childrenNode);
|
|
23906
23882
|
}
|
|
23907
|
-
const Dropdown$
|
|
23883
|
+
const Dropdown$2 = /* @__PURE__ */ React.forwardRef(Dropdown$3);
|
|
23908
23884
|
const isPrimitive = (value2) => typeof value2 !== "object" && typeof value2 !== "function" || value2 === null;
|
|
23909
23885
|
var IdContext = /* @__PURE__ */ React__namespace.createContext(null);
|
|
23910
23886
|
function getMenuId(uuid2, eventKey) {
|
|
@@ -24472,7 +24448,7 @@ var InternalMenuItem = /* @__PURE__ */ React__namespace.forwardRef(function(prop
|
|
|
24472
24448
|
}
|
|
24473
24449
|
return renderNode;
|
|
24474
24450
|
});
|
|
24475
|
-
function MenuItem$
|
|
24451
|
+
function MenuItem$3(props, ref) {
|
|
24476
24452
|
var eventKey = props.eventKey;
|
|
24477
24453
|
var measure = useMeasure();
|
|
24478
24454
|
var connectedKeyPath = useFullPath(eventKey);
|
|
@@ -24491,7 +24467,7 @@ function MenuItem$2(props, ref) {
|
|
|
24491
24467
|
ref
|
|
24492
24468
|
}));
|
|
24493
24469
|
}
|
|
24494
|
-
const MenuItem$
|
|
24470
|
+
const MenuItem$2 = /* @__PURE__ */ React__namespace.forwardRef(MenuItem$3);
|
|
24495
24471
|
var _excluded$u = ["className", "children"];
|
|
24496
24472
|
var InternalSubMenuList = function InternalSubMenuList2(_ref, ref) {
|
|
24497
24473
|
var className = _ref.className, children2 = _ref.children, restProps = _objectWithoutProperties$1(_ref, _excluded$u);
|
|
@@ -24991,7 +24967,7 @@ function parseItems(children2, items, keyPath, components2, prefixCls) {
|
|
|
24991
24967
|
var childNodes = children2;
|
|
24992
24968
|
var mergedComponents = _objectSpread2({
|
|
24993
24969
|
divider: Divider,
|
|
24994
|
-
item: MenuItem$
|
|
24970
|
+
item: MenuItem$2,
|
|
24995
24971
|
group: MenuItemGroup,
|
|
24996
24972
|
submenu: SubMenu$1
|
|
24997
24973
|
}, components2);
|
|
@@ -25208,7 +25184,7 @@ var Menu$1 = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
|
25208
25184
|
ref: containerRef,
|
|
25209
25185
|
prefixCls: "".concat(prefixCls, "-overflow"),
|
|
25210
25186
|
component: "ul",
|
|
25211
|
-
itemComponent: MenuItem$
|
|
25187
|
+
itemComponent: MenuItem$2,
|
|
25212
25188
|
className: classNames(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(internalMode), className, _defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-inline-collapsed"), internalInlineCollapsed), "".concat(prefixCls, "-rtl"), isRtl), rootClassName),
|
|
25213
25189
|
dir: direction,
|
|
25214
25190
|
style: style2,
|
|
@@ -25277,7 +25253,7 @@ var Menu$1 = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
|
25277
25253
|
}, measureChildList)))));
|
|
25278
25254
|
});
|
|
25279
25255
|
var ExportMenu = Menu$1;
|
|
25280
|
-
ExportMenu.Item = MenuItem$
|
|
25256
|
+
ExportMenu.Item = MenuItem$2;
|
|
25281
25257
|
ExportMenu.SubMenu = SubMenu$1;
|
|
25282
25258
|
ExportMenu.ItemGroup = MenuItemGroup;
|
|
25283
25259
|
ExportMenu.Divider = Divider;
|
|
@@ -25756,7 +25732,7 @@ const MenuItem$1 = (props) => {
|
|
|
25756
25732
|
tooltipProps.open = false;
|
|
25757
25733
|
}
|
|
25758
25734
|
const childrenLength = toArray$8(children2).length;
|
|
25759
|
-
let returnNode = /* @__PURE__ */ React__namespace.createElement(MenuItem$
|
|
25735
|
+
let returnNode = /* @__PURE__ */ React__namespace.createElement(MenuItem$2, Object.assign({}, omit(props, ["title", "icon", "danger"]), {
|
|
25760
25736
|
className: classNames({
|
|
25761
25737
|
[`${prefixCls}-item-danger`]: danger,
|
|
25762
25738
|
[`${prefixCls}-item-only-child`]: (icon ? childrenLength + 1 : childrenLength) === 1
|
|
@@ -27468,7 +27444,7 @@ const Dropdown$1 = (props) => {
|
|
|
27468
27444
|
}, overlayNode);
|
|
27469
27445
|
};
|
|
27470
27446
|
const [zIndex, contextZIndex] = useZIndex("Dropdown", overlayStyle === null || overlayStyle === void 0 ? void 0 : overlayStyle.zIndex);
|
|
27471
|
-
let renderNode = /* @__PURE__ */ React__namespace.createElement(Dropdown$
|
|
27447
|
+
let renderNode = /* @__PURE__ */ React__namespace.createElement(Dropdown$2, Object.assign({
|
|
27472
27448
|
alignPoint
|
|
27473
27449
|
}, omit(props, ["rootClassName"]), {
|
|
27474
27450
|
mouseEnterDelay,
|
|
@@ -27917,7 +27893,7 @@ var hasRequiredDayjs_min;
|
|
|
27917
27893
|
function requireDayjs_min() {
|
|
27918
27894
|
if (hasRequiredDayjs_min) return dayjs_min$1.exports;
|
|
27919
27895
|
hasRequiredDayjs_min = 1;
|
|
27920
|
-
(function(module2,
|
|
27896
|
+
(function(module2, exports$1) {
|
|
27921
27897
|
!(function(t2, e3) {
|
|
27922
27898
|
module2.exports = e3();
|
|
27923
27899
|
})(dayjs_min, (function() {
|
|
@@ -28202,7 +28178,7 @@ var hasRequiredWeekday;
|
|
|
28202
28178
|
function requireWeekday() {
|
|
28203
28179
|
if (hasRequiredWeekday) return weekday$2.exports;
|
|
28204
28180
|
hasRequiredWeekday = 1;
|
|
28205
|
-
(function(module2,
|
|
28181
|
+
(function(module2, exports$1) {
|
|
28206
28182
|
!(function(e3, t2) {
|
|
28207
28183
|
module2.exports = t2();
|
|
28208
28184
|
})(weekday$1, (function() {
|
|
@@ -28224,7 +28200,7 @@ var hasRequiredLocaleData;
|
|
|
28224
28200
|
function requireLocaleData() {
|
|
28225
28201
|
if (hasRequiredLocaleData) return localeData$2.exports;
|
|
28226
28202
|
hasRequiredLocaleData = 1;
|
|
28227
|
-
(function(module2,
|
|
28203
|
+
(function(module2, exports$1) {
|
|
28228
28204
|
!(function(n2, e3) {
|
|
28229
28205
|
module2.exports = e3();
|
|
28230
28206
|
})(localeData$1, (function() {
|
|
@@ -28309,7 +28285,7 @@ var hasRequiredWeekOfYear;
|
|
|
28309
28285
|
function requireWeekOfYear() {
|
|
28310
28286
|
if (hasRequiredWeekOfYear) return weekOfYear$2.exports;
|
|
28311
28287
|
hasRequiredWeekOfYear = 1;
|
|
28312
|
-
(function(module2,
|
|
28288
|
+
(function(module2, exports$1) {
|
|
28313
28289
|
!(function(e3, t2) {
|
|
28314
28290
|
module2.exports = t2();
|
|
28315
28291
|
})(weekOfYear$1, (function() {
|
|
@@ -28341,7 +28317,7 @@ var hasRequiredWeekYear;
|
|
|
28341
28317
|
function requireWeekYear() {
|
|
28342
28318
|
if (hasRequiredWeekYear) return weekYear$2.exports;
|
|
28343
28319
|
hasRequiredWeekYear = 1;
|
|
28344
|
-
(function(module2,
|
|
28320
|
+
(function(module2, exports$1) {
|
|
28345
28321
|
!(function(e3, t2) {
|
|
28346
28322
|
module2.exports = t2();
|
|
28347
28323
|
})(weekYear$1, (function() {
|
|
@@ -28363,7 +28339,7 @@ var hasRequiredAdvancedFormat;
|
|
|
28363
28339
|
function requireAdvancedFormat() {
|
|
28364
28340
|
if (hasRequiredAdvancedFormat) return advancedFormat$2.exports;
|
|
28365
28341
|
hasRequiredAdvancedFormat = 1;
|
|
28366
|
-
(function(module2,
|
|
28342
|
+
(function(module2, exports$1) {
|
|
28367
28343
|
!(function(e3, t2) {
|
|
28368
28344
|
module2.exports = t2();
|
|
28369
28345
|
})(advancedFormat$1, (function() {
|
|
@@ -28420,7 +28396,7 @@ var hasRequiredCustomParseFormat;
|
|
|
28420
28396
|
function requireCustomParseFormat() {
|
|
28421
28397
|
if (hasRequiredCustomParseFormat) return customParseFormat$2.exports;
|
|
28422
28398
|
hasRequiredCustomParseFormat = 1;
|
|
28423
|
-
(function(module2,
|
|
28399
|
+
(function(module2, exports$1) {
|
|
28424
28400
|
!(function(e3, t2) {
|
|
28425
28401
|
module2.exports = t2();
|
|
28426
28402
|
})(customParseFormat$1, (function() {
|
|
@@ -36413,7 +36389,7 @@ var ExtraContent = /* @__PURE__ */ React__namespace.forwardRef(function(props, r
|
|
|
36413
36389
|
if (process.env.NODE_ENV !== "production") {
|
|
36414
36390
|
ExtraContent.displayName = "ExtraContent";
|
|
36415
36391
|
}
|
|
36416
|
-
var OperationNode = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
36392
|
+
var OperationNode$1 = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
36417
36393
|
var prefixCls = props.prefixCls, id2 = props.id, tabs = props.tabs, locale2 = props.locale, mobile = props.mobile, _props$more = props.more, moreProps = _props$more === void 0 ? {} : _props$more, style2 = props.style, className = props.className, editable = props.editable, tabBarGutter = props.tabBarGutter, rtl = props.rtl, removeAriaLabel = props.removeAriaLabel, onTabClick = props.onTabClick, getPopupContainer = props.getPopupContainer, popupClassName = props.popupClassName;
|
|
36418
36394
|
var _useState = React.useState(false), _useState2 = _slicedToArray(_useState, 2), open = _useState2[0], setOpen = _useState2[1];
|
|
36419
36395
|
var _useState3 = React.useState(null), _useState4 = _slicedToArray(_useState3, 2), selectedKey = _useState4[0], setSelectedKey = _useState4[1];
|
|
@@ -36446,7 +36422,7 @@ var OperationNode = /* @__PURE__ */ React__namespace.forwardRef(function(props,
|
|
|
36446
36422
|
}, tabs.map(function(tab2) {
|
|
36447
36423
|
var closable = tab2.closable, disabled2 = tab2.disabled, closeIcon = tab2.closeIcon, key = tab2.key, label = tab2.label;
|
|
36448
36424
|
var removable = getRemovable(closable, closeIcon, editable, disabled2);
|
|
36449
|
-
return /* @__PURE__ */ React__namespace.createElement(MenuItem$
|
|
36425
|
+
return /* @__PURE__ */ React__namespace.createElement(MenuItem$2, {
|
|
36450
36426
|
key,
|
|
36451
36427
|
id: "".concat(popupId, "-").concat(key),
|
|
36452
36428
|
role: "option",
|
|
@@ -36526,7 +36502,7 @@ var OperationNode = /* @__PURE__ */ React__namespace.forwardRef(function(props,
|
|
|
36526
36502
|
moreStyle.order = 1;
|
|
36527
36503
|
}
|
|
36528
36504
|
var overlayClassName = classNames(_defineProperty$1({}, "".concat(dropdownPrefix, "-rtl"), rtl));
|
|
36529
|
-
var moreNode = mobile ? null : /* @__PURE__ */ React__namespace.createElement(Dropdown$
|
|
36505
|
+
var moreNode = mobile ? null : /* @__PURE__ */ React__namespace.createElement(Dropdown$2, _extends$1({
|
|
36530
36506
|
prefixCls: dropdownPrefix,
|
|
36531
36507
|
overlay: menu,
|
|
36532
36508
|
visible: tabs.length ? open : false,
|
|
@@ -36555,7 +36531,7 @@ var OperationNode = /* @__PURE__ */ React__namespace.forwardRef(function(props,
|
|
|
36555
36531
|
editable
|
|
36556
36532
|
}));
|
|
36557
36533
|
});
|
|
36558
|
-
const OperationNode
|
|
36534
|
+
const OperationNode = /* @__PURE__ */ React__namespace.memo(OperationNode$1, function(_, next2) {
|
|
36559
36535
|
return (
|
|
36560
36536
|
// https://github.com/ant-design/ant-design/issues/32544
|
|
36561
36537
|
// We'd better remove syntactic sugar in `rc-menu` since this has perf issue
|
|
@@ -37075,7 +37051,7 @@ var TabNavList = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref
|
|
|
37075
37051
|
}), /* @__PURE__ */ React__namespace.createElement("div", {
|
|
37076
37052
|
className: classNames("".concat(prefixCls, "-ink-bar"), _defineProperty$1({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
|
|
37077
37053
|
style: indicatorStyle
|
|
37078
|
-
}))))), /* @__PURE__ */ React__namespace.createElement(OperationNode
|
|
37054
|
+
}))))), /* @__PURE__ */ React__namespace.createElement(OperationNode, _extends$1({}, props, {
|
|
37079
37055
|
removeAriaLabel: locale2 === null || locale2 === void 0 ? void 0 : locale2.removeAriaLabel,
|
|
37080
37056
|
ref: operationsRef,
|
|
37081
37057
|
prefixCls,
|
|
@@ -44903,7 +44879,7 @@ var defaultItemRender = function defaultItemRender2(page, type4, element2) {
|
|
|
44903
44879
|
};
|
|
44904
44880
|
function noop$2() {
|
|
44905
44881
|
}
|
|
44906
|
-
function isInteger(v) {
|
|
44882
|
+
function isInteger$1(v) {
|
|
44907
44883
|
var value2 = Number(v);
|
|
44908
44884
|
return typeof value2 === "number" && !Number.isNaN(value2) && isFinite(value2) && Math.floor(value2) === value2;
|
|
44909
44885
|
}
|
|
@@ -44963,7 +44939,7 @@ var Pagination$1 = function Pagination(props) {
|
|
|
44963
44939
|
return value2;
|
|
44964
44940
|
}
|
|
44965
44941
|
function isValid2(page) {
|
|
44966
|
-
return isInteger(page) && page !== current && isInteger(total) && total > 0;
|
|
44942
|
+
return isInteger$1(page) && page !== current && isInteger$1(total) && total > 0;
|
|
44967
44943
|
}
|
|
44968
44944
|
var shouldDisplayQuickJumper = total > pageSize ? showQuickJumper : false;
|
|
44969
44945
|
function handleKeyDown(event2) {
|
|
@@ -49570,7 +49546,7 @@ var getTitleFromCellRenderChildren = function getTitleFromCellRenderChildren2(_r
|
|
|
49570
49546
|
}
|
|
49571
49547
|
return title;
|
|
49572
49548
|
};
|
|
49573
|
-
function Cell(props) {
|
|
49549
|
+
function Cell$1(props) {
|
|
49574
49550
|
var _ref2, _ref3, _legacyCellProps$colS, _ref4, _ref5, _legacyCellProps$rowS, _additionalProps$titl, _classNames;
|
|
49575
49551
|
if (process.env.NODE_ENV !== "production") {
|
|
49576
49552
|
devRenderTimes(props);
|
|
@@ -49641,7 +49617,7 @@ function Cell(props) {
|
|
|
49641
49617
|
rowSpan: mergedRowSpan !== 1 ? mergedRowSpan : null
|
|
49642
49618
|
}), appendNode, mergedChildNode);
|
|
49643
49619
|
}
|
|
49644
|
-
const Cell
|
|
49620
|
+
const Cell = /* @__PURE__ */ React__namespace.memo(Cell$1);
|
|
49645
49621
|
function getCellFixedInfo(colStart, colEnd, columns, stickyOffsets, direction) {
|
|
49646
49622
|
var startColumn = columns[colStart] || {};
|
|
49647
49623
|
var endColumn = columns[colEnd] || {};
|
|
@@ -49694,7 +49670,7 @@ function SummaryCell(_ref) {
|
|
|
49694
49670
|
var lastIndex = index2 + colSpan - 1;
|
|
49695
49671
|
var mergedColSpan = lastIndex + 1 === scrollColumnIndex ? colSpan + 1 : colSpan;
|
|
49696
49672
|
var fixedInfo = getCellFixedInfo(index2, index2 + mergedColSpan - 1, flattenColumns, stickyOffsets, direction);
|
|
49697
|
-
return /* @__PURE__ */ React__namespace.createElement(Cell
|
|
49673
|
+
return /* @__PURE__ */ React__namespace.createElement(Cell, _extends$1({
|
|
49698
49674
|
className,
|
|
49699
49675
|
index: index2,
|
|
49700
49676
|
component: "td",
|
|
@@ -49720,7 +49696,7 @@ function Summary(_ref) {
|
|
|
49720
49696
|
}
|
|
49721
49697
|
Summary.Row = FooterRow;
|
|
49722
49698
|
Summary.Cell = SummaryCell;
|
|
49723
|
-
function Footer(props) {
|
|
49699
|
+
function Footer$1(props) {
|
|
49724
49700
|
if (process.env.NODE_ENV !== "production") {
|
|
49725
49701
|
devRenderTimes(props);
|
|
49726
49702
|
}
|
|
@@ -49741,7 +49717,7 @@ function Footer(props) {
|
|
|
49741
49717
|
className: "".concat(prefixCls, "-summary")
|
|
49742
49718
|
}, children2));
|
|
49743
49719
|
}
|
|
49744
|
-
const Footer
|
|
49720
|
+
const Footer = responseImmutable(Footer$1);
|
|
49745
49721
|
var FooterComponents = Summary;
|
|
49746
49722
|
function Column$2(_) {
|
|
49747
49723
|
return null;
|
|
@@ -49850,7 +49826,7 @@ function ExpandedRow(props) {
|
|
|
49850
49826
|
style: {
|
|
49851
49827
|
display: expanded ? null : "none"
|
|
49852
49828
|
}
|
|
49853
|
-
}, /* @__PURE__ */ React__namespace.createElement(Cell
|
|
49829
|
+
}, /* @__PURE__ */ React__namespace.createElement(Cell, {
|
|
49854
49830
|
component: cellComponent,
|
|
49855
49831
|
prefixCls,
|
|
49856
49832
|
colSpan
|
|
@@ -49936,7 +49912,7 @@ function getCellProps(rowInfo, column2, colIndex, indent, index2) {
|
|
|
49936
49912
|
additionalCellProps
|
|
49937
49913
|
};
|
|
49938
49914
|
}
|
|
49939
|
-
function BodyRow(props) {
|
|
49915
|
+
function BodyRow$1(props) {
|
|
49940
49916
|
if (process.env.NODE_ENV !== "production") {
|
|
49941
49917
|
devRenderTimes(props);
|
|
49942
49918
|
}
|
|
@@ -49956,7 +49932,7 @@ function BodyRow(props) {
|
|
|
49956
49932
|
}), flattenColumns.map(function(column2, colIndex) {
|
|
49957
49933
|
var render2 = column2.render, dataIndex = column2.dataIndex, columnClassName = column2.className;
|
|
49958
49934
|
var _getCellProps = getCellProps(rowInfo, column2, colIndex, indent, index2, rowKeys, expandedRowInfo === null || expandedRowInfo === void 0 ? void 0 : expandedRowInfo.offset), key = _getCellProps.key, fixedInfo = _getCellProps.fixedInfo, appendCellNode = _getCellProps.appendCellNode, additionalCellProps = _getCellProps.additionalCellProps;
|
|
49959
|
-
return /* @__PURE__ */ React__namespace.createElement(Cell
|
|
49935
|
+
return /* @__PURE__ */ React__namespace.createElement(Cell, _extends$1({
|
|
49960
49936
|
className: columnClassName,
|
|
49961
49937
|
ellipsis: column2.ellipsis,
|
|
49962
49938
|
align: column2.align,
|
|
@@ -49992,9 +49968,9 @@ function BodyRow(props) {
|
|
|
49992
49968
|
return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, baseRowNode, expandRowNode);
|
|
49993
49969
|
}
|
|
49994
49970
|
if (process.env.NODE_ENV !== "production") {
|
|
49995
|
-
BodyRow.displayName = "BodyRow";
|
|
49971
|
+
BodyRow$1.displayName = "BodyRow";
|
|
49996
49972
|
}
|
|
49997
|
-
const BodyRow
|
|
49973
|
+
const BodyRow = responseImmutable(BodyRow$1);
|
|
49998
49974
|
function MeasureCell(_ref) {
|
|
49999
49975
|
var columnKey = _ref.columnKey, onColumnResize = _ref.onColumnResize;
|
|
50000
49976
|
var cellRef = React__namespace.useRef();
|
|
@@ -50047,7 +50023,7 @@ function MeasureRow(_ref) {
|
|
|
50047
50023
|
});
|
|
50048
50024
|
})));
|
|
50049
50025
|
}
|
|
50050
|
-
function Body(props) {
|
|
50026
|
+
function Body$1(props) {
|
|
50051
50027
|
if (process.env.NODE_ENV !== "production") {
|
|
50052
50028
|
devRenderTimes(props);
|
|
50053
50029
|
}
|
|
@@ -50082,7 +50058,7 @@ function Body(props) {
|
|
|
50082
50058
|
if (data.length) {
|
|
50083
50059
|
rows = flattenData2.map(function(item, idx) {
|
|
50084
50060
|
var record = item.record, indent = item.indent, renderIndex = item.index, rowKey = item.rowKey;
|
|
50085
|
-
return /* @__PURE__ */ React__namespace.createElement(BodyRow
|
|
50061
|
+
return /* @__PURE__ */ React__namespace.createElement(BodyRow, {
|
|
50086
50062
|
key: rowKey,
|
|
50087
50063
|
rowKey,
|
|
50088
50064
|
rowKeys,
|
|
@@ -50119,9 +50095,9 @@ function Body(props) {
|
|
|
50119
50095
|
}), rows));
|
|
50120
50096
|
}
|
|
50121
50097
|
if (process.env.NODE_ENV !== "production") {
|
|
50122
|
-
Body.displayName = "Body";
|
|
50098
|
+
Body$1.displayName = "Body";
|
|
50123
50099
|
}
|
|
50124
|
-
const Body
|
|
50100
|
+
const Body = responseImmutable(Body$1);
|
|
50125
50101
|
var _excluded$8 = ["expandable"];
|
|
50126
50102
|
var INTERNAL_COL_DEFINE = "RC_TABLE_INTERNAL_COL_DEFINE";
|
|
50127
50103
|
function getExpandableProps(props) {
|
|
@@ -50191,7 +50167,7 @@ function useColumnWidth(colWidths, columCount) {
|
|
|
50191
50167
|
return cloneColumns;
|
|
50192
50168
|
}, [colWidths.join("_"), columCount]);
|
|
50193
50169
|
}
|
|
50194
|
-
var FixedHolder = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
50170
|
+
var FixedHolder$1 = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref) {
|
|
50195
50171
|
if (process.env.NODE_ENV !== "production") {
|
|
50196
50172
|
devRenderTimes(props);
|
|
50197
50173
|
}
|
|
@@ -50282,9 +50258,9 @@ var FixedHolder = /* @__PURE__ */ React__namespace.forwardRef(function(props, re
|
|
|
50282
50258
|
}))));
|
|
50283
50259
|
});
|
|
50284
50260
|
if (process.env.NODE_ENV !== "production") {
|
|
50285
|
-
FixedHolder.displayName = "FixedHolder";
|
|
50261
|
+
FixedHolder$1.displayName = "FixedHolder";
|
|
50286
50262
|
}
|
|
50287
|
-
const FixedHolder
|
|
50263
|
+
const FixedHolder = /* @__PURE__ */ React__namespace.memo(FixedHolder$1);
|
|
50288
50264
|
var HeaderRow = function HeaderRow2(props) {
|
|
50289
50265
|
var cells = props.cells, stickyOffsets = props.stickyOffsets, flattenColumns = props.flattenColumns, RowComponent = props.rowComponent, CellComponent = props.cellComponent, onHeaderRow = props.onHeaderRow, index2 = props.index;
|
|
50290
50266
|
var _useContext = useContext(TableContext, ["prefixCls", "direction"]), prefixCls = _useContext.prefixCls, direction = _useContext.direction;
|
|
@@ -50304,7 +50280,7 @@ var HeaderRow = function HeaderRow2(props) {
|
|
|
50304
50280
|
if (column2 && column2.onHeaderCell) {
|
|
50305
50281
|
additionalProps = cell.column.onHeaderCell(column2);
|
|
50306
50282
|
}
|
|
50307
|
-
return /* @__PURE__ */ React__namespace.createElement(Cell
|
|
50283
|
+
return /* @__PURE__ */ React__namespace.createElement(Cell, _extends$1({}, cell, {
|
|
50308
50284
|
scope: column2.title ? cell.colSpan > 1 ? "colgroup" : "col" : null,
|
|
50309
50285
|
ellipsis: column2.ellipsis,
|
|
50310
50286
|
align: column2.align,
|
|
@@ -50370,7 +50346,7 @@ function parseHeaderRows(rootColumns) {
|
|
|
50370
50346
|
}
|
|
50371
50347
|
return rows;
|
|
50372
50348
|
}
|
|
50373
|
-
var Header = function
|
|
50349
|
+
var Header$1 = function Header(props) {
|
|
50374
50350
|
if (process.env.NODE_ENV !== "production") {
|
|
50375
50351
|
devRenderTimes(props);
|
|
50376
50352
|
}
|
|
@@ -50398,7 +50374,7 @@ var Header = function Header2(props) {
|
|
|
50398
50374
|
return rowNode;
|
|
50399
50375
|
}));
|
|
50400
50376
|
};
|
|
50401
|
-
const
|
|
50377
|
+
const Header2 = responseImmutable(Header$1);
|
|
50402
50378
|
function parseColWidth(totalWidth) {
|
|
50403
50379
|
var width = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
50404
50380
|
if (typeof width === "number") {
|
|
@@ -50836,7 +50812,7 @@ function getOffset(node2) {
|
|
|
50836
50812
|
top: box.top + (window.pageYOffset || docElem.scrollTop) - (docElem.clientTop || document.body.clientTop || 0)
|
|
50837
50813
|
};
|
|
50838
50814
|
}
|
|
50839
|
-
var StickyScrollBar = function
|
|
50815
|
+
var StickyScrollBar$1 = function StickyScrollBar(_ref, ref) {
|
|
50840
50816
|
var _scrollBodyRef$curren, _scrollBodyRef$curren2;
|
|
50841
50817
|
var scrollBodyRef = _ref.scrollBodyRef, onScroll = _ref.onScroll, offsetScroll = _ref.offsetScroll, container = _ref.container, direction = _ref.direction;
|
|
50842
50818
|
var prefixCls = useContext(TableContext, "prefixCls");
|
|
@@ -50991,7 +50967,7 @@ var StickyScrollBar = function StickyScrollBar2(_ref, ref) {
|
|
|
50991
50967
|
}
|
|
50992
50968
|
}));
|
|
50993
50969
|
};
|
|
50994
|
-
const
|
|
50970
|
+
const StickyScrollBar2 = /* @__PURE__ */ React__namespace.forwardRef(StickyScrollBar$1);
|
|
50995
50971
|
var DEFAULT_PREFIX = "rc-table";
|
|
50996
50972
|
var EMPTY_DATA = [];
|
|
50997
50973
|
var EMPTY_SCROLL_TARGET = {};
|
|
@@ -51244,10 +51220,10 @@ function Table$3(tableProps, ref) {
|
|
|
51244
51220
|
}
|
|
51245
51221
|
});
|
|
51246
51222
|
var renderFixedHeaderTable = React__namespace.useCallback(function(fixedHolderPassProps) {
|
|
51247
|
-
return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(
|
|
51223
|
+
return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(Header2, fixedHolderPassProps), fixFooter === "top" && /* @__PURE__ */ React__namespace.createElement(Footer, fixedHolderPassProps, summaryNode));
|
|
51248
51224
|
}, [fixFooter, summaryNode]);
|
|
51249
51225
|
var renderFixedFooterTable = React__namespace.useCallback(function(fixedHolderPassProps) {
|
|
51250
|
-
return /* @__PURE__ */ React__namespace.createElement(Footer
|
|
51226
|
+
return /* @__PURE__ */ React__namespace.createElement(Footer, fixedHolderPassProps, summaryNode);
|
|
51251
51227
|
}, [summaryNode]);
|
|
51252
51228
|
var TableComponent = getComponent(["table"], "table");
|
|
51253
51229
|
var mergedTableLayout = React__namespace.useMemo(function() {
|
|
@@ -51283,7 +51259,7 @@ function Table$3(tableProps, ref) {
|
|
|
51283
51259
|
}
|
|
51284
51260
|
return emptyText;
|
|
51285
51261
|
}, [hasData, emptyText]);
|
|
51286
|
-
var bodyTable = /* @__PURE__ */ React__namespace.createElement(Body
|
|
51262
|
+
var bodyTable = /* @__PURE__ */ React__namespace.createElement(Body, {
|
|
51287
51263
|
data: mergedData,
|
|
51288
51264
|
measureColumnWidth: fixHeader || horizonScroll || isSticky
|
|
51289
51265
|
});
|
|
@@ -51332,7 +51308,7 @@ function Table$3(tableProps, ref) {
|
|
|
51332
51308
|
style: _objectSpread2(_objectSpread2({}, scrollTableStyle), {}, {
|
|
51333
51309
|
tableLayout: mergedTableLayout
|
|
51334
51310
|
})
|
|
51335
|
-
}, ariaProps), captionElement, bodyColGroup, bodyTable, !fixFooter && summaryNode && /* @__PURE__ */ React__namespace.createElement(Footer
|
|
51311
|
+
}, ariaProps), captionElement, bodyColGroup, bodyTable, !fixFooter && summaryNode && /* @__PURE__ */ React__namespace.createElement(Footer, {
|
|
51336
51312
|
stickyOffsets,
|
|
51337
51313
|
flattenColumns
|
|
51338
51314
|
}, summaryNode)));
|
|
@@ -51345,15 +51321,15 @@ function Table$3(tableProps, ref) {
|
|
|
51345
51321
|
stickyClassName,
|
|
51346
51322
|
onScroll: onInternalScroll
|
|
51347
51323
|
});
|
|
51348
|
-
groupTableNode = /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, showHeader !== false && /* @__PURE__ */ React__namespace.createElement(FixedHolder
|
|
51324
|
+
groupTableNode = /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, showHeader !== false && /* @__PURE__ */ React__namespace.createElement(FixedHolder, _extends$1({}, fixedHolderProps, {
|
|
51349
51325
|
stickyTopOffset: offsetHeader,
|
|
51350
51326
|
className: "".concat(prefixCls, "-header"),
|
|
51351
51327
|
ref: scrollHeaderRef
|
|
51352
|
-
}), renderFixedHeaderTable), bodyContent, fixFooter && fixFooter !== "top" && /* @__PURE__ */ React__namespace.createElement(FixedHolder
|
|
51328
|
+
}), renderFixedHeaderTable), bodyContent, fixFooter && fixFooter !== "top" && /* @__PURE__ */ React__namespace.createElement(FixedHolder, _extends$1({}, fixedHolderProps, {
|
|
51353
51329
|
stickyBottomOffset: offsetSummary,
|
|
51354
51330
|
className: "".concat(prefixCls, "-summary"),
|
|
51355
51331
|
ref: scrollSummaryRef
|
|
51356
|
-
}), renderFixedFooterTable), isSticky && scrollBodyRef.current && scrollBodyRef.current instanceof Element && /* @__PURE__ */ React__namespace.createElement(
|
|
51332
|
+
}), renderFixedFooterTable), isSticky && scrollBodyRef.current && scrollBodyRef.current instanceof Element && /* @__PURE__ */ React__namespace.createElement(StickyScrollBar2, {
|
|
51357
51333
|
ref: stickyRef,
|
|
51358
51334
|
offsetScroll,
|
|
51359
51335
|
scrollBodyRef,
|
|
@@ -51371,7 +51347,7 @@ function Table$3(tableProps, ref) {
|
|
|
51371
51347
|
style: _objectSpread2(_objectSpread2({}, scrollTableStyle), {}, {
|
|
51372
51348
|
tableLayout: mergedTableLayout
|
|
51373
51349
|
})
|
|
51374
|
-
}, ariaProps), captionElement, bodyColGroup, showHeader !== false && /* @__PURE__ */ React__namespace.createElement(
|
|
51350
|
+
}, ariaProps), captionElement, bodyColGroup, showHeader !== false && /* @__PURE__ */ React__namespace.createElement(Header2, _extends$1({}, headerProps, columnContext)), bodyTable, summaryNode && /* @__PURE__ */ React__namespace.createElement(Footer, {
|
|
51375
51351
|
stickyOffsets,
|
|
51376
51352
|
flattenColumns
|
|
51377
51353
|
}, summaryNode)));
|
|
@@ -51545,7 +51521,7 @@ function VirtualCell(props) {
|
|
|
51545
51521
|
cellSpan.rowSpan = 1;
|
|
51546
51522
|
cellSpan.colSpan = 1;
|
|
51547
51523
|
}
|
|
51548
|
-
return /* @__PURE__ */ React__namespace.createElement(Cell
|
|
51524
|
+
return /* @__PURE__ */ React__namespace.createElement(Cell, _extends$1({
|
|
51549
51525
|
className: classNames(columnClassName, className),
|
|
51550
51526
|
ellipsis: column2.ellipsis,
|
|
51551
51527
|
align: column2.align,
|
|
@@ -51589,7 +51565,7 @@ var BodyLine = /* @__PURE__ */ React__namespace.forwardRef(function(props, ref)
|
|
|
51589
51565
|
var rowCellCls = "".concat(prefixCls, "-expanded-row-cell");
|
|
51590
51566
|
expandRowNode = /* @__PURE__ */ React__namespace.createElement(RowComponent, {
|
|
51591
51567
|
className: classNames("".concat(prefixCls, "-expanded-row"), "".concat(prefixCls, "-expanded-row-level-").concat(indent + 1), expandedClsName)
|
|
51592
|
-
}, /* @__PURE__ */ React__namespace.createElement(Cell
|
|
51568
|
+
}, /* @__PURE__ */ React__namespace.createElement(Cell, {
|
|
51593
51569
|
component: cellComponent,
|
|
51594
51570
|
prefixCls,
|
|
51595
51571
|
className: classNames(rowCellCls, _defineProperty$1({}, "".concat(rowCellCls, "-fixed"), fixColumn)),
|
|
@@ -51898,7 +51874,7 @@ const Column$1 = (_) => null;
|
|
|
51898
51874
|
const ColumnGroup = (_) => null;
|
|
51899
51875
|
var TreeContext = /* @__PURE__ */ React__namespace.createContext(null);
|
|
51900
51876
|
var UnstableContext = /* @__PURE__ */ React__namespace.createContext({});
|
|
51901
|
-
var Indent = function
|
|
51877
|
+
var Indent$1 = function Indent(_ref) {
|
|
51902
51878
|
var prefixCls = _ref.prefixCls, level = _ref.level, isStart = _ref.isStart, isEnd = _ref.isEnd;
|
|
51903
51879
|
var baseClassName = "".concat(prefixCls, "-indent-unit");
|
|
51904
51880
|
var list2 = [];
|
|
@@ -51913,7 +51889,7 @@ var Indent = function Indent2(_ref) {
|
|
|
51913
51889
|
className: "".concat(prefixCls, "-indent")
|
|
51914
51890
|
}, list2);
|
|
51915
51891
|
};
|
|
51916
|
-
const
|
|
51892
|
+
const Indent2 = /* @__PURE__ */ React__namespace.memo(Indent$1);
|
|
51917
51893
|
var _excluded$3 = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"];
|
|
51918
51894
|
var ICON_OPEN = "open";
|
|
51919
51895
|
var ICON_CLOSE = "close";
|
|
@@ -52162,7 +52138,7 @@ var TreeNode = function TreeNode2(props) {
|
|
|
52162
52138
|
onDrop: isDraggable ? onDrop : void 0,
|
|
52163
52139
|
onDragEnd: isDraggable ? onDragEnd : void 0,
|
|
52164
52140
|
onMouseMove
|
|
52165
|
-
}, ariaSelected, dataOrAriaAttributeProps), /* @__PURE__ */ React.createElement(
|
|
52141
|
+
}, ariaSelected, dataOrAriaAttributeProps), /* @__PURE__ */ React.createElement(Indent2, {
|
|
52166
52142
|
prefixCls: context.prefixCls,
|
|
52167
52143
|
level,
|
|
52168
52144
|
isStart,
|
|
@@ -57598,7 +57574,7 @@ const useStyle$1 = genStyleHooks("Table", (token2) => {
|
|
|
57598
57574
|
}
|
|
57599
57575
|
});
|
|
57600
57576
|
const EMPTY_LIST = [];
|
|
57601
|
-
const InternalTable = (props, ref) => {
|
|
57577
|
+
const InternalTable$1 = (props, ref) => {
|
|
57602
57578
|
var _a, _b;
|
|
57603
57579
|
const {
|
|
57604
57580
|
prefixCls: customizePrefixCls,
|
|
@@ -57931,11 +57907,11 @@ const InternalTable = (props, ref) => {
|
|
|
57931
57907
|
getContainerWidth
|
|
57932
57908
|
})), bottomPaginationNode)));
|
|
57933
57909
|
};
|
|
57934
|
-
const InternalTable
|
|
57910
|
+
const InternalTable = /* @__PURE__ */ React__namespace.forwardRef(InternalTable$1);
|
|
57935
57911
|
const Table$2 = (props, ref) => {
|
|
57936
57912
|
const renderTimesRef = React__namespace.useRef(0);
|
|
57937
57913
|
renderTimesRef.current += 1;
|
|
57938
|
-
return /* @__PURE__ */ React__namespace.createElement(InternalTable
|
|
57914
|
+
return /* @__PURE__ */ React__namespace.createElement(InternalTable, Object.assign({}, props, {
|
|
57939
57915
|
ref,
|
|
57940
57916
|
_renderTimes: renderTimesRef.current
|
|
57941
57917
|
}));
|
|
@@ -59250,7 +59226,7 @@ var __rest$1 = function(s, e3) {
|
|
|
59250
59226
|
}
|
|
59251
59227
|
return t2;
|
|
59252
59228
|
};
|
|
59253
|
-
const Text$
|
|
59229
|
+
const Text$2 = (_a, ref) => {
|
|
59254
59230
|
var {
|
|
59255
59231
|
ellipsis
|
|
59256
59232
|
} = _a, restProps = __rest$1(_a, ["ellipsis"]);
|
|
@@ -59271,7 +59247,7 @@ const Text$1 = (_a, ref) => {
|
|
|
59271
59247
|
component: "span"
|
|
59272
59248
|
}));
|
|
59273
59249
|
};
|
|
59274
|
-
const Text$
|
|
59250
|
+
const Text$1 = /* @__PURE__ */ React__namespace.forwardRef(Text$2);
|
|
59275
59251
|
var __rest = function(s, e3) {
|
|
59276
59252
|
var t2 = {};
|
|
59277
59253
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
|
|
@@ -59297,7 +59273,7 @@ const Title = /* @__PURE__ */ React__namespace.forwardRef((props, ref) => {
|
|
|
59297
59273
|
}));
|
|
59298
59274
|
});
|
|
59299
59275
|
const Typography$1 = Typography$2;
|
|
59300
|
-
Typography$1.Text = Text$
|
|
59276
|
+
Typography$1.Text = Text$1;
|
|
59301
59277
|
Typography$1.Link = Link;
|
|
59302
59278
|
Typography$1.Title = Title;
|
|
59303
59279
|
Typography$1.Paragraph = Paragraph$1;
|
|
@@ -59332,7 +59308,6 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
|
|
|
59332
59308
|
width: ${$isFullWidth ? "100%" : "auto"};
|
|
59333
59309
|
font-weight: ${fontWeight} !important;
|
|
59334
59310
|
font-size: ${fontSize} !important;
|
|
59335
|
-
line-height: 1;
|
|
59336
59311
|
-webkit-font-smoothing: antialiased;
|
|
59337
59312
|
|
|
59338
59313
|
&:disabled {
|
|
@@ -60394,6 +60369,7 @@ const Typography = ({
|
|
|
60394
60369
|
style: style2,
|
|
60395
60370
|
fontSize,
|
|
60396
60371
|
fontWeight,
|
|
60372
|
+
lineHeight,
|
|
60397
60373
|
isDisabled,
|
|
60398
60374
|
...rest
|
|
60399
60375
|
}) => {
|
|
@@ -60415,7 +60391,7 @@ const Typography = ({
|
|
|
60415
60391
|
fontWeight,
|
|
60416
60392
|
disabled: isDisabled,
|
|
60417
60393
|
$letterSpacing: theme.typography[breakpoint][variant].letterSpacing,
|
|
60418
|
-
$lineHeight: theme.typography[breakpoint][variant].lineHeight,
|
|
60394
|
+
$lineHeight: lineHeight ?? theme.typography[breakpoint][variant].lineHeight,
|
|
60419
60395
|
...rest,
|
|
60420
60396
|
children: children2
|
|
60421
60397
|
}
|
|
@@ -60436,7 +60412,7 @@ const Typography = ({
|
|
|
60436
60412
|
fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
|
|
60437
60413
|
fontWeight,
|
|
60438
60414
|
$letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
|
|
60439
|
-
$lineHeight: theme.typography[breakpoint][validVariant].lineHeight,
|
|
60415
|
+
$lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
|
|
60440
60416
|
...rest,
|
|
60441
60417
|
children: children2
|
|
60442
60418
|
}
|
|
@@ -60455,7 +60431,7 @@ const Typography = ({
|
|
|
60455
60431
|
fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
|
|
60456
60432
|
fontWeight,
|
|
60457
60433
|
$letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
|
|
60458
|
-
$lineHeight: theme.typography[breakpoint][validVariant].lineHeight,
|
|
60434
|
+
$lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
|
|
60459
60435
|
...rest,
|
|
60460
60436
|
children: children2
|
|
60461
60437
|
}
|
|
@@ -60740,6 +60716,18 @@ function IconBase2(props) {
|
|
|
60740
60716
|
function FaCircleCheck(props) {
|
|
60741
60717
|
return GenIcon({ "attr": { "viewBox": "0 0 512 512" }, "child": [{ "tag": "path", "attr": { "d": "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, "child": [] }] })(props);
|
|
60742
60718
|
}
|
|
60719
|
+
function HiArrowCircleRight(props) {
|
|
60720
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
60721
|
+
}
|
|
60722
|
+
function HiCheckCircle(props) {
|
|
60723
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
60724
|
+
}
|
|
60725
|
+
function HiChevronDoubleLeft(props) {
|
|
60726
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M15.707 15.707a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 010 1.414zm-6 0a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 011.414 1.414L5.414 10l4.293 4.293a1 1 0 010 1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
60727
|
+
}
|
|
60728
|
+
function HiChevronDown(props) {
|
|
60729
|
+
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
60730
|
+
}
|
|
60743
60731
|
function HiClock(props) {
|
|
60744
60732
|
return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clipRule": "evenodd" }, "child": [] }] })(props);
|
|
60745
60733
|
}
|
|
@@ -61399,7 +61387,7 @@ function createPacketDecoderStream(maxPayload, binaryType) {
|
|
|
61399
61387
|
}
|
|
61400
61388
|
});
|
|
61401
61389
|
}
|
|
61402
|
-
const protocol
|
|
61390
|
+
const protocol = 4;
|
|
61403
61391
|
function Emitter(obj) {
|
|
61404
61392
|
if (obj) return mixin(obj);
|
|
61405
61393
|
}
|
|
@@ -62377,7 +62365,7 @@ class SocketWithoutUpgrade extends Emitter {
|
|
|
62377
62365
|
*/
|
|
62378
62366
|
createTransport(name2) {
|
|
62379
62367
|
const query = Object.assign({}, this.opts.query);
|
|
62380
|
-
query.EIO = protocol
|
|
62368
|
+
query.EIO = protocol;
|
|
62381
62369
|
query.transport = name2;
|
|
62382
62370
|
if (this.id)
|
|
62383
62371
|
query.sid = this.id;
|
|
@@ -62706,7 +62694,7 @@ class SocketWithoutUpgrade extends Emitter {
|
|
|
62706
62694
|
}
|
|
62707
62695
|
}
|
|
62708
62696
|
}
|
|
62709
|
-
SocketWithoutUpgrade.protocol = protocol
|
|
62697
|
+
SocketWithoutUpgrade.protocol = protocol;
|
|
62710
62698
|
class SocketWithUpgrade extends SocketWithoutUpgrade {
|
|
62711
62699
|
constructor() {
|
|
62712
62700
|
super(...arguments);
|
|
@@ -62971,14 +62959,18 @@ function _reconstructPacket(data, buffers) {
|
|
|
62971
62959
|
}
|
|
62972
62960
|
const RESERVED_EVENTS$1 = [
|
|
62973
62961
|
"connect",
|
|
62962
|
+
// used on the client side
|
|
62974
62963
|
"connect_error",
|
|
62964
|
+
// used on the client side
|
|
62975
62965
|
"disconnect",
|
|
62966
|
+
// used on both sides
|
|
62976
62967
|
"disconnecting",
|
|
62968
|
+
// used on the server side
|
|
62977
62969
|
"newListener",
|
|
62970
|
+
// used by the Node.js EventEmitter
|
|
62978
62971
|
"removeListener"
|
|
62979
62972
|
// used by the Node.js EventEmitter
|
|
62980
62973
|
];
|
|
62981
|
-
const protocol = 5;
|
|
62982
62974
|
var PacketType;
|
|
62983
62975
|
(function(PacketType2) {
|
|
62984
62976
|
PacketType2[PacketType2["CONNECT"] = 0] = "CONNECT";
|
|
@@ -63049,18 +63041,16 @@ class Encoder {
|
|
|
63049
63041
|
return buffers;
|
|
63050
63042
|
}
|
|
63051
63043
|
}
|
|
63052
|
-
function isObject(value2) {
|
|
63053
|
-
return Object.prototype.toString.call(value2) === "[object Object]";
|
|
63054
|
-
}
|
|
63055
63044
|
class Decoder extends Emitter {
|
|
63056
63045
|
/**
|
|
63057
63046
|
* Decoder constructor
|
|
63058
|
-
*
|
|
63059
|
-
* @param {function} reviver - custom reviver to pass down to JSON.stringify
|
|
63060
63047
|
*/
|
|
63061
|
-
constructor(
|
|
63048
|
+
constructor(opts) {
|
|
63062
63049
|
super();
|
|
63063
|
-
this.
|
|
63050
|
+
this.opts = Object.assign({
|
|
63051
|
+
reviver: void 0,
|
|
63052
|
+
maxAttachments: 10
|
|
63053
|
+
}, typeof opts === "function" ? { reviver: opts } : opts);
|
|
63064
63054
|
}
|
|
63065
63055
|
/**
|
|
63066
63056
|
* Decodes an encoded packet string into packet JSON.
|
|
@@ -63120,7 +63110,13 @@ class Decoder extends Emitter {
|
|
|
63120
63110
|
if (buf != Number(buf) || str.charAt(i) !== "-") {
|
|
63121
63111
|
throw new Error("Illegal attachments");
|
|
63122
63112
|
}
|
|
63123
|
-
|
|
63113
|
+
const n2 = Number(buf);
|
|
63114
|
+
if (!isInteger(n2) || n2 < 0) {
|
|
63115
|
+
throw new Error("Illegal attachments");
|
|
63116
|
+
} else if (n2 > this.opts.maxAttachments) {
|
|
63117
|
+
throw new Error("too many attachments");
|
|
63118
|
+
}
|
|
63119
|
+
p.attachments = n2;
|
|
63124
63120
|
}
|
|
63125
63121
|
if ("/" === str.charAt(i + 1)) {
|
|
63126
63122
|
const start2 = i + 1;
|
|
@@ -63161,7 +63157,7 @@ class Decoder extends Emitter {
|
|
|
63161
63157
|
}
|
|
63162
63158
|
tryParse(str) {
|
|
63163
63159
|
try {
|
|
63164
|
-
return JSON.parse(str, this.reviver);
|
|
63160
|
+
return JSON.parse(str, this.opts.reviver);
|
|
63165
63161
|
} catch (e3) {
|
|
63166
63162
|
return false;
|
|
63167
63163
|
}
|
|
@@ -63223,14 +63219,19 @@ class BinaryReconstructor {
|
|
|
63223
63219
|
this.buffers = [];
|
|
63224
63220
|
}
|
|
63225
63221
|
}
|
|
63222
|
+
const isInteger = Number.isInteger || function(value2) {
|
|
63223
|
+
return typeof value2 === "number" && isFinite(value2) && Math.floor(value2) === value2;
|
|
63224
|
+
};
|
|
63225
|
+
function isObject(value2) {
|
|
63226
|
+
return Object.prototype.toString.call(value2) === "[object Object]";
|
|
63227
|
+
}
|
|
63226
63228
|
const parser = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63227
63229
|
__proto__: null,
|
|
63228
63230
|
Decoder,
|
|
63229
63231
|
Encoder,
|
|
63230
63232
|
get PacketType() {
|
|
63231
63233
|
return PacketType;
|
|
63232
|
-
}
|
|
63233
|
-
protocol
|
|
63234
|
+
}
|
|
63234
63235
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
63235
63236
|
function on(obj, ev, fn) {
|
|
63236
63237
|
obj.on(ev, fn);
|
|
@@ -74984,7 +74985,7 @@ const OverflowMenu = React.forwardRef(
|
|
|
74984
74985
|
}, [isOpen, handleClickOutside, getPopupContainer]);
|
|
74985
74986
|
const getMenuStyle = React.useMemo(() => {
|
|
74986
74987
|
const baseStyle = {
|
|
74987
|
-
position: getPopupContainer
|
|
74988
|
+
position: getPopupContainer === void 0 ? "absolute" : "fixed",
|
|
74988
74989
|
zIndex: 1e3,
|
|
74989
74990
|
...style2
|
|
74990
74991
|
};
|
|
@@ -75122,35 +75123,65 @@ const GlobalHeader = ({
|
|
|
75122
75123
|
menuItems = [],
|
|
75123
75124
|
primaryAction
|
|
75124
75125
|
}) => {
|
|
75125
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
75126
|
-
|
|
75127
|
-
|
|
75128
|
-
|
|
75129
|
-
|
|
75130
|
-
|
|
75131
|
-
|
|
75132
|
-
|
|
75133
|
-
|
|
75134
|
-
|
|
75135
|
-
|
|
75136
|
-
|
|
75137
|
-
|
|
75138
|
-
|
|
75139
|
-
|
|
75140
|
-
|
|
75141
|
-
|
|
75142
|
-
|
|
75143
|
-
menuItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
75144
|
-
OverflowMenu,
|
|
75126
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
75127
|
+
Tile,
|
|
75128
|
+
{
|
|
75129
|
+
"data-testid": "GlobalHeader",
|
|
75130
|
+
style: {
|
|
75131
|
+
padding: "32px 40px",
|
|
75132
|
+
justifyContent: "flex-end",
|
|
75133
|
+
width: "100%",
|
|
75134
|
+
alignItems: "flex-start",
|
|
75135
|
+
minHeight: "164px",
|
|
75136
|
+
borderBottom: "1px solid #CBCBCB",
|
|
75137
|
+
background: "#FFF",
|
|
75138
|
+
gap: "24px"
|
|
75139
|
+
},
|
|
75140
|
+
children: [
|
|
75141
|
+
breadcrumbs?.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Breadcrumb, { items: breadcrumbs }),
|
|
75142
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
75143
|
+
Tile,
|
|
75145
75144
|
{
|
|
75146
|
-
|
|
75147
|
-
|
|
75148
|
-
|
|
75145
|
+
isHorizontal: true,
|
|
75146
|
+
style: {
|
|
75147
|
+
justifyContent: "space-between",
|
|
75148
|
+
gap: "16px",
|
|
75149
|
+
width: "100%",
|
|
75150
|
+
flexWrap: "wrap"
|
|
75151
|
+
},
|
|
75152
|
+
children: [
|
|
75153
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Tile, { isHorizontal: true, style: { flex: 1, gap: "16px", minWidth: "200px" }, children: [
|
|
75154
|
+
onBack && /* @__PURE__ */ jsxRuntime.jsx(UtilityButton, { icon: /* @__PURE__ */ jsxRuntime.jsx(RefIcon$j, {}), onClick: onBack }),
|
|
75155
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "display3", children: title })
|
|
75156
|
+
] }),
|
|
75157
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
75158
|
+
Tile,
|
|
75159
|
+
{
|
|
75160
|
+
isHorizontal: true,
|
|
75161
|
+
style: {
|
|
75162
|
+
justifyContent: "flex-end",
|
|
75163
|
+
gap: "16px",
|
|
75164
|
+
alignItems: "flex-end"
|
|
75165
|
+
},
|
|
75166
|
+
children: [
|
|
75167
|
+
primaryAction && /* @__PURE__ */ jsxRuntime.jsx(Button$1, { onClick: primaryAction.onClick, children: primaryAction.label }),
|
|
75168
|
+
menuItems.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
75169
|
+
OverflowMenu,
|
|
75170
|
+
{
|
|
75171
|
+
trigger: /* @__PURE__ */ jsxRuntime.jsx(UtilityButton, { isIconButton: true, children: /* @__PURE__ */ jsxRuntime.jsx(HiDotsHorizontal, {}) }),
|
|
75172
|
+
alignment: "right",
|
|
75173
|
+
children: menuItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(OverflowMenuItem, { onClick: item.onClick, children: item.children }, item.id))
|
|
75174
|
+
}
|
|
75175
|
+
)
|
|
75176
|
+
]
|
|
75177
|
+
}
|
|
75178
|
+
)
|
|
75179
|
+
]
|
|
75149
75180
|
}
|
|
75150
75181
|
)
|
|
75151
|
-
]
|
|
75152
|
-
|
|
75153
|
-
|
|
75182
|
+
]
|
|
75183
|
+
}
|
|
75184
|
+
);
|
|
75154
75185
|
};
|
|
75155
75186
|
const Outline = (properties) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
75156
75187
|
"svg",
|
|
@@ -77940,7 +77971,7 @@ function initRange(domain, range3) {
|
|
|
77940
77971
|
}
|
|
77941
77972
|
return this;
|
|
77942
77973
|
}
|
|
77943
|
-
const implicit = Symbol("implicit");
|
|
77974
|
+
const implicit = /* @__PURE__ */ Symbol("implicit");
|
|
77944
77975
|
function ordinal() {
|
|
77945
77976
|
var index2 = new InternMap(), domain = [], range3 = [], unknown = implicit;
|
|
77946
77977
|
function scale(d) {
|
|
@@ -78667,7 +78698,7 @@ const VEHICLE_INSIGHTS_CONFIG = {
|
|
|
78667
78698
|
// 4px bars as shown in Figma
|
|
78668
78699
|
BAR_SPACING: 40
|
|
78669
78700
|
};
|
|
78670
|
-
const Container$
|
|
78701
|
+
const Container$3 = styled.div`
|
|
78671
78702
|
display: flex;
|
|
78672
78703
|
flex-direction: row;
|
|
78673
78704
|
gap: ${({ theme }) => theme?.sizing.Size2}px;
|
|
@@ -79054,7 +79085,7 @@ const BarChart = ({
|
|
|
79054
79085
|
iconSpacing,
|
|
79055
79086
|
showAdditionalGridLines
|
|
79056
79087
|
]);
|
|
79057
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
79088
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container$3, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxRuntime.jsxs(ChartContainer$2, { children: [
|
|
79058
79089
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
79059
79090
|
"svg",
|
|
79060
79091
|
{
|
|
@@ -79075,7 +79106,7 @@ const BarChart = ({
|
|
|
79075
79106
|
)
|
|
79076
79107
|
] }) });
|
|
79077
79108
|
};
|
|
79078
|
-
const Container$
|
|
79109
|
+
const Container$2 = styled.div`
|
|
79079
79110
|
display: flex;
|
|
79080
79111
|
flex-direction: row;
|
|
79081
79112
|
gap: ${({ theme }) => theme?.sizing.Size2}px;
|
|
@@ -79232,7 +79263,7 @@ const LineChart = ({
|
|
|
79232
79263
|
skipDays,
|
|
79233
79264
|
isAnimated
|
|
79234
79265
|
]);
|
|
79235
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container$
|
|
79266
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container$2, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxRuntime.jsxs(ChartContainer$1, { children: [
|
|
79236
79267
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
79237
79268
|
"svg",
|
|
79238
79269
|
{
|
|
@@ -79253,7 +79284,7 @@ const LineChart = ({
|
|
|
79253
79284
|
)
|
|
79254
79285
|
] }) });
|
|
79255
79286
|
};
|
|
79256
|
-
const Container = styled.div`
|
|
79287
|
+
const Container$1 = styled.div`
|
|
79257
79288
|
display: flex;
|
|
79258
79289
|
flex-direction: column;
|
|
79259
79290
|
align-items: center;
|
|
@@ -79383,7 +79414,7 @@ const DonutChart = ({
|
|
|
79383
79414
|
});
|
|
79384
79415
|
}
|
|
79385
79416
|
}, [data, height, width, innerRadius, outerRadius, showTooltip, showLegend]);
|
|
79386
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxRuntime.jsxs(ChartContainer, { children: [
|
|
79417
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container$1, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxRuntime.jsxs(ChartContainer, { children: [
|
|
79387
79418
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
79388
79419
|
"svg",
|
|
79389
79420
|
{
|
|
@@ -79424,12 +79455,12 @@ const getGenesisClass$7 = ({ sizing: sizing2 }, $isColumn) => `
|
|
|
79424
79455
|
margin: 0;
|
|
79425
79456
|
box-sizing: border-box;
|
|
79426
79457
|
`;
|
|
79427
|
-
const Content$
|
|
79458
|
+
const Content$2 = styled.div`
|
|
79428
79459
|
${({ theme, $isColumn }) => {
|
|
79429
79460
|
return getGenesisClass$7(theme, $isColumn);
|
|
79430
79461
|
}}
|
|
79431
79462
|
`;
|
|
79432
|
-
const Content = ({
|
|
79463
|
+
const Content$1 = ({
|
|
79433
79464
|
children: children2,
|
|
79434
79465
|
className,
|
|
79435
79466
|
backgroundColor,
|
|
@@ -79437,7 +79468,7 @@ const Content = ({
|
|
|
79437
79468
|
style: style2
|
|
79438
79469
|
}) => {
|
|
79439
79470
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
79440
|
-
Content$
|
|
79471
|
+
Content$2,
|
|
79441
79472
|
{
|
|
79442
79473
|
className: clsx(className),
|
|
79443
79474
|
style: { ...style2, backgroundColor },
|
|
@@ -79447,7 +79478,7 @@ const Content = ({
|
|
|
79447
79478
|
);
|
|
79448
79479
|
};
|
|
79449
79480
|
const Layout = ({ children: children2, isColumn = false, style: style2 }) => {
|
|
79450
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Content, { "data-testid": "Layout", isColumn, style: style2, children: children2 });
|
|
79481
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Content$1, { "data-testid": "Layout", isColumn, style: style2, children: children2 });
|
|
79451
79482
|
};
|
|
79452
79483
|
const MessageRow = styled.div`
|
|
79453
79484
|
display: flex;
|
|
@@ -79574,6 +79605,490 @@ const Message = ({
|
|
|
79574
79605
|
) : null
|
|
79575
79606
|
] });
|
|
79576
79607
|
};
|
|
79608
|
+
styled.nav`
|
|
79609
|
+
display: flex;
|
|
79610
|
+
align-items: center;
|
|
79611
|
+
justify-content: space-between;
|
|
79612
|
+
width: 100%;
|
|
79613
|
+
height: ${({ theme }) => theme.sizing.Size64 + "px"};
|
|
79614
|
+
padding: 0 ${({ theme }) => theme.sizing.Size24 + "px"};
|
|
79615
|
+
background-color: ${({ theme }) => theme.colors.surface.active.backgroundColor};
|
|
79616
|
+
border-bottom: ${({ theme }) => theme.sizing.Size05 + "px"} solid
|
|
79617
|
+
${({ theme }) => theme.colors.surface.border?.borderColor ?? theme.colors.onsurface.active.borderColor};
|
|
79618
|
+
box-shadow: ${({ theme }) => theme.shadows.general["1"]};
|
|
79619
|
+
`;
|
|
79620
|
+
styled.div`
|
|
79621
|
+
display: flex;
|
|
79622
|
+
align-items: center;
|
|
79623
|
+
gap: ${({ theme }) => theme.sizing.Size24 + "px"};
|
|
79624
|
+
`;
|
|
79625
|
+
styled.div`
|
|
79626
|
+
display: flex;
|
|
79627
|
+
align-items: center;
|
|
79628
|
+
`;
|
|
79629
|
+
styled.ul`
|
|
79630
|
+
display: flex;
|
|
79631
|
+
align-items: center;
|
|
79632
|
+
gap: ${({ theme }) => theme.sizing.Size4 + "px"};
|
|
79633
|
+
list-style: none;
|
|
79634
|
+
margin: 0;
|
|
79635
|
+
padding: 0;
|
|
79636
|
+
`;
|
|
79637
|
+
styled.li`
|
|
79638
|
+
display: flex;
|
|
79639
|
+
align-items: center;
|
|
79640
|
+
`;
|
|
79641
|
+
const itemBase = `
|
|
79642
|
+
display: inline-flex;
|
|
79643
|
+
align-items: center;
|
|
79644
|
+
padding: 6px 12px;
|
|
79645
|
+
border-radius: ${({ theme }) => theme.borderRadius.sm + "px"};
|
|
79646
|
+
font-family: ${({ theme }) => theme.typography.fontFamily};
|
|
79647
|
+
font-size: ${({ theme }) => theme.typography.wide.body1.fontSize};
|
|
79648
|
+
font-weight: ${({ theme }) => theme.typography.wide.body1.fontWeight};
|
|
79649
|
+
line-height: ${({ theme }) => theme.typography.wide.body1.lineHeight};
|
|
79650
|
+
text-decoration: none;
|
|
79651
|
+
background: none;
|
|
79652
|
+
border: none;
|
|
79653
|
+
cursor: pointer;
|
|
79654
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
79655
|
+
`;
|
|
79656
|
+
styled.a`
|
|
79657
|
+
${itemBase}
|
|
79658
|
+
color: ${({ theme }) => theme.colors.onsurface.active.textColor};
|
|
79659
|
+
|
|
79660
|
+
&:hover {
|
|
79661
|
+
background-color: ${({ theme }) => theme.colors.onsurface.hover?.backgroundColor ?? theme.colors.surface.hover?.backgroundColor};
|
|
79662
|
+
}
|
|
79663
|
+
`;
|
|
79664
|
+
styled.button`
|
|
79665
|
+
${itemBase}
|
|
79666
|
+
color: ${({ theme }) => theme.colors.onsurface.active.textColor};
|
|
79667
|
+
|
|
79668
|
+
&:hover {
|
|
79669
|
+
background-color: ${({ theme }) => theme.colors.onsurface.hover?.backgroundColor ?? theme.colors.surface.hover?.backgroundColor};
|
|
79670
|
+
}
|
|
79671
|
+
`;
|
|
79672
|
+
styled.div`
|
|
79673
|
+
display: flex;
|
|
79674
|
+
align-items: center;
|
|
79675
|
+
gap: ${({ theme }) => theme.sizing.Size8 + "px"};
|
|
79676
|
+
`;
|
|
79677
|
+
const Sidebar = styled.aside`
|
|
79678
|
+
display: flex;
|
|
79679
|
+
flex-direction: column;
|
|
79680
|
+
width: ${({ $isSmall }) => $isSmall ? "78px" : "224px"};
|
|
79681
|
+
background-color: #fff;
|
|
79682
|
+
height: 100vh;
|
|
79683
|
+
justify-content: space-between;
|
|
79684
|
+
border-right: 1px solid #dfdfdf;
|
|
79685
|
+
z-index: 2;
|
|
79686
|
+
transition: width 0.2s ease;
|
|
79687
|
+
overflow: hidden;
|
|
79688
|
+
`;
|
|
79689
|
+
const Frame = styled(Tile)`
|
|
79690
|
+
padding: 0 ${({ $isSmall }) => $isSmall ? "12px" : "16px"};
|
|
79691
|
+
align-items: flex-start;
|
|
79692
|
+
align-self: stretch;
|
|
79693
|
+
`;
|
|
79694
|
+
const ScrollableFrame = styled.div`
|
|
79695
|
+
flex: 1;
|
|
79696
|
+
overflow-y: auto;
|
|
79697
|
+
overflow-x: hidden;
|
|
79698
|
+
padding: 0
|
|
79699
|
+
${({ $isSmall, $hasScrollbar }) => $hasScrollbar ? $isSmall ? "2px" : "12px" : $isSmall ? "8px" : "16px"}
|
|
79700
|
+
0 ${({ $isSmall }) => $isSmall ? "12px" : "16px"};
|
|
79701
|
+
scrollbar-width: thin;
|
|
79702
|
+
scrollbar-color: #d4d4d4 transparent;
|
|
79703
|
+
|
|
79704
|
+
&::-webkit-scrollbar {
|
|
79705
|
+
width: 4px;
|
|
79706
|
+
}
|
|
79707
|
+
|
|
79708
|
+
&::-webkit-scrollbar-track {
|
|
79709
|
+
background: transparent;
|
|
79710
|
+
}
|
|
79711
|
+
|
|
79712
|
+
&::-webkit-scrollbar-thumb {
|
|
79713
|
+
background-color: #d4d4d4;
|
|
79714
|
+
border-radius: 4px;
|
|
79715
|
+
}
|
|
79716
|
+
|
|
79717
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
79718
|
+
background-color: #b0b0b0;
|
|
79719
|
+
}
|
|
79720
|
+
`;
|
|
79721
|
+
const CollapseWrapper = styled.div`
|
|
79722
|
+
display: grid;
|
|
79723
|
+
grid-template-rows: ${({ $isOpen }) => $isOpen ? "1fr" : "0fr"};
|
|
79724
|
+
transition: grid-template-rows 0.2s ease;
|
|
79725
|
+
overflow: hidden;
|
|
79726
|
+
|
|
79727
|
+
& > ul {
|
|
79728
|
+
min-height: 0;
|
|
79729
|
+
}
|
|
79730
|
+
`;
|
|
79731
|
+
const NavItem$1 = styled.div`
|
|
79732
|
+
display: flex;
|
|
79733
|
+
min-height: 48px;
|
|
79734
|
+
padding: 12px 16px;
|
|
79735
|
+
gap: 4px;
|
|
79736
|
+
/* justify-content: space-between; */
|
|
79737
|
+
align-items: center;
|
|
79738
|
+
align-self: stretch;
|
|
79739
|
+
width: 100%;
|
|
79740
|
+
cursor: pointer;
|
|
79741
|
+
border-radius: 6px;
|
|
79742
|
+
text-decoration: none;
|
|
79743
|
+
white-space: nowrap;
|
|
79744
|
+
color: ${({ $isActive }) => $isActive ? "#fff" : "#3E3E3E"};
|
|
79745
|
+
background-color: ${({ $isActive }) => $isActive ? "#214148" : "transparent"};
|
|
79746
|
+
|
|
79747
|
+
&:hover {
|
|
79748
|
+
background-color: ${({ $isActive }) => $isActive ? "#214148" : "#F4F4F4"};
|
|
79749
|
+
color: ${({ $isActive }) => $isActive ? "#fff" : "#30606B"};
|
|
79750
|
+
|
|
79751
|
+
* {
|
|
79752
|
+
color: inherit !important;
|
|
79753
|
+
}
|
|
79754
|
+
}
|
|
79755
|
+
`;
|
|
79756
|
+
const NavItem = ({
|
|
79757
|
+
icon,
|
|
79758
|
+
label,
|
|
79759
|
+
href,
|
|
79760
|
+
isActive: isActive2,
|
|
79761
|
+
type: type4 = "default",
|
|
79762
|
+
isOpen,
|
|
79763
|
+
onToggle,
|
|
79764
|
+
onClick,
|
|
79765
|
+
isSmall
|
|
79766
|
+
}) => {
|
|
79767
|
+
const isExpandable = type4 === "expandable";
|
|
79768
|
+
const isButton = type4 === "button";
|
|
79769
|
+
const content2 = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
79770
|
+
Tile,
|
|
79771
|
+
{
|
|
79772
|
+
isHorizontal: true,
|
|
79773
|
+
style: {
|
|
79774
|
+
justifyContent: "space-between",
|
|
79775
|
+
width: "100%",
|
|
79776
|
+
alignItems: "center"
|
|
79777
|
+
},
|
|
79778
|
+
children: [
|
|
79779
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
79780
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { width: "24px", display: "flex", flexShrink: 0 }, children: icon }),
|
|
79781
|
+
!isSmall && /* @__PURE__ */ jsxRuntime.jsx(
|
|
79782
|
+
Typography,
|
|
79783
|
+
{
|
|
79784
|
+
variant: "label2",
|
|
79785
|
+
fontWeight: 500,
|
|
79786
|
+
color: isActive2 ? "#fff" : void 0,
|
|
79787
|
+
children: label
|
|
79788
|
+
}
|
|
79789
|
+
)
|
|
79790
|
+
] }),
|
|
79791
|
+
isExpandable && !isSmall && /* @__PURE__ */ jsxRuntime.jsx(
|
|
79792
|
+
HiChevronDown,
|
|
79793
|
+
{
|
|
79794
|
+
size: 16,
|
|
79795
|
+
style: {
|
|
79796
|
+
transition: "transform 0.2s ease",
|
|
79797
|
+
transform: isOpen ? "rotate(180deg)" : "rotate(0deg)"
|
|
79798
|
+
}
|
|
79799
|
+
}
|
|
79800
|
+
)
|
|
79801
|
+
]
|
|
79802
|
+
}
|
|
79803
|
+
);
|
|
79804
|
+
if (isExpandable) {
|
|
79805
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
79806
|
+
NavItem$1,
|
|
79807
|
+
{
|
|
79808
|
+
as: "button",
|
|
79809
|
+
$isActive: isActive2,
|
|
79810
|
+
onClick: onToggle,
|
|
79811
|
+
"aria-expanded": isOpen,
|
|
79812
|
+
style: { border: "none", width: "100%", textAlign: "left" },
|
|
79813
|
+
children: content2
|
|
79814
|
+
}
|
|
79815
|
+
);
|
|
79816
|
+
}
|
|
79817
|
+
if (isButton) {
|
|
79818
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
79819
|
+
NavItem$1,
|
|
79820
|
+
{
|
|
79821
|
+
as: "button",
|
|
79822
|
+
$isActive: isActive2,
|
|
79823
|
+
onClick,
|
|
79824
|
+
style: { border: "none", width: "100%", textAlign: "left" },
|
|
79825
|
+
children: content2
|
|
79826
|
+
}
|
|
79827
|
+
);
|
|
79828
|
+
}
|
|
79829
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
79830
|
+
NavItem$1,
|
|
79831
|
+
{
|
|
79832
|
+
as: href ? "a" : "div",
|
|
79833
|
+
href,
|
|
79834
|
+
$isActive: isActive2,
|
|
79835
|
+
"aria-current": isActive2 ? "page" : void 0,
|
|
79836
|
+
children: content2
|
|
79837
|
+
}
|
|
79838
|
+
);
|
|
79839
|
+
};
|
|
79840
|
+
const NavMenu = ({ items, isSmall }) => {
|
|
79841
|
+
const [openPaths, setOpenPaths] = React.useState({});
|
|
79842
|
+
const navRef = React.useRef(null);
|
|
79843
|
+
const currentPaths = items.map((item) => item.currentPath).join(",");
|
|
79844
|
+
React.useEffect(() => {
|
|
79845
|
+
navRef.current?.querySelector("[data-active='true']")?.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
79846
|
+
}, [currentPaths]);
|
|
79847
|
+
const togglePath = (path2) => {
|
|
79848
|
+
setOpenPaths((prev2) => ({ ...prev2, [path2]: !prev2[path2] }));
|
|
79849
|
+
};
|
|
79850
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { ref: navRef, style: { width: "100%" }, children: items.map(
|
|
79851
|
+
(item, itemIndex) => item.data.map((group, groupIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
79852
|
+
group.category && /* @__PURE__ */ jsxRuntime.jsx(
|
|
79853
|
+
Tile,
|
|
79854
|
+
{
|
|
79855
|
+
style: {
|
|
79856
|
+
padding: isSmall ? "0" : "12px 0px",
|
|
79857
|
+
maxHeight: isSmall ? 0 : "40px",
|
|
79858
|
+
opacity: isSmall ? 0 : 1,
|
|
79859
|
+
transition: "opacity 0.15s ease, max-height 0.2s ease, padding 0.2s ease",
|
|
79860
|
+
overflow: "hidden"
|
|
79861
|
+
},
|
|
79862
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79863
|
+
Typography,
|
|
79864
|
+
{
|
|
79865
|
+
variant: "overline2",
|
|
79866
|
+
color: "#6C6C6C",
|
|
79867
|
+
fontWeight: 600,
|
|
79868
|
+
children: group.category.toUpperCase()
|
|
79869
|
+
}
|
|
79870
|
+
)
|
|
79871
|
+
}
|
|
79872
|
+
),
|
|
79873
|
+
group.routes.map((route) => /* @__PURE__ */ jsxRuntime.jsx(React.Fragment, { children: isSmall && route.children ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
79874
|
+
OverflowMenu,
|
|
79875
|
+
{
|
|
79876
|
+
placement: "right",
|
|
79877
|
+
offset: 24,
|
|
79878
|
+
trigger: /* @__PURE__ */ jsxRuntime.jsx(Tooltip$2, { title: route.name, placement: "right", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79879
|
+
"div",
|
|
79880
|
+
{
|
|
79881
|
+
"data-active": route.children.some(
|
|
79882
|
+
(c) => c.path === item.currentPath
|
|
79883
|
+
) || void 0,
|
|
79884
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79885
|
+
NavItem,
|
|
79886
|
+
{
|
|
79887
|
+
label: route.name,
|
|
79888
|
+
icon: route.icon,
|
|
79889
|
+
isActive: route.children.some(
|
|
79890
|
+
(c) => c.path === item.currentPath
|
|
79891
|
+
),
|
|
79892
|
+
isSmall: true
|
|
79893
|
+
}
|
|
79894
|
+
)
|
|
79895
|
+
}
|
|
79896
|
+
) }),
|
|
79897
|
+
children: route.children.map((child) => /* @__PURE__ */ jsxRuntime.jsx(OverflowMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79898
|
+
"a",
|
|
79899
|
+
{
|
|
79900
|
+
href: child.path,
|
|
79901
|
+
style: {
|
|
79902
|
+
textDecoration: "none",
|
|
79903
|
+
color: "inherit",
|
|
79904
|
+
display: "block"
|
|
79905
|
+
},
|
|
79906
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "label2", fontWeight: 500, children: child.name })
|
|
79907
|
+
}
|
|
79908
|
+
) }, child.path))
|
|
79909
|
+
}
|
|
79910
|
+
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
79911
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
79912
|
+
Tooltip$2,
|
|
79913
|
+
{
|
|
79914
|
+
title: isSmall ? route.name : void 0,
|
|
79915
|
+
placement: "right",
|
|
79916
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79917
|
+
"div",
|
|
79918
|
+
{
|
|
79919
|
+
"data-active": !route.children && item.currentPath === route.path || void 0,
|
|
79920
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79921
|
+
NavItem,
|
|
79922
|
+
{
|
|
79923
|
+
label: route.name,
|
|
79924
|
+
icon: route.icon,
|
|
79925
|
+
type: route.children ? "expandable" : "default",
|
|
79926
|
+
href: route.children ? void 0 : route.path,
|
|
79927
|
+
isActive: !route.children && item.currentPath === route.path,
|
|
79928
|
+
isOpen: openPaths[route.path],
|
|
79929
|
+
onToggle: () => togglePath(route.path),
|
|
79930
|
+
isSmall
|
|
79931
|
+
}
|
|
79932
|
+
)
|
|
79933
|
+
}
|
|
79934
|
+
)
|
|
79935
|
+
}
|
|
79936
|
+
),
|
|
79937
|
+
route.children && /* @__PURE__ */ jsxRuntime.jsx(CollapseWrapper, { $isOpen: !!openPaths[route.path], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79938
|
+
"ul",
|
|
79939
|
+
{
|
|
79940
|
+
style: { listStyle: "none", margin: 0, padding: 0 },
|
|
79941
|
+
children: route.children.map((child) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
79942
|
+
"li",
|
|
79943
|
+
{
|
|
79944
|
+
"data-active": item.currentPath === child.path || void 0,
|
|
79945
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
79946
|
+
NavItem,
|
|
79947
|
+
{
|
|
79948
|
+
label: child.name,
|
|
79949
|
+
icon: child.icon,
|
|
79950
|
+
href: child.path,
|
|
79951
|
+
isActive: item.currentPath === child.path,
|
|
79952
|
+
isSmall
|
|
79953
|
+
}
|
|
79954
|
+
)
|
|
79955
|
+
},
|
|
79956
|
+
child.path
|
|
79957
|
+
))
|
|
79958
|
+
}
|
|
79959
|
+
) })
|
|
79960
|
+
] }) }, route.path))
|
|
79961
|
+
] }, `${itemIndex}-${groupIndex}`))
|
|
79962
|
+
) });
|
|
79963
|
+
};
|
|
79964
|
+
const gbLogo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAAfpJREFUeAHtlctLG0Ecx38z+8rDBkoJpUVK6x9QrKSHHoSlSE+lh0JoT60Hg+JNUBFFFAI5+LrqKSfxIoLgQUXxgRfjshHRgx4EFT0ogg9iskl2Z93ZYPBgdtaoF/F72d/s/H6f33yHmV2AFwEg87i3HZ5IWFMiS9aTK5kAD4Ab6xH9yi8krdgolYSgDF3N/KnxiJKCvTxG3+KOjPs64M62moZ8vKhg08TJzfPfrIL7OECpRMOBP5WtpANTFNK4Nl5BQ6ciVw5k+aOHKA36DVw3TGLBX7HgVDwr4XCtqf6dkYvnc7omAnjtoi/vo7JsLw4Hg2COj9uNyF31rreIbDTq6DTNgVeEqQm1+P7DG09fdedqB5Rw46YBNtRIFp9rttv5hW3IaPnCBMIrPweScqnV2znObOBSi/8TN/CLdK4ID/gEjQVnNUBnO839fkJChRGC2elNOwwGREOOKl4W3C5zmMPhcLg43xs66t49SffQWBQ4jUcgEcT/+xFLjEKZDW6Lm2ypzmJc+OZUSJi0zSKPqqp5ViHzmNJFzHWEMpm8bsN9Erf/PaZ+Ahd3gIp50eKNn/9acMHikbcBqb8upla5hVMxHVS+5sdyBiHHl3rNr8HEBjymlrtCwyvdX+lJ4aBMOW0RRjyuqo0q1KUBj629kbpWKPN/8bx0DaY/qDhSPSx2AAAAAElFTkSuQmCC";
|
|
79965
|
+
const NavBar = ({
|
|
79966
|
+
items = [],
|
|
79967
|
+
version: version2,
|
|
79968
|
+
user,
|
|
79969
|
+
headerSlot,
|
|
79970
|
+
actionsSlot
|
|
79971
|
+
}) => {
|
|
79972
|
+
const [isSmall, setIsSmall] = React.useState(false);
|
|
79973
|
+
const [hasScrollbar, setHasScrollbar] = React.useState(false);
|
|
79974
|
+
const scrollRef = React.useRef(null);
|
|
79975
|
+
React.useEffect(() => {
|
|
79976
|
+
const el = scrollRef.current;
|
|
79977
|
+
if (!el) return;
|
|
79978
|
+
const check = () => setHasScrollbar(el.scrollHeight > el.clientHeight);
|
|
79979
|
+
check();
|
|
79980
|
+
const observer = new ResizeObserver(check);
|
|
79981
|
+
observer.observe(el);
|
|
79982
|
+
return () => observer.disconnect();
|
|
79983
|
+
}, []);
|
|
79984
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Sidebar, { $isSmall: isSmall, children: [
|
|
79985
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Tile, { style: { flex: 1, overflow: "hidden" }, children: [
|
|
79986
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
79987
|
+
Tile,
|
|
79988
|
+
{
|
|
79989
|
+
isHorizontal: !isSmall,
|
|
79990
|
+
style: {
|
|
79991
|
+
justifyContent: "space-between",
|
|
79992
|
+
alignItems: "center",
|
|
79993
|
+
width: "100%",
|
|
79994
|
+
gap: "16px",
|
|
79995
|
+
padding: `${isSmall ? "24px" : "16px"}`,
|
|
79996
|
+
transition: "padding 0.2s ease"
|
|
79997
|
+
},
|
|
79998
|
+
children: [
|
|
79999
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
80000
|
+
Tile,
|
|
80001
|
+
{
|
|
80002
|
+
isHorizontal: true,
|
|
80003
|
+
style: {
|
|
80004
|
+
gap: "8px",
|
|
80005
|
+
alignItems: "center",
|
|
80006
|
+
padding: "8px"
|
|
80007
|
+
},
|
|
80008
|
+
children: headerSlot ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
80009
|
+
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { shape: "square", size: 24, url: gbLogo }),
|
|
80010
|
+
!isSmall && /* @__PURE__ */ jsxRuntime.jsx(
|
|
80011
|
+
Typography,
|
|
80012
|
+
{
|
|
80013
|
+
variant: "heading3",
|
|
80014
|
+
fontWeight: 700,
|
|
80015
|
+
style: {
|
|
80016
|
+
whiteSpace: "nowrap",
|
|
80017
|
+
overflow: "hidden",
|
|
80018
|
+
maxWidth: isSmall ? "0px" : "160px",
|
|
80019
|
+
opacity: isSmall ? 0 : 1,
|
|
80020
|
+
transition: "max-width 2s ease, opacity 0.15s ease"
|
|
80021
|
+
},
|
|
80022
|
+
children: "GoBolt"
|
|
80023
|
+
}
|
|
80024
|
+
)
|
|
80025
|
+
] })
|
|
80026
|
+
}
|
|
80027
|
+
),
|
|
80028
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
80029
|
+
HiChevronDoubleLeft,
|
|
80030
|
+
{
|
|
80031
|
+
size: 20,
|
|
80032
|
+
onClick: () => setIsSmall((s) => !s),
|
|
80033
|
+
style: {
|
|
80034
|
+
cursor: "pointer",
|
|
80035
|
+
transition: "transform 0.4s ease",
|
|
80036
|
+
transform: isSmall ? "rotate(180deg)" : "rotate(0deg)"
|
|
80037
|
+
}
|
|
80038
|
+
}
|
|
80039
|
+
)
|
|
80040
|
+
]
|
|
80041
|
+
}
|
|
80042
|
+
),
|
|
80043
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
80044
|
+
ScrollableFrame,
|
|
80045
|
+
{
|
|
80046
|
+
ref: scrollRef,
|
|
80047
|
+
$isSmall: isSmall,
|
|
80048
|
+
$hasScrollbar: hasScrollbar,
|
|
80049
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(NavMenu, { items, isSmall })
|
|
80050
|
+
}
|
|
80051
|
+
)
|
|
80052
|
+
] }),
|
|
80053
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Frame, { $isSmall: isSmall, children: [
|
|
80054
|
+
actionsSlot?.(isSmall),
|
|
80055
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
80056
|
+
Tile,
|
|
80057
|
+
{
|
|
80058
|
+
isHorizontal: true,
|
|
80059
|
+
style: {
|
|
80060
|
+
alignItems: "center",
|
|
80061
|
+
width: "100%",
|
|
80062
|
+
gap: "8px",
|
|
80063
|
+
padding: `12px ${isSmall ? "12px" : "16px"}`
|
|
80064
|
+
},
|
|
80065
|
+
children: [
|
|
80066
|
+
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { user, size: isSmall ? 32 : 40 }),
|
|
80067
|
+
!isSmall && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "label2", style: { whiteSpace: "nowrap" }, children: [
|
|
80068
|
+
user.first_name,
|
|
80069
|
+
" ",
|
|
80070
|
+
user.last_name
|
|
80071
|
+
] })
|
|
80072
|
+
]
|
|
80073
|
+
}
|
|
80074
|
+
),
|
|
80075
|
+
!isSmall && /* @__PURE__ */ jsxRuntime.jsx(
|
|
80076
|
+
Tile,
|
|
80077
|
+
{
|
|
80078
|
+
style: {
|
|
80079
|
+
padding: "16px 24px",
|
|
80080
|
+
width: "100%",
|
|
80081
|
+
textAlign: "center"
|
|
80082
|
+
},
|
|
80083
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "label3", children: [
|
|
80084
|
+
"Version ",
|
|
80085
|
+
version2
|
|
80086
|
+
] })
|
|
80087
|
+
}
|
|
80088
|
+
)
|
|
80089
|
+
] })
|
|
80090
|
+
] });
|
|
80091
|
+
};
|
|
79577
80092
|
const Appointment = (properties) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
79578
80093
|
"svg",
|
|
79579
80094
|
{
|
|
@@ -87077,8 +87592,8 @@ const mockColumns = [
|
|
|
87077
87592
|
const textColor = record.isSelected ? "white" : "#6c6c6c";
|
|
87078
87593
|
return React.createElement(Typography, {
|
|
87079
87594
|
variant: "body2",
|
|
87080
|
-
|
|
87081
|
-
|
|
87595
|
+
color: `${textColor}`,
|
|
87596
|
+
children: typeof address === "string" ? address : JSON.stringify(address)
|
|
87082
87597
|
});
|
|
87083
87598
|
}
|
|
87084
87599
|
},
|
|
@@ -87535,6 +88050,177 @@ const Tabs = ({ items, onChange, selectedId }) => {
|
|
|
87535
88050
|
}
|
|
87536
88051
|
);
|
|
87537
88052
|
};
|
|
88053
|
+
const Wrapper = styled(Tile)`
|
|
88054
|
+
padding: 0 ${({ theme }) => theme.sizing.Size6}px;
|
|
88055
|
+
background-color: #fff;
|
|
88056
|
+
|
|
88057
|
+
&:hover {
|
|
88058
|
+
background-color: #f4f4f4;
|
|
88059
|
+
}
|
|
88060
|
+
`;
|
|
88061
|
+
const Container = styled(Tile)`
|
|
88062
|
+
flex-direction: row;
|
|
88063
|
+
justify-content: flex-start;
|
|
88064
|
+
gap: 12px;
|
|
88065
|
+
background-color: ${({ theme }) => theme.colors.surface.default};
|
|
88066
|
+
width: 100%;
|
|
88067
|
+
/* padding: 0 ${({ theme }) => theme.sizing.Size24}px; */
|
|
88068
|
+
`;
|
|
88069
|
+
const TimelineColumn = styled(Tile)`
|
|
88070
|
+
align-items: center;
|
|
88071
|
+
align-self: stretch;
|
|
88072
|
+
flex-shrink: 0;
|
|
88073
|
+
padding: 0;
|
|
88074
|
+
width: 26px;
|
|
88075
|
+
`;
|
|
88076
|
+
const TimelineLine = styled.div`
|
|
88077
|
+
width: 1px;
|
|
88078
|
+
flex: 1;
|
|
88079
|
+
background-color: ${({ $color }) => $color ?? "#9A9A9A"};
|
|
88080
|
+
`;
|
|
88081
|
+
const Dot = styled.div`
|
|
88082
|
+
width: 8px;
|
|
88083
|
+
height: 8px;
|
|
88084
|
+
border-radius: 50%;
|
|
88085
|
+
flex-shrink: 0;
|
|
88086
|
+
background-color: #9a9a9a;
|
|
88087
|
+
`;
|
|
88088
|
+
const Content = styled(Tile)`
|
|
88089
|
+
gap: ${({ theme }) => theme.sizing.Size1}px;
|
|
88090
|
+
flex: 1;
|
|
88091
|
+
min-width: 0;
|
|
88092
|
+
padding: ${({ theme }) => theme.sizing.Size3}px 0;
|
|
88093
|
+
`;
|
|
88094
|
+
const ActionNote = styled(Tile)`
|
|
88095
|
+
padding: 0;
|
|
88096
|
+
`;
|
|
88097
|
+
const TileLog = ({
|
|
88098
|
+
timestamp,
|
|
88099
|
+
action,
|
|
88100
|
+
status = "none",
|
|
88101
|
+
note: note2,
|
|
88102
|
+
author
|
|
88103
|
+
}) => {
|
|
88104
|
+
const { theme } = useGenesis();
|
|
88105
|
+
const isNone = status === "none";
|
|
88106
|
+
const stateColors = {
|
|
88107
|
+
none: "#CBCBCB",
|
|
88108
|
+
success: "#A7DFAF",
|
|
88109
|
+
error: "#F3A9AB",
|
|
88110
|
+
"in-progress": "#AFB8FB",
|
|
88111
|
+
generic: "#CBCBCB"
|
|
88112
|
+
};
|
|
88113
|
+
const stateTextColors = {
|
|
88114
|
+
none: void 0,
|
|
88115
|
+
success: theme.colors.status["success"].onsurface,
|
|
88116
|
+
error: theme.colors.status["error"].onsurface,
|
|
88117
|
+
"in-progress": theme.colors.status["info"].onsurface,
|
|
88118
|
+
generic: theme.colors.status["generic"].onsurface
|
|
88119
|
+
};
|
|
88120
|
+
const stateIcons = {
|
|
88121
|
+
success: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88122
|
+
Badge$1,
|
|
88123
|
+
{
|
|
88124
|
+
state: "success",
|
|
88125
|
+
customIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88126
|
+
HiCheckCircle,
|
|
88127
|
+
{
|
|
88128
|
+
size: 16,
|
|
88129
|
+
color: theme.colors.status["success"].onsurface
|
|
88130
|
+
}
|
|
88131
|
+
),
|
|
88132
|
+
hasIcon: true
|
|
88133
|
+
}
|
|
88134
|
+
),
|
|
88135
|
+
error: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88136
|
+
Badge$1,
|
|
88137
|
+
{
|
|
88138
|
+
state: "error",
|
|
88139
|
+
customIcon: /* @__PURE__ */ jsxRuntime.jsx(HiXCircle, { size: 16, color: theme.colors.status["error"].onsurface }),
|
|
88140
|
+
hasIcon: true
|
|
88141
|
+
}
|
|
88142
|
+
),
|
|
88143
|
+
"in-progress": /* @__PURE__ */ jsxRuntime.jsx(
|
|
88144
|
+
Badge$1,
|
|
88145
|
+
{
|
|
88146
|
+
state: "info",
|
|
88147
|
+
customIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88148
|
+
HiArrowCircleRight,
|
|
88149
|
+
{
|
|
88150
|
+
size: 16,
|
|
88151
|
+
color: theme.colors.status["info"].onsurface
|
|
88152
|
+
}
|
|
88153
|
+
),
|
|
88154
|
+
hasIcon: true
|
|
88155
|
+
}
|
|
88156
|
+
),
|
|
88157
|
+
generic: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88158
|
+
Badge$1,
|
|
88159
|
+
{
|
|
88160
|
+
state: "generic",
|
|
88161
|
+
customIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
88162
|
+
HiOutlineMinusCircle,
|
|
88163
|
+
{
|
|
88164
|
+
size: 16,
|
|
88165
|
+
color: theme.colors.status["generic"].onsurface
|
|
88166
|
+
}
|
|
88167
|
+
),
|
|
88168
|
+
hasIcon: true
|
|
88169
|
+
}
|
|
88170
|
+
)
|
|
88171
|
+
};
|
|
88172
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
88173
|
+
/* @__PURE__ */ jsxRuntime.jsxs(TimelineColumn, { children: [
|
|
88174
|
+
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: stateColors[status] }),
|
|
88175
|
+
isNone ? /* @__PURE__ */ jsxRuntime.jsx(Dot, {}) : stateIcons[status],
|
|
88176
|
+
/* @__PURE__ */ jsxRuntime.jsx(TimelineLine, { $color: stateColors[status] })
|
|
88177
|
+
] }),
|
|
88178
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Content, { children: [
|
|
88179
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
88180
|
+
Typography,
|
|
88181
|
+
{
|
|
88182
|
+
variant: "label3",
|
|
88183
|
+
lineHeight: "10px",
|
|
88184
|
+
color: theme.colors.onsurface["copy-light"],
|
|
88185
|
+
children: timestamp
|
|
88186
|
+
}
|
|
88187
|
+
),
|
|
88188
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ActionNote, { children: [
|
|
88189
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
88190
|
+
Typography,
|
|
88191
|
+
{
|
|
88192
|
+
variant: "body4",
|
|
88193
|
+
fontSize: "14px",
|
|
88194
|
+
fontWeight: 400,
|
|
88195
|
+
lineHeight: "27px",
|
|
88196
|
+
color: stateTextColors[status],
|
|
88197
|
+
children: action
|
|
88198
|
+
}
|
|
88199
|
+
),
|
|
88200
|
+
note2 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
88201
|
+
Typography,
|
|
88202
|
+
{
|
|
88203
|
+
variant: "body5",
|
|
88204
|
+
lineHeight: "23px",
|
|
88205
|
+
color: theme.colors.onsurface["copy-light"],
|
|
88206
|
+
children: note2
|
|
88207
|
+
}
|
|
88208
|
+
)
|
|
88209
|
+
] }),
|
|
88210
|
+
author && /* @__PURE__ */ jsxRuntime.jsx(
|
|
88211
|
+
Typography,
|
|
88212
|
+
{
|
|
88213
|
+
variant: "label3",
|
|
88214
|
+
fontSize: "10px",
|
|
88215
|
+
fontWeight: 500,
|
|
88216
|
+
lineHeight: "10px",
|
|
88217
|
+
color: theme.colors.onsurface["copy-light"],
|
|
88218
|
+
children: author
|
|
88219
|
+
}
|
|
88220
|
+
)
|
|
88221
|
+
] })
|
|
88222
|
+
] }) });
|
|
88223
|
+
};
|
|
87538
88224
|
const GlobalStyles = styled.createGlobalStyle`
|
|
87539
88225
|
* {
|
|
87540
88226
|
margin: 0;
|
|
@@ -87575,6 +88261,7 @@ exports.InputAddon = InputAddon;
|
|
|
87575
88261
|
exports.Layout = Layout;
|
|
87576
88262
|
exports.LineChart = LineChart;
|
|
87577
88263
|
exports.Message = Message;
|
|
88264
|
+
exports.NavBar = NavBar;
|
|
87578
88265
|
exports.Notification = Notification;
|
|
87579
88266
|
exports.OverflowMenu = OverflowMenu;
|
|
87580
88267
|
exports.OverflowMenuItem = OverflowMenuItem;
|
|
@@ -87591,6 +88278,7 @@ exports.TableWithControls = TableWithControls;
|
|
|
87591
88278
|
exports.Tabs = Tabs;
|
|
87592
88279
|
exports.Tag = Tag;
|
|
87593
88280
|
exports.Tile = Tile;
|
|
88281
|
+
exports.TileLog = TileLog;
|
|
87594
88282
|
exports.Toast = Toast;
|
|
87595
88283
|
exports.Tooltip = Tooltip2;
|
|
87596
88284
|
exports.Typography = Typography;
|