@drivenets/design-system 0.7.0 → 0.7.2
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 +22 -0
- package/dist/index.cjs +516 -779
- package/dist/index.d.cts +50 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +50 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +505 -763
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +25 -21
- 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-date-input/ds-date-input.tsx +3 -1
- package/src/components/ds-date-input/{ds-date-input.types.tsx → ds-date-input.types.ts} +6 -0
- 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-file-upload/components/file-upload/file-upload.tsx +2 -1
- package/src/components/ds-file-upload/components/file-upload/{file-upload.types.tsx → file-upload.types.ts} +5 -0
- 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 +4 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +4 -0
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +1 -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-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-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.js
CHANGED
|
@@ -38,7 +38,6 @@ import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
|
38
38
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
39
39
|
import { Switch } from "@ark-ui/react/switch";
|
|
40
40
|
import { TreeView, createTreeCollection } from "@ark-ui/react/tree-view";
|
|
41
|
-
|
|
42
41
|
//#region src/components/ds-alert-banner/ds-alert-banner.module.scss
|
|
43
42
|
var ds_alert_banner_module_default = {
|
|
44
43
|
"alertBanner": "_alertBanner_1u3d5_1",
|
|
@@ -56,7 +55,6 @@ var ds_alert_banner_module_default = {
|
|
|
56
55
|
"error": "_error_1u3d5_1",
|
|
57
56
|
"success": "_success_1u3d5_1"
|
|
58
57
|
};
|
|
59
|
-
|
|
60
58
|
//#endregion
|
|
61
59
|
//#region src/components/ds-icon/ds-icon.module.scss
|
|
62
60
|
var ds_icon_module_default = {
|
|
@@ -68,7 +66,6 @@ var ds_icon_module_default = {
|
|
|
68
66
|
"tiny": "_tiny_14xwg_1",
|
|
69
67
|
"filled": "_filled_14xwg_1"
|
|
70
68
|
};
|
|
71
|
-
|
|
72
69
|
//#endregion
|
|
73
70
|
//#region src/components/ds-icon/custom-icons/special-market.tsx
|
|
74
71
|
/**
|
|
@@ -98,7 +95,6 @@ const SpecialMarket = (props) => {
|
|
|
98
95
|
} else t1 = $[2];
|
|
99
96
|
return t1;
|
|
100
97
|
};
|
|
101
|
-
|
|
102
98
|
//#endregion
|
|
103
99
|
//#region src/components/ds-icon/custom-icons/special-site-t1.tsx
|
|
104
100
|
/**
|
|
@@ -128,7 +124,6 @@ const SpecialSiteT1 = (props) => {
|
|
|
128
124
|
} else t1 = $[2];
|
|
129
125
|
return t1;
|
|
130
126
|
};
|
|
131
|
-
|
|
132
127
|
//#endregion
|
|
133
128
|
//#region src/components/ds-icon/custom-icons/special-site-t2.tsx
|
|
134
129
|
/**
|
|
@@ -158,7 +153,6 @@ const SpecialSiteT2 = (props) => {
|
|
|
158
153
|
} else t1 = $[2];
|
|
159
154
|
return t1;
|
|
160
155
|
};
|
|
161
|
-
|
|
162
156
|
//#endregion
|
|
163
157
|
//#region src/components/ds-icon/custom-icons/special-site-t3.tsx
|
|
164
158
|
/**
|
|
@@ -188,7 +182,6 @@ const SpecialSiteT3 = (props) => {
|
|
|
188
182
|
} else t1 = $[2];
|
|
189
183
|
return t1;
|
|
190
184
|
};
|
|
191
|
-
|
|
192
185
|
//#endregion
|
|
193
186
|
//#region src/components/ds-icon/custom-icons/special-site-t4.tsx
|
|
194
187
|
/**
|
|
@@ -218,7 +211,6 @@ const SpecialSiteT4 = (props) => {
|
|
|
218
211
|
} else t1 = $[2];
|
|
219
212
|
return t1;
|
|
220
213
|
};
|
|
221
|
-
|
|
222
214
|
//#endregion
|
|
223
215
|
//#region src/components/ds-icon/custom-icons/special-site-unknown.tsx
|
|
224
216
|
/**
|
|
@@ -276,7 +268,6 @@ const SpecialSiteUnknown = (props) => {
|
|
|
276
268
|
} else t5 = $[6];
|
|
277
269
|
return t5;
|
|
278
270
|
};
|
|
279
|
-
|
|
280
271
|
//#endregion
|
|
281
272
|
//#region src/components/ds-icon/custom-icons/special-site-generic.tsx
|
|
282
273
|
/**
|
|
@@ -330,7 +321,6 @@ const SpecialSiteGeneric = (props) => {
|
|
|
330
321
|
} else t5 = $[6];
|
|
331
322
|
return t5;
|
|
332
323
|
};
|
|
333
|
-
|
|
334
324
|
//#endregion
|
|
335
325
|
//#region src/components/ds-icon/custom-icons/special-discovered-ne.tsx
|
|
336
326
|
/**
|
|
@@ -364,7 +354,6 @@ const SpecialDiscoveredNe = (props) => {
|
|
|
364
354
|
} else t1 = $[2];
|
|
365
355
|
return t1;
|
|
366
356
|
};
|
|
367
|
-
|
|
368
357
|
//#endregion
|
|
369
358
|
//#region src/components/ds-icon/custom-icons/special-upgrading.tsx
|
|
370
359
|
/**
|
|
@@ -394,7 +383,6 @@ const SpecialUpgrading = (props) => {
|
|
|
394
383
|
} else t1 = $[2];
|
|
395
384
|
return t1;
|
|
396
385
|
};
|
|
397
|
-
|
|
398
386
|
//#endregion
|
|
399
387
|
//#region src/components/ds-icon/custom-icons/special-cluster-ne.tsx
|
|
400
388
|
/**
|
|
@@ -489,7 +477,6 @@ const SpecialClusterNe = (props) => {
|
|
|
489
477
|
} else t9 = $[13];
|
|
490
478
|
return t9;
|
|
491
479
|
};
|
|
492
|
-
|
|
493
480
|
//#endregion
|
|
494
481
|
//#region src/components/ds-icon/custom-icons/special-standalone.tsx
|
|
495
482
|
/**
|
|
@@ -519,7 +506,6 @@ const SpecialStandalone = (props) => {
|
|
|
519
506
|
} else t1 = $[2];
|
|
520
507
|
return t1;
|
|
521
508
|
};
|
|
522
|
-
|
|
523
509
|
//#endregion
|
|
524
510
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-360-dashboard.tsx
|
|
525
511
|
/**
|
|
@@ -609,7 +595,6 @@ const SpecialNeNav360Dashboard = (props) => {
|
|
|
609
595
|
} else t10 = $[14];
|
|
610
596
|
return t10;
|
|
611
597
|
};
|
|
612
|
-
|
|
613
598
|
//#endregion
|
|
614
599
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-components.tsx
|
|
615
600
|
/**
|
|
@@ -639,7 +624,6 @@ const SpecialNeNavComponents = (props) => {
|
|
|
639
624
|
} else t1 = $[2];
|
|
640
625
|
return t1;
|
|
641
626
|
};
|
|
642
|
-
|
|
643
627
|
//#endregion
|
|
644
628
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-topology.tsx
|
|
645
629
|
/**
|
|
@@ -669,7 +653,6 @@ const SpecialNeNavTopology = (props) => {
|
|
|
669
653
|
} else t1 = $[2];
|
|
670
654
|
return t1;
|
|
671
655
|
};
|
|
672
|
-
|
|
673
656
|
//#endregion
|
|
674
657
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-stacks.tsx
|
|
675
658
|
/**
|
|
@@ -699,7 +682,6 @@ const SpecialNeNavStacks = (props) => {
|
|
|
699
682
|
} else t1 = $[2];
|
|
700
683
|
return t1;
|
|
701
684
|
};
|
|
702
|
-
|
|
703
685
|
//#endregion
|
|
704
686
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-settings.tsx
|
|
705
687
|
/**
|
|
@@ -743,7 +725,6 @@ const SpecialNeNavSettings = (props) => {
|
|
|
743
725
|
} else t2 = $[3];
|
|
744
726
|
return t2;
|
|
745
727
|
};
|
|
746
|
-
|
|
747
728
|
//#endregion
|
|
748
729
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-message-support.tsx
|
|
749
730
|
/**
|
|
@@ -818,7 +799,6 @@ const SpecialNeNavMessageSupport = (props) => {
|
|
|
818
799
|
} else t7 = $[11];
|
|
819
800
|
return t7;
|
|
820
801
|
};
|
|
821
|
-
|
|
822
802
|
//#endregion
|
|
823
803
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-logging.tsx
|
|
824
804
|
/**
|
|
@@ -862,7 +842,6 @@ const SpecialNeNavLogging = (props) => {
|
|
|
862
842
|
} else t3 = $[4];
|
|
863
843
|
return t3;
|
|
864
844
|
};
|
|
865
|
-
|
|
866
845
|
//#endregion
|
|
867
846
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-terminal.tsx
|
|
868
847
|
/**
|
|
@@ -896,7 +875,6 @@ const SpecialNeNavTerminal = (props) => {
|
|
|
896
875
|
} else t1 = $[2];
|
|
897
876
|
return t1;
|
|
898
877
|
};
|
|
899
|
-
|
|
900
878
|
//#endregion
|
|
901
879
|
//#region src/components/ds-icon/custom-icons/special-ne-nav-install-log.tsx
|
|
902
880
|
/**
|
|
@@ -940,7 +918,6 @@ const SpecialNeNavInstallLog = (props) => {
|
|
|
940
918
|
} else t2 = $[3];
|
|
941
919
|
return t2;
|
|
942
920
|
};
|
|
943
|
-
|
|
944
921
|
//#endregion
|
|
945
922
|
//#region src/components/ds-icon/custom-icons/special-autoboot-profiles.tsx
|
|
946
923
|
/**
|
|
@@ -984,7 +961,6 @@ const SpecialAutobootProfiles = (props) => {
|
|
|
984
961
|
} else t3 = $[4];
|
|
985
962
|
return t3;
|
|
986
963
|
};
|
|
987
|
-
|
|
988
964
|
//#endregion
|
|
989
965
|
//#region src/components/ds-icon/custom-icons/special-automation.tsx
|
|
990
966
|
/**
|
|
@@ -1028,7 +1004,6 @@ const SpecialAutomation = (props) => {
|
|
|
1028
1004
|
} else t3 = $[4];
|
|
1029
1005
|
return t3;
|
|
1030
1006
|
};
|
|
1031
|
-
|
|
1032
1007
|
//#endregion
|
|
1033
1008
|
//#region src/components/ds-icon/custom-icons/special-stacks.tsx
|
|
1034
1009
|
/**
|
|
@@ -1062,7 +1037,6 @@ const SpecialStacks = (props) => {
|
|
|
1062
1037
|
} else t1 = $[2];
|
|
1063
1038
|
return t1;
|
|
1064
1039
|
};
|
|
1065
|
-
|
|
1066
1040
|
//#endregion
|
|
1067
1041
|
//#region src/components/ds-icon/custom-icons/special-packages.tsx
|
|
1068
1042
|
/**
|
|
@@ -1096,7 +1070,6 @@ const SpecialPackages = (props) => {
|
|
|
1096
1070
|
} else t1 = $[2];
|
|
1097
1071
|
return t1;
|
|
1098
1072
|
};
|
|
1099
|
-
|
|
1100
1073
|
//#endregion
|
|
1101
1074
|
//#region src/components/ds-icon/custom-icons/special-gnmi.tsx
|
|
1102
1075
|
/**
|
|
@@ -1167,7 +1140,6 @@ const SpecialGnmi = (props) => {
|
|
|
1167
1140
|
} else t6 = $[10];
|
|
1168
1141
|
return t6;
|
|
1169
1142
|
};
|
|
1170
|
-
|
|
1171
1143
|
//#endregion
|
|
1172
1144
|
//#region src/components/ds-icon/custom-icons/special-alarm-settings.tsx
|
|
1173
1145
|
/**
|
|
@@ -1234,7 +1206,6 @@ const SpecialAlarmSettings = (props) => {
|
|
|
1234
1206
|
} else t6 = $[10];
|
|
1235
1207
|
return t6;
|
|
1236
1208
|
};
|
|
1237
|
-
|
|
1238
1209
|
//#endregion
|
|
1239
1210
|
//#region src/components/ds-icon/custom-icons/special-ne-health.tsx
|
|
1240
1211
|
/**
|
|
@@ -1276,7 +1247,6 @@ const SpecialNeHealth = (props) => {
|
|
|
1276
1247
|
} else t2 = $[3];
|
|
1277
1248
|
return t2;
|
|
1278
1249
|
};
|
|
1279
|
-
|
|
1280
1250
|
//#endregion
|
|
1281
1251
|
//#region src/components/ds-icon/custom-icons/special-hardware.tsx
|
|
1282
1252
|
/**
|
|
@@ -1318,7 +1288,6 @@ const SpecialHardware = (props) => {
|
|
|
1318
1288
|
} else t2 = $[3];
|
|
1319
1289
|
return t2;
|
|
1320
1290
|
};
|
|
1321
|
-
|
|
1322
1291
|
//#endregion
|
|
1323
1292
|
//#region src/components/ds-icon/custom-icons/special-modules.tsx
|
|
1324
1293
|
/**
|
|
@@ -1382,7 +1351,6 @@ const SpecialModules = (props) => {
|
|
|
1382
1351
|
} else t5 = $[9];
|
|
1383
1352
|
return t5;
|
|
1384
1353
|
};
|
|
1385
|
-
|
|
1386
1354
|
//#endregion
|
|
1387
1355
|
//#region src/components/ds-icon/custom-icons/special-resources.tsx
|
|
1388
1356
|
/**
|
|
@@ -1446,7 +1414,6 @@ const SpecialResources = (props) => {
|
|
|
1446
1414
|
} else t5 = $[9];
|
|
1447
1415
|
return t5;
|
|
1448
1416
|
};
|
|
1449
|
-
|
|
1450
1417
|
//#endregion
|
|
1451
1418
|
//#region src/components/ds-icon/custom-icons/special-version-control.tsx
|
|
1452
1419
|
/**
|
|
@@ -1481,7 +1448,6 @@ const SpecialVersionControl = (props) => {
|
|
|
1481
1448
|
} else t1 = $[2];
|
|
1482
1449
|
return t1;
|
|
1483
1450
|
};
|
|
1484
|
-
|
|
1485
1451
|
//#endregion
|
|
1486
1452
|
//#region src/components/ds-icon/custom-icons/special-software.tsx
|
|
1487
1453
|
/**
|
|
@@ -1514,7 +1480,6 @@ const SpecialSoftware = (props) => {
|
|
|
1514
1480
|
} else t1 = $[2];
|
|
1515
1481
|
return t1;
|
|
1516
1482
|
};
|
|
1517
|
-
|
|
1518
1483
|
//#endregion
|
|
1519
1484
|
//#region src/components/ds-icon/custom-icons/special-conflicted-nes.tsx
|
|
1520
1485
|
/**
|
|
@@ -1549,7 +1514,6 @@ const SpecialConflictedNes = (props) => {
|
|
|
1549
1514
|
} else t1 = $[2];
|
|
1550
1515
|
return t1;
|
|
1551
1516
|
};
|
|
1552
|
-
|
|
1553
1517
|
//#endregion
|
|
1554
1518
|
//#region src/components/ds-icon/custom-icons/special-yang-version-control.tsx
|
|
1555
1519
|
/**
|
|
@@ -1582,7 +1546,6 @@ const SpecialYangVersionControl = (props) => {
|
|
|
1582
1546
|
} else t1 = $[2];
|
|
1583
1547
|
return t1;
|
|
1584
1548
|
};
|
|
1585
|
-
|
|
1586
1549
|
//#endregion
|
|
1587
1550
|
//#region src/components/ds-icon/custom-icons/special-old-base-os.tsx
|
|
1588
1551
|
/**
|
|
@@ -1669,7 +1632,6 @@ const SpecialOldBaseOs = (props) => {
|
|
|
1669
1632
|
} else t7 = $[11];
|
|
1670
1633
|
return t7;
|
|
1671
1634
|
};
|
|
1672
|
-
|
|
1673
1635
|
//#endregion
|
|
1674
1636
|
//#region src/components/ds-icon/custom-icons/special-general-details.tsx
|
|
1675
1637
|
/**
|
|
@@ -1711,7 +1673,6 @@ const SpecialGeneralDetails = (props) => {
|
|
|
1711
1673
|
} else t2 = $[3];
|
|
1712
1674
|
return t2;
|
|
1713
1675
|
};
|
|
1714
|
-
|
|
1715
1676
|
//#endregion
|
|
1716
1677
|
//#region src/components/ds-icon/custom-icons/special-config-template.tsx
|
|
1717
1678
|
/**
|
|
@@ -1764,7 +1725,6 @@ const SpecialConfigTemplate = (props) => {
|
|
|
1764
1725
|
} else t3 = $[4];
|
|
1765
1726
|
return t3;
|
|
1766
1727
|
};
|
|
1767
|
-
|
|
1768
1728
|
//#endregion
|
|
1769
1729
|
//#region src/components/ds-icon/custom-icons/special-compare.tsx
|
|
1770
1730
|
/**
|
|
@@ -1797,7 +1757,6 @@ const SpecialCompare = (props) => {
|
|
|
1797
1757
|
} else t1 = $[2];
|
|
1798
1758
|
return t1;
|
|
1799
1759
|
};
|
|
1800
|
-
|
|
1801
1760
|
//#endregion
|
|
1802
1761
|
//#region src/components/ds-icon/custom-icons/special-webhook.tsx
|
|
1803
1762
|
/**
|
|
@@ -1830,7 +1789,6 @@ const SpecialWebhook = (props) => {
|
|
|
1830
1789
|
} else t1 = $[2];
|
|
1831
1790
|
return t1;
|
|
1832
1791
|
};
|
|
1833
|
-
|
|
1834
1792
|
//#endregion
|
|
1835
1793
|
//#region src/components/ds-icon/custom-icons/special-map-view.tsx
|
|
1836
1794
|
/**
|
|
@@ -1986,7 +1944,6 @@ const SpecialMapView = (props) => {
|
|
|
1986
1944
|
} else t13 = $[17];
|
|
1987
1945
|
return t13;
|
|
1988
1946
|
};
|
|
1989
|
-
|
|
1990
1947
|
//#endregion
|
|
1991
1948
|
//#region src/components/ds-icon/custom-icons/special-home.tsx
|
|
1992
1949
|
/**
|
|
@@ -2019,7 +1976,6 @@ const SpecialHome = (props) => {
|
|
|
2019
1976
|
} else t1 = $[2];
|
|
2020
1977
|
return t1;
|
|
2021
1978
|
};
|
|
2022
|
-
|
|
2023
1979
|
//#endregion
|
|
2024
1980
|
//#region src/components/ds-icon/custom-icons/special-lego.tsx
|
|
2025
1981
|
/**
|
|
@@ -2093,7 +2049,6 @@ const SpecialLego = (props) => {
|
|
|
2093
2049
|
} else t6 = $[10];
|
|
2094
2050
|
return t6;
|
|
2095
2051
|
};
|
|
2096
|
-
|
|
2097
2052
|
//#endregion
|
|
2098
2053
|
//#region src/components/ds-icon/custom-icons/special-scheme.tsx
|
|
2099
2054
|
/**
|
|
@@ -2152,7 +2107,6 @@ const SpecialScheme = (props) => {
|
|
|
2152
2107
|
} else t3 = $[4];
|
|
2153
2108
|
return t3;
|
|
2154
2109
|
};
|
|
2155
|
-
|
|
2156
2110
|
//#endregion
|
|
2157
2111
|
//#region src/components/ds-icon/custom-icons/special-book.tsx
|
|
2158
2112
|
/**
|
|
@@ -2217,7 +2171,6 @@ const SpecialBook = (props) => {
|
|
|
2217
2171
|
} else t5 = $[9];
|
|
2218
2172
|
return t5;
|
|
2219
2173
|
};
|
|
2220
|
-
|
|
2221
2174
|
//#endregion
|
|
2222
2175
|
//#region src/components/ds-icon/custom-icons/special-device.tsx
|
|
2223
2176
|
/**
|
|
@@ -2250,7 +2203,6 @@ const SpecialDevice = (props) => {
|
|
|
2250
2203
|
} else t1 = $[2];
|
|
2251
2204
|
return t1;
|
|
2252
2205
|
};
|
|
2253
|
-
|
|
2254
2206
|
//#endregion
|
|
2255
2207
|
//#region src/components/ds-icon/custom-icons/special-grouped-devices.tsx
|
|
2256
2208
|
/**
|
|
@@ -2303,7 +2255,6 @@ const SpecialGroupedDevices = (props) => {
|
|
|
2303
2255
|
} else t3 = $[4];
|
|
2304
2256
|
return t3;
|
|
2305
2257
|
};
|
|
2306
|
-
|
|
2307
2258
|
//#endregion
|
|
2308
2259
|
//#region src/components/ds-icon/custom-icons/special-fiber-circuit.tsx
|
|
2309
2260
|
/**
|
|
@@ -2345,7 +2296,6 @@ const SpecialFiberCircuit = (props) => {
|
|
|
2345
2296
|
} else t2 = $[3];
|
|
2346
2297
|
return t2;
|
|
2347
2298
|
};
|
|
2348
|
-
|
|
2349
2299
|
//#endregion
|
|
2350
2300
|
//#region src/components/ds-icon/custom-icons/special-netgen.tsx
|
|
2351
2301
|
/**
|
|
@@ -2400,7 +2350,6 @@ const SpecialNetgen = (props) => {
|
|
|
2400
2350
|
} else t3 = $[4];
|
|
2401
2351
|
return t3;
|
|
2402
2352
|
};
|
|
2403
|
-
|
|
2404
2353
|
//#endregion
|
|
2405
2354
|
//#region src/components/ds-icon/custom-icons/special-netgen-s.tsx
|
|
2406
2355
|
/**
|
|
@@ -2455,7 +2404,6 @@ const SpecialNetgenS = (props) => {
|
|
|
2455
2404
|
} else t3 = $[4];
|
|
2456
2405
|
return t3;
|
|
2457
2406
|
};
|
|
2458
|
-
|
|
2459
2407
|
//#endregion
|
|
2460
2408
|
//#region src/components/ds-icon/custom-icons/special-filter-list-active.tsx
|
|
2461
2409
|
/**
|
|
@@ -2500,7 +2448,6 @@ const SpecialFilterListActive = (props) => {
|
|
|
2500
2448
|
} else t2 = $[3];
|
|
2501
2449
|
return t2;
|
|
2502
2450
|
};
|
|
2503
|
-
|
|
2504
2451
|
//#endregion
|
|
2505
2452
|
//#region src/components/ds-icon/custom-icons/special-cached-active.tsx
|
|
2506
2453
|
/**
|
|
@@ -2545,7 +2492,6 @@ const SpecialCachedActive = (props) => {
|
|
|
2545
2492
|
} else t2 = $[3];
|
|
2546
2493
|
return t2;
|
|
2547
2494
|
};
|
|
2548
|
-
|
|
2549
2495
|
//#endregion
|
|
2550
2496
|
//#region src/components/ds-icon/custom-icons/special-running.tsx
|
|
2551
2497
|
/**
|
|
@@ -2578,7 +2524,6 @@ const SpecialRunning = (props) => {
|
|
|
2578
2524
|
} else t1 = $[2];
|
|
2579
2525
|
return t1;
|
|
2580
2526
|
};
|
|
2581
|
-
|
|
2582
2527
|
//#endregion
|
|
2583
2528
|
//#region src/components/ds-icon/custom-icons/special-warning.tsx
|
|
2584
2529
|
/**
|
|
@@ -2611,7 +2556,6 @@ const SpecialWarning = (props) => {
|
|
|
2611
2556
|
} else t1 = $[2];
|
|
2612
2557
|
return t1;
|
|
2613
2558
|
};
|
|
2614
|
-
|
|
2615
2559
|
//#endregion
|
|
2616
2560
|
//#region src/components/ds-icon/custom-icons/special-failed.tsx
|
|
2617
2561
|
/**
|
|
@@ -2644,7 +2588,6 @@ const SpecialFailed = (props) => {
|
|
|
2644
2588
|
} else t1 = $[2];
|
|
2645
2589
|
return t1;
|
|
2646
2590
|
};
|
|
2647
|
-
|
|
2648
2591
|
//#endregion
|
|
2649
2592
|
//#region src/components/ds-icon/custom-icons/special-paused.tsx
|
|
2650
2593
|
/**
|
|
@@ -2677,7 +2620,6 @@ const SpecialPaused = (props) => {
|
|
|
2677
2620
|
} else t1 = $[2];
|
|
2678
2621
|
return t1;
|
|
2679
2622
|
};
|
|
2680
|
-
|
|
2681
2623
|
//#endregion
|
|
2682
2624
|
//#region src/components/ds-icon/custom-icons/index.ts
|
|
2683
2625
|
const customIcons = {
|
|
@@ -2740,7 +2682,6 @@ const customIcons = {
|
|
|
2740
2682
|
const isCustomIcon = (icon) => {
|
|
2741
2683
|
return icon in customIcons;
|
|
2742
2684
|
};
|
|
2743
|
-
|
|
2744
2685
|
//#endregion
|
|
2745
2686
|
//#region src/components/ds-icon/ds-icon.tsx
|
|
2746
2687
|
/**
|
|
@@ -2839,7 +2780,6 @@ const DsIcon = (t0) => {
|
|
|
2839
2780
|
} else t8 = $[23];
|
|
2840
2781
|
return t8;
|
|
2841
2782
|
};
|
|
2842
|
-
|
|
2843
2783
|
//#endregion
|
|
2844
2784
|
//#region src/components/ds-icon/ds-icon.types.ts
|
|
2845
2785
|
const iconSizes = [
|
|
@@ -2850,7 +2790,6 @@ const iconSizes = [
|
|
|
2850
2790
|
"extra-large"
|
|
2851
2791
|
];
|
|
2852
2792
|
const iconVariants = ["outlined", "rounded"];
|
|
2853
|
-
|
|
2854
2793
|
//#endregion
|
|
2855
2794
|
//#region src/components/ds-typography/ds-typography.config.ts
|
|
2856
2795
|
const semanticElementMap = {
|
|
@@ -2878,7 +2817,6 @@ const semanticElementMap = {
|
|
|
2878
2817
|
heading3: "h3",
|
|
2879
2818
|
heading4: "h4"
|
|
2880
2819
|
};
|
|
2881
|
-
|
|
2882
2820
|
//#endregion
|
|
2883
2821
|
//#region src/components/ds-typography/ds-typography.module.scss
|
|
2884
2822
|
var ds_typography_module_default = {
|
|
@@ -2906,7 +2844,6 @@ var ds_typography_module_default = {
|
|
|
2906
2844
|
"code-xs-reg": "_code-xs-reg_h774x_1",
|
|
2907
2845
|
"code-xs-semi-bold": "_code-xs-semi-bold_h774x_1"
|
|
2908
2846
|
};
|
|
2909
|
-
|
|
2910
2847
|
//#endregion
|
|
2911
2848
|
//#region src/components/ds-typography/ds-typography.tsx
|
|
2912
2849
|
const DsTypography = (t0) => {
|
|
@@ -2960,7 +2897,6 @@ const DsTypography = (t0) => {
|
|
|
2960
2897
|
} else t4 = $[15];
|
|
2961
2898
|
return t4;
|
|
2962
2899
|
};
|
|
2963
|
-
|
|
2964
2900
|
//#endregion
|
|
2965
2901
|
//#region src/components/ds-alert-banner/ds-alert-banner.tsx
|
|
2966
2902
|
/**
|
|
@@ -3129,9 +3065,8 @@ const Actions$3 = (t0) => {
|
|
|
3129
3065
|
DsAlertBanner.Title = Title$2;
|
|
3130
3066
|
DsAlertBanner.Body = Body$3;
|
|
3131
3067
|
DsAlertBanner.Actions = Actions$3;
|
|
3132
|
-
|
|
3133
3068
|
//#endregion
|
|
3134
|
-
//#region src/components/ds-alert-banner/ds-alert-banner.types.
|
|
3069
|
+
//#region src/components/ds-alert-banner/ds-alert-banner.types.ts
|
|
3135
3070
|
const alertBannerVariants = [
|
|
3136
3071
|
"info-neutral",
|
|
3137
3072
|
"info-blue",
|
|
@@ -3139,7 +3074,6 @@ const alertBannerVariants = [
|
|
|
3139
3074
|
"error",
|
|
3140
3075
|
"success"
|
|
3141
3076
|
];
|
|
3142
|
-
|
|
3143
3077
|
//#endregion
|
|
3144
3078
|
//#region src/components/ds-autocomplete/ds-autocomplete.module.scss
|
|
3145
3079
|
var ds_autocomplete_module_default = {
|
|
@@ -3165,7 +3099,6 @@ var ds_autocomplete_module_default = {
|
|
|
3165
3099
|
"disabled": "_disabled_ox9ik_1",
|
|
3166
3100
|
"invalid": "_invalid_ox9ik_1"
|
|
3167
3101
|
};
|
|
3168
|
-
|
|
3169
3102
|
//#endregion
|
|
3170
3103
|
//#region src/components/ds-autocomplete/ds-autocomplete.tsx
|
|
3171
3104
|
const DsAutocomplete = (t0) => {
|
|
@@ -3409,7 +3342,6 @@ function _temp$20(item) {
|
|
|
3409
3342
|
function _temp2$8(item_0) {
|
|
3410
3343
|
return item_0.value;
|
|
3411
3344
|
}
|
|
3412
|
-
|
|
3413
3345
|
//#endregion
|
|
3414
3346
|
//#region src/components/ds-avatar/ds-avatar.module.scss
|
|
3415
3347
|
var ds_avatar_module_default = {
|
|
@@ -3424,7 +3356,6 @@ var ds_avatar_module_default = {
|
|
|
3424
3356
|
"xl": "_xl_1pkly_1",
|
|
3425
3357
|
"fallback": "_fallback_1pkly_1"
|
|
3426
3358
|
};
|
|
3427
|
-
|
|
3428
3359
|
//#endregion
|
|
3429
3360
|
//#region src/components/ds-tooltip/ds-tooltip.module.scss
|
|
3430
3361
|
var ds_tooltip_module_default = {
|
|
@@ -3432,7 +3363,6 @@ var ds_tooltip_module_default = {
|
|
|
3432
3363
|
"content": "_content_93aez_1",
|
|
3433
3364
|
"arrow": "_arrow_93aez_1"
|
|
3434
3365
|
};
|
|
3435
|
-
|
|
3436
3366
|
//#endregion
|
|
3437
3367
|
//#region src/components/ds-tooltip/ds-tooltip.tsx
|
|
3438
3368
|
const DsTooltip = (t0) => {
|
|
@@ -3492,7 +3422,6 @@ const DsTooltip = (t0) => {
|
|
|
3492
3422
|
} else t6 = $[10];
|
|
3493
3423
|
return t6;
|
|
3494
3424
|
};
|
|
3495
|
-
|
|
3496
3425
|
//#endregion
|
|
3497
3426
|
//#region src/components/ds-avatar/ds-avatar.tsx
|
|
3498
3427
|
/**
|
|
@@ -3579,7 +3508,6 @@ function _temp$19(w) {
|
|
|
3579
3508
|
function _temp2$7(name_0) {
|
|
3580
3509
|
return name_0.trim().split(" ").map(_temp$19).join("");
|
|
3581
3510
|
}
|
|
3582
|
-
|
|
3583
3511
|
//#endregion
|
|
3584
3512
|
//#region src/components/ds-avatar-group/ds-avatar-group.module.scss
|
|
3585
3513
|
var ds_avatar_group_module_default = {
|
|
@@ -3596,7 +3524,6 @@ var ds_avatar_group_module_default = {
|
|
|
3596
3524
|
"xl": "_xl_gp6iz_1",
|
|
3597
3525
|
"tooltipList": "_tooltipList_gp6iz_1"
|
|
3598
3526
|
};
|
|
3599
|
-
|
|
3600
3527
|
//#endregion
|
|
3601
3528
|
//#region src/components/ds-avatar-group/ds-avatar-group.tsx
|
|
3602
3529
|
/**
|
|
@@ -3675,7 +3602,6 @@ function _temp$18(avatar_0, index_0) {
|
|
|
3675
3602
|
children: avatar_0.name
|
|
3676
3603
|
}) }, `${avatar_0.name}-${String(index_0)}`);
|
|
3677
3604
|
}
|
|
3678
|
-
|
|
3679
3605
|
//#endregion
|
|
3680
3606
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.module.scss
|
|
3681
3607
|
var ds_breadcrumb_module_default = {
|
|
@@ -3689,32 +3615,30 @@ var ds_breadcrumb_module_default = {
|
|
|
3689
3615
|
"dropdownIcon": "_dropdownIcon_1784n_1",
|
|
3690
3616
|
"itemLabel": "_itemLabel_1784n_1"
|
|
3691
3617
|
};
|
|
3692
|
-
|
|
3693
3618
|
//#endregion
|
|
3694
3619
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss
|
|
3695
3620
|
var ds_dropdown_menu_module_default = {
|
|
3696
|
-
"content": "
|
|
3697
|
-
"expand": "
|
|
3698
|
-
"collapse": "
|
|
3699
|
-
"header": "
|
|
3700
|
-
"item": "
|
|
3701
|
-
"indicator": "
|
|
3702
|
-
"itemIcon": "
|
|
3703
|
-
"triggerItem": "
|
|
3704
|
-
"selected": "
|
|
3705
|
-
"label": "
|
|
3706
|
-
"separator": "
|
|
3707
|
-
"actions": "
|
|
3708
|
-
"groupLabel": "
|
|
3709
|
-
"groupLabelCollapsible": "
|
|
3710
|
-
"groupLabelIcon": "
|
|
3711
|
-
"groupLabelIconRotated": "
|
|
3712
|
-
"triggerItemIcon": "
|
|
3713
|
-
"contentLegacy": "
|
|
3714
|
-
"viewportLegacy": "
|
|
3715
|
-
"itemLegacy": "
|
|
3621
|
+
"content": "_content_m9k01_1",
|
|
3622
|
+
"expand": "_expand_m9k01_1",
|
|
3623
|
+
"collapse": "_collapse_m9k01_1",
|
|
3624
|
+
"header": "_header_m9k01_1",
|
|
3625
|
+
"item": "_item_m9k01_1",
|
|
3626
|
+
"indicator": "_indicator_m9k01_1",
|
|
3627
|
+
"itemIcon": "_itemIcon_m9k01_1",
|
|
3628
|
+
"triggerItem": "_triggerItem_m9k01_1",
|
|
3629
|
+
"selected": "_selected_m9k01_1",
|
|
3630
|
+
"label": "_label_m9k01_1",
|
|
3631
|
+
"separator": "_separator_m9k01_1",
|
|
3632
|
+
"actions": "_actions_m9k01_1",
|
|
3633
|
+
"groupLabel": "_groupLabel_m9k01_1",
|
|
3634
|
+
"groupLabelCollapsible": "_groupLabelCollapsible_m9k01_1",
|
|
3635
|
+
"groupLabelIcon": "_groupLabelIcon_m9k01_1",
|
|
3636
|
+
"groupLabelIconRotated": "_groupLabelIconRotated_m9k01_1",
|
|
3637
|
+
"triggerItemIcon": "_triggerItemIcon_m9k01_1",
|
|
3638
|
+
"contentLegacy": "_contentLegacy_m9k01_1",
|
|
3639
|
+
"viewportLegacy": "_viewportLegacy_m9k01_1",
|
|
3640
|
+
"itemLegacy": "_itemLegacy_m9k01_1"
|
|
3716
3641
|
};
|
|
3717
|
-
|
|
3718
3642
|
//#endregion
|
|
3719
3643
|
//#region src/components/ds-text-input/ds-text-input.module.scss
|
|
3720
3644
|
var ds_text_input_module_default = {
|
|
@@ -3727,70 +3651,70 @@ var ds_text_input_module_default = {
|
|
|
3727
3651
|
"indicator": "_indicator_16yro_1",
|
|
3728
3652
|
"adornment": "_adornment_16yro_1"
|
|
3729
3653
|
};
|
|
3730
|
-
|
|
3731
3654
|
//#endregion
|
|
3732
3655
|
//#region src/components/ds-text-input/ds-text-input.tsx
|
|
3733
3656
|
const DsTextInput = (t0) => {
|
|
3734
|
-
const $ = c(
|
|
3735
|
-
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;
|
|
3657
|
+
const $ = c(42);
|
|
3658
|
+
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;
|
|
3736
3659
|
const size = t1 === void 0 ? "default" : t1;
|
|
3737
3660
|
const type = t2 === void 0 ? "text" : t2;
|
|
3738
|
-
let
|
|
3661
|
+
let t6;
|
|
3739
3662
|
if ($[0] !== t3) {
|
|
3740
|
-
|
|
3663
|
+
t6 = t3 === void 0 ? {} : t3;
|
|
3741
3664
|
$[0] = t3;
|
|
3742
|
-
$[1] =
|
|
3743
|
-
} else
|
|
3744
|
-
const style =
|
|
3665
|
+
$[1] = t6;
|
|
3666
|
+
} else t6 = $[1];
|
|
3667
|
+
const style = t6;
|
|
3745
3668
|
const disabled = t4 === void 0 ? false : t4;
|
|
3669
|
+
const readOnly = t5 === void 0 ? false : t5;
|
|
3746
3670
|
const InputWrapper = slots?.inputWrapper ?? Fragment$1;
|
|
3747
|
-
const
|
|
3748
|
-
const
|
|
3749
|
-
let
|
|
3750
|
-
if ($[2] !== className || $[3] !==
|
|
3751
|
-
|
|
3752
|
-
[ds_text_input_module_default.small]:
|
|
3753
|
-
[ds_text_input_module_default.default]:
|
|
3671
|
+
const t7 = size === "small";
|
|
3672
|
+
const t8 = size === "default";
|
|
3673
|
+
let t9;
|
|
3674
|
+
if ($[2] !== className || $[3] !== t7 || $[4] !== t8) {
|
|
3675
|
+
t9 = classNames(ds_text_input_module_default.textInputContainer, {
|
|
3676
|
+
[ds_text_input_module_default.small]: t7,
|
|
3677
|
+
[ds_text_input_module_default.default]: t8
|
|
3754
3678
|
}, className);
|
|
3755
3679
|
$[2] = className;
|
|
3756
|
-
$[3] =
|
|
3757
|
-
$[4] =
|
|
3758
|
-
$[5] =
|
|
3759
|
-
} else
|
|
3760
|
-
const containerClass =
|
|
3761
|
-
let
|
|
3680
|
+
$[3] = t7;
|
|
3681
|
+
$[4] = t8;
|
|
3682
|
+
$[5] = t9;
|
|
3683
|
+
} else t9 = $[5];
|
|
3684
|
+
const containerClass = t9;
|
|
3685
|
+
let t10;
|
|
3762
3686
|
if ($[6] !== onChange || $[7] !== onValueChange) {
|
|
3763
|
-
|
|
3687
|
+
t10 = (event) => {
|
|
3764
3688
|
const newValue = event.target.value;
|
|
3765
3689
|
onChange?.(event);
|
|
3766
3690
|
onValueChange?.(newValue);
|
|
3767
3691
|
};
|
|
3768
3692
|
$[6] = onChange;
|
|
3769
3693
|
$[7] = onValueChange;
|
|
3770
|
-
$[8] =
|
|
3771
|
-
} else
|
|
3772
|
-
const handleChange =
|
|
3773
|
-
let
|
|
3694
|
+
$[8] = t10;
|
|
3695
|
+
} else t10 = $[8];
|
|
3696
|
+
const handleChange = t10;
|
|
3697
|
+
let t11;
|
|
3774
3698
|
if ($[9] !== slots) {
|
|
3775
|
-
|
|
3699
|
+
t11 = slots?.startAdornment && /* @__PURE__ */ jsx("div", {
|
|
3776
3700
|
className: ds_text_input_module_default.adornment,
|
|
3777
3701
|
children: slots.startAdornment
|
|
3778
3702
|
});
|
|
3779
3703
|
$[9] = slots;
|
|
3780
|
-
$[10] =
|
|
3781
|
-
} else
|
|
3782
|
-
let t11;
|
|
3783
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3784
|
-
t11 = classNames(ds_text_input_module_default.input);
|
|
3785
|
-
$[11] = t11;
|
|
3786
|
-
} else t11 = $[11];
|
|
3704
|
+
$[10] = t11;
|
|
3705
|
+
} else t11 = $[10];
|
|
3787
3706
|
let t12;
|
|
3788
|
-
if ($[
|
|
3789
|
-
t12 =
|
|
3707
|
+
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3708
|
+
t12 = classNames(ds_text_input_module_default.input);
|
|
3709
|
+
$[11] = t12;
|
|
3710
|
+
} else t12 = $[11];
|
|
3711
|
+
let t13;
|
|
3712
|
+
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) {
|
|
3713
|
+
t13 = /* @__PURE__ */ jsx("input", {
|
|
3790
3714
|
id,
|
|
3791
3715
|
ref,
|
|
3792
3716
|
name,
|
|
3793
|
-
className:
|
|
3717
|
+
className: t12,
|
|
3794
3718
|
type,
|
|
3795
3719
|
value,
|
|
3796
3720
|
defaultValue,
|
|
@@ -3799,7 +3723,9 @@ const DsTextInput = (t0) => {
|
|
|
3799
3723
|
minLength,
|
|
3800
3724
|
maxLength,
|
|
3801
3725
|
placeholder,
|
|
3726
|
+
readOnly,
|
|
3802
3727
|
disabled,
|
|
3728
|
+
onFocus,
|
|
3803
3729
|
onBlur,
|
|
3804
3730
|
onKeyDown,
|
|
3805
3731
|
onChange: handleChange,
|
|
@@ -3815,51 +3741,55 @@ const DsTextInput = (t0) => {
|
|
|
3815
3741
|
$[19] = minLength;
|
|
3816
3742
|
$[20] = name;
|
|
3817
3743
|
$[21] = onBlur;
|
|
3818
|
-
$[22] =
|
|
3819
|
-
$[23] =
|
|
3820
|
-
$[24] =
|
|
3821
|
-
$[25] =
|
|
3822
|
-
$[26] =
|
|
3823
|
-
$[27] =
|
|
3824
|
-
$[28] =
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
t13 = /* @__PURE__ */ jsx(InputWrapper, { children: t12 });
|
|
3829
|
-
$[29] = InputWrapper;
|
|
3830
|
-
$[30] = t12;
|
|
3831
|
-
$[31] = t13;
|
|
3832
|
-
} else t13 = $[31];
|
|
3744
|
+
$[22] = onFocus;
|
|
3745
|
+
$[23] = onKeyDown;
|
|
3746
|
+
$[24] = placeholder;
|
|
3747
|
+
$[25] = readOnly;
|
|
3748
|
+
$[26] = ref;
|
|
3749
|
+
$[27] = tabIndex;
|
|
3750
|
+
$[28] = type;
|
|
3751
|
+
$[29] = value;
|
|
3752
|
+
$[30] = t13;
|
|
3753
|
+
} else t13 = $[30];
|
|
3833
3754
|
let t14;
|
|
3834
|
-
if ($[32] !==
|
|
3835
|
-
t14 =
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
});
|
|
3839
|
-
$[32] = slots;
|
|
3755
|
+
if ($[31] !== InputWrapper || $[32] !== t13) {
|
|
3756
|
+
t14 = /* @__PURE__ */ jsx(InputWrapper, { children: t13 });
|
|
3757
|
+
$[31] = InputWrapper;
|
|
3758
|
+
$[32] = t13;
|
|
3840
3759
|
$[33] = t14;
|
|
3841
3760
|
} else t14 = $[33];
|
|
3842
3761
|
let t15;
|
|
3843
|
-
if ($[34] !==
|
|
3844
|
-
t15 = /* @__PURE__ */
|
|
3762
|
+
if ($[34] !== slots) {
|
|
3763
|
+
t15 = slots?.endAdornment && /* @__PURE__ */ jsx("div", {
|
|
3764
|
+
className: ds_text_input_module_default.adornment,
|
|
3765
|
+
children: slots.endAdornment
|
|
3766
|
+
});
|
|
3767
|
+
$[34] = slots;
|
|
3768
|
+
$[35] = t15;
|
|
3769
|
+
} else t15 = $[35];
|
|
3770
|
+
let t16;
|
|
3771
|
+
if ($[36] !== containerClass || $[37] !== style || $[38] !== t11 || $[39] !== t14 || $[40] !== t15) {
|
|
3772
|
+
t16 = /* @__PURE__ */ jsxs("div", {
|
|
3845
3773
|
className: containerClass,
|
|
3846
3774
|
style,
|
|
3847
3775
|
children: [
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3776
|
+
t11,
|
|
3777
|
+
t14,
|
|
3778
|
+
t15
|
|
3851
3779
|
]
|
|
3852
3780
|
});
|
|
3853
|
-
$[
|
|
3854
|
-
$[
|
|
3855
|
-
$[
|
|
3856
|
-
$[
|
|
3857
|
-
$[
|
|
3858
|
-
$[
|
|
3859
|
-
} else
|
|
3860
|
-
return
|
|
3781
|
+
$[36] = containerClass;
|
|
3782
|
+
$[37] = style;
|
|
3783
|
+
$[38] = t11;
|
|
3784
|
+
$[39] = t14;
|
|
3785
|
+
$[40] = t15;
|
|
3786
|
+
$[41] = t16;
|
|
3787
|
+
} else t16 = $[41];
|
|
3788
|
+
return t16;
|
|
3861
3789
|
};
|
|
3862
|
-
|
|
3790
|
+
//#endregion
|
|
3791
|
+
//#region src/components/ds-text-input/ds-text-input.types.ts
|
|
3792
|
+
const textInputSizes = ["small", "default"];
|
|
3863
3793
|
//#endregion
|
|
3864
3794
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.tsx
|
|
3865
3795
|
const GroupContext = createContext(null);
|
|
@@ -4528,11 +4458,6 @@ function _temp$17(e) {
|
|
|
4528
4458
|
function _temp2$6(e) {
|
|
4529
4459
|
return e.stopPropagation();
|
|
4530
4460
|
}
|
|
4531
|
-
|
|
4532
|
-
//#endregion
|
|
4533
|
-
//#region src/components/ds-text-input/ds-text-input.types.tsx
|
|
4534
|
-
const textInputSizes = ["small", "default"];
|
|
4535
|
-
|
|
4536
4461
|
//#endregion
|
|
4537
4462
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
|
|
4538
4463
|
/**
|
|
@@ -4648,7 +4573,6 @@ const DsBreadcrumb = (t0) => {
|
|
|
4648
4573
|
function _temp$16(e) {
|
|
4649
4574
|
return e.stopPropagation();
|
|
4650
4575
|
}
|
|
4651
|
-
|
|
4652
4576
|
//#endregion
|
|
4653
4577
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss
|
|
4654
4578
|
var ds_button_legacy_module_default = {
|
|
@@ -4673,11 +4597,11 @@ var ds_button_legacy_module_default = {
|
|
|
4673
4597
|
"error-round": "_error-round_c7rg5_1",
|
|
4674
4598
|
"error-dashed": "_error-dashed_c7rg5_1"
|
|
4675
4599
|
};
|
|
4676
|
-
|
|
4677
4600
|
//#endregion
|
|
4678
4601
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx
|
|
4679
4602
|
/**
|
|
4680
4603
|
* Design system Button component
|
|
4604
|
+
* @deprecated Use [DsButton](../ds-button-new/ds-button-new.tsx) instead.
|
|
4681
4605
|
*/
|
|
4682
4606
|
const DsButton$2 = (t0) => {
|
|
4683
4607
|
const $ = c(23);
|
|
@@ -4758,30 +4682,29 @@ const DsButton$2 = (t0) => {
|
|
|
4758
4682
|
} else t10 = $[22];
|
|
4759
4683
|
return t10;
|
|
4760
4684
|
};
|
|
4761
|
-
|
|
4762
4685
|
//#endregion
|
|
4763
4686
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss
|
|
4764
4687
|
var ds_button_new_module_default = {
|
|
4765
|
-
"button": "
|
|
4766
|
-
"content": "
|
|
4767
|
-
"
|
|
4768
|
-
"
|
|
4769
|
-
"
|
|
4770
|
-
"
|
|
4771
|
-
"
|
|
4772
|
-
"
|
|
4773
|
-
"
|
|
4774
|
-
"
|
|
4775
|
-
"
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
"
|
|
4779
|
-
"
|
|
4780
|
-
"
|
|
4781
|
-
"secondary-
|
|
4782
|
-
"
|
|
4688
|
+
"button": "_button_2ztys_1",
|
|
4689
|
+
"content": "_content_2ztys_1",
|
|
4690
|
+
"tiny": "_tiny_2ztys_1",
|
|
4691
|
+
"small": "_small_2ztys_1",
|
|
4692
|
+
"medium": "_medium_2ztys_1",
|
|
4693
|
+
"large": "_large_2ztys_1",
|
|
4694
|
+
"iconButton": "_iconButton_2ztys_1",
|
|
4695
|
+
"primary-filled": "_primary-filled_2ztys_1",
|
|
4696
|
+
"secondary-filled": "_secondary-filled_2ztys_1",
|
|
4697
|
+
"tertiary-filled": "_tertiary-filled_2ztys_1",
|
|
4698
|
+
"secondary-ghost": "_secondary-ghost_2ztys_1",
|
|
4699
|
+
"tertiary-ghost": "_tertiary-ghost_2ztys_1",
|
|
4700
|
+
"primary-danger": "_primary-danger_2ztys_1",
|
|
4701
|
+
"secondary-danger": "_secondary-danger_2ztys_1",
|
|
4702
|
+
"tertiary-danger": "_tertiary-danger_2ztys_1",
|
|
4703
|
+
"primary-dark": "_primary-dark_2ztys_1",
|
|
4704
|
+
"secondary-dark": "_secondary-dark_2ztys_1",
|
|
4705
|
+
"secondary-light-dark": "_secondary-light-dark_2ztys_1",
|
|
4706
|
+
"tertiary-dark": "_tertiary-dark_2ztys_1"
|
|
4783
4707
|
};
|
|
4784
|
-
|
|
4785
4708
|
//#endregion
|
|
4786
4709
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.tsx
|
|
4787
4710
|
const isIconOnly = (children) => {
|
|
@@ -4871,7 +4794,6 @@ const DsButton$1 = (t0) => {
|
|
|
4871
4794
|
} else t7 = $[24];
|
|
4872
4795
|
return t7;
|
|
4873
4796
|
};
|
|
4874
|
-
|
|
4875
4797
|
//#endregion
|
|
4876
4798
|
//#region src/components/ds-button/ds-button.tsx
|
|
4877
4799
|
const DsButton = (props) => {
|
|
@@ -4893,7 +4815,6 @@ const DsButton = (props) => {
|
|
|
4893
4815
|
} else t0 = $[3];
|
|
4894
4816
|
return t0;
|
|
4895
4817
|
};
|
|
4896
|
-
|
|
4897
4818
|
//#endregion
|
|
4898
4819
|
//#region src/components/ds-card/ds-card.module.scss
|
|
4899
4820
|
var ds_card_module_default = {
|
|
@@ -4902,7 +4823,6 @@ var ds_card_module_default = {
|
|
|
4902
4823
|
"body": "_body_qqvx6_1",
|
|
4903
4824
|
"footer": "_footer_qqvx6_1"
|
|
4904
4825
|
};
|
|
4905
|
-
|
|
4906
4826
|
//#endregion
|
|
4907
4827
|
//#region src/components/ds-card/ds-card.tsx
|
|
4908
4828
|
/**
|
|
@@ -5157,7 +5077,6 @@ const DsCard = {
|
|
|
5157
5077
|
Body: Body$2,
|
|
5158
5078
|
Footer: Footer$2
|
|
5159
5079
|
};
|
|
5160
|
-
|
|
5161
5080
|
//#endregion
|
|
5162
5081
|
//#region src/components/ds-card/ds-card.types.ts
|
|
5163
5082
|
const cardSizes = [
|
|
@@ -5165,25 +5084,25 @@ const cardSizes = [
|
|
|
5165
5084
|
"medium",
|
|
5166
5085
|
"large"
|
|
5167
5086
|
];
|
|
5168
|
-
|
|
5169
5087
|
//#endregion
|
|
5170
5088
|
//#region src/components/ds-checkbox/ds-checkbox.module.scss
|
|
5171
5089
|
var ds_checkbox_module_default = {
|
|
5172
|
-
"container": "
|
|
5173
|
-
"labelInfo": "
|
|
5174
|
-
"
|
|
5175
|
-
"
|
|
5176
|
-
"
|
|
5177
|
-
"
|
|
5090
|
+
"container": "_container_1voix_1",
|
|
5091
|
+
"labelInfo": "_labelInfo_1voix_1",
|
|
5092
|
+
"label": "_label_1voix_1",
|
|
5093
|
+
"checkboxRoot": "_checkboxRoot_1voix_1",
|
|
5094
|
+
"checkboxWrapper": "_checkboxWrapper_1voix_1",
|
|
5095
|
+
"checkboxIndicator": "_checkboxIndicator_1voix_1",
|
|
5096
|
+
"default": "_default_1voix_1",
|
|
5097
|
+
"warning": "_warning_1voix_1"
|
|
5178
5098
|
};
|
|
5179
|
-
|
|
5180
5099
|
//#endregion
|
|
5181
5100
|
//#region src/components/ds-checkbox/ds-checkbox.tsx
|
|
5182
5101
|
/**
|
|
5183
5102
|
* Design system Checkbox component
|
|
5184
5103
|
*/
|
|
5185
5104
|
const DsCheckbox = (t0) => {
|
|
5186
|
-
const $ = c(
|
|
5105
|
+
const $ = c(30);
|
|
5187
5106
|
let checked;
|
|
5188
5107
|
let className;
|
|
5189
5108
|
let defaultChecked;
|
|
@@ -5192,8 +5111,9 @@ const DsCheckbox = (t0) => {
|
|
|
5192
5111
|
let labelInfo;
|
|
5193
5112
|
let onCheckedChange;
|
|
5194
5113
|
let props;
|
|
5114
|
+
let t1;
|
|
5195
5115
|
if ($[0] !== t0) {
|
|
5196
|
-
({id, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
|
|
5116
|
+
({id, variant: t1, label, labelInfo, className, checked, defaultChecked, onCheckedChange, ...props} = t0);
|
|
5197
5117
|
$[0] = t0;
|
|
5198
5118
|
$[1] = checked;
|
|
5199
5119
|
$[2] = className;
|
|
@@ -5203,6 +5123,7 @@ const DsCheckbox = (t0) => {
|
|
|
5203
5123
|
$[6] = labelInfo;
|
|
5204
5124
|
$[7] = onCheckedChange;
|
|
5205
5125
|
$[8] = props;
|
|
5126
|
+
$[9] = t1;
|
|
5206
5127
|
} else {
|
|
5207
5128
|
checked = $[1];
|
|
5208
5129
|
className = $[2];
|
|
@@ -5212,54 +5133,58 @@ const DsCheckbox = (t0) => {
|
|
|
5212
5133
|
labelInfo = $[6];
|
|
5213
5134
|
onCheckedChange = $[7];
|
|
5214
5135
|
props = $[8];
|
|
5136
|
+
t1 = $[9];
|
|
5215
5137
|
}
|
|
5138
|
+
const variant = t1 === void 0 ? "default" : t1;
|
|
5216
5139
|
const generatedId = useId();
|
|
5217
5140
|
const checkboxId = id || generatedId;
|
|
5218
|
-
|
|
5219
|
-
if ($[9] !== className) {
|
|
5220
|
-
t1 = classNames(ds_checkbox_module_default.container, className);
|
|
5221
|
-
$[9] = className;
|
|
5222
|
-
$[10] = t1;
|
|
5223
|
-
} else t1 = $[10];
|
|
5224
|
-
const t2 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
|
|
5141
|
+
const t2 = ds_checkbox_module_default[variant];
|
|
5225
5142
|
let t3;
|
|
5226
|
-
if ($[11] !== t2) {
|
|
5227
|
-
t3 =
|
|
5143
|
+
if ($[10] !== className || $[11] !== t2) {
|
|
5144
|
+
t3 = classNames(ds_checkbox_module_default.container, t2, className);
|
|
5145
|
+
$[10] = className;
|
|
5146
|
+
$[11] = t2;
|
|
5147
|
+
$[12] = t3;
|
|
5148
|
+
} else t3 = $[12];
|
|
5149
|
+
const t4 = checked === "indeterminate" ? "check_indeterminate_small" : "check_small";
|
|
5150
|
+
let t5;
|
|
5151
|
+
if ($[13] !== t4) {
|
|
5152
|
+
t5 = /* @__PURE__ */ jsx("div", {
|
|
5228
5153
|
className: ds_checkbox_module_default.checkboxWrapper,
|
|
5229
5154
|
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
5230
5155
|
className: ds_checkbox_module_default.checkboxIndicator,
|
|
5231
5156
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
5232
|
-
icon:
|
|
5157
|
+
icon: t4,
|
|
5233
5158
|
size: "small",
|
|
5234
5159
|
variant: "outlined"
|
|
5235
5160
|
})
|
|
5236
5161
|
})
|
|
5237
5162
|
});
|
|
5238
|
-
$[
|
|
5239
|
-
$[
|
|
5240
|
-
} else
|
|
5241
|
-
let
|
|
5242
|
-
if ($[
|
|
5243
|
-
|
|
5163
|
+
$[13] = t4;
|
|
5164
|
+
$[14] = t5;
|
|
5165
|
+
} else t5 = $[14];
|
|
5166
|
+
let t6;
|
|
5167
|
+
if ($[15] !== checkboxId || $[16] !== checked || $[17] !== defaultChecked || $[18] !== onCheckedChange || $[19] !== props || $[20] !== t5) {
|
|
5168
|
+
t6 = /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
5244
5169
|
className: ds_checkbox_module_default.checkboxRoot,
|
|
5245
5170
|
id: checkboxId,
|
|
5246
5171
|
checked,
|
|
5247
5172
|
defaultChecked,
|
|
5248
5173
|
onCheckedChange,
|
|
5249
5174
|
...props,
|
|
5250
|
-
children:
|
|
5175
|
+
children: t5
|
|
5251
5176
|
});
|
|
5252
|
-
$[
|
|
5253
|
-
$[
|
|
5254
|
-
$[
|
|
5255
|
-
$[
|
|
5256
|
-
$[
|
|
5257
|
-
$[
|
|
5258
|
-
$[
|
|
5259
|
-
} else
|
|
5260
|
-
let
|
|
5261
|
-
if ($[
|
|
5262
|
-
|
|
5177
|
+
$[15] = checkboxId;
|
|
5178
|
+
$[16] = checked;
|
|
5179
|
+
$[17] = defaultChecked;
|
|
5180
|
+
$[18] = onCheckedChange;
|
|
5181
|
+
$[19] = props;
|
|
5182
|
+
$[20] = t5;
|
|
5183
|
+
$[21] = t6;
|
|
5184
|
+
} else t6 = $[21];
|
|
5185
|
+
let t7;
|
|
5186
|
+
if ($[22] !== checkboxId || $[23] !== label || $[24] !== labelInfo) {
|
|
5187
|
+
t7 = label && /* @__PURE__ */ jsxs("label", {
|
|
5263
5188
|
className: ds_checkbox_module_default.label,
|
|
5264
5189
|
htmlFor: checkboxId,
|
|
5265
5190
|
children: [label, labelInfo && /* @__PURE__ */ jsx("div", {
|
|
@@ -5267,25 +5192,27 @@ const DsCheckbox = (t0) => {
|
|
|
5267
5192
|
children: labelInfo
|
|
5268
5193
|
})]
|
|
5269
5194
|
});
|
|
5270
|
-
$[
|
|
5271
|
-
$[
|
|
5272
|
-
$[
|
|
5273
|
-
$[
|
|
5274
|
-
} else
|
|
5275
|
-
let
|
|
5276
|
-
if ($[
|
|
5277
|
-
|
|
5278
|
-
className:
|
|
5279
|
-
children: [
|
|
5195
|
+
$[22] = checkboxId;
|
|
5196
|
+
$[23] = label;
|
|
5197
|
+
$[24] = labelInfo;
|
|
5198
|
+
$[25] = t7;
|
|
5199
|
+
} else t7 = $[25];
|
|
5200
|
+
let t8;
|
|
5201
|
+
if ($[26] !== t3 || $[27] !== t6 || $[28] !== t7) {
|
|
5202
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
5203
|
+
className: t3,
|
|
5204
|
+
children: [t6, t7]
|
|
5280
5205
|
});
|
|
5281
|
-
$[
|
|
5282
|
-
$[25] = t4;
|
|
5283
|
-
$[26] = t5;
|
|
5206
|
+
$[26] = t3;
|
|
5284
5207
|
$[27] = t6;
|
|
5285
|
-
|
|
5286
|
-
|
|
5208
|
+
$[28] = t7;
|
|
5209
|
+
$[29] = t8;
|
|
5210
|
+
} else t8 = $[29];
|
|
5211
|
+
return t8;
|
|
5287
5212
|
};
|
|
5288
|
-
|
|
5213
|
+
//#endregion
|
|
5214
|
+
//#region src/components/ds-checkbox/ds-checkbox.types.ts
|
|
5215
|
+
const checkboxVariants = ["default", "warning"];
|
|
5289
5216
|
//#endregion
|
|
5290
5217
|
//#region src/components/ds-chip/ds-chip.module.scss
|
|
5291
5218
|
var ds_chip_module_default = {
|
|
@@ -5295,7 +5222,6 @@ var ds_chip_module_default = {
|
|
|
5295
5222
|
"label": "_label_1mzbj_1",
|
|
5296
5223
|
"deleteButton": "_deleteButton_1mzbj_1"
|
|
5297
5224
|
};
|
|
5298
|
-
|
|
5299
5225
|
//#endregion
|
|
5300
5226
|
//#region src/components/ds-chip/ds-chip.tsx
|
|
5301
5227
|
/**
|
|
@@ -5413,7 +5339,6 @@ const DsChip = (t0) => {
|
|
|
5413
5339
|
} else t17 = $[28];
|
|
5414
5340
|
return t17;
|
|
5415
5341
|
};
|
|
5416
|
-
|
|
5417
5342
|
//#endregion
|
|
5418
5343
|
//#region src/components/ds-chip-group/ds-chip-group.module.scss
|
|
5419
5344
|
var ds_chip_group_module_default = {
|
|
@@ -5426,7 +5351,6 @@ var ds_chip_group_module_default = {
|
|
|
5426
5351
|
"dialogContent": "_dialogContent_19chu_1",
|
|
5427
5352
|
"itemCheckbox": "_itemCheckbox_19chu_1"
|
|
5428
5353
|
};
|
|
5429
|
-
|
|
5430
5354
|
//#endregion
|
|
5431
5355
|
//#region src/components/ds-chip-group/hooks/use-chip-row-calculation.ts
|
|
5432
5356
|
/**
|
|
@@ -5474,7 +5398,6 @@ const useChipRowCalculation = ({ chipsWrapperRef, totalFilters }) => {
|
|
|
5474
5398
|
}, [chipsWrapperRef, totalFilters]);
|
|
5475
5399
|
return visibleCount;
|
|
5476
5400
|
};
|
|
5477
|
-
|
|
5478
5401
|
//#endregion
|
|
5479
5402
|
//#region src/components/ds-chip-group/ds-chip-group.tsx
|
|
5480
5403
|
/**
|
|
@@ -5560,38 +5483,32 @@ const DsChipGroup = ({ items, label = "Filtered by:", onClearAll, onItemDelete,
|
|
|
5560
5483
|
]
|
|
5561
5484
|
});
|
|
5562
5485
|
};
|
|
5563
|
-
|
|
5564
5486
|
//#endregion
|
|
5565
5487
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.module.scss
|
|
5566
5488
|
var ds_comment_bubble_module_default = {
|
|
5567
|
-
"
|
|
5568
|
-
"
|
|
5569
|
-
"
|
|
5570
|
-
"
|
|
5571
|
-
"
|
|
5572
|
-
"
|
|
5573
|
-
"
|
|
5574
|
-
"
|
|
5575
|
-
"
|
|
5576
|
-
"
|
|
5577
|
-
"
|
|
5578
|
-
"
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5581
|
-
"
|
|
5582
|
-
"
|
|
5583
|
-
"
|
|
5584
|
-
"
|
|
5585
|
-
"
|
|
5586
|
-
"
|
|
5587
|
-
"
|
|
5588
|
-
"
|
|
5589
|
-
"sendButton": "_sendButton_830mk_1",
|
|
5590
|
-
"dropdownContent": "_dropdownContent_830mk_1",
|
|
5591
|
-
"dropdownItem": "_dropdownItem_830mk_1",
|
|
5592
|
-
"danger": "_danger_830mk_1"
|
|
5489
|
+
"bubble": "_bubble_1rqfe_1",
|
|
5490
|
+
"actionRequired": "_actionRequired_1rqfe_1",
|
|
5491
|
+
"initial": "_initial_1rqfe_1",
|
|
5492
|
+
"inputArea": "_inputArea_1rqfe_1",
|
|
5493
|
+
"inputWrapper": "_inputWrapper_1rqfe_1",
|
|
5494
|
+
"textarea": "_textarea_1rqfe_1",
|
|
5495
|
+
"typing": "_typing_1rqfe_1",
|
|
5496
|
+
"thread": "_thread_1rqfe_1",
|
|
5497
|
+
"header": "_header_1rqfe_1",
|
|
5498
|
+
"headerLeft": "_headerLeft_1rqfe_1",
|
|
5499
|
+
"headerInfo": "_headerInfo_1rqfe_1",
|
|
5500
|
+
"commentId": "_commentId_1rqfe_1",
|
|
5501
|
+
"actionRequiredBadge": "_actionRequiredBadge_1rqfe_1",
|
|
5502
|
+
"headerRight": "_headerRight_1rqfe_1",
|
|
5503
|
+
"headerActions": "_headerActions_1rqfe_1",
|
|
5504
|
+
"searchIcon": "_searchIcon_1rqfe_1",
|
|
5505
|
+
"infoIcon": "_infoIcon_1rqfe_1",
|
|
5506
|
+
"footer": "_footer_1rqfe_1",
|
|
5507
|
+
"sendButton": "_sendButton_1rqfe_1",
|
|
5508
|
+
"dropdownContent": "_dropdownContent_1rqfe_1",
|
|
5509
|
+
"dropdownItem": "_dropdownItem_1rqfe_1",
|
|
5510
|
+
"danger": "_danger_1rqfe_1"
|
|
5593
5511
|
};
|
|
5594
|
-
|
|
5595
5512
|
//#endregion
|
|
5596
5513
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss
|
|
5597
5514
|
var ds_comment_thread_module_default = {
|
|
@@ -5601,33 +5518,28 @@ var ds_comment_thread_module_default = {
|
|
|
5601
5518
|
"overflowShadow": "_overflowShadow_4z8cr_1",
|
|
5602
5519
|
"visible": "_visible_4z8cr_1"
|
|
5603
5520
|
};
|
|
5604
|
-
|
|
5605
5521
|
//#endregion
|
|
5606
5522
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss
|
|
5607
5523
|
var ds_thread_item_module_default = {
|
|
5608
|
-
"
|
|
5609
|
-
"
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5612
|
-
"
|
|
5613
|
-
"
|
|
5614
|
-
"
|
|
5615
|
-
"
|
|
5616
|
-
"
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
5621
|
-
"
|
|
5622
|
-
"
|
|
5623
|
-
"editActions": "_editActions_nzgsh_1",
|
|
5624
|
-
"dropdownContent": "_dropdownContent_nzgsh_1"
|
|
5524
|
+
"threadItem": "_threadItem_1pe6o_1",
|
|
5525
|
+
"actions": "_actions_1pe6o_1",
|
|
5526
|
+
"alignRight": "_alignRight_1pe6o_1",
|
|
5527
|
+
"content": "_content_1pe6o_1",
|
|
5528
|
+
"message": "_message_1pe6o_1",
|
|
5529
|
+
"avatarWrapper": "_avatarWrapper_1pe6o_1",
|
|
5530
|
+
"avatar": "_avatar_1pe6o_1",
|
|
5531
|
+
"avatarFallback": "_avatarFallback_1pe6o_1",
|
|
5532
|
+
"header": "_header_1pe6o_1",
|
|
5533
|
+
"authorName": "_authorName_1pe6o_1",
|
|
5534
|
+
"timestamp": "_timestamp_1pe6o_1",
|
|
5535
|
+
"editContainer": "_editContainer_1pe6o_1",
|
|
5536
|
+
"editTextarea": "_editTextarea_1pe6o_1",
|
|
5537
|
+
"editActions": "_editActions_1pe6o_1",
|
|
5538
|
+
"dropdownContent": "_dropdownContent_1pe6o_1"
|
|
5625
5539
|
};
|
|
5626
|
-
|
|
5627
5540
|
//#endregion
|
|
5628
5541
|
//#region src/components/ds-textarea/ds-textarea.module.scss
|
|
5629
5542
|
var ds_textarea_module_default = { "textarea": "_textarea_12k7t_1" };
|
|
5630
|
-
|
|
5631
5543
|
//#endregion
|
|
5632
5544
|
//#region src/components/ds-textarea/ds-textarea.tsx
|
|
5633
5545
|
const DsTextarea = (t0) => {
|
|
@@ -5696,7 +5608,6 @@ const DsTextarea = (t0) => {
|
|
|
5696
5608
|
} else t7 = $[21];
|
|
5697
5609
|
return t7;
|
|
5698
5610
|
};
|
|
5699
|
-
|
|
5700
5611
|
//#endregion
|
|
5701
5612
|
//#region src/utils/format-relative-time.ts
|
|
5702
5613
|
const SECONDS_PER_MINUTE = 60;
|
|
@@ -5725,7 +5636,6 @@ const formatRelativeTime = (date) => {
|
|
|
5725
5636
|
if (diffYears >= 1) return `${String(diffYears)}y ago`;
|
|
5726
5637
|
return `${String(diffMonths)}mo ago`;
|
|
5727
5638
|
};
|
|
5728
|
-
|
|
5729
5639
|
//#endregion
|
|
5730
5640
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx
|
|
5731
5641
|
const DsThreadItem = (t0) => {
|
|
@@ -5897,10 +5807,8 @@ const DsThreadItem = (t0) => {
|
|
|
5897
5807
|
children: /* @__PURE__ */ jsx(DsButton, {
|
|
5898
5808
|
design: "v1.2",
|
|
5899
5809
|
buttonType: "tertiary",
|
|
5900
|
-
size: "
|
|
5810
|
+
size: "tiny",
|
|
5901
5811
|
"aria-label": "More actions",
|
|
5902
|
-
className: ds_thread_item_module_default.actionButton,
|
|
5903
|
-
contentClassName: ds_thread_item_module_default.iconButtonContent,
|
|
5904
5812
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
5905
5813
|
icon: "more_vert",
|
|
5906
5814
|
size: "tiny"
|
|
@@ -5928,11 +5836,9 @@ const DsThreadItem = (t0) => {
|
|
|
5928
5836
|
})] }), onResolved && /* @__PURE__ */ jsx(DsButton, {
|
|
5929
5837
|
design: "v1.2",
|
|
5930
5838
|
buttonType: "tertiary",
|
|
5931
|
-
size: "
|
|
5839
|
+
size: "tiny",
|
|
5932
5840
|
onClick: () => onResolved(id),
|
|
5933
5841
|
"aria-label": "Mark message as resolved",
|
|
5934
|
-
className: ds_thread_item_module_default.actionButton,
|
|
5935
|
-
contentClassName: ds_thread_item_module_default.iconButtonContent,
|
|
5936
5842
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
5937
5843
|
icon: "check_circle",
|
|
5938
5844
|
size: "tiny"
|
|
@@ -5966,7 +5872,6 @@ const DsThreadItem = (t0) => {
|
|
|
5966
5872
|
} else t18 = $[51];
|
|
5967
5873
|
return t18;
|
|
5968
5874
|
};
|
|
5969
|
-
|
|
5970
5875
|
//#endregion
|
|
5971
5876
|
//#region src/components/ds-comment-bubble/hooks/use-click-outside.ts
|
|
5972
5877
|
const useClickOutside = (ref, onClickOutside, t0) => {
|
|
@@ -5999,7 +5904,6 @@ const useClickOutside = (ref, onClickOutside, t0) => {
|
|
|
5999
5904
|
}
|
|
6000
5905
|
useEffect(t1, t2);
|
|
6001
5906
|
};
|
|
6002
|
-
|
|
6003
5907
|
//#endregion
|
|
6004
5908
|
//#region src/components/ds-comment-bubble/hooks/use-auto-resize.ts
|
|
6005
5909
|
const useAutoResize = (ref, value, t0) => {
|
|
@@ -6031,7 +5935,6 @@ const useAutoResize = (ref, value, t0) => {
|
|
|
6031
5935
|
} else t2 = $[6];
|
|
6032
5936
|
useLayoutEffect(t1, t2);
|
|
6033
5937
|
};
|
|
6034
|
-
|
|
6035
5938
|
//#endregion
|
|
6036
5939
|
//#region src/components/ds-comment-bubble/hooks/use-scroll-overflow.ts
|
|
6037
5940
|
const useScrollOverflow = (ref, dependency) => {
|
|
@@ -6066,7 +5969,6 @@ const useScrollOverflow = (ref, dependency) => {
|
|
|
6066
5969
|
useLayoutEffect(t0, t1);
|
|
6067
5970
|
return hasOverflow;
|
|
6068
5971
|
};
|
|
6069
|
-
|
|
6070
5972
|
//#endregion
|
|
6071
5973
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.tsx
|
|
6072
5974
|
const DsCommentThread = (t0) => {
|
|
@@ -6219,7 +6121,6 @@ const DsCommentThread = (t0) => {
|
|
|
6219
6121
|
function _temp$15(m) {
|
|
6220
6122
|
return m.isInitialMessage;
|
|
6221
6123
|
}
|
|
6222
|
-
|
|
6223
6124
|
//#endregion
|
|
6224
6125
|
//#region src/components/ds-tag/ds-tag.module.scss
|
|
6225
6126
|
var ds_tag_module_default = {
|
|
@@ -6234,7 +6135,6 @@ var ds_tag_module_default = {
|
|
|
6234
6135
|
"label": "_label_1tyo9_1",
|
|
6235
6136
|
"icon": "_icon_1tyo9_1"
|
|
6236
6137
|
};
|
|
6237
|
-
|
|
6238
6138
|
//#endregion
|
|
6239
6139
|
//#region src/components/ds-tag/ds-tag.tsx
|
|
6240
6140
|
/**
|
|
@@ -6474,18 +6374,16 @@ const DsTag = (t0) => {
|
|
|
6474
6374
|
} else t29 = $[60];
|
|
6475
6375
|
return t29;
|
|
6476
6376
|
};
|
|
6477
|
-
|
|
6478
6377
|
//#endregion
|
|
6479
|
-
//#region src/components/ds-tag/ds-tag.types.
|
|
6378
|
+
//#region src/components/ds-tag/ds-tag.types.ts
|
|
6480
6379
|
const tagSizes = ["medium", "small"];
|
|
6481
6380
|
const tagVariants = [
|
|
6482
6381
|
"default",
|
|
6483
6382
|
"include",
|
|
6484
6383
|
"exclude"
|
|
6485
6384
|
];
|
|
6486
|
-
|
|
6487
6385
|
//#endregion
|
|
6488
|
-
//#region src/
|
|
6386
|
+
//#region src/utils/merge-refs.ts
|
|
6489
6387
|
const mergeRefs = (...refs) => {
|
|
6490
6388
|
return (value) => {
|
|
6491
6389
|
refs.filter((r) => !!r).forEach((ref) => {
|
|
@@ -6494,7 +6392,6 @@ const mergeRefs = (...refs) => {
|
|
|
6494
6392
|
});
|
|
6495
6393
|
};
|
|
6496
6394
|
};
|
|
6497
|
-
|
|
6498
6395
|
//#endregion
|
|
6499
6396
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.tsx
|
|
6500
6397
|
const DsCommentBubble = (t0) => {
|
|
@@ -6622,10 +6519,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6622
6519
|
children: /* @__PURE__ */ jsx(DsButton, {
|
|
6623
6520
|
design: "v1.2",
|
|
6624
6521
|
buttonType: "tertiary",
|
|
6625
|
-
size: "
|
|
6522
|
+
size: "tiny",
|
|
6626
6523
|
"aria-label": "More actions",
|
|
6627
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6628
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6629
6524
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
6630
6525
|
icon: "more_vert",
|
|
6631
6526
|
size: "tiny"
|
|
@@ -6664,11 +6559,9 @@ const DsCommentBubble = (t0) => {
|
|
|
6664
6559
|
})] }), onResolve && /* @__PURE__ */ jsx(DsButton, {
|
|
6665
6560
|
design: "v1.2",
|
|
6666
6561
|
buttonType: "tertiary",
|
|
6667
|
-
size: "
|
|
6562
|
+
size: "tiny",
|
|
6668
6563
|
onClick: () => onResolve(),
|
|
6669
6564
|
"aria-label": "Resolve",
|
|
6670
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6671
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6672
6565
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
6673
6566
|
icon: "check_circle",
|
|
6674
6567
|
size: "tiny"
|
|
@@ -6677,10 +6570,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6677
6570
|
}), onClose && /* @__PURE__ */ jsx(DsButton, {
|
|
6678
6571
|
design: "v1.2",
|
|
6679
6572
|
buttonType: "tertiary",
|
|
6680
|
-
size: "
|
|
6573
|
+
size: "tiny",
|
|
6681
6574
|
onClick: () => onClose(),
|
|
6682
|
-
className: ds_comment_bubble_module_default.headerActionButton,
|
|
6683
|
-
contentClassName: ds_comment_bubble_module_default.iconButtonContent,
|
|
6684
6575
|
"aria-label": "Close",
|
|
6685
6576
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
6686
6577
|
icon: "close",
|
|
@@ -6753,7 +6644,8 @@ const DsCommentBubble = (t0) => {
|
|
|
6753
6644
|
if ($[49] !== handleSend || $[50] !== hasContent || $[51] !== hasThread || $[52] !== isInitialMode) {
|
|
6754
6645
|
t15 = (isInitialMode || hasThread) && /* @__PURE__ */ jsx(DsButton, {
|
|
6755
6646
|
design: "v1.2",
|
|
6756
|
-
|
|
6647
|
+
buttonType: "tertiary",
|
|
6648
|
+
size: "tiny",
|
|
6757
6649
|
disabled: !hasContent,
|
|
6758
6650
|
onClick: handleSend,
|
|
6759
6651
|
"aria-label": "Send",
|
|
@@ -6783,13 +6675,14 @@ const DsCommentBubble = (t0) => {
|
|
|
6783
6675
|
t17 = showFooter && /* @__PURE__ */ jsxs("div", {
|
|
6784
6676
|
className: ds_comment_bubble_module_default.footer,
|
|
6785
6677
|
children: [/* @__PURE__ */ jsx(DsCheckbox, {
|
|
6678
|
+
variant: "warning",
|
|
6786
6679
|
label: "Action required",
|
|
6787
6680
|
checked: actionRequired,
|
|
6788
|
-
onCheckedChange: (checked) => onActionRequiredChange?.(checked === true)
|
|
6789
|
-
className: classNames(ds_comment_bubble_module_default.actionRequiredCheckbox, { [ds_comment_bubble_module_default.checked]: actionRequired })
|
|
6681
|
+
onCheckedChange: (checked) => onActionRequiredChange?.(checked === true)
|
|
6790
6682
|
}), /* @__PURE__ */ jsx(DsButton, {
|
|
6791
6683
|
design: "v1.2",
|
|
6792
|
-
|
|
6684
|
+
buttonType: "tertiary",
|
|
6685
|
+
size: "tiny",
|
|
6793
6686
|
disabled: !hasContent,
|
|
6794
6687
|
onClick: handleSend,
|
|
6795
6688
|
"aria-label": "Send",
|
|
@@ -6833,7 +6726,6 @@ const DsCommentBubble = (t0) => {
|
|
|
6833
6726
|
} else t18 = $[71];
|
|
6834
6727
|
return t18;
|
|
6835
6728
|
};
|
|
6836
|
-
|
|
6837
6729
|
//#endregion
|
|
6838
6730
|
//#region src/components/ds-comment-card/ds-comment-card.module.scss
|
|
6839
6731
|
var ds_comment_card_module_default = {
|
|
@@ -6856,7 +6748,6 @@ var ds_comment_card_module_default = {
|
|
|
6856
6748
|
"replyCount": "_replyCount_l0dxf_1",
|
|
6857
6749
|
"dropdownContent": "_dropdownContent_l0dxf_1"
|
|
6858
6750
|
};
|
|
6859
|
-
|
|
6860
6751
|
//#endregion
|
|
6861
6752
|
//#region src/components/ds-comment-card/ds-comment-card.tsx
|
|
6862
6753
|
const DsCommentCard = (t0) => {
|
|
@@ -7029,7 +6920,7 @@ const DsCommentCard = (t0) => {
|
|
|
7029
6920
|
children: /* @__PURE__ */ jsx(DsButton, {
|
|
7030
6921
|
design: "v1.2",
|
|
7031
6922
|
buttonType: "tertiary",
|
|
7032
|
-
size: "
|
|
6923
|
+
size: "tiny",
|
|
7033
6924
|
"aria-label": "More actions",
|
|
7034
6925
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
7035
6926
|
icon: "more_vert",
|
|
@@ -7080,7 +6971,7 @@ const DsCommentCard = (t0) => {
|
|
|
7080
6971
|
t24 = onResolve && /* @__PURE__ */ jsx(DsButton, {
|
|
7081
6972
|
design: "v1.2",
|
|
7082
6973
|
buttonType: "tertiary",
|
|
7083
|
-
size: "
|
|
6974
|
+
size: "tiny",
|
|
7084
6975
|
onClick: handleResolve,
|
|
7085
6976
|
"aria-label": "Resolve comment",
|
|
7086
6977
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
@@ -7204,7 +7095,6 @@ function _temp3$3(p) {
|
|
|
7204
7095
|
src: p.avatarSrc
|
|
7205
7096
|
};
|
|
7206
7097
|
}
|
|
7207
|
-
|
|
7208
7098
|
//#endregion
|
|
7209
7099
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.module.scss
|
|
7210
7100
|
var ds_comment_indicator_module_default = {
|
|
@@ -7214,7 +7104,6 @@ var ds_comment_indicator_module_default = {
|
|
|
7214
7104
|
"plusIcon": "_plusIcon_1eh63_1",
|
|
7215
7105
|
"avatar": "_avatar_1eh63_1"
|
|
7216
7106
|
};
|
|
7217
|
-
|
|
7218
7107
|
//#endregion
|
|
7219
7108
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.tsx
|
|
7220
7109
|
const DsCommentIndicator = (t0) => {
|
|
@@ -7283,7 +7172,6 @@ const DsCommentIndicator = (t0) => {
|
|
|
7283
7172
|
} else t7 = $[16];
|
|
7284
7173
|
return t7;
|
|
7285
7174
|
};
|
|
7286
|
-
|
|
7287
7175
|
//#endregion
|
|
7288
7176
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.module.scss
|
|
7289
7177
|
var ds_comments_drawer_module_default = {
|
|
@@ -7296,7 +7184,6 @@ var ds_comments_drawer_module_default = {
|
|
|
7296
7184
|
"filterTagsToolbar": "_filterTagsToolbar_1tdl6_1",
|
|
7297
7185
|
"tagFilter": "_tagFilter_1tdl6_1"
|
|
7298
7186
|
};
|
|
7299
|
-
|
|
7300
7187
|
//#endregion
|
|
7301
7188
|
//#region src/components/ds-drawer/ds-drawer.module.scss
|
|
7302
7189
|
var ds_drawer_module_default = {
|
|
@@ -7332,7 +7219,6 @@ var ds_drawer_module_default = {
|
|
|
7332
7219
|
"footer": "_footer_ehlks_1",
|
|
7333
7220
|
"actions": "_actions_ehlks_1"
|
|
7334
7221
|
};
|
|
7335
|
-
|
|
7336
7222
|
//#endregion
|
|
7337
7223
|
//#region src/components/ds-drawer/ds-drawer.tsx
|
|
7338
7224
|
/**
|
|
@@ -7613,7 +7499,6 @@ DsDrawer.Toolbar = Toolbar;
|
|
|
7613
7499
|
DsDrawer.Body = Body$1;
|
|
7614
7500
|
DsDrawer.Footer = Footer$1;
|
|
7615
7501
|
DsDrawer.Actions = Actions$1;
|
|
7616
|
-
|
|
7617
7502
|
//#endregion
|
|
7618
7503
|
//#region src/components/ds-tag-filter/ds-tag-filter.module.scss
|
|
7619
7504
|
var ds_tag_filter_module_default = {
|
|
@@ -7628,7 +7513,6 @@ var ds_tag_filter_module_default = {
|
|
|
7628
7513
|
"actionButton": "_actionButton_1sm6t_1",
|
|
7629
7514
|
"measurementContainer": "_measurementContainer_1sm6t_1"
|
|
7630
7515
|
};
|
|
7631
|
-
|
|
7632
7516
|
//#endregion
|
|
7633
7517
|
//#region src/components/ds-tag-filter/utils.ts
|
|
7634
7518
|
/**
|
|
@@ -7672,7 +7556,6 @@ function getElementMeasurements(measurementContainer) {
|
|
|
7672
7556
|
gap
|
|
7673
7557
|
};
|
|
7674
7558
|
}
|
|
7675
|
-
|
|
7676
7559
|
//#endregion
|
|
7677
7560
|
//#region src/components/ds-tag-filter/hooks/use-tag-overflow-calculation.ts
|
|
7678
7561
|
/**
|
|
@@ -7770,7 +7653,6 @@ const useTagOverflowCalculation = (t0) => {
|
|
|
7770
7653
|
}
|
|
7771
7654
|
return state;
|
|
7772
7655
|
};
|
|
7773
|
-
|
|
7774
7656
|
//#endregion
|
|
7775
7657
|
//#region src/components/ds-tag-filter/ds-tag-filter.tsx
|
|
7776
7658
|
/**
|
|
@@ -8009,7 +7891,6 @@ const DsTagFilter = (t0) => {
|
|
|
8009
7891
|
} else t24 = $[61];
|
|
8010
7892
|
return t24;
|
|
8011
7893
|
};
|
|
8012
|
-
|
|
8013
7894
|
//#endregion
|
|
8014
7895
|
//#region src/components/ds-comments-drawer/comments-filters.ts
|
|
8015
7896
|
const initialFilterState = {
|
|
@@ -8103,7 +7984,6 @@ const removeTag = (filters, tag) => {
|
|
|
8103
7984
|
}
|
|
8104
7985
|
return newFilters;
|
|
8105
7986
|
};
|
|
8106
|
-
|
|
8107
7987
|
//#endregion
|
|
8108
7988
|
//#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss
|
|
8109
7989
|
var comments_filter_modal_module_default = {
|
|
@@ -8122,7 +8002,6 @@ var comments_filter_modal_module_default = {
|
|
|
8122
8002
|
"emptyMessage": "_emptyMessage_1p419_1",
|
|
8123
8003
|
"footer": "_footer_1p419_1"
|
|
8124
8004
|
};
|
|
8125
|
-
|
|
8126
8005
|
//#endregion
|
|
8127
8006
|
//#region src/components/ds-modal/ds-modal.module.scss
|
|
8128
8007
|
var ds_modal_module_default = {
|
|
@@ -8151,7 +8030,6 @@ var ds_modal_module_default = {
|
|
|
8151
8030
|
"cols-11": "_cols-11_5aciv_1",
|
|
8152
8031
|
"cols-12": "_cols-12_5aciv_1"
|
|
8153
8032
|
};
|
|
8154
|
-
|
|
8155
8033
|
//#endregion
|
|
8156
8034
|
//#region src/components/ds-modal/ds-modal.tsx
|
|
8157
8035
|
/**
|
|
@@ -8387,15 +8265,12 @@ DsModal.CloseTrigger = CloseTrigger;
|
|
|
8387
8265
|
DsModal.Body = Body;
|
|
8388
8266
|
DsModal.Footer = Footer;
|
|
8389
8267
|
DsModal.Actions = Actions;
|
|
8390
|
-
|
|
8391
8268
|
//#endregion
|
|
8392
8269
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
|
|
8393
8270
|
var ds_tabs_list_module_default = { "tabList": "_tabList_tj37v_1" };
|
|
8394
|
-
|
|
8395
8271
|
//#endregion
|
|
8396
8272
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss
|
|
8397
8273
|
var ds_tabs_indicator_module_default = { "indicator": "_indicator_1xns8_1" };
|
|
8398
|
-
|
|
8399
8274
|
//#endregion
|
|
8400
8275
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.tsx
|
|
8401
8276
|
const DsTabsList = (t0) => {
|
|
@@ -8426,7 +8301,6 @@ const DsTabsList = (t0) => {
|
|
|
8426
8301
|
} else t3 = $[6];
|
|
8427
8302
|
return t3;
|
|
8428
8303
|
};
|
|
8429
|
-
|
|
8430
8304
|
//#endregion
|
|
8431
8305
|
//#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss
|
|
8432
8306
|
var ds_tabs_tab_module_default = {
|
|
@@ -8439,7 +8313,6 @@ var ds_tabs_tab_module_default = {
|
|
|
8439
8313
|
"menuItem": "_menuItem_1r7gq_1",
|
|
8440
8314
|
"menuItemLabel": "_menuItemLabel_1r7gq_1"
|
|
8441
8315
|
};
|
|
8442
|
-
|
|
8443
8316
|
//#endregion
|
|
8444
8317
|
//#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx
|
|
8445
8318
|
const DsTabsTab = (t0) => {
|
|
@@ -8602,14 +8475,12 @@ function _temp$13(item) {
|
|
|
8602
8475
|
})
|
|
8603
8476
|
}, item.value);
|
|
8604
8477
|
}
|
|
8605
|
-
|
|
8606
8478
|
//#endregion
|
|
8607
8479
|
//#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss
|
|
8608
8480
|
var ds_tabs_content_module_default = {
|
|
8609
8481
|
"tabContent": "_tabContent_qtp6q_1",
|
|
8610
8482
|
"fadeIn": "_fadeIn_qtp6q_1"
|
|
8611
8483
|
};
|
|
8612
|
-
|
|
8613
8484
|
//#endregion
|
|
8614
8485
|
//#region src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.tsx
|
|
8615
8486
|
const DsTabsContent = (t0) => {
|
|
@@ -8637,11 +8508,9 @@ const DsTabsContent = (t0) => {
|
|
|
8637
8508
|
} else t2 = $[6];
|
|
8638
8509
|
return t2;
|
|
8639
8510
|
};
|
|
8640
|
-
|
|
8641
8511
|
//#endregion
|
|
8642
8512
|
//#region src/components/ds-tabs/ds-tabs.module.scss
|
|
8643
8513
|
var ds_tabs_module_default = { "root": "_root_13s06_1" };
|
|
8644
|
-
|
|
8645
8514
|
//#endregion
|
|
8646
8515
|
//#region src/components/ds-tabs/ds-tabs.tsx
|
|
8647
8516
|
const DsTabsRoot = (t0) => {
|
|
@@ -8697,7 +8566,6 @@ const DsTabs = {
|
|
|
8697
8566
|
Tab: DsTabsTab,
|
|
8698
8567
|
Content: DsTabsContent
|
|
8699
8568
|
};
|
|
8700
|
-
|
|
8701
8569
|
//#endregion
|
|
8702
8570
|
//#region src/components/ds-date-input/ds-date-input.utils.ts
|
|
8703
8571
|
/**
|
|
@@ -8863,7 +8731,6 @@ const validateDateString = ({ text, range, min, max }) => {
|
|
|
8863
8731
|
};
|
|
8864
8732
|
return { isValid: true };
|
|
8865
8733
|
};
|
|
8866
|
-
|
|
8867
8734
|
//#endregion
|
|
8868
8735
|
//#region src/components/ds-date-input/ds-date-input.module.scss
|
|
8869
8736
|
var ds_date_input_module_default = {
|
|
@@ -8890,7 +8757,6 @@ var ds_date_input_module_default = {
|
|
|
8890
8757
|
"tableHead": "_tableHead_1abgc_1",
|
|
8891
8758
|
"tableHeader": "_tableHeader_1abgc_1"
|
|
8892
8759
|
};
|
|
8893
|
-
|
|
8894
8760
|
//#endregion
|
|
8895
8761
|
//#region src/components/ds-date-input/ds-date-input.tsx
|
|
8896
8762
|
/**
|
|
@@ -8899,7 +8765,7 @@ var ds_date_input_module_default = {
|
|
|
8899
8765
|
* Supports both single date and date range selection with a single text input field.
|
|
8900
8766
|
* Features built-in validation, manual text entry, and calendar selection.
|
|
8901
8767
|
*/
|
|
8902
|
-
const DsDateInput = ({ range = false, placeholder, style, className, disablePortal = false, onValueChange, onOpenChange, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...datePickerProps }) => {
|
|
8768
|
+
const DsDateInput = ({ range = false, placeholder, style, className, disablePortal = false, hideClearButton = false, onValueChange, onOpenChange, value: _value, defaultValue: _defaultValue, min: _min, max: _max, disabled, readOnly, id, ...datePickerProps }) => {
|
|
8903
8769
|
const min = _min ? isoStringToDateValue(_min) : void 0;
|
|
8904
8770
|
const max = _max ? isoStringToDateValue(_max) : void 0;
|
|
8905
8771
|
const value = _value ? stringToDateValue(_value) : [];
|
|
@@ -8943,7 +8809,7 @@ const DsDateInput = ({ range = false, placeholder, style, className, disablePort
|
|
|
8943
8809
|
const parsedValue_0 = parseInputText(text_0, range);
|
|
8944
8810
|
onValueChange?.(dateValuesToStrings(parsedValue_0, range));
|
|
8945
8811
|
};
|
|
8946
|
-
const showClearButton = !disabled && !readOnly && !!(value.length > 0 ? value : defaultValue).length;
|
|
8812
|
+
const showClearButton = !hideClearButton && !disabled && !readOnly && !!(value.length > 0 ? value : defaultValue).length;
|
|
8947
8813
|
const Wrapper = disablePortal ? Fragment$1 : Portal;
|
|
8948
8814
|
return /* @__PURE__ */ jsxs(DatePicker.Root, {
|
|
8949
8815
|
value,
|
|
@@ -9225,7 +9091,6 @@ function _temp0(datePicker) {
|
|
|
9225
9091
|
})
|
|
9226
9092
|
});
|
|
9227
9093
|
}
|
|
9228
|
-
|
|
9229
9094
|
//#endregion
|
|
9230
9095
|
//#region src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx
|
|
9231
9096
|
const CommentsFilterModal = (t0) => {
|
|
@@ -9767,7 +9632,6 @@ const CommentsFilterModal = (t0) => {
|
|
|
9767
9632
|
} else t47 = $[116];
|
|
9768
9633
|
return t47;
|
|
9769
9634
|
};
|
|
9770
|
-
|
|
9771
9635
|
//#endregion
|
|
9772
9636
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.tsx
|
|
9773
9637
|
const DsCommentsDrawer = (t0) => {
|
|
@@ -10171,7 +10035,6 @@ function _temp4$1(c_0) {
|
|
|
10171
10035
|
function _temp5$1(c_1) {
|
|
10172
10036
|
return c_1.isResolved;
|
|
10173
10037
|
}
|
|
10174
|
-
|
|
10175
10038
|
//#endregion
|
|
10176
10039
|
//#region src/components/ds-confirmation/ds-confirmation.tsx
|
|
10177
10040
|
/**
|
|
@@ -10199,7 +10062,6 @@ DsConfirmation.CloseTrigger = DsModal.CloseTrigger;
|
|
|
10199
10062
|
DsConfirmation.Body = DsModal.Body;
|
|
10200
10063
|
DsConfirmation.Footer = DsModal.Footer;
|
|
10201
10064
|
DsConfirmation.Actions = DsModal.Actions;
|
|
10202
|
-
|
|
10203
10065
|
//#endregion
|
|
10204
10066
|
//#region src/components/ds-dialog/ds-dialog.module.scss
|
|
10205
10067
|
var ds_dialog_module_default = {
|
|
@@ -10209,7 +10071,6 @@ var ds_dialog_module_default = {
|
|
|
10209
10071
|
"description": "_description_z7kc9_1",
|
|
10210
10072
|
"customPlacement": "_customPlacement_z7kc9_1"
|
|
10211
10073
|
};
|
|
10212
|
-
|
|
10213
10074
|
//#endregion
|
|
10214
10075
|
//#region src/components/ds-dialog/ds-dialog.tsx
|
|
10215
10076
|
const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescription, children, className, anchorRef, customPosition, modal = true }) => {
|
|
@@ -10258,7 +10119,6 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
|
|
|
10258
10119
|
})] })
|
|
10259
10120
|
});
|
|
10260
10121
|
};
|
|
10261
|
-
|
|
10262
10122
|
//#endregion
|
|
10263
10123
|
//#region src/components/ds-divider/ds-divider.module.scss
|
|
10264
10124
|
var ds_divider_module_default = {
|
|
@@ -10266,7 +10126,6 @@ var ds_divider_module_default = {
|
|
|
10266
10126
|
"horizontal": "_horizontal_s6hux_1",
|
|
10267
10127
|
"vertical": "_vertical_s6hux_1"
|
|
10268
10128
|
};
|
|
10269
|
-
|
|
10270
10129
|
//#endregion
|
|
10271
10130
|
//#region src/components/ds-divider/ds-divider.tsx
|
|
10272
10131
|
const DsDivider = (t0) => {
|
|
@@ -10304,7 +10163,6 @@ const DsDivider = (t0) => {
|
|
|
10304
10163
|
} else t4 = $[8];
|
|
10305
10164
|
return t4;
|
|
10306
10165
|
};
|
|
10307
|
-
|
|
10308
10166
|
//#endregion
|
|
10309
10167
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss
|
|
10310
10168
|
var ds_expandable_text_input_module_default = {
|
|
@@ -10315,12 +10173,11 @@ var ds_expandable_text_input_module_default = {
|
|
|
10315
10173
|
"dirty": "_dirty_dd7gz_1",
|
|
10316
10174
|
"inputExpander": "_inputExpander_dd7gz_1"
|
|
10317
10175
|
};
|
|
10318
|
-
|
|
10319
10176
|
//#endregion
|
|
10320
10177
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.tsx
|
|
10321
10178
|
function DsExpandableTextInput(t0) {
|
|
10322
|
-
const $ = c(
|
|
10323
|
-
const { onClear, onExpandChange, icon, ...props } = t0;
|
|
10179
|
+
const $ = c(41);
|
|
10180
|
+
const { onClear, onExpandChange, icon, size, ...props } = t0;
|
|
10324
10181
|
const hasInitialValue = Boolean(props.value ?? props.defaultValue);
|
|
10325
10182
|
const [expanded, _setExpanded] = useState(hasInitialValue);
|
|
10326
10183
|
const [dirty, setDirty] = useState(hasInitialValue);
|
|
@@ -10337,6 +10194,7 @@ function DsExpandableTextInput(t0) {
|
|
|
10337
10194
|
$[2] = t1;
|
|
10338
10195
|
} else t1 = $[2];
|
|
10339
10196
|
const setExpanded = t1;
|
|
10197
|
+
const clearButtonSize = size === "small" ? "tiny" : "small";
|
|
10340
10198
|
const T0 = DsTextInput;
|
|
10341
10199
|
const t2 = mergeRefs(ref, props.ref);
|
|
10342
10200
|
const t3 = expanded ? 0 : -1;
|
|
@@ -10403,60 +10261,69 @@ function DsExpandableTextInput(t0) {
|
|
|
10403
10261
|
} else t10 = $[20];
|
|
10404
10262
|
let t11;
|
|
10405
10263
|
if ($[21] !== onClear || $[22] !== ref || $[23] !== setExpanded) {
|
|
10406
|
-
t11 =
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
if (ref.current) {
|
|
10415
|
-
ref.current.blur();
|
|
10416
|
-
ref.current.value = "";
|
|
10417
|
-
}
|
|
10418
|
-
onClear?.();
|
|
10419
|
-
},
|
|
10420
|
-
children: "Clear"
|
|
10421
|
-
});
|
|
10264
|
+
t11 = () => {
|
|
10265
|
+
setExpanded(false);
|
|
10266
|
+
if (ref.current) {
|
|
10267
|
+
ref.current.blur();
|
|
10268
|
+
ref.current.value = "";
|
|
10269
|
+
}
|
|
10270
|
+
onClear?.();
|
|
10271
|
+
};
|
|
10422
10272
|
$[21] = onClear;
|
|
10423
10273
|
$[22] = ref;
|
|
10424
10274
|
$[23] = setExpanded;
|
|
10425
10275
|
$[24] = t11;
|
|
10426
10276
|
} else t11 = $[24];
|
|
10427
10277
|
let t12;
|
|
10428
|
-
if ($[25] !==
|
|
10429
|
-
t12 = {
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10278
|
+
if ($[25] !== clearButtonSize || $[26] !== t11) {
|
|
10279
|
+
t12 = /* @__PURE__ */ jsx(DsButton, {
|
|
10280
|
+
design: "v1.2",
|
|
10281
|
+
size: clearButtonSize,
|
|
10282
|
+
buttonType: "tertiary",
|
|
10283
|
+
variant: "filled",
|
|
10284
|
+
className: ds_expandable_text_input_module_default.clearTrigger,
|
|
10285
|
+
onClick: t11,
|
|
10286
|
+
children: "Clear"
|
|
10287
|
+
});
|
|
10288
|
+
$[25] = clearButtonSize;
|
|
10435
10289
|
$[26] = t11;
|
|
10436
10290
|
$[27] = t12;
|
|
10437
10291
|
} else t12 = $[27];
|
|
10438
10292
|
let t13;
|
|
10439
|
-
if ($[28] !==
|
|
10440
|
-
t13 =
|
|
10293
|
+
if ($[28] !== t10 || $[29] !== t12) {
|
|
10294
|
+
t13 = {
|
|
10295
|
+
inputWrapper: InputExpander,
|
|
10296
|
+
startAdornment: t10,
|
|
10297
|
+
endAdornment: t12
|
|
10298
|
+
};
|
|
10299
|
+
$[28] = t10;
|
|
10300
|
+
$[29] = t12;
|
|
10301
|
+
$[30] = t13;
|
|
10302
|
+
} else t13 = $[30];
|
|
10303
|
+
let t14;
|
|
10304
|
+
if ($[31] !== T0 || $[32] !== props || $[33] !== size || $[34] !== t13 || $[35] !== t2 || $[36] !== t3 || $[37] !== t4 || $[38] !== t5 || $[39] !== t6) {
|
|
10305
|
+
t14 = /* @__PURE__ */ jsx(T0, {
|
|
10441
10306
|
...props,
|
|
10307
|
+
size,
|
|
10442
10308
|
ref: t2,
|
|
10443
10309
|
tabIndex: t3,
|
|
10444
10310
|
className: t4,
|
|
10445
10311
|
onChange: t5,
|
|
10446
10312
|
onBlur: t6,
|
|
10447
|
-
slots:
|
|
10313
|
+
slots: t13
|
|
10448
10314
|
});
|
|
10449
|
-
$[
|
|
10450
|
-
$[
|
|
10451
|
-
$[
|
|
10452
|
-
$[
|
|
10453
|
-
$[
|
|
10454
|
-
$[
|
|
10455
|
-
$[
|
|
10456
|
-
$[
|
|
10457
|
-
$[
|
|
10458
|
-
|
|
10459
|
-
|
|
10315
|
+
$[31] = T0;
|
|
10316
|
+
$[32] = props;
|
|
10317
|
+
$[33] = size;
|
|
10318
|
+
$[34] = t13;
|
|
10319
|
+
$[35] = t2;
|
|
10320
|
+
$[36] = t3;
|
|
10321
|
+
$[37] = t4;
|
|
10322
|
+
$[38] = t5;
|
|
10323
|
+
$[39] = t6;
|
|
10324
|
+
$[40] = t14;
|
|
10325
|
+
} else t14 = $[40];
|
|
10326
|
+
return t14;
|
|
10460
10327
|
}
|
|
10461
10328
|
function InputExpander(t0) {
|
|
10462
10329
|
const $ = c(2);
|
|
@@ -10472,7 +10339,6 @@ function InputExpander(t0) {
|
|
|
10472
10339
|
} else t1 = $[1];
|
|
10473
10340
|
return t1;
|
|
10474
10341
|
}
|
|
10475
|
-
|
|
10476
10342
|
//#endregion
|
|
10477
10343
|
//#region src/components/ds-file-upload/utils/get-error-message.ts
|
|
10478
10344
|
const FILE_ERROR_MESSAGES = {
|
|
@@ -10489,7 +10355,6 @@ const FILE_ERROR_MESSAGES = {
|
|
|
10489
10355
|
function getErrorMessage(error) {
|
|
10490
10356
|
return FILE_ERROR_MESSAGES[error] || error || "File validation failed";
|
|
10491
10357
|
}
|
|
10492
|
-
|
|
10493
10358
|
//#endregion
|
|
10494
10359
|
//#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss
|
|
10495
10360
|
var file_upload_item_module_default = {
|
|
@@ -10511,7 +10376,6 @@ var file_upload_item_module_default = {
|
|
|
10511
10376
|
"interruptedText": "_interruptedText_4ejd1_1",
|
|
10512
10377
|
"errorMessage": "_errorMessage_4ejd1_1"
|
|
10513
10378
|
};
|
|
10514
|
-
|
|
10515
10379
|
//#endregion
|
|
10516
10380
|
//#region src/components/ds-file-upload/components/file-upload-item/file-upload-item.tsx
|
|
10517
10381
|
/**
|
|
@@ -10792,7 +10656,6 @@ function _temp$10(error) {
|
|
|
10792
10656
|
}), getErrorMessage(error)]
|
|
10793
10657
|
}, error);
|
|
10794
10658
|
}
|
|
10795
|
-
|
|
10796
10659
|
//#endregion
|
|
10797
10660
|
//#region src/components/ds-file-upload/utils/constants.ts
|
|
10798
10661
|
/**
|
|
@@ -10808,11 +10671,6 @@ const DEFAULT_ALLOWED_FILE_TYPES = [
|
|
|
10808
10671
|
* Default maximum file size in bytes (25MB)
|
|
10809
10672
|
*/
|
|
10810
10673
|
const DEFAULT_MAX_FILE_SIZE = 25e6;
|
|
10811
|
-
/**
|
|
10812
|
-
* Default maximum number of files allowed
|
|
10813
|
-
*/
|
|
10814
|
-
const DEFAULT_MAX_FILES = 5;
|
|
10815
|
-
|
|
10816
10674
|
//#endregion
|
|
10817
10675
|
//#region src/components/ds-file-upload/types/accept-types.ts
|
|
10818
10676
|
/**
|
|
@@ -10927,7 +10785,6 @@ const EXTENSIONS_MAP = {
|
|
|
10927
10785
|
".eot"
|
|
10928
10786
|
]
|
|
10929
10787
|
};
|
|
10930
|
-
|
|
10931
10788
|
//#endregion
|
|
10932
10789
|
//#region src/components/ds-file-upload/utils/accept-utils.ts
|
|
10933
10790
|
/**
|
|
@@ -10949,7 +10806,6 @@ function getFileExtensions(accept) {
|
|
|
10949
10806
|
function getMimeTypes(accept) {
|
|
10950
10807
|
return accept.map((item) => typeof item === "string" ? item : item.mimeType);
|
|
10951
10808
|
}
|
|
10952
|
-
|
|
10953
10809
|
//#endregion
|
|
10954
10810
|
//#region src/components/ds-file-upload/utils/format-file-size.ts
|
|
10955
10811
|
/**
|
|
@@ -10969,7 +10825,6 @@ function formatFileSize(bytes) {
|
|
|
10969
10825
|
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
10970
10826
|
return `${(bytes / Math.pow(k, i)).toFixed(2)} ${String(sizes[i])}`;
|
|
10971
10827
|
}
|
|
10972
|
-
|
|
10973
10828
|
//#endregion
|
|
10974
10829
|
//#region src/components/ds-file-upload/utils/generate-helper-text.ts
|
|
10975
10830
|
/**
|
|
@@ -10986,7 +10841,6 @@ function generateHelperText(accept, maxFileSize, maxFiles) {
|
|
|
10986
10841
|
else if (maxFiles > 1) parts.push(`Up to ${String(maxFiles)} files`);
|
|
10987
10842
|
return parts.join(". ") + ".";
|
|
10988
10843
|
}
|
|
10989
|
-
|
|
10990
10844
|
//#endregion
|
|
10991
10845
|
//#region src/components/ds-file-upload/components/file-upload/file-upload.module.scss
|
|
10992
10846
|
var file_upload_module_default = {
|
|
@@ -10999,7 +10853,6 @@ var file_upload_module_default = {
|
|
|
10999
10853
|
"infoText": "_infoText_1jafp_1",
|
|
11000
10854
|
"errorText": "_errorText_1jafp_1"
|
|
11001
10855
|
};
|
|
11002
|
-
|
|
11003
10856
|
//#endregion
|
|
11004
10857
|
//#region src/components/ds-file-upload/components/file-upload/file-upload.tsx
|
|
11005
10858
|
/**
|
|
@@ -11007,73 +10860,74 @@ var file_upload_module_default = {
|
|
|
11007
10860
|
* Used in conjunction with the useFileUpload hook
|
|
11008
10861
|
*/
|
|
11009
10862
|
const FileUpload = (t0) => {
|
|
11010
|
-
const $ = c(
|
|
11011
|
-
const { style: t1, className, files, acceptedFiles, errorText, dropzoneText: t2, triggerText: t3, hideProgress: t4,
|
|
11012
|
-
let
|
|
10863
|
+
const $ = c(52);
|
|
10864
|
+
const { style: t1, className, files, acceptedFiles, errorText, dropzoneText: t2, triggerText: t3, hideProgress: t4, hideInfoText: t5, disableDrop: t6, onFileAccept, onFileReject, onFileRemove, onFileDelete, onFileCancel, onFileRetry, accept: t7, maxFiles: t8, maxFileSize: t9, compact: t10, disabled: t11 } = t0;
|
|
10865
|
+
let t12;
|
|
11013
10866
|
if ($[0] !== t1) {
|
|
11014
|
-
|
|
10867
|
+
t12 = t1 === void 0 ? {} : t1;
|
|
11015
10868
|
$[0] = t1;
|
|
11016
|
-
$[1] =
|
|
11017
|
-
} else
|
|
11018
|
-
const style =
|
|
10869
|
+
$[1] = t12;
|
|
10870
|
+
} else t12 = $[1];
|
|
10871
|
+
const style = t12;
|
|
11019
10872
|
const dropzoneText = t2 === void 0 ? "Drag and drop files here or " : t2;
|
|
11020
10873
|
const triggerText = t3 === void 0 ? "Select file..." : t3;
|
|
11021
10874
|
const hideProgress = t4 === void 0 ? false : t4;
|
|
11022
|
-
const
|
|
11023
|
-
const
|
|
11024
|
-
const
|
|
11025
|
-
const
|
|
11026
|
-
const
|
|
11027
|
-
const
|
|
11028
|
-
|
|
10875
|
+
const hideInfoText = t5 === void 0 ? false : t5;
|
|
10876
|
+
const disableDrop = t6 === void 0 ? false : t6;
|
|
10877
|
+
const accept = t7 === void 0 ? DEFAULT_ALLOWED_FILE_TYPES : t7;
|
|
10878
|
+
const maxFiles = t8 === void 0 ? 5 : t8;
|
|
10879
|
+
const maxFileSize = t9 === void 0 ? DEFAULT_MAX_FILE_SIZE : t9;
|
|
10880
|
+
const compact = t10 === void 0 ? false : t10;
|
|
10881
|
+
const disabled = t11 === void 0 ? false : t11;
|
|
10882
|
+
let t13;
|
|
11029
10883
|
if ($[2] !== accept || $[3] !== maxFileSize || $[4] !== maxFiles) {
|
|
11030
|
-
|
|
10884
|
+
t13 = generateHelperText(accept, maxFileSize, maxFiles);
|
|
11031
10885
|
$[2] = accept;
|
|
11032
10886
|
$[3] = maxFileSize;
|
|
11033
10887
|
$[4] = maxFiles;
|
|
11034
|
-
$[5] =
|
|
11035
|
-
} else
|
|
11036
|
-
const infoText =
|
|
11037
|
-
let
|
|
10888
|
+
$[5] = t13;
|
|
10889
|
+
} else t13 = $[5];
|
|
10890
|
+
const infoText = t13;
|
|
10891
|
+
let t14;
|
|
11038
10892
|
if ($[6] !== className) {
|
|
11039
|
-
|
|
10893
|
+
t14 = classNames(file_upload_module_default.fileUploadRoot, className);
|
|
11040
10894
|
$[6] = className;
|
|
11041
|
-
$[7] =
|
|
11042
|
-
} else
|
|
11043
|
-
let
|
|
10895
|
+
$[7] = t14;
|
|
10896
|
+
} else t14 = $[7];
|
|
10897
|
+
let t15;
|
|
11044
10898
|
if ($[8] !== accept) {
|
|
11045
|
-
|
|
10899
|
+
t15 = getMimeTypes(accept);
|
|
11046
10900
|
$[8] = accept;
|
|
11047
|
-
$[9] =
|
|
11048
|
-
} else
|
|
11049
|
-
const
|
|
11050
|
-
let
|
|
10901
|
+
$[9] = t15;
|
|
10902
|
+
} else t15 = $[9];
|
|
10903
|
+
const t16 = !disableDrop;
|
|
10904
|
+
let t17;
|
|
11051
10905
|
if ($[10] !== compact) {
|
|
11052
|
-
|
|
10906
|
+
t17 = classNames(file_upload_module_default.dropzone, { [file_upload_module_default.dropzoneCompact]: compact });
|
|
11053
10907
|
$[10] = compact;
|
|
11054
|
-
$[11] =
|
|
11055
|
-
} else
|
|
11056
|
-
let
|
|
10908
|
+
$[11] = t17;
|
|
10909
|
+
} else t17 = $[11];
|
|
10910
|
+
let t18;
|
|
11057
10911
|
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
11058
|
-
|
|
10912
|
+
t18 = /* @__PURE__ */ jsx(DsIcon, {
|
|
11059
10913
|
icon: "upload",
|
|
11060
10914
|
className: file_upload_module_default.dropzoneIcon
|
|
11061
10915
|
});
|
|
11062
|
-
$[12] =
|
|
11063
|
-
} else
|
|
11064
|
-
let
|
|
10916
|
+
$[12] = t18;
|
|
10917
|
+
} else t18 = $[12];
|
|
10918
|
+
let t19;
|
|
11065
10919
|
if ($[13] !== dropzoneText) {
|
|
11066
|
-
|
|
10920
|
+
t19 = /* @__PURE__ */ jsx(DsTypography, {
|
|
11067
10921
|
className: file_upload_module_default.dropzoneText,
|
|
11068
10922
|
variant: "body-xs-reg",
|
|
11069
10923
|
children: dropzoneText
|
|
11070
10924
|
});
|
|
11071
10925
|
$[13] = dropzoneText;
|
|
11072
|
-
$[14] =
|
|
11073
|
-
} else
|
|
11074
|
-
let
|
|
10926
|
+
$[14] = t19;
|
|
10927
|
+
} else t19 = $[14];
|
|
10928
|
+
let t20;
|
|
11075
10929
|
if ($[15] !== disabled || $[16] !== triggerText) {
|
|
11076
|
-
|
|
10930
|
+
t20 = /* @__PURE__ */ jsx(FileUpload$1.Trigger, {
|
|
11077
10931
|
asChild: true,
|
|
11078
10932
|
children: /* @__PURE__ */ jsx(DsButton, {
|
|
11079
10933
|
design: "v1.2",
|
|
@@ -11085,38 +10939,39 @@ const FileUpload = (t0) => {
|
|
|
11085
10939
|
});
|
|
11086
10940
|
$[15] = disabled;
|
|
11087
10941
|
$[16] = triggerText;
|
|
11088
|
-
$[17] =
|
|
11089
|
-
} else
|
|
11090
|
-
let
|
|
11091
|
-
if ($[18] !==
|
|
11092
|
-
|
|
11093
|
-
className:
|
|
10942
|
+
$[17] = t20;
|
|
10943
|
+
} else t20 = $[17];
|
|
10944
|
+
let t21;
|
|
10945
|
+
if ($[18] !== t17 || $[19] !== t19 || $[20] !== t20) {
|
|
10946
|
+
t21 = /* @__PURE__ */ jsxs(FileUpload$1.Dropzone, {
|
|
10947
|
+
className: t17,
|
|
11094
10948
|
children: [
|
|
11095
|
-
t17,
|
|
11096
10949
|
t18,
|
|
11097
|
-
t19
|
|
10950
|
+
t19,
|
|
10951
|
+
t20
|
|
11098
10952
|
]
|
|
11099
10953
|
});
|
|
11100
|
-
$[18] =
|
|
11101
|
-
$[19] =
|
|
11102
|
-
$[20] =
|
|
11103
|
-
$[21] =
|
|
11104
|
-
} else
|
|
11105
|
-
let
|
|
11106
|
-
if ($[22] !== disabled || $[23] !== errorText || $[24] !== infoText) {
|
|
11107
|
-
|
|
10954
|
+
$[18] = t17;
|
|
10955
|
+
$[19] = t19;
|
|
10956
|
+
$[20] = t20;
|
|
10957
|
+
$[21] = t21;
|
|
10958
|
+
} else t21 = $[21];
|
|
10959
|
+
let t22;
|
|
10960
|
+
if ($[22] !== disabled || $[23] !== errorText || $[24] !== hideInfoText || $[25] !== infoText) {
|
|
10961
|
+
t22 = infoText && !hideInfoText && !disabled && !errorText && /* @__PURE__ */ jsx(DsTypography, {
|
|
11108
10962
|
className: file_upload_module_default.infoText,
|
|
11109
10963
|
variant: "body-xs-reg",
|
|
11110
10964
|
children: infoText
|
|
11111
10965
|
});
|
|
11112
10966
|
$[22] = disabled;
|
|
11113
10967
|
$[23] = errorText;
|
|
11114
|
-
$[24] =
|
|
11115
|
-
$[25] =
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
10968
|
+
$[24] = hideInfoText;
|
|
10969
|
+
$[25] = infoText;
|
|
10970
|
+
$[26] = t22;
|
|
10971
|
+
} else t22 = $[26];
|
|
10972
|
+
let t23;
|
|
10973
|
+
if ($[27] !== errorText) {
|
|
10974
|
+
t23 = errorText && /* @__PURE__ */ jsxs(DsTypography, {
|
|
11120
10975
|
className: file_upload_module_default.errorText,
|
|
11121
10976
|
variant: "body-xs-reg",
|
|
11122
10977
|
children: [/* @__PURE__ */ jsx(DsIcon, {
|
|
@@ -11124,12 +10979,12 @@ const FileUpload = (t0) => {
|
|
|
11124
10979
|
size: "tiny"
|
|
11125
10980
|
}), errorText]
|
|
11126
10981
|
});
|
|
11127
|
-
$[
|
|
11128
|
-
$[
|
|
11129
|
-
} else
|
|
11130
|
-
let
|
|
11131
|
-
if ($[
|
|
11132
|
-
|
|
10982
|
+
$[27] = errorText;
|
|
10983
|
+
$[28] = t23;
|
|
10984
|
+
} else t23 = $[28];
|
|
10985
|
+
let t24;
|
|
10986
|
+
if ($[29] !== files || $[30] !== hideProgress || $[31] !== onFileCancel || $[32] !== onFileDelete || $[33] !== onFileRemove || $[34] !== onFileRetry) {
|
|
10987
|
+
t24 = !!files?.length && /* @__PURE__ */ jsx("div", {
|
|
11133
10988
|
className: file_upload_module_default.fileList,
|
|
11134
10989
|
children: files.map((uploadFile) => /* @__PURE__ */ jsx(FileUploadItem, {
|
|
11135
10990
|
id: uploadFile.id,
|
|
@@ -11144,59 +10999,58 @@ const FileUpload = (t0) => {
|
|
|
11144
10999
|
onRetry: onFileRetry
|
|
11145
11000
|
}, uploadFile.id))
|
|
11146
11001
|
});
|
|
11147
|
-
$[
|
|
11148
|
-
$[
|
|
11149
|
-
$[
|
|
11150
|
-
$[
|
|
11151
|
-
$[
|
|
11152
|
-
$[
|
|
11153
|
-
$[34] = t23;
|
|
11154
|
-
} else t23 = $[34];
|
|
11155
|
-
let t24;
|
|
11156
|
-
if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
|
|
11157
|
-
t24 = /* @__PURE__ */ jsx(FileUpload$1.HiddenInput, {});
|
|
11002
|
+
$[29] = files;
|
|
11003
|
+
$[30] = hideProgress;
|
|
11004
|
+
$[31] = onFileCancel;
|
|
11005
|
+
$[32] = onFileDelete;
|
|
11006
|
+
$[33] = onFileRemove;
|
|
11007
|
+
$[34] = onFileRetry;
|
|
11158
11008
|
$[35] = t24;
|
|
11159
11009
|
} else t24 = $[35];
|
|
11160
11010
|
let t25;
|
|
11161
|
-
if ($[36]
|
|
11162
|
-
t25 = /* @__PURE__ */
|
|
11011
|
+
if ($[36] === Symbol.for("react.memo_cache_sentinel")) {
|
|
11012
|
+
t25 = /* @__PURE__ */ jsx(FileUpload$1.HiddenInput, {});
|
|
11013
|
+
$[36] = t25;
|
|
11014
|
+
} else t25 = $[36];
|
|
11015
|
+
let t26;
|
|
11016
|
+
if ($[37] !== acceptedFiles || $[38] !== disabled || $[39] !== maxFileSize || $[40] !== maxFiles || $[41] !== onFileAccept || $[42] !== onFileReject || $[43] !== style || $[44] !== t14 || $[45] !== t15 || $[46] !== t16 || $[47] !== t21 || $[48] !== t22 || $[49] !== t23 || $[50] !== t24) {
|
|
11017
|
+
t26 = /* @__PURE__ */ jsxs(FileUpload$1.Root, {
|
|
11163
11018
|
style,
|
|
11164
|
-
className:
|
|
11019
|
+
className: t14,
|
|
11165
11020
|
maxFiles,
|
|
11166
11021
|
maxFileSize,
|
|
11167
|
-
accept:
|
|
11022
|
+
accept: t15,
|
|
11168
11023
|
disabled,
|
|
11169
|
-
allowDrop:
|
|
11024
|
+
allowDrop: t16,
|
|
11170
11025
|
acceptedFiles,
|
|
11171
11026
|
onFileAccept,
|
|
11172
11027
|
onFileReject,
|
|
11173
11028
|
children: [
|
|
11174
|
-
t20,
|
|
11175
11029
|
t21,
|
|
11176
11030
|
t22,
|
|
11177
11031
|
t23,
|
|
11178
|
-
t24
|
|
11032
|
+
t24,
|
|
11033
|
+
t25
|
|
11179
11034
|
]
|
|
11180
11035
|
});
|
|
11181
|
-
$[
|
|
11182
|
-
$[
|
|
11183
|
-
$[
|
|
11184
|
-
$[
|
|
11185
|
-
$[
|
|
11186
|
-
$[
|
|
11187
|
-
$[
|
|
11188
|
-
$[43] = t13;
|
|
11036
|
+
$[37] = acceptedFiles;
|
|
11037
|
+
$[38] = disabled;
|
|
11038
|
+
$[39] = maxFileSize;
|
|
11039
|
+
$[40] = maxFiles;
|
|
11040
|
+
$[41] = onFileAccept;
|
|
11041
|
+
$[42] = onFileReject;
|
|
11042
|
+
$[43] = style;
|
|
11189
11043
|
$[44] = t14;
|
|
11190
11044
|
$[45] = t15;
|
|
11191
|
-
$[46] =
|
|
11045
|
+
$[46] = t16;
|
|
11192
11046
|
$[47] = t21;
|
|
11193
11047
|
$[48] = t22;
|
|
11194
11048
|
$[49] = t23;
|
|
11195
|
-
$[50] =
|
|
11196
|
-
|
|
11197
|
-
|
|
11049
|
+
$[50] = t24;
|
|
11050
|
+
$[51] = t26;
|
|
11051
|
+
} else t26 = $[51];
|
|
11052
|
+
return t26;
|
|
11198
11053
|
};
|
|
11199
|
-
|
|
11200
11054
|
//#endregion
|
|
11201
11055
|
//#region src/components/ds-file-upload/utils/file-factory.ts
|
|
11202
11056
|
/**
|
|
@@ -11214,7 +11068,6 @@ function createUploadedFile(file, status, errors) {
|
|
|
11214
11068
|
errors
|
|
11215
11069
|
};
|
|
11216
11070
|
}
|
|
11217
|
-
|
|
11218
11071
|
//#endregion
|
|
11219
11072
|
//#region src/components/ds-file-upload/utils/is-file-equal.ts
|
|
11220
11073
|
/**
|
|
@@ -11225,7 +11078,6 @@ function createUploadedFile(file, status, errors) {
|
|
|
11225
11078
|
function isFileEqual(file1, file2) {
|
|
11226
11079
|
return file1.name === file2.name && file1.size === file2.size && file1.type === file2.type;
|
|
11227
11080
|
}
|
|
11228
|
-
|
|
11229
11081
|
//#endregion
|
|
11230
11082
|
//#region src/components/ds-file-upload/errors/file-upload-errors.ts
|
|
11231
11083
|
/**
|
|
@@ -11251,7 +11103,6 @@ var RetryableFileUploadError = class extends FileUploadError {
|
|
|
11251
11103
|
var FatalFileUploadError = class extends FileUploadError {
|
|
11252
11104
|
isRetryable = false;
|
|
11253
11105
|
};
|
|
11254
|
-
|
|
11255
11106
|
//#endregion
|
|
11256
11107
|
//#region src/components/ds-file-upload/hooks/use-file-upload.ts
|
|
11257
11108
|
/**
|
|
@@ -11445,7 +11296,6 @@ function useFileUpload({ adapter, autoUpload = true, maxConcurrent = 3, maxFiles
|
|
|
11445
11296
|
getProps
|
|
11446
11297
|
};
|
|
11447
11298
|
}
|
|
11448
|
-
|
|
11449
11299
|
//#endregion
|
|
11450
11300
|
//#region src/components/ds-file-upload/ds-file-upload.tsx
|
|
11451
11301
|
/**
|
|
@@ -11552,7 +11402,6 @@ const DsFileUpload = (t0) => {
|
|
|
11552
11402
|
} else t5 = $[32];
|
|
11553
11403
|
return t5;
|
|
11554
11404
|
};
|
|
11555
|
-
|
|
11556
11405
|
//#endregion
|
|
11557
11406
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss
|
|
11558
11407
|
var ds_filter_status_icon_module_default = {
|
|
@@ -11562,7 +11411,6 @@ var ds_filter_status_icon_module_default = {
|
|
|
11562
11411
|
"paused": "_paused_1tsjd_1",
|
|
11563
11412
|
"inactive": "_inactive_1tsjd_1"
|
|
11564
11413
|
};
|
|
11565
|
-
|
|
11566
11414
|
//#endregion
|
|
11567
11415
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.tsx
|
|
11568
11416
|
const iconMap = {
|
|
@@ -11608,7 +11456,6 @@ const DsFilterStatusIcon = (t0) => {
|
|
|
11608
11456
|
} else t6 = $[8];
|
|
11609
11457
|
return t6;
|
|
11610
11458
|
};
|
|
11611
|
-
|
|
11612
11459
|
//#endregion
|
|
11613
11460
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.ts
|
|
11614
11461
|
const filterStatuses = [
|
|
@@ -11617,7 +11464,6 @@ const filterStatuses = [
|
|
|
11617
11464
|
"failed",
|
|
11618
11465
|
"paused"
|
|
11619
11466
|
];
|
|
11620
|
-
|
|
11621
11467
|
//#endregion
|
|
11622
11468
|
//#region src/components/ds-select/ds-select.module.scss
|
|
11623
11469
|
var ds_select_module_default = {
|
|
@@ -11639,7 +11485,6 @@ var ds_select_module_default = {
|
|
|
11639
11485
|
"valueText": "_valueText_1joiq_1",
|
|
11640
11486
|
"multiSelectItemsContainer": "_multiSelectItemsContainer_1joiq_1"
|
|
11641
11487
|
};
|
|
11642
|
-
|
|
11643
11488
|
//#endregion
|
|
11644
11489
|
//#region src/components/ds-select/select-items-chips.tsx
|
|
11645
11490
|
function SelectItemsChips(t0) {
|
|
@@ -11727,22 +11572,26 @@ function SelectItemsChips(t0) {
|
|
|
11727
11572
|
} else t5 = $[23];
|
|
11728
11573
|
return t5;
|
|
11729
11574
|
}
|
|
11730
|
-
|
|
11575
|
+
//#endregion
|
|
11576
|
+
//#region src/components/ds-select/utils.ts
|
|
11577
|
+
const SELECT_ALL_VALUE = "__INTERNAL_SELECT_ALL_VALUE__";
|
|
11578
|
+
function getUserSelectedItems(selectedItems) {
|
|
11579
|
+
return selectedItems.filter((item) => item.value !== SELECT_ALL_VALUE);
|
|
11580
|
+
}
|
|
11731
11581
|
//#endregion
|
|
11732
11582
|
//#region src/components/ds-select/ds-select.tsx
|
|
11733
11583
|
const SEARCH_THRESHOLD = 13;
|
|
11734
|
-
const
|
|
11735
|
-
const SELECT_ALL = {
|
|
11584
|
+
const SELECT_ALL_OPTION = {
|
|
11736
11585
|
label: "All",
|
|
11737
11586
|
value: SELECT_ALL_VALUE
|
|
11738
11587
|
};
|
|
11739
11588
|
const DsSelect = (t0) => {
|
|
11740
|
-
const $ = c(
|
|
11589
|
+
const $ = c(29);
|
|
11741
11590
|
const { id, options: userOptions, value, style, size, clearable, onClear, onBlur, className, placeholder: t1, disabled, renderOption, ...multiselectProps } = t0;
|
|
11742
11591
|
const placeholder = t1 === void 0 ? "Click to select a value" : t1;
|
|
11743
11592
|
const [searchTerm, setSearchTerm] = useState("");
|
|
11744
11593
|
const [showAllItems, setShowAllItems] = useState(false);
|
|
11745
|
-
const internalOptions = multiselectProps.multiple ? [
|
|
11594
|
+
const internalOptions = multiselectProps.multiple ? [SELECT_ALL_OPTION, ...userOptions] : userOptions;
|
|
11746
11595
|
const collection = createListCollection$1({
|
|
11747
11596
|
items: internalOptions,
|
|
11748
11597
|
itemToValue: _temp$9
|
|
@@ -11775,7 +11624,7 @@ const DsSelect = (t0) => {
|
|
|
11775
11624
|
multiselectProps.onValueChange?.(details.value[0] ?? "");
|
|
11776
11625
|
return;
|
|
11777
11626
|
}
|
|
11778
|
-
if (details.value.includes(
|
|
11627
|
+
if (details.value.includes("__INTERNAL_SELECT_ALL_VALUE__")) {
|
|
11779
11628
|
const newValues = select.selectedItems.length === userOptions.length ? [] : userOptions.map(_temp3);
|
|
11780
11629
|
multiselectProps.onValueChange?.(newValues);
|
|
11781
11630
|
return;
|
|
@@ -11784,6 +11633,28 @@ const DsSelect = (t0) => {
|
|
|
11784
11633
|
multiselectProps.onValueChange?.(newValueWithoutSelectAll);
|
|
11785
11634
|
}
|
|
11786
11635
|
});
|
|
11636
|
+
const renderTriggerValue = () => {
|
|
11637
|
+
const defaultTrigger = /* @__PURE__ */ jsx(DsTypography, {
|
|
11638
|
+
className: ds_select_module_default.valueText,
|
|
11639
|
+
variant: "body-sm-reg",
|
|
11640
|
+
asChild: true,
|
|
11641
|
+
children: /* @__PURE__ */ jsx(Select.ValueText, { placeholder })
|
|
11642
|
+
});
|
|
11643
|
+
if (!multiselectProps.renderValue || !select.hasSelectedItems) return defaultTrigger;
|
|
11644
|
+
const userItems = getUserSelectedItems(select.selectedItems);
|
|
11645
|
+
if (multiselectProps.multiple) return /* @__PURE__ */ jsx(DsTypography, {
|
|
11646
|
+
className: ds_select_module_default.valueText,
|
|
11647
|
+
variant: "body-sm-reg",
|
|
11648
|
+
children: multiselectProps.renderValue(userItems)
|
|
11649
|
+
});
|
|
11650
|
+
const firstItem = userItems[0];
|
|
11651
|
+
if (!firstItem) return defaultTrigger;
|
|
11652
|
+
return /* @__PURE__ */ jsx(DsTypography, {
|
|
11653
|
+
className: ds_select_module_default.valueText,
|
|
11654
|
+
variant: "body-sm-reg",
|
|
11655
|
+
children: multiselectProps.renderValue(firstItem)
|
|
11656
|
+
});
|
|
11657
|
+
};
|
|
11787
11658
|
const t4 = size === "small" && ds_select_module_default.small;
|
|
11788
11659
|
let t5;
|
|
11789
11660
|
if ($[3] !== className || $[4] !== t4) {
|
|
@@ -11792,46 +11663,22 @@ const DsSelect = (t0) => {
|
|
|
11792
11663
|
$[4] = t4;
|
|
11793
11664
|
$[5] = t5;
|
|
11794
11665
|
} else t5 = $[5];
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
variant: "body-sm-reg",
|
|
11800
|
-
asChild: true,
|
|
11801
|
-
children: /* @__PURE__ */ jsx(Select.ValueText, { placeholder })
|
|
11802
|
-
});
|
|
11803
|
-
$[6] = placeholder;
|
|
11804
|
-
$[7] = t6;
|
|
11805
|
-
} else t6 = $[7];
|
|
11806
|
-
const t7 = size === "small" ? "small" : "medium";
|
|
11807
|
-
let t8;
|
|
11808
|
-
if ($[8] !== t7) {
|
|
11809
|
-
t8 = /* @__PURE__ */ jsx(Select.Indicator, {
|
|
11666
|
+
const t6 = size === "small" ? "small" : "medium";
|
|
11667
|
+
let t7;
|
|
11668
|
+
if ($[6] !== t6) {
|
|
11669
|
+
t7 = /* @__PURE__ */ jsx(Select.Indicator, {
|
|
11810
11670
|
className: ds_select_module_default.triggerIcon,
|
|
11811
11671
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
11812
11672
|
icon: "keyboard_arrow_down",
|
|
11813
|
-
size:
|
|
11673
|
+
size: t6
|
|
11814
11674
|
})
|
|
11815
11675
|
});
|
|
11816
|
-
$[
|
|
11817
|
-
$[
|
|
11818
|
-
} else
|
|
11819
|
-
let
|
|
11820
|
-
if ($[
|
|
11821
|
-
|
|
11822
|
-
id,
|
|
11823
|
-
className: ds_select_module_default.trigger,
|
|
11824
|
-
"aria-labelledby": null,
|
|
11825
|
-
children: [t6, t8]
|
|
11826
|
-
});
|
|
11827
|
-
$[10] = id;
|
|
11828
|
-
$[11] = t6;
|
|
11829
|
-
$[12] = t8;
|
|
11830
|
-
$[13] = t9;
|
|
11831
|
-
} else t9 = $[13];
|
|
11832
|
-
let t10;
|
|
11833
|
-
if ($[14] !== clearable || $[15] !== onClear || $[16] !== size) {
|
|
11834
|
-
t10 = clearable && /* @__PURE__ */ jsx(Select.ClearTrigger, {
|
|
11676
|
+
$[6] = t6;
|
|
11677
|
+
$[7] = t7;
|
|
11678
|
+
} else t7 = $[7];
|
|
11679
|
+
let t8;
|
|
11680
|
+
if ($[8] !== clearable || $[9] !== onClear || $[10] !== size) {
|
|
11681
|
+
t8 = clearable && /* @__PURE__ */ jsx(Select.ClearTrigger, {
|
|
11835
11682
|
className: ds_select_module_default.clearIcon,
|
|
11836
11683
|
onClick: onClear,
|
|
11837
11684
|
children: /* @__PURE__ */ jsx(DsIcon, {
|
|
@@ -11839,19 +11686,19 @@ const DsSelect = (t0) => {
|
|
|
11839
11686
|
size: size === "small" ? "small" : "medium"
|
|
11840
11687
|
})
|
|
11841
11688
|
});
|
|
11842
|
-
$[
|
|
11843
|
-
$[
|
|
11844
|
-
$[
|
|
11845
|
-
$[
|
|
11846
|
-
} else
|
|
11689
|
+
$[8] = clearable;
|
|
11690
|
+
$[9] = onClear;
|
|
11691
|
+
$[10] = size;
|
|
11692
|
+
$[11] = t8;
|
|
11693
|
+
} else t8 = $[11];
|
|
11847
11694
|
const T0 = Portal;
|
|
11695
|
+
const t9 = Select;
|
|
11696
|
+
const t10 = ds_select_module_default;
|
|
11848
11697
|
const t11 = Select;
|
|
11849
11698
|
const t12 = ds_select_module_default;
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
if ($[18] !== searchTerm || $[19] !== userOptions.length) {
|
|
11854
|
-
t15 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ jsx("div", {
|
|
11699
|
+
let t13;
|
|
11700
|
+
if ($[12] !== searchTerm || $[13] !== userOptions.length) {
|
|
11701
|
+
t13 = userOptions.length > SEARCH_THRESHOLD && /* @__PURE__ */ jsx("div", {
|
|
11855
11702
|
className: ds_select_module_default.searchInput,
|
|
11856
11703
|
children: /* @__PURE__ */ jsx(DsTextInput, {
|
|
11857
11704
|
placeholder: "Search",
|
|
@@ -11864,17 +11711,17 @@ const DsSelect = (t0) => {
|
|
|
11864
11711
|
}) }
|
|
11865
11712
|
})
|
|
11866
11713
|
});
|
|
11867
|
-
$[
|
|
11868
|
-
$[
|
|
11869
|
-
$[
|
|
11870
|
-
} else
|
|
11871
|
-
const
|
|
11714
|
+
$[12] = searchTerm;
|
|
11715
|
+
$[13] = userOptions.length;
|
|
11716
|
+
$[14] = t13;
|
|
11717
|
+
} else t13 = $[14];
|
|
11718
|
+
const t14 = multiselectProps.multiple && /* @__PURE__ */ jsx(SelectItemsChips, {
|
|
11872
11719
|
onValueChange: multiselectProps.onValueChange,
|
|
11873
11720
|
showAll: showAllItems,
|
|
11874
11721
|
onShowAll: () => setShowAllItems(true),
|
|
11875
11722
|
count: 6
|
|
11876
11723
|
});
|
|
11877
|
-
const
|
|
11724
|
+
const t15 = filteredOptions.map((item_0) => {
|
|
11878
11725
|
const checked = getItemCheckedState({
|
|
11879
11726
|
item: item_0,
|
|
11880
11727
|
select,
|
|
@@ -11893,51 +11740,51 @@ const DsSelect = (t0) => {
|
|
|
11893
11740
|
icon: item_0.icon,
|
|
11894
11741
|
"aria-hidden": "true"
|
|
11895
11742
|
}),
|
|
11896
|
-
/* @__PURE__ */ jsx(Select.ItemText, { children: renderOption ? renderOption(item_0) : item_0.label })
|
|
11743
|
+
/* @__PURE__ */ jsx(Select.ItemText, { children: renderOption && item_0.value !== "__INTERNAL_SELECT_ALL_VALUE__" ? renderOption(item_0) : item_0.label })
|
|
11897
11744
|
]
|
|
11898
11745
|
})
|
|
11899
11746
|
}, collection.getItemValue(item_0));
|
|
11900
11747
|
});
|
|
11901
|
-
let
|
|
11902
|
-
if ($[
|
|
11903
|
-
|
|
11904
|
-
className:
|
|
11748
|
+
let t16;
|
|
11749
|
+
if ($[15] !== t11.Content || $[16] !== t12.content || $[17] !== t13 || $[18] !== t14 || $[19] !== t15) {
|
|
11750
|
+
t16 = /* @__PURE__ */ jsxs(t11.Content, {
|
|
11751
|
+
className: t12.content,
|
|
11905
11752
|
children: [
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11753
|
+
t13,
|
|
11754
|
+
t14,
|
|
11755
|
+
t15
|
|
11909
11756
|
]
|
|
11910
11757
|
});
|
|
11911
|
-
$[
|
|
11912
|
-
$[
|
|
11913
|
-
$[
|
|
11914
|
-
$[
|
|
11915
|
-
$[
|
|
11916
|
-
$[
|
|
11917
|
-
} else
|
|
11918
|
-
let
|
|
11919
|
-
if ($[
|
|
11920
|
-
|
|
11921
|
-
className:
|
|
11922
|
-
children:
|
|
11758
|
+
$[15] = t11.Content;
|
|
11759
|
+
$[16] = t12.content;
|
|
11760
|
+
$[17] = t13;
|
|
11761
|
+
$[18] = t14;
|
|
11762
|
+
$[19] = t15;
|
|
11763
|
+
$[20] = t16;
|
|
11764
|
+
} else t16 = $[20];
|
|
11765
|
+
let t17;
|
|
11766
|
+
if ($[21] !== t10.viewport || $[22] !== t16 || $[23] !== t9.Positioner) {
|
|
11767
|
+
t17 = /* @__PURE__ */ jsx(t9.Positioner, {
|
|
11768
|
+
className: t10.viewport,
|
|
11769
|
+
children: t16
|
|
11923
11770
|
});
|
|
11924
|
-
$[
|
|
11925
|
-
$[
|
|
11926
|
-
$[
|
|
11927
|
-
$[
|
|
11928
|
-
} else
|
|
11929
|
-
let
|
|
11930
|
-
if ($[
|
|
11931
|
-
|
|
11932
|
-
$[
|
|
11933
|
-
$[
|
|
11934
|
-
$[
|
|
11935
|
-
} else
|
|
11936
|
-
let
|
|
11937
|
-
if ($[
|
|
11938
|
-
|
|
11939
|
-
$[
|
|
11940
|
-
} else
|
|
11771
|
+
$[21] = t10.viewport;
|
|
11772
|
+
$[22] = t16;
|
|
11773
|
+
$[23] = t9.Positioner;
|
|
11774
|
+
$[24] = t17;
|
|
11775
|
+
} else t17 = $[24];
|
|
11776
|
+
let t18;
|
|
11777
|
+
if ($[25] !== T0 || $[26] !== t17) {
|
|
11778
|
+
t18 = /* @__PURE__ */ jsx(T0, { children: t17 });
|
|
11779
|
+
$[25] = T0;
|
|
11780
|
+
$[26] = t17;
|
|
11781
|
+
$[27] = t18;
|
|
11782
|
+
} else t18 = $[27];
|
|
11783
|
+
let t19;
|
|
11784
|
+
if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
|
|
11785
|
+
t19 = /* @__PURE__ */ jsx(Select.HiddenSelect, { style: { display: "none" } });
|
|
11786
|
+
$[28] = t19;
|
|
11787
|
+
} else t19 = $[28];
|
|
11941
11788
|
return /* @__PURE__ */ jsxs(Select.RootProvider, {
|
|
11942
11789
|
value: select,
|
|
11943
11790
|
lazyMount: true,
|
|
@@ -11955,15 +11802,20 @@ const DsSelect = (t0) => {
|
|
|
11955
11802
|
onClear?.();
|
|
11956
11803
|
}
|
|
11957
11804
|
},
|
|
11958
|
-
children: [
|
|
11805
|
+
children: [/* @__PURE__ */ jsxs(Select.Trigger, {
|
|
11806
|
+
id,
|
|
11807
|
+
className: ds_select_module_default.trigger,
|
|
11808
|
+
"aria-labelledby": null,
|
|
11809
|
+
children: [renderTriggerValue(), t7]
|
|
11810
|
+
}), t8]
|
|
11959
11811
|
}),
|
|
11960
|
-
|
|
11961
|
-
|
|
11812
|
+
t18,
|
|
11813
|
+
t19
|
|
11962
11814
|
]
|
|
11963
11815
|
});
|
|
11964
11816
|
};
|
|
11965
11817
|
function getItemCheckedState({ item, select, options }) {
|
|
11966
|
-
if (item.value !==
|
|
11818
|
+
if (item.value !== "__INTERNAL_SELECT_ALL_VALUE__") return select.getItemState({ item }).selected;
|
|
11967
11819
|
if (select.selectedItems.length === options.length - 1) return true;
|
|
11968
11820
|
return select.hasSelectedItems ? "indeterminate" : false;
|
|
11969
11821
|
}
|
|
@@ -11982,7 +11834,6 @@ function _temp4(val) {
|
|
|
11982
11834
|
function _temp5(e_1) {
|
|
11983
11835
|
if (e_1.key === " ") e_1.stopPropagation();
|
|
11984
11836
|
}
|
|
11985
|
-
|
|
11986
11837
|
//#endregion
|
|
11987
11838
|
//#region src/components/ds-number-input/ds-number-input.module.scss
|
|
11988
11839
|
var ds_number_input_module_default = {
|
|
@@ -11994,7 +11845,6 @@ var ds_number_input_module_default = {
|
|
|
11994
11845
|
"trigger": "_trigger_16htx_1",
|
|
11995
11846
|
"indicator": "_indicator_16htx_1"
|
|
11996
11847
|
};
|
|
11997
|
-
|
|
11998
11848
|
//#endregion
|
|
11999
11849
|
//#region src/components/ds-number-input/ds-number-input.tsx
|
|
12000
11850
|
const DsNumberInput = (t0) => {
|
|
@@ -12140,7 +11990,6 @@ const DsNumberInput = (t0) => {
|
|
|
12140
11990
|
} else t18 = $[32];
|
|
12141
11991
|
return t18;
|
|
12142
11992
|
};
|
|
12143
|
-
|
|
12144
11993
|
//#endregion
|
|
12145
11994
|
//#region src/components/ds-password-input/ds-password-input.module.scss
|
|
12146
11995
|
var ds_password_input_module_default = {
|
|
@@ -12152,7 +12001,6 @@ var ds_password_input_module_default = {
|
|
|
12152
12001
|
"trigger": "_trigger_25jao_1",
|
|
12153
12002
|
"indicator": "_indicator_25jao_1"
|
|
12154
12003
|
};
|
|
12155
|
-
|
|
12156
12004
|
//#endregion
|
|
12157
12005
|
//#region src/components/ds-password-input/ds-password-input.tsx
|
|
12158
12006
|
const DsPasswordInput = (t0) => {
|
|
@@ -12265,7 +12113,6 @@ const DsPasswordInput = (t0) => {
|
|
|
12265
12113
|
} else t13 = $[26];
|
|
12266
12114
|
return t13;
|
|
12267
12115
|
};
|
|
12268
|
-
|
|
12269
12116
|
//#endregion
|
|
12270
12117
|
//#region src/components/ds-form-control/ds-form-control.module.scss
|
|
12271
12118
|
var ds_form_control_module_default = {
|
|
@@ -12287,7 +12134,6 @@ var ds_form_control_module_default = {
|
|
|
12287
12134
|
"textarea": "_textarea_3x2wm_1",
|
|
12288
12135
|
"withIcon": "_withIcon_3x2wm_1"
|
|
12289
12136
|
};
|
|
12290
|
-
|
|
12291
12137
|
//#endregion
|
|
12292
12138
|
//#region src/components/ds-form-control/ds-form-control.tsx
|
|
12293
12139
|
const FormControlContext = createContext(null);
|
|
@@ -12442,16 +12288,14 @@ DsFormControl.DateInput = controlify(DsDateInput);
|
|
|
12442
12288
|
DsFormControl.Textarea = controlify(DsTextarea);
|
|
12443
12289
|
DsFormControl.Select = controlify(DsSelect);
|
|
12444
12290
|
DsFormControl.Description = DsFormControlDescription;
|
|
12445
|
-
|
|
12446
12291
|
//#endregion
|
|
12447
|
-
//#region src/components/ds-form-control/ds-form-control.types.
|
|
12292
|
+
//#region src/components/ds-form-control/ds-form-control.types.ts
|
|
12448
12293
|
const controlStatuses = [
|
|
12449
12294
|
"info",
|
|
12450
12295
|
"success",
|
|
12451
12296
|
"error",
|
|
12452
12297
|
"warning"
|
|
12453
12298
|
];
|
|
12454
|
-
|
|
12455
12299
|
//#endregion
|
|
12456
12300
|
//#region src/components/ds-grid/ds-grid.tsx
|
|
12457
12301
|
/**
|
|
@@ -12480,7 +12324,6 @@ const DsGridItem = ({ children, colSpan, colStart, rowSpan, rowStart, className
|
|
|
12480
12324
|
children
|
|
12481
12325
|
});
|
|
12482
12326
|
};
|
|
12483
|
-
|
|
12484
12327
|
//#endregion
|
|
12485
12328
|
//#region src/components/ds-loader/ds-loader.module.scss
|
|
12486
12329
|
var ds_loader_module_default = {
|
|
@@ -12493,7 +12336,6 @@ var ds_loader_module_default = {
|
|
|
12493
12336
|
"pulsingInner": "_pulsingInner_2184a_1",
|
|
12494
12337
|
"spinnerGradient": "_spinnerGradient_2184a_1"
|
|
12495
12338
|
};
|
|
12496
|
-
|
|
12497
12339
|
//#endregion
|
|
12498
12340
|
//#region src/components/ds-loader/pulsing-icon.tsx
|
|
12499
12341
|
const PulsingIcon = () => {
|
|
@@ -12523,7 +12365,6 @@ const PulsingIcon = () => {
|
|
|
12523
12365
|
} else t0 = $[0];
|
|
12524
12366
|
return t0;
|
|
12525
12367
|
};
|
|
12526
|
-
|
|
12527
12368
|
//#endregion
|
|
12528
12369
|
//#region src/components/ds-loader/spinner-icon.tsx
|
|
12529
12370
|
const SpinnerIcon = () => {
|
|
@@ -12590,7 +12431,6 @@ const SpinnerIcon = () => {
|
|
|
12590
12431
|
} else t3 = $[3];
|
|
12591
12432
|
return t3;
|
|
12592
12433
|
};
|
|
12593
|
-
|
|
12594
12434
|
//#endregion
|
|
12595
12435
|
//#region src/components/ds-loader/ds-loader.tsx
|
|
12596
12436
|
/**
|
|
@@ -12639,11 +12479,9 @@ const DsLoader = (t0) => {
|
|
|
12639
12479
|
} else t4 = $[11];
|
|
12640
12480
|
return t4;
|
|
12641
12481
|
};
|
|
12642
|
-
|
|
12643
12482
|
//#endregion
|
|
12644
12483
|
//#region src/components/ds-loader/ds-loader.types.ts
|
|
12645
12484
|
const loaderVariants = ["spinner", "pulsing"];
|
|
12646
|
-
|
|
12647
12485
|
//#endregion
|
|
12648
12486
|
//#region src/components/ds-panel/ds-panel.module.scss
|
|
12649
12487
|
var ds_panel_module_default = {
|
|
@@ -12655,7 +12493,6 @@ var ds_panel_module_default = {
|
|
|
12655
12493
|
"triggerCollapsed": "_triggerCollapsed_1urw1_1",
|
|
12656
12494
|
"variantDocked": "_variantDocked_1urw1_1"
|
|
12657
12495
|
};
|
|
12658
|
-
|
|
12659
12496
|
//#endregion
|
|
12660
12497
|
//#region src/components/ds-panel/ds-panel.tsx
|
|
12661
12498
|
function useDraggable(enabled) {
|
|
@@ -12851,14 +12688,12 @@ function DsPanelCollapseButton(t0) {
|
|
|
12851
12688
|
} else t3 = $[8];
|
|
12852
12689
|
return t3;
|
|
12853
12690
|
}
|
|
12854
|
-
|
|
12855
12691
|
//#endregion
|
|
12856
12692
|
//#region src/components/ds-popover/ds-popover.module.scss
|
|
12857
12693
|
var ds_popover_module_default = {
|
|
12858
12694
|
"content": "_content_1g8y0_1",
|
|
12859
12695
|
"arrow": "_arrow_1g8y0_1"
|
|
12860
12696
|
};
|
|
12861
|
-
|
|
12862
12697
|
//#endregion
|
|
12863
12698
|
//#region src/components/ds-popover/ds-popover.tsx
|
|
12864
12699
|
const DsPopover = (t0) => {
|
|
@@ -12911,7 +12746,6 @@ const DsPopover = (t0) => {
|
|
|
12911
12746
|
} else t7 = $[12];
|
|
12912
12747
|
return t7;
|
|
12913
12748
|
};
|
|
12914
|
-
|
|
12915
12749
|
//#endregion
|
|
12916
12750
|
//#region src/components/ds-progress-arc/ds-progress-arc.module.scss
|
|
12917
12751
|
var ds_progress_arc_module_default = {
|
|
@@ -12927,11 +12761,9 @@ var ds_progress_arc_module_default = {
|
|
|
12927
12761
|
"iconError": "_iconError_ba1ec_1",
|
|
12928
12762
|
"iconMediumSize": "_iconMediumSize_ba1ec_1"
|
|
12929
12763
|
};
|
|
12930
|
-
|
|
12931
12764
|
//#endregion
|
|
12932
12765
|
//#region src/utils/numbers.ts
|
|
12933
12766
|
const clampValue = (value) => Math.min(100, Math.max(0, value));
|
|
12934
|
-
|
|
12935
12767
|
//#endregion
|
|
12936
12768
|
//#region src/components/ds-progress-arc/utils.ts
|
|
12937
12769
|
const ARC_DEGREES = 270;
|
|
@@ -12966,7 +12798,6 @@ const getProgressDasharray = (effectiveValue, arcLength, circumference) => {
|
|
|
12966
12798
|
const progressLength = effectiveValue / 100 * arcLength;
|
|
12967
12799
|
return `${String(progressLength)} ${String(circumference)}`;
|
|
12968
12800
|
};
|
|
12969
|
-
|
|
12970
12801
|
//#endregion
|
|
12971
12802
|
//#region src/components/ds-progress-arc/ds-progress-arc.tsx
|
|
12972
12803
|
const variantStyleMap$1 = Object.freeze({
|
|
@@ -13203,7 +13034,6 @@ const DsProgressArc = (t0) => {
|
|
|
13203
13034
|
} else t20 = $[64];
|
|
13204
13035
|
return t20;
|
|
13205
13036
|
};
|
|
13206
|
-
|
|
13207
13037
|
//#endregion
|
|
13208
13038
|
//#region src/components/ds-progress-arc/ds-progress-arc.types.ts
|
|
13209
13039
|
const progressArcSizes = ["small", "medium"];
|
|
@@ -13212,7 +13042,6 @@ const progressArcVariants = [
|
|
|
13212
13042
|
"success",
|
|
13213
13043
|
"error"
|
|
13214
13044
|
];
|
|
13215
|
-
|
|
13216
13045
|
//#endregion
|
|
13217
13046
|
//#region src/components/ds-progress-donut/ds-progress-donut.module.scss
|
|
13218
13047
|
var ds_progress_donut_module_default = {
|
|
@@ -13230,7 +13059,6 @@ var ds_progress_donut_module_default = {
|
|
|
13230
13059
|
"iconError": "_iconError_1ntar_1",
|
|
13231
13060
|
"iconMediumSize": "_iconMediumSize_1ntar_1"
|
|
13232
13061
|
};
|
|
13233
|
-
|
|
13234
13062
|
//#endregion
|
|
13235
13063
|
//#region src/components/ds-progress-donut/ds-progress-donut.tsx
|
|
13236
13064
|
const sizeStyleMap = Object.freeze({
|
|
@@ -13340,7 +13168,6 @@ const DsProgressDonut = (t0) => {
|
|
|
13340
13168
|
} else t14 = $[25];
|
|
13341
13169
|
return t14;
|
|
13342
13170
|
};
|
|
13343
|
-
|
|
13344
13171
|
//#endregion
|
|
13345
13172
|
//#region src/components/ds-progress-donut/ds-progress-donut.types.ts
|
|
13346
13173
|
const progressDonutSizes = ["small", "medium"];
|
|
@@ -13349,7 +13176,6 @@ const progressDonutVariants = [
|
|
|
13349
13176
|
"success",
|
|
13350
13177
|
"error"
|
|
13351
13178
|
];
|
|
13352
|
-
|
|
13353
13179
|
//#endregion
|
|
13354
13180
|
//#region src/components/ds-progress-linear/ds-progress-linear.module.scss
|
|
13355
13181
|
var ds_progress_linear_module_default = {
|
|
@@ -13375,14 +13201,12 @@ var ds_progress_linear_module_default = {
|
|
|
13375
13201
|
"captionError": "_captionError_rxcyf_1",
|
|
13376
13202
|
"captionInterrupted": "_captionInterrupted_rxcyf_1"
|
|
13377
13203
|
};
|
|
13378
|
-
|
|
13379
13204
|
//#endregion
|
|
13380
13205
|
//#region src/components/ds-progress-linear/utils.ts
|
|
13381
13206
|
function calculatePercentage(value, min, max) {
|
|
13382
13207
|
if (max <= min) return 0;
|
|
13383
13208
|
return Math.round((value - min) / (max - min) * 100);
|
|
13384
13209
|
}
|
|
13385
|
-
|
|
13386
13210
|
//#endregion
|
|
13387
13211
|
//#region src/components/ds-progress-linear/ds-progress-linear.tsx
|
|
13388
13212
|
const rangeVariantClass = Object.freeze({
|
|
@@ -13547,7 +13371,6 @@ const DsProgressLinear = (t0) => {
|
|
|
13547
13371
|
} else t19 = $[36];
|
|
13548
13372
|
return t19;
|
|
13549
13373
|
};
|
|
13550
|
-
|
|
13551
13374
|
//#endregion
|
|
13552
13375
|
//#region src/components/ds-progress-linear/ds-progress-linear.types.ts
|
|
13553
13376
|
const progressLinearVariants = [
|
|
@@ -13562,7 +13385,6 @@ const progressLinearSizes = [
|
|
|
13562
13385
|
"medium",
|
|
13563
13386
|
"large"
|
|
13564
13387
|
];
|
|
13565
|
-
|
|
13566
13388
|
//#endregion
|
|
13567
13389
|
//#region src/components/ds-radio-group/ds-radio-group.module.scss
|
|
13568
13390
|
var ds_radio_group_module_default = {
|
|
@@ -13574,7 +13396,6 @@ var ds_radio_group_module_default = {
|
|
|
13574
13396
|
"radioIndicator": "_radioIndicator_g8qjm_1",
|
|
13575
13397
|
"radioLabel": "_radioLabel_g8qjm_1"
|
|
13576
13398
|
};
|
|
13577
|
-
|
|
13578
13399
|
//#endregion
|
|
13579
13400
|
//#region src/components/ds-radio-group/ds-radio-group.tsx
|
|
13580
13401
|
/**
|
|
@@ -13819,7 +13640,6 @@ function _temp$8(option) {
|
|
|
13819
13640
|
})]
|
|
13820
13641
|
}, option.value);
|
|
13821
13642
|
}
|
|
13822
|
-
|
|
13823
13643
|
//#endregion
|
|
13824
13644
|
//#region src/components/ds-segment-group/ds-segment-group.module.scss
|
|
13825
13645
|
var ds_segment_group_module_default = {
|
|
@@ -13829,7 +13649,6 @@ var ds_segment_group_module_default = {
|
|
|
13829
13649
|
"segmentItemText": "_segmentItemText_1sd0t_1",
|
|
13830
13650
|
"segmentIndicator": "_segmentIndicator_1sd0t_1"
|
|
13831
13651
|
};
|
|
13832
|
-
|
|
13833
13652
|
//#endregion
|
|
13834
13653
|
//#region src/components/ds-segment-group/ds-segment-group.tsx
|
|
13835
13654
|
/**
|
|
@@ -14033,12 +13852,10 @@ const DsSegmentGroup = {
|
|
|
14033
13852
|
Item,
|
|
14034
13853
|
ItemText
|
|
14035
13854
|
};
|
|
14036
|
-
|
|
14037
13855
|
//#endregion
|
|
14038
13856
|
//#region src/components/ds-skeleton/ds-skeleton.types.ts
|
|
14039
13857
|
const skeletonColorVariants = ["gray", "blue"];
|
|
14040
13858
|
const skeletonRadiusVariants = ["default", "round"];
|
|
14041
|
-
|
|
14042
13859
|
//#endregion
|
|
14043
13860
|
//#region src/components/ds-skeleton/ds-skeleton.config.ts
|
|
14044
13861
|
/**
|
|
@@ -14091,11 +13908,6 @@ const radiusMap = Object.freeze({
|
|
|
14091
13908
|
default: 4,
|
|
14092
13909
|
round: 999
|
|
14093
13910
|
});
|
|
14094
|
-
/**
|
|
14095
|
-
* Default gap between skeleton lines in pixels
|
|
14096
|
-
*/
|
|
14097
|
-
const DEFAULT_LINE_GAP = 8;
|
|
14098
|
-
|
|
14099
13911
|
//#endregion
|
|
14100
13912
|
//#region src/components/ds-skeleton/ds-skeleton.module.scss
|
|
14101
13913
|
var ds_skeleton_module_default = {
|
|
@@ -14108,7 +13920,6 @@ var ds_skeleton_module_default = {
|
|
|
14108
13920
|
"rectangle": "_rectangle_14v2k_1",
|
|
14109
13921
|
"container": "_container_14v2k_1"
|
|
14110
13922
|
};
|
|
14111
|
-
|
|
14112
13923
|
//#endregion
|
|
14113
13924
|
//#region src/components/ds-skeleton/ds-skeleton-text.tsx
|
|
14114
13925
|
/**
|
|
@@ -14159,7 +13970,7 @@ const DsSkeletonText = (t0) => {
|
|
|
14159
13970
|
const createLineStyle = t8;
|
|
14160
13971
|
let t9;
|
|
14161
13972
|
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
14162
|
-
t9 = { gap:
|
|
13973
|
+
t9 = { gap: 8 };
|
|
14163
13974
|
$[9] = t9;
|
|
14164
13975
|
} else t9 = $[9];
|
|
14165
13976
|
let t10;
|
|
@@ -14189,7 +14000,6 @@ const DsSkeletonText = (t0) => {
|
|
|
14189
14000
|
} else t10 = $[14];
|
|
14190
14001
|
return t10;
|
|
14191
14002
|
};
|
|
14192
|
-
|
|
14193
14003
|
//#endregion
|
|
14194
14004
|
//#region src/components/ds-skeleton/ds-skeleton-circle.tsx
|
|
14195
14005
|
/**
|
|
@@ -14238,7 +14048,6 @@ const DsSkeletonCircle = (t0) => {
|
|
|
14238
14048
|
} else t8 = $[9];
|
|
14239
14049
|
return t8;
|
|
14240
14050
|
};
|
|
14241
|
-
|
|
14242
14051
|
//#endregion
|
|
14243
14052
|
//#region src/components/ds-skeleton/ds-skeleton-rect.tsx
|
|
14244
14053
|
/**
|
|
@@ -14289,15 +14098,13 @@ const DsSkeletonRect = (t0) => {
|
|
|
14289
14098
|
} else t9 = $[10];
|
|
14290
14099
|
return t9;
|
|
14291
14100
|
};
|
|
14292
|
-
|
|
14293
14101
|
//#endregion
|
|
14294
|
-
//#region src/components/ds-skeleton/ds-skeleton.
|
|
14102
|
+
//#region src/components/ds-skeleton/ds-skeleton.ts
|
|
14295
14103
|
var ds_skeleton_default = {
|
|
14296
14104
|
Text: DsSkeletonText,
|
|
14297
14105
|
Circle: DsSkeletonCircle,
|
|
14298
14106
|
Rect: DsSkeletonRect
|
|
14299
14107
|
};
|
|
14300
|
-
|
|
14301
14108
|
//#endregion
|
|
14302
14109
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.module.scss
|
|
14303
14110
|
var ds_smart_tabs_module_default = {
|
|
@@ -14310,7 +14117,6 @@ var ds_smart_tabs_module_default = {
|
|
|
14310
14117
|
"label": "_label_fu70w_1",
|
|
14311
14118
|
"content": "_content_fu70w_1"
|
|
14312
14119
|
};
|
|
14313
|
-
|
|
14314
14120
|
//#endregion
|
|
14315
14121
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
|
|
14316
14122
|
const colorMap = {
|
|
@@ -14550,9 +14356,8 @@ const DsSmartTabs = (t0) => {
|
|
|
14550
14356
|
return t6;
|
|
14551
14357
|
};
|
|
14552
14358
|
DsSmartTabs.Tab = DsSmartTab;
|
|
14553
|
-
|
|
14554
14359
|
//#endregion
|
|
14555
|
-
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.
|
|
14360
|
+
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.ts
|
|
14556
14361
|
const colors = [
|
|
14557
14362
|
"dark-blue",
|
|
14558
14363
|
"light-blue",
|
|
@@ -14564,7 +14369,6 @@ const colors = [
|
|
|
14564
14369
|
"red",
|
|
14565
14370
|
"amber"
|
|
14566
14371
|
];
|
|
14567
|
-
|
|
14568
14372
|
//#endregion
|
|
14569
14373
|
//#region src/components/ds-spinner/ds-spinner.module.scss
|
|
14570
14374
|
var ds_spinner_module_default = {
|
|
@@ -14573,7 +14377,6 @@ var ds_spinner_module_default = {
|
|
|
14573
14377
|
"spin": "_spin_vr3r7_1",
|
|
14574
14378
|
"progressArc": "_progressArc_vr3r7_1"
|
|
14575
14379
|
};
|
|
14576
|
-
|
|
14577
14380
|
//#endregion
|
|
14578
14381
|
//#region src/components/ds-spinner/ds-spinner.tsx
|
|
14579
14382
|
const sizeMap = {
|
|
@@ -14684,15 +14487,13 @@ const DsSpinner = (t0) => {
|
|
|
14684
14487
|
} else t11 = $[24];
|
|
14685
14488
|
return t11;
|
|
14686
14489
|
};
|
|
14687
|
-
|
|
14688
14490
|
//#endregion
|
|
14689
|
-
//#region src/components/ds-spinner/ds-spinner.types.
|
|
14491
|
+
//#region src/components/ds-spinner/ds-spinner.types.ts
|
|
14690
14492
|
const spinnerSizes = [
|
|
14691
14493
|
"small",
|
|
14692
14494
|
"medium",
|
|
14693
14495
|
"large"
|
|
14694
14496
|
];
|
|
14695
|
-
|
|
14696
14497
|
//#endregion
|
|
14697
14498
|
//#region src/components/ds-status-badge/ds-status-badge.module.scss
|
|
14698
14499
|
var ds_status_badge_module_default = {
|
|
@@ -14708,7 +14509,6 @@ var ds_status_badge_module_default = {
|
|
|
14708
14509
|
"warning": "_warning_1djyv_1",
|
|
14709
14510
|
"failed": "_failed_1djyv_1"
|
|
14710
14511
|
};
|
|
14711
|
-
|
|
14712
14512
|
//#endregion
|
|
14713
14513
|
//#region src/components/ds-status-badge/ds-status-badge.tsx
|
|
14714
14514
|
/**
|
|
@@ -14774,7 +14574,6 @@ const DsStatusBadge = (t0) => {
|
|
|
14774
14574
|
} else t12 = $[15];
|
|
14775
14575
|
return t12;
|
|
14776
14576
|
};
|
|
14777
|
-
|
|
14778
14577
|
//#endregion
|
|
14779
14578
|
//#region src/components/ds-stepper/ds-stepper.module.scss
|
|
14780
14579
|
var ds_stepper_module_default = {
|
|
@@ -14797,7 +14596,6 @@ var ds_stepper_module_default = {
|
|
|
14797
14596
|
"stepLabelRow": "_stepLabelRow_xy15l_1",
|
|
14798
14597
|
"horizontalSeparator": "_horizontalSeparator_xy15l_1"
|
|
14799
14598
|
};
|
|
14800
|
-
|
|
14801
14599
|
//#endregion
|
|
14802
14600
|
//#region src/components/ds-stepper/hooks/use-steps.ts
|
|
14803
14601
|
function useSteps(t0) {
|
|
@@ -14831,7 +14629,6 @@ function useSteps(t0) {
|
|
|
14831
14629
|
} else t3 = $[8];
|
|
14832
14630
|
return t3;
|
|
14833
14631
|
}
|
|
14834
|
-
|
|
14835
14632
|
//#endregion
|
|
14836
14633
|
//#region src/components/ds-stepper/hooks/use-stepper.ts
|
|
14837
14634
|
const StepperContext = createContext(null);
|
|
@@ -14840,7 +14637,6 @@ function useStepper() {
|
|
|
14840
14637
|
if (!context) throw new Error("useStepper must be used within a DsStepper");
|
|
14841
14638
|
return context;
|
|
14842
14639
|
}
|
|
14843
|
-
|
|
14844
14640
|
//#endregion
|
|
14845
14641
|
//#region src/components/ds-stepper/ds-stepper.tsx
|
|
14846
14642
|
function DsStepper(t0) {
|
|
@@ -14939,7 +14735,6 @@ function DsStepper(t0) {
|
|
|
14939
14735
|
} else t10 = $[27];
|
|
14940
14736
|
return t10;
|
|
14941
14737
|
}
|
|
14942
|
-
|
|
14943
14738
|
//#endregion
|
|
14944
14739
|
//#region src/components/ds-stepper/components/ds-step-separator.tsx
|
|
14945
14740
|
function DsStepSeparator(t0) {
|
|
@@ -14968,7 +14763,6 @@ function DsStepSeparator(t0) {
|
|
|
14968
14763
|
} else t3 = $[5];
|
|
14969
14764
|
return t3;
|
|
14970
14765
|
}
|
|
14971
|
-
|
|
14972
14766
|
//#endregion
|
|
14973
14767
|
//#region src/components/ds-stepper/components/ds-step.tsx
|
|
14974
14768
|
function DsStep(t0) {
|
|
@@ -15139,7 +14933,6 @@ function DsStep(t0) {
|
|
|
15139
14933
|
} else t18 = $[47];
|
|
15140
14934
|
return t18;
|
|
15141
14935
|
}
|
|
15142
|
-
|
|
15143
14936
|
//#endregion
|
|
15144
14937
|
//#region src/components/ds-stepper/components/ds-step-label.tsx
|
|
15145
14938
|
function DsStepLabel(t0) {
|
|
@@ -15156,7 +14949,6 @@ function DsStepLabel(t0) {
|
|
|
15156
14949
|
} else t1 = $[1];
|
|
15157
14950
|
return t1;
|
|
15158
14951
|
}
|
|
15159
|
-
|
|
15160
14952
|
//#endregion
|
|
15161
14953
|
//#region src/components/ds-stepper/components/ds-step-description.tsx
|
|
15162
14954
|
function DsStepDescription(t0) {
|
|
@@ -15173,7 +14965,6 @@ function DsStepDescription(t0) {
|
|
|
15173
14965
|
} else t1 = $[1];
|
|
15174
14966
|
return t1;
|
|
15175
14967
|
}
|
|
15176
|
-
|
|
15177
14968
|
//#endregion
|
|
15178
14969
|
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
15179
14970
|
function DsStepContent(t0) {
|
|
@@ -15231,7 +15022,6 @@ function DsStepContent(t0) {
|
|
|
15231
15022
|
} else t5 = $[15];
|
|
15232
15023
|
return t5;
|
|
15233
15024
|
}
|
|
15234
|
-
|
|
15235
15025
|
//#endregion
|
|
15236
15026
|
//#region src/components/ds-stepper/components/ds-step-next-button.tsx
|
|
15237
15027
|
function DsNextStepButton(t0) {
|
|
@@ -15274,7 +15064,6 @@ function DsNextStepButton(t0) {
|
|
|
15274
15064
|
} else t3 = $[10];
|
|
15275
15065
|
return t3;
|
|
15276
15066
|
}
|
|
15277
|
-
|
|
15278
15067
|
//#endregion
|
|
15279
15068
|
//#region src/components/ds-system-status/ds-system-status.module.scss
|
|
15280
15069
|
var ds_system_status_module_default = {
|
|
@@ -15289,7 +15078,6 @@ var ds_system_status_module_default = {
|
|
|
15289
15078
|
"alert": "_alert_1cszu_1",
|
|
15290
15079
|
"disabled": "_disabled_1cszu_1"
|
|
15291
15080
|
};
|
|
15292
|
-
|
|
15293
15081
|
//#endregion
|
|
15294
15082
|
//#region src/components/ds-system-status/ds-system-status.tsx
|
|
15295
15083
|
/**
|
|
@@ -15347,9 +15135,8 @@ const DsSystemStatus = (t0) => {
|
|
|
15347
15135
|
} else t6 = $[8];
|
|
15348
15136
|
return t6;
|
|
15349
15137
|
};
|
|
15350
|
-
|
|
15351
15138
|
//#endregion
|
|
15352
|
-
//#region src/components/ds-system-status/ds-system-status.types.
|
|
15139
|
+
//#region src/components/ds-system-status/ds-system-status.types.ts
|
|
15353
15140
|
/**
|
|
15354
15141
|
* @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.
|
|
15355
15142
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
@@ -15363,7 +15150,6 @@ const systemStatuses = [
|
|
|
15363
15150
|
"alert",
|
|
15364
15151
|
"disabled"
|
|
15365
15152
|
];
|
|
15366
|
-
|
|
15367
15153
|
//#endregion
|
|
15368
15154
|
//#region src/components/ds-table/filters/adapters/create-filter-adapter.ts
|
|
15369
15155
|
/**
|
|
@@ -15444,7 +15230,6 @@ function createFilterAdapter(config) {
|
|
|
15444
15230
|
renderFilter: config.renderFilter
|
|
15445
15231
|
};
|
|
15446
15232
|
}
|
|
15447
|
-
|
|
15448
15233
|
//#endregion
|
|
15449
15234
|
//#region src/components/ds-table/filters/components/checkbox-filter/checkbox-filter.tsx
|
|
15450
15235
|
const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) => {
|
|
@@ -15460,7 +15245,6 @@ const CheckboxFilter = ({ items, renderer, selectedItems, onSelectionChange }) =
|
|
|
15460
15245
|
}, JSON.stringify(item.value));
|
|
15461
15246
|
});
|
|
15462
15247
|
};
|
|
15463
|
-
|
|
15464
15248
|
//#endregion
|
|
15465
15249
|
//#region src/components/ds-table/filters/adapters/create-checkbox-filter-adapter.tsx
|
|
15466
15250
|
/**
|
|
@@ -15508,7 +15292,6 @@ function createCheckboxFilterAdapter(config) {
|
|
|
15508
15292
|
}
|
|
15509
15293
|
});
|
|
15510
15294
|
}
|
|
15511
|
-
|
|
15512
15295
|
//#endregion
|
|
15513
15296
|
//#region src/components/ds-table/filters/components/range-filter/range-filter.module.scss
|
|
15514
15297
|
var range_filter_module_default = {
|
|
@@ -15517,7 +15300,6 @@ var range_filter_module_default = {
|
|
|
15517
15300
|
"inputs": "_inputs_13tjl_1",
|
|
15518
15301
|
"inputGroup": "_inputGroup_13tjl_1"
|
|
15519
15302
|
};
|
|
15520
|
-
|
|
15521
15303
|
//#endregion
|
|
15522
15304
|
//#region src/components/ds-table/filters/components/range-filter/range-filter.tsx
|
|
15523
15305
|
const RangeFilter = (t0) => {
|
|
@@ -15681,7 +15463,6 @@ const RangeFilter = (t0) => {
|
|
|
15681
15463
|
} else t14 = $[34];
|
|
15682
15464
|
return t14;
|
|
15683
15465
|
};
|
|
15684
|
-
|
|
15685
15466
|
//#endregion
|
|
15686
15467
|
//#region src/components/ds-table/filters/adapters/create-dual-range-filter-adapter.tsx
|
|
15687
15468
|
/**
|
|
@@ -15764,7 +15545,6 @@ function createDualRangeFilterAdapter(config) {
|
|
|
15764
15545
|
}
|
|
15765
15546
|
});
|
|
15766
15547
|
}
|
|
15767
|
-
|
|
15768
15548
|
//#endregion
|
|
15769
15549
|
//#region src/components/ds-table/filters/hooks/use-table-filters.ts
|
|
15770
15550
|
/**
|
|
@@ -15972,7 +15752,6 @@ function _temp$7(state, adapter) {
|
|
|
15972
15752
|
[adapter.id]: adapter.initialValue
|
|
15973
15753
|
};
|
|
15974
15754
|
}
|
|
15975
|
-
|
|
15976
15755
|
//#endregion
|
|
15977
15756
|
//#region src/components/ds-table/components/core-table/core-table.module.scss
|
|
15978
15757
|
var core_table_module_default = {
|
|
@@ -15982,7 +15761,6 @@ var core_table_module_default = {
|
|
|
15982
15761
|
"tableCell": "_tableCell_9wtya_1",
|
|
15983
15762
|
"tableCaption": "_tableCaption_9wtya_1"
|
|
15984
15763
|
};
|
|
15985
|
-
|
|
15986
15764
|
//#endregion
|
|
15987
15765
|
//#region src/components/ds-table/components/core-table/core-table.tsx
|
|
15988
15766
|
function Table$1(t0) {
|
|
@@ -16178,7 +15956,6 @@ function TableCaption(t0) {
|
|
|
16178
15956
|
return t2;
|
|
16179
15957
|
}
|
|
16180
15958
|
TableCaption.displayName = "TableCaption";
|
|
16181
|
-
|
|
16182
15959
|
//#endregion
|
|
16183
15960
|
//#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss
|
|
16184
15961
|
var ds_table_bulk_actions_module_default = {
|
|
@@ -16196,7 +15973,6 @@ var ds_table_bulk_actions_module_default = {
|
|
|
16196
15973
|
"actionButtonContent": "_actionButtonContent_15vel_1",
|
|
16197
15974
|
"escapeButtonContent": "_escapeButtonContent_15vel_1"
|
|
16198
15975
|
};
|
|
16199
|
-
|
|
16200
15976
|
//#endregion
|
|
16201
15977
|
//#region src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.tsx
|
|
16202
15978
|
const DsTableBulkActions = (t0) => {
|
|
@@ -16330,7 +16106,6 @@ function _temp$6(action, index) {
|
|
|
16330
16106
|
})]
|
|
16331
16107
|
}, index);
|
|
16332
16108
|
}
|
|
16333
|
-
|
|
16334
16109
|
//#endregion
|
|
16335
16110
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
|
|
16336
16111
|
var ds_table_header_module_default = {
|
|
@@ -16348,7 +16123,6 @@ var ds_table_header_module_default = {
|
|
|
16348
16123
|
"pageButtonIcon": "_pageButtonIcon_y7036_1",
|
|
16349
16124
|
"headerSortContainer": "_headerSortContainer_y7036_1"
|
|
16350
16125
|
};
|
|
16351
|
-
|
|
16352
16126
|
//#endregion
|
|
16353
16127
|
//#region src/components/ds-table/styles/shared/ds-table-shared.module.scss
|
|
16354
16128
|
var ds_table_shared_module_default = {
|
|
@@ -16363,16 +16137,14 @@ var ds_table_shared_module_default = {
|
|
|
16363
16137
|
"rotate-315": "_rotate-315_1vhho_1",
|
|
16364
16138
|
"checkboxContainer": "_checkboxContainer_1vhho_1"
|
|
16365
16139
|
};
|
|
16366
|
-
|
|
16367
16140
|
//#endregion
|
|
16368
|
-
//#region src/components/ds-table/context/ds-table-context.
|
|
16141
|
+
//#region src/components/ds-table/context/ds-table-context.ts
|
|
16369
16142
|
const DsTableContext = createContext(null);
|
|
16370
16143
|
const useDsTableContext = () => {
|
|
16371
16144
|
const context = useContext(DsTableContext);
|
|
16372
16145
|
if (!context) throw new Error("useDsTableContext must be used within DsTable");
|
|
16373
16146
|
return context;
|
|
16374
16147
|
};
|
|
16375
|
-
|
|
16376
16148
|
//#endregion
|
|
16377
16149
|
//#region src/components/ds-table/utils/column-size.ts
|
|
16378
16150
|
/**
|
|
@@ -16386,7 +16158,6 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
|
|
|
16386
16158
|
if (columnSize !== defaultColumnSizing.size) return { width: columnSize };
|
|
16387
16159
|
if (virtualized) return { flex: 1 };
|
|
16388
16160
|
};
|
|
16389
|
-
|
|
16390
16161
|
//#endregion
|
|
16391
16162
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
|
|
16392
16163
|
const DsTableHeader = (t0) => {
|
|
@@ -16470,7 +16241,6 @@ const DsTableHeader = (t0) => {
|
|
|
16470
16241
|
} else t5 = $[13];
|
|
16471
16242
|
return t5;
|
|
16472
16243
|
};
|
|
16473
|
-
|
|
16474
16244
|
//#endregion
|
|
16475
16245
|
//#region src/components/ds-table/ds-table.module.scss
|
|
16476
16246
|
var ds_table_module_default = {
|
|
@@ -16491,7 +16261,6 @@ var ds_table_module_default = {
|
|
|
16491
16261
|
"virtualized": "_virtualized_11iga_1",
|
|
16492
16262
|
"virtualizedContainer": "_virtualizedContainer_11iga_1"
|
|
16493
16263
|
};
|
|
16494
|
-
|
|
16495
16264
|
//#endregion
|
|
16496
16265
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss
|
|
16497
16266
|
var ds_table_cell_module_default = {
|
|
@@ -16502,7 +16271,6 @@ var ds_table_cell_module_default = {
|
|
|
16502
16271
|
"disabled": "_disabled_xj9ef_1",
|
|
16503
16272
|
"secondaryActionsTrigger": "_secondaryActionsTrigger_xj9ef_1"
|
|
16504
16273
|
};
|
|
16505
|
-
|
|
16506
16274
|
//#endregion
|
|
16507
16275
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.tsx
|
|
16508
16276
|
const DsDefaultTableCell = (t0) => {
|
|
@@ -16665,11 +16433,9 @@ function _temp$5(e_0) {
|
|
|
16665
16433
|
function _temp2(e_1) {
|
|
16666
16434
|
return e_1.stopPropagation();
|
|
16667
16435
|
}
|
|
16668
|
-
|
|
16669
16436
|
//#endregion
|
|
16670
16437
|
//#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.module.scss
|
|
16671
16438
|
var ds_table_row_selectable_cell_module_default = { "cell": "_cell_1da1f_1" };
|
|
16672
|
-
|
|
16673
16439
|
//#endregion
|
|
16674
16440
|
//#region src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx
|
|
16675
16441
|
const DsTableRowSelectableCell = (t0) => {
|
|
@@ -16732,14 +16498,12 @@ const DsTableRowSelectableCell = (t0) => {
|
|
|
16732
16498
|
function _temp$4(e_0) {
|
|
16733
16499
|
e_0.stopPropagation();
|
|
16734
16500
|
}
|
|
16735
|
-
|
|
16736
16501
|
//#endregion
|
|
16737
16502
|
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
|
|
16738
16503
|
var ds_table_row_expandable_cell_module_default = {
|
|
16739
16504
|
"cell": "_cell_riuvn_1",
|
|
16740
16505
|
"button": "_button_riuvn_1"
|
|
16741
16506
|
};
|
|
16742
|
-
|
|
16743
16507
|
//#endregion
|
|
16744
16508
|
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
|
|
16745
16509
|
const DsTableRowExpandableCell = (t0) => {
|
|
@@ -16809,7 +16573,6 @@ const DsTableRowExpandableCell = (t0) => {
|
|
|
16809
16573
|
function _temp$3(e_0) {
|
|
16810
16574
|
e_0.stopPropagation();
|
|
16811
16575
|
}
|
|
16812
|
-
|
|
16813
16576
|
//#endregion
|
|
16814
16577
|
//#region src/components/ds-table/components/ds-table-row/ds-table-row.module.scss
|
|
16815
16578
|
var ds_table_row_module_default = {
|
|
@@ -16829,7 +16592,6 @@ var ds_table_row_module_default = {
|
|
|
16829
16592
|
"rowDragHandle": "_rowDragHandle_3a8wk_1",
|
|
16830
16593
|
"expandToggleButton": "_expandToggleButton_3a8wk_1"
|
|
16831
16594
|
};
|
|
16832
|
-
|
|
16833
16595
|
//#endregion
|
|
16834
16596
|
//#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
|
|
16835
16597
|
const DsRowDragHandle = (t0) => {
|
|
@@ -17062,7 +16824,6 @@ const DsTableRow = (t0) => {
|
|
|
17062
16824
|
function _temp$2(e) {
|
|
17063
16825
|
return e.stopPropagation();
|
|
17064
16826
|
}
|
|
17065
|
-
|
|
17066
16827
|
//#endregion
|
|
17067
16828
|
//#region src/components/ds-table/hooks/use-drag-and-drop.tsx
|
|
17068
16829
|
const DragWrapper = (t0) => {
|
|
@@ -17194,14 +16955,12 @@ function useDragAndDrop(t0) {
|
|
|
17194
16955
|
function _temp$1(row) {
|
|
17195
16956
|
return row.id;
|
|
17196
16957
|
}
|
|
17197
|
-
|
|
17198
16958
|
//#endregion
|
|
17199
16959
|
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.module.scss
|
|
17200
16960
|
var ds_table_body_virtualized_module_default = {
|
|
17201
16961
|
"body": "_body_136uf_1",
|
|
17202
16962
|
"emptyState": "_emptyState_136uf_1"
|
|
17203
16963
|
};
|
|
17204
|
-
|
|
17205
16964
|
//#endregion
|
|
17206
16965
|
//#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss
|
|
17207
16966
|
var ds_table_row_virtualized_module_default = {
|
|
@@ -17218,7 +16977,6 @@ var ds_table_row_virtualized_module_default = {
|
|
|
17218
16977
|
"selectableCell": "_selectableCell_1tynu_1",
|
|
17219
16978
|
"expandableCell": "_expandableCell_1tynu_1"
|
|
17220
16979
|
};
|
|
17221
|
-
|
|
17222
16980
|
//#endregion
|
|
17223
16981
|
//#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
|
|
17224
16982
|
const DsTableRowVirtualized = (t0) => {
|
|
@@ -17356,14 +17114,6 @@ const DsTableRowVirtualized = (t0) => {
|
|
|
17356
17114
|
} else t8 = $[45];
|
|
17357
17115
|
return t8;
|
|
17358
17116
|
};
|
|
17359
|
-
|
|
17360
|
-
//#endregion
|
|
17361
|
-
//#region src/components/ds-table/utils/constants.ts
|
|
17362
|
-
/**
|
|
17363
|
-
* Default text for empty table state
|
|
17364
|
-
*/
|
|
17365
|
-
const EMPTY_TABLE_STATE_TEXT = "No results.";
|
|
17366
|
-
|
|
17367
17117
|
//#endregion
|
|
17368
17118
|
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx
|
|
17369
17119
|
const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimateSize, overscan, onScroll }) => {
|
|
@@ -17399,10 +17149,13 @@ const DsTableBodyVirtualized = ({ table, tableContainerRef, emptyState, estimate
|
|
|
17399
17149
|
const scrollOffset = instance.scrollOffset || 0;
|
|
17400
17150
|
const totalContentHeight = instance.getTotalSize();
|
|
17401
17151
|
const viewportHeight = instance.scrollElement?.clientHeight;
|
|
17152
|
+
const scrollDirection = instance.scrollDirection;
|
|
17402
17153
|
if (viewportHeight) onScroll({
|
|
17403
17154
|
scrollOffset,
|
|
17404
17155
|
totalContentHeight,
|
|
17405
|
-
viewportHeight
|
|
17156
|
+
viewportHeight,
|
|
17157
|
+
bottomOffset: totalContentHeight - (scrollOffset + viewportHeight),
|
|
17158
|
+
scrollDirection
|
|
17406
17159
|
});
|
|
17407
17160
|
}
|
|
17408
17161
|
}
|
|
@@ -17453,7 +17206,7 @@ function DsTableBody(t0) {
|
|
|
17453
17206
|
}, virtualRow.key);
|
|
17454
17207
|
}) : /* @__PURE__ */ jsx("div", {
|
|
17455
17208
|
className: ds_table_body_virtualized_module_default.emptyState,
|
|
17456
|
-
children: emptyState ||
|
|
17209
|
+
children: emptyState || "No results."
|
|
17457
17210
|
})
|
|
17458
17211
|
});
|
|
17459
17212
|
$[0] = emptyState;
|
|
@@ -17465,7 +17218,6 @@ function DsTableBody(t0) {
|
|
|
17465
17218
|
} else t1 = $[5];
|
|
17466
17219
|
return t1;
|
|
17467
17220
|
}
|
|
17468
|
-
|
|
17469
17221
|
//#endregion
|
|
17470
17222
|
//#region src/components/ds-table/ds-table.tsx
|
|
17471
17223
|
const ROW_SIZE_HEIGHT_MAP = {
|
|
@@ -17575,7 +17327,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
17575
17327
|
const renderEmptyState = () => /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
|
|
17576
17328
|
colSpan: columns.length + (expandable ? 1 : 0) + (selectable ? 1 : 0),
|
|
17577
17329
|
className: ds_table_module_default.emptyState,
|
|
17578
|
-
children: emptyState ||
|
|
17330
|
+
children: emptyState || "No results."
|
|
17579
17331
|
}) });
|
|
17580
17332
|
const selectedRows = Object.entries(rowSelection).filter(([, selected]) => selected).map(([key]) => rowsById[key]?.original).filter((v) => !!v);
|
|
17581
17333
|
const contextValue = {
|
|
@@ -17621,7 +17373,6 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
17621
17373
|
})]
|
|
17622
17374
|
});
|
|
17623
17375
|
};
|
|
17624
|
-
|
|
17625
17376
|
//#endregion
|
|
17626
17377
|
//#region src/components/ds-toast/ds-toast.module.scss
|
|
17627
17378
|
var ds_toast_module_default = {
|
|
@@ -17630,7 +17381,6 @@ var ds_toast_module_default = {
|
|
|
17630
17381
|
"actions": "_actions_17obg_1",
|
|
17631
17382
|
"icon": "_icon_17obg_1"
|
|
17632
17383
|
};
|
|
17633
|
-
|
|
17634
17384
|
//#endregion
|
|
17635
17385
|
//#region src/components/ds-toast/ds-toast.tsx
|
|
17636
17386
|
const variantIcons = {
|
|
@@ -17748,7 +17498,6 @@ const DsToastGroup = (t0) => {
|
|
|
17748
17498
|
function _temp(toast) {
|
|
17749
17499
|
return /* @__PURE__ */ jsx(DsToast, { ...toast });
|
|
17750
17500
|
}
|
|
17751
|
-
|
|
17752
17501
|
//#endregion
|
|
17753
17502
|
//#region src/components/ds-toast/ds-toast-context.tsx
|
|
17754
17503
|
const DsToastContext = createContext(null);
|
|
@@ -17824,7 +17573,6 @@ const useToaster = () => {
|
|
|
17824
17573
|
if (!context) throw new Error("useToast must be used within a ToastProvider");
|
|
17825
17574
|
return context;
|
|
17826
17575
|
};
|
|
17827
|
-
|
|
17828
17576
|
//#endregion
|
|
17829
17577
|
//#region src/components/ds-toggle/ds-toggle.module.scss
|
|
17830
17578
|
var ds_toggle_module_default = {
|
|
@@ -17835,7 +17583,6 @@ var ds_toggle_module_default = {
|
|
|
17835
17583
|
"labelInfo": "_labelInfo_warw8_1",
|
|
17836
17584
|
"icon": "_icon_warw8_1"
|
|
17837
17585
|
};
|
|
17838
|
-
|
|
17839
17586
|
//#endregion
|
|
17840
17587
|
//#region src/components/ds-toggle/ds-toggle.tsx
|
|
17841
17588
|
/**
|
|
@@ -18013,7 +17760,6 @@ const DsToggle = (t0) => {
|
|
|
18013
17760
|
} else t15 = $[47];
|
|
18014
17761
|
return t15;
|
|
18015
17762
|
};
|
|
18016
|
-
|
|
18017
17763
|
//#endregion
|
|
18018
17764
|
//#region src/components/ds-tree/ds-tree.module.scss
|
|
18019
17765
|
var ds_tree_module_default = {
|
|
@@ -18036,7 +17782,6 @@ var ds_tree_module_default = {
|
|
|
18036
17782
|
"nodeCheckboxBox": "_nodeCheckboxBox_lqfdm_1",
|
|
18037
17783
|
"nodeCheckboxIndicator": "_nodeCheckboxIndicator_lqfdm_1"
|
|
18038
17784
|
};
|
|
18039
|
-
|
|
18040
17785
|
//#endregion
|
|
18041
17786
|
//#region src/components/ds-tree/ds-tree.tsx
|
|
18042
17787
|
const DsTreeRoot = (t0) => {
|
|
@@ -18440,7 +18185,6 @@ const DsTree = {
|
|
|
18440
18185
|
ItemAction: DsTreeItemAction,
|
|
18441
18186
|
NodeCheckbox: DsTreeNodeCheckbox
|
|
18442
18187
|
};
|
|
18443
|
-
|
|
18444
18188
|
//#endregion
|
|
18445
18189
|
//#region src/components/ds-tree/ds-tree.utils.ts
|
|
18446
18190
|
const createDsTreeCollection = (nodes) => createTreeCollection({
|
|
@@ -18452,7 +18196,6 @@ const createDsTreeCollection = (nodes) => createTreeCollection({
|
|
|
18452
18196
|
children: nodes
|
|
18453
18197
|
}
|
|
18454
18198
|
});
|
|
18455
|
-
|
|
18456
18199
|
//#endregion
|
|
18457
18200
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss
|
|
18458
18201
|
var ds_vertical_tabs_module_default = {
|
|
@@ -18460,7 +18203,6 @@ var ds_vertical_tabs_module_default = {
|
|
|
18460
18203
|
"tabItem": "_tabItem_n5n19_1",
|
|
18461
18204
|
"selected": "_selected_n5n19_1"
|
|
18462
18205
|
};
|
|
18463
|
-
|
|
18464
18206
|
//#endregion
|
|
18465
18207
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.tsx
|
|
18466
18208
|
/**
|
|
@@ -18587,7 +18329,7 @@ const DsVerticalTabsContent = (t0) => {
|
|
|
18587
18329
|
DsVerticalTabs.List = DsVerticalTabsList;
|
|
18588
18330
|
DsVerticalTabs.Tab = DsVerticalTabsTab;
|
|
18589
18331
|
DsVerticalTabs.Content = DsVerticalTabsContent;
|
|
18590
|
-
|
|
18591
18332
|
//#endregion
|
|
18592
|
-
export { DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsCard, DsCheckbox, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsStatusBadge, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, cardSizes, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, filterStatuses, iconSizes, iconVariants, isCustomIcon, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useFileUpload, useTableFilters, useToaster };
|
|
18333
|
+
export { DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsCard, DsCheckbox, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, ds_skeleton_default as DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsStatusBadge, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsVerticalTabs, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, filterStatuses, iconSizes, iconVariants, isCustomIcon, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useFileUpload, useTableFilters, useToaster };
|
|
18334
|
+
|
|
18593
18335
|
//# sourceMappingURL=index.js.map
|