smoothly 1.2.1-alpha.35 → 1.2.1-alpha.36
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/smoothly-app_107.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-app_107.cjs.entry.js.map +1 -1
- package/dist/collection/components/button/Button.js +1 -1
- package/dist/collection/components/button/Button.js.map +1 -1
- package/dist/collection/components/toggle/index.js +1 -1
- package/dist/collection/components/toggle/index.js.map +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js.map +1 -1
- package/dist/components/{p-41a512ff.js → p-0960a2bb.js} +3 -3
- package/dist/components/{p-41a512ff.js.map → p-0960a2bb.js.map} +1 -1
- package/dist/components/{p-3cd7697d.js → p-09934532.js} +2 -2
- package/dist/components/{p-3cd7697d.js.map → p-09934532.js.map} +1 -1
- package/dist/components/{p-32e1ce99.js → p-214c06fa.js} +4 -4
- package/dist/components/{p-32e1ce99.js.map → p-214c06fa.js.map} +1 -1
- package/dist/components/{p-f79897b4.js → p-2738b430.js} +2 -2
- package/dist/components/{p-f79897b4.js.map → p-2738b430.js.map} +1 -1
- package/dist/components/{p-517dfb9c.js → p-29f6edb8.js} +3 -3
- package/dist/components/{p-517dfb9c.js.map → p-29f6edb8.js.map} +1 -1
- package/dist/components/{p-6e2f3b1e.js → p-2b111073.js} +2 -2
- package/dist/components/{p-6e2f3b1e.js.map → p-2b111073.js.map} +1 -1
- package/dist/components/{p-5afc1cdb.js → p-2c7d79f3.js} +6 -6
- package/dist/components/{p-5afc1cdb.js.map → p-2c7d79f3.js.map} +1 -1
- package/dist/components/{p-be6d380e.js → p-306f9cb3.js} +2 -2
- package/dist/components/{p-be6d380e.js.map → p-306f9cb3.js.map} +1 -1
- package/dist/components/{p-3a315e0d.js → p-3dad2f38.js} +10 -10
- package/dist/components/{p-3a315e0d.js.map → p-3dad2f38.js.map} +1 -1
- package/dist/components/{p-662c812d.js → p-41d6da47.js} +2 -2
- package/dist/components/p-41d6da47.js.map +1 -0
- package/dist/components/{p-c227ce6a.js → p-43b737be.js} +2 -2
- package/dist/components/{p-c227ce6a.js.map → p-43b737be.js.map} +1 -1
- package/dist/components/{p-be80faf1.js → p-44a51525.js} +20 -20
- package/dist/components/{p-be80faf1.js.map → p-44a51525.js.map} +1 -1
- package/dist/components/{p-47a1a01b.js → p-45ff39e4.js} +2 -2
- package/dist/components/p-45ff39e4.js.map +1 -0
- package/dist/components/{p-116f927a.js → p-498755ab.js} +2 -2
- package/dist/components/{p-116f927a.js.map → p-498755ab.js.map} +1 -1
- package/dist/components/{p-afd795e9.js → p-4d026008.js} +6 -6
- package/dist/components/{p-afd795e9.js.map → p-4d026008.js.map} +1 -1
- package/dist/components/{p-0dfa98b7.js → p-62b70c3f.js} +2 -2
- package/dist/components/{p-0dfa98b7.js.map → p-62b70c3f.js.map} +1 -1
- package/dist/components/{p-94f31f21.js → p-631148b4.js} +3 -3
- package/dist/components/{p-94f31f21.js.map → p-631148b4.js.map} +1 -1
- package/dist/components/{p-10a6e3b4.js → p-686ec006.js} +2 -2
- package/dist/components/{p-10a6e3b4.js.map → p-686ec006.js.map} +1 -1
- package/dist/components/{p-52e7f174.js → p-702f01d3.js} +5 -5
- package/dist/components/{p-52e7f174.js.map → p-702f01d3.js.map} +1 -1
- package/dist/components/{p-7f4ad104.js → p-7514961a.js} +2 -2
- package/dist/components/{p-7f4ad104.js.map → p-7514961a.js.map} +1 -1
- package/dist/components/{p-41f34075.js → p-8ea7eab2.js} +2 -2
- package/dist/components/{p-41f34075.js.map → p-8ea7eab2.js.map} +1 -1
- package/dist/components/{p-2b9f42a3.js → p-93e899e7.js} +5 -5
- package/dist/components/{p-2b9f42a3.js.map → p-93e899e7.js.map} +1 -1
- package/dist/components/{p-f9fe97a3.js → p-95404634.js} +6 -6
- package/dist/components/{p-f9fe97a3.js.map → p-95404634.js.map} +1 -1
- package/dist/components/{p-e7f4bf69.js → p-980ec6be.js} +2 -2
- package/dist/components/{p-e7f4bf69.js.map → p-980ec6be.js.map} +1 -1
- package/dist/components/{p-d3fafc96.js → p-99eb5153.js} +2 -2
- package/dist/components/{p-d3fafc96.js.map → p-99eb5153.js.map} +1 -1
- package/dist/components/{p-d3fe1762.js → p-a509a3b5.js} +4 -4
- package/dist/components/{p-d3fe1762.js.map → p-a509a3b5.js.map} +1 -1
- package/dist/components/{p-39cad705.js → p-acb7d70d.js} +12 -12
- package/dist/components/{p-39cad705.js.map → p-acb7d70d.js.map} +1 -1
- package/dist/components/{p-82e0a492.js → p-bb959ca6.js} +5 -5
- package/dist/components/{p-82e0a492.js.map → p-bb959ca6.js.map} +1 -1
- package/dist/components/{p-25c47692.js → p-ccb21ce6.js} +2 -2
- package/dist/components/{p-25c47692.js.map → p-ccb21ce6.js.map} +1 -1
- package/dist/components/{p-1bd15293.js → p-ce0f05d1.js} +4 -4
- package/dist/components/{p-1bd15293.js.map → p-ce0f05d1.js.map} +1 -1
- package/dist/components/{p-db24ff3a.js → p-d1daa4a3.js} +3 -3
- package/dist/components/{p-db24ff3a.js.map → p-d1daa4a3.js.map} +1 -1
- package/dist/components/{p-4f0db835.js → p-e3d11a1b.js} +5 -5
- package/dist/components/{p-4f0db835.js.map → p-e3d11a1b.js.map} +1 -1
- package/dist/components/{p-025840ff.js → p-e59eebf8.js} +3 -3
- package/dist/components/{p-025840ff.js.map → p-e59eebf8.js.map} +1 -1
- package/dist/components/{p-3335c1e5.js → p-e73af3d4.js} +7 -7
- package/dist/components/{p-3335c1e5.js.map → p-e73af3d4.js.map} +1 -1
- package/dist/components/{p-53671a89.js → p-f4da0b35.js} +2 -2
- package/dist/components/p-f4da0b35.js.map +1 -0
- package/dist/components/smoothly-app-demo.js +34 -34
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-button.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +9 -9
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-testing.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-toggle.js +1 -1
- package/dist/esm/smoothly-app_107.entry.js +3 -3
- package/dist/esm/smoothly-app_107.entry.js.map +1 -1
- package/dist/smoothly/p-191595d1.entry.js +2 -0
- package/dist/smoothly/p-191595d1.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-47a1a01b.js.map +0 -1
- package/dist/components/p-53671a89.js.map +0 -1
- package/dist/components/p-662c812d.js.map +0 -1
- package/dist/smoothly/p-e75cd2a4.entry.js +0 -2
- package/dist/smoothly/p-e75cd2a4.entry.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-e59eebf8.js","mappings":";;;;;;;;;;;;MAMa,sBAAsB;;;;;IAClC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,qEAAc,EACd,6EAAsB,IAAI,EAAC,OAAO,mBAAoC,CAChE,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/input/color/demo/index.tsx"],"sourcesContent":["import { Component, h, Host } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-input-color-demo\",\n\tstyles: \"style.css\",\n})\nexport class SmoothlyInputColorDemo {\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Color</h2>\n\t\t\t\t<smoothly-input-color name=\"color\">Choose color</smoothly-input-color>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { R as RGB } from './p-8e1e509d.js';
|
|
3
|
-
import { d as defineCustomElement$s } from './p-
|
|
4
|
-
import { d as defineCustomElement$r } from './p-
|
|
3
|
+
import { d as defineCustomElement$s } from './p-306f9cb3.js';
|
|
4
|
+
import { d as defineCustomElement$r } from './p-686ec006.js';
|
|
5
5
|
import { d as defineCustomElement$q } from './p-5b16ff97.js';
|
|
6
6
|
import { d as defineCustomElement$p } from './p-4f80c811.js';
|
|
7
7
|
import { d as defineCustomElement$o } from './p-f770567b.js';
|
|
@@ -12,22 +12,22 @@ import { d as defineCustomElement$k } from './p-ca69a0ef.js';
|
|
|
12
12
|
import { d as defineCustomElement$j } from './p-c63db1c1.js';
|
|
13
13
|
import { d as defineCustomElement$i } from './p-0b16cab5.js';
|
|
14
14
|
import { d as defineCustomElement$h } from './p-b1db8b28.js';
|
|
15
|
-
import { d as defineCustomElement$g } from './p-
|
|
15
|
+
import { d as defineCustomElement$g } from './p-2b111073.js';
|
|
16
16
|
import { d as defineCustomElement$f } from './p-f2fc107c.js';
|
|
17
17
|
import { d as defineCustomElement$e } from './p-9b4a2430.js';
|
|
18
|
-
import { d as defineCustomElement$d } from './p-
|
|
18
|
+
import { d as defineCustomElement$d } from './p-498755ab.js';
|
|
19
19
|
import { d as defineCustomElement$c } from './p-b20e3206.js';
|
|
20
20
|
import { d as defineCustomElement$b } from './p-79474a9a.js';
|
|
21
21
|
import { d as defineCustomElement$a } from './p-a071eaed.js';
|
|
22
22
|
import { d as defineCustomElement$9 } from './p-4c8ef04f.js';
|
|
23
23
|
import { d as defineCustomElement$8 } from './p-083143a9.js';
|
|
24
|
-
import { d as defineCustomElement$7 } from './p-
|
|
24
|
+
import { d as defineCustomElement$7 } from './p-631148b4.js';
|
|
25
25
|
import { d as defineCustomElement$6 } from './p-edcdcc51.js';
|
|
26
26
|
import { d as defineCustomElement$5 } from './p-c77944e7.js';
|
|
27
27
|
import { d as defineCustomElement$4 } from './p-cc863bad.js';
|
|
28
28
|
import { d as defineCustomElement$3 } from './p-ab304bad.js';
|
|
29
29
|
import { d as defineCustomElement$2 } from './p-040802e2.js';
|
|
30
|
-
import { d as defineCustomElement$1 } from './p-
|
|
30
|
+
import { d as defineCustomElement$1 } from './p-45ff39e4.js';
|
|
31
31
|
|
|
32
32
|
const styleCss = ".sc-smoothly-form-demo-pet-h{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:auto auto;grid-column-gap:2rem}.sc-smoothly-form-demo-pet-h smoothly-input-checkbox[name=\"hasOwner\"].sc-smoothly-form-demo-pet,.sc-smoothly-form-demo-pet-h>smoothly-form.sc-smoothly-form-demo-pet smoothly-summary.sc-smoothly-form-demo-pet,.sc-smoothly-form-demo-pet-h>smoothly-form.sc-smoothly-form-demo-pet smoothly-tabs.sc-smoothly-form-demo-pet{flex-basis:100%}";
|
|
33
33
|
const SmoothlyFormDemoPetStyle0 = styleCss;
|
|
@@ -210,4 +210,4 @@ defineCustomElement();
|
|
|
210
210
|
|
|
211
211
|
export { SmoothlyFormDemoPet as S, defineCustomElement as d };
|
|
212
212
|
|
|
213
|
-
//# sourceMappingURL=p-
|
|
213
|
+
//# sourceMappingURL=p-e73af3d4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-3335c1e5.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,2cAA2c,CAAC;AAC7d,kCAAe,QAAQ;;MCQV,mBAAmB;;;;wBACX,KAAK;qBAWrB,EAAE;;;IAGN,MAAM;;QACL,QACC,EAAC,IAAI,uDACJ,mEAAY,EACZ,qEAAc,EACd,sEACC,KAAK,EAAC,QAAQ,EACd,oBAAoB,EAAE,CAAC,CAAc,KAAK,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EACzE,mBAAmB,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,qBAAQ,CAAC,CAAC,MAAM,CAAE,CAAC,IACxD,uEAAgB,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,YAAY,WAE5B,EACjB,uEAAgB,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,KAAK,kBAExB,EACjB,gFACC,IAAI,EAAC,UAAU,EACf,mBAAmB,EAAE,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,EAC7C,eAAe,EAAE,CAAC;gBACjB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,QAAmB,CAAA;gBAC5C,CAAC,CAAC,eAAe,EAAE,CAAA;aACnB,gBAEwB,EACzB,IAAI,CAAC,QAAQ,KACb,EAAC,QAAQ,uDACR,uEACC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,iBAAiB,EACtB,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C,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/form/demo/pet/style.css?tag=smoothly-form-demo-pet&encapsulation=scoped","src/components/form/demo/pet/index.tsx"],"sourcesContent":["\n:host {\n\tdisplay: grid;\n\tgrid-template-columns: 2fr 1fr;\n\tgrid-template-rows: auto auto;\n\tgrid-column-gap: 2rem;\n}\n\n:host smoothly-input-checkbox[name=\"hasOwner\"],\n:host > smoothly-form smoothly-summary,\n:host > smoothly-form smoothly-tabs {\n\tflex-basis: 100%;\n}\n","import { Component, Fragment, h, Host, State, VNode } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\nimport { RGB } from \"../../../../model/Color/RGB\"\n\n@Component({\n\ttag: \"smoothly-form-demo-pet\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoPet {\n\t@State() hasOwner = false\n\t@State() owner: {\n\t\tfirstName?: string\n\t\tlastName?: string\n\t\tbirthday?: string\n\t\townedRange?: isoly.DateRange\n\t\theight?: number\n\t\tfavoriteHat?: string\n\t\tfavoriteColor?: RGB\n\t\tfavoritePizza?: string\n\t\thasPet?: boolean\n\t} = {}\n\t@State() value: any\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Pet</h2>\n\t\t\t\t<h3>Value</h3>\n\t\t\t\t<smoothly-form\n\t\t\t\t\tlooks=\"border\"\n\t\t\t\t\tonSmoothlyFormSubmit={(e: CustomEvent) => alert(JSON.stringify(e.detail))}\n\t\t\t\t\tonSmoothlyFormInput={e => (this.value = { ...e.detail })}>\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"name.first\">\n\t\t\t\t\t\tName\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"integer\" name=\"age\">\n\t\t\t\t\t\tAge (Years)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-checkbox\n\t\t\t\t\t\tname=\"hasOwner\"\n\t\t\t\t\t\tonSmoothlyInputLoad={e => e.stopPropagation()}\n\t\t\t\t\t\tonSmoothlyInput={e => {\n\t\t\t\t\t\t\tthis.hasOwner = e.detail.hasOwner as boolean\n\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\tHas Owner\n\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t{this.hasOwner && (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tname=\"owner.firstName\"\n\t\t\t\t\t\t\t\tvalue={this.owner.firstName}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, firstName: e.detail[\"owner.firstName\"] })}>\n\t\t\t\t\t\t\t\tOwner First Name\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tname=\"owner.lastName\"\n\t\t\t\t\t\t\t\tvalue={this.owner.lastName}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, lastName: e.detail[\"owner.lastName\"] })}>\n\t\t\t\t\t\t\t\tOwner Last Name\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"owner.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date\n\t\t\t\t\t\t\t\tname=\"owner.birthday\"\n\t\t\t\t\t\t\t\tvalue={this.owner.birthday}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, birthday: e.detail[\"owner.birthday\"] })}>\n\t\t\t\t\t\t\t\tOwner birthday\n\t\t\t\t\t\t\t</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range\n\t\t\t\t\t\t\t\tname=\"owner.ownedRange\"\n\t\t\t\t\t\t\t\tstart={this.owner.ownedRange?.start}\n\t\t\t\t\t\t\t\tend={this.owner.ownedRange?.end}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, ownedRange: e.detail[\"owner.ownedRange\"] })}>\n\t\t\t\t\t\t\t\tOwner ownedRange\n\t\t\t\t\t\t\t</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-range\n\t\t\t\t\t\t\t\tname=\"owner.height\"\n\t\t\t\t\t\t\t\tstep={1}\n\t\t\t\t\t\t\t\tmax={250}\n\t\t\t\t\t\t\t\tvalue={this.owner.height}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, height: e.detail[\"owner.height\"] })}>\n\t\t\t\t\t\t\t\tOwner's Height\n\t\t\t\t\t\t\t</smoothly-input-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"owner.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index} selected={this.owner.favoriteHat == value}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-color\n\t\t\t\t\t\t\t\tname=\"owner.favoriteColor\"\n\t\t\t\t\t\t\t\tvalue={this.owner.favoriteColor ? RGB.toHex(this.owner.favoriteColor) : undefined}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, favoriteColor: e.detail[\"owner.favoriteColor\"] })}>\n\t\t\t\t\t\t\t\tOwner's Favorite Color\n\t\t\t\t\t\t\t</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio\n\t\t\t\t\t\t\t\tname=\"owner.favoritePizza\"\n\t\t\t\t\t\t\t\tvalue={this.owner.favoritePizza}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e =>\n\t\t\t\t\t\t\t\t\t(this.owner = { ...this.owner, favoritePizza: e.detail[\"owner.favoritePizza\"] as string })\n\t\t\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox\n\t\t\t\t\t\t\t\tname=\"owner.hasPet\"\n\t\t\t\t\t\t\t\tchecked={this.owner.hasPet}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, hasPet: e.detail[\"owner.hasPet\"] as boolean })}>\n\t\t\t\t\t\t\t\tHas Pet\n\t\t\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t)}\n\t\t\t\t\t<smoothly-summary>\n\t\t\t\t\t\t<span slot=\"summary\">Summary</span>\n\t\t\t\t\t\t<div slot=\"content\">\n\t\t\t\t\t\t\t<smoothly-input type=\"price\" name=\"summary.price\" currency=\"EUR\">\n\t\t\t\t\t\t\t\tSummary Price\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"summary.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date name=\"summary.birthday\">Summary birthday</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range name=\"summary.ownedRange\">Summary ownedRange</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-range name=\"summary.height\">Height</smoothly-input-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"summary.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-month name=\"summary.month\">Summary Month</smoothly-input-month>\n\t\t\t\t\t\t\t<smoothly-input-color name=\"summary.color\">Summary Color</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio name=\"summary.favoritePizza\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox name=\"summary.hasPet\">Has Pet</smoothly-input-checkbox>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</smoothly-summary>\n\t\t\t\t\t<smoothly-tabs>\n\t\t\t\t\t\t<smoothly-tab label=\"Dog\">\n\t\t\t\t\t\t\t<smoothly-input type={\"text\"} name=\"dog.breed\">\n\t\t\t\t\t\t\t\tBreed\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"dog.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date name=\"dog.birthday\">Dog birthday</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range name=\"dog.dateRange\">Dog date range</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"dog.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-color name=\"dog.favoriteColor\">Dog's Favorite Color</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio name=\"dog.favoritePizza\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox name=\"dog.hasPet\">Has Pet</smoothly-input-checkbox>\n\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t\t<smoothly-tab label=\"Cat\" open>\n\t\t\t\t\t\t\t<smoothly-input name={\"cat.favoriteFood\"}>Favorite Food</smoothly-input>\n\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t</smoothly-tabs>\n\t\t\t\t\t<smoothly-input-submit size=\"icon\" slot=\"submit\" color=\"success\" fill=\"solid\" />\n\t\t\t\t</smoothly-form>\n\t\t\t\t<smoothly-display type=\"json\" value={this.value} />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-e73af3d4.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,2cAA2c,CAAC;AAC7d,kCAAe,QAAQ;;MCQV,mBAAmB;;;;wBACX,KAAK;qBAWrB,EAAE;;;IAGN,MAAM;;QACL,QACC,EAAC,IAAI,uDACJ,mEAAY,EACZ,qEAAc,EACd,sEACC,KAAK,EAAC,QAAQ,EACd,oBAAoB,EAAE,CAAC,CAAc,KAAK,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EACzE,mBAAmB,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,qBAAQ,CAAC,CAAC,MAAM,CAAE,CAAC,IACxD,uEAAgB,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,YAAY,WAE5B,EACjB,uEAAgB,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,KAAK,kBAExB,EACjB,gFACC,IAAI,EAAC,UAAU,EACf,mBAAmB,EAAE,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,EAC7C,eAAe,EAAE,CAAC;gBACjB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,QAAmB,CAAA;gBAC5C,CAAC,CAAC,eAAe,EAAE,CAAA;aACnB,gBAEwB,EACzB,IAAI,CAAC,QAAQ,KACb,EAAC,QAAQ,uDACR,uEACC,IAAI,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C,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CAC7C,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/form/demo/pet/style.css?tag=smoothly-form-demo-pet&encapsulation=scoped","src/components/form/demo/pet/index.tsx"],"sourcesContent":["\n:host {\n\tdisplay: grid;\n\tgrid-template-columns: 2fr 1fr;\n\tgrid-template-rows: auto auto;\n\tgrid-column-gap: 2rem;\n}\n\n:host smoothly-input-checkbox[name=\"hasOwner\"],\n:host > smoothly-form smoothly-summary,\n:host > smoothly-form smoothly-tabs {\n\tflex-basis: 100%;\n}\n","import { Component, Fragment, h, Host, State, VNode } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\nimport { RGB } from \"../../../../model/Color/RGB\"\n\n@Component({\n\ttag: \"smoothly-form-demo-pet\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoPet {\n\t@State() hasOwner = false\n\t@State() owner: {\n\t\tfirstName?: string\n\t\tlastName?: string\n\t\tbirthday?: string\n\t\townedRange?: isoly.DateRange\n\t\theight?: number\n\t\tfavoriteHat?: string\n\t\tfavoriteColor?: RGB\n\t\tfavoritePizza?: string\n\t\thasPet?: boolean\n\t} = {}\n\t@State() value: any\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Pet</h2>\n\t\t\t\t<h3>Value</h3>\n\t\t\t\t<smoothly-form\n\t\t\t\t\tlooks=\"border\"\n\t\t\t\t\tonSmoothlyFormSubmit={(e: CustomEvent) => alert(JSON.stringify(e.detail))}\n\t\t\t\t\tonSmoothlyFormInput={e => (this.value = { ...e.detail })}>\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"name.first\">\n\t\t\t\t\t\tName\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"integer\" name=\"age\">\n\t\t\t\t\t\tAge (Years)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-checkbox\n\t\t\t\t\t\tname=\"hasOwner\"\n\t\t\t\t\t\tonSmoothlyInputLoad={e => e.stopPropagation()}\n\t\t\t\t\t\tonSmoothlyInput={e => {\n\t\t\t\t\t\t\tthis.hasOwner = e.detail.hasOwner as boolean\n\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\tHas Owner\n\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t{this.hasOwner && (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tname=\"owner.firstName\"\n\t\t\t\t\t\t\t\tvalue={this.owner.firstName}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, firstName: e.detail[\"owner.firstName\"] })}>\n\t\t\t\t\t\t\t\tOwner First Name\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\tname=\"owner.lastName\"\n\t\t\t\t\t\t\t\tvalue={this.owner.lastName}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, lastName: e.detail[\"owner.lastName\"] })}>\n\t\t\t\t\t\t\t\tOwner Last Name\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"owner.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date\n\t\t\t\t\t\t\t\tname=\"owner.birthday\"\n\t\t\t\t\t\t\t\tvalue={this.owner.birthday}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, birthday: e.detail[\"owner.birthday\"] })}>\n\t\t\t\t\t\t\t\tOwner birthday\n\t\t\t\t\t\t\t</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range\n\t\t\t\t\t\t\t\tname=\"owner.ownedRange\"\n\t\t\t\t\t\t\t\tstart={this.owner.ownedRange?.start}\n\t\t\t\t\t\t\t\tend={this.owner.ownedRange?.end}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, ownedRange: e.detail[\"owner.ownedRange\"] })}>\n\t\t\t\t\t\t\t\tOwner ownedRange\n\t\t\t\t\t\t\t</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-range\n\t\t\t\t\t\t\t\tname=\"owner.height\"\n\t\t\t\t\t\t\t\tstep={1}\n\t\t\t\t\t\t\t\tmax={250}\n\t\t\t\t\t\t\t\tvalue={this.owner.height}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, height: e.detail[\"owner.height\"] })}>\n\t\t\t\t\t\t\t\tOwner's Height\n\t\t\t\t\t\t\t</smoothly-input-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"owner.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index} selected={this.owner.favoriteHat == value}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-color\n\t\t\t\t\t\t\t\tname=\"owner.favoriteColor\"\n\t\t\t\t\t\t\t\tvalue={this.owner.favoriteColor ? RGB.toHex(this.owner.favoriteColor) : undefined}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, favoriteColor: e.detail[\"owner.favoriteColor\"] })}>\n\t\t\t\t\t\t\t\tOwner's Favorite Color\n\t\t\t\t\t\t\t</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio\n\t\t\t\t\t\t\t\tname=\"owner.favoritePizza\"\n\t\t\t\t\t\t\t\tvalue={this.owner.favoritePizza}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e =>\n\t\t\t\t\t\t\t\t\t(this.owner = { ...this.owner, favoritePizza: e.detail[\"owner.favoritePizza\"] as string })\n\t\t\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\t<span slot=\"label\">Owner's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox\n\t\t\t\t\t\t\t\tname=\"owner.hasPet\"\n\t\t\t\t\t\t\t\tchecked={this.owner.hasPet}\n\t\t\t\t\t\t\t\tonSmoothlyInput={e => (this.owner = { ...this.owner, hasPet: e.detail[\"owner.hasPet\"] as boolean })}>\n\t\t\t\t\t\t\t\tHas Pet\n\t\t\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t)}\n\t\t\t\t\t<smoothly-summary>\n\t\t\t\t\t\t<span slot=\"summary\">Summary</span>\n\t\t\t\t\t\t<div slot=\"content\">\n\t\t\t\t\t\t\t<smoothly-input type=\"price\" name=\"summary.price\" currency=\"EUR\">\n\t\t\t\t\t\t\t\tSummary Price\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"summary.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date name=\"summary.birthday\">Summary birthday</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range name=\"summary.ownedRange\">Summary ownedRange</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-range name=\"summary.height\">Height</smoothly-input-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"summary.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-month name=\"summary.month\">Summary Month</smoothly-input-month>\n\t\t\t\t\t\t\t<smoothly-input-color name=\"summary.color\">Summary Color</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio name=\"summary.favoritePizza\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Summary's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox name=\"summary.hasPet\">Has Pet</smoothly-input-checkbox>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</smoothly-summary>\n\t\t\t\t\t<smoothly-tabs>\n\t\t\t\t\t\t<smoothly-tab label=\"Dog\">\n\t\t\t\t\t\t\t<smoothly-input type={\"text\"} name=\"dog.breed\">\n\t\t\t\t\t\t\t\tBreed\n\t\t\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t\t\t<smoothly-input-file name=\"dog.picture\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog picture</span>\n\t\t\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t\t\t<smoothly-input-date name=\"dog.birthday\">Dog birthday</smoothly-input-date>\n\t\t\t\t\t\t\t<smoothly-input-date-range name=\"dog.dateRange\">Dog date range</smoothly-input-date-range>\n\t\t\t\t\t\t\t<smoothly-input-select name=\"dog.favoriteHat\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog's Favorite Hat</span>\n\t\t\t\t\t\t\t\t{[\"🎩 top hat\", \"🧢 cap\", \"👒 sun hat\", \"❌ none\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t\t<smoothly-input-color name=\"dog.favoriteColor\">Dog's Favorite Color</smoothly-input-color>\n\t\t\t\t\t\t\t<smoothly-input-radio name=\"dog.favoritePizza\">\n\t\t\t\t\t\t\t\t<span slot=\"label\">Dog's Favorite Pizza</span>\n\t\t\t\t\t\t\t\t{[\"vesuvio\", \"capricciosa\", \"quattro formaggi\"].map((value, index) => (\n\t\t\t\t\t\t\t\t\t<smoothly-input-radio-item value={value} key={index}>\n\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t\t\t<smoothly-input-checkbox name=\"dog.hasPet\">Has Pet</smoothly-input-checkbox>\n\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t\t<smoothly-tab label=\"Cat\" open>\n\t\t\t\t\t\t\t<smoothly-input name={\"cat.favoriteFood\"}>Favorite Food</smoothly-input>\n\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t</smoothly-tabs>\n\t\t\t\t\t<smoothly-input-submit size=\"icon\" slot=\"submit\" color=\"success\" fill=\"solid\" />\n\t\t\t\t</smoothly-form>\n\t\t\t\t<smoothly-display type=\"json\" value={this.value} />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -13,7 +13,7 @@ const Button = ({ disabled, type, link }, children) => {
|
|
|
13
13
|
h("slot", { name: "start" }),
|
|
14
14
|
h("slot", null),
|
|
15
15
|
children,
|
|
16
|
-
h("slot", { name: "end" }))) : (h("button", { disabled: disabled },
|
|
16
|
+
h("slot", { name: "end" }))) : (h("button", { type: "button", disabled: disabled },
|
|
17
17
|
h("slot", { name: "start" }),
|
|
18
18
|
h("slot", null),
|
|
19
19
|
children,
|
|
@@ -35,4 +35,4 @@ function local(path) {
|
|
|
35
35
|
|
|
36
36
|
export { Button as B };
|
|
37
37
|
|
|
38
|
-
//# sourceMappingURL=p-
|
|
38
|
+
//# sourceMappingURL=p-f4da0b35.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-f4da0b35.js","mappings":";;;;;;MAGa,MAAM,GAA2C,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ;IAChG,OAAO,QAAQ,KAAK,IAAI,IAAI,IAAI,IAAI,MAAM,CAAC,IAC1C,eAAa,IACV,IAAI,IAAI,MAAM,IACjB,SAAG,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,EAAE,QAAQ,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AAC,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAA;AAC9E;;;;","names":[],"sources":["src/components/button/Button.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\"\nimport { redirect } from \"../../model\"\n\nexport const Button: FunctionalComponent<Button.Properties> = ({ disabled, type, link }, children) => {\n\treturn disabled && (link || type == \"link\") ? (\n\t\t<slot></slot>\n\t) : type == \"link\" ? (\n\t\t<a href={link} onClick={!link || !local(link) ? undefined : e => (e.preventDefault(), redirect(convert(link)))}>\n\t\t\t<slot name=\"start\"></slot>\n\t\t\t<slot></slot>\n\t\t\t{children}\n\t\t\t<slot name=\"end\"></slot>\n\t\t</a>\n\t) : type == \"download\" ? (\n\t\t<a href={link} target=\"_blank\" download>\n\t\t\t<slot name=\"start\"></slot>\n\t\t\t<slot></slot>\n\t\t\t{children}\n\t\t\t<slot name=\"end\"></slot>\n\t\t</a>\n\t) : (\n\t\t<button type=\"button\" disabled={disabled}>\n\t\t\t<slot name=\"start\"></slot>\n\t\t\t<slot></slot>\n\t\t\t{children}\n\t\t\t<slot name=\"end\"></slot>\n\t\t</button>\n\t)\n}\nfunction convert(path: string): string {\n\tlet result: ReturnType<typeof convert>\n\tif (path.startsWith(window.location.origin))\n\t\tresult = new URL(path).pathname\n\telse if (path.match(/^\\//))\n\t\tresult = new URL(path, window.location.origin).pathname\n\telse\n\t\tresult = new URL(`${window.location.pathname.replace(/\\/+$/, \"\")}/${path}`, window.location.origin).pathname\n\n\treturn result\n}\n\nfunction local(path: string): boolean {\n\treturn new URL(path, window.location.origin).origin == window.location.origin\n}\nexport namespace Button {\n\texport interface Properties {\n\t\tdisabled: boolean\n\t\ttype: \"link\" | \"button\" | \"download\"\n\t\tlink?: string\n\t}\n}\n"],"version":3}
|
|
@@ -3,14 +3,14 @@ import { d as defineCustomElement$1H } from './p-466856c4.js';
|
|
|
3
3
|
import { d as defineCustomElement$1G } from './p-462b875b.js';
|
|
4
4
|
import { d as defineCustomElement$1F } from './p-3c7a0927.js';
|
|
5
5
|
import { d as defineCustomElement$1E } from './p-9e0dd271.js';
|
|
6
|
-
import { d as defineCustomElement$1D } from './p-
|
|
7
|
-
import { d as defineCustomElement$1C } from './p-
|
|
8
|
-
import { d as defineCustomElement$1B } from './p-
|
|
6
|
+
import { d as defineCustomElement$1D } from './p-306f9cb3.js';
|
|
7
|
+
import { d as defineCustomElement$1C } from './p-686ec006.js';
|
|
8
|
+
import { d as defineCustomElement$1B } from './p-2c7d79f3.js';
|
|
9
9
|
import { d as defineCustomElement$1A } from './p-5b16ff97.js';
|
|
10
10
|
import { d as defineCustomElement$1z } from './p-ca7d6987.js';
|
|
11
|
-
import { d as defineCustomElement$1y } from './p-
|
|
11
|
+
import { d as defineCustomElement$1y } from './p-ccb21ce6.js';
|
|
12
12
|
import { d as defineCustomElement$1x } from './p-4f80c811.js';
|
|
13
|
-
import { d as defineCustomElement$1w } from './p-
|
|
13
|
+
import { d as defineCustomElement$1w } from './p-980ec6be.js';
|
|
14
14
|
import { d as defineCustomElement$1v } from './p-d2d74dcd.js';
|
|
15
15
|
import { d as defineCustomElement$1u } from './p-f770567b.js';
|
|
16
16
|
import { d as defineCustomElement$1t } from './p-96acfe2c.js';
|
|
@@ -22,40 +22,40 @@ import { d as defineCustomElement$1o } from './p-f6149a35.js';
|
|
|
22
22
|
import { d as defineCustomElement$1n } from './p-1c62f140.js';
|
|
23
23
|
import { d as defineCustomElement$1m } from './p-5aa92290.js';
|
|
24
24
|
import { d as defineCustomElement$1l } from './p-ca69a0ef.js';
|
|
25
|
-
import { d as defineCustomElement$1k } from './p-
|
|
26
|
-
import { d as defineCustomElement$1j } from './p-
|
|
27
|
-
import { d as defineCustomElement$1i } from './p-
|
|
28
|
-
import { d as defineCustomElement$1h } from './p-
|
|
29
|
-
import { d as defineCustomElement$1g } from './p-
|
|
30
|
-
import { d as defineCustomElement$1f } from './p-
|
|
31
|
-
import { d as defineCustomElement$1e } from './p-
|
|
32
|
-
import { d as defineCustomElement$1d } from './p-
|
|
33
|
-
import { d as defineCustomElement$1c } from './p-
|
|
34
|
-
import { d as defineCustomElement$1b } from './p-
|
|
35
|
-
import { d as defineCustomElement$1a } from './p-
|
|
25
|
+
import { d as defineCustomElement$1k } from './p-44a51525.js';
|
|
26
|
+
import { d as defineCustomElement$1j } from './p-3dad2f38.js';
|
|
27
|
+
import { d as defineCustomElement$1i } from './p-214c06fa.js';
|
|
28
|
+
import { d as defineCustomElement$1h } from './p-4d026008.js';
|
|
29
|
+
import { d as defineCustomElement$1g } from './p-ce0f05d1.js';
|
|
30
|
+
import { d as defineCustomElement$1f } from './p-a509a3b5.js';
|
|
31
|
+
import { d as defineCustomElement$1e } from './p-93e899e7.js';
|
|
32
|
+
import { d as defineCustomElement$1d } from './p-e73af3d4.js';
|
|
33
|
+
import { d as defineCustomElement$1c } from './p-702f01d3.js';
|
|
34
|
+
import { d as defineCustomElement$1b } from './p-bb959ca6.js';
|
|
35
|
+
import { d as defineCustomElement$1a } from './p-e3d11a1b.js';
|
|
36
36
|
import { d as defineCustomElement$19 } from './p-2d60ab95.js';
|
|
37
37
|
import { d as defineCustomElement$18 } from './p-c63db1c1.js';
|
|
38
|
-
import { d as defineCustomElement$17 } from './p-
|
|
38
|
+
import { d as defineCustomElement$17 } from './p-29f6edb8.js';
|
|
39
39
|
import { d as defineCustomElement$16 } from './p-0b16cab5.js';
|
|
40
40
|
import { d as defineCustomElement$15 } from './p-b1db8b28.js';
|
|
41
|
-
import { d as defineCustomElement$14 } from './p-
|
|
42
|
-
import { d as defineCustomElement$13 } from './p-
|
|
43
|
-
import { d as defineCustomElement$12 } from './p-
|
|
41
|
+
import { d as defineCustomElement$14 } from './p-09934532.js';
|
|
42
|
+
import { d as defineCustomElement$13 } from './p-2b111073.js';
|
|
43
|
+
import { d as defineCustomElement$12 } from './p-e59eebf8.js';
|
|
44
44
|
import { d as defineCustomElement$11 } from './p-f2fc107c.js';
|
|
45
45
|
import { d as defineCustomElement$10 } from './p-9b4a2430.js';
|
|
46
|
-
import { d as defineCustomElement$$ } from './p-
|
|
47
|
-
import { d as defineCustomElement$_ } from './p-
|
|
48
|
-
import { d as defineCustomElement$Z } from './p-
|
|
49
|
-
import { d as defineCustomElement$Y } from './p-
|
|
46
|
+
import { d as defineCustomElement$$ } from './p-acb7d70d.js';
|
|
47
|
+
import { d as defineCustomElement$_ } from './p-95404634.js';
|
|
48
|
+
import { d as defineCustomElement$Z } from './p-62b70c3f.js';
|
|
49
|
+
import { d as defineCustomElement$Y } from './p-498755ab.js';
|
|
50
50
|
import { d as defineCustomElement$X } from './p-b20e3206.js';
|
|
51
51
|
import { d as defineCustomElement$W } from './p-d84d93f2.js';
|
|
52
52
|
import { d as defineCustomElement$V } from './p-79474a9a.js';
|
|
53
53
|
import { d as defineCustomElement$U } from './p-a071eaed.js';
|
|
54
54
|
import { d as defineCustomElement$T } from './p-4c8ef04f.js';
|
|
55
|
-
import { d as defineCustomElement$S } from './p-
|
|
56
|
-
import { d as defineCustomElement$R } from './p-
|
|
55
|
+
import { d as defineCustomElement$S } from './p-d1daa4a3.js';
|
|
56
|
+
import { d as defineCustomElement$R } from './p-2738b430.js';
|
|
57
57
|
import { d as defineCustomElement$Q } from './p-083143a9.js';
|
|
58
|
-
import { d as defineCustomElement$P } from './p-
|
|
58
|
+
import { d as defineCustomElement$P } from './p-631148b4.js';
|
|
59
59
|
import { d as defineCustomElement$O } from './p-edcdcc51.js';
|
|
60
60
|
import { d as defineCustomElement$N } from './p-4854855c.js';
|
|
61
61
|
import { d as defineCustomElement$M } from './p-405b7f06.js';
|
|
@@ -80,30 +80,30 @@ import { d as defineCustomElement$u } from './p-550a71dc.js';
|
|
|
80
80
|
import { d as defineCustomElement$t } from './p-d30b90e7.js';
|
|
81
81
|
import { d as defineCustomElement$s } from './p-edf035be.js';
|
|
82
82
|
import { d as defineCustomElement$r } from './p-c77944e7.js';
|
|
83
|
-
import { d as defineCustomElement$q } from './p-
|
|
83
|
+
import { d as defineCustomElement$q } from './p-43b737be.js';
|
|
84
84
|
import { d as defineCustomElement$p } from './p-cc863bad.js';
|
|
85
85
|
import { d as defineCustomElement$o } from './p-ab304bad.js';
|
|
86
86
|
import { d as defineCustomElement$n } from './p-72b742f3.js';
|
|
87
87
|
import { d as defineCustomElement$m } from './p-5ec298f3.js';
|
|
88
|
-
import { d as defineCustomElement$l } from './p-
|
|
88
|
+
import { d as defineCustomElement$l } from './p-0960a2bb.js';
|
|
89
89
|
import { d as defineCustomElement$k } from './p-35ddfe42.js';
|
|
90
90
|
import { d as defineCustomElement$j } from './p-cd07fedf.js';
|
|
91
91
|
import { d as defineCustomElement$i } from './p-2951a47f.js';
|
|
92
92
|
import { d as defineCustomElement$h } from './p-681bfb09.js';
|
|
93
93
|
import { d as defineCustomElement$g } from './p-90e9aa1f.js';
|
|
94
94
|
import { d as defineCustomElement$f } from './p-969f9875.js';
|
|
95
|
-
import { d as defineCustomElement$e } from './p-
|
|
95
|
+
import { d as defineCustomElement$e } from './p-8ea7eab2.js';
|
|
96
96
|
import { d as defineCustomElement$d } from './p-040802e2.js';
|
|
97
97
|
import { d as defineCustomElement$c } from './p-63db398c.js';
|
|
98
98
|
import { d as defineCustomElement$b } from './p-97686228.js';
|
|
99
99
|
import { d as defineCustomElement$a } from './p-fc152e9f.js';
|
|
100
100
|
import { d as defineCustomElement$9 } from './p-6f1d2edf.js';
|
|
101
|
-
import { d as defineCustomElement$8 } from './p-
|
|
101
|
+
import { d as defineCustomElement$8 } from './p-99eb5153.js';
|
|
102
102
|
import { d as defineCustomElement$7 } from './p-a38dbdc4.js';
|
|
103
103
|
import { d as defineCustomElement$6 } from './p-7f8fcc19.js';
|
|
104
|
-
import { d as defineCustomElement$5 } from './p-
|
|
105
|
-
import { d as defineCustomElement$4 } from './p-
|
|
106
|
-
import { d as defineCustomElement$3 } from './p-
|
|
104
|
+
import { d as defineCustomElement$5 } from './p-41d6da47.js';
|
|
105
|
+
import { d as defineCustomElement$4 } from './p-45ff39e4.js';
|
|
106
|
+
import { d as defineCustomElement$3 } from './p-7514961a.js';
|
|
107
107
|
import { d as defineCustomElement$2 } from './p-bfd34443.js';
|
|
108
108
|
|
|
109
109
|
const SmoothlyAppDemo$1 = proxyCustomElement(class SmoothlyAppDemo extends H {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyButtonConfirm$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyButtonConfirm$1, d as defineCustomElement$1 } from './p-686ec006.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyButtonConfirm = SmoothlyButtonConfirm$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyButtonDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyButtonDemo$1, d as defineCustomElement$1 } from './p-2c7d79f3.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyButtonDemo = SmoothlyButtonDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyDialogDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyDialogDemo$1, d as defineCustomElement$1 } from './p-ccb21ce6.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyDialogDemo = SmoothlyDialogDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyDisplayDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyDisplayDemo$1, d as defineCustomElement$1 } from './p-980ec6be.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyDisplayDemo = SmoothlyDisplayDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoAll$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoAll$1, d as defineCustomElement$1 } from './p-3dad2f38.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoAll = SmoothlyFormDemoAll$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoCard$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoCard$1, d as defineCustomElement$1 } from './p-214c06fa.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoCard = SmoothlyFormDemoCard$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoControlled$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoControlled$1, d as defineCustomElement$1 } from './p-4d026008.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoControlled = SmoothlyFormDemoControlled$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoDateRange$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoDateRange$1, d as defineCustomElement$1 } from './p-a509a3b5.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoDateRange = SmoothlyFormDemoDateRange$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoDate$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoDate$1, d as defineCustomElement$1 } from './p-ce0f05d1.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoDate = SmoothlyFormDemoDate$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoLogin$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoLogin$1, d as defineCustomElement$1 } from './p-93e899e7.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoLogin = SmoothlyFormDemoLogin$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoPet$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoPet$1, d as defineCustomElement$1 } from './p-e73af3d4.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoPet = SmoothlyFormDemoPet$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoPrices$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoPrices$1, d as defineCustomElement$1 } from './p-702f01d3.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoPrices = SmoothlyFormDemoPrices$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoTransparent$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoTransparent$1, d as defineCustomElement$1 } from './p-bb959ca6.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoTransparent = SmoothlyFormDemoTransparent$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemoTyped$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemoTyped$1, d as defineCustomElement$1 } from './p-e3d11a1b.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemoTyped = SmoothlyFormDemoTyped$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyFormDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyFormDemo$1, d as defineCustomElement$1 } from './p-44a51525.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyFormDemo = SmoothlyFormDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyIconDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyIconDemo$1, d as defineCustomElement$1 } from './p-29f6edb8.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyIconDemo = SmoothlyIconDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { D as Date } from './p-390767c7.js';
|
|
3
|
-
import { d as defineCustomElement$t } from './p-
|
|
4
|
-
import { d as defineCustomElement$s } from './p-
|
|
3
|
+
import { d as defineCustomElement$t } from './p-306f9cb3.js';
|
|
4
|
+
import { d as defineCustomElement$s } from './p-686ec006.js';
|
|
5
5
|
import { d as defineCustomElement$r } from './p-5b16ff97.js';
|
|
6
6
|
import { d as defineCustomElement$q } from './p-4f80c811.js';
|
|
7
7
|
import { d as defineCustomElement$p } from './p-f770567b.js';
|
|
@@ -12,22 +12,22 @@ import { d as defineCustomElement$l } from './p-ca69a0ef.js';
|
|
|
12
12
|
import { d as defineCustomElement$k } from './p-c63db1c1.js';
|
|
13
13
|
import { d as defineCustomElement$j } from './p-0b16cab5.js';
|
|
14
14
|
import { d as defineCustomElement$i } from './p-b1db8b28.js';
|
|
15
|
-
import { d as defineCustomElement$h } from './p-
|
|
16
|
-
import { d as defineCustomElement$g } from './p-
|
|
15
|
+
import { d as defineCustomElement$h } from './p-09934532.js';
|
|
16
|
+
import { d as defineCustomElement$g } from './p-2b111073.js';
|
|
17
17
|
import { d as defineCustomElement$f } from './p-f2fc107c.js';
|
|
18
18
|
import { d as defineCustomElement$e } from './p-9b4a2430.js';
|
|
19
|
-
import { d as defineCustomElement$d } from './p-
|
|
20
|
-
import { d as defineCustomElement$c } from './p-
|
|
19
|
+
import { d as defineCustomElement$d } from './p-62b70c3f.js';
|
|
20
|
+
import { d as defineCustomElement$c } from './p-498755ab.js';
|
|
21
21
|
import { d as defineCustomElement$b } from './p-b20e3206.js';
|
|
22
22
|
import { d as defineCustomElement$a } from './p-79474a9a.js';
|
|
23
23
|
import { d as defineCustomElement$9 } from './p-a071eaed.js';
|
|
24
24
|
import { d as defineCustomElement$8 } from './p-4c8ef04f.js';
|
|
25
|
-
import { d as defineCustomElement$7 } from './p-
|
|
25
|
+
import { d as defineCustomElement$7 } from './p-2738b430.js';
|
|
26
26
|
import { d as defineCustomElement$6 } from './p-083143a9.js';
|
|
27
|
-
import { d as defineCustomElement$5 } from './p-
|
|
27
|
+
import { d as defineCustomElement$5 } from './p-631148b4.js';
|
|
28
28
|
import { d as defineCustomElement$4 } from './p-edcdcc51.js';
|
|
29
29
|
import { d as defineCustomElement$3 } from './p-c77944e7.js';
|
|
30
|
-
import { d as defineCustomElement$2 } from './p-
|
|
30
|
+
import { d as defineCustomElement$2 } from './p-45ff39e4.js';
|
|
31
31
|
|
|
32
32
|
const SmoothlyInputCheckboxDemo$1 = proxyCustomElement(class SmoothlyInputCheckboxDemo extends H {
|
|
33
33
|
constructor() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputClear$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputClear$1, d as defineCustomElement$1 } from './p-09934532.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputClear = SmoothlyInputClear$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputColorDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputColorDemo$1, d as defineCustomElement$1 } from './p-e59eebf8.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputColorDemo = SmoothlyInputColorDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputColor$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputColor$1, d as defineCustomElement$1 } from './p-2b111073.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputColor = SmoothlyInputColor$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputDemoStandard$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputDemoStandard$1, d as defineCustomElement$1 } from './p-95404634.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputDemoStandard = SmoothlyInputDemoStandard$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputDemo$1, d as defineCustomElement$1 } from './p-acb7d70d.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputDemo = SmoothlyInputDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputEdit$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputEdit$1, d as defineCustomElement$1 } from './p-62b70c3f.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputEdit = SmoothlyInputEdit$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputFile$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputFile$1, d as defineCustomElement$1 } from './p-498755ab.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputFile = SmoothlyInputFile$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputRangeDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputRangeDemo$1, d as defineCustomElement$1 } from './p-d1daa4a3.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputRangeDemo = SmoothlyInputRangeDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputReset$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputReset$1, d as defineCustomElement$1 } from './p-2738b430.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputReset = SmoothlyInputReset$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyInputSubmit$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyInputSubmit$1, d as defineCustomElement$1 } from './p-631148b4.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyInputSubmit = SmoothlyInputSubmit$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyTableTesting$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyTableTesting$1, d as defineCustomElement$1 } from './p-8ea7eab2.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyTableTesting = SmoothlyTableTesting$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyThemeDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyThemeDemo$1, d as defineCustomElement$1 } from './p-99eb5153.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyThemeDemo = SmoothlyThemeDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyToggleSwitchDemo$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyToggleSwitchDemo$1, d as defineCustomElement$1 } from './p-7514961a.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyToggleSwitchDemo = SmoothlyToggleSwitchDemo$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SmoothlyToggleSwitch$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { S as SmoothlyToggleSwitch$1, d as defineCustomElement$1 } from './p-45ff39e4.js';
|
|
2
2
|
|
|
3
3
|
const SmoothlyToggleSwitch = SmoothlyToggleSwitch$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1664,7 +1664,7 @@ const Button = ({ disabled, type, link }, children) => {
|
|
|
1664
1664
|
h("slot", { name: "start" }),
|
|
1665
1665
|
h("slot", null),
|
|
1666
1666
|
children,
|
|
1667
|
-
h("slot", { name: "end" }))) : (h("button", { disabled: disabled },
|
|
1667
|
+
h("slot", { name: "end" }))) : (h("button", { type: "button", disabled: disabled },
|
|
1668
1668
|
h("slot", { name: "start" }),
|
|
1669
1669
|
h("slot", null),
|
|
1670
1670
|
children,
|
|
@@ -12853,7 +12853,7 @@ const SmoothlyToggle = class {
|
|
|
12853
12853
|
this.selected = !this.selected;
|
|
12854
12854
|
}
|
|
12855
12855
|
render() {
|
|
12856
|
-
return (h("button", { key: '
|
|
12856
|
+
return (h("button", { key: '1197f56c537ebeac3d65e66f329eab2efe5bd5bd', type: "button" }, h("slot", { key: '9e7d5c1bd176809c47809577281397fdb549c802', name: "icon-slot" }), h("slot", { key: 'cedb75a43b1cdbe42460ac64964b3de48c962181' }, this.name)));
|
|
12857
12857
|
}
|
|
12858
12858
|
};
|
|
12859
12859
|
SmoothlyToggle.style = SmoothlyToggleStyle0;
|
|
@@ -12877,7 +12877,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
12877
12877
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
12878
12878
|
}
|
|
12879
12879
|
render() {
|
|
12880
|
-
return (h(Host, { key: '96fc3020027e002266e463f12602426620acc78c' }, h("button", { key: '
|
|
12880
|
+
return (h(Host, { key: '96fc3020027e002266e463f12602426620acc78c' }, h("button", { key: '54935f0112f0b8f5b9206929ed802900543a93e1', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: 'c978637753cd03f94fe222b3d4e9a0932f994bde', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
12881
12881
|
}
|
|
12882
12882
|
};
|
|
12883
12883
|
SmoothlyToggleSwitch.style = SmoothlyToggleSwitchStyle0;
|