@cscfi/csc-ui 3.0.6 → 3.0.7
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/c-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/c-alert.cjs.entry.js +1 -1
- package/dist/cjs/c-autocomplete_35.cjs.entry.js +74 -59
- package/dist/cjs/c-autocomplete_35.cjs.entry.js.map +1 -1
- package/dist/cjs/c-data-table.cjs.entry.js +1 -1
- package/dist/cjs/c-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/c-pagination.cjs.entry.js +1 -1
- package/dist/cjs/c-swiper.cjs.entry.js +1 -1
- package/dist/cjs/c-tabs.cjs.entry.js +1 -1
- package/dist/cjs/c-tag.cjs.entry.js +1 -1
- package/dist/cjs/c-toast.cjs.entry.js +1 -1
- package/dist/cjs/{mdi-B0wGnmrp.js → mdi-D4fs5l1W.js} +4 -2
- package/dist/cjs/{mdi-B0wGnmrp.js.map → mdi-D4fs5l1W.js.map} +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.css +1 -0
- package/dist/collection/components/c-dropdown/c-dropdown.js +15 -8
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
- package/dist/collection/components/c-input/c-input.js +16 -14
- package/dist/collection/components/c-input/c-input.js.map +1 -1
- package/dist/collection/components/c-select/c-select.js +48 -38
- package/dist/collection/components/c-select/c-select.js.map +1 -1
- package/dist/components/c-accordion-item.js +1 -1
- package/dist/components/c-alert.js +1 -1
- package/dist/components/c-autocomplete.js +4 -4
- package/dist/components/c-card.js +1 -1
- package/dist/components/c-checkbox.js +1 -1
- package/dist/components/c-data-table.js +5 -5
- package/dist/components/c-dropdown.js +1 -1
- package/dist/components/c-input.js +1 -1
- package/dist/components/c-menu.js +1 -1
- package/dist/components/c-message.js +1 -1
- package/dist/components/c-navigation-button.js +1 -1
- package/dist/components/c-otp-input.js +1 -1
- package/dist/components/c-pagination.js +1 -1
- package/dist/components/c-radio-group.js +1 -1
- package/dist/components/c-select.js +52 -42
- package/dist/components/c-select.js.map +1 -1
- package/dist/components/c-side-navigation-item.js +1 -1
- package/dist/components/c-side-navigation.js +1 -1
- package/dist/components/c-swiper.js +1 -1
- package/dist/components/c-tabs.js +1 -1
- package/dist/components/c-tag.js +1 -1
- package/dist/components/c-text-field.js +3 -3
- package/dist/components/c-toast.js +1 -1
- package/dist/components/c-toasts.js +1 -1
- package/dist/components/{p-B1qgNVwl.js → p-B35LU226.js} +19 -17
- package/dist/components/p-B35LU226.js.map +1 -0
- package/dist/components/{p-D8otgxt3.js → p-BDgw4nNJ.js} +3 -3
- package/dist/components/{p-D8otgxt3.js.map → p-BDgw4nNJ.js.map} +1 -1
- package/dist/components/{p-VXxIMujl.js → p-BOTLtsJq.js} +4 -4
- package/dist/components/{p-VXxIMujl.js.map → p-BOTLtsJq.js.map} +1 -1
- package/dist/components/{p-CxpHiGGi.js → p-BXdlsUoI.js} +3 -3
- package/dist/components/{p-CxpHiGGi.js.map → p-BXdlsUoI.js.map} +1 -1
- package/dist/components/{p-DIfvdGsO.js → p-Bd7jq7MS.js} +4 -3
- package/dist/components/p-Bd7jq7MS.js.map +1 -0
- package/dist/components/{p-BrYqG6_f.js → p-CBoo96IR.js} +3 -3
- package/dist/components/{p-BrYqG6_f.js.map → p-CBoo96IR.js.map} +1 -1
- package/dist/components/{p-CFPfmHLA.js → p-CoxL9G3v.js} +12 -9
- package/dist/components/p-CoxL9G3v.js.map +1 -0
- package/dist/components/{p-BoFU7Vlp.js → p-lKEVcO51.js} +3 -3
- package/dist/components/{p-BoFU7Vlp.js.map → p-lKEVcO51.js.map} +1 -1
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/{p-8ac910a3.entry.js → p-0b56450b.entry.js} +2 -2
- package/dist/csc-ui/{p-c1637cf7.entry.js → p-0e4d4890.entry.js} +2 -2
- package/dist/csc-ui/{p-cb8d7a64.entry.js → p-32a6793a.entry.js} +2 -2
- package/dist/csc-ui/{p-8ced935d.entry.js → p-3ab98b9a.entry.js} +2 -2
- package/dist/csc-ui/{p-7fabdc70.entry.js → p-516daf81.entry.js} +2 -2
- package/dist/csc-ui/p-570778d1.entry.js +2 -0
- package/dist/csc-ui/p-570778d1.entry.js.map +1 -0
- package/dist/csc-ui/{p-7a4dc6da.entry.js → p-74dfa0e1.entry.js} +2 -2
- package/dist/csc-ui/{p-caad0875.entry.js → p-781cde9c.entry.js} +2 -2
- package/dist/csc-ui/{p-3446156f.entry.js → p-82038174.entry.js} +2 -2
- package/dist/csc-ui/{p-ZMPD5OFO.js → p-Cb-CImk5.js} +2 -2
- package/dist/csc-ui/{p-ZMPD5OFO.js.map → p-Cb-CImk5.js.map} +1 -1
- package/dist/csc-ui/{p-c24eb0d4.entry.js → p-c39a0b0e.entry.js} +2 -2
- package/dist/esm/c-accordion-item.entry.js +1 -1
- package/dist/esm/c-alert.entry.js +1 -1
- package/dist/esm/c-autocomplete_35.entry.js +74 -59
- package/dist/esm/c-autocomplete_35.entry.js.map +1 -1
- package/dist/esm/c-data-table.entry.js +1 -1
- package/dist/esm/c-menu_2.entry.js +1 -1
- package/dist/esm/c-pagination.entry.js +1 -1
- package/dist/esm/c-swiper.entry.js +1 -1
- package/dist/esm/c-tabs.entry.js +1 -1
- package/dist/esm/c-tag.entry.js +1 -1
- package/dist/esm/c-toast.entry.js +1 -1
- package/dist/esm/{mdi-ZMPD5OFO.js → mdi-Cb-CImk5.js} +4 -3
- package/dist/esm/{mdi-ZMPD5OFO.js.map → mdi-Cb-CImk5.js.map} +1 -1
- package/dist/styles/css/c-data-table.css +10 -0
- package/dist/styles/css/typography.css +10 -0
- package/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/styles/scss/_typography.scss +7 -0
- package/dist/styles/variables.css +111 -0
- package/dist/styles/variables.scss +108 -0
- package/dist/types/components/c-dropdown/c-dropdown.d.ts +1 -1
- package/dist/types/components/c-select/c-select.d.ts +2 -2
- package/dist/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-B1qgNVwl.js.map +0 -1
- package/dist/components/p-CFPfmHLA.js.map +0 -1
- package/dist/components/p-DIfvdGsO.js.map +0 -1
- package/dist/csc-ui/p-357e261b.entry.js +0 -2
- package/dist/csc-ui/p-357e261b.entry.js.map +0 -1
- /package/dist/csc-ui/{p-8ac910a3.entry.js.map → p-0b56450b.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-c1637cf7.entry.js.map → p-0e4d4890.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-cb8d7a64.entry.js.map → p-32a6793a.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-8ced935d.entry.js.map → p-3ab98b9a.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-7fabdc70.entry.js.map → p-516daf81.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-7a4dc6da.entry.js.map → p-74dfa0e1.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-caad0875.entry.js.map → p-781cde9c.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3446156f.entry.js.map → p-82038174.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-c24eb0d4.entry.js.map → p-c39a0b0e.entry.js.map} +0 -0
- /package/dist/types/{home/runner/work/ui → Users/veriksso/Documents/code}/ui/packages/csc-ui/.stencil/playwright.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/ui → Users/veriksso/Documents/code}/ui/packages/csc-ui/.stencil/stencil.config.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BTBT6v3v.js');
|
|
4
|
-
var mdi = require('./mdi-
|
|
4
|
+
var mdi = require('./mdi-D4fs5l1W.js');
|
|
5
5
|
|
|
6
6
|
const cAccordionItemCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{--_c-accordion-item-header-background-color:var(--c-accordion-item-header-background-color, var(--c-primary-200));--_c-accordion-item-outline-color:var(--c-accordion-item-outline-color, var(--c-primary-600));--_c-accordion-item-text-color:var(--c-accordion-item-text-color, var(--c-primary-600));max-width:100%}:host summary::-webkit-details-marker{display:none}.c-accordion-item{--_c-accordion-item-indicator-rotation:rotate(-90deg);--_c-accordion-item-content-height:0;--_c-accordion-item-min-height:46px;--_c-accordion-item-border-radius:6px;--_c-accordion-item-padding:12px;--_c-accordion-item-overflow:visible;--_c-accordion-item-outline-color-offset:2px;display:block;overflow:var(--_c-accordion-item-overflow)}.c-accordion-item--expanding{--_c-accordion-item-overflow:hidden !important;--_c-accordion-item-outline-color:transparent}.c-accordion-item--expanded{--_c-accordion-item-content-height:auto;--_c-accordion-item-indicator-rotation:rotate(90deg);--_c-accordion-item-overflow:visible}.c-accordion-item--outlined{box-shadow:inset 0 0 0 2px var(--_c-accordion-item-header-background-color);border-radius:var(--_c-accordion-item-border-radius)}.c-accordion-item__header{min-height:var(--_c-accordion-item-min-height);user-select:none;background-color:var(--_c-accordion-item-header-background-color);display:grid;column-gap:8px;align-items:center;padding:0 var(--_c-accordion-item-padding);border-radius:var(--_c-accordion-item-border-radius);cursor:pointer;grid-template-columns:1fr auto;border:none;text-align:left;margin:0;font-family:var(--c-font-family);position:relative}.c-accordion-item__header--has-icon{grid-template-columns:auto 1fr auto}.c-accordion-item__header--expanded{cursor:default}.c-accordion-item__header--expanded.c-accordion-item__header--collapsable{cursor:pointer}.c-accordion-item__header:focus{outline:2px var(--_c-accordion-item-outline-color) solid;outline-offset:var(--_c-accordion-item-outline-color-offset)}@supports selector(:focus-visible){.c-accordion-item__header:focus{outline:none}}.c-accordion-item__header:focus-visible{outline:2px var(--_c-accordion-item-outline-color) solid;outline-offset:var(--_c-accordion-item-outline-color-offset)}.c-accordion-item__title{margin-top:0;margin-bottom:0;font-weight:500;font-size:16px;line-height:1;color:var(--_c-accordion-item-text-color)}.c-accordion-item__content{padding:16px}.c-accordion-item__content-wrapper{overflow:visible}.c-accordion-item__icon{height:24px;font-size:24px;color:var(--_c-accordion-item-text-color);display:flex;align-items:center}.c-accordion-item__icon>*{height:24px;display:flex;align-items:center}.c-accordion-item__indicator{display:flex;align-items:center;color:var(--_c-accordion-item-text-color);justify-self:end}.c-accordion-item__indicator c-icon{width:24px;height:24px !important;transform:var(--_c-accordion-item-indicator-rotation);transition:transform 0.3s ease}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BTBT6v3v.js');
|
|
4
|
-
var mdi = require('./mdi-
|
|
4
|
+
var mdi = require('./mdi-D4fs5l1W.js');
|
|
5
5
|
|
|
6
6
|
const cAlertCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}.c-alert{--c-alert-color:var(--c-primary-600);display:grid;gap:16px;grid-template-columns:1fr;color:var(--c-alert-color);border:2px solid currentColor;border-left-width:12px;border-radius:6px;padding:12px}.c-alert--info,.c-alert--error,.c-alert--success,.c-alert--warning{grid-template-columns:auto 1fr}.c-alert--info{--c-alert-color:var(--c-info-600)}.c-alert--error{--c-alert-color:var(--c-error-600)}.c-alert--success{--c-alert-color:var(--c-success-600)}.c-alert--warning{--c-alert-color:var(--c-warning-600)}.c-alert__content{color:rgba(0, 0, 0, 0.87);display:grid;align-items:center;grid-template-columns:1fr;gap:8px}svg{fill:currentColor}::slotted(*[slot=title]){margin:0 !important;font-size:18px;font-weight:600;line-height:24px}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BTBT6v3v.js');
|
|
4
|
-
var mdi = require('./mdi-
|
|
4
|
+
var mdi = require('./mdi-D4fs5l1W.js');
|
|
5
5
|
|
|
6
6
|
const cAutocompleteCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-autocomplete){--_c-autocomplete-option-background-color:var(\n --c-autocomplete-option-background-color,\n var(--c-white)\n );--_c-autocomplete-option-background-hover-color:var(\n --c-autocomplete-option-background-hover-color,\n var(--c-primary-100)\n );--_c-autocomplete-active-color:var(\n --c-autocomplete-active-color,\n var(--c-primary-600)\n );--_c-autocomplete-inactive-color:var(\n --c-autocomplete-inactive-color,\n var(--c-tertiary-600)\n );--_c-autocomplete-background-color:var(\n --c-autocomplete-background-color,\n var(--c-transparent)\n );--_c-autocomplete-text-color:var(\n --c-autocomplete-text-color,\n var(--c-text-body)\n );--_c-autocomplete-option-text-color:var(\n --c-autocomplete-option-text-color,\n var(--c-text-body)\n );--_c-autocomplete-placeholder-color:var(\n --c-autocomplete-placeholder-color,\n var(--c-tertiary-500)\n );--c-select-option-background-color:var(\n --_c-autocomplete-option-background-color\n );--c-select-option-background-color-hover:var(\n --_c-autocomplete-option-background-hover-color\n );--c-select-option-text-color:var(--_c-autocomplete-option-text-color);--_c-input-active-color:var(--_c-autocomplete-active-color);--_c-input-inactive-color:var(--_c-autocomplete-inactive-color);--_c-input-background-color:var(--_c-autocomplete-background-color);--_c-input-text-color:var(--_c-autocomplete-text-color);--_c-input-placeholder-color:var(--_c-autocomplete-placeholder-color)}:host{display:block;cursor:text}.c-input-menu__chevron{fill:currentColor;transform:rotate(0deg);transition:transform 0.3s ease-in-out}.c-input-menu__chevron--active{transform:rotate(180deg)}.c-input-menu__input{width:100%;display:flex;justify-items:stretch}.c-input-menu__selection{display:none;pointer-events:none}.c-input-menu__selection--show{align-items:center;display:flex;width:100%;color:var(--_c-select-active-color)}.c-input-menu__item-wrapper{position:absolute;width:100%;top:44px;z-index:10;margin-left:calc(var(--_c-input-label-position) * -1)}.c-input-menu__item-wrapper--shadow{top:47px}.c-input-menu__items{position:absolute;background-color:var(--_c-select-option-background-color);min-width:calc(100% + 24px);box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:10;user-select:none;border-radius:4px;margin:0 -12px;overflow-y:scroll;list-style:none;padding:0}.c-input-menu__items--hidden{display:none}.c-input-menu__items li{cursor:pointer;display:flex;min-height:48px;padding:0 12px;transition:background-color 0.3s;font-size:14px;align-items:center;justify-content:flex-start;color:var(--_c-select-option-text-color)}.c-input-menu__items li.disabled{background-color:var(--c-tertiary-100);filter:grayscale(1) opacity(0.6);cursor:default}.c-input-menu__items li.disabled:hover{background-color:var(--c-tertiary-100)}.c-input-menu__items li.dense{padding:10px 14px}.c-input-menu__items li:hover{background-color:var(--_c-select-option-background-color-hover)}.c-input-menu__items li[aria-selected=true]{background-color:var(--_c-select-option-background-color-hover);box-shadow:inset 0 0 0 1px var(--_c-select-active-color);border-radius:4px;backface-visibility:hidden;transform:translate3d(0, 0, 0)}.c-input-menu__items li.none{color:rgba(0, 0, 0, 0.5)}.c-input-menu__items--empty li{color:var(--c-text-system);cursor:default;gap:8px;pointer-events:none}.c-input-menu__items--empty li svg{fill:var(--c-warning-600);height:18px;width:18px}input{max-height:32px;padding:8px 0;background-color:transparent;border:none;color:var(--c-text-body);flex:1 1 auto;font-family:var(--c-font-family);font-size:16px;line-height:20px;max-width:100%;min-width:0;width:100%;pointer-events:none}input:focus,input:active{outline:none}input::-ms-reveal{display:none}svg{fill:currentColor;height:22px;width:22px}.c-input--disabled{color:var(--c-tertiary-400)}.c-input:focus-within{color:var(--c-primary-600)}.c-input--error{color:var(--c-error-600)}.c-input--error:focus-within{color:var(--c-error-600)}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
|
|
7
7
|
|
|
@@ -655,7 +655,7 @@ const CCscLogo = class {
|
|
|
655
655
|
};
|
|
656
656
|
CCscLogo.style = cCscLogoCss;
|
|
657
657
|
|
|
658
|
-
const cDropdownCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-dropdown){--_c-dropdown-background-color:var(\n --c-dropdown-background-color,\n var(--c-white)\n );--_c-dropdown-background-color-hover:var(\n --c-dropdown-background-color-hover,\n var(--c-primary-200)\n );--_c-dropdown-text-color:var(--c-dropdown-text-color, var(--c-text-body));--_c-dropdown-text-color-active:var(\n --c-dropdown-text-color-active,\n var(--c-primary-600)\n );--_c-dropdown-font-size:14px;--_c-dropdown-height:42px;display:block;position:relative}:host(c-dropdown) mark{background-color:transparent;box-shadow:0 2px 0 0 var(--_c-dropdown-text-color-active);color:inherit}:host(c-dropdown) dialog{border-radius:4px;background-color:transparent;border:none;margin:-4px 0 0;overflow:visible;padding:4px 0 0;position:fixed}:host(c-dropdown) dialog::backdrop{opacity:0}:host(c-dropdown) dialog[open].mobile{background-color:var(--_c-dropdown-background-color);width:100vw;max-width:100vw;height:100vh;max-height:100svh;inset:0}:host(c-dropdown) dialog[open].mobile .input-top-wrapper{padding:8px}:host(c-dropdown) dialog .input-bottom-wrapper.active{padding-top:8px}:host(c-dropdown) .dummy{display:none}:host(c-dropdown) ul{background-color:var(--_c-dropdown-background-color);box-shadow:2px 4px 10px rgba(0, 0, 0, 0.1607843137);border-radius:4px;list-style:none;margin:0;outline:none;padding:0;pointer-events:auto;visibility:hidden;width:100%;height:max-content;overflow-y:scroll}:host(c-dropdown) ul.active{visibility:visible;animation:0.2s 1 fade-in cubic-bezier(0.25, 0.8, 0.5, 1)}:host(c-dropdown) ul.active.mobile{width:100vw;max-width:100vw;height:100vh;max-height:calc(100svh - 60px)}:host(c-dropdown) li{align-items:center;column-gap:12px;cursor:pointer;display:flex;flex-wrap:nowrap;font-size:var(--_c-dropdown-font-size);min-height:var(--_c-dropdown-height);outline:none;padding-left:10px;padding-right:10px;pointer-events:auto;white-space:nowrap;width:100%;border-radius:4px}:host(c-dropdown) li span,:host(c-dropdown) li c-option-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(c-dropdown) li:hover,:host(c-dropdown) li:focus,:host(c-dropdown) li.active{background:var(--_c-dropdown-background-color-hover);color:var(--_c-dropdown-text-color-active);box-shadow:inset 0 0 0 1px var(--_c-dropdown-text-color-active)}:host(c-dropdown) li:not(.disabled,:hover,:focus)[aria-selected=true]{background:var(--_c-dropdown-background-color-hover);color:var(--_c-dropdown-text-color-active);border-radius:0}:host(c-dropdown) li.disabled{background-color:rgba(var(--c-tertiary-rgb), 0.05);cursor:default;filter:grayscale(1) opacity(0.75)}:host(c-dropdown) .visuallyhidden{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes fade-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}";
|
|
658
|
+
const cDropdownCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-dropdown){--_c-dropdown-background-color:var(\n --c-dropdown-background-color,\n var(--c-white)\n );--_c-dropdown-background-color-hover:var(\n --c-dropdown-background-color-hover,\n var(--c-primary-200)\n );--_c-dropdown-text-color:var(--c-dropdown-text-color, var(--c-text-body));--_c-dropdown-text-color-active:var(\n --c-dropdown-text-color-active,\n var(--c-primary-600)\n );--_c-dropdown-font-size:14px;--_c-dropdown-height:42px;display:block;position:relative}:host(c-dropdown) mark{background-color:transparent;box-shadow:0 2px 0 0 var(--_c-dropdown-text-color-active);color:inherit}:host(c-dropdown) dialog{border-radius:4px;background-color:transparent;border:none;margin:-4px 0 0;overflow:visible;padding:4px 0 0;position:fixed}:host(c-dropdown) dialog::backdrop{opacity:0}:host(c-dropdown) dialog[open].mobile{background-color:var(--_c-dropdown-background-color);width:100vw;max-width:100vw;height:100vh;max-height:100svh;inset:0}:host(c-dropdown) dialog[open].mobile .input-top-wrapper{padding:8px}:host(c-dropdown) dialog .input-bottom-wrapper.active{padding-top:8px}:host(c-dropdown) .dummy{display:none}:host(c-dropdown) ul{background-color:var(--_c-dropdown-background-color);box-shadow:2px 4px 10px rgba(0, 0, 0, 0.1607843137);border-radius:4px;list-style:none;margin:0;outline:none;padding:0;pointer-events:auto;visibility:hidden;width:100%;height:max-content;overflow-y:scroll}:host(c-dropdown) ul.active{visibility:visible;animation:0.2s 1 fade-in cubic-bezier(0.25, 0.8, 0.5, 1)}:host(c-dropdown) ul.active.mobile{width:100vw;max-width:100vw;height:100vh;max-height:calc(100svh - 60px)}:host(c-dropdown) li{align-items:center;column-gap:12px;cursor:pointer;display:flex;flex-wrap:nowrap;font-size:var(--_c-dropdown-font-size);min-height:var(--_c-dropdown-height);outline:none;padding-left:10px;padding-right:10px;pointer-events:auto;white-space:nowrap;width:100%;border-radius:4px;user-select:none}:host(c-dropdown) li span,:host(c-dropdown) li c-option-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(c-dropdown) li:hover,:host(c-dropdown) li:focus,:host(c-dropdown) li.active{background:var(--_c-dropdown-background-color-hover);color:var(--_c-dropdown-text-color-active);box-shadow:inset 0 0 0 1px var(--_c-dropdown-text-color-active)}:host(c-dropdown) li:not(.disabled,:hover,:focus)[aria-selected=true]{background:var(--_c-dropdown-background-color-hover);color:var(--_c-dropdown-text-color-active);border-radius:0}:host(c-dropdown) li.disabled{background-color:rgba(var(--c-tertiary-rgb), 0.05);cursor:default;filter:grayscale(1) opacity(0.75)}:host(c-dropdown) .visuallyhidden{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes fade-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}";
|
|
659
659
|
|
|
660
660
|
const CDropdown = class {
|
|
661
661
|
constructor(hostRef) {
|
|
@@ -779,7 +779,10 @@ const CDropdown = class {
|
|
|
779
779
|
this._listItems[index].click();
|
|
780
780
|
return false;
|
|
781
781
|
}
|
|
782
|
-
async updateList() {
|
|
782
|
+
async updateList(reset = false) {
|
|
783
|
+
if (reset) {
|
|
784
|
+
this.index = 0;
|
|
785
|
+
}
|
|
783
786
|
requestAnimationFrame(() => {
|
|
784
787
|
this.renderedList = this._renderList();
|
|
785
788
|
});
|
|
@@ -893,13 +896,13 @@ const CDropdown = class {
|
|
|
893
896
|
return this._minimumQueryItem() || this._emptyItem();
|
|
894
897
|
this._listItems.length = 0;
|
|
895
898
|
return this.items.map((item, index$1) => {
|
|
896
|
-
return (index.h("li", { ref: (el) => this._listItems.push(el), id: `${this.hostId}-option-${item.value}`, tabindex: "-1", role: "option", "aria-set-size": this.items.length.toString(), "aria-pos-in-set": (index$1 + 1).toString(), "aria-selected": (this.index === index$1).toString(), class: { disabled: !!item.disabled }, "data-name": item.name, onClick: (event) => {
|
|
899
|
+
return (index.h("li", { ref: (el) => this._listItems.push(el), id: `${this.hostId}-option-${item.value}`, tabindex: "-1", role: "option", "aria-set-size": this.items.length.toString(), "aria-pos-in-set": (index$1 + 1).toString(), "aria-selected": (this.index === index$1).toString(), class: { disabled: !!item.disabled }, title: item.name, "data-name": item.name, onClick: (event) => {
|
|
897
900
|
if (item.disabled) {
|
|
898
901
|
event.preventDefault();
|
|
899
902
|
return;
|
|
900
903
|
}
|
|
901
904
|
this.selectOption.emit({ name: item.name, value: item.value });
|
|
902
|
-
} }, index.h("span", { innerHTML: this._highlightMatchingText(item.name) })));
|
|
905
|
+
} }, this.index === index$1 && index.h("c-icon", { path: mdi.mdiCheck, size: 16 }), index.h("span", { innerHTML: this._highlightMatchingText(item.name) })));
|
|
903
906
|
});
|
|
904
907
|
}
|
|
905
908
|
_updateStatusText() {
|
|
@@ -938,10 +941,10 @@ const CDropdown = class {
|
|
|
938
941
|
this._dialog.style.maxHeight = 42 * (this.itemsPerPage + 0.5) + 60 + 'px';
|
|
939
942
|
this._list.style.maxHeight = 42 * (this.itemsPerPage + 0.5) + 'px';
|
|
940
943
|
}
|
|
941
|
-
return (index.h(index.Host, { key: '
|
|
944
|
+
return (index.h(index.Host, { key: '9626a417ef7375c09c479b8d7a8582699f55f99a' }, index.h("slot", { key: '763d1d7de568d08ad06c61bacf50343b6759b6dc', name: "default" }), index.h("div", { key: 'dc43133ef487b264168a8aec45b5c7a71af0e724', class: "dummy", ref: (el) => (this._dummyElement = el) }), index.h("dialog", { key: '2b747ce78f1f9f65c36c795d1b358f38d73d61ac', tabindex: "-1", ref: (el) => (this._dialog = el), class: { mobile: this._isMobile }, onCancel: () => this.close() }, index.h("div", { key: 'be33ff41592f12f2b0f8629e06a468c61517e507', onClick: (event) => event.stopPropagation() }, index.h("div", { key: 'e5c8b93bef47c86533a57d0ec3a11ed1c39b12fb', id: 'announce-' + this.hostId, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: '208c6563bb5ad17be69e6c2c714ebbe8d96ac682', class: "input-top-wrapper" }, index.h("slot", { key: '375b09b9e3ad056e3c3dd7c827589cc8f65646aa', name: "input-top" })), index.h("ul", { key: 'bee7e9068835c19f3dfd473c33a067f8158ddd1b', ref: (el) => (this._list = el), id: `${this.hostId}--results`, role: "listbox", "aria-expanded": this.isOpen.toString(), class: { active: this.isOpen, mobile: this._isMobile }, tabindex: "-1" }, this.renderedList), index.h("div", { key: '5f461bdc800b288ef9493620f68b3987015e6550', class: {
|
|
942
945
|
active: this._openedOnTop,
|
|
943
946
|
'input-bottom-wrapper': true,
|
|
944
|
-
} }, index.h("slot", { key: '
|
|
947
|
+
} }, index.h("slot", { key: 'af142cb1f976dcc6b80038f91df315b361ceaafb', name: "input-bottom" }))))));
|
|
945
948
|
}
|
|
946
949
|
get el() { return index.getElement(this); }
|
|
947
950
|
static get watchers() { return {
|
|
@@ -1064,7 +1067,7 @@ const CInput = class {
|
|
|
1064
1067
|
this.isFocused = false;
|
|
1065
1068
|
this._hasBlurred = true;
|
|
1066
1069
|
this._onReset();
|
|
1067
|
-
},
|
|
1070
|
+
}, 200);
|
|
1068
1071
|
};
|
|
1069
1072
|
this._onFocus = (click = true) => {
|
|
1070
1073
|
var _a, _b;
|
|
@@ -1160,18 +1163,20 @@ const CInput = class {
|
|
|
1160
1163
|
this.preSlotWidth = this.inputField.offsetLeft;
|
|
1161
1164
|
}
|
|
1162
1165
|
_onReset() {
|
|
1163
|
-
|
|
1164
|
-
if (
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1166
|
+
requestAnimationFrame(() => {
|
|
1167
|
+
if (this.inputField) {
|
|
1168
|
+
if (!!this.placeholder &&
|
|
1169
|
+
!this.value &&
|
|
1170
|
+
(this.active || this.isFocused)) {
|
|
1171
|
+
this.inputField.placeholder = this.placeholder;
|
|
1172
|
+
return;
|
|
1173
|
+
}
|
|
1174
|
+
this.inputField.placeholder =
|
|
1175
|
+
!this.label && !this.value && !!this.placeholder
|
|
1176
|
+
? this.placeholder
|
|
1177
|
+
: '';
|
|
1169
1178
|
}
|
|
1170
|
-
|
|
1171
|
-
!this.label && !this.value && !!this.placeholder
|
|
1172
|
-
? this.placeholder
|
|
1173
|
-
: '';
|
|
1174
|
-
}
|
|
1179
|
+
});
|
|
1175
1180
|
}
|
|
1176
1181
|
_preventNonNumericalInput(event) {
|
|
1177
1182
|
if (this.type !== 'number')
|
|
@@ -1223,9 +1228,9 @@ const CInput = class {
|
|
|
1223
1228
|
filled: !!this.value,
|
|
1224
1229
|
[`c-input--${this.variant}`]: true,
|
|
1225
1230
|
};
|
|
1226
|
-
return (index.h(index.Host, { key: '
|
|
1231
|
+
return (index.h(index.Host, { key: 'e4e694bc08b5d1e2dd9e9937af19066aeaefe621', disabled: this.disabled }, index.h("div", { key: '7c29907a19f6d73399c2eb73adb0000283d1df24', id: 'announce-' + this.inputId, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: '3d9325fb36097ab45c4c30d60fc133fbebe29feb', class: containerClasses }, index.h("div", { key: '894938c7069065b62e56f237c4a447e33164cebb', class: "c-input__control" }, index.h("div", { key: '2e6c6fd245901d3b1dcae81a22d4d2dee36ceabb', class: "c-input__slot", onClick: () => this._onFocus() }, this._renderBorders(), index.h("div", { key: 'a7ed3fb6447a274081fe57d6fcd6640207890ded', class: "c-input__field", style: {
|
|
1227
1232
|
'--_c-input-label-position': this.preSlotWidth + 'px',
|
|
1228
|
-
} }, index.h("slot", { key: '
|
|
1233
|
+
} }, index.h("slot", { key: '225fa7302d4a602641a139e79f983c0b7868897d', name: "pre" }), this._renderLabel(), index.h("slot", { key: '82039928b3c00b0e7429c3cb1cf6d0d491a07665' }))), this.variant === 'select' && index.h("slot", { key: '07a411d9a0ecf07dc6053c0b37a55746ff9bd537', name: "dropdown" }), !this.hideDetails && (index.h("c-message", { key: '2693ada0ddea0eba69789ebf7956b5c78c19b0d4', hint: this.hint, inputId: this.inputId, valid: this.valid, validation: this.validation }))))));
|
|
1229
1234
|
}
|
|
1230
1235
|
get el() { return index.getElement(this); }
|
|
1231
1236
|
static get watchers() { return {
|
|
@@ -1756,7 +1761,6 @@ const CSelect = class {
|
|
|
1756
1761
|
this.dropdownVisible = false;
|
|
1757
1762
|
this.statusText = '';
|
|
1758
1763
|
this.optionElementsExist = false;
|
|
1759
|
-
this._preventDialogOpen = false;
|
|
1760
1764
|
this._debounce = null;
|
|
1761
1765
|
this._lastKeyPressTime = null;
|
|
1762
1766
|
this._searchString = '';
|
|
@@ -1779,7 +1783,6 @@ const CSelect = class {
|
|
|
1779
1783
|
return;
|
|
1780
1784
|
}
|
|
1781
1785
|
this._onReset(event);
|
|
1782
|
-
this._preventDialogOpen = true;
|
|
1783
1786
|
requestAnimationFrame(() => {
|
|
1784
1787
|
this._inputElement.focus();
|
|
1785
1788
|
});
|
|
@@ -1803,21 +1806,17 @@ const CSelect = class {
|
|
|
1803
1806
|
event.stopPropagation();
|
|
1804
1807
|
this.changeValue.emit(null);
|
|
1805
1808
|
this.internals.setFormValue(null);
|
|
1809
|
+
this.currentIndex = null;
|
|
1806
1810
|
this._selectionElement.classList.remove('c-input-menu__selection--show');
|
|
1807
1811
|
this._selectionElement.replaceChildren(null);
|
|
1808
|
-
this._preventDialogOpen = true;
|
|
1809
1812
|
this._cInputElement.reset();
|
|
1810
1813
|
this._inputElement.focus();
|
|
1811
|
-
this._dropdownElement.updateList();
|
|
1814
|
+
this._dropdownElement.updateList(true);
|
|
1812
1815
|
};
|
|
1813
1816
|
this._onInputFocus = () => {
|
|
1814
1817
|
if (this.disabled)
|
|
1815
1818
|
return;
|
|
1816
|
-
if (!this._preventDialogOpen) {
|
|
1817
|
-
this._dropdownElement.open();
|
|
1818
|
-
}
|
|
1819
1819
|
this._updateStatusText();
|
|
1820
|
-
this._preventDialogOpen = false;
|
|
1821
1820
|
};
|
|
1822
1821
|
}
|
|
1823
1822
|
get _id() {
|
|
@@ -1844,7 +1843,7 @@ const CSelect = class {
|
|
|
1844
1843
|
async reset() {
|
|
1845
1844
|
this.changeValue.emit(null);
|
|
1846
1845
|
this.internals.setFormValue(null);
|
|
1847
|
-
this._dropdownElement.updateList();
|
|
1846
|
+
this._dropdownElement.updateList(true);
|
|
1848
1847
|
}
|
|
1849
1848
|
handleKeyDown(event) {
|
|
1850
1849
|
var _a, _b, _c;
|
|
@@ -1852,26 +1851,28 @@ const CSelect = class {
|
|
|
1852
1851
|
if (this.disabled)
|
|
1853
1852
|
return;
|
|
1854
1853
|
if (event.key.match(alphanumeric) && event.key.length === 1) {
|
|
1855
|
-
if (this.dropdownVisible)
|
|
1856
|
-
|
|
1857
|
-
if (Date.now() - this._lastKeyPressTime > 3000) {
|
|
1858
|
-
this._searchString = event.key;
|
|
1859
|
-
}
|
|
1860
|
-
else {
|
|
1861
|
-
this._searchString += event.key;
|
|
1862
|
-
}
|
|
1863
|
-
this._lastKeyPressTime = Date.now();
|
|
1864
|
-
const selectionIndex = Array.from(this._items).findIndex((i) => i.name.toLowerCase().startsWith(this._searchString));
|
|
1865
|
-
this.currentIndex = selectionIndex >= 0 ? selectionIndex : null;
|
|
1866
|
-
if (this.currentIndex !== null) {
|
|
1867
|
-
this._dropdownElement.selectItem(this.currentIndex);
|
|
1854
|
+
if (!this.dropdownVisible) {
|
|
1855
|
+
this._dropdownElement.open();
|
|
1868
1856
|
}
|
|
1869
|
-
|
|
1857
|
+
requestAnimationFrame(() => {
|
|
1858
|
+
if (Date.now() - this._lastKeyPressTime > 3000) {
|
|
1859
|
+
this._searchString = event.key;
|
|
1860
|
+
}
|
|
1861
|
+
else {
|
|
1862
|
+
this._searchString += event.key;
|
|
1863
|
+
}
|
|
1864
|
+
this._lastKeyPressTime = Date.now();
|
|
1865
|
+
const selectionIndex = this._getSelectionIndex(this._searchString);
|
|
1866
|
+
this.currentIndex = selectionIndex >= 0 ? selectionIndex : null;
|
|
1867
|
+
return;
|
|
1868
|
+
});
|
|
1870
1869
|
}
|
|
1871
1870
|
if (event.key === 'Escape') {
|
|
1872
|
-
this._preventDialogOpen = true;
|
|
1873
1871
|
(_a = this._dropdownElement) === null || _a === void 0 ? void 0 : _a.close();
|
|
1874
1872
|
this._inputElement.focus();
|
|
1873
|
+
if (!this.value) {
|
|
1874
|
+
this.currentIndex = null;
|
|
1875
|
+
}
|
|
1875
1876
|
return;
|
|
1876
1877
|
}
|
|
1877
1878
|
if (event.key === 'Tab') {
|
|
@@ -1883,12 +1884,18 @@ const CSelect = class {
|
|
|
1883
1884
|
return;
|
|
1884
1885
|
if (!this.dropdownVisible) {
|
|
1885
1886
|
this._dropdownElement.open();
|
|
1887
|
+
if (this.value) {
|
|
1888
|
+
this.currentIndex = this._getSelectionIndex(this._value);
|
|
1889
|
+
}
|
|
1890
|
+
return;
|
|
1886
1891
|
}
|
|
1887
|
-
|
|
1888
|
-
this.currentIndex
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
+
requestAnimationFrame(() => {
|
|
1893
|
+
this.currentIndex =
|
|
1894
|
+
this.currentIndex === null
|
|
1895
|
+
? 0
|
|
1896
|
+
: Math.min(this.currentIndex + 1, this._items.length - 1);
|
|
1897
|
+
this._dropdownElement.focusItem(this.currentIndex);
|
|
1898
|
+
});
|
|
1892
1899
|
}
|
|
1893
1900
|
if (event.key === 'ArrowUp') {
|
|
1894
1901
|
event.preventDefault();
|
|
@@ -1898,6 +1905,10 @@ const CSelect = class {
|
|
|
1898
1905
|
}
|
|
1899
1906
|
if (!this.dropdownVisible) {
|
|
1900
1907
|
this._dropdownElement.open();
|
|
1908
|
+
if (this.value) {
|
|
1909
|
+
this.currentIndex = this._getSelectionIndex(this._value);
|
|
1910
|
+
}
|
|
1911
|
+
return;
|
|
1901
1912
|
}
|
|
1902
1913
|
this.currentIndex =
|
|
1903
1914
|
this.currentIndex === null
|
|
@@ -1925,12 +1936,14 @@ const CSelect = class {
|
|
|
1925
1936
|
const isOpen = event.detail;
|
|
1926
1937
|
this.dropdownVisible = isOpen;
|
|
1927
1938
|
}
|
|
1928
|
-
onValueChanged(
|
|
1939
|
+
onValueChanged(value) {
|
|
1929
1940
|
var _a;
|
|
1930
|
-
if (!
|
|
1931
|
-
(
|
|
1941
|
+
if (!value) {
|
|
1942
|
+
if (this.optionAsSelection)
|
|
1943
|
+
(_a = this._selectionElement) === null || _a === void 0 ? void 0 : _a.replaceChildren();
|
|
1944
|
+
return;
|
|
1932
1945
|
}
|
|
1933
|
-
this._selectOption(this.returnObject ?
|
|
1946
|
+
this._selectOption(this.returnObject ? value : { name: value, value: value });
|
|
1934
1947
|
}
|
|
1935
1948
|
onSelectOption(event) {
|
|
1936
1949
|
var _a, _b;
|
|
@@ -1943,6 +1956,9 @@ const CSelect = class {
|
|
|
1943
1956
|
}
|
|
1944
1957
|
this._setValue(event.detail);
|
|
1945
1958
|
}
|
|
1959
|
+
_getSelectionIndex(searchString) {
|
|
1960
|
+
return Array.from(this._items).findIndex((i) => i.name.toLowerCase().startsWith(searchString.toLowerCase()));
|
|
1961
|
+
}
|
|
1946
1962
|
_selectOption({ value, name }) {
|
|
1947
1963
|
var _a, _b, _c;
|
|
1948
1964
|
(_a = this._dropdownElement) === null || _a === void 0 ? void 0 : _a.close();
|
|
@@ -1953,7 +1969,6 @@ const CSelect = class {
|
|
|
1953
1969
|
this._selectionElement.replaceChildren(clone);
|
|
1954
1970
|
}
|
|
1955
1971
|
(_b = this._dropdownElement) === null || _b === void 0 ? void 0 : _b.updateList();
|
|
1956
|
-
this._preventDialogOpen = true;
|
|
1957
1972
|
(_c = this._inputElement) === null || _c === void 0 ? void 0 : _c.focus();
|
|
1958
1973
|
}
|
|
1959
1974
|
_setValue({ value, name }) {
|
|
@@ -2029,23 +2044,23 @@ const CSelect = class {
|
|
|
2029
2044
|
'c-input-menu__chevron': true,
|
|
2030
2045
|
'c-input-menu__chevron--active': this.dropdownVisible,
|
|
2031
2046
|
};
|
|
2032
|
-
return (index.h("c-icon-button", { size: "x-small", class: classes, disabled: this.disabled, text: true, onClick: (event) => this._toggleDropdown(event), onKeyDown: (event) => this._onButtonKeyDown('chevron', event) }, index.h("c-icon", { path: mdi.mdiChevronDown, size: 24 })));
|
|
2047
|
+
return (index.h("c-icon-button", { size: "x-small", class: classes, disabled: this.disabled, text: true, onClick: (event) => this._toggleDropdown(event), onKeyDown: (event) => this._onButtonKeyDown('chevron', event) }, index.h("c-icon", { path: mdi.mdiChevronDown, size: 24, key: "c-select--chevron-icon" })));
|
|
2033
2048
|
}
|
|
2034
2049
|
_renderInputElement() {
|
|
2035
2050
|
var _a;
|
|
2036
2051
|
return (index.h("div", { class: "c-input-menu__input" }, index.h("input", { type: "text", readonly: true, ref: (el) => (this._inputElement = el), "aria-expanded": this.dropdownVisible.toString(), "aria-owns": this._inputId + '-items', "aria-autocomplete": "list", autocomplete: "off", class: "c-input__input", role: "combobox", value: this._value, name: (_a = this.name) !== null && _a !== void 0 ? _a : null, disabled: this.disabled, onInput: () => this._updateInput(), onFocus: () => this._onInputFocus() }), index.h("div", { ref: (el) => (this._selectionElement = el), class: "c-input-menu__selection" })));
|
|
2037
2052
|
}
|
|
2038
2053
|
_renderReset() {
|
|
2039
|
-
return (index.h("c-icon-button", { "aria-label": "", size: "x-small", disabled: this.disabled, text: true, onClick: (event) => this._onReset(event), onKeyDown: (event) => this._onButtonKeyDown('reset', event) }, index.h("c-icon", { path: mdi.mdiClose, size: 20 })));
|
|
2054
|
+
return (index.h("c-icon-button", { "aria-label": "", size: "x-small", disabled: this.disabled, text: true, onClick: (event) => this._onReset(event), onKeyDown: (event) => this._onButtonKeyDown('reset', event) }, index.h("c-icon", { path: mdi.mdiClose, size: 20, key: "c-select--reset-icon" })));
|
|
2040
2055
|
}
|
|
2041
2056
|
render() {
|
|
2042
2057
|
const itemType = this.optionElementsExist ? 'option' : 'item';
|
|
2043
|
-
return (index.h(index.Host, { key: '
|
|
2058
|
+
return (index.h(index.Host, { key: 'a04ff1f39668e7649c180e66ddf745d047e4bd52' }, index.h("c-dropdown", { key: '96d015a3e22fda3040b682278318e83c94519f17', ref: (el) => (this._dropdownElement = el), id: `${this._id}-dropdown`, index: this.currentIndex, "items-per-page": this.itemsPerPage, "dropdown-item-type": itemType, items: this._items, parent: this.el, type: "select" }, index.h("c-input", { key: '9ae977dac58ef98867f8f1220c096346d0ce875d', slot: "default", ref: (el) => (this._cInputElement = el), active: this.dropdownVisible, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, name: this.name, placeholder: this.placeholder, required: this.required, shadow: this.shadow, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value, variant: "select", onClick: () => !this.disabled && this._dropdownElement.open() }, index.h("slot", { key: '77a60a49d2f345c73188f8cf943a68b38841b4fd', name: "pre", slot: "pre" }), index.h("div", { key: 'ce48c08d8136c72866a96839d8145e984c622887', class: "c-input__content" }, this._renderInputElement(), this.loading && this._renderLoader(), !this.loading &&
|
|
2044
2059
|
this.value &&
|
|
2045
2060
|
this.clearable &&
|
|
2046
2061
|
this._renderReset(), !this.loading &&
|
|
2047
2062
|
(!this.value || !this.clearable) &&
|
|
2048
|
-
this._renderChevron(), index.h("slot", { key: '
|
|
2063
|
+
this._renderChevron(), index.h("slot", { key: '6c374c9e409faf23e4b539f52ebee7bbed9c8bc0', onSlotchange: () => this._onSlotChange() })), index.h("slot", { key: '1df5e73fd8c10026186ccbfb49b9917fbe80964c', name: "post", slot: "post" })))));
|
|
2049
2064
|
}
|
|
2050
2065
|
static get formAssociated() { return true; }
|
|
2051
2066
|
get el() { return index.getElement(this); }
|