@amiceli/papierjs 0.11.0 → 0.12.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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-alert.cjs.entry.js +1 -1
- package/dist/cjs/p-badge.cjs.entry.js +1 -1
- package/dist/cjs/p-button_4.cjs.entry.js +1 -1
- package/dist/cjs/p-card.cjs.entry.js +2 -2
- package/dist/cjs/p-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-input-text.cjs.entry.js +6 -3
- package/dist/cjs/p-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-text.entry.cjs.js.map +1 -1
- package/dist/cjs/p-leaf.cjs.entry.js +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-notification-preview.cjs.entry.js +5 -5
- package/dist/cjs/p-notification.cjs.entry.js +1 -1
- package/dist/cjs/p-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/p-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-spinner.cjs.entry.js +2 -2
- package/dist/cjs/p-switch-tile.cjs.entry.js +2 -2
- package/dist/cjs/p-switch.cjs.entry.js +3 -3
- package/dist/cjs/p-tab.cjs.entry.js +2 -2
- package/dist/cjs/p-tabs.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/papierjs.cjs.js +1 -1
- package/dist/collection/components/form/p-input-text/input-text.css +12 -0
- package/dist/collection/components/form/p-input-text/input-text.js +24 -2
- package/dist/collection/components/form/p-input-text/input-text.js.map +1 -1
- package/dist/collection/components/form/p-slider/sliders.js +2 -2
- package/dist/collection/components/form/p-switch/switch.js +3 -3
- package/dist/collection/components/form/p-switch-tile/switch-tile.js +2 -2
- package/dist/collection/components/notification/p-notification/p-notification.js +1 -1
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +1 -1
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +5 -5
- package/dist/collection/components/p-accordion/p-accordion.js +3 -3
- package/dist/collection/components/p-alert/p-alert.js +1 -1
- package/dist/collection/components/p-badge/p-badge.js +1 -1
- package/dist/collection/components/p-button/p-button.js +1 -1
- package/dist/collection/components/p-card/p-card.js +2 -2
- package/dist/collection/components/p-icon/p-icon.js +1 -1
- package/dist/collection/components/p-leaf/p-leaf.js +1 -1
- package/dist/collection/components/p-modal/p-modal.js +1 -1
- package/dist/collection/components/p-progress-bar/p-progress-bar.js +1 -1
- package/dist/collection/components/p-spinner/p-spinner.js +2 -2
- package/dist/collection/components/p-tooltip/p-tooltip.js +1 -1
- package/dist/collection/components/tabs/p-tab/p-tab.js +2 -2
- package/dist/collection/components/tabs/p-tabs/p-tabs.js +3 -3
- package/dist/components/{p-IX2EXA6o.js → p-BG8QQjTj.js} +3 -3
- package/dist/components/{p-DrpbJ3p6.js.map → p-BG8QQjTj.js.map} +1 -1
- package/dist/components/p-C1WiDOUO.js +533 -0
- package/dist/components/p-C1WiDOUO.js.map +1 -0
- package/dist/components/{p-Cz0c9sEd.js → p-D-0lSopu.js} +3 -3
- package/dist/components/{p-CW84oe-z.js.map → p-D-0lSopu.js.map} +1 -1
- package/dist/components/{p-TTB8YZY7.js → p-DTXRchKU.js} +4 -4
- package/dist/components/{p-CWVEkY9o.js.map → p-DTXRchKU.js.map} +1 -1
- package/dist/components/{p-OrVnZ617.js → p-Dfl1qwUC.js} +4 -4
- package/dist/components/{p-CtG_9OPT.js.map → p-Dfl1qwUC.js.map} +1 -1
- package/dist/components/p-accordion.js +3 -3
- package/dist/components/p-alert.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-card.js +2 -2
- package/dist/components/p-icon.js +1 -528
- package/dist/components/p-icon.js.map +1 -1
- package/dist/components/p-input-text.js +14 -4
- package/dist/components/p-input-text.js.map +1 -1
- package/dist/components/p-leaf.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-notification-handler.js +1 -1
- package/dist/components/p-notification-preview.js +9 -9
- package/dist/components/p-notification.js +1 -1
- package/dist/components/p-progress-bar.js +1 -1
- package/dist/components/p-slider.js +2 -2
- package/dist/components/p-spinner.js +1 -1
- package/dist/components/p-switch-tile.js +2 -2
- package/dist/components/p-switch.js +3 -3
- package/dist/components/p-tab.js +2 -2
- package/dist/components/p-tabs.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-alert.entry.js +1 -1
- package/dist/esm/p-badge.entry.js +1 -1
- package/dist/esm/p-button_4.entry.js +1 -1
- package/dist/esm/p-card.entry.js +2 -2
- package/dist/esm/p-icon.entry.js +1 -1
- package/dist/esm/p-input-text.entry.js +6 -3
- package/dist/esm/p-input-text.entry.js.map +1 -1
- package/dist/esm/p-leaf.entry.js +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-notification-preview.entry.js +5 -5
- package/dist/esm/p-notification.entry.js +1 -1
- package/dist/esm/p-progress-bar.entry.js +1 -1
- package/dist/esm/p-slider.entry.js +2 -2
- package/dist/esm/p-spinner.entry.js +2 -2
- package/dist/esm/p-switch-tile.entry.js +2 -2
- package/dist/esm/p-switch.entry.js +3 -3
- package/dist/esm/p-tab.entry.js +2 -2
- package/dist/esm/p-tabs.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/papierjs.js +1 -1
- package/dist/papierjs/{p-3aaa32f1.entry.js → p-06e2ec9e.entry.js} +2 -2
- package/dist/papierjs/{p-fe89ec34.entry.js → p-0cf51930.entry.js} +2 -2
- package/dist/papierjs/p-0cf51930.entry.js.map +1 -0
- package/dist/papierjs/{p-1dec350d.entry.js → p-143bbaaa.entry.js} +2 -2
- package/dist/papierjs/p-145622ef.entry.js +2 -0
- package/dist/papierjs/{p-5fa85cd8.entry.js → p-2edc68be.entry.js} +2 -2
- package/dist/papierjs/{p-19f51abf.entry.js → p-4661561e.entry.js} +2 -2
- package/dist/papierjs/{p-b853fa48.entry.js → p-47711f14.entry.js} +2 -2
- package/dist/papierjs/{p-f190f711.entry.js → p-4b20a14f.entry.js} +2 -2
- package/dist/papierjs/{p-45a3871c.entry.js → p-55ab1a5c.entry.js} +2 -2
- package/dist/papierjs/{p-1e6504ed.entry.js → p-7ff3b05b.entry.js} +2 -2
- package/dist/papierjs/{p-62356d11.entry.js → p-8ab5c78c.entry.js} +2 -2
- package/dist/papierjs/{p-3579cca1.entry.js → p-8f7beefb.entry.js} +2 -2
- package/dist/papierjs/{p-0ff9d763.entry.js → p-c2525bb6.entry.js} +2 -2
- package/dist/papierjs/{p-aa3cc1d4.entry.js → p-c28e86c9.entry.js} +2 -2
- package/dist/papierjs/{p-e95c84a8.entry.js → p-ce23e06d.entry.js} +2 -2
- package/dist/papierjs/{p-1b03da90.entry.js → p-d0848378.entry.js} +2 -2
- package/dist/papierjs/{p-471e5dd1.entry.js → p-e656b497.entry.js} +2 -2
- package/dist/papierjs/{p-56886e34.entry.js → p-f1d4da9a.entry.js} +2 -2
- package/dist/papierjs/{p-0124c50f.entry.js → p-f56b1321.entry.js} +2 -2
- package/dist/papierjs/p-input-text.entry.esm.js.map +1 -1
- package/dist/papierjs/papierjs.esm.js +1 -1
- package/dist/types/components/form/p-input-text/input-text.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +8 -8
- package/dist/components/p-BYP4ix9x.js +0 -102
- package/dist/components/p-BYP4ix9x.js.map +0 -1
- package/dist/components/p-C8J5Uj6B.js +0 -53
- package/dist/components/p-C8J5Uj6B.js.map +0 -1
- package/dist/components/p-CW84oe-z.js +0 -78
- package/dist/components/p-CWVEkY9o.js +0 -93
- package/dist/components/p-CtG_9OPT.js +0 -49
- package/dist/components/p-Cz0c9sEd.js.map +0 -1
- package/dist/components/p-DrpbJ3p6.js +0 -81
- package/dist/components/p-IX2EXA6o.js.map +0 -1
- package/dist/components/p-OrVnZ617.js.map +0 -1
- package/dist/components/p-TTB8YZY7.js.map +0 -1
- package/dist/papierjs/p-03eb7be1.entry.js +0 -2
- package/dist/papierjs/p-03eb7be1.entry.js.map +0 -1
- package/dist/papierjs/p-0abbbdba.entry.js +0 -2
- package/dist/papierjs/p-1d47b62e.entry.js +0 -2
- package/dist/papierjs/p-2644d8b6.entry.js +0 -2
- package/dist/papierjs/p-2695e679.entry.js +0 -2
- package/dist/papierjs/p-2695e679.entry.js.map +0 -1
- package/dist/papierjs/p-289c322f.entry.js +0 -2
- package/dist/papierjs/p-2accdea5.entry.js +0 -2
- package/dist/papierjs/p-2accdea5.entry.js.map +0 -1
- package/dist/papierjs/p-2d091165.entry.js +0 -2
- package/dist/papierjs/p-2d091165.entry.js.map +0 -1
- package/dist/papierjs/p-3274b6c9.entry.js +0 -2
- package/dist/papierjs/p-3274b6c9.entry.js.map +0 -1
- package/dist/papierjs/p-33d11cc9.entry.js +0 -2
- package/dist/papierjs/p-3579cca1.entry.js.map +0 -1
- package/dist/papierjs/p-3aaa32f1.entry.js.map +0 -1
- package/dist/papierjs/p-45a3871c.entry.js.map +0 -1
- package/dist/papierjs/p-5210fbeb.entry.js +0 -2
- package/dist/papierjs/p-56886e34.entry.js.map +0 -1
- package/dist/papierjs/p-5e315f2f.entry.js +0 -2
- package/dist/papierjs/p-5e315f2f.entry.js.map +0 -1
- package/dist/papierjs/p-60647bc6.entry.js +0 -2
- package/dist/papierjs/p-633379ad.entry.js +0 -2
- package/dist/papierjs/p-633379ad.entry.js.map +0 -1
- package/dist/papierjs/p-815a0e54.entry.js +0 -2
- package/dist/papierjs/p-815a0e54.entry.js.map +0 -1
- package/dist/papierjs/p-a20a405c.entry.js +0 -2
- package/dist/papierjs/p-a20a405c.entry.js.map +0 -1
- package/dist/papierjs/p-bb811980.entry.js +0 -2
- package/dist/papierjs/p-bb811980.entry.js.map +0 -1
- package/dist/papierjs/p-be83abf1.entry.js +0 -2
- package/dist/papierjs/p-be83abf1.entry.js.map +0 -1
- package/dist/papierjs/p-d8bb3cb8.entry.js +0 -2
- package/dist/papierjs/p-d8bb3cb8.entry.js.map +0 -1
- package/dist/papierjs/p-e34b583b.entry.js +0 -2
- package/dist/papierjs/p-e34b583b.entry.js.map +0 -1
- package/dist/papierjs/p-e95c84a8.entry.js.map +0 -1
- package/dist/papierjs/p-ea70ba16.entry.js +0 -2
- package/dist/papierjs/p-ea70ba16.entry.js.map +0 -1
- package/dist/papierjs/p-f190f711.entry.js.map +0 -1
- package/dist/papierjs/p-f3289814.entry.js +0 -2
- package/dist/papierjs/p-f3289814.entry.js.map +0 -1
- package/dist/papierjs/p-fe89ec34.entry.js.map +0 -1
- /package/dist/papierjs/{p-0abbbdba.entry.js.map → p-06e2ec9e.entry.js.map} +0 -0
- /package/dist/papierjs/{p-1dec350d.entry.js.map → p-143bbaaa.entry.js.map} +0 -0
- /package/dist/papierjs/{p-2644d8b6.entry.js.map → p-145622ef.entry.js.map} +0 -0
- /package/dist/papierjs/{p-5fa85cd8.entry.js.map → p-2edc68be.entry.js.map} +0 -0
- /package/dist/papierjs/{p-19f51abf.entry.js.map → p-4661561e.entry.js.map} +0 -0
- /package/dist/papierjs/{p-b853fa48.entry.js.map → p-47711f14.entry.js.map} +0 -0
- /package/dist/papierjs/{p-1d47b62e.entry.js.map → p-4b20a14f.entry.js.map} +0 -0
- /package/dist/papierjs/{p-33d11cc9.entry.js.map → p-55ab1a5c.entry.js.map} +0 -0
- /package/dist/papierjs/{p-1e6504ed.entry.js.map → p-7ff3b05b.entry.js.map} +0 -0
- /package/dist/papierjs/{p-62356d11.entry.js.map → p-8ab5c78c.entry.js.map} +0 -0
- /package/dist/papierjs/{p-289c322f.entry.js.map → p-8f7beefb.entry.js.map} +0 -0
- /package/dist/papierjs/{p-0ff9d763.entry.js.map → p-c2525bb6.entry.js.map} +0 -0
- /package/dist/papierjs/{p-aa3cc1d4.entry.js.map → p-c28e86c9.entry.js.map} +0 -0
- /package/dist/papierjs/{p-60647bc6.entry.js.map → p-ce23e06d.entry.js.map} +0 -0
- /package/dist/papierjs/{p-1b03da90.entry.js.map → p-d0848378.entry.js.map} +0 -0
- /package/dist/papierjs/{p-471e5dd1.entry.js.map → p-e656b497.entry.js.map} +0 -0
- /package/dist/papierjs/{p-5210fbeb.entry.js.map → p-f1d4da9a.entry.js.map} +0 -0
- /package/dist/papierjs/{p-0124c50f.entry.js.map → p-f56b1321.entry.js.map} +0 -0
|
@@ -17,11 +17,11 @@ const PSlider$1 = /*@__PURE__*/ proxyCustomElement(class PSlider extends H {
|
|
|
17
17
|
this.changeEvent.emit(Number.parseInt(e.target.value));
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '7ed16696a4bc89d920f0b99c7176ae88794a54a8' }, h("div", { key: 'c850a65a7c265a6b4c472b4d2a47fedc3f757858', class: {
|
|
21
21
|
papier: true,
|
|
22
22
|
'is--block': this.block,
|
|
23
23
|
'is--dark': this.dark,
|
|
24
|
-
} }, h("div", { key: '
|
|
24
|
+
} }, h("div", { key: '73140651cbf8a3cc409295b504a974e3cab30117', class: "form-group" }, h("input", { key: '3c033545596456d23794233e099baa038bceccbd', class: "input-block", type: "range", min: this.min, max: this.max, value: this.value, onInput: (e) => {
|
|
25
25
|
this.onInput(e);
|
|
26
26
|
} })))));
|
|
27
27
|
}
|
|
@@ -33,10 +33,10 @@ const PSwitchTile$1 = /*@__PURE__*/ proxyCustomElement(class PSwitchTile extends
|
|
|
33
33
|
return cssClass;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'c7a340243d239d030f8624f13732d37b7a803020' }, h("div", { key: '3908f209998d81480a9792fbc4a9889ca5e8f14c', class: {
|
|
37
37
|
papier: true,
|
|
38
38
|
'is--dark': this.dark,
|
|
39
|
-
} }, h("div", { key: '
|
|
39
|
+
} }, h("div", { key: 'daa23ed234394fa6cf7e57b8ce24eb6ac4866f7e', class: "form-group" }, h("label", { key: '60d68435b6061ffb132be1c57622c195d3abb0d5', htmlFor: "paperSwitch1", class: "paper-switch-tile" }, h("input", { key: '7608d7e153e046ae4ebacb77fa0084540316e6dd', id: "paperSwitch1", name: "paperSwitch1", type: "checkbox", checked: this.checked }), h("div", { key: '446aab945688f8b546dfec80d68c0754faab5ceb', class: "paper-switch-tile-card border" }, h("div", { key: '1653c6b0f8f289077d2e23bf929e1eb52d4a48ce', class: this.getFrontCardClass() }, h("slot", { key: 'd7d21685bd0033c23730e31be564c0690d6c1f81', name: "unchecked-text" })), h("div", { key: '59ca159cafd35a2a3e0f62b6d33529533b674fb9', class: this.getBackCardClass() }, h("slot", { key: '9e2838aabbcc96dc1ff00991c7df50dd88b44ad7', name: "checked-text" }))))))));
|
|
40
40
|
}
|
|
41
41
|
static get style() { return switchTileCss; }
|
|
42
42
|
}, [1, "p-switch-tile", {
|
|
@@ -19,13 +19,13 @@ const PSwitch$1 = /*@__PURE__*/ proxyCustomElement(class PSwitch extends H {
|
|
|
19
19
|
this.changeEvent.emit(e.target.checked);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '5dfb01d966b38ba5345838902d4f05315b0fe93b' }, h("div", { key: 'ec2eb8b6c7161b2a9d992a1301b2de9afb9256a8', class: {
|
|
23
23
|
papier: true,
|
|
24
24
|
'is--dark': this.dark,
|
|
25
|
-
} }, h("div", { key: '
|
|
25
|
+
} }, h("div", { key: 'c8c37af8bd62aea833840b35ced7a17fab5e9fe8', class: "form-group" }, h("label", { key: 'b299f75b8a8c05d52fc6dcd32345658789c8ef51', class: {
|
|
26
26
|
'paper-switch': !this.square,
|
|
27
27
|
'paper-switch-2': this.square,
|
|
28
|
-
} }, h("input", { key: '
|
|
28
|
+
} }, h("input", { key: 'cb813924fb89d26050f0244369415927f90495a3', id: "paperSwitch4", name: "paperSwitch4", type: "checkbox", checked: this.checked, onInput: (e) => this.onInput(e) }), h("span", { key: 'f28e9e2f849ad63b47827ff270d3a963135f0935', class: {
|
|
29
29
|
round: this.round,
|
|
30
30
|
'paper-switch-slider': true,
|
|
31
31
|
} }))))));
|
package/dist/components/p-tab.js
CHANGED
|
@@ -11,11 +11,11 @@ const PTab$1 = /*@__PURE__*/ proxyCustomElement(class PTab extends H {
|
|
|
11
11
|
this.dark = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '4e43d2f38a2e952105b22c412286fab1f96d8abc' }, h("div", { key: '353065c92ffa9244150037482bcd9321b8f76893', class: {
|
|
15
15
|
papier: true,
|
|
16
16
|
'is--selected': this.selected,
|
|
17
17
|
'is--dark': this.dark,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '0766a64a5f3c8229168b9ccd06173880ddad491f' }))));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return pTabCss; }
|
|
21
21
|
}, [1, "p-tab", {
|
|
@@ -47,12 +47,12 @@ const PTabs$1 = /*@__PURE__*/ proxyCustomElement(class PTabs extends H {
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'b4fb55766cc259beab158cabbe30c29002cd0fb8' }, h("div", { key: 'fa79c0cae511d097b17f7d3e746c8ec2dcb531b1', class: {
|
|
51
51
|
'is--dark': this.dark,
|
|
52
52
|
papier: true,
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: '58fce38027efd851103483fcbe3013fd4496af8f', class: "row flex-spaces tabs" }, this.tabs.map((t) => {
|
|
54
54
|
return (h("label", { class: this.getTabClass(t), htmlFor: "tab1", key: t.title, onClick: () => this.onSelectTab(t) }, t.title));
|
|
55
|
-
}), h("div", { key: '
|
|
55
|
+
}), h("div", { key: '9f43cce27c573db15b4e9ec12efa4d7ff29d9673', class: "content" }, h("slot", { key: 'c3fe91c09787df8d35a4a132aa1d31008a3430d6' }))))));
|
|
56
56
|
}
|
|
57
57
|
get el() { return this; }
|
|
58
58
|
static get style() { return pTabsCss; }
|
|
@@ -14,7 +14,7 @@ const PTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PTooltip extends H {
|
|
|
14
14
|
this.top = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '31c1300ff9942abd6f8a02cccd43b165f1486f71' }, h("div", { key: 'c2c3f9efdb1bd21009b84e2bbae70be76d413382', class: "papier" }, h("div", { key: '9be39e852c8b97274d13f6cca82c6457f41f8090', "popover-left": this.left && !this.disabled ? this.title : null, "popover-right": this.right && !this.disabled ? this.title : null, "popover-bottom": this.bottom && !this.disabled ? this.title : null, "popover-top": this.top && !this.disabled ? this.title : null }, h("slot", { key: 'a55beec254828006070d5f751e4dc6caaeae96b7' })))));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return pTooltipCss; }
|
|
20
20
|
}, [1, "p-tooltip", {
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["p-notification-preview",[[0,"p-notification-preview",{"notificationType":[32]}]]],["p-
|
|
8
|
+
return bootstrapLazy([["p-notification-preview",[[0,"p-notification-preview",{"notificationType":[32]}]]],["p-input-text",[[1,"p-input-text",{"placeholder":[1],"icon":[1],"value":[1025],"required":[4],"dark":[4],"label":[1],"disabled":[4],"block":[4],"error":[1]}]]],["p-accordion",[[1,"p-accordion",{"title":[1],"open":[1028]}]]],["p-alert",[[1,"p-alert",{"type":[1],"closable":[4],"dark":[4]}]]],["p-badge",[[1,"p-badge",{"type":[1],"dark":[4]}]]],["p-breadcrumb",[[1,"p-breadcrumb",{"dark":[4]}]]],["p-breadcrumb-item",[[1,"p-breadcrumb-item",{"dark":[4],"first":[4],"link":[1]}]]],["p-card",[[1,"p-card",{"dark":[4],"radius":[4],"image":[1],"hasHeader":[32],"hasFooter":[32]}]]],["p-leaf",[[4,"p-leaf",{"dark":[4]}]]],["p-modal",[[1,"p-modal",{"isOpen":[32],"open":[64],"close":[64]}]]],["p-progress-bar",[[1,"p-progress-bar",{"type":[1],"value":[2],"striped":[4],"dark":[4],"auto":[2],"interval":[32]}]]],["p-slider",[[1,"p-slider",{"value":[2],"min":[2],"max":[2],"block":[4],"dark":[4]}]]],["p-switch",[[1,"p-switch",{"round":[4],"square":[4],"dark":[4],"checked":[4]}]]],["p-switch-tile",[[1,"p-switch-tile",{"dark":[4],"checked":[4],"checkedBackground":[1,"checked-background"],"uncheckedBackground":[1,"unchecked-background"]}]]],["p-tab",[[1,"p-tab",{"title":[1],"selected":[1028],"dark":[4]}]]],["p-tabs",[[1,"p-tabs",{"dark":[4],"tabs":[32],"selectedTab":[32]}]]],["p-tooltip",[[1,"p-tooltip",{"title":[1],"disabled":[4],"left":[4],"right":[4],"bottom":[4],"top":[4]}]]],["p-icon",[[1,"p-icon",{"icon":[1],"size":[2],"color":[1],"svgContent":[32]}]]],["p-notification",[[1,"p-notification",{"type":[1],"text":[1],"canclose":[4],"timestamp":[1]}]]],["p-spinner",[[1,"p-spinner",{"large":[4],"color":[1],"dark":[4]}]]],["p-button_4",[[1,"p-button",{"type":[1],"outline":[4],"large":[4],"small":[4],"block":[4],"disabled":[4],"dark":[4],"loading":[4]}],[1,"p-notification-handler",{"notifications":[32],"pushNotification":[64]},[[0,"close","closeToastHandler"]]],[1,"p-dropdown",{"dark":[4],"preventSelected":[4,"prevent-selected"],"value":[1025],"placeholder":[1],"open":[32],"selectedValue":[32]},[[8,"click","detectOutsideClick"]]],[1,"p-dropdown-item",{"value":[1],"selected":[4],"dark":[4]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -11,12 +11,12 @@ const PAccordion = class {
|
|
|
11
11
|
render() {
|
|
12
12
|
const icon = feather.icons['chevron-down'].toSvg();
|
|
13
13
|
const openIcon = feather.icons['chevron-up'].toSvg();
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '8c37573d3228d1c670a774f694ec5c12ca68ac21' }, h("div", { key: '4bc8519cc30abc42e870611c0767562549621f34', class: "papier" }, h("div", { key: 'f26205c3d5e6f6fbd8628cacd314df97fc92725d', class: "p-accordion is--block border" }, h("div", { key: '8333b2740bae0926411f74efd62d23cd17f21e9a', class: "p-accordion__summary", onClick: () => {
|
|
15
15
|
this.open = !this.open;
|
|
16
|
-
} }, h("span", { key: '
|
|
16
|
+
} }, h("span", { key: '536a9ca6e721ce9a145b9052295442d5ca38aa39' }, this.title), h("span", { key: 'a1a240ccacb41380204593ea868bb75e9f968974' }, h("span", { key: '853fea6621d95c87e90c5e77743f994fcf89922d', class: "for--icon", innerHTML: this.open ? openIcon : icon }))), h("div", { key: '135a6953133f020cb68fb203793018b1e6e569f7', class: {
|
|
17
17
|
'p-accordion__content': true,
|
|
18
18
|
'is--open': this.open,
|
|
19
|
-
} }, h("slot", { key: '
|
|
19
|
+
} }, h("slot", { key: 'fa89ddc760fd4541f6e64ba72999d70274d38b3f' }))))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
PAccordion.style = pAccordionCss;
|
|
@@ -42,7 +42,7 @@ const PAlert = class {
|
|
|
42
42
|
this.close.emit(null);
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: '873c62b5c7105b48603bd05561d42176b8246270', class: this.getParentClass() }, h("div", { key: '91bcc68bd1fd18c1f5a54e290558b2d494a3f80e', class: this.getClass() }, h("slot", { key: '13d429f8a51ac2825200c5c601a387270430850a' }), this.closable && (h("span", { key: 'af58d5d80fc7b139781d2d842c8f5c8f7a1cda77', class: "btn-close", onClick: () => this.closeAlert() }, "X")))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
PAlert.style = pAlertCss;
|
|
@@ -19,7 +19,7 @@ const PBadge = class {
|
|
|
19
19
|
return `badge ${this.type || ''}`;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("span", { key: '
|
|
22
|
+
return (h("span", { key: '73b65b4fa235ab733adaf0c96e4d48c67064a17c', class: this.getParentClass() }, h("span", { key: 'e1a461af88783ccde7f8c66a3863989ce4afa0c6', class: this.getClass() }, h("slot", { key: '93970fcc22b44e2526c918efae1ab3490436190a' }))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
PBadge.style = pBadgeCss;
|
|
@@ -51,7 +51,7 @@ const PButton = class {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const color = `var(--${this.type}${this.dark ? '-light' : ''})`;
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'e971d6de8b966f86d1384e7924f399e20471ffed', class: this.getParentClass() }, h("button", { key: '5e3a1523b364cc43330281a5337dc8ec26693fd7', disabled: this.disabled, type: "button", class: this.getClass() }, !this.loading ? h("slot", null) : h("p-spinner", { color: color, dark: this.dark }))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return getElement(this); }
|
|
57
57
|
};
|
package/dist/esm/p-card.entry.js
CHANGED
|
@@ -16,13 +16,13 @@ const PCard = class {
|
|
|
16
16
|
this.hasFooter = !!this.el.querySelector('[slot="footer"]');
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '4cb7a3e38b98061a1cd84b23775aa0df73d89925' }, h("div", { key: '4b44b04f35bc40cc1012c7542fb1963a13a3e970', class: {
|
|
20
20
|
papier: true,
|
|
21
21
|
'is--dark': this.dark,
|
|
22
22
|
'has--header': this.hasHeader === true,
|
|
23
23
|
'has--footer': this.hasFooter,
|
|
24
24
|
'with--radius': this.radius,
|
|
25
|
-
} }, h("div", { key: '
|
|
25
|
+
} }, h("div", { key: '47c37acf3feab648c13e315ead3820a36789e97c', class: "card" }, h("div", { key: 'e4c07665aa5a0415c26a3978de70903308ef27cd', class: "card-header" }, h("slot", { key: '315a88697f7d6e808f2da8879135734ff1131d33', name: "header" })), this.image && h("img", { key: 'e427f29c3a4b6c6e4fb5e46bfe17dfcaf0d2d149', class: "image-top", src: this.image, alt: "card-img" }), h("div", { key: 'aa9acf1260a632e3f079c856d76d3a316be65df5', class: "card-body" }, h("h4", { key: '3b1417cd014b15c424645d4194b2b1b5957e934d', class: "card-title" }, h("slot", { key: 'ad5172c294d95b6155c1720a407fd9c0d6a12586', name: "title" })), h("h5", { key: '1f35eb5349cd9d15006ad2490391691e97ceb482', class: "card-subtitle" }, h("slot", { key: '8598e111595356a8b3f1cf7ab4c232901c5be4a3', name: "subtitle" })), h("p", { key: 'ecb05a88b93f32c0228bb2bbf54c0e6c758b15e0', class: "card-text" }, h("slot", { key: '4cbed27c08e3e49e161d639af128f0aea1a431c4', name: "text" })), h("slot", { key: '9904a795fe28ec58ecc928c3e310df4f2ee9dd73' })), h("div", { key: 'c8fa285762f923e6af5dcfdbf168b8389821aa2e', class: "card-footer" }, h("slot", { key: '0f6a64c096943018fef819ad0297141a9fdb89bf', name: "footer" }))))));
|
|
26
26
|
}
|
|
27
27
|
get el() { return getElement(this); }
|
|
28
28
|
};
|
package/dist/esm/p-icon.entry.js
CHANGED
|
@@ -498,7 +498,7 @@ const PIcon = class {
|
|
|
498
498
|
this.color = 'inherit';
|
|
499
499
|
}
|
|
500
500
|
render() {
|
|
501
|
-
return (h(Host, { key: '
|
|
501
|
+
return (h(Host, { key: '2d5d525e1e021ade1abf1f8df20d9e60a8fc6510' }, h("div", { key: 'e870c8ebb9d78daf01b8ec8d2337cd3deeb60e15', innerHTML: icons[this.icon], style: {
|
|
502
502
|
color: this.color,
|
|
503
503
|
width: `${this.size}px`,
|
|
504
504
|
} })));
|