sellmate-design-system-react 9.0.0-beta.64 → 9.0.0-beta.66
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/AGENTS.md +28 -3
- package/dist/components/SBarChart/README.md +2 -0
- package/dist/components/SBarChart/SBarChart.d.ts +4 -0
- package/dist/components/SBarChart/barChart.config.d.ts +12 -5
- package/dist/components/SBarcodeInput/README.md +1 -0
- package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +8 -1
- package/dist/components/SChipInput/README.md +1 -0
- package/dist/components/SChipInput/SChipInput.d.ts +8 -1
- package/dist/components/SContextAlert/README.md +51 -0
- package/dist/components/SContextAlert/SContextAlert.d.ts +38 -0
- package/dist/components/SContextAlert/contextAlert.config.d.ts +29 -0
- package/dist/components/SContextAlert/index.d.ts +2 -0
- package/dist/components/SDatePicker/README.md +1 -0
- package/dist/components/SDatePicker/SDatePicker.d.ts +9 -2
- package/dist/components/SDateRangePicker/README.md +1 -0
- package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +9 -2
- package/dist/components/SDonutChart/README.md +14 -0
- package/dist/components/SDonutChart/SDonutChart.d.ts +12 -0
- package/dist/components/SEditor/README.md +1 -0
- package/dist/components/SEditor/SEditor.d.ts +8 -1
- package/dist/components/SField/README.md +7 -0
- package/dist/components/SField/SField.d.ts +13 -0
- package/dist/components/SField/index.d.ts +1 -1
- package/dist/components/SFilePicker/README.md +1 -0
- package/dist/components/SFilePicker/SFilePicker.d.ts +9 -2
- package/dist/components/SIcon/README.md +2 -0
- package/dist/components/SInput/README.md +1 -0
- package/dist/components/SInput/SInput.d.ts +3 -1
- package/dist/components/SLineChart/README.md +10 -0
- package/dist/components/SLineChart/SLineChart.d.ts +8 -0
- package/dist/components/SLineChart/lineChart.config.d.ts +49 -33
- package/dist/components/SNumberInput/README.md +1 -0
- package/dist/components/SNumberInput/SNumberInput.d.ts +8 -1
- package/dist/components/SPieChart/README.md +2 -0
- package/dist/components/SPieChart/SPieChart.d.ts +4 -0
- package/dist/components/SSelect/README.md +1 -0
- package/dist/components/SSelect/SSelect.d.ts +8 -1
- package/dist/components/STextarea/README.md +1 -0
- package/dist/components/STextarea/STextarea.d.ts +8 -1
- package/dist/components/STimePicker/README.md +1 -0
- package/dist/components/STimePicker/STimePicker.d.ts +9 -2
- package/dist/components/STimeRangePicker/README.md +1 -0
- package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +9 -2
- package/dist/index.cjs +451 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +447 -176
- package/dist/index.js.map +1 -1
- package/dist/lib/chart/frame.d.ts +5 -1
- package/dist/lib/chart/legend.d.ts +8 -2
- package/dist/lib/chart/palette.d.ts +15 -13
- package/dist/lib/chart/radial.d.ts +20 -10
- package/dist/llms-full.txt +126 -4
- package/dist/llms.txt +32 -6
- package/dist/styles.css +162 -15
- package/dist/theme.css +104 -6
- package/eslint/scale.gen.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4122,7 +4122,7 @@ function SFooter({
|
|
|
4122
4122
|
{
|
|
4123
4123
|
className: cn(
|
|
4124
4124
|
"relative flex w-full flex-shrink-0 items-center justify-end gap-[var(--cmp-overlay-footer-gap)] overflow-hidden px-[var(--cmp-overlay-footer-paddingX)] py-[var(--cmp-overlay-footer-paddingY)]",
|
|
4125
|
-
isGrey ? "bg-[var(--cmp-overlay-footer-bg-neutral)] border-t border-solid border-[color:var(--sys-color-border-default)]" : "bg-[var(--cmp-overlay-footer-bg-default)] shadow-[var(--
|
|
4125
|
+
isGrey ? "bg-[var(--cmp-overlay-footer-bg-neutral)] border-t border-solid border-[color:var(--sys-color-border-default)]" : "bg-[var(--cmp-overlay-footer-bg-default)] shadow-[var(--cmp-overlay-footer-shadow)]",
|
|
4126
4126
|
className
|
|
4127
4127
|
),
|
|
4128
4128
|
style,
|
|
@@ -4711,6 +4711,7 @@ var SField = /* @__PURE__ */ forwardRef(function SField2({
|
|
|
4711
4711
|
iconColor,
|
|
4712
4712
|
labelTooltip = "",
|
|
4713
4713
|
labelTooltipProps,
|
|
4714
|
+
labelPosition = "left",
|
|
4714
4715
|
labelWidth,
|
|
4715
4716
|
labelHeight,
|
|
4716
4717
|
size = "sm",
|
|
@@ -4753,6 +4754,7 @@ var SField = /* @__PURE__ */ forwardRef(function SField2({
|
|
|
4753
4754
|
[]
|
|
4754
4755
|
);
|
|
4755
4756
|
const s = FIELD_SIZE[size];
|
|
4757
|
+
const labelOnTop = labelPosition === "top";
|
|
4756
4758
|
if (label !== "" && addonLabel !== "" && typeof console !== "undefined") {
|
|
4757
4759
|
console.warn(
|
|
4758
4760
|
"[SField] label \uACFC addonLabel \uC740 \uD568\uAED8 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. addonLabel \uC744 \uBB34\uC2DC\uD569\uB2C8\uB2E4."
|
|
@@ -4791,103 +4793,120 @@ var SField = /* @__PURE__ */ forwardRef(function SField2({
|
|
|
4791
4793
|
style,
|
|
4792
4794
|
onMouseEnter,
|
|
4793
4795
|
onMouseLeave,
|
|
4794
|
-
children: /* @__PURE__ */ jsxs(
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
}
|
|
4815
|
-
),
|
|
4816
|
-
/* @__PURE__ */ jsx("span", { className: "min-w-0 overflow-hidden text-ellipsis whitespace-nowrap", children: label }),
|
|
4817
|
-
(labelTooltip !== "" || labelTooltipProps) && /* @__PURE__ */ jsx("span", { className: "shrink-0 flex items-center", style: { marginLeft: s.labelGap }, children: /* @__PURE__ */ jsx(
|
|
4818
|
-
STooltip2,
|
|
4819
|
-
{
|
|
4820
|
-
message: labelTooltip !== "" ? [labelTooltip] : void 0,
|
|
4821
|
-
iconSize: s.icon,
|
|
4822
|
-
...labelTooltipProps
|
|
4823
|
-
}
|
|
4824
|
-
) })
|
|
4825
|
-
]
|
|
4826
|
-
}
|
|
4827
|
-
),
|
|
4828
|
-
/* @__PURE__ */ jsxs(
|
|
4829
|
-
"div",
|
|
4830
|
-
{
|
|
4831
|
-
className: cn("flex min-w-0 flex-col", !hug && !isPercentWidth && "flex-1"),
|
|
4832
|
-
style: {
|
|
4833
|
-
width: resolvedWidth,
|
|
4834
|
-
minWidth: fieldWidthValue(minWidth),
|
|
4835
|
-
maxWidth: resolvedMaxWidth
|
|
4836
|
-
},
|
|
4837
|
-
children: [
|
|
4838
|
-
/* @__PURE__ */ jsxs(
|
|
4839
|
-
"div",
|
|
4840
|
-
{
|
|
4841
|
-
className: cn(
|
|
4842
|
-
"relative box-border flex min-w-0 items-stretch border border-solid border-(--field-bc)",
|
|
4843
|
-
// 둘 다 넘친 것을 잘라 내지만 clip 은 스크롤 상자를 만들지 않는다. hidden 이면
|
|
4844
|
-
// 이 상자가 스크롤포트가 되어 안쪽의 position:sticky 가 페이지 스크롤을 따라가지
|
|
4845
|
-
// 못한다 (SEditor 의 고정 툴바). 여러 줄 필드에서만 바꿔 파급을 좁힌다.
|
|
4846
|
-
multiline ? "overflow-clip" : "overflow-hidden",
|
|
4847
|
-
interactive && !borderless && "hover:border-(--sys-color-field-border-focus) hover:shadow-[0px_0px_4px_0px_#0071ff66] focus-within:border-(--sys-color-field-border-focus) focus-within:shadow-[0px_0px_4px_0px_#0071ff66]",
|
|
4848
|
-
disabled && "cursor-not-allowed"
|
|
4849
|
-
),
|
|
4850
|
-
style: {
|
|
4851
|
-
// @ts-expect-error CSS 변수
|
|
4852
|
-
"--field-bc": borderColor,
|
|
4853
|
-
// focused/hovered prop이 명시된 경우 강조를 즉시 반영
|
|
4854
|
-
...interactive && !borderless && (focused || hovered) ? { boxShadow: FOCUS_RING_SHADOW } : {},
|
|
4855
|
-
...multiline ? { minHeight: s.height } : { height: s.height },
|
|
4856
|
-
"borderRadius": s.radius,
|
|
4857
|
-
"background": bgColor,
|
|
4858
|
-
"color": textColor
|
|
4796
|
+
children: /* @__PURE__ */ jsxs(
|
|
4797
|
+
"div",
|
|
4798
|
+
{
|
|
4799
|
+
className: cn(
|
|
4800
|
+
"flex w-full",
|
|
4801
|
+
labelOnTop ? "flex-col gap-(--sys-space-field-vertical-gap)" : "items-start"
|
|
4802
|
+
),
|
|
4803
|
+
children: [
|
|
4804
|
+
label !== "" && /* @__PURE__ */ jsxs(
|
|
4805
|
+
"div",
|
|
4806
|
+
{
|
|
4807
|
+
className: "flex shrink-0 items-center font-bold text-(--sys-color-field-text-default)",
|
|
4808
|
+
style: {
|
|
4809
|
+
// 위에 선 라벨은 제 글줄 높이만 차지한다 — 컨트롤 높이에 맞춰 늘리면
|
|
4810
|
+
// 라벨과 컨트롤 사이가 간격 토큰보다 넓어진다. 줄 세우기용 labelWidth 도
|
|
4811
|
+
// 뜻이 없다(아래에 컨트롤이 제 폭으로 선다).
|
|
4812
|
+
...labelOnTop ? {} : {
|
|
4813
|
+
height: cssLen(labelHeight) ?? s.height,
|
|
4814
|
+
marginRight: s.fieldGap,
|
|
4815
|
+
width: cssLen(labelWidth)
|
|
4859
4816
|
},
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4817
|
+
fontSize: s.fontSize,
|
|
4818
|
+
lineHeight: `${s.lineHeight}px`
|
|
4819
|
+
},
|
|
4820
|
+
children: [
|
|
4821
|
+
icon && /* @__PURE__ */ jsx(
|
|
4822
|
+
SIcon,
|
|
4823
|
+
{
|
|
4824
|
+
name: icon,
|
|
4825
|
+
size: s.icon,
|
|
4826
|
+
color: iconColor,
|
|
4827
|
+
style: { marginRight: s.labelGap }
|
|
4828
|
+
}
|
|
4829
|
+
),
|
|
4830
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 overflow-hidden text-ellipsis whitespace-nowrap", children: label }),
|
|
4831
|
+
(labelTooltip !== "" || labelTooltipProps) && /* @__PURE__ */ jsx("span", { className: "shrink-0 flex items-center", style: { marginLeft: s.labelGap }, children: /* @__PURE__ */ jsx(
|
|
4832
|
+
STooltip2,
|
|
4833
|
+
{
|
|
4834
|
+
message: labelTooltip !== "" ? [labelTooltip] : void 0,
|
|
4835
|
+
iconSize: s.icon,
|
|
4836
|
+
...labelTooltipProps
|
|
4837
|
+
}
|
|
4838
|
+
) })
|
|
4839
|
+
]
|
|
4840
|
+
}
|
|
4841
|
+
),
|
|
4842
|
+
/* @__PURE__ */ jsxs(
|
|
4843
|
+
"div",
|
|
4844
|
+
{
|
|
4845
|
+
className: cn(
|
|
4846
|
+
"flex min-w-0 flex-col",
|
|
4847
|
+
!labelOnTop && !hug && !isPercentWidth && "flex-1"
|
|
4848
|
+
),
|
|
4849
|
+
style: {
|
|
4850
|
+
width: resolvedWidth,
|
|
4851
|
+
minWidth: fieldWidthValue(minWidth),
|
|
4852
|
+
maxWidth: resolvedMaxWidth
|
|
4853
|
+
},
|
|
4854
|
+
children: [
|
|
4855
|
+
/* @__PURE__ */ jsxs(
|
|
4856
|
+
"div",
|
|
4857
|
+
{
|
|
4858
|
+
className: cn(
|
|
4859
|
+
"relative box-border flex min-w-0 items-stretch border border-solid border-(--field-bc)",
|
|
4860
|
+
// 둘 다 넘친 것을 잘라 내지만 clip 은 스크롤 상자를 만들지 않는다. hidden 이면
|
|
4861
|
+
// 이 상자가 스크롤포트가 되어 안쪽의 position:sticky 가 페이지 스크롤을 따라가지
|
|
4862
|
+
// 못한다 (SEditor 의 고정 툴바). 여러 줄 필드에서만 바꿔 파급을 좁힌다.
|
|
4863
|
+
multiline ? "overflow-clip" : "overflow-hidden",
|
|
4864
|
+
interactive && !borderless && "hover:border-(--sys-color-field-border-focus) hover:shadow-[0px_0px_4px_0px_#0071ff66] focus-within:border-(--sys-color-field-border-focus) focus-within:shadow-[0px_0px_4px_0px_#0071ff66]",
|
|
4865
|
+
disabled && "cursor-not-allowed"
|
|
4866
|
+
),
|
|
4867
|
+
style: {
|
|
4868
|
+
// @ts-expect-error CSS 변수
|
|
4869
|
+
"--field-bc": borderColor,
|
|
4870
|
+
// focused/hovered prop이 명시된 경우 강조를 즉시 반영
|
|
4871
|
+
...interactive && !borderless && (focused || hovered) ? { boxShadow: FOCUS_RING_SHADOW } : {},
|
|
4872
|
+
...multiline ? { minHeight: s.height } : { height: s.height },
|
|
4873
|
+
"borderRadius": s.radius,
|
|
4874
|
+
"background": bgColor,
|
|
4875
|
+
"color": textColor
|
|
4876
|
+
},
|
|
4877
|
+
"data-focused": focused || void 0,
|
|
4878
|
+
"data-hovered": hovered || void 0,
|
|
4879
|
+
children: [
|
|
4880
|
+
effectiveAddonLabel !== "" && /* @__PURE__ */ jsxs(
|
|
4881
|
+
"div",
|
|
4882
|
+
{
|
|
4883
|
+
className: "flex shrink-0 items-center gap-(--cmp-field-addonLabel-gap) whitespace-nowrap border-r border-solid px-(--cmp-field-addonLabel-paddingX) text-12 font-medium leading-sd-20",
|
|
4884
|
+
style: {
|
|
4885
|
+
// 원본 sd-field: labelWidth가 addon 폭(--sd-field-addon-width)에도 적용됨
|
|
4886
|
+
width: cssLen(labelWidth),
|
|
4887
|
+
justifyContent: ALIGN[addonAlign],
|
|
4888
|
+
background: "var(--cmp-field-addonLabel-bg)",
|
|
4889
|
+
borderRightColor: disabled ? "var(--cmp-field-addonLabel-border-disabled)" : "var(--cmp-field-addonLabel-border-default)",
|
|
4890
|
+
borderTopLeftRadius: s.radius - 1,
|
|
4891
|
+
borderBottomLeftRadius: s.radius - 1
|
|
4892
|
+
},
|
|
4893
|
+
children: [
|
|
4894
|
+
icon && !label && /* @__PURE__ */ jsx(SIcon, { name: icon, size: s.icon, color: iconColor }),
|
|
4895
|
+
effectiveAddonLabel
|
|
4896
|
+
]
|
|
4897
|
+
}
|
|
4898
|
+
),
|
|
4899
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex min-w-0 flex-1", multiline && "bg-inherit"), children })
|
|
4900
|
+
]
|
|
4901
|
+
}
|
|
4902
|
+
),
|
|
4903
|
+
showError ? /* @__PURE__ */ jsx("div", { className: "mt-(--cmp-field-contents-gap) px-(--cmp-field-message-paddingX) text-12 font-normal leading-sd-20 text-(--cmp-field-errorMessage-color)", children: errorMessage }) : hint !== "" ? /* @__PURE__ */ jsx("div", { className: "mt-(--cmp-field-contents-gap) px-(--cmp-field-message-paddingX) text-12 font-normal leading-sd-20 text-(--cmp-field-hint-color)", children: hint }) : null
|
|
4904
|
+
]
|
|
4905
|
+
}
|
|
4906
|
+
)
|
|
4907
|
+
]
|
|
4908
|
+
}
|
|
4909
|
+
)
|
|
4891
4910
|
}
|
|
4892
4911
|
);
|
|
4893
4912
|
});
|
|
@@ -4924,6 +4943,7 @@ var STextarea = /* @__PURE__ */ forwardRef(function STextarea2({
|
|
|
4924
4943
|
textareaClassName,
|
|
4925
4944
|
textareaStyle,
|
|
4926
4945
|
label,
|
|
4946
|
+
labelPosition,
|
|
4927
4947
|
labelWidth,
|
|
4928
4948
|
icon,
|
|
4929
4949
|
iconColor,
|
|
@@ -4983,6 +5003,7 @@ var STextarea = /* @__PURE__ */ forwardRef(function STextarea2({
|
|
|
4983
5003
|
SField,
|
|
4984
5004
|
{
|
|
4985
5005
|
label,
|
|
5006
|
+
labelPosition,
|
|
4986
5007
|
labelWidth,
|
|
4987
5008
|
icon,
|
|
4988
5009
|
iconColor,
|
|
@@ -6950,7 +6971,7 @@ function TreeConnector({
|
|
|
6950
6971
|
className: cn(
|
|
6951
6972
|
"absolute left-[6px] h-px bg-(--cmp-tree-connector-line-color)",
|
|
6952
6973
|
branchTop,
|
|
6953
|
-
hasChildren ? "w-[14px]" : "w-[calc(14px+var(--cmp-
|
|
6974
|
+
hasChildren ? "w-[14px]" : "w-[calc(14px+var(--cmp-ghostButton-xxs-size))]"
|
|
6954
6975
|
)
|
|
6955
6976
|
}
|
|
6956
6977
|
)
|
|
@@ -7103,7 +7124,12 @@ var STreeItemImpl = /* @__PURE__ */ forwardRef(function STreeItem({
|
|
|
7103
7124
|
onToggle?.(node, event);
|
|
7104
7125
|
}
|
|
7105
7126
|
}
|
|
7106
|
-
) :
|
|
7127
|
+
) : (
|
|
7128
|
+
// 자식이 없는 줄은 펼침 버튼 자리를 빈 칸으로 남겨 라벨의 시작점을 맞춘다.
|
|
7129
|
+
// 크기는 자리를 대신하는 그 버튼(`SGhostButton size="xxs"`)의 토큰을 그대로 쓴다 —
|
|
7130
|
+
// 버튼 크기가 바뀌면 빈 칸도 같이 따라가야 줄이 어긋나지 않는다.
|
|
7131
|
+
/* @__PURE__ */ jsx("span", { className: "size-(--cmp-ghostButton-xxs-size) shrink-0", "aria-hidden": "true" })
|
|
7132
|
+
),
|
|
7107
7133
|
leadingNode,
|
|
7108
7134
|
selectable && /* @__PURE__ */ jsx(
|
|
7109
7135
|
"span",
|
|
@@ -8046,6 +8072,96 @@ var SCallout = /* @__PURE__ */ forwardRef(function SCallout2({ type = "default",
|
|
|
8046
8072
|
}
|
|
8047
8073
|
);
|
|
8048
8074
|
});
|
|
8075
|
+
|
|
8076
|
+
// src/components/SContextAlert/contextAlert.config.ts
|
|
8077
|
+
var CONTEXT_ALERT_INTENTS = [
|
|
8078
|
+
"default",
|
|
8079
|
+
"danger",
|
|
8080
|
+
"warning",
|
|
8081
|
+
"success",
|
|
8082
|
+
"accent",
|
|
8083
|
+
"discovery"
|
|
8084
|
+
];
|
|
8085
|
+
var CONTEXT_ALERT_SURFACE = {
|
|
8086
|
+
default: {
|
|
8087
|
+
bg: "var(--cmp-contextAlert-default-bg)",
|
|
8088
|
+
border: "var(--cmp-contextAlert-default-border)"
|
|
8089
|
+
},
|
|
8090
|
+
danger: {
|
|
8091
|
+
bg: "var(--cmp-contextAlert-danger-bg)",
|
|
8092
|
+
border: "var(--cmp-contextAlert-danger-border)"
|
|
8093
|
+
},
|
|
8094
|
+
warning: {
|
|
8095
|
+
bg: "var(--cmp-contextAlert-warning-bg)",
|
|
8096
|
+
border: "var(--cmp-contextAlert-warning-border)"
|
|
8097
|
+
},
|
|
8098
|
+
success: {
|
|
8099
|
+
bg: "var(--cmp-contextAlert-success-bg)",
|
|
8100
|
+
border: "var(--cmp-contextAlert-success-border)"
|
|
8101
|
+
},
|
|
8102
|
+
accent: {
|
|
8103
|
+
bg: "var(--cmp-contextAlert-accent-bg)",
|
|
8104
|
+
border: "var(--cmp-contextAlert-accent-border)"
|
|
8105
|
+
},
|
|
8106
|
+
discovery: {
|
|
8107
|
+
bg: "var(--cmp-contextAlert-discovery-bg)",
|
|
8108
|
+
border: "var(--cmp-contextAlert-discovery-border)"
|
|
8109
|
+
}
|
|
8110
|
+
};
|
|
8111
|
+
var CONTEXT_ALERT_DEFAULT_ICON = "notificationOutline";
|
|
8112
|
+
var CONTEXT_ALERT_ICON_COLOR = "var(--sys-color-fg-tertiary)";
|
|
8113
|
+
var SContextAlert = /* @__PURE__ */ forwardRef(function SContextAlert2({
|
|
8114
|
+
intent = "default",
|
|
8115
|
+
messages = [],
|
|
8116
|
+
icon = CONTEXT_ALERT_DEFAULT_ICON,
|
|
8117
|
+
action: action2,
|
|
8118
|
+
className,
|
|
8119
|
+
style
|
|
8120
|
+
}, ref) {
|
|
8121
|
+
const surface = CONTEXT_ALERT_SURFACE[intent];
|
|
8122
|
+
const vars = {
|
|
8123
|
+
"--ca-bg": surface.bg,
|
|
8124
|
+
"--ca-border": surface.border
|
|
8125
|
+
};
|
|
8126
|
+
return /* @__PURE__ */ jsxs(
|
|
8127
|
+
"div",
|
|
8128
|
+
{
|
|
8129
|
+
ref,
|
|
8130
|
+
role: "note",
|
|
8131
|
+
className: cn(
|
|
8132
|
+
"flex w-full items-center gap-[var(--cmp-contextAlert-gap)]",
|
|
8133
|
+
"rounded-[var(--cmp-contextAlert-radius)] border-[length:var(--cmp-contextAlert-border-width)] border-solid",
|
|
8134
|
+
"px-[var(--cmp-contextAlert-paddingX)] py-[var(--cmp-contextAlert-paddingY)]",
|
|
8135
|
+
"border-[color:var(--ca-border)] bg-[var(--ca-bg)]",
|
|
8136
|
+
className
|
|
8137
|
+
),
|
|
8138
|
+
style: { ...vars, ...style },
|
|
8139
|
+
children: [
|
|
8140
|
+
/* @__PURE__ */ jsx(
|
|
8141
|
+
SIcon,
|
|
8142
|
+
{
|
|
8143
|
+
name: icon,
|
|
8144
|
+
size: "var(--cmp-contextAlert-icon)",
|
|
8145
|
+
color: CONTEXT_ALERT_ICON_COLOR,
|
|
8146
|
+
className: "shrink-0"
|
|
8147
|
+
}
|
|
8148
|
+
),
|
|
8149
|
+
/* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 flex-col text-[12px] font-normal leading-[20px] text-[color:var(--cmp-contextAlert-content)]", children: messages.map((m, i) => (
|
|
8150
|
+
// 메시지는 HTML 문자열을 허용하되, sanitizeInlineHtml 로 살균 후 innerHTML 렌더 (XSS 방어)
|
|
8151
|
+
/* @__PURE__ */ jsx(
|
|
8152
|
+
"p",
|
|
8153
|
+
{
|
|
8154
|
+
className: "m-0 break-keep break-words text-pretty",
|
|
8155
|
+
dangerouslySetInnerHTML: { __html: sanitizeInlineHtml(m) }
|
|
8156
|
+
},
|
|
8157
|
+
`${i}-${m}`
|
|
8158
|
+
)
|
|
8159
|
+
)) }),
|
|
8160
|
+
action2 != null && /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: action2 })
|
|
8161
|
+
]
|
|
8162
|
+
}
|
|
8163
|
+
);
|
|
8164
|
+
});
|
|
8049
8165
|
var FILL_COLOR = {
|
|
8050
8166
|
primary: "var(--cmp-progress-color-active)",
|
|
8051
8167
|
error: "var(--cmp-progress-color-error)",
|
|
@@ -10044,7 +10160,7 @@ function SConfirmModal({
|
|
|
10044
10160
|
}
|
|
10045
10161
|
)
|
|
10046
10162
|
] }),
|
|
10047
|
-
hasBody && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-[20px] text-center text-[
|
|
10163
|
+
hasBody && /* @__PURE__ */ jsxs("div", { className: "typo-feedback-md-regular flex w-full flex-col items-center gap-[20px] text-center text-[color:var(--cmp-modal-confirm-message-color)]", children: [
|
|
10048
10164
|
topMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: topMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
10049
10165
|
"p",
|
|
10050
10166
|
{
|
|
@@ -10230,7 +10346,7 @@ function SLoadingModal({
|
|
|
10230
10346
|
lines.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: lines.map((m, i) => /* @__PURE__ */ jsx(
|
|
10231
10347
|
"p",
|
|
10232
10348
|
{
|
|
10233
|
-
className: "m-0 max-w-[400px] break-keep text-center text-[
|
|
10349
|
+
className: "typo-feedback-md-regular m-0 max-w-[400px] break-keep text-center text-[color:var(--cmp-modal-loading-message-color)]",
|
|
10234
10350
|
children: m
|
|
10235
10351
|
},
|
|
10236
10352
|
i
|
|
@@ -11985,7 +12101,7 @@ var SGnb = /* @__PURE__ */ forwardRef(function SGnb2({
|
|
|
11985
12101
|
viewportPadding: 8,
|
|
11986
12102
|
ariaLabel: GNB_LAUNCHER_LABEL,
|
|
11987
12103
|
onOpenAutoFocus: (event) => event.preventDefault(),
|
|
11988
|
-
className: "w-auto rounded-(--cmp-gnb-launcher-listBox-radius) bg-(--cmp-gnb-launcher-listBox-bg) shadow-
|
|
12104
|
+
className: "w-auto rounded-(--cmp-gnb-launcher-listBox-radius) bg-(--cmp-gnb-launcher-listBox-bg) shadow-(--cmp-gnb-launcher-listBox-shadow)",
|
|
11989
12105
|
children: /* @__PURE__ */ jsx(
|
|
11990
12106
|
SLauncherListBox,
|
|
11991
12107
|
{
|
|
@@ -14733,6 +14849,7 @@ var SSelectImpl = /* @__PURE__ */ forwardRef(function SSelect({
|
|
|
14733
14849
|
onSearchChange,
|
|
14734
14850
|
searchDebounce = DEFAULT_SEARCH_DEBOUNCE,
|
|
14735
14851
|
label,
|
|
14852
|
+
labelPosition,
|
|
14736
14853
|
labelWidth,
|
|
14737
14854
|
icon,
|
|
14738
14855
|
iconColor,
|
|
@@ -15165,6 +15282,7 @@ var SSelectImpl = /* @__PURE__ */ forwardRef(function SSelect({
|
|
|
15165
15282
|
SField,
|
|
15166
15283
|
{
|
|
15167
15284
|
label,
|
|
15285
|
+
labelPosition,
|
|
15168
15286
|
labelWidth,
|
|
15169
15287
|
icon,
|
|
15170
15288
|
iconColor,
|
|
@@ -16895,6 +17013,7 @@ var SInput = /* @__PURE__ */ forwardRef(function SInput2({
|
|
|
16895
17013
|
inputClassName,
|
|
16896
17014
|
inputStyle,
|
|
16897
17015
|
label,
|
|
17016
|
+
labelPosition,
|
|
16898
17017
|
labelWidth,
|
|
16899
17018
|
labelTooltip,
|
|
16900
17019
|
labelTooltipProps,
|
|
@@ -16938,6 +17057,7 @@ var SInput = /* @__PURE__ */ forwardRef(function SInput2({
|
|
|
16938
17057
|
SField,
|
|
16939
17058
|
{
|
|
16940
17059
|
label,
|
|
17060
|
+
labelPosition,
|
|
16941
17061
|
labelWidth,
|
|
16942
17062
|
labelTooltip,
|
|
16943
17063
|
labelTooltipProps,
|
|
@@ -17128,6 +17248,7 @@ var SNumberInput = /* @__PURE__ */ forwardRef(function SNumberInput2({
|
|
|
17128
17248
|
focused,
|
|
17129
17249
|
hovered,
|
|
17130
17250
|
label,
|
|
17251
|
+
labelPosition,
|
|
17131
17252
|
labelWidth,
|
|
17132
17253
|
icon,
|
|
17133
17254
|
iconColor,
|
|
@@ -17297,6 +17418,7 @@ var SNumberInput = /* @__PURE__ */ forwardRef(function SNumberInput2({
|
|
|
17297
17418
|
SField,
|
|
17298
17419
|
{
|
|
17299
17420
|
label,
|
|
17421
|
+
labelPosition,
|
|
17300
17422
|
labelWidth,
|
|
17301
17423
|
icon,
|
|
17302
17424
|
iconColor,
|
|
@@ -17584,7 +17706,7 @@ function SCalendar({
|
|
|
17584
17706
|
if (e !== "" && date > e) return true;
|
|
17585
17707
|
return false;
|
|
17586
17708
|
};
|
|
17587
|
-
const
|
|
17709
|
+
const pick2 = (date) => {
|
|
17588
17710
|
if (!isDisabled(date)) onValueChange?.(date);
|
|
17589
17711
|
};
|
|
17590
17712
|
return /* @__PURE__ */ jsxs(
|
|
@@ -17669,7 +17791,7 @@ function SCalendar({
|
|
|
17669
17791
|
{
|
|
17670
17792
|
type: "button",
|
|
17671
17793
|
disabled: !cell.inCurrentMonth || disabled,
|
|
17672
|
-
onClick: () => cell.inCurrentMonth &&
|
|
17794
|
+
onClick: () => cell.inCurrentMonth && pick2(cell.date),
|
|
17673
17795
|
className: cn(
|
|
17674
17796
|
"flex min-h-[var(--cmp-datepicker-calendar-day-circle-size)] w-[var(--cmp-datepicker-calendar-day-width)] flex-col items-center justify-start border-none bg-transparent p-0",
|
|
17675
17797
|
!cell.inCurrentMonth ? "invisible pointer-events-none" : disabled ? "cursor-not-allowed" : "cursor-pointer"
|
|
@@ -18015,6 +18137,7 @@ function SDatePicker({
|
|
|
18015
18137
|
rules,
|
|
18016
18138
|
status,
|
|
18017
18139
|
label,
|
|
18140
|
+
labelPosition,
|
|
18018
18141
|
labelWidth,
|
|
18019
18142
|
icon,
|
|
18020
18143
|
iconColor,
|
|
@@ -18087,6 +18210,7 @@ function SDatePicker({
|
|
|
18087
18210
|
SField,
|
|
18088
18211
|
{
|
|
18089
18212
|
label,
|
|
18213
|
+
labelPosition,
|
|
18090
18214
|
labelWidth,
|
|
18091
18215
|
icon,
|
|
18092
18216
|
iconColor,
|
|
@@ -18549,6 +18673,7 @@ function SDateRangePicker({
|
|
|
18549
18673
|
rules,
|
|
18550
18674
|
status,
|
|
18551
18675
|
label,
|
|
18676
|
+
labelPosition,
|
|
18552
18677
|
labelWidth,
|
|
18553
18678
|
icon,
|
|
18554
18679
|
iconColor,
|
|
@@ -18621,6 +18746,7 @@ function SDateRangePicker({
|
|
|
18621
18746
|
SField,
|
|
18622
18747
|
{
|
|
18623
18748
|
label,
|
|
18749
|
+
labelPosition,
|
|
18624
18750
|
labelWidth,
|
|
18625
18751
|
icon,
|
|
18626
18752
|
iconColor,
|
|
@@ -18925,6 +19051,7 @@ function SFilePicker({
|
|
|
18925
19051
|
status,
|
|
18926
19052
|
size = "sm",
|
|
18927
19053
|
label,
|
|
19054
|
+
labelPosition,
|
|
18928
19055
|
labelWidth,
|
|
18929
19056
|
icon,
|
|
18930
19057
|
iconColor,
|
|
@@ -19109,6 +19236,7 @@ function SFilePicker({
|
|
|
19109
19236
|
{
|
|
19110
19237
|
borderless: inline,
|
|
19111
19238
|
label,
|
|
19239
|
+
labelPosition,
|
|
19112
19240
|
labelWidth,
|
|
19113
19241
|
icon,
|
|
19114
19242
|
iconColor,
|
|
@@ -19374,7 +19502,7 @@ function ChartGrid({ scale, direction, width, height }) {
|
|
|
19374
19502
|
return /* @__PURE__ */ jsx("g", { "aria-hidden": true, children: scale.ticks.map((tick) => {
|
|
19375
19503
|
const ratio = ratioOf(tick, scale);
|
|
19376
19504
|
const isBaseline = tick === 0;
|
|
19377
|
-
const color = isBaseline ? "var(--cmp-chart-baseline-color)" : "var(--cmp-chart-
|
|
19505
|
+
const color = isBaseline ? "var(--cmp-chart-baseline-color)" : "var(--cmp-chart-gridline-color)";
|
|
19378
19506
|
const position = vertical ? height - ratio * height : ratio * width;
|
|
19379
19507
|
const extent = vertical ? height : width;
|
|
19380
19508
|
const snapped = Math.min(Math.max(Math.round(position), 0), Math.max(0, extent - 1)) + 0.5;
|
|
@@ -19452,7 +19580,7 @@ function ChartAxisLabels({
|
|
|
19452
19580
|
}
|
|
19453
19581
|
);
|
|
19454
19582
|
}
|
|
19455
|
-
var ChartFrame = /* @__PURE__ */ forwardRef(function ChartFrame2({ legend, legendPosition = "top", children, className, style, ...props }, ref) {
|
|
19583
|
+
var ChartFrame = /* @__PURE__ */ forwardRef(function ChartFrame2({ title, unit, legend, legendPosition = "top", children, className, style, ...props }, ref) {
|
|
19456
19584
|
return /* @__PURE__ */ jsxs(
|
|
19457
19585
|
"div",
|
|
19458
19586
|
{
|
|
@@ -19465,6 +19593,14 @@ var ChartFrame = /* @__PURE__ */ forwardRef(function ChartFrame2({ legend, legen
|
|
|
19465
19593
|
style,
|
|
19466
19594
|
...props,
|
|
19467
19595
|
children: [
|
|
19596
|
+
(title || unit) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-(--cmp-chart-gap)", children: [
|
|
19597
|
+
title && /* @__PURE__ */ jsx("span", { className: "typo-body-md-medium text-(--cmp-chart-title-color)", children: title }),
|
|
19598
|
+
unit && // ml-auto — title 유무와 관계없이 항상 오른쪽 끝에 붙는다.
|
|
19599
|
+
/* @__PURE__ */ jsxs("span", { className: "ml-auto whitespace-nowrap typo-body-sm-default text-(--cmp-chart-unit-color)", children: [
|
|
19600
|
+
"\uB2E8\uC704 : ",
|
|
19601
|
+
unit
|
|
19602
|
+
] })
|
|
19603
|
+
] }),
|
|
19468
19604
|
legend && legendPosition === "top" && legend,
|
|
19469
19605
|
children,
|
|
19470
19606
|
legend && legendPosition === "bottom" && legend
|
|
@@ -19473,8 +19609,51 @@ var ChartFrame = /* @__PURE__ */ forwardRef(function ChartFrame2({ legend, legen
|
|
|
19473
19609
|
);
|
|
19474
19610
|
});
|
|
19475
19611
|
var DOT_SIZE = 6;
|
|
19476
|
-
function ChartLegend({
|
|
19612
|
+
function ChartLegend({
|
|
19613
|
+
items,
|
|
19614
|
+
align = "center",
|
|
19615
|
+
activeIndex,
|
|
19616
|
+
className,
|
|
19617
|
+
variant = "simple"
|
|
19618
|
+
}) {
|
|
19477
19619
|
if (items.length === 0) return null;
|
|
19620
|
+
const dot = (color) => /* @__PURE__ */ jsx(
|
|
19621
|
+
"span",
|
|
19622
|
+
{
|
|
19623
|
+
"aria-hidden": true,
|
|
19624
|
+
className: "shrink-0 rounded-full",
|
|
19625
|
+
style: { width: DOT_SIZE, height: DOT_SIZE, background: color }
|
|
19626
|
+
}
|
|
19627
|
+
);
|
|
19628
|
+
if (variant === "default") {
|
|
19629
|
+
return /* @__PURE__ */ jsx(
|
|
19630
|
+
"ul",
|
|
19631
|
+
{
|
|
19632
|
+
className: cn(
|
|
19633
|
+
"flex list-none flex-col gap-(--cmp-chart-doughnut-legend-data-default-gap) p-0",
|
|
19634
|
+
className
|
|
19635
|
+
),
|
|
19636
|
+
children: items.map((item4, index) => /* @__PURE__ */ jsxs(
|
|
19637
|
+
"li",
|
|
19638
|
+
{
|
|
19639
|
+
className: cn(
|
|
19640
|
+
"flex items-center gap-(--cmp-chart-legendItem-gap)",
|
|
19641
|
+
"py-(--cmp-chart-legendItem-paddingY)",
|
|
19642
|
+
"typo-body-sm-medium text-(--cmp-chart-legendItem-color)",
|
|
19643
|
+
"transition-opacity duration-200 ease-out motion-reduce:transition-none",
|
|
19644
|
+
activeIndex != null && activeIndex !== index && "opacity-(--opacity-060)"
|
|
19645
|
+
),
|
|
19646
|
+
children: [
|
|
19647
|
+
dot(item4.color),
|
|
19648
|
+
/* @__PURE__ */ jsx("span", { children: item4.name }),
|
|
19649
|
+
item4.value != null && /* @__PURE__ */ jsx("span", { className: "ml-auto typo-body-sm-bold", style: { color: item4.valueColor }, children: item4.value })
|
|
19650
|
+
]
|
|
19651
|
+
},
|
|
19652
|
+
`${item4.name}-${index}`
|
|
19653
|
+
))
|
|
19654
|
+
}
|
|
19655
|
+
);
|
|
19656
|
+
}
|
|
19478
19657
|
return /* @__PURE__ */ jsx(
|
|
19479
19658
|
"ul",
|
|
19480
19659
|
{
|
|
@@ -19496,14 +19675,7 @@ function ChartLegend({ items, align = "center", activeIndex, className }) {
|
|
|
19496
19675
|
activeIndex != null && activeIndex !== index && "opacity-(--opacity-060)"
|
|
19497
19676
|
),
|
|
19498
19677
|
children: [
|
|
19499
|
-
|
|
19500
|
-
"span",
|
|
19501
|
-
{
|
|
19502
|
-
"aria-hidden": true,
|
|
19503
|
-
className: "shrink-0 rounded-full",
|
|
19504
|
-
style: { width: DOT_SIZE, height: DOT_SIZE, background: item4.color }
|
|
19505
|
-
}
|
|
19506
|
-
),
|
|
19678
|
+
dot(item4.color),
|
|
19507
19679
|
item4.name
|
|
19508
19680
|
]
|
|
19509
19681
|
},
|
|
@@ -19515,28 +19687,59 @@ function ChartLegend({ items, align = "center", activeIndex, className }) {
|
|
|
19515
19687
|
|
|
19516
19688
|
// src/lib/chart/palette.ts
|
|
19517
19689
|
var V3 = (path) => `var(--cmp-chart-palette-${path})`;
|
|
19518
|
-
var
|
|
19519
|
-
|
|
19520
|
-
|
|
19521
|
-
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19525
|
-
|
|
19526
|
-
|
|
19527
|
-
|
|
19690
|
+
var DIMMED = (path) => `var(--cmp-chart-line-point-dimmed-palette-${path})`;
|
|
19691
|
+
var VALUE = (path) => `var(--cmp-chart-dataValue-palette-${path})`;
|
|
19692
|
+
var colorsOf = (v) => ({
|
|
19693
|
+
positivePrimary: v("variation-positivePrimary"),
|
|
19694
|
+
positiveSecondary: v("variation-positiveSecondary"),
|
|
19695
|
+
negativePrimary: v("variation-negativePrimary"),
|
|
19696
|
+
negativeSecondary: v("variation-negativeSecondary"),
|
|
19697
|
+
neutralPrimary: v("variation-neutralPrimary"),
|
|
19698
|
+
neutralSecondary: v("variation-neutralSecondary")
|
|
19699
|
+
});
|
|
19700
|
+
var palettesOf = (v) => ({
|
|
19701
|
+
default: [v("single")],
|
|
19528
19702
|
multi: [
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
|
|
19533
|
-
|
|
19534
|
-
|
|
19535
|
-
|
|
19536
|
-
|
|
19537
|
-
|
|
19538
|
-
|
|
19539
|
-
|
|
19703
|
+
v("multi-blue"),
|
|
19704
|
+
v("multi-skyblue"),
|
|
19705
|
+
v("multi-yellow"),
|
|
19706
|
+
v("multi-olive"),
|
|
19707
|
+
v("multi-lightRed"),
|
|
19708
|
+
v("multi-warmBlue"),
|
|
19709
|
+
v("multi-orange"),
|
|
19710
|
+
v("multi-green"),
|
|
19711
|
+
v("multi-navy"),
|
|
19712
|
+
v("multi-grey"),
|
|
19713
|
+
v("multi-red")
|
|
19714
|
+
],
|
|
19715
|
+
gradation: [
|
|
19716
|
+
v("gradation-1"),
|
|
19717
|
+
v("gradation-2"),
|
|
19718
|
+
v("gradation-3"),
|
|
19719
|
+
v("gradation-4"),
|
|
19720
|
+
v("gradation-5"),
|
|
19721
|
+
v("gradation-6")
|
|
19722
|
+
]
|
|
19723
|
+
});
|
|
19724
|
+
var CHART_COLORS = colorsOf(V3);
|
|
19725
|
+
var CHART_PALETTES = palettesOf(V3);
|
|
19726
|
+
var DIMMED_COLORS = colorsOf(DIMMED);
|
|
19727
|
+
var DIMMED_PALETTES = palettesOf(DIMMED);
|
|
19728
|
+
var DATA_VALUE_COLORS = colorsOf(VALUE);
|
|
19729
|
+
var DATA_VALUE_PALETTES = {
|
|
19730
|
+
default: [DATA_VALUE_COLORS.positivePrimary],
|
|
19731
|
+
multi: [
|
|
19732
|
+
VALUE("multi-blue"),
|
|
19733
|
+
VALUE("multi-skyblue"),
|
|
19734
|
+
VALUE("multi-yellow"),
|
|
19735
|
+
VALUE("multi-olive"),
|
|
19736
|
+
VALUE("multi-lightRed"),
|
|
19737
|
+
VALUE("multi-warmBlue"),
|
|
19738
|
+
VALUE("multi-orange"),
|
|
19739
|
+
VALUE("multi-green"),
|
|
19740
|
+
VALUE("multi-navy"),
|
|
19741
|
+
VALUE("multi-grey"),
|
|
19742
|
+
VALUE("multi-red")
|
|
19540
19743
|
],
|
|
19541
19744
|
gradation: [
|
|
19542
19745
|
V3("gradation-1"),
|
|
@@ -19544,17 +19747,26 @@ var CHART_PALETTES = {
|
|
|
19544
19747
|
V3("gradation-3"),
|
|
19545
19748
|
V3("gradation-4"),
|
|
19546
19749
|
V3("gradation-5"),
|
|
19547
|
-
|
|
19750
|
+
VALUE("gradation-6")
|
|
19548
19751
|
]
|
|
19549
19752
|
};
|
|
19550
|
-
function
|
|
19753
|
+
function pick(names, palettes, palette, index, colors) {
|
|
19551
19754
|
if (palette === "custom") {
|
|
19552
|
-
if (!colors?.length) return
|
|
19553
|
-
return
|
|
19755
|
+
if (!colors?.length) return palettes.default[0];
|
|
19756
|
+
return names[colors[index % colors.length]];
|
|
19554
19757
|
}
|
|
19555
|
-
const list =
|
|
19758
|
+
const list = palettes[palette] ?? palettes.default;
|
|
19556
19759
|
return list[index % list.length];
|
|
19557
19760
|
}
|
|
19761
|
+
function paletteColor(palette, index, colors) {
|
|
19762
|
+
return pick(CHART_COLORS, CHART_PALETTES, palette, index, colors);
|
|
19763
|
+
}
|
|
19764
|
+
function linePointDimmedColor(palette, index, colors) {
|
|
19765
|
+
return pick(DIMMED_COLORS, DIMMED_PALETTES, palette, index, colors);
|
|
19766
|
+
}
|
|
19767
|
+
function dataValueColor(palette, index, colors) {
|
|
19768
|
+
return pick(DATA_VALUE_COLORS, DATA_VALUE_PALETTES, palette, index, colors);
|
|
19769
|
+
}
|
|
19558
19770
|
function useElementSize() {
|
|
19559
19771
|
const ref = useRef(null);
|
|
19560
19772
|
const [size, setSize] = useState({ width: 0, height: 0 });
|
|
@@ -19632,7 +19844,8 @@ function ChartTooltip({
|
|
|
19632
19844
|
"pointer-events-none absolute top-0 left-0 z-10 w-max",
|
|
19633
19845
|
"flex flex-col gap-(--cmp-chart-chartTooltip-gap)",
|
|
19634
19846
|
"px-(--cmp-chart-chartTooltip-paddingX) py-(--cmp-chart-chartTooltip-paddingY)",
|
|
19635
|
-
"rounded-(--cmp-chart-chartTooltip-radius) bg-(--cmp-chart-chartTooltip-bg)
|
|
19847
|
+
"rounded-(--cmp-chart-chartTooltip-radius) bg-(--cmp-chart-chartTooltip-bg)",
|
|
19848
|
+
"shadow-(--cmp-chart-chartTooltip-shadow)",
|
|
19636
19849
|
className
|
|
19637
19850
|
),
|
|
19638
19851
|
style: {
|
|
@@ -19679,12 +19892,12 @@ var BAR_SIZE_MAX = 80;
|
|
|
19679
19892
|
var BAR_GAP = 6;
|
|
19680
19893
|
var GROUP_PADDING_MIN = 8;
|
|
19681
19894
|
var GROUP_PADDING_MAX = 24;
|
|
19682
|
-
var VALUE_LABEL_GAP =
|
|
19895
|
+
var VALUE_LABEL_GAP = 4;
|
|
19683
19896
|
var BAR_RADIUS = 8;
|
|
19684
|
-
var BAR_OPACITY_DEFAULT = "var(--cmp-chart-
|
|
19897
|
+
var BAR_OPACITY_DEFAULT = "var(--cmp-chart-opacity-default)";
|
|
19685
19898
|
var BAR_OPACITY_DIMMED = "var(--cmp-chart-bar-opacity-dimmed)";
|
|
19686
19899
|
var BAR_OPACITY_HOVER = 1;
|
|
19687
|
-
var BAR_DATA_LABEL_COLOR = "var(--cmp-chart-
|
|
19900
|
+
var BAR_DATA_LABEL_COLOR = "var(--cmp-chart-dataLabel-color-default)";
|
|
19688
19901
|
var BAR_DATA_LABEL_TYPO = "typo-body-sm-medium";
|
|
19689
19902
|
var BAR_DATA_LABEL_TYPO_HOVER = "typo-body-md-bold";
|
|
19690
19903
|
var BAR_HOVER_TRANSITION = "transition-opacity duration-200 ease-out motion-reduce:transition-none";
|
|
@@ -19744,6 +19957,8 @@ function barPath(x, y, width, height, direction, negative) {
|
|
|
19744
19957
|
var SBarChart = /* @__PURE__ */ forwardRef(function SBarChart2({
|
|
19745
19958
|
categories,
|
|
19746
19959
|
series,
|
|
19960
|
+
title,
|
|
19961
|
+
unit,
|
|
19747
19962
|
direction = "vertical",
|
|
19748
19963
|
stacked = false,
|
|
19749
19964
|
palette = "default",
|
|
@@ -20209,6 +20424,8 @@ var SBarChart = /* @__PURE__ */ forwardRef(function SBarChart2({
|
|
|
20209
20424
|
ChartFrame,
|
|
20210
20425
|
{
|
|
20211
20426
|
ref,
|
|
20427
|
+
title,
|
|
20428
|
+
unit,
|
|
20212
20429
|
legend,
|
|
20213
20430
|
legendPosition,
|
|
20214
20431
|
className,
|
|
@@ -20249,18 +20466,19 @@ var SBarChart = /* @__PURE__ */ forwardRef(function SBarChart2({
|
|
|
20249
20466
|
});
|
|
20250
20467
|
|
|
20251
20468
|
// src/components/SLineChart/lineChart.config.ts
|
|
20252
|
-
var LINE_WIDTH =
|
|
20253
|
-
var
|
|
20254
|
-
var
|
|
20255
|
-
var
|
|
20256
|
-
var
|
|
20257
|
-
var
|
|
20258
|
-
var
|
|
20469
|
+
var LINE_WIDTH = "var(--cmp-chart-line-width)";
|
|
20470
|
+
var LINE_OPACITY = "var(--cmp-chart-line-opacity)";
|
|
20471
|
+
var LINE_DASH = "11 11";
|
|
20472
|
+
var POINT_RADIUS = 5;
|
|
20473
|
+
var POINT_HOVER_RADIUS = 6;
|
|
20474
|
+
var POINT_HALO_RADIUS = 12;
|
|
20475
|
+
var POINT_HALO_OPACITY = "var(--cmp-chart-line-point-opacity-bg)";
|
|
20476
|
+
var POINT_HOVER_EXTENT = POINT_HALO_RADIUS;
|
|
20259
20477
|
var BAND_MIN = 40;
|
|
20260
|
-
var VALUE_LABEL_GAP2 =
|
|
20261
|
-
var AREA_OPACITY_TOP = "
|
|
20262
|
-
var AREA_OPACITY_BOTTOM = "var(--
|
|
20263
|
-
var LINE_DATA_LABEL_COLOR = "var(--cmp-chart-
|
|
20478
|
+
var VALUE_LABEL_GAP2 = 4;
|
|
20479
|
+
var AREA_OPACITY_TOP = "var(--cmp-chart-line-area-gradation-start)";
|
|
20480
|
+
var AREA_OPACITY_BOTTOM = "var(--cmp-chart-line-area-gradation-end)";
|
|
20481
|
+
var LINE_DATA_LABEL_COLOR = "var(--cmp-chart-dataLabel-color-default)";
|
|
20264
20482
|
var LINE_DATA_LABEL_TYPO = "typo-body-sm-medium";
|
|
20265
20483
|
var LINE_DATA_LABEL_TYPO_HOVER = "typo-body-md-bold";
|
|
20266
20484
|
var r = (value) => Math.round(value * 100) / 100;
|
|
@@ -20340,7 +20558,10 @@ function runsOf(row) {
|
|
|
20340
20558
|
var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
20341
20559
|
categories,
|
|
20342
20560
|
series,
|
|
20561
|
+
title,
|
|
20562
|
+
unit,
|
|
20343
20563
|
curve = "linear",
|
|
20564
|
+
lineStyle = "solid",
|
|
20344
20565
|
area = false,
|
|
20345
20566
|
stacked = false,
|
|
20346
20567
|
palette = "default",
|
|
@@ -20369,6 +20590,10 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20369
20590
|
(seriesIndex) => paletteColor(palette, seriesIndex, customColors),
|
|
20370
20591
|
[palette, customColors]
|
|
20371
20592
|
);
|
|
20593
|
+
const dimmedColorAt = useCallback(
|
|
20594
|
+
(seriesIndex) => linePointDimmedColor(palette, seriesIndex, customColors),
|
|
20595
|
+
[palette, customColors]
|
|
20596
|
+
);
|
|
20372
20597
|
const rows = useMemo(() => {
|
|
20373
20598
|
const running = categories.map(() => 0);
|
|
20374
20599
|
return series.map(
|
|
@@ -20540,16 +20765,20 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20540
20765
|
"aria-hidden": true,
|
|
20541
20766
|
d,
|
|
20542
20767
|
fill: "none",
|
|
20543
|
-
strokeWidth: LINE_WIDTH,
|
|
20544
20768
|
strokeLinecap: "round",
|
|
20545
20769
|
strokeLinejoin: "round",
|
|
20546
|
-
style: {
|
|
20770
|
+
style: {
|
|
20771
|
+
stroke: colorAt(seriesIndex),
|
|
20772
|
+
strokeWidth: LINE_WIDTH,
|
|
20773
|
+
strokeOpacity: LINE_OPACITY,
|
|
20774
|
+
strokeDasharray: lineStyle === "dashed" ? LINE_DASH : void 0
|
|
20775
|
+
}
|
|
20547
20776
|
},
|
|
20548
20777
|
`line-${seriesIndex}-${runIndex}`
|
|
20549
20778
|
);
|
|
20550
20779
|
})
|
|
20551
20780
|
),
|
|
20552
|
-
[plotted, smooth, colorAt]
|
|
20781
|
+
[plotted, smooth, colorAt, lineStyle]
|
|
20553
20782
|
);
|
|
20554
20783
|
const { pointHalos, pointDots } = useMemo(() => {
|
|
20555
20784
|
const halos = [];
|
|
@@ -20560,6 +20789,7 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20560
20789
|
const hovered = hoveredCategory === categoryIndex;
|
|
20561
20790
|
if (!showPoint && !hovered) return;
|
|
20562
20791
|
const color = colorAt(seriesIndex);
|
|
20792
|
+
const dimmed = hoveredCategory != null && !hovered;
|
|
20563
20793
|
const key = `${seriesIndex}-${categoryIndex}`;
|
|
20564
20794
|
if (hovered) {
|
|
20565
20795
|
halos.push(
|
|
@@ -20569,12 +20799,8 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20569
20799
|
"aria-hidden": true,
|
|
20570
20800
|
cx: point.x,
|
|
20571
20801
|
cy: point.y,
|
|
20572
|
-
r:
|
|
20573
|
-
style: {
|
|
20574
|
-
fill: POINT_HOVER_BG,
|
|
20575
|
-
stroke: color,
|
|
20576
|
-
strokeWidth: POINT_HOVER_BORDER_WIDTH
|
|
20577
|
-
}
|
|
20802
|
+
r: POINT_HALO_RADIUS,
|
|
20803
|
+
style: { fill: color, fillOpacity: POINT_HALO_OPACITY }
|
|
20578
20804
|
},
|
|
20579
20805
|
`halo-${key}`
|
|
20580
20806
|
)
|
|
@@ -20586,8 +20812,11 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20586
20812
|
{
|
|
20587
20813
|
cx: point.x,
|
|
20588
20814
|
cy: point.y,
|
|
20589
|
-
r: hovered ?
|
|
20590
|
-
style: {
|
|
20815
|
+
r: hovered ? POINT_HOVER_RADIUS : POINT_RADIUS,
|
|
20816
|
+
style: {
|
|
20817
|
+
fill: dimmed ? dimmedColorAt(seriesIndex) : color,
|
|
20818
|
+
cursor: onPointClick ? "pointer" : void 0
|
|
20819
|
+
},
|
|
20591
20820
|
onClick: onPointClick ? () => onPointClick({ seriesIndex, categoryIndex, value: point.own }) : void 0,
|
|
20592
20821
|
children: /* @__PURE__ */ jsx("title", { children: `${categories[categoryIndex]} ${series[seriesIndex]?.name ?? ""} ${formatValue(point.own)}` })
|
|
20593
20822
|
},
|
|
@@ -20597,7 +20826,17 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20597
20826
|
});
|
|
20598
20827
|
});
|
|
20599
20828
|
return { pointHalos: halos, pointDots: dots };
|
|
20600
|
-
}, [
|
|
20829
|
+
}, [
|
|
20830
|
+
plotted,
|
|
20831
|
+
showPoint,
|
|
20832
|
+
hoveredCategory,
|
|
20833
|
+
colorAt,
|
|
20834
|
+
dimmedColorAt,
|
|
20835
|
+
onPointClick,
|
|
20836
|
+
categories,
|
|
20837
|
+
series,
|
|
20838
|
+
formatValue
|
|
20839
|
+
]);
|
|
20601
20840
|
const valueLabels = useMemo(
|
|
20602
20841
|
() => showValueLabel ? plotted.flatMap(
|
|
20603
20842
|
(row, seriesIndex) => row.map(
|
|
@@ -20623,6 +20862,8 @@ var SLineChart = /* @__PURE__ */ forwardRef(function SLineChart2({
|
|
|
20623
20862
|
ChartFrame,
|
|
20624
20863
|
{
|
|
20625
20864
|
ref,
|
|
20865
|
+
title,
|
|
20866
|
+
unit,
|
|
20626
20867
|
legend,
|
|
20627
20868
|
legendPosition,
|
|
20628
20869
|
className,
|
|
@@ -20758,8 +20999,9 @@ var LABEL_MIN_RATIO = 0.05;
|
|
|
20758
20999
|
var PIE_LABEL_RADIUS_RATIO = 0.65;
|
|
20759
21000
|
var HOVER_GROW = 4;
|
|
20760
21001
|
var HOVER_CORNER = 2;
|
|
20761
|
-
var OPACITY_DEFAULT = "var(--cmp-chart-
|
|
20762
|
-
var OPACITY_DIMMED = "var(--cmp-chart-
|
|
21002
|
+
var OPACITY_DEFAULT = "var(--cmp-chart-opacity-default)";
|
|
21003
|
+
var OPACITY_DIMMED = "var(--cmp-chart-doughnut-opacity-dimmed)";
|
|
21004
|
+
var SLICE_HOVER_SHADOW = "var(--cmp-chart-doughnut-shadow-hover-filter)";
|
|
20763
21005
|
var OPACITY_HOVER = 1;
|
|
20764
21006
|
var defaultFormat3 = (value) => value.toLocaleString();
|
|
20765
21007
|
function formatRatio(ratio) {
|
|
@@ -20809,11 +21051,14 @@ function slicePath(center, outer, inner, start, end, corner = 0) {
|
|
|
20809
21051
|
}
|
|
20810
21052
|
var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
20811
21053
|
data,
|
|
21054
|
+
title,
|
|
21055
|
+
unit,
|
|
20812
21056
|
palette = "multi",
|
|
20813
21057
|
colors,
|
|
20814
21058
|
showValueLabel = false,
|
|
20815
21059
|
showLegend = true,
|
|
20816
21060
|
legendPosition = "top",
|
|
21061
|
+
legendVariant = "simple",
|
|
20817
21062
|
showTooltip = true,
|
|
20818
21063
|
formatValue = defaultFormat3,
|
|
20819
21064
|
onSliceClick,
|
|
@@ -20841,7 +21086,8 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20841
21086
|
ratio,
|
|
20842
21087
|
start,
|
|
20843
21088
|
end: angle,
|
|
20844
|
-
color: paletteColor(effective, slice2.index, colors)
|
|
21089
|
+
color: paletteColor(effective, slice2.index, colors),
|
|
21090
|
+
valueColor: dataValueColor(effective, slice2.index, colors)
|
|
20845
21091
|
};
|
|
20846
21092
|
});
|
|
20847
21093
|
return list;
|
|
@@ -20854,8 +21100,14 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20854
21100
|
const legend = showLegend ? /* @__PURE__ */ jsx(
|
|
20855
21101
|
ChartLegend,
|
|
20856
21102
|
{
|
|
20857
|
-
items: arcs.map((arc2) => ({
|
|
20858
|
-
|
|
21103
|
+
items: arcs.map((arc2) => ({
|
|
21104
|
+
name: arc2.name,
|
|
21105
|
+
color: arc2.color,
|
|
21106
|
+
value: legendVariant === "default" ? formatValue(arc2.value) : void 0,
|
|
21107
|
+
valueColor: arc2.valueColor
|
|
21108
|
+
})),
|
|
21109
|
+
activeIndex: hoveredArc ? arcs.indexOf(hoveredArc) : null,
|
|
21110
|
+
variant: legendVariant
|
|
20859
21111
|
}
|
|
20860
21112
|
) : null;
|
|
20861
21113
|
const tooltipAnchor = useMemo(() => {
|
|
@@ -20880,6 +21132,8 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20880
21132
|
ChartFrame,
|
|
20881
21133
|
{
|
|
20882
21134
|
ref,
|
|
21135
|
+
title,
|
|
21136
|
+
unit,
|
|
20883
21137
|
legend,
|
|
20884
21138
|
legendPosition,
|
|
20885
21139
|
className,
|
|
@@ -20890,6 +21144,7 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20890
21144
|
{
|
|
20891
21145
|
width: diameter,
|
|
20892
21146
|
height: diameter,
|
|
21147
|
+
overflow: "visible",
|
|
20893
21148
|
role: "img",
|
|
20894
21149
|
"aria-label": `${arcs.length}\uAC1C \uD56D\uBAA9 ${kind}`,
|
|
20895
21150
|
onMouseLeave: () => setHovered(null),
|
|
@@ -20902,7 +21157,7 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20902
21157
|
"aria-hidden": true,
|
|
20903
21158
|
d: slicePath(center, outer, inner, 0, Math.PI * 2),
|
|
20904
21159
|
fillRule: "evenodd",
|
|
20905
|
-
style: { fill: "var(--cmp-chart-
|
|
21160
|
+
style: { fill: "var(--cmp-chart-gridline-color)" }
|
|
20906
21161
|
}
|
|
20907
21162
|
)
|
|
20908
21163
|
) : arcs.map((arc2) => {
|
|
@@ -20916,6 +21171,10 @@ var RadialChart = /* @__PURE__ */ forwardRef(function RadialChart2({
|
|
|
20916
21171
|
style: {
|
|
20917
21172
|
fill: arc2.color,
|
|
20918
21173
|
opacity,
|
|
21174
|
+
// 짚은 조각만 떠오른다. SVG 도형에는 box-shadow 가 걸리지 않아
|
|
21175
|
+
// 같은 토큰의 filter 형태를 쓴다 (drop-shadow 에는 spread 가 없다 —
|
|
21176
|
+
// 토큰의 음수 spread 만큼 설계보다 조금 넓게 깔린다).
|
|
21177
|
+
filter: hovered === arc2.index ? SLICE_HOVER_SHADOW : void 0,
|
|
20919
21178
|
cursor: onSliceClick ? "pointer" : void 0
|
|
20920
21179
|
},
|
|
20921
21180
|
onMouseEnter: () => setHovered(arc2.index),
|
|
@@ -21007,6 +21266,7 @@ var SDonutChart = /* @__PURE__ */ forwardRef(function SDonutChart2({
|
|
|
21007
21266
|
showValueLabel = false,
|
|
21008
21267
|
showLegend = true,
|
|
21009
21268
|
legendPosition = "top",
|
|
21269
|
+
legendVariant = "simple",
|
|
21010
21270
|
showTooltip = true,
|
|
21011
21271
|
...props
|
|
21012
21272
|
}, ref) {
|
|
@@ -21019,6 +21279,7 @@ var SDonutChart = /* @__PURE__ */ forwardRef(function SDonutChart2({
|
|
|
21019
21279
|
showValueLabel,
|
|
21020
21280
|
showLegend,
|
|
21021
21281
|
legendPosition,
|
|
21282
|
+
legendVariant,
|
|
21022
21283
|
showTooltip,
|
|
21023
21284
|
innerRatio: DONUT_INNER_RATIO,
|
|
21024
21285
|
kind: "\uB3C4\uB11B \uADF8\uB798\uD504"
|
|
@@ -23486,6 +23747,7 @@ var SEditor = /* @__PURE__ */ forwardRef(function SEditor2({
|
|
|
23486
23747
|
onFocus,
|
|
23487
23748
|
onBlur,
|
|
23488
23749
|
label,
|
|
23750
|
+
labelPosition,
|
|
23489
23751
|
labelWidth,
|
|
23490
23752
|
icon,
|
|
23491
23753
|
iconColor,
|
|
@@ -23574,6 +23836,7 @@ var SEditor = /* @__PURE__ */ forwardRef(function SEditor2({
|
|
|
23574
23836
|
{
|
|
23575
23837
|
name,
|
|
23576
23838
|
label,
|
|
23839
|
+
labelPosition,
|
|
23577
23840
|
labelWidth,
|
|
23578
23841
|
icon,
|
|
23579
23842
|
iconColor,
|
|
@@ -25461,7 +25724,7 @@ function ListBox({
|
|
|
25461
25724
|
"div",
|
|
25462
25725
|
{
|
|
25463
25726
|
className: cn(
|
|
25464
|
-
"overflow-hidden border border-solid shadow-[var(--shadow
|
|
25727
|
+
"overflow-hidden border border-solid shadow-[var(--cmp-chipFilter-listbox-shadow)]",
|
|
25465
25728
|
maxHeight && "flex flex-col"
|
|
25466
25729
|
),
|
|
25467
25730
|
style: {
|
|
@@ -25546,6 +25809,7 @@ var SChipInput = /* @__PURE__ */ forwardRef(function SChipInput2({
|
|
|
25546
25809
|
loadingRecommendedItems = false,
|
|
25547
25810
|
dropdownMinWidth = 200,
|
|
25548
25811
|
label,
|
|
25812
|
+
labelPosition,
|
|
25549
25813
|
labelWidth,
|
|
25550
25814
|
hint,
|
|
25551
25815
|
errorMessage,
|
|
@@ -25686,6 +25950,7 @@ var SChipInput = /* @__PURE__ */ forwardRef(function SChipInput2({
|
|
|
25686
25950
|
SField,
|
|
25687
25951
|
{
|
|
25688
25952
|
label,
|
|
25953
|
+
labelPosition,
|
|
25689
25954
|
labelWidth,
|
|
25690
25955
|
labelHeight: `calc(var(--cmp-chipInput-${size}-minHeight) + 2px)`,
|
|
25691
25956
|
icon,
|
|
@@ -26004,6 +26269,7 @@ var SBarcodeInput = /* @__PURE__ */ forwardRef(
|
|
|
26004
26269
|
inputClassName,
|
|
26005
26270
|
inputStyle,
|
|
26006
26271
|
label,
|
|
26272
|
+
labelPosition,
|
|
26007
26273
|
labelWidth,
|
|
26008
26274
|
icon,
|
|
26009
26275
|
iconColor,
|
|
@@ -26040,6 +26306,7 @@ var SBarcodeInput = /* @__PURE__ */ forwardRef(
|
|
|
26040
26306
|
SField,
|
|
26041
26307
|
{
|
|
26042
26308
|
label,
|
|
26309
|
+
labelPosition,
|
|
26043
26310
|
labelWidth,
|
|
26044
26311
|
icon,
|
|
26045
26312
|
iconColor,
|
|
@@ -26409,6 +26676,7 @@ function STimePicker({
|
|
|
26409
26676
|
rules,
|
|
26410
26677
|
status,
|
|
26411
26678
|
label,
|
|
26679
|
+
labelPosition,
|
|
26412
26680
|
labelWidth,
|
|
26413
26681
|
icon,
|
|
26414
26682
|
iconColor,
|
|
@@ -26463,6 +26731,7 @@ function STimePicker({
|
|
|
26463
26731
|
SField,
|
|
26464
26732
|
{
|
|
26465
26733
|
label,
|
|
26734
|
+
labelPosition,
|
|
26466
26735
|
labelWidth,
|
|
26467
26736
|
icon,
|
|
26468
26737
|
iconColor,
|
|
@@ -26875,6 +27144,7 @@ function STimeRangePicker({
|
|
|
26875
27144
|
rules,
|
|
26876
27145
|
status,
|
|
26877
27146
|
label,
|
|
27147
|
+
labelPosition,
|
|
26878
27148
|
labelWidth,
|
|
26879
27149
|
icon,
|
|
26880
27150
|
iconColor,
|
|
@@ -26931,6 +27201,7 @@ function STimeRangePicker({
|
|
|
26931
27201
|
SField,
|
|
26932
27202
|
{
|
|
26933
27203
|
label,
|
|
27204
|
+
labelPosition,
|
|
26934
27205
|
labelWidth,
|
|
26935
27206
|
icon,
|
|
26936
27207
|
iconColor,
|
|
@@ -27039,6 +27310,6 @@ function STimeRangePicker({
|
|
|
27039
27310
|
);
|
|
27040
27311
|
}
|
|
27041
27312
|
|
|
27042
|
-
export { ACCOUNT_LIST_BOX_ICONS, ACCOUNT_LIST_BOX_ITEM_TONES, ACCOUNT_LIST_BOX_LABELS, ACCOUNT_LIST_BOX_LAYOUT, ACCOUNT_LIST_BOX_TONE_CONFIG, BADGE_COLORS, BAR_GAP, BAR_SIZE_MAX, BAR_SIZE_MIN, BUTTON_COLORS, BUTTON_SIZES, CALENDAR_BOARD_DAY_BG, CALENDAR_BOARD_DAY_COLORS, CALENDAR_BOARD_EVENT_COLORS, CALENDAR_BOARD_EVENT_PRESETS, CALENDAR_BOARD_MAX_VISIBLE_EVENTS, CHAT_ATTACHED_FILE_CONFIG, CHAT_FILE_CONFIG, CHAT_MESSAGE_DIRECTIONS, CHAT_MESSAGE_READ_STATUSES, CHAT_MESSAGE_VARIANTS, CHIP_COLORS, COLOR_KEYS, FIELD_WIDTH_GRADES, GNB_COLORS, GNB_COMMON, GNB_FOLD_MS, GNB_FULL_LOGO_WIDTH, GNB_HEADER, GNB_MENU, GNB_MENU_WIDTH, GNB_RAIL, GNB_RAIL_WIDTH, GNB_SYSTEM_COLORS, GNB_SYSTEM_COLOR_CONFIG, GNB_SYSTEM_LAYOUT, GNB_SYSTEM_PLACEMENTS, GNB_SYSTEM_TOP_COLOR_CONFIG, ICONS, IMAGE_FITS, LAUNCHER_LIST_BOX_LAYOUT, LAUNCHER_LIST_BOX_LOGO_HEIGHT, LAUNCHER_LIST_BOX_LOGO_SERVICE_GAP, LAUNCHER_LIST_BOX_TRAILING_ICON, LAUNCHER_LIST_BOX_WIDTH, LAUNCHER_SERVICES, LAUNCHER_SERVICE_CATALOG, LOGO_DEFAULT_SIZE, LOGO_NAMES, PAGE_BACKGROUNDS, PAGE_CONTENT_HEIGHTS, PAGE_CONTENT_WIDTHS, PAGE_HEADER_VARIANTS, PAGE_PADDINGS, RangeCalendar, SAccountListBox, SActionModal, SBadge, SBarChart, SBarcodeInput, SButton, SCROLL_AREA_AXES, SCalendar, SCalendarBoard, SCallout, SCard, SChatAttachedFile2 as SChatAttachedFile, SChatFile2 as SChatFile, SChatInput2 as SChatInput, SChatMessage2 as SChatMessage, SChatSystemMessage2 as SChatSystemMessage, SCheckbox, SChip2 as SChip, SChipFilter, SChipInput, SCircleProgress, SConfirmModal, SDatePicker, SDatePickerMonthListbox, SDatePickerYearListbox, SDateRangePicker, SDivider, SDonutChart, SDraggableGroup, SDraggableItem2 as SDraggableItem, SDraggableList, SDraggableProvider, SDrawer, SDropdownButton2 as SDropdownButton, SEDITOR_DEFAULT_FONT_SIZE, SEDITOR_HEADING_LABELS, SEDITOR_HEADING_LEVELS, SEditor, SExpansionItem, SExpansionList2 as SExpansionList, SField, SFilePicker, SForm, SGhostButton, SGnb, SGnbSystem, SGnbSystemContext, SGuide, SIcon, SImage, SInput, SKeyValueTable, SLAYOUT_MIN_WIDTH, SLauncherListBox, SLayout, SLayoutContext, SLineChart, SLinearProgress, SList2 as SList, SListItem2 as SListItem, SLoadingContainer, SLoadingModal, SLoadingViewport, SLoginCard2 as SLoginCard, SLogo, SMeatballButton2 as SMeatballButton, SModal, SModalOutlet, SNumberInput, SPage, SPageHeader, SPagination, SPieChart, SPopover, SPopup, SPortal, SRadio, SRadioButton, SRadioCard, SRadioCardGroup, SRadioGroup, SSPLITTER_UNITS, SScrollArea, SSearchInput, SSectionHeaderCard2 as SSectionHeaderCard, SSelect2 as SSelect, SSplitter2 as SSplitter, SStepper, SSwitch, SSystemActionButton, STEPPER_SIZES, STable, STableBar, STabs, STag, STextLink, STextarea, STimePicker, STimeRangePicker, SToast, SToastContainer, SToggle, STooltip2 as STooltip, STree2 as STree, STreeItem2 as STreeItem, SYSTEM_ACTION_BUTTON_COLORS, SYSTEM_ACTION_BUTTON_COLOR_CONFIG, SYSTEM_ACTION_BUTTON_LAYOUT, SYSTEM_ACTION_BUTTON_TYPES, SYSTEM_ACTION_BUTTON_TYPE_CONFIG, TAG_COLORS, TAG_SHAPES, TAG_SIZES, TIMEPICKER_SIZES, TIMEPICKER_SIZE_CONFIG, buttonPreset, cn, fieldWidthValue, fileExtension, findGnbAncestors, findGnbRailValue, formatFileSize, isColorKey, isFieldWidthGrade, loading, normalizeExtension, resolveColor, useSLayout };
|
|
27313
|
+
export { ACCOUNT_LIST_BOX_ICONS, ACCOUNT_LIST_BOX_ITEM_TONES, ACCOUNT_LIST_BOX_LABELS, ACCOUNT_LIST_BOX_LAYOUT, ACCOUNT_LIST_BOX_TONE_CONFIG, BADGE_COLORS, BAR_GAP, BAR_SIZE_MAX, BAR_SIZE_MIN, BUTTON_COLORS, BUTTON_SIZES, CALENDAR_BOARD_DAY_BG, CALENDAR_BOARD_DAY_COLORS, CALENDAR_BOARD_EVENT_COLORS, CALENDAR_BOARD_EVENT_PRESETS, CALENDAR_BOARD_MAX_VISIBLE_EVENTS, CHAT_ATTACHED_FILE_CONFIG, CHAT_FILE_CONFIG, CHAT_MESSAGE_DIRECTIONS, CHAT_MESSAGE_READ_STATUSES, CHAT_MESSAGE_VARIANTS, CHIP_COLORS, COLOR_KEYS, CONTEXT_ALERT_DEFAULT_ICON, CONTEXT_ALERT_ICON_COLOR, CONTEXT_ALERT_INTENTS, CONTEXT_ALERT_SURFACE, FIELD_WIDTH_GRADES, GNB_COLORS, GNB_COMMON, GNB_FOLD_MS, GNB_FULL_LOGO_WIDTH, GNB_HEADER, GNB_MENU, GNB_MENU_WIDTH, GNB_RAIL, GNB_RAIL_WIDTH, GNB_SYSTEM_COLORS, GNB_SYSTEM_COLOR_CONFIG, GNB_SYSTEM_LAYOUT, GNB_SYSTEM_PLACEMENTS, GNB_SYSTEM_TOP_COLOR_CONFIG, ICONS, IMAGE_FITS, LAUNCHER_LIST_BOX_LAYOUT, LAUNCHER_LIST_BOX_LOGO_HEIGHT, LAUNCHER_LIST_BOX_LOGO_SERVICE_GAP, LAUNCHER_LIST_BOX_TRAILING_ICON, LAUNCHER_LIST_BOX_WIDTH, LAUNCHER_SERVICES, LAUNCHER_SERVICE_CATALOG, LOGO_DEFAULT_SIZE, LOGO_NAMES, PAGE_BACKGROUNDS, PAGE_CONTENT_HEIGHTS, PAGE_CONTENT_WIDTHS, PAGE_HEADER_VARIANTS, PAGE_PADDINGS, RangeCalendar, SAccountListBox, SActionModal, SBadge, SBarChart, SBarcodeInput, SButton, SCROLL_AREA_AXES, SCalendar, SCalendarBoard, SCallout, SCard, SChatAttachedFile2 as SChatAttachedFile, SChatFile2 as SChatFile, SChatInput2 as SChatInput, SChatMessage2 as SChatMessage, SChatSystemMessage2 as SChatSystemMessage, SCheckbox, SChip2 as SChip, SChipFilter, SChipInput, SCircleProgress, SConfirmModal, SContextAlert, SDatePicker, SDatePickerMonthListbox, SDatePickerYearListbox, SDateRangePicker, SDivider, SDonutChart, SDraggableGroup, SDraggableItem2 as SDraggableItem, SDraggableList, SDraggableProvider, SDrawer, SDropdownButton2 as SDropdownButton, SEDITOR_DEFAULT_FONT_SIZE, SEDITOR_HEADING_LABELS, SEDITOR_HEADING_LEVELS, SEditor, SExpansionItem, SExpansionList2 as SExpansionList, SField, SFilePicker, SForm, SGhostButton, SGnb, SGnbSystem, SGnbSystemContext, SGuide, SIcon, SImage, SInput, SKeyValueTable, SLAYOUT_MIN_WIDTH, SLauncherListBox, SLayout, SLayoutContext, SLineChart, SLinearProgress, SList2 as SList, SListItem2 as SListItem, SLoadingContainer, SLoadingModal, SLoadingViewport, SLoginCard2 as SLoginCard, SLogo, SMeatballButton2 as SMeatballButton, SModal, SModalOutlet, SNumberInput, SPage, SPageHeader, SPagination, SPieChart, SPopover, SPopup, SPortal, SRadio, SRadioButton, SRadioCard, SRadioCardGroup, SRadioGroup, SSPLITTER_UNITS, SScrollArea, SSearchInput, SSectionHeaderCard2 as SSectionHeaderCard, SSelect2 as SSelect, SSplitter2 as SSplitter, SStepper, SSwitch, SSystemActionButton, STEPPER_SIZES, STable, STableBar, STabs, STag, STextLink, STextarea, STimePicker, STimeRangePicker, SToast, SToastContainer, SToggle, STooltip2 as STooltip, STree2 as STree, STreeItem2 as STreeItem, SYSTEM_ACTION_BUTTON_COLORS, SYSTEM_ACTION_BUTTON_COLOR_CONFIG, SYSTEM_ACTION_BUTTON_LAYOUT, SYSTEM_ACTION_BUTTON_TYPES, SYSTEM_ACTION_BUTTON_TYPE_CONFIG, TAG_COLORS, TAG_SHAPES, TAG_SIZES, TIMEPICKER_SIZES, TIMEPICKER_SIZE_CONFIG, buttonPreset, cn, fieldWidthValue, fileExtension, findGnbAncestors, findGnbRailValue, formatFileSize, isColorKey, isFieldWidthGrade, loading, normalizeExtension, resolveColor, useSLayout };
|
|
27043
27314
|
//# sourceMappingURL=index.js.map
|
|
27044
27315
|
//# sourceMappingURL=index.js.map
|