@designbasekorea/ui-wc 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +18 -0
- package/dist/esm/components/animation-background/controls.js +1 -1
- package/dist/esm/components/animation-background/layers.js +1 -1
- package/dist/esm/components/db-activity-heatmap.d.ts +38 -0
- package/dist/esm/components/db-activity-heatmap.js +1 -0
- package/dist/esm/components/db-animation-background.d.ts +2 -0
- package/dist/esm/components/db-animation-background.js +1 -1
- package/dist/esm/components/db-app-badge.d.ts +2 -0
- package/dist/esm/components/db-app-badge.js +1 -1
- package/dist/esm/components/db-audio-player.d.ts +4 -0
- package/dist/esm/components/db-audio-player.js +1 -1
- package/dist/esm/components/db-avatar.js +1 -1
- package/dist/esm/components/db-backdrop.d.ts +4 -0
- package/dist/esm/components/db-backdrop.js +1 -1
- package/dist/esm/components/db-badge.d.ts +2 -2
- package/dist/esm/components/db-badge.js +1 -1
- package/dist/esm/components/db-bottom-navigation.js +1 -1
- package/dist/esm/components/db-bottom-sheet.d.ts +5 -0
- package/dist/esm/components/db-bottom-sheet.js +1 -1
- package/dist/esm/components/db-button.d.ts +13 -0
- package/dist/esm/components/db-button.js +1 -1
- package/dist/esm/components/db-calendar.js +1 -1
- package/dist/esm/components/db-card.js +1 -1
- package/dist/esm/components/db-carousel.js +1 -1
- package/dist/esm/components/db-chat-composer.d.ts +14 -0
- package/dist/esm/components/db-chat-composer.js +1 -1
- package/dist/esm/components/db-chat-message.d.ts +15 -2
- package/dist/esm/components/db-chat-message.js +1 -1
- package/dist/esm/components/db-chat-orb.d.ts +6 -8
- package/dist/esm/components/db-chat-orb.js +1 -1
- package/dist/esm/components/db-chat-room.d.ts +12 -1
- package/dist/esm/components/db-chat-room.js +1 -1
- package/dist/esm/components/db-chat-welcome.js +1 -1
- package/dist/esm/components/db-chat-widget.d.ts +43 -10
- package/dist/esm/components/db-chat-widget.js +1 -1
- package/dist/esm/components/db-checkbox.d.ts +11 -0
- package/dist/esm/components/db-checkbox.js +1 -1
- package/dist/esm/components/db-chip.js +1 -1
- package/dist/esm/components/db-color-picker.js +1 -1
- package/dist/esm/components/db-confirm.d.ts +5 -0
- package/dist/esm/components/db-confirm.js +1 -1
- package/dist/esm/components/db-container.js +1 -1
- package/dist/esm/components/db-cookie-banner.js +1 -1
- package/dist/esm/components/db-date-picker.d.ts +3 -0
- package/dist/esm/components/db-date-picker.js +1 -1
- package/dist/esm/components/db-divider.js +1 -1
- package/dist/esm/components/db-download-progress.d.ts +3 -4
- package/dist/esm/components/db-download-progress.js +1 -1
- package/dist/esm/components/db-drawer.d.ts +5 -1
- package/dist/esm/components/db-drawer.js +1 -1
- package/dist/esm/components/db-dropdown.js +1 -1
- package/dist/esm/components/db-dropzone.js +1 -1
- package/dist/esm/components/db-email-verify.d.ts +2 -2
- package/dist/esm/components/db-email-verify.js +1 -1
- package/dist/esm/components/db-file-uploader.js +1 -1
- package/dist/esm/components/db-floating-action-button.d.ts +1 -0
- package/dist/esm/components/db-floating-action-button.js +1 -1
- package/dist/esm/components/db-footer.js +1 -1
- package/dist/esm/components/db-gantt.js +1 -1
- package/dist/esm/components/db-indicator.js +1 -1
- package/dist/esm/components/db-input.d.ts +7 -0
- package/dist/esm/components/db-input.js +1 -1
- package/dist/esm/components/db-kanban.js +1 -1
- package/dist/esm/components/db-lightbox.d.ts +4 -0
- package/dist/esm/components/db-lightbox.js +1 -1
- package/dist/esm/components/db-list.js +1 -1
- package/dist/esm/components/db-masonry.js +1 -1
- package/dist/esm/components/db-menu-item.js +1 -1
- package/dist/esm/components/db-modal.d.ts +10 -0
- package/dist/esm/components/db-modal.js +1 -1
- package/dist/esm/components/db-navbar.d.ts +4 -2
- package/dist/esm/components/db-navbar.js +1 -1
- package/dist/esm/components/db-onboarding-modal.d.ts +3 -0
- package/dist/esm/components/db-onboarding-modal.js +1 -1
- package/dist/esm/components/db-otp-input.d.ts +3 -2
- package/dist/esm/components/db-otp-input.js +1 -1
- package/dist/esm/components/db-page-header.js +1 -1
- package/dist/esm/components/db-phone-verify.d.ts +2 -2
- package/dist/esm/components/db-phone-verify.js +1 -1
- package/dist/esm/components/db-popover.js +1 -1
- package/dist/esm/components/db-progress-step.js +1 -1
- package/dist/esm/components/db-progress.js +1 -1
- package/dist/esm/components/db-progressbar.js +1 -1
- package/dist/esm/components/db-radio.d.ts +1 -0
- package/dist/esm/components/db-radio.js +1 -1
- package/dist/esm/components/db-range-slider.d.ts +9 -4
- package/dist/esm/components/db-range-slider.js +1 -1
- package/dist/esm/components/db-rating.js +1 -1
- package/dist/esm/components/db-resizable-panels.d.ts +14 -0
- package/dist/esm/components/db-resizable-panels.js +1 -1
- package/dist/esm/components/db-search-bar.js +1 -1
- package/dist/esm/components/db-section-cta.js +1 -1
- package/dist/esm/components/db-section-feature.js +1 -1
- package/dist/esm/components/db-section-pricing.js +1 -1
- package/dist/esm/components/db-section.js +1 -1
- package/dist/esm/components/db-segment-control.js +1 -1
- package/dist/esm/components/db-select.d.ts +8 -0
- package/dist/esm/components/db-select.js +1 -1
- package/dist/esm/components/db-sidebar.d.ts +41 -6
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/esm/components/db-skeleton.js +1 -1
- package/dist/esm/components/db-spinner.d.ts +4 -0
- package/dist/esm/components/db-spinner.js +1 -1
- package/dist/esm/components/db-split-view.js +1 -1
- package/dist/esm/components/db-stat.js +1 -1
- package/dist/esm/components/db-stepper.js +1 -1
- package/dist/esm/components/db-table.js +1 -1
- package/dist/esm/components/db-tabs.js +1 -1
- package/dist/esm/components/db-testimonial.js +1 -1
- package/dist/esm/components/db-textarea.js +1 -1
- package/dist/esm/components/db-time-picker.d.ts +5 -2
- package/dist/esm/components/db-time-picker.js +1 -1
- package/dist/esm/components/db-timeline.js +1 -1
- package/dist/esm/components/db-toast.d.ts +8 -1
- package/dist/esm/components/db-toast.js +1 -1
- package/dist/esm/components/db-toggle.d.ts +2 -0
- package/dist/esm/components/db-toggle.js +1 -1
- package/dist/esm/components/db-tooltip.js +1 -1
- package/dist/esm/components/db-top-banner.js +1 -1
- package/dist/esm/components/db-tutorial.d.ts +1 -0
- package/dist/esm/components/db-tutorial.js +1 -1
- package/dist/esm/components/db-two-factor.d.ts +2 -2
- package/dist/esm/components/db-two-factor.js +1 -1
- package/dist/esm/components/db-video-player.d.ts +3 -0
- package/dist/esm/components/db-video-player.js +1 -1
- package/dist/esm/components/section-block-header-utils.js +1 -1
- package/dist/esm/core/a11y.d.ts +40 -0
- package/dist/esm/core/a11y.js +1 -0
- package/dist/esm/core/base-element.d.ts +41 -0
- package/dist/esm/core/base-element.js +1 -0
- package/dist/esm/core/dom.d.ts +35 -0
- package/dist/esm/core/dom.js +1 -0
- package/dist/esm/core/focus-trap.d.ts +41 -0
- package/dist/esm/core/focus-trap.js +1 -0
- package/dist/esm/core/i18n.d.ts +82 -0
- package/dist/esm/core/i18n.js +1 -0
- package/dist/esm/core/scroll-lock.d.ts +19 -0
- package/dist/esm/core/scroll-lock.js +1 -0
- package/dist/esm/core/uid.d.ts +23 -0
- package/dist/esm/core/uid.js +1 -0
- package/dist/esm/helpers/toast.d.ts +10 -10
- package/dist/esm/helpers/toast.js +1 -1
- package/dist/esm/index.d.ts +12 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/@designbasekorea/ui-contracts/dist/components.js +1 -0
- package/dist/esm/node_modules/@designbasekorea/ui-contracts/dist/primitives.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +583 -59
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +433 -55
- package/dist/react/index.esm.js +1 -1
- package/package.json +12 -3
- /package/dist/chunks/{lottie-26a5e98f.js → lottie-3f885725.js} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
|
+
import { BadgeVariant, BadgeType, TIME_PICKER_FORMATS, DOWNLOAD_PROGRESS_STATUSES, DOWNLOAD_PROGRESS_POSITIONS, OTP_INPUT_SIZES, PHONE_VERIFY_SIZES, EMAIL_VERIFY_SIZES, TWO_FACTOR_SIZES, CHAT_ORB_SIZES, CHAT_ORB_VARIANTS, CHAT_ORB_STATES, CHAT_ORB_THEMES, CHAT_MESSAGE_ROLES, CHAT_WIDGET_VIEWS, CHAT_WIDGET_POSITIONS } from '@designbasekorea/ui-contracts';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Light DOM custom element for the canonical web Button.
|
|
@@ -9,10 +10,15 @@ import react__default, { ReactNode } from 'react';
|
|
|
9
10
|
*/
|
|
10
11
|
declare class DbButton extends HTMLElement {
|
|
11
12
|
static get observedAttributes(): string[];
|
|
13
|
+
/**
|
|
14
|
+
* 계약에 없는 값이 attribute 로 들어오면 기본값으로 되돌린다 — throw 하지 않는다.
|
|
15
|
+
* 커스텀 엘리먼트의 attribute 는 임의 문자열을 받으므로 타입으로 막을 수 없다. (STD-COERCE)
|
|
16
|
+
*/
|
|
12
17
|
get variant(): string;
|
|
13
18
|
set variant(value: string);
|
|
14
19
|
get size(): string;
|
|
15
20
|
set size(value: string);
|
|
21
|
+
/** 빈 값은 "사이즈에 따라 자동" 을 뜻하므로 계약값에 포함되지 않아도 유효하다 */
|
|
16
22
|
get radius(): string;
|
|
17
23
|
set radius(value: string);
|
|
18
24
|
get accentStyle(): string;
|
|
@@ -45,6 +51,14 @@ declare class DbButton extends HTMLElement {
|
|
|
45
51
|
private getDefaultRadiusClass;
|
|
46
52
|
private syncRadius;
|
|
47
53
|
private syncAccentStyle;
|
|
54
|
+
/**
|
|
55
|
+
* outline 스타일의 회전하는 테두리 글로우.
|
|
56
|
+
*
|
|
57
|
+
* conic-gradient 의 각도를 직접 애니메이션하려면 `@property` 가 필요해 기준선이 올라간다.
|
|
58
|
+
* 대신 넘치는 정사각형을 `overflow: hidden` 컨테이너 안에서 회전시키고,
|
|
59
|
+
* 컨테이너의 `::after` 가 안쪽을 덮어 1.5px 테두리만 남기는 방식을 쓴다.
|
|
60
|
+
*/
|
|
61
|
+
private syncAccentRing;
|
|
48
62
|
private syncAccentField;
|
|
49
63
|
private syncModifier;
|
|
50
64
|
private syncBooleanModifier;
|
|
@@ -58,6 +72,8 @@ declare global {
|
|
|
58
72
|
}
|
|
59
73
|
|
|
60
74
|
declare class DbInput extends HTMLElement {
|
|
75
|
+
/** 현재 렌더된 DOM 구조의 형태 키 — 바뀔 때만 재구축한다 (PERF-RECONCILE) */
|
|
76
|
+
private shapeKey;
|
|
61
77
|
static get observedAttributes(): string[];
|
|
62
78
|
private input?;
|
|
63
79
|
private passwordVisible;
|
|
@@ -87,6 +103,11 @@ declare class DbInput extends HTMLElement {
|
|
|
87
103
|
private resolveIconName;
|
|
88
104
|
private resolveStartIcon;
|
|
89
105
|
private getCurrentValue;
|
|
106
|
+
/**
|
|
107
|
+
* DOM 골격을 만든다. 구조가 실제로 달라질 때만 호출되며,
|
|
108
|
+
* 그 외에는 render() 가 기존 노드의 속성만 갱신한다.
|
|
109
|
+
*/
|
|
110
|
+
private buildStructure;
|
|
90
111
|
private render;
|
|
91
112
|
private mountIcons;
|
|
92
113
|
private shouldShowPasswordValidation;
|
|
@@ -114,6 +135,8 @@ declare class DbCheckbox extends HTMLElement {
|
|
|
114
135
|
private visual?;
|
|
115
136
|
private labelEl?;
|
|
116
137
|
private built;
|
|
138
|
+
private userInteracted;
|
|
139
|
+
private readonly cleanups;
|
|
117
140
|
get checked(): boolean;
|
|
118
141
|
set checked(value: boolean);
|
|
119
142
|
get indeterminate(): boolean;
|
|
@@ -124,13 +147,22 @@ declare class DbCheckbox extends HTMLElement {
|
|
|
124
147
|
set readOnly(value: boolean);
|
|
125
148
|
get required(): boolean;
|
|
126
149
|
set required(value: boolean);
|
|
150
|
+
/** 계약에 없는 값은 기본값으로 되돌린다 — throw 하지 않는다 (STD-COERCE) */
|
|
127
151
|
get size(): string;
|
|
128
152
|
set size(value: string);
|
|
129
153
|
connectedCallback(): void;
|
|
154
|
+
disconnectedCallback(): void;
|
|
155
|
+
/** form.reset() 이후 네이티브 input 의 실제 상태를 호스트 attribute 로 되돌린다 */
|
|
156
|
+
private syncAfterReset;
|
|
130
157
|
attributeChangedCallback(name: string): void;
|
|
131
158
|
private get hasLabel();
|
|
132
159
|
private build;
|
|
133
160
|
private handleChange;
|
|
161
|
+
/**
|
|
162
|
+
* 네이티브 검증 상태를 보조기술에 노출한다.
|
|
163
|
+
* 값 자체는 네이티브 input 이 폼에 싣고, 여기서는 표현만 맞춘다.
|
|
164
|
+
*/
|
|
165
|
+
private syncValidity;
|
|
134
166
|
private syncState;
|
|
135
167
|
private syncVisual;
|
|
136
168
|
private syncClasses;
|
|
@@ -148,6 +180,8 @@ declare class DbToggle extends HTMLElement {
|
|
|
148
180
|
private root?;
|
|
149
181
|
private labelEl?;
|
|
150
182
|
private built;
|
|
183
|
+
/** default-checked 는 초기값일 뿐 — 한 번 조작하면 checked/selected 만 본다 */
|
|
184
|
+
private userInteracted;
|
|
151
185
|
get checked(): boolean;
|
|
152
186
|
set checked(value: boolean);
|
|
153
187
|
get name(): string;
|
|
@@ -181,8 +215,8 @@ declare class DbBadge extends HTMLElement {
|
|
|
181
215
|
set variant(value: string);
|
|
182
216
|
get size(): string;
|
|
183
217
|
set size(value: string);
|
|
184
|
-
get
|
|
185
|
-
set
|
|
218
|
+
get type(): string;
|
|
219
|
+
set type(value: string);
|
|
186
220
|
get count(): number | undefined;
|
|
187
221
|
set count(value: number | undefined);
|
|
188
222
|
get maxCount(): number;
|
|
@@ -224,6 +258,10 @@ declare global {
|
|
|
224
258
|
}
|
|
225
259
|
|
|
226
260
|
declare class DbSpinner extends HTMLElement {
|
|
261
|
+
/** 현재 그려진 스피너 타입 — 바뀔 때만 그래픽을 다시 만든다 */
|
|
262
|
+
private renderedType?;
|
|
263
|
+
private graphicEl?;
|
|
264
|
+
private labelEl?;
|
|
227
265
|
static get observedAttributes(): string[];
|
|
228
266
|
get type(): string;
|
|
229
267
|
set type(value: string);
|
|
@@ -353,6 +391,7 @@ declare class DbModal extends HTMLElement {
|
|
|
353
391
|
private segmentEl?;
|
|
354
392
|
private contentEl?;
|
|
355
393
|
private titleId;
|
|
394
|
+
private focusTrap?;
|
|
356
395
|
private isMounted;
|
|
357
396
|
private internalTabId;
|
|
358
397
|
private internalSegment;
|
|
@@ -392,7 +431,16 @@ declare class DbModal extends HTMLElement {
|
|
|
392
431
|
private exitTimerId;
|
|
393
432
|
private syncVisibility;
|
|
394
433
|
private syncOpenState;
|
|
434
|
+
/** 열릴 때 포커스를 패널 안으로 가둔다. 닫으면 직전 포커스 요소로 복원된다. */
|
|
435
|
+
private activateFocusTrap;
|
|
395
436
|
private teardown;
|
|
437
|
+
/** 소비자가 `role="alertdialog"` 를 지정하지 않으면 dialog */
|
|
438
|
+
private dialogRole;
|
|
439
|
+
/**
|
|
440
|
+
* 본문 설명을 대화상자에 연결한다.
|
|
441
|
+
* `describedby` 로 id 를 직접 주거나, 없으면 본문 컨테이너를 자동으로 가리킨다.
|
|
442
|
+
*/
|
|
443
|
+
private syncDescribedBy;
|
|
396
444
|
private close;
|
|
397
445
|
private handleDocumentKeyDown;
|
|
398
446
|
}
|
|
@@ -672,6 +720,14 @@ declare class DbSelect extends HTMLElement {
|
|
|
672
720
|
private getFilteredOptions;
|
|
673
721
|
private selectOption;
|
|
674
722
|
private dispatchChange;
|
|
723
|
+
/**
|
|
724
|
+
* combobox 트리거에 접근 가능한 이름을 붙인다.
|
|
725
|
+
*
|
|
726
|
+
* 트리거는 `<div role="combobox">` 라서 `<label for>` 로는 연결되지 않는다.
|
|
727
|
+
* 라벨이 있으면 `aria-labelledby`, 없으면 소비자가 준 `aria-label`,
|
|
728
|
+
* 그것도 없으면 placeholder 를 이름으로 쓴다. (A11Y-NAME)
|
|
729
|
+
*/
|
|
730
|
+
private syncAccessibleName;
|
|
675
731
|
private syncState;
|
|
676
732
|
private syncOpenState;
|
|
677
733
|
private syncTrigger;
|
|
@@ -724,6 +780,7 @@ declare class DbRadio extends HTMLElement {
|
|
|
724
780
|
private dot?;
|
|
725
781
|
private labelEl?;
|
|
726
782
|
private built;
|
|
783
|
+
private userInteracted;
|
|
727
784
|
get checked(): boolean;
|
|
728
785
|
set checked(value: boolean);
|
|
729
786
|
get disabled(): boolean;
|
|
@@ -944,6 +1001,8 @@ declare global {
|
|
|
944
1001
|
declare class DbBackdrop extends HTMLElement {
|
|
945
1002
|
static get observedAttributes(): string[];
|
|
946
1003
|
private portal?;
|
|
1004
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
1005
|
+
private scrollLocked;
|
|
947
1006
|
private keyHandler;
|
|
948
1007
|
get open(): boolean;
|
|
949
1008
|
set open(value: boolean);
|
|
@@ -957,6 +1016,8 @@ declare class DbBackdrop extends HTMLElement {
|
|
|
957
1016
|
private detachListeners;
|
|
958
1017
|
private handlePortalClick;
|
|
959
1018
|
private render;
|
|
1019
|
+
/** 잠근 적이 있을 때만 푼다 — 참조 카운트가 음수로 새지 않도록 */
|
|
1020
|
+
private releaseScrollLock;
|
|
960
1021
|
}
|
|
961
1022
|
declare global {
|
|
962
1023
|
interface HTMLElementTagNameMap {
|
|
@@ -1030,15 +1091,19 @@ declare class DbDrawer extends HTMLElement {
|
|
|
1030
1091
|
private root?;
|
|
1031
1092
|
private overlay?;
|
|
1032
1093
|
private container?;
|
|
1094
|
+
private focusTrap?;
|
|
1033
1095
|
private contentEl?;
|
|
1034
1096
|
private isMounted;
|
|
1035
1097
|
private isActive;
|
|
1036
1098
|
private enterFrame?;
|
|
1037
1099
|
private exitTimer?;
|
|
1038
|
-
|
|
1100
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
1101
|
+
private scrollLocked;
|
|
1039
1102
|
private keyHandler;
|
|
1040
1103
|
connectedCallback(): void;
|
|
1041
1104
|
disconnectedCallback(): void;
|
|
1105
|
+
/** 잠근 적이 있을 때만 푼다 — 카운트가 음수로 새지 않도록 */
|
|
1106
|
+
private releaseScrollLock;
|
|
1042
1107
|
attributeChangedCallback(name: string): void;
|
|
1043
1108
|
private isOpenRequested;
|
|
1044
1109
|
private clearTimers;
|
|
@@ -1062,14 +1127,21 @@ declare class DbToast extends HTMLElement {
|
|
|
1062
1127
|
private progressInterval;
|
|
1063
1128
|
private closeTimerId;
|
|
1064
1129
|
private closed;
|
|
1130
|
+
private readonly cleanups;
|
|
1131
|
+
/** 일시정지 시점까지 소비한 시간 (ms) */
|
|
1132
|
+
private elapsedBeforePause;
|
|
1133
|
+
private runStartedAt;
|
|
1134
|
+
private paused;
|
|
1065
1135
|
connectedCallback(): void;
|
|
1066
1136
|
disconnectedCallback(): void;
|
|
1137
|
+
private pauseTimers;
|
|
1138
|
+
private resumeTimers;
|
|
1067
1139
|
attributeChangedCallback(name: string): void;
|
|
1068
1140
|
private clearTimers;
|
|
1069
1141
|
private startTimers;
|
|
1070
1142
|
/** 토스트를 닫고(애니메이션 포함) auto-remove 설정 시 DOM에서 제거합니다. */
|
|
1071
1143
|
close(): void;
|
|
1072
|
-
private
|
|
1144
|
+
private iconForVariant;
|
|
1073
1145
|
private render;
|
|
1074
1146
|
}
|
|
1075
1147
|
declare global {
|
|
@@ -1082,8 +1154,13 @@ declare class DbConfirm extends HTMLElement {
|
|
|
1082
1154
|
static get observedAttributes(): string[];
|
|
1083
1155
|
private root;
|
|
1084
1156
|
private keyHandler;
|
|
1157
|
+
private focusTrap?;
|
|
1158
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
1159
|
+
private scrollLocked;
|
|
1085
1160
|
connectedCallback(): void;
|
|
1086
1161
|
disconnectedCallback(): void;
|
|
1162
|
+
/** 트랩 해제(=포커스 복원)와 스크롤락 반환을 한 곳에서 처리한다 */
|
|
1163
|
+
private teardownOverlay;
|
|
1087
1164
|
attributeChangedCallback(): void;
|
|
1088
1165
|
private isOpen;
|
|
1089
1166
|
private attachEscape;
|
|
@@ -1375,6 +1452,33 @@ declare global {
|
|
|
1375
1452
|
}
|
|
1376
1453
|
}
|
|
1377
1454
|
|
|
1455
|
+
declare class DbActivityHeatmap extends HTMLElement {
|
|
1456
|
+
static get observedAttributes(): string[];
|
|
1457
|
+
connectedCallback(): void;
|
|
1458
|
+
disconnectedCallback(): void;
|
|
1459
|
+
attributeChangedCallback(): void;
|
|
1460
|
+
private handleClick;
|
|
1461
|
+
private parseData;
|
|
1462
|
+
private parseEndDate;
|
|
1463
|
+
private parseISODate;
|
|
1464
|
+
private formatISODate;
|
|
1465
|
+
private addDays;
|
|
1466
|
+
private startOfWeek;
|
|
1467
|
+
private isAfter;
|
|
1468
|
+
private buildWeeks;
|
|
1469
|
+
private resolveLevel;
|
|
1470
|
+
private formatMonthLabel;
|
|
1471
|
+
private formatTooltip;
|
|
1472
|
+
private getDayLabels;
|
|
1473
|
+
private getMonthLabels;
|
|
1474
|
+
private render;
|
|
1475
|
+
}
|
|
1476
|
+
declare global {
|
|
1477
|
+
interface HTMLElementTagNameMap {
|
|
1478
|
+
'db-activity-heatmap': DbActivityHeatmap;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1378
1482
|
declare class DbImage extends HTMLElement {
|
|
1379
1483
|
private imageState;
|
|
1380
1484
|
private currentSrc;
|
|
@@ -1443,6 +1547,10 @@ declare global {
|
|
|
1443
1547
|
|
|
1444
1548
|
declare class DbLightbox extends HTMLElement {
|
|
1445
1549
|
private portalEl;
|
|
1550
|
+
private focusTrap?;
|
|
1551
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
1552
|
+
private scrollLocked;
|
|
1553
|
+
private readonly titleId;
|
|
1446
1554
|
private imageEl;
|
|
1447
1555
|
private loadingEl;
|
|
1448
1556
|
private errorEl;
|
|
@@ -1550,8 +1658,8 @@ interface DbNavbarUserProfile {
|
|
|
1550
1658
|
email?: string;
|
|
1551
1659
|
avatar?: string;
|
|
1552
1660
|
badge?: number;
|
|
1553
|
-
badgeVariant?:
|
|
1554
|
-
|
|
1661
|
+
badgeVariant?: BadgeVariant;
|
|
1662
|
+
badgeType?: BadgeType;
|
|
1555
1663
|
badgeText?: string;
|
|
1556
1664
|
}
|
|
1557
1665
|
declare class DbNavbar extends HTMLElement {
|
|
@@ -1684,7 +1792,7 @@ interface DbSidebarItem {
|
|
|
1684
1792
|
selected?: boolean;
|
|
1685
1793
|
/** 프로필 메뉴에서 이 항목 앞에 구분선을 표시합니다. */
|
|
1686
1794
|
dividerBefore?: boolean;
|
|
1687
|
-
/** 클릭 시 이동할 사이드바 패널 id (예: settings) */
|
|
1795
|
+
/** 클릭 시 이동할 사이드바 패널 id (예: authentication, settings) */
|
|
1688
1796
|
openPanel?: string;
|
|
1689
1797
|
children?: DbSidebarItem[];
|
|
1690
1798
|
}
|
|
@@ -1695,6 +1803,20 @@ interface DbSidebarSection {
|
|
|
1695
1803
|
gap?: 'none' | 's' | 'm' | 'l';
|
|
1696
1804
|
items: DbSidebarItem[];
|
|
1697
1805
|
}
|
|
1806
|
+
type DbSidebarPanelMode = 'auto' | 'adjacent' | 'replace';
|
|
1807
|
+
interface DbSidebarPanel {
|
|
1808
|
+
id: string;
|
|
1809
|
+
title: string;
|
|
1810
|
+
description?: string;
|
|
1811
|
+
ariaLabel?: string;
|
|
1812
|
+
backLabel?: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* @deprecated 레이아웃 폭은 전역 `panel-width`만 사용합니다.
|
|
1815
|
+
* 패널마다 다른 폭을 주면 adjacent에서 폭이 흔들립니다.
|
|
1816
|
+
*/
|
|
1817
|
+
width?: number | string;
|
|
1818
|
+
sections: DbSidebarSection[];
|
|
1819
|
+
}
|
|
1698
1820
|
interface DbSidebarUserProfile {
|
|
1699
1821
|
name: string;
|
|
1700
1822
|
email?: string;
|
|
@@ -1736,6 +1858,9 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1736
1858
|
private flyoutCloseTimer;
|
|
1737
1859
|
private userFlyoutCloseTimer;
|
|
1738
1860
|
private outsideHandler;
|
|
1861
|
+
private panelMediaQuery;
|
|
1862
|
+
private panelMediaHandler;
|
|
1863
|
+
private resolvedPanelMode;
|
|
1739
1864
|
/**
|
|
1740
1865
|
* db-sidebar는 Light DOM으로 렌더링하므로 이름 있는 자식 요소를 직접 보존하고
|
|
1741
1866
|
* 해당 내비게이션 영역으로 이동해 슬롯처럼 투영합니다.
|
|
@@ -1746,7 +1871,9 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1746
1871
|
static get observedAttributes(): string[];
|
|
1747
1872
|
connectedCallback(): void;
|
|
1748
1873
|
disconnectedCallback(): void;
|
|
1749
|
-
attributeChangedCallback(name: string): void;
|
|
1874
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
1875
|
+
private bindPanelMediaQuery;
|
|
1876
|
+
private unbindPanelMediaQuery;
|
|
1750
1877
|
private seedExpanded;
|
|
1751
1878
|
get items(): DbSidebarItem[];
|
|
1752
1879
|
set items(value: DbSidebarItem[] | string);
|
|
@@ -1784,12 +1911,27 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1784
1911
|
set backLabel(value: string);
|
|
1785
1912
|
get backHref(): string;
|
|
1786
1913
|
set backHref(value: string);
|
|
1914
|
+
get panels(): DbSidebarPanel[];
|
|
1915
|
+
set panels(value: DbSidebarPanel[] | string);
|
|
1916
|
+
/**
|
|
1917
|
+
* @deprecated panels를 사용하세요. 기존 settings-sections는 settings 패널로 자동 변환됩니다.
|
|
1918
|
+
*/
|
|
1787
1919
|
get settingsSections(): DbSidebarSection[];
|
|
1788
1920
|
set settingsSections(value: DbSidebarSection[] | string);
|
|
1789
1921
|
get activePanel(): string;
|
|
1790
1922
|
set activePanel(value: string);
|
|
1923
|
+
get panelMode(): DbSidebarPanelMode;
|
|
1924
|
+
set panelMode(value: DbSidebarPanelMode);
|
|
1925
|
+
get panelWidth(): string;
|
|
1926
|
+
set panelWidth(value: string | number);
|
|
1927
|
+
get panelBreakpoint(): number;
|
|
1928
|
+
set panelBreakpoint(value: number);
|
|
1929
|
+
private normalizeCssLength;
|
|
1791
1930
|
private parseSettingsSections;
|
|
1792
|
-
private
|
|
1931
|
+
private parsePanels;
|
|
1932
|
+
private hasPanels;
|
|
1933
|
+
private findPanel;
|
|
1934
|
+
private getActivePanelConfig;
|
|
1793
1935
|
private parseSections;
|
|
1794
1936
|
private parseUserMenuItems;
|
|
1795
1937
|
private parseUserProfile;
|
|
@@ -1810,7 +1952,6 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1810
1952
|
private setUserFlyout;
|
|
1811
1953
|
private scheduleUserFlyoutClose;
|
|
1812
1954
|
private syncHostClasses;
|
|
1813
|
-
private syncActivePanelTrack;
|
|
1814
1955
|
private navigateToPanel;
|
|
1815
1956
|
private dispatchItemClick;
|
|
1816
1957
|
private dispatchUserMenuItemClick;
|
|
@@ -1831,8 +1972,10 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1831
1972
|
private createUserDropdown;
|
|
1832
1973
|
private createUpdateBanner;
|
|
1833
1974
|
private createPromoBanner;
|
|
1834
|
-
private
|
|
1975
|
+
private createMainHeader;
|
|
1976
|
+
private createPanelHeader;
|
|
1835
1977
|
private createNavWrapper;
|
|
1978
|
+
private createFooter;
|
|
1836
1979
|
private render;
|
|
1837
1980
|
}
|
|
1838
1981
|
declare global {
|
|
@@ -1923,6 +2066,81 @@ declare global {
|
|
|
1923
2066
|
}
|
|
1924
2067
|
}
|
|
1925
2068
|
|
|
2069
|
+
declare class DbRangeSlider extends HTMLElement {
|
|
2070
|
+
static get observedAttributes(): string[];
|
|
2071
|
+
private built;
|
|
2072
|
+
private headerEl;
|
|
2073
|
+
private labelEl;
|
|
2074
|
+
private valuesEl;
|
|
2075
|
+
private containerEl;
|
|
2076
|
+
private trackEl;
|
|
2077
|
+
private fillEl;
|
|
2078
|
+
private thumbEls;
|
|
2079
|
+
private currentValue;
|
|
2080
|
+
private currentRange;
|
|
2081
|
+
private isDragging;
|
|
2082
|
+
private activeThumb;
|
|
2083
|
+
private boundTrackClick;
|
|
2084
|
+
private boundPointerMove;
|
|
2085
|
+
private boundPointerUp;
|
|
2086
|
+
private boundContainerKeyDown;
|
|
2087
|
+
private eventsBound;
|
|
2088
|
+
connectedCallback(): void;
|
|
2089
|
+
disconnectedCallback(): void;
|
|
2090
|
+
attributeChangedCallback(name: string): void;
|
|
2091
|
+
private isStructuralAttribute;
|
|
2092
|
+
get value(): number;
|
|
2093
|
+
set value(v: number);
|
|
2094
|
+
get range(): [number, number] | undefined;
|
|
2095
|
+
set range(v: [number, number] | string | undefined);
|
|
2096
|
+
private build;
|
|
2097
|
+
private getValuePosition;
|
|
2098
|
+
private shouldShowLabel;
|
|
2099
|
+
private formatValue;
|
|
2100
|
+
private syncDomOrder;
|
|
2101
|
+
private bindEvents;
|
|
2102
|
+
private unbindEvents;
|
|
2103
|
+
private readAttributeValues;
|
|
2104
|
+
private syncClasses;
|
|
2105
|
+
private syncStructure;
|
|
2106
|
+
private isMarkActive;
|
|
2107
|
+
private syncVisuals;
|
|
2108
|
+
private syncThumbTooltips;
|
|
2109
|
+
private syncA11y;
|
|
2110
|
+
private setThumbPosition;
|
|
2111
|
+
private valueToPercent;
|
|
2112
|
+
private percentToValue;
|
|
2113
|
+
private snapToStep;
|
|
2114
|
+
private clamp;
|
|
2115
|
+
private getNumberAttr;
|
|
2116
|
+
private normalizeRangeInput;
|
|
2117
|
+
private parseRangeAttr;
|
|
2118
|
+
private parseMarks;
|
|
2119
|
+
private parseMarkLabels;
|
|
2120
|
+
private isInteractive;
|
|
2121
|
+
private getTrackPercent;
|
|
2122
|
+
private handleThumbPointerDown;
|
|
2123
|
+
private handleTrackClick;
|
|
2124
|
+
/**
|
|
2125
|
+
* 포인터 이동을 프레임당 1회로 병합한다. preventDefault 를 쓰지 않으므로 안전하다. (PERF-RAF)
|
|
2126
|
+
* 메서드가 아니라 필드로 선언해야 rafThrottle 로 감쌀 수 있다.
|
|
2127
|
+
*/
|
|
2128
|
+
private handlePointerMove;
|
|
2129
|
+
private handlePointerUp;
|
|
2130
|
+
private setThumbActive;
|
|
2131
|
+
private applyDragValue;
|
|
2132
|
+
private commitValueAtPosition;
|
|
2133
|
+
private handleKeyDown;
|
|
2134
|
+
private afterKeyboard;
|
|
2135
|
+
private dispatchValueChange;
|
|
2136
|
+
private dispatchRangeChange;
|
|
2137
|
+
}
|
|
2138
|
+
declare global {
|
|
2139
|
+
interface HTMLElementTagNameMap {
|
|
2140
|
+
'db-range-slider': DbRangeSlider;
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
|
|
1926
2144
|
/**
|
|
1927
2145
|
* SegmentControl Web Component
|
|
1928
2146
|
* packages/ui SegmentControl.tsx와 DOM·동작·스타일 1:1 동기화
|
|
@@ -2237,6 +2455,7 @@ declare global {
|
|
|
2237
2455
|
}
|
|
2238
2456
|
|
|
2239
2457
|
declare class DbFloatingActionButton extends HTMLElement {
|
|
2458
|
+
private detachKeyActivation?;
|
|
2240
2459
|
static get observedAttributes(): string[];
|
|
2241
2460
|
get size(): string;
|
|
2242
2461
|
set size(value: string);
|
|
@@ -2267,6 +2486,9 @@ declare class DbBottomSheet extends HTMLElement {
|
|
|
2267
2486
|
private grabBar?;
|
|
2268
2487
|
private contentEl?;
|
|
2269
2488
|
private sheetHeightPercent;
|
|
2489
|
+
private focusTrap?;
|
|
2490
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
2491
|
+
private scrollLocked;
|
|
2270
2492
|
private isDragging;
|
|
2271
2493
|
private isVisible;
|
|
2272
2494
|
private isMounted;
|
|
@@ -2280,6 +2502,8 @@ declare class DbBottomSheet extends HTMLElement {
|
|
|
2280
2502
|
private shouldMountPortal;
|
|
2281
2503
|
connectedCallback(): void;
|
|
2282
2504
|
disconnectedCallback(): void;
|
|
2505
|
+
/** 트랩 해제(=포커스 복원)와 스크롤락 반환 */
|
|
2506
|
+
private teardownOverlay;
|
|
2283
2507
|
attributeChangedCallback(name: string): void;
|
|
2284
2508
|
private isOpenRequested;
|
|
2285
2509
|
private clearTimers;
|
|
@@ -2366,6 +2590,9 @@ type OnboardingStep$1 = {
|
|
|
2366
2590
|
declare class DbOnboardingModal extends HTMLElement {
|
|
2367
2591
|
static get observedAttributes(): string[];
|
|
2368
2592
|
private root?;
|
|
2593
|
+
private focusTrap?;
|
|
2594
|
+
/** 참조 카운트 스크롤락을 이 인스턴스가 잡고 있는지 (PERF-GLOBAL-STATE) */
|
|
2595
|
+
private scrollLocked;
|
|
2369
2596
|
private internalStep;
|
|
2370
2597
|
private keyHandler;
|
|
2371
2598
|
private isMounted;
|
|
@@ -2492,6 +2719,9 @@ declare class DbDatePicker extends HTMLElement {
|
|
|
2492
2719
|
private boundDocumentMouseDown;
|
|
2493
2720
|
connectedCallback(): void;
|
|
2494
2721
|
disconnectedCallback(): void;
|
|
2722
|
+
/** 열린 달력은 Escape 로 닫히고 포커스는 트리거로 돌아간다 (A11Y-ESCAPE) */
|
|
2723
|
+
private handleDocumentKeyDown;
|
|
2724
|
+
private boundDocumentKeyDown;
|
|
2495
2725
|
attributeChangedCallback(name: string): void;
|
|
2496
2726
|
get value(): string;
|
|
2497
2727
|
set value(value: string);
|
|
@@ -2551,8 +2781,7 @@ declare global {
|
|
|
2551
2781
|
}
|
|
2552
2782
|
}
|
|
2553
2783
|
|
|
2554
|
-
|
|
2555
|
-
type TimeFormat = (typeof FORMATS)[number];
|
|
2784
|
+
type TimeFormat = (typeof TIME_PICKER_FORMATS)[number];
|
|
2556
2785
|
declare class DbTimePicker extends HTMLElement {
|
|
2557
2786
|
static get observedAttributes(): string[];
|
|
2558
2787
|
private built;
|
|
@@ -2573,6 +2802,9 @@ declare class DbTimePicker extends HTMLElement {
|
|
|
2573
2802
|
private boundDocumentMouseDown;
|
|
2574
2803
|
connectedCallback(): void;
|
|
2575
2804
|
disconnectedCallback(): void;
|
|
2805
|
+
/** 열린 드롭다운은 Escape 로 닫히고 포커스는 트리거로 돌아간다 (A11Y-ESCAPE) */
|
|
2806
|
+
private handleDocumentKeyDown;
|
|
2807
|
+
private boundDocumentKeyDown;
|
|
2576
2808
|
attributeChangedCallback(name: string): void;
|
|
2577
2809
|
get value(): string;
|
|
2578
2810
|
set value(value: string);
|
|
@@ -3186,8 +3418,17 @@ declare class DbResizablePanels extends HTMLElement {
|
|
|
3186
3418
|
private startSize;
|
|
3187
3419
|
private startPos;
|
|
3188
3420
|
private currentSize;
|
|
3421
|
+
/** 포인터 이동을 프레임당 1회로 병합하기 위한 핸들 (PERF-RAF) */
|
|
3422
|
+
private rafId;
|
|
3423
|
+
private pendingPoint;
|
|
3189
3424
|
static get observedAttributes(): string[];
|
|
3190
3425
|
connectedCallback(): void;
|
|
3426
|
+
/**
|
|
3427
|
+
* 드래그 중에 엘리먼트가 DOM 에서 제거되면 mouseup/touchend 가 오지 않아
|
|
3428
|
+
* document 리스너가 영원히 남는다. 여기서 확실히 걷어낸다. (PERF-CLEANUP)
|
|
3429
|
+
*/
|
|
3430
|
+
disconnectedCallback(): void;
|
|
3431
|
+
private detachDragListeners;
|
|
3191
3432
|
attributeChangedCallback(): void;
|
|
3192
3433
|
private getBool;
|
|
3193
3434
|
private getNumber;
|
|
@@ -3201,6 +3442,11 @@ declare class DbResizablePanels extends HTMLElement {
|
|
|
3201
3442
|
private onTouchStart;
|
|
3202
3443
|
private startResize;
|
|
3203
3444
|
private onMouseMove;
|
|
3445
|
+
/**
|
|
3446
|
+
* pointer 이동마다 레이아웃을 다시 계산하면 프레임을 넘겨 버린다.
|
|
3447
|
+
* 마지막 좌표만 남겨 두고 다음 프레임에 한 번만 반영한다.
|
|
3448
|
+
*/
|
|
3449
|
+
private scheduleResize;
|
|
3204
3450
|
private onTouchMove;
|
|
3205
3451
|
private applyResize;
|
|
3206
3452
|
private onMouseUp;
|
|
@@ -3253,6 +3499,9 @@ declare class DbVideoPlayer extends HTMLElement {
|
|
|
3253
3499
|
private getPlaylist;
|
|
3254
3500
|
private getCurrentSrc;
|
|
3255
3501
|
private formatTime;
|
|
3502
|
+
/**
|
|
3503
|
+
* 아이콘만 있는 컨트롤 버튼. `label` 이 유일한 접근 가능한 이름이다. (A11Y-NAME)
|
|
3504
|
+
*/
|
|
3256
3505
|
private iconButton;
|
|
3257
3506
|
private skipButton;
|
|
3258
3507
|
private syncFromAttributes;
|
|
@@ -3356,6 +3605,10 @@ declare class DbAudioPlayer extends HTMLElement {
|
|
|
3356
3605
|
private toggleShuffle;
|
|
3357
3606
|
private handlePlaybackRateChange;
|
|
3358
3607
|
private handleKeyDown;
|
|
3608
|
+
/**
|
|
3609
|
+
* 아이콘만 있는 컨트롤 버튼. `label` 은 선택이 아니라 필수다 —
|
|
3610
|
+
* 아이콘은 aria-hidden 이므로 이것이 유일한 접근 가능한 이름이 된다. (A11Y-NAME)
|
|
3611
|
+
*/
|
|
3359
3612
|
private iconButton;
|
|
3360
3613
|
private build;
|
|
3361
3614
|
private get leftControls();
|
|
@@ -3572,6 +3825,7 @@ declare global {
|
|
|
3572
3825
|
}
|
|
3573
3826
|
|
|
3574
3827
|
declare class DbAppBadge extends HTMLElement {
|
|
3828
|
+
private detachKeyActivation?;
|
|
3575
3829
|
static get observedAttributes(): string[];
|
|
3576
3830
|
private built;
|
|
3577
3831
|
private labelEl?;
|
|
@@ -3582,6 +3836,7 @@ declare class DbAppBadge extends HTMLElement {
|
|
|
3582
3836
|
private getStore;
|
|
3583
3837
|
private getIconSize;
|
|
3584
3838
|
private build;
|
|
3839
|
+
disconnectedCallback(): void;
|
|
3585
3840
|
private updateUI;
|
|
3586
3841
|
}
|
|
3587
3842
|
declare global {
|
|
@@ -4036,6 +4291,7 @@ type TutorialStep$1 = {
|
|
|
4036
4291
|
declare class DbTutorial extends HTMLElement {
|
|
4037
4292
|
static get observedAttributes(): string[];
|
|
4038
4293
|
private root?;
|
|
4294
|
+
private focusTrap?;
|
|
4039
4295
|
private overlayEl?;
|
|
4040
4296
|
private popoverEl?;
|
|
4041
4297
|
private closeButtonEl?;
|
|
@@ -4092,6 +4348,8 @@ declare class DbAnimationBackground extends HTMLElement {
|
|
|
4092
4348
|
private syncingControls;
|
|
4093
4349
|
static get observedAttributes(): string[];
|
|
4094
4350
|
connectedCallback(): void;
|
|
4351
|
+
/** 열린 설정 패널은 Escape 로 닫힌다 (A11Y-ESCAPE) */
|
|
4352
|
+
private handleDocumentKeyDown;
|
|
4095
4353
|
disconnectedCallback(): void;
|
|
4096
4354
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
4097
4355
|
private getBool;
|
|
@@ -4260,10 +4518,8 @@ declare global {
|
|
|
4260
4518
|
}
|
|
4261
4519
|
}
|
|
4262
4520
|
|
|
4263
|
-
|
|
4264
|
-
type
|
|
4265
|
-
declare const POSITIONS$1: readonly ["bottom-right", "bottom-left", "bottom-center", "top-right", "top-left", "top-center"];
|
|
4266
|
-
type DownloadPosition = (typeof POSITIONS$1)[number];
|
|
4521
|
+
type DownloadStatus = (typeof DOWNLOAD_PROGRESS_STATUSES)[number];
|
|
4522
|
+
type DownloadPosition = (typeof DOWNLOAD_PROGRESS_POSITIONS)[number];
|
|
4267
4523
|
/**
|
|
4268
4524
|
* 우측 하단(기본)에 떠 있는 다운로드 진행률 위젯.
|
|
4269
4525
|
*
|
|
@@ -4350,8 +4606,7 @@ declare global {
|
|
|
4350
4606
|
*
|
|
4351
4607
|
* 분할 자릿수 OTP/PIN 입력. 붙여넣기·화살표·백스페이스를 지원합니다.
|
|
4352
4608
|
*/
|
|
4353
|
-
|
|
4354
|
-
type OtpSize = (typeof SIZES$4)[number];
|
|
4609
|
+
type OtpSize = (typeof OTP_INPUT_SIZES)[number];
|
|
4355
4610
|
declare class DbOtpInput extends HTMLElement {
|
|
4356
4611
|
static formAssociated: boolean;
|
|
4357
4612
|
static get observedAttributes(): string[];
|
|
@@ -4403,8 +4658,7 @@ declare global {
|
|
|
4403
4658
|
* 한국형 휴대폰 본인인증: 통신사 → 번호 → 인증번호 발송 → OTP + 타이머/재전송.
|
|
4404
4659
|
*/
|
|
4405
4660
|
|
|
4406
|
-
|
|
4407
|
-
type Size$2 = (typeof SIZES$3)[number];
|
|
4661
|
+
type Size$2 = (typeof PHONE_VERIFY_SIZES)[number];
|
|
4408
4662
|
declare class DbPhoneVerify extends HTMLElement {
|
|
4409
4663
|
static get observedAttributes(): string[];
|
|
4410
4664
|
private built;
|
|
@@ -4460,8 +4714,7 @@ declare global {
|
|
|
4460
4714
|
* 이메일 인증: code(OTP) 모드 / confirm(메일함 확인) 모드.
|
|
4461
4715
|
*/
|
|
4462
4716
|
|
|
4463
|
-
|
|
4464
|
-
type Size$1 = (typeof SIZES$2)[number];
|
|
4717
|
+
type Size$1 = (typeof EMAIL_VERIFY_SIZES)[number];
|
|
4465
4718
|
declare class DbEmailVerify extends HTMLElement {
|
|
4466
4719
|
static get observedAttributes(): string[];
|
|
4467
4720
|
private built;
|
|
@@ -4519,6 +4772,7 @@ declare global {
|
|
|
4519
4772
|
* 2단계 인증(2FA): 인증앱 / SMS / 이메일 방식 + OTP.
|
|
4520
4773
|
*/
|
|
4521
4774
|
|
|
4775
|
+
type Size = (typeof TWO_FACTOR_SIZES)[number];
|
|
4522
4776
|
declare const METHODS: readonly [{
|
|
4523
4777
|
readonly value: "app";
|
|
4524
4778
|
readonly label: "인증 앱";
|
|
@@ -4529,8 +4783,6 @@ declare const METHODS: readonly [{
|
|
|
4529
4783
|
readonly value: "email";
|
|
4530
4784
|
readonly label: "이메일";
|
|
4531
4785
|
}];
|
|
4532
|
-
declare const SIZES$1: readonly ["s", "m", "l"];
|
|
4533
|
-
type Size = (typeof SIZES$1)[number];
|
|
4534
4786
|
type Method = (typeof METHODS)[number]['value'];
|
|
4535
4787
|
declare class DbTwoFactor extends HTMLElement {
|
|
4536
4788
|
static get observedAttributes(): string[];
|
|
@@ -4578,14 +4830,10 @@ declare global {
|
|
|
4578
4830
|
}
|
|
4579
4831
|
}
|
|
4580
4832
|
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
type OrbSize = (typeof SIZES)[number];
|
|
4586
|
-
type OrbVariant = (typeof VARIANTS)[number];
|
|
4587
|
-
type OrbState = (typeof STATES)[number];
|
|
4588
|
-
type OrbTheme = (typeof THEMES)[number];
|
|
4833
|
+
type OrbSize = (typeof CHAT_ORB_SIZES)[number];
|
|
4834
|
+
type OrbVariant = (typeof CHAT_ORB_VARIANTS)[number];
|
|
4835
|
+
type OrbState = (typeof CHAT_ORB_STATES)[number];
|
|
4836
|
+
type OrbTheme = (typeof CHAT_ORB_THEMES)[number];
|
|
4589
4837
|
/**
|
|
4590
4838
|
* AI 어시스턴트를 상징하는 캔버스 기반 애니메이션 오브(구체).
|
|
4591
4839
|
* 광택 있는 3D 구체 위에 유체처럼 흐르는 내부 광원 + 프레넬 림 라이트 + 스페큘러 하이라이트로
|
|
@@ -4778,6 +5026,8 @@ declare class DbChatComposer extends HTMLElement {
|
|
|
4778
5026
|
private fileInput;
|
|
4779
5027
|
private micBtn;
|
|
4780
5028
|
private sendBtn;
|
|
5029
|
+
private dropOverlay;
|
|
5030
|
+
private dragDepth;
|
|
4781
5031
|
get value(): string;
|
|
4782
5032
|
set value(v: string);
|
|
4783
5033
|
get streaming(): boolean;
|
|
@@ -4810,12 +5060,24 @@ declare class DbChatComposer extends HTMLElement {
|
|
|
4810
5060
|
private handleOutsideClick;
|
|
4811
5061
|
private chooseAttachOption;
|
|
4812
5062
|
private handleFilePicked;
|
|
5063
|
+
private hasDragFiles;
|
|
5064
|
+
private handleDragEnter;
|
|
5065
|
+
private handleDragOver;
|
|
5066
|
+
private handleDragLeave;
|
|
5067
|
+
private handleDrop;
|
|
5068
|
+
private showDropOverlay;
|
|
4813
5069
|
private addFile;
|
|
5070
|
+
/** 동일 파일을 두 번 끌어놓거나 다시 선택해도 첨부 목록에는 한 번만 표시한다. */
|
|
5071
|
+
private hasAttachment;
|
|
4814
5072
|
private attachmentMeta;
|
|
4815
5073
|
private handleInput;
|
|
4816
5074
|
private handleKeyDown;
|
|
4817
5075
|
private handleSendClick;
|
|
4818
5076
|
private submit;
|
|
5077
|
+
/** 여러 파일을 첨부합니다. */
|
|
5078
|
+
addFiles(files: File[], type?: string): void;
|
|
5079
|
+
/** 현재 입력·첨부를 전송합니다. */
|
|
5080
|
+
send(): void;
|
|
4819
5081
|
/** 입력 필드를 비웁니다. */
|
|
4820
5082
|
clear(): void;
|
|
4821
5083
|
/** 첨부를 하나 제거합니다. */
|
|
@@ -4874,8 +5136,14 @@ declare global {
|
|
|
4874
5136
|
}
|
|
4875
5137
|
}
|
|
4876
5138
|
|
|
4877
|
-
|
|
4878
|
-
|
|
5139
|
+
type Role = (typeof CHAT_MESSAGE_ROLES)[number];
|
|
5140
|
+
interface DbChatMessageAttachment {
|
|
5141
|
+
name: string;
|
|
5142
|
+
kind?: 'image' | 'video' | 'file';
|
|
5143
|
+
/** 미리보기/다운로드 URL (blob: 또는 https:) */
|
|
5144
|
+
url?: string;
|
|
5145
|
+
mime?: string;
|
|
5146
|
+
}
|
|
4879
5147
|
/**
|
|
4880
5148
|
* 채팅 메시지 한 줄. 본문은 라이트 DOM 자식으로 전달하며 컴포넌트가 감쌉니다.
|
|
4881
5149
|
* 아바타는 `db-avatar` 를 재사용합니다.
|
|
@@ -4889,17 +5157,22 @@ declare class DbChatMessage extends HTMLElement {
|
|
|
4889
5157
|
static get observedAttributes(): string[];
|
|
4890
5158
|
private built;
|
|
4891
5159
|
private contentEl;
|
|
5160
|
+
private mediaEl;
|
|
4892
5161
|
private avatarWrap;
|
|
4893
5162
|
private headerEl;
|
|
4894
5163
|
private nameEl;
|
|
4895
5164
|
private timeEl;
|
|
4896
5165
|
private actionsEl;
|
|
5166
|
+
private _attachments;
|
|
4897
5167
|
get role(): Role;
|
|
4898
5168
|
set role(v: Role);
|
|
5169
|
+
get attachments(): DbChatMessageAttachment[];
|
|
5170
|
+
set attachments(list: DbChatMessageAttachment[]);
|
|
4899
5171
|
connectedCallback(): void;
|
|
4900
5172
|
attributeChangedCallback(name: string): void;
|
|
4901
5173
|
private build;
|
|
4902
5174
|
private sync;
|
|
5175
|
+
private renderAttachments;
|
|
4903
5176
|
private renderAvatar;
|
|
4904
5177
|
private renderActions;
|
|
4905
5178
|
private handleAction;
|
|
@@ -4929,10 +5202,10 @@ declare global {
|
|
|
4929
5202
|
}
|
|
4930
5203
|
}
|
|
4931
5204
|
|
|
4932
|
-
|
|
4933
|
-
type
|
|
4934
|
-
|
|
4935
|
-
type
|
|
5205
|
+
type ChatView = (typeof CHAT_WIDGET_VIEWS)[number];
|
|
5206
|
+
type ChatPosition = (typeof CHAT_WIDGET_POSITIONS)[number];
|
|
5207
|
+
/** 홈 메뉴 선택 시 위젯 내부 이동. `none`이면 이벤트만 발행(호스트가 처리) */
|
|
5208
|
+
type DbChatWidgetMenuAction = 'conversation' | 'help' | 'none';
|
|
4936
5209
|
interface DbChatWidgetMessage {
|
|
4937
5210
|
id?: string;
|
|
4938
5211
|
/** `assistant`(상담원/봇) 또는 `user` */
|
|
@@ -4944,6 +5217,13 @@ interface DbChatWidgetMessage {
|
|
|
4944
5217
|
avatarInitials?: string;
|
|
4945
5218
|
/** 말풍선 액션 (예: 'copy,like,dislike') — db-chat-message 로 전달 */
|
|
4946
5219
|
actions?: string;
|
|
5220
|
+
/** 첨부 파일/이미지 */
|
|
5221
|
+
attachments?: Array<{
|
|
5222
|
+
name: string;
|
|
5223
|
+
kind?: 'image' | 'video' | 'file';
|
|
5224
|
+
url?: string;
|
|
5225
|
+
mime?: string;
|
|
5226
|
+
}>;
|
|
4947
5227
|
}
|
|
4948
5228
|
interface DbChatWidgetConversation {
|
|
4949
5229
|
id?: string;
|
|
@@ -4955,6 +5235,15 @@ interface DbChatWidgetConversation {
|
|
|
4955
5235
|
unread?: number;
|
|
4956
5236
|
online?: boolean;
|
|
4957
5237
|
}
|
|
5238
|
+
/** 홈 바로가기 메뉴 — 필요한 항목만 `menuItems`로 전달 (없으면 숨김) */
|
|
5239
|
+
interface DbChatWidgetMenuItem extends DbChatSuggestion {
|
|
5240
|
+
action?: DbChatWidgetMenuAction;
|
|
5241
|
+
}
|
|
5242
|
+
/** 도움말 문서 — 클릭 시 상세(`article`) 화면으로 이동 */
|
|
5243
|
+
interface DbChatWidgetArticle extends DbChatSuggestion {
|
|
5244
|
+
/** 상세 본문. 없으면 description을 본문으로 사용 */
|
|
5245
|
+
body?: string;
|
|
5246
|
+
}
|
|
4958
5247
|
/**
|
|
4959
5248
|
* FAB 로 열고 닫는 우측 하단 채팅 상담 위젯(껍데기).
|
|
4960
5249
|
*
|
|
@@ -4968,11 +5257,12 @@ interface DbChatWidgetConversation {
|
|
|
4968
5257
|
* @fires db-toggle - FAB 토글 (detail: { open })
|
|
4969
5258
|
* @fires db-view-change - 화면 전환 (detail: { view })
|
|
4970
5259
|
* @fires db-send - 메시지 전송 (detail: { text })
|
|
4971
|
-
* @fires db-menu-select - 홈 메뉴 선택 (detail: { id, value })
|
|
5260
|
+
* @fires db-menu-select - 홈 메뉴 선택 (detail: { id, value, action })
|
|
4972
5261
|
* @fires db-quick-reply - 빠른 답변 선택 (detail: { id, value })
|
|
4973
5262
|
* @fires db-article-select - 도움말 문서 선택 (detail: { id, title })
|
|
4974
5263
|
* @fires db-conversation-select - 대화 목록 선택 (detail: { id })
|
|
4975
5264
|
* @fires db-message-action - 말풍선 액션 (detail: { action, text })
|
|
5265
|
+
* @fires db-start-chat - 대화 시작 CTA (홈·메시지 empty)
|
|
4976
5266
|
*
|
|
4977
5267
|
* @example
|
|
4978
5268
|
* const chat = document.createElement('db-chat-widget');
|
|
@@ -4991,6 +5281,8 @@ declare class DbChatWidget extends HTMLElement {
|
|
|
4991
5281
|
static get observedAttributes(): string[];
|
|
4992
5282
|
private built;
|
|
4993
5283
|
private typing;
|
|
5284
|
+
private helpQuery;
|
|
5285
|
+
private _activeArticle;
|
|
4994
5286
|
private _messages;
|
|
4995
5287
|
private _conversations;
|
|
4996
5288
|
private _menuItems;
|
|
@@ -5017,16 +5309,24 @@ declare class DbChatWidget extends HTMLElement {
|
|
|
5017
5309
|
get messages(): DbChatWidgetMessage[];
|
|
5018
5310
|
set conversations(v: DbChatWidgetConversation[]);
|
|
5019
5311
|
get conversations(): DbChatWidgetConversation[];
|
|
5020
|
-
set menuItems(v:
|
|
5021
|
-
get menuItems():
|
|
5312
|
+
set menuItems(v: DbChatWidgetMenuItem[]);
|
|
5313
|
+
get menuItems(): DbChatWidgetMenuItem[];
|
|
5022
5314
|
set quickReplies(v: DbChatSuggestion[]);
|
|
5023
5315
|
get quickReplies(): DbChatSuggestion[];
|
|
5024
|
-
set articles(v:
|
|
5025
|
-
get articles():
|
|
5316
|
+
set articles(v: DbChatWidgetArticle[]);
|
|
5317
|
+
get articles(): DbChatWidgetArticle[];
|
|
5026
5318
|
connectedCallback(): void;
|
|
5319
|
+
disconnectedCallback(): void;
|
|
5320
|
+
/** 열린 위젯 패널은 Escape 로 닫히고 포커스는 런처로 돌아간다 (A11Y-ESCAPE) */
|
|
5321
|
+
private handleDocumentKeyDown;
|
|
5027
5322
|
attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
|
|
5028
5323
|
private hydrateFromAttributes;
|
|
5029
5324
|
private build;
|
|
5325
|
+
private panelDragDepth;
|
|
5326
|
+
private handlePanelDragEnter;
|
|
5327
|
+
private handlePanelDragOver;
|
|
5328
|
+
private handlePanelDragLeave;
|
|
5329
|
+
private handlePanelDrop;
|
|
5030
5330
|
private sync;
|
|
5031
5331
|
private syncOpenState;
|
|
5032
5332
|
private renderBadge;
|
|
@@ -5037,9 +5337,14 @@ declare class DbChatWidget extends HTMLElement {
|
|
|
5037
5337
|
private renderMessages;
|
|
5038
5338
|
private renderConversation;
|
|
5039
5339
|
private renderHelp;
|
|
5340
|
+
private renderHelpResults;
|
|
5341
|
+
private renderArticle;
|
|
5342
|
+
private openArticle;
|
|
5343
|
+
private startConversation;
|
|
5040
5344
|
private buildMessage;
|
|
5041
5345
|
private buildTyping;
|
|
5042
5346
|
private buildEmpty;
|
|
5347
|
+
private buildStartChatButton;
|
|
5043
5348
|
private renderFooter;
|
|
5044
5349
|
private renderNav;
|
|
5045
5350
|
private scrollThreadToEnd;
|
|
@@ -5308,6 +5613,7 @@ interface DbChatRoomMessage {
|
|
|
5308
5613
|
name?: string;
|
|
5309
5614
|
avatarSrc?: string;
|
|
5310
5615
|
avatarInitials?: string;
|
|
5616
|
+
attachments?: DbChatMessageAttachment[];
|
|
5311
5617
|
}
|
|
5312
5618
|
/**
|
|
5313
5619
|
* 사람 간 1:1/그룹 대화 화면. 상단 헤더(상대 정보) + 메시지 스레드 + 하단 컴포저.
|
|
@@ -5327,15 +5633,18 @@ declare class DbChatRoom extends HTMLElement {
|
|
|
5327
5633
|
static get observedAttributes(): string[];
|
|
5328
5634
|
private built;
|
|
5329
5635
|
private typing;
|
|
5636
|
+
private dragDepth;
|
|
5330
5637
|
private _messages;
|
|
5331
5638
|
private headerEl;
|
|
5332
5639
|
private scrollEl;
|
|
5333
5640
|
private threadEl;
|
|
5334
5641
|
private dockEl;
|
|
5642
|
+
private dropOverlay;
|
|
5335
5643
|
private composer;
|
|
5336
5644
|
set messages(v: DbChatRoomMessage[]);
|
|
5337
5645
|
get messages(): DbChatRoomMessage[];
|
|
5338
5646
|
connectedCallback(): void;
|
|
5647
|
+
disconnectedCallback(): void;
|
|
5339
5648
|
attributeChangedCallback(): void;
|
|
5340
5649
|
private build;
|
|
5341
5650
|
private sync;
|
|
@@ -5344,6 +5653,13 @@ declare class DbChatRoom extends HTMLElement {
|
|
|
5344
5653
|
private buildMessage;
|
|
5345
5654
|
private buildTyping;
|
|
5346
5655
|
private scrollToEnd;
|
|
5656
|
+
private nowLabel;
|
|
5657
|
+
private hasDragFiles;
|
|
5658
|
+
private handleDragEnter;
|
|
5659
|
+
private handleDragOver;
|
|
5660
|
+
private handleDragLeave;
|
|
5661
|
+
private handleDrop;
|
|
5662
|
+
private showDropOverlay;
|
|
5347
5663
|
/** 메시지 추가. 추가된 id 반환 */
|
|
5348
5664
|
addMessage(msg: DbChatRoomMessage): string;
|
|
5349
5665
|
/** 전체 메시지 교체 */
|
|
@@ -6589,7 +6905,7 @@ type FormProps = WebComponentProps & {
|
|
|
6589
6905
|
type BadgeProps = WebComponentProps & {
|
|
6590
6906
|
variant?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
6591
6907
|
size?: 's' | 'm' | 'l';
|
|
6592
|
-
|
|
6908
|
+
type?: 'dot' | 'number' | 'text' | 'outlined';
|
|
6593
6909
|
count?: number;
|
|
6594
6910
|
maxCount?: number;
|
|
6595
6911
|
disabled?: boolean;
|
|
@@ -6699,6 +7015,35 @@ type StatChange = {
|
|
|
6699
7015
|
type: 'increase' | 'decrease';
|
|
6700
7016
|
period?: string;
|
|
6701
7017
|
};
|
|
7018
|
+
type ActivityHeatmapItem = {
|
|
7019
|
+
date: string;
|
|
7020
|
+
value: number;
|
|
7021
|
+
};
|
|
7022
|
+
type ActivityHeatmapCellDetail = {
|
|
7023
|
+
date: string;
|
|
7024
|
+
value: number;
|
|
7025
|
+
level: number;
|
|
7026
|
+
};
|
|
7027
|
+
type ActivityHeatmapProps = WebComponentProps & {
|
|
7028
|
+
data?: string | ActivityHeatmapItem[];
|
|
7029
|
+
endDate?: string;
|
|
7030
|
+
weeks?: number;
|
|
7031
|
+
weekStartsOn?: 0 | 1;
|
|
7032
|
+
size?: 's' | 'm' | 'l';
|
|
7033
|
+
locale?: string;
|
|
7034
|
+
colorScheme?: 'green' | 'primary';
|
|
7035
|
+
showLegend?: boolean;
|
|
7036
|
+
showMonthLabels?: boolean;
|
|
7037
|
+
showDayLabels?: boolean;
|
|
7038
|
+
legendLessLabel?: string;
|
|
7039
|
+
legendMoreLabel?: string;
|
|
7040
|
+
valueLabel?: string;
|
|
7041
|
+
maxValue?: number;
|
|
7042
|
+
footerText?: string;
|
|
7043
|
+
footerHref?: string;
|
|
7044
|
+
onCellClick?: DbEventHandler<ActivityHeatmapCellDetail>;
|
|
7045
|
+
onDbCellClick?: DbEventHandler<ActivityHeatmapCellDetail>;
|
|
7046
|
+
};
|
|
6702
7047
|
type StatProps = WebComponentProps & {
|
|
6703
7048
|
value?: string | number;
|
|
6704
7049
|
label?: string;
|
|
@@ -7226,6 +7571,17 @@ type SidebarSection = {
|
|
|
7226
7571
|
gap?: 'none' | 's' | 'm' | 'l';
|
|
7227
7572
|
items: SidebarItem[];
|
|
7228
7573
|
};
|
|
7574
|
+
type SidebarPanelMode = 'auto' | 'adjacent' | 'replace';
|
|
7575
|
+
type SidebarPanel = {
|
|
7576
|
+
id: string;
|
|
7577
|
+
title: string;
|
|
7578
|
+
description?: string;
|
|
7579
|
+
ariaLabel?: string;
|
|
7580
|
+
backLabel?: string;
|
|
7581
|
+
/** @deprecated 레이아웃 폭은 panelWidth만 사용합니다. */
|
|
7582
|
+
width?: number | string;
|
|
7583
|
+
sections: SidebarSection[];
|
|
7584
|
+
};
|
|
7229
7585
|
type SidebarUserProfile = {
|
|
7230
7586
|
name: string;
|
|
7231
7587
|
email?: string;
|
|
@@ -7282,8 +7638,20 @@ type SidebarProps = WebComponentProps & {
|
|
|
7282
7638
|
headerType?: 'default' | 'back';
|
|
7283
7639
|
backLabel?: string;
|
|
7284
7640
|
backHref?: string;
|
|
7641
|
+
/** 범용 Secondary Panel 목록입니다. openPanel id와 연결합니다. */
|
|
7642
|
+
panels?: SidebarPanel[] | string;
|
|
7643
|
+
/**
|
|
7644
|
+
* @deprecated panels를 사용하세요. settings 패널로 자동 변환됩니다.
|
|
7645
|
+
*/
|
|
7285
7646
|
settingsSections?: SidebarSection[] | string;
|
|
7647
|
+
/** 현재 열린 패널 id. 닫을 때는 main. */
|
|
7286
7648
|
activePanel?: string;
|
|
7649
|
+
/** auto(기본) · adjacent · replace */
|
|
7650
|
+
panelMode?: SidebarPanelMode;
|
|
7651
|
+
/** Secondary Panel 기본 너비. 숫자(px) 또는 CSS length. */
|
|
7652
|
+
panelWidth?: number | string;
|
|
7653
|
+
/** panelMode=auto일 때 adjacent 전환 기준(px). 기본 1024. */
|
|
7654
|
+
panelBreakpoint?: number;
|
|
7287
7655
|
size?: 's' | 'm' | 'l';
|
|
7288
7656
|
/** 레이아웃 외형입니다. default(우측 보더만) · wrapper(패딩+radius+보더 카드형). */
|
|
7289
7657
|
variant?: 'default' | 'wrapper';
|
|
@@ -7305,11 +7673,19 @@ type SidebarProps = WebComponentProps & {
|
|
|
7305
7673
|
}>;
|
|
7306
7674
|
onPanelChange?: DbEventHandler<{
|
|
7307
7675
|
panel: string;
|
|
7308
|
-
|
|
7676
|
+
panelConfig?: SidebarPanel | null;
|
|
7677
|
+
mode?: Exclude<SidebarPanelMode, 'auto'>;
|
|
7309
7678
|
}>;
|
|
7310
7679
|
onDbPanelChange?: DbEventHandler<{
|
|
7311
7680
|
panel: string;
|
|
7312
|
-
|
|
7681
|
+
panelConfig?: SidebarPanel | null;
|
|
7682
|
+
mode?: Exclude<SidebarPanelMode, 'auto'>;
|
|
7683
|
+
}>;
|
|
7684
|
+
onPanelModeChange?: DbEventHandler<{
|
|
7685
|
+
mode: Exclude<SidebarPanelMode, 'auto'>;
|
|
7686
|
+
}>;
|
|
7687
|
+
onDbPanelModeChange?: DbEventHandler<{
|
|
7688
|
+
mode: Exclude<SidebarPanelMode, 'auto'>;
|
|
7313
7689
|
}>;
|
|
7314
7690
|
onPromoCtaClick?: DbEventHandler<{
|
|
7315
7691
|
banner: SidebarPromoBanner;
|
|
@@ -7461,7 +7837,7 @@ type ProgressStepProps = WebComponentProps & {
|
|
|
7461
7837
|
};
|
|
7462
7838
|
type ToastProps = WebComponentProps & {
|
|
7463
7839
|
toastId?: string;
|
|
7464
|
-
|
|
7840
|
+
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
7465
7841
|
title?: string;
|
|
7466
7842
|
description?: string;
|
|
7467
7843
|
duration?: number;
|
|
@@ -7673,7 +8049,7 @@ type AvatarProps = WebComponentProps & {
|
|
|
7673
8049
|
badge?: number;
|
|
7674
8050
|
badgeMaxCount?: number;
|
|
7675
8051
|
badgeVariant?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
7676
|
-
|
|
8052
|
+
badgeType?: 'dot' | 'number' | 'text' | 'outlined';
|
|
7677
8053
|
badgeText?: string;
|
|
7678
8054
|
onClick?: DbEventHandler;
|
|
7679
8055
|
onDbClick?: DbEventHandler;
|
|
@@ -9548,7 +9924,7 @@ type ChatTypingProps = WebComponentProps & {
|
|
|
9548
9924
|
};
|
|
9549
9925
|
type ChatWidgetProps = WebComponentProps & {
|
|
9550
9926
|
open?: boolean;
|
|
9551
|
-
view?: 'home' | 'messages' | 'conversation' | 'help';
|
|
9927
|
+
view?: 'home' | 'messages' | 'conversation' | 'help' | 'article';
|
|
9552
9928
|
position?: 'bottom-right' | 'bottom-left';
|
|
9553
9929
|
agentName?: string;
|
|
9554
9930
|
agentAvatar?: string;
|
|
@@ -9561,12 +9937,11 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
9561
9937
|
accent?: string;
|
|
9562
9938
|
orbVariant?: 'aurora' | 'ocean' | 'emerald' | 'violet' | 'mono';
|
|
9563
9939
|
launcherLabel?: string;
|
|
9564
|
-
searchEnabled?: boolean;
|
|
9565
9940
|
messages?: DbChatWidgetMessage[];
|
|
9566
9941
|
conversations?: DbChatWidgetConversation[];
|
|
9567
|
-
menuItems?:
|
|
9942
|
+
menuItems?: DbChatWidgetMenuItem[];
|
|
9568
9943
|
quickReplies?: DbChatSuggestion[];
|
|
9569
|
-
articles?:
|
|
9944
|
+
articles?: DbChatWidgetArticle[];
|
|
9570
9945
|
onOpen?: DbEventHandler;
|
|
9571
9946
|
onClose?: DbEventHandler;
|
|
9572
9947
|
onToggle?: DbEventHandler<{
|
|
@@ -9581,6 +9956,7 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
9581
9956
|
onMenuSelect?: DbEventHandler<{
|
|
9582
9957
|
id: string;
|
|
9583
9958
|
value: string;
|
|
9959
|
+
action?: string;
|
|
9584
9960
|
}>;
|
|
9585
9961
|
onQuickReply?: DbEventHandler<{
|
|
9586
9962
|
id: string;
|
|
@@ -9597,6 +9973,7 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
9597
9973
|
action: string;
|
|
9598
9974
|
text: string;
|
|
9599
9975
|
}>;
|
|
9976
|
+
onStartChat?: DbEventHandler;
|
|
9600
9977
|
};
|
|
9601
9978
|
declare const ChatOrb: react.ForwardRefExoticComponent<Omit<ChatOrbProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9602
9979
|
declare const ChatWelcome: react.ForwardRefExoticComponent<Omit<ChatWelcomeProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
@@ -9713,6 +10090,7 @@ declare const Share: react.ForwardRefExoticComponent<Omit<ShareProps, "ref"> & r
|
|
|
9713
10090
|
declare const TopBanner: react.ForwardRefExoticComponent<Omit<TopBannerProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9714
10091
|
declare const CookieBanner: react.ForwardRefExoticComponent<Omit<CookieBannerProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9715
10092
|
declare const Stat: react.ForwardRefExoticComponent<Omit<StatProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
10093
|
+
declare const ActivityHeatmap: react.ForwardRefExoticComponent<Omit<ActivityHeatmapProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9716
10094
|
declare const Image: react.ForwardRefExoticComponent<Omit<ImageProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9717
10095
|
declare const ImagePlaceholder: react.ForwardRefExoticComponent<Omit<ImagePlaceholderProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9718
10096
|
declare const ImageList: react.ForwardRefExoticComponent<Omit<ImageListProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
@@ -9814,5 +10192,5 @@ declare const DatePicker: react.ForwardRefExoticComponent<Omit<DatePickerProps,
|
|
|
9814
10192
|
declare const TimePicker: react.ForwardRefExoticComponent<Omit<TimePickerProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9815
10193
|
declare const Calendar: react.ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9816
10194
|
|
|
9817
|
-
export { Accordion, AdBanner, AiChat, AiChatList, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, Lottie, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu };
|
|
9818
|
-
export type { AccordionItemConfig, AccordionProps, AdBannerProps, AiChatListProps, AiChatProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetConversation, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, LottieProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|
|
10195
|
+
export { Accordion, ActivityHeatmap, AdBanner, AiChat, AiChatList, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, Lottie, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu };
|
|
10196
|
+
export type { AccordionItemConfig, AccordionProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, LottieProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|