@drivenets/design-system 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/index.cjs +868 -200
- package/dist/index.d.cts +810 -1181
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +810 -1181
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +852 -196
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +15 -13
- package/src/components/ds-alert-banner/ds-alert-banner.tsx +11 -2
- package/src/components/ds-autocomplete/ds-autocomplete.figma.ts +36 -0
- package/src/components/ds-autocomplete/ds-autocomplete.tsx +2 -0
- package/src/components/ds-avatar/ds-avatar.figma.ts +30 -0
- package/src/components/ds-avatar/ds-avatar.tsx +6 -1
- package/src/components/ds-avatar/ds-avatar.types.ts +5 -2
- package/src/components/ds-avatar-group/ds-avatar-group.figma.ts +27 -0
- package/src/components/ds-avatar-group/ds-avatar-group.tsx +6 -1
- package/src/components/ds-avatar-group/ds-avatar-group.types.ts +3 -1
- package/src/components/ds-breadcrumb/ds-breadcrumb.figma.ts +19 -0
- package/src/components/ds-breadcrumb/ds-breadcrumb.tsx +2 -0
- package/src/components/ds-button/ds-button.tsx +2 -0
- package/src/components/ds-button-v3/ds-button-v3.figma.ts +1 -1
- package/src/components/ds-button-v3/ds-button-v3.tsx +6 -0
- package/src/components/ds-button-v3/index.ts +2 -0
- package/src/components/ds-card/ds-card.tsx +7 -3
- package/src/components/ds-catalog-layout/ds-catalog-layout.tsx +8 -0
- package/src/components/ds-checkbox/ds-checkbox-level-2.figma.ts +40 -0
- package/src/components/ds-checkbox/ds-checkbox.figma.ts +45 -0
- package/src/components/ds-checkbox/ds-checkbox.module.scss +1 -1
- package/src/components/ds-checkbox/ds-checkbox.tsx +9 -1
- package/src/components/ds-checkbox-group/ds-checkbox-group.figma.ts +15 -0
- package/src/components/ds-checkbox-group/ds-checkbox-group.tsx +2 -0
- package/src/components/ds-chip/ds-chip.tsx +2 -0
- package/src/components/ds-chip-group/ds-chip-group.tsx +2 -0
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.tsx +1 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx +1 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +1 -0
- package/src/components/ds-comment-card/ds-comment-card.tsx +1 -0
- package/src/components/ds-comment-indicator/ds-comment-indicator.tsx +1 -0
- package/src/components/ds-comments-drawer/ds-comments-drawer.tsx +1 -0
- package/src/components/ds-confirmation/ds-confirmation.tsx +1 -0
- package/src/components/ds-date-input/ds-date-input.tsx +2 -0
- package/src/components/ds-date-picker/ds-date-picker.tsx +9 -0
- package/src/components/ds-date-picker/ds-date-picker.types.ts +1 -1
- package/src/components/ds-date-range-picker/ds-date-range-picker.tsx +2 -0
- package/src/components/ds-dialog/ds-dialog.tsx +9 -0
- package/src/components/ds-dialog/ds-dialog.types.ts +1 -1
- package/src/components/ds-divider/ds-divider.figma.ts +19 -0
- package/src/components/ds-divider/ds-divider.tsx +2 -0
- package/src/components/ds-drawer/ds-drawer.tsx +10 -0
- package/src/components/ds-drawer/figma/ds-drawer-content.figma.ts +15 -0
- package/src/components/ds-drawer/figma/ds-drawer-footer.figma.ts +19 -0
- package/src/components/ds-drawer/figma/ds-drawer-header.figma.ts +16 -0
- package/src/components/ds-drawer/figma/ds-drawer.figma.ts +36 -0
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +12 -3
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +24 -6
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts +10 -1
- package/src/components/ds-dropdown-menu/figma/ds-dropdown-menu-footer.figma.ts +11 -0
- package/src/components/ds-dropdown-menu/figma/ds-dropdown-menu-group.figma.ts +23 -0
- package/src/components/ds-dropdown-menu/figma/ds-dropdown-menu-item.figma.ts +29 -0
- package/src/components/ds-dropdown-menu/figma/ds-dropdown-menu-separator.figma.ts +11 -0
- package/src/components/ds-dropdown-menu/figma/ds-dropdown-menu.figma.ts +24 -0
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.figma.ts +24 -0
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.tsx +1 -0
- package/src/components/ds-file-upload/ds-file-upload.figma.ts +29 -0
- package/src/components/ds-file-upload/ds-file-upload.tsx +2 -0
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.figma.ts +22 -0
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.tsx +1 -0
- package/src/components/ds-form-control/ds-form-control.tsx +3 -0
- package/src/components/ds-grid/index.ts +3 -0
- package/src/components/ds-icon/ds-icon.tsx +2 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.figma.ts +24 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.tsx +2 -0
- package/src/components/ds-loader/ds-loader.figma.ts +11 -0
- package/src/components/ds-loader/ds-loader.tsx +2 -0
- package/src/components/ds-modal/ds-modal.tsx +9 -0
- package/src/components/ds-number-input/ds-number-input.tsx +2 -0
- package/src/components/ds-panel/ds-panel.figma.ts +16 -0
- package/src/components/ds-panel/index.ts +2 -0
- package/src/components/ds-password-input/ds-password-input.tsx +2 -0
- package/src/components/ds-popover/ds-popover.tsx +9 -0
- package/src/components/ds-popover/figma/ds-popover-content-item.figma.ts +18 -0
- package/src/components/ds-popover/figma/ds-popover-content.figma.ts +15 -0
- package/src/components/ds-popover/figma/ds-popover-footer.figma.ts +19 -0
- package/src/components/ds-popover/figma/ds-popover-header.figma.ts +16 -0
- package/src/components/ds-popover/figma/ds-popover.figma.ts +34 -0
- package/src/components/ds-progress-arc/ds-progress-arc.figma.ts +23 -0
- package/src/components/ds-progress-arc/ds-progress-arc.tsx +2 -0
- package/src/components/ds-progress-donut/ds-progress-donut.figma.ts +45 -0
- package/src/components/ds-progress-donut/ds-progress-donut.tsx +2 -0
- package/src/components/ds-progress-linear/ds-progress-linear.figma.ts +26 -0
- package/src/components/ds-progress-linear/ds-progress-linear.tsx +2 -0
- package/src/components/ds-progress-task-bar/ds-progress-task-bar.tsx +2 -0
- package/src/components/ds-radio-group/ds-radio-group.tsx +3 -0
- package/src/components/ds-radio-group/figma/ds-radio-group-item.figma.ts +24 -0
- package/src/components/ds-radio-group/figma/ds-radio-group.figma.ts +14 -0
- package/src/components/ds-segment-group/ds-segment-group.tsx +3 -0
- package/src/components/ds-segment-group/figma/ds-segment-group-item.figma.ts +25 -0
- package/src/components/ds-segment-group/figma/ds-segment-group.figma.ts +23 -0
- package/src/components/ds-select/ds-select.tsx +2 -0
- package/src/components/ds-site-node/ds-site-node.figma.ts +27 -0
- package/src/components/ds-site-node/ds-site-node.module.scss +59 -0
- package/src/components/ds-site-node/ds-site-node.tsx +73 -0
- package/src/components/ds-site-node/ds-site-node.types.ts +36 -0
- package/src/components/ds-site-node/hooks/use-is-overflowing.ts +31 -0
- package/src/components/ds-site-node/index.ts +3 -0
- package/src/components/ds-skeleton/ds-skeleton-circle.tsx +2 -0
- package/src/components/ds-skeleton/ds-skeleton-rect.tsx +2 -0
- package/src/components/ds-skeleton/ds-skeleton-text.tsx +2 -0
- package/src/components/ds-skeleton/ds-skeleton.ts +7 -1
- package/src/components/ds-smart-tabs/ds-smart-tabs.tsx +4 -0
- package/src/components/ds-spinner/ds-spinner.figma.ts +19 -0
- package/src/components/ds-spinner/ds-spinner.tsx +2 -0
- package/src/components/ds-split-button/ds-split-button.tsx +6 -0
- package/src/components/ds-status-badge/ds-status-badge.tsx +2 -0
- package/src/components/ds-status-badge-v2/index.ts +2 -0
- package/src/components/ds-stepper/components/ds-step-content.tsx +2 -0
- package/src/components/ds-stepper/components/ds-step-next-button.tsx +2 -0
- package/src/components/ds-stepper/components/ds-step.tsx +2 -0
- package/src/components/ds-stepper/ds-stepper.figma.ts +38 -0
- package/src/components/ds-stepper/ds-stepper.tsx +1 -0
- package/src/components/ds-system-status/ds-system-status.tsx +2 -0
- package/src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-checkbox.tsx +1 -0
- package/src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-date.tsx +1 -0
- package/src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-number.tsx +1 -0
- package/src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-select.tsx +1 -0
- package/src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-text.tsx +1 -0
- package/src/components/ds-table/components/edit/ds-table-editable-cell/ds-table-editable-cell.tsx +1 -0
- package/src/components/ds-table/components/edit/ds-table-editing-cell/ds-table-editing-cell.tsx +1 -0
- package/src/components/ds-table/ds-table.tsx +2 -0
- package/src/components/ds-table/index.ts +3 -0
- package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.tsx +2 -0
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.tsx +2 -0
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx +2 -0
- package/src/components/ds-tabs/ds-tabs.tsx +2 -0
- package/src/components/ds-tag/ds-tag.tsx +2 -0
- package/src/components/ds-tag-filter/ds-tag-filter.tsx +2 -0
- package/src/components/ds-text-input/ds-input-field-v02.figma.ts +87 -0
- package/src/components/ds-text-input/ds-text-input.tsx +2 -0
- package/src/components/ds-textarea/ds-textarea.tsx +2 -0
- package/src/components/ds-time-picker/ds-time-picker.tsx +2 -0
- package/src/components/ds-toast/ds-toast-context.tsx +1 -0
- package/src/components/ds-toast/ds-toast.figma.ts +34 -0
- package/src/components/ds-toast/ds-toast.tsx +3 -0
- package/src/components/ds-toggle/ds-toggle.figma.ts +39 -0
- package/src/components/ds-toggle/ds-toggle.tsx +2 -0
- package/src/components/ds-tooltip/ds-tooltip.figma.ts +16 -0
- package/src/components/ds-tooltip/ds-tooltip.module.scss +8 -1
- package/src/components/ds-tooltip/ds-tooltip.tsx +35 -15
- package/src/components/ds-tooltip/ds-tooltip.types.ts +40 -0
- package/src/components/ds-tree/ds-tree.tsx +16 -0
- package/src/components/ds-typography/ds-typography.config.ts +1 -1
- package/src/components/ds-typography/ds-typography.figma.ts +63 -0
- package/src/components/ds-typography/ds-typography.module.scss +16 -0
- package/src/components/ds-typography/ds-typography.tsx +64 -7
- package/src/components/ds-typography/ds-typography.types.ts +13 -0
- package/src/components/ds-typography/hooks/use-truncation.ts +151 -0
- package/src/components/ds-user-card/ds-user-card.figma.ts +16 -0
- package/src/components/ds-user-card/ds-user-card.module.scss +25 -0
- package/src/components/ds-user-card/ds-user-card.tsx +31 -0
- package/src/components/ds-user-card/ds-user-card.types.ts +26 -0
- package/src/components/ds-user-card/index.ts +2 -0
- package/src/components/ds-vertical-tabs/ds-vertical-tabs.tsx +6 -0
- package/src/components/ds-workspace-layout/ds-workspace-layout.tsx +10 -0
- package/src/index.ts +2 -0
- package/src/styles/_root.scss +468 -363
- package/src/styles/shared/_dropdown.scss +2 -2
- package/src/styles/styles.scss +0 -3
- package/src/styles/_colors.scss +0 -65
- package/src/styles/_root_new.scss +0 -451
- package/src/styles/_spacing.scss +0 -47
package/dist/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import React, { Children, Fragment as Fragment$1, createContext, createElement, isValidElement, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
6
6
|
import { FileUpload as FileUpload$1, NumberInput, PasswordInput, Progress, Toast, Toaster, ark, createToaster } from "@ark-ui/react";
|
|
7
|
+
import { Tooltip } from "@ark-ui/react/tooltip";
|
|
8
|
+
import { Portal } from "@ark-ui/react/portal";
|
|
7
9
|
import { Combobox, createListCollection } from "@ark-ui/react/combobox";
|
|
8
10
|
import { useFilter } from "@ark-ui/react/locale";
|
|
9
11
|
import { Highlight } from "@ark-ui/react/highlight";
|
|
10
|
-
import { Portal } from "@ark-ui/react/portal";
|
|
11
12
|
import { Avatar } from "@ark-ui/react/avatar";
|
|
12
|
-
import * as Tooltip from "@radix-ui/react-tooltip";
|
|
13
13
|
import { Link, useLocation } from "@tanstack/react-router";
|
|
14
14
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
15
15
|
import { Menu } from "@ark-ui/react/menu";
|
|
@@ -28,7 +28,7 @@ import { RadioGroup } from "@ark-ui/react/radio-group";
|
|
|
28
28
|
import { SegmentGroup } from "@ark-ui/react/segment-group";
|
|
29
29
|
import * as steps from "@zag-js/steps";
|
|
30
30
|
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
31
|
-
import { defaultColumnSizing, flexRender, getCoreRowModel, getExpandedRowModel, getFilteredRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
|
|
31
|
+
import { createColumnHelper, defaultColumnSizing, flexRender, getCoreRowModel, getExpandedRowModel, getFilteredRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
|
|
32
32
|
import { SortableContext, arrayMove, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
33
33
|
import { CSS } from "@dnd-kit/utilities";
|
|
34
34
|
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
@@ -2858,6 +2858,7 @@ const DsIcon = (t0) => {
|
|
|
2858
2858
|
} else t8 = $[29];
|
|
2859
2859
|
return t8;
|
|
2860
2860
|
};
|
|
2861
|
+
DsIcon.displayName = "DsIcon";
|
|
2861
2862
|
//#endregion
|
|
2862
2863
|
//#region src/components/ds-typography/ds-typography.config.ts
|
|
2863
2864
|
const typographyVariantConfig = {
|
|
@@ -2954,7 +2955,7 @@ const typographyVariantConfig = {
|
|
|
2954
2955
|
component: ark.h4
|
|
2955
2956
|
}
|
|
2956
2957
|
};
|
|
2957
|
-
/** Semantic text colors backed by `--font-*` tokens in `
|
|
2958
|
+
/** Semantic text colors backed by `--font-*` tokens in `_root.scss`. */
|
|
2958
2959
|
const typographyColors = [
|
|
2959
2960
|
"main",
|
|
2960
2961
|
"secondary",
|
|
@@ -2974,6 +2975,228 @@ const typographyColors = [
|
|
|
2974
2975
|
"code"
|
|
2975
2976
|
];
|
|
2976
2977
|
//#endregion
|
|
2978
|
+
//#region src/components/ds-typography/hooks/use-truncation.ts
|
|
2979
|
+
const OVERFLOW_TOLERANCE_PX = 1;
|
|
2980
|
+
const FALLBACK_LINE_HEIGHT_RATIO = 1.2;
|
|
2981
|
+
const DEFAULT_FONT_SIZE_PX = 16;
|
|
2982
|
+
const ELLIPSIS = "…";
|
|
2983
|
+
const ellipsisWidthCache = /* @__PURE__ */ new Map();
|
|
2984
|
+
let ellipsisMeasureSpan = null;
|
|
2985
|
+
const measureEllipsisWidth = (computed) => {
|
|
2986
|
+
const cacheKey = `${computed.fontStyle}|${computed.fontWeight}|${computed.fontSize}|${computed.fontFamily}|${computed.letterSpacing}`;
|
|
2987
|
+
const cached = ellipsisWidthCache.get(cacheKey);
|
|
2988
|
+
if (cached !== void 0) return cached;
|
|
2989
|
+
ellipsisMeasureSpan ??= document.createElement("span");
|
|
2990
|
+
const span = ellipsisMeasureSpan;
|
|
2991
|
+
span.textContent = ELLIPSIS;
|
|
2992
|
+
span.style.position = "absolute";
|
|
2993
|
+
span.style.visibility = "hidden";
|
|
2994
|
+
span.style.whiteSpace = "pre";
|
|
2995
|
+
span.style.fontStyle = computed.fontStyle;
|
|
2996
|
+
span.style.fontWeight = computed.fontWeight;
|
|
2997
|
+
span.style.fontSize = computed.fontSize;
|
|
2998
|
+
span.style.fontFamily = computed.fontFamily;
|
|
2999
|
+
span.style.letterSpacing = computed.letterSpacing;
|
|
3000
|
+
document.body.appendChild(span);
|
|
3001
|
+
const width = span.getBoundingClientRect().width;
|
|
3002
|
+
span.remove();
|
|
3003
|
+
ellipsisWidthCache.set(cacheKey, width);
|
|
3004
|
+
return width;
|
|
3005
|
+
};
|
|
3006
|
+
let measureRange = null;
|
|
3007
|
+
const measureFittingPrefixRight = (textNode, maxRight) => {
|
|
3008
|
+
measureRange ??= document.createRange();
|
|
3009
|
+
const range = measureRange;
|
|
3010
|
+
let low = 0;
|
|
3011
|
+
let high = textNode.length;
|
|
3012
|
+
let fittingLength = 0;
|
|
3013
|
+
while (low <= high) {
|
|
3014
|
+
const mid = low + high >>> 1;
|
|
3015
|
+
range.setStart(textNode, 0);
|
|
3016
|
+
range.setEnd(textNode, mid);
|
|
3017
|
+
if (range.getBoundingClientRect().right <= maxRight) {
|
|
3018
|
+
fittingLength = mid;
|
|
3019
|
+
low = mid + 1;
|
|
3020
|
+
} else high = mid - 1;
|
|
3021
|
+
}
|
|
3022
|
+
range.setStart(textNode, 0);
|
|
3023
|
+
range.setEnd(textNode, fittingLength);
|
|
3024
|
+
return range.getBoundingClientRect().right;
|
|
3025
|
+
};
|
|
3026
|
+
const getFirstTextNode = (element) => element.firstChild instanceof Text ? element.firstChild : null;
|
|
3027
|
+
const useTruncation = (ref, enabled, deps = []) => {
|
|
3028
|
+
const [isTruncated, setIsTruncated] = useState(false);
|
|
3029
|
+
useLayoutEffect(() => {
|
|
3030
|
+
const element = ref.current;
|
|
3031
|
+
if (!enabled || !element) {
|
|
3032
|
+
setIsTruncated(false);
|
|
3033
|
+
return;
|
|
3034
|
+
}
|
|
3035
|
+
const measure = () => {
|
|
3036
|
+
const overflowsHorizontally = element.scrollWidth - element.clientWidth > OVERFLOW_TOLERANCE_PX;
|
|
3037
|
+
const overflowsVertically = element.scrollHeight - element.clientHeight > OVERFLOW_TOLERANCE_PX;
|
|
3038
|
+
setIsTruncated(overflowsHorizontally || overflowsVertically);
|
|
3039
|
+
};
|
|
3040
|
+
const rafId = requestAnimationFrame(measure);
|
|
3041
|
+
const resizeObserver = new ResizeObserver(() => requestAnimationFrame(measure));
|
|
3042
|
+
resizeObserver.observe(element);
|
|
3043
|
+
return () => {
|
|
3044
|
+
cancelAnimationFrame(rafId);
|
|
3045
|
+
resizeObserver.disconnect();
|
|
3046
|
+
};
|
|
3047
|
+
}, [
|
|
3048
|
+
ref,
|
|
3049
|
+
enabled,
|
|
3050
|
+
...deps
|
|
3051
|
+
]);
|
|
3052
|
+
return {
|
|
3053
|
+
isTruncated,
|
|
3054
|
+
getAnchorRect: useCallback(() => {
|
|
3055
|
+
const element = ref.current;
|
|
3056
|
+
if (!element) return null;
|
|
3057
|
+
const rect = element.getBoundingClientRect();
|
|
3058
|
+
const computed = getComputedStyle(element);
|
|
3059
|
+
const paddingRight = parseFloat(computed.paddingRight) || 0;
|
|
3060
|
+
const borderRight = parseFloat(computed.borderRightWidth) || 0;
|
|
3061
|
+
const paddingBottom = parseFloat(computed.paddingBottom) || 0;
|
|
3062
|
+
const borderBottom = parseFloat(computed.borderBottomWidth) || 0;
|
|
3063
|
+
const fontSize = parseFloat(computed.fontSize) || DEFAULT_FONT_SIZE_PX;
|
|
3064
|
+
const lineHeight = parseFloat(computed.lineHeight) || fontSize * FALLBACK_LINE_HEIGHT_RATIO;
|
|
3065
|
+
const contentRight = rect.right - paddingRight - borderRight;
|
|
3066
|
+
const ellipsisWidth = measureEllipsisWidth(computed);
|
|
3067
|
+
const textNode = getFirstTextNode(element);
|
|
3068
|
+
return {
|
|
3069
|
+
x: computed.whiteSpace === "nowrap" && textNode ? measureFittingPrefixRight(textNode, contentRight - ellipsisWidth) + ellipsisWidth / 2 : contentRight - ellipsisWidth / 2,
|
|
3070
|
+
y: rect.bottom - paddingBottom - borderBottom - lineHeight,
|
|
3071
|
+
width: 0,
|
|
3072
|
+
height: lineHeight
|
|
3073
|
+
};
|
|
3074
|
+
}, [ref])
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
//#endregion
|
|
3078
|
+
//#region src/utils/merge-refs.ts
|
|
3079
|
+
const mergeRefs = (...refs) => {
|
|
3080
|
+
return (value) => {
|
|
3081
|
+
refs.filter((r) => !!r).forEach((ref) => {
|
|
3082
|
+
if (typeof ref === "function") ref(value);
|
|
3083
|
+
else ref.current = value;
|
|
3084
|
+
});
|
|
3085
|
+
};
|
|
3086
|
+
};
|
|
3087
|
+
//#endregion
|
|
3088
|
+
//#region src/components/ds-tooltip/ds-tooltip.module.scss
|
|
3089
|
+
var ds_tooltip_module_default = {
|
|
3090
|
+
"arrow": "rUPoLa_arrow",
|
|
3091
|
+
"text": "rUPoLa_text",
|
|
3092
|
+
"tooltip": "rUPoLa_tooltip"
|
|
3093
|
+
};
|
|
3094
|
+
//#endregion
|
|
3095
|
+
//#region src/components/ds-tooltip/ds-tooltip.tsx
|
|
3096
|
+
const OPEN_DELAY_MS = 200;
|
|
3097
|
+
const CLOSE_DELAY_MS = 0;
|
|
3098
|
+
const TOOLTIP_GUTTER_PX = 0;
|
|
3099
|
+
const DsTooltip = (t0) => {
|
|
3100
|
+
const $ = c(19);
|
|
3101
|
+
const { content, children, placement: t1, disabled: t2, getAnchorRect, slotProps } = t0;
|
|
3102
|
+
const placement = t1 === void 0 ? "top" : t1;
|
|
3103
|
+
const disabled = t2 === void 0 ? false : t2;
|
|
3104
|
+
if (content === void 0) return children;
|
|
3105
|
+
const t3 = getAnchorRect ?? void 0;
|
|
3106
|
+
let t4;
|
|
3107
|
+
if ($[0] !== placement || $[1] !== t3) {
|
|
3108
|
+
t4 = {
|
|
3109
|
+
placement,
|
|
3110
|
+
gutter: TOOLTIP_GUTTER_PX,
|
|
3111
|
+
getAnchorRect: t3
|
|
3112
|
+
};
|
|
3113
|
+
$[0] = placement;
|
|
3114
|
+
$[1] = t3;
|
|
3115
|
+
$[2] = t4;
|
|
3116
|
+
} else t4 = $[2];
|
|
3117
|
+
let t5;
|
|
3118
|
+
if ($[3] !== children) {
|
|
3119
|
+
t5 = /* @__PURE__ */ jsx(Tooltip.Trigger, {
|
|
3120
|
+
asChild: true,
|
|
3121
|
+
children
|
|
3122
|
+
});
|
|
3123
|
+
$[3] = children;
|
|
3124
|
+
$[4] = t5;
|
|
3125
|
+
} else t5 = $[4];
|
|
3126
|
+
const t6 = slotProps?.content?.className;
|
|
3127
|
+
let t7;
|
|
3128
|
+
if ($[5] !== t6) {
|
|
3129
|
+
t7 = classNames(ds_tooltip_module_default.tooltip, t6);
|
|
3130
|
+
$[5] = t6;
|
|
3131
|
+
$[6] = t7;
|
|
3132
|
+
} else t7 = $[6];
|
|
3133
|
+
const t8 = slotProps?.content?.style;
|
|
3134
|
+
let t9;
|
|
3135
|
+
if ($[7] !== content) {
|
|
3136
|
+
t9 = isValidElement(content) ? content : /* @__PURE__ */ jsx("span", {
|
|
3137
|
+
className: ds_tooltip_module_default.text,
|
|
3138
|
+
children: content
|
|
3139
|
+
});
|
|
3140
|
+
$[7] = content;
|
|
3141
|
+
$[8] = t9;
|
|
3142
|
+
} else t9 = $[8];
|
|
3143
|
+
let t10;
|
|
3144
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3145
|
+
t10 = /* @__PURE__ */ jsx(Tooltip.Arrow, {
|
|
3146
|
+
className: ds_tooltip_module_default.arrow,
|
|
3147
|
+
children: /* @__PURE__ */ jsx(Tooltip.ArrowTip, {})
|
|
3148
|
+
});
|
|
3149
|
+
$[9] = t10;
|
|
3150
|
+
} else t10 = $[9];
|
|
3151
|
+
let t11;
|
|
3152
|
+
if ($[10] !== t7 || $[11] !== t8 || $[12] !== t9) {
|
|
3153
|
+
t11 = /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, { children: /* @__PURE__ */ jsxs(Tooltip.Content, {
|
|
3154
|
+
className: t7,
|
|
3155
|
+
style: t8,
|
|
3156
|
+
children: [t9, t10]
|
|
3157
|
+
}) }) });
|
|
3158
|
+
$[10] = t7;
|
|
3159
|
+
$[11] = t8;
|
|
3160
|
+
$[12] = t9;
|
|
3161
|
+
$[13] = t11;
|
|
3162
|
+
} else t11 = $[13];
|
|
3163
|
+
let t12;
|
|
3164
|
+
if ($[14] !== disabled || $[15] !== t11 || $[16] !== t4 || $[17] !== t5) {
|
|
3165
|
+
t12 = /* @__PURE__ */ jsxs(Tooltip.Root, {
|
|
3166
|
+
openDelay: OPEN_DELAY_MS,
|
|
3167
|
+
closeDelay: CLOSE_DELAY_MS,
|
|
3168
|
+
disabled,
|
|
3169
|
+
positioning: t4,
|
|
3170
|
+
lazyMount: true,
|
|
3171
|
+
unmountOnExit: true,
|
|
3172
|
+
children: [t5, t11]
|
|
3173
|
+
});
|
|
3174
|
+
$[14] = disabled;
|
|
3175
|
+
$[15] = t11;
|
|
3176
|
+
$[16] = t4;
|
|
3177
|
+
$[17] = t5;
|
|
3178
|
+
$[18] = t12;
|
|
3179
|
+
} else t12 = $[18];
|
|
3180
|
+
return t12;
|
|
3181
|
+
};
|
|
3182
|
+
DsTooltip.displayName = "DsTooltip";
|
|
3183
|
+
//#endregion
|
|
3184
|
+
//#region src/components/ds-tooltip/ds-tooltip.types.ts
|
|
3185
|
+
const tooltipPlacements = [
|
|
3186
|
+
"top",
|
|
3187
|
+
"top-start",
|
|
3188
|
+
"top-end",
|
|
3189
|
+
"bottom",
|
|
3190
|
+
"bottom-start",
|
|
3191
|
+
"bottom-end",
|
|
3192
|
+
"left",
|
|
3193
|
+
"left-start",
|
|
3194
|
+
"left-end",
|
|
3195
|
+
"right",
|
|
3196
|
+
"right-start",
|
|
3197
|
+
"right-end"
|
|
3198
|
+
];
|
|
3199
|
+
//#endregion
|
|
2977
3200
|
//#region src/components/ds-typography/ds-typography.module.scss
|
|
2978
3201
|
var ds_typography_module_default = {
|
|
2979
3202
|
"body-md-bold": "X6xyRq_body-md-bold",
|
|
@@ -2998,14 +3221,17 @@ var ds_typography_module_default = {
|
|
|
2998
3221
|
"heading1": "X6xyRq_heading1",
|
|
2999
3222
|
"heading2": "X6xyRq_heading2",
|
|
3000
3223
|
"heading3": "X6xyRq_heading3",
|
|
3001
|
-
"heading4": "X6xyRq_heading4"
|
|
3224
|
+
"heading4": "X6xyRq_heading4",
|
|
3225
|
+
"truncateMultiline": "X6xyRq_truncateMultiline",
|
|
3226
|
+
"truncateSingle": "X6xyRq_truncateSingle"
|
|
3002
3227
|
};
|
|
3003
3228
|
//#endregion
|
|
3004
3229
|
//#region src/components/ds-typography/ds-typography.tsx
|
|
3005
3230
|
const semanticColorSet = new Set(typographyColors);
|
|
3006
3231
|
const resolveColor = (color) => semanticColorSet.has(color) ? `var(--font-${color})` : color;
|
|
3232
|
+
const resolveLineClamp = (truncate) => typeof truncate === "number" ? Math.max(1, Math.floor(truncate)) : 1;
|
|
3007
3233
|
const DsTypography = (t0) => {
|
|
3008
|
-
const $ = c(
|
|
3234
|
+
const $ = c(34);
|
|
3009
3235
|
let children;
|
|
3010
3236
|
let className;
|
|
3011
3237
|
let color;
|
|
@@ -3013,9 +3239,12 @@ const DsTypography = (t0) => {
|
|
|
3013
3239
|
let ref;
|
|
3014
3240
|
let style;
|
|
3015
3241
|
let t1;
|
|
3242
|
+
let t2;
|
|
3243
|
+
let t3;
|
|
3244
|
+
let tooltipContent;
|
|
3016
3245
|
let variant;
|
|
3017
3246
|
if ($[0] !== t0) {
|
|
3018
|
-
({ref, variant, asChild: t1, className, style, color, children, ...props} = t0);
|
|
3247
|
+
({ref, variant, asChild: t1, className, style, color, truncate: t2, tooltip: t3, tooltipContent, children, ...props} = t0);
|
|
3019
3248
|
$[0] = t0;
|
|
3020
3249
|
$[1] = children;
|
|
3021
3250
|
$[2] = className;
|
|
@@ -3024,7 +3253,10 @@ const DsTypography = (t0) => {
|
|
|
3024
3253
|
$[5] = ref;
|
|
3025
3254
|
$[6] = style;
|
|
3026
3255
|
$[7] = t1;
|
|
3027
|
-
$[8] =
|
|
3256
|
+
$[8] = t2;
|
|
3257
|
+
$[9] = t3;
|
|
3258
|
+
$[10] = tooltipContent;
|
|
3259
|
+
$[11] = variant;
|
|
3028
3260
|
} else {
|
|
3029
3261
|
children = $[1];
|
|
3030
3262
|
className = $[2];
|
|
@@ -3033,54 +3265,100 @@ const DsTypography = (t0) => {
|
|
|
3033
3265
|
ref = $[5];
|
|
3034
3266
|
style = $[6];
|
|
3035
3267
|
t1 = $[7];
|
|
3036
|
-
|
|
3268
|
+
t2 = $[8];
|
|
3269
|
+
t3 = $[9];
|
|
3270
|
+
tooltipContent = $[10];
|
|
3271
|
+
variant = $[11];
|
|
3037
3272
|
}
|
|
3038
3273
|
const asChild = t1 === void 0 ? false : t1;
|
|
3274
|
+
const truncate = t2 === void 0 ? false : t2;
|
|
3275
|
+
const tooltip = t3 === void 0 ? false : t3;
|
|
3039
3276
|
const Component = typographyVariantConfig[variant].component;
|
|
3040
|
-
const
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
$[10] = t2;
|
|
3046
|
-
$[11] = t3;
|
|
3047
|
-
} else t3 = $[11];
|
|
3277
|
+
const internalRef = useRef(null);
|
|
3278
|
+
const truncationEnabled = truncate !== false;
|
|
3279
|
+
const lineClamp = resolveLineClamp(truncate);
|
|
3280
|
+
const isMultiline = truncationEnabled && lineClamp > 1;
|
|
3281
|
+
const tooltipEnabled = truncationEnabled && tooltip;
|
|
3048
3282
|
let t4;
|
|
3049
|
-
if ($[12] !==
|
|
3050
|
-
t4 =
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
} : style;
|
|
3054
|
-
$[12] = color;
|
|
3055
|
-
$[13] = style;
|
|
3283
|
+
if ($[12] !== children || $[13] !== truncate) {
|
|
3284
|
+
t4 = [children, truncate];
|
|
3285
|
+
$[12] = children;
|
|
3286
|
+
$[13] = truncate;
|
|
3056
3287
|
$[14] = t4;
|
|
3057
3288
|
} else t4 = $[14];
|
|
3289
|
+
const { isTruncated, getAnchorRect } = useTruncation(internalRef, tooltipEnabled, t4);
|
|
3290
|
+
let resolvedStyle;
|
|
3291
|
+
if (color || isMultiline || style) {
|
|
3292
|
+
resolvedStyle = {};
|
|
3293
|
+
if (color) resolvedStyle.color = resolveColor(color);
|
|
3294
|
+
if (isMultiline) Object.assign(resolvedStyle, { "--ds-typography-line-clamp": lineClamp });
|
|
3295
|
+
if (style) Object.assign(resolvedStyle, style);
|
|
3296
|
+
}
|
|
3297
|
+
const truncateClass = truncationEnabled ? isMultiline ? ds_typography_module_default.truncateMultiline : ds_typography_module_default.truncateSingle : void 0;
|
|
3058
3298
|
let t5;
|
|
3059
|
-
if ($[15] !==
|
|
3060
|
-
t5 =
|
|
3061
|
-
|
|
3299
|
+
if ($[15] !== ref) {
|
|
3300
|
+
t5 = mergeRefs(ref, internalRef);
|
|
3301
|
+
$[15] = ref;
|
|
3302
|
+
$[16] = t5;
|
|
3303
|
+
} else t5 = $[16];
|
|
3304
|
+
const t6 = ds_typography_module_default[variant];
|
|
3305
|
+
let t7;
|
|
3306
|
+
if ($[17] !== className || $[18] !== t6 || $[19] !== truncateClass) {
|
|
3307
|
+
t7 = classNames(t6, truncateClass, className);
|
|
3308
|
+
$[17] = className;
|
|
3309
|
+
$[18] = t6;
|
|
3310
|
+
$[19] = truncateClass;
|
|
3311
|
+
$[20] = t7;
|
|
3312
|
+
} else t7 = $[20];
|
|
3313
|
+
let t8;
|
|
3314
|
+
if ($[21] !== Component || $[22] !== asChild || $[23] !== children || $[24] !== props || $[25] !== resolvedStyle || $[26] !== t5 || $[27] !== t7) {
|
|
3315
|
+
t8 = /* @__PURE__ */ jsx(Component, {
|
|
3316
|
+
ref: t5,
|
|
3062
3317
|
asChild,
|
|
3063
|
-
className:
|
|
3064
|
-
style:
|
|
3318
|
+
className: t7,
|
|
3319
|
+
style: resolvedStyle,
|
|
3065
3320
|
...props,
|
|
3066
3321
|
children
|
|
3067
3322
|
});
|
|
3068
|
-
$[
|
|
3069
|
-
$[
|
|
3070
|
-
$[
|
|
3071
|
-
$[
|
|
3072
|
-
$[
|
|
3073
|
-
$[
|
|
3074
|
-
$[
|
|
3075
|
-
$[
|
|
3076
|
-
} else
|
|
3077
|
-
|
|
3323
|
+
$[21] = Component;
|
|
3324
|
+
$[22] = asChild;
|
|
3325
|
+
$[23] = children;
|
|
3326
|
+
$[24] = props;
|
|
3327
|
+
$[25] = resolvedStyle;
|
|
3328
|
+
$[26] = t5;
|
|
3329
|
+
$[27] = t7;
|
|
3330
|
+
$[28] = t8;
|
|
3331
|
+
} else t8 = $[28];
|
|
3332
|
+
const element = t8;
|
|
3333
|
+
if (!tooltipEnabled) return element;
|
|
3334
|
+
const t9 = tooltipContent ?? children;
|
|
3335
|
+
const t10 = !isTruncated;
|
|
3336
|
+
let t11;
|
|
3337
|
+
if ($[29] !== element || $[30] !== getAnchorRect || $[31] !== t10 || $[32] !== t9) {
|
|
3338
|
+
t11 = /* @__PURE__ */ jsx(DsTooltip, {
|
|
3339
|
+
content: t9,
|
|
3340
|
+
placement: "top",
|
|
3341
|
+
disabled: t10,
|
|
3342
|
+
getAnchorRect,
|
|
3343
|
+
children: element
|
|
3344
|
+
});
|
|
3345
|
+
$[29] = element;
|
|
3346
|
+
$[30] = getAnchorRect;
|
|
3347
|
+
$[31] = t10;
|
|
3348
|
+
$[32] = t9;
|
|
3349
|
+
$[33] = t11;
|
|
3350
|
+
} else t11 = $[33];
|
|
3351
|
+
return t11;
|
|
3078
3352
|
};
|
|
3353
|
+
DsTypography.displayName = "DsTypography";
|
|
3079
3354
|
//#endregion
|
|
3080
3355
|
//#region src/components/ds-alert-banner/ds-alert-banner.tsx
|
|
3081
3356
|
/**
|
|
3082
|
-
*
|
|
3083
|
-
*
|
|
3357
|
+
* @summary Controlled banner for surfacing contextual status messages.
|
|
3358
|
+
*
|
|
3359
|
+
* Renders as an inline bordered card or a full-width global bar, with five
|
|
3360
|
+
* severity variants, an optional icon, and an optional close button. Compose the
|
|
3361
|
+
* content with `DsAlertBanner.Title`, `DsAlertBanner.Body`, and `DsAlertBanner.Actions`.
|
|
3084
3362
|
*/
|
|
3085
3363
|
const DsAlertBanner = (t0) => {
|
|
3086
3364
|
const $ = c(20);
|
|
@@ -3241,9 +3519,13 @@ const Actions$3 = (t0) => {
|
|
|
3241
3519
|
} else t2 = $[5];
|
|
3242
3520
|
return t2;
|
|
3243
3521
|
};
|
|
3522
|
+
Title$2.displayName = "DsAlertBanner.Title";
|
|
3523
|
+
Body$5.displayName = "DsAlertBanner.Body";
|
|
3524
|
+
Actions$3.displayName = "DsAlertBanner.Actions";
|
|
3244
3525
|
DsAlertBanner.Title = Title$2;
|
|
3245
3526
|
DsAlertBanner.Body = Body$5;
|
|
3246
3527
|
DsAlertBanner.Actions = Actions$3;
|
|
3528
|
+
DsAlertBanner.displayName = "DsAlertBanner";
|
|
3247
3529
|
//#endregion
|
|
3248
3530
|
//#region src/components/ds-alert-banner/ds-alert-banner.types.ts
|
|
3249
3531
|
const alertBannerVariants = [
|
|
@@ -3308,7 +3590,7 @@ const DsAutocomplete = (t0) => {
|
|
|
3308
3590
|
const filterUtils = useFilter(t12);
|
|
3309
3591
|
const collection = createListCollection({
|
|
3310
3592
|
items: filterText ? options.filter((opt) => filterUtils.contains(opt.label, filterText)) : options,
|
|
3311
|
-
itemToString: _temp$
|
|
3593
|
+
itemToString: _temp$17,
|
|
3312
3594
|
itemToValue: _temp2$9
|
|
3313
3595
|
});
|
|
3314
3596
|
let t13;
|
|
@@ -3520,7 +3802,8 @@ const DsAutocomplete = (t0) => {
|
|
|
3520
3802
|
} else t33 = $[52];
|
|
3521
3803
|
return t33;
|
|
3522
3804
|
};
|
|
3523
|
-
|
|
3805
|
+
DsAutocomplete.displayName = "DsAutocomplete";
|
|
3806
|
+
function _temp$17(item) {
|
|
3524
3807
|
return item.label;
|
|
3525
3808
|
}
|
|
3526
3809
|
function _temp2$9(item_0) {
|
|
@@ -3541,79 +3824,13 @@ var ds_avatar_module_default = {
|
|
|
3541
3824
|
"xsm": "VcKEMW_xsm"
|
|
3542
3825
|
};
|
|
3543
3826
|
//#endregion
|
|
3544
|
-
//#region src/components/ds-tooltip/ds-tooltip.module.scss
|
|
3545
|
-
var ds_tooltip_module_default = {
|
|
3546
|
-
"arrow": "rUPoLa_arrow",
|
|
3547
|
-
"tooltip": "rUPoLa_tooltip"
|
|
3548
|
-
};
|
|
3549
|
-
//#endregion
|
|
3550
|
-
//#region src/components/ds-tooltip/ds-tooltip.tsx
|
|
3551
|
-
const DsTooltip = (t0) => {
|
|
3552
|
-
const $ = c(14);
|
|
3553
|
-
const { content, children, slotProps } = t0;
|
|
3554
|
-
if (content === void 0) return children;
|
|
3555
|
-
let t1;
|
|
3556
|
-
if ($[0] !== children) {
|
|
3557
|
-
t1 = /* @__PURE__ */ jsx(Tooltip.Trigger, {
|
|
3558
|
-
asChild: true,
|
|
3559
|
-
children
|
|
3560
|
-
});
|
|
3561
|
-
$[0] = children;
|
|
3562
|
-
$[1] = t1;
|
|
3563
|
-
} else t1 = $[1];
|
|
3564
|
-
const t2 = slotProps?.content?.className;
|
|
3565
|
-
let t3;
|
|
3566
|
-
if ($[2] !== t2) {
|
|
3567
|
-
t3 = classNames(ds_tooltip_module_default.tooltip, t2);
|
|
3568
|
-
$[2] = t2;
|
|
3569
|
-
$[3] = t3;
|
|
3570
|
-
} else t3 = $[3];
|
|
3571
|
-
const t4 = slotProps?.content?.style;
|
|
3572
|
-
let t5;
|
|
3573
|
-
if ($[4] !== content) {
|
|
3574
|
-
t5 = isValidElement(content) ? content : /* @__PURE__ */ jsx(DsTypography, {
|
|
3575
|
-
variant: "body-xs-reg",
|
|
3576
|
-
children: content
|
|
3577
|
-
});
|
|
3578
|
-
$[4] = content;
|
|
3579
|
-
$[5] = t5;
|
|
3580
|
-
} else t5 = $[5];
|
|
3581
|
-
let t6;
|
|
3582
|
-
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
3583
|
-
t6 = /* @__PURE__ */ jsx(Tooltip.Arrow, { className: ds_tooltip_module_default.arrow });
|
|
3584
|
-
$[6] = t6;
|
|
3585
|
-
} else t6 = $[6];
|
|
3586
|
-
let t7;
|
|
3587
|
-
if ($[7] !== t3 || $[8] !== t4 || $[9] !== t5) {
|
|
3588
|
-
t7 = /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsxs(Tooltip.Content, {
|
|
3589
|
-
className: t3,
|
|
3590
|
-
style: t4,
|
|
3591
|
-
side: "top",
|
|
3592
|
-
align: "center",
|
|
3593
|
-
sideOffset: 4,
|
|
3594
|
-
children: [t5, t6]
|
|
3595
|
-
}) });
|
|
3596
|
-
$[7] = t3;
|
|
3597
|
-
$[8] = t4;
|
|
3598
|
-
$[9] = t5;
|
|
3599
|
-
$[10] = t7;
|
|
3600
|
-
} else t7 = $[10];
|
|
3601
|
-
let t8;
|
|
3602
|
-
if ($[11] !== t1 || $[12] !== t7) {
|
|
3603
|
-
t8 = /* @__PURE__ */ jsx(Tooltip.Provider, {
|
|
3604
|
-
delayDuration: 200,
|
|
3605
|
-
children: /* @__PURE__ */ jsxs(Tooltip.Root, { children: [t1, t7] })
|
|
3606
|
-
});
|
|
3607
|
-
$[11] = t1;
|
|
3608
|
-
$[12] = t7;
|
|
3609
|
-
$[13] = t8;
|
|
3610
|
-
} else t8 = $[13];
|
|
3611
|
-
return t8;
|
|
3612
|
-
};
|
|
3613
|
-
//#endregion
|
|
3614
3827
|
//#region src/components/ds-avatar/ds-avatar.tsx
|
|
3615
3828
|
/**
|
|
3616
|
-
*
|
|
3829
|
+
* @summary Displays a user's profile picture, falling back to initials.
|
|
3830
|
+
*
|
|
3831
|
+
* Renders a circular or rounded avatar from an image `src`. When the image is
|
|
3832
|
+
* missing or fails to load, the trimmed initials derived from `name` are shown
|
|
3833
|
+
* instead, and `name` is surfaced in a tooltip on hover.
|
|
3617
3834
|
*/
|
|
3618
3835
|
const DsAvatar = (t0) => {
|
|
3619
3836
|
const $ = c(23);
|
|
@@ -3690,13 +3907,25 @@ const DsAvatar = (t0) => {
|
|
|
3690
3907
|
} else t11 = $[22];
|
|
3691
3908
|
return t11;
|
|
3692
3909
|
};
|
|
3693
|
-
|
|
3910
|
+
DsAvatar.displayName = "DsAvatar";
|
|
3911
|
+
function _temp$16(w) {
|
|
3694
3912
|
return w[0];
|
|
3695
3913
|
}
|
|
3696
3914
|
function _temp2$8(name_0) {
|
|
3697
|
-
return name_0.trim().split(" ").map(_temp$
|
|
3915
|
+
return name_0.trim().split(" ").map(_temp$16).join("");
|
|
3698
3916
|
}
|
|
3699
3917
|
//#endregion
|
|
3918
|
+
//#region src/components/ds-avatar/ds-avatar.types.ts
|
|
3919
|
+
const dsAvatarSizes = [
|
|
3920
|
+
"xsm",
|
|
3921
|
+
"sm",
|
|
3922
|
+
"regular",
|
|
3923
|
+
"md",
|
|
3924
|
+
"lg",
|
|
3925
|
+
"xl"
|
|
3926
|
+
];
|
|
3927
|
+
const dsAvatarTypes = ["circle", "rounded"];
|
|
3928
|
+
//#endregion
|
|
3700
3929
|
//#region src/components/ds-avatar-group/ds-avatar-group.module.scss
|
|
3701
3930
|
var ds_avatar_group_module_default = {
|
|
3702
3931
|
"avatarGroup": "DPz7HW_avatarGroup",
|
|
@@ -3715,7 +3944,11 @@ var ds_avatar_group_module_default = {
|
|
|
3715
3944
|
//#endregion
|
|
3716
3945
|
//#region src/components/ds-avatar-group/ds-avatar-group.tsx
|
|
3717
3946
|
/**
|
|
3718
|
-
*
|
|
3947
|
+
* @summary Overlapping avatars with overflow collapse and tooltip.
|
|
3948
|
+
*
|
|
3949
|
+
* Renders a row of {@link DsAvatar} members that share `size` and `type`. When
|
|
3950
|
+
* `avatars.length` exceeds `max`, the remainder collapse behind a `+N`
|
|
3951
|
+
* indicator; hovering it lists the hidden names in a tooltip.
|
|
3719
3952
|
*/
|
|
3720
3953
|
const DsAvatarGroup = (t0) => {
|
|
3721
3954
|
const $ = c(17);
|
|
@@ -3751,7 +3984,7 @@ const DsAvatarGroup = (t0) => {
|
|
|
3751
3984
|
t6 = remainingCount > 0 && /* @__PURE__ */ jsx(DsTooltip, {
|
|
3752
3985
|
content: /* @__PURE__ */ jsx("div", {
|
|
3753
3986
|
className: ds_avatar_group_module_default.tooltipList,
|
|
3754
|
-
children: hiddenAvatars.map(_temp$
|
|
3987
|
+
children: hiddenAvatars.map(_temp$15)
|
|
3755
3988
|
}),
|
|
3756
3989
|
children: /* @__PURE__ */ jsxs("div", {
|
|
3757
3990
|
className: classNames(ds_avatar_group_module_default.moreAvatar, ds_avatar_group_module_default[size], ds_avatar_group_module_default[type]),
|
|
@@ -3784,7 +4017,8 @@ const DsAvatarGroup = (t0) => {
|
|
|
3784
4017
|
} else t7 = $[16];
|
|
3785
4018
|
return t7;
|
|
3786
4019
|
};
|
|
3787
|
-
|
|
4020
|
+
DsAvatarGroup.displayName = "DsAvatarGroup";
|
|
4021
|
+
function _temp$15(avatar_0, index_0) {
|
|
3788
4022
|
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(DsTypography, {
|
|
3789
4023
|
variant: "body-xs-reg",
|
|
3790
4024
|
children: avatar_0.name
|
|
@@ -3807,6 +4041,8 @@ var ds_breadcrumb_module_default = {
|
|
|
3807
4041
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss
|
|
3808
4042
|
var ds_dropdown_menu_module_default = {
|
|
3809
4043
|
"actions": "AkHUyG_actions",
|
|
4044
|
+
"actionsRow": "AkHUyG_actionsRow",
|
|
4045
|
+
"actionsStretch": "AkHUyG_actionsStretch",
|
|
3810
4046
|
"collapse": "AkHUyG_collapse",
|
|
3811
4047
|
"content": "AkHUyG_content",
|
|
3812
4048
|
"contentLegacy": "AkHUyG_contentLegacy",
|
|
@@ -3976,6 +4212,7 @@ const DsTextInput = (t0) => {
|
|
|
3976
4212
|
} else t16 = $[41];
|
|
3977
4213
|
return t16;
|
|
3978
4214
|
};
|
|
4215
|
+
DsTextInput.displayName = "DsTextInput";
|
|
3979
4216
|
//#endregion
|
|
3980
4217
|
//#region src/components/ds-text-input/ds-text-input.types.ts
|
|
3981
4218
|
const textInputSizes = ["small", "default"];
|
|
@@ -4180,32 +4417,33 @@ const Header$5 = (t0) => {
|
|
|
4180
4417
|
return t2;
|
|
4181
4418
|
};
|
|
4182
4419
|
/**
|
|
4183
|
-
* Actions component -
|
|
4420
|
+
* Actions component - sticky bottom slot for action buttons (`align="end"`) or
|
|
4421
|
+
* full-width elements like a logout item (`align="stretch"`).
|
|
4184
4422
|
*/
|
|
4185
4423
|
const Actions$2 = (t0) => {
|
|
4186
|
-
const $ = c(
|
|
4187
|
-
const { children, className, style } = t0;
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4424
|
+
const $ = c(7);
|
|
4425
|
+
const { children, align: t1, className, style } = t0;
|
|
4426
|
+
const t2 = (t1 === void 0 ? "end" : t1) === "stretch" ? ds_dropdown_menu_module_default.actionsStretch : ds_dropdown_menu_module_default.actionsRow;
|
|
4427
|
+
let t3;
|
|
4428
|
+
if ($[0] !== className || $[1] !== t2) {
|
|
4429
|
+
t3 = classNames(ds_dropdown_menu_module_default.actions, t2, className);
|
|
4191
4430
|
$[0] = className;
|
|
4192
|
-
$[1] =
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4431
|
+
$[1] = t2;
|
|
4432
|
+
$[2] = t3;
|
|
4433
|
+
} else t3 = $[2];
|
|
4434
|
+
let t4;
|
|
4435
|
+
if ($[3] !== children || $[4] !== style || $[5] !== t3) {
|
|
4436
|
+
t4 = /* @__PURE__ */ jsx("div", {
|
|
4437
|
+
className: t3,
|
|
4198
4438
|
style,
|
|
4199
|
-
role: "menu",
|
|
4200
|
-
"aria-label": "Menu actions",
|
|
4201
4439
|
children
|
|
4202
4440
|
});
|
|
4203
|
-
$[
|
|
4204
|
-
$[
|
|
4205
|
-
$[
|
|
4206
|
-
$[
|
|
4207
|
-
} else
|
|
4208
|
-
return
|
|
4441
|
+
$[3] = children;
|
|
4442
|
+
$[4] = style;
|
|
4443
|
+
$[5] = t3;
|
|
4444
|
+
$[6] = t4;
|
|
4445
|
+
} else t4 = $[6];
|
|
4446
|
+
return t4;
|
|
4209
4447
|
};
|
|
4210
4448
|
/**
|
|
4211
4449
|
* ItemGroup component - collapsible group container
|
|
@@ -4341,7 +4579,7 @@ const ItemGroupLabel = (t0) => {
|
|
|
4341
4579
|
className: t1,
|
|
4342
4580
|
style,
|
|
4343
4581
|
onClick: toggle,
|
|
4344
|
-
onKeyDown: _temp$
|
|
4582
|
+
onKeyDown: _temp$14,
|
|
4345
4583
|
children: [t2, t5]
|
|
4346
4584
|
})
|
|
4347
4585
|
});
|
|
@@ -4643,7 +4881,20 @@ const DsDropdownMenu = {
|
|
|
4643
4881
|
ItemGroupContent,
|
|
4644
4882
|
Separator
|
|
4645
4883
|
};
|
|
4646
|
-
|
|
4884
|
+
DsDropdownMenu.Root.displayName = "DsDropdownMenu.Root";
|
|
4885
|
+
DsDropdownMenu.Trigger.displayName = "DsDropdownMenu.Trigger";
|
|
4886
|
+
DsDropdownMenu.Content.displayName = "DsDropdownMenu.Content";
|
|
4887
|
+
DsDropdownMenu.Item.displayName = "DsDropdownMenu.Item";
|
|
4888
|
+
DsDropdownMenu.ItemIndicator.displayName = "DsDropdownMenu.ItemIndicator";
|
|
4889
|
+
DsDropdownMenu.TriggerItem.displayName = "DsDropdownMenu.TriggerItem";
|
|
4890
|
+
DsDropdownMenu.Header.displayName = "DsDropdownMenu.Header";
|
|
4891
|
+
DsDropdownMenu.Actions.displayName = "DsDropdownMenu.Actions";
|
|
4892
|
+
DsDropdownMenu.ItemGroup.displayName = "DsDropdownMenu.ItemGroup";
|
|
4893
|
+
DsDropdownMenu.ItemGroupLabel.displayName = "DsDropdownMenu.ItemGroupLabel";
|
|
4894
|
+
DsDropdownMenu.ItemGroupContent.displayName = "DsDropdownMenu.ItemGroupContent";
|
|
4895
|
+
DsDropdownMenu.Separator.displayName = "DsDropdownMenu.Separator";
|
|
4896
|
+
DsDropdownMenuLegacy.displayName = "DsDropdownMenuLegacy";
|
|
4897
|
+
function _temp$14(e) {
|
|
4647
4898
|
return e.stopPropagation();
|
|
4648
4899
|
}
|
|
4649
4900
|
function _temp2$7(e) {
|
|
@@ -4652,6 +4903,7 @@ function _temp2$7(e) {
|
|
|
4652
4903
|
//#endregion
|
|
4653
4904
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts
|
|
4654
4905
|
const dropdownMenuItemVariants = ["default", "error"];
|
|
4906
|
+
const dropdownMenuActionsAlignments = ["end", "stretch"];
|
|
4655
4907
|
//#endregion
|
|
4656
4908
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
|
|
4657
4909
|
/**
|
|
@@ -4708,7 +4960,7 @@ const DsBreadcrumb = (t0) => {
|
|
|
4708
4960
|
placeholder: "Search",
|
|
4709
4961
|
value: search,
|
|
4710
4962
|
onValueChange: setSearch,
|
|
4711
|
-
onKeyDown: _temp$
|
|
4963
|
+
onKeyDown: _temp$13,
|
|
4712
4964
|
slots: { startAdornment: /* @__PURE__ */ jsx(DsIcon, {
|
|
4713
4965
|
icon: "search",
|
|
4714
4966
|
size: "tiny"
|
|
@@ -4764,7 +5016,8 @@ const DsBreadcrumb = (t0) => {
|
|
|
4764
5016
|
} else t4 = $[16];
|
|
4765
5017
|
return t4;
|
|
4766
5018
|
};
|
|
4767
|
-
|
|
5019
|
+
DsBreadcrumb.displayName = "DsBreadcrumb";
|
|
5020
|
+
function _temp$13(e) {
|
|
4768
5021
|
return e.stopPropagation();
|
|
4769
5022
|
}
|
|
4770
5023
|
//#endregion
|
|
@@ -5075,6 +5328,7 @@ const DsButton = (props) => {
|
|
|
5075
5328
|
} else t0 = $[3];
|
|
5076
5329
|
return t0;
|
|
5077
5330
|
};
|
|
5331
|
+
DsButton.displayName = "DsButton";
|
|
5078
5332
|
//#endregion
|
|
5079
5333
|
//#region src/components/ds-spinner/ds-spinner.module.scss
|
|
5080
5334
|
var ds_spinner_module_default = {
|
|
@@ -5193,6 +5447,7 @@ const DsSpinner = (t0) => {
|
|
|
5193
5447
|
} else t11 = $[24];
|
|
5194
5448
|
return t11;
|
|
5195
5449
|
};
|
|
5450
|
+
DsSpinner.displayName = "DsSpinner";
|
|
5196
5451
|
//#endregion
|
|
5197
5452
|
//#region src/components/ds-spinner/ds-spinner.types.ts
|
|
5198
5453
|
const spinnerSizes = [
|
|
@@ -5211,6 +5466,12 @@ const iconSizeMap = Object.freeze({
|
|
|
5211
5466
|
small: "tiny",
|
|
5212
5467
|
tiny: "tiny"
|
|
5213
5468
|
});
|
|
5469
|
+
/**
|
|
5470
|
+
* Button for user-triggered actions that do not navigate to another route.
|
|
5471
|
+
* Supports color palettes, emphasis variants, sizes, icon-only layout, loading and selected states.
|
|
5472
|
+
*
|
|
5473
|
+
* @summary action button with color/variant/size, icon-only, loading and selected states
|
|
5474
|
+
*/
|
|
5214
5475
|
const DsButtonV3$1 = (t0) => {
|
|
5215
5476
|
const $ = c(37);
|
|
5216
5477
|
let children;
|
|
@@ -5347,6 +5608,7 @@ const buttonV3Sizes = [
|
|
|
5347
5608
|
//#endregion
|
|
5348
5609
|
//#region src/components/ds-button-v3/index.ts
|
|
5349
5610
|
const DsButtonV3 = withResponsiveProps(DsButtonV3$1, ["size"]);
|
|
5611
|
+
DsButtonV3.displayName = "DsButtonV3";
|
|
5350
5612
|
//#endregion
|
|
5351
5613
|
//#region src/components/ds-card/ds-card.module.scss
|
|
5352
5614
|
var ds_card_module_default = {
|
|
@@ -5470,9 +5732,8 @@ const Root$3 = (t0) => {
|
|
|
5470
5732
|
return t14;
|
|
5471
5733
|
};
|
|
5472
5734
|
/**
|
|
5473
|
-
* Card header
|
|
5474
|
-
*
|
|
5475
|
-
* or provide custom children for full flexibility.
|
|
5735
|
+
* Card header — title row and optional trailing content.
|
|
5736
|
+
* Provide custom children for full layout flexibility.
|
|
5476
5737
|
*/
|
|
5477
5738
|
const Header$4 = (t0) => {
|
|
5478
5739
|
const $ = c(12);
|
|
@@ -5603,6 +5864,10 @@ const Footer$3 = (t0) => {
|
|
|
5603
5864
|
} else t2 = $[11];
|
|
5604
5865
|
return t2;
|
|
5605
5866
|
};
|
|
5867
|
+
Root$3.displayName = "DsCard.Root";
|
|
5868
|
+
Header$4.displayName = "DsCard.Header";
|
|
5869
|
+
Body$4.displayName = "DsCard.Body";
|
|
5870
|
+
Footer$3.displayName = "DsCard.Footer";
|
|
5606
5871
|
const DsCard = {
|
|
5607
5872
|
Root: Root$3,
|
|
5608
5873
|
Header: Header$4,
|
|
@@ -6018,11 +6283,17 @@ const ContentHeader = (t0) => {
|
|
|
6018
6283
|
} else t6 = $[21];
|
|
6019
6284
|
return t6;
|
|
6020
6285
|
};
|
|
6286
|
+
Header$3.displayName = "DsCatalogLayout.Header";
|
|
6287
|
+
Body$3.displayName = "DsCatalogLayout.Body";
|
|
6288
|
+
SideMenu$1.displayName = "DsCatalogLayout.SideMenu";
|
|
6289
|
+
Content$1.displayName = "DsCatalogLayout.Content";
|
|
6290
|
+
ContentHeader.displayName = "DsCatalogLayout.ContentHeader";
|
|
6021
6291
|
DsCatalogLayout.Header = Header$3;
|
|
6022
6292
|
DsCatalogLayout.Body = Body$3;
|
|
6023
6293
|
DsCatalogLayout.SideMenu = SideMenu$1;
|
|
6024
6294
|
DsCatalogLayout.Content = Content$1;
|
|
6025
6295
|
DsCatalogLayout.ContentHeader = ContentHeader;
|
|
6296
|
+
DsCatalogLayout.displayName = "DsCatalogLayout";
|
|
6026
6297
|
//#endregion
|
|
6027
6298
|
//#region src/components/ds-checkbox/ds-checkbox.module.scss
|
|
6028
6299
|
var ds_checkbox_module_default = {
|
|
@@ -6038,7 +6309,13 @@ var ds_checkbox_module_default = {
|
|
|
6038
6309
|
//#endregion
|
|
6039
6310
|
//#region src/components/ds-checkbox/ds-checkbox.tsx
|
|
6040
6311
|
/**
|
|
6041
|
-
*
|
|
6312
|
+
* @summary Checkbox for single and grouped selection
|
|
6313
|
+
*
|
|
6314
|
+
* Checkbox for boolean and multi-select inputs. Use standalone for a single
|
|
6315
|
+
* toggle, or compose inside `DsCheckboxGroup` for multi-select lists. Import
|
|
6316
|
+
* `useCheckboxSelectAll` from `ds-checkbox-group` for parent "select all"
|
|
6317
|
+
* checkboxes. `checked` accepts `true`, `false`, or `"indeterminate"`.
|
|
6318
|
+
*
|
|
6042
6319
|
*/
|
|
6043
6320
|
const DsCheckbox = (t0) => {
|
|
6044
6321
|
const $ = c(25);
|
|
@@ -6155,6 +6432,7 @@ const DsCheckbox = (t0) => {
|
|
|
6155
6432
|
} else t10 = $[24];
|
|
6156
6433
|
return t10;
|
|
6157
6434
|
};
|
|
6435
|
+
DsCheckbox.displayName = "DsCheckbox";
|
|
6158
6436
|
//#endregion
|
|
6159
6437
|
//#region src/components/ds-checkbox/ds-checkbox.types.ts
|
|
6160
6438
|
const checkboxVariants = ["default", "warning"];
|
|
@@ -6208,6 +6486,7 @@ const DsCheckboxGroup = (t0) => {
|
|
|
6208
6486
|
} else t4 = $[11];
|
|
6209
6487
|
return t4;
|
|
6210
6488
|
};
|
|
6489
|
+
DsCheckboxGroup.displayName = "DsCheckboxGroup";
|
|
6211
6490
|
//#endregion
|
|
6212
6491
|
//#region src/components/ds-checkbox-group/hooks/use-checkbox-select-all.ts
|
|
6213
6492
|
/**
|
|
@@ -6362,6 +6641,7 @@ const DsChip = (t0) => {
|
|
|
6362
6641
|
} else t17 = $[28];
|
|
6363
6642
|
return t17;
|
|
6364
6643
|
};
|
|
6644
|
+
DsChip.displayName = "DsChip";
|
|
6365
6645
|
//#endregion
|
|
6366
6646
|
//#region src/components/ds-chip-group/ds-chip-group.module.scss
|
|
6367
6647
|
var ds_chip_group_module_default = {
|
|
@@ -6403,7 +6683,8 @@ const useChipRowCalculation = ({ chipsWrapperRef, totalFilters }) => {
|
|
|
6403
6683
|
total = next;
|
|
6404
6684
|
} else total += next;
|
|
6405
6685
|
}
|
|
6406
|
-
|
|
6686
|
+
const result = Math.max(1, line < 2 ? index : index - 1);
|
|
6687
|
+
setVisibleCount(result);
|
|
6407
6688
|
};
|
|
6408
6689
|
const rafId = requestAnimationFrame(() => {
|
|
6409
6690
|
calculateVisibleChips();
|
|
@@ -6506,6 +6787,7 @@ const DsChipGroup = ({ items, label = "Filtered by:", onClearAll, onItemDelete,
|
|
|
6506
6787
|
]
|
|
6507
6788
|
});
|
|
6508
6789
|
};
|
|
6790
|
+
DsChipGroup.displayName = "DsChipGroup";
|
|
6509
6791
|
//#endregion
|
|
6510
6792
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.module.scss
|
|
6511
6793
|
var ds_comment_bubble_module_default = {
|
|
@@ -6631,6 +6913,7 @@ const DsTextarea = (t0) => {
|
|
|
6631
6913
|
} else t7 = $[21];
|
|
6632
6914
|
return t7;
|
|
6633
6915
|
};
|
|
6916
|
+
DsTextarea.displayName = "DsTextarea";
|
|
6634
6917
|
//#endregion
|
|
6635
6918
|
//#region src/utils/format-relative-time.ts
|
|
6636
6919
|
const SECONDS_PER_MINUTE = 60;
|
|
@@ -6895,6 +7178,7 @@ const DsThreadItem = (t0) => {
|
|
|
6895
7178
|
} else t18 = $[51];
|
|
6896
7179
|
return t18;
|
|
6897
7180
|
};
|
|
7181
|
+
DsThreadItem.displayName = "DsThreadItem";
|
|
6898
7182
|
//#endregion
|
|
6899
7183
|
//#region src/components/ds-comment-bubble/hooks/use-click-outside.ts
|
|
6900
7184
|
const useClickOutside = (ref, onClickOutside, t0) => {
|
|
@@ -7001,7 +7285,7 @@ const DsCommentThread = (t0) => {
|
|
|
7001
7285
|
const bottomRef = useRef(null);
|
|
7002
7286
|
let t1;
|
|
7003
7287
|
if ($[0] !== messages) {
|
|
7004
|
-
t1 = messages.find(_temp$
|
|
7288
|
+
t1 = messages.find(_temp$12) || messages[0];
|
|
7005
7289
|
$[0] = messages;
|
|
7006
7290
|
$[1] = t1;
|
|
7007
7291
|
} else t1 = $[1];
|
|
@@ -7141,7 +7425,8 @@ const DsCommentThread = (t0) => {
|
|
|
7141
7425
|
} else t22 = $[36];
|
|
7142
7426
|
return t22;
|
|
7143
7427
|
};
|
|
7144
|
-
|
|
7428
|
+
DsCommentThread.displayName = "DsCommentThread";
|
|
7429
|
+
function _temp$12(m) {
|
|
7145
7430
|
return m.isInitialMessage;
|
|
7146
7431
|
}
|
|
7147
7432
|
//#endregion
|
|
@@ -7483,6 +7768,7 @@ const DsTag = (t0) => {
|
|
|
7483
7768
|
} else t28 = $[63];
|
|
7484
7769
|
return t28;
|
|
7485
7770
|
};
|
|
7771
|
+
DsTag.displayName = "DsTag";
|
|
7486
7772
|
//#endregion
|
|
7487
7773
|
//#region src/components/ds-tag/ds-tag.types.ts
|
|
7488
7774
|
const tagSizes = ["medium", "small"];
|
|
@@ -7493,16 +7779,6 @@ const tagVariants = [
|
|
|
7493
7779
|
"key-value"
|
|
7494
7780
|
];
|
|
7495
7781
|
//#endregion
|
|
7496
|
-
//#region src/utils/merge-refs.ts
|
|
7497
|
-
const mergeRefs = (...refs) => {
|
|
7498
|
-
return (value) => {
|
|
7499
|
-
refs.filter((r) => !!r).forEach((ref) => {
|
|
7500
|
-
if (typeof ref === "function") ref(value);
|
|
7501
|
-
else ref.current = value;
|
|
7502
|
-
});
|
|
7503
|
-
};
|
|
7504
|
-
};
|
|
7505
|
-
//#endregion
|
|
7506
7782
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.tsx
|
|
7507
7783
|
const DsCommentBubble = (t0) => {
|
|
7508
7784
|
const $ = c(74);
|
|
@@ -7840,6 +8116,7 @@ const DsCommentBubble = (t0) => {
|
|
|
7840
8116
|
} else t20 = $[73];
|
|
7841
8117
|
return t20;
|
|
7842
8118
|
};
|
|
8119
|
+
DsCommentBubble.displayName = "DsCommentBubble";
|
|
7843
8120
|
//#endregion
|
|
7844
8121
|
//#region src/components/ds-comment-card/ds-comment-card.module.scss
|
|
7845
8122
|
var ds_comment_card_module_default = {
|
|
@@ -7873,7 +8150,7 @@ const DsCommentCard = (t0) => {
|
|
|
7873
8150
|
const { numericId, author, createdAt, messages, referenceTag, isActionRequired } = comment;
|
|
7874
8151
|
let t4;
|
|
7875
8152
|
if ($[0] !== messages) {
|
|
7876
|
-
t4 = messages.find(_temp$
|
|
8153
|
+
t4 = messages.find(_temp$11) || messages[0];
|
|
7877
8154
|
$[0] = messages;
|
|
7878
8155
|
$[1] = t4;
|
|
7879
8156
|
} else t4 = $[1];
|
|
@@ -8197,7 +8474,8 @@ const DsCommentCard = (t0) => {
|
|
|
8197
8474
|
} else t34 = $[78];
|
|
8198
8475
|
return t34;
|
|
8199
8476
|
};
|
|
8200
|
-
|
|
8477
|
+
DsCommentCard.displayName = "DsCommentCard";
|
|
8478
|
+
function _temp$11(m) {
|
|
8201
8479
|
return m.isInitialMessage;
|
|
8202
8480
|
}
|
|
8203
8481
|
function _temp2$6(m_0) {
|
|
@@ -8286,6 +8564,7 @@ const DsCommentIndicator = (t0) => {
|
|
|
8286
8564
|
} else t7 = $[16];
|
|
8287
8565
|
return t7;
|
|
8288
8566
|
};
|
|
8567
|
+
DsCommentIndicator.displayName = "DsCommentIndicator";
|
|
8289
8568
|
//#endregion
|
|
8290
8569
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.module.scss
|
|
8291
8570
|
var ds_comments_drawer_module_default = {
|
|
@@ -8688,6 +8967,13 @@ const Actions$1 = (t0) => {
|
|
|
8688
8967
|
} else t2 = $[5];
|
|
8689
8968
|
return t2;
|
|
8690
8969
|
};
|
|
8970
|
+
Header$2.displayName = "DsDrawer.Header";
|
|
8971
|
+
Title$1.displayName = "DsDrawer.Title";
|
|
8972
|
+
CloseTrigger$1.displayName = "DsDrawer.CloseTrigger";
|
|
8973
|
+
Toolbar.displayName = "DsDrawer.Toolbar";
|
|
8974
|
+
Body$2.displayName = "DsDrawer.Body";
|
|
8975
|
+
Footer$2.displayName = "DsDrawer.Footer";
|
|
8976
|
+
Actions$1.displayName = "DsDrawer.Actions";
|
|
8691
8977
|
DsDrawer.Header = Header$2;
|
|
8692
8978
|
DsDrawer.Title = Title$1;
|
|
8693
8979
|
DsDrawer.CloseTrigger = CloseTrigger$1;
|
|
@@ -8695,6 +8981,7 @@ DsDrawer.Toolbar = Toolbar;
|
|
|
8695
8981
|
DsDrawer.Body = Body$2;
|
|
8696
8982
|
DsDrawer.Footer = Footer$2;
|
|
8697
8983
|
DsDrawer.Actions = Actions$1;
|
|
8984
|
+
DsDrawer.displayName = "DsDrawer";
|
|
8698
8985
|
//#endregion
|
|
8699
8986
|
//#region src/components/ds-tag-filter/ds-tag-filter.module.scss
|
|
8700
8987
|
var ds_tag_filter_module_default = {
|
|
@@ -8787,9 +9074,10 @@ const useTagOverflowCalculation = (t0) => {
|
|
|
8787
9074
|
return;
|
|
8788
9075
|
}
|
|
8789
9076
|
const { count } = fitTagsInRow(tagWidths, getContainerAvailableWidth(container), gap);
|
|
9077
|
+
const hasOverflow = count < tagWidths.length;
|
|
8790
9078
|
setState({
|
|
8791
9079
|
visibleTagCount: count,
|
|
8792
|
-
hasOverflow
|
|
9080
|
+
hasOverflow
|
|
8793
9081
|
});
|
|
8794
9082
|
};
|
|
8795
9083
|
$[1] = containerRef;
|
|
@@ -9086,6 +9374,7 @@ const DsTagFilter = (t0) => {
|
|
|
9086
9374
|
} else t25 = $[61];
|
|
9087
9375
|
return t25;
|
|
9088
9376
|
};
|
|
9377
|
+
DsTagFilter.displayName = "DsTagFilter";
|
|
9089
9378
|
//#endregion
|
|
9090
9379
|
//#region src/components/ds-comments-drawer/comments-filters.ts
|
|
9091
9380
|
const initialFilterState = {
|
|
@@ -9455,12 +9744,19 @@ const Actions = (t0) => {
|
|
|
9455
9744
|
} else t2 = $[5];
|
|
9456
9745
|
return t2;
|
|
9457
9746
|
};
|
|
9747
|
+
Header$1.displayName = "DsModal.Header";
|
|
9748
|
+
Title.displayName = "DsModal.Title";
|
|
9749
|
+
CloseTrigger.displayName = "DsModal.CloseTrigger";
|
|
9750
|
+
Body$1.displayName = "DsModal.Body";
|
|
9751
|
+
Footer$1.displayName = "DsModal.Footer";
|
|
9752
|
+
Actions.displayName = "DsModal.Actions";
|
|
9458
9753
|
DsModal.Header = Header$1;
|
|
9459
9754
|
DsModal.Title = Title;
|
|
9460
9755
|
DsModal.CloseTrigger = CloseTrigger;
|
|
9461
9756
|
DsModal.Body = Body$1;
|
|
9462
9757
|
DsModal.Footer = Footer$1;
|
|
9463
9758
|
DsModal.Actions = Actions;
|
|
9759
|
+
DsModal.displayName = "DsModal";
|
|
9464
9760
|
//#endregion
|
|
9465
9761
|
//#region src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss
|
|
9466
9762
|
var ds_tabs_list_module_default = { "tabList": "vT68YW_tabList" };
|
|
@@ -9497,6 +9793,7 @@ const DsTabsList = (t0) => {
|
|
|
9497
9793
|
} else t3 = $[6];
|
|
9498
9794
|
return t3;
|
|
9499
9795
|
};
|
|
9796
|
+
DsTabsList.displayName = "DsTabs.List";
|
|
9500
9797
|
//#endregion
|
|
9501
9798
|
//#region src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss
|
|
9502
9799
|
var ds_tabs_tab_module_default = {
|
|
@@ -9622,7 +9919,7 @@ const DsTabsTab = (t0) => {
|
|
|
9622
9919
|
})
|
|
9623
9920
|
}), /* @__PURE__ */ jsx(DsDropdownMenu.Content, {
|
|
9624
9921
|
className: ds_tabs_tab_module_default.menuContent,
|
|
9625
|
-
children: menuActionItems.map(_temp$
|
|
9922
|
+
children: menuActionItems.map(_temp$10)
|
|
9626
9923
|
})]
|
|
9627
9924
|
});
|
|
9628
9925
|
$[17] = handleMenuActionSelect;
|
|
@@ -9660,7 +9957,8 @@ const DsTabsTab = (t0) => {
|
|
|
9660
9957
|
} else t6 = $[29];
|
|
9661
9958
|
return t6;
|
|
9662
9959
|
};
|
|
9663
|
-
|
|
9960
|
+
DsTabsTab.displayName = "DsTabs.Tab";
|
|
9961
|
+
function _temp$10(item) {
|
|
9664
9962
|
return /* @__PURE__ */ jsx(DsDropdownMenu.Item, {
|
|
9665
9963
|
value: item.value,
|
|
9666
9964
|
disabled: item.disabled,
|
|
@@ -9704,6 +10002,7 @@ const DsTabsContent = (t0) => {
|
|
|
9704
10002
|
} else t2 = $[6];
|
|
9705
10003
|
return t2;
|
|
9706
10004
|
};
|
|
10005
|
+
DsTabsContent.displayName = "DsTabs.Content";
|
|
9707
10006
|
//#endregion
|
|
9708
10007
|
//#region src/components/ds-tabs/ds-tabs.module.scss
|
|
9709
10008
|
var ds_tabs_module_default = { "root": "gZYmYG_root" };
|
|
@@ -9756,6 +10055,7 @@ const DsTabsRoot = (t0) => {
|
|
|
9756
10055
|
} else t5 = $[12];
|
|
9757
10056
|
return t5;
|
|
9758
10057
|
};
|
|
10058
|
+
DsTabsRoot.displayName = "DsTabs.Root";
|
|
9759
10059
|
const DsTabs = {
|
|
9760
10060
|
Root: DsTabsRoot,
|
|
9761
10061
|
List: DsTabsList,
|
|
@@ -10184,7 +10484,8 @@ const YearView$1 = () => {
|
|
|
10184
10484
|
} else t0 = $[0];
|
|
10185
10485
|
return t0;
|
|
10186
10486
|
};
|
|
10187
|
-
|
|
10487
|
+
DsDateInput.displayName = "DsDateInput";
|
|
10488
|
+
function _temp$9(weekDay, id) {
|
|
10188
10489
|
return /* @__PURE__ */ jsx(DatePicker.TableHeader, {
|
|
10189
10490
|
className: ds_date_input_module_default.tableHeader,
|
|
10190
10491
|
children: /* @__PURE__ */ jsx(DsTypography, {
|
|
@@ -10219,7 +10520,7 @@ function _temp4$2(datePicker) {
|
|
|
10219
10520
|
className: ds_date_input_module_default.tableHead,
|
|
10220
10521
|
children: /* @__PURE__ */ jsx(DatePicker.TableRow, {
|
|
10221
10522
|
className: ds_date_input_module_default.tableRow,
|
|
10222
|
-
children: datePicker.weekDays.map(_temp$
|
|
10523
|
+
children: datePicker.weekDays.map(_temp$9)
|
|
10223
10524
|
})
|
|
10224
10525
|
}), /* @__PURE__ */ jsx(DatePicker.TableBody, {
|
|
10225
10526
|
className: ds_date_input_module_default.tableBody,
|
|
@@ -10862,7 +11163,7 @@ const DsCommentsDrawer = (t0) => {
|
|
|
10862
11163
|
authorsMap.set(comment.author.id, comment.author.name);
|
|
10863
11164
|
comment.labels?.forEach((label) => labelsSet.add(label));
|
|
10864
11165
|
});
|
|
10865
|
-
availableAuthors = Array.from(authorsMap.entries()).map(_temp$
|
|
11166
|
+
availableAuthors = Array.from(authorsMap.entries()).map(_temp$8);
|
|
10866
11167
|
availableLabels = Array.from(labelsSet);
|
|
10867
11168
|
let filteredComments = comments;
|
|
10868
11169
|
if (!showResolved) filteredComments = filteredComments.filter(_temp2$4);
|
|
@@ -10936,7 +11237,10 @@ const DsCommentsDrawer = (t0) => {
|
|
|
10936
11237
|
if ($[49] !== appliedFilters || $[50] !== filterTags) {
|
|
10937
11238
|
t21 = (item) => {
|
|
10938
11239
|
const tag = filterTags.find((c_2) => c_2.id === item.id);
|
|
10939
|
-
if (tag)
|
|
11240
|
+
if (tag) {
|
|
11241
|
+
const newFilters = removeTag(appliedFilters, tag);
|
|
11242
|
+
setAppliedFilters(newFilters);
|
|
11243
|
+
}
|
|
10940
11244
|
};
|
|
10941
11245
|
$[49] = appliedFilters;
|
|
10942
11246
|
$[50] = filterTags;
|
|
@@ -11211,7 +11515,8 @@ const DsCommentsDrawer = (t0) => {
|
|
|
11211
11515
|
} else t18 = $[101];
|
|
11212
11516
|
return t18;
|
|
11213
11517
|
};
|
|
11214
|
-
|
|
11518
|
+
DsCommentsDrawer.displayName = "DsCommentsDrawer";
|
|
11519
|
+
function _temp$8(t0) {
|
|
11215
11520
|
const [id, name] = t0;
|
|
11216
11521
|
return {
|
|
11217
11522
|
id,
|
|
@@ -11257,6 +11562,7 @@ DsConfirmation.CloseTrigger = DsModal.CloseTrigger;
|
|
|
11257
11562
|
DsConfirmation.Body = DsModal.Body;
|
|
11258
11563
|
DsConfirmation.Footer = DsModal.Footer;
|
|
11259
11564
|
DsConfirmation.Actions = DsModal.Actions;
|
|
11565
|
+
DsConfirmation.displayName = "DsConfirmation";
|
|
11260
11566
|
//#endregion
|
|
11261
11567
|
//#region src/components/ds-date-picker/ds-date-picker.utils.ts
|
|
11262
11568
|
const toIntlDate = (date) => date ? fromDate(date, getLocalTimeZone()) : date;
|
|
@@ -11913,6 +12219,7 @@ const DsTimePicker = (props) => {
|
|
|
11913
12219
|
} else t26 = $[71];
|
|
11914
12220
|
return t26;
|
|
11915
12221
|
};
|
|
12222
|
+
DsTimePicker.displayName = "DsTimePicker";
|
|
11916
12223
|
//#endregion
|
|
11917
12224
|
//#region src/components/ds-date-picker/ds-date-picker.module.scss
|
|
11918
12225
|
var ds_date_picker_module_default = {
|
|
@@ -12011,7 +12318,7 @@ const DayView = (t0) => {
|
|
|
12011
12318
|
className: calendar_table_module_default.table,
|
|
12012
12319
|
children: [/* @__PURE__ */ jsx(DatePicker.TableHead, { children: /* @__PURE__ */ jsx(DatePicker.TableRow, {
|
|
12013
12320
|
className: calendar_table_module_default.tableRow,
|
|
12014
|
-
children: datePicker.weekDays.map(_temp$
|
|
12321
|
+
children: datePicker.weekDays.map(_temp$7)
|
|
12015
12322
|
}) }), /* @__PURE__ */ jsx(DatePicker.TableBody, {
|
|
12016
12323
|
className: calendar_table_module_default.tableBody,
|
|
12017
12324
|
children: datePicker.weeks.map(_temp3$3)
|
|
@@ -12026,7 +12333,7 @@ const DayView = (t0) => {
|
|
|
12026
12333
|
} else t1 = $[1];
|
|
12027
12334
|
return t1;
|
|
12028
12335
|
};
|
|
12029
|
-
function _temp$
|
|
12336
|
+
function _temp$7(weekDay, idx) {
|
|
12030
12337
|
return /* @__PURE__ */ jsx(DatePicker.TableHeader, {
|
|
12031
12338
|
className: calendar_table_module_default.tableHeader,
|
|
12032
12339
|
children: /* @__PURE__ */ jsx(DsTypography, {
|
|
@@ -12070,7 +12377,7 @@ const MonthView = () => {
|
|
|
12070
12377
|
} else t0 = $[0];
|
|
12071
12378
|
return t0;
|
|
12072
12379
|
};
|
|
12073
|
-
function _temp$
|
|
12380
|
+
function _temp$6(month, monthIdx) {
|
|
12074
12381
|
return /* @__PURE__ */ jsx(DatePicker.TableCell, {
|
|
12075
12382
|
value: month.value,
|
|
12076
12383
|
children: /* @__PURE__ */ jsx(DatePicker.TableCellTrigger, {
|
|
@@ -12085,7 +12392,7 @@ function _temp$5(month, monthIdx) {
|
|
|
12085
12392
|
function _temp2$2(months, rowIdx) {
|
|
12086
12393
|
return /* @__PURE__ */ jsx(DatePicker.TableRow, {
|
|
12087
12394
|
className: calendar_table_module_default.tableRow,
|
|
12088
|
-
children: months.map(_temp$
|
|
12395
|
+
children: months.map(_temp$6)
|
|
12089
12396
|
}, rowIdx);
|
|
12090
12397
|
}
|
|
12091
12398
|
function _temp3$2(datePicker) {
|
|
@@ -12117,7 +12424,7 @@ const YearView = () => {
|
|
|
12117
12424
|
} else t0 = $[0];
|
|
12118
12425
|
return t0;
|
|
12119
12426
|
};
|
|
12120
|
-
function _temp$
|
|
12427
|
+
function _temp$5(year, yearIdx) {
|
|
12121
12428
|
return /* @__PURE__ */ jsx(DatePicker.TableCell, {
|
|
12122
12429
|
value: year.value,
|
|
12123
12430
|
children: /* @__PURE__ */ jsx(DatePicker.TableCellTrigger, {
|
|
@@ -12132,7 +12439,7 @@ function _temp$4(year, yearIdx) {
|
|
|
12132
12439
|
function _temp2$1(years, rowIdx) {
|
|
12133
12440
|
return /* @__PURE__ */ jsx(DatePicker.TableRow, {
|
|
12134
12441
|
className: calendar_table_module_default.tableRow,
|
|
12135
|
-
children: years.map(_temp$
|
|
12442
|
+
children: years.map(_temp$5)
|
|
12136
12443
|
}, rowIdx);
|
|
12137
12444
|
}
|
|
12138
12445
|
function _temp3$1(datePicker) {
|
|
@@ -12146,6 +12453,13 @@ function _temp3$1(datePicker) {
|
|
|
12146
12453
|
}
|
|
12147
12454
|
//#endregion
|
|
12148
12455
|
//#region src/components/ds-date-picker/ds-date-picker.tsx
|
|
12456
|
+
/**
|
|
12457
|
+
* @summary Date and optional time input with calendar popover and manual typing.
|
|
12458
|
+
*
|
|
12459
|
+
* Supports controlled (`value` + `onChange`) and uncontrolled (`defaultValue`) modes.
|
|
12460
|
+
* Pass `withTime` to include a nested time picker. A clear button appears when a
|
|
12461
|
+
* value is set unless `hideClearButton` is set.
|
|
12462
|
+
*/
|
|
12149
12463
|
const DsDatePicker = (t0) => {
|
|
12150
12464
|
const $ = c(123);
|
|
12151
12465
|
let _defaultValue;
|
|
@@ -12284,7 +12598,10 @@ const DsDatePicker = (t0) => {
|
|
|
12284
12598
|
min,
|
|
12285
12599
|
max,
|
|
12286
12600
|
withTime
|
|
12287
|
-
}))
|
|
12601
|
+
})) {
|
|
12602
|
+
const parsedValue = parseDate$1(text);
|
|
12603
|
+
setValue(parsedValue);
|
|
12604
|
+
}
|
|
12288
12605
|
};
|
|
12289
12606
|
$[37] = max;
|
|
12290
12607
|
$[38] = min;
|
|
@@ -12586,6 +12903,7 @@ const DsDatePicker = (t0) => {
|
|
|
12586
12903
|
} else t39 = $[122];
|
|
12587
12904
|
return t39;
|
|
12588
12905
|
};
|
|
12906
|
+
DsDatePicker.displayName = "DsDatePicker";
|
|
12589
12907
|
//#endregion
|
|
12590
12908
|
//#region src/components/ds-select/ds-select.module.scss
|
|
12591
12909
|
var ds_select_module_default = {
|
|
@@ -12716,7 +13034,7 @@ const DsSelect = (t0) => {
|
|
|
12716
13034
|
const internalOptions = multiselectProps.multiple ? [SELECT_ALL_OPTION, ...userOptions] : userOptions;
|
|
12717
13035
|
const collection = createListCollection$1({
|
|
12718
13036
|
items: internalOptions,
|
|
12719
|
-
itemToValue: _temp$
|
|
13037
|
+
itemToValue: _temp$4
|
|
12720
13038
|
});
|
|
12721
13039
|
let t2;
|
|
12722
13040
|
if ($[0] !== searchTerm) {
|
|
@@ -12941,7 +13259,8 @@ function getItemCheckedState({ item, select, options }) {
|
|
|
12941
13259
|
if (select.selectedItems.length === options.length - 1) return true;
|
|
12942
13260
|
return select.hasSelectedItems ? "indeterminate" : false;
|
|
12943
13261
|
}
|
|
12944
|
-
|
|
13262
|
+
DsSelect.displayName = "DsSelect";
|
|
13263
|
+
function _temp$4(item) {
|
|
12945
13264
|
return item.value;
|
|
12946
13265
|
}
|
|
12947
13266
|
function _temp2(value_0) {
|
|
@@ -13112,6 +13431,7 @@ const DsNumberInput = (t0) => {
|
|
|
13112
13431
|
} else t18 = $[32];
|
|
13113
13432
|
return t18;
|
|
13114
13433
|
};
|
|
13434
|
+
DsNumberInput.displayName = "DsNumberInput";
|
|
13115
13435
|
//#endregion
|
|
13116
13436
|
//#region src/components/ds-password-input/ds-password-input.module.scss
|
|
13117
13437
|
var ds_password_input_module_default = {
|
|
@@ -13235,6 +13555,7 @@ const DsPasswordInput = (t0) => {
|
|
|
13235
13555
|
} else t13 = $[26];
|
|
13236
13556
|
return t13;
|
|
13237
13557
|
};
|
|
13558
|
+
DsPasswordInput.displayName = "DsPasswordInput";
|
|
13238
13559
|
//#endregion
|
|
13239
13560
|
//#region src/components/ds-form-control/ds-form-control.module.scss
|
|
13240
13561
|
var ds_form_control_module_default = {
|
|
@@ -13397,6 +13718,8 @@ DsFormControl.TimePicker = controlify(DsTimePicker);
|
|
|
13397
13718
|
DsFormControl.Textarea = controlify(DsTextarea);
|
|
13398
13719
|
DsFormControl.Select = controlify(DsSelect);
|
|
13399
13720
|
DsFormControl.Description = DsFormControlDescription;
|
|
13721
|
+
DsFormControl.displayName = "DsFormControl";
|
|
13722
|
+
DsFormControl.Description.displayName = "DsFormControl.Description";
|
|
13400
13723
|
//#endregion
|
|
13401
13724
|
//#region src/components/ds-form-control/ds-form-control.types.ts
|
|
13402
13725
|
const controlStatuses = [
|
|
@@ -13631,6 +13954,7 @@ const DsDateRangePicker = (t0) => {
|
|
|
13631
13954
|
} else t29 = $[61];
|
|
13632
13955
|
return t29;
|
|
13633
13956
|
};
|
|
13957
|
+
DsDateRangePicker.displayName = "DsDateRangePicker";
|
|
13634
13958
|
//#endregion
|
|
13635
13959
|
//#region src/components/ds-dialog/ds-dialog.module.scss
|
|
13636
13960
|
var ds_dialog_module_default = {
|
|
@@ -13642,6 +13966,13 @@ var ds_dialog_module_default = {
|
|
|
13642
13966
|
};
|
|
13643
13967
|
//#endregion
|
|
13644
13968
|
//#region src/components/ds-dialog/ds-dialog.tsx
|
|
13969
|
+
/**
|
|
13970
|
+
* @summary Lightweight controlled dialog for simple panels and popovers.
|
|
13971
|
+
*
|
|
13972
|
+
* Renders a Radix dialog with required accessible title, optional description,
|
|
13973
|
+
* and custom body content. Use for focused overlays and menu-style panels.
|
|
13974
|
+
* Prefer `DsModal` when you need structured header, body, and footer sections.
|
|
13975
|
+
*/
|
|
13645
13976
|
const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescription, children, className, anchorRef, customPosition, modal = true }) => {
|
|
13646
13977
|
let style = {};
|
|
13647
13978
|
if (customPosition) style = {
|
|
@@ -13688,6 +14019,7 @@ const DsDialog = ({ open, onOpenChange, title, hideTitle, description, hideDescr
|
|
|
13688
14019
|
})] })
|
|
13689
14020
|
});
|
|
13690
14021
|
};
|
|
14022
|
+
DsDialog.displayName = "DsDialog";
|
|
13691
14023
|
//#endregion
|
|
13692
14024
|
//#region src/components/ds-divider/ds-divider.module.scss
|
|
13693
14025
|
var ds_divider_module_default = {
|
|
@@ -13732,6 +14064,7 @@ const DsDivider = (t0) => {
|
|
|
13732
14064
|
} else t4 = $[8];
|
|
13733
14065
|
return t4;
|
|
13734
14066
|
};
|
|
14067
|
+
DsDivider.displayName = "DsDivider";
|
|
13735
14068
|
//#endregion
|
|
13736
14069
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss
|
|
13737
14070
|
var ds_expandable_text_input_module_default = {
|
|
@@ -13908,6 +14241,7 @@ function InputExpander(t0) {
|
|
|
13908
14241
|
} else t1 = $[1];
|
|
13909
14242
|
return t1;
|
|
13910
14243
|
}
|
|
14244
|
+
DsExpandableTextInput.displayName = "DsExpandableTextInput";
|
|
13911
14245
|
//#endregion
|
|
13912
14246
|
//#region src/components/ds-file-upload/utils/get-error-message.ts
|
|
13913
14247
|
const FILE_ERROR_MESSAGES = {
|
|
@@ -14172,7 +14506,7 @@ const FileUploadItem = (t0) => {
|
|
|
14172
14506
|
} else t20 = $[46];
|
|
14173
14507
|
let t21;
|
|
14174
14508
|
if ($[47] !== errors || $[48] !== status) {
|
|
14175
|
-
t21 = status === "error" && errors?.length && errors.map(_temp$
|
|
14509
|
+
t21 = status === "error" && errors?.length && errors.map(_temp$3);
|
|
14176
14510
|
$[47] = errors;
|
|
14177
14511
|
$[48] = status;
|
|
14178
14512
|
$[49] = t21;
|
|
@@ -14215,7 +14549,7 @@ const FileUploadItem = (t0) => {
|
|
|
14215
14549
|
} else t23 = $[60];
|
|
14216
14550
|
return t23;
|
|
14217
14551
|
};
|
|
14218
|
-
function _temp$
|
|
14552
|
+
function _temp$3(error) {
|
|
14219
14553
|
return /* @__PURE__ */ jsxs("div", {
|
|
14220
14554
|
className: file_upload_item_module_default.errorMessage,
|
|
14221
14555
|
children: [/* @__PURE__ */ jsx(DsIcon, {
|
|
@@ -14709,10 +15043,11 @@ function useFileUpload({ adapter, autoUpload = true, maxConcurrent = 3, maxFiles
|
|
|
14709
15043
|
filesToAdd = files_0.slice(0, availableSlots);
|
|
14710
15044
|
rejectedFiles = files_0.slice(availableSlots);
|
|
14711
15045
|
} else return files_0;
|
|
14712
|
-
|
|
15046
|
+
const rejectedFilesWithErrors = rejectedFiles.map((file_3) => ({
|
|
14713
15047
|
file: file_3,
|
|
14714
15048
|
errors: ["TOO_MANY_FILES"]
|
|
14715
|
-
}))
|
|
15049
|
+
}));
|
|
15050
|
+
addRejectedFiles(rejectedFilesWithErrors);
|
|
14716
15051
|
return filesToAdd;
|
|
14717
15052
|
};
|
|
14718
15053
|
const addNewFiles = (filesToUpload) => {
|
|
@@ -14727,8 +15062,10 @@ function useFileUpload({ adapter, autoUpload = true, maxConcurrent = 3, maxFiles
|
|
|
14727
15062
|
};
|
|
14728
15063
|
const addFiles = (newFiles_1) => {
|
|
14729
15064
|
const addedFiles = getAddedFiles(newFiles_1);
|
|
14730
|
-
|
|
14731
|
-
|
|
15065
|
+
const duplicateFiles = getDuplicatedFiles(newFiles_1);
|
|
15066
|
+
markDuplicates(duplicateFiles);
|
|
15067
|
+
const filesToAdd_0 = markMaxFiles(addedFiles);
|
|
15068
|
+
const uploadedFiles_1 = addNewFiles(filesToAdd_0);
|
|
14732
15069
|
uploadNewFiles(uploadedFiles_1);
|
|
14733
15070
|
return uploadedFiles_1;
|
|
14734
15071
|
};
|
|
@@ -14973,6 +15310,7 @@ const DsFileUpload = (t0) => {
|
|
|
14973
15310
|
} else t5 = $[32];
|
|
14974
15311
|
return t5;
|
|
14975
15312
|
};
|
|
15313
|
+
DsFileUpload.displayName = "DsFileUpload";
|
|
14976
15314
|
//#endregion
|
|
14977
15315
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss
|
|
14978
15316
|
var ds_filter_status_icon_module_default = {
|
|
@@ -15027,6 +15365,7 @@ const DsFilterStatusIcon = (t0) => {
|
|
|
15027
15365
|
} else t6 = $[8];
|
|
15028
15366
|
return t6;
|
|
15029
15367
|
};
|
|
15368
|
+
DsFilterStatusIcon.displayName = "DsFilterStatusIcon";
|
|
15030
15369
|
//#endregion
|
|
15031
15370
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.ts
|
|
15032
15371
|
const filterStatuses = [
|
|
@@ -15069,6 +15408,8 @@ const DsGridItemBase = ({ children, colSpan, colStart, rowSpan, rowStart, classN
|
|
|
15069
15408
|
//#region src/components/ds-grid/index.ts
|
|
15070
15409
|
const DsGrid = withResponsiveProps(DsGridBase, ["gutter", "margin"]);
|
|
15071
15410
|
const DsGridItem = withResponsiveProps(DsGridItemBase, ["colSpan", "rowSpan"]);
|
|
15411
|
+
DsGrid.displayName = "DsGrid";
|
|
15412
|
+
DsGridItem.displayName = "DsGridItem";
|
|
15072
15413
|
//#endregion
|
|
15073
15414
|
//#region src/components/ds-key-value-pair/ds-key-value-pair.module.scss
|
|
15074
15415
|
var ds_key_value_pair_module_default = {
|
|
@@ -15163,6 +15504,7 @@ const DsKeyValuePair = (t0) => {
|
|
|
15163
15504
|
} else t11 = $[21];
|
|
15164
15505
|
return t11;
|
|
15165
15506
|
};
|
|
15507
|
+
DsKeyValuePair.displayName = "DsKeyValuePair";
|
|
15166
15508
|
//#endregion
|
|
15167
15509
|
//#region src/components/ds-key-value-pair/ds-key-value-pair.types.ts
|
|
15168
15510
|
const dsKeyValuePairOrientations = ["vertical", "horizontal"];
|
|
@@ -15322,6 +15664,7 @@ const DsLoader = (t0) => {
|
|
|
15322
15664
|
} else t4 = $[11];
|
|
15323
15665
|
return t4;
|
|
15324
15666
|
};
|
|
15667
|
+
DsLoader.displayName = "DsLoader";
|
|
15325
15668
|
//#endregion
|
|
15326
15669
|
//#region src/components/ds-loader/ds-loader.types.ts
|
|
15327
15670
|
const loaderVariants = ["spinner", "pulsing"];
|
|
@@ -15553,6 +15896,7 @@ function DsPanelCollapseButton(t0) {
|
|
|
15553
15896
|
//#endregion
|
|
15554
15897
|
//#region src/components/ds-panel/index.ts
|
|
15555
15898
|
const DsPanel = withResponsiveProps(DsPanelBase, ["width"]);
|
|
15899
|
+
DsPanel.displayName = "DsPanel";
|
|
15556
15900
|
//#endregion
|
|
15557
15901
|
//#region src/components/ds-popover/ds-popover.module.scss
|
|
15558
15902
|
var ds_popover_module_default = {
|
|
@@ -15862,6 +16206,14 @@ const DsPopoverLegacy = (t0) => {
|
|
|
15862
16206
|
} else t5 = $[9];
|
|
15863
16207
|
return t5;
|
|
15864
16208
|
};
|
|
16209
|
+
DsPopoverLegacy.displayName = "DsPopover";
|
|
16210
|
+
DsPopoverRoot.displayName = "DsPopover.Root";
|
|
16211
|
+
DsPopoverTrigger.displayName = "DsPopover.Trigger";
|
|
16212
|
+
DsPopoverPanel.displayName = "DsPopover.Panel";
|
|
16213
|
+
DsPopoverHeader.displayName = "DsPopover.Header";
|
|
16214
|
+
DsPopoverContent.displayName = "DsPopover.Content";
|
|
16215
|
+
DsPopoverContentItem.displayName = "DsPopover.ContentItem";
|
|
16216
|
+
DsPopoverFooter.displayName = "DsPopover.Footer";
|
|
15865
16217
|
const DsPopover = Object.assign(DsPopoverLegacy, {
|
|
15866
16218
|
Root: DsPopoverRoot,
|
|
15867
16219
|
Trigger: DsPopoverTrigger,
|
|
@@ -16172,6 +16524,7 @@ const DsProgressArc = (t0) => {
|
|
|
16172
16524
|
} else t20 = $[64];
|
|
16173
16525
|
return t20;
|
|
16174
16526
|
};
|
|
16527
|
+
DsProgressArc.displayName = "DsProgressArc";
|
|
16175
16528
|
//#endregion
|
|
16176
16529
|
//#region src/components/ds-progress-arc/ds-progress-arc.types.ts
|
|
16177
16530
|
const progressArcSizes = ["small", "medium"];
|
|
@@ -16306,6 +16659,7 @@ const DsProgressDonut = (t0) => {
|
|
|
16306
16659
|
} else t14 = $[25];
|
|
16307
16660
|
return t14;
|
|
16308
16661
|
};
|
|
16662
|
+
DsProgressDonut.displayName = "DsProgressDonut";
|
|
16309
16663
|
//#endregion
|
|
16310
16664
|
//#region src/components/ds-progress-donut/ds-progress-donut.types.ts
|
|
16311
16665
|
const progressDonutSizes = ["small", "medium"];
|
|
@@ -16509,6 +16863,7 @@ const DsProgressLinear = (t0) => {
|
|
|
16509
16863
|
} else t19 = $[36];
|
|
16510
16864
|
return t19;
|
|
16511
16865
|
};
|
|
16866
|
+
DsProgressLinear.displayName = "DsProgressLinear";
|
|
16512
16867
|
//#endregion
|
|
16513
16868
|
//#region src/components/ds-progress-linear/ds-progress-linear.types.ts
|
|
16514
16869
|
const progressLinearVariants = [
|
|
@@ -16780,6 +17135,7 @@ const DsProgressTaskBar = (t0) => {
|
|
|
16780
17135
|
} else t21 = $[38];
|
|
16781
17136
|
return t21;
|
|
16782
17137
|
};
|
|
17138
|
+
DsProgressTaskBar.displayName = "DsProgressTaskBar";
|
|
16783
17139
|
//#endregion
|
|
16784
17140
|
//#region src/components/ds-radio-group/ds-radio-group.module.scss
|
|
16785
17141
|
var ds_radio_group_module_default = {
|
|
@@ -16970,7 +17326,7 @@ const DsRadioGroupLegacy = (t0) => {
|
|
|
16970
17326
|
} else t3 = $[3];
|
|
16971
17327
|
let t4;
|
|
16972
17328
|
if ($[4] !== options) {
|
|
16973
|
-
t4 = options.map(_temp$
|
|
17329
|
+
t4 = options.map(_temp$2);
|
|
16974
17330
|
$[4] = options;
|
|
16975
17331
|
$[5] = t4;
|
|
16976
17332
|
} else t4 = $[5];
|
|
@@ -17010,7 +17366,10 @@ const DsRadioGroup = {
|
|
|
17010
17366
|
Root: Root$2,
|
|
17011
17367
|
Item: Item$1
|
|
17012
17368
|
};
|
|
17013
|
-
|
|
17369
|
+
DsRadioGroup.Root.displayName = "DsRadioGroup.Root";
|
|
17370
|
+
DsRadioGroup.Item.displayName = "DsRadioGroup.Item";
|
|
17371
|
+
DsRadioGroupLegacy.displayName = "DsRadioGroupLegacy";
|
|
17372
|
+
function _temp$2(option) {
|
|
17014
17373
|
return /* @__PURE__ */ jsxs(RadioGroup.Item, {
|
|
17015
17374
|
value: option.value,
|
|
17016
17375
|
disabled: option.disabled,
|
|
@@ -17251,6 +17610,155 @@ const DsSegmentGroup = {
|
|
|
17251
17610
|
Item,
|
|
17252
17611
|
ItemText
|
|
17253
17612
|
};
|
|
17613
|
+
DsSegmentGroup.Root.displayName = "DsSegmentGroup.Root";
|
|
17614
|
+
DsSegmentGroup.Item.displayName = "DsSegmentGroup.Item";
|
|
17615
|
+
DsSegmentGroup.ItemText.displayName = "DsSegmentGroup.ItemText";
|
|
17616
|
+
//#endregion
|
|
17617
|
+
//#region src/components/ds-site-node/hooks/use-is-overflowing.ts
|
|
17618
|
+
const useIsOverflowing = (text) => {
|
|
17619
|
+
const $ = c(5);
|
|
17620
|
+
const ref = useRef(null);
|
|
17621
|
+
const [isOverflowing, setIsOverflowing] = useState(false);
|
|
17622
|
+
let t0;
|
|
17623
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17624
|
+
t0 = () => {
|
|
17625
|
+
const element = ref.current;
|
|
17626
|
+
if (!element) return;
|
|
17627
|
+
const measure = () => setIsOverflowing(element.scrollWidth > element.clientWidth);
|
|
17628
|
+
measure();
|
|
17629
|
+
const observer = new ResizeObserver(measure);
|
|
17630
|
+
observer.observe(element);
|
|
17631
|
+
const frame = requestAnimationFrame(measure);
|
|
17632
|
+
document.fonts.ready.then(measure).catch(_temp$1);
|
|
17633
|
+
document.fonts.addEventListener("loadingdone", measure);
|
|
17634
|
+
return () => {
|
|
17635
|
+
cancelAnimationFrame(frame);
|
|
17636
|
+
observer.disconnect();
|
|
17637
|
+
document.fonts.removeEventListener("loadingdone", measure);
|
|
17638
|
+
};
|
|
17639
|
+
};
|
|
17640
|
+
$[0] = t0;
|
|
17641
|
+
} else t0 = $[0];
|
|
17642
|
+
let t1;
|
|
17643
|
+
if ($[1] !== text) {
|
|
17644
|
+
t1 = [text];
|
|
17645
|
+
$[1] = text;
|
|
17646
|
+
$[2] = t1;
|
|
17647
|
+
} else t1 = $[2];
|
|
17648
|
+
useLayoutEffect(t0, t1);
|
|
17649
|
+
let t2;
|
|
17650
|
+
if ($[3] !== isOverflowing) {
|
|
17651
|
+
t2 = {
|
|
17652
|
+
ref,
|
|
17653
|
+
isOverflowing
|
|
17654
|
+
};
|
|
17655
|
+
$[3] = isOverflowing;
|
|
17656
|
+
$[4] = t2;
|
|
17657
|
+
} else t2 = $[4];
|
|
17658
|
+
return t2;
|
|
17659
|
+
};
|
|
17660
|
+
function _temp$1() {}
|
|
17661
|
+
//#endregion
|
|
17662
|
+
//#region src/components/ds-site-node/ds-site-node.module.scss
|
|
17663
|
+
var ds_site_node_module_default = {
|
|
17664
|
+
"node": "_9jr5kG_node",
|
|
17665
|
+
"overflow": "_9jr5kG_overflow",
|
|
17666
|
+
"pill": "_9jr5kG_pill",
|
|
17667
|
+
"pillMuted": "_9jr5kG_pillMuted",
|
|
17668
|
+
"selected": "_9jr5kG_selected",
|
|
17669
|
+
"siteCode": "_9jr5kG_siteCode"
|
|
17670
|
+
};
|
|
17671
|
+
//#endregion
|
|
17672
|
+
//#region src/components/ds-site-node/ds-site-node.tsx
|
|
17673
|
+
const DsSiteNode = (t0) => {
|
|
17674
|
+
const $ = c(21);
|
|
17675
|
+
const { ref, state: t1, tier, siteCode, overflowLabel, className, style, "aria-label": ariaLabel, onClick } = t0;
|
|
17676
|
+
const state = t1 === void 0 ? "default" : t1;
|
|
17677
|
+
const isOverflow = state === "overflow";
|
|
17678
|
+
const isSelected = state === "selected";
|
|
17679
|
+
const isMuted = state === "muted";
|
|
17680
|
+
const { ref: siteCodeRef, isOverflowing } = useIsOverflowing(siteCode);
|
|
17681
|
+
let t2;
|
|
17682
|
+
if ($[0] !== className || $[1] !== isOverflow || $[2] !== isSelected) {
|
|
17683
|
+
t2 = classNames(ds_site_node_module_default.node, {
|
|
17684
|
+
[ds_site_node_module_default.selected]: isSelected,
|
|
17685
|
+
[ds_site_node_module_default.overflow]: isOverflow
|
|
17686
|
+
}, className);
|
|
17687
|
+
$[0] = className;
|
|
17688
|
+
$[1] = isOverflow;
|
|
17689
|
+
$[2] = isSelected;
|
|
17690
|
+
$[3] = t2;
|
|
17691
|
+
} else t2 = $[3];
|
|
17692
|
+
const t3 = isSelected ? true : void 0;
|
|
17693
|
+
let t4;
|
|
17694
|
+
if ($[4] !== isMuted || $[5] !== isOverflow || $[6] !== isOverflowing || $[7] !== isSelected || $[8] !== overflowLabel || $[9] !== siteCode || $[10] !== siteCodeRef || $[11] !== tier) {
|
|
17695
|
+
t4 = isOverflow ? /* @__PURE__ */ jsx(DsTypography, {
|
|
17696
|
+
variant: "body-sm-reg",
|
|
17697
|
+
color: "secondary",
|
|
17698
|
+
children: overflowLabel
|
|
17699
|
+
}) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DsStack, {
|
|
17700
|
+
direction: "row",
|
|
17701
|
+
alignItems: "center",
|
|
17702
|
+
justifyContent: "center",
|
|
17703
|
+
className: classNames(ds_site_node_module_default.pill, { [ds_site_node_module_default.pillMuted]: isMuted }),
|
|
17704
|
+
children: /* @__PURE__ */ jsx(DsTypography, {
|
|
17705
|
+
variant: "body-xs-md",
|
|
17706
|
+
color: isMuted ? "on-disabled" : "on-action",
|
|
17707
|
+
children: tier
|
|
17708
|
+
})
|
|
17709
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
17710
|
+
ref: siteCodeRef,
|
|
17711
|
+
className: ds_site_node_module_default.siteCode,
|
|
17712
|
+
children: /* @__PURE__ */ jsx(DsTooltip, {
|
|
17713
|
+
content: isOverflowing ? siteCode : void 0,
|
|
17714
|
+
children: /* @__PURE__ */ jsx(DsTypography, {
|
|
17715
|
+
variant: "body-sm-bold",
|
|
17716
|
+
color: isSelected ? "main" : "secondary",
|
|
17717
|
+
children: siteCode
|
|
17718
|
+
})
|
|
17719
|
+
})
|
|
17720
|
+
})] });
|
|
17721
|
+
$[4] = isMuted;
|
|
17722
|
+
$[5] = isOverflow;
|
|
17723
|
+
$[6] = isOverflowing;
|
|
17724
|
+
$[7] = isSelected;
|
|
17725
|
+
$[8] = overflowLabel;
|
|
17726
|
+
$[9] = siteCode;
|
|
17727
|
+
$[10] = siteCodeRef;
|
|
17728
|
+
$[11] = tier;
|
|
17729
|
+
$[12] = t4;
|
|
17730
|
+
} else t4 = $[12];
|
|
17731
|
+
let t5;
|
|
17732
|
+
if ($[13] !== ariaLabel || $[14] !== onClick || $[15] !== ref || $[16] !== style || $[17] !== t2 || $[18] !== t3 || $[19] !== t4) {
|
|
17733
|
+
t5 = /* @__PURE__ */ jsx("button", {
|
|
17734
|
+
ref,
|
|
17735
|
+
type: "button",
|
|
17736
|
+
className: t2,
|
|
17737
|
+
style,
|
|
17738
|
+
"aria-label": ariaLabel,
|
|
17739
|
+
"aria-current": t3,
|
|
17740
|
+
onClick,
|
|
17741
|
+
children: t4
|
|
17742
|
+
});
|
|
17743
|
+
$[13] = ariaLabel;
|
|
17744
|
+
$[14] = onClick;
|
|
17745
|
+
$[15] = ref;
|
|
17746
|
+
$[16] = style;
|
|
17747
|
+
$[17] = t2;
|
|
17748
|
+
$[18] = t3;
|
|
17749
|
+
$[19] = t4;
|
|
17750
|
+
$[20] = t5;
|
|
17751
|
+
} else t5 = $[20];
|
|
17752
|
+
return t5;
|
|
17753
|
+
};
|
|
17754
|
+
//#endregion
|
|
17755
|
+
//#region src/components/ds-site-node/ds-site-node.types.ts
|
|
17756
|
+
const siteNodeStates = [
|
|
17757
|
+
"default",
|
|
17758
|
+
"selected",
|
|
17759
|
+
"muted",
|
|
17760
|
+
"overflow"
|
|
17761
|
+
];
|
|
17254
17762
|
//#endregion
|
|
17255
17763
|
//#region src/components/ds-skeleton/ds-skeleton.types.ts
|
|
17256
17764
|
const skeletonColorVariants = ["gray", "blue"];
|
|
@@ -17399,6 +17907,7 @@ const DsSkeletonText = (t0) => {
|
|
|
17399
17907
|
} else t10 = $[14];
|
|
17400
17908
|
return t10;
|
|
17401
17909
|
};
|
|
17910
|
+
DsSkeletonText.displayName = "DsSkeletonText";
|
|
17402
17911
|
//#endregion
|
|
17403
17912
|
//#region src/components/ds-skeleton/ds-skeleton-circle.tsx
|
|
17404
17913
|
/**
|
|
@@ -17447,6 +17956,7 @@ const DsSkeletonCircle = (t0) => {
|
|
|
17447
17956
|
} else t8 = $[9];
|
|
17448
17957
|
return t8;
|
|
17449
17958
|
};
|
|
17959
|
+
DsSkeletonCircle.displayName = "DsSkeletonCircle";
|
|
17450
17960
|
//#endregion
|
|
17451
17961
|
//#region src/components/ds-skeleton/ds-skeleton-rect.tsx
|
|
17452
17962
|
/**
|
|
@@ -17497,13 +18007,17 @@ const DsSkeletonRect = (t0) => {
|
|
|
17497
18007
|
} else t9 = $[10];
|
|
17498
18008
|
return t9;
|
|
17499
18009
|
};
|
|
18010
|
+
DsSkeletonRect.displayName = "DsSkeletonRect";
|
|
17500
18011
|
//#endregion
|
|
17501
18012
|
//#region src/components/ds-skeleton/ds-skeleton.ts
|
|
17502
|
-
|
|
18013
|
+
const DsSkeleton = {
|
|
17503
18014
|
Text: DsSkeletonText,
|
|
17504
18015
|
Circle: DsSkeletonCircle,
|
|
17505
18016
|
Rect: DsSkeletonRect
|
|
17506
18017
|
};
|
|
18018
|
+
DsSkeleton.Text.displayName = "DsSkeleton.Text";
|
|
18019
|
+
DsSkeleton.Circle.displayName = "DsSkeleton.Circle";
|
|
18020
|
+
DsSkeleton.Rect.displayName = "DsSkeleton.Rect";
|
|
17507
18021
|
//#endregion
|
|
17508
18022
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.module.scss
|
|
17509
18023
|
var ds_smart_tabs_module_default = {
|
|
@@ -17754,7 +18268,9 @@ const DsSmartTabs = (t0) => {
|
|
|
17754
18268
|
} else t6 = $[21];
|
|
17755
18269
|
return t6;
|
|
17756
18270
|
};
|
|
18271
|
+
DsSmartTab.displayName = "DsSmartTabs.Tab";
|
|
17757
18272
|
DsSmartTabs.Tab = DsSmartTab;
|
|
18273
|
+
DsSmartTabs.displayName = "DsSmartTabs";
|
|
17758
18274
|
//#endregion
|
|
17759
18275
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.ts
|
|
17760
18276
|
const colors = [
|
|
@@ -17780,6 +18296,12 @@ var ds_split_button_module_default = {
|
|
|
17780
18296
|
};
|
|
17781
18297
|
//#endregion
|
|
17782
18298
|
//#region src/components/ds-split-button/ds-split-button.tsx
|
|
18299
|
+
/**
|
|
18300
|
+
* Secondary action button paired with a dropdown select for choosing a related option.
|
|
18301
|
+
* Both slots share a size and disabled state controlled by the split button.
|
|
18302
|
+
*
|
|
18303
|
+
* @summary split action button with a primary action and an option select
|
|
18304
|
+
*/
|
|
17783
18305
|
const DsSplitButton$1 = (t0) => {
|
|
17784
18306
|
const $ = c(33);
|
|
17785
18307
|
const { ref, className, style, size: t1, disabled, slotProps } = t0;
|
|
@@ -17989,6 +18511,7 @@ const DsStatusBadge = (t0) => {
|
|
|
17989
18511
|
} else t12 = $[15];
|
|
17990
18512
|
return t12;
|
|
17991
18513
|
};
|
|
18514
|
+
DsStatusBadge.displayName = "DsStatusBadge";
|
|
17992
18515
|
//#endregion
|
|
17993
18516
|
//#region src/components/ds-status-badge-v2/ds-status-badge-v2.module.scss
|
|
17994
18517
|
var ds_status_badge_v2_module_default = {
|
|
@@ -18150,6 +18673,7 @@ const statusBadgeV2Sizes = ["medium", "small"];
|
|
|
18150
18673
|
//#endregion
|
|
18151
18674
|
//#region src/components/ds-status-badge-v2/index.ts
|
|
18152
18675
|
const DsStatusBadgeV2 = withResponsiveProps(DsStatusBadgeV2$1, ["size"]);
|
|
18676
|
+
DsStatusBadgeV2.displayName = "DsStatusBadgeV2";
|
|
18153
18677
|
//#endregion
|
|
18154
18678
|
//#region src/components/ds-stepper/ds-stepper.module.scss
|
|
18155
18679
|
var ds_stepper_module_default = {
|
|
@@ -18311,6 +18835,7 @@ function DsStepper(t0) {
|
|
|
18311
18835
|
} else t10 = $[27];
|
|
18312
18836
|
return t10;
|
|
18313
18837
|
}
|
|
18838
|
+
DsStepper.displayName = "DsStepper";
|
|
18314
18839
|
//#endregion
|
|
18315
18840
|
//#region src/components/ds-stepper/components/ds-step-separator.tsx
|
|
18316
18841
|
function DsStepSeparator(t0) {
|
|
@@ -18509,6 +19034,7 @@ function DsStep(t0) {
|
|
|
18509
19034
|
} else t18 = $[47];
|
|
18510
19035
|
return t18;
|
|
18511
19036
|
}
|
|
19037
|
+
DsStep.displayName = "DsStep";
|
|
18512
19038
|
//#endregion
|
|
18513
19039
|
//#region src/components/ds-stepper/components/ds-step-label.tsx
|
|
18514
19040
|
function DsStepLabel(t0) {
|
|
@@ -18598,6 +19124,7 @@ function DsStepContent(t0) {
|
|
|
18598
19124
|
} else t5 = $[15];
|
|
18599
19125
|
return t5;
|
|
18600
19126
|
}
|
|
19127
|
+
DsStepContent.displayName = "DsStepContent";
|
|
18601
19128
|
//#endregion
|
|
18602
19129
|
//#region src/components/ds-stepper/components/ds-step-next-button.tsx
|
|
18603
19130
|
function DsNextStepButton(t0) {
|
|
@@ -18640,6 +19167,7 @@ function DsNextStepButton(t0) {
|
|
|
18640
19167
|
} else t3 = $[10];
|
|
18641
19168
|
return t3;
|
|
18642
19169
|
}
|
|
19170
|
+
DsNextStepButton.displayName = "DsNextStepButton";
|
|
18643
19171
|
//#endregion
|
|
18644
19172
|
//#region src/components/ds-system-status/ds-system-status.module.scss
|
|
18645
19173
|
var ds_system_status_module_default = {
|
|
@@ -18711,6 +19239,7 @@ const DsSystemStatus = (t0) => {
|
|
|
18711
19239
|
} else t6 = $[8];
|
|
18712
19240
|
return t6;
|
|
18713
19241
|
};
|
|
19242
|
+
DsSystemStatus.displayName = "DsSystemStatus";
|
|
18714
19243
|
//#endregion
|
|
18715
19244
|
//#region src/components/ds-system-status/ds-system-status.types.ts
|
|
18716
19245
|
/**
|
|
@@ -19093,11 +19622,12 @@ function useTableFilters({ filterAdapters, baseColumns, appliedFilters: external
|
|
|
19093
19622
|
}));
|
|
19094
19623
|
};
|
|
19095
19624
|
const applyFilters = () => {
|
|
19096
|
-
|
|
19625
|
+
const filtersToApply = _filterAdapters.reduce((acc, adapter) => {
|
|
19097
19626
|
const value = draftFilters[adapter.id];
|
|
19098
19627
|
if (adapter.getActiveFiltersCount(value) > 0) acc[adapter.id] = value;
|
|
19099
19628
|
return acc;
|
|
19100
|
-
}, {})
|
|
19629
|
+
}, {});
|
|
19630
|
+
setAppliedFilters(filtersToApply);
|
|
19101
19631
|
setPendingFilters({});
|
|
19102
19632
|
};
|
|
19103
19633
|
const clearAll = () => {
|
|
@@ -19109,10 +19639,11 @@ function useTableFilters({ filterAdapters, baseColumns, appliedFilters: external
|
|
|
19109
19639
|
const adapter = _filterAdapters.find((a) => a.id === filterId);
|
|
19110
19640
|
if (!adapter) return;
|
|
19111
19641
|
const draftValue = draftFilters[filterId];
|
|
19112
|
-
|
|
19642
|
+
const next = adapter.getActiveFiltersCount(draftValue) > 0 ? {
|
|
19113
19643
|
...appliedFilters,
|
|
19114
19644
|
[filterId]: draftValue
|
|
19115
|
-
} : omitKey(appliedFilters, filterId)
|
|
19645
|
+
} : omitKey(appliedFilters, filterId);
|
|
19646
|
+
setAppliedFilters(next);
|
|
19116
19647
|
setPendingFilters((prev) => omitKey(prev, filterId));
|
|
19117
19648
|
};
|
|
19118
19649
|
const cancelColumnFilter = (filterId) => {
|
|
@@ -19135,10 +19666,11 @@ function useTableFilters({ filterAdapters, baseColumns, appliedFilters: external
|
|
|
19135
19666
|
const currentValue = appliedFilters[filterKey];
|
|
19136
19667
|
if (currentValue === void 0) return;
|
|
19137
19668
|
const newValue = adapter.fromChip(chip, currentValue);
|
|
19138
|
-
|
|
19669
|
+
const newFilters = adapter.getActiveFiltersCount(newValue) === 0 ? Object.fromEntries(Object.entries(appliedFilters).filter(([key]) => key !== filterKey)) : {
|
|
19139
19670
|
...appliedFilters,
|
|
19140
19671
|
[filterKey]: newValue
|
|
19141
|
-
}
|
|
19672
|
+
};
|
|
19673
|
+
setAppliedFilters(newFilters);
|
|
19142
19674
|
};
|
|
19143
19675
|
const renderForId = (filterId) => {
|
|
19144
19676
|
const adapter = _filterAdapters.find((a) => a.id === filterId);
|
|
@@ -19599,7 +20131,8 @@ const getCollapsedColumnVisibility = (columns, collapsedGroupIds) => {
|
|
|
19599
20131
|
const useColumnGroups = ({ columns, collapsedColumnGroups, onCollapsedColumnGroupsChange }) => {
|
|
19600
20132
|
const [collapsed, setCollapsed] = useControlled(collapsedColumnGroups, onCollapsedColumnGroupsChange, getInitialCollapsedGroups(columns));
|
|
19601
20133
|
const toggleColumnGroup = (groupId) => {
|
|
19602
|
-
|
|
20134
|
+
const next = collapsed.includes(groupId) ? collapsed.filter((id) => id !== groupId) : [...collapsed, groupId];
|
|
20135
|
+
setCollapsed(next);
|
|
19603
20136
|
};
|
|
19604
20137
|
return {
|
|
19605
20138
|
collapsedColumnGroups: collapsed,
|
|
@@ -19790,6 +20323,7 @@ const DsTableEditableCell = ({ cell, children }) => {
|
|
|
19790
20323
|
})]
|
|
19791
20324
|
});
|
|
19792
20325
|
};
|
|
20326
|
+
DsTableEditableCell.displayName = "DsTableEditableCell";
|
|
19793
20327
|
//#endregion
|
|
19794
20328
|
//#region src/components/ds-table/components/edit/ds-table-editing-cell/ds-table-editing-cell.module.scss
|
|
19795
20329
|
var ds_table_editing_cell_module_default = {
|
|
@@ -19870,6 +20404,7 @@ const DsTableEditingCell = ({ cell }) => {
|
|
|
19870
20404
|
})
|
|
19871
20405
|
});
|
|
19872
20406
|
};
|
|
20407
|
+
DsTableEditingCell.displayName = "DsTableEditingCell";
|
|
19873
20408
|
//#endregion
|
|
19874
20409
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss
|
|
19875
20410
|
var ds_table_cell_module_default = {
|
|
@@ -20585,6 +21120,7 @@ const DsTable = ({ ref, columns: columnsProp, data: tableData, virtualized = fal
|
|
|
20585
21120
|
})
|
|
20586
21121
|
});
|
|
20587
21122
|
};
|
|
21123
|
+
DsTable.displayName = "DsTable";
|
|
20588
21124
|
//#endregion
|
|
20589
21125
|
//#region src/components/ds-table/hooks/use-cell-editor.ts
|
|
20590
21126
|
/**
|
|
@@ -20669,6 +21205,7 @@ const DsTableEditCellText = ({ cellContext, placeholder, maxLength }) => {
|
|
|
20669
21205
|
})
|
|
20670
21206
|
});
|
|
20671
21207
|
};
|
|
21208
|
+
DsTableEditCellText.displayName = "DsTableEditCellText";
|
|
20672
21209
|
//#endregion
|
|
20673
21210
|
//#region src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-number.tsx
|
|
20674
21211
|
/** Number input editor for table cells. Render via `ColumnDef.editCell`. */
|
|
@@ -20695,6 +21232,7 @@ const DsTableEditCellNumber = ({ cellContext, min, max, step }) => {
|
|
|
20695
21232
|
})
|
|
20696
21233
|
});
|
|
20697
21234
|
};
|
|
21235
|
+
DsTableEditCellNumber.displayName = "DsTableEditCellNumber";
|
|
20698
21236
|
//#endregion
|
|
20699
21237
|
//#region src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-select.tsx
|
|
20700
21238
|
/** Select editor for table cells. Render via `ColumnDef.editCell`. */
|
|
@@ -20712,6 +21250,7 @@ const DsTableEditCellSelect = ({ cellContext, options, placeholder }) => {
|
|
|
20712
21250
|
})
|
|
20713
21251
|
});
|
|
20714
21252
|
};
|
|
21253
|
+
DsTableEditCellSelect.displayName = "DsTableEditCellSelect";
|
|
20715
21254
|
//#endregion
|
|
20716
21255
|
//#region src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-date.tsx
|
|
20717
21256
|
/** Date picker editor for table cells. Render via `ColumnDef.editCell`. */
|
|
@@ -20734,6 +21273,7 @@ const DsTableEditCellDate = ({ cellContext, min, max, placeholder }) => {
|
|
|
20734
21273
|
})
|
|
20735
21274
|
});
|
|
20736
21275
|
};
|
|
21276
|
+
DsTableEditCellDate.displayName = "DsTableEditCellDate";
|
|
20737
21277
|
//#endregion
|
|
20738
21278
|
//#region src/components/ds-table/components/edit/cell-editors/ds-table-edit-cell-checkbox.tsx
|
|
20739
21279
|
/** Checkbox editor for table cells. Render via `ColumnDef.editCell`. */
|
|
@@ -20745,6 +21285,7 @@ const DsTableEditCellCheckbox = ({ cellContext, disabled }) => {
|
|
|
20745
21285
|
onCheckedChange: (checked) => setValue(checked === true)
|
|
20746
21286
|
});
|
|
20747
21287
|
};
|
|
21288
|
+
DsTableEditCellCheckbox.displayName = "DsTableEditCellCheckbox";
|
|
20748
21289
|
//#endregion
|
|
20749
21290
|
//#region src/components/ds-toast/ds-toast.module.scss
|
|
20750
21291
|
var ds_toast_module_default = {
|
|
@@ -20870,6 +21411,8 @@ const DsToastGroup = (t0) => {
|
|
|
20870
21411
|
} else t1 = $[1];
|
|
20871
21412
|
return t1;
|
|
20872
21413
|
};
|
|
21414
|
+
DsToast.displayName = "DsToast";
|
|
21415
|
+
DsToastGroup.displayName = "DsToastGroup";
|
|
20873
21416
|
function _temp(toast) {
|
|
20874
21417
|
return /* @__PURE__ */ jsx(DsToast, { ...toast });
|
|
20875
21418
|
}
|
|
@@ -20948,6 +21491,7 @@ const useToaster = () => {
|
|
|
20948
21491
|
if (!context) throw new Error("useToast must be used within a ToastProvider");
|
|
20949
21492
|
return context;
|
|
20950
21493
|
};
|
|
21494
|
+
DsToastProvider.displayName = "DsToastProvider";
|
|
20951
21495
|
//#endregion
|
|
20952
21496
|
//#region src/components/ds-toggle/ds-toggle.module.scss
|
|
20953
21497
|
var ds_toggle_module_default = {
|
|
@@ -21135,6 +21679,7 @@ const DsToggle = (t0) => {
|
|
|
21135
21679
|
} else t15 = $[47];
|
|
21136
21680
|
return t15;
|
|
21137
21681
|
};
|
|
21682
|
+
DsToggle.displayName = "DsToggle";
|
|
21138
21683
|
//#endregion
|
|
21139
21684
|
//#region src/components/ds-tree/ds-tree.module.scss
|
|
21140
21685
|
var ds_tree_module_default = {
|
|
@@ -21543,6 +22088,21 @@ const DsTreeItemAction = (t0) => {
|
|
|
21543
22088
|
} else t3 = $[8];
|
|
21544
22089
|
return t3;
|
|
21545
22090
|
};
|
|
22091
|
+
DsTreeRoot.displayName = "DsTree.Root";
|
|
22092
|
+
DsTreeTree.displayName = "DsTree.Tree";
|
|
22093
|
+
Object.defineProperty(TreeView.NodeProvider, "displayName", { value: "DsTree.NodeProvider" });
|
|
22094
|
+
Object.defineProperty(TreeView.NodeContext, "displayName", { value: "DsTree.NodeContext" });
|
|
22095
|
+
DsTreeBranch.displayName = "DsTree.Branch";
|
|
22096
|
+
DsTreeBranchControl.displayName = "DsTree.BranchControl";
|
|
22097
|
+
DsTreeBranchIndicator.displayName = "DsTree.BranchIndicator";
|
|
22098
|
+
DsTreeBranchText.displayName = "DsTree.BranchText";
|
|
22099
|
+
DsTreeBranchContent.displayName = "DsTree.BranchContent";
|
|
22100
|
+
DsTreeBranchIndentGuide.displayName = "DsTree.BranchIndentGuide";
|
|
22101
|
+
DsTreeItem.displayName = "DsTree.Item";
|
|
22102
|
+
DsTreeItemText.displayName = "DsTree.ItemText";
|
|
22103
|
+
DsTreeItemIndicator.displayName = "DsTree.ItemIndicator";
|
|
22104
|
+
DsTreeItemAction.displayName = "DsTree.ItemAction";
|
|
22105
|
+
DsTreeNodeCheckbox.displayName = "DsTree.NodeCheckbox";
|
|
21546
22106
|
const DsTree = {
|
|
21547
22107
|
Root: DsTreeRoot,
|
|
21548
22108
|
Tree: DsTreeTree,
|
|
@@ -21572,6 +22132,90 @@ const createDsTreeCollection = (nodes) => createTreeCollection({
|
|
|
21572
22132
|
}
|
|
21573
22133
|
});
|
|
21574
22134
|
//#endregion
|
|
22135
|
+
//#region src/components/ds-user-card/ds-user-card.module.scss
|
|
22136
|
+
var ds_user_card_module_default = {
|
|
22137
|
+
"name": "rM_jtW_name",
|
|
22138
|
+
"subtitle": "rM_jtW_subtitle",
|
|
22139
|
+
"text": "rM_jtW_text",
|
|
22140
|
+
"userCard": "rM_jtW_userCard"
|
|
22141
|
+
};
|
|
22142
|
+
//#endregion
|
|
22143
|
+
//#region src/components/ds-user-card/ds-user-card.tsx
|
|
22144
|
+
/**
|
|
22145
|
+
* @summary Compact identity header pairing an avatar with a name and optional subtitle.
|
|
22146
|
+
*
|
|
22147
|
+
* Presentational card used as the header of a user menu. Renders a medium
|
|
22148
|
+
* `DsAvatar` (initials fallback derived from `name`) beside a two-line text
|
|
22149
|
+
* block; both lines truncate with an ellipsis when they overflow.
|
|
22150
|
+
*/
|
|
22151
|
+
const DsUserCard = (t0) => {
|
|
22152
|
+
const $ = c(17);
|
|
22153
|
+
const { name, subtitle, src, className, style } = t0;
|
|
22154
|
+
let t1;
|
|
22155
|
+
if ($[0] !== className) {
|
|
22156
|
+
t1 = classNames(ds_user_card_module_default.userCard, className);
|
|
22157
|
+
$[0] = className;
|
|
22158
|
+
$[1] = t1;
|
|
22159
|
+
} else t1 = $[1];
|
|
22160
|
+
let t2;
|
|
22161
|
+
if ($[2] !== name || $[3] !== src) {
|
|
22162
|
+
t2 = /* @__PURE__ */ jsx(DsAvatar, {
|
|
22163
|
+
name,
|
|
22164
|
+
src,
|
|
22165
|
+
size: "md"
|
|
22166
|
+
});
|
|
22167
|
+
$[2] = name;
|
|
22168
|
+
$[3] = src;
|
|
22169
|
+
$[4] = t2;
|
|
22170
|
+
} else t2 = $[4];
|
|
22171
|
+
let t3;
|
|
22172
|
+
if ($[5] !== name) {
|
|
22173
|
+
t3 = /* @__PURE__ */ jsx(DsTypography, {
|
|
22174
|
+
variant: "heading4",
|
|
22175
|
+
color: "main",
|
|
22176
|
+
className: ds_user_card_module_default.name,
|
|
22177
|
+
children: name
|
|
22178
|
+
});
|
|
22179
|
+
$[5] = name;
|
|
22180
|
+
$[6] = t3;
|
|
22181
|
+
} else t3 = $[6];
|
|
22182
|
+
let t4;
|
|
22183
|
+
if ($[7] !== subtitle) {
|
|
22184
|
+
t4 = subtitle && /* @__PURE__ */ jsx(DsTypography, {
|
|
22185
|
+
variant: "body-xs-reg",
|
|
22186
|
+
color: "secondary",
|
|
22187
|
+
className: ds_user_card_module_default.subtitle,
|
|
22188
|
+
children: subtitle
|
|
22189
|
+
});
|
|
22190
|
+
$[7] = subtitle;
|
|
22191
|
+
$[8] = t4;
|
|
22192
|
+
} else t4 = $[8];
|
|
22193
|
+
let t5;
|
|
22194
|
+
if ($[9] !== t3 || $[10] !== t4) {
|
|
22195
|
+
t5 = /* @__PURE__ */ jsxs("div", {
|
|
22196
|
+
className: ds_user_card_module_default.text,
|
|
22197
|
+
children: [t3, t4]
|
|
22198
|
+
});
|
|
22199
|
+
$[9] = t3;
|
|
22200
|
+
$[10] = t4;
|
|
22201
|
+
$[11] = t5;
|
|
22202
|
+
} else t5 = $[11];
|
|
22203
|
+
let t6;
|
|
22204
|
+
if ($[12] !== style || $[13] !== t1 || $[14] !== t2 || $[15] !== t5) {
|
|
22205
|
+
t6 = /* @__PURE__ */ jsxs("div", {
|
|
22206
|
+
className: t1,
|
|
22207
|
+
style,
|
|
22208
|
+
children: [t2, t5]
|
|
22209
|
+
});
|
|
22210
|
+
$[12] = style;
|
|
22211
|
+
$[13] = t1;
|
|
22212
|
+
$[14] = t2;
|
|
22213
|
+
$[15] = t5;
|
|
22214
|
+
$[16] = t6;
|
|
22215
|
+
} else t6 = $[16];
|
|
22216
|
+
return t6;
|
|
22217
|
+
};
|
|
22218
|
+
//#endregion
|
|
21575
22219
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss
|
|
21576
22220
|
var ds_vertical_tabs_module_default = {
|
|
21577
22221
|
"selected": "xVkVWa_selected",
|
|
@@ -21701,9 +22345,13 @@ const DsVerticalTabsContent = (t0) => {
|
|
|
21701
22345
|
} else t1 = $[3];
|
|
21702
22346
|
return t1;
|
|
21703
22347
|
};
|
|
22348
|
+
DsVerticalTabsList.displayName = "DsVerticalTabs.List";
|
|
22349
|
+
DsVerticalTabsTab.displayName = "DsVerticalTabs.Tab";
|
|
22350
|
+
DsVerticalTabsContent.displayName = "DsVerticalTabs.Content";
|
|
21704
22351
|
DsVerticalTabs.List = DsVerticalTabsList;
|
|
21705
22352
|
DsVerticalTabs.Tab = DsVerticalTabsTab;
|
|
21706
22353
|
DsVerticalTabs.Content = DsVerticalTabsContent;
|
|
22354
|
+
DsVerticalTabs.displayName = "DsVerticalTabs";
|
|
21707
22355
|
//#endregion
|
|
21708
22356
|
//#region src/components/ds-workspace-layout/ds-workspace-layout.module.scss
|
|
21709
22357
|
var ds_workspace_layout_module_default = {
|
|
@@ -22120,6 +22768,13 @@ const LeftPanel = (t0) => {
|
|
|
22120
22768
|
} else t4 = $[11];
|
|
22121
22769
|
return t4;
|
|
22122
22770
|
};
|
|
22771
|
+
Header.displayName = "DsWorkspaceLayout.Header";
|
|
22772
|
+
SubHeader.displayName = "DsWorkspaceLayout.SubHeader";
|
|
22773
|
+
Content.displayName = "DsWorkspaceLayout.Content";
|
|
22774
|
+
Footer.displayName = "DsWorkspaceLayout.Footer";
|
|
22775
|
+
Body.displayName = "DsWorkspaceLayout.Body";
|
|
22776
|
+
SideMenu.displayName = "DsWorkspaceLayout.SideMenu";
|
|
22777
|
+
LeftPanel.displayName = "DsWorkspaceLayout.LeftPanel";
|
|
22123
22778
|
DsWorkspaceLayout.Header = Header;
|
|
22124
22779
|
DsWorkspaceLayout.SubHeader = SubHeader;
|
|
22125
22780
|
DsWorkspaceLayout.Content = Content;
|
|
@@ -22127,7 +22782,8 @@ DsWorkspaceLayout.Footer = Footer;
|
|
|
22127
22782
|
DsWorkspaceLayout.Body = Body;
|
|
22128
22783
|
DsWorkspaceLayout.SideMenu = SideMenu;
|
|
22129
22784
|
DsWorkspaceLayout.LeftPanel = LeftPanel;
|
|
22785
|
+
DsWorkspaceLayout.displayName = "DsWorkspaceLayout";
|
|
22130
22786
|
//#endregion
|
|
22131
|
-
export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCatalogLayout, DsCheckbox, DsCheckboxGroup, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsProgressTaskBar, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect,
|
|
22787
|
+
export { BREAKPOINT_LG, DsAlertBanner, DsAutocomplete, DsAvatar, DsAvatarGroup, DsBreadcrumb, DsButton, DsButtonV3, DsCard, DsCatalogLayout, DsCheckbox, DsCheckboxGroup, DsChip, DsChipGroup, DsCommentBubble, DsCommentCard, DsCommentIndicator, DsCommentThread, DsCommentsDrawer, DsConfirmation, DsDateInput, DsDatePicker, DsDateRangePicker, DsDialog, DsDivider, DsDrawer, DsDropdownMenu, DsDropdownMenuLegacy, DsExpandableTextInput, DsFileUpload, DsFilterStatusIcon, DsFormControl, DsGrid, DsGridItem, DsIcon, DsKeyValuePair, DsLoader, DsModal, DsNextStepButton, DsNumberInput, DsPanel, DsPasswordInput, DsPopover, DsProgressArc, DsProgressDonut, DsProgressLinear, DsProgressTaskBar, DsRadioGroup, DsRadioGroupLegacy, DsSegmentGroup, DsSelect, DsSiteNode, DsSkeleton, DsSkeletonCircle, DsSkeletonRect, DsSkeletonText, DsSmartTabs, DsSpinner, DsSplitButton, DsStack, DsStatusBadge, DsStatusBadgeV2, DsStep, DsStepContent, DsStepper, DsSystemStatus, DsTable, DsTableColumnFilterPopover, DsTableEditCellCheckbox, DsTableEditCellDate, DsTableEditCellNumber, DsTableEditCellSelect, DsTableEditCellText, DsTableEditableCell, DsTableEditingCell, DsTabs, DsTag, DsTagFilter, DsTextInput, DsTextarea, DsThreadItem, DsTimePicker, DsToastProvider, DsToggle, DsTooltip, DsTree, DsTypography, DsUserCard, DsVerticalTabs, DsWorkspaceLayout, FatalFileUploadError, FileUpload, FileUploadError, RetryableFileUploadError, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createColumnHelper, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, defaultDsTableLocale, dropdownMenuActionsAlignments, dropdownMenuItemVariants, dsAvatarSizes, dsAvatarTypes, dsKeyValuePairOrientations, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, popoverAligns, popoverSides, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, siteNodeStates, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, statusBadgeV2Phases, statusBadgeV2Sizes, statusBadgeV2Variants, systemStatuses, tagSizes, tagVariants, taskBarStatuses, textInputSizes, tooltipPlacements, useBreakpoint, useCellEditor, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
22132
22788
|
|
|
22133
22789
|
//# sourceMappingURL=index.js.map
|