@swisspost/design-system-components 9.0.0-next.2 → 9.0.0-next.3
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/{index-c15bd800.js → index-e1f32cce.js} +25 -4
- package/dist/cjs/index.cjs.js +21 -17
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-a7150f64.js → package-ef26e62c.js} +1 -1
- package/dist/cjs/{post-accordion-62d2fd79.js → post-accordion-3878bf43.js} +2 -2
- package/dist/cjs/post-accordion-item-0278e6e2.js +52 -0
- package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/post-alert-5f795d9c.js +98 -0
- package/dist/cjs/post-alert.cjs.entry.js +3 -3
- package/dist/cjs/post-avatar-2bcfc016.js +148 -0
- package/dist/cjs/post-avatar.cjs.entry.js +13 -0
- package/dist/cjs/post-card-control-5ffcd201.js +272 -0
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-trigger-9dca8493.js → post-collapsible-trigger-6ae59c64.js} +2 -2
- package/dist/cjs/post-collapsible_2.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/{post-icon-3934be0b.js → post-icon-1f71aa0f.js} +4 -4
- package/dist/cjs/post-icon.cjs.entry.js +3 -3
- package/dist/cjs/post-language-option-4a3ecaeb.js +67 -0
- package/dist/cjs/post-language-option.cjs.entry.js +14 -0
- package/dist/cjs/{post-logo-c3603fc7.js → post-logo-7070d727.js} +4 -4
- package/dist/cjs/post-logo.cjs.entry.js +3 -3
- package/dist/cjs/{post-popover-15f9620a.js → post-popover-de1b8d95.js} +4 -4
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-7d536276.js → post-popovercontainer-6a25713a.js} +5 -5
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-db5a397a.js → post-rating-1d2c59b7.js} +3 -3
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-header-877676bf.js +32 -0
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-d59cf1ec.js → post-tab-panel-80b1f3ee.js} +3 -3
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-7afae61a.js → post-tabs-c2d42035.js} +4 -4
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-b7d0bbff.js → post-tag-5e2c7798.js} +3 -3
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-tooltip-432852c7.js → post-tooltip-9a120b2e.js} +3 -3
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -3
- package/dist/collection/components/post-alert/post-alert.css +2 -2
- package/dist/collection/components/post-alert/post-alert.js +4 -4
- package/dist/collection/components/post-avatar/post-avatar.css +3 -0
- package/dist/collection/components/post-avatar/post-avatar.js +237 -0
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-card-control/post-card-control.js +1 -1
- package/dist/collection/components/post-icon/post-icon.js +2 -2
- package/dist/collection/components/post-language-option/post-language-option.css +3 -0
- package/dist/collection/components/post-language-option/post-language-option.js +191 -0
- package/dist/collection/components/post-logo/post-logo.js +2 -2
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.css +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +1 -1
- package/dist/collection/components/post-tag/post-tag.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/collection/index.js +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +5 -4
- package/dist/components/post-alert2.js +5 -5
- package/dist/components/post-avatar.d.ts +11 -0
- package/dist/components/post-avatar.js +6 -0
- package/dist/components/post-avatar2.js +173 -0
- package/dist/components/post-card-control2.js +2 -2
- package/dist/components/post-icon2.js +2 -2
- package/dist/components/post-language-option.d.ts +11 -0
- package/dist/components/post-language-option.js +6 -0
- package/dist/components/post-language-option2.js +92 -0
- package/dist/components/post-logo2.js +2 -2
- package/dist/components/post-popover2.js +2 -2
- package/dist/components/post-popovercontainer2.js +3 -3
- package/dist/components/post-rating2.js +1 -1
- package/dist/components/post-tab-header2.js +2 -2
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +2 -2
- package/dist/components/post-tag2.js +1 -1
- package/dist/components/post-tooltip2.js +1 -1
- package/dist/docs.json +267 -1
- package/dist/esm/{index-0b56fc28.js → index-e1b64755.js} +25 -4
- package/dist/esm/index.js +19 -17
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-0311770e.js +3 -0
- package/dist/esm/{post-accordion-6f4d2b9a.js → post-accordion-01d49d83.js} +2 -2
- package/dist/esm/post-accordion-item-366f385b.js +50 -0
- package/dist/esm/post-accordion-item.entry.js +3 -3
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/post-alert-5a69f40d.js +96 -0
- package/dist/esm/post-alert.entry.js +3 -3
- package/dist/esm/post-avatar-6f24d1ab.js +146 -0
- package/dist/esm/post-avatar.entry.js +5 -0
- package/dist/esm/post-card-control-2a7939c3.js +270 -0
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/{post-collapsible-trigger-85c2064a.js → post-collapsible-trigger-654bf2b0.js} +2 -2
- package/dist/esm/post-collapsible_2.entry.js +3 -3
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/{post-icon-40929043.js → post-icon-885f17e9.js} +4 -4
- package/dist/esm/post-icon.entry.js +3 -3
- package/dist/esm/post-language-option-0c2818aa.js +65 -0
- package/dist/esm/post-language-option.entry.js +6 -0
- package/dist/esm/{post-logo-c6351ba8.js → post-logo-dd425f2e.js} +4 -4
- package/dist/esm/post-logo.entry.js +3 -3
- package/dist/esm/{post-popover-58149de7.js → post-popover-7d44a85c.js} +4 -4
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-8bde9fc3.js → post-popovercontainer-e6d11d81.js} +5 -5
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/{post-rating-d9fc0b40.js → post-rating-3cd3e97b.js} +3 -3
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/post-tab-header-776a991a.js +30 -0
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-926439f4.js → post-tab-panel-163e6c99.js} +3 -3
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-13b2d9a6.js → post-tabs-8cb1bce9.js} +4 -4
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-887d5fbe.js → post-tag-deefcc86.js} +3 -3
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-tooltip-3cde6b53.js → post-tooltip-dc7e1a21.js} +3 -3
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/{p-5f231c2c.js → p-048538ea.js} +1 -1
- package/dist/post-components/p-0a1f5e13.entry.js +1 -0
- package/dist/post-components/p-0a4318ff.js +1 -0
- package/dist/post-components/{p-82dcf8c6.js → p-0ad93d89.js} +2 -2
- package/dist/post-components/p-0d64ef0c.entry.js +1 -0
- package/dist/post-components/p-1198a5f2.entry.js +1 -0
- package/dist/post-components/{p-ba40b28a.entry.js → p-13d1bef7.entry.js} +1 -1
- package/dist/post-components/{p-1e8f0f36.js → p-16d057a6.js} +1 -1
- package/dist/post-components/p-1a091fca.entry.js +1 -0
- package/dist/post-components/p-1f35b0ba.entry.js +1 -0
- package/dist/post-components/p-246a6d28.js +1 -0
- package/dist/post-components/p-3aa5e1e5.js +1 -0
- package/dist/post-components/{p-0e09dc41.js → p-3d3795f9.js} +1 -1
- package/dist/post-components/p-3eab790d.js +2 -0
- package/dist/post-components/p-3fabf6e4.entry.js +1 -0
- package/dist/post-components/p-4f0617e6.js +1 -0
- package/dist/post-components/p-53bacbbc.js +1 -0
- package/dist/post-components/p-5c8cb76f.entry.js +1 -0
- package/dist/post-components/p-5eee8d31.entry.js +1 -0
- package/dist/post-components/p-60e72b25.js +1 -0
- package/dist/post-components/{p-6a28f8b9.js → p-66ed33a9.js} +1 -1
- package/dist/post-components/p-681b751d.entry.js +1 -0
- package/dist/post-components/p-6b6a1e82.entry.js +1 -0
- package/dist/post-components/p-752e6a98.entry.js +1 -0
- package/dist/post-components/{p-2b10e265.js → p-8734876e.js} +1 -1
- package/dist/post-components/p-9ac2a947.js +1 -0
- package/dist/post-components/p-9d211a45.js +1 -0
- package/dist/post-components/p-b38eaabf.js +1 -0
- package/dist/post-components/p-cdfcc758.entry.js +1 -0
- package/dist/post-components/p-d50d4ec1.entry.js +1 -0
- package/dist/post-components/p-d785856c.js +1 -0
- package/dist/post-components/p-e18f3639.js +1 -0
- package/dist/post-components/p-f1b7797f.entry.js +1 -0
- package/dist/post-components/p-f6efc76b.entry.js +1 -0
- package/dist/post-components/{p-92aeec3c.js → p-f825d681.js} +1 -1
- package/dist/post-components/p-fff1c2ee.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +1 -1
- package/dist/types/components/post-alert/post-alert.d.ts +1 -1
- package/dist/types/components/post-avatar/post-avatar.d.ts +51 -0
- package/dist/types/components/post-icon/post-icon.d.ts +1 -1
- package/dist/types/components/post-language-option/post-language-option.d.ts +40 -0
- package/dist/types/components/post-logo/post-logo.d.ts +1 -1
- package/dist/types/components.d.ts +113 -0
- package/dist/types/index.d.ts +2 -0
- package/loaders/index.d.ts +4 -0
- package/loaders/index.js +2 -0
- package/loaders/package.js +1 -1
- package/loaders/post-accordion-item.js +5 -4
- package/loaders/post-alert.js +5 -5
- package/loaders/post-avatar.d.ts +11 -0
- package/loaders/post-avatar.js +176 -0
- package/loaders/post-card-control.js +2 -2
- package/loaders/post-icon2.js +2 -2
- package/loaders/post-language-option.d.ts +11 -0
- package/loaders/post-language-option.js +95 -0
- package/loaders/post-logo.js +2 -2
- package/loaders/post-popover.js +2 -2
- package/loaders/post-popovercontainer2.js +3 -3
- package/loaders/post-rating.js +1 -1
- package/loaders/post-tab-header.js +2 -2
- package/loaders/post-tab-panel.js +1 -1
- package/loaders/post-tabs.js +2 -2
- package/loaders/post-tag.js +1 -1
- package/loaders/post-tooltip.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/post-accordion-item-7b348fa5.js +0 -51
- package/dist/cjs/post-alert-fca3a4a3.js +0 -98
- package/dist/cjs/post-card-control-b4e4b4d5.js +0 -272
- package/dist/cjs/post-tab-header-29b8d4e1.js +0 -32
- package/dist/esm/package-3d758f77.js +0 -3
- package/dist/esm/post-accordion-item-6b5a65ad.js +0 -49
- package/dist/esm/post-alert-f19db551.js +0 -96
- package/dist/esm/post-card-control-1b5df6cb.js +0 -270
- package/dist/esm/post-tab-header-ae8feb19.js +0 -30
- package/dist/post-components/p-0b71bf5a.js +0 -1
- package/dist/post-components/p-19e54be9.js +0 -1
- package/dist/post-components/p-22257eff.entry.js +0 -1
- package/dist/post-components/p-249ac168.entry.js +0 -1
- package/dist/post-components/p-3325086e.js +0 -1
- package/dist/post-components/p-3b823fee.entry.js +0 -1
- package/dist/post-components/p-45f4c803.entry.js +0 -1
- package/dist/post-components/p-47935dbb.js +0 -1
- package/dist/post-components/p-486fbbce.entry.js +0 -1
- package/dist/post-components/p-4a7fb0f3.entry.js +0 -1
- package/dist/post-components/p-6ed3497a.entry.js +0 -1
- package/dist/post-components/p-820c5c19.entry.js +0 -1
- package/dist/post-components/p-8aeb549f.entry.js +0 -1
- package/dist/post-components/p-9a99cfc7.js +0 -1
- package/dist/post-components/p-aa8a08dc.entry.js +0 -1
- package/dist/post-components/p-b99fdec3.js +0 -1
- package/dist/post-components/p-c62de925.js +0 -1
- package/dist/post-components/p-d2101b8a.entry.js +0 -1
- package/dist/post-components/p-d2f9de94.js +0 -2
- package/dist/post-components/p-d7a44f45.js +0 -1
- package/dist/post-components/p-db4b8ea1.entry.js +0 -1
- package/dist/post-components/p-eedc6ae8.entry.js +0 -1
- package/dist/post-components/p-f217f420.js +0 -1
- package/dist/post-components/p-f707d163.entry.js +0 -1
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-e1f32cce.js');
|
|
4
|
+
const checkOneOf = require('./check-one-of-f4f5d0c0.js');
|
|
5
|
+
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
6
|
+
const _package = require('./package-ef26e62c.js');
|
|
7
|
+
|
|
8
|
+
const postCardControlCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.form-check{display:flex;flex-wrap:wrap;row-gap:.75rem;margin-bottom:1rem}.form-check{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.form-check-inline{display:inline-flex}.form-check-inline:not(:last-of-type){margin-right:1.5rem}.form-check-input,.form-check-label{color:rgba(var(--post-contrast-color-rgb), 0.8);transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input,.form-check-label{transition:none}}.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{color:var(--post-contrast-color)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{border-color:Highlight}}.form-check-input{display:inline-flex;flex:0 auto;appearance:none;background:rgba(0,0,0,0);height:1.375rem;width:1.375rem;border:2px solid currentColor;margin-top:1px;outline:none}.form-check-input:not([disabled]),.form-check-input:not([disabled])~.form-check-label{cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input{border-color:FieldText}}.form-check-input::after{content:\"\";display:block;flex:1}.form-check-input[type=checkbox]:checked::after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.form-check-input[type=checkbox]:indeterminate::after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5.333 16.01 20-.021.001 1.333-20 .021z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5.333 16.01 20-.021.001 1.333-20 .021z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=checkbox]:checked,.form-check-input[type=checkbox]:indeterminate{background-color:SelectedItem !important;color:SelectedItemText !important}}.form-check-input[type=radio]{border-radius:50%}.form-check-input[type=radio]:checked::after{border:.25rem solid rgba(0,0,0,0);background-color:currentColor;border-radius:inherit;background-clip:padding-box}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio]:checked::after{background-color:SelectedItem;border-color:Canvas}}.form-check-input[type=radio][disabled]{padding:2px;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e\")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[type=radio][disabled]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e\")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio][disabled]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e\") !important}}.form-check-input[disabled]{border:0;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e\")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox],.form-check-input[disabled][type=radio]{border-color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox]:checked,.form-check-input[disabled][type=checkbox]:indeterminate{background-color:Field !important;color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=radio]:checked::after{background-color:GrayText}}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e\")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e\") !important}}.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e\")}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='rgba(255, 255, 255, 0.8)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e\")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='66' /%3e%3c/svg%3e\") !important}}.form-check-input[disabled],.form-check-input[disabled]~.form-check-label{text-decoration:line-through;color:rgba(0,0,0,.6)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled],:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .form-check-input[disabled]~.form-check-label{color:rgba(255,255,255,.8)}.form-check-sm .form-check-input{height:1rem;width:1rem}.form-check-sm .form-check-input[type=radio]:checked::after{border-width:2px}.form-check-label{flex:1}:not(.form-switch,.radio-button-card,.checkbox-button-card)>.form-check-label{padding-inline-start:.5rem}.form-check-sm .form-check-label{font-size:.75rem}.form-switch .form-check-input{height:2rem;width:4rem;border:0;border-radius:4rem;background-image:linear-gradient(to right, rgba(var(--post-contrast-color-rgb), 0.3) 50%, var(--post-success) 50%);background-size:8rem;background-position-x:0;transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),background-position 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input::after{max-width:2rem;background-color:#fff;border:2px solid #666;border-radius:50%;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input:checked{background-position-x:4rem}.form-switch .form-check-input:checked::after{-webkit-mask-image:none;mask-image:none;background-color:#fff;border-color:#000;transform:translateX(2rem)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input{transition:none;border:2px solid CanvasText}.form-switch .form-check-input:checked{background-color:SelectedItem !important}.form-switch .form-check-input::after,.form-switch .form-check-input:checked::after{max-width:calc(2rem - 4px);border-color:Canvas;background-color:CanvasText}}.form-switch .form-check-input[disabled]{background:#ccc}.form-switch .form-check-input[disabled]::after{border-color:#999}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input[disabled]::after{border-color:Field}.form-switch .form-check-input[disabled]:checked{background-color:GrayText !important}}.form-switch:hover>.form-check-input:not([disabled]){background-color:rgba(var(--post-contrast-color-rgb), 0.1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch:hover>.form-check-input:not([disabled]){border-color:Highlight}}.form-switch .form-check-label{padding-top:.25rem}.form-switch .form-check-label.order-first{flex:0 auto;padding-inline-end:1rem}.form-switch .form-check-label:not(.order-first){padding-inline-start:1rem}:host{--post-card-control-bg-context: .bg-yellow, .bg-white, .bg-light, .bg-gray, .bg-warning, .bg-info, .bg-success-background, .bg-warning-background, .bg-error-background, .alert-warning, post-alert[type=warning], .alert-info, post-alert[type=info], .alert-gray, post-alert[type=gray], .bg-dark, .bg-black, .bg-primary, .bg-secondary, .bg-success, .bg-error, .alert-primary, post-alert[type=primary], .alert-success, post-alert[type=success], .alert-danger, post-alert[type=danger], .alert-notification, post-alert[type=notification], .alert-error, post-alert[type=error];display:flex;width:100%}:host-context(fieldset):host(:not(:last-child)) .card-control{margin-bottom:1rem}.card-control{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: #fff;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff;flex-basis:100%;display:grid;grid-template:\"input label icon\" \"input content content\"/min-content auto min-content;gap:0 .5rem;margin:0;padding:1rem;background-color:var(--post-card-control-bg);border:2px solid var(--post-card-control-border-color);border-radius:4px;color:var(--post-card-control-color) !important;cursor:pointer}.card-control .card-control--input{grid-area:input;margin:.25rem 0;background-color:var(--post-card-control-input-bg) !important;border-color:var(--post-card-control-input-border-color) !important;color:var(--post-card-control-input-border-color) !important;cursor:inherit;transition:none}.card-control .card-control--input:focus,.card-control .card-control--input:focus-visible{box-shadow:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control .card-control--input::after{forced-color-adjust:none;border-color:rgba(0,0,0,0)}}.card-control .card-control--label{grid-area:label;margin:.25rem 0;padding:0;color:inherit !important;pointer-events:none;transition:none}.card-control .card-control--label:not(:has(+.card-control--icon)){grid-area:1/label/1/icon}.card-control .card-control--description{grid-area:label;font-size:.75rem}.card-control .card-control--content{grid-area:content}.card-control .card-control--icon{grid-area:icon;width:2rem;height:2rem;pointer-events:none}.card-control .card-control--icon>slot>*{width:100%;height:100%}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #000;--post-card-control-bg: #fc0}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: SelectedItemText;--post-card-control-input-bg: SelectedItem}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:var(--post-card-control-color) !important}}.card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728}.card-control:not(.is-disabled):hover{--post-card-control-border-color: hsl(0, 0%, 20%);--post-card-control-bg: hsl(0, 0%, 40%);--post-card-control-color: #fff;--post-card-control-input-border-color: #000}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}.card-control:not(.is-disabled):hover .card-control--input::after{color:FieldText}}.card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-offset:2px;outline:2px solid #1976c8}.card-control.is-disabled{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: transparent;--post-card-control-color: hsl(0, 0%, 40%);--post-card-control-input-border-color: hsl(0, 0%, 40%);--post-card-control-input-bg: transparent;border-style:dashed;text-decoration:line-through;cursor:default}.card-control.is-disabled .card-control--input{border:0 none;padding:2px;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e\")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='hsl(0, 0%, 40%)' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e\")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field;outline:2px solid Field;outline-offset:-4px}.card-control .card-control--input{outline:2px solid Field}.card-control .card-control--input[type]{background-color:Field !important}.card-control .card-control--input::after{border-color:Field !important}.card-control .card-control--label,.card-control .card-control--content{background-color:var(--post-card-control-bg) !important}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:FieldText !important}.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}.card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}.card-control.is-disabled .card-control--input{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4' pathLength='88' /%3e%3c/svg%3e\")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%' height='100%' rx='100' ry='100' fill='none' stroke='GrayText' stroke-width='4px ' stroke-dasharray='4 2' /%3e%3c/svg%3e\")}.card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;position:relative;background-color:Field}.card-control.is-disabled.is-checked::before{display:block;content:\"\";position:absolute;inset:2px;background-color:SelectedItem;z-index:1}.card-control.is-disabled.is-checked>*{position:relative;z-index:2}.card-control.is-disabled.is-checked .card-control--input::after{background-color:FieldText !important}}@media(forced-colors: active)and (forced-colors: active),(forced-colors: active)and (-ms-high-contrast: active),(forced-colors: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: active)and (forced-colors: active),(-ms-high-contrast: active)and (-ms-high-contrast: active),(-ms-high-contrast: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: white-on-black)and (forced-colors: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}.card-control.is-checked{--post-card-control-input-bg: field;position:relative}.card-control.is-checked::before{display:block;content:\"\";position:absolute;inset:2px;border-radius:1px;background-color:SelectedItem}.card-control.is-checked>*{position:relative}.card-control.is-checked .card-control--input{outline:2px solid Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host-context(:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText}}:host(:not([data-context])){display:none}:host([data-context*=fieldset]:not(:last-child)) .card-control{margin-bottom:1rem}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host(:is([data-context*=\".bg-dark\"],[data-context*=\".bg-black\"],[data-context*=\".bg-primary\"],[data-context*=\".bg-secondary\"],[data-context*=\".bg-success\"],[data-context*=\".bg-error\"],[data-context*=\".alert-primary\"],[data-context*=\"post-alert[type=primary]\"],[data-context*=\".alert-success\"],[data-context*=\"post-alert[type=success]\"],[data-context*=\".alert-danger\"],[data-context*=\"post-alert[type=danger]\"],[data-context*=\".alert-notification\"],[data-context*=\"post-alert[type=notification]\"],[data-context*=\".alert-error\"],[data-context*=\"post-alert[type=error]\"])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color:SelectedItemText}";
|
|
9
|
+
const PostCardControlStyle0 = postCardControlCss;
|
|
10
|
+
|
|
11
|
+
let cardControlIds = 0;
|
|
12
|
+
const PostCardControl = class {
|
|
13
|
+
/**
|
|
14
|
+
* A public method to reset the controls `checked` and `validity` state.
|
|
15
|
+
* The validity state is set to `null`, so it's neither valid nor invalid.
|
|
16
|
+
*/
|
|
17
|
+
async reset() {
|
|
18
|
+
this.validity = null;
|
|
19
|
+
this.controlSetChecked(this.initialChecked);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A hidden public method to reset the group controls `checked` state to `false`.
|
|
23
|
+
*/
|
|
24
|
+
async groupReset() {
|
|
25
|
+
if (this.disabled)
|
|
26
|
+
this.control.checked = this.checked = false;
|
|
27
|
+
this.controlSetChecked(false);
|
|
28
|
+
}
|
|
29
|
+
validateControlLabel(label = this.label) {
|
|
30
|
+
checkNonEmpty.checkNonEmpty(label, 'The "post-card-control" element requires its "label" property to be set.');
|
|
31
|
+
}
|
|
32
|
+
validateControlType(type = this.type) {
|
|
33
|
+
checkOneOf.checkOneOf(type, ['checkbox', 'radio'], 'The "post-card-control" element requires its "type" prop to be one of either "checkbox" or "radio".');
|
|
34
|
+
}
|
|
35
|
+
updateControlChecked(checked = this.checked) {
|
|
36
|
+
this.controlSetChecked(checked);
|
|
37
|
+
}
|
|
38
|
+
updateControlDisabled() {
|
|
39
|
+
this.controlSetChecked(this.checked);
|
|
40
|
+
}
|
|
41
|
+
constructor(hostRef) {
|
|
42
|
+
index.registerInstance(this, hostRef);
|
|
43
|
+
this.postInput = index.createEvent(this, "postInput", 7);
|
|
44
|
+
this.postChange = index.createEvent(this, "postChange", 7);
|
|
45
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
46
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
50
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
51
|
+
}
|
|
52
|
+
this.EVENT_MAP = {
|
|
53
|
+
input: 'postInput',
|
|
54
|
+
change: 'postChange',
|
|
55
|
+
};
|
|
56
|
+
this.KEYCODES = {
|
|
57
|
+
SPACE: 'Space',
|
|
58
|
+
LEFT: 'ArrowLeft',
|
|
59
|
+
UP: 'ArrowUp',
|
|
60
|
+
RIGHT: 'ArrowRight',
|
|
61
|
+
DOWN: 'ArrowDown',
|
|
62
|
+
};
|
|
63
|
+
this.group = {
|
|
64
|
+
hosts: [],
|
|
65
|
+
members: [],
|
|
66
|
+
first: null,
|
|
67
|
+
last: null,
|
|
68
|
+
checked: null,
|
|
69
|
+
focused: null,
|
|
70
|
+
};
|
|
71
|
+
this.controlId = `PostCardControl_${cardControlIds++}`;
|
|
72
|
+
this.focused = false;
|
|
73
|
+
this.label = undefined;
|
|
74
|
+
this.description = null;
|
|
75
|
+
this.type = undefined;
|
|
76
|
+
this.name = null;
|
|
77
|
+
this.value = null;
|
|
78
|
+
this.checked = false;
|
|
79
|
+
this.disabled = false;
|
|
80
|
+
this.validity = null;
|
|
81
|
+
this.icon = null;
|
|
82
|
+
this.cardClickHandler = this.cardClickHandler.bind(this);
|
|
83
|
+
this.controlClickHandler = this.controlClickHandler.bind(this);
|
|
84
|
+
this.controlChangeHandler = this.controlChangeHandler.bind(this);
|
|
85
|
+
this.controlFocusHandler = this.controlFocusHandler.bind(this);
|
|
86
|
+
this.controlKeyDownHandler = this.controlKeyDownHandler.bind(this);
|
|
87
|
+
}
|
|
88
|
+
cardClickHandler(e) {
|
|
89
|
+
e.stopPropagation();
|
|
90
|
+
// if this was not the clicked element anyway, trigger click on control to change it
|
|
91
|
+
if (e.target !== this.control)
|
|
92
|
+
this.control.click();
|
|
93
|
+
}
|
|
94
|
+
controlClickHandler(e) {
|
|
95
|
+
e.stopPropagation();
|
|
96
|
+
// if control is disabled do nothing
|
|
97
|
+
// else control value will fire a change event, which is handled in the controlChangeHandler method
|
|
98
|
+
if (this.disabled)
|
|
99
|
+
e.preventDefault();
|
|
100
|
+
}
|
|
101
|
+
controlChangeHandler(e) {
|
|
102
|
+
e.stopPropagation();
|
|
103
|
+
this.groupCollectMembers();
|
|
104
|
+
this.controlSetChecked(this.control.checked, e);
|
|
105
|
+
this.groupSetChecked(this.control, e);
|
|
106
|
+
}
|
|
107
|
+
controlFocusHandler() {
|
|
108
|
+
this.focused = this.host === document.activeElement;
|
|
109
|
+
}
|
|
110
|
+
// https://googlechromelabs.github.io/howto-components/howto-radio-group/
|
|
111
|
+
controlKeyDownHandler(e) {
|
|
112
|
+
if (this.type === 'radio') {
|
|
113
|
+
e.stopPropagation();
|
|
114
|
+
if (Object.values(this.KEYCODES).includes(e.code))
|
|
115
|
+
e.preventDefault();
|
|
116
|
+
this.groupCollectMembers();
|
|
117
|
+
switch (e.code) {
|
|
118
|
+
case this.KEYCODES.UP:
|
|
119
|
+
case this.KEYCODES.LEFT:
|
|
120
|
+
this.groupSetChecked(this.groupGetPrev(), e);
|
|
121
|
+
break;
|
|
122
|
+
case this.KEYCODES.DOWN:
|
|
123
|
+
case this.KEYCODES.RIGHT:
|
|
124
|
+
this.groupSetChecked(this.groupGetNext(), e);
|
|
125
|
+
break;
|
|
126
|
+
case this.KEYCODES.SPACE:
|
|
127
|
+
this.groupSetChecked(this.control, e);
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
controlSetChecked(checked, e) {
|
|
133
|
+
if (!this.control)
|
|
134
|
+
return;
|
|
135
|
+
if (this.disabled) {
|
|
136
|
+
this.internals.setFormValue(null);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
this.control.checked = this.checked = checked;
|
|
140
|
+
this.internals.setFormValue(this.checked ? this.control.value : null);
|
|
141
|
+
if (e) {
|
|
142
|
+
const isCheckbox = this.type === 'checkbox';
|
|
143
|
+
const isRadioAndChecked = this.type === 'radio' && this.checked;
|
|
144
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox
|
|
145
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
|
|
146
|
+
// if an event parameter is given and a native control would fire an event, emit the corresponding event to the light dom
|
|
147
|
+
if (isCheckbox || isRadioAndChecked)
|
|
148
|
+
this[this.EVENT_MAP[e.type]].emit({ state: this.checked, value: this.value });
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
groupCollectMembers() {
|
|
153
|
+
var _a, _b;
|
|
154
|
+
if (this.type === 'radio' && this.name) {
|
|
155
|
+
this.group.hosts = Array.from(document.querySelectorAll(`post-card-control[type="radio"][name="${this.name}"]`));
|
|
156
|
+
this.group.members = this.group.hosts
|
|
157
|
+
.map(m => m.shadowRoot.querySelector('input[type="radio"]'))
|
|
158
|
+
.filter(m => m !== null);
|
|
159
|
+
if (this.group.members.length > 1) {
|
|
160
|
+
this.group.first = this.group.members[0];
|
|
161
|
+
this.group.last = this.group.members[this.group.members.length - 1];
|
|
162
|
+
this.group.checked = (_a = this.group.members.find(m => m.checked)) !== null && _a !== void 0 ? _a : null;
|
|
163
|
+
this.group.focused =
|
|
164
|
+
(_b = this.group.members.find(m => m.getRootNode().host === document.activeElement)) !== null && _b !== void 0 ? _b : this.group.first;
|
|
165
|
+
const focusableMember = this.group.checked || this.group.focused || this.group.first;
|
|
166
|
+
this.group.members.forEach(m => {
|
|
167
|
+
m.tabIndex = m === focusableMember ? 0 : -1;
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
groupGetPrev() {
|
|
173
|
+
var _a;
|
|
174
|
+
const focusedIndex = this.group.members.findIndex(m => m.id === this.group.focused.id);
|
|
175
|
+
return (_a = this.group.members.find((_m, i) => i === focusedIndex - 1)) !== null && _a !== void 0 ? _a : this.group.last;
|
|
176
|
+
}
|
|
177
|
+
groupGetNext() {
|
|
178
|
+
var _a;
|
|
179
|
+
const focusedIndex = this.group.members.findIndex(m => m.id === this.group.focused.id);
|
|
180
|
+
return (_a = this.group.members.find((_m, i) => i === focusedIndex + 1)) !== null && _a !== void 0 ? _a : this.group.first;
|
|
181
|
+
}
|
|
182
|
+
groupSetChecked(newChecked, e) {
|
|
183
|
+
if (this.group.members.length > 1) {
|
|
184
|
+
const isKeyboardEvent = e.type === 'keydown';
|
|
185
|
+
const newIsAriaDisabled = newChecked.hasAttribute('aria-disabled');
|
|
186
|
+
const newIndex = this.group.members.findIndex(m => m === newChecked);
|
|
187
|
+
if (isKeyboardEvent)
|
|
188
|
+
newChecked.focus();
|
|
189
|
+
// if new is disabled, do not reset/set anything
|
|
190
|
+
if (!newIsAriaDisabled) {
|
|
191
|
+
// reset all group members but the newChecked
|
|
192
|
+
this.group.hosts
|
|
193
|
+
.filter((_h, i) => i !== newIndex)
|
|
194
|
+
.forEach(h => {
|
|
195
|
+
h.groupReset();
|
|
196
|
+
});
|
|
197
|
+
// if method was called by keyboard event, select newChecked
|
|
198
|
+
// else this has already been done by clicking on the newChecked element already
|
|
199
|
+
if (isKeyboardEvent)
|
|
200
|
+
newChecked.click();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
// remove as soon as all browser support :host-context()
|
|
205
|
+
// https://caniuse.com/?search=%3Ahost-context()
|
|
206
|
+
setHostContext() {
|
|
207
|
+
let bgContext;
|
|
208
|
+
const possibleBgContexts = window
|
|
209
|
+
.getComputedStyle(this.host)
|
|
210
|
+
.getPropertyValue('--post-card-control-bg-context')
|
|
211
|
+
.split(', ');
|
|
212
|
+
let formContext;
|
|
213
|
+
const possibleFromContexts = ['fieldset'];
|
|
214
|
+
let element = this.host;
|
|
215
|
+
while (element && (!bgContext || !formContext)) {
|
|
216
|
+
bgContext = bgContext !== null && bgContext !== void 0 ? bgContext : possibleBgContexts.find(selector => element.matches(selector));
|
|
217
|
+
formContext = formContext !== null && formContext !== void 0 ? formContext : possibleFromContexts.find(selector => element.matches(selector));
|
|
218
|
+
element = element.parentElement;
|
|
219
|
+
}
|
|
220
|
+
const hostContext = [bgContext, formContext].filter(context => !!context).join(' ');
|
|
221
|
+
this.host.setAttribute('data-context', hostContext);
|
|
222
|
+
}
|
|
223
|
+
connectedCallback() {
|
|
224
|
+
this.initialChecked = this.checked;
|
|
225
|
+
}
|
|
226
|
+
componentWillRender() {
|
|
227
|
+
this.hasIcon = Boolean(this.host.querySelector('[slot="icon"]') || this.icon);
|
|
228
|
+
}
|
|
229
|
+
render() {
|
|
230
|
+
return (index.h(index.Host, { key: '9ae199f3c25ae7af1019f3c76baf43248b301f84', "data-version": _package.version, onClick: this.cardClickHandler }, index.h("div", { key: 'a2060187ccede9b8944e19f49ba292bab0c72635', class: {
|
|
231
|
+
'card-control': true,
|
|
232
|
+
'is-checked': this.checked,
|
|
233
|
+
'is-disabled': this.disabled,
|
|
234
|
+
'is-focused': this.focused,
|
|
235
|
+
'is-valid': this.validity !== null && this.validity !== 'false',
|
|
236
|
+
'is-invalid': this.validity === 'false',
|
|
237
|
+
} }, index.h("input", { key: 'e1e456566e1861966415c115564a8325ab479ef4', ref: el => (this.control = el), id: this.controlId, class: "card-control--input form-check-input", type: this.type, name: this.name, value: this.value, checked: this.checked, "aria-describedby": `${this.controlId}_content`, "aria-disabled": this.disabled, "aria-invalid": this.validity === 'false', onClick: this.controlClickHandler, onInput: this.controlChangeHandler, onChange: this.controlChangeHandler, onFocus: this.controlFocusHandler, onBlur: this.controlFocusHandler, onKeyDown: this.controlKeyDownHandler }), index.h("label", { key: 'd4377ab6041e2a73be5d14a7897158f6788831e4', id: `${this.controlId}_label`, htmlFor: this.controlId, class: "card-control--label form-check-label" }, this.label, this.description ? (index.h("div", { class: "card-control--description" }, this.description)) : null), this.hasIcon ? (index.h("div", { class: "card-control--icon" }, index.h("slot", { name: "icon" }, this.icon ? index.h("post-icon", { name: this.icon }) : null))) : null, index.h("div", { key: '15f01cc76bdf792b7ace1997a08b961f46e112ed', id: `${this.controlId}_content`, class: "card-control--content" }, index.h("slot", { key: '4d4af0edaef3fd61f40203cadd25ea8b34963b48' })))));
|
|
238
|
+
}
|
|
239
|
+
componentDidRender() {
|
|
240
|
+
this.setHostContext();
|
|
241
|
+
this.groupCollectMembers();
|
|
242
|
+
}
|
|
243
|
+
componentDidLoad() {
|
|
244
|
+
this.validateControlLabel();
|
|
245
|
+
this.validateControlType();
|
|
246
|
+
}
|
|
247
|
+
// https://stenciljs.com/docs/form-associated
|
|
248
|
+
/* eslint-disable @stencil-community/own-methods-must-be-private */
|
|
249
|
+
formAssociatedCallback() {
|
|
250
|
+
this.controlSetChecked(this.checked);
|
|
251
|
+
}
|
|
252
|
+
formDisabledCallback(disabled) {
|
|
253
|
+
this.disabled = disabled;
|
|
254
|
+
}
|
|
255
|
+
formStateRestoreCallback(checked) {
|
|
256
|
+
this.controlSetChecked(checked);
|
|
257
|
+
}
|
|
258
|
+
formResetCallback() {
|
|
259
|
+
this.reset();
|
|
260
|
+
}
|
|
261
|
+
static get formAssociated() { return true; }
|
|
262
|
+
get host() { return index.getElement(this); }
|
|
263
|
+
static get watchers() { return {
|
|
264
|
+
"label": ["validateControlLabel"],
|
|
265
|
+
"type": ["validateControlType"],
|
|
266
|
+
"checked": ["updateControlChecked"],
|
|
267
|
+
"disabled": ["updateControlDisabled"]
|
|
268
|
+
}; }
|
|
269
|
+
};
|
|
270
|
+
PostCardControl.style = PostCardControlStyle0;
|
|
271
|
+
|
|
272
|
+
exports.PostCardControl = PostCardControl;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postCardControl = require('./post-card-control-
|
|
6
|
-
require('./index-
|
|
5
|
+
const postCardControl = require('./post-card-control-5ffcd201.js');
|
|
6
|
+
require('./index-e1f32cce.js');
|
|
7
7
|
require('./check-one-of-f4f5d0c0.js');
|
|
8
8
|
require('./check-non-empty-eeaa8f77.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-ef26e62c.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
package/dist/cjs/{post-collapsible-trigger-9dca8493.js → post-collapsible-trigger-6ae59c64.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-e1f32cce.js');
|
|
4
|
+
const _package = require('./package-ef26e62c.js');
|
|
5
5
|
const index$1 = require('./index-01f30442.js');
|
|
6
6
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postCollapsibleTrigger = require('./post-collapsible-trigger-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postCollapsibleTrigger = require('./post-collapsible-trigger-6ae59c64.js');
|
|
6
|
+
require('./index-e1f32cce.js');
|
|
7
|
+
require('./package-ef26e62c.js');
|
|
8
8
|
require('./index-01f30442.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
10
|
require('./check-one-of-f4f5d0c0.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e1f32cce.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["post-accordion-item.cjs",[[1,"post-accordion-item",{"collapsed":[1028],"headingLevel":[2,"heading-level"],"id":[32],"toggle":[64]},[[2,"postToggle","onCollapseToggle"]],{"headingLevel":["validateHeadingLevel"]}]]],["post-alert.cjs",[[1,"post-alert",{"dismissible":[4],"dismissLabel":[1,"dismiss-label"],"fixed":[4],"icon":[1],"type":[1],"alertId":[32],"classes":[32],"hasActions":[32],"hasHeading":[32],"onDismissButtonClick":[32],"dismiss":[64]},null,{"dismissible":["validateDismissible"],"dismissLabel":["validateDismissLabel"],"fixed":["validateFixed"],"icon":["validateIcon"],"type":["validateType"]}]]],["post-card-control.cjs",[[65,"post-card-control",{"label":[1],"description":[1],"type":[1],"name":[1],"value":[1],"checked":[1028],"disabled":[1028],"validity":[1025],"icon":[1],"focused":[32],"reset":[64],"groupReset":[64]},null,{"label":["validateControlLabel"],"type":["validateControlType"],"checked":["updateControlChecked"],"disabled":["updateControlDisabled"]}]]],["post-
|
|
22
|
+
return index.bootstrapLazy([["post-accordion-item.cjs",[[1,"post-accordion-item",{"collapsed":[1028],"headingLevel":[2,"heading-level"],"id":[32],"toggle":[64]},[[2,"postToggle","onCollapseToggle"]],{"headingLevel":["validateHeadingLevel"]}]]],["post-alert.cjs",[[1,"post-alert",{"dismissible":[4],"dismissLabel":[1,"dismiss-label"],"fixed":[4],"icon":[1],"type":[1],"alertId":[32],"classes":[32],"hasActions":[32],"hasHeading":[32],"onDismissButtonClick":[32],"dismiss":[64]},null,{"dismissible":["validateDismissible"],"dismissLabel":["validateDismissLabel"],"fixed":["validateFixed"],"icon":["validateIcon"],"type":["validateType"]}]]],["post-card-control.cjs",[[65,"post-card-control",{"label":[1],"description":[1],"type":[1],"name":[1],"value":[1],"checked":[1028],"disabled":[1028],"validity":[1025],"icon":[1],"focused":[32],"reset":[64],"groupReset":[64]},null,{"label":["validateControlLabel"],"type":["validateControlType"],"checked":["updateControlChecked"],"disabled":["updateControlDisabled"]}]]],["post-popover.cjs",[[1,"post-popover",{"placement":[1],"closeButtonCaption":[1,"close-button-caption"],"arrow":[4],"show":[64],"hide":[64],"toggle":[64]}]]],["post-rating.cjs",[[1,"post-rating",{"label":[1],"stars":[2],"currentRating":[1026,"current-rating"],"readonly":[4],"hoveredIndex":[32]}]]],["post-tag.cjs",[[1,"post-tag",{"variant":[1],"size":[1],"icon":[1],"classes":[32]},null,{"variant":["variantChanged"],"size":["sizeChanged"]}]]],["post-tooltip.cjs",[[1,"post-tooltip",{"placement":[1],"arrow":[4],"delayed":[4],"show":[64],"hide":[64],"toggle":[64]},null,{"delayed":["validateDelayed"]}]]],["post-accordion.cjs",[[1,"post-accordion",{"headingLevel":[2,"heading-level"],"multiple":[4],"toggle":[64],"expandAll":[64],"collapseAll":[64]},[[0,"postToggle","collapseToggleHandler"]],{"headingLevel":["validateHeadingLevel"]}]]],["post-avatar.cjs",[[1,"post-avatar",{"firstname":[1],"lastname":[1],"userid":[1],"email":[1],"slottedImage":[32],"avatarType":[32],"imageUrl":[32],"imageAlt":[32],"initials":[32]},null,{"firstname":["validateFirstname"]}]]],["post-language-option.cjs",[[1,"post-language-option",{"code":[1],"active":[1540],"name":[1],"url":[1],"select":[64]},null,{"code":["validateCode"],"active":["validateActiveProp"],"name":["validateName"],"url":["validateUrl"]}]]],["post-logo.cjs",[[1,"post-logo",{"url":[1]},null,{"url":["validateUrl"]}]]],["post-tab-header.cjs",[[1,"post-tab-header",{"panel":[1],"tabId":[32]},null,{"panel":["validateFor"]}]]],["post-tab-panel.cjs",[[1,"post-tab-panel",{"name":[1],"panelId":[32]}]]],["post-tabs.cjs",[[1,"post-tabs",{"activePanel":[1,"active-panel"],"show":[64]}]]],["post-collapsible_2.cjs",[[1,"post-collapsible",{"collapsed":[1028],"toggle":[64]},null,{"collapsed":["collapsedChange"]}],[0,"post-collapsible-trigger",{"for":[1],"update":[64]},null,{"for":["setAriaAttributes"]}]]],["post-popovercontainer.cjs",[[4,"post-popovercontainer",{"placement":[1],"arrow":[4],"show":[64],"hide":[64],"toggle":[64]}]]],["post-icon.cjs",[[1,"post-icon",{"animation":[1],"base":[1],"flipH":[4,"flip-h"],"flipV":[4,"flip-v"],"name":[1],"rotate":[2],"scale":[2],"svgStyles":[32],"svgOutput":[32]},null,{"animation":["validateAnimation"],"base":["validateBase"],"flipH":["validateFlipH"],"flipV":["validateFlipV"],"name":["validateName"],"rotate":["validateRotate"],"scale":["validateScale"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-e1f32cce.js');
|
|
4
4
|
const index$1 = require('./index-01f30442.js');
|
|
5
|
-
const _package = require('./package-
|
|
5
|
+
const _package = require('./package-ef26e62c.js');
|
|
6
6
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
7
7
|
|
|
8
8
|
const postIconCss = ":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";
|
|
@@ -54,7 +54,7 @@ const PostIcon = class {
|
|
|
54
54
|
validateScale(newValue = this.scale) {
|
|
55
55
|
index$1.checkEmptyOrType(newValue, 'number', 'The post-icon "scale" prop should be a number.');
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
componentDidLoad() {
|
|
58
58
|
this.validateBase();
|
|
59
59
|
this.validateName();
|
|
60
60
|
this.validateFlipH();
|
|
@@ -86,7 +86,7 @@ const PostIcon = class {
|
|
|
86
86
|
})
|
|
87
87
|
.filter(([_key, value]) => value !== null)
|
|
88
88
|
.reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
|
|
89
|
-
return (index.h(index.Host, { key: '
|
|
89
|
+
return (index.h(index.Host, { key: '5def9850dfccafe1ed1499fa042d7c1358256f38', "data-version": _package.version }, index.h("span", { key: '663ec6e0079669d23be3bad4890cdd580145c05b', style: svgStyles })));
|
|
90
90
|
}
|
|
91
91
|
get host() { return index.getElement(this); }
|
|
92
92
|
static get watchers() { return {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postIcon = require('./post-icon-
|
|
6
|
-
require('./index-
|
|
5
|
+
const postIcon = require('./post-icon-1f71aa0f.js');
|
|
6
|
+
require('./index-e1f32cce.js');
|
|
7
7
|
require('./index-01f30442.js');
|
|
8
8
|
require('./constants-238701d3.js');
|
|
9
9
|
require('./check-one-of-f4f5d0c0.js');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-ef26e62c.js');
|
|
11
11
|
require('./check-non-empty-eeaa8f77.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-e1f32cce.js');
|
|
4
|
+
const index$1 = require('./index-01f30442.js');
|
|
5
|
+
const _package = require('./package-ef26e62c.js');
|
|
6
|
+
|
|
7
|
+
const postLanguageOptionCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block;width:fit-content}button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}a{color:inherit;text-decoration:none}:is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:var(--post-language-option-padding)}";
|
|
8
|
+
const PostLanguageOptionStyle0 = postLanguageOptionCss;
|
|
9
|
+
|
|
10
|
+
const PostLanguageOption = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.postChange = index.createEvent(this, "postChange", 7);
|
|
14
|
+
this.code = undefined;
|
|
15
|
+
this.active = undefined;
|
|
16
|
+
this.name = undefined;
|
|
17
|
+
this.url = undefined;
|
|
18
|
+
}
|
|
19
|
+
validateCode(value = this.code) {
|
|
20
|
+
index$1.checkType(value, 'string', 'The "code" property of the post-language-option component must be a string.');
|
|
21
|
+
}
|
|
22
|
+
validateActiveProp(value = this.active) {
|
|
23
|
+
index$1.checkEmptyOrType(value, 'boolean', 'The "active" property of the post-language-option component must be a boolean value.');
|
|
24
|
+
}
|
|
25
|
+
validateName(value = this.name) {
|
|
26
|
+
index$1.checkEmptyOrType(value, 'string', 'The "name" property of the post-language-option component must be a string.');
|
|
27
|
+
}
|
|
28
|
+
validateUrl(value = this.url) {
|
|
29
|
+
index$1.checkEmptyOrType(value, 'string', 'The "url" property of the post-language-option component must be a valid URL.');
|
|
30
|
+
}
|
|
31
|
+
componentDidLoad() {
|
|
32
|
+
this.validateCode();
|
|
33
|
+
this.validateActiveProp();
|
|
34
|
+
this.validateName();
|
|
35
|
+
this.validateUrl();
|
|
36
|
+
if (!this.name && this.isNameRequired()) {
|
|
37
|
+
throw new Error('The "name" property of the post-language-option component is required when the full language name is not displayed.');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Selects the language option programmatically.
|
|
42
|
+
*/
|
|
43
|
+
async select() {
|
|
44
|
+
this.active = true;
|
|
45
|
+
this.emitChange();
|
|
46
|
+
}
|
|
47
|
+
emitChange() {
|
|
48
|
+
this.postChange.emit(this.code);
|
|
49
|
+
}
|
|
50
|
+
isNameRequired() {
|
|
51
|
+
return this.host.textContent.toLowerCase() === this.code.toLowerCase();
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
const lang = this.code.toLowerCase();
|
|
55
|
+
return (index.h(index.Host, { key: '2ee12b880402e7bd994185d86931aec2d7421bd8', "data-version": _package.version, role: "listitem" }, this.url ? (index.h("a", { "aria-current": this.active ? 'page' : undefined, "aria-label": this.name, href: this.url, hrefLang: lang, lang: lang, onClick: () => this.emitChange() }, index.h("slot", null))) : (index.h("button", { "aria-current": this.active ? 'true' : undefined, "aria-label": this.name, lang: lang, onClick: () => this.emitChange() }, index.h("slot", null)))));
|
|
56
|
+
}
|
|
57
|
+
get host() { return index.getElement(this); }
|
|
58
|
+
static get watchers() { return {
|
|
59
|
+
"code": ["validateCode"],
|
|
60
|
+
"active": ["validateActiveProp"],
|
|
61
|
+
"name": ["validateName"],
|
|
62
|
+
"url": ["validateUrl"]
|
|
63
|
+
}; }
|
|
64
|
+
};
|
|
65
|
+
PostLanguageOption.style = PostLanguageOptionStyle0;
|
|
66
|
+
|
|
67
|
+
exports.PostLanguageOption = PostLanguageOption;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const postLanguageOption = require('./post-language-option-4a3ecaeb.js');
|
|
6
|
+
require('./index-e1f32cce.js');
|
|
7
|
+
require('./index-01f30442.js');
|
|
8
|
+
require('./constants-238701d3.js');
|
|
9
|
+
require('./check-one-of-f4f5d0c0.js');
|
|
10
|
+
require('./package-ef26e62c.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.post_language_option = postLanguageOption.PostLanguageOption;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-e1f32cce.js');
|
|
4
|
+
const _package = require('./package-ef26e62c.js');
|
|
5
5
|
const index$1 = require('./index-01f30442.js');
|
|
6
6
|
|
|
7
7
|
const postLogoCss = ":host,.logo{display:inline-block}:host,:host .logo>svg,.logo,.logo .logo>svg{height:100%}.description{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
@@ -15,7 +15,7 @@ const PostLogo = class {
|
|
|
15
15
|
validateUrl() {
|
|
16
16
|
index$1.checkEmptyOrUrl(this.url, 'The "url" property of the post-logo is invalid');
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
componentDidLoad() {
|
|
19
19
|
this.validateUrl();
|
|
20
20
|
this.checkDescription();
|
|
21
21
|
}
|
|
@@ -27,7 +27,7 @@ const PostLogo = class {
|
|
|
27
27
|
render() {
|
|
28
28
|
const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
|
|
29
29
|
const LogoTag = logoLink ? 'a' : 'span';
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '484cc83fcf8886fb627ac047717bc9ef8f0dbcba', "data-version": _package.version }, index.h(LogoTag, Object.assign({ key: '3c9eb2f917cf4d1c6492cc8956e3d82bb946eff6', class: "logo" }, (logoLink ? { href: logoLink } : {})), index.h("span", { key: '2c588b6a52942c5b450162884754050d87f0f316', class: "description" }, index.h("slot", { key: '145e9f0ae716f854a5ece73d5948d7f9dc6864f3', onSlotchange: () => this.checkDescription() })), index.h("svg", { key: 'd92dcb207c5a3e9b46b54bd0a7a3ca56677cf57f', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, index.h("g", { key: 'e3101e8162385d4087feb1d6d5b7f7095fa7d625', id: "Logo" }, index.h("rect", { key: '742a55467004c6cb01f16d10594a8ab29d1c6df9', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), index.h("polygon", { key: '9ace2708a4f7bf72bda2b8cb1760bcd9ed74b9e6', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), index.h("path", { key: '2b9e87466faf9457b093e4a76d8a68bec66bb729', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
|
|
31
31
|
}
|
|
32
32
|
get host() { return index.getElement(this); }
|
|
33
33
|
static get watchers() { return {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postLogo = require('./post-logo-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postLogo = require('./post-logo-7070d727.js');
|
|
6
|
+
require('./index-e1f32cce.js');
|
|
7
|
+
require('./package-ef26e62c.js');
|
|
8
8
|
require('./index-01f30442.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
10
|
require('./check-one-of-f4f5d0c0.js');
|