wrec 0.20.13 → 0.20.15
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/wrec.d.ts +14 -12
- package/dist/wrec.es.js +8317 -842
- package/dist/wrec.umd.js +29 -5
- package/package.json +6 -6
package/dist/wrec.d.ts
CHANGED
|
@@ -16,22 +16,23 @@ declare type StringToString = Record<string, string>;
|
|
|
16
16
|
|
|
17
17
|
export declare abstract class Wrec extends HTMLElement implements ChangeListener {
|
|
18
18
|
#private;
|
|
19
|
-
static attrToPropMap
|
|
20
|
-
static propToAttrMap
|
|
21
|
-
static context
|
|
22
|
-
static css
|
|
23
|
-
static elementName
|
|
19
|
+
private static attrToPropMap;
|
|
20
|
+
private static propToAttrMap;
|
|
21
|
+
private static context;
|
|
22
|
+
private static css;
|
|
23
|
+
private static elementName;
|
|
24
24
|
static formAssociated: boolean;
|
|
25
|
-
static html
|
|
26
|
-
static properties
|
|
27
|
-
static propToComputedMap
|
|
28
|
-
static propToExprsMap
|
|
29
|
-
static template
|
|
25
|
+
private static html;
|
|
26
|
+
private static properties;
|
|
27
|
+
private static propToComputedMap;
|
|
28
|
+
private static propToExprsMap;
|
|
29
|
+
private static template;
|
|
30
30
|
[key: string]: any;
|
|
31
|
-
static define
|
|
31
|
+
private static define;
|
|
32
32
|
constructor();
|
|
33
33
|
attributeChangedCallback(attrName: string, oldValue: string, newValue: string | number | boolean | undefined): void;
|
|
34
34
|
batchSet(changes: StringToAny): void;
|
|
35
|
+
private static buildHTML;
|
|
35
36
|
changed(_statePath: string, componentProp: string, newValue: unknown): void;
|
|
36
37
|
connectedCallback(): void;
|
|
37
38
|
disconnectedCallback(): void;
|
|
@@ -39,12 +40,13 @@ export declare abstract class Wrec extends HTMLElement implements ChangeListener
|
|
|
39
40
|
displayIfSet(value: any, display?: string): string;
|
|
40
41
|
formAssociatedCallback(): void;
|
|
41
42
|
formResetCallback(): void;
|
|
42
|
-
static getAttrName
|
|
43
|
+
private static getAttrName;
|
|
43
44
|
static getPropName(attrName: string): string;
|
|
44
45
|
static get observedAttributes(): string[];
|
|
45
46
|
propertyChangedCallback(_propName: string, _oldValue: unknown, _newValue: unknown): void;
|
|
46
47
|
setAttributeSafe(name: string, value: string): void;
|
|
47
48
|
setFormValue(propName: string, value: string): void;
|
|
49
|
+
static ssr(properties?: StringToAny): string;
|
|
48
50
|
/**
|
|
49
51
|
* @param state - WrecState object
|
|
50
52
|
* @param map - object whose keys are state properties and
|