@mantou/gem 1.7.12 → 2.0.0-alpha.1
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/gem.es.js +2010 -1765
- package/dist/gem.umd.js +52 -53
- package/elements/base/dialog.d.ts +0 -11
- package/elements/base/dialog.d.ts.map +1 -1
- package/elements/base/dialog.js +93 -66
- package/elements/base/dialog.js.map +1 -1
- package/elements/base/gesture.d.ts +1 -2
- package/elements/base/gesture.d.ts.map +1 -1
- package/elements/base/gesture.js +157 -96
- package/elements/base/gesture.js.map +1 -1
- package/elements/base/link.d.ts +5 -5
- package/elements/base/link.d.ts.map +1 -1
- package/elements/base/link.js +249 -145
- package/elements/base/link.js.map +1 -1
- package/elements/base/modal-factory.d.ts +145 -139
- package/elements/base/modal-factory.d.ts.map +1 -1
- package/elements/base/modal-factory.js +84 -25
- package/elements/base/modal-factory.js.map +1 -1
- package/elements/base/reflect.d.ts +0 -1
- package/elements/base/reflect.d.ts.map +1 -1
- package/elements/base/reflect.js +83 -38
- package/elements/base/reflect.js.map +1 -1
- package/elements/base/route.d.ts +12 -24
- package/elements/base/route.d.ts.map +1 -1
- package/elements/base/route.js +263 -164
- package/elements/base/route.js.map +1 -1
- package/elements/base/title.d.ts +3 -11
- package/elements/base/title.d.ts.map +1 -1
- package/elements/base/title.js +110 -59
- package/elements/base/title.js.map +1 -1
- package/elements/base/unsafe.d.ts +0 -1
- package/elements/base/unsafe.d.ts.map +1 -1
- package/elements/base/unsafe.js +82 -33
- package/elements/base/unsafe.js.map +1 -1
- package/elements/base/use.d.ts.map +1 -1
- package/elements/base/use.js +95 -47
- package/elements/base/use.js.map +1 -1
- package/helper/i18n.d.ts +4 -9
- package/helper/i18n.d.ts.map +1 -1
- package/helper/i18n.js +69 -65
- package/helper/i18n.js.map +1 -1
- package/helper/logger.js +10 -9
- package/helper/logger.js.map +1 -1
- package/helper/react-shim.d.ts +15 -0
- package/helper/react-shim.d.ts.map +1 -0
- package/helper/react-shim.js +56 -0
- package/helper/react-shim.js.map +1 -0
- package/helper/react-utils.d.ts +15 -0
- package/helper/react-utils.d.ts.map +1 -0
- package/helper/react-utils.js +50 -0
- package/helper/react-utils.js.map +1 -0
- package/helper/request.d.ts +4 -4
- package/helper/request.d.ts.map +1 -1
- package/helper/request.js +1 -1
- package/helper/request.js.map +1 -1
- package/helper/ssr-shim.d.ts.map +1 -1
- package/helper/ssr-shim.js +8 -1
- package/helper/ssr-shim.js.map +1 -1
- package/helper/theme.d.ts +14 -21
- package/helper/theme.d.ts.map +1 -1
- package/helper/theme.js +55 -38
- package/helper/theme.js.map +1 -1
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/lib/decorators.d.ts +74 -42
- package/lib/decorators.d.ts.map +1 -1
- package/lib/decorators.js +324 -84
- package/lib/decorators.js.map +1 -1
- package/lib/directives.d.ts +4 -0
- package/lib/directives.d.ts.map +1 -0
- package/lib/directives.js +5 -0
- package/lib/directives.js.map +1 -0
- package/lib/element.d.ts +112 -110
- package/lib/element.d.ts.map +1 -1
- package/lib/element.js +431 -468
- package/lib/element.js.map +1 -1
- package/lib/history.d.ts +4 -0
- package/lib/history.d.ts.map +1 -1
- package/lib/history.js +12 -13
- package/lib/history.js.map +1 -1
- package/lib/store.d.ts +1 -1
- package/lib/store.d.ts.map +1 -1
- package/lib/store.js +4 -5
- package/lib/store.js.map +1 -1
- package/lib/utils.d.ts +3 -43
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +61 -235
- package/lib/utils.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.d.ts.map +1 -1
- package/lib/version.js +2 -1
- package/lib/version.js.map +1 -1
- package/package.json +13 -11
- package/src/dist.ts +3 -2
- package/src/elements/base/dialog.ts +10 -20
- package/src/elements/base/gesture.ts +16 -14
- package/src/elements/base/link.ts +65 -44
- package/src/elements/base/modal-factory.ts +14 -14
- package/src/elements/base/reflect.ts +24 -32
- package/src/elements/base/route.ts +55 -68
- package/src/elements/base/title.ts +25 -42
- package/src/elements/base/unsafe.ts +12 -21
- package/src/elements/base/use.ts +17 -13
- package/src/helper/i18n.ts +20 -14
- package/src/helper/react-utils.ts +66 -0
- package/src/helper/ssr-shim.ts +8 -1
- package/src/helper/theme.ts +72 -45
- package/src/index.ts +6 -4
- package/src/lib/decorators.ts +394 -93
- package/src/lib/directives.ts +6 -0
- package/src/lib/element.ts +473 -500
- package/src/lib/history.ts +4 -3
- package/src/lib/store.ts +2 -1
- package/src/lib/utils.ts +12 -191
- package/src/lib/version.ts +2 -1
- package/src/test/elements/link.test.ts +1 -1
- package/src/test/elements/title.test.ts +1 -0
- package/src/test/gem-element/advance.test.ts +72 -49
- package/src/test/gem-element/basic.test.ts +37 -50
- package/src/test/gem-element/decorators.test.ts +22 -21
- package/src/test/gem-element/multi.test.ts +5 -5
- package/src/test/utils.test.ts +15 -45
|
@@ -11,94 +11,112 @@ declare const open: unique symbol;
|
|
|
11
11
|
export declare function createModalClass<T extends Record<string, unknown>>(options: T): {
|
|
12
12
|
new (): {
|
|
13
13
|
label: string;
|
|
14
|
-
|
|
15
|
-
"__#
|
|
16
|
-
"__#
|
|
17
|
-
"__#
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
"__#14@#connectHistory": () => () => void;
|
|
15
|
+
"__#14@#connectStore": () => () => void;
|
|
16
|
+
"__#6@#renderRoot": HTMLElement | ShadowRoot;
|
|
17
|
+
"__#6@#internals": ElementInternals & {
|
|
18
|
+
sheets: {
|
|
19
|
+
"__#4@#ele"?: HTMLStyleElement;
|
|
20
|
+
cssText: string;
|
|
21
|
+
readonly element: HTMLStyleElement;
|
|
22
|
+
replaceSync(text: string): void;
|
|
23
|
+
readonly cssRules: CSSRuleList;
|
|
24
|
+
readonly ownerRule: CSSRule | null;
|
|
25
|
+
readonly rules: CSSRuleList;
|
|
26
|
+
addRule(selector?: string, style?: string, index?: number): number;
|
|
27
|
+
deleteRule(index: number): void;
|
|
28
|
+
insertRule(rule: string, index?: number): number;
|
|
29
|
+
removeRule(index?: number): void;
|
|
30
|
+
replace(text: string): Promise<CSSStyleSheet>;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
readonly href: string | null;
|
|
33
|
+
readonly media: MediaList;
|
|
34
|
+
readonly ownerNode: Element | ProcessingInstruction | null;
|
|
35
|
+
readonly parentStyleSheet: CSSStyleSheet | null;
|
|
36
|
+
readonly title: string | null;
|
|
37
|
+
readonly type: string;
|
|
38
|
+
}[];
|
|
39
|
+
stateList: ReturnType<typeof import("../../lib/element").createState>[];
|
|
40
|
+
};
|
|
41
|
+
"__#6@#effectList": {
|
|
21
42
|
callback: (depValues: any, oldDepValues?: any) => any;
|
|
22
|
-
initialized?: boolean
|
|
23
|
-
|
|
43
|
+
initialized?: boolean;
|
|
44
|
+
fixed?: boolean;
|
|
24
45
|
values?: any;
|
|
25
|
-
getDep?: (() => any) | undefined;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
preCallback?: (() => void) | undefined;
|
|
30
|
-
}[] | undefined;
|
|
31
|
-
"__#4@#memoList"?: {
|
|
46
|
+
getDep?: (() => any) | undefined;
|
|
47
|
+
preCallback?: () => void;
|
|
48
|
+
}[];
|
|
49
|
+
"__#6@#memoList": {
|
|
32
50
|
callback: (depValues: any, oldDepValues?: any) => any;
|
|
33
|
-
initialized?: boolean
|
|
34
|
-
|
|
51
|
+
initialized?: boolean;
|
|
52
|
+
fixed?: boolean;
|
|
35
53
|
values?: any;
|
|
36
|
-
getDep?: (() => any) | undefined;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"__#
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
getDep?: (() => any) | undefined;
|
|
55
|
+
preCallback?: () => void;
|
|
56
|
+
}[];
|
|
57
|
+
"__#6@#renderList": {
|
|
58
|
+
render: () => import("lit-html/lib/template-result").TemplateResult | null | undefined;
|
|
59
|
+
condition?: () => boolean;
|
|
60
|
+
}[];
|
|
61
|
+
"__#6@#isAppendReason"?: boolean;
|
|
62
|
+
"__#6@#isMounted"?: boolean;
|
|
63
|
+
"__#6@#isConnected"?: boolean;
|
|
64
|
+
"__#6@#rendering"?: boolean;
|
|
65
|
+
"__#6@#clearStyle"?: any;
|
|
66
|
+
readonly "__#6@#metadata": import("../../lib/element").Metadata;
|
|
67
|
+
readonly "__#6@#renderItem": {
|
|
68
|
+
render: () => import("lit-html/lib/template-result").TemplateResult | null | undefined;
|
|
69
|
+
condition?: () => boolean;
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly internals: ElementInternals & {
|
|
72
|
+
sheets: {
|
|
73
|
+
"__#4@#ele"?: HTMLStyleElement;
|
|
74
|
+
cssText: string;
|
|
75
|
+
readonly element: HTMLStyleElement;
|
|
76
|
+
replaceSync(text: string): void;
|
|
77
|
+
readonly cssRules: CSSRuleList;
|
|
78
|
+
readonly ownerRule: CSSRule | null;
|
|
79
|
+
readonly rules: CSSRuleList;
|
|
80
|
+
addRule(selector?: string, style?: string, index?: number): number;
|
|
81
|
+
deleteRule(index: number): void;
|
|
82
|
+
insertRule(rule: string, index?: number): number;
|
|
83
|
+
removeRule(index?: number): void;
|
|
84
|
+
replace(text: string): Promise<CSSStyleSheet>;
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
readonly href: string | null;
|
|
87
|
+
readonly media: MediaList;
|
|
88
|
+
readonly ownerNode: Element | ProcessingInstruction | null;
|
|
89
|
+
readonly parentStyleSheet: CSSStyleSheet | null;
|
|
90
|
+
readonly title: string | null;
|
|
91
|
+
readonly type: string;
|
|
92
|
+
}[];
|
|
93
|
+
stateList: ReturnType<typeof import("../../lib/element").createState>[];
|
|
94
|
+
};
|
|
95
|
+
"__#6@#execEffect": () => void;
|
|
96
|
+
"__#6@#execMemo": () => void;
|
|
97
|
+
"__#6@#render": (item?: {
|
|
98
|
+
render: () => import("lit-html/lib/template-result").TemplateResult | null | undefined;
|
|
99
|
+
condition?: () => boolean;
|
|
100
|
+
}) => void;
|
|
101
|
+
"__#6@#updateCallback": () => void;
|
|
102
|
+
"__#6@#update": () => void;
|
|
103
|
+
"__#6@#prepareStyle": () => (() => void) | undefined;
|
|
104
|
+
"__#6@#initEffect": () => void;
|
|
61
105
|
willMount?(): void | Promise<void>;
|
|
62
|
-
|
|
63
|
-
"__#4@#render": () => void;
|
|
64
|
-
mounted?(): void | Promise<void> | (() => void);
|
|
65
|
-
shouldUpdate?(): boolean;
|
|
66
|
-
"__#4@#shouldUpdate": () => boolean;
|
|
67
|
-
"__#4@#updateCallback": () => void;
|
|
68
|
-
"__#4@#update": () => void;
|
|
69
|
-
update: () => void;
|
|
106
|
+
mounted?(): void | (() => void) | Promise<void>;
|
|
70
107
|
updated?(): void | Promise<void>;
|
|
71
|
-
"__#4@#updated": () => void;
|
|
72
108
|
unmounted?(): void | Promise<void>;
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"__#
|
|
76
|
-
|
|
77
|
-
|
|
109
|
+
shouldUpdate?(): boolean;
|
|
110
|
+
render?(): import("lit-html/lib/template-result").TemplateResult | null | undefined;
|
|
111
|
+
"__#6@#compat": () => void;
|
|
112
|
+
"__#6@#disconnectStore"?: (() => void)[];
|
|
113
|
+
"__#6@#connectedCallback": () => Promise<void>;
|
|
78
114
|
connectedCallback(): symbol;
|
|
79
115
|
adoptedCallback(): symbol;
|
|
80
116
|
disconnectedCallback(): symbol | undefined;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
inConstructor?: boolean | undefined;
|
|
85
|
-
values?: any;
|
|
86
|
-
getDep?: (() => any) | undefined; /**
|
|
87
|
-
* @final
|
|
88
|
-
* UI 中执行关闭
|
|
89
|
-
*/
|
|
90
|
-
preCallback?: (() => void) | undefined;
|
|
91
|
-
}[] | undefined) => {
|
|
92
|
-
callback: (depValues: any, oldDepValues?: any) => any;
|
|
93
|
-
initialized?: boolean | undefined;
|
|
94
|
-
inConstructor?: boolean | undefined;
|
|
95
|
-
values?: any;
|
|
96
|
-
getDep?: (() => any) | undefined; /**
|
|
97
|
-
* @final
|
|
98
|
-
* UI 中执行关闭
|
|
99
|
-
*/
|
|
100
|
-
preCallback?: (() => void) | undefined;
|
|
101
|
-
}[] | undefined;
|
|
117
|
+
effect: <K = any[] | undefined>(callback: (depValues: K, oldDepValues?: K | undefined) => any, getDep?: (K extends any[] ? () => K : undefined) | undefined) => void;
|
|
118
|
+
memo: <K = any[] | undefined>(callback: (depValues: K, oldDepValues?: K | undefined) => any, getDep?: (K extends any[] ? () => K : undefined) | undefined) => void;
|
|
119
|
+
update: () => void;
|
|
102
120
|
accessKey: string;
|
|
103
121
|
readonly accessKeyLabel: string;
|
|
104
122
|
autocapitalize: string;
|
|
@@ -122,11 +140,11 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
122
140
|
click(): void;
|
|
123
141
|
hidePopover(): void;
|
|
124
142
|
showPopover(): void;
|
|
125
|
-
togglePopover(force?: boolean
|
|
126
|
-
addEventListener<
|
|
127
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions
|
|
128
|
-
removeEventListener<
|
|
129
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions
|
|
143
|
+
togglePopover(force?: boolean): boolean;
|
|
144
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
145
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
146
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
147
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
130
148
|
ref: string;
|
|
131
149
|
readonly attributes: NamedNodeMap;
|
|
132
150
|
readonly classList: DOMTokenList;
|
|
@@ -152,10 +170,10 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
152
170
|
slot: string;
|
|
153
171
|
readonly tagName: string;
|
|
154
172
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
155
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
156
|
-
closest<
|
|
157
|
-
closest<
|
|
158
|
-
closest<
|
|
173
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
174
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
175
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
176
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
159
177
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
160
178
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
161
179
|
getAttribute(qualifiedName: string): string | null;
|
|
@@ -166,10 +184,10 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
166
184
|
getBoundingClientRect(): DOMRect;
|
|
167
185
|
getClientRects(): DOMRectList;
|
|
168
186
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
169
|
-
getElementsByTagName<
|
|
170
|
-
getElementsByTagName<
|
|
171
|
-
getElementsByTagName<
|
|
172
|
-
getElementsByTagName<
|
|
187
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
188
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
189
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
190
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
173
191
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
174
192
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
175
193
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
@@ -187,21 +205,22 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
187
205
|
removeAttribute(qualifiedName: string): void;
|
|
188
206
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
189
207
|
removeAttributeNode(attr: Attr): Attr;
|
|
190
|
-
requestFullscreen(options?: FullscreenOptions
|
|
208
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
191
209
|
requestPointerLock(): void;
|
|
192
|
-
scroll(options?: ScrollToOptions
|
|
210
|
+
scroll(options?: ScrollToOptions): void;
|
|
193
211
|
scroll(x: number, y: number): void;
|
|
194
|
-
scrollBy(options?: ScrollToOptions
|
|
212
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
195
213
|
scrollBy(x: number, y: number): void;
|
|
196
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
197
|
-
scrollTo(options?: ScrollToOptions
|
|
214
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
215
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
198
216
|
scrollTo(x: number, y: number): void;
|
|
199
217
|
setAttribute(qualifiedName: string, value: string): void;
|
|
200
218
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
201
219
|
setAttributeNode(attr: Attr): Attr | null;
|
|
202
220
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
221
|
+
setHTMLUnsafe(html: string): void;
|
|
203
222
|
setPointerCapture(pointerId: number): void;
|
|
204
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
223
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
205
224
|
webkitMatchesSelector(selectors: string): boolean;
|
|
206
225
|
readonly baseURI: string;
|
|
207
226
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
@@ -216,21 +235,21 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
216
235
|
readonly parentNode: ParentNode | null;
|
|
217
236
|
readonly previousSibling: ChildNode | null;
|
|
218
237
|
textContent: string | null;
|
|
219
|
-
appendChild<
|
|
220
|
-
cloneNode(deep?: boolean
|
|
238
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
239
|
+
cloneNode(deep?: boolean): Node;
|
|
221
240
|
compareDocumentPosition(other: Node): number;
|
|
222
241
|
contains(other: Node | null): boolean;
|
|
223
|
-
getRootNode(options?: GetRootNodeOptions
|
|
242
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
224
243
|
hasChildNodes(): boolean;
|
|
225
|
-
insertBefore<
|
|
244
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
226
245
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
227
246
|
isEqualNode(otherNode: Node | null): boolean;
|
|
228
247
|
isSameNode(otherNode: Node | null): boolean;
|
|
229
248
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
230
249
|
lookupPrefix(namespace: string | null): string | null;
|
|
231
250
|
normalize(): void;
|
|
232
|
-
removeChild<
|
|
233
|
-
replaceChild<
|
|
251
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
252
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
234
253
|
readonly ELEMENT_NODE: 1;
|
|
235
254
|
readonly ATTRIBUTE_NODE: 2;
|
|
236
255
|
readonly TEXT_NODE: 3;
|
|
@@ -252,6 +271,8 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
252
271
|
dispatchEvent(event: Event): boolean;
|
|
253
272
|
ariaAtomic: string | null;
|
|
254
273
|
ariaAutoComplete: string | null;
|
|
274
|
+
ariaBrailleLabel: string | null;
|
|
275
|
+
ariaBrailleRoleDescription: string | null;
|
|
255
276
|
ariaBusy: string | null;
|
|
256
277
|
ariaChecked: string | null;
|
|
257
278
|
ariaColCount: string | null;
|
|
@@ -289,12 +310,12 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
289
310
|
ariaValueNow: string | null;
|
|
290
311
|
ariaValueText: string | null;
|
|
291
312
|
role: string | null;
|
|
292
|
-
animate(keyframes:
|
|
293
|
-
getAnimations(options?: GetAnimationsOptions
|
|
294
|
-
after(...nodes: (
|
|
295
|
-
before(...nodes: (
|
|
313
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
314
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
315
|
+
after(...nodes: (Node | string)[]): void;
|
|
316
|
+
before(...nodes: (Node | string)[]): void;
|
|
296
317
|
remove(): void;
|
|
297
|
-
replaceWith(...nodes: (
|
|
318
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
298
319
|
innerHTML: string;
|
|
299
320
|
readonly nextElementSibling: Element | null;
|
|
300
321
|
readonly previousElementSibling: Element | null;
|
|
@@ -302,19 +323,19 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
302
323
|
readonly children: HTMLCollection;
|
|
303
324
|
readonly firstElementChild: Element | null;
|
|
304
325
|
readonly lastElementChild: Element | null;
|
|
305
|
-
append(...nodes: (
|
|
306
|
-
prepend(...nodes: (
|
|
307
|
-
querySelector<
|
|
308
|
-
querySelector<
|
|
309
|
-
querySelector<
|
|
310
|
-
querySelector<
|
|
311
|
-
querySelector<
|
|
312
|
-
querySelectorAll<
|
|
313
|
-
querySelectorAll<
|
|
314
|
-
querySelectorAll<
|
|
315
|
-
querySelectorAll<
|
|
316
|
-
querySelectorAll<
|
|
317
|
-
replaceChildren(...nodes: (
|
|
326
|
+
append(...nodes: (Node | string)[]): void;
|
|
327
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
328
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
329
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
330
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
331
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
332
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
333
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
334
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
335
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
336
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
337
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
338
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
318
339
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
319
340
|
readonly attributeStyleMap: StylePropertyMap;
|
|
320
341
|
readonly style: CSSStyleDeclaration;
|
|
@@ -385,7 +406,7 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
385
406
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
386
407
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
387
408
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
388
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
409
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
389
410
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
390
411
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
391
412
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
@@ -420,10 +441,10 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
420
441
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
421
442
|
autofocus: boolean;
|
|
422
443
|
readonly dataset: DOMStringMap;
|
|
423
|
-
nonce?: string
|
|
444
|
+
nonce?: string;
|
|
424
445
|
tabIndex: number;
|
|
425
446
|
blur(): void;
|
|
426
|
-
focus(options?: FocusOptions
|
|
447
|
+
focus(options?: FocusOptions): void;
|
|
427
448
|
};
|
|
428
449
|
inertStore: HTMLElement[];
|
|
429
450
|
instance: GemElement | null;
|
|
@@ -436,10 +457,6 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
436
457
|
} & T>;
|
|
437
458
|
/**@final */
|
|
438
459
|
readonly isOpen: boolean;
|
|
439
|
-
/**@final */
|
|
440
|
-
readonly observedStores: (import("../../lib/store").Store<import("../../lib/history").HistoryState> | import("../../lib/store").Store<{
|
|
441
|
-
[open]: boolean;
|
|
442
|
-
} & T>)[];
|
|
443
460
|
/**
|
|
444
461
|
* @final
|
|
445
462
|
* 自带 100ms 延迟,以允许在其他 Dialog 的 `shouldClose` 中调用此方法;
|
|
@@ -460,17 +477,6 @@ export declare function createModalClass<T extends Record<string, unknown>>(opti
|
|
|
460
477
|
* 由于要操作浏览器历史记录,所以没有设计为 Promise;
|
|
461
478
|
*/
|
|
462
479
|
shouldClose(): boolean;
|
|
463
|
-
observedAttributes?: string[] | undefined;
|
|
464
|
-
booleanAttributes?: Set<string> | undefined;
|
|
465
|
-
numberAttributes?: Set<string> | undefined;
|
|
466
|
-
observedProperties?: string[] | undefined;
|
|
467
|
-
adoptedStyleSheets?: import("../..").Sheet<unknown>[] | undefined;
|
|
468
|
-
defineEvents?: string[] | undefined;
|
|
469
|
-
defineCSSStates?: string[] | undefined;
|
|
470
|
-
defineRefs?: string[] | undefined;
|
|
471
|
-
defineParts?: string[] | undefined;
|
|
472
|
-
defineSlots?: string[] | undefined;
|
|
473
|
-
rootElement?: string | undefined;
|
|
474
480
|
};
|
|
475
481
|
export {};
|
|
476
482
|
//# sourceMappingURL=modal-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-factory.d.ts","sourceRoot":"","sources":["../../src/elements/base/modal-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"modal-factory.d.ts","sourceRoot":"","sources":["../../src/elements/base/modal-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,QAAA,MAAM,IAAI,eAAsB,CAAC;AAEjC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAMvD,WAAW,EAAE;cACf,UAAU,GAAG,IAAI;IAClC;;;OAGG;;;;IAMH,YAAY;;IAKZ;;;;OAIG;eACe,CAAC;IAmBnB;;;OAGG;;IAMH;;;OAGG;;IAQH;;OAEG;;EAeN"}
|
|
@@ -1,6 +1,41 @@
|
|
|
1
|
+
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
2
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
3
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
4
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
5
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
6
|
+
var _, done = false;
|
|
7
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
8
|
+
var context = {};
|
|
9
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
10
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
11
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
12
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
13
|
+
if (kind === "accessor") {
|
|
14
|
+
if (result === void 0) continue;
|
|
15
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
16
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
17
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
18
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
19
|
+
}
|
|
20
|
+
else if (_ = accept(result)) {
|
|
21
|
+
if (kind === "field") initializers.unshift(_);
|
|
22
|
+
else descriptor[key] = _;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
26
|
+
done = true;
|
|
27
|
+
};
|
|
28
|
+
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
|
|
29
|
+
var useValue = arguments.length > 2;
|
|
30
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
31
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
32
|
+
}
|
|
33
|
+
return useValue ? value : void 0;
|
|
34
|
+
};
|
|
1
35
|
import { GemElement } from '../../lib/element';
|
|
2
|
-
import { createStore, updateStore } from '../../lib/store';
|
|
36
|
+
import { connect, createStore, updateStore } from '../../lib/store';
|
|
3
37
|
import { history } from '../../lib/history';
|
|
38
|
+
import { aria, mounted, shadow } from '../../lib/decorators';
|
|
4
39
|
const open = Symbol('open mark');
|
|
5
40
|
/**
|
|
6
41
|
* 需要使用范型,所以导出一个函数,用来*创建*类似 Confirm 元素的基类;
|
|
@@ -11,17 +46,46 @@ const open = Symbol('open mark');
|
|
|
11
46
|
* 模拟 top layer:https://github.com/whatwg/html/issues/4633.
|
|
12
47
|
*/
|
|
13
48
|
export function createModalClass(options) {
|
|
14
|
-
var _a;
|
|
15
49
|
const final = Symbol();
|
|
16
|
-
|
|
50
|
+
let ModalElement = (() => {
|
|
51
|
+
var _a;
|
|
52
|
+
let _classDecorators = [shadow(), aria({ role: 'alertdialog', ariaModal: 'true' })];
|
|
53
|
+
let _classDescriptor;
|
|
54
|
+
let _classExtraInitializers = [];
|
|
55
|
+
let _classThis;
|
|
56
|
+
let _classSuper = GemElement;
|
|
57
|
+
let _private_connectHistory_decorators;
|
|
58
|
+
let _private_connectHistory_initializers = [];
|
|
59
|
+
let _private_connectHistory_extraInitializers = [];
|
|
60
|
+
let _private_connectStore_decorators;
|
|
61
|
+
let _private_connectStore_initializers = [];
|
|
62
|
+
let _private_connectStore_extraInitializers = [];
|
|
63
|
+
var ModalElement = class extends _classSuper {
|
|
64
|
+
static { _classThis = this; }
|
|
65
|
+
static {
|
|
66
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
67
|
+
_private_connectHistory_decorators = [mounted()];
|
|
68
|
+
_private_connectStore_decorators = [mounted()];
|
|
69
|
+
__esDecorate(null, null, _private_connectHistory_decorators, { kind: "field", name: "#connectHistory", static: false, private: true, access: { has: obj => #connectHistory in obj, get: obj => obj.#connectHistory, set: (obj, value) => { obj.#connectHistory = value; } }, metadata: _metadata }, _private_connectHistory_initializers, _private_connectHistory_extraInitializers);
|
|
70
|
+
__esDecorate(null, null, _private_connectStore_decorators, { kind: "field", name: "#connectStore", static: false, private: true, access: { has: obj => #connectStore in obj, get: obj => obj.#connectStore, set: (obj, value) => { obj.#connectStore = value; } }, metadata: _metadata }, _private_connectStore_initializers, _private_connectStore_extraInitializers);
|
|
71
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
72
|
+
ModalElement = _classThis = _classDescriptor.value;
|
|
73
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
74
|
+
}
|
|
75
|
+
static inertStore = [];
|
|
76
|
+
static instance = null;
|
|
77
|
+
/**
|
|
78
|
+
* @final
|
|
79
|
+
* modal 状态,包括内容,是否已经确认关闭等属性
|
|
80
|
+
*/
|
|
81
|
+
static store = createStore({
|
|
82
|
+
[open]: false,
|
|
83
|
+
...options,
|
|
84
|
+
});
|
|
17
85
|
/**@final */
|
|
18
86
|
static get isOpen() {
|
|
19
87
|
return this.store[open];
|
|
20
88
|
}
|
|
21
|
-
/**@final */
|
|
22
|
-
static get observedStores() {
|
|
23
|
-
return [history.store, this.store];
|
|
24
|
-
}
|
|
25
89
|
/**
|
|
26
90
|
* @final
|
|
27
91
|
* 自带 100ms 延迟,以允许在其他 Dialog 的 `shouldClose` 中调用此方法;
|
|
@@ -58,9 +122,8 @@ export function createModalClass(options) {
|
|
|
58
122
|
* history 中自动调用
|
|
59
123
|
*/
|
|
60
124
|
static closeHandle() {
|
|
61
|
-
var _b;
|
|
62
125
|
this.inertStore.forEach((e) => (e.inert = false));
|
|
63
|
-
|
|
126
|
+
this.instance?.remove();
|
|
64
127
|
updateStore(this.store, { [open]: false, ...options });
|
|
65
128
|
return final;
|
|
66
129
|
}
|
|
@@ -70,23 +133,19 @@ export function createModalClass(options) {
|
|
|
70
133
|
static shouldClose() {
|
|
71
134
|
return true;
|
|
72
135
|
}
|
|
136
|
+
label = '';
|
|
137
|
+
#connectHistory = __runInitializers(this, _private_connectHistory_initializers, () => connect(history.store, this.update));
|
|
138
|
+
#connectStore = (__runInitializers(this, _private_connectHistory_extraInitializers), __runInitializers(this, _private_connectStore_initializers, () => connect(ModalElement.store, this.update)));
|
|
73
139
|
constructor() {
|
|
74
|
-
super();
|
|
75
|
-
this
|
|
76
|
-
|
|
77
|
-
|
|
140
|
+
super(...arguments);
|
|
141
|
+
__runInitializers(this, _private_connectStore_extraInitializers);
|
|
142
|
+
}
|
|
143
|
+
static {
|
|
144
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
78
145
|
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
* @final
|
|
84
|
-
* modal 状态,包括内容,是否已经确认关闭等属性
|
|
85
|
-
*/
|
|
86
|
-
_a.store = createStore({
|
|
87
|
-
[open]: false,
|
|
88
|
-
...options,
|
|
89
|
-
}),
|
|
90
|
-
_a;
|
|
146
|
+
};
|
|
147
|
+
return ModalElement = _classThis;
|
|
148
|
+
})();
|
|
149
|
+
return ModalElement;
|
|
91
150
|
}
|
|
92
151
|
//# sourceMappingURL=modal-factory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-factory.js","sourceRoot":"","sources":["../../src/elements/base/modal-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"modal-factory.js","sourceRoot":"","sources":["../../src/elements/base/modal-factory.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflect.d.ts","sourceRoot":"","sources":["../../src/elements/base/reflect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAmB/C;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,UAAU;;IACpC,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAE9B,MAAM,EAAE,WAAW,CAAiB
|
|
1
|
+
{"version":3,"file":"reflect.d.ts","sourceRoot":"","sources":["../../src/elements/base/reflect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAmB/C;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,UAAU;;IACpC,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAE9B,MAAM,EAAE,WAAW,CAAiB;CA+B/C"}
|