@progressive-development/pd-spa-helper 0.5.19 → 0.5.21
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.
|
@@ -17,6 +17,17 @@ let PdIconPanelButton = class extends LitElement {
|
|
|
17
17
|
this.buttonText = "Ok";
|
|
18
18
|
this.panelButton = false;
|
|
19
19
|
this._panelOpen = false;
|
|
20
|
+
this._closePanel = () => {
|
|
21
|
+
this._panelOpen = false;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
connectedCallback() {
|
|
25
|
+
super.connectedCallback();
|
|
26
|
+
window.addEventListener("close-button-panel-event", this._closePanel);
|
|
27
|
+
}
|
|
28
|
+
disconnectedCallback() {
|
|
29
|
+
window.removeEventListener("close-button-panel-event", this._closePanel);
|
|
30
|
+
super.disconnectedCallback();
|
|
20
31
|
}
|
|
21
32
|
// ${this._daySyncDisabled ? "element-hint" : ""} => for div class
|
|
22
33
|
render() {
|
|
@@ -6,6 +6,9 @@ export declare class PdIconPanelButton extends LitElement {
|
|
|
6
6
|
panelButton: boolean;
|
|
7
7
|
private _panelOpen;
|
|
8
8
|
static styles: CSSResultGroup;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
private _closePanel;
|
|
9
12
|
render(): import('lit-html').TemplateResult<1>;
|
|
10
13
|
private _onKeyDown;
|
|
11
14
|
private _buttonClicked;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pd-icon-panel-button.d.ts","sourceRoot":"","sources":["../../src/tmpown/pd-icon-panel-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,0CAA0C,CAAC;AAElD,qBACa,iBAAkB,SAAQ,UAAU;IAG/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAQ;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,OAAO,CAAS;IAG7B,OAAO,CAAC,UAAU,CAAkB;IAEpC,MAAM,CAAC,MAAM,iBAwHO;
|
|
1
|
+
{"version":3,"file":"pd-icon-panel-button.d.ts","sourceRoot":"","sources":["../../src/tmpown/pd-icon-panel-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,0CAA0C,CAAC;AAElD,qBACa,iBAAkB,SAAQ,UAAU;IAG/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAQ;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,OAAO,CAAS;IAG7B,OAAO,CAAC,UAAU,CAAkB;IAEpC,MAAM,CAAC,MAAM,iBAwHO;IAEpB,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,WAAW,CAEjB;IAGF,MAAM;IA0BN,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,YAAY;CAOrB"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent pd-spa-helper following open-wc recommendations",
|
|
4
4
|
"author": "PD Progressive Development",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
-
"version": "0.5.
|
|
6
|
+
"version": "0.5.21",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@lit-labs/task": "^1.1.3",
|
|
38
38
|
"@lit/localize": "^0.11.4",
|
|
39
|
-
"@progressive-development/pd-dialog": "^0.5.
|
|
40
|
-
"@progressive-development/pd-forms": "^0.5.
|
|
39
|
+
"@progressive-development/pd-dialog": "^0.5.8",
|
|
40
|
+
"@progressive-development/pd-forms": "^0.5.7",
|
|
41
41
|
"@progressive-development/pd-icon": "^0.5.0",
|
|
42
|
-
"@progressive-development/pd-order": "^0.5.
|
|
43
|
-
"@progressive-development/pd-page": "^0.5.
|
|
44
|
-
"@progressive-development/pd-wizard": "^0.5.
|
|
42
|
+
"@progressive-development/pd-order": "^0.5.15",
|
|
43
|
+
"@progressive-development/pd-page": "^0.5.10",
|
|
44
|
+
"@progressive-development/pd-wizard": "^0.5.7",
|
|
45
45
|
"@types/hammerjs": "^2.0.46",
|
|
46
46
|
"firebase": "^10.14.1",
|
|
47
47
|
"hammerjs": "^2.0.8",
|