@drivenets/design-system 0.0.3 → 0.0.5
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 +13 -0
- package/README.md +51 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.cjs +157 -52
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +5 -5
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.js +157 -52
- package/dist/components/ds-alert-banner/ds-alert-banner.js.map +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.types.js.map +1 -1
- package/dist/components/ds-breadcrumb/ds-breadcrumb.cjs +59 -16
- package/dist/components/ds-breadcrumb/ds-breadcrumb.js +59 -16
- package/dist/components/ds-breadcrumb/ds-breadcrumb.js.map +1 -1
- package/dist/components/ds-button/ds-button.cjs +18 -2
- package/dist/components/ds-button/ds-button.d.cts +2 -2
- package/dist/components/ds-button/ds-button.d.cts.map +1 -1
- package/dist/components/ds-button/ds-button.d.ts +2 -2
- package/dist/components/ds-button/ds-button.js +18 -2
- package/dist/components/ds-button/ds-button.js.map +1 -1
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +79 -10
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +79 -10
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -1
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +78 -10
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +78 -10
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -1
- package/dist/components/ds-checkbox/ds-checkbox.cjs +89 -18
- package/dist/components/ds-checkbox/ds-checkbox.js +89 -18
- package/dist/components/ds-checkbox/ds-checkbox.js.map +1 -1
- package/dist/components/ds-chip/ds-chip.cjs +100 -30
- package/dist/components/ds-chip/ds-chip.js +100 -30
- package/dist/components/ds-chip/ds-chip.js.map +1 -1
- package/dist/components/ds-chip-group/ds-chip-group.cjs +6 -6
- package/dist/components/ds-chip-group/ds-chip-group.js +6 -6
- package/dist/components/ds-chip-group/ds-chip-group.js.map +1 -1
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.cjs +210 -56
- package/dist/components/ds-confirmation/ds-confirmation.d.cts +8 -8
- package/dist/components/ds-confirmation/ds-confirmation.d.ts +8 -8
- package/dist/components/ds-confirmation/ds-confirmation.js +210 -56
- package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
- package/dist/components/ds-dialog/ds-dialog.js.map +1 -1
- package/dist/components/ds-drawer/ds-drawer.cjs +261 -61
- package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
- package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
- package/dist/components/ds-drawer/ds-drawer.js +261 -61
- package/dist/components/ds-drawer/ds-drawer.js.map +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +481 -135
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +481 -135
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js.map +1 -1
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.cjs +146 -56
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js +146 -56
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js.map +1 -1
- package/dist/components/ds-file-upload/components/file-upload/file-upload.cjs +190 -69
- package/dist/components/ds-file-upload/components/file-upload/file-upload.js +190 -69
- package/dist/components/ds-file-upload/components/file-upload/file-upload.js.map +1 -1
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.cjs +273 -132
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js +273 -132
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js.map +1 -1
- package/dist/components/ds-file-upload/ds-file-upload.cjs +96 -16
- package/dist/components/ds-file-upload/ds-file-upload.js +96 -16
- package/dist/components/ds-file-upload/ds-file-upload.js.map +1 -1
- package/dist/components/ds-file-upload/errors/file-upload-errors.js.map +1 -1
- package/dist/components/ds-file-upload/hooks/use-file-upload.cjs +93 -93
- package/dist/components/ds-file-upload/hooks/use-file-upload.js +93 -93
- package/dist/components/ds-file-upload/hooks/use-file-upload.js.map +1 -1
- package/dist/components/ds-file-upload/types/accept-types.js.map +1 -1
- package/dist/components/ds-file-upload/utils/accept-utils.js.map +1 -1
- package/dist/components/ds-file-upload/utils/constants.js.map +1 -1
- package/dist/components/ds-file-upload/utils/file-factory.js.map +1 -1
- package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -1
- package/dist/components/ds-file-upload/utils/generate-helper-text.js.map +1 -1
- package/dist/components/ds-file-upload/utils/get-error-message.js.map +1 -1
- package/dist/components/ds-file-upload/utils/is-file-equal.js.map +1 -1
- package/dist/components/ds-form-control/ds-form-control.cjs +119 -34
- package/dist/components/ds-form-control/ds-form-control.d.cts +7 -7
- package/dist/components/ds-form-control/ds-form-control.d.ts +7 -7
- package/dist/components/ds-form-control/ds-form-control.d.ts.map +1 -1
- package/dist/components/ds-form-control/ds-form-control.js +119 -34
- package/dist/components/ds-form-control/ds-form-control.js.map +1 -1
- package/dist/components/ds-form-control/ds-form-control.types.js.map +1 -1
- package/dist/components/ds-grid/ds-grid.js.map +1 -1
- package/dist/components/ds-icon/ds-icon.cjs +84 -13
- package/dist/components/ds-icon/ds-icon.js +84 -13
- package/dist/components/ds-icon/ds-icon.js.map +1 -1
- package/dist/components/ds-icon/ds-icon.types.d.cts.map +1 -1
- package/dist/components/ds-icon/ds-icon.types.js.map +1 -1
- package/dist/components/ds-modal/ds-modal.cjs +222 -55
- package/dist/components/ds-modal/ds-modal.d.cts +8 -8
- package/dist/components/ds-modal/ds-modal.d.ts +8 -8
- package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
- package/dist/components/ds-modal/ds-modal.js +222 -55
- package/dist/components/ds-modal/ds-modal.js.map +1 -1
- package/dist/components/ds-number-input/ds-number-input.cjs +136 -49
- package/dist/components/ds-number-input/ds-number-input.js +136 -49
- package/dist/components/ds-number-input/ds-number-input.js.map +1 -1
- package/dist/components/ds-panel/ds-panel.cjs +111 -19
- package/dist/components/ds-panel/ds-panel.d.cts +2 -2
- package/dist/components/ds-panel/ds-panel.d.cts.map +1 -1
- package/dist/components/ds-panel/ds-panel.d.ts +2 -2
- package/dist/components/ds-panel/ds-panel.js +111 -19
- package/dist/components/ds-panel/ds-panel.js.map +1 -1
- package/dist/components/ds-password-input/ds-password-input.cjs +108 -41
- package/dist/components/ds-password-input/ds-password-input.js +108 -41
- package/dist/components/ds-password-input/ds-password-input.js.map +1 -1
- package/dist/components/ds-popover/ds-popover.cjs +50 -12
- package/dist/components/ds-popover/ds-popover.js +50 -12
- package/dist/components/ds-popover/ds-popover.js.map +1 -1
- package/dist/components/ds-radio-group/ds-radio-group.cjs +209 -53
- package/dist/components/ds-radio-group/ds-radio-group.js +209 -53
- package/dist/components/ds-radio-group/ds-radio-group.js.map +1 -1
- package/dist/components/ds-segment-group/ds-segment-group.cjs +215 -0
- package/dist/components/ds-segment-group/ds-segment-group.d.cts +26 -0
- package/dist/components/ds-segment-group/ds-segment-group.d.cts.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.d.ts +26 -0
- package/dist/components/ds-segment-group/ds-segment-group.d.ts.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.js +214 -0
- package/dist/components/ds-segment-group/ds-segment-group.js.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.module.cjs +12 -0
- package/dist/components/ds-segment-group/ds-segment-group.module.js +12 -0
- package/dist/components/ds-segment-group/ds-segment-group.module.js.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.cjs +2 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.d.cts +52 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.d.cts.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.d.ts +52 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.d.ts.map +1 -0
- package/dist/components/ds-segment-group/ds-segment-group.types.js +2 -0
- package/dist/components/ds-segment-group/index.cjs +2 -0
- package/dist/components/ds-segment-group/index.d.ts +2 -0
- package/dist/components/ds-segment-group/index.js +2 -0
- package/dist/components/ds-select/ds-select.cjs +198 -89
- package/dist/components/ds-select/ds-select.d.cts +2 -2
- package/dist/components/ds-select/ds-select.d.cts.map +1 -1
- package/dist/components/ds-select/ds-select.d.ts +2 -2
- package/dist/components/ds-select/ds-select.js +198 -89
- package/dist/components/ds-select/ds-select.js.map +1 -1
- package/dist/components/ds-select/select-items-chips.cjs +73 -22
- package/dist/components/ds-select/select-items-chips.js +73 -22
- package/dist/components/ds-select/select-items-chips.js.map +1 -1
- package/dist/components/ds-smart-tabs/ds-smart-tabs.cjs +208 -46
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts.map +1 -1
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
- package/dist/components/ds-smart-tabs/ds-smart-tabs.js +208 -46
- package/dist/components/ds-smart-tabs/ds-smart-tabs.js.map +1 -1
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js.map +1 -1
- package/dist/components/ds-spinner/ds-spinner.cjs +90 -20
- package/dist/components/ds-spinner/ds-spinner.js +90 -20
- package/dist/components/ds-spinner/ds-spinner.js.map +1 -1
- package/dist/components/ds-spinner/ds-spinner.types.js.map +1 -1
- package/dist/components/ds-status-badge/ds-status-badge.cjs +54 -11
- package/dist/components/ds-status-badge/ds-status-badge.js +54 -11
- package/dist/components/ds-status-badge/ds-status-badge.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-content.cjs +59 -13
- package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-content.js +59 -13
- package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-description.cjs +14 -5
- package/dist/components/ds-stepper/components/ds-step-description.js +14 -5
- package/dist/components/ds-stepper/components/ds-step-description.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-label.cjs +14 -5
- package/dist/components/ds-stepper/components/ds-step-label.js +14 -5
- package/dist/components/ds-stepper/components/ds-step-label.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-next-button.cjs +23 -6
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-next-button.js +23 -6
- package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step.cjs +106 -25
- package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step.js +106 -25
- package/dist/components/ds-stepper/components/ds-step.js.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.cjs +62 -15
- package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
- package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -1
- package/dist/components/ds-stepper/ds-stepper.js +62 -15
- package/dist/components/ds-stepper/ds-stepper.js.map +1 -1
- package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -1
- package/dist/components/ds-stepper/hooks/use-steps.cjs +29 -9
- package/dist/components/ds-stepper/hooks/use-steps.js +29 -9
- package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -1
- package/dist/components/ds-system-status/ds-system-status.cjs +37 -7
- package/dist/components/ds-system-status/ds-system-status.js +37 -7
- package/dist/components/ds-system-status/ds-system-status.js.map +1 -1
- package/dist/components/ds-system-status/ds-system-status.types.js.map +1 -1
- package/dist/components/ds-table/components/core-table/core-table.cjs +281 -48
- package/dist/components/ds-table/components/core-table/core-table.js +281 -48
- package/dist/components/ds-table/components/core-table/core-table.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +134 -50
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +134 -50
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.cjs +140 -43
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js +140 -43
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.cjs +37 -6
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.js +37 -6
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +272 -100
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +272 -100
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -1
- package/dist/components/ds-table/context/ds-table-context.js.map +1 -1
- package/dist/components/ds-table/ds-table.cjs +15 -15
- package/dist/components/ds-table/ds-table.d.cts +2 -2
- package/dist/components/ds-table/ds-table.js +15 -15
- package/dist/components/ds-table/ds-table.js.map +1 -1
- package/dist/components/ds-table/hooks/use-drag-and-drop.cjs +126 -38
- package/dist/components/ds-table/hooks/use-drag-and-drop.js +126 -38
- package/dist/components/ds-table/hooks/use-drag-and-drop.js.map +1 -1
- package/dist/components/ds-table/utils/column-styling.js.map +1 -1
- package/dist/components/ds-table/utils/create-columns-grid-template.js.map +1 -1
- package/dist/components/ds-table/utils/merge-refs.js.map +1 -1
- package/dist/components/ds-text-input/ds-text-input.cjs +128 -43
- package/dist/components/ds-text-input/ds-text-input.js +128 -43
- package/dist/components/ds-text-input/ds-text-input.js.map +1 -1
- package/dist/components/ds-text-input/ds-text-input.types.js.map +1 -1
- package/dist/components/ds-textarea/ds-textarea.cjs +66 -22
- package/dist/components/ds-textarea/ds-textarea.js +66 -22
- package/dist/components/ds-textarea/ds-textarea.js.map +1 -1
- package/dist/components/ds-toast/ds-toast-context.cjs +62 -17
- package/dist/components/ds-toast/ds-toast-context.js +62 -17
- package/dist/components/ds-toast/ds-toast-context.js.map +1 -1
- package/dist/components/ds-toast/ds-toast.cjs +90 -26
- package/dist/components/ds-toast/ds-toast.js +90 -26
- package/dist/components/ds-toast/ds-toast.js.map +1 -1
- package/dist/components/ds-tooltip/ds-tooltip.cjs +51 -13
- package/dist/components/ds-tooltip/ds-tooltip.js +51 -13
- package/dist/components/ds-tooltip/ds-tooltip.js.map +1 -1
- package/dist/components/ds-typography/ds-typography.cjs +51 -7
- package/dist/components/ds-typography/ds-typography.config.js.map +1 -1
- package/dist/components/ds-typography/ds-typography.js +51 -7
- package/dist/components/ds-typography/ds-typography.js.map +1 -1
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.cjs +91 -30
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js +91 -30
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -1
- package/dist/index.min.css +1 -1
- package/package.json +8 -2
- package/src/components/ds-segment-group/ds-segment-group.module.scss +99 -0
- package/src/components/ds-segment-group/ds-segment-group.tsx +76 -0
- package/src/components/ds-segment-group/ds-segment-group.types.tsx +64 -0
- package/src/components/ds-segment-group/index.tsx +2 -0
- package/src/index.ts +1 -0
|
@@ -1,72 +1,305 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_core_table_module = require('./core-table.module.cjs');
|
|
3
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
3
4
|
let classnames = require("classnames");
|
|
4
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
5
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
7
|
|
|
7
8
|
//#region src/components/ds-table/components/core-table/core-table.tsx
|
|
8
|
-
function Table(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
function Table(t0) {
|
|
10
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
11
|
+
let className;
|
|
12
|
+
let props;
|
|
13
|
+
let ref;
|
|
14
|
+
if ($[0] !== t0) {
|
|
15
|
+
({className, ref, ...props} = t0);
|
|
16
|
+
$[0] = t0;
|
|
17
|
+
$[1] = className;
|
|
18
|
+
$[2] = props;
|
|
19
|
+
$[3] = ref;
|
|
20
|
+
} else {
|
|
21
|
+
className = $[1];
|
|
22
|
+
props = $[2];
|
|
23
|
+
ref = $[3];
|
|
24
|
+
}
|
|
25
|
+
let t1;
|
|
26
|
+
if ($[4] !== className) {
|
|
27
|
+
t1 = (0, classnames.default)(require_core_table_module.default.table, className);
|
|
28
|
+
$[4] = className;
|
|
29
|
+
$[5] = t1;
|
|
30
|
+
} else t1 = $[5];
|
|
31
|
+
let t2;
|
|
32
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
33
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
|
|
34
|
+
ref,
|
|
35
|
+
className: t1,
|
|
36
|
+
...props
|
|
37
|
+
});
|
|
38
|
+
$[6] = props;
|
|
39
|
+
$[7] = ref;
|
|
40
|
+
$[8] = t1;
|
|
41
|
+
$[9] = t2;
|
|
42
|
+
} else t2 = $[9];
|
|
43
|
+
return t2;
|
|
14
44
|
}
|
|
15
45
|
Table.displayName = "Table";
|
|
16
|
-
function TableHeader(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
46
|
+
function TableHeader(t0) {
|
|
47
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
48
|
+
let className;
|
|
49
|
+
let props;
|
|
50
|
+
let ref;
|
|
51
|
+
if ($[0] !== t0) {
|
|
52
|
+
({className, ref, ...props} = t0);
|
|
53
|
+
$[0] = t0;
|
|
54
|
+
$[1] = className;
|
|
55
|
+
$[2] = props;
|
|
56
|
+
$[3] = ref;
|
|
57
|
+
} else {
|
|
58
|
+
className = $[1];
|
|
59
|
+
props = $[2];
|
|
60
|
+
ref = $[3];
|
|
61
|
+
}
|
|
62
|
+
let t1;
|
|
63
|
+
if ($[4] !== className) {
|
|
64
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableHeader, className);
|
|
65
|
+
$[4] = className;
|
|
66
|
+
$[5] = t1;
|
|
67
|
+
} else t1 = $[5];
|
|
68
|
+
let t2;
|
|
69
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
70
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
|
|
71
|
+
ref,
|
|
72
|
+
className: t1,
|
|
73
|
+
...props
|
|
74
|
+
});
|
|
75
|
+
$[6] = props;
|
|
76
|
+
$[7] = ref;
|
|
77
|
+
$[8] = t1;
|
|
78
|
+
$[9] = t2;
|
|
79
|
+
} else t2 = $[9];
|
|
80
|
+
return t2;
|
|
22
81
|
}
|
|
23
82
|
TableHeader.displayName = "TableHeader";
|
|
24
|
-
function TableBody(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
83
|
+
function TableBody(t0) {
|
|
84
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
85
|
+
let className;
|
|
86
|
+
let props;
|
|
87
|
+
let ref;
|
|
88
|
+
if ($[0] !== t0) {
|
|
89
|
+
({className, ref, ...props} = t0);
|
|
90
|
+
$[0] = t0;
|
|
91
|
+
$[1] = className;
|
|
92
|
+
$[2] = props;
|
|
93
|
+
$[3] = ref;
|
|
94
|
+
} else {
|
|
95
|
+
className = $[1];
|
|
96
|
+
props = $[2];
|
|
97
|
+
ref = $[3];
|
|
98
|
+
}
|
|
99
|
+
let t1;
|
|
100
|
+
if ($[4] !== className) {
|
|
101
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableBody, className);
|
|
102
|
+
$[4] = className;
|
|
103
|
+
$[5] = t1;
|
|
104
|
+
} else t1 = $[5];
|
|
105
|
+
let t2;
|
|
106
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
107
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
|
|
108
|
+
ref,
|
|
109
|
+
className: t1,
|
|
110
|
+
...props
|
|
111
|
+
});
|
|
112
|
+
$[6] = props;
|
|
113
|
+
$[7] = ref;
|
|
114
|
+
$[8] = t1;
|
|
115
|
+
$[9] = t2;
|
|
116
|
+
} else t2 = $[9];
|
|
117
|
+
return t2;
|
|
30
118
|
}
|
|
31
119
|
TableBody.displayName = "TableBody";
|
|
32
|
-
function TableFooter(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
120
|
+
function TableFooter(t0) {
|
|
121
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
122
|
+
let className;
|
|
123
|
+
let props;
|
|
124
|
+
let ref;
|
|
125
|
+
if ($[0] !== t0) {
|
|
126
|
+
({className, ref, ...props} = t0);
|
|
127
|
+
$[0] = t0;
|
|
128
|
+
$[1] = className;
|
|
129
|
+
$[2] = props;
|
|
130
|
+
$[3] = ref;
|
|
131
|
+
} else {
|
|
132
|
+
className = $[1];
|
|
133
|
+
props = $[2];
|
|
134
|
+
ref = $[3];
|
|
135
|
+
}
|
|
136
|
+
let t1;
|
|
137
|
+
if ($[4] !== className) {
|
|
138
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableFooter, className);
|
|
139
|
+
$[4] = className;
|
|
140
|
+
$[5] = t1;
|
|
141
|
+
} else t1 = $[5];
|
|
142
|
+
let t2;
|
|
143
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
144
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
|
|
145
|
+
ref,
|
|
146
|
+
className: t1,
|
|
147
|
+
...props
|
|
148
|
+
});
|
|
149
|
+
$[6] = props;
|
|
150
|
+
$[7] = ref;
|
|
151
|
+
$[8] = t1;
|
|
152
|
+
$[9] = t2;
|
|
153
|
+
} else t2 = $[9];
|
|
154
|
+
return t2;
|
|
38
155
|
}
|
|
39
156
|
TableFooter.displayName = "TableFooter";
|
|
40
|
-
function TableRow(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
157
|
+
function TableRow(t0) {
|
|
158
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
159
|
+
let className;
|
|
160
|
+
let props;
|
|
161
|
+
let ref;
|
|
162
|
+
if ($[0] !== t0) {
|
|
163
|
+
({className, ref, ...props} = t0);
|
|
164
|
+
$[0] = t0;
|
|
165
|
+
$[1] = className;
|
|
166
|
+
$[2] = props;
|
|
167
|
+
$[3] = ref;
|
|
168
|
+
} else {
|
|
169
|
+
className = $[1];
|
|
170
|
+
props = $[2];
|
|
171
|
+
ref = $[3];
|
|
172
|
+
}
|
|
173
|
+
let t1;
|
|
174
|
+
if ($[4] !== className) {
|
|
175
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableRow, className);
|
|
176
|
+
$[4] = className;
|
|
177
|
+
$[5] = t1;
|
|
178
|
+
} else t1 = $[5];
|
|
179
|
+
let t2;
|
|
180
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
181
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
|
|
182
|
+
ref,
|
|
183
|
+
className: t1,
|
|
184
|
+
...props
|
|
185
|
+
});
|
|
186
|
+
$[6] = props;
|
|
187
|
+
$[7] = ref;
|
|
188
|
+
$[8] = t1;
|
|
189
|
+
$[9] = t2;
|
|
190
|
+
} else t2 = $[9];
|
|
191
|
+
return t2;
|
|
46
192
|
}
|
|
47
193
|
TableRow.displayName = "TableRow";
|
|
48
|
-
function TableHead(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
194
|
+
function TableHead(t0) {
|
|
195
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
196
|
+
let className;
|
|
197
|
+
let props;
|
|
198
|
+
let ref;
|
|
199
|
+
if ($[0] !== t0) {
|
|
200
|
+
({className, ref, ...props} = t0);
|
|
201
|
+
$[0] = t0;
|
|
202
|
+
$[1] = className;
|
|
203
|
+
$[2] = props;
|
|
204
|
+
$[3] = ref;
|
|
205
|
+
} else {
|
|
206
|
+
className = $[1];
|
|
207
|
+
props = $[2];
|
|
208
|
+
ref = $[3];
|
|
209
|
+
}
|
|
210
|
+
let t1;
|
|
211
|
+
if ($[4] !== className) {
|
|
212
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableHead, className);
|
|
213
|
+
$[4] = className;
|
|
214
|
+
$[5] = t1;
|
|
215
|
+
} else t1 = $[5];
|
|
216
|
+
let t2;
|
|
217
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
218
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
|
|
219
|
+
ref,
|
|
220
|
+
className: t1,
|
|
221
|
+
...props
|
|
222
|
+
});
|
|
223
|
+
$[6] = props;
|
|
224
|
+
$[7] = ref;
|
|
225
|
+
$[8] = t1;
|
|
226
|
+
$[9] = t2;
|
|
227
|
+
} else t2 = $[9];
|
|
228
|
+
return t2;
|
|
54
229
|
}
|
|
55
230
|
TableHead.displayName = "TableHead";
|
|
56
|
-
function TableCell(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
231
|
+
function TableCell(t0) {
|
|
232
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
233
|
+
let className;
|
|
234
|
+
let props;
|
|
235
|
+
let ref;
|
|
236
|
+
if ($[0] !== t0) {
|
|
237
|
+
({className, ref, ...props} = t0);
|
|
238
|
+
$[0] = t0;
|
|
239
|
+
$[1] = className;
|
|
240
|
+
$[2] = props;
|
|
241
|
+
$[3] = ref;
|
|
242
|
+
} else {
|
|
243
|
+
className = $[1];
|
|
244
|
+
props = $[2];
|
|
245
|
+
ref = $[3];
|
|
246
|
+
}
|
|
247
|
+
let t1;
|
|
248
|
+
if ($[4] !== className) {
|
|
249
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableCell, className);
|
|
250
|
+
$[4] = className;
|
|
251
|
+
$[5] = t1;
|
|
252
|
+
} else t1 = $[5];
|
|
253
|
+
let t2;
|
|
254
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
255
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
256
|
+
ref,
|
|
257
|
+
className: t1,
|
|
258
|
+
...props
|
|
259
|
+
});
|
|
260
|
+
$[6] = props;
|
|
261
|
+
$[7] = ref;
|
|
262
|
+
$[8] = t1;
|
|
263
|
+
$[9] = t2;
|
|
264
|
+
} else t2 = $[9];
|
|
265
|
+
return t2;
|
|
62
266
|
}
|
|
63
267
|
TableCell.displayName = "TableCell";
|
|
64
|
-
function TableCaption(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
268
|
+
function TableCaption(t0) {
|
|
269
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
270
|
+
let className;
|
|
271
|
+
let props;
|
|
272
|
+
let ref;
|
|
273
|
+
if ($[0] !== t0) {
|
|
274
|
+
({className, ref, ...props} = t0);
|
|
275
|
+
$[0] = t0;
|
|
276
|
+
$[1] = className;
|
|
277
|
+
$[2] = props;
|
|
278
|
+
$[3] = ref;
|
|
279
|
+
} else {
|
|
280
|
+
className = $[1];
|
|
281
|
+
props = $[2];
|
|
282
|
+
ref = $[3];
|
|
283
|
+
}
|
|
284
|
+
let t1;
|
|
285
|
+
if ($[4] !== className) {
|
|
286
|
+
t1 = (0, classnames.default)(require_core_table_module.default.tableCaption, className);
|
|
287
|
+
$[4] = className;
|
|
288
|
+
$[5] = t1;
|
|
289
|
+
} else t1 = $[5];
|
|
290
|
+
let t2;
|
|
291
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
292
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("caption", {
|
|
293
|
+
ref,
|
|
294
|
+
className: t1,
|
|
295
|
+
...props
|
|
296
|
+
});
|
|
297
|
+
$[6] = props;
|
|
298
|
+
$[7] = ref;
|
|
299
|
+
$[8] = t1;
|
|
300
|
+
$[9] = t2;
|
|
301
|
+
} else t2 = $[9];
|
|
302
|
+
return t2;
|
|
70
303
|
}
|
|
71
304
|
TableCaption.displayName = "TableCaption";
|
|
72
305
|
|
|
@@ -1,70 +1,303 @@
|
|
|
1
1
|
import core_table_module_default from "./core-table.module.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import classNames from "classnames";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
|
|
5
6
|
//#region src/components/ds-table/components/core-table/core-table.tsx
|
|
6
|
-
function Table(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
function Table(t0) {
|
|
8
|
+
const $ = c(10);
|
|
9
|
+
let className;
|
|
10
|
+
let props;
|
|
11
|
+
let ref;
|
|
12
|
+
if ($[0] !== t0) {
|
|
13
|
+
({className, ref, ...props} = t0);
|
|
14
|
+
$[0] = t0;
|
|
15
|
+
$[1] = className;
|
|
16
|
+
$[2] = props;
|
|
17
|
+
$[3] = ref;
|
|
18
|
+
} else {
|
|
19
|
+
className = $[1];
|
|
20
|
+
props = $[2];
|
|
21
|
+
ref = $[3];
|
|
22
|
+
}
|
|
23
|
+
let t1;
|
|
24
|
+
if ($[4] !== className) {
|
|
25
|
+
t1 = classNames(core_table_module_default.table, className);
|
|
26
|
+
$[4] = className;
|
|
27
|
+
$[5] = t1;
|
|
28
|
+
} else t1 = $[5];
|
|
29
|
+
let t2;
|
|
30
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
31
|
+
t2 = /* @__PURE__ */ jsx("table", {
|
|
32
|
+
ref,
|
|
33
|
+
className: t1,
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
$[6] = props;
|
|
37
|
+
$[7] = ref;
|
|
38
|
+
$[8] = t1;
|
|
39
|
+
$[9] = t2;
|
|
40
|
+
} else t2 = $[9];
|
|
41
|
+
return t2;
|
|
12
42
|
}
|
|
13
43
|
Table.displayName = "Table";
|
|
14
|
-
function TableHeader(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
44
|
+
function TableHeader(t0) {
|
|
45
|
+
const $ = c(10);
|
|
46
|
+
let className;
|
|
47
|
+
let props;
|
|
48
|
+
let ref;
|
|
49
|
+
if ($[0] !== t0) {
|
|
50
|
+
({className, ref, ...props} = t0);
|
|
51
|
+
$[0] = t0;
|
|
52
|
+
$[1] = className;
|
|
53
|
+
$[2] = props;
|
|
54
|
+
$[3] = ref;
|
|
55
|
+
} else {
|
|
56
|
+
className = $[1];
|
|
57
|
+
props = $[2];
|
|
58
|
+
ref = $[3];
|
|
59
|
+
}
|
|
60
|
+
let t1;
|
|
61
|
+
if ($[4] !== className) {
|
|
62
|
+
t1 = classNames(core_table_module_default.tableHeader, className);
|
|
63
|
+
$[4] = className;
|
|
64
|
+
$[5] = t1;
|
|
65
|
+
} else t1 = $[5];
|
|
66
|
+
let t2;
|
|
67
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
68
|
+
t2 = /* @__PURE__ */ jsx("thead", {
|
|
69
|
+
ref,
|
|
70
|
+
className: t1,
|
|
71
|
+
...props
|
|
72
|
+
});
|
|
73
|
+
$[6] = props;
|
|
74
|
+
$[7] = ref;
|
|
75
|
+
$[8] = t1;
|
|
76
|
+
$[9] = t2;
|
|
77
|
+
} else t2 = $[9];
|
|
78
|
+
return t2;
|
|
20
79
|
}
|
|
21
80
|
TableHeader.displayName = "TableHeader";
|
|
22
|
-
function TableBody(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
81
|
+
function TableBody(t0) {
|
|
82
|
+
const $ = c(10);
|
|
83
|
+
let className;
|
|
84
|
+
let props;
|
|
85
|
+
let ref;
|
|
86
|
+
if ($[0] !== t0) {
|
|
87
|
+
({className, ref, ...props} = t0);
|
|
88
|
+
$[0] = t0;
|
|
89
|
+
$[1] = className;
|
|
90
|
+
$[2] = props;
|
|
91
|
+
$[3] = ref;
|
|
92
|
+
} else {
|
|
93
|
+
className = $[1];
|
|
94
|
+
props = $[2];
|
|
95
|
+
ref = $[3];
|
|
96
|
+
}
|
|
97
|
+
let t1;
|
|
98
|
+
if ($[4] !== className) {
|
|
99
|
+
t1 = classNames(core_table_module_default.tableBody, className);
|
|
100
|
+
$[4] = className;
|
|
101
|
+
$[5] = t1;
|
|
102
|
+
} else t1 = $[5];
|
|
103
|
+
let t2;
|
|
104
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
105
|
+
t2 = /* @__PURE__ */ jsx("tbody", {
|
|
106
|
+
ref,
|
|
107
|
+
className: t1,
|
|
108
|
+
...props
|
|
109
|
+
});
|
|
110
|
+
$[6] = props;
|
|
111
|
+
$[7] = ref;
|
|
112
|
+
$[8] = t1;
|
|
113
|
+
$[9] = t2;
|
|
114
|
+
} else t2 = $[9];
|
|
115
|
+
return t2;
|
|
28
116
|
}
|
|
29
117
|
TableBody.displayName = "TableBody";
|
|
30
|
-
function TableFooter(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
118
|
+
function TableFooter(t0) {
|
|
119
|
+
const $ = c(10);
|
|
120
|
+
let className;
|
|
121
|
+
let props;
|
|
122
|
+
let ref;
|
|
123
|
+
if ($[0] !== t0) {
|
|
124
|
+
({className, ref, ...props} = t0);
|
|
125
|
+
$[0] = t0;
|
|
126
|
+
$[1] = className;
|
|
127
|
+
$[2] = props;
|
|
128
|
+
$[3] = ref;
|
|
129
|
+
} else {
|
|
130
|
+
className = $[1];
|
|
131
|
+
props = $[2];
|
|
132
|
+
ref = $[3];
|
|
133
|
+
}
|
|
134
|
+
let t1;
|
|
135
|
+
if ($[4] !== className) {
|
|
136
|
+
t1 = classNames(core_table_module_default.tableFooter, className);
|
|
137
|
+
$[4] = className;
|
|
138
|
+
$[5] = t1;
|
|
139
|
+
} else t1 = $[5];
|
|
140
|
+
let t2;
|
|
141
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
142
|
+
t2 = /* @__PURE__ */ jsx("tfoot", {
|
|
143
|
+
ref,
|
|
144
|
+
className: t1,
|
|
145
|
+
...props
|
|
146
|
+
});
|
|
147
|
+
$[6] = props;
|
|
148
|
+
$[7] = ref;
|
|
149
|
+
$[8] = t1;
|
|
150
|
+
$[9] = t2;
|
|
151
|
+
} else t2 = $[9];
|
|
152
|
+
return t2;
|
|
36
153
|
}
|
|
37
154
|
TableFooter.displayName = "TableFooter";
|
|
38
|
-
function TableRow(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
155
|
+
function TableRow(t0) {
|
|
156
|
+
const $ = c(10);
|
|
157
|
+
let className;
|
|
158
|
+
let props;
|
|
159
|
+
let ref;
|
|
160
|
+
if ($[0] !== t0) {
|
|
161
|
+
({className, ref, ...props} = t0);
|
|
162
|
+
$[0] = t0;
|
|
163
|
+
$[1] = className;
|
|
164
|
+
$[2] = props;
|
|
165
|
+
$[3] = ref;
|
|
166
|
+
} else {
|
|
167
|
+
className = $[1];
|
|
168
|
+
props = $[2];
|
|
169
|
+
ref = $[3];
|
|
170
|
+
}
|
|
171
|
+
let t1;
|
|
172
|
+
if ($[4] !== className) {
|
|
173
|
+
t1 = classNames(core_table_module_default.tableRow, className);
|
|
174
|
+
$[4] = className;
|
|
175
|
+
$[5] = t1;
|
|
176
|
+
} else t1 = $[5];
|
|
177
|
+
let t2;
|
|
178
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
179
|
+
t2 = /* @__PURE__ */ jsx("tr", {
|
|
180
|
+
ref,
|
|
181
|
+
className: t1,
|
|
182
|
+
...props
|
|
183
|
+
});
|
|
184
|
+
$[6] = props;
|
|
185
|
+
$[7] = ref;
|
|
186
|
+
$[8] = t1;
|
|
187
|
+
$[9] = t2;
|
|
188
|
+
} else t2 = $[9];
|
|
189
|
+
return t2;
|
|
44
190
|
}
|
|
45
191
|
TableRow.displayName = "TableRow";
|
|
46
|
-
function TableHead(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
192
|
+
function TableHead(t0) {
|
|
193
|
+
const $ = c(10);
|
|
194
|
+
let className;
|
|
195
|
+
let props;
|
|
196
|
+
let ref;
|
|
197
|
+
if ($[0] !== t0) {
|
|
198
|
+
({className, ref, ...props} = t0);
|
|
199
|
+
$[0] = t0;
|
|
200
|
+
$[1] = className;
|
|
201
|
+
$[2] = props;
|
|
202
|
+
$[3] = ref;
|
|
203
|
+
} else {
|
|
204
|
+
className = $[1];
|
|
205
|
+
props = $[2];
|
|
206
|
+
ref = $[3];
|
|
207
|
+
}
|
|
208
|
+
let t1;
|
|
209
|
+
if ($[4] !== className) {
|
|
210
|
+
t1 = classNames(core_table_module_default.tableHead, className);
|
|
211
|
+
$[4] = className;
|
|
212
|
+
$[5] = t1;
|
|
213
|
+
} else t1 = $[5];
|
|
214
|
+
let t2;
|
|
215
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
216
|
+
t2 = /* @__PURE__ */ jsx("th", {
|
|
217
|
+
ref,
|
|
218
|
+
className: t1,
|
|
219
|
+
...props
|
|
220
|
+
});
|
|
221
|
+
$[6] = props;
|
|
222
|
+
$[7] = ref;
|
|
223
|
+
$[8] = t1;
|
|
224
|
+
$[9] = t2;
|
|
225
|
+
} else t2 = $[9];
|
|
226
|
+
return t2;
|
|
52
227
|
}
|
|
53
228
|
TableHead.displayName = "TableHead";
|
|
54
|
-
function TableCell(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
229
|
+
function TableCell(t0) {
|
|
230
|
+
const $ = c(10);
|
|
231
|
+
let className;
|
|
232
|
+
let props;
|
|
233
|
+
let ref;
|
|
234
|
+
if ($[0] !== t0) {
|
|
235
|
+
({className, ref, ...props} = t0);
|
|
236
|
+
$[0] = t0;
|
|
237
|
+
$[1] = className;
|
|
238
|
+
$[2] = props;
|
|
239
|
+
$[3] = ref;
|
|
240
|
+
} else {
|
|
241
|
+
className = $[1];
|
|
242
|
+
props = $[2];
|
|
243
|
+
ref = $[3];
|
|
244
|
+
}
|
|
245
|
+
let t1;
|
|
246
|
+
if ($[4] !== className) {
|
|
247
|
+
t1 = classNames(core_table_module_default.tableCell, className);
|
|
248
|
+
$[4] = className;
|
|
249
|
+
$[5] = t1;
|
|
250
|
+
} else t1 = $[5];
|
|
251
|
+
let t2;
|
|
252
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
253
|
+
t2 = /* @__PURE__ */ jsx("td", {
|
|
254
|
+
ref,
|
|
255
|
+
className: t1,
|
|
256
|
+
...props
|
|
257
|
+
});
|
|
258
|
+
$[6] = props;
|
|
259
|
+
$[7] = ref;
|
|
260
|
+
$[8] = t1;
|
|
261
|
+
$[9] = t2;
|
|
262
|
+
} else t2 = $[9];
|
|
263
|
+
return t2;
|
|
60
264
|
}
|
|
61
265
|
TableCell.displayName = "TableCell";
|
|
62
|
-
function TableCaption(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
266
|
+
function TableCaption(t0) {
|
|
267
|
+
const $ = c(10);
|
|
268
|
+
let className;
|
|
269
|
+
let props;
|
|
270
|
+
let ref;
|
|
271
|
+
if ($[0] !== t0) {
|
|
272
|
+
({className, ref, ...props} = t0);
|
|
273
|
+
$[0] = t0;
|
|
274
|
+
$[1] = className;
|
|
275
|
+
$[2] = props;
|
|
276
|
+
$[3] = ref;
|
|
277
|
+
} else {
|
|
278
|
+
className = $[1];
|
|
279
|
+
props = $[2];
|
|
280
|
+
ref = $[3];
|
|
281
|
+
}
|
|
282
|
+
let t1;
|
|
283
|
+
if ($[4] !== className) {
|
|
284
|
+
t1 = classNames(core_table_module_default.tableCaption, className);
|
|
285
|
+
$[4] = className;
|
|
286
|
+
$[5] = t1;
|
|
287
|
+
} else t1 = $[5];
|
|
288
|
+
let t2;
|
|
289
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
290
|
+
t2 = /* @__PURE__ */ jsx("caption", {
|
|
291
|
+
ref,
|
|
292
|
+
className: t1,
|
|
293
|
+
...props
|
|
294
|
+
});
|
|
295
|
+
$[6] = props;
|
|
296
|
+
$[7] = ref;
|
|
297
|
+
$[8] = t1;
|
|
298
|
+
$[9] = t2;
|
|
299
|
+
} else t2 = $[9];
|
|
300
|
+
return t2;
|
|
68
301
|
}
|
|
69
302
|
TableCaption.displayName = "TableCaption";
|
|
70
303
|
|