@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-input-text.entry.cjs.js","sources":["src/components/form/p-input-text/input-text.scss?tag=p-input-text&encapsulation=shadow","src/components/form/p-input-text/input-text.tsx"],"sourcesContent":[":host {\n @import \"../../common\";\n\n @include useBlock();\n\n label {\n color : var(--primary);\n }\n\n input + p {\n margin-top: 0;\n }\n\n .is--block {\n display: block;\n width: 100%;\n box-sizing: border-box;\n\n input {\n display: block;\n width: 100%;\n box-sizing: border-box;\n }\n }\n\n .papier {\n &.is--dark {\n\n &.has--error {\n label {\n color : var(--danger-light);\n }\n input {\n border-color : var(--danger-light);\n }\n }\n }\n &:not(.is--dark) {\n &.has--error {\n label {\n color : var(--danger-text);\n }\n input {\n border-color : var(--danger-text);\n }\n }\n }\n }\n}","import { Component, Event, type EventEmitter, h, Prop } from '@stencil/core'\n\n@Component({\n tag: 'p-input-text',\n styleUrl: 'input-text.scss',\n shadow: true,\n})\nexport class PInputText {\n @Prop()\n placeholder?: string\n\n @Prop({\n mutable: true,\n })\n value?: string = ''\n\n @Prop()\n required?: boolean = false\n\n @Prop()\n dark?: boolean = false\n\n @Prop()\n label?: string\n\n @Prop()\n disabled?: boolean = false\n\n @Prop()\n block?: boolean = false\n\n @Prop()\n error?: string\n\n @Event({\n eventName: 'change',\n })\n public changeEvent: EventEmitter<string>\n\n @Event({\n eventName: 'input',\n })\n public inputEvent: EventEmitter<string>\n\n public getParentClass() {\n let cssClass = 'papier form-group'\n\n if (this.dark) {\n cssClass = `${cssClass} is--dark`\n }\n if (this.block) {\n cssClass = `${cssClass} is--block`\n }\n if (this.error) {\n cssClass = `${cssClass} has--error`\n }\n\n return cssClass\n }\n\n public onInput(ev: Event) {\n this.value = ev.target && (ev.target as HTMLInputElement).value\n\n this.inputEvent.emit(this.value)\n }\n\n public onChange() {\n this.changeEvent.emit(this.value)\n }\n\n render() {\n return (\n <div class={this.getParentClass()}>\n {this.label && (\n <label htmlFor=\"paperInputs1\">\n {this.label}\n {this.required ? '*' : ''}\n </label>\n )}\n <input\n type=\"text\"\n
|
|
1
|
+
{"version":3,"file":"p-input-text.entry.cjs.js","sources":["src/components/form/p-input-text/input-text.scss?tag=p-input-text&encapsulation=shadow","src/components/form/p-input-text/input-text.tsx"],"sourcesContent":[":host {\n @import \"../../common\";\n\n @include useBlock();\n\n label {\n color : var(--primary);\n }\n\n .with--icon input {\n padding-left : 50px;\n }\n\n .for--input {\n position: relative;\n width : max-content;\n\n p-icon {\n position : absolute;\n left : 10px;\n top : 5px;\n }\n }\n\n input + p {\n margin-top: 0;\n }\n\n .is--block {\n display: block;\n width: 100%;\n box-sizing: border-box;\n\n input {\n display: block;\n width: 100%;\n box-sizing: border-box;\n }\n }\n\n .papier {\n &.is--dark {\n\n &.has--error {\n label {\n color : var(--danger-light);\n }\n input {\n border-color : var(--danger-light);\n }\n }\n }\n &:not(.is--dark) {\n &.has--error {\n label {\n color : var(--danger-text);\n }\n input {\n border-color : var(--danger-text);\n }\n }\n }\n }\n}\n","import { Component, Event, type EventEmitter, h, Prop } from '@stencil/core'\n\n@Component({\n tag: 'p-input-text',\n styleUrl: 'input-text.scss',\n shadow: true,\n})\nexport class PInputText {\n @Prop()\n placeholder?: string\n\n @Prop()\n icon?: string\n\n @Prop({\n mutable: true,\n })\n value?: string = ''\n\n @Prop()\n required?: boolean = false\n\n @Prop()\n dark?: boolean = false\n\n @Prop()\n label?: string\n\n @Prop()\n disabled?: boolean = false\n\n @Prop()\n block?: boolean = false\n\n @Prop()\n error?: string\n\n @Event({\n eventName: 'change',\n })\n public changeEvent: EventEmitter<string>\n\n @Event({\n eventName: 'input',\n })\n public inputEvent: EventEmitter<string>\n\n public getParentClass() {\n let cssClass = 'papier form-group'\n\n if (this.dark) {\n cssClass = `${cssClass} is--dark`\n }\n if (this.icon) {\n cssClass = `${cssClass} with--icon`\n }\n if (this.block) {\n cssClass = `${cssClass} is--block`\n }\n if (this.error) {\n cssClass = `${cssClass} has--error`\n }\n\n return cssClass\n }\n\n public onInput(ev: Event) {\n this.value = ev.target && (ev.target as HTMLInputElement).value\n\n this.inputEvent.emit(this.value)\n }\n\n public onChange() {\n this.changeEvent.emit(this.value)\n }\n\n render() {\n return (\n <div class={this.getParentClass()}>\n {this.label && (\n <label htmlFor=\"paperInputs1\">\n {this.label}\n {this.required ? '*' : ''}\n </label>\n )}\n <div class=\"for--input\">\n {this.icon && <p-icon icon={this.icon} size={30} color=\"inherit\"></p-icon>}\n <input\n type=\"text\"\n placeholder={this.placeholder}\n id=\"paperInputs1\"\n disabled={this.disabled}\n onInput={(e) => {\n this.onInput(e)\n }}\n value={this.value}\n onChange={() => this.onChange()}\n />\n </div>\n {this.error && <p class=\"text-danger\">{this.error}</p>}\n </div>\n )\n }\n}\n"],"names":["h"],"mappings":";;;;AAAA,MAAM,YAAY,GAAG,g3rFAAg3rF;;MCOx3rF,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAeI,QAAA,IAAK,CAAA,KAAA,GAAY,EAAE;AAGnB,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;AAG1B,QAAA,IAAI,CAAA,IAAA,GAAa,KAAK;AAMtB,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;AAG1B,QAAA,IAAK,CAAA,KAAA,GAAa,KAAK;AAuE1B;IAxDU,cAAc,GAAA;QACjB,IAAI,QAAQ,GAAG,mBAAmB;AAElC,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;AACX,YAAA,QAAQ,GAAG,CAAA,EAAG,QAAQ,CAAA,SAAA,CAAW;;AAErC,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;AACX,YAAA,QAAQ,GAAG,CAAA,EAAG,QAAQ,CAAA,WAAA,CAAa;;AAEvC,QAAA,IAAI,IAAI,CAAC,KAAK,EAAE;AACZ,YAAA,QAAQ,GAAG,CAAA,EAAG,QAAQ,CAAA,UAAA,CAAY;;AAEtC,QAAA,IAAI,IAAI,CAAC,KAAK,EAAE;AACZ,YAAA,QAAQ,GAAG,CAAA,EAAG,QAAQ,CAAA,WAAA,CAAa;;AAGvC,QAAA,OAAO,QAAQ;;AAGZ,IAAA,OAAO,CAAC,EAAS,EAAA;AACpB,QAAA,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,MAAM,IAAK,EAAE,CAAC,MAA2B,CAAC,KAAK;QAE/D,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;;IAG7B,QAAQ,GAAA;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;;IAGrC,MAAM,GAAA;AACF,QAAA,QACIA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,EAAA,EAC5B,IAAI,CAAC,KAAK,KACPA,OAAO,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,OAAO,EAAC,cAAc,EAAA,EACxB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,EAAE,CACrB,CACX,EACDA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,YAAY,EAAA,EAClB,IAAI,CAAC,IAAI,IAAIA,OAAQ,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,SAAS,EAAU,CAAA,EAC1EA,OACI,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,EAAE,EAAC,cAAc,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,KAAI;AACX,gBAAA,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;aAClB,EACD,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,GACjC,CACA,EACL,IAAI,CAAC,KAAK,IAAIA,OAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,KAAK,EAAC,aAAa,EAAE,EAAA,IAAI,CAAC,KAAK,CAAK,CACpD;;;;;;;"}
|
|
@@ -13,7 +13,7 @@ const Pleaf = class {
|
|
|
13
13
|
return this.dark ? 'papier is--dark' : 'papier';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h("div", { key: '
|
|
16
|
+
return (index.h("div", { key: 'f9e72b2e1b5192a07578a53a0f47caa3cea1519b', class: this.getParentClass() }, index.h("slot", { key: '36b5b3cc564ca4fcd141945e287574d76d929ff9' })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
Pleaf.style = pLeafCss;
|
|
@@ -18,7 +18,7 @@ const PModal = class {
|
|
|
18
18
|
this.closeEvent.emit(null);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'd147533d5fbe38e14a341e2da41809010076b304' }, this.isOpen && (index.h("div", { key: 'ce75a5719eaa3fc69e33decd020d246c1d178762', class: "papier" }, index.h("div", { key: 'dd6678bd096d2047a8e3572079001995c7b28e10', class: "modal" }, index.h("div", { key: '49941f09ad1339353fcc69ddbb05f4c9804511dc', class: "modal-bg", onClick: () => this.close() }), index.h("div", { key: '49f52249ceeb51610276e559e7eb29439f5ed574', class: "modal-body" }, index.h("span", { key: '8ab2f0d98493ba9e99fd3356399a297069a6c044', class: "btn-close", onClick: () => this.close() }, "X"), index.h("h4", { key: 'c550e2a4f1a40bda272eaca243b4afd9a15429b1', class: "modal-title" }, index.h("slot", { key: '2b79b85c1c5896948476a886a05e9a64c81921f9', name: "title" })), index.h("h5", { key: '21999812830b141b3d7501202328caffb2703937', class: "modal-subtitle" }, index.h("slot", { key: '5d53f30cb2679274393349c85c039f9fdaf9ed79', name: "sub-title" })), index.h("p", { key: '90d80ed45c92a1d9dd44cbb1d2e9cd0ba9dcf09e', class: "modal-text" }, index.h("slot", { key: 'c2390641cc79d2f94f413cd6a071e3c05c91b29a', name: "text" })), index.h("slot", { key: '4d4bdaf5ff2ea232799edfbe102ca8340223d1af' })))))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
PModal.style = pModalCss;
|
|
@@ -13,7 +13,7 @@ const PNotificationPreview = class {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h("div", { key: '
|
|
16
|
+
return (index.h("div", { key: '00c5d264d96f0174f3a30fb1dce1ee2164ced09d' }, index.h("p-notification-handler", { key: '5b09b26ab5e50e918f3ebde3bad0a90c43305f1c' }), index.h("p-dropdown", { key: '41304a8740cd7d24fe7089760a57b75d090ebfc9', placeholder: "Choose notification type", onSelect: (e) => {
|
|
17
17
|
this.notificationType = e.detail;
|
|
18
18
|
} }, [
|
|
19
19
|
'primary',
|
|
@@ -23,19 +23,19 @@ const PNotificationPreview = class {
|
|
|
23
23
|
'danger',
|
|
24
24
|
].map((value) => {
|
|
25
25
|
return (index.h("p-dropdown-item", { key: value, value: value }, value));
|
|
26
|
-
})), index.h("div", { key: '
|
|
26
|
+
})), index.h("div", { key: '48f2817adc574727f607539ec21b4d3690919f37', style: {
|
|
27
27
|
marginTop: '20px',
|
|
28
|
-
} }, index.h("p-button", { key: '
|
|
28
|
+
} }, index.h("p-button", { key: 'f59a2d18ec02c2170f387188c4e7be6836837528', style: {
|
|
29
29
|
marginRight: '20px',
|
|
30
30
|
}, type: "primary", onClick: () => {
|
|
31
31
|
this.addNotification({});
|
|
32
|
-
} }, "Add notification"), index.h("p-button", { key: '
|
|
32
|
+
} }, "Add notification"), index.h("p-button", { key: '149ec8a96a3249dd7d3ec228823b7408220054e7', type: "secondary", style: {
|
|
33
33
|
marginRight: '20px',
|
|
34
34
|
}, onClick: () => {
|
|
35
35
|
this.addNotification({
|
|
36
36
|
canclose: true,
|
|
37
37
|
});
|
|
38
|
-
} }, "Add closable notification"), index.h("p-button", { key: '
|
|
38
|
+
} }, "Add closable notification"), index.h("p-button", { key: '5a9191906a4fbd799b5657a2e609849ccae53b65', type: "success", onClick: () => {
|
|
39
39
|
this.addNotification({
|
|
40
40
|
timeout: 2000,
|
|
41
41
|
});
|
|
@@ -48,7 +48,7 @@ const PNotification = class {
|
|
|
48
48
|
this.close.emit(this.timestamp);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'a0d5f92b31a5c63fd928724bb89b13e42fba7bd0' }, index.h("div", { key: 'b61d0c5c6ef4d91406b491bce11818a044df2299', class: "papier" }, index.h("div", { key: 'eb457f0cd717c32b84ad5b48c4b0eca781231fd5', class: this.getClassName() }, index.h("div", { key: 'e9aa7784d0eed423620aa23bdf163e96c4d8ce70', innerHTML: this.getIconName() }), index.h("div", { key: 'a9f2f5786ceaf8f0c2957c94ca8d95d9151d5b42', innerHTML: this.text }), this.canclose && (index.h("span", { key: 'da499076ef6ead9c709f08755d66e5b7a3513655', onClick: () => {
|
|
52
52
|
this.onClose();
|
|
53
53
|
}, innerHTML: feather.feather.icons.x.toSvg() }))))));
|
|
54
54
|
}
|
|
@@ -52,7 +52,7 @@ const PProgressBar = class {
|
|
|
52
52
|
return cssClass;
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h("div", { key: '
|
|
55
|
+
return (index.h("div", { key: 'de30c85157323fede6e5ea439dc6e7af05df5023', class: this.getParentClass() }, index.h("div", { key: 'e318a69f15784eb628dba056584474ebdb4ff312', class: "progress" }, index.h("div", { key: '67a6146e8b1b8f6ff4743ccf254feaf40d7bbf36', class: this.getClass() }, index.h("slot", { key: '1729bce61cd65f7ad7e0ebcb5d0a1b4edb103846' })))));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
PProgressBar.style = pProgressBarCss;
|
|
@@ -17,11 +17,11 @@ const PSlider = class {
|
|
|
17
17
|
this.changeEvent.emit(Number.parseInt(e.target.value));
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '7ed16696a4bc89d920f0b99c7176ae88794a54a8' }, index.h("div", { key: 'c850a65a7c265a6b4c472b4d2a47fedc3f757858', class: {
|
|
21
21
|
papier: true,
|
|
22
22
|
'is--block': this.block,
|
|
23
23
|
'is--dark': this.dark,
|
|
24
|
-
} }, index.h("div", { key: '
|
|
24
|
+
} }, index.h("div", { key: '73140651cbf8a3cc409295b504a974e3cab30117', class: "form-group" }, index.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
|
}
|
|
@@ -15,12 +15,12 @@ const PSpinner = class {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: 'f3bbab7ece35c6b756f90d07e5fbda1593c5f38f' }, index.h("div", { key: '3a3747c4c68f1727ec4df8e0c66b487a518dc1d9', class: {
|
|
19
19
|
'p-spinner': true,
|
|
20
20
|
papier: true,
|
|
21
21
|
'is--large': this.large,
|
|
22
22
|
'is--dark': this.dark,
|
|
23
|
-
} }, index.h("div", { key: '
|
|
23
|
+
} }, index.h("div", { key: '6f9f7defd6133e17cccf962b097c24abdd50b785', class: "border border-primary", style: this.getStyle() }), index.h("div", { key: 'be6df3ee8cf9ebb9c9ae27928eea477cf5167761', class: "border border-primary", style: this.getStyle() }), index.h("div", { key: 'd539e63c209e600707f15d2940d2077a13038c13', class: "border border-primary", style: this.getStyle() }))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
PSpinner.style = pSpinnerCss;
|
|
@@ -33,10 +33,10 @@ const PSwitchTile = class {
|
|
|
33
33
|
return cssClass;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: 'c7a340243d239d030f8624f13732d37b7a803020' }, index.h("div", { key: '3908f209998d81480a9792fbc4a9889ca5e8f14c', class: {
|
|
37
37
|
papier: true,
|
|
38
38
|
'is--dark': this.dark,
|
|
39
|
-
} }, index.h("div", { key: '
|
|
39
|
+
} }, index.h("div", { key: 'daa23ed234394fa6cf7e57b8ce24eb6ac4866f7e', class: "form-group" }, index.h("label", { key: '60d68435b6061ffb132be1c57622c195d3abb0d5', htmlFor: "paperSwitch1", class: "paper-switch-tile" }, index.h("input", { key: '7608d7e153e046ae4ebacb77fa0084540316e6dd', id: "paperSwitch1", name: "paperSwitch1", type: "checkbox", checked: this.checked }), index.h("div", { key: '446aab945688f8b546dfec80d68c0754faab5ceb', class: "paper-switch-tile-card border" }, index.h("div", { key: '1653c6b0f8f289077d2e23bf929e1eb52d4a48ce', class: this.getFrontCardClass() }, index.h("slot", { key: 'd7d21685bd0033c23730e31be564c0690d6c1f81', name: "unchecked-text" })), index.h("div", { key: '59ca159cafd35a2a3e0f62b6d33529533b674fb9', class: this.getBackCardClass() }, index.h("slot", { key: '9e2838aabbcc96dc1ff00991c7df50dd88b44ad7', name: "checked-text" }))))))));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
PSwitchTile.style = switchTileCss;
|
|
@@ -19,13 +19,13 @@ const PSwitch = class {
|
|
|
19
19
|
this.changeEvent.emit(e.target.checked);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '5dfb01d966b38ba5345838902d4f05315b0fe93b' }, index.h("div", { key: 'ec2eb8b6c7161b2a9d992a1301b2de9afb9256a8', class: {
|
|
23
23
|
papier: true,
|
|
24
24
|
'is--dark': this.dark,
|
|
25
|
-
} }, index.h("div", { key: '
|
|
25
|
+
} }, index.h("div", { key: 'c8c37af8bd62aea833840b35ced7a17fab5e9fe8', class: "form-group" }, index.h("label", { key: 'b299f75b8a8c05d52fc6dcd32345658789c8ef51', class: {
|
|
26
26
|
'paper-switch': !this.square,
|
|
27
27
|
'paper-switch-2': this.square,
|
|
28
|
-
} }, index.h("input", { key: '
|
|
28
|
+
} }, index.h("input", { key: 'cb813924fb89d26050f0244369415927f90495a3', id: "paperSwitch4", name: "paperSwitch4", type: "checkbox", checked: this.checked, onInput: (e) => this.onInput(e) }), index.h("span", { key: 'f28e9e2f849ad63b47827ff270d3a963135f0935', class: {
|
|
29
29
|
round: this.round,
|
|
30
30
|
'paper-switch-slider': true,
|
|
31
31
|
} }))))));
|
|
@@ -11,11 +11,11 @@ const PTab = class {
|
|
|
11
11
|
this.dark = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '4e43d2f38a2e952105b22c412286fab1f96d8abc' }, index.h("div", { key: '353065c92ffa9244150037482bcd9321b8f76893', class: {
|
|
15
15
|
papier: true,
|
|
16
16
|
'is--selected': this.selected,
|
|
17
17
|
'is--dark': this.dark,
|
|
18
|
-
} }, index.h("slot", { key: '
|
|
18
|
+
} }, index.h("slot", { key: '0766a64a5f3c8229168b9ccd06173880ddad491f' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
PTab.style = pTabCss;
|
|
@@ -47,12 +47,12 @@ const PTabs = class {
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (index.h(index.Host, { key: '
|
|
50
|
+
return (index.h(index.Host, { key: 'b4fb55766cc259beab158cabbe30c29002cd0fb8' }, index.h("div", { key: 'fa79c0cae511d097b17f7d3e746c8ec2dcb531b1', class: {
|
|
51
51
|
'is--dark': this.dark,
|
|
52
52
|
papier: true,
|
|
53
|
-
} }, index.h("div", { key: '
|
|
53
|
+
} }, index.h("div", { key: '58fce38027efd851103483fcbe3013fd4496af8f', class: "row flex-spaces tabs" }, this.tabs.map((t) => {
|
|
54
54
|
return (index.h("label", { class: this.getTabClass(t), htmlFor: "tab1", key: t.title, onClick: () => this.onSelectTab(t) }, t.title));
|
|
55
|
-
}), index.h("div", { key: '
|
|
55
|
+
}), index.h("div", { key: '9f43cce27c573db15b4e9ec12efa4d7ff29d9673', class: "content" }, index.h("slot", { key: 'c3fe91c09787df8d35a4a132aa1d31008a3430d6' }))))));
|
|
56
56
|
}
|
|
57
57
|
get el() { return index.getElement(this); }
|
|
58
58
|
};
|
|
@@ -14,7 +14,7 @@ const PTooltip = class {
|
|
|
14
14
|
this.top = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: '31c1300ff9942abd6f8a02cccd43b165f1486f71' }, index.h("div", { key: 'c2c3f9efdb1bd21009b84e2bbae70be76d413382', class: "papier" }, index.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 }, index.h("slot", { key: 'a55beec254828006070d5f751e4dc6caaeae96b7' })))));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
PTooltip.style = pTooltipCss;
|
package/dist/cjs/papierjs.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["p-notification-preview.cjs",[[0,"p-notification-preview",{"notificationType":[32]}]]],["p-
|
|
22
|
+
return index.bootstrapLazy([["p-notification-preview.cjs",[[0,"p-notification-preview",{"notificationType":[32]}]]],["p-input-text.cjs",[[1,"p-input-text",{"placeholder":[1],"icon":[1],"value":[1025],"required":[4],"dark":[4],"label":[1],"disabled":[4],"block":[4],"error":[1]}]]],["p-accordion.cjs",[[1,"p-accordion",{"title":[1],"open":[1028]}]]],["p-alert.cjs",[[1,"p-alert",{"type":[1],"closable":[4],"dark":[4]}]]],["p-badge.cjs",[[1,"p-badge",{"type":[1],"dark":[4]}]]],["p-breadcrumb.cjs",[[1,"p-breadcrumb",{"dark":[4]}]]],["p-breadcrumb-item.cjs",[[1,"p-breadcrumb-item",{"dark":[4],"first":[4],"link":[1]}]]],["p-card.cjs",[[1,"p-card",{"dark":[4],"radius":[4],"image":[1],"hasHeader":[32],"hasFooter":[32]}]]],["p-leaf.cjs",[[4,"p-leaf",{"dark":[4]}]]],["p-modal.cjs",[[1,"p-modal",{"isOpen":[32],"open":[64],"close":[64]}]]],["p-progress-bar.cjs",[[1,"p-progress-bar",{"type":[1],"value":[2],"striped":[4],"dark":[4],"auto":[2],"interval":[32]}]]],["p-slider.cjs",[[1,"p-slider",{"value":[2],"min":[2],"max":[2],"block":[4],"dark":[4]}]]],["p-switch.cjs",[[1,"p-switch",{"round":[4],"square":[4],"dark":[4],"checked":[4]}]]],["p-switch-tile.cjs",[[1,"p-switch-tile",{"dark":[4],"checked":[4],"checkedBackground":[1,"checked-background"],"uncheckedBackground":[1,"unchecked-background"]}]]],["p-tab.cjs",[[1,"p-tab",{"title":[1],"selected":[1028],"dark":[4]}]]],["p-tabs.cjs",[[1,"p-tabs",{"dark":[4],"tabs":[32],"selectedTab":[32]}]]],["p-tooltip.cjs",[[1,"p-tooltip",{"title":[1],"disabled":[4],"left":[4],"right":[4],"bottom":[4],"top":[4]}]]],["p-icon.cjs",[[1,"p-icon",{"icon":[1],"size":[2],"color":[1],"svgContent":[32]}]]],["p-notification.cjs",[[1,"p-notification",{"type":[1],"text":[1],"canclose":[4],"timestamp":[1]}]]],["p-spinner.cjs",[[1,"p-spinner",{"large":[4],"color":[1],"dark":[4]}]]],["p-button_4.cjs",[[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);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -3221,6 +3221,18 @@
|
|
|
3221
3221
|
:host label {
|
|
3222
3222
|
color: var(--primary);
|
|
3223
3223
|
}
|
|
3224
|
+
:host .with--icon input {
|
|
3225
|
+
padding-left: 50px;
|
|
3226
|
+
}
|
|
3227
|
+
:host .for--input {
|
|
3228
|
+
position: relative;
|
|
3229
|
+
width: max-content;
|
|
3230
|
+
}
|
|
3231
|
+
:host .for--input p-icon {
|
|
3232
|
+
position: absolute;
|
|
3233
|
+
left: 10px;
|
|
3234
|
+
top: 5px;
|
|
3235
|
+
}
|
|
3224
3236
|
:host input + p {
|
|
3225
3237
|
margin-top: 0;
|
|
3226
3238
|
}
|
|
@@ -12,6 +12,9 @@ export class PInputText {
|
|
|
12
12
|
if (this.dark) {
|
|
13
13
|
cssClass = `${cssClass} is--dark`;
|
|
14
14
|
}
|
|
15
|
+
if (this.icon) {
|
|
16
|
+
cssClass = `${cssClass} with--icon`;
|
|
17
|
+
}
|
|
15
18
|
if (this.block) {
|
|
16
19
|
cssClass = `${cssClass} is--block`;
|
|
17
20
|
}
|
|
@@ -28,9 +31,9 @@ export class PInputText {
|
|
|
28
31
|
this.changeEvent.emit(this.value);
|
|
29
32
|
}
|
|
30
33
|
render() {
|
|
31
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'daad0464fa8c119c448f8b0b4220e4567f5d7d8e', class: this.getParentClass() }, this.label && (h("label", { key: '06cd7383d244a9257327f96ec611df263e9053d2', htmlFor: "paperInputs1" }, this.label, this.required ? '*' : '')), h("div", { key: '390e69f32e62f70a64601f8e0246938aa0870916', class: "for--input" }, this.icon && h("p-icon", { key: 'a2f96de6b03f3306ce1dbdfd2f0b43ec980ea2b7', icon: this.icon, size: 30, color: "inherit" }), h("input", { key: '63a78559652d75c34265cd372a8df438200ea2e4', type: "text", placeholder: this.placeholder, id: "paperInputs1", disabled: this.disabled, onInput: (e) => {
|
|
32
35
|
this.onInput(e);
|
|
33
|
-
}, value: this.value, onChange: () => this.onChange() }), this.error && h("p", { key: '
|
|
36
|
+
}, value: this.value, onChange: () => this.onChange() })), this.error && h("p", { key: '8e1da4ffaceb1842ad046bf1344f57bb3f515e08', class: "text-danger" }, this.error)));
|
|
34
37
|
}
|
|
35
38
|
static get is() { return "p-input-text"; }
|
|
36
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,6 +68,25 @@ export class PInputText {
|
|
|
65
68
|
"setter": false,
|
|
66
69
|
"reflect": false
|
|
67
70
|
},
|
|
71
|
+
"icon": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"attribute": "icon",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "string",
|
|
77
|
+
"resolved": "string",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": ""
|
|
85
|
+
},
|
|
86
|
+
"getter": false,
|
|
87
|
+
"setter": false,
|
|
88
|
+
"reflect": false
|
|
89
|
+
},
|
|
68
90
|
"value": {
|
|
69
91
|
"type": "string",
|
|
70
92
|
"attribute": "value",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-text.js","sourceRoot":"","sources":["../../../../src/components/form/p-input-text/input-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAqB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAO5E,MAAM,OAAO,UAAU;IALvB;
|
|
1
|
+
{"version":3,"file":"input-text.js","sourceRoot":"","sources":["../../../../src/components/form/p-input-text/input-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAqB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAO5E,MAAM,OAAO,UAAU;IALvB;QAeI,UAAK,GAAY,EAAE,CAAA;QAGnB,aAAQ,GAAa,KAAK,CAAA;QAG1B,SAAI,GAAa,KAAK,CAAA;QAMtB,aAAQ,GAAa,KAAK,CAAA;QAG1B,UAAK,GAAa,KAAK,CAAA;KAuE1B;IAxDU,cAAc;QACjB,IAAI,QAAQ,GAAG,mBAAmB,CAAA;QAElC,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACZ,QAAQ,GAAG,GAAG,QAAQ,WAAW,CAAA;QACrC,CAAC;QACD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACZ,QAAQ,GAAG,GAAG,QAAQ,aAAa,CAAA;QACvC,CAAC;QACD,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACb,QAAQ,GAAG,GAAG,QAAQ,YAAY,CAAA;QACtC,CAAC;QACD,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACb,QAAQ,GAAG,GAAG,QAAQ,aAAa,CAAA;QACvC,CAAC;QAED,OAAO,QAAQ,CAAA;IACnB,CAAC;IAEM,OAAO,CAAC,EAAS;QACpB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,MAAM,IAAK,EAAE,CAAC,MAA2B,CAAC,KAAK,CAAA;QAE/D,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC;IAEM,QAAQ;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACrC,CAAC;IAED,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE;YAC5B,IAAI,CAAC,KAAK,IAAI,CACX,8DAAO,OAAO,EAAC,cAAc;gBACxB,IAAI,CAAC,KAAK;gBACV,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CACrB,CACX;YACD,4DAAK,KAAK,EAAC,YAAY;gBAClB,IAAI,CAAC,IAAI,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,SAAS,GAAU;gBAC1E,8DACI,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,EAAE,EAAC,cAAc,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;wBACX,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;oBACnB,CAAC,EACD,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,GACjC,CACA;YACL,IAAI,CAAC,KAAK,IAAI,0DAAG,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,KAAK,CAAK,CACpD,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Event, type EventEmitter, h, Prop } from '@stencil/core'\n\n@Component({\n tag: 'p-input-text',\n styleUrl: 'input-text.scss',\n shadow: true,\n})\nexport class PInputText {\n @Prop()\n placeholder?: string\n\n @Prop()\n icon?: string\n\n @Prop({\n mutable: true,\n })\n value?: string = ''\n\n @Prop()\n required?: boolean = false\n\n @Prop()\n dark?: boolean = false\n\n @Prop()\n label?: string\n\n @Prop()\n disabled?: boolean = false\n\n @Prop()\n block?: boolean = false\n\n @Prop()\n error?: string\n\n @Event({\n eventName: 'change',\n })\n public changeEvent: EventEmitter<string>\n\n @Event({\n eventName: 'input',\n })\n public inputEvent: EventEmitter<string>\n\n public getParentClass() {\n let cssClass = 'papier form-group'\n\n if (this.dark) {\n cssClass = `${cssClass} is--dark`\n }\n if (this.icon) {\n cssClass = `${cssClass} with--icon`\n }\n if (this.block) {\n cssClass = `${cssClass} is--block`\n }\n if (this.error) {\n cssClass = `${cssClass} has--error`\n }\n\n return cssClass\n }\n\n public onInput(ev: Event) {\n this.value = ev.target && (ev.target as HTMLInputElement).value\n\n this.inputEvent.emit(this.value)\n }\n\n public onChange() {\n this.changeEvent.emit(this.value)\n }\n\n render() {\n return (\n <div class={this.getParentClass()}>\n {this.label && (\n <label htmlFor=\"paperInputs1\">\n {this.label}\n {this.required ? '*' : ''}\n </label>\n )}\n <div class=\"for--input\">\n {this.icon && <p-icon icon={this.icon} size={30} color=\"inherit\"></p-icon>}\n <input\n type=\"text\"\n placeholder={this.placeholder}\n id=\"paperInputs1\"\n disabled={this.disabled}\n onInput={(e) => {\n this.onInput(e)\n }}\n value={this.value}\n onChange={() => this.onChange()}\n />\n </div>\n {this.error && <p class=\"text-danger\">{this.error}</p>}\n </div>\n )\n }\n}\n"]}
|
|
@@ -10,11 +10,11 @@ export class PSlider {
|
|
|
10
10
|
this.changeEvent.emit(Number.parseInt(e.target.value));
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '7ed16696a4bc89d920f0b99c7176ae88794a54a8' }, h("div", { key: 'c850a65a7c265a6b4c472b4d2a47fedc3f757858', class: {
|
|
14
14
|
papier: true,
|
|
15
15
|
'is--block': this.block,
|
|
16
16
|
'is--dark': this.dark,
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, 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) => {
|
|
18
18
|
this.onInput(e);
|
|
19
19
|
} })))));
|
|
20
20
|
}
|
|
@@ -12,13 +12,13 @@ export class PSwitch {
|
|
|
12
12
|
this.changeEvent.emit(e.target.checked);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '5dfb01d966b38ba5345838902d4f05315b0fe93b' }, h("div", { key: 'ec2eb8b6c7161b2a9d992a1301b2de9afb9256a8', class: {
|
|
16
16
|
papier: true,
|
|
17
17
|
'is--dark': this.dark,
|
|
18
|
-
} }, h("div", { key: '
|
|
18
|
+
} }, h("div", { key: 'c8c37af8bd62aea833840b35ced7a17fab5e9fe8', class: "form-group" }, h("label", { key: 'b299f75b8a8c05d52fc6dcd32345658789c8ef51', class: {
|
|
19
19
|
'paper-switch': !this.square,
|
|
20
20
|
'paper-switch-2': this.square,
|
|
21
|
-
} }, h("input", { key: '
|
|
21
|
+
} }, h("input", { key: 'cb813924fb89d26050f0244369415927f90495a3', id: "paperSwitch4", name: "paperSwitch4", type: "checkbox", checked: this.checked, onInput: (e) => this.onInput(e) }), h("span", { key: 'f28e9e2f849ad63b47827ff270d3a963135f0935', class: {
|
|
22
22
|
round: this.round,
|
|
23
23
|
'paper-switch-slider': true,
|
|
24
24
|
} }))))));
|
|
@@ -30,10 +30,10 @@ export class PSwitchTile {
|
|
|
30
30
|
return cssClass;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'c7a340243d239d030f8624f13732d37b7a803020' }, h("div", { key: '3908f209998d81480a9792fbc4a9889ca5e8f14c', class: {
|
|
34
34
|
papier: true,
|
|
35
35
|
'is--dark': this.dark,
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, 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" }))))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "p-switch-tile"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class PNotification {
|
|
|
41
41
|
this.close.emit(this.timestamp);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'a0d5f92b31a5c63fd928724bb89b13e42fba7bd0' }, h("div", { key: 'b61d0c5c6ef4d91406b491bce11818a044df2299', class: "papier" }, h("div", { key: 'eb457f0cd717c32b84ad5b48c4b0eca781231fd5', class: this.getClassName() }, h("div", { key: 'e9aa7784d0eed423620aa23bdf163e96c4d8ce70', innerHTML: this.getIconName() }), h("div", { key: 'a9f2f5786ceaf8f0c2957c94ca8d95d9151d5b42', innerHTML: this.text }), this.canclose && (h("span", { key: 'da499076ef6ead9c709f08755d66e5b7a3513655', onClick: () => {
|
|
45
45
|
this.onClose();
|
|
46
46
|
}, innerHTML: feather.icons.x.toSvg() }))))));
|
|
47
47
|
}
|
package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js
CHANGED
|
@@ -74,7 +74,7 @@ export class PNotificationHandler {
|
|
|
74
74
|
},
|
|
75
75
|
"PushOptions": {
|
|
76
76
|
"location": "local",
|
|
77
|
-
"path": "/Users/
|
|
77
|
+
"path": "/Users/antoine/Projets/Github/papierjs/src/components/notification/p-notification-handler/p-notification-handler.tsx",
|
|
78
78
|
"id": "src/components/notification/p-notification-handler/p-notification-handler.tsx::PushOptions"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
@@ -7,7 +7,7 @@ export class PNotificationPreview {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '00c5d264d96f0174f3a30fb1dce1ee2164ced09d' }, h("p-notification-handler", { key: '5b09b26ab5e50e918f3ebde3bad0a90c43305f1c' }), h("p-dropdown", { key: '41304a8740cd7d24fe7089760a57b75d090ebfc9', placeholder: "Choose notification type", onSelect: (e) => {
|
|
11
11
|
this.notificationType = e.detail;
|
|
12
12
|
} }, [
|
|
13
13
|
'primary',
|
|
@@ -17,19 +17,19 @@ export class PNotificationPreview {
|
|
|
17
17
|
'danger',
|
|
18
18
|
].map((value) => {
|
|
19
19
|
return (h("p-dropdown-item", { key: value, value: value }, value));
|
|
20
|
-
})), h("div", { key: '
|
|
20
|
+
})), h("div", { key: '48f2817adc574727f607539ec21b4d3690919f37', style: {
|
|
21
21
|
marginTop: '20px',
|
|
22
|
-
} }, h("p-button", { key: '
|
|
22
|
+
} }, h("p-button", { key: 'f59a2d18ec02c2170f387188c4e7be6836837528', style: {
|
|
23
23
|
marginRight: '20px',
|
|
24
24
|
}, type: "primary", onClick: () => {
|
|
25
25
|
this.addNotification({});
|
|
26
|
-
} }, "Add notification"), h("p-button", { key: '
|
|
26
|
+
} }, "Add notification"), h("p-button", { key: '149ec8a96a3249dd7d3ec228823b7408220054e7', type: "secondary", style: {
|
|
27
27
|
marginRight: '20px',
|
|
28
28
|
}, onClick: () => {
|
|
29
29
|
this.addNotification({
|
|
30
30
|
canclose: true,
|
|
31
31
|
});
|
|
32
|
-
} }, "Add closable notification"), h("p-button", { key: '
|
|
32
|
+
} }, "Add closable notification"), h("p-button", { key: '5a9191906a4fbd799b5657a2e609849ccae53b65', type: "success", onClick: () => {
|
|
33
33
|
this.addNotification({
|
|
34
34
|
timeout: 2000,
|
|
35
35
|
});
|
|
@@ -10,12 +10,12 @@ export class PAccordion {
|
|
|
10
10
|
render() {
|
|
11
11
|
const icon = feather.icons['chevron-down'].toSvg();
|
|
12
12
|
const openIcon = feather.icons['chevron-up'].toSvg();
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
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: () => {
|
|
14
14
|
this.open = !this.open;
|
|
15
|
-
} }, h("span", { key: '
|
|
15
|
+
} }, 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: {
|
|
16
16
|
'p-accordion__content': true,
|
|
17
17
|
'is--open': this.open,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: 'fa89ddc760fd4541f6e64ba72999d70274d38b3f' }))))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "p-accordion"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class PAlert {
|
|
|
40
40
|
this.close.emit(null);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
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")))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "p-alert"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class PBadge {
|
|
|
15
15
|
return `badge ${this.type || ''}`;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h("span", { key: '
|
|
18
|
+
return (h("span", { key: '73b65b4fa235ab733adaf0c96e4d48c67064a17c', class: this.getParentClass() }, h("span", { key: 'e1a461af88783ccde7f8c66a3863989ce4afa0c6', class: this.getClass() }, h("slot", { key: '93970fcc22b44e2526c918efae1ab3490436190a' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "p-badge"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class PButton {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
const color = `var(--${this.type}${this.dark ? '-light' : ''})`;
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
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 }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "p-button"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,13 +19,13 @@ export class PCard {
|
|
|
19
19
|
this.hasFooter = !!this.el.querySelector('[slot="footer"]');
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '4cb7a3e38b98061a1cd84b23775aa0df73d89925' }, h("div", { key: '4b44b04f35bc40cc1012c7542fb1963a13a3e970', class: {
|
|
23
23
|
papier: true,
|
|
24
24
|
'is--dark': this.dark,
|
|
25
25
|
'has--header': this.hasHeader === true,
|
|
26
26
|
'has--footer': this.hasFooter,
|
|
27
27
|
'with--radius': this.radius,
|
|
28
|
-
} }, h("div", { key: '
|
|
28
|
+
} }, 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" }))))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "p-card"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class PIcon {
|
|
|
6
6
|
this.color = 'inherit';
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '2d5d525e1e021ade1abf1f8df20d9e60a8fc6510' }, h("div", { key: 'e870c8ebb9d78daf01b8ec8d2337cd3deeb60e15', innerHTML: icons[this.icon], style: {
|
|
10
10
|
color: this.color,
|
|
11
11
|
width: `${this.size}px`,
|
|
12
12
|
} })));
|
|
@@ -10,7 +10,7 @@ export class Pleaf {
|
|
|
10
10
|
return this.dark ? 'papier is--dark' : 'papier';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: 'f9e72b2e1b5192a07578a53a0f47caa3cea1519b', class: this.getParentClass() }, h("slot", { key: '36b5b3cc564ca4fcd141945e287574d76d929ff9' })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-leaf"; }
|
|
16
16
|
static get originalStyleUrls() {
|
|
@@ -11,7 +11,7 @@ export class PModal {
|
|
|
11
11
|
this.closeEvent.emit(null);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd147533d5fbe38e14a341e2da41809010076b304' }, this.isOpen && (h("div", { key: 'ce75a5719eaa3fc69e33decd020d246c1d178762', class: "papier" }, h("div", { key: 'dd6678bd096d2047a8e3572079001995c7b28e10', class: "modal" }, h("div", { key: '49941f09ad1339353fcc69ddbb05f4c9804511dc', class: "modal-bg", onClick: () => this.close() }), h("div", { key: '49f52249ceeb51610276e559e7eb29439f5ed574', class: "modal-body" }, h("span", { key: '8ab2f0d98493ba9e99fd3356399a297069a6c044', class: "btn-close", onClick: () => this.close() }, "X"), h("h4", { key: 'c550e2a4f1a40bda272eaca243b4afd9a15429b1', class: "modal-title" }, h("slot", { key: '2b79b85c1c5896948476a886a05e9a64c81921f9', name: "title" })), h("h5", { key: '21999812830b141b3d7501202328caffb2703937', class: "modal-subtitle" }, h("slot", { key: '5d53f30cb2679274393349c85c039f9fdaf9ed79', name: "sub-title" })), h("p", { key: '90d80ed45c92a1d9dd44cbb1d2e9cd0ba9dcf09e', class: "modal-text" }, h("slot", { key: 'c2390641cc79d2f94f413cd6a071e3c05c91b29a', name: "text" })), h("slot", { key: '4d4bdaf5ff2ea232799edfbe102ca8340223d1af' })))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "p-modal"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class PProgressBar {
|
|
|
46
46
|
return cssClass;
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'de30c85157323fede6e5ea439dc6e7af05df5023', class: this.getParentClass() }, h("div", { key: 'e318a69f15784eb628dba056584474ebdb4ff312', class: "progress" }, h("div", { key: '67a6146e8b1b8f6ff4743ccf254feaf40d7bbf36', class: this.getClass() }, h("slot", { key: '1729bce61cd65f7ad7e0ebcb5d0a1b4edb103846' })))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "p-progress-bar"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|