@duskmoon-dev/el-dialog 1.6.0 → 1.7.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/README.md +28 -16
- package/dist/cjs/index.js +146 -134
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/register.js +146 -134
- package/dist/cjs/register.js.map +3 -3
- package/dist/esm/index.js +147 -135
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/register.js +147 -135
- package/dist/esm/register.js.map +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/el-dm-dialog.d.ts +30 -8
- package/dist/types/el-dm-dialog.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/esm/register.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/el-dm-dialog.ts
|
|
2
|
-
import { BaseElement, css
|
|
2
|
+
import { BaseElement, css } from "@duskmoon-dev/el-base";
|
|
3
3
|
import { css as dialogCSS } from "@duskmoon-dev/core/components/dialog";
|
|
4
4
|
var SIZE_CLASSES = {
|
|
5
5
|
sm: "dialog-sm",
|
|
@@ -20,111 +20,9 @@ var styles = css`
|
|
|
20
20
|
|
|
21
21
|
${coreStyles}
|
|
22
22
|
|
|
23
|
-
.dialog
|
|
24
|
-
position: fixed;
|
|
25
|
-
inset: 0;
|
|
26
|
-
z-index: 1000;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
visibility: hidden;
|
|
32
|
-
transition:
|
|
33
|
-
opacity 200ms ease,
|
|
34
|
-
visibility 200ms ease;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.dialog-wrapper.open {
|
|
38
|
-
opacity: 1;
|
|
39
|
-
visibility: visible;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.dialog-backdrop {
|
|
43
|
-
position: absolute;
|
|
44
|
-
inset: 0;
|
|
45
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.dialog {
|
|
49
|
-
position: relative;
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
max-height: 90vh;
|
|
53
|
-
max-width: 90vw;
|
|
54
|
-
min-width: 320px;
|
|
55
|
-
background-color: var(--color-surface);
|
|
56
|
-
border-radius: 1rem;
|
|
57
|
-
box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
58
|
-
transform: scale(0.95);
|
|
59
|
-
transition: transform 200ms ease;
|
|
23
|
+
dialog.dialog {
|
|
60
24
|
font-family: inherit;
|
|
61
25
|
}
|
|
62
|
-
|
|
63
|
-
.dialog-wrapper.open .dialog {
|
|
64
|
-
transform: scale(1);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.dialog-sm {
|
|
68
|
-
max-width: 400px;
|
|
69
|
-
}
|
|
70
|
-
.dialog-lg {
|
|
71
|
-
max-width: 800px;
|
|
72
|
-
}
|
|
73
|
-
.dialog-xl {
|
|
74
|
-
max-width: 1140px;
|
|
75
|
-
}
|
|
76
|
-
.dialog-fullscreen {
|
|
77
|
-
max-width: 100vw;
|
|
78
|
-
max-height: 100vh;
|
|
79
|
-
width: 100vw;
|
|
80
|
-
height: 100vh;
|
|
81
|
-
border-radius: 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.dialog-header {
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
padding: 1rem 1.5rem;
|
|
89
|
-
border-bottom: 1px solid var(--color-outline);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.dialog-body {
|
|
93
|
-
flex: 1;
|
|
94
|
-
padding: 1.5rem;
|
|
95
|
-
overflow-y: auto;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.dialog-footer {
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
justify-content: flex-end;
|
|
102
|
-
gap: 0.5rem;
|
|
103
|
-
padding: 1rem 1.5rem;
|
|
104
|
-
border-top: 1px solid var(--color-outline);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.dialog-close {
|
|
108
|
-
display: flex;
|
|
109
|
-
align-items: center;
|
|
110
|
-
justify-content: center;
|
|
111
|
-
width: 2rem;
|
|
112
|
-
height: 2rem;
|
|
113
|
-
border: none;
|
|
114
|
-
background: transparent;
|
|
115
|
-
border-radius: 0.5rem;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
color: var(--color-on-surface);
|
|
118
|
-
opacity: 0.7;
|
|
119
|
-
transition:
|
|
120
|
-
opacity 150ms ease,
|
|
121
|
-
background-color 150ms ease;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.dialog-close:hover {
|
|
125
|
-
opacity: 1;
|
|
126
|
-
background-color: var(--color-surface-variant);
|
|
127
|
-
}
|
|
128
26
|
`;
|
|
129
27
|
|
|
130
28
|
class ElDmDialog extends BaseElement {
|
|
@@ -135,23 +33,29 @@ class ElDmDialog extends BaseElement {
|
|
|
135
33
|
noDismiss: { type: Boolean, reflect: true, attribute: "no-dismiss" },
|
|
136
34
|
noBackdrop: { type: Boolean, reflect: true, attribute: "no-backdrop" }
|
|
137
35
|
};
|
|
36
|
+
_syncing = false;
|
|
37
|
+
_structureKey = "";
|
|
138
38
|
constructor() {
|
|
139
39
|
super();
|
|
140
|
-
this.attachStyles(
|
|
40
|
+
this.attachStyles(styles);
|
|
41
|
+
}
|
|
42
|
+
connectedCallback() {
|
|
43
|
+
super.connectedCallback();
|
|
44
|
+
this.addEventListener("command", this._handleCommand);
|
|
45
|
+
}
|
|
46
|
+
disconnectedCallback() {
|
|
47
|
+
super.disconnectedCallback?.();
|
|
48
|
+
this.removeEventListener("command", this._handleCommand);
|
|
141
49
|
}
|
|
142
50
|
_canDismiss() {
|
|
143
51
|
return this.dismissible && !this.noDismiss;
|
|
144
52
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
53
|
+
_getDialog() {
|
|
54
|
+
return this.query("dialog");
|
|
55
|
+
}
|
|
56
|
+
_getStructureKey() {
|
|
57
|
+
return [this.size ?? "", this.dismissible ? "1" : "0", this.noDismiss ? "1" : "0"].join("|");
|
|
149
58
|
}
|
|
150
|
-
_handleKeyDown = (event) => {
|
|
151
|
-
if (event.key === "Escape" && this._canDismiss()) {
|
|
152
|
-
this.close();
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
59
|
_getDialogClasses() {
|
|
156
60
|
const classes = ["dialog"];
|
|
157
61
|
if (this.size && SIZE_CLASSES[this.size]) {
|
|
@@ -159,16 +63,119 @@ class ElDmDialog extends BaseElement {
|
|
|
159
63
|
}
|
|
160
64
|
return classes.join(" ");
|
|
161
65
|
}
|
|
66
|
+
_handleCancel = (event) => {
|
|
67
|
+
if (!this._canDismiss()) {
|
|
68
|
+
event.preventDefault();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
_handleNativeClose = () => {
|
|
72
|
+
if (this._syncing)
|
|
73
|
+
return;
|
|
74
|
+
if (!this.open)
|
|
75
|
+
return;
|
|
76
|
+
this.open = false;
|
|
77
|
+
this.emit("close");
|
|
78
|
+
};
|
|
79
|
+
_handleBackdropClick = (event) => {
|
|
80
|
+
if (this._canDismiss() && event.target === event.currentTarget) {
|
|
81
|
+
this.close();
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
_handleCloseClick = () => {
|
|
85
|
+
this.close();
|
|
86
|
+
};
|
|
87
|
+
_handleCommand = (event) => {
|
|
88
|
+
const dialog = this._getDialog();
|
|
89
|
+
if (!dialog)
|
|
90
|
+
return;
|
|
91
|
+
const command = "command" in event ? String(event.command) : "";
|
|
92
|
+
switch (command) {
|
|
93
|
+
case "show-modal":
|
|
94
|
+
this._openNativeDialog(dialog, true);
|
|
95
|
+
break;
|
|
96
|
+
case "show":
|
|
97
|
+
this._openNativeDialog(dialog, false);
|
|
98
|
+
break;
|
|
99
|
+
case "close":
|
|
100
|
+
if (dialog.open) {
|
|
101
|
+
dialog.close();
|
|
102
|
+
}
|
|
103
|
+
break;
|
|
104
|
+
case "request-close":
|
|
105
|
+
this._requestNativeClose(dialog);
|
|
106
|
+
break;
|
|
107
|
+
case "toggle":
|
|
108
|
+
if (dialog.open) {
|
|
109
|
+
dialog.close();
|
|
110
|
+
} else {
|
|
111
|
+
this._openNativeDialog(dialog, !this.noBackdrop);
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
default:
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
_openNativeDialog(dialog, modal) {
|
|
119
|
+
if (!dialog.open) {
|
|
120
|
+
if (modal) {
|
|
121
|
+
dialog.showModal();
|
|
122
|
+
} else {
|
|
123
|
+
dialog.show();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
if (!this.open) {
|
|
127
|
+
this.open = true;
|
|
128
|
+
this.emit("open");
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
_requestNativeClose(dialog) {
|
|
132
|
+
if (!dialog.open)
|
|
133
|
+
return;
|
|
134
|
+
const requestClose = dialog.requestClose;
|
|
135
|
+
if (typeof requestClose === "function") {
|
|
136
|
+
requestClose.call(dialog);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const cancel = new Event("cancel", { cancelable: true });
|
|
140
|
+
const allowed = dialog.dispatchEvent(cancel);
|
|
141
|
+
if (allowed && !cancel.defaultPrevented) {
|
|
142
|
+
dialog.close();
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
_bindDialog() {
|
|
146
|
+
const dialog = this._getDialog();
|
|
147
|
+
if (!dialog)
|
|
148
|
+
return;
|
|
149
|
+
dialog.addEventListener("cancel", this._handleCancel);
|
|
150
|
+
dialog.addEventListener("close", this._handleNativeClose);
|
|
151
|
+
dialog.addEventListener("click", this._handleBackdropClick);
|
|
152
|
+
this.query(".dialog-close")?.addEventListener("click", this._handleCloseClick);
|
|
153
|
+
}
|
|
154
|
+
_syncNativeDialog() {
|
|
155
|
+
const dialog = this._getDialog();
|
|
156
|
+
if (!dialog)
|
|
157
|
+
return;
|
|
158
|
+
if (this.open && !dialog.open) {
|
|
159
|
+
if (this.noBackdrop) {
|
|
160
|
+
dialog.show();
|
|
161
|
+
} else {
|
|
162
|
+
dialog.showModal();
|
|
163
|
+
}
|
|
164
|
+
} else if (!this.open && dialog.open) {
|
|
165
|
+
dialog.close();
|
|
166
|
+
}
|
|
167
|
+
}
|
|
162
168
|
show() {
|
|
163
169
|
this.open = true;
|
|
164
|
-
document.addEventListener("keydown", this._handleKeyDown);
|
|
165
|
-
document.body.style.overflow = "hidden";
|
|
166
170
|
this.emit("open");
|
|
167
171
|
}
|
|
172
|
+
showModal() {
|
|
173
|
+
this.show();
|
|
174
|
+
}
|
|
168
175
|
close() {
|
|
176
|
+
if (!this.open)
|
|
177
|
+
return;
|
|
169
178
|
this.open = false;
|
|
170
|
-
document.removeEventListener("keydown", this._handleKeyDown);
|
|
171
|
-
document.body.style.overflow = "";
|
|
172
179
|
this.emit("close");
|
|
173
180
|
}
|
|
174
181
|
toggle() {
|
|
@@ -178,20 +185,16 @@ class ElDmDialog extends BaseElement {
|
|
|
178
185
|
this.show();
|
|
179
186
|
}
|
|
180
187
|
}
|
|
181
|
-
disconnectedCallback() {
|
|
182
|
-
super.disconnectedCallback?.();
|
|
183
|
-
document.removeEventListener("keydown", this._handleKeyDown);
|
|
184
|
-
document.body.style.overflow = "";
|
|
185
|
-
}
|
|
186
188
|
render() {
|
|
187
189
|
const dialogClasses = this._getDialogClasses();
|
|
188
190
|
return `
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
<div class="${dialogClasses}" role="dialog" aria-modal="true" part="dialog">
|
|
191
|
+
<dialog class="${dialogClasses}" part="dialog">
|
|
192
|
+
<div class="dialog-box" part="box">
|
|
192
193
|
<div class="dialog-header" part="header">
|
|
193
|
-
<
|
|
194
|
-
|
|
194
|
+
<div class="dialog-title" part="title">
|
|
195
|
+
<slot name="header"></slot>
|
|
196
|
+
</div>
|
|
197
|
+
${this._canDismiss() ? '<button type="button" class="dialog-close" part="close" aria-label="Close">×</button>' : ""}
|
|
195
198
|
</div>
|
|
196
199
|
<div class="dialog-body" part="body">
|
|
197
200
|
<slot></slot>
|
|
@@ -200,15 +203,24 @@ class ElDmDialog extends BaseElement {
|
|
|
200
203
|
<slot name="footer"></slot>
|
|
201
204
|
</div>
|
|
202
205
|
</div>
|
|
203
|
-
</
|
|
206
|
+
</dialog>
|
|
204
207
|
`;
|
|
205
208
|
}
|
|
206
209
|
update() {
|
|
207
|
-
|
|
208
|
-
const
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
const key = this._getStructureKey();
|
|
211
|
+
const dialog = this._getDialog();
|
|
212
|
+
const needsRender = !dialog || key !== this._structureKey;
|
|
213
|
+
this._syncing = true;
|
|
214
|
+
try {
|
|
215
|
+
if (needsRender) {
|
|
216
|
+
super.update();
|
|
217
|
+
this._structureKey = key;
|
|
218
|
+
this._bindDialog();
|
|
219
|
+
}
|
|
220
|
+
this._syncNativeDialog();
|
|
221
|
+
} finally {
|
|
222
|
+
this._syncing = false;
|
|
223
|
+
}
|
|
212
224
|
}
|
|
213
225
|
}
|
|
214
226
|
|
|
@@ -222,5 +234,5 @@ function register() {
|
|
|
222
234
|
// src/register.ts
|
|
223
235
|
register();
|
|
224
236
|
|
|
225
|
-
//# debugId=
|
|
237
|
+
//# debugId=8F00E3C39168E87A64756E2164756E21
|
|
226
238
|
//# sourceMappingURL=register.js.map
|
package/dist/esm/register.js.map
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/el-dm-dialog.ts", "../../src/index.ts", "../../src/register.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * DuskMoon Dialog Element\n *\n * A modal dialog
|
|
5
|
+
"/**\n * DuskMoon Dialog Element\n *\n * A modal dialog built on the native HTML <dialog> element.\n * Uses styles from @duskmoon-dev/core for consistent theming.\n * HTML Invoker Commands (`command` / `commandfor`) are forwarded to the\n * inner native dialog so built-in show-modal / close / request-close work.\n *\n * @element el-dm-dialog\n *\n * @attr {boolean} open - Whether the dialog is open\n * @attr {string} size - Dialog size: sm, md, lg, xl, full\n * @attr {boolean} dismissible - Whether clicking backdrop closes dialog\n * @attr {boolean} no-dismiss - Prevents closing via backdrop click or Escape key\n * @attr {boolean} no-backdrop - Open as a non-modal dialog (no ::backdrop)\n *\n * @slot - Default slot for dialog content\n * @slot header - Dialog header/title\n * @slot footer - Dialog footer/actions\n *\n * @csspart dialog - The native dialog element\n * @csspart box - The inner dialog-box container\n * @csspart header - The header section\n * @csspart title - The title wrapper\n * @csspart body - The body section\n * @csspart footer - The footer section\n * @csspart close - The close button\n *\n * @fires open - Fired when dialog opens\n * @fires close - Fired when dialog closes\n */\n\nimport { BaseElement, css } from '@duskmoon-dev/el-base';\nimport { css as dialogCSS } from '@duskmoon-dev/core/components/dialog';\n\nconst SIZE_CLASSES: Record<string, string> = {\n sm: 'dialog-sm',\n md: '',\n lg: 'dialog-lg',\n xl: 'dialog-xl',\n full: 'dialog-fullscreen',\n};\n\nexport type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';\n\nconst coreStyles = dialogCSS.replace(/@layer\\s+components\\s*\\{/, '').replace(/\\}\\s*$/, '');\n\nconst styles = css`\n :host {\n display: contents;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n ${coreStyles}\n\n dialog.dialog {\n font-family: inherit;\n }\n`;\n\nexport class ElDmDialog extends BaseElement {\n static properties = {\n open: { type: Boolean, reflect: true },\n size: { type: String, reflect: true },\n dismissible: { type: Boolean, reflect: true, default: true },\n noDismiss: { type: Boolean, reflect: true, attribute: 'no-dismiss' },\n noBackdrop: { type: Boolean, reflect: true, attribute: 'no-backdrop' },\n };\n\n declare open: boolean;\n declare size: DialogSize;\n declare dismissible: boolean;\n declare noDismiss: boolean;\n declare noBackdrop: boolean;\n\n /** Ignore native close events fired while shadow DOM is being rebuilt. */\n private _syncing = false;\n\n /** Structural template key — open changes must not rebuild the dialog. */\n private _structureKey = '';\n\n constructor() {\n super();\n this.attachStyles(styles);\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n this.addEventListener('command', this._handleCommand);\n }\n\n disconnectedCallback(): void {\n super.disconnectedCallback?.();\n this.removeEventListener('command', this._handleCommand);\n }\n\n private _canDismiss(): boolean {\n return this.dismissible && !this.noDismiss;\n }\n\n private _getDialog(): HTMLDialogElement | null {\n return this.query<HTMLDialogElement>('dialog');\n }\n\n private _getStructureKey(): string {\n return [this.size ?? '', this.dismissible ? '1' : '0', this.noDismiss ? '1' : '0'].join('|');\n }\n\n private _getDialogClasses(): string {\n const classes = ['dialog'];\n if (this.size && SIZE_CLASSES[this.size]) {\n classes.push(SIZE_CLASSES[this.size]);\n }\n return classes.join(' ');\n }\n\n private _handleCancel = (event: Event): void => {\n if (!this._canDismiss()) {\n event.preventDefault();\n }\n };\n\n private _handleNativeClose = (): void => {\n if (this._syncing) return;\n if (!this.open) return;\n this.open = false;\n this.emit('close');\n };\n\n private _handleBackdropClick = (event: Event): void => {\n if (this._canDismiss() && event.target === event.currentTarget) {\n this.close();\n }\n };\n\n private _handleCloseClick = (): void => {\n this.close();\n };\n\n /**\n * Forward Invoker Commands to the native <dialog>.\n * commandfor points at this host; built-in dialog commands must run on the\n * inner HTMLDialogElement, not via a full show()/close() re-render cycle.\n */\n private _handleCommand = (event: Event): void => {\n const dialog = this._getDialog();\n if (!dialog) return;\n\n const command = 'command' in event ? String((event as { command: string }).command) : '';\n\n switch (command) {\n case 'show-modal':\n this._openNativeDialog(dialog, true);\n break;\n case 'show':\n this._openNativeDialog(dialog, false);\n break;\n case 'close':\n if (dialog.open) {\n dialog.close();\n }\n break;\n case 'request-close':\n this._requestNativeClose(dialog);\n break;\n case 'toggle':\n if (dialog.open) {\n dialog.close();\n } else {\n this._openNativeDialog(dialog, !this.noBackdrop);\n }\n break;\n default:\n break;\n }\n };\n\n private _openNativeDialog(dialog: HTMLDialogElement, modal: boolean): void {\n if (!dialog.open) {\n if (modal) {\n dialog.showModal();\n } else {\n dialog.show();\n }\n }\n\n if (!this.open) {\n this.open = true;\n this.emit('open');\n }\n }\n\n private _requestNativeClose(dialog: HTMLDialogElement): void {\n if (!dialog.open) return;\n\n const requestClose = (dialog as HTMLDialogElement & { requestClose?: () => void }).requestClose;\n\n if (typeof requestClose === 'function') {\n requestClose.call(dialog);\n return;\n }\n\n const cancel = new Event('cancel', { cancelable: true });\n const allowed = dialog.dispatchEvent(cancel);\n if (allowed && !cancel.defaultPrevented) {\n dialog.close();\n }\n }\n\n private _bindDialog(): void {\n const dialog = this._getDialog();\n if (!dialog) return;\n\n dialog.addEventListener('cancel', this._handleCancel);\n dialog.addEventListener('close', this._handleNativeClose);\n dialog.addEventListener('click', this._handleBackdropClick);\n this.query('.dialog-close')?.addEventListener('click', this._handleCloseClick);\n }\n\n private _syncNativeDialog(): void {\n const dialog = this._getDialog();\n if (!dialog) return;\n\n if (this.open && !dialog.open) {\n if (this.noBackdrop) {\n dialog.show();\n } else {\n dialog.showModal();\n }\n } else if (!this.open && dialog.open) {\n dialog.close();\n }\n }\n\n show(): void {\n this.open = true;\n this.emit('open');\n }\n\n showModal(): void {\n this.show();\n }\n\n close(): void {\n if (!this.open) return;\n this.open = false;\n this.emit('close');\n }\n\n toggle(): void {\n if (this.open) {\n this.close();\n } else {\n this.show();\n }\n }\n\n render(): string {\n const dialogClasses = this._getDialogClasses();\n\n return `\n <dialog class=\"${dialogClasses}\" part=\"dialog\">\n <div class=\"dialog-box\" part=\"box\">\n <div class=\"dialog-header\" part=\"header\">\n <div class=\"dialog-title\" part=\"title\">\n <slot name=\"header\"></slot>\n </div>\n ${\n this._canDismiss()\n ? '<button type=\"button\" class=\"dialog-close\" part=\"close\" aria-label=\"Close\">×</button>'\n : ''\n }\n </div>\n <div class=\"dialog-body\" part=\"body\">\n <slot></slot>\n </div>\n <div class=\"dialog-footer\" part=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n </dialog>\n `;\n }\n\n update(): void {\n const key = this._getStructureKey();\n const dialog = this._getDialog();\n const needsRender = !dialog || key !== this._structureKey;\n\n this._syncing = true;\n try {\n if (needsRender) {\n super.update();\n this._structureKey = key;\n this._bindDialog();\n }\n this._syncNativeDialog();\n } finally {\n this._syncing = false;\n }\n }\n}\n",
|
|
6
6
|
"import { ElDmDialog } from './el-dm-dialog.js';\n\nexport { ElDmDialog };\nexport type { DialogSize } from './el-dm-dialog.js';\n\nexport function register(): void {\n if (!customElements.get('el-dm-dialog')) {\n customElements.define('el-dm-dialog', ElDmDialog);\n }\n}\n",
|
|
7
7
|
"import { register } from './index.js';\nregister();\n"
|
|
8
8
|
],
|
|
9
|
-
"mappings": ";
|
|
10
|
-
"debugId": "
|
|
9
|
+
"mappings": ";AAgCA;AACA,gBAAS;AAET,IAAM,eAAuC;AAAA,EAC3C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,MAAM;AACR;AAIA,IAAM,aAAa,UAAU,QAAQ,4BAA4B,EAAE,EAAE,QAAQ,UAAU,EAAE;AAEzF,IAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOG,MAAM,mBAAmB,YAAY;AAAA,SACnC,aAAa;AAAA,IAClB,MAAM,EAAE,MAAM,SAAS,SAAS,KAAK;AAAA,IACrC,MAAM,EAAE,MAAM,QAAQ,SAAS,KAAK;AAAA,IACpC,aAAa,EAAE,MAAM,SAAS,SAAS,MAAM,SAAS,KAAK;AAAA,IAC3D,WAAW,EAAE,MAAM,SAAS,SAAS,MAAM,WAAW,aAAa;AAAA,IACnE,YAAY,EAAE,MAAM,SAAS,SAAS,MAAM,WAAW,cAAc;AAAA,EACvE;AAAA,EASQ,WAAW;AAAA,EAGX,gBAAgB;AAAA,EAExB,WAAW,GAAG;AAAA,IACZ,MAAM;AAAA,IACN,KAAK,aAAa,MAAM;AAAA;AAAA,EAG1B,iBAAiB,GAAS;AAAA,IACxB,MAAM,kBAAkB;AAAA,IACxB,KAAK,iBAAiB,WAAW,KAAK,cAAc;AAAA;AAAA,EAGtD,oBAAoB,GAAS;AAAA,IAC3B,MAAM,uBAAuB;AAAA,IAC7B,KAAK,oBAAoB,WAAW,KAAK,cAAc;AAAA;AAAA,EAGjD,WAAW,GAAY;AAAA,IAC7B,OAAO,KAAK,eAAe,CAAC,KAAK;AAAA;AAAA,EAG3B,UAAU,GAA6B;AAAA,IAC7C,OAAO,KAAK,MAAyB,QAAQ;AAAA;AAAA,EAGvC,gBAAgB,GAAW;AAAA,IACjC,OAAO,CAAC,KAAK,QAAQ,IAAI,KAAK,cAAc,MAAM,KAAK,KAAK,YAAY,MAAM,GAAG,EAAE,KAAK,GAAG;AAAA;AAAA,EAGrF,iBAAiB,GAAW;AAAA,IAClC,MAAM,UAAU,CAAC,QAAQ;AAAA,IACzB,IAAI,KAAK,QAAQ,aAAa,KAAK,OAAO;AAAA,MACxC,QAAQ,KAAK,aAAa,KAAK,KAAK;AAAA,IACtC;AAAA,IACA,OAAO,QAAQ,KAAK,GAAG;AAAA;AAAA,EAGjB,gBAAgB,CAAC,UAAuB;AAAA,IAC9C,IAAI,CAAC,KAAK,YAAY,GAAG;AAAA,MACvB,MAAM,eAAe;AAAA,IACvB;AAAA;AAAA,EAGM,qBAAqB,MAAY;AAAA,IACvC,IAAI,KAAK;AAAA,MAAU;AAAA,IACnB,IAAI,CAAC,KAAK;AAAA,MAAM;AAAA,IAChB,KAAK,OAAO;AAAA,IACZ,KAAK,KAAK,OAAO;AAAA;AAAA,EAGX,uBAAuB,CAAC,UAAuB;AAAA,IACrD,IAAI,KAAK,YAAY,KAAK,MAAM,WAAW,MAAM,eAAe;AAAA,MAC9D,KAAK,MAAM;AAAA,IACb;AAAA;AAAA,EAGM,oBAAoB,MAAY;AAAA,IACtC,KAAK,MAAM;AAAA;AAAA,EAQL,iBAAiB,CAAC,UAAuB;AAAA,IAC/C,MAAM,SAAS,KAAK,WAAW;AAAA,IAC/B,IAAI,CAAC;AAAA,MAAQ;AAAA,IAEb,MAAM,UAAU,aAAa,QAAQ,OAAQ,MAA8B,OAAO,IAAI;AAAA,IAEtF,QAAQ;AAAA,WACD;AAAA,QACH,KAAK,kBAAkB,QAAQ,IAAI;AAAA,QACnC;AAAA,WACG;AAAA,QACH,KAAK,kBAAkB,QAAQ,KAAK;AAAA,QACpC;AAAA,WACG;AAAA,QACH,IAAI,OAAO,MAAM;AAAA,UACf,OAAO,MAAM;AAAA,QACf;AAAA,QACA;AAAA,WACG;AAAA,QACH,KAAK,oBAAoB,MAAM;AAAA,QAC/B;AAAA,WACG;AAAA,QACH,IAAI,OAAO,MAAM;AAAA,UACf,OAAO,MAAM;AAAA,QACf,EAAO;AAAA,UACL,KAAK,kBAAkB,QAAQ,CAAC,KAAK,UAAU;AAAA;AAAA,QAEjD;AAAA;AAAA,QAEA;AAAA;AAAA;AAAA,EAIE,iBAAiB,CAAC,QAA2B,OAAsB;AAAA,IACzE,IAAI,CAAC,OAAO,MAAM;AAAA,MAChB,IAAI,OAAO;AAAA,QACT,OAAO,UAAU;AAAA,MACnB,EAAO;AAAA,QACL,OAAO,KAAK;AAAA;AAAA,IAEhB;AAAA,IAEA,IAAI,CAAC,KAAK,MAAM;AAAA,MACd,KAAK,OAAO;AAAA,MACZ,KAAK,KAAK,MAAM;AAAA,IAClB;AAAA;AAAA,EAGM,mBAAmB,CAAC,QAAiC;AAAA,IAC3D,IAAI,CAAC,OAAO;AAAA,MAAM;AAAA,IAElB,MAAM,eAAgB,OAA6D;AAAA,IAEnF,IAAI,OAAO,iBAAiB,YAAY;AAAA,MACtC,aAAa,KAAK,MAAM;AAAA,MACxB;AAAA,IACF;AAAA,IAEA,MAAM,SAAS,IAAI,MAAM,UAAU,EAAE,YAAY,KAAK,CAAC;AAAA,IACvD,MAAM,UAAU,OAAO,cAAc,MAAM;AAAA,IAC3C,IAAI,WAAW,CAAC,OAAO,kBAAkB;AAAA,MACvC,OAAO,MAAM;AAAA,IACf;AAAA;AAAA,EAGM,WAAW,GAAS;AAAA,IAC1B,MAAM,SAAS,KAAK,WAAW;AAAA,IAC/B,IAAI,CAAC;AAAA,MAAQ;AAAA,IAEb,OAAO,iBAAiB,UAAU,KAAK,aAAa;AAAA,IACpD,OAAO,iBAAiB,SAAS,KAAK,kBAAkB;AAAA,IACxD,OAAO,iBAAiB,SAAS,KAAK,oBAAoB;AAAA,IAC1D,KAAK,MAAM,eAAe,GAAG,iBAAiB,SAAS,KAAK,iBAAiB;AAAA;AAAA,EAGvE,iBAAiB,GAAS;AAAA,IAChC,MAAM,SAAS,KAAK,WAAW;AAAA,IAC/B,IAAI,CAAC;AAAA,MAAQ;AAAA,IAEb,IAAI,KAAK,QAAQ,CAAC,OAAO,MAAM;AAAA,MAC7B,IAAI,KAAK,YAAY;AAAA,QACnB,OAAO,KAAK;AAAA,MACd,EAAO;AAAA,QACL,OAAO,UAAU;AAAA;AAAA,IAErB,EAAO,SAAI,CAAC,KAAK,QAAQ,OAAO,MAAM;AAAA,MACpC,OAAO,MAAM;AAAA,IACf;AAAA;AAAA,EAGF,IAAI,GAAS;AAAA,IACX,KAAK,OAAO;AAAA,IACZ,KAAK,KAAK,MAAM;AAAA;AAAA,EAGlB,SAAS,GAAS;AAAA,IAChB,KAAK,KAAK;AAAA;AAAA,EAGZ,KAAK,GAAS;AAAA,IACZ,IAAI,CAAC,KAAK;AAAA,MAAM;AAAA,IAChB,KAAK,OAAO;AAAA,IACZ,KAAK,KAAK,OAAO;AAAA;AAAA,EAGnB,MAAM,GAAS;AAAA,IACb,IAAI,KAAK,MAAM;AAAA,MACb,KAAK,MAAM;AAAA,IACb,EAAO;AAAA,MACL,KAAK,KAAK;AAAA;AAAA;AAAA,EAId,MAAM,GAAW;AAAA,IACf,MAAM,gBAAgB,KAAK,kBAAkB;AAAA,IAE7C,OAAO;AAAA,uBACY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAOT,KAAK,YAAY,IACb,gGACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAchB,MAAM,GAAS;AAAA,IACb,MAAM,MAAM,KAAK,iBAAiB;AAAA,IAClC,MAAM,SAAS,KAAK,WAAW;AAAA,IAC/B,MAAM,cAAc,CAAC,UAAU,QAAQ,KAAK;AAAA,IAE5C,KAAK,WAAW;AAAA,IAChB,IAAI;AAAA,MACF,IAAI,aAAa;AAAA,QACf,MAAM,OAAO;AAAA,QACb,KAAK,gBAAgB;AAAA,QACrB,KAAK,YAAY;AAAA,MACnB;AAAA,MACA,KAAK,kBAAkB;AAAA,cACvB;AAAA,MACA,KAAK,WAAW;AAAA;AAAA;AAGtB;;;AC3SO,SAAS,QAAQ,GAAS;AAAA,EAC/B,IAAI,CAAC,eAAe,IAAI,cAAc,GAAG;AAAA,IACvC,eAAe,OAAO,gBAAgB,UAAU;AAAA,EAClD;AAAA;;;ACPF,SAAS;",
|
|
10
|
+
"debugId": "8F00E3C39168E87A64756E2164756E21",
|
|
11
11
|
"names": []
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/duskmoon-core.d.ts","../../../packages/base/dist/types/base-element.d.ts","../../../packages/base/dist/types/styles.d.ts","../../../packages/base/dist/types/animations.d.ts","../../../packages/base/dist/types/themes.d.ts","../../../packages/base/dist/types/mixins.d.ts","../../../packages/base/dist/types/types.d.ts","../../../packages/base/dist/types/validation.d.ts","../../../packages/base/dist/types/performance.d.ts","../../../packages/base/dist/types/index.d.ts","../src/el-dm-dialog.ts","../src/index.ts","../src/register.ts"],"fileIdsList":[[60,69],[70],[71],[61,62,63,64,65,66,67,68],[61],[66]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"e278ec775bdd5857988864b097183caa7d75ff2b45e81e52f2a276c144be7d39","42526b6de804c10fd86f1cf55a6c660a74ee448e381f0f78356f223b75982280","28914adcfb92fa94199e1c887da7d67a7d9d736d9571627d6b02e55ff82f577b","b0a69607a92876948c2a42e3aa6703b0d724699468ed7e3c6e2a237d119a9db9","cdacb8e4ac607a46494d1187e073382c43e7269e8bf698502a285a8ccb470925","f5091ebbd718ea236a7f503df569deb07aff0621aa8f73ed90e419de88f006aa","d3a328c0eccf652bc8b6c14515a8b848a558b9d684e15a7c0c2e15de5016df57","1b5193795ee478857bf1115fed004151284dd4da883a5a4f22e62631c3b414ad","3be01044afc63501423c361deb531d3e95f5c2677f1f7a628802bd346988d62c","78d8d1ca7d54a437702c8a8c08764b6a49f2cf2ca357d0e459bfe89a06abf50a",{"version":"dfbedfe0153af61c673180f690749d9231ad31ef4eccbc3bf85a1c8c0dfbb170","signature":"f6da5c56cfec5401e2099f79891e82d346335bbafcdf6f17283c8877113a5a36"},{"version":"b757af048216496055f65522907707256d45319c257867f5c1281f465ab5a6d5","signature":"ead7f623dbbbc1db6e5a400fb98280e348978697ed42a5df0046c99278e9d89b"},{"version":"523786b383c76f3df2cd370f5c61009bc1565e3e65a37ff3865efb0923e06052","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"root":[60,[70,72]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[70,1],[71,2],[72,3],[69,4],[65,5],[67,6]],"latestChangedDtsFile":"./types/register.d.ts","version":"6.0.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/duskmoon-core.d.ts","../../../packages/base/dist/types/base-element.d.ts","../../../packages/base/dist/types/styles.d.ts","../../../packages/base/dist/types/animations.d.ts","../../../packages/base/dist/types/themes.d.ts","../../../packages/base/dist/types/mixins.d.ts","../../../packages/base/dist/types/types.d.ts","../../../packages/base/dist/types/validation.d.ts","../../../packages/base/dist/types/performance.d.ts","../../../packages/base/dist/types/index.d.ts","../src/el-dm-dialog.ts","../src/index.ts","../src/register.ts"],"fileIdsList":[[60,69],[70],[71],[61,62,63,64,65,66,67,68],[61],[66]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"e278ec775bdd5857988864b097183caa7d75ff2b45e81e52f2a276c144be7d39","42526b6de804c10fd86f1cf55a6c660a74ee448e381f0f78356f223b75982280","28914adcfb92fa94199e1c887da7d67a7d9d736d9571627d6b02e55ff82f577b","b0a69607a92876948c2a42e3aa6703b0d724699468ed7e3c6e2a237d119a9db9","cdacb8e4ac607a46494d1187e073382c43e7269e8bf698502a285a8ccb470925","f5091ebbd718ea236a7f503df569deb07aff0621aa8f73ed90e419de88f006aa","d3a328c0eccf652bc8b6c14515a8b848a558b9d684e15a7c0c2e15de5016df57","1b5193795ee478857bf1115fed004151284dd4da883a5a4f22e62631c3b414ad","3be01044afc63501423c361deb531d3e95f5c2677f1f7a628802bd346988d62c","78d8d1ca7d54a437702c8a8c08764b6a49f2cf2ca357d0e459bfe89a06abf50a",{"version":"c3939119e08ac4439b281aa43ebf964d7aabe59538ec8888a7917223e3d8cf37","signature":"75846911f88f7688bd4a75159bb6181432041f0d1d8de7f7f73376db21cfa594"},{"version":"b757af048216496055f65522907707256d45319c257867f5c1281f465ab5a6d5","signature":"ead7f623dbbbc1db6e5a400fb98280e348978697ed42a5df0046c99278e9d89b"},{"version":"523786b383c76f3df2cd370f5c61009bc1565e3e65a37ff3865efb0923e06052","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"root":[60,[70,72]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[70,1],[71,2],[72,3],[69,4],[65,5],[67,6]],"latestChangedDtsFile":"./types/register.d.ts","version":"6.0.3"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DuskMoon Dialog Element
|
|
3
3
|
*
|
|
4
|
-
* A modal dialog
|
|
4
|
+
* A modal dialog built on the native HTML <dialog> element.
|
|
5
5
|
* Uses styles from @duskmoon-dev/core for consistent theming.
|
|
6
|
+
* HTML Invoker Commands (`command` / `commandfor`) are forwarded to the
|
|
7
|
+
* inner native dialog so built-in show-modal / close / request-close work.
|
|
6
8
|
*
|
|
7
9
|
* @element el-dm-dialog
|
|
8
10
|
*
|
|
@@ -10,16 +12,16 @@
|
|
|
10
12
|
* @attr {string} size - Dialog size: sm, md, lg, xl, full
|
|
11
13
|
* @attr {boolean} dismissible - Whether clicking backdrop closes dialog
|
|
12
14
|
* @attr {boolean} no-dismiss - Prevents closing via backdrop click or Escape key
|
|
13
|
-
* @attr {boolean} no-backdrop -
|
|
15
|
+
* @attr {boolean} no-backdrop - Open as a non-modal dialog (no ::backdrop)
|
|
14
16
|
*
|
|
15
17
|
* @slot - Default slot for dialog content
|
|
16
18
|
* @slot header - Dialog header/title
|
|
17
19
|
* @slot footer - Dialog footer/actions
|
|
18
20
|
*
|
|
19
|
-
* @csspart dialog - The dialog
|
|
20
|
-
* @csspart
|
|
21
|
-
* @csspart content - The content wrapper
|
|
21
|
+
* @csspart dialog - The native dialog element
|
|
22
|
+
* @csspart box - The inner dialog-box container
|
|
22
23
|
* @csspart header - The header section
|
|
24
|
+
* @csspart title - The title wrapper
|
|
23
25
|
* @csspart body - The body section
|
|
24
26
|
* @csspart footer - The footer section
|
|
25
27
|
* @csspart close - The close button
|
|
@@ -60,15 +62,35 @@ export declare class ElDmDialog extends BaseElement {
|
|
|
60
62
|
dismissible: boolean;
|
|
61
63
|
noDismiss: boolean;
|
|
62
64
|
noBackdrop: boolean;
|
|
65
|
+
/** Ignore native close events fired while shadow DOM is being rebuilt. */
|
|
66
|
+
private _syncing;
|
|
67
|
+
/** Structural template key — open changes must not rebuild the dialog. */
|
|
68
|
+
private _structureKey;
|
|
63
69
|
constructor();
|
|
70
|
+
connectedCallback(): void;
|
|
71
|
+
disconnectedCallback(): void;
|
|
64
72
|
private _canDismiss;
|
|
65
|
-
private
|
|
66
|
-
private
|
|
73
|
+
private _getDialog;
|
|
74
|
+
private _getStructureKey;
|
|
67
75
|
private _getDialogClasses;
|
|
76
|
+
private _handleCancel;
|
|
77
|
+
private _handleNativeClose;
|
|
78
|
+
private _handleBackdropClick;
|
|
79
|
+
private _handleCloseClick;
|
|
80
|
+
/**
|
|
81
|
+
* Forward Invoker Commands to the native <dialog>.
|
|
82
|
+
* commandfor points at this host; built-in dialog commands must run on the
|
|
83
|
+
* inner HTMLDialogElement, not via a full show()/close() re-render cycle.
|
|
84
|
+
*/
|
|
85
|
+
private _handleCommand;
|
|
86
|
+
private _openNativeDialog;
|
|
87
|
+
private _requestNativeClose;
|
|
88
|
+
private _bindDialog;
|
|
89
|
+
private _syncNativeDialog;
|
|
68
90
|
show(): void;
|
|
91
|
+
showModal(): void;
|
|
69
92
|
close(): void;
|
|
70
93
|
toggle(): void;
|
|
71
|
-
disconnectedCallback(): void;
|
|
72
94
|
render(): string;
|
|
73
95
|
update(): void;
|
|
74
96
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"el-dm-dialog.d.ts","sourceRoot":"","sources":["../../src/el-dm-dialog.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"el-dm-dialog.d.ts","sourceRoot":"","sources":["../../src/el-dm-dialog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,WAAW,EAAO,MAAM,uBAAuB,CAAC;AAWzD,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAoB5D,qBAAa,UAAW,SAAQ,WAAW;IACzC,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;MAMf;IAEM,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IAE5B,0EAA0E;IAC1E,OAAO,CAAC,QAAQ,CAAS;IAEzB,0EAA0E;IAC1E,OAAO,CAAC,aAAa,CAAM;;IAO3B,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,aAAa,CAInB;IAEF,OAAO,CAAC,kBAAkB,CAKxB;IAEF,OAAO,CAAC,oBAAoB,CAI1B;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEF;;;;OAIG;IACH,OAAO,CAAC,cAAc,CA+BpB;IAEF,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,iBAAiB;IAezB,IAAI,IAAI,IAAI;IAKZ,SAAS,IAAI,IAAI;IAIjB,KAAK,IAAI,IAAI;IAMb,MAAM,IAAI,IAAI;IAQd,MAAM,IAAI,MAAM;IA2BhB,MAAM,IAAI,IAAI;CAiBf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duskmoon-dev/el-dialog",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"release:dry-run": "bun publish --dry-run"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@duskmoon-dev/el-base": "1.
|
|
42
|
+
"@duskmoon-dev/el-base": "1.7.0",
|
|
43
43
|
"@duskmoon-dev/core": "1.17.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|