@iyulab/components 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +10 -4
- package/dist/_virtual/{_@oxc-project_runtime@0.156.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.156.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/components/UElement.js +1 -1
- package/dist/components/UFloatingElement.d.ts +3 -0
- package/dist/components/UFloatingElement.js +25 -11
- package/dist/components/UFloatingElement.styles.js +1 -1
- package/dist/components/UFormControlElement.js +5 -4
- package/dist/components/UOverlayElement.js +4 -4
- package/dist/components/alert/UAlert.js +4 -4
- package/dist/components/auto-scroll/UAutoScroll.js +4 -4
- package/dist/components/avatar/UAvatar.js +4 -4
- package/dist/components/badge/UBadge.js +4 -4
- package/dist/components/breadcrumb/UBreadcrumb.js +3 -3
- package/dist/components/breadcrumb-item/UBreadcrumbItem.js +5 -5
- package/dist/components/button/UButton.js +5 -5
- package/dist/components/button-group/UButtonGroup.js +4 -4
- package/dist/components/calendar/UCalendar.js +5 -5
- package/dist/components/card/UCard.js +5 -5
- package/dist/components/carousel/UCarousel.js +6 -6
- package/dist/components/checkbox/UCheckbox.js +6 -6
- package/dist/components/chip/UChip.js +4 -4
- package/dist/components/command-palette/UCommandPalette.js +5 -5
- package/dist/components/copy-button/UCopyButton.js +4 -4
- package/dist/components/date-picker/UDatePicker.js +7 -6
- package/dist/components/date-range-picker/UDateRangePicker.js +7 -6
- package/dist/components/dialog/UDialog.js +4 -4
- package/dist/components/divider/UDivider.js +4 -4
- package/dist/components/drawer/UDrawer.js +4 -4
- package/dist/components/expander/UExpander.js +4 -4
- package/dist/components/field/UField.js +7 -6
- package/dist/components/file-input/UFileInput.js +5 -5
- package/dist/components/form/UForm.js +4 -4
- package/dist/components/icon/UIcon.js +6 -6
- package/dist/components/icon-button/UIconButton.js +5 -5
- package/dist/components/input/UInput.js +6 -6
- package/dist/components/menu/UMenu.js +4 -4
- package/dist/components/menu-item/UMenuItem.js +5 -5
- package/dist/components/option/UOption.js +4 -4
- package/dist/components/option-group/UOptionGroup.js +7 -6
- package/dist/components/option-group/UOptionGroup.styles.js +2 -1
- package/dist/components/pagination/UPagination.js +4 -4
- package/dist/components/panel/UPanel.js +4 -4
- package/dist/components/popover/UPopover.js +4 -4
- package/dist/components/progress-bar/UProgressBar.js +4 -4
- package/dist/components/progress-ring/UProgressRing.js +4 -4
- package/dist/components/radio/URadio.js +5 -5
- package/dist/components/rating/URating.js +5 -5
- package/dist/components/select/USelect.js +7 -6
- package/dist/components/skeleton/USkeleton.js +4 -4
- package/dist/components/slider/USlider.js +5 -5
- package/dist/components/spinner/USpinner.js +4 -4
- package/dist/components/split-panel/USplitPanel.js +4 -4
- package/dist/components/steps/USteps.js +5 -5
- package/dist/components/switch/USwitch.js +6 -6
- package/dist/components/tab/UTab.js +5 -5
- package/dist/components/tab-nav/UTabNav.js +4 -4
- package/dist/components/tab-panel/UTabPanel.js +4 -4
- package/dist/components/tag/UTag.js +4 -4
- package/dist/components/text/UText.js +4 -4
- package/dist/components/textarea/UTextarea.js +7 -7
- package/dist/components/tooltip/UTooltip.js +4 -4
- package/dist/components/tree/UTree.js +4 -4
- package/dist/components/tree-item/UTreeItem.js +4 -4
- package/dist/custom-elements.json +420 -249
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/utilities/Dialog.js +3 -3
- package/dist/utilities/customState.d.ts +19 -0
- package/dist/utilities/customState.js +40 -0
- package/package.json +1 -1
- package/skills/iyulab-components/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.3.0] - 2026-11-28
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `setCustomState(internals, name, on)` and `hasCustomState(element, name)` (exported, also from
|
|
8
|
+
`@iyulab/components/dist/utilities/customState.js`): publish and read a custom state on engines that only accept
|
|
9
|
+
`--`-prefixed names. `setCustomState` tries the plain name and falls back to `--name`; both do nothing on an engine without
|
|
10
|
+
`ElementInternals.states`.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Chrome and Edge 90–124 no longer throw `SyntaxError: ... The specified value 'field' must start with '--'` while a form
|
|
15
|
+
control connects. Those engines refuse a plain custom-state name, and every unprefixed `states.add()` threw: the `field`
|
|
16
|
+
state of `u-input`, `u-select`, `u-textarea`, `u-date-picker`, `u-date-range-picker`, `u-file-input` and `u-field`, the
|
|
17
|
+
`open` state of `u-select` and the two pickers, `empty` on `u-option-group` and `parked` on every floating element. The
|
|
18
|
+
state is now published as `--name` there, and the built-in stylesheets read both forms (`:is(:state(x), :--x)`), so a
|
|
19
|
+
closed floating element leaves the layout and an empty option group hides on those engines as it does elsewhere.
|
|
20
|
+
Behaviour on Chrome and Edge 125+, Firefox and Safari is unchanged. The browser-support notes in the README and the skill
|
|
21
|
+
overview are rewritten to match.
|
|
22
|
+
|
|
23
|
+
## [3.2.1] - 2026-11-25
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Open floating elements (`u-select`, `u-popover`, `u-tooltip`, menus, pickers) no longer stay `visibility: hidden` after
|
|
28
|
+
their anchor comes back into view without any ancestor or anchor resizing. The anchor-hidden judgement is a snapshot, and
|
|
29
|
+
when the content above an anchor shrinks (a section still filling in right after a route change) only the anchor moves, so
|
|
30
|
+
nothing re-ran the check and an open popup stayed invisible until something else triggered a re-measure. While an open
|
|
31
|
+
floating element is marked `anchor-hidden` it is now re-measured every animation frame, and the polling stops as soon as the
|
|
32
|
+
anchor is visible again or the element closes. Runtime behaviour is otherwise unchanged.
|
|
33
|
+
|
|
3
34
|
## [3.2.0] - 2026-11-16
|
|
4
35
|
|
|
5
36
|
### Added
|
package/README.md
CHANGED
|
@@ -12,10 +12,16 @@ npm install @iyulab/components
|
|
|
12
12
|
|
|
13
13
|
## Browser support
|
|
14
14
|
|
|
15
|
-
지원 하한은 **`CustomStateSet`
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
지원 하한은 **`ElementInternals.states`(`CustomStateSet`)를 가진 판**입니다 — Chrome · Edge 90, Firefox 126, Safari 17.4 이상.
|
|
16
|
+
컴포넌트는 `:state(field)` · `:state(open)` 같은 상태를 거기에 싣고 시트가 그 선택자로 모양을 정합니다. Chrome · Edge
|
|
17
|
+
125 미만은 `:state()` 를 `--` 접두 없이는 받지 못하므로, 컴포넌트가 접두 없는 이름을 먼저 시도하고 거부당하면 `--이름`
|
|
18
|
+
으로 싣습니다(던지지 않습니다) — 내부 시트는 `:is(:state(x), :--x)` 로 두 형을 함께 읽습니다. 하한 아래(Chrome · Edge 90
|
|
19
|
+
미만, Firefox 126 미만, Safari 17.4 미만)에서는 상태 자체가 없어 상태에 기대는 모양(필드 칸 표시 · 닫힌 떠 있는 요소의
|
|
20
|
+
레이아웃 제외 등)이 적용되지 않을 뿐 동작은 같습니다.
|
|
21
|
+
|
|
22
|
+
공개 상태(`u-select:state(open)` 등)에 손잡이를 거는 앱 시트가 125 미만도 덮어야 하면 같은 두 형을 씁니다 —
|
|
23
|
+
`u-select:is(:state(open), :--open)`. 선택자 목록에 그냥 섞지 마세요(모르는 선택자 하나가 규칙 전체를 죽입니다).
|
|
24
|
+
같은 두 형 읽기는 `hasCustomState(el, name)`, 상태 싣기는 `setCustomState(internals, name, on)` 으로 내보냅니다.
|
|
19
25
|
|
|
20
26
|
## Quick Start
|
|
21
27
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// \0@oxc-project+runtime@0.
|
|
1
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// \0@oxc-project+runtime@0.
|
|
1
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { LitElement, render } from "lit";
|
|
1
2
|
import { styles } from "./UElement.styles.js";
|
|
2
3
|
import { Locale } from "../utilities/Locale.js";
|
|
3
4
|
import { devWarnOnce } from "../utilities/devWarning.js";
|
|
4
|
-
import { LitElement, render } from "lit";
|
|
5
5
|
// src/components/UElement.ts
|
|
6
6
|
/**
|
|
7
7
|
* 모든 UI 컴포넌트의 기반 클래스.
|
|
@@ -113,6 +113,7 @@ export declare class UFloatingElement extends UElement {
|
|
|
113
113
|
protected arrowEl?: HTMLElement;
|
|
114
114
|
private cleanup;
|
|
115
115
|
private trackSeq;
|
|
116
|
+
private hiddenFrame;
|
|
116
117
|
private showTimer?;
|
|
117
118
|
private hideTimer?;
|
|
118
119
|
/** `:state(parked)` 를 싣는다 — 닫힌 동안 레이아웃에서 빠진다(아래 `park()`). */
|
|
@@ -132,6 +133,8 @@ export declare class UFloatingElement extends UElement {
|
|
|
132
133
|
private parkWhenSettled;
|
|
133
134
|
/** 자동 위치 추적을 끊고, 계산 중인 track() 이 뒤늦게 추적을 걸지 못하게 한다. */
|
|
134
135
|
private untrack;
|
|
136
|
+
/** `anchor-hidden` 이 서 있는 동안 다음 프레임에 다시 잰다. 추적이 끊기거나 속성이 풀리면 멈춘다. */
|
|
137
|
+
private recheckWhileHidden;
|
|
135
138
|
/** 타겟 기준으로 위치를 계산하고, 스크롤·리사이즈를 따라 재배치하도록 추적을 건다. */
|
|
136
139
|
private track;
|
|
137
140
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { property, state } from "lit/decorators.js";
|
|
2
|
+
import { arrow, autoPlacement, autoUpdate, computePosition, flip, getOverflowAncestors, hide, offset, shift } from "@floating-ui/dom";
|
|
1
3
|
import { getParentElement, querySelectorAllWithin } from "../utilities/elements.js";
|
|
2
4
|
import { UElement } from "./UElement.js";
|
|
3
5
|
import { styles } from "./UFloatingElement.styles.js";
|
|
4
6
|
import { enumeratedValues } from "../utilities/enumerated.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { arrow, autoPlacement, autoUpdate, computePosition, flip, getOverflowAncestors, hide, offset, shift } from "@floating-ui/dom";
|
|
7
|
+
import { setCustomState } from "../utilities/customState.js";
|
|
8
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
9
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
9
10
|
// src/components/UFloatingElement.ts
|
|
10
11
|
/**
|
|
11
12
|
* UFloatingElement는 팝오버, 툴팁 등 화면에 떠 있는 엘리먼트를 구현하기 위한 기본 클래스입니다.
|
|
@@ -32,6 +33,7 @@ var UFloatingElement = class extends UElement {
|
|
|
32
33
|
this.hideDelay = 0;
|
|
33
34
|
this.cleanup = null;
|
|
34
35
|
this.trackSeq = 0;
|
|
36
|
+
this.hiddenFrame = 0;
|
|
35
37
|
this.floatingInternals = typeof this.attachInternals === "function" ? this.attachInternals() : void 0;
|
|
36
38
|
this.parkSeq = 0;
|
|
37
39
|
}
|
|
@@ -84,12 +86,7 @@ var UFloatingElement = class extends UElement {
|
|
|
84
86
|
* 만들었다. 닫힘 전환이 끝난 뒤에 빼고(페이드는 그대로), 열거나 재기 전에 꺼낸다.
|
|
85
87
|
*/
|
|
86
88
|
setParked(parked) {
|
|
87
|
-
|
|
88
|
-
if (!states) return;
|
|
89
|
-
try {
|
|
90
|
-
if (parked) states.add("parked");
|
|
91
|
-
else states.delete("parked");
|
|
92
|
-
} catch {}
|
|
89
|
+
setCustomState(this.floatingInternals, "parked", parked);
|
|
93
90
|
}
|
|
94
91
|
unpark() {
|
|
95
92
|
this.parkSeq++;
|
|
@@ -104,11 +101,26 @@ var UFloatingElement = class extends UElement {
|
|
|
104
101
|
/** 자동 위치 추적을 끊고, 계산 중인 track() 이 뒤늦게 추적을 걸지 못하게 한다. */
|
|
105
102
|
untrack() {
|
|
106
103
|
this.trackSeq++;
|
|
104
|
+
if (this.hiddenFrame) {
|
|
105
|
+
cancelAnimationFrame(this.hiddenFrame);
|
|
106
|
+
this.hiddenFrame = 0;
|
|
107
|
+
}
|
|
107
108
|
if (this.cleanup !== null) {
|
|
108
109
|
this.cleanup();
|
|
109
110
|
this.cleanup = null;
|
|
110
111
|
}
|
|
111
112
|
}
|
|
113
|
+
/** `anchor-hidden` 이 서 있는 동안 다음 프레임에 다시 잰다. 추적이 끊기거나 속성이 풀리면 멈춘다. */
|
|
114
|
+
recheckWhileHidden(target) {
|
|
115
|
+
if (this.hiddenFrame) return;
|
|
116
|
+
const seq = this.trackSeq;
|
|
117
|
+
this.hiddenFrame = requestAnimationFrame(() => {
|
|
118
|
+
this.hiddenFrame = 0;
|
|
119
|
+
if (seq !== this.trackSeq || !this.hasAttribute("anchor-hidden")) return;
|
|
120
|
+
if (!this.open && !this.showTimer) return;
|
|
121
|
+
this.reposition(target);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
112
124
|
/** 타겟 기준으로 위치를 계산하고, 스크롤·리사이즈를 따라 재배치하도록 추적을 건다. */
|
|
113
125
|
async track(target) {
|
|
114
126
|
this.untrack();
|
|
@@ -248,7 +260,9 @@ var UFloatingElement = class extends UElement {
|
|
|
248
260
|
top: `${position.y}px`,
|
|
249
261
|
transformOrigin: config.transform
|
|
250
262
|
});
|
|
251
|
-
|
|
263
|
+
const anchorHidden = !!position.middlewareData.hide?.referenceHidden;
|
|
264
|
+
this.toggleAttribute("anchor-hidden", anchorHidden);
|
|
265
|
+
if (anchorHidden) this.recheckWhileHidden(target);
|
|
252
266
|
const arrowData = position.middlewareData.arrow;
|
|
253
267
|
if (!this.arrowEl || !arrowData) return;
|
|
254
268
|
Object.assign(this.arrowEl.style, {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { property, state } from "lit/decorators.js";
|
|
1
2
|
import { UElement } from "./UElement.js";
|
|
2
3
|
import { styles } from "./UFormControlElement.styles.js";
|
|
3
4
|
import { enumeratedValues } from "../utilities/enumerated.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import { setCustomState } from "../utilities/customState.js";
|
|
6
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
7
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
7
8
|
// src/components/UFormControlElement.ts
|
|
8
9
|
/**
|
|
9
10
|
* 폼 컨트롤 컴포넌트의 공통 기반 클래스입니다.
|
|
@@ -136,7 +137,7 @@ var UFormControlElement = class extends UElement {
|
|
|
136
137
|
connectedCallback() {
|
|
137
138
|
super.connectedCallback();
|
|
138
139
|
if (!this.internals && "attachInternals" in this) this.internals = this.attachInternals();
|
|
139
|
-
if (this.constructor.fieldBox) this.internals
|
|
140
|
+
if (this.constructor.fieldBox) setCustomState(this.internals, "field", true);
|
|
140
141
|
}
|
|
141
142
|
/**
|
|
142
143
|
* 검증 메시지는 `setValidity()` 가 `internals` 에 적어 둔 문장이다 — 다시 그리기만 하면 옛 언어가 그대로 나온다.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { property } from "lit/decorators.js";
|
|
2
|
+
import { createFocusTrap } from "focus-trap";
|
|
1
3
|
import { isFocusCandidate, querySelectorDeep } from "../utilities/elements.js";
|
|
2
4
|
import { OverlayManager } from "../utilities/OverlayManager.js";
|
|
3
5
|
import { arrayAttrConverter } from "../utilities/converters.js";
|
|
@@ -5,10 +7,8 @@ import { HostAria, nameFromSlot } from "../utilities/hostAria.js";
|
|
|
5
7
|
import { UElement } from "./UElement.js";
|
|
6
8
|
import { styles } from "./UOverlayElement.styles.js";
|
|
7
9
|
import { enumeratedValues } from "../utilities/enumerated.js";
|
|
8
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
9
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import { property } from "lit/decorators.js";
|
|
11
|
-
import { createFocusTrap } from "focus-trap";
|
|
10
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
11
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
12
12
|
// src/components/UOverlayElement.ts
|
|
13
13
|
/**
|
|
14
14
|
* UOverlayElement는 다이얼로그, 드로어 등 화면에 오버레이로 표시되는 엘리먼트의 기본 클래스입니다.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import "../button/UButton.js";
|
|
2
4
|
import "../icon/UIcon.js";
|
|
3
5
|
import { UElement } from "../UElement.js";
|
|
@@ -7,10 +9,8 @@ import { devWarnOnce } from "../../utilities/devWarning.js";
|
|
|
7
9
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
8
10
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
9
11
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
10
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
12
|
-
import { html } from "lit";
|
|
13
|
-
import { customElement, property } from "lit/decorators.js";
|
|
12
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
13
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
14
14
|
// src/components/alert/UAlert.ts
|
|
15
15
|
/** 유효한 `u-alert` 상태 — 런타임 검증과 타입이 **같은 목록**을 보게 둔다. */
|
|
16
16
|
var ALERT_STATUSES = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import { UElement } from "../UElement.js";
|
|
2
4
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
3
5
|
import { styles } from "./UAutoScroll.styles.js";
|
|
4
6
|
import { UNATTENDED_IDLE_MS } from "../../utilities/unattended.js";
|
|
5
7
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
6
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
7
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
8
|
-
import { html } from "lit";
|
|
9
|
-
import { customElement, property } from "lit/decorators.js";
|
|
8
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
9
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
10
10
|
// src/components/auto-scroll/UAutoScroll.ts
|
|
11
11
|
/** `item` 에서 다음 항목까지 미끄러지는 시간(ms) — 읽히는 것은 멈춘 동안이라 짧고 일정하게 둔다. */
|
|
12
12
|
var ITEM_GLIDE_MS = 600;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import { UElement } from "../UElement.js";
|
|
2
4
|
import { styles } from "./UAvatar.styles.js";
|
|
3
5
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
4
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
6
|
-
import { html } from "lit";
|
|
7
|
-
import { customElement, property } from "lit/decorators.js";
|
|
6
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
7
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
8
8
|
// src/components/avatar/UAvatar.ts
|
|
9
9
|
var UAvatar = class UAvatar extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { html, nothing } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import { UElement } from "../UElement.js";
|
|
2
4
|
import { statusIcon } from "../../utilities/statusIcon.js";
|
|
3
5
|
import { styles } from "./UBadge.styles.js";
|
|
4
6
|
import "../icon/UIcon.js";
|
|
5
7
|
import { SlotPresence } from "../../utilities/slotPresence.js";
|
|
6
8
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
7
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
8
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
9
|
-
import { html, nothing } from "lit";
|
|
10
|
-
import { customElement, property } from "lit/decorators.js";
|
|
9
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
10
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
11
11
|
// src/components/badge/UBadge.ts
|
|
12
12
|
var UBadge = class UBadge extends UElement {
|
|
13
13
|
constructor(..._args) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement } from "lit/decorators.js";
|
|
1
3
|
import "../icon/UIcon.js";
|
|
2
4
|
import { UElement } from "../UElement.js";
|
|
3
5
|
import { styles } from "./UBreadcrumb.styles.js";
|
|
4
6
|
import { Locale } from "../../utilities/Locale.js";
|
|
5
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
6
|
-
import { html } from "lit";
|
|
7
|
-
import { customElement } from "lit/decorators.js";
|
|
7
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
8
8
|
// src/components/breadcrumb/UBreadcrumb.ts
|
|
9
9
|
var UBreadcrumb = class UBreadcrumb extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { UElement } from "../UElement.js";
|
|
2
|
-
import { styles } from "./UBreadcrumbItem.styles.js";
|
|
3
|
-
import { SlotPresence } from "../../utilities/slotPresence.js";
|
|
4
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/decorateMetadata.js";
|
|
5
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/decorate.js";
|
|
6
1
|
import { html } from "lit";
|
|
7
2
|
import { customElement, property } from "lit/decorators.js";
|
|
8
3
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
|
+
import { UElement } from "../UElement.js";
|
|
5
|
+
import { styles } from "./UBreadcrumbItem.styles.js";
|
|
6
|
+
import { SlotPresence } from "../../utilities/slotPresence.js";
|
|
7
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
8
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
9
9
|
// src/components/breadcrumb-item/UBreadcrumbItem.ts
|
|
10
10
|
var UBreadcrumbItem = class UBreadcrumbItem extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
4
|
import "../spinner/USpinner.js";
|
|
2
5
|
import { UElement } from "../UElement.js";
|
|
3
6
|
import { styles } from "./UButton.styles.js";
|
|
@@ -5,11 +8,8 @@ import { FORWARDED_ARIA, readForwardedAria } from "./forwarded-aria.js";
|
|
|
5
8
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
6
9
|
import { SlotPresence } from "../../utilities/slotPresence.js";
|
|
7
10
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
8
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
9
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import { html } from "lit";
|
|
11
|
-
import { customElement, property } from "lit/decorators.js";
|
|
12
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
12
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
13
13
|
// src/components/button/UButton.ts
|
|
14
14
|
var UButton = class UButton extends UElement {
|
|
15
15
|
constructor(..._args) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import { UElement } from "../UElement.js";
|
|
2
4
|
import { UButton } from "../button/UButton.js";
|
|
3
5
|
import { UIconButton } from "../icon-button/UIconButton.js";
|
|
4
6
|
import { styles } from "./UButtonGroup.styles.js";
|
|
5
7
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
6
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
7
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
8
|
-
import { html } from "lit";
|
|
9
|
-
import { customElement, property } from "lit/decorators.js";
|
|
8
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
9
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
10
10
|
// src/components/button-group/UButtonGroup.ts
|
|
11
11
|
var UButtonGroup = class UButtonGroup extends UElement {
|
|
12
12
|
constructor(..._args) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
4
|
import "../icon-button/UIconButton.js";
|
|
2
5
|
import { UElement } from "../UElement.js";
|
|
3
6
|
import { Locale } from "../../utilities/Locale.js";
|
|
@@ -6,11 +9,8 @@ import { addDays, addMonths, dayOfWeekIndex, daysInMonth, isDayUnavailable, isSa
|
|
|
6
9
|
import { styles } from "./UCalendar.styles.js";
|
|
7
10
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
8
11
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
9
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
-
import { html } from "lit";
|
|
12
|
-
import { customElement, property, state } from "lit/decorators.js";
|
|
13
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
13
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
14
14
|
// src/components/calendar/UCalendar.ts
|
|
15
15
|
/** Cells to render for one month — leading `null`s pad the previous month's offset from the locale's first day of the week. */
|
|
16
16
|
function buildMonthGrid(month, weekStart) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { UElement } from "../UElement.js";
|
|
2
|
-
import { styles } from "./UCard.styles.js";
|
|
3
|
-
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
4
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/decorateMetadata.js";
|
|
5
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/decorate.js";
|
|
6
1
|
import { html } from "lit";
|
|
7
2
|
import { customElement, property } from "lit/decorators.js";
|
|
8
3
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
|
+
import { UElement } from "../UElement.js";
|
|
5
|
+
import { styles } from "./UCard.styles.js";
|
|
6
|
+
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
7
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
8
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
9
9
|
// src/components/card/UCard.ts
|
|
10
10
|
var UCard = class UCard extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { html, nothing } from "lit";
|
|
2
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
|
+
import { keyed } from "lit/directives/keyed.js";
|
|
1
5
|
import "../button/UButton.js";
|
|
2
6
|
import "../icon/UIcon.js";
|
|
3
7
|
import { UElement } from "../UElement.js";
|
|
@@ -7,12 +11,8 @@ import { UNATTENDED_IDLE_MS } from "../../utilities/unattended.js";
|
|
|
7
11
|
import { styles } from "./UCarousel.styles.js";
|
|
8
12
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
9
13
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
10
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
12
|
-
import { html, nothing } from "lit";
|
|
13
|
-
import { customElement, property, state } from "lit/decorators.js";
|
|
14
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
15
|
-
import { keyed } from "lit/directives/keyed.js";
|
|
14
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
15
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
16
16
|
// src/components/carousel/UCarousel.ts
|
|
17
17
|
var UCarousel = class UCarousel extends UElement {
|
|
18
18
|
constructor(..._args) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property, query } from "lit/decorators.js";
|
|
3
|
+
import { live } from "lit/directives/live.js";
|
|
4
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
5
|
import "../icon/UIcon.js";
|
|
2
6
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
3
7
|
import { Locale } from "../../utilities/Locale.js";
|
|
4
8
|
import { styles } from "./UCheckbox.styles.js";
|
|
5
9
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
6
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
7
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
8
|
-
import { html } from "lit";
|
|
9
|
-
import { customElement, property, query } from "lit/decorators.js";
|
|
10
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
-
import { live } from "lit/directives/live.js";
|
|
10
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
11
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
12
12
|
// src/components/checkbox/UCheckbox.ts
|
|
13
13
|
var UCheckbox = class UCheckbox extends UFormControlElement {
|
|
14
14
|
constructor(..._args) {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import "../tag/UTag.js";
|
|
2
4
|
import "../icon/UIcon.js";
|
|
3
5
|
import "../button/UButton.js";
|
|
@@ -7,10 +9,8 @@ import { styles } from "./UChip.styles.js";
|
|
|
7
9
|
import { Locale } from "../../utilities/Locale.js";
|
|
8
10
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
9
11
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
10
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
12
|
-
import { html } from "lit";
|
|
13
|
-
import { customElement, property } from "lit/decorators.js";
|
|
12
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
13
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
14
14
|
// src/components/chip/UChip.ts
|
|
15
15
|
var UChip = class UChip extends UElement {
|
|
16
16
|
constructor(..._args) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { html, nothing } from "lit";
|
|
2
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
4
|
import "../icon/UIcon.js";
|
|
2
5
|
import "../spinner/USpinner.js";
|
|
3
6
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
@@ -5,11 +8,8 @@ import { styles } from "./UCommandPalette.styles.js";
|
|
|
5
8
|
import { Locale } from "../../utilities/Locale.js";
|
|
6
9
|
import { isImeComposing } from "../../utilities/keyboard.js";
|
|
7
10
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
8
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
9
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import { html, nothing } from "lit";
|
|
11
|
-
import { customElement, property, query, state } from "lit/decorators.js";
|
|
12
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
12
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
13
13
|
// src/components/command-palette/UCommandPalette.ts
|
|
14
14
|
/**
|
|
15
15
|
* 정적 항목을 검색어로 거른다 — 이름 · 설명 · 낱말을 활성 로케일의 검색 일치로 견준다(`u-select` 와 같은 규칙). 빈 검색어는 모두다.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
1
3
|
import "../icon-button/UIconButton.js";
|
|
2
4
|
import "../button/UButton.js";
|
|
3
5
|
import "../icon/UIcon.js";
|
|
@@ -6,10 +8,8 @@ import { styles } from "./UCopyButton.styles.js";
|
|
|
6
8
|
import { Locale } from "../../utilities/Locale.js";
|
|
7
9
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
8
10
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
9
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
-
import { html } from "lit";
|
|
12
|
-
import { customElement, property } from "lit/decorators.js";
|
|
11
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
12
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
13
13
|
// src/components/copy-button/UCopyButton.ts
|
|
14
14
|
var UCopyButton = class UCopyButton extends UElement {
|
|
15
15
|
constructor(..._args) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
4
|
import "../button/UButton.js";
|
|
2
5
|
import { UCalendar } from "../calendar/UCalendar.js";
|
|
3
6
|
import "../field/UField.js";
|
|
@@ -14,11 +17,9 @@ import { styles } from "../calendar/picker.styles.js";
|
|
|
14
17
|
import { styles as styles$1 } from "./UDatePicker.styles.js";
|
|
15
18
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
16
19
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { customElement, property, query, state } from "lit/decorators.js";
|
|
21
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
20
|
+
import { setCustomState } from "../../utilities/customState.js";
|
|
21
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
22
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
22
23
|
// src/components/date-picker/UDatePicker.ts
|
|
23
24
|
/** Builds the `value` for the given mode — `datetime` always emits seconds + local offset so
|
|
24
25
|
* the result is unconditionally a valid, unambiguous ISO-8601 `DateTimeOffset` regardless of
|
|
@@ -175,7 +176,7 @@ var UDatePicker = class UDatePicker extends UFormControlElement {
|
|
|
175
176
|
updated(changed) {
|
|
176
177
|
super.updated(changed);
|
|
177
178
|
if (changed.has("value")) this.internals?.setFormValue(this.value ?? "");
|
|
178
|
-
if (changed.has("open")) this.internals
|
|
179
|
+
if (changed.has("open")) setCustomState(this.internals, "open", this.open);
|
|
179
180
|
if (changed.has("open") && this.open) this.textEntry.calendarOpened(this.value ? toISODate(splitValue(this.value).date) : /* @__PURE__ */ new Date());
|
|
180
181
|
}
|
|
181
182
|
/** What the open calendar shows and edits: the staged choice with `confirm`, otherwise the value. */
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
1
4
|
import "../button/UButton.js";
|
|
2
5
|
import { UCalendar } from "../calendar/UCalendar.js";
|
|
3
6
|
import "../field/UField.js";
|
|
@@ -16,11 +19,9 @@ import { resolvePresets } from "./presets.js";
|
|
|
16
19
|
import { styles as styles$1 } from "./UDateRangePicker.styles.js";
|
|
17
20
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
18
21
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { customElement, property, query, state } from "lit/decorators.js";
|
|
23
|
-
import { ifDefined } from "lit/directives/if-defined.js";
|
|
22
|
+
import { setCustomState } from "../../utilities/customState.js";
|
|
23
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
24
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
24
25
|
// src/components/date-range-picker/UDateRangePicker.ts
|
|
25
26
|
var ISO_DATE = /^\d{4}-\d{2}-\d{2}$/;
|
|
26
27
|
var ISO_DATE_TIME = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/;
|
|
@@ -240,7 +241,7 @@ var UDateRangePicker = class UDateRangePicker extends UFormControlElement {
|
|
|
240
241
|
updated(changed) {
|
|
241
242
|
super.updated(changed);
|
|
242
243
|
if (changed.has("value")) this.internals?.setFormValue(this.value ?? "");
|
|
243
|
-
if (changed.has("open")) this.internals
|
|
244
|
+
if (changed.has("open")) setCustomState(this.internals, "open", this.open);
|
|
244
245
|
if (changed.has("open") && this.open) this.textEntry.calendarOpened(this.start ? dayPart(this.start) : /* @__PURE__ */ new Date());
|
|
245
246
|
}
|
|
246
247
|
/** 보이는 접미 버튼 수 — 글자 영역 하한(`min-inline-size`)이 그만큼의 받는 상자를 뺀다. 아래 `?hidden` 조건과 같다. */
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
1
3
|
import "../button/UButton.js";
|
|
2
4
|
import "../icon/UIcon.js";
|
|
3
5
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
@@ -5,10 +7,8 @@ import { styles } from "./UDialog.styles.js";
|
|
|
5
7
|
import { Locale } from "../../utilities/Locale.js";
|
|
6
8
|
import { delegate } from "../../utilities/listenInShadow.js";
|
|
7
9
|
import { enumeratedValues } from "../../utilities/enumerated.js";
|
|
8
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
9
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
10
|
-
import { html } from "lit";
|
|
11
|
-
import { customElement, property, state } from "lit/decorators.js";
|
|
10
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorateMetadata.js";
|
|
11
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.160.0/helpers/esm/decorate.js";
|
|
12
12
|
// src/components/dialog/UDialog.ts
|
|
13
13
|
var UDialog = class UDialog extends UOverlayElement {
|
|
14
14
|
constructor(..._args) {
|