@neovici/cosmoz-utils 5.19.0 → 5.21.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/dist/haunted-polymer.d.ts +36 -29
- package/dist/hooks/use-meta.d.ts +1 -1
- package/package.json +2 -3
|
@@ -84,8 +84,10 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
84
84
|
slot: string;
|
|
85
85
|
readonly tagName: string;
|
|
86
86
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
87
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
87
88
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
88
89
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
90
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
89
91
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
90
92
|
getAttribute(qualifiedName: string): string | null;
|
|
91
93
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
@@ -95,11 +97,14 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
95
97
|
getBoundingClientRect(): DOMRect;
|
|
96
98
|
getClientRects(): DOMRectList;
|
|
97
99
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
98
|
-
getElementsByTagName<
|
|
99
|
-
getElementsByTagName<
|
|
100
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
101
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
102
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
103
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
100
104
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
101
105
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
102
106
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
107
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
103
108
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
104
109
|
hasAttribute(qualifiedName: string): boolean;
|
|
105
110
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
@@ -157,24 +162,24 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
157
162
|
normalize(): void;
|
|
158
163
|
removeChild<T_4 extends Node>(child: T_4): T_4;
|
|
159
164
|
replaceChild<T_5 extends Node>(node: Node, child: T_5): T_5;
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
165
|
+
readonly ELEMENT_NODE: 1;
|
|
166
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
167
|
+
readonly TEXT_NODE: 3;
|
|
168
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
169
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
170
|
+
readonly ENTITY_NODE: 6;
|
|
171
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
172
|
+
readonly COMMENT_NODE: 8;
|
|
173
|
+
readonly DOCUMENT_NODE: 9;
|
|
174
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
175
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
176
|
+
readonly NOTATION_NODE: 12;
|
|
177
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
178
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
179
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
180
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
181
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
182
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
178
183
|
dispatchEvent(event: Event): boolean;
|
|
179
184
|
ariaAtomic: string | null;
|
|
180
185
|
ariaAutoComplete: string | null;
|
|
@@ -182,7 +187,6 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
182
187
|
ariaChecked: string | null;
|
|
183
188
|
ariaColCount: string | null;
|
|
184
189
|
ariaColIndex: string | null;
|
|
185
|
-
ariaColIndexText: string | null;
|
|
186
190
|
ariaColSpan: string | null;
|
|
187
191
|
ariaCurrent: string | null;
|
|
188
192
|
ariaDisabled: string | null;
|
|
@@ -206,7 +210,6 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
206
210
|
ariaRoleDescription: string | null;
|
|
207
211
|
ariaRowCount: string | null;
|
|
208
212
|
ariaRowIndex: string | null;
|
|
209
|
-
ariaRowIndexText: string | null;
|
|
210
213
|
ariaRowSpan: string | null;
|
|
211
214
|
ariaSelected: string | null;
|
|
212
215
|
ariaSetSize: string | null;
|
|
@@ -231,17 +234,18 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
231
234
|
readonly lastElementChild: Element | null;
|
|
232
235
|
append(...nodes: (string | Node)[]): void;
|
|
233
236
|
prepend(...nodes: (string | Node)[]): void;
|
|
234
|
-
querySelector<
|
|
235
|
-
querySelector<
|
|
237
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
238
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
239
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
240
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
236
241
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
237
|
-
querySelectorAll<
|
|
238
|
-
querySelectorAll<
|
|
242
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
243
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
244
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
245
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
239
246
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
240
247
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
241
248
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
242
|
-
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
243
|
-
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
244
|
-
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
245
249
|
readonly style: CSSStyleDeclaration;
|
|
246
250
|
contentEditable: string;
|
|
247
251
|
enterKeyHint: string;
|
|
@@ -262,7 +266,9 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
262
266
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
263
267
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
268
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
269
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
265
270
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
266
272
|
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
267
273
|
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
268
274
|
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
@@ -295,6 +301,7 @@ export declare const hauntedPolymer: (outputPath: string | Hook, hook?: Hook) =>
|
|
|
295
301
|
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
296
302
|
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
297
303
|
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
304
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
298
305
|
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
306
|
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
307
|
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
package/dist/hooks/use-meta.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-utils",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.21.0",
|
|
4
4
|
"description": "Date, money and template management functions commonly needed in Cosmoz views.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polymer",
|
|
@@ -81,10 +81,9 @@
|
|
|
81
81
|
"@polymer/polymer": "^3.3.1",
|
|
82
82
|
"@semantic-release/changelog": "^6.0.0",
|
|
83
83
|
"@semantic-release/git": "^10.0.0",
|
|
84
|
-
"@web/test-runner": "^0.15.0",
|
|
85
84
|
"husky": "^8.0.0",
|
|
86
85
|
"lit-html": "^2.0.0",
|
|
87
|
-
"semantic-release": "^
|
|
86
|
+
"semantic-release": "^21.0.0",
|
|
88
87
|
"sinon": "^15.0.0"
|
|
89
88
|
}
|
|
90
89
|
}
|