b4f5138da3220b18a1b45f08d69384c5df3caeb456b8910f0a0b46cd600e0463.json 144 KB

1
  1. {"ast":null,"code":"import _asyncToGenerator from \"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\n/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';\nimport { c as createNotchController } from './notch-controller.js';\nimport { i as isOptionSelected, c as compareOptions, d as defineCustomElement$8 } from './radio.js';\nimport { d as inheritAttributes, f as focusVisibleElement, e as renderHiddenInput } from './helpers.js';\nimport { c as popoverController, b as actionSheetController, a as alertController, m as modalController } from './overlays.js';\nimport { i as isRTL } from './dir.js';\nimport { h as hostContext, c as createColorClasses } from './theme.js';\nimport { w as watchForOptions } from './watch-options.js';\nimport { v as chevronExpand, h as caretDownSharp } from './index7.js';\nimport { b as getIonMode } from './ionic-global.js';\nimport { d as defineCustomElement$n } from './action-sheet.js';\nimport { d as defineCustomElement$m } from './alert.js';\nimport { d as defineCustomElement$l } from './backdrop.js';\nimport { d as defineCustomElement$k } from './button.js';\nimport { d as defineCustomElement$j } from './buttons.js';\nimport { d as defineCustomElement$i } from './checkbox.js';\nimport { d as defineCustomElement$h } from './content.js';\nimport { d as defineCustomElement$g } from './header.js';\nimport { d as defineCustomElement$f } from './icon.js';\nimport { d as defineCustomElement$e } from './item.js';\nimport { d as defineCustomElement$d } from './label.js';\nimport { d as defineCustomElement$c } from './list.js';\nimport { d as defineCustomElement$b } from './list-header.js';\nimport { d as defineCustomElement$a } from './modal.js';\nimport { d as defineCustomElement$9 } from './popover.js';\nimport { d as defineCustomElement$7 } from './radio-group.js';\nimport { d as defineCustomElement$6 } from './ripple-effect.js';\nimport { d as defineCustomElement$5 } from './select-modal.js';\nimport { d as defineCustomElement$4 } from './select-popover.js';\nimport { d as defineCustomElement$3 } from './title.js';\nimport { d as defineCustomElement$2 } from './toolbar.js';\nconst selectIosCss = \":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}\";\nconst IonSelectIosStyle0 = selectIosCss;\nconst selectMdCss = \":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}\";\nconst IonSelectMdStyle0 = selectMdCss;\nconst Select = /*@__PURE__*/proxyCustomElement(class Select extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionChange = createEvent(this, \"ionChange\", 7);\n this.ionCancel = createEvent(this, \"ionCancel\", 7);\n this.ionDismiss = createEvent(this, \"ionDismiss\", 7);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.ionStyle = createEvent(this, \"ionStyle\", 7);\n this.inputId = `ion-sel-${selectIds++}`;\n this.inheritedAttributes = {};\n this.onClick = ev => {\n const target = ev.target;\n const closestSlot = target.closest('[slot=\"start\"], [slot=\"end\"]');\n if (target === this.el || closestSlot === null) {\n this.setFocus();\n this.open(ev);\n } else {\n /**\n * Prevent clicks to the start/end slots from opening the select.\n * We ensure the target isn't this element in case the select is slotted\n * in, for example, an item. This would prevent the select from ever\n * being opened since the element itself has slot=\"start\"/\"end\".\n *\n * Clicking a slotted element also causes a click\n * on the <label> element (since it wraps the slots).\n * Clicking <label> dispatches another click event on\n * the native form control that then bubbles up to this\n * listener. This additional event targets the host\n * element, so the select overlay is opened.\n *\n * When the slotted elements are clicked (and therefore\n * the ancestor <label> element) we want to prevent the label\n * from dispatching another click event.\n *\n * Do not call stopPropagation() because this will cause\n * click handlers on the slotted elements to never fire in React.\n * When developers do onClick in React a native \"click\" listener\n * is added on the root element, not the slotted element. When that\n * native click listener fires, React then dispatches the synthetic\n * click event on the slotted element. However, if stopPropagation\n * is called then the native click event will never bubble up\n * to the root element.\n */\n ev.preventDefault();\n }\n };\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n this.isExpanded = false;\n this.cancelText = 'Cancel';\n this.color = undefined;\n this.compareWith = undefined;\n this.disabled = false;\n this.fill = undefined;\n this.interface = 'alert';\n this.interfaceOptions = {};\n this.justify = undefined;\n this.label = undefined;\n this.labelPlacement = 'start';\n this.multiple = false;\n this.name = this.inputId;\n this.okText = 'OK';\n this.placeholder = undefined;\n this.selectedText = undefined;\n this.toggleIcon = undefined;\n this.expandedIcon = undefined;\n this.shape = undefined;\n this.value = undefined;\n }\n styleChanged() {\n this.emitStyle();\n }\n setValue(value) {\n this.value = value;\n this.ionChange.emit({\n value\n });\n }\n connectedCallback() {\n var _this = this;\n return _asyncToGenerator(function* () {\n const {\n el\n } = _this;\n _this.notchController = createNotchController(el, () => _this.notchSpacerEl, () => _this.labelSlot);\n _this.updateOverlayOptions();\n _this.emitStyle();\n _this.mutationO = watchForOptions(_this.el, 'ion-select-option', /*#__PURE__*/_asyncToGenerator(function* () {\n _this.updateOverlayOptions();\n /**\n * We need to re-render the component\n * because one of the new ion-select-option\n * elements may match the value. In this case,\n * the rendered selected text should be updated.\n */\n forceUpdate(_this);\n }));\n })();\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n componentDidLoad() {\n /**\n * If any of the conditions that trigger the styleChanged callback\n * are met on component load, it is possible the event emitted\n * prior to a parent web component registering an event listener.\n *\n * To ensure the parent web component receives the event, we\n * emit the style event again after the component has loaded.\n *\n * This is often seen in Angular with the `dist` output target.\n */\n this.emitStyle();\n }\n disconnectedCallback() {\n if (this.mutationO) {\n this.mutationO.disconnect();\n this.mutationO = undefined;\n }\n if (this.notchController) {\n this.notchController.destroy();\n this.notchController = undefined;\n }\n }\n /**\n * Open the select overlay. The overlay is either an alert, action sheet, or popover,\n * depending on the `interface` property on the `ion-select`.\n *\n * @param event The user interface event that called the open.\n */\n open(event) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n if (_this2.disabled || _this2.isExpanded) {\n return undefined;\n }\n _this2.isExpanded = true;\n const overlay = _this2.overlay = yield _this2.createOverlay(event);\n overlay.onDidDismiss().then(() => {\n _this2.overlay = undefined;\n _this2.isExpanded = false;\n _this2.ionDismiss.emit();\n _this2.setFocus();\n });\n yield overlay.present();\n // focus selected option for popovers and modals\n if (_this2.interface === 'popover' || _this2.interface === 'modal') {\n const indexOfSelected = _this2.childOpts.findIndex(o => o.value === _this2.value);\n if (indexOfSelected > -1) {\n const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);\n if (selectedItem) {\n /**\n * Browsers such as Firefox do not\n * correctly delegate focus when manually\n * focusing an element with delegatesFocus.\n * We work around this by manually focusing\n * the interactive element.\n * ion-radio and ion-checkbox are the only\n * elements that ion-select-popover uses, so\n * we only need to worry about those two components\n * when focusing.\n */\n const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');\n if (interactiveEl) {\n // Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling\n // and removing `ion-focused` style\n interactiveEl.setFocus();\n }\n focusVisibleElement(selectedItem);\n }\n } else {\n /**\n * If no value is set then focus the first enabled option.\n */\n const firstEnabledOption = overlay.querySelector('ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)');\n if (firstEnabledOption) {\n /**\n * Focus the option for the same reason as we do above.\n *\n * Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling\n * and removing `ion-focused` style\n */\n firstEnabledOption.setFocus();\n focusVisibleElement(firstEnabledOption.closest('ion-item'));\n }\n }\n }\n return overlay;\n })();\n }\n createOverlay(ev) {\n let selectInterface = this.interface;\n if (selectInterface === 'action-sheet' && this.multiple) {\n console.warn(`Select interface cannot be \"${selectInterface}\" with a multi-value select. Using the \"alert\" interface instead.`);\n selectInterface = 'alert';\n }\n if (selectInterface === 'popover' && !ev) {\n console.warn(`Select interface cannot be a \"${selectInterface}\" without passing an event. Using the \"alert\" interface instead.`);\n selectInterface = 'alert';\n }\n if (selectInterface === 'action-sheet') {\n return this.openActionSheet();\n }\n if (selectInterface === 'popover') {\n return this.openPopover(ev);\n }\n if (selectInterface === 'modal') {\n return this.openModal();\n }\n return this.openAlert();\n }\n updateOverlayOptions() {\n const overlay = this.overlay;\n if (!overlay) {\n return;\n }\n const childOpts = this.childOpts;\n const value = this.value;\n switch (this.interface) {\n case 'action-sheet':\n overlay.buttons = this.createActionSheetButtons(childOpts, value);\n break;\n case 'popover':\n const popover = overlay.querySelector('ion-select-popover');\n if (popover) {\n popover.options = this.createOverlaySelectOptions(childOpts, value);\n }\n break;\n case 'modal':\n const modal = overlay.querySelector('ion-select-modal');\n if (modal) {\n modal.options = this.createOverlaySelectOptions(childOpts, value);\n }\n break;\n case 'alert':\n const inputType = this.multiple ? 'checkbox' : 'radio';\n overlay.inputs = this.createAlertInputs(childOpts, inputType, value);\n break;\n }\n }\n createActionSheetButtons(data, selectValue) {\n const actionSheetButtons = data.map(option => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList).filter(cls => cls !== 'hydrated').join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n role: isOptionSelected(selectValue, value, this.compareWith) ? 'selected' : '',\n text: option.textContent,\n cssClass: optClass,\n handler: () => {\n this.setValue(value);\n }\n };\n });\n // Add \"cancel\" button\n actionSheetButtons.push({\n text: this.cancelText,\n role: 'cancel',\n handler: () => {\n this.ionCancel.emit();\n }\n });\n return actionSheetButtons;\n }\n createAlertInputs(data, inputType, selectValue) {\n const alertInputs = data.map(option => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList).filter(cls => cls !== 'hydrated').join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n type: inputType,\n cssClass: optClass,\n label: option.textContent || '',\n value,\n checked: isOptionSelected(selectValue, value, this.compareWith),\n disabled: option.disabled\n };\n });\n return alertInputs;\n }\n createOverlaySelectOptions(data, selectValue) {\n const popoverOptions = data.map(option => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList).filter(cls => cls !== 'hydrated').join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n text: option.textContent || '',\n cssClass: optClass,\n value,\n checked: isOptionSelected(selectValue, value, this.compareWith),\n disabled: option.disabled,\n handler: selected => {\n this.setValue(selected);\n if (!this.multiple) {\n this.close();\n }\n }\n };\n });\n return popoverOptions;\n }\n openPopover(ev) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n const {\n fill,\n labelPlacement\n } = _this3;\n const interfaceOptions = _this3.interfaceOptions;\n const mode = getIonMode(_this3);\n const showBackdrop = mode === 'md' ? false : true;\n const multiple = _this3.multiple;\n const value = _this3.value;\n let event = ev;\n let size = 'auto';\n const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';\n /**\n * The popover should take up the full width\n * when using a fill in MD mode or if the\n * label is floating/stacked.\n */\n if (hasFloatingOrStackedLabel || mode === 'md' && fill !== undefined) {\n size = 'cover';\n /**\n * Otherwise the popover\n * should be positioned relative\n * to the native element.\n */\n } else {\n event = Object.assign(Object.assign({}, ev), {\n detail: {\n ionShadowTarget: _this3.nativeWrapperEl\n }\n });\n }\n const popoverOpts = Object.assign(Object.assign({\n mode,\n event,\n alignment: 'center',\n size,\n showBackdrop\n }, interfaceOptions), {\n component: 'ion-select-popover',\n cssClass: ['select-popover', interfaceOptions.cssClass],\n componentProps: {\n header: interfaceOptions.header,\n subHeader: interfaceOptions.subHeader,\n message: interfaceOptions.message,\n multiple,\n value,\n options: _this3.createOverlaySelectOptions(_this3.childOpts, value)\n }\n });\n return popoverController.create(popoverOpts);\n })();\n }\n openActionSheet() {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n const mode = getIonMode(_this4);\n const interfaceOptions = _this4.interfaceOptions;\n const actionSheetOpts = Object.assign(Object.assign({\n mode\n }, interfaceOptions), {\n buttons: _this4.createActionSheetButtons(_this4.childOpts, _this4.value),\n cssClass: ['select-action-sheet', interfaceOptions.cssClass]\n });\n return actionSheetController.create(actionSheetOpts);\n })();\n }\n openAlert() {\n var _this5 = this;\n return _asyncToGenerator(function* () {\n const interfaceOptions = _this5.interfaceOptions;\n const inputType = _this5.multiple ? 'checkbox' : 'radio';\n const mode = getIonMode(_this5);\n const alertOpts = Object.assign(Object.assign({\n mode\n }, interfaceOptions), {\n header: interfaceOptions.header ? interfaceOptions.header : _this5.labelText,\n inputs: _this5.createAlertInputs(_this5.childOpts, inputType, _this5.value),\n buttons: [{\n text: _this5.cancelText,\n role: 'cancel',\n handler: () => {\n _this5.ionCancel.emit();\n }\n }, {\n text: _this5.okText,\n handler: selectedValues => {\n _this5.setValue(selectedValues);\n }\n }],\n cssClass: ['select-alert', interfaceOptions.cssClass, _this5.multiple ? 'multiple-select-alert' : 'single-select-alert']\n });\n return alertController.create(alertOpts);\n })();\n }\n openModal() {\n const {\n multiple,\n value,\n interfaceOptions\n } = this;\n const mode = getIonMode(this);\n const modalOpts = Object.assign(Object.assign({}, interfaceOptions), {\n mode,\n cssClass: ['select-modal', interfaceOptions.cssClass],\n component: 'ion-select-modal',\n componentProps: {\n header: interfaceOptions.header,\n multiple,\n value,\n options: this.createOverlaySelectOptions(this.childOpts, value)\n }\n });\n return modalController.create(modalOpts);\n }\n /**\n * Close the select interface.\n */\n close() {\n if (!this.overlay) {\n return Promise.resolve(false);\n }\n return this.overlay.dismiss();\n }\n hasValue() {\n return this.getText() !== '';\n }\n get childOpts() {\n return Array.from(this.el.querySelectorAll('ion-select-option'));\n }\n /**\n * Returns any plaintext associated with\n * the label (either prop or slot).\n * Note: This will not return any custom\n * HTML. Use the `hasLabel` getter if you\n * want to know if any slotted label content\n * was passed.\n */\n get labelText() {\n const {\n label\n } = this;\n if (label !== undefined) {\n return label;\n }\n const {\n labelSlot\n } = this;\n if (labelSlot !== null) {\n return labelSlot.textContent;\n }\n return;\n }\n getText() {\n const selectedText = this.selectedText;\n if (selectedText != null && selectedText !== '') {\n return selectedText;\n }\n return generateText(this.childOpts, this.value, this.compareWith);\n }\n setFocus() {\n if (this.focusEl) {\n this.focusEl.focus();\n }\n }\n emitStyle() {\n const {\n disabled\n } = this;\n const style = {\n 'interactive-disabled': disabled\n };\n this.ionStyle.emit(style);\n }\n renderLabel() {\n const {\n label\n } = this;\n return h(\"div\", {\n class: {\n 'label-text-wrapper': true,\n 'label-text-wrapper-hidden': !this.hasLabel\n },\n part: \"label\"\n }, label === undefined ? h(\"slot\", {\n name: \"label\"\n }) : h(\"div\", {\n class: \"label-text\"\n }, label));\n }\n componentDidRender() {\n var _a;\n (_a = this.notchController) === null || _a === void 0 ? void 0 : _a.calculateNotchWidth();\n }\n /**\n * Gets any content passed into the `label` slot,\n * not the <slot> definition.\n */\n get labelSlot() {\n return this.el.querySelector('[slot=\"label\"]');\n }\n /**\n * Returns `true` if label content is provided\n * either by a prop or a content. If you want\n * to get the plaintext value of the label use\n * the `labelText` getter instead.\n */\n get hasLabel() {\n return this.label !== undefined || this.labelSlot !== null;\n }\n /**\n * Renders the border container\n * when fill=\"outline\".\n */\n renderLabelContainer() {\n const mode = getIonMode(this);\n const hasOutlineFill = mode === 'md' && this.fill === 'outline';\n if (hasOutlineFill) {\n /**\n * The outline fill has a special outline\n * that appears around the select and the label.\n * Certain stacked and floating label placements cause the\n * label to translate up and create a \"cut out\"\n * inside of that border by using the notch-spacer element.\n */\n return [h(\"div\", {\n class: \"select-outline-container\"\n }, h(\"div\", {\n class: \"select-outline-start\"\n }), h(\"div\", {\n class: {\n 'select-outline-notch': true,\n 'select-outline-notch-hidden': !this.hasLabel\n }\n }, h(\"div\", {\n class: \"notch-spacer\",\n \"aria-hidden\": \"true\",\n ref: el => this.notchSpacerEl = el\n }, this.label)), h(\"div\", {\n class: \"select-outline-end\"\n })), this.renderLabel()];\n }\n /**\n * If not using the outline style,\n * we can render just the label.\n */\n return this.renderLabel();\n }\n /**\n * Renders either the placeholder\n * or the selected values based on\n * the state of the select.\n */\n renderSelectText() {\n const {\n placeholder\n } = this;\n const displayValue = this.getText();\n let addPlaceholderClass = false;\n let selectText = displayValue;\n if (selectText === '' && placeholder !== undefined) {\n selectText = placeholder;\n addPlaceholderClass = true;\n }\n const selectTextClasses = {\n 'select-text': true,\n 'select-placeholder': addPlaceholderClass\n };\n const textPart = addPlaceholderClass ? 'placeholder' : 'text';\n return h(\"div\", {\n \"aria-hidden\": \"true\",\n class: selectTextClasses,\n part: textPart\n }, selectText);\n }\n /**\n * Renders the chevron icon\n * next to the select text.\n */\n renderSelectIcon() {\n const mode = getIonMode(this);\n const {\n isExpanded,\n toggleIcon,\n expandedIcon\n } = this;\n let icon;\n if (isExpanded && expandedIcon !== undefined) {\n icon = expandedIcon;\n } else {\n const defaultIcon = mode === 'ios' ? chevronExpand : caretDownSharp;\n icon = toggleIcon !== null && toggleIcon !== void 0 ? toggleIcon : defaultIcon;\n }\n return h(\"ion-icon\", {\n class: \"select-icon\",\n part: \"icon\",\n \"aria-hidden\": \"true\",\n icon: icon\n });\n }\n get ariaLabel() {\n var _a;\n const {\n placeholder,\n inheritedAttributes\n } = this;\n const displayValue = this.getText();\n // The aria label should be preferred over visible text if both are specified\n const definedLabel = (_a = inheritedAttributes['aria-label']) !== null && _a !== void 0 ? _a : this.labelText;\n /**\n * If developer has specified a placeholder\n * and there is nothing selected, the selectText\n * should have the placeholder value.\n */\n let renderedLabel = displayValue;\n if (renderedLabel === '' && placeholder !== undefined) {\n renderedLabel = placeholder;\n }\n /**\n * If there is a developer-defined label,\n * then we need to concatenate the developer label\n * string with the current current value.\n * The label for the control should be read\n * before the values of the control.\n */\n if (definedLabel !== undefined) {\n renderedLabel = renderedLabel === '' ? definedLabel : `${definedLabel}, ${renderedLabel}`;\n }\n return renderedLabel;\n }\n renderListbox() {\n const {\n disabled,\n inputId,\n isExpanded\n } = this;\n return h(\"button\", {\n disabled: disabled,\n id: inputId,\n \"aria-label\": this.ariaLabel,\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": `${isExpanded}`,\n onFocus: this.onFocus,\n onBlur: this.onBlur,\n ref: focusEl => this.focusEl = focusEl\n });\n }\n render() {\n const {\n disabled,\n el,\n isExpanded,\n expandedIcon,\n labelPlacement,\n justify,\n placeholder,\n fill,\n shape,\n name,\n value\n } = this;\n const mode = getIonMode(this);\n const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';\n const justifyEnabled = !hasFloatingOrStackedLabel && justify !== undefined;\n const rtl = isRTL(el) ? 'rtl' : 'ltr';\n const inItem = hostContext('ion-item', this.el);\n const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;\n const hasValue = this.hasValue();\n const hasStartEndSlots = el.querySelector('[slot=\"start\"], [slot=\"end\"]') !== null;\n renderHiddenInput(true, el, name, parseValue(value), disabled);\n /**\n * If the label is stacked, it should always sit above the select.\n * For floating labels, the label should move above the select if\n * the select has a value, is open, or has anything in either\n * the start or end slot.\n *\n * If there is content in the start slot, the label would overlap\n * it if not forced to float. This is also applied to the end slot\n * because with the default or solid fills, the select is not\n * vertically centered in the container, but the label is. This\n * causes the slots and label to appear vertically offset from each\n * other when the label isn't floating above the input. This doesn't\n * apply to the outline fill, but this was not accounted for to keep\n * things consistent.\n *\n * TODO(FW-5592): Remove hasStartEndSlots condition\n */\n const labelShouldFloat = labelPlacement === 'stacked' || labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots);\n return h(Host, {\n key: '144dfa5c49549a74fe516c65b9b8104a477ac789',\n onClick: this.onClick,\n class: createColorClasses(this.color, {\n [mode]: true,\n 'in-item': inItem,\n 'in-item-color': hostContext('ion-item.ion-color', el),\n 'select-disabled': disabled,\n 'select-expanded': isExpanded,\n 'has-expanded-icon': expandedIcon !== undefined,\n 'has-value': hasValue,\n 'label-floating': labelShouldFloat,\n 'has-placeholder': placeholder !== undefined,\n 'ion-focusable': true,\n [`select-${rtl}`]: true,\n [`select-fill-${fill}`]: fill !== undefined,\n [`select-justify-${justify}`]: justifyEnabled,\n [`select-shape-${shape}`]: shape !== undefined,\n [`select-label-placement-${labelPlacement}`]: true\n })\n }, h(\"label\", {\n key: '0edcfcbac575a9dccc77991531b6980d1caebf42',\n class: \"select-wrapper\",\n id: \"select-label\"\n }, this.renderLabelContainer(), h(\"div\", {\n key: '348151d90cb093f5d21c7d4a834264ac4a312c40',\n class: \"select-wrapper-inner\"\n }, h(\"slot\", {\n key: '8b7708c7f81217435c58276da0c08bba766d9500',\n name: \"start\"\n }), h(\"div\", {\n key: '10c520a335da0a0d1cf40f9365597beb244d3b48',\n class: \"native-wrapper\",\n ref: el => this.nativeWrapperEl = el,\n part: \"container\"\n }, this.renderSelectText(), this.renderListbox()), h(\"slot\", {\n key: '0f15c40a5495e98e29d2a21ba21e0bc6f1c0125a',\n name: \"end\"\n }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h(\"div\", {\n key: 'c87faad2e5ebf7f9453397d7ede43abd64d21294',\n class: \"select-highlight\"\n })));\n }\n get el() {\n return this;\n }\n static get watchers() {\n return {\n \"disabled\": [\"styleChanged\"],\n \"isExpanded\": [\"styleChanged\"],\n \"placeholder\": [\"styleChanged\"],\n \"value\": [\"styleChanged\"]\n };\n }\n static get style() {\n return {\n ios: IonSelectIosStyle0,\n md: IonSelectMdStyle0\n };\n }\n}, [33, \"ion-select\", {\n \"cancelText\": [1, \"cancel-text\"],\n \"color\": [513],\n \"compareWith\": [1, \"compare-with\"],\n \"disabled\": [4],\n \"fill\": [1],\n \"interface\": [1],\n \"interfaceOptions\": [8, \"interface-options\"],\n \"justify\": [1],\n \"label\": [1],\n \"labelPlacement\": [1, \"label-placement\"],\n \"multiple\": [4],\n \"name\": [1],\n \"okText\": [1, \"ok-text\"],\n \"placeholder\": [1],\n \"selectedText\": [1, \"selected-text\"],\n \"toggleIcon\": [1, \"toggle-icon\"],\n \"expandedIcon\": [1, \"expanded-icon\"],\n \"shape\": [1],\n \"value\": [1032],\n \"isExpanded\": [32],\n \"open\": [64]\n}, undefined, {\n \"disabled\": [\"styleChanged\"],\n \"isExpanded\": [\"styleChanged\"],\n \"placeholder\": [\"styleChanged\"],\n \"value\": [\"styleChanged\"]\n}]);\nconst getOptionValue = el => {\n const value = el.value;\n return value === undefined ? el.textContent || '' : value;\n};\nconst parseValue = value => {\n if (value == null) {\n return undefined;\n }\n if (Array.isArray(value)) {\n return value.join(',');\n }\n return value.toString();\n};\nconst generateText = (opts, value, compareWith) => {\n if (value === undefined) {\n return '';\n }\n if (Array.isArray(value)) {\n return value.map(v => textForValue(opts, v, compareWith)).filter(opt => opt !== null).join(', ');\n } else {\n return textForValue(opts, value, compareWith) || '';\n }\n};\nconst textForValue = (opts, value, compareWith) => {\n const selectOpt = opts.find(opt => {\n return compareOptions(value, getOptionValue(opt), compareWith);\n });\n return selectOpt ? selectOpt.textContent : null;\n};\nlet selectIds = 0;\nconst OPTION_CLASS = 'select-interface-option';\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-select\", \"ion-action-sheet\", \"ion-alert\", \"ion-backdrop\", \"ion-button\", \"ion-buttons\", \"ion-checkbox\", \"ion-content\", \"ion-header\", \"ion-icon\", \"ion-item\", \"ion-label\", \"ion-list\", \"ion-list-header\", \"ion-modal\", \"ion-popover\", \"ion-radio\", \"ion-radio-group\", \"ion-ripple-effect\", \"ion-select-modal\", \"ion-select-popover\", \"ion-title\", \"ion-toolbar\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-select\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Select);\n }\n break;\n case \"ion-action-sheet\":\n if (!customElements.get(tagName)) {\n defineCustomElement$n();\n }\n break;\n case \"ion-alert\":\n if (!customElements.get(tagName)) {\n defineCustomElement$m();\n }\n break;\n case \"ion-backdrop\":\n if (!customElements.get(tagName)) {\n defineCustomElement$l();\n }\n break;\n case \"ion-button\":\n if (!customElements.get(tagName)) {\n defineCustomElement$k();\n }\n break;\n case \"ion-buttons\":\n if (!customElements.get(tagName)) {\n defineCustomElement$j();\n }\n break;\n case \"ion-checkbox\":\n if (!customElements.get(tagName)) {\n defineCustomElement$i();\n }\n break;\n case \"ion-content\":\n if (!customElements.get(tagName)) {\n defineCustomElement$h();\n }\n break;\n case \"ion-header\":\n if (!customElements.get(tagName)) {\n defineCustomElement$g();\n }\n break;\n case \"ion-icon\":\n if (!customElements.get(tagName)) {\n defineCustomElement$f();\n }\n break;\n case \"ion-item\":\n if (!customElements.get(tagName)) {\n defineCustomElement$e();\n }\n break;\n case \"ion-label\":\n if (!customElements.get(tagName)) {\n defineCustomElement$d();\n }\n break;\n case \"ion-list\":\n if (!customElements.get(tagName)) {\n defineCustomElement$c();\n }\n break;\n case \"ion-list-header\":\n if (!customElements.get(tagName)) {\n defineCustomElement$b();\n }\n break;\n case \"ion-modal\":\n if (!customElements.get(tagName)) {\n defineCustomElement$a();\n }\n break;\n case \"ion-popover\":\n if (!customElements.get(tagName)) {\n defineCustomElement$9();\n }\n break;\n case \"ion-radio\":\n if (!customElements.get(tagName)) {\n defineCustomElement$8();\n }\n break;\n case \"ion-radio-group\":\n if (!customElements.get(tagName)) {\n defineCustomElement$7();\n }\n break;\n case \"ion-ripple-effect\":\n if (!customElements.get(tagName)) {\n defineCustomElement$6();\n }\n break;\n case \"ion-select-modal\":\n if (!customElements.get(tagName)) {\n defineCustomElement$5();\n }\n break;\n case \"ion-select-popover\":\n if (!customElements.get(tagName)) {\n defineCustomElement$4();\n }\n break;\n case \"ion-title\":\n if (!customElements.get(tagName)) {\n defineCustomElement$3();\n }\n break;\n case \"ion-toolbar\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n }\n });\n}\nconst IonSelect = Select;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonSelect, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","createEvent","h","Host","forceUpdate","c","createNotchController","i","isOptionSelected","compareOptions","d","defineCustomElement$8","inheritAttributes","f","focusVisibleElement","e","renderHiddenInput","popoverController","b","actionSheetController","a","alertController","m","modalController","isRTL","hostContext","createColorClasses","w","watchForOptions","v","chevronExpand","caretDownSharp","getIonMode","defineCustomElement$n","defineCustomElement$m","defineCustomElement$l","defineCustomElement$k","defineCustomElement$j","defineCustomElement$i","defineCustomElement$h","defineCustomElement$g","defineCustomElement$f","defineCustomElement$e","defineCustomElement$d","defineCustomElement$c","defineCustomElement$b","defineCustomElement$a","defineCustomElement$9","defineCustomElement$7","defineCustomElement$6","defineCustomElement$5","defineCustomElement$4","defineCustomElement$3","defineCustomElement$2","selectIosCss","IonSelectIosStyle0","selectMdCss","IonSelectMdStyle0","Select","constructor","__registerHost","__attachShadow","ionChange","ionCancel","ionDismiss","ionFocus","ionBlur","ionStyle","inputId","selectIds","inheritedAttributes","onClick","ev","target","closestSlot","closest","el","setFocus","open","preventDefault","onFocus","emit","onBlur","isExpanded","cancelText","color","undefined","compareWith","disabled","fill","interface","interfaceOptions","justify","label","labelPlacement","multiple","name","okText","placeholder","selectedText","toggleIcon","expandedIcon","shape","value","styleChanged","emitStyle","setValue","connectedCallback","_this","_asyncToGenerator","notchController","notchSpacerEl","labelSlot","updateOverlayOptions","mutationO","componentWillLoad","componentDidLoad","disconnectedCallback","disconnect","destroy","event","_this2","overlay","createOverlay","onDidDismiss","then","present","indexOfSelected","childOpts","findIndex","o","selectedItem","querySelector","interactiveEl","firstEnabledOption","selectInterface","console","warn","openActionSheet","openPopover","openModal","openAlert","buttons","createActionSheetButtons","popover","options","createOverlaySelectOptions","modal","inputType","inputs","createAlertInputs","data","selectValue","actionSheetButtons","map","option","getOptionValue","copyClasses","Array","from","classList","filter","cls","join","optClass","OPTION_CLASS","role","text","textContent","cssClass","handler","push","alertInputs","type","checked","popoverOptions","selected","close","_this3","mode","showBackdrop","size","hasFloatingOrStackedLabel","Object","assign","detail","ionShadowTarget","nativeWrapperEl","popoverOpts","alignment","component","componentProps","header","subHeader","message","create","_this4","actionSheetOpts","_this5","alertOpts","labelText","selectedValues","modalOpts","Promise","resolve","dismiss","hasValue","getText","querySelectorAll","generateText","focusEl","focus","style","renderLabel","class","hasLabel","part","componentDidRender","_a","calculateNotchWidth","renderLabelContainer","hasOutlineFill","ref","renderSelectText","displayValue","addPlaceholderClass","selectText","selectTextClasses","textPart","renderSelectIcon","icon","defaultIcon","ariaLabel","definedLabel","renderedLabel","renderListbox","id","render","justifyEnabled","rtl","inItem","shouldRenderHighlight","hasStartEndSlots","parseValue","labelShouldFloat","key","watchers","ios","md","isArray","toString","opts","textForValue","opt","selectOpt","find","defineCustomElement$1","customElements","components","forEach","tagName","get","define","IonSelect","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-select.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';\nimport { c as createNotchController } from './notch-controller.js';\nimport { i as isOptionSelected, c as compareOptions, d as defineCustomElement$8 } from './radio.js';\nimport { d as inheritAttributes, f as focusVisibleElement, e as renderHiddenInput } from './helpers.js';\nimport { c as popoverController, b as actionSheetController, a as alertController, m as modalController } from './overlays.js';\nimport { i as isRTL } from './dir.js';\nimport { h as hostContext, c as createColorClasses } from './theme.js';\nimport { w as watchForOptions } from './watch-options.js';\nimport { v as chevronExpand, h as caretDownSharp } from './index7.js';\nimport { b as getIonMode } from './ionic-global.js';\nimport { d as defineCustomElement$n } from './action-sheet.js';\nimport { d as defineCustomElement$m } from './alert.js';\nimport { d as defineCustomElement$l } from './backdrop.js';\nimport { d as defineCustomElement$k } from './button.js';\nimport { d as defineCustomElement$j } from './buttons.js';\nimport { d as defineCustomElement$i } from './checkbox.js';\nimport { d as defineCustomElement$h } from './content.js';\nimport { d as defineCustomElement$g } from './header.js';\nimport { d as defineCustomElement$f } from './icon.js';\nimport { d as defineCustomElement$e } from './item.js';\nimport { d as defineCustomElement$d } from './label.js';\nimport { d as defineCustomElement$c } from './list.js';\nimport { d as defineCustomElement$b } from './list-header.js';\nimport { d as defineCustomElement$a } from './modal.js';\nimport { d as defineCustomElement$9 } from './popover.js';\nimport { d as defineCustomElement$7 } from './radio-group.js';\nimport { d as defineCustomElement$6 } from './ripple-effect.js';\nimport { d as defineCustomElement$5 } from './select-modal.js';\nimport { d as defineCustomElement$4 } from './select-popover.js';\nimport { d as defineCustomElement$3 } from './title.js';\nimport { d as defineCustomElement$2 } from './toolbar.js';\n\nconst selectIosCss = \":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}\";\nconst IonSelectIosStyle0 = selectIosCss;\n\nconst selectMdCss = \":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}\";\nconst IonSelectMdStyle0 = selectMdCss;\n\nconst Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionChange = createEvent(this, \"ionChange\", 7);\n this.ionCancel = createEvent(this, \"ionCancel\", 7);\n this.ionDismiss = createEvent(this, \"ionDismiss\", 7);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.ionStyle = createEvent(this, \"ionStyle\", 7);\n this.inputId = `ion-sel-${selectIds++}`;\n this.inheritedAttributes = {};\n this.onClick = (ev) => {\n const target = ev.target;\n const closestSlot = target.closest('[slot=\"start\"], [slot=\"end\"]');\n if (target === this.el || closestSlot === null) {\n this.setFocus();\n this.open(ev);\n }\n else {\n /**\n * Prevent clicks to the start/end slots from opening the select.\n * We ensure the target isn't this element in case the select is slotted\n * in, for example, an item. This would prevent the select from ever\n * being opened since the element itself has slot=\"start\"/\"end\".\n *\n * Clicking a slotted element also causes a click\n * on the <label> element (since it wraps the slots).\n * Clicking <label> dispatches another click event on\n * the native form control that then bubbles up to this\n * listener. This additional event targets the host\n * element, so the select overlay is opened.\n *\n * When the slotted elements are clicked (and therefore\n * the ancestor <label> element) we want to prevent the label\n * from dispatching another click event.\n *\n * Do not call stopPropagation() because this will cause\n * click handlers on the slotted elements to never fire in React.\n * When developers do onClick in React a native \"click\" listener\n * is added on the root element, not the slotted element. When that\n * native click listener fires, React then dispatches the synthetic\n * click event on the slotted element. However, if stopPropagation\n * is called then the native click event will never bubble up\n * to the root element.\n */\n ev.preventDefault();\n }\n };\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n this.isExpanded = false;\n this.cancelText = 'Cancel';\n this.color = undefined;\n this.compareWith = undefined;\n this.disabled = false;\n this.fill = undefined;\n this.interface = 'alert';\n this.interfaceOptions = {};\n this.justify = undefined;\n this.label = undefined;\n this.labelPlacement = 'start';\n this.multiple = false;\n this.name = this.inputId;\n this.okText = 'OK';\n this.placeholder = undefined;\n this.selectedText = undefined;\n this.toggleIcon = undefined;\n this.expandedIcon = undefined;\n this.shape = undefined;\n this.value = undefined;\n }\n styleChanged() {\n this.emitStyle();\n }\n setValue(value) {\n this.value = value;\n this.ionChange.emit({ value });\n }\n async connectedCallback() {\n const { el } = this;\n this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);\n this.updateOverlayOptions();\n this.emitStyle();\n this.mutationO = watchForOptions(this.el, 'ion-select-option', async () => {\n this.updateOverlayOptions();\n /**\n * We need to re-render the component\n * because one of the new ion-select-option\n * elements may match the value. In this case,\n * the rendered selected text should be updated.\n */\n forceUpdate(this);\n });\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n componentDidLoad() {\n /**\n * If any of the conditions that trigger the styleChanged callback\n * are met on component load, it is possible the event emitted\n * prior to a parent web component registering an event listener.\n *\n * To ensure the parent web component receives the event, we\n * emit the style event again after the component has loaded.\n *\n * This is often seen in Angular with the `dist` output target.\n */\n this.emitStyle();\n }\n disconnectedCallback() {\n if (this.mutationO) {\n this.mutationO.disconnect();\n this.mutationO = undefined;\n }\n if (this.notchController) {\n this.notchController.destroy();\n this.notchController = undefined;\n }\n }\n /**\n * Open the select overlay. The overlay is either an alert, action sheet, or popover,\n * depending on the `interface` property on the `ion-select`.\n *\n * @param event The user interface event that called the open.\n */\n async open(event) {\n if (this.disabled || this.isExpanded) {\n return undefined;\n }\n this.isExpanded = true;\n const overlay = (this.overlay = await this.createOverlay(event));\n overlay.onDidDismiss().then(() => {\n this.overlay = undefined;\n this.isExpanded = false;\n this.ionDismiss.emit();\n this.setFocus();\n });\n await overlay.present();\n // focus selected option for popovers and modals\n if (this.interface === 'popover' || this.interface === 'modal') {\n const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);\n if (indexOfSelected > -1) {\n const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);\n if (selectedItem) {\n /**\n * Browsers such as Firefox do not\n * correctly delegate focus when manually\n * focusing an element with delegatesFocus.\n * We work around this by manually focusing\n * the interactive element.\n * ion-radio and ion-checkbox are the only\n * elements that ion-select-popover uses, so\n * we only need to worry about those two components\n * when focusing.\n */\n const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');\n if (interactiveEl) {\n // Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling\n // and removing `ion-focused` style\n interactiveEl.setFocus();\n }\n focusVisibleElement(selectedItem);\n }\n }\n else {\n /**\n * If no value is set then focus the first enabled option.\n */\n const firstEnabledOption = overlay.querySelector('ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)');\n if (firstEnabledOption) {\n /**\n * Focus the option for the same reason as we do above.\n *\n * Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling\n * and removing `ion-focused` style\n */\n firstEnabledOption.setFocus();\n focusVisibleElement(firstEnabledOption.closest('ion-item'));\n }\n }\n }\n return overlay;\n }\n createOverlay(ev) {\n let selectInterface = this.interface;\n if (selectInterface === 'action-sheet' && this.multiple) {\n console.warn(`Select interface cannot be \"${selectInterface}\" with a multi-value select. Using the \"alert\" interface instead.`);\n selectInterface = 'alert';\n }\n if (selectInterface === 'popover' && !ev) {\n console.warn(`Select interface cannot be a \"${selectInterface}\" without passing an event. Using the \"alert\" interface instead.`);\n selectInterface = 'alert';\n }\n if (selectInterface === 'action-sheet') {\n return this.openActionSheet();\n }\n if (selectInterface === 'popover') {\n return this.openPopover(ev);\n }\n if (selectInterface === 'modal') {\n return this.openModal();\n }\n return this.openAlert();\n }\n updateOverlayOptions() {\n const overlay = this.overlay;\n if (!overlay) {\n return;\n }\n const childOpts = this.childOpts;\n const value = this.value;\n switch (this.interface) {\n case 'action-sheet':\n overlay.buttons = this.createActionSheetButtons(childOpts, value);\n break;\n case 'popover':\n const popover = overlay.querySelector('ion-select-popover');\n if (popover) {\n popover.options = this.createOverlaySelectOptions(childOpts, value);\n }\n break;\n case 'modal':\n const modal = overlay.querySelector('ion-select-modal');\n if (modal) {\n modal.options = this.createOverlaySelectOptions(childOpts, value);\n }\n break;\n case 'alert':\n const inputType = this.multiple ? 'checkbox' : 'radio';\n overlay.inputs = this.createAlertInputs(childOpts, inputType, value);\n break;\n }\n }\n createActionSheetButtons(data, selectValue) {\n const actionSheetButtons = data.map((option) => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList)\n .filter((cls) => cls !== 'hydrated')\n .join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n role: isOptionSelected(selectValue, value, this.compareWith) ? 'selected' : '',\n text: option.textContent,\n cssClass: optClass,\n handler: () => {\n this.setValue(value);\n },\n };\n });\n // Add \"cancel\" button\n actionSheetButtons.push({\n text: this.cancelText,\n role: 'cancel',\n handler: () => {\n this.ionCancel.emit();\n },\n });\n return actionSheetButtons;\n }\n createAlertInputs(data, inputType, selectValue) {\n const alertInputs = data.map((option) => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList)\n .filter((cls) => cls !== 'hydrated')\n .join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n type: inputType,\n cssClass: optClass,\n label: option.textContent || '',\n value,\n checked: isOptionSelected(selectValue, value, this.compareWith),\n disabled: option.disabled,\n };\n });\n return alertInputs;\n }\n createOverlaySelectOptions(data, selectValue) {\n const popoverOptions = data.map((option) => {\n const value = getOptionValue(option);\n // Remove hydrated before copying over classes\n const copyClasses = Array.from(option.classList)\n .filter((cls) => cls !== 'hydrated')\n .join(' ');\n const optClass = `${OPTION_CLASS} ${copyClasses}`;\n return {\n text: option.textContent || '',\n cssClass: optClass,\n value,\n checked: isOptionSelected(selectValue, value, this.compareWith),\n disabled: option.disabled,\n handler: (selected) => {\n this.setValue(selected);\n if (!this.multiple) {\n this.close();\n }\n },\n };\n });\n return popoverOptions;\n }\n async openPopover(ev) {\n const { fill, labelPlacement } = this;\n const interfaceOptions = this.interfaceOptions;\n const mode = getIonMode(this);\n const showBackdrop = mode === 'md' ? false : true;\n const multiple = this.multiple;\n const value = this.value;\n let event = ev;\n let size = 'auto';\n const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';\n /**\n * The popover should take up the full width\n * when using a fill in MD mode or if the\n * label is floating/stacked.\n */\n if (hasFloatingOrStackedLabel || (mode === 'md' && fill !== undefined)) {\n size = 'cover';\n /**\n * Otherwise the popover\n * should be positioned relative\n * to the native element.\n */\n }\n else {\n event = Object.assign(Object.assign({}, ev), { detail: {\n ionShadowTarget: this.nativeWrapperEl,\n } });\n }\n const popoverOpts = Object.assign(Object.assign({ mode,\n event, alignment: 'center', size,\n showBackdrop }, interfaceOptions), { component: 'ion-select-popover', cssClass: ['select-popover', interfaceOptions.cssClass], componentProps: {\n header: interfaceOptions.header,\n subHeader: interfaceOptions.subHeader,\n message: interfaceOptions.message,\n multiple,\n value,\n options: this.createOverlaySelectOptions(this.childOpts, value),\n } });\n return popoverController.create(popoverOpts);\n }\n async openActionSheet() {\n const mode = getIonMode(this);\n const interfaceOptions = this.interfaceOptions;\n const actionSheetOpts = Object.assign(Object.assign({ mode }, interfaceOptions), { buttons: this.createActionSheetButtons(this.childOpts, this.value), cssClass: ['select-action-sheet', interfaceOptions.cssClass] });\n return actionSheetController.create(actionSheetOpts);\n }\n async openAlert() {\n const interfaceOptions = this.interfaceOptions;\n const inputType = this.multiple ? 'checkbox' : 'radio';\n const mode = getIonMode(this);\n const alertOpts = Object.assign(Object.assign({ mode }, interfaceOptions), { header: interfaceOptions.header ? interfaceOptions.header : this.labelText, inputs: this.createAlertInputs(this.childOpts, inputType, this.value), buttons: [\n {\n text: this.cancelText,\n role: 'cancel',\n handler: () => {\n this.ionCancel.emit();\n },\n },\n {\n text: this.okText,\n handler: (selectedValues) => {\n this.setValue(selectedValues);\n },\n },\n ], cssClass: [\n 'select-alert',\n interfaceOptions.cssClass,\n this.multiple ? 'multiple-select-alert' : 'single-select-alert',\n ] });\n return alertController.create(alertOpts);\n }\n openModal() {\n const { multiple, value, interfaceOptions } = this;\n const mode = getIonMode(this);\n const modalOpts = Object.assign(Object.assign({}, interfaceOptions), { mode, cssClass: ['select-modal', interfaceOptions.cssClass], component: 'ion-select-modal', componentProps: {\n header: interfaceOptions.header,\n multiple,\n value,\n options: this.createOverlaySelectOptions(this.childOpts, value),\n } });\n return modalController.create(modalOpts);\n }\n /**\n * Close the select interface.\n */\n close() {\n if (!this.overlay) {\n return Promise.resolve(false);\n }\n return this.overlay.dismiss();\n }\n hasValue() {\n return this.getText() !== '';\n }\n get childOpts() {\n return Array.from(this.el.querySelectorAll('ion-select-option'));\n }\n /**\n * Returns any plaintext associated with\n * the label (either prop or slot).\n * Note: This will not return any custom\n * HTML. Use the `hasLabel` getter if you\n * want to know if any slotted label content\n * was passed.\n */\n get labelText() {\n const { label } = this;\n if (label !== undefined) {\n return label;\n }\n const { labelSlot } = this;\n if (labelSlot !== null) {\n return labelSlot.textContent;\n }\n return;\n }\n getText() {\n const selectedText = this.selectedText;\n if (selectedText != null && selectedText !== '') {\n return selectedText;\n }\n return generateText(this.childOpts, this.value, this.compareWith);\n }\n setFocus() {\n if (this.focusEl) {\n this.focusEl.focus();\n }\n }\n emitStyle() {\n const { disabled } = this;\n const style = {\n 'interactive-disabled': disabled,\n };\n this.ionStyle.emit(style);\n }\n renderLabel() {\n const { label } = this;\n return (h(\"div\", { class: {\n 'label-text-wrapper': true,\n 'label-text-wrapper-hidden': !this.hasLabel,\n }, part: \"label\" }, label === undefined ? h(\"slot\", { name: \"label\" }) : h(\"div\", { class: \"label-text\" }, label)));\n }\n componentDidRender() {\n var _a;\n (_a = this.notchController) === null || _a === void 0 ? void 0 : _a.calculateNotchWidth();\n }\n /**\n * Gets any content passed into the `label` slot,\n * not the <slot> definition.\n */\n get labelSlot() {\n return this.el.querySelector('[slot=\"label\"]');\n }\n /**\n * Returns `true` if label content is provided\n * either by a prop or a content. If you want\n * to get the plaintext value of the label use\n * the `labelText` getter instead.\n */\n get hasLabel() {\n return this.label !== undefined || this.labelSlot !== null;\n }\n /**\n * Renders the border container\n * when fill=\"outline\".\n */\n renderLabelContainer() {\n const mode = getIonMode(this);\n const hasOutlineFill = mode === 'md' && this.fill === 'outline';\n if (hasOutlineFill) {\n /**\n * The outline fill has a special outline\n * that appears around the select and the label.\n * Certain stacked and floating label placements cause the\n * label to translate up and create a \"cut out\"\n * inside of that border by using the notch-spacer element.\n */\n return [\n h(\"div\", { class: \"select-outline-container\" }, h(\"div\", { class: \"select-outline-start\" }), h(\"div\", { class: {\n 'select-outline-notch': true,\n 'select-outline-notch-hidden': !this.hasLabel,\n } }, h(\"div\", { class: \"notch-spacer\", \"aria-hidden\": \"true\", ref: (el) => (this.notchSpacerEl = el) }, this.label)), h(\"div\", { class: \"select-outline-end\" })),\n this.renderLabel(),\n ];\n }\n /**\n * If not using the outline style,\n * we can render just the label.\n */\n return this.renderLabel();\n }\n /**\n * Renders either the placeholder\n * or the selected values based on\n * the state of the select.\n */\n renderSelectText() {\n const { placeholder } = this;\n const displayValue = this.getText();\n let addPlaceholderClass = false;\n let selectText = displayValue;\n if (selectText === '' && placeholder !== undefined) {\n selectText = placeholder;\n addPlaceholderClass = true;\n }\n const selectTextClasses = {\n 'select-text': true,\n 'select-placeholder': addPlaceholderClass,\n };\n const textPart = addPlaceholderClass ? 'placeholder' : 'text';\n return (h(\"div\", { \"aria-hidden\": \"true\", class: selectTextClasses, part: textPart }, selectText));\n }\n /**\n * Renders the chevron icon\n * next to the select text.\n */\n renderSelectIcon() {\n const mode = getIonMode(this);\n const { isExpanded, toggleIcon, expandedIcon } = this;\n let icon;\n if (isExpanded && expandedIcon !== undefined) {\n icon = expandedIcon;\n }\n else {\n const defaultIcon = mode === 'ios' ? chevronExpand : caretDownSharp;\n icon = toggleIcon !== null && toggleIcon !== void 0 ? toggleIcon : defaultIcon;\n }\n return h(\"ion-icon\", { class: \"select-icon\", part: \"icon\", \"aria-hidden\": \"true\", icon: icon });\n }\n get ariaLabel() {\n var _a;\n const { placeholder, inheritedAttributes } = this;\n const displayValue = this.getText();\n // The aria label should be preferred over visible text if both are specified\n const definedLabel = (_a = inheritedAttributes['aria-label']) !== null && _a !== void 0 ? _a : this.labelText;\n /**\n * If developer has specified a placeholder\n * and there is nothing selected, the selectText\n * should have the placeholder value.\n */\n let renderedLabel = displayValue;\n if (renderedLabel === '' && placeholder !== undefined) {\n renderedLabel = placeholder;\n }\n /**\n * If there is a developer-defined label,\n * then we need to concatenate the developer label\n * string with the current current value.\n * The label for the control should be read\n * before the values of the control.\n */\n if (definedLabel !== undefined) {\n renderedLabel = renderedLabel === '' ? definedLabel : `${definedLabel}, ${renderedLabel}`;\n }\n return renderedLabel;\n }\n renderListbox() {\n const { disabled, inputId, isExpanded } = this;\n return (h(\"button\", { disabled: disabled, id: inputId, \"aria-label\": this.ariaLabel, \"aria-haspopup\": \"dialog\", \"aria-expanded\": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));\n }\n render() {\n const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;\n const mode = getIonMode(this);\n const hasFloatingOrStackedLabel = labelPlacement === 'floating' || labelPlacement === 'stacked';\n const justifyEnabled = !hasFloatingOrStackedLabel && justify !== undefined;\n const rtl = isRTL(el) ? 'rtl' : 'ltr';\n const inItem = hostContext('ion-item', this.el);\n const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;\n const hasValue = this.hasValue();\n const hasStartEndSlots = el.querySelector('[slot=\"start\"], [slot=\"end\"]') !== null;\n renderHiddenInput(true, el, name, parseValue(value), disabled);\n /**\n * If the label is stacked, it should always sit above the select.\n * For floating labels, the label should move above the select if\n * the select has a value, is open, or has anything in either\n * the start or end slot.\n *\n * If there is content in the start slot, the label would overlap\n * it if not forced to float. This is also applied to the end slot\n * because with the default or solid fills, the select is not\n * vertically centered in the container, but the label is. This\n * causes the slots and label to appear vertically offset from each\n * other when the label isn't floating above the input. This doesn't\n * apply to the outline fill, but this was not accounted for to keep\n * things consistent.\n *\n * TODO(FW-5592): Remove hasStartEndSlots condition\n */\n const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));\n return (h(Host, { key: '144dfa5c49549a74fe516c65b9b8104a477ac789', onClick: this.onClick, class: createColorClasses(this.color, {\n [mode]: true,\n 'in-item': inItem,\n 'in-item-color': hostContext('ion-item.ion-color', el),\n 'select-disabled': disabled,\n 'select-expanded': isExpanded,\n 'has-expanded-icon': expandedIcon !== undefined,\n 'has-value': hasValue,\n 'label-floating': labelShouldFloat,\n 'has-placeholder': placeholder !== undefined,\n 'ion-focusable': true,\n [`select-${rtl}`]: true,\n [`select-fill-${fill}`]: fill !== undefined,\n [`select-justify-${justify}`]: justifyEnabled,\n [`select-shape-${shape}`]: shape !== undefined,\n [`select-label-placement-${labelPlacement}`]: true,\n }) }, h(\"label\", { key: '0edcfcbac575a9dccc77991531b6980d1caebf42', class: \"select-wrapper\", id: \"select-label\" }, this.renderLabelContainer(), h(\"div\", { key: '348151d90cb093f5d21c7d4a834264ac4a312c40', class: \"select-wrapper-inner\" }, h(\"slot\", { key: '8b7708c7f81217435c58276da0c08bba766d9500', name: \"start\" }), h(\"div\", { key: '10c520a335da0a0d1cf40f9365597beb244d3b48', class: \"native-wrapper\", ref: (el) => (this.nativeWrapperEl = el), part: \"container\" }, this.renderSelectText(), this.renderListbox()), h(\"slot\", { key: '0f15c40a5495e98e29d2a21ba21e0bc6f1c0125a', name: \"end\" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h(\"div\", { key: 'c87faad2e5ebf7f9453397d7ede43abd64d21294', class: \"select-highlight\" }))));\n }\n get el() { return this; }\n static get watchers() { return {\n \"disabled\": [\"styleChanged\"],\n \"isExpanded\": [\"styleChanged\"],\n \"placeholder\": [\"styleChanged\"],\n \"value\": [\"styleChanged\"]\n }; }\n static get style() { return {\n ios: IonSelectIosStyle0,\n md: IonSelectMdStyle0\n }; }\n}, [33, \"ion-select\", {\n \"cancelText\": [1, \"cancel-text\"],\n \"color\": [513],\n \"compareWith\": [1, \"compare-with\"],\n \"disabled\": [4],\n \"fill\": [1],\n \"interface\": [1],\n \"interfaceOptions\": [8, \"interface-options\"],\n \"justify\": [1],\n \"label\": [1],\n \"labelPlacement\": [1, \"label-placement\"],\n \"multiple\": [4],\n \"name\": [1],\n \"okText\": [1, \"ok-text\"],\n \"placeholder\": [1],\n \"selectedText\": [1, \"selected-text\"],\n \"toggleIcon\": [1, \"toggle-icon\"],\n \"expandedIcon\": [1, \"expanded-icon\"],\n \"shape\": [1],\n \"value\": [1032],\n \"isExpanded\": [32],\n \"open\": [64]\n }, undefined, {\n \"disabled\": [\"styleChanged\"],\n \"isExpanded\": [\"styleChanged\"],\n \"placeholder\": [\"styleChanged\"],\n \"value\": [\"styleChanged\"]\n }]);\nconst getOptionValue = (el) => {\n const value = el.value;\n return value === undefined ? el.textContent || '' : value;\n};\nconst parseValue = (value) => {\n if (value == null) {\n return undefined;\n }\n if (Array.isArray(value)) {\n return value.join(',');\n }\n return value.toString();\n};\nconst generateText = (opts, value, compareWith) => {\n if (value === undefined) {\n return '';\n }\n if (Array.isArray(value)) {\n return value\n .map((v) => textForValue(opts, v, compareWith))\n .filter((opt) => opt !== null)\n .join(', ');\n }\n else {\n return textForValue(opts, value, compareWith) || '';\n }\n};\nconst textForValue = (opts, value, compareWith) => {\n const selectOpt = opts.find((opt) => {\n return compareOptions(value, getOptionValue(opt), compareWith);\n });\n return selectOpt ? selectOpt.textContent : null;\n};\nlet selectIds = 0;\nconst OPTION_CLASS = 'select-interface-option';\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-select\", \"ion-action-sheet\", \"ion-alert\", \"ion-backdrop\", \"ion-button\", \"ion-buttons\", \"ion-checkbox\", \"ion-content\", \"ion-header\", \"ion-icon\", \"ion-item\", \"ion-label\", \"ion-list\", \"ion-list-header\", \"ion-modal\", \"ion-popover\", \"ion-radio\", \"ion-radio-group\", \"ion-ripple-effect\", \"ion-select-modal\", \"ion-select-popover\", \"ion-title\", \"ion-toolbar\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-select\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Select);\n }\n break;\n case \"ion-action-sheet\":\n if (!customElements.get(tagName)) {\n defineCustomElement$n();\n }\n break;\n case \"ion-alert\":\n if (!customElements.get(tagName)) {\n defineCustomElement$m();\n }\n break;\n case \"ion-backdrop\":\n if (!customElements.get(tagName)) {\n defineCustomElement$l();\n }\n break;\n case \"ion-button\":\n if (!customElements.get(tagName)) {\n defineCustomElement$k();\n }\n break;\n case \"ion-buttons\":\n if (!customElements.get(tagName)) {\n defineCustomElement$j();\n }\n break;\n case \"ion-checkbox\":\n if (!customElements.get(tagName)) {\n defineCustomElement$i();\n }\n break;\n case \"ion-content\":\n if (!customElements.get(tagName)) {\n defineCustomElement$h();\n }\n break;\n case \"ion-header\":\n if (!customElements.get(tagName)) {\n defineCustomElement$g();\n }\n break;\n case \"ion-icon\":\n if (!customElements.get(tagName)) {\n defineCustomElement$f();\n }\n break;\n case \"ion-item\":\n if (!customElements.get(tagName)) {\n defineCustomElement$e();\n }\n break;\n case \"ion-label\":\n if (!customElements.get(tagName)) {\n defineCustomElement$d();\n }\n break;\n case \"ion-list\":\n if (!customElements.get(tagName)) {\n defineCustomElement$c();\n }\n break;\n case \"ion-list-header\":\n if (!customElements.get(tagName)) {\n defineCustomElement$b();\n }\n break;\n case \"ion-modal\":\n if (!customElements.get(tagName)) {\n defineCustomElement$a();\n }\n break;\n case \"ion-popover\":\n if (!customElements.get(tagName)) {\n defineCustomElement$9();\n }\n break;\n case \"ion-radio\":\n if (!customElements.get(tagName)) {\n defineCustomElement$8();\n }\n break;\n case \"ion-radio-group\":\n if (!customElements.get(tagName)) {\n defineCustomElement$7();\n }\n break;\n case \"ion-ripple-effect\":\n if (!customElements.get(tagName)) {\n defineCustomElement$6();\n }\n break;\n case \"ion-select-modal\":\n if (!customElements.get(tagName)) {\n defineCustomElement$5();\n }\n break;\n case \"ion-select-popover\":\n if (!customElements.get(tagName)) {\n defineCustomElement$4();\n }\n break;\n case \"ion-title\":\n if (!customElements.get(tagName)) {\n defineCustomElement$3();\n }\n break;\n case \"ion-toolbar\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n } });\n}\n\nconst IonSelect = Select;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonSelect, defineCustomElement };\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,WAAW,EAAEC,CAAC,EAAEC,IAAI,EAAEC,WAAW,QAAQ,+BAA+B;AAClH,SAASC,CAAC,IAAIC,qBAAqB,QAAQ,uBAAuB;AAClE,SAASC,CAAC,IAAIC,gBAAgB,EAAEH,CAAC,IAAII,cAAc,EAAEC,CAAC,IAAIC,qBAAqB,QAAQ,YAAY;AACnG,SAASD,CAAC,IAAIE,iBAAiB,EAAEC,CAAC,IAAIC,mBAAmB,EAAEC,CAAC,IAAIC,iBAAiB,QAAQ,cAAc;AACvG,SAASX,CAAC,IAAIY,iBAAiB,EAAEC,CAAC,IAAIC,qBAAqB,EAAEC,CAAC,IAAIC,eAAe,EAAEC,CAAC,IAAIC,eAAe,QAAQ,eAAe;AAC9H,S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