@drivenets/design-system 0.7.1 → 0.7.3
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/CHANGELOG.md +20 -0
- package/dist/index.cjs +591 -850
- package/dist/index.d.cts +131 -95
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +131 -95
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +580 -834
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +28 -24
- package/src/components/ds-breadcrumb/ds-breadcrumb.tsx +1 -1
- package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx +1 -0
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +13 -0
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +1 -1
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.types.ts +1 -1
- package/src/components/ds-checkbox/ds-checkbox.module.scss +36 -5
- package/src/components/ds-checkbox/ds-checkbox.tsx +2 -1
- package/src/components/ds-checkbox/{ds-checkbox.types.tsx → ds-checkbox.types.ts} +7 -0
- package/src/components/ds-chip-group/ds-chip-group.tsx +1 -1
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +0 -23
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx +2 -11
- package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +0 -39
- package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +21 -20
- package/src/components/ds-comment-card/ds-comment-card.tsx +2 -2
- package/src/components/ds-confirmation/ds-confirmation.tsx +1 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +1 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -2
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.tsx +6 -2
- package/src/components/ds-segment-group/ds-segment-group.tsx +1 -1
- package/src/components/ds-select/ds-select.tsx +41 -7
- package/src/components/ds-select/{ds-select.types.tsx → ds-select.types.ts} +12 -0
- package/src/components/ds-select/select-items-chips.tsx +3 -2
- package/src/components/ds-select/utils.test.ts +37 -0
- package/src/components/ds-select/utils.ts +7 -0
- package/src/components/ds-smart-tabs/{ds-smart-tabs.types.tsx → ds-smart-tabs.types.ts} +1 -1
- package/src/components/ds-stepper/components/ds-step-next-button.tsx +7 -3
- package/src/components/ds-stepper/components/ds-step.tsx +1 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +14 -6
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +9 -3
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +6 -4
- package/src/components/ds-table/components/ds-table-row/ds-table-row.types.ts +4 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +2 -1
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.types.ts +1 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +5 -2
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.types.ts +4 -2
- package/src/components/ds-table/ds-table.tsx +4 -1
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx +1 -2
- package/src/components/ds-tag-filter/{utils.test.ts → utils.browser.test.ts} +20 -113
- package/src/components/ds-text-input/ds-text-input.tsx +4 -0
- package/src/components/ds-text-input/{ds-text-input.types.tsx → ds-text-input.types.ts} +8 -1
- /package/src/components/ds-alert-banner/{ds-alert-banner.types.tsx → ds-alert-banner.types.ts} +0 -0
- /package/src/components/ds-alert-banner/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-autocomplete/{ds-autocomplete.types.tsx → ds-autocomplete.types.ts} +0 -0
- /package/src/components/ds-breadcrumb/{ds-breadcrumb.types.tsx → ds-breadcrumb.types.ts} +0 -0
- /package/src/components/ds-breadcrumb/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-checkbox/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-chip/{ds-chip.types.tsx → ds-chip.types.ts} +0 -0
- /package/src/components/ds-chip/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-comments-drawer/{comments-filters.test.ts → comments-filters.unit.test.ts} +0 -0
- /package/src/components/ds-confirmation/{ds-confirmation.types.tsx → ds-confirmation.types.ts} +0 -0
- /package/src/components/ds-date-input/{ds-date-input.types.tsx → ds-date-input.types.ts} +0 -0
- /package/src/components/ds-dialog/{ds-dialog.types.tsx → ds-dialog.types.ts} +0 -0
- /package/src/components/ds-dialog/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-drawer/{ds-drawer.types.tsx → ds-drawer.types.ts} +0 -0
- /package/src/components/ds-dropdown-menu/{ds-dropdown-menu.types.tsx → ds-dropdown-menu.types.ts} +0 -0
- /package/src/components/ds-dropdown-menu/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-expandable-text-input/{ds-expandable-text-input.types.tsx → ds-expandable-text-input.types.ts} +0 -0
- /package/src/components/ds-file-upload/components/file-upload/{file-upload.types.tsx → file-upload.types.ts} +0 -0
- /package/src/components/ds-file-upload/components/file-upload-item/{file-upload-item.types.tsx → file-upload-item.types.ts} +0 -0
- /package/src/components/ds-file-upload/{ds-file-upload.types.tsx → ds-file-upload.types.ts} +0 -0
- /package/src/components/ds-form-control/{ds-form-control.types.tsx → ds-form-control.types.ts} +0 -0
- /package/src/components/ds-form-control/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-modal/{ds-modal.types.tsx → ds-modal.types.ts} +0 -0
- /package/src/components/ds-modal/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-number-input/{ds-number-input.types.tsx → ds-number-input.types.ts} +0 -0
- /package/src/components/ds-number-input/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-panel/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-password-input/{ds-password-input.types.tsx → ds-password-input.types.ts} +0 -0
- /package/src/components/ds-password-input/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-popover/{ds-popover.types.tsx → ds-popover.types.ts} +0 -0
- /package/src/components/ds-popover/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-progress-arc/{utils.test.ts → utils.unit.test.ts} +0 -0
- /package/src/components/ds-progress-linear/{utils.test.ts → utils.unit.test.ts} +0 -0
- /package/src/components/ds-radio-group/{ds-radio-group.types.tsx → ds-radio-group.types.ts} +0 -0
- /package/src/components/ds-radio-group/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-segment-group/{ds-segment-group.types.tsx → ds-segment-group.types.ts} +0 -0
- /package/src/components/ds-segment-group/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-select/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-skeleton/{ds-skeleton.tsx → ds-skeleton.ts} +0 -0
- /package/src/components/ds-smart-tabs/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-spinner/{ds-spinner.types.tsx → ds-spinner.types.ts} +0 -0
- /package/src/components/ds-spinner/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-status-badge/{ds-status-badge.types.tsx → ds-status-badge.types.ts} +0 -0
- /package/src/components/ds-status-badge/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-stepper/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-system-status/{ds-system-status.types.tsx → ds-system-status.types.ts} +0 -0
- /package/src/components/ds-system-status/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-table/context/{ds-table-context.tsx → ds-table-context.ts} +0 -0
- /package/src/components/ds-tag/{ds-tag.types.tsx → ds-tag.types.ts} +0 -0
- /package/src/components/ds-tag/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-textarea/{ds-textarea.types.tsx → ds-textarea.types.ts} +0 -0
- /package/src/components/ds-textarea/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-toast/{ds-toast.types.tsx → ds-toast.types.ts} +0 -0
- /package/src/components/ds-toggle/{ds-toggle.types.tsx → ds-toggle.types.ts} +0 -0
- /package/src/components/ds-toggle/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-tooltip/{ds-tooltip.types.tsx → ds-tooltip.types.ts} +0 -0
- /package/src/components/ds-tooltip/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-typography/{ds-typography.types.tsx → ds-typography.types.ts} +0 -0
- /package/src/components/ds-typography/{index.tsx → index.ts} +0 -0
- /package/src/utils/{format-relative-time.test.ts → format-relative-time.unit.test.ts} +0 -0
- /package/src/{components/ds-table/utils → utils}/merge-refs.ts +0 -0
- /package/src/utils/{numbers.test.ts → numbers.unit.test.ts} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -7,16 +7,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
+
get: ((k) => from[k]).bind(null, key),
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
20
16
|
}
|
|
21
17
|
return to;
|
|
22
18
|
};
|
|
@@ -24,7 +20,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
20
|
value: mod,
|
|
25
21
|
enumerable: true
|
|
26
22
|
}) : target, mod));
|
|
27
|
-
|
|
28
23
|
//#endregion
|
|
29
24
|
let react_compiler_runtime = require("react/compiler-runtime");
|
|
30
25
|
let classnames = require("classnames");
|
|
@@ -75,7 +70,6 @@ let _dnd_kit_modifiers = require("@dnd-kit/modifiers");
|
|
|
75
70
|
let _tanstack_react_virtual = require("@tanstack/react-virtual");
|
|
76
71
|
let _ark_ui_react_switch = require("@ark-ui/react/switch");
|
|
77
72
|
let _ark_ui_react_tree_view = require("@ark-ui/react/tree-view");
|
|
78
|
-
|
|
79
73
|
//#region src/components/ds-alert-banner/ds-alert-banner.module.scss
|
|
80
74
|
var ds_alert_banner_module_default = {
|
|
81
75
|
"alertBanner": "_alertBanner_1u3d5_1",
|
|
@@ -93,7 +87,6 @@ var ds_alert_banner_module_default = {
|
|
|
93
87
|
"error": "_error_1u3d5_1",
|
|
94
88
|
"success": "_success_1u3d5_1"
|
|
95
89
|
};
|
|
96
|
-
|
|
97
90
|
//#endregion
|
|
98
91
|
//#region src/components/ds-icon/ds-icon.module.scss
|
|
99
92
|
var ds_icon_module_default = {
|
|
@@ -105,7 +98,6 @@ var ds_icon_module_default = {
|
|
|
105
98
|
"tiny": "_tiny_14xwg_1",
|
|
106
99
|
"filled": "_filled_14xwg_1"
|
|
107
100
|
};
|
|
108
|
-
|
|
109
101
|
//#endregion
|
|
110
102
|
//#region src/components/ds-icon/custom-icons/special-market.tsx
|
|
111
103
|
/**
|
|
@@ -135,7 +127,6 @@ const SpecialMarket = (props) => {
|
|
|
135
127
|
} else t1 = $[2];
|
|
136
128
|
return t1;
|
|
137
129
|
};
|
|
138
|
-
|
|
139
130
|
//#endregion
|
|
140
131
|
//#region src/components/ds-icon/custom-icons/special-site-t1.tsx
|
|
141
132
|
/**
|
|
@@ -165,7 +156,6 @@ const SpecialSiteT1 = (props) => {
|
|
|
165
156
|
} else t1 = $[2];
|
|
166
157
|
return t1;
|
|
167
158
|
};
|
|
168
|
-
|
|
169
159
|
//#endregion
|
|
170
160
|
//#region src/components/ds-icon/custom-icons/special-site-t2.tsx
|
|
171
161
|
/**
|
|
@@ -195,7 +185,6 @@ const SpecialSiteT2 = (props) => {
|
|
|
195
185
|
} else t1 = $[2];
|
|
196
186
|
return t1;
|
|
197
187
|
};
|
|
198
|
-
|
|
199
188
|
//#endregion
|
|
200
189
|
//#region src/components/ds-icon/custom-icons/special-site-t3.tsx
|
|
201
190
|
/**
|
|
@@ -225,7 +214,6 @@ const SpecialSiteT3 = (props) => {
|
|
|
225
214
|
} else t1 = $[2];
|
|
226
215
|
return t1;
|
|
227
216
|
};
|
|
228
|
-
|
|
229
217
|
//#endregion
|
|
230
218
|
//#region src/components/ds-icon/custom-icons/special-site-t4.tsx
|
|
231
219
|
/**
|
|
@@ -255,7 +243,6 @@ const SpecialSiteT4 = (props) => {
|
|
|
255
243
|
} else t1 = $[2];
|
|
256
244
|
return t1;
|
|
257
245
|
};
|
|
258
|
-
|
|
259
246
|
//#endregion
|
|
260
247
|
//#region src/components/ds-icon/custom-icons/special-site-unknown.tsx
|
|
261
248
|
/**
|
|
@@ -313,7 +300,6 @@ const SpecialSiteUnknown = (props) => {
|
|
|
313
300
|
} else t5 = $[6];
|
|
314
301
|
return t5;
|
|
315
302
|
};
|
|
316
|
-
|
|
317
303
|
//#endregion
|
|
318
304
|
//#region src/components/ds-icon/custom-icons/special-site-generic.tsx
|
|
319
305
|
/**
|
|
@@ -367,7 +353,6 @@ const SpecialSiteGeneric = (props) => {
|
|
|
367
353
|
} else t5 = $[6];
|
|
368
354
|
return t5;
|
|
369
355
|
};
|
|
370
|
-
|
|
371
356
|
//#endregion
|
|
372
357
|
//#region src/components/ds-icon/custom-icons/special-discovered-ne.tsx
|
|
373
358
|
/**
|
|
@@ -401,7 +386,6 @@ const SpecialDiscoveredNe = (props) => {
|
|
|
401
386
|
} else t1 = $[2];
|
|
402
387
|
return t1;
|
|
403
388
|
};
|
|
404
|
-
|
|
405
389
|
//#endregion
|
|
406
390
|
//#region src/components/ds-icon/custom-icons/special-upgrading.tsx
|
|
407
391
|
/**
|
|
@@ -431,7 +415,6 @@ const SpecialUpgrading = (props) => {
|
|
|
431
415
|
} else t1 = $[2];
|
|
432
416
|
return t1;
|
|
433
417
|
};
|
|
434
|
-
|
|
435
418
|
//#endregion
|
|
436
419
|
//#region src/components/ds-icon/custom-icons/special-cluster-ne.tsx
|
|
437
420
|
/**
|
|
@@ -526,7 +509,6 @@ const SpecialClusterNe = (props) => {
|
|
|
526
509
|
} else t9 = $[13];
|
|
527
510
|
return t9;
|
|
528
511
|
};
|
|
529
|
-
|
|
530
512
|
//#endregion
|
|
531
513
|
//#region src/components/ds-icon/custom-icons/special-standalone.tsx
|
|
532
514
|
/**
|
|
@@ -556,7 +538,6 @@ const SpecialStandalone = (props) => {
|
|
|
556
538
|
} else t1 = $[2];
|
|
557
539
|
return t1;
|
|
558
540
|
};
|
|
559
|
-
|
|
560
541
|
//#endregion
|
|
561
542
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-360-dashboard.tsx
|
|
562
543
|
/**
|
|
@@ -646,7 +627,6 @@ const SpecialNeNav360Dashboard = (props) => {
|
|
|
646
627
|
} else t10 = $[14];
|
|
647
628
|
return t10;
|
|
648
629
|
};
|
|
649
|
-
|
|
650
630
|
//#endregion
|
|
651
631
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-components.tsx
|
|
652
632
|
/**
|
|
@@ -676,7 +656,6 @@ const SpecialNeNavComponents = (props) => {
|
|
|
676
656
|
} else t1 = $[2];
|
|
677
657
|
return t1;
|
|
678
658
|
};
|
|
679
|
-
|
|
680
659
|
//#endregion
|
|
681
660
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-topology.tsx
|
|
682
661
|
/**
|
|
@@ -706,7 +685,6 @@ const SpecialNeNavTopology = (props) => {
|
|
|
706
685
|
} else t1 = $[2];
|
|
707
686
|
return t1;
|
|
708
687
|
};
|
|
709
|
-
|
|
710
688
|
//#endregion
|
|
711
689
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-stacks.tsx
|
|
712
690
|
/**
|
|
@@ -736,7 +714,6 @@ const SpecialNeNavStacks = (props) => {
|
|
|
736
714
|
} else t1 = $[2];
|
|
737
715
|
return t1;
|
|
738
716
|
};
|
|
739
|
-
|
|
740
717
|
//#endregion
|
|
741
718
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-settings.tsx
|
|
742
719
|
/**
|
|
@@ -780,7 +757,6 @@ const SpecialNeNavSettings = (props) => {
|
|
|
780
757
|
} else t2 = $[3];
|
|
781
758
|
return t2;
|
|
782
759
|
};
|
|
783
|
-
|
|
784
760
|
//#endregion
|
|
785
761
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-message-support.tsx
|
|
786
762
|
/**
|
|
@@ -855,7 +831,6 @@ const SpecialNeNavMessageSupport = (props) => {
|
|
|
855
831
|
} else t7 = $[11];
|
|
856
832
|
return t7;
|
|
857
833
|
};
|
|
858
|
-
|
|
859
834
|
//#endregion
|
|
860
835
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-logging.tsx
|
|
861
836
|
/**
|
|
@@ -899,7 +874,6 @@ const SpecialNeNavLogging = (props) => {
|
|
|
899
874
|
} else t3 = $[4];
|
|
900
875
|
return t3;
|
|
901
876
|
};
|
|
902
|
-
|
|
903
877
|
//#endregion
|
|
904
878
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-terminal.tsx
|
|
905
879
|
/**
|
|
@@ -933,7 +907,6 @@ const SpecialNeNavTerminal = (props) => {
|
|
|
933
907
|
} else t1 = $[2];
|
|
934
908
|
return t1;
|
|
935
909
|
};
|
|
936
|
-
|
|
937
910
|
//#endregion
|
|
938
911
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-install-log.tsx
|
|
939
912
|
/**
|
|
@@ -977,7 +950,6 @@ const SpecialNeNavInstallLog = (props) => {
|
|
|
977
950
|
} else t2 = $[3];
|
|
978
951
|
return t2;
|
|
979
952
|
};
|
|
980
|
-
|
|
981
953
|
//#endregion
|
|
982
954
|
//#region src/components/ds-icon/custom-icons/special-autoboot-profiles.tsx
|
|
983
955
|
/**
|
|
@@ -1021,7 +993,6 @@ const SpecialAutobootProfiles = (props) => {
|
|
|
1021
993
|
} else t3 = $[4];
|
|
1022
994
|
return t3;
|
|
1023
995
|
};
|
|
1024
|
-
|
|
1025
996
|
//#endregion
|
|
1026
997
|
//#region src/components/ds-icon/custom-icons/special-automation.tsx
|
|
1027
998
|
/**
|
|
@@ -1065,7 +1036,6 @@ const SpecialAutomation = (props) => {
|
|
|
1065
1036
|
} else t3 = $[4];
|
|
1066
1037
|
return t3;
|
|
1067
1038
|
};
|
|
1068
|
-
|
|
1069
1039
|
//#endregion
|
|
1070
1040
|
//#region src/components/ds-icon/custom-icons/special-stacks.tsx
|
|
1071
1041
|
/**
|
|
@@ -1099,7 +1069,6 @@ const SpecialStacks = (props) => {
|
|
|
1099
1069
|
} else t1 = $[2];
|
|
1100
1070
|
return t1;
|
|
1101
1071
|
};
|
|
1102
|
-
|
|
1103
1072
|
//#endregion
|
|
1104
1073
|
//#region src/components/ds-icon/custom-icons/special-packages.tsx
|
|
1105
1074
|
/**
|
|
@@ -1133,7 +1102,6 @@ const SpecialPackages = (props) => {
|
|
|
1133
1102
|
} else t1 = $[2];
|
|
1134
1103
|
return t1;
|
|
1135
1104
|
};
|
|
1136
|
-
|
|
1137
1105
|
//#endregion
|
|
1138
1106
|
//#region src/components/ds-icon/custom-icons/special-gnmi.tsx
|
|
1139
1107
|
/**
|
|
@@ -1204,7 +1172,6 @@ const SpecialGnmi = (props) => {
|
|
|
1204
1172
|
} else t6 = $[10];
|
|
1205
1173
|
return t6;
|
|
1206
1174
|
};
|
|
1207
|
-
|
|
1208
1175
|
//#endregion
|
|
1209
1176
|
//#region src/components/ds-icon/custom-icons/special-alarm-settings.tsx
|
|
1210
1177
|
/**
|
|
@@ -1271,7 +1238,6 @@ const SpecialAlarmSettings = (props) => {
|
|
|
1271
1238
|
} else t6 = $[10];
|
|
1272
1239
|
return t6;
|
|
1273
1240
|
};
|
|
1274
|
-
|
|
1275
1241
|
//#endregion
|
|
1276
1242
|
//#region src/components/ds-icon/custom-icons/special-ne-health.tsx
|
|
1277
1243
|
/**
|
|
@@ -1313,7 +1279,6 @@ const SpecialNeHealth = (props) => {
|
|
|
1313
1279
|
} else t2 = $[3];
|
|
1314
1280
|
return t2;
|
|
1315
1281
|
};
|
|
1316
|
-
|
|
1317
1282
|
//#endregion
|
|
1318
1283
|
//#region src/components/ds-icon/custom-icons/special-hardware.tsx
|
|
1319
1284
|
/**
|
|
@@ -1355,7 +1320,6 @@ const SpecialHardware = (props) => {
|
|
|
1355
1320
|
} else t2 = $[3];
|
|
1356
1321
|
return t2;
|
|
1357
1322
|
};
|
|
1358
|
-
|
|
1359
1323
|
//#endregion
|
|
1360
1324
|
//#region src/components/ds-icon/custom-icons/special-modules.tsx
|
|
1361
1325
|
/**
|
|
@@ -1419,7 +1383,6 @@ const SpecialModules = (props) => {
|
|
|
1419
1383
|
} else t5 = $[9];
|
|
1420
1384
|
return t5;
|
|
1421
1385
|
};
|
|
1422
|
-
|
|
1423
1386
|
//#endregion
|
|
1424
1387
|
//#region src/components/ds-icon/custom-icons/special-resources.tsx
|
|
1425
1388
|
/**
|
|
@@ -1483,7 +1446,6 @@ const SpecialResources = (props) => {
|
|
|
1483
1446
|
} else t5 = $[9];
|
|
1484
1447
|
return t5;
|
|
1485
1448
|
};
|
|
1486
|
-
|
|
1487
1449
|
//#endregion
|
|
1488
1450
|
//#region src/components/ds-icon/custom-icons/special-version-control.tsx
|
|
1489
1451
|
/**
|
|
@@ -1518,7 +1480,6 @@ const SpecialVersionControl = (props) => {
|
|
|
1518
1480
|
} else t1 = $[2];
|
|
1519
1481
|
return t1;
|
|
1520
1482
|
};
|
|
1521
|
-
|
|
1522
1483
|
//#endregion
|
|
1523
1484
|
//#region src/components/ds-icon/custom-icons/special-software.tsx
|
|
1524
1485
|
/**
|
|
@@ -1551,7 +1512,6 @@ const SpecialSoftware = (props) => {
|
|
|
1551
1512
|
} else t1 = $[2];
|
|
1552
1513
|
return t1;
|
|
1553
1514
|
};
|
|
1554
|
-
|
|
1555
1515
|
//#endregion
|
|
1556
1516
|
//#region src/components/ds-icon/custom-icons/special-conflicted-nes.tsx
|
|
1557
1517
|
/**
|
|
@@ -1586,7 +1546,6 @@ const SpecialConflictedNes = (props) => {
|
|
|
1586
1546
|
} else t1 = $[2];
|
|
1587
1547
|
return t1;
|
|
1588
1548
|
};
|
|
1589
|
-
|
|
1590
1549
|
//#endregion
|
|
1591
1550
|
//#region src/components/ds-icon/custom-icons/special-yang-version-control.tsx
|
|
1592
1551
|
/**
|
|
@@ -1619,7 +1578,6 @@ const SpecialYangVersionControl = (props) => {
|
|
|
1619
1578
|
} else t1 = $[2];
|
|
1620
1579
|
return t1;
|
|
1621
1580
|
};
|
|
1622
|
-
|
|
1623
1581
|
//#endregion
|
|
1624
1582
|
//#region src/components/ds-icon/custom-icons/special-old-base-os.tsx
|
|
1625
1583
|
/**
|
|
@@ -1706,7 +1664,6 @@ const SpecialOldBaseOs = (props) => {
|
|
|
1706
1664
|
} else t7 = $[11];
|
|
1707
1665
|
return t7;
|
|
1708
1666
|
};
|
|
1709
|
-
|
|
1710
1667
|
//#endregion
|
|
1711
1668
|
//#region src/components/ds-icon/custom-icons/special-general-details.tsx
|
|
1712
1669
|
/**
|
|
@@ -1748,7 +1705,6 @@ const SpecialGeneralDetails = (props) => {
|
|
|
1748
1705
|
} else t2 = $[3];
|
|
1749
1706
|
return t2;
|
|
1750
1707
|
};
|
|
1751
|
-
|
|
1752
1708
|
//#endregion
|
|
1753
1709
|
//#region src/components/ds-icon/custom-icons/special-config-template.tsx
|
|
1754
1710
|
/**
|
|
@@ -1801,7 +1757,6 @@ const SpecialConfigTemplate = (props) => {
|
|
|
1801
1757
|
} else t3 = $[4];
|
|
1802
1758
|
return t3;
|
|
1803
1759
|
};
|
|
1804
|
-
|
|
1805
1760
|
//#endregion
|
|
1806
1761
|
//#region src/components/ds-icon/custom-icons/special-compare.tsx
|
|
1807
1762
|
/**
|
|
@@ -1834,7 +1789,6 @@ const SpecialCompare = (props) => {
|
|
|
1834
1789
|
} else t1 = $[2];
|
|
1835
1790
|
return t1;
|
|
1836
1791
|
};
|
|
1837
|
-
|
|
1838
1792
|
//#endregion
|
|
1839
1793
|
//#region src/components/ds-icon/custom-icons/special-webhook.tsx
|
|
1840
1794
|
/**
|
|
@@ -1867,7 +1821,6 @@ const SpecialWebhook = (props) => {
|
|
|
1867
1821
|
} else t1 = $[2];
|
|
1868
1822
|
return t1;
|
|
1869
1823
|
};
|
|
1870
|
-
|
|
1871
1824
|
//#endregion
|
|
1872
1825
|
//#region src/components/ds-icon/custom-icons/special-map-view.tsx
|
|
1873
1826
|
/**
|
|
@@ -2023,7 +1976,6 @@ const SpecialMapView = (props) => {
|
|
|
2023
1976
|
} else t13 = $[17];
|
|
2024
1977
|
return t13;
|
|
2025
1978
|
};
|
|
2026
|
-
|
|
2027
1979
|
//#endregion
|
|
2028
1980
|
//#region src/components/ds-icon/custom-icons/special-home.tsx
|
|
2029
1981
|
/**
|
|
@@ -2056,7 +2008,6 @@ const SpecialHome = (props) => {
|
|
|
2056
2008
|
} else t1 = $[2];
|
|
2057
2009
|
return t1;
|
|
2058
2010
|
};
|
|
2059
|
-
|
|
2060
2011
|
//#endregion
|
|
2061
2012
|
//#region src/components/ds-icon/custom-icons/special-lego.tsx
|
|
2062
2013
|
/**
|
|
@@ -2130,7 +2081,6 @@ const SpecialLego = (props) => {
|
|
|
2130
2081
|
} else t6 = $[10];
|
|
2131
2082
|
return t6;
|
|
2132
2083
|
};
|
|
2133
|
-
|
|
2134
2084
|
//#endregion
|
|
2135
2085
|
//#region src/components/ds-icon/custom-icons/special-scheme.tsx
|
|
2136
2086
|
/**
|
|
@@ -2189,7 +2139,6 @@ const SpecialScheme = (props) => {
|
|
|
2189
2139
|
} else t3 = $[4];
|
|
2190
2140
|
return t3;
|
|
2191
2141
|
};
|
|
2192
|
-
|
|
2193
2142
|
//#endregion
|
|
2194
2143
|
//#region src/components/ds-icon/custom-icons/special-book.tsx
|
|
2195
2144
|
/**
|
|
@@ -2254,7 +2203,6 @@ const SpecialBook = (props) => {
|
|
|
2254
2203
|
} else t5 = $[9];
|
|
2255
2204
|
return t5;
|
|
2256
2205
|
};
|
|
2257
|
-
|
|
2258
2206
|
//#endregion
|
|
2259
2207
|
//#region src/components/ds-icon/custom-icons/special-device.tsx
|
|
2260
2208
|
/**
|
|
@@ -2287,7 +2235,6 @@ const SpecialDevice = (props) => {
|
|
|
2287
2235
|
} else t1 = $[2];
|
|
2288
2236
|
return t1;
|
|
2289
2237
|
};
|
|
2290
|
-
|
|
2291
2238
|
//#endregion
|
|
2292
2239
|
//#region src/components/ds-icon/custom-icons/special-grouped-devices.tsx
|
|
2293
2240
|
/**
|
|
@@ -2340,7 +2287,6 @@ const SpecialGroupedDevices = (props) => {
|
|
|
2340
2287
|
} else t3 = $[4];
|
|
2341
2288
|
return t3;
|
|
2342
2289
|
};
|
|
2343
|
-
|
|
2344
2290
|
//#endregion
|
|
2345
2291
|
//#region src/components/ds-icon/custom-icons/special-fiber-circuit.tsx
|
|
2346
2292
|
/**
|
|
@@ -2382,7 +2328,6 @@ const SpecialFiberCircuit = (props) => {
|
|
|
2382
2328
|
} else t2 = $[3];
|
|
2383
2329
|
return t2;
|
|
2384
2330
|
};
|
|
2385
|
-
|
|
2386
2331
|
//#endregion
|
|
2387
2332
|
//#region src/components/ds-icon/custom-icons/special-netgen.tsx
|
|
2388
2333
|
/**
|
|
@@ -2437,7 +2382,6 @@ const SpecialNetgen = (props) => {
|
|
|
2437
2382
|
} else t3 = $[4];
|
|
2438
2383
|
return t3;
|
|
2439
2384
|
};
|
|
2440
|
-
|
|
2441
2385
|
//#endregion
|
|
2442
2386
|
//#region src/components/ds-icon/custom-icons/special-netgen-s.tsx
|
|
2443
2387
|
/**
|
|
@@ -2492,7 +2436,6 @@ const SpecialNetgenS = (props) => {
|
|
|
2492
2436
|
} else t3 = $[4];
|
|
2493
2437
|
return t3;
|
|
2494
2438
|
};
|
|
2495
|
-
|
|
2496
2439
|
//#endregion
|
|
2497
2440
|
//#region src/components/ds-icon/custom-icons/special-filter-list-active.tsx
|
|
2498
2441
|
/**
|
|
@@ -2537,7 +2480,6 @@ const SpecialFilterListActive = (props) => {
|
|
|
2537
2480
|
} else t2 = $[3];
|
|
2538
2481
|
return t2;
|
|
2539
2482
|
};
|
|
2540
|
-
|
|
2541
2483
|
//#endregion
|
|
2542
2484
|
//#region src/components/ds-icon/custom-icons/special-cached-active.tsx
|
|
2543
2485
|
/**
|
|
@@ -2582,7 +2524,6 @@ const SpecialCachedActive = (props) => {
|
|
|
2582
2524
|
} else t2 = $[3];
|
|
2583
2525
|
return t2;
|
|
2584
2526
|
};
|
|
2585
|
-
|
|
2586
2527
|
//#endregion
|
|
2587
2528
|
//#region src/components/ds-icon/custom-icons/special-running.tsx
|
|
2588
2529
|
/**
|
|
@@ -2615,7 +2556,6 @@ const SpecialRunning = (props) => {
|
|
|
2615
2556
|
} else t1 = $[2];
|
|
2616
2557
|
return t1;
|
|
2617
2558
|
};
|
|
2618
|
-
|
|
2619
2559
|
//#endregion
|
|
2620
2560
|
//#region src/components/ds-icon/custom-icons/special-warning.tsx
|
|
2621
2561
|
/**
|
|
@@ -2648,7 +2588,6 @@ const SpecialWarning = (props) => {
|
|
|
2648
2588
|
} else t1 = $[2];
|
|
2649
2589
|
return t1;
|
|
2650
2590
|
};
|
|
2651
|
-
|
|
2652
2591
|
//#endregion
|
|
2653
2592
|
//#region src/components/ds-icon/custom-icons/special-failed.tsx
|
|
2654
2593
|
/**
|
|
@@ -2681,7 +2620,6 @@ const SpecialFailed = (props) => {
|
|
|
2681
2620
|
} else t1 = $[2];
|
|
2682
2621
|
return t1;
|
|
2683
2622
|
};
|
|
2684
|
-
|
|
2685
2623
|
//#endregion
|
|
2686
2624
|
//#region src/components/ds-icon/custom-icons/special-paused.tsx
|
|
2687
2625
|
/**
|
|
@@ -2714,7 +2652,6 @@ const SpecialPaused = (props) => {
|
|
|
2714
2652
|
} else t1 = $[2];
|
|
2715
2653
|
return t1;
|
|
2716
2654
|
};
|
|
2717
|
-
|
|
2718
2655
|
//#endregion
|
|
2719
2656
|
//#region src/components/ds-icon/custom-icons/index.ts
|
|
2720
2657
|
const customIcons = {
|
|
@@ -2777,7 +2714,6 @@ const customIcons = {
|
|
|
2777
2714
|
const isCustomIcon = (icon) => {
|
|
2778
2715
|
return icon in customIcons;
|
|
2779
2716
|
};
|
|
2780
|
-
|
|
2781
2717
|
//#endregion
|
|
2782
2718
|
//#region src/components/ds-icon/ds-icon.tsx
|
|
2783
2719
|
/**
|
|
@@ -2876,7 +2812,6 @@ const DsIcon = (t0) => {
|
|
|
2876
2812
|
} else t8 = $[23];
|
|
2877
2813
|
return t8;
|
|
2878
2814
|
};
|
|
2879
|
-
|
|
2880
2815
|
//#endregion
|
|
2881
2816
|
//#region src/components/ds-icon/ds-icon.types.ts
|
|
2882
2817
|
const iconSizes = [
|
|
@@ -2887,7 +2822,6 @@ const iconSizes = [
|
|
|
2887
2822
|
"extra-large"
|
|
2888
2823
|
];
|
|
2889
2824
|
const iconVariants = ["outlined", "rounded"];
|
|
2890
|
-
|
|
2891
2825
|
//#endregion
|
|
2892
2826
|
//#region src/components/ds-typography/ds-typography.config.ts
|
|
2893
2827
|
const semanticElementMap = {
|
|
@@ -2915,7 +2849,6 @@ const semanticElementMap = {
|
|
|
2915
2849
|
heading3: "h3",
|
|
2916
2850
|
heading4: "h4"
|
|
2917
2851
|
};
|
|
2918
|
-
|
|
2919
2852
|
//#endregion
|
|
2920
2853
|
//#region src/components/ds-typography/ds-typography.module.scss
|
|
2921
2854
|
var ds_typography_module_default = {
|
|
@@ -2943,7 +2876,6 @@ var ds_typography_module_default = {
|
|
|
2943
2876
|
"code-xs-reg": "_code-xs-reg_h774x_1",
|
|
2944
2877
|
"code-xs-semi-bold": "_code-xs-semi-bold_h774x_1"
|
|
2945
2878
|
};
|
|
2946
|
-
|
|
2947
2879
|
//#endregion
|
|
2948
2880
|
//#region src/components/ds-typography/ds-typography.tsx
|
|
2949
2881
|
const DsTypography = (t0) => {
|
|
@@ -2997,7 +2929,6 @@ const DsTypography = (t0) => {
|
|
|
2997
2929
|
} else t4 = $[15];
|
|
2998
2930
|
return t4;
|
|
2999
2931
|
};
|
|
3000
|
-
|
|
3001
2932
|
//#endregion
|
|
3002
2933
|
//#region src/components/ds-alert-banner/ds-alert-banner.tsx
|
|
3003
2934
|
/**
|
|
@@ -3166,9 +3097,8 @@ const Actions$3 = (t0) => {
|
|
|
3166
3097
|
DsAlertBanner.Title = Title$2;
|
|
3167
3098
|
DsAlertBanner.Body = Body$3;
|
|
3168
3099
|
DsAlertBanner.Actions = Actions$3;
|
|
3169
|
-
|
|
3170
3100
|
//#endregion
|
|
3171
|
-
//#region src/components/ds-alert-banner/ds-alert-banner.types.
|
|
3101
|
+
//#region src/components/ds-alert-banner/ds-alert-banner.types.ts
|
|
3172
3102
|
const alertBannerVariants = [
|
|
3173
3103
|
"info-neutral",
|
|
3174
3104
|
"info-blue",
|
|
@@ -3176,7 +3106,6 @@ const alertBannerVariants = [
|
|
|
3176
3106
|
"error",
|
|
3177
3107
|
"success"
|
|
3178
3108
|
];
|
|
3179
|
-
|
|
3180
3109
|
//#endregion
|
|
3181
3110
|
//#region src/components/ds-autocomplete/ds-autocomplete.module.scss
|
|
3182
3111
|
var ds_autocomplete_module_default = {
|
|
@@ -3202,7 +3131,6 @@ var ds_autocomplete_module_default = {
|
|
|
3202
3131
|
"disabled": "_disabled_ox9ik_1",
|
|
3203
3132
|
"invalid": "_invalid_ox9ik_1"
|
|
3204
3133
|
};
|
|
3205
|
-
|
|
3206
3134
|
//#endregion
|
|
3207
3135
|
//#region src/components/ds-autocomplete/ds-autocomplete.tsx
|
|
3208
3136
|
const DsAutocomplete = (t0) => {
|
|
@@ -3446,7 +3374,6 @@ function _temp$20(item) {
|
|
|
3446
3374
|
function _temp2$8(item_0) {
|
|
3447
3375
|
return item_0.value;
|
|
3448
3376
|
}
|
|
3449
|
-
|
|
3450
3377
|
//#endregion
|
|
3451
3378
|
//#region src/components/ds-avatar/ds-avatar.module.scss
|
|
3452
3379
|
var ds_avatar_module_default = {
|
|
@@ -3461,7 +3388,6 @@ var ds_avatar_module_default = {
|
|
|
3461
3388
|
"xl": "_xl_1pkly_1",
|
|
3462
3389
|
"fallback": "_fallback_1pkly_1"
|
|
3463
3390
|
};
|
|
3464
|
-
|
|
3465
3391
|
//#endregion
|
|
3466
3392
|
//#region src/components/ds-tooltip/ds-tooltip.module.scss
|
|
3467
3393
|
var ds_tooltip_module_default = {
|
|
@@ -3469,7 +3395,6 @@ var ds_tooltip_module_default = {
|
|
|
3469
3395
|
"content": "_content_93aez_1",
|
|
3470
3396
|
"arrow": "_arrow_93aez_1"
|
|
3471
3397
|
};
|
|
3472
|
-
|
|
3473
3398
|
//#endregion
|
|
3474
3399
|
//#region src/components/ds-tooltip/ds-tooltip.tsx
|
|
3475
3400
|
const DsTooltip = (t0) => {
|
|
@@ -3529,7 +3454,6 @@ const DsTooltip = (t0) => {
|
|
|
3529
3454
|
} else t6 = $[10];
|
|
3530
3455
|
return t6;
|
|
3531
3456
|
};
|
|
3532
|
-
|
|
3533
3457
|
//#endregion
|
|
3534
3458
|
//#region src/components/ds-avatar/ds-avatar.tsx
|
|
3535
3459
|
/**
|
|
@@ -3616,7 +3540,6 @@ function _temp$19(w) {
|
|
|
3616
3540
|
function _temp2$7(name_0) {
|
|
3617
3541
|
return name_0.trim().split(" ").map(_temp$19).join("");
|
|
3618
3542
|
}
|
|
3619
|
-
|
|
3620
3543
|
//#endregion
|
|
3621
3544
|
//#region src/components/ds-avatar-group/ds-avatar-group.module.scss
|
|
3622
3545
|
var ds_avatar_group_module_default = {
|
|
@@ -3633,7 +3556,6 @@ var ds_avatar_group_module_default = {
|
|
|
3633
3556
|
"xl": "_xl_gp6iz_1",
|
|
3634
3557
|
"tooltipList": "_tooltipList_gp6iz_1"
|
|
3635
3558
|
};
|
|
3636
|
-
|
|
3637
3559
|
//#endregion
|
|
3638
3560
|
//#region src/components/ds-avatar-group/ds-avatar-group.tsx
|
|
3639
3561
|
/**
|
|
@@ -3712,7 +3634,6 @@ function _temp$18(avatar_0, index_0) {
|
|
|
3712
3634
|
children: avatar_0.name
|
|
3713
3635
|
}) }, `${avatar_0.name}-${String(index_0)}`);
|
|
3714
3636
|
}
|
|
3715
|
-
|
|
3716
3637
|
//#endregion
|
|
3717
3638
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.module.scss
|
|
3718
3639
|
var ds_breadcrumb_module_default = {
|
|
@@ -3726,32 +3647,30 @@ var ds_breadcrumb_module_default = {
|
|
|
3726
3647
|
"dropdownIcon": "_dropdownIcon_1784n_1",
|
|
3727
3648
|
"itemLabel": "_itemLabel_1784n_1"
|
|
3728
3649
|
};
|
|
3729
|
-
|
|
3730
3650
|
//#endregion
|
|
3731
3651
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss
|
|
3732
3652
|
var ds_dropdown_menu_module_default = {
|
|
3733
|
-
"content": "
|
|
3734
|
-
"expand": "
|
|
3735
|
-
"collapse": "
|
|
3736
|
-
"header": "
|
|
3737
|
-
"item": "
|
|
3738
|
-
"indicator": "
|
|
3739
|
-
"itemIcon": "
|
|
3740
|
-
"triggerItem": "
|
|
3741
|
-
"selected": "
|
|
3742
|
-
"label": "
|
|
3743
|
-
"separator": "
|
|
3744
|
-
"actions": "
|
|
3745
|
-
"groupLabel": "
|
|
3746
|
-
"groupLabelCollapsible": "
|
|
3747
|
-
"groupLabelIcon": "
|
|
3748
|
-
"groupLabelIconRotated": "
|
|
3749
|
-
"triggerItemIcon": "
|
|
3750
|
-
"contentLegacy": "
|
|
3751
|
-
"viewportLegacy": "
|
|
3752
|
-
"itemLegacy": "
|
|
3753
|
-
};
|
|
3754
|
-
|
|
3653
|
+
"content": "_content_m9k01_1",
|
|
3654
|
+
"expand": "_expand_m9k01_1",
|
|
3655
|
+
"collapse": "_collapse_m9k01_1",
|
|
3656
|
+
"header": "_header_m9k01_1",
|
|
3657
|
+
"item": "_item_m9k01_1",
|
|
3658
|
+
"indicator": "_indicator_m9k01_1",
|
|
3659
|
+
"itemIcon": "_itemIcon_m9k01_1",
|
|
3660
|
+
"triggerItem": "_triggerItem_m9k01_1",
|
|
3661
|
+
"selected": "_selected_m9k01_1",
|
|
3662
|
+
"label": "_label_m9k01_1",
|
|
3663
|
+
"separator": "_separator_m9k01_1",
|
|
3664
|
+
"actions": "_actions_m9k01_1",
|
|
3665
|
+
"groupLabel": "_groupLabel_m9k01_1",
|
|
3666
|
+
"groupLabelCollapsible": "_groupLabelCollapsible_m9k01_1",
|
|
3667
|
+
"groupLabelIcon": "_groupLabelIcon_m9k01_1",
|
|
3668
|
+
"groupLabelIconRotated": "_groupLabelIconRotated_m9k01_1",
|
|
3669
|
+
"triggerItemIcon": "_triggerItemIcon_m9k01_1",
|
|
3670
|
+
"contentLegacy": "_contentLegacy_m9k01_1",
|
|
3671
|
+
"viewportLegacy": "_viewportLegacy_m9k01_1",
|
|
3672
|
+
"itemLegacy": "_itemLegacy_m9k01_1"
|
|
3673
|
+
};
|
|
3755
3674
|
//#endregion
|
|
3756
3675
|
//#region src/components/ds-text-input/ds-text-input.module.scss
|
|
3757
3676
|
var ds_text_input_module_default = {
|
|
@@ -3764,70 +3683,70 @@ var ds_text_input_module_default = {
|
|
|
3764
3683
|
"indicator": "_indicator_16yro_1",
|
|
3765
3684
|
"adornment": "_adornment_16yro_1"
|
|
3766
3685
|
};
|
|
3767
|
-
|
|
3768
3686
|
//#endregion
|
|
3769
3687
|
//#region src/components/ds-text-input/ds-text-input.tsx
|
|
3770
3688
|
const DsTextInput = (t0) => {
|
|
3771
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
3772
|
-
const { id, ref, name, size: t1, type: t2, onBlur, onKeyDown, onChange, onValueChange, className, style: t3, value, defaultValue, min, max, minLength, maxLength, placeholder, disabled: t4, tabIndex, slots } = t0;
|
|
3689
|
+
const $ = (0, react_compiler_runtime.c)(42);
|
|
3690
|
+
const { id, ref, name, size: t1, type: t2, onFocus, onBlur, onKeyDown, onChange, onValueChange, className, style: t3, value, defaultValue, min, max, minLength, maxLength, placeholder, disabled: t4, readOnly: t5, tabIndex, slots } = t0;
|
|
3773
3691
|
const size = t1 === void 0 ? "default" : t1;
|
|
3774
3692
|
const type = t2 === void 0 ? "text" : t2;
|
|
3775
|
-
let
|
|
3693
|
+
let t6;
|
|
3776
3694
|
if ($[0] !== t3) {
|
|
3777
|
-
|
|
3695
|
+
t6 = t3 === void 0 ? {} : t3;
|
|
3778
3696
|
$[0] = t3;
|
|
3779
|
-
$[1] =
|
|
3780
|
-
} else
|
|
3781
|
-
const style =
|
|
3697
|
+
$[1] = t6;
|
|
3698
|
+
} else t6 = $[1];
|
|
3699
|
+
const style = t6;
|
|
3782
3700
|
const disabled = t4 === void 0 ? false : t4;
|
|
3701
|
+
const readOnly = t5 === void 0 ? false : t5;
|
|
3783
3702
|
const InputWrapper = slots?.inputWrapper ?? react.Fragment;
|
|
3784
|
-
const
|
|
3785
|
-
const
|
|
3786
|
-
let
|
|
3787
|
-
if ($[2] !== className || $[3] !==
|
|
3788
|
-
|
|
3789
|
-
[ds_text_input_module_default.small]:
|
|
3790
|
-
[ds_text_input_module_default.default]:
|
|
3703
|
+
const t7 = size === "small";
|
|
3704
|
+
const t8 = size === "default";
|
|
3705
|
+
let t9;
|
|
3706
|
+
if ($[2] !== className || $[3] !== t7 || $[4] !== t8) {
|
|
3707
|
+
t9 = (0, classnames.default)(ds_text_input_module_default.textInputContainer, {
|
|
3708
|
+
[ds_text_input_module_default.small]: t7,
|
|
3709
|
+
[ds_text_input_module_default.default]: t8
|
|
3791
3710
|
}, className);
|
|
3792
3711
|
$[2] = className;
|
|
3793
|
-
$[3] =
|
|
3794
|
-
$[4] =
|
|
3795
|
-
$[5] =
|
|
3796
|
-
} else
|
|
3797
|
-
const containerClass =
|
|
3798
|
-
let
|
|
3712
|
+
$[3] = t7;
|
|
3713
|
+
$[4] = t8;
|
|
3714
|
+
$[5] = t9;
|
|
3715
|
+
} else t9 = $[5];
|
|
3716
|
+
const containerClass = t9;
|
|
3717
|
+
let t10;
|
|
3799
3718
|
if ($[6] !== onChange || $[7] !== onValueChange) {
|
|
3800
|
-
|
|
3719
|
+
t10 = (event) => {
|
|
3801
3720
|
const newValue = event.target.value;
|
|
3802
3721
|
onChange?.(event);
|
|
3803
3722
|
onValueChange?.(newValue);
|
|
3804
3723
|
};
|
|
3805
3724
|
$[6] = onChange;
|
|
3806
3725
|
$[7] = onValueChange;
|
|
3807
|
-
$[8] =
|
|
3808
|
-
} else
|
|
3809
|
-
const handleChange =
|
|
3810
|
-
let
|
|
3726
|
+
$[8] = t10;
|
|
3727
|
+
} else t10 = $[8];
|
|
3728
|
+
const handleChange = t10;
|
|
3729
|
+
let t11;
|
|
3811
3730
|
if ($[9] !== slots) {
|
|
3812
|
-
|
|
3731
|
+
t11 = slots?.startAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
3813
3732
|
className: ds_text_input_module_default.adornment,
|
|
3814
3733
|
children: slots.startAdornment
|
|
3815
3734
|
});
|
|
3816
3735
|
$[9] = slots;
|
|
3817
|
-
$[10] =
|
|
3818
|
-
} else
|
|
3819
|
-
let t11;
|
|
3820
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3821
|
-
t11 = (0, classnames.default)(ds_text_input_module_default.input);
|
|
3822
|
-
$[11] = t11;
|
|
3823
|
-
} else t11 = $[11];
|
|
3736
|
+
$[10] = t11;
|
|
3737
|
+
} else t11 = $[10];
|
|
3824
3738
|
let t12;
|
|
3825
|
-
if ($[
|
|
3826
|
-
t12 =
|
|
3739
|
+
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3740
|
+
t12 = (0, classnames.default)(ds_text_input_module_default.input);
|
|
3741
|
+
$[11] = t12;
|
|
3742
|
+
} else t12 = $[11];
|
|
3743
|
+
let t13;
|
|
3744
|
+
if ($[12] !== defaultValue || $[13] !== disabled || $[14] !== handleChange || $[15] !== id || $[16] !== max || $[17] !== maxLength || $[18] !== min || $[19] !== minLength || $[20] !== name || $[21] !== onBlur || $[22] !== onFocus || $[23] !== onKeyDown || $[24] !== placeholder || $[25] !== readOnly || $[26] !== ref || $[27] !== tabIndex || $[28] !== type || $[29] !== value) {
|
|
3745
|
+
t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
3827
3746
|
id,
|
|
3828
3747
|
ref,
|
|
3829
3748
|
name,
|
|
3830
|
-
className:
|
|
3749
|
+
className: t12,
|
|
3831
3750
|
type,
|
|
3832
3751
|
value,
|
|
3833
3752
|
defaultValue,
|
|
@@ -3836,7 +3755,9 @@ const DsTextInput = (t0) => {
|
|
|
3836
3755
|
minLength,
|
|
3837
3756
|
maxLength,
|
|
3838
3757
|
placeholder,
|
|
3758
|
+
readOnly,
|
|
3839
3759
|
disabled,
|
|
3760
|
+
onFocus,
|
|
3840
3761
|
onBlur,
|
|
3841
3762
|
onKeyDown,
|
|
3842
3763
|
onChange: handleChange,
|
|
@@ -3852,51 +3773,55 @@ const DsTextInput = (t0) => {
|
|
|
3852
3773
|
$[19] = minLength;
|
|
3853
3774
|
$[20] = name;
|
|
3854
3775
|
$[21] = onBlur;
|
|
3855
|
-
$[22] =
|
|
3856
|
-
$[23] =
|
|
3857
|
-
$[24] =
|
|
3858
|
-
$[25] =
|
|
3859
|
-
$[26] =
|
|
3860
|
-
$[27] =
|
|
3861
|
-
$[28] =
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputWrapper, { children: t12 });
|
|
3866
|
-
$[29] = InputWrapper;
|
|
3867
|
-
$[30] = t12;
|
|
3868
|
-
$[31] = t13;
|
|
3869
|
-
} else t13 = $[31];
|
|
3776
|
+
$[22] = onFocus;
|
|
3777
|
+
$[23] = onKeyDown;
|
|
3778
|
+
$[24] = placeholder;
|
|
3779
|
+
$[25] = readOnly;
|
|
3780
|
+
$[26] = ref;
|
|
3781
|
+
$[27] = tabIndex;
|
|
3782
|
+
$[28] = type;
|
|
3783
|
+
$[29] = value;
|
|
3784
|
+
$[30] = t13;
|
|
3785
|
+
} else t13 = $[30];
|
|
3870
3786
|
let t14;
|
|
3871
|
-
if ($[32] !==
|
|
3872
|
-
t14 =
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
});
|
|
3876
|
-
$[32] = slots;
|
|
3787
|
+
if ($[31] !== InputWrapper || $[32] !== t13) {
|
|
3788
|
+
t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputWrapper, { children: t13 });
|
|
3789
|
+
$[31] = InputWrapper;
|
|
3790
|
+
$[32] = t13;
|
|
3877
3791
|
$[33] = t14;
|
|
3878
3792
|
} else t14 = $[33];
|
|
3879
3793
|
let t15;
|
|
3880
|
-
if ($[34] !==
|
|
3881
|
-
t15 = /* @__PURE__ */ (0, react_jsx_runtime.
|
|
3794
|
+
if ($[34] !== slots) {
|
|
3795
|
+
t15 = slots?.endAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
3796
|
+
className: ds_text_input_module_default.adornment,
|
|
3797
|
+
children: slots.endAdornment
|
|
3798
|
+
});
|
|
3799
|
+
$[34] = slots;
|
|
3800
|
+
$[35] = t15;
|
|
3801
|
+
} else t15 = $[35];
|
|
3802
|
+
let t16;
|
|
3803
|
+
if ($[36] !== containerClass || $[37] !== style || $[38] !== t11 || $[39] !== t14 || $[40] !== t15) {
|
|
3804
|
+
t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3882
3805
|
className: containerClass,
|
|
3883
3806
|
style,
|
|
3884
3807
|
children: [
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3808
|
+
t11,
|
|
3809
|
+
t14,
|
|
3810
|
+
t15
|
|
3888
3811
|
]
|
|
3889
3812
|
});
|
|
3890
|
-
$[
|
|
3891
|
-
$[
|
|
3892
|
-
$[
|
|
3893
|
-
$[
|
|
3894
|
-
$[
|
|
3895
|
-
$[
|
|
3896
|
-
} else
|
|
3897
|
-
return
|
|
3813
|
+
$[36] = containerClass;
|
|
3814
|
+
$[37] = style;
|
|
3815
|
+
$[38] = t11;
|
|
3816
|
+
$[39] = t14;
|
|
3817
|
+
$[40] = t15;
|
|
3818
|
+
$[41] = t16;
|
|
3819
|
+
} else t16 = $[41];
|
|
3820
|
+
return t16;
|
|
3898
3821
|
};
|
|
3899
|
-
|
|
3822
|
+
//#endregion
|
|
3823
|
+
//#region src/components/ds-text-input/ds-text-input.types.ts
|
|
3824
|
+
const textInputSizes = ["small", "default"];
|
|
3900
3825
|
//#endregion
|
|
3901
3826
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.tsx
|
|
3902
3827
|
const GroupContext = (0, react.createContext)(null);
|
|
@@ -4565,11 +4490,6 @@ function _temp$17(e) {
|
|
|
4565
4490
|
function _temp2$6(e) {
|
|
4566
4491
|
return e.stopPropagation();
|
|
4567
4492
|
}
|
|
4568
|
-
|
|
4569
|
-
//#endregion
|
|
4570
|
-
//#region src/components/ds-text-input/ds-text-input.types.tsx
|
|
4571
|
-
const textInputSizes = ["small", "default"];
|
|
4572
|
-
|
|
4573
4493
|
//#endregion
|
|
4574
4494
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
|
|
4575
4495
|
/**
|
|
@@ -4685,7 +4605,6 @@ const DsBreadcrumb = (t0) => {
|
|
|
4685
4605
|
function _temp$16(e) {
|
|
4686
4606
|
return e.stopPropagation();
|
|
4687
4607
|
}
|
|
4688
|
-
|
|
4689
4608
|
//#endregion
|
|
4690
4609
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss
|
|
4691
4610
|
var ds_button_legacy_module_default = {
|
|
@@ -4710,11 +4629,11 @@ var ds_button_legacy_module_default = {
|
|
|
4710
4629
|
"error-round": "_error-round_c7rg5_1",
|
|
4711
4630
|
"error-dashed": "_error-dashed_c7rg5_1"
|
|
4712
4631
|
};
|
|
4713
|
-
|
|
4714
4632
|
//#endregion
|
|
4715
4633
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx
|
|
4716
4634
|
/**
|
|
4717
4635
|
* Design system Button component
|
|
4636
|
+
* @deprecated Use [DsButton](../ds-button-new/ds-button-new.tsx) instead.
|
|
4718
4637
|
*/
|
|
4719
4638
|
const DsButton$2 = (t0) => {
|
|
4720
4639
|
const $ = (0, react_compiler_runtime.c)(23);
|
|
@@ -4795,30 +4714,29 @@ const DsButton$2 = (t0) => {
|
|
|
4795
4714
|
} else t10 = $[22];
|
|
4796
4715
|
return t10;
|
|
4797
4716
|
};
|
|
4798
|
-
|
|
4799
4717
|
//#endregion
|
|
4800
4718
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss
|
|
4801
4719
|
var ds_button_new_module_default = {
|
|
4802
|
-
"button": "
|
|
4803
|
-
"content": "
|
|
4804
|
-
"
|
|
4805
|
-
"
|
|
4806
|
-
"
|
|
4807
|
-
"
|
|
4808
|
-
"
|
|
4809
|
-
"
|
|
4810
|
-
"
|
|
4811
|
-
"
|
|
4812
|
-
"
|
|
4813
|
-
"
|
|
4814
|
-
"
|
|
4815
|
-
"
|
|
4816
|
-
"
|
|
4817
|
-
"
|
|
4818
|
-
"secondary-
|
|
4819
|
-
"
|
|
4820
|
-
|
|
4821
|
-
|
|
4720
|
+
"button": "_button_2ztys_1",
|
|
4721
|
+
"content": "_content_2ztys_1",
|
|
4722
|
+
"tiny": "_tiny_2ztys_1",
|
|
4723
|
+
"small": "_small_2ztys_1",
|
|
4724
|
+
"medium": "_medium_2ztys_1",
|
|
4725
|
+
"large": "_large_2ztys_1",
|
|
4726
|
+
"iconButton": "_iconButton_2ztys_1",
|
|
4727
|
+
"primary-filled": "_primary-filled_2ztys_1",
|
|
4728
|
+
"secondary-filled": "_secondary-filled_2ztys_1",
|
|
4729
|
+
"tertiary-filled": "_tertiary-filled_2ztys_1",
|
|
4730
|
+
"secondary-ghost": "_secondary-ghost_2ztys_1",
|
|
4731
|
+
"tertiary-ghost": "_tertiary-ghost_2ztys_1",
|
|
4732
|
+
"primary-danger": "_primary-danger_2ztys_1",
|
|
4733
|
+
"secondary-danger": "_secondary-danger_2ztys_1",
|
|
4734
|
+
"tertiary-danger": "_tertiary-danger_2ztys_1",
|
|
4735
|
+
"primary-dark": "_primary-dark_2ztys_1",
|
|
4736
|
+
"secondary-dark": "_secondary-dark_2ztys_1",
|
|
4737
|
+
"secondary-light-dark": "_secondary-light-dark_2ztys_1",
|
|
4738
|
+
"tertiary-dark": "_tertiary-dark_2ztys_1"
|
|
4739
|
+
};
|
|
4822
4740
|
//#endregion
|
|
4823
4741
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.tsx
|
|
4824
4742
|
const isIconOnly = (children) => {
|
|
@@ -4908,7 +4826,6 @@ const DsButton$1 = (t0) => {
|
|
|
4908
4826
|
} else t7 = $[24];
|
|
4909
4827
|
return t7;
|
|
4910
4828
|
};
|
|
4911
|
-
|
|
4912
4829
|
//#endregion
|
|
4913
4830
|
//#region src/components/ds-button/ds-button.tsx
|
|
4914
4831
|
const DsButton = (props) => {
|
|
@@ -4930,7 +4847,6 @@ const DsButton = (props) => {
|
|
|
4930
4847
|
} else t0 = $[3];
|
|
4931
4848
|
return t0;
|
|
4932
4849
|
};
|
|
4933
|
-
|
|
4934
4850
|
//#endregion
|
|
4935
4851
|
//#region src/components/ds-card/ds-card.module.scss
|
|
4936
4852
|
var ds_card_module_default = {
|
|
@@ -4939,7 +4855,6 @@ var ds_card_module_default = {
|
|
|
4939
4855
|
"body": "_body_qqvx6_1",
|
|
4940
4856
|
"footer": "_footer_qqvx6_1"
|
|
4941
4857
|
};
|
|
4942
|
-
|
|
4943
4858
|
//#endregion
|
|
4944
4859
|
//#region src/components/ds-card/ds-card.tsx
|
|
4945
4860
|
/**
|
|
@@ -5194,7 +5109,6 @@ const DsCard = {
|
|
|
5194
5109
|
Body: Body$2,
|
|
5195
5110
|
Footer: Footer$2
|
|
5196
5111
|
};
|
|
5197
|
-
|
|
5198
5112
|
//#endregion
|
|
5199
5113
|
//#region src/components/ds-card/ds-card.types.ts
|
|
5200
5114
|
const cardSizes = [
|
|
@@ -5202,25 +5116,25 @@ const cardSizes = [
|
|
|
5202
5116
|
"medium",
|
|
5203
5117
|
"large"
|
|
5204
5118
|
];
|
|
5205
|
-
|
|
5206
5119
|
//#endregion
|
|
5207
5120
|
//#region src/components/ds-checkbox/ds-checkbox.module.scss
|
|
5208
5121
|
var ds_checkbox_module_default = {
|
|
5209
|
-
"container": "
|
|
5210
|
-
"labelInfo": "
|
|
5211
|
-
"
|
|
5212
|
-
"
|
|
5213
|
-
"
|
|
5214
|
-
"
|
|
5122
|
+
"container": "_container_1voix_1",
|
|
5123
|
+
"labelInfo": "_labelInfo_1voix_1",
|
|
5124
|
+
"label": "_label_1voix_1",
|
|
5125
|
+
"checkboxRoot": "_checkboxRoot_1voix_1",
|
|
5126
|
+
"checkboxWrapper": "_checkboxWrapper_1voix_1",
|
|
5127
|
+
"checkboxIndicator": "_checkboxIndicator_1voix_1",
|
|
5128
|
+
"default": "_default_1voix_1",
|
|
5129
|
+
"warning": "_warning_1voix_1"
|
|
5215
5130
|
};
|
|
5216
|
-
|
|
5217
5131
|
//#endregion
|
|
5218
5132
|
//#region src/components/ds-checkbox/ds-checkbox.tsx
|
|
5219
5133
|
/**
|
|
5220
5134
|
* Design system Checkbox component
|
|
5221
5135
|
*/
|
|
5222
5136
|
const DsCheckbox = (t0) => {
|
|
5223
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
5137
|
+
const $ = (0, react_compiler_runtime.c)(30);
|
|
5224
5138
|
let checked;
|
|
5225
5139
|
let className;
|
|
5226
5140
|
let defaultChecked;
|
|
@@ -5229,8 +5143,9 @@ const DsCheckbox = (t0) => {
|
|
|
5229
5143
|
let labelInfo;
|
|
5230
5144
|
let onCheckedChange;
|
|
5231
5145
|
let props;
|
|
5146
|
+
let t1;
|
|
5232
5147
|
if ($[0] !== t0) {
|
|
5233
|
-
({id, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
|
|
5148
|
+
({id, variant: t1, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
|
|
5234
5149
|
$[0] = t0;
|
|
5235
5150
|
$[1] = checked;
|
|
5236
5151
|
$[2] = className;
|
|
@@ -5240,6 +5155,7 @@ const DsCheckbox = (t0) => {
|
|
|
5240
5155
|
$[6] = labelInfo;
|
|
5241
5156
|
$[7] = onCheckedChange;
|
|
5242
5157
|
$[8] = props;
|
|
5158
|
+
$[9] = t1;
|
|
5243
5159
|
} else {
|
|
5244
5160
|
checked = $[1];
|
|
5245
5161
|
className = $[2];
|
|
@@ -5249,54 +5165,58 @@ const DsCheckbox = (t0) => {
|
|
|
5249
5165
|
labelInfo = $[6];
|
|
5250
5166
|
onCheckedChange = $[7];
|
|
5251
5167
|
props = $[8];
|
|
5168
|
+
t1 = $[9];
|
|
5252
5169
|
}
|
|
5170
|
+
const variant = t1 === void 0 ? "default" : t1;
|
|
5253
5171
|
const generatedId = (0, react.useId)();
|
|
5254
5172
|
const checkboxId = id || generatedId;
|
|
5255
|
-
|
|
5256
|
-
if ($[9] !== className) {
|
|
5257
|
-
t1 = (0, classnames.default)(ds_checkbox_module_default.container, className);
|
|
5258
|
-
$[9] = className;
|
|
5259
|
-
$[10] = t1;
|
|
5260
|
-
} else t1 = $[10];
|
|
5261
|
-
const t2 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
|
|
5173
|
+
const t2 = ds_checkbox_module_default[variant];
|
|
5262
5174
|
let t3;
|
|
5263
|
-
if ($[11] !== t2) {
|
|
5264
|
-
t3 =
|
|
5175
|
+
if ($[10] !== className || $[11] !== t2) {
|
|
5176
|
+
t3 = (0, classnames.default)(ds_checkbox_module_default.container, t2, className);
|
|
5177
|
+
$[10] = className;
|
|
5178
|
+
$[11] = t2;
|
|
5179
|
+
$[12] = t3;
|
|
5180
|
+
} else t3 = $[12];
|
|
5181
|
+
const t4 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
|
|
5182
|
+
let t5;
|
|
5183
|
+
if ($[13] !== t4) {
|
|
5184
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
5265
5185
|
className: ds_checkbox_module_default.checkboxWrapper,
|
|
5266
5186
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Indicator, {
|
|
5267
5187
|
className: ds_checkbox_module_default.checkboxIndicator,
|
|
5268
5188
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
5269
|
-
icon:
|
|
5189
|
+
icon: t4,
|
|
5270
5190
|
size: "small",
|
|
5271
5191
|
variant: "outlined"
|
|
5272
5192
|
})
|
|
5273
5193
|
})
|
|
5274
5194
|
});
|
|
5275
|
-
$[
|
|
5276
|
-
$[
|
|
5277
|
-
} else
|
|
5278
|
-
let
|
|
5279
|
-
if ($[
|
|
5280
|
-
|
|
5195
|
+
$[13] = t4;
|
|
5196
|
+
$[14] = t5;
|
|
5197
|
+
} else t5 = $[14];
|
|
5198
|
+
let t6;
|
|
5199
|
+
if ($[15] !== checkboxId || $[16] !== checked || $[17] !== defaultChecked || $[18] !== onCheckedChange || $[19] !== props || $[20] !== t5) {
|
|
5200
|
+
t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
|
|
5281
5201
|
className: ds_checkbox_module_default.checkboxRoot,
|
|
5282
5202
|
id: checkboxId,
|
|
5283
5203
|
checked,
|
|
5284
5204
|
defaultChecked,
|
|
5285
5205
|
onCheckedChange,
|
|
5286
5206
|
...props,
|
|
5287
|
-
children:
|
|
5207
|
+
children: t5
|
|
5288
5208
|
});
|
|
5289
|
-
$[
|
|
5290
|
-
$[
|
|
5291
|
-
$[
|
|
5292
|
-
$[
|
|
5293
|
-
$[
|
|
5294
|
-
$[
|
|
5295
|
-
$[
|
|
5296
|
-
} else
|
|
5297
|
-
let
|
|
5298
|
-
if ($[
|
|
5299
|
-
|
|
5209
|
+
$[15] = checkboxId;
|
|
5210
|
+
$[16] = checked;
|
|
5211
|
+
$[17] = defaultChecked;
|
|
5212
|
+
$[18] = onCheckedChange;
|
|
5213
|
+
$[19] = props;
|
|
5214
|
+
$[20] = t5;
|
|
5215
|
+
$[21] = t6;
|
|
5216
|
+
} else t6 = $[21];
|
|
5217
|
+
let t7;
|
|
5218
|
+
if ($[22] !== checkboxId || $[23] !== label || $[24] !== labelInfo) {
|
|
5219
|
+
t7 = label && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
5300
5220
|
className: ds_checkbox_module_default.label,
|
|
5301
5221
|
htmlFor: checkboxId,
|
|
5302
5222
|
children: [label, labelInfo && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -5304,25 +5224,27 @@ const DsCheckbox = (t0) => {
|
|
|
5304
5224
|
children: labelInfo
|
|
5305
5225
|
})]
|
|
5306
5226
|
});
|
|
5307
|
-
$[
|
|
5308
|
-
$[
|
|
5309
|
-
$[
|
|
5310
|
-
$[
|
|
5311
|
-
} else
|
|
5312
|
-
let
|
|
5313
|
-
if ($[
|
|
5314
|
-
|
|
5315
|
-
className:
|
|
5316
|
-
children: [
|
|
5227
|
+
$[22] = checkboxId;
|
|
5228
|
+
$[23] = label;
|
|
5229
|
+
$[24] = labelInfo;
|
|
5230
|
+
$[25] = t7;
|
|
5231
|
+
} else t7 = $[25];
|
|
5232
|
+
let t8;
|
|
5233
|
+
if ($[26] !== t3 || $[27] !== t6 || $[28] !== t7) {
|
|
5234
|
+
t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5235
|
+
className: t3,
|
|
5236
|
+
children: [t6, t7]
|
|
5317
5237
|
});
|
|
5318
|
-
$[
|
|
5319
|
-
$[25] = t4;
|
|
5320
|
-
$[26] = t5;
|
|
5238
|
+
$[26] = t3;
|
|
5321
5239
|
$[27] = t6;
|
|
5322
|
-
|
|
5323
|
-
|
|
5240
|
+
$[28] = t7;
|
|
5241
|
+
$[29] = t8;
|
|
5242
|
+
} else t8 = $[29];
|
|
5243
|
+
return t8;
|
|
5324
5244
|
};
|
|
5325
|
-
|
|
5245
|
+
//#endregion
|
|
5246
|
+
//#region src/components/ds-checkbox/ds-checkbox.types.ts
|
|
5247
|
+
const checkboxVariants = ["default", "warning"];
|
|
5326
5248
|
//#endregion
|
|
5327
5249
|
//#region src/components/ds-chip/ds-chip.module.scss
|
|
5328
5250
|
var ds_chip_module_default = {
|
|
@@ -5332,7 +5254,6 @@ var ds_chip_module_default = {
|
|
|
5332
5254
|
"label": "_label_1mzbj_1",
|
|
5333
5255
|
"deleteButton": "_deleteButton_1mzbj_1"
|
|
5334
5256
|
};
|
|
5335
|
-
|
|
5336
5257
|
//#endregion
|
|
5337
5258
|
//#region src/components/ds-chip/ds-chip.tsx
|
|
5338
5259
|
/**
|
|
@@ -5450,7 +5371,6 @@ const DsChip = (t0) => {
|
|
|
5450
5371
|
} else t17 = $[28];
|
|
5451
5372
|
return t17;
|
|
5452
5373
|
};
|
|
5453
|
-
|
|
5454
5374
|
//#endregion
|
|
5455
5375
|
//#region src/components/ds-chip-group/ds-chip-group.module.scss
|
|
5456
5376
|
var ds_chip_group_module_default = {
|
|
@@ -5463,7 +5383,6 @@ var ds_chip_group_module_default = {
|
|
|
5463
5383
|
"dialogContent": "_dialogContent_19chu_1",
|
|
5464
5384
|
"itemCheckbox": "_itemCheckbox_19chu_1"
|
|
5465
5385
|
};
|
|
5466
|
-
|
|
5467
5386
|
//#endregion
|
|
5468
5387
|
//#region src/components/ds-chip-group/hooks/use-chip-row-calculation.ts
|
|
5469
5388
|
/**
|
|
@@ -5511,7 +5430,6 @@ const useChipRowCalculation = ({ chipsWrapperRef, totalFilters }) => {
|
|
|
5511
5430
|
}, [chipsWrapperRef, totalFilters]);
|
|
5512
5431
|
return visibleCount;
|
|
5513
5432
|
};
|
|
5514
|
-
|
|
5515
5433
|
//#endregion
|
|
5516
5434
|
//#region src/components/ds-chip-group/ds-chip-group.tsx
|
|
5517
5435
|
/**
|
|
@@ -5597,38 +5515,32 @@ const DsChipGroup = ({ items, label = "Filtered by:", onClearAll, onItemDelete,
|
|
|
5597
5515
|
]
|
|
5598
5516
|
});
|
|
5599
5517
|
};
|
|
5600
|
-
|
|
5601
5518
|
//#endregion
|
|
5602
5519
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.module.scss
|
|
5603
5520
|
var ds_comment_bubble_module_default = {
|
|
5604
|
-
"
|
|
5605
|
-
"
|
|
5606
|
-
"
|
|
5607
|
-
"
|
|
5608
|
-
"
|
|
5609
|
-
"
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5612
|
-
"
|
|
5613
|
-
"
|
|
5614
|
-
"
|
|
5615
|
-
"
|
|
5616
|
-
"
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
5621
|
-
"
|
|
5622
|
-
"
|
|
5623
|
-
"
|
|
5624
|
-
"
|
|
5625
|
-
"
|
|
5626
|
-
|
|
5627
|
-
"dropdownContent": "_dropdownContent_830mk_1",
|
|
5628
|
-
"dropdownItem": "_dropdownItem_830mk_1",
|
|
5629
|
-
"danger": "_danger_830mk_1"
|
|
5630
|
-
};
|
|
5631
|
-
|
|
5521
|
+
"bubble": "_bubble_1rqfe_1",
|
|
5522
|
+
"actionRequired": "_actionRequired_1rqfe_1",
|
|
5523
|
+
"initial": "_initial_1rqfe_1",
|
|
5524
|
+
"inputArea": "_inputArea_1rqfe_1",
|
|
5525
|
+
"inputWrapper": "_inputWrapper_1rqfe_1",
|
|
5526
|
+
"textarea": "_textarea_1rqfe_1",
|
|
5527
|
+
"typing": "_typing_1rqfe_1",
|
|
5528
|
+
"thread": "_thread_1rqfe_1",
|
|
5529
|
+
"header": "_header_1rqfe_1",
|
|
5530
|
+
"headerLeft": "_headerLeft_1rqfe_1",
|
|
5531
|
+
"headerInfo": "_headerInfo_1rqfe_1",
|
|
5532
|
+
"commentId": "_commentId_1rqfe_1",
|
|
5533
|
+
"actionRequiredBadge": "_actionRequiredBadge_1rqfe_1",
|
|
5534
|
+
"headerRight": "_headerRight_1rqfe_1",
|
|
5535
|
+
"headerActions": "_headerActions_1rqfe_1",
|
|
5536
|
+
"searchIcon": "_searchIcon_1rqfe_1",
|
|
5537
|
+
"infoIcon": "_infoIcon_1rqfe_1",
|
|
5538
|
+
"footer": "_footer_1rqfe_1",
|
|
5539
|
+
"sendButton": "_sendButton_1rqfe_1",
|
|
5540
|
+
"dropdownContent": "_dropdownContent_1rqfe_1",
|
|
5541
|
+
"dropdownItem": "_dropdownItem_1rqfe_1",
|
|
5542
|
+
"danger": "_danger_1rqfe_1"
|
|
5543
|
+
};
|
|
5632
5544
|
//#endregion
|
|
5633
5545
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss
|
|
5634
5546
|
var ds_comment_thread_module_default = {
|
|
@@ -5638,33 +5550,28 @@ var ds_comment_thread_module_default = {
|
|
|
5638
5550
|
"overflowShadow": "_overflowShadow_4z8cr_1",
|
|
5639
5551
|
"visible": "_visible_4z8cr_1"
|
|
5640
5552
|
};
|
|
5641
|
-
|
|
5642
5553
|
//#endregion
|
|
5643
5554
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss
|
|
5644
5555
|
var ds_thread_item_module_default = {
|
|
5645
|
-
"
|
|
5646
|
-
"
|
|
5647
|
-
"
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5650
|
-
"
|
|
5651
|
-
"
|
|
5652
|
-
"
|
|
5653
|
-
"
|
|
5654
|
-
"
|
|
5655
|
-
"
|
|
5656
|
-
"
|
|
5657
|
-
"
|
|
5658
|
-
"
|
|
5659
|
-
"
|
|
5660
|
-
|
|
5661
|
-
"dropdownContent": "_dropdownContent_nzgsh_1"
|
|
5662
|
-
};
|
|
5663
|
-
|
|
5556
|
+
"threadItem": "_threadItem_1pe6o_1",
|
|
5557
|
+
"actions": "_actions_1pe6o_1",
|
|
5558
|
+
"alignRight": "_alignRight_1pe6o_1",
|
|
5559
|
+
"content": "_content_1pe6o_1",
|
|
5560
|
+
"message": "_message_1pe6o_1",
|
|
5561
|
+
"avatarWrapper": "_avatarWrapper_1pe6o_1",
|
|
5562
|
+
"avatar": "_avatar_1pe6o_1",
|
|
5563
|
+
"avatarFallback": "_avatarFallback_1pe6o_1",
|
|
5564
|
+
"header": "_header_1pe6o_1",
|
|
5565
|
+
"authorName": "_authorName_1pe6o_1",
|
|
5566
|
+
"timestamp": "_timestamp_1pe6o_1",
|
|
5567
|
+
"editContainer": "_editContainer_1pe6o_1",
|
|
5568
|
+
"editTextarea": "_editTextarea_1pe6o_1",
|
|
5569
|
+
"editActions": "_editActions_1pe6o_1",
|
|
5570
|
+
"dropdownContent": "_dropdownContent_1pe6o_1"
|
|
5571
|
+
};
|
|
5664
5572
|
//#endregion
|
|
5665
5573
|
//#region src/components/ds-textarea/ds-textarea.module.scss
|
|
5666
5574
|
var ds_textarea_module_default = { "textarea": "_textarea_12k7t_1" };
|
|
5667
|
-
|
|
5668
5575
|
//#endregion
|
|
5669
5576
|
//#region src/components/ds-textarea/ds-textarea.tsx
|
|
5670
5577
|
const DsTextarea = (t0) => {
|
|
@@ -5733,7 +5640,6 @@ const DsTextarea = (t0) => {
|
|
|
5733
5640
|
} else t7 = $[21];
|
|
5734
5641
|
return t7;
|
|
5735
5642
|
};
|
|
5736
|
-
|
|
5737
5643
|
//#endregion
|
|
5738
5644
|
//#region src/utils/format-relative-time.ts
|
|
5739
5645
|
const SECONDS_PER_MINUTE = 60;
|
|
@@ -5762,7 +5668,6 @@ const formatRelativeTime = (date) => {
|
|
|
5762
5668
|
if (diffYears >= 1) return `${String(diffYears)}y ago`;
|
|
5763
5669
|
return `${String(diffMonths)}mo ago`;
|
|
5764
5670
|
};
|
|
5765
|
-
|
|
5766
5671
|
//#endregion
|
|
5767
5672
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx
|
|
5768
5673
|
const DsThreadItem = (t0) => {
|
|
@@ -5934,10 +5839,8 @@ const DsThreadItem = (t0) => {
|
|
|
5934
5839
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
5935
5840
|
design: "v1.2",
|
|
5936
5841
|
buttonType: "tertiary",
|
|
5937
|
-
size: "
|
|
5842
|
+
size: "tiny",
|
|
5938
5843
|
"aria-label": "More actions",
|
|
5939
|
-
className: ds_thread_item_module_default.actionButton,
|
|
5940
|
-
contentClassName: ds_thread_item_module_default.iconButtonContent,
|
|
5941
5844
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
5942
5845
|
icon: "more_vert",
|
|
5943
5846
|
size: "tiny"
|
|
@@ -5965,11 +5868,9 @@ const DsThreadItem = (t0) => {
|
|
|
5965
5868
|
})] }), onResolved && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
5966
5869
|
design: "v1.2",
|
|
5967
5870
|
buttonType: "tertiary",
|
|
5968
|
-
size: "
|
|
5871
|
+
size: "tiny",
|
|
5969
5872
|
onClick: () => onResolved(id),
|
|
5970
5873
|
"aria-label": "Mark message as resolved",
|
|
5971
|
-
className: ds_thread_item_module_default.actionButton,
|
|
5972
|
-
contentClassName: ds_thread_item_module_default.iconButtonContent,
|
|
5973
5874
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
5974
5875
|
icon: "check_circle",
|
|
5975
5876
|
size: "tiny"
|
|
@@ -6003,7 +5904,6 @@ const DsThreadItem = (t0) => {
|
|
|
6003
5904
|
} else t18 = $[51];
|
|
6004
5905
|
return t18;
|
|
6005
5906
|
};
|
|
6006
|
-
|
|
6007
5907
|
//#endregion
|
|
6008
5908
|
//#region src/components/ds-comment-bubble/hooks/use-click-outside.ts
|
|
6009
5909
|
const useClickOutside = (ref, onClickOutside, t0) => {
|
|
@@ -6036,7 +5936,6 @@ const useClickOutside = (ref, onClickOutside, t0) => {
|
|
|
6036
5936
|
}
|
|
6037
5937
|
(0, react.useEffect)(t1, t2);
|
|
6038
5938
|
};
|
|
6039
|
-
|
|
6040
5939
|
//#endregion
|
|
6041
5940
|
//#region src/components/ds-comment-bubble/hooks/use-auto-resize.ts
|
|
6042
5941
|
const useAutoResize = (ref, value, t0) => {
|
|
@@ -6068,7 +5967,6 @@ const useAutoResize = (ref, value, t0) => {
|
|
|
6068
5967
|
} else t2 = $[6];
|
|
6069
5968
|
(0, react.useLayoutEffect)(t1, t2);
|
|
6070
5969
|
};
|
|
6071
|
-
|
|
6072
5970
|
//#endregion
|
|
6073
5971
|
//#region src/components/ds-comment-bubble/hooks/use-scroll-overflow.ts
|
|
6074
5972
|
const useScrollOverflow = (ref, dependency) => {
|
|
@@ -6103,7 +6001,6 @@ const useScrollOverflow = (ref, dependency) => {
|
|
|
6103
6001
|
(0, react.useLayoutEffect)(t0, t1);
|
|
6104
6002
|
return hasOverflow;
|
|
6105
6003
|
};
|
|
6106
|
-
|
|
6107
6004
|
//#endregion
|
|
6108
6005
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.tsx
|
|
6109
6006
|
const DsCommentThread = (t0) => {
|
|
@@ -6256,7 +6153,6 @@ const DsCommentThread = (t0) => {
|
|
|
6256
6153
|
function _temp$15(m) {
|
|
6257
6154
|
return m.isInitialMessage;
|
|
6258
6155
|
}
|
|
6259
|
-
|
|
6260
6156
|
//#endregion
|
|
6261
6157
|
//#region src/components/ds-tag/ds-tag.module.scss
|
|
6262
6158
|
var ds_tag_module_default = {
|
|
@@ -6271,7 +6167,6 @@ var ds_tag_module_default = {
|
|
|
6271
6167
|
"label": "_label_1tyo9_1",
|
|
6272
6168
|
"icon": "_icon_1tyo9_1"
|
|
6273
6169
|
};
|
|
6274
|
-
|
|
6275
6170
|
//#endregion
|
|
6276
6171
|
//#region src/components/ds-tag/ds-tag.tsx
|
|
6277
6172
|
/**
|
|
@@ -6511,18 +6406,16 @@ const DsTag = (t0) => {
|
|
|
6511
6406
|
} else t29 = $[60];
|
|
6512
6407
|
return t29;
|
|
6513
6408
|
};
|
|
6514
|
-
|
|
6515
6409
|
//#endregion
|
|
6516
|
-
//#region src/components/ds-tag/ds-tag.types.
|
|
6410
|
+
//#region src/components/ds-tag/ds-tag.types.ts
|
|
6517
6411
|
const tagSizes = ["medium", "small"];
|
|
6518
6412
|
const tagVariants = [
|
|
6519
6413
|
"default",
|
|
6520
6414
|
"include",
|
|
6521
6415
|
"exclude"
|
|
6522
6416
|
];
|
|
6523
|
-
|
|
6524
6417
|
//#endregion
|
|
6525
|
-
//#region src/
|
|
6418
|
+
//#region src/utils/merge-refs.ts
|
|
6526
6419
|
const mergeRefs = (...refs) => {
|
|
6527
6420
|
return (value) => {
|
|
6528
6421
|
refs.filter((r) => !!r).forEach((ref) => {
|
|
@@ -6531,7 +6424,6 @@ const mergeRefs = (...refs) => {
|
|
|
6531
6424
|
});
|
|
6532
6425
|
};
|
|
6533
6426
|
};
|
|
6534
|
-
|
|
6535
6427
|
//#endregion
|
|
6536
6428
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.tsx
|
|
6537
6429
|
const DsCommentBubble = (t0) => {
|
|
@@ -6659,10 +6551,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6659
6551
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
6660
6552
|
design: "v1.2",
|
|
6661
6553
|
buttonType: "tertiary",
|
|
6662
|
-
size: "
|
|
6554
|
+
size: "tiny",
|
|
6663
6555
|
"aria-label": "More actions",
|
|
6664
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6665
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6666
6556
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
6667
6557
|
icon: "more_vert",
|
|
6668
6558
|
size: "tiny"
|
|
@@ -6701,11 +6591,9 @@ const DsCommentBubble = (t0) => {
|
|
|
6701
6591
|
})] }), onResolve && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
6702
6592
|
design: "v1.2",
|
|
6703
6593
|
buttonType: "tertiary",
|
|
6704
|
-
size: "
|
|
6594
|
+
size: "tiny",
|
|
6705
6595
|
onClick: () => onResolve(),
|
|
6706
6596
|
"aria-label": "Resolve",
|
|
6707
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6708
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6709
6597
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
6710
6598
|
icon: "check_circle",
|
|
6711
6599
|
size: "tiny"
|
|
@@ -6714,10 +6602,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6714
6602
|
}), onClose && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
6715
6603
|
design: "v1.2",
|
|
6716
6604
|
buttonType: "tertiary",
|
|
6717
|
-
size: "
|
|
6605
|
+
size: "tiny",
|
|
6718
6606
|
onClick: () => onClose(),
|
|
6719
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6720
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6721
6607
|
"aria-label": "Close",
|
|
6722
6608
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
6723
6609
|
icon: "close",
|
|
@@ -6790,7 +6676,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6790
6676
|
if ($[49] !== handleSend || $[50] !== hasContent || $[51] !== hasThread || $[52] !== isInitialMode) {
|
|
6791
6677
|
t15 = (isInitialMode || hasThread) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
6792
6678
|
design: "v1.2",
|
|
6793
|
-
|
|
6679
|
+
buttonType: "tertiary",
|
|
6680
|
+
size: "tiny",
|
|
6794
6681
|
disabled: !hasContent,
|
|
6795
6682
|
onClick: handleSend,
|
|
6796
6683
|
"aria-label": "Send",
|
|
@@ -6820,13 +6707,14 @@ const DsCommentBubble = (t0) => {
|
|
|
6820
6707
|
t17 = showFooter && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6821
6708
|
className: ds_comment_bubble_module_default.footer,
|
|
6822
6709
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsCheckbox, {
|
|
6710
|
+
variant: "warning",
|
|
6823
6711
|
label: "Action required",
|
|
6824
6712
|
checked: actionRequired,
|
|
6825
|
-
onCheckedChange: (checked) => onActionRequiredChange?.(checked === true)
|
|
6826
|
-
className: (0, classnames.default)(ds_comment_bubble_module_default.actionRequiredCheckbox, { [ds_comment_bubble_module_default.checked]: actionRequired })
|
|
6713
|
+
onCheckedChange: (checked) => onActionRequiredChange?.(checked === true)
|
|
6827
6714
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
6828
6715
|
design: "v1.2",
|
|
6829
|
-
|
|
6716
|
+
buttonType: "tertiary",
|
|
6717
|
+
size: "tiny",
|
|
6830
6718
|
disabled: !hasContent,
|
|
6831
6719
|
onClick: handleSend,
|
|
6832
6720
|
"aria-label": "Send",
|
|
@@ -6870,7 +6758,6 @@ const DsCommentBubble = (t0) => {
|
|
|
6870
6758
|
} else t18 = $[71];
|
|
6871
6759
|
return t18;
|
|
6872
6760
|
};
|
|
6873
|
-
|
|
6874
6761
|
//#endregion
|
|
6875
6762
|
//#region src/components/ds-comment-card/ds-comment-card.module.scss
|
|
6876
6763
|
var ds_comment_card_module_default = {
|
|
@@ -6893,7 +6780,6 @@ var ds_comment_card_module_default = {
|
|
|
6893
6780
|
"replyCount": "_replyCount_l0dxf_1",
|
|
6894
6781
|
"dropdownContent": "_dropdownContent_l0dxf_1"
|
|
6895
6782
|
};
|
|
6896
|
-
|
|
6897
6783
|
//#endregion
|
|
6898
6784
|
//#region src/components/ds-comment-card/ds-comment-card.tsx
|
|
6899
6785
|
const DsCommentCard = (t0) => {
|
|
@@ -7066,7 +6952,7 @@ const DsCommentCard = (t0) => {
|
|
|
7066
6952
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
7067
6953
|
design: "v1.2",
|
|
7068
6954
|
buttonType: "tertiary",
|
|
7069
|
-
size: "
|
|
6955
|
+
size: "tiny",
|
|
7070
6956
|
"aria-label": "More actions",
|
|
7071
6957
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
7072
6958
|
icon: "more_vert",
|
|
@@ -7117,7 +7003,7 @@ const DsCommentCard = (t0) => {
|
|
|
7117
7003
|
t24 = onResolve && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
7118
7004
|
design: "v1.2",
|
|
7119
7005
|
buttonType: "tertiary",
|
|
7120
|
-
size: "
|
|
7006
|
+
size: "tiny",
|
|
7121
7007
|
onClick: handleResolve,
|
|
7122
7008
|
"aria-label": "Resolve comment",
|
|
7123
7009
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
@@ -7241,7 +7127,6 @@ function _temp3$3(p) {
|
|
|
7241
7127
|
src: p.avatarSrc
|
|
7242
7128
|
};
|
|
7243
7129
|
}
|
|
7244
|
-
|
|
7245
7130
|
//#endregion
|
|
7246
7131
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.module.scss
|
|
7247
7132
|
var ds_comment_indicator_module_default = {
|
|
@@ -7251,7 +7136,6 @@ var ds_comment_indicator_module_default = {
|
|
|
7251
7136
|
"plusIcon": "_plusIcon_1eh63_1",
|
|
7252
7137
|
"avatar": "_avatar_1eh63_1"
|
|
7253
7138
|
};
|
|
7254
|
-
|
|
7255
7139
|
//#endregion
|
|
7256
7140
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.tsx
|
|
7257
7141
|
const DsCommentIndicator = (t0) => {
|
|
@@ -7320,7 +7204,6 @@ const DsCommentIndicator = (t0) => {
|
|
|
7320
7204
|
} else t7 = $[16];
|
|
7321
7205
|
return t7;
|
|
7322
7206
|
};
|
|
7323
|
-
|
|
7324
7207
|
//#endregion
|
|
7325
7208
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.module.scss
|
|
7326
7209
|
var ds_comments_drawer_module_default = {
|
|
@@ -7333,7 +7216,6 @@ var ds_comments_drawer_module_default = {
|
|
|
7333
7216
|
"filterTagsToolbar": "_filterTagsToolbar_1tdl6_1",
|
|
7334
7217
|
"tagFilter": "_tagFilter_1tdl6_1"
|
|
7335
7218
|
};
|
|
7336
|
-
|
|
7337
7219
|
//#endregion
|
|
7338
7220
|
//#region src/components/ds-drawer/ds-drawer.module.scss
|
|
7339
7221
|
var ds_drawer_module_default = {
|
|
@@ -7369,7 +7251,6 @@ var ds_drawer_module_default = {
|
|
|
7369
7251
|
"footer": "_footer_ehlks_1",
|
|
7370
7252
|
"actions": "_actions_ehlks_1"
|
|
7371
7253
|
};
|
|
7372
|
-
|
|
7373
7254
|
//#endregion
|
|
7374
7255
|
//#region src/components/ds-drawer/ds-drawer.tsx
|
|
7375
7256
|
/**
|
|
@@ -7650,7 +7531,6 @@ DsDrawer.Toolbar = Toolbar;
|
|
|
7650
7531
|
DsDrawer.Body = Body$1;
|
|
7651
7532
|
DsDrawer.Footer = Footer$1;
|
|
7652
7533
|
DsDrawer.Actions = Actions$1;
|
|
7653
|
-
|
|
7654
7534
|
//#endregion
|
|
7655
7535
|
//#region src/components/ds-tag-filter/ds-tag-filter.module.scss
|
|
7656
7536
|
var ds_tag_filter_module_default = {
|
|
@@ -7665,7 +7545,6 @@ var ds_tag_filter_module_default = {
|
|
|
7665
7545
|
"actionButton": "_actionButton_1sm6t_1",
|
|
7666
7546
|
"measurementContainer": "_measurementContainer_1sm6t_1"
|
|
7667
7547
|
};
|
|
7668
|
-
|
|
7669
7548
|
//#endregion
|
|
7670
7549
|
//#region src/components/ds-tag-filter/utils.ts
|
|
7671
7550
|
/**
|
|
@@ -7709,7 +7588,6 @@ function getElementMeasurements(measurementContainer) {
|
|
|
7709
7588
|
gap
|
|
7710
7589
|
};
|
|
7711
7590
|
}
|
|
7712
|
-
|
|
7713
7591
|
//#endregion
|
|
7714
7592
|
//#region src/components/ds-tag-filter/hooks/use-tag-overflow-calculation.ts
|
|
7715
7593
|
/**
|
|
@@ -7807,7 +7685,6 @@ const useTagOverflowCalculation = (t0) => {
|
|
|
7807
7685
|
}
|
|
7808
7686
|
return state;
|
|
7809
7687
|
};
|
|
7810
|
-
|
|
7811
7688
|
//#endregion
|
|
7812
7689
|
//#region src/components/ds-tag-filter/ds-tag-filter.tsx
|
|
7813
7690
|
/**
|
|
@@ -8046,7 +7923,6 @@ const DsTagFilter = (t0) => {
|
|
|
8046
7923
|
} else t24 = $[61];
|
|
8047
7924
|
return t24;
|
|
8048
7925
|
};
|
|
8049
|
-
|
|
8050
7926
|
//#endregion
|
|
8051
7927
|
//#region src/components/ds-comments-drawer/comments-filters.ts
|
|
8052
7928
|
const initialFilterState = {
|
|
@@ -8140,7 +8016,6 @@ const removeTag = (filters, tag) => {
|
|
|
8140
8016
|
}
|
|
8141
8017
|
return newFilters;
|
|
8142
8018
|
};
|
|
8143
|
-
|
|
8144
8019
|
//#endregion
|
|
8145
8020
|
//#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss
|
|
8146
8021
|
var comments_filter_modal_module_default = {
|
|
@@ -8159,7 +8034,6 @@ var comments_filter_modal_module_default = {
|
|
|
8159
8034
|
"emptyMessage": "_emptyMessage_1p419_1",
|
|
8160
8035
|
"footer": "_footer_1p419_1"
|
|
8161
8036
|
};
|
|
8162
|
-
|
|
8163
8037
|
//#endregion
|
|
8164
8038
|
//#region src/components/ds-modal/ds-modal.module.scss
|
|
8165
8039
|
var ds_modal_module_default = {
|
|
@@ -8188,7 +8062,6 @@ var ds_modal_module_default = {
|
|
|
8188
8062
|
"cols-11": "_cols-11_5aciv_1",
|
|
8189
8063
|
"cols-12": "_cols-12_5aciv_1"
|
|
8190
8064
|
};
|
|
8191
|
-
|
|
8192
8065
|
//#endregion
|
|
8193
8066
|
//#region src/components/ds-modal/ds-modal.tsx
|
|
8194
8067
|
/**
|
|
@@ -8424,15 +8297,12 @@ DsModal.CloseTrigger = CloseTrigger;
|
|
|
8424
8297
|
DsModal.Body = Body;
|
|
8425
8298
|
DsModal.Footer = Footer;
|
|
8426
8299
|
DsModal.Actions = Actions;
|
|
8427
|
-
|
|
8428
8300
|
//#endregion
|
|
8429
8301
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
|
|
8430
8302
|
var ds_tabs_list_module_default = { "tabList": "_tabList_tj37v_1" };
|
|
8431
|
-
|
|
8432
8303
|
//#endregion
|
|
8433
8304
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss
|
|
8434
8305
|
var ds_tabs_indicator_module_default = { "indicator": "_indicator_1xns8_1" };
|
|
8435
|
-
|
|
8436
8306
|
//#endregion
|
|
8437
8307
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.tsx
|
|
8438
8308
|
const DsTabsList = (t0) => {
|
|
@@ -8463,7 +8333,6 @@ const DsTabsList = (t0) => {
|
|
|
8463
8333
|
} else t3 = $[6];
|
|
8464
8334
|
return t3;
|
|
8465
8335
|
};
|
|
8466
|
-
|
|
8467
8336
|
//#endregion
|
|
8468
8337
|
//#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss
|
|
8469
8338
|
var ds_tabs_tab_module_default = {
|
|
@@ -8476,7 +8345,6 @@ var ds_tabs_tab_module_default = {
|
|
|
8476
8345
|
"menuItem": "_menuItem_1r7gq_1",
|
|
8477
8346
|
"menuItemLabel": "_menuItemLabel_1r7gq_1"
|
|
8478
8347
|
};
|
|
8479
|
-
|
|
8480
8348
|
//#endregion
|
|
8481
8349
|
//#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx
|
|
8482
8350
|
const DsTabsTab = (t0) => {
|
|
@@ -8639,14 +8507,12 @@ function _temp$13(item) {
|
|
|
8639
8507
|
})
|
|
8640
8508
|
}, item.value);
|
|
8641
8509
|
}
|
|
8642
|
-
|
|
8643
8510
|
//#endregion
|
|
8644
8511
|
//#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss
|
|
8645
8512
|
var ds_tabs_content_module_default = {
|
|
8646
8513
|
"tabContent": "_tabContent_qtp6q_1",
|
|
8647
8514
|
"fadeIn": "_fadeIn_qtp6q_1"
|
|
8648
8515
|
};
|
|
8649
|
-
|
|
8650
8516
|
//#endregion
|
|
8651
8517
|
//#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.tsx
|
|
8652
8518
|
const DsTabsContent = (t0) => {
|
|
@@ -8674,11 +8540,9 @@ const DsTabsContent = (t0) => {
|
|
|
8674
8540
|
} else t2 = $[6];
|
|
8675
8541
|
return t2;
|
|
8676
8542
|
};
|
|
8677
|
-
|
|
8678
8543
|
//#endregion
|
|
8679
8544
|
//#region src/components/ds-tabs/ds-tabs.module.scss
|
|
8680
8545
|
var ds_tabs_module_default = { "root": "_root_13s06_1" };
|
|
8681
|
-
|
|
8682
8546
|
//#endregion
|
|
8683
8547
|
//#region src/components/ds-tabs/ds-tabs.tsx
|
|
8684
8548
|
const DsTabsRoot = (t0) => {
|
|
@@ -8734,7 +8598,6 @@ const DsTabs = {
|
|
|
8734
8598
|
Tab: DsTabsTab,
|
|
8735
8599
|
Content: DsTabsContent
|
|
8736
8600
|
};
|
|
8737
|
-
|
|
8738
8601
|
//#endregion
|
|
8739
8602
|
//#region src/components/ds-date-input/ds-date-input.utils.ts
|
|
8740
8603
|
/**
|
|
@@ -8900,7 +8763,6 @@ const validateDateString = ({ text, range, min, max }) => {
|
|
|
8900
8763
|
};
|
|
8901
8764
|
return { isValid: true };
|
|
8902
8765
|
};
|
|
8903
|
-
|
|
8904
8766
|
//#endregion
|
|
8905
8767
|
//#region src/components/ds-date-input/ds-date-input.module.scss
|
|
8906
8768
|
var ds_date_input_module_default = {
|
|
@@ -8927,7 +8789,6 @@ var ds_date_input_module_default = {
|
|
|
8927
8789
|
"tableHead": "_tableHead_1abgc_1",
|
|
8928
8790
|
"tableHeader": "_tableHeader_1abgc_1"
|
|
8929
8791
|
};
|
|
8930
|
-
|
|
8931
8792
|
//#endregion
|
|
8932
8793
|
//#region src/components/ds-date-input/ds-date-input.tsx
|
|
8933
8794
|
/**
|
|
@@ -9262,7 +9123,6 @@ function _temp0(datePicker) {
|
|
|
9262
9123
|
})
|
|
9263
9124
|
});
|
|
9264
9125
|
}
|
|
9265
|
-
|
|
9266
9126
|
//#endregion
|
|
9267
9127
|
//#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx
|
|
9268
9128
|
const CommentsFilterModal = (t0) => {
|
|
@@ -9804,7 +9664,6 @@ const CommentsFilterModal = (t0) => {
|
|
|
9804
9664
|
} else t47 = $[116];
|
|
9805
9665
|
return t47;
|
|
9806
9666
|
};
|
|
9807
|
-
|
|
9808
9667
|
//#endregion
|
|
9809
9668
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.tsx
|
|
9810
9669
|
const DsCommentsDrawer = (t0) => {
|
|
@@ -10208,7 +10067,6 @@ function _temp4$1(c_0) {
|
|
|
10208
10067
|
function _temp5$1(c_1) {
|
|
10209
10068
|
return c_1.isResolved;
|
|
10210
10069
|
}
|
|
10211
|
-
|
|
10212
10070
|
//#endregion
|
|
10213
10071
|
//#region src/components/ds-confirmation/ds-confirmation.tsx
|
|
10214
10072
|
/**
|
|
@@ -10236,7 +10094,6 @@ DsConfirmation.CloseTrigger = DsModal.CloseTrigger;
|
|
|
10236
10094
|
DsConfirmation.Body = DsModal.Body;
|
|
10237
10095
|
DsConfirmation.Footer = DsModal.Footer;
|
|
10238
10096
|
DsConfirmation.Actions = DsModal.Actions;
|
|
10239
|
-
|
|
10240
10097
|
//#endregion
|
|
10241
10098
|
//#region src/components/ds-dialog/ds-dialog.module.scss
|
|
10242
10099
|
var ds_dialog_module_default = {
|
|
@@ -10246,7 +10103,6 @@ var ds_dialog_module_default = {
|
|
|
10246
10103
|
"description": "_description_z7kc9_1",
|
|
10247
10104
|
"customPlacement": "_customPlacement_z7kc9_1"
|
|
10248
10105
|
};
|
|
10249
|
-
|
|
10250
10106
|
//#endregion
|
|
10251
10107
|
//#region src/components/ds-dialog/ds-dialog.tsx
|
|
10252
10108
|
const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescription, children, className, anchorRef, customPosition, modal = true }) => {
|
|
@@ -10295,7 +10151,6 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
|
|
|
10295
10151
|
})] })
|
|
10296
10152
|
});
|
|
10297
10153
|
};
|
|
10298
|
-
|
|
10299
10154
|
//#endregion
|
|
10300
10155
|
//#region src/components/ds-divider/ds-divider.module.scss
|
|
10301
10156
|
var ds_divider_module_default = {
|
|
@@ -10303,7 +10158,6 @@ var ds_divider_module_default = {
|
|
|
10303
10158
|
"horizontal": "_horizontal_s6hux_1",
|
|
10304
10159
|
"vertical": "_vertical_s6hux_1"
|
|
10305
10160
|
};
|
|
10306
|
-
|
|
10307
10161
|
//#endregion
|
|
10308
10162
|
//#region src/components/ds-divider/ds-divider.tsx
|
|
10309
10163
|
const DsDivider = (t0) => {
|
|
@@ -10341,7 +10195,6 @@ const DsDivider = (t0) => {
|
|
|
10341
10195
|
} else t4 = $[8];
|
|
10342
10196
|
return t4;
|
|
10343
10197
|
};
|
|
10344
|
-
|
|
10345
10198
|
//#endregion
|
|
10346
10199
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss
|
|
10347
10200
|
var ds_expandable_text_input_module_default = {
|
|
@@ -10352,12 +10205,11 @@ var ds_expandable_text_input_module_default = {
|
|
|
10352
10205
|
"dirty": "_dirty_dd7gz_1",
|
|
10353
10206
|
"inputExpander": "_inputExpander_dd7gz_1"
|
|
10354
10207
|
};
|
|
10355
|
-
|
|
10356
10208
|
//#endregion
|
|
10357
10209
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.tsx
|
|
10358
10210
|
function DsExpandableTextInput(t0) {
|
|
10359
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
10360
|
-
const { onClear, onExpandChange, icon, ...props } = t0;
|
|
10211
|
+
const $ = (0, react_compiler_runtime.c)(41);
|
|
10212
|
+
const { onClear, onExpandChange, icon, size, ...props } = t0;
|
|
10361
10213
|
const hasInitialValue = Boolean(props.value ?? props.defaultValue);
|
|
10362
10214
|
const [expanded, _setExpanded] = (0, react.useState)(hasInitialValue);
|
|
10363
10215
|
const [dirty, setDirty] = (0, react.useState)(hasInitialValue);
|
|
@@ -10374,6 +10226,7 @@ function DsExpandableTextInput(t0) {
|
|
|
10374
10226
|
$[2] = t1;
|
|
10375
10227
|
} else t1 = $[2];
|
|
10376
10228
|
const setExpanded = t1;
|
|
10229
|
+
const clearButtonSize = size === "small" ? "tiny" : "small";
|
|
10377
10230
|
const T0 = DsTextInput;
|
|
10378
10231
|
const t2 = mergeRefs(ref, props.ref);
|
|
10379
10232
|
const t3 = expanded ? 0 : -1;
|
|
@@ -10440,60 +10293,69 @@ function DsExpandableTextInput(t0) {
|
|
|
10440
10293
|
} else t10 = $[20];
|
|
10441
10294
|
let t11;
|
|
10442
10295
|
if ($[21] !== onClear || $[22] !== ref || $[23] !== setExpanded) {
|
|
10443
|
-
t11 =
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
if (ref.current) {
|
|
10452
|
-
ref.current.blur();
|
|
10453
|
-
ref.current.value = "";
|
|
10454
|
-
}
|
|
10455
|
-
onClear?.();
|
|
10456
|
-
},
|
|
10457
|
-
children: "Clear"
|
|
10458
|
-
});
|
|
10296
|
+
t11 = () => {
|
|
10297
|
+
setExpanded(false);
|
|
10298
|
+
if (ref.current) {
|
|
10299
|
+
ref.current.blur();
|
|
10300
|
+
ref.current.value = "";
|
|
10301
|
+
}
|
|
10302
|
+
onClear?.();
|
|
10303
|
+
};
|
|
10459
10304
|
$[21] = onClear;
|
|
10460
10305
|
$[22] = ref;
|
|
10461
10306
|
$[23] = setExpanded;
|
|
10462
10307
|
$[24] = t11;
|
|
10463
10308
|
} else t11 = $[24];
|
|
10464
10309
|
let t12;
|
|
10465
|
-
if ($[25] !==
|
|
10466
|
-
t12 = {
|
|
10467
|
-
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10471
|
-
|
|
10310
|
+
if ($[25] !== clearButtonSize || $[26] !== t11) {
|
|
10311
|
+
t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
10312
|
+
design: "v1.2",
|
|
10313
|
+
size: clearButtonSize,
|
|
10314
|
+
buttonType: "tertiary",
|
|
10315
|
+
variant: "filled",
|
|
10316
|
+
className: ds_expandable_text_input_module_default.clearTrigger,
|
|
10317
|
+
onClick: t11,
|
|
10318
|
+
children: "Clear"
|
|
10319
|
+
});
|
|
10320
|
+
$[25] = clearButtonSize;
|
|
10472
10321
|
$[26] = t11;
|
|
10473
10322
|
$[27] = t12;
|
|
10474
10323
|
} else t12 = $[27];
|
|
10475
10324
|
let t13;
|
|
10476
|
-
if ($[28] !==
|
|
10477
|
-
t13 =
|
|
10325
|
+
if ($[28] !== t10 || $[29] !== t12) {
|
|
10326
|
+
t13 = {
|
|
10327
|
+
inputWrapper: InputExpander,
|
|
10328
|
+
startAdornment: t10,
|
|
10329
|
+
endAdornment: t12
|
|
10330
|
+
};
|
|
10331
|
+
$[28] = t10;
|
|
10332
|
+
$[29] = t12;
|
|
10333
|
+
$[30] = t13;
|
|
10334
|
+
} else t13 = $[30];
|
|
10335
|
+
let t14;
|
|
10336
|
+
if ($[31] !== T0 || $[32] !== props || $[33] !== size || $[34] !== t13 || $[35] !== t2 || $[36] !== t3 || $[37] !== t4 || $[38] !== t5 || $[39] !== t6) {
|
|
10337
|
+
t14 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
10478
10338
|
...props,
|
|
10339
|
+
size,
|
|
10479
10340
|
ref: t2,
|
|
10480
10341
|
tabIndex: t3,
|
|
10481
10342
|
className: t4,
|
|
10482
10343
|
onChange: t5,
|
|
10483
10344
|
onBlur: t6,
|
|
10484
|
-
slots:
|
|
10345
|
+
slots: t13
|
|
10485
10346
|
});
|
|
10486
|
-
$[
|
|
10487
|
-
$[
|
|
10488
|
-
$[
|
|
10489
|
-
$[
|
|
10490
|
-
$[
|
|
10491
|
-
$[
|
|
10492
|
-
$[
|
|
10493
|
-
$[
|
|
10494
|
-
$[
|
|
10495
|
-
|
|
10496
|
-
|
|
10347
|
+
$[31] = T0;
|
|
10348
|
+
$[32] = props;
|
|
10349
|
+
$[33] = size;
|
|
10350
|
+
$[34] = t13;
|
|
10351
|
+
$[35] = t2;
|
|
10352
|
+
$[36] = t3;
|
|
10353
|
+
$[37] = t4;
|
|
10354
|
+
$[38] = t5;
|
|
10355
|
+
$[39] = t6;
|
|
10356
|
+
$[40] = t14;
|
|
10357
|
+
} else t14 = $[40];
|
|
10358
|
+
return t14;
|
|
10497
10359
|
}
|
|
10498
10360
|
function InputExpander(t0) {
|
|
10499
10361
|
const $ = (0, react_compiler_runtime.c)(2);
|
|
@@ -10509,7 +10371,6 @@ function InputExpander(t0) {
|
|
|
10509
10371
|
} else t1 = $[1];
|
|
10510
10372
|
return t1;
|
|
10511
10373
|
}
|
|
10512
|
-
|
|
10513
10374
|
//#endregion
|
|
10514
10375
|
//#region src/components/ds-file-upload/utils/get-error-message.ts
|
|
10515
10376
|
const FILE_ERROR_MESSAGES = {
|
|
@@ -10526,7 +10387,6 @@ const FILE_ERROR_MESSAGES = {
|
|
|
10526
10387
|
function getErrorMessage(error) {
|
|
10527
10388
|
return FILE_ERROR_MESSAGES[error] || error || "File validation failed";
|
|
10528
10389
|
}
|
|
10529
|
-
|
|
10530
10390
|
//#endregion
|
|
10531
10391
|
//#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss
|
|
10532
10392
|
var file_upload_item_module_default = {
|
|
@@ -10548,7 +10408,6 @@ var file_upload_item_module_default = {
|
|
|
10548
10408
|
"interruptedText": "_interruptedText_4ejd1_1",
|
|
10549
10409
|
"errorMessage": "_errorMessage_4ejd1_1"
|
|
10550
10410
|
};
|
|
10551
|
-
|
|
10552
10411
|
//#endregion
|
|
10553
10412
|
//#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.tsx
|
|
10554
10413
|
/**
|
|
@@ -10829,7 +10688,6 @@ function _temp$10(error) {
|
|
|
10829
10688
|
}), getErrorMessage(error)]
|
|
10830
10689
|
}, error);
|
|
10831
10690
|
}
|
|
10832
|
-
|
|
10833
10691
|
//#endregion
|
|
10834
10692
|
//#region src/components/ds-file-upload/utils/constants.ts
|
|
10835
10693
|
/**
|
|
@@ -10845,11 +10703,6 @@ const DEFAULT_ALLOWED_FILE_TYPES = [
|
|
|
10845
10703
|
* Default maximum file size in bytes (25MB)
|
|
10846
10704
|
*/
|
|
10847
10705
|
const DEFAULT_MAX_FILE_SIZE = 25e6;
|
|
10848
|
-
/**
|
|
10849
|
-
* Default maximum number of files allowed
|
|
10850
|
-
*/
|
|
10851
|
-
const DEFAULT_MAX_FILES = 5;
|
|
10852
|
-
|
|
10853
10706
|
//#endregion
|
|
10854
10707
|
//#region src/components/ds-file-upload/types/accept-types.ts
|
|
10855
10708
|
/**
|
|
@@ -10964,7 +10817,6 @@ const EXTENSIONS_MAP = {
|
|
|
10964
10817
|
".eot"
|
|
10965
10818
|
]
|
|
10966
10819
|
};
|
|
10967
|
-
|
|
10968
10820
|
//#endregion
|
|
10969
10821
|
//#region src/components/ds-file-upload/utils/accept-utils.ts
|
|
10970
10822
|
/**
|
|
@@ -10986,7 +10838,6 @@ function getFileExtensions(accept) {
|
|
|
10986
10838
|
function getMimeTypes(accept) {
|
|
10987
10839
|
return accept.map((item) => typeof item === "string" ? item : item.mimeType);
|
|
10988
10840
|
}
|
|
10989
|
-
|
|
10990
10841
|
//#endregion
|
|
10991
10842
|
//#region src/components/ds-file-upload/utils/format-file-size.ts
|
|
10992
10843
|
/**
|
|
@@ -11006,7 +10857,6 @@ function formatFileSize(bytes) {
|
|
|
11006
10857
|
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
11007
10858
|
return `${(bytes / Math.pow(k, i)).toFixed(2)} ${String(sizes[i])}`;
|
|
11008
10859
|
}
|
|
11009
|
-
|
|
11010
10860
|
//#endregion
|
|
11011
10861
|
//#region src/components/ds-file-upload/utils/generate-helper-text.ts
|
|
11012
10862
|
/**
|
|
@@ -11023,7 +10873,6 @@ function generateHelperText(accept, maxFileSize, maxFiles) {
|
|
|
11023
10873
|
else if (maxFiles > 1) parts.push(`Up to ${String(maxFiles)} files`);
|
|
11024
10874
|
return parts.join(". ") + ".";
|
|
11025
10875
|
}
|
|
11026
|
-
|
|
11027
10876
|
//#endregion
|
|
11028
10877
|
//#region src/components/ds-file-upload/components/file-upload/file-upload.module.scss
|
|
11029
10878
|
var file_upload_module_default = {
|
|
@@ -11036,7 +10885,6 @@ var file_upload_module_default = {
|
|
|
11036
10885
|
"infoText": "_infoText_1jafp_1",
|
|
11037
10886
|
"errorText": "_errorText_1jafp_1"
|
|
11038
10887
|
};
|
|
11039
|
-
|
|
11040
10888
|
//#endregion
|
|
11041
10889
|
//#region src/components/ds-file-upload/components/file-upload/file-upload.tsx
|
|
11042
10890
|
/**
|
|
@@ -11059,7 +10907,7 @@ const FileUpload = (t0) => {
|
|
|
11059
10907
|
const hideInfoText = t5 === void 0 ? false : t5;
|
|
11060
10908
|
const disableDrop = t6 === void 0 ? false : t6;
|
|
11061
10909
|
const accept = t7 === void 0 ? DEFAULT_ALLOWED_FILE_TYPES : t7;
|
|
11062
|
-
const maxFiles = t8 === void 0 ?
|
|
10910
|
+
const maxFiles = t8 === void 0 ? 5 : t8;
|
|
11063
10911
|
const maxFileSize = t9 === void 0 ? DEFAULT_MAX_FILE_SIZE : t9;
|
|
11064
10912
|
const compact = t10 === void 0 ? false : t10;
|
|
11065
10913
|
const disabled = t11 === void 0 ? false : t11;
|
|
@@ -11235,7 +11083,6 @@ const FileUpload = (t0) => {
|
|
|
11235
11083
|
} else t26 = $[51];
|
|
11236
11084
|
return t26;
|
|
11237
11085
|
};
|
|
11238
|
-
|
|
11239
11086
|
//#endregion
|
|
11240
11087
|
//#region src/components/ds-file-upload/utils/file-factory.ts
|
|
11241
11088
|
/**
|
|
@@ -11253,7 +11100,6 @@ function createUploadedFile(file, status, errors) {
|
|
|
11253
11100
|
errors
|
|
11254
11101
|
};
|
|
11255
11102
|
}
|
|
11256
|
-
|
|
11257
11103
|
//#endregion
|
|
11258
11104
|
//#region src/components/ds-file-upload/utils/is-file-equal.ts
|
|
11259
11105
|
/**
|
|
@@ -11264,7 +11110,6 @@ function createUploadedFile(file, status, errors) {
|
|
|
11264
11110
|
function isFileEqual(file1, file2) {
|
|
11265
11111
|
return file1.name === file2.name && file1.size === file2.size && file1.type === file2.type;
|
|
11266
11112
|
}
|
|
11267
|
-
|
|
11268
11113
|
//#endregion
|
|
11269
11114
|
//#region src/components/ds-file-upload/errors/file-upload-errors.ts
|
|
11270
11115
|
/**
|
|
@@ -11290,7 +11135,6 @@ var RetryableFileUploadError = class extends FileUploadError {
|
|
|
11290
11135
|
var FatalFileUploadError = class extends FileUploadError {
|
|
11291
11136
|
isRetryable = false;
|
|
11292
11137
|
};
|
|
11293
|
-
|
|
11294
11138
|
//#endregion
|
|
11295
11139
|
//#region src/components/ds-file-upload/hooks/use-file-upload.ts
|
|
11296
11140
|
/**
|
|
@@ -11484,7 +11328,6 @@ function useFileUpload({ adapter, autoUpload = true, maxConcurrent = 3, maxFiles
|
|
|
11484
11328
|
getProps
|
|
11485
11329
|
};
|
|
11486
11330
|
}
|
|
11487
|
-
|
|
11488
11331
|
//#endregion
|
|
11489
11332
|
//#region src/components/ds-file-upload/ds-file-upload.tsx
|
|
11490
11333
|
/**
|
|
@@ -11591,7 +11434,6 @@ const DsFileUpload = (t0) => {
|
|
|
11591
11434
|
} else t5 = $[32];
|
|
11592
11435
|
return t5;
|
|
11593
11436
|
};
|
|
11594
|
-
|
|
11595
11437
|
//#endregion
|
|
11596
11438
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss
|
|
11597
11439
|
var ds_filter_status_icon_module_default = {
|
|
@@ -11601,7 +11443,6 @@ var ds_filter_status_icon_module_default = {
|
|
|
11601
11443
|
"paused": "_paused_1tsjd_1",
|
|
11602
11444
|
"inactive": "_inactive_1tsjd_1"
|
|
11603
11445
|
};
|
|
11604
|
-
|
|
11605
11446
|
//#endregion
|
|
11606
11447
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.tsx
|
|
11607
11448
|
const iconMap = {
|
|
@@ -11647,7 +11488,6 @@ const DsFilterStatusIcon = (t0) => {
|
|
|
11647
11488
|
} else t6 = $[8];
|
|
11648
11489
|
return t6;
|
|
11649
11490
|
};
|
|
11650
|
-
|
|
11651
11491
|
//#endregion
|
|
11652
11492
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.ts
|
|
11653
11493
|
const filterStatuses = [
|
|
@@ -11656,7 +11496,6 @@ const filterStatuses = [
|
|
|
11656
11496
|
"failed",
|
|
11657
11497
|
"paused"
|
|
11658
11498
|
];
|
|
11659
|
-
|
|
11660
11499
|
//#endregion
|
|
11661
11500
|
//#region src/components/ds-select/ds-select.module.scss
|
|
11662
11501
|
var ds_select_module_default = {
|
|
@@ -11678,7 +11517,6 @@ var ds_select_module_default = {
|
|
|
11678
11517
|
"valueText": "_valueText_1joiq_1",
|
|
11679
11518
|
"multiSelectItemsContainer": "_multiSelectItemsContainer_1joiq_1"
|
|
11680
11519
|
};
|
|
11681
|
-
|
|
11682
11520
|
//#endregion
|
|
11683
11521
|
//#region src/components/ds-select/select-items-chips.tsx
|
|
11684
11522
|
function SelectItemsChips(t0) {
|
|
@@ -11766,22 +11604,26 @@ function SelectItemsChips(t0) {
|
|
|
11766
11604
|
} else t5 = $[23];
|
|
11767
11605
|
return t5;
|
|
11768
11606
|
}
|
|
11769
|
-
|
|
11607
|
+
//#endregion
|
|
11608
|
+
//#region src/components/ds-select/utils.ts
|
|
11609
|
+
const SELECT_ALL_VALUE = "__INTERNAL_SELECT_ALL_VALUE__";
|
|
11610
|
+
function getUserSelectedItems(selectedItems) {
|
|
11611
|
+
return selectedItems.filter((item) => item.value !== SELECT_ALL_VALUE);
|
|
11612
|
+
}
|
|
11770
11613
|
//#endregion
|
|
11771
11614
|
//#region src/components/ds-select/ds-select.tsx
|
|
11772
11615
|
const SEARCH_THRESHOLD = 13;
|
|
11773
|
-
const
|
|
11774
|
-
const SELECT_ALL = {
|
|
11616
|
+
const SELECT_ALL_OPTION = {
|
|
11775
11617
|
label: "All",
|
|
11776
11618
|
value: SELECT_ALL_VALUE
|
|
11777
11619
|
};
|
|
11778
11620
|
const DsSelect = (t0) => {
|
|
11779
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
11621
|
+
const $ = (0, react_compiler_runtime.c)(29);
|
|
11780
11622
|
const { id, options: userOptions, value, style, size, clearable, onClear, onBlur, className, placeholder: t1, disabled, renderOption, ...multiselectProps } = t0;
|
|
11781
11623
|
const placeholder = t1 === void 0 ? "Click to select a value" : t1;
|
|
11782
11624
|
const [searchTerm, setSearchTerm] = (0, react.useState)("");
|
|
11783
11625
|
const [showAllItems, setShowAllItems] = (0, react.useState)(false);
|
|
11784
|
-
const internalOptions = multiselectProps.multiple ? [
|
|
11626
|
+
const internalOptions = multiselectProps.multiple ? [SELECT_ALL_OPTION, ...userOptions] : userOptions;
|
|
11785
11627
|
const collection = (0, _ark_ui_react_select.createListCollection)({
|
|
11786
11628
|
items: internalOptions,
|
|
11787
11629
|
itemToValue: _temp$9
|
|
@@ -11814,7 +11656,7 @@ const DsSelect = (t0) => {
|
|
|
11814
11656
|
multiselectProps.onValueChange?.(details.value[0] ?? "");
|
|
11815
11657
|
return;
|
|
11816
11658
|
}
|
|
11817
|
-
if (details.value.includes(
|
|
11659
|
+
if (details.value.includes("__INTERNAL_SELECT_ALL_VALUE__")) {
|
|
11818
11660
|
const newValues = select.selectedItems.length === userOptions.length ? [] : userOptions.map(_temp3);
|
|
11819
11661
|
multiselectProps.onValueChange?.(newValues);
|
|
11820
11662
|
return;
|
|
@@ -11823,6 +11665,28 @@ const DsSelect = (t0) => {
|
|
|
11823
11665
|
multiselectProps.onValueChange?.(newValueWithoutSelectAll);
|
|
11824
11666
|
}
|
|
11825
11667
|
});
|
|
11668
|
+
const renderTriggerValue = () => {
|
|
11669
|
+
const defaultTrigger = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
|
|
11670
|
+
className: ds_select_module_default.valueText,
|
|
11671
|
+
variant: "body-sm-reg",
|
|
11672
|
+
asChild: true,
|
|
11673
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ValueText, { placeholder })
|
|
11674
|
+
});
|
|
11675
|
+
if (!multiselectProps.renderValue || !select.hasSelectedItems) return defaultTrigger;
|
|
11676
|
+
const userItems = getUserSelectedItems(select.selectedItems);
|
|
11677
|
+
if (multiselectProps.multiple) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
|
|
11678
|
+
className: ds_select_module_default.valueText,
|
|
11679
|
+
variant: "body-sm-reg",
|
|
11680
|
+
children: multiselectProps.renderValue(userItems)
|
|
11681
|
+
});
|
|
11682
|
+
const firstItem = userItems[0];
|
|
11683
|
+
if (!firstItem) return defaultTrigger;
|
|
11684
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTypography, {
|
|
11685
|
+
className: ds_select_module_default.valueText,
|
|
11686
|
+
variant: "body-sm-reg",
|
|
11687
|
+
children: multiselectProps.renderValue(firstItem)
|
|
11688
|
+
});
|
|
11689
|
+
};
|
|
11826
11690
|
const t4 = size === "small" && ds_select_module_default.small;
|
|
11827
11691
|
let t5;
|
|
11828
11692
|
if ($[3] !== className || $[4] !== t4) {
|
|
@@ -11831,46 +11695,22 @@ const DsSelect = (t0) => {
|
|
|
11831
11695
|
$[4] = t4;
|
|
11832
11696
|
$[5] = t5;
|
|
11833
11697
|
} else t5 = $[5];
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
variant: "body-sm-reg",
|
|
11839
|
-
asChild: true,
|
|
11840
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ValueText, { placeholder })
|
|
11841
|
-
});
|
|
11842
|
-
$[6] = placeholder;
|
|
11843
|
-
$[7] = t6;
|
|
11844
|
-
} else t6 = $[7];
|
|
11845
|
-
const t7 = size === "small" ? "small" : "medium";
|
|
11846
|
-
let t8;
|
|
11847
|
-
if ($[8] !== t7) {
|
|
11848
|
-
t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.Indicator, {
|
|
11698
|
+
const t6 = size === "small" ? "small" : "medium";
|
|
11699
|
+
let t7;
|
|
11700
|
+
if ($[6] !== t6) {
|
|
11701
|
+
t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.Indicator, {
|
|
11849
11702
|
className: ds_select_module_default.triggerIcon,
|
|
11850
11703
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
11851
11704
|
icon: "keyboard_arrow_down",
|
|
11852
|
-
size:
|
|
11705
|
+
size: t6
|
|
11853
11706
|
})
|
|
11854
11707
|
});
|
|
11855
|
-
$[
|
|
11856
|
-
$[
|
|
11857
|
-
} else
|
|
11858
|
-
let
|
|
11859
|
-
if ($[
|
|
11860
|
-
|
|
11861
|
-
id,
|
|
11862
|
-
className: ds_select_module_default.trigger,
|
|
11863
|
-
"aria-labelledby": null,
|
|
11864
|
-
children: [t6, t8]
|
|
11865
|
-
});
|
|
11866
|
-
$[10] = id;
|
|
11867
|
-
$[11] = t6;
|
|
11868
|
-
$[12] = t8;
|
|
11869
|
-
$[13] = t9;
|
|
11870
|
-
} else t9 = $[13];
|
|
11871
|
-
let t10;
|
|
11872
|
-
if ($[14] !== clearable || $[15] !== onClear || $[16] !== size) {
|
|
11873
|
-
t10 = clearable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ClearTrigger, {
|
|
11708
|
+
$[6] = t6;
|
|
11709
|
+
$[7] = t7;
|
|
11710
|
+
} else t7 = $[7];
|
|
11711
|
+
let t8;
|
|
11712
|
+
if ($[8] !== clearable || $[9] !== onClear || $[10] !== size) {
|
|
11713
|
+
t8 = clearable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ClearTrigger, {
|
|
11874
11714
|
className: ds_select_module_default.clearIcon,
|
|
11875
11715
|
onClick: onClear,
|
|
11876
11716
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
@@ -11878,19 +11718,19 @@ const DsSelect = (t0) => {
|
|
|
11878
11718
|
size: size === "small" ? "small" : "medium"
|
|
11879
11719
|
})
|
|
11880
11720
|
});
|
|
11881
|
-
$[
|
|
11882
|
-
$[
|
|
11883
|
-
$[
|
|
11884
|
-
$[
|
|
11885
|
-
} else
|
|
11721
|
+
$[8] = clearable;
|
|
11722
|
+
$[9] = onClear;
|
|
11723
|
+
$[10] = size;
|
|
11724
|
+
$[11] = t8;
|
|
11725
|
+
} else t8 = $[11];
|
|
11886
11726
|
const T0 = _ark_ui_react_portal.Portal;
|
|
11727
|
+
const t9 = _ark_ui_react_select.Select;
|
|
11728
|
+
const t10 = ds_select_module_default;
|
|
11887
11729
|
const t11 = _ark_ui_react_select.Select;
|
|
11888
11730
|
const t12 = ds_select_module_default;
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
if ($[18] !== searchTerm || $[19] !== userOptions.length) {
|
|
11893
|
-
t15 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11731
|
+
let t13;
|
|
11732
|
+
if ($[12] !== searchTerm || $[13] !== userOptions.length) {
|
|
11733
|
+
t13 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
11894
11734
|
className: ds_select_module_default.searchInput,
|
|
11895
11735
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTextInput, {
|
|
11896
11736
|
placeholder: "Search",
|
|
@@ -11903,17 +11743,17 @@ const DsSelect = (t0) => {
|
|
|
11903
11743
|
}) }
|
|
11904
11744
|
})
|
|
11905
11745
|
});
|
|
11906
|
-
$[
|
|
11907
|
-
$[
|
|
11908
|
-
$[
|
|
11909
|
-
} else
|
|
11910
|
-
const
|
|
11746
|
+
$[12] = searchTerm;
|
|
11747
|
+
$[13] = userOptions.length;
|
|
11748
|
+
$[14] = t13;
|
|
11749
|
+
} else t13 = $[14];
|
|
11750
|
+
const t14 = multiselectProps.multiple && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectItemsChips, {
|
|
11911
11751
|
onValueChange: multiselectProps.onValueChange,
|
|
11912
11752
|
showAll: showAllItems,
|
|
11913
11753
|
onShowAll: () => setShowAllItems(true),
|
|
11914
11754
|
count: 6
|
|
11915
11755
|
});
|
|
11916
|
-
const
|
|
11756
|
+
const t15 = filteredOptions.map((item_0) => {
|
|
11917
11757
|
const checked = getItemCheckedState({
|
|
11918
11758
|
item: item_0,
|
|
11919
11759
|
select,
|
|
@@ -11932,51 +11772,51 @@ const DsSelect = (t0) => {
|
|
|
11932
11772
|
icon: item_0.icon,
|
|
11933
11773
|
"aria-hidden": "true"
|
|
11934
11774
|
}),
|
|
11935
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ItemText, { children: renderOption ? renderOption(item_0) : item_0.label })
|
|
11775
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.ItemText, { children: renderOption && item_0.value !== "__INTERNAL_SELECT_ALL_VALUE__" ? renderOption(item_0) : item_0.label })
|
|
11936
11776
|
]
|
|
11937
11777
|
})
|
|
11938
11778
|
}, collection.getItemValue(item_0));
|
|
11939
11779
|
});
|
|
11940
|
-
let
|
|
11941
|
-
if ($[
|
|
11942
|
-
|
|
11943
|
-
className:
|
|
11780
|
+
let t16;
|
|
11781
|
+
if ($[15] !== t11.Content || $[16] !== t12.content || $[17] !== t13 || $[18] !== t14 || $[19] !== t15) {
|
|
11782
|
+
t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(t11.Content, {
|
|
11783
|
+
className: t12.content,
|
|
11944
11784
|
children: [
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11785
|
+
t13,
|
|
11786
|
+
t14,
|
|
11787
|
+
t15
|
|
11948
11788
|
]
|
|
11949
11789
|
});
|
|
11950
|
-
$[
|
|
11951
|
-
$[
|
|
11952
|
-
$[
|
|
11953
|
-
$[
|
|
11954
|
-
$[
|
|
11955
|
-
$[
|
|
11956
|
-
} else
|
|
11957
|
-
let
|
|
11958
|
-
if ($[
|
|
11959
|
-
|
|
11960
|
-
className:
|
|
11961
|
-
children:
|
|
11790
|
+
$[15] = t11.Content;
|
|
11791
|
+
$[16] = t12.content;
|
|
11792
|
+
$[17] = t13;
|
|
11793
|
+
$[18] = t14;
|
|
11794
|
+
$[19] = t15;
|
|
11795
|
+
$[20] = t16;
|
|
11796
|
+
} else t16 = $[20];
|
|
11797
|
+
let t17;
|
|
11798
|
+
if ($[21] !== t10.viewport || $[22] !== t16 || $[23] !== t9.Positioner) {
|
|
11799
|
+
t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(t9.Positioner, {
|
|
11800
|
+
className: t10.viewport,
|
|
11801
|
+
children: t16
|
|
11962
11802
|
});
|
|
11963
|
-
$[
|
|
11964
|
-
$[
|
|
11965
|
-
$[
|
|
11966
|
-
$[
|
|
11967
|
-
} else
|
|
11968
|
-
let
|
|
11969
|
-
if ($[
|
|
11970
|
-
|
|
11971
|
-
$[
|
|
11972
|
-
$[
|
|
11973
|
-
$[
|
|
11974
|
-
} else
|
|
11975
|
-
let
|
|
11976
|
-
if ($[
|
|
11977
|
-
|
|
11978
|
-
$[
|
|
11979
|
-
} else
|
|
11803
|
+
$[21] = t10.viewport;
|
|
11804
|
+
$[22] = t16;
|
|
11805
|
+
$[23] = t9.Positioner;
|
|
11806
|
+
$[24] = t17;
|
|
11807
|
+
} else t17 = $[24];
|
|
11808
|
+
let t18;
|
|
11809
|
+
if ($[25] !== T0 || $[26] !== t17) {
|
|
11810
|
+
t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, { children: t17 });
|
|
11811
|
+
$[25] = T0;
|
|
11812
|
+
$[26] = t17;
|
|
11813
|
+
$[27] = t18;
|
|
11814
|
+
} else t18 = $[27];
|
|
11815
|
+
let t19;
|
|
11816
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
11817
|
+
t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_select.Select.HiddenSelect, { style: { display: "none" } });
|
|
11818
|
+
$[28] = t19;
|
|
11819
|
+
} else t19 = $[28];
|
|
11980
11820
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_select.Select.RootProvider, {
|
|
11981
11821
|
value: select,
|
|
11982
11822
|
lazyMount: true,
|
|
@@ -11994,15 +11834,20 @@ const DsSelect = (t0) => {
|
|
|
11994
11834
|
onClear?.();
|
|
11995
11835
|
}
|
|
11996
11836
|
},
|
|
11997
|
-
children: [
|
|
11837
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_ark_ui_react_select.Select.Trigger, {
|
|
11838
|
+
id,
|
|
11839
|
+
className: ds_select_module_default.trigger,
|
|
11840
|
+
"aria-labelledby": null,
|
|
11841
|
+
children: [renderTriggerValue(), t7]
|
|
11842
|
+
}), t8]
|
|
11998
11843
|
}),
|
|
11999
|
-
|
|
12000
|
-
|
|
11844
|
+
t18,
|
|
11845
|
+
t19
|
|
12001
11846
|
]
|
|
12002
11847
|
});
|
|
12003
11848
|
};
|
|
12004
11849
|
function getItemCheckedState({ item, select, options }) {
|
|
12005
|
-
if (item.value !==
|
|
11850
|
+
if (item.value !== "__INTERNAL_SELECT_ALL_VALUE__") return select.getItemState({ item }).selected;
|
|
12006
11851
|
if (select.selectedItems.length === options.length - 1) return true;
|
|
12007
11852
|
return select.hasSelectedItems ? "indeterminate" : false;
|
|
12008
11853
|
}
|
|
@@ -12021,7 +11866,6 @@ function _temp4(val) {
|
|
|
12021
11866
|
function _temp5(e_1) {
|
|
12022
11867
|
if (e_1.key === " ") e_1.stopPropagation();
|
|
12023
11868
|
}
|
|
12024
|
-
|
|
12025
11869
|
//#endregion
|
|
12026
11870
|
//#region src/components/ds-number-input/ds-number-input.module.scss
|
|
12027
11871
|
var ds_number_input_module_default = {
|
|
@@ -12033,7 +11877,6 @@ var ds_number_input_module_default = {
|
|
|
12033
11877
|
"trigger": "_trigger_16htx_1",
|
|
12034
11878
|
"indicator": "_indicator_16htx_1"
|
|
12035
11879
|
};
|
|
12036
|
-
|
|
12037
11880
|
//#endregion
|
|
12038
11881
|
//#region src/components/ds-number-input/ds-number-input.tsx
|
|
12039
11882
|
const DsNumberInput = (t0) => {
|
|
@@ -12179,7 +12022,6 @@ const DsNumberInput = (t0) => {
|
|
|
12179
12022
|
} else t18 = $[32];
|
|
12180
12023
|
return t18;
|
|
12181
12024
|
};
|
|
12182
|
-
|
|
12183
12025
|
//#endregion
|
|
12184
12026
|
//#region src/components/ds-password-input/ds-password-input.module.scss
|
|
12185
12027
|
var ds_password_input_module_default = {
|
|
@@ -12191,7 +12033,6 @@ var ds_password_input_module_default = {
|
|
|
12191
12033
|
"trigger": "_trigger_25jao_1",
|
|
12192
12034
|
"indicator": "_indicator_25jao_1"
|
|
12193
12035
|
};
|
|
12194
|
-
|
|
12195
12036
|
//#endregion
|
|
12196
12037
|
//#region src/components/ds-password-input/ds-password-input.tsx
|
|
12197
12038
|
const DsPasswordInput = (t0) => {
|
|
@@ -12304,7 +12145,6 @@ const DsPasswordInput = (t0) => {
|
|
|
12304
12145
|
} else t13 = $[26];
|
|
12305
12146
|
return t13;
|
|
12306
12147
|
};
|
|
12307
|
-
|
|
12308
12148
|
//#endregion
|
|
12309
12149
|
//#region src/components/ds-form-control/ds-form-control.module.scss
|
|
12310
12150
|
var ds_form_control_module_default = {
|
|
@@ -12326,7 +12166,6 @@ var ds_form_control_module_default = {
|
|
|
12326
12166
|
"textarea": "_textarea_3x2wm_1",
|
|
12327
12167
|
"withIcon": "_withIcon_3x2wm_1"
|
|
12328
12168
|
};
|
|
12329
|
-
|
|
12330
12169
|
//#endregion
|
|
12331
12170
|
//#region src/components/ds-form-control/ds-form-control.tsx
|
|
12332
12171
|
const FormControlContext = (0, react.createContext)(null);
|
|
@@ -12481,16 +12320,14 @@ DsFormControl.DateInput = controlify(DsDateInput);
|
|
|
12481
12320
|
DsFormControl.Textarea = controlify(DsTextarea);
|
|
12482
12321
|
DsFormControl.Select = controlify(DsSelect);
|
|
12483
12322
|
DsFormControl.Description = DsFormControlDescription;
|
|
12484
|
-
|
|
12485
12323
|
//#endregion
|
|
12486
|
-
//#region src/components/ds-form-control/ds-form-control.types.
|
|
12324
|
+
//#region src/components/ds-form-control/ds-form-control.types.ts
|
|
12487
12325
|
const controlStatuses = [
|
|
12488
12326
|
"info",
|
|
12489
12327
|
"success",
|
|
12490
12328
|
"error",
|
|
12491
12329
|
"warning"
|
|
12492
12330
|
];
|
|
12493
|
-
|
|
12494
12331
|
//#endregion
|
|
12495
12332
|
//#region src/components/ds-grid/ds-grid.tsx
|
|
12496
12333
|
/**
|
|
@@ -12519,7 +12356,6 @@ const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className
|
|
|
12519
12356
|
children
|
|
12520
12357
|
});
|
|
12521
12358
|
};
|
|
12522
|
-
|
|
12523
12359
|
//#endregion
|
|
12524
12360
|
//#region src/components/ds-loader/ds-loader.module.scss
|
|
12525
12361
|
var ds_loader_module_default = {
|
|
@@ -12532,7 +12368,6 @@ var ds_loader_module_default = {
|
|
|
12532
12368
|
"pulsingInner": "_pulsingInner_2184a_1",
|
|
12533
12369
|
"spinnerGradient": "_spinnerGradient_2184a_1"
|
|
12534
12370
|
};
|
|
12535
|
-
|
|
12536
12371
|
//#endregion
|
|
12537
12372
|
//#region src/components/ds-loader/pulsing-icon.tsx
|
|
12538
12373
|
const PulsingIcon = () => {
|
|
@@ -12562,7 +12397,6 @@ const PulsingIcon = () => {
|
|
|
12562
12397
|
} else t0 = $[0];
|
|
12563
12398
|
return t0;
|
|
12564
12399
|
};
|
|
12565
|
-
|
|
12566
12400
|
//#endregion
|
|
12567
12401
|
//#region src/components/ds-loader/spinner-icon.tsx
|
|
12568
12402
|
const SpinnerIcon = () => {
|
|
@@ -12629,7 +12463,6 @@ const SpinnerIcon = () => {
|
|
|
12629
12463
|
} else t3 = $[3];
|
|
12630
12464
|
return t3;
|
|
12631
12465
|
};
|
|
12632
|
-
|
|
12633
12466
|
//#endregion
|
|
12634
12467
|
//#region src/components/ds-loader/ds-loader.tsx
|
|
12635
12468
|
/**
|
|
@@ -12678,11 +12511,9 @@ const DsLoader = (t0) => {
|
|
|
12678
12511
|
} else t4 = $[11];
|
|
12679
12512
|
return t4;
|
|
12680
12513
|
};
|
|
12681
|
-
|
|
12682
12514
|
//#endregion
|
|
12683
12515
|
//#region src/components/ds-loader/ds-loader.types.ts
|
|
12684
12516
|
const loaderVariants = ["spinner", "pulsing"];
|
|
12685
|
-
|
|
12686
12517
|
//#endregion
|
|
12687
12518
|
//#region src/components/ds-panel/ds-panel.module.scss
|
|
12688
12519
|
var ds_panel_module_default = {
|
|
@@ -12694,7 +12525,6 @@ var ds_panel_module_default = {
|
|
|
12694
12525
|
"triggerCollapsed": "_triggerCollapsed_1urw1_1",
|
|
12695
12526
|
"variantDocked": "_variantDocked_1urw1_1"
|
|
12696
12527
|
};
|
|
12697
|
-
|
|
12698
12528
|
//#endregion
|
|
12699
12529
|
//#region src/components/ds-panel/ds-panel.tsx
|
|
12700
12530
|
function useDraggable(enabled) {
|
|
@@ -12890,14 +12720,12 @@ function DsPanelCollapseButton(t0) {
|
|
|
12890
12720
|
} else t3 = $[8];
|
|
12891
12721
|
return t3;
|
|
12892
12722
|
}
|
|
12893
|
-
|
|
12894
12723
|
//#endregion
|
|
12895
12724
|
//#region src/components/ds-popover/ds-popover.module.scss
|
|
12896
12725
|
var ds_popover_module_default = {
|
|
12897
12726
|
"content": "_content_1g8y0_1",
|
|
12898
12727
|
"arrow": "_arrow_1g8y0_1"
|
|
12899
12728
|
};
|
|
12900
|
-
|
|
12901
12729
|
//#endregion
|
|
12902
12730
|
//#region src/components/ds-popover/ds-popover.tsx
|
|
12903
12731
|
const DsPopover = (t0) => {
|
|
@@ -12950,7 +12778,6 @@ const DsPopover = (t0) => {
|
|
|
12950
12778
|
} else t7 = $[12];
|
|
12951
12779
|
return t7;
|
|
12952
12780
|
};
|
|
12953
|
-
|
|
12954
12781
|
//#endregion
|
|
12955
12782
|
//#region src/components/ds-progress-arc/ds-progress-arc.module.scss
|
|
12956
12783
|
var ds_progress_arc_module_default = {
|
|
@@ -12966,11 +12793,9 @@ var ds_progress_arc_module_default = {
|
|
|
12966
12793
|
"iconError": "_iconError_ba1ec_1",
|
|
12967
12794
|
"iconMediumSize": "_iconMediumSize_ba1ec_1"
|
|
12968
12795
|
};
|
|
12969
|
-
|
|
12970
12796
|
//#endregion
|
|
12971
12797
|
//#region src/utils/numbers.ts
|
|
12972
12798
|
const clampValue = (value) => Math.min(100, Math.max(0, value));
|
|
12973
|
-
|
|
12974
12799
|
//#endregion
|
|
12975
12800
|
//#region src/components/ds-progress-arc/utils.ts
|
|
12976
12801
|
const ARC_DEGREES = 270;
|
|
@@ -13005,7 +12830,6 @@ const getProgressDasharray = (effectiveValue, arcLength, circumference) => {
|
|
|
13005
12830
|
const progressLength = effectiveValue / 100 * arcLength;
|
|
13006
12831
|
return `${String(progressLength)} ${String(circumference)}`;
|
|
13007
12832
|
};
|
|
13008
|
-
|
|
13009
12833
|
//#endregion
|
|
13010
12834
|
//#region src/components/ds-progress-arc/ds-progress-arc.tsx
|
|
13011
12835
|
const variantStyleMap$1 = Object.freeze({
|
|
@@ -13242,7 +13066,6 @@ const DsProgressArc = (t0) => {
|
|
|
13242
13066
|
} else t20 = $[64];
|
|
13243
13067
|
return t20;
|
|
13244
13068
|
};
|
|
13245
|
-
|
|
13246
13069
|
//#endregion
|
|
13247
13070
|
//#region src/components/ds-progress-arc/ds-progress-arc.types.ts
|
|
13248
13071
|
const progressArcSizes = ["small", "medium"];
|
|
@@ -13251,7 +13074,6 @@ const progressArcVariants = [
|
|
|
13251
13074
|
"success",
|
|
13252
13075
|
"error"
|
|
13253
13076
|
];
|
|
13254
|
-
|
|
13255
13077
|
//#endregion
|
|
13256
13078
|
//#region src/components/ds-progress-donut/ds-progress-donut.module.scss
|
|
13257
13079
|
var ds_progress_donut_module_default = {
|
|
@@ -13269,7 +13091,6 @@ var ds_progress_donut_module_default = {
|
|
|
13269
13091
|
"iconError": "_iconError_1ntar_1",
|
|
13270
13092
|
"iconMediumSize": "_iconMediumSize_1ntar_1"
|
|
13271
13093
|
};
|
|
13272
|
-
|
|
13273
13094
|
//#endregion
|
|
13274
13095
|
//#region src/components/ds-progress-donut/ds-progress-donut.tsx
|
|
13275
13096
|
const sizeStyleMap = Object.freeze({
|
|
@@ -13379,7 +13200,6 @@ const DsProgressDonut = (t0) => {
|
|
|
13379
13200
|
} else t14 = $[25];
|
|
13380
13201
|
return t14;
|
|
13381
13202
|
};
|
|
13382
|
-
|
|
13383
13203
|
//#endregion
|
|
13384
13204
|
//#region src/components/ds-progress-donut/ds-progress-donut.types.ts
|
|
13385
13205
|
const progressDonutSizes = ["small", "medium"];
|
|
@@ -13388,7 +13208,6 @@ const progressDonutVariants = [
|
|
|
13388
13208
|
"success",
|
|
13389
13209
|
"error"
|
|
13390
13210
|
];
|
|
13391
|
-
|
|
13392
13211
|
//#endregion
|
|
13393
13212
|
//#region src/components/ds-progress-linear/ds-progress-linear.module.scss
|
|
13394
13213
|
var ds_progress_linear_module_default = {
|
|
@@ -13414,14 +13233,12 @@ var ds_progress_linear_module_default = {
|
|
|
13414
13233
|
"captionError": "_captionError_rxcyf_1",
|
|
13415
13234
|
"captionInterrupted": "_captionInterrupted_rxcyf_1"
|
|
13416
13235
|
};
|
|
13417
|
-
|
|
13418
13236
|
//#endregion
|
|
13419
13237
|
//#region src/components/ds-progress-linear/utils.ts
|
|
13420
13238
|
function calculatePercentage(value, min, max) {
|
|
13421
13239
|
if (max <= min) return 0;
|
|
13422
13240
|
return Math.round((value - min) / (max - min) * 100);
|
|
13423
13241
|
}
|
|
13424
|
-
|
|
13425
13242
|
//#endregion
|
|
13426
13243
|
//#region src/components/ds-progress-linear/ds-progress-linear.tsx
|
|
13427
13244
|
const rangeVariantClass = Object.freeze({
|
|
@@ -13586,7 +13403,6 @@ const DsProgressLinear = (t0) => {
|
|
|
13586
13403
|
} else t19 = $[36];
|
|
13587
13404
|
return t19;
|
|
13588
13405
|
};
|
|
13589
|
-
|
|
13590
13406
|
//#endregion
|
|
13591
13407
|
//#region src/components/ds-progress-linear/ds-progress-linear.types.ts
|
|
13592
13408
|
const progressLinearVariants = [
|
|
@@ -13601,7 +13417,6 @@ const progressLinearSizes = [
|
|
|
13601
13417
|
"medium",
|
|
13602
13418
|
"large"
|
|
13603
13419
|
];
|
|
13604
|
-
|
|
13605
13420
|
//#endregion
|
|
13606
13421
|
//#region src/components/ds-radio-group/ds-radio-group.module.scss
|
|
13607
13422
|
var ds_radio_group_module_default = {
|
|
@@ -13613,7 +13428,6 @@ var ds_radio_group_module_default = {
|
|
|
13613
13428
|
"radioIndicator": "_radioIndicator_g8qjm_1",
|
|
13614
13429
|
"radioLabel": "_radioLabel_g8qjm_1"
|
|
13615
13430
|
};
|
|
13616
|
-
|
|
13617
13431
|
//#endregion
|
|
13618
13432
|
//#region src/components/ds-radio-group/ds-radio-group.tsx
|
|
13619
13433
|
/**
|
|
@@ -13858,7 +13672,6 @@ function _temp$8(option) {
|
|
|
13858
13672
|
})]
|
|
13859
13673
|
}, option.value);
|
|
13860
13674
|
}
|
|
13861
|
-
|
|
13862
13675
|
//#endregion
|
|
13863
13676
|
//#region src/components/ds-segment-group/ds-segment-group.module.scss
|
|
13864
13677
|
var ds_segment_group_module_default = {
|
|
@@ -13868,7 +13681,6 @@ var ds_segment_group_module_default = {
|
|
|
13868
13681
|
"segmentItemText": "_segmentItemText_1sd0t_1",
|
|
13869
13682
|
"segmentIndicator": "_segmentIndicator_1sd0t_1"
|
|
13870
13683
|
};
|
|
13871
|
-
|
|
13872
13684
|
//#endregion
|
|
13873
13685
|
//#region src/components/ds-segment-group/ds-segment-group.tsx
|
|
13874
13686
|
/**
|
|
@@ -14072,12 +13884,10 @@ const DsSegmentGroup = {
|
|
|
14072
13884
|
Item,
|
|
14073
13885
|
ItemText
|
|
14074
13886
|
};
|
|
14075
|
-
|
|
14076
13887
|
//#endregion
|
|
14077
13888
|
//#region src/components/ds-skeleton/ds-skeleton.types.ts
|
|
14078
13889
|
const skeletonColorVariants = ["gray", "blue"];
|
|
14079
13890
|
const skeletonRadiusVariants = ["default", "round"];
|
|
14080
|
-
|
|
14081
13891
|
//#endregion
|
|
14082
13892
|
//#region src/components/ds-skeleton/ds-skeleton.config.ts
|
|
14083
13893
|
/**
|
|
@@ -14130,11 +13940,6 @@ const radiusMap = Object.freeze({
|
|
|
14130
13940
|
default: 4,
|
|
14131
13941
|
round: 999
|
|
14132
13942
|
});
|
|
14133
|
-
/**
|
|
14134
|
-
* Default gap between skeleton lines in pixels
|
|
14135
|
-
*/
|
|
14136
|
-
const DEFAULT_LINE_GAP = 8;
|
|
14137
|
-
|
|
14138
13943
|
//#endregion
|
|
14139
13944
|
//#region src/components/ds-skeleton/ds-skeleton.module.scss
|
|
14140
13945
|
var ds_skeleton_module_default = {
|
|
@@ -14147,7 +13952,6 @@ var ds_skeleton_module_default = {
|
|
|
14147
13952
|
"rectangle": "_rectangle_14v2k_1",
|
|
14148
13953
|
"container": "_container_14v2k_1"
|
|
14149
13954
|
};
|
|
14150
|
-
|
|
14151
13955
|
//#endregion
|
|
14152
13956
|
//#region src/components/ds-skeleton/ds-skeleton-text.tsx
|
|
14153
13957
|
/**
|
|
@@ -14198,7 +14002,7 @@ const DsSkeletonText = (t0) => {
|
|
|
14198
14002
|
const createLineStyle = t8;
|
|
14199
14003
|
let t9;
|
|
14200
14004
|
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
14201
|
-
t9 = { gap:
|
|
14005
|
+
t9 = { gap: 8 };
|
|
14202
14006
|
$[9] = t9;
|
|
14203
14007
|
} else t9 = $[9];
|
|
14204
14008
|
let t10;
|
|
@@ -14228,7 +14032,6 @@ const DsSkeletonText = (t0) => {
|
|
|
14228
14032
|
} else t10 = $[14];
|
|
14229
14033
|
return t10;
|
|
14230
14034
|
};
|
|
14231
|
-
|
|
14232
14035
|
//#endregion
|
|
14233
14036
|
//#region src/components/ds-skeleton/ds-skeleton-circle.tsx
|
|
14234
14037
|
/**
|
|
@@ -14277,7 +14080,6 @@ const DsSkeletonCircle = (t0) => {
|
|
|
14277
14080
|
} else t8 = $[9];
|
|
14278
14081
|
return t8;
|
|
14279
14082
|
};
|
|
14280
|
-
|
|
14281
14083
|
//#endregion
|
|
14282
14084
|
//#region src/components/ds-skeleton/ds-skeleton-rect.tsx
|
|
14283
14085
|
/**
|
|
@@ -14328,15 +14130,13 @@ const DsSkeletonRect = (t0) => {
|
|
|
14328
14130
|
} else t9 = $[10];
|
|
14329
14131
|
return t9;
|
|
14330
14132
|
};
|
|
14331
|
-
|
|
14332
14133
|
//#endregion
|
|
14333
|
-
//#region src/components/ds-skeleton/ds-skeleton.
|
|
14134
|
+
//#region src/components/ds-skeleton/ds-skeleton.ts
|
|
14334
14135
|
var ds_skeleton_default = {
|
|
14335
14136
|
Text: DsSkeletonText,
|
|
14336
14137
|
Circle: DsSkeletonCircle,
|
|
14337
14138
|
Rect: DsSkeletonRect
|
|
14338
14139
|
};
|
|
14339
|
-
|
|
14340
14140
|
//#endregion
|
|
14341
14141
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.module.scss
|
|
14342
14142
|
var ds_smart_tabs_module_default = {
|
|
@@ -14349,7 +14149,6 @@ var ds_smart_tabs_module_default = {
|
|
|
14349
14149
|
"label": "_label_fu70w_1",
|
|
14350
14150
|
"content": "_content_fu70w_1"
|
|
14351
14151
|
};
|
|
14352
|
-
|
|
14353
14152
|
//#endregion
|
|
14354
14153
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
|
|
14355
14154
|
const colorMap = {
|
|
@@ -14589,9 +14388,8 @@ const DsSmartTabs = (t0) => {
|
|
|
14589
14388
|
return t6;
|
|
14590
14389
|
};
|
|
14591
14390
|
DsSmartTabs.Tab = DsSmartTab;
|
|
14592
|
-
|
|
14593
14391
|
//#endregion
|
|
14594
|
-
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.
|
|
14392
|
+
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.ts
|
|
14595
14393
|
const colors = [
|
|
14596
14394
|
"dark-blue",
|
|
14597
14395
|
"light-blue",
|
|
@@ -14603,7 +14401,6 @@ const colors = [
|
|
|
14603
14401
|
"red",
|
|
14604
14402
|
"amber"
|
|
14605
14403
|
];
|
|
14606
|
-
|
|
14607
14404
|
//#endregion
|
|
14608
14405
|
//#region src/components/ds-spinner/ds-spinner.module.scss
|
|
14609
14406
|
var ds_spinner_module_default = {
|
|
@@ -14612,7 +14409,6 @@ var ds_spinner_module_default = {
|
|
|
14612
14409
|
"spin": "_spin_vr3r7_1",
|
|
14613
14410
|
"progressArc": "_progressArc_vr3r7_1"
|
|
14614
14411
|
};
|
|
14615
|
-
|
|
14616
14412
|
//#endregion
|
|
14617
14413
|
//#region src/components/ds-spinner/ds-spinner.tsx
|
|
14618
14414
|
const sizeMap = {
|
|
@@ -14723,15 +14519,13 @@ const DsSpinner = (t0) => {
|
|
|
14723
14519
|
} else t11 = $[24];
|
|
14724
14520
|
return t11;
|
|
14725
14521
|
};
|
|
14726
|
-
|
|
14727
14522
|
//#endregion
|
|
14728
|
-
//#region src/components/ds-spinner/ds-spinner.types.
|
|
14523
|
+
//#region src/components/ds-spinner/ds-spinner.types.ts
|
|
14729
14524
|
const spinnerSizes = [
|
|
14730
14525
|
"small",
|
|
14731
14526
|
"medium",
|
|
14732
14527
|
"large"
|
|
14733
14528
|
];
|
|
14734
|
-
|
|
14735
14529
|
//#endregion
|
|
14736
14530
|
//#region src/components/ds-status-badge/ds-status-badge.module.scss
|
|
14737
14531
|
var ds_status_badge_module_default = {
|
|
@@ -14747,7 +14541,6 @@ var ds_status_badge_module_default = {
|
|
|
14747
14541
|
"warning": "_warning_1djyv_1",
|
|
14748
14542
|
"failed": "_failed_1djyv_1"
|
|
14749
14543
|
};
|
|
14750
|
-
|
|
14751
14544
|
//#endregion
|
|
14752
14545
|
//#region src/components/ds-status-badge/ds-status-badge.tsx
|
|
14753
14546
|
/**
|
|
@@ -14813,7 +14606,6 @@ const DsStatusBadge = (t0) => {
|
|
|
14813
14606
|
} else t12 = $[15];
|
|
14814
14607
|
return t12;
|
|
14815
14608
|
};
|
|
14816
|
-
|
|
14817
14609
|
//#endregion
|
|
14818
14610
|
//#region src/components/ds-stepper/ds-stepper.module.scss
|
|
14819
14611
|
var ds_stepper_module_default = {
|
|
@@ -14836,7 +14628,6 @@ var ds_stepper_module_default = {
|
|
|
14836
14628
|
"stepLabelRow": "_stepLabelRow_xy15l_1",
|
|
14837
14629
|
"horizontalSeparator": "_horizontalSeparator_xy15l_1"
|
|
14838
14630
|
};
|
|
14839
|
-
|
|
14840
14631
|
//#endregion
|
|
14841
14632
|
//#region src/components/ds-stepper/hooks/use-steps.ts
|
|
14842
14633
|
function useSteps(t0) {
|
|
@@ -14870,7 +14661,6 @@ function useSteps(t0) {
|
|
|
14870
14661
|
} else t3 = $[8];
|
|
14871
14662
|
return t3;
|
|
14872
14663
|
}
|
|
14873
|
-
|
|
14874
14664
|
//#endregion
|
|
14875
14665
|
//#region src/components/ds-stepper/hooks/use-stepper.ts
|
|
14876
14666
|
const StepperContext = (0, react.createContext)(null);
|
|
@@ -14879,7 +14669,6 @@ function useStepper() {
|
|
|
14879
14669
|
if (!context) throw new Error("useStepper must be used within a DsStepper");
|
|
14880
14670
|
return context;
|
|
14881
14671
|
}
|
|
14882
|
-
|
|
14883
14672
|
//#endregion
|
|
14884
14673
|
//#region src/components/ds-stepper/ds-stepper.tsx
|
|
14885
14674
|
function DsStepper(t0) {
|
|
@@ -14978,7 +14767,6 @@ function DsStepper(t0) {
|
|
|
14978
14767
|
} else t10 = $[27];
|
|
14979
14768
|
return t10;
|
|
14980
14769
|
}
|
|
14981
|
-
|
|
14982
14770
|
//#endregion
|
|
14983
14771
|
//#region src/components/ds-stepper/components/ds-step-separator.tsx
|
|
14984
14772
|
function DsStepSeparator(t0) {
|
|
@@ -15007,7 +14795,6 @@ function DsStepSeparator(t0) {
|
|
|
15007
14795
|
} else t3 = $[5];
|
|
15008
14796
|
return t3;
|
|
15009
14797
|
}
|
|
15010
|
-
|
|
15011
14798
|
//#endregion
|
|
15012
14799
|
//#region src/components/ds-stepper/components/ds-step.tsx
|
|
15013
14800
|
function DsStep(t0) {
|
|
@@ -15178,7 +14965,6 @@ function DsStep(t0) {
|
|
|
15178
14965
|
} else t18 = $[47];
|
|
15179
14966
|
return t18;
|
|
15180
14967
|
}
|
|
15181
|
-
|
|
15182
14968
|
//#endregion
|
|
15183
14969
|
//#region src/components/ds-stepper/components/ds-step-label.tsx
|
|
15184
14970
|
function DsStepLabel(t0) {
|
|
@@ -15195,7 +14981,6 @@ function DsStepLabel(t0) {
|
|
|
15195
14981
|
} else t1 = $[1];
|
|
15196
14982
|
return t1;
|
|
15197
14983
|
}
|
|
15198
|
-
|
|
15199
14984
|
//#endregion
|
|
15200
14985
|
//#region src/components/ds-stepper/components/ds-step-description.tsx
|
|
15201
14986
|
function DsStepDescription(t0) {
|
|
@@ -15212,7 +14997,6 @@ function DsStepDescription(t0) {
|
|
|
15212
14997
|
} else t1 = $[1];
|
|
15213
14998
|
return t1;
|
|
15214
14999
|
}
|
|
15215
|
-
|
|
15216
15000
|
//#endregion
|
|
15217
15001
|
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
15218
15002
|
function DsStepContent(t0) {
|
|
@@ -15270,7 +15054,6 @@ function DsStepContent(t0) {
|
|
|
15270
15054
|
} else t5 = $[15];
|
|
15271
15055
|
return t5;
|
|
15272
15056
|
}
|
|
15273
|
-
|
|
15274
15057
|
//#endregion
|
|
15275
15058
|
//#region src/components/ds-stepper/components/ds-step-next-button.tsx
|
|
15276
15059
|
function DsNextStepButton(t0) {
|
|
@@ -15313,7 +15096,6 @@ function DsNextStepButton(t0) {
|
|
|
15313
15096
|
} else t3 = $[10];
|
|
15314
15097
|
return t3;
|
|
15315
15098
|
}
|
|
15316
|
-
|
|
15317
15099
|
//#endregion
|
|
15318
15100
|
//#region src/components/ds-system-status/ds-system-status.module.scss
|
|
15319
15101
|
var ds_system_status_module_default = {
|
|
@@ -15328,7 +15110,6 @@ var ds_system_status_module_default = {
|
|
|
15328
15110
|
"alert": "_alert_1cszu_1",
|
|
15329
15111
|
"disabled": "_disabled_1cszu_1"
|
|
15330
15112
|
};
|
|
15331
|
-
|
|
15332
15113
|
//#endregion
|
|
15333
15114
|
//#region src/components/ds-system-status/ds-system-status.tsx
|
|
15334
15115
|
/**
|
|
@@ -15386,9 +15167,8 @@ const DsSystemStatus = (t0) => {
|
|
|
15386
15167
|
} else t6 = $[8];
|
|
15387
15168
|
return t6;
|
|
15388
15169
|
};
|
|
15389
|
-
|
|
15390
15170
|
//#endregion
|
|
15391
|
-
//#region src/components/ds-system-status/ds-system-status.types.
|
|
15171
|
+
//#region src/components/ds-system-status/ds-system-status.types.ts
|
|
15392
15172
|
/**
|
|
15393
15173
|
* @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.
|
|
15394
15174
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
@@ -15402,7 +15182,6 @@ const systemStatuses = [
|
|
|
15402
15182
|
"alert",
|
|
15403
15183
|
"disabled"
|
|
15404
15184
|
];
|
|
15405
|
-
|
|
15406
15185
|
//#endregion
|
|
15407
15186
|
//#region src/components/ds-table/filters/adapters/create-filter-adapter.ts
|
|
15408
15187
|
/**
|
|
@@ -15483,7 +15262,6 @@ function createFilterAdapter(config) {
|
|
|
15483
15262
|
renderFilter: config.renderFilter
|
|
15484
15263
|
};
|
|
15485
15264
|
}
|
|
15486
|
-
|
|
15487
15265
|
//#endregion
|
|
15488
15266
|
//#region src/components/ds-table/filters/components/checkbox-filter/checkbox-filter.tsx
|
|
15489
15267
|
const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) => {
|
|
@@ -15499,7 +15277,6 @@ const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) =
|
|
|
15499
15277
|
}, JSON.stringify(item.value));
|
|
15500
15278
|
});
|
|
15501
15279
|
};
|
|
15502
|
-
|
|
15503
15280
|
//#endregion
|
|
15504
15281
|
//#region src/components/ds-table/filters/adapters/create-checkbox-filter-adapter.tsx
|
|
15505
15282
|
/**
|
|
@@ -15547,7 +15324,6 @@ function createCheckboxFilterAdapter(config) {
|
|
|
15547
15324
|
}
|
|
15548
15325
|
});
|
|
15549
15326
|
}
|
|
15550
|
-
|
|
15551
15327
|
//#endregion
|
|
15552
15328
|
//#region src/components/ds-table/filters/components/range-filter/range-filter.module.scss
|
|
15553
15329
|
var range_filter_module_default = {
|
|
@@ -15556,7 +15332,6 @@ var range_filter_module_default = {
|
|
|
15556
15332
|
"inputs": "_inputs_13tjl_1",
|
|
15557
15333
|
"inputGroup": "_inputGroup_13tjl_1"
|
|
15558
15334
|
};
|
|
15559
|
-
|
|
15560
15335
|
//#endregion
|
|
15561
15336
|
//#region src/components/ds-table/filters/components/range-filter/range-filter.tsx
|
|
15562
15337
|
const RangeFilter = (t0) => {
|
|
@@ -15720,7 +15495,6 @@ const RangeFilter = (t0) => {
|
|
|
15720
15495
|
} else t14 = $[34];
|
|
15721
15496
|
return t14;
|
|
15722
15497
|
};
|
|
15723
|
-
|
|
15724
15498
|
//#endregion
|
|
15725
15499
|
//#region src/components/ds-table/filters/adapters/create-dual-range-filter-adapter.tsx
|
|
15726
15500
|
/**
|
|
@@ -15803,7 +15577,6 @@ function createDualRangeFilterAdapter(config) {
|
|
|
15803
15577
|
}
|
|
15804
15578
|
});
|
|
15805
15579
|
}
|
|
15806
|
-
|
|
15807
15580
|
//#endregion
|
|
15808
15581
|
//#region src/components/ds-table/filters/hooks/use-table-filters.ts
|
|
15809
15582
|
/**
|
|
@@ -16011,7 +15784,6 @@ function _temp$7(state, adapter) {
|
|
|
16011
15784
|
[adapter.id]: adapter.initialValue
|
|
16012
15785
|
};
|
|
16013
15786
|
}
|
|
16014
|
-
|
|
16015
15787
|
//#endregion
|
|
16016
15788
|
//#region src/components/ds-table/components/core-table/core-table.module.scss
|
|
16017
15789
|
var core_table_module_default = {
|
|
@@ -16021,7 +15793,6 @@ var core_table_module_default = {
|
|
|
16021
15793
|
"tableCell": "_tableCell_9wtya_1",
|
|
16022
15794
|
"tableCaption": "_tableCaption_9wtya_1"
|
|
16023
15795
|
};
|
|
16024
|
-
|
|
16025
15796
|
//#endregion
|
|
16026
15797
|
//#region src/components/ds-table/components/core-table/core-table.tsx
|
|
16027
15798
|
function Table(t0) {
|
|
@@ -16217,7 +15988,6 @@ function TableCaption(t0) {
|
|
|
16217
15988
|
return t2;
|
|
16218
15989
|
}
|
|
16219
15990
|
TableCaption.displayName = "TableCaption";
|
|
16220
|
-
|
|
16221
15991
|
//#endregion
|
|
16222
15992
|
//#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss
|
|
16223
15993
|
var ds_table_bulk_actions_module_default = {
|
|
@@ -16235,7 +16005,6 @@ var ds_table_bulk_actions_module_default = {
|
|
|
16235
16005
|
"actionButtonContent": "_actionButtonContent_15vel_1",
|
|
16236
16006
|
"escapeButtonContent": "_escapeButtonContent_15vel_1"
|
|
16237
16007
|
};
|
|
16238
|
-
|
|
16239
16008
|
//#endregion
|
|
16240
16009
|
//#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.tsx
|
|
16241
16010
|
const DsTableBulkActions = (t0) => {
|
|
@@ -16369,7 +16138,6 @@ function _temp$6(action, index) {
|
|
|
16369
16138
|
})]
|
|
16370
16139
|
}, index);
|
|
16371
16140
|
}
|
|
16372
|
-
|
|
16373
16141
|
//#endregion
|
|
16374
16142
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
|
|
16375
16143
|
var ds_table_header_module_default = {
|
|
@@ -16387,7 +16155,6 @@ var ds_table_header_module_default = {
|
|
|
16387
16155
|
"pageButtonIcon": "_pageButtonIcon_y7036_1",
|
|
16388
16156
|
"headerSortContainer": "_headerSortContainer_y7036_1"
|
|
16389
16157
|
};
|
|
16390
|
-
|
|
16391
16158
|
//#endregion
|
|
16392
16159
|
//#region src/components/ds-table/styles/shared/ds-table-shared.module.scss
|
|
16393
16160
|
var ds_table_shared_module_default = {
|
|
@@ -16402,16 +16169,14 @@ var ds_table_shared_module_default = {
|
|
|
16402
16169
|
"rotate-315": "_rotate-315_1vhho_1",
|
|
16403
16170
|
"checkboxContainer": "_checkboxContainer_1vhho_1"
|
|
16404
16171
|
};
|
|
16405
|
-
|
|
16406
16172
|
//#endregion
|
|
16407
|
-
//#region src/components/ds-table/context/ds-table-context.
|
|
16173
|
+
//#region src/components/ds-table/context/ds-table-context.ts
|
|
16408
16174
|
const DsTableContext = (0, react.createContext)(null);
|
|
16409
16175
|
const useDsTableContext = () => {
|
|
16410
16176
|
const context = (0, react.useContext)(DsTableContext);
|
|
16411
16177
|
if (!context) throw new Error("useDsTableContext must be used within DsTable");
|
|
16412
16178
|
return context;
|
|
16413
16179
|
};
|
|
16414
|
-
|
|
16415
16180
|
//#endregion
|
|
16416
16181
|
//#region src/components/ds-table/utils/column-size.ts
|
|
16417
16182
|
/**
|
|
@@ -16425,7 +16190,6 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
|
|
|
16425
16190
|
if (columnSize !== _tanstack_react_table.defaultColumnSizing.size) return { width: columnSize };
|
|
16426
16191
|
if (virtualized) return { flex: 1 };
|
|
16427
16192
|
};
|
|
16428
|
-
|
|
16429
16193
|
//#endregion
|
|
16430
16194
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
|
|
16431
16195
|
const DsTableHeader = (t0) => {
|
|
@@ -16509,7 +16273,6 @@ const DsTableHeader = (t0) => {
|
|
|
16509
16273
|
} else t5 = $[13];
|
|
16510
16274
|
return t5;
|
|
16511
16275
|
};
|
|
16512
|
-
|
|
16513
16276
|
//#endregion
|
|
16514
16277
|
//#region src/components/ds-table/ds-table.module.scss
|
|
16515
16278
|
var ds_table_module_default = {
|
|
@@ -16530,7 +16293,6 @@ var ds_table_module_default = {
|
|
|
16530
16293
|
"virtualized": "_virtualized_11iga_1",
|
|
16531
16294
|
"virtualizedContainer": "_virtualizedContainer_11iga_1"
|
|
16532
16295
|
};
|
|
16533
|
-
|
|
16534
16296
|
//#endregion
|
|
16535
16297
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss
|
|
16536
16298
|
var ds_table_cell_module_default = {
|
|
@@ -16541,7 +16303,6 @@ var ds_table_cell_module_default = {
|
|
|
16541
16303
|
"disabled": "_disabled_xj9ef_1",
|
|
16542
16304
|
"secondaryActionsTrigger": "_secondaryActionsTrigger_xj9ef_1"
|
|
16543
16305
|
};
|
|
16544
|
-
|
|
16545
16306
|
//#endregion
|
|
16546
16307
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.tsx
|
|
16547
16308
|
const DsDefaultTableCell = (t0) => {
|
|
@@ -16704,16 +16465,14 @@ function _temp$5(e_0) {
|
|
|
16704
16465
|
function _temp2(e_1) {
|
|
16705
16466
|
return e_1.stopPropagation();
|
|
16706
16467
|
}
|
|
16707
|
-
|
|
16708
16468
|
//#endregion
|
|
16709
16469
|
//#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.module.scss
|
|
16710
16470
|
var ds_table_row_selectable_cell_module_default = { "cell": "_cell_1da1f_1" };
|
|
16711
|
-
|
|
16712
16471
|
//#endregion
|
|
16713
16472
|
//#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx
|
|
16714
16473
|
const DsTableRowSelectableCell = (t0) => {
|
|
16715
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
16716
|
-
const { row, className } = t0;
|
|
16474
|
+
const $ = (0, react_compiler_runtime.c)(13);
|
|
16475
|
+
const { row, isSelected, className } = t0;
|
|
16717
16476
|
let t1;
|
|
16718
16477
|
if ($[0] !== className) {
|
|
16719
16478
|
t1 = (0, classnames.default)(ds_table_row_selectable_cell_module_default.cell, className);
|
|
@@ -16722,63 +16481,55 @@ const DsTableRowSelectableCell = (t0) => {
|
|
|
16722
16481
|
} else t1 = $[1];
|
|
16723
16482
|
let t2;
|
|
16724
16483
|
if ($[2] !== row) {
|
|
16725
|
-
t2 = row.
|
|
16484
|
+
t2 = row.getCanSelect();
|
|
16726
16485
|
$[2] = row;
|
|
16727
16486
|
$[3] = t2;
|
|
16728
16487
|
} else t2 = $[3];
|
|
16729
|
-
|
|
16488
|
+
const t3 = !t2;
|
|
16489
|
+
let t4;
|
|
16730
16490
|
if ($[4] !== row) {
|
|
16731
|
-
|
|
16732
|
-
$[4] = row;
|
|
16733
|
-
$[5] = t3;
|
|
16734
|
-
} else t3 = $[5];
|
|
16735
|
-
const t4 = !t3;
|
|
16736
|
-
let t5;
|
|
16737
|
-
if ($[6] !== row) {
|
|
16738
|
-
t5 = (e) => {
|
|
16491
|
+
t4 = (e) => {
|
|
16739
16492
|
e.stopPropagation();
|
|
16740
16493
|
row.getToggleSelectedHandler()(e);
|
|
16741
16494
|
};
|
|
16742
|
-
$[
|
|
16743
|
-
$[
|
|
16744
|
-
} else
|
|
16745
|
-
let
|
|
16746
|
-
if ($[
|
|
16747
|
-
|
|
16495
|
+
$[4] = row;
|
|
16496
|
+
$[5] = t4;
|
|
16497
|
+
} else t4 = $[5];
|
|
16498
|
+
let t5;
|
|
16499
|
+
if ($[6] !== isSelected || $[7] !== t3 || $[8] !== t4) {
|
|
16500
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsCheckbox, {
|
|
16748
16501
|
className: ds_table_shared_module_default.checkboxContainer,
|
|
16749
|
-
checked:
|
|
16750
|
-
disabled:
|
|
16751
|
-
onClick:
|
|
16502
|
+
checked: isSelected,
|
|
16503
|
+
disabled: t3,
|
|
16504
|
+
onClick: t4,
|
|
16752
16505
|
onDoubleClick: _temp$4
|
|
16753
16506
|
});
|
|
16754
|
-
$[
|
|
16755
|
-
$[
|
|
16756
|
-
$[
|
|
16757
|
-
$[
|
|
16758
|
-
} else
|
|
16759
|
-
let
|
|
16760
|
-
if ($[
|
|
16761
|
-
|
|
16507
|
+
$[6] = isSelected;
|
|
16508
|
+
$[7] = t3;
|
|
16509
|
+
$[8] = t4;
|
|
16510
|
+
$[9] = t5;
|
|
16511
|
+
} else t5 = $[9];
|
|
16512
|
+
let t6;
|
|
16513
|
+
if ($[10] !== t1 || $[11] !== t5) {
|
|
16514
|
+
t6 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
16762
16515
|
className: t1,
|
|
16763
|
-
children:
|
|
16516
|
+
children: t5
|
|
16764
16517
|
});
|
|
16765
|
-
$[
|
|
16766
|
-
$[
|
|
16767
|
-
$[
|
|
16768
|
-
} else
|
|
16769
|
-
return
|
|
16518
|
+
$[10] = t1;
|
|
16519
|
+
$[11] = t5;
|
|
16520
|
+
$[12] = t6;
|
|
16521
|
+
} else t6 = $[12];
|
|
16522
|
+
return t6;
|
|
16770
16523
|
};
|
|
16771
16524
|
function _temp$4(e_0) {
|
|
16772
16525
|
e_0.stopPropagation();
|
|
16773
16526
|
}
|
|
16774
|
-
|
|
16775
16527
|
//#endregion
|
|
16776
16528
|
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
|
|
16777
16529
|
var ds_table_row_expandable_cell_module_default = {
|
|
16778
16530
|
"cell": "_cell_riuvn_1",
|
|
16779
16531
|
"button": "_button_riuvn_1"
|
|
16780
16532
|
};
|
|
16781
|
-
|
|
16782
16533
|
//#endregion
|
|
16783
16534
|
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
|
|
16784
16535
|
const DsTableRowExpandableCell = (t0) => {
|
|
@@ -16848,7 +16599,6 @@ const DsTableRowExpandableCell = (t0) => {
|
|
|
16848
16599
|
function _temp$3(e_0) {
|
|
16849
16600
|
e_0.stopPropagation();
|
|
16850
16601
|
}
|
|
16851
|
-
|
|
16852
16602
|
//#endregion
|
|
16853
16603
|
//#region src/components/ds-table/components/ds-table-row/ds-table-row.module.scss
|
|
16854
16604
|
var ds_table_row_module_default = {
|
|
@@ -16868,7 +16618,6 @@ var ds_table_row_module_default = {
|
|
|
16868
16618
|
"rowDragHandle": "_rowDragHandle_3a8wk_1",
|
|
16869
16619
|
"expandToggleButton": "_expandToggleButton_3a8wk_1"
|
|
16870
16620
|
};
|
|
16871
|
-
|
|
16872
16621
|
//#endregion
|
|
16873
16622
|
//#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
|
|
16874
16623
|
const DsRowDragHandle = (t0) => {
|
|
@@ -16911,8 +16660,8 @@ const DsRowDragHandle = (t0) => {
|
|
|
16911
16660
|
return t5;
|
|
16912
16661
|
};
|
|
16913
16662
|
const DsTableRow = (t0) => {
|
|
16914
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
16915
|
-
const { ref, row } = t0;
|
|
16663
|
+
const $ = (0, react_compiler_runtime.c)(58);
|
|
16664
|
+
const { ref, row, isSelected } = t0;
|
|
16916
16665
|
const { expandable, selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
|
|
16917
16666
|
const isExpanded = row.getIsExpanded();
|
|
16918
16667
|
let t1;
|
|
@@ -16964,7 +16713,7 @@ const DsTableRow = (t0) => {
|
|
|
16964
16713
|
$[12] = t5;
|
|
16965
16714
|
$[13] = t6;
|
|
16966
16715
|
} else t6 = $[13];
|
|
16967
|
-
const t7 = isActive ? "active" :
|
|
16716
|
+
const t7 = isActive ? "active" : isSelected ? "selected" : void 0;
|
|
16968
16717
|
const t8 = (0, classnames.default)(ds_table_row_module_default.tableRow, {
|
|
16969
16718
|
[ds_table_row_module_default.sizeSmall]: rowSize === "small",
|
|
16970
16719
|
[ds_table_row_module_default.sizeMedium]: rowSize === "medium",
|
|
@@ -16985,41 +16734,43 @@ const DsTableRow = (t0) => {
|
|
|
16985
16734
|
$[19] = t10;
|
|
16986
16735
|
} else t10 = $[19];
|
|
16987
16736
|
let t11;
|
|
16988
|
-
if ($[20] !==
|
|
16737
|
+
if ($[20] !== isSelected || $[21] !== row || $[22] !== selectable) {
|
|
16989
16738
|
t11 = selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowSelectableCell, {
|
|
16990
16739
|
row,
|
|
16740
|
+
isSelected,
|
|
16991
16741
|
className: ds_table_row_module_default.selectableCell
|
|
16992
16742
|
});
|
|
16993
|
-
$[20] =
|
|
16994
|
-
$[21] =
|
|
16995
|
-
$[22] =
|
|
16996
|
-
|
|
16743
|
+
$[20] = isSelected;
|
|
16744
|
+
$[21] = row;
|
|
16745
|
+
$[22] = selectable;
|
|
16746
|
+
$[23] = t11;
|
|
16747
|
+
} else t11 = $[23];
|
|
16997
16748
|
let t12;
|
|
16998
|
-
if ($[
|
|
16749
|
+
if ($[24] !== expandable || $[25] !== row) {
|
|
16999
16750
|
t12 = expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, {
|
|
17000
16751
|
row,
|
|
17001
16752
|
className: ds_table_row_module_default.expandableCell,
|
|
17002
16753
|
buttonClassName: ds_table_row_module_default.expandToggleButton
|
|
17003
16754
|
});
|
|
17004
|
-
$[
|
|
17005
|
-
$[
|
|
17006
|
-
$[
|
|
17007
|
-
} else t12 = $[
|
|
16755
|
+
$[24] = expandable;
|
|
16756
|
+
$[25] = row;
|
|
16757
|
+
$[26] = t12;
|
|
16758
|
+
} else t12 = $[26];
|
|
17008
16759
|
let t13;
|
|
17009
|
-
if ($[
|
|
16760
|
+
if ($[27] !== attributes || $[28] !== isDragging || $[29] !== listeners || $[30] !== reorderable) {
|
|
17010
16761
|
t13 = reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsRowDragHandle, {
|
|
17011
16762
|
isDragging,
|
|
17012
16763
|
attributes,
|
|
17013
16764
|
listeners
|
|
17014
16765
|
});
|
|
17015
|
-
$[
|
|
17016
|
-
$[
|
|
17017
|
-
$[
|
|
17018
|
-
$[
|
|
17019
|
-
$[
|
|
17020
|
-
} else t13 = $[
|
|
16766
|
+
$[27] = attributes;
|
|
16767
|
+
$[28] = isDragging;
|
|
16768
|
+
$[29] = listeners;
|
|
16769
|
+
$[30] = reorderable;
|
|
16770
|
+
$[31] = t13;
|
|
16771
|
+
} else t13 = $[31];
|
|
17021
16772
|
let t14;
|
|
17022
|
-
if ($[
|
|
16773
|
+
if ($[32] !== primaryRowActions || $[33] !== row || $[34] !== secondaryRowActions) {
|
|
17023
16774
|
t14 = row.getVisibleCells().map((cell, idx) => {
|
|
17024
16775
|
const isLastColumn = idx === row.getVisibleCells().length - 1;
|
|
17025
16776
|
const cellStyle = getColumnSizeStyle(cell.column.getSize());
|
|
@@ -17037,13 +16788,13 @@ const DsTableRow = (t0) => {
|
|
|
17037
16788
|
})
|
|
17038
16789
|
}, cell.id);
|
|
17039
16790
|
});
|
|
17040
|
-
$[
|
|
17041
|
-
$[
|
|
17042
|
-
$[
|
|
17043
|
-
$[
|
|
17044
|
-
} else t14 = $[
|
|
16791
|
+
$[32] = primaryRowActions;
|
|
16792
|
+
$[33] = row;
|
|
16793
|
+
$[34] = secondaryRowActions;
|
|
16794
|
+
$[35] = t14;
|
|
16795
|
+
} else t14 = $[35];
|
|
17045
16796
|
let t15;
|
|
17046
|
-
if ($[
|
|
16797
|
+
if ($[36] !== T0 || $[37] !== rowStyle || $[38] !== t10 || $[39] !== t11 || $[40] !== t12 || $[41] !== t13 || $[42] !== t14 || $[43] !== t6 || $[44] !== t7 || $[45] !== t8 || $[46] !== t9) {
|
|
17047
16798
|
t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(T0, {
|
|
17048
16799
|
ref: t6,
|
|
17049
16800
|
"data-state": t7,
|
|
@@ -17058,21 +16809,21 @@ const DsTableRow = (t0) => {
|
|
|
17058
16809
|
t14
|
|
17059
16810
|
]
|
|
17060
16811
|
});
|
|
17061
|
-
$[
|
|
17062
|
-
$[
|
|
17063
|
-
$[
|
|
17064
|
-
$[
|
|
17065
|
-
$[
|
|
17066
|
-
$[
|
|
17067
|
-
$[
|
|
17068
|
-
$[
|
|
17069
|
-
$[
|
|
17070
|
-
$[
|
|
17071
|
-
$[
|
|
17072
|
-
$[
|
|
17073
|
-
} else t15 = $[
|
|
16812
|
+
$[36] = T0;
|
|
16813
|
+
$[37] = rowStyle;
|
|
16814
|
+
$[38] = t10;
|
|
16815
|
+
$[39] = t11;
|
|
16816
|
+
$[40] = t12;
|
|
16817
|
+
$[41] = t13;
|
|
16818
|
+
$[42] = t14;
|
|
16819
|
+
$[43] = t6;
|
|
16820
|
+
$[44] = t7;
|
|
16821
|
+
$[45] = t8;
|
|
16822
|
+
$[46] = t9;
|
|
16823
|
+
$[47] = t15;
|
|
16824
|
+
} else t15 = $[47];
|
|
17074
16825
|
let t16;
|
|
17075
|
-
if ($[
|
|
16826
|
+
if ($[48] !== isExpandable || $[49] !== isExpanded || $[50] !== renderExpandedRow || $[51] !== reorderable || $[52] !== row || $[53] !== selectable) {
|
|
17076
16827
|
t16 = isExpanded && renderExpandedRow && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, {
|
|
17077
16828
|
className: ds_table_row_module_default.expandedRow,
|
|
17078
16829
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
@@ -17081,27 +16832,26 @@ const DsTableRow = (t0) => {
|
|
|
17081
16832
|
children: renderExpandedRow(row.original)
|
|
17082
16833
|
})
|
|
17083
16834
|
});
|
|
17084
|
-
$[
|
|
17085
|
-
$[
|
|
17086
|
-
$[
|
|
17087
|
-
$[
|
|
17088
|
-
$[
|
|
17089
|
-
$[
|
|
17090
|
-
$[
|
|
17091
|
-
} else t16 = $[
|
|
16835
|
+
$[48] = isExpandable;
|
|
16836
|
+
$[49] = isExpanded;
|
|
16837
|
+
$[50] = renderExpandedRow;
|
|
16838
|
+
$[51] = reorderable;
|
|
16839
|
+
$[52] = row;
|
|
16840
|
+
$[53] = selectable;
|
|
16841
|
+
$[54] = t16;
|
|
16842
|
+
} else t16 = $[54];
|
|
17092
16843
|
let t17;
|
|
17093
|
-
if ($[
|
|
16844
|
+
if ($[55] !== t15 || $[56] !== t16) {
|
|
17094
16845
|
t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [t15, t16] });
|
|
17095
|
-
$[
|
|
17096
|
-
$[
|
|
17097
|
-
$[
|
|
17098
|
-
} else t17 = $[
|
|
16846
|
+
$[55] = t15;
|
|
16847
|
+
$[56] = t16;
|
|
16848
|
+
$[57] = t17;
|
|
16849
|
+
} else t17 = $[57];
|
|
17099
16850
|
return t17;
|
|
17100
16851
|
};
|
|
17101
16852
|
function _temp$2(e) {
|
|
17102
16853
|
return e.stopPropagation();
|
|
17103
16854
|
}
|
|
17104
|
-
|
|
17105
16855
|
//#endregion
|
|
17106
16856
|
//#region src/components/ds-table/hooks/use-drag-and-drop.tsx
|
|
17107
16857
|
const DragWrapper = (t0) => {
|
|
@@ -17233,14 +16983,12 @@ function useDragAndDrop(t0) {
|
|
|
17233
16983
|
function _temp$1(row) {
|
|
17234
16984
|
return row.id;
|
|
17235
16985
|
}
|
|
17236
|
-
|
|
17237
16986
|
//#endregion
|
|
17238
16987
|
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.module.scss
|
|
17239
16988
|
var ds_table_body_virtualized_module_default = {
|
|
17240
16989
|
"body": "_body_136uf_1",
|
|
17241
16990
|
"emptyState": "_emptyState_136uf_1"
|
|
17242
16991
|
};
|
|
17243
|
-
|
|
17244
16992
|
//#endregion
|
|
17245
16993
|
//#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss
|
|
17246
16994
|
var ds_table_row_virtualized_module_default = {
|
|
@@ -17257,24 +17005,23 @@ var ds_table_row_virtualized_module_default = {
|
|
|
17257
17005
|
"selectableCell": "_selectableCell_1tynu_1",
|
|
17258
17006
|
"expandableCell": "_expandableCell_1tynu_1"
|
|
17259
17007
|
};
|
|
17260
|
-
|
|
17261
17008
|
//#endregion
|
|
17262
17009
|
//#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
|
|
17263
17010
|
const DsTableRowVirtualized = (t0) => {
|
|
17264
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
17265
|
-
const { row, rowsMapRef, rowHeightsMapRef, rowVirtualizer, virtualRow, isExpandedRowContent } = t0;
|
|
17011
|
+
const $ = (0, react_compiler_runtime.c)(48);
|
|
17012
|
+
const { row, isSelected, rowsMapRef, rowHeightsMapRef, rowVirtualizer, virtualRow, isExpandedRowContent } = t0;
|
|
17266
17013
|
const { selectable, expandable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
|
|
17267
17014
|
let T0;
|
|
17268
17015
|
let t1;
|
|
17269
17016
|
let t2;
|
|
17270
17017
|
let t3;
|
|
17271
17018
|
let t4;
|
|
17272
|
-
if ($[0] !== activeRowId || $[1] !== bordered || $[2] !== isExpandedRowContent || $[3] !==
|
|
17019
|
+
if ($[0] !== activeRowId || $[1] !== bordered || $[2] !== isExpandedRowContent || $[3] !== isSelected || $[4] !== onRowClick || $[5] !== row || $[6] !== rowHeightsMapRef || $[7] !== rowSize || $[8] !== rowVirtualizer || $[9] !== rowsMapRef || $[10] !== virtualRow.index || $[11] !== virtualRow.key) {
|
|
17273
17020
|
const isExpanded = row.getIsExpanded();
|
|
17274
17021
|
const isActive = activeRowId === row.id;
|
|
17275
17022
|
T0 = TableRow;
|
|
17276
17023
|
t1 = virtualRow.index;
|
|
17277
|
-
if ($[
|
|
17024
|
+
if ($[17] !== rowHeightsMapRef || $[18] !== rowVirtualizer || $[19] !== rowsMapRef || $[20] !== virtualRow.key) {
|
|
17278
17025
|
t2 = (row_0) => {
|
|
17279
17026
|
const key = String(virtualRow.key);
|
|
17280
17027
|
if (row_0) {
|
|
@@ -17284,13 +17031,13 @@ const DsTableRowVirtualized = (t0) => {
|
|
|
17284
17031
|
rowHeightsMapRef.current.set(key, height);
|
|
17285
17032
|
} else rowsMapRef.current.delete(key);
|
|
17286
17033
|
};
|
|
17287
|
-
$[
|
|
17288
|
-
$[
|
|
17289
|
-
$[
|
|
17290
|
-
$[
|
|
17291
|
-
$[
|
|
17292
|
-
} else t2 = $[
|
|
17293
|
-
t3 = isActive ? "active" :
|
|
17034
|
+
$[17] = rowHeightsMapRef;
|
|
17035
|
+
$[18] = rowVirtualizer;
|
|
17036
|
+
$[19] = rowsMapRef;
|
|
17037
|
+
$[20] = virtualRow.key;
|
|
17038
|
+
$[21] = t2;
|
|
17039
|
+
} else t2 = $[21];
|
|
17040
|
+
t3 = isActive ? "active" : isSelected ? "selected" : void 0;
|
|
17294
17041
|
t4 = (0, classnames.default)(ds_table_row_virtualized_module_default.row, {
|
|
17295
17042
|
[ds_table_row_virtualized_module_default.sizeSmall]: rowSize === "small",
|
|
17296
17043
|
[ds_table_row_virtualized_module_default.sizeMedium]: rowSize === "medium",
|
|
@@ -17299,47 +17046,49 @@ const DsTableRowVirtualized = (t0) => {
|
|
|
17299
17046
|
$[0] = activeRowId;
|
|
17300
17047
|
$[1] = bordered;
|
|
17301
17048
|
$[2] = isExpandedRowContent;
|
|
17302
|
-
$[3] =
|
|
17303
|
-
$[4] =
|
|
17304
|
-
$[5] =
|
|
17305
|
-
$[6] =
|
|
17306
|
-
$[7] =
|
|
17307
|
-
$[8] =
|
|
17308
|
-
$[9] =
|
|
17309
|
-
$[10] = virtualRow.
|
|
17310
|
-
$[11] =
|
|
17311
|
-
$[12] =
|
|
17312
|
-
$[13] =
|
|
17313
|
-
$[14] =
|
|
17314
|
-
$[15] =
|
|
17049
|
+
$[3] = isSelected;
|
|
17050
|
+
$[4] = onRowClick;
|
|
17051
|
+
$[5] = row;
|
|
17052
|
+
$[6] = rowHeightsMapRef;
|
|
17053
|
+
$[7] = rowSize;
|
|
17054
|
+
$[8] = rowVirtualizer;
|
|
17055
|
+
$[9] = rowsMapRef;
|
|
17056
|
+
$[10] = virtualRow.index;
|
|
17057
|
+
$[11] = virtualRow.key;
|
|
17058
|
+
$[12] = T0;
|
|
17059
|
+
$[13] = t1;
|
|
17060
|
+
$[14] = t2;
|
|
17061
|
+
$[15] = t3;
|
|
17062
|
+
$[16] = t4;
|
|
17315
17063
|
} else {
|
|
17316
|
-
T0 = $[
|
|
17317
|
-
t1 = $[
|
|
17318
|
-
t2 = $[
|
|
17319
|
-
t3 = $[
|
|
17320
|
-
t4 = $[
|
|
17064
|
+
T0 = $[12];
|
|
17065
|
+
t1 = $[13];
|
|
17066
|
+
t2 = $[14];
|
|
17067
|
+
t3 = $[15];
|
|
17068
|
+
t4 = $[16];
|
|
17321
17069
|
}
|
|
17322
17070
|
let t5;
|
|
17323
|
-
if ($[
|
|
17071
|
+
if ($[22] !== isExpandedRowContent || $[23] !== onRowClick || $[24] !== row.original) {
|
|
17324
17072
|
t5 = isExpandedRowContent ? void 0 : () => onRowClick?.(row.original);
|
|
17325
|
-
$[
|
|
17326
|
-
$[
|
|
17327
|
-
$[
|
|
17328
|
-
$[
|
|
17329
|
-
} else t5 = $[
|
|
17073
|
+
$[22] = isExpandedRowContent;
|
|
17074
|
+
$[23] = onRowClick;
|
|
17075
|
+
$[24] = row.original;
|
|
17076
|
+
$[25] = t5;
|
|
17077
|
+
} else t5 = $[25];
|
|
17330
17078
|
let t6;
|
|
17331
|
-
if ($[
|
|
17079
|
+
if ($[26] !== isExpandedRowContent || $[27] !== onRowDoubleClick || $[28] !== row.original) {
|
|
17332
17080
|
t6 = isExpandedRowContent ? void 0 : () => onRowDoubleClick?.(row.original);
|
|
17333
|
-
$[
|
|
17334
|
-
$[
|
|
17335
|
-
$[
|
|
17336
|
-
$[
|
|
17337
|
-
} else t6 = $[
|
|
17081
|
+
$[26] = isExpandedRowContent;
|
|
17082
|
+
$[27] = onRowDoubleClick;
|
|
17083
|
+
$[28] = row.original;
|
|
17084
|
+
$[29] = t6;
|
|
17085
|
+
} else t6 = $[29];
|
|
17338
17086
|
let t7;
|
|
17339
|
-
if ($[
|
|
17087
|
+
if ($[30] !== expandable || $[31] !== isExpandedRowContent || $[32] !== isSelected || $[33] !== primaryRowActions || $[34] !== renderExpandedRow || $[35] !== row || $[36] !== secondaryRowActions || $[37] !== selectable) {
|
|
17340
17088
|
t7 = isExpandedRowContent ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
17341
17089
|
selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowSelectableCell, {
|
|
17342
17090
|
row,
|
|
17091
|
+
isSelected,
|
|
17343
17092
|
className: ds_table_row_virtualized_module_default.selectableCell
|
|
17344
17093
|
}),
|
|
17345
17094
|
expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, {
|
|
@@ -17363,17 +17112,18 @@ const DsTableRowVirtualized = (t0) => {
|
|
|
17363
17112
|
}, cell.id);
|
|
17364
17113
|
})
|
|
17365
17114
|
] });
|
|
17366
|
-
$[
|
|
17367
|
-
$[
|
|
17368
|
-
$[
|
|
17369
|
-
$[
|
|
17370
|
-
$[
|
|
17371
|
-
$[
|
|
17372
|
-
$[
|
|
17373
|
-
$[
|
|
17374
|
-
|
|
17115
|
+
$[30] = expandable;
|
|
17116
|
+
$[31] = isExpandedRowContent;
|
|
17117
|
+
$[32] = isSelected;
|
|
17118
|
+
$[33] = primaryRowActions;
|
|
17119
|
+
$[34] = renderExpandedRow;
|
|
17120
|
+
$[35] = row;
|
|
17121
|
+
$[36] = secondaryRowActions;
|
|
17122
|
+
$[37] = selectable;
|
|
17123
|
+
$[38] = t7;
|
|
17124
|
+
} else t7 = $[38];
|
|
17375
17125
|
let t8;
|
|
17376
|
-
if ($[
|
|
17126
|
+
if ($[39] !== T0 || $[40] !== t1 || $[41] !== t2 || $[42] !== t3 || $[43] !== t4 || $[44] !== t5 || $[45] !== t6 || $[46] !== t7) {
|
|
17377
17127
|
t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
17378
17128
|
"data-index": t1,
|
|
17379
17129
|
ref: t2,
|
|
@@ -17383,29 +17133,21 @@ const DsTableRowVirtualized = (t0) => {
|
|
|
17383
17133
|
onDoubleClick: t6,
|
|
17384
17134
|
children: t7
|
|
17385
17135
|
});
|
|
17386
|
-
$[
|
|
17387
|
-
$[
|
|
17388
|
-
$[
|
|
17389
|
-
$[
|
|
17390
|
-
$[
|
|
17391
|
-
$[
|
|
17392
|
-
$[
|
|
17393
|
-
$[
|
|
17394
|
-
$[
|
|
17395
|
-
} else t8 = $[
|
|
17136
|
+
$[39] = T0;
|
|
17137
|
+
$[40] = t1;
|
|
17138
|
+
$[41] = t2;
|
|
17139
|
+
$[42] = t3;
|
|
17140
|
+
$[43] = t4;
|
|
17141
|
+
$[44] = t5;
|
|
17142
|
+
$[45] = t6;
|
|
17143
|
+
$[46] = t7;
|
|
17144
|
+
$[47] = t8;
|
|
17145
|
+
} else t8 = $[47];
|
|
17396
17146
|
return t8;
|
|
17397
17147
|
};
|
|
17398
|
-
|
|
17399
|
-
//#endregion
|
|
17400
|
-
//#region src/components/ds-table/utils/constants.ts
|
|
17401
|
-
/**
|
|
17402
|
-
* Default text for empty table state
|
|
17403
|
-
*/
|
|
17404
|
-
const EMPTY_TABLE_STATE_TEXT = "No results.";
|
|
17405
|
-
|
|
17406
17148
|
//#endregion
|
|
17407
17149
|
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx
|
|
17408
|
-
const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimateSize, overscan, onScroll }) => {
|
|
17150
|
+
const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimateSize, overscan, onScroll, rowSelection }) => {
|
|
17409
17151
|
const rowsMapRef = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
17410
17152
|
const rowHeightsMapRef = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
17411
17153
|
const { rows } = table.getRowModel();
|
|
@@ -17438,10 +17180,13 @@ const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimate
|
|
|
17438
17180
|
const scrollOffset = instance.scrollOffset || 0;
|
|
17439
17181
|
const totalContentHeight = instance.getTotalSize();
|
|
17440
17182
|
const viewportHeight = instance.scrollElement?.clientHeight;
|
|
17183
|
+
const scrollDirection = instance.scrollDirection;
|
|
17441
17184
|
if (viewportHeight) onScroll({
|
|
17442
17185
|
scrollOffset,
|
|
17443
17186
|
totalContentHeight,
|
|
17444
|
-
viewportHeight
|
|
17187
|
+
viewportHeight,
|
|
17188
|
+
bottomOffset: totalContentHeight - (scrollOffset + viewportHeight),
|
|
17189
|
+
scrollDirection
|
|
17445
17190
|
});
|
|
17446
17191
|
}
|
|
17447
17192
|
}
|
|
@@ -17454,28 +17199,29 @@ const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimate
|
|
|
17454
17199
|
rowHeightsMapRef,
|
|
17455
17200
|
rowVirtualizer,
|
|
17456
17201
|
rowsAndExpandedRowContent,
|
|
17457
|
-
emptyState
|
|
17202
|
+
emptyState,
|
|
17203
|
+
rowSelection
|
|
17458
17204
|
});
|
|
17459
17205
|
};
|
|
17460
17206
|
function DsTableBody(t0) {
|
|
17461
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
17462
|
-
const { rowVirtualizer, rowsMapRef, rowHeightsMapRef, rowsAndExpandedRowContent, emptyState } = t0;
|
|
17207
|
+
const $ = (0, react_compiler_runtime.c)(11);
|
|
17208
|
+
const { rowVirtualizer, rowsMapRef, rowHeightsMapRef, rowsAndExpandedRowContent, emptyState, rowSelection } = t0;
|
|
17463
17209
|
let t1;
|
|
17464
|
-
if ($[0] !== emptyState || $[1] !== rowHeightsMapRef || $[2] !==
|
|
17210
|
+
if ($[0] !== emptyState || $[1] !== rowHeightsMapRef || $[2] !== rowSelection || $[3] !== rowVirtualizer || $[4] !== rowsAndExpandedRowContent || $[5] !== rowsMapRef) {
|
|
17465
17211
|
const virtualRows = rowVirtualizer.getVirtualItems();
|
|
17466
17212
|
let t2;
|
|
17467
|
-
if ($[
|
|
17213
|
+
if ($[7] !== rowVirtualizer) {
|
|
17468
17214
|
t2 = rowVirtualizer.getTotalSize().toString();
|
|
17469
|
-
$[
|
|
17470
|
-
$[
|
|
17471
|
-
} else t2 = $[
|
|
17215
|
+
$[7] = rowVirtualizer;
|
|
17216
|
+
$[8] = t2;
|
|
17217
|
+
} else t2 = $[8];
|
|
17472
17218
|
const t3 = `${t2}px`;
|
|
17473
17219
|
let t4;
|
|
17474
|
-
if ($[
|
|
17220
|
+
if ($[9] !== t3) {
|
|
17475
17221
|
t4 = { height: t3 };
|
|
17476
|
-
$[
|
|
17477
|
-
$[
|
|
17478
|
-
} else t4 = $[
|
|
17222
|
+
$[9] = t3;
|
|
17223
|
+
$[10] = t4;
|
|
17224
|
+
} else t4 = $[10];
|
|
17479
17225
|
t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableBody, {
|
|
17480
17226
|
className: ds_table_body_virtualized_module_default.body,
|
|
17481
17227
|
style: t4,
|
|
@@ -17484,6 +17230,7 @@ function DsTableBody(t0) {
|
|
|
17484
17230
|
if (!row) return null;
|
|
17485
17231
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowVirtualized, {
|
|
17486
17232
|
row: row.row,
|
|
17233
|
+
isSelected: !!rowSelection[row.row.id],
|
|
17487
17234
|
isExpandedRowContent: row.isExpandedRowContent,
|
|
17488
17235
|
rowsMapRef,
|
|
17489
17236
|
rowHeightsMapRef,
|
|
@@ -17492,19 +17239,19 @@ function DsTableBody(t0) {
|
|
|
17492
17239
|
}, virtualRow.key);
|
|
17493
17240
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17494
17241
|
className: ds_table_body_virtualized_module_default.emptyState,
|
|
17495
|
-
children: emptyState ||
|
|
17242
|
+
children: emptyState || "No results."
|
|
17496
17243
|
})
|
|
17497
17244
|
});
|
|
17498
17245
|
$[0] = emptyState;
|
|
17499
17246
|
$[1] = rowHeightsMapRef;
|
|
17500
|
-
$[2] =
|
|
17501
|
-
$[3] =
|
|
17502
|
-
$[4] =
|
|
17503
|
-
$[5] =
|
|
17504
|
-
|
|
17247
|
+
$[2] = rowSelection;
|
|
17248
|
+
$[3] = rowVirtualizer;
|
|
17249
|
+
$[4] = rowsAndExpandedRowContent;
|
|
17250
|
+
$[5] = rowsMapRef;
|
|
17251
|
+
$[6] = t1;
|
|
17252
|
+
} else t1 = $[6];
|
|
17505
17253
|
return t1;
|
|
17506
17254
|
}
|
|
17507
|
-
|
|
17508
17255
|
//#endregion
|
|
17509
17256
|
//#region src/components/ds-table/ds-table.tsx
|
|
17510
17257
|
const ROW_SIZE_HEIGHT_MAP = {
|
|
@@ -17614,7 +17361,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
17614
17361
|
const renderEmptyState = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
17615
17362
|
colSpan: columns.length + (expandable ? 1 : 0) + (selectable ? 1 : 0),
|
|
17616
17363
|
className: ds_table_module_default.emptyState,
|
|
17617
|
-
children: emptyState ||
|
|
17364
|
+
children: emptyState || "No results."
|
|
17618
17365
|
}) });
|
|
17619
17366
|
const selectedRows = Object.entries(rowSelection).filter(([, selected]) => selected).map(([key]) => rowsById[key]?.original).filter((v) => !!v);
|
|
17620
17367
|
const contextValue = {
|
|
@@ -17647,8 +17394,12 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
17647
17394
|
emptyState,
|
|
17648
17395
|
estimateSize: virtualizedOptions?.estimateSize || ROW_SIZE_HEIGHT_MAP[rowSize],
|
|
17649
17396
|
overscan: virtualizedOptions?.overscan,
|
|
17650
|
-
onScroll
|
|
17651
|
-
|
|
17397
|
+
onScroll,
|
|
17398
|
+
rowSelection
|
|
17399
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableBody, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SortableWrapper, { children: rows.length ? rows.map((row_1) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRow, {
|
|
17400
|
+
row: row_1,
|
|
17401
|
+
isSelected: !!rowSelection[row_1.id]
|
|
17402
|
+
}, row_1.id)) : renderEmptyState() }) })]
|
|
17652
17403
|
}) })
|
|
17653
17404
|
}), selectable && actions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableBulkActions, {
|
|
17654
17405
|
numSelectedRows: selectedRows.length,
|
|
@@ -17660,7 +17411,6 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
17660
17411
|
})]
|
|
17661
17412
|
});
|
|
17662
17413
|
};
|
|
17663
|
-
|
|
17664
17414
|
//#endregion
|
|
17665
17415
|
//#region src/components/ds-toast/ds-toast.module.scss
|
|
17666
17416
|
var ds_toast_module_default = {
|
|
@@ -17669,7 +17419,6 @@ var ds_toast_module_default = {
|
|
|
17669
17419
|
"actions": "_actions_17obg_1",
|
|
17670
17420
|
"icon": "_icon_17obg_1"
|
|
17671
17421
|
};
|
|
17672
|
-
|
|
17673
17422
|
//#endregion
|
|
17674
17423
|
//#region src/components/ds-toast/ds-toast.tsx
|
|
17675
17424
|
const variantIcons = {
|
|
@@ -17787,7 +17536,6 @@ const DsToastGroup = (t0) => {
|
|
|
17787
17536
|
function _temp(toast) {
|
|
17788
17537
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsToast, { ...toast });
|
|
17789
17538
|
}
|
|
17790
|
-
|
|
17791
17539
|
//#endregion
|
|
17792
17540
|
//#region src/components/ds-toast/ds-toast-context.tsx
|
|
17793
17541
|
const DsToastContext = (0, react.createContext)(null);
|
|
@@ -17863,7 +17611,6 @@ const useToaster = () => {
|
|
|
17863
17611
|
if (!context) throw new Error("useToast must be used within a ToastProvider");
|
|
17864
17612
|
return context;
|
|
17865
17613
|
};
|
|
17866
|
-
|
|
17867
17614
|
//#endregion
|
|
17868
17615
|
//#region src/components/ds-toggle/ds-toggle.module.scss
|
|
17869
17616
|
var ds_toggle_module_default = {
|
|
@@ -17874,7 +17621,6 @@ var ds_toggle_module_default = {
|
|
|
17874
17621
|
"labelInfo": "_labelInfo_warw8_1",
|
|
17875
17622
|
"icon": "_icon_warw8_1"
|
|
17876
17623
|
};
|
|
17877
|
-
|
|
17878
17624
|
//#endregion
|
|
17879
17625
|
//#region src/components/ds-toggle/ds-toggle.tsx
|
|
17880
17626
|
/**
|
|
@@ -18052,7 +17798,6 @@ const DsToggle = (t0) => {
|
|
|
18052
17798
|
} else t15 = $[47];
|
|
18053
17799
|
return t15;
|
|
18054
17800
|
};
|
|
18055
|
-
|
|
18056
17801
|
//#endregion
|
|
18057
17802
|
//#region src/components/ds-tree/ds-tree.module.scss
|
|
18058
17803
|
var ds_tree_module_default = {
|
|
@@ -18075,7 +17820,6 @@ var ds_tree_module_default = {
|
|
|
18075
17820
|
"nodeCheckboxBox": "_nodeCheckboxBox_lqfdm_1",
|
|
18076
17821
|
"nodeCheckboxIndicator": "_nodeCheckboxIndicator_lqfdm_1"
|
|
18077
17822
|
};
|
|
18078
|
-
|
|
18079
17823
|
//#endregion
|
|
18080
17824
|
//#region src/components/ds-tree/ds-tree.tsx
|
|
18081
17825
|
const DsTreeRoot = (t0) => {
|
|
@@ -18479,7 +18223,6 @@ const DsTree = {
|
|
|
18479
18223
|
ItemAction: DsTreeItemAction,
|
|
18480
18224
|
NodeCheckbox: DsTreeNodeCheckbox
|
|
18481
18225
|
};
|
|
18482
|
-
|
|
18483
18226
|
//#endregion
|
|
18484
18227
|
//#region src/components/ds-tree/ds-tree.utils.ts
|
|
18485
18228
|
const createDsTreeCollection = (nodes) => (0, _ark_ui_react_tree_view.createTreeCollection)({
|
|
@@ -18491,7 +18234,6 @@ const createDsTreeCollection = (nodes) => (0, _ark_ui_react_tree_view.createTree
|
|
|
18491
18234
|
children: nodes
|
|
18492
18235
|
}
|
|
18493
18236
|
});
|
|
18494
|
-
|
|
18495
18237
|
//#endregion
|
|
18496
18238
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss
|
|
18497
18239
|
var ds_vertical_tabs_module_default = {
|
|
@@ -18499,7 +18241,6 @@ var ds_vertical_tabs_module_default = {
|
|
|
18499
18241
|
"tabItem": "_tabItem_n5n19_1",
|
|
18500
18242
|
"selected": "_selected_n5n19_1"
|
|
18501
18243
|
};
|
|
18502
|
-
|
|
18503
18244
|
//#endregion
|
|
18504
18245
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.tsx
|
|
18505
18246
|
/**
|
|
@@ -18626,7 +18367,6 @@ const DsVerticalTabsContent = (t0) => {
|
|
|
18626
18367
|
DsVerticalTabs.List = DsVerticalTabsList;
|
|
18627
18368
|
DsVerticalTabs.Tab = DsVerticalTabsTab;
|
|
18628
18369
|
DsVerticalTabs.Content = DsVerticalTabsContent;
|
|
18629
|
-
|
|
18630
18370
|
//#endregion
|
|
18631
18371
|
exports.DsAlertBanner = DsAlertBanner;
|
|
18632
18372
|
exports.DsAutocomplete = DsAutocomplete;
|
|
@@ -18701,6 +18441,7 @@ exports.FileUploadError = FileUploadError;
|
|
|
18701
18441
|
exports.RetryableFileUploadError = RetryableFileUploadError;
|
|
18702
18442
|
exports.alertBannerVariants = alertBannerVariants;
|
|
18703
18443
|
exports.cardSizes = cardSizes;
|
|
18444
|
+
exports.checkboxVariants = checkboxVariants;
|
|
18704
18445
|
exports.colors = colors;
|
|
18705
18446
|
exports.controlStatuses = controlStatuses;
|
|
18706
18447
|
exports.createCheckboxFilterAdapter = createCheckboxFilterAdapter;
|
|
@@ -18728,4 +18469,4 @@ exports.tagVariants = tagVariants;
|
|
|
18728
18469
|
exports.textInputSizes = textInputSizes;
|
|
18729
18470
|
exports.useFileUpload = useFileUpload;
|
|
18730
18471
|
exports.useTableFilters = useTableFilters;
|
|
18731
|
-
exports.useToaster = useToaster;
|
|
18472
|
+
exports.useToaster = useToaster;
|