1 |
- {"ast":null,"code":"/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-28849c61.js';\nimport { i as inheritAriaAttributes } from './helpers-da915de8.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';\nimport { m as chevronForwardOutline, n as ellipsisHorizontal } from './index-e2cf2ceb.js';\nimport { b as getIonMode } from './ionic-global-c81d82ab.js';\nconst breadcrumbIosCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}\";\nconst IonBreadcrumbIosStyle0 = breadcrumbIosCss;\nconst breadcrumbMdCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, #fff))}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #7d8894));font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}\";\nconst IonBreadcrumbMdStyle0 = breadcrumbMdCss;\nconst Breadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.collapsedClick = createEvent(this, \"collapsedClick\", 7);\n this.inheritedAttributes = {};\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n this.collapsedIndicatorClick = () => {\n this.collapsedClick.emit({\n ionShadowTarget: this.collapsedRef\n });\n };\n this.collapsed = false;\n this.last = undefined;\n this.showCollapsedIndicator = undefined;\n this.color = undefined;\n this.active = false;\n this.disabled = false;\n this.download = undefined;\n this.href = undefined;\n this.rel = undefined;\n this.separator = undefined;\n this.target = undefined;\n this.routerDirection = 'forward';\n this.routerAnimation = undefined;\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n isClickable() {\n return this.href !== undefined;\n }\n render() {\n const {\n color,\n active,\n collapsed,\n disabled,\n download,\n el,\n inheritedAttributes,\n last,\n routerAnimation,\n routerDirection,\n separator,\n showCollapsedIndicator,\n target\n } = this;\n const clickable = this.isClickable();\n const TagType = this.href === undefined ? 'span' : 'a';\n // Links can still be tabbed to when set to disabled if they have an href\n // in order to truly disable them we can keep it as an anchor but remove the href\n const href = disabled ? undefined : this.href;\n const mode = getIonMode(this);\n const attrs = TagType === 'span' ? {} : {\n download,\n href,\n target\n };\n // If the breadcrumb is collapsed, check if it contains the collapsed indicator\n // to show the separator as long as it isn't also the last breadcrumb\n // otherwise if not collapsed use the value in separator\n const showSeparator = last ? false : collapsed ? showCollapsedIndicator && !last ? true : false : separator;\n return h(Host, {\n key: '32ca61c83721dff52b5e97171ed449dce3584a55',\n onClick: ev => openURL(href, ev, routerDirection, routerAnimation),\n \"aria-disabled\": disabled ? 'true' : null,\n class: createColorClasses(color, {\n [mode]: true,\n 'breadcrumb-active': active,\n 'breadcrumb-collapsed': collapsed,\n 'breadcrumb-disabled': disabled,\n 'in-breadcrumbs-color': hostContext('ion-breadcrumbs[color]', el),\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': clickable,\n 'ion-focusable': clickable\n })\n }, h(TagType, Object.assign({\n key: '479feb845f4a6d8009d5422b33eb423730b9722b'\n }, attrs, {\n class: \"breadcrumb-native\",\n part: \"native\",\n disabled: disabled,\n onFocus: this.onFocus,\n onBlur: this.onBlur\n }, inheritedAttributes), h(\"slot\", {\n key: '3c5dcaeb0d258235d1b7707868026ff1d1404099',\n name: \"start\"\n }), h(\"slot\", {\n key: 'f1cfb934443cd97dc220882c5e3596ea879d66cf'\n }), h(\"slot\", {\n key: '539710121b5b1f3ee8d4c24a9651b67c2ae08add',\n name: \"end\"\n })), showCollapsedIndicator && h(\"button\", {\n key: 'ed53a95ccd89022c8b7bee0658a221ec62a5c73b',\n part: \"collapsed-indicator\",\n \"aria-label\": \"Show more breadcrumbs\",\n onClick: () => this.collapsedIndicatorClick(),\n ref: collapsedEl => this.collapsedRef = collapsedEl,\n class: {\n 'breadcrumbs-collapsed-indicator': true\n }\n }, h(\"ion-icon\", {\n key: 'a849e1142a86f06f207cf11662fa2a560ab7fc6a',\n \"aria-hidden\": \"true\",\n icon: ellipsisHorizontal,\n lazy: false\n })), showSeparator && (\n /**\n * Separators should not be announced by narrators.\n * We add aria-hidden on the span so that this applies\n * to any custom separators too.\n */\n h(\"span\", {\n key: 'fc3c741cb01fafef8b26046c7ee5b190efc69a7c',\n class: \"breadcrumb-separator\",\n part: \"separator\",\n \"aria-hidden\": \"true\"\n }, h(\"slot\", {\n key: '4871932ae1dae520767e0713e7cee2d11b0bba6d',\n name: \"separator\"\n }, mode === 'ios' ? h(\"ion-icon\", {\n icon: chevronForwardOutline,\n lazy: false,\n \"flip-rtl\": true\n }) : h(\"span\", null, \"/\")))));\n }\n get el() {\n return getElement(this);\n }\n};\nBreadcrumb.style = {\n ios: IonBreadcrumbIosStyle0,\n md: IonBreadcrumbMdStyle0\n};\nconst breadcrumbsIosCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}\";\nconst IonBreadcrumbsIosStyle0 = breadcrumbsIosCss;\nconst breadcrumbsMdCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}\";\nconst IonBreadcrumbsMdStyle0 = breadcrumbsMdCss;\nconst Breadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionCollapsedClick = createEvent(this, \"ionCollapsedClick\", 7);\n this.breadcrumbsInit = () => {\n this.setBreadcrumbSeparator();\n this.setMaxItems();\n };\n this.resetActiveBreadcrumb = () => {\n const breadcrumbs = this.getBreadcrumbs();\n // Only reset the active breadcrumb if we were the ones to change it\n // otherwise use the one set on the component\n const activeBreadcrumb = breadcrumbs.find(breadcrumb => breadcrumb.active);\n if (activeBreadcrumb && this.activeChanged) {\n activeBreadcrumb.active = false;\n }\n };\n this.setMaxItems = () => {\n const {\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems\n } = this;\n const breadcrumbs = this.getBreadcrumbs();\n for (const breadcrumb of breadcrumbs) {\n breadcrumb.showCollapsedIndicator = false;\n breadcrumb.collapsed = false;\n }\n // If the number of breadcrumbs exceeds the maximum number of items\n // that should show and the items before / after collapse do not\n // exceed the maximum items then we need to collapse the breadcrumbs\n const shouldCollapse = maxItems !== undefined && breadcrumbs.length > maxItems && itemsBeforeCollapse + itemsAfterCollapse <= maxItems;\n if (shouldCollapse) {\n // Show the collapsed indicator in the first breadcrumb that collapses\n breadcrumbs.forEach((breadcrumb, index) => {\n if (index === itemsBeforeCollapse) {\n breadcrumb.showCollapsedIndicator = true;\n }\n // Collapse all breadcrumbs that have an index greater than or equal to\n // the number before collapse and an index less than the total number\n // of breadcrumbs minus the items that should show after the collapse\n if (index >= itemsBeforeCollapse && index < breadcrumbs.length - itemsAfterCollapse) {\n breadcrumb.collapsed = true;\n }\n });\n }\n };\n this.setBreadcrumbSeparator = () => {\n const {\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems\n } = this;\n const breadcrumbs = this.getBreadcrumbs();\n // Check if an active breadcrumb exists already\n const active = breadcrumbs.find(breadcrumb => breadcrumb.active);\n // Set the separator on all but the last breadcrumb\n for (const breadcrumb of breadcrumbs) {\n // The only time the last breadcrumb changes is when\n // itemsAfterCollapse is set to 0, in this case the\n // last breadcrumb will be the collapsed indicator\n const last = maxItems !== undefined && itemsAfterCollapse === 0 ? breadcrumb === breadcrumbs[itemsBeforeCollapse] : breadcrumb === breadcrumbs[breadcrumbs.length - 1];\n breadcrumb.last = last;\n // If the breadcrumb has defined whether or not to show the\n // separator then use that value, otherwise check if it's the\n // last breadcrumb\n const separator = breadcrumb.separator !== undefined ? breadcrumb.separator : last ? undefined : true;\n breadcrumb.separator = separator;\n // If there is not an active breadcrumb already\n // set the last one to active\n if (!active && last) {\n breadcrumb.active = true;\n this.activeChanged = true;\n }\n }\n };\n this.getBreadcrumbs = () => {\n return Array.from(this.el.querySelectorAll('ion-breadcrumb'));\n };\n this.slotChanged = () => {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n };\n this.collapsed = undefined;\n this.activeChanged = undefined;\n this.color = undefined;\n this.maxItems = undefined;\n this.itemsBeforeCollapse = 1;\n this.itemsAfterCollapse = 1;\n }\n onCollapsedClick(ev) {\n const breadcrumbs = this.getBreadcrumbs();\n const collapsedBreadcrumbs = breadcrumbs.filter(breadcrumb => breadcrumb.collapsed);\n this.ionCollapsedClick.emit(Object.assign(Object.assign({}, ev.detail), {\n collapsedBreadcrumbs\n }));\n }\n maxItemsChanged() {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n }\n componentWillLoad() {\n this.breadcrumbsInit();\n }\n render() {\n const {\n color,\n collapsed\n } = this;\n const mode = getIonMode(this);\n return h(Host, {\n key: 'fe64e9cdf597ede2db140bf5fa05a0359d82db57',\n class: createColorClasses(color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'breadcrumbs-collapsed': collapsed\n })\n }, h(\"slot\", {\n key: 'a2c99b579e339055c50a613d5c6b61032f5ddffe',\n onSlotchange: this.slotChanged\n }));\n }\n get el() {\n return getElement(this);\n }\n static get watchers() {\n return {\n \"maxItems\": [\"maxItemsChanged\"],\n \"itemsBeforeCollapse\": [\"maxItemsChanged\"],\n \"itemsAfterCollapse\": [\"maxItemsChanged\"]\n };\n }\n};\nBreadcrumbs.style = {\n ios: IonBreadcrumbsIosStyle0,\n md: IonBreadcrumbsMdStyle0\n};\nexport { Breadcrumb as ion_breadcrumb, Breadcrumbs as ion_breadcrumbs };","map":{"version":3,"names":["r","registerInstance","d","createEvent","h","f","Host","i","getElement","inheritAriaAttributes","o","openURL","c","createColorClasses","hostContext","m","chevronForwardOutline","n","ellipsisHorizontal","b","getIonMode","breadcrumbIosCss","IonBreadcrumbIosStyle0","breadcrumbMdCss","IonBreadcrumbMdStyle0","Breadcrumb","constructor","hostRef","ionFocus","ionBlur","collapsedClick","inheritedAttributes","onFocus","emit","onBlur","collapsedIndicatorClick","ionShadowTarget","collapsedRef","collapsed","last","undefined","showCollapsedIndicator","color","active","disabled","download","href","rel","separator","target","routerDirection","routerAnimation","componentWillLoad","el","isClickable","render","clickable","TagType","mode","attrs","showSeparator","key","onClick","ev","class","Object","assign","part","name","ref","collapsedEl","icon","lazy","style","ios","md","breadcrumbsIosCss","IonBreadcrumbsIosStyle0","breadcrumbsMdCss","IonBreadcrumbsMdStyle0","Breadcrumbs","ionCollapsedClick","breadcrumbsInit","setBreadcrumbSeparator","setMaxItems","resetActiveBreadcrumb","breadcrumbs","getBreadcrumbs","activeBreadcrumb","find","breadcrumb","activeChanged","itemsAfterCollapse","itemsBeforeCollapse","maxItems","shouldCollapse","length","forEach","index","Array","from","querySelectorAll","slotChanged","onCollapsedClick","collapsedBreadcrumbs","filter","detail","maxItemsChanged","onSlotchange","watchers","ion_breadcrumb","ion_breadcrumbs"],"sources":["F:/workspace/huinongbao-app/node_modules/@ionic/core/dist/esm/ion-breadcrumb_2.entry.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-28849c61.js';\nimport { i as inheritAriaAttributes } from './helpers-da915de8.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';\nimport { m as chevronForwardOutline, n as ellipsisHorizontal } from './index-e2cf2ceb.js';\nimport { b as getIonMode } from './ionic-global-c81d82ab.js';\n\nconst breadcrumbIosCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}\";\nconst IonBreadcrumbIosStyle0 = breadcrumbIosCss;\n\nconst breadcrumbMdCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, #fff))}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #7d8894));font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}\";\nconst IonBreadcrumbMdStyle0 = breadcrumbMdCss;\n\nconst Breadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.collapsedClick = createEvent(this, \"collapsedClick\", 7);\n this.inheritedAttributes = {};\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n this.collapsedIndicatorClick = () => {\n this.collapsedClick.emit({ ionShadowTarget: this.collapsedRef });\n };\n this.collapsed = false;\n this.last = undefined;\n this.showCollapsedIndicator = undefined;\n this.color = undefined;\n this.active = false;\n this.disabled = false;\n this.download = undefined;\n this.href = undefined;\n this.rel = undefined;\n this.separator = undefined;\n this.target = undefined;\n this.routerDirection = 'forward';\n this.routerAnimation = undefined;\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n isClickable() {\n return this.href !== undefined;\n }\n render() {\n const { color, active, collapsed, disabled, download, el, inheritedAttributes, last, routerAnimation, routerDirection, separator, showCollapsedIndicator, target, } = this;\n const clickable = this.isClickable();\n const TagType = this.href === undefined ? 'span' : 'a';\n // Links can still be tabbed to when set to disabled if they have an href\n // in order to truly disable them we can keep it as an anchor but remove the href\n const href = disabled ? undefined : this.href;\n const mode = getIonMode(this);\n const attrs = TagType === 'span'\n ? {}\n : {\n download,\n href,\n target,\n };\n // If the breadcrumb is collapsed, check if it contains the collapsed indicator\n // to show the separator as long as it isn't also the last breadcrumb\n // otherwise if not collapsed use the value in separator\n const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;\n return (h(Host, { key: '32ca61c83721dff52b5e97171ed449dce3584a55', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), \"aria-disabled\": disabled ? 'true' : null, class: createColorClasses(color, {\n [mode]: true,\n 'breadcrumb-active': active,\n 'breadcrumb-collapsed': collapsed,\n 'breadcrumb-disabled': disabled,\n 'in-breadcrumbs-color': hostContext('ion-breadcrumbs[color]', el),\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': clickable,\n 'ion-focusable': clickable,\n }) }, h(TagType, Object.assign({ key: '479feb845f4a6d8009d5422b33eb423730b9722b' }, attrs, { class: \"breadcrumb-native\", part: \"native\", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h(\"slot\", { key: '3c5dcaeb0d258235d1b7707868026ff1d1404099', name: \"start\" }), h(\"slot\", { key: 'f1cfb934443cd97dc220882c5e3596ea879d66cf' }), h(\"slot\", { key: '539710121b5b1f3ee8d4c24a9651b67c2ae08add', name: \"end\" })), showCollapsedIndicator && (h(\"button\", { key: 'ed53a95ccd89022c8b7bee0658a221ec62a5c73b', part: \"collapsed-indicator\", \"aria-label\": \"Show more breadcrumbs\", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {\n 'breadcrumbs-collapsed-indicator': true,\n } }, h(\"ion-icon\", { key: 'a849e1142a86f06f207cf11662fa2a560ab7fc6a', \"aria-hidden\": \"true\", icon: ellipsisHorizontal, lazy: false }))), showSeparator && (\n /**\n * Separators should not be announced by narrators.\n * We add aria-hidden on the span so that this applies\n * to any custom separators too.\n */\n h(\"span\", { key: 'fc3c741cb01fafef8b26046c7ee5b190efc69a7c', class: \"breadcrumb-separator\", part: \"separator\", \"aria-hidden\": \"true\" }, h(\"slot\", { key: '4871932ae1dae520767e0713e7cee2d11b0bba6d', name: \"separator\" }, mode === 'ios' ? (h(\"ion-icon\", { icon: chevronForwardOutline, lazy: false, \"flip-rtl\": true })) : (h(\"span\", null, \"/\")))))));\n }\n get el() { return getElement(this); }\n};\nBreadcrumb.style = {\n ios: IonBreadcrumbIosStyle0,\n md: IonBreadcrumbMdStyle0\n};\n\nconst breadcrumbsIosCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}\";\nconst IonBreadcrumbsIosStyle0 = breadcrumbsIosCss;\n\nconst breadcrumbsMdCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}\";\nconst IonBreadcrumbsMdStyle0 = breadcrumbsMdCss;\n\nconst Breadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionCollapsedClick = createEvent(this, \"ionCollapsedClick\", 7);\n this.breadcrumbsInit = () => {\n this.setBreadcrumbSeparator();\n this.setMaxItems();\n };\n this.resetActiveBreadcrumb = () => {\n const breadcrumbs = this.getBreadcrumbs();\n // Only reset the active breadcrumb if we were the ones to change it\n // otherwise use the one set on the component\n const activeBreadcrumb = breadcrumbs.find((breadcrumb) => breadcrumb.active);\n if (activeBreadcrumb && this.activeChanged) {\n activeBreadcrumb.active = false;\n }\n };\n this.setMaxItems = () => {\n const { itemsAfterCollapse, itemsBeforeCollapse, maxItems } = this;\n const breadcrumbs = this.getBreadcrumbs();\n for (const breadcrumb of breadcrumbs) {\n breadcrumb.showCollapsedIndicator = false;\n breadcrumb.collapsed = false;\n }\n // If the number of breadcrumbs exceeds the maximum number of items\n // that should show and the items before / after collapse do not\n // exceed the maximum items then we need to collapse the breadcrumbs\n const shouldCollapse = maxItems !== undefined && breadcrumbs.length > maxItems && itemsBeforeCollapse + itemsAfterCollapse <= maxItems;\n if (shouldCollapse) {\n // Show the collapsed indicator in the first breadcrumb that collapses\n breadcrumbs.forEach((breadcrumb, index) => {\n if (index === itemsBeforeCollapse) {\n breadcrumb.showCollapsedIndicator = true;\n }\n // Collapse all breadcrumbs that have an index greater than or equal to\n // the number before collapse and an index less than the total number\n // of breadcrumbs minus the items that should show after the collapse\n if (index >= itemsBeforeCollapse && index < breadcrumbs.length - itemsAfterCollapse) {\n breadcrumb.collapsed = true;\n }\n });\n }\n };\n this.setBreadcrumbSeparator = () => {\n const { itemsAfterCollapse, itemsBeforeCollapse, maxItems } = this;\n const breadcrumbs = this.getBreadcrumbs();\n // Check if an active breadcrumb exists already\n const active = breadcrumbs.find((breadcrumb) => breadcrumb.active);\n // Set the separator on all but the last breadcrumb\n for (const breadcrumb of breadcrumbs) {\n // The only time the last breadcrumb changes is when\n // itemsAfterCollapse is set to 0, in this case the\n // last breadcrumb will be the collapsed indicator\n const last = maxItems !== undefined && itemsAfterCollapse === 0\n ? breadcrumb === breadcrumbs[itemsBeforeCollapse]\n : breadcrumb === breadcrumbs[breadcrumbs.length - 1];\n breadcrumb.last = last;\n // If the breadcrumb has defined whether or not to show the\n // separator then use that value, otherwise check if it's the\n // last breadcrumb\n const separator = breadcrumb.separator !== undefined ? breadcrumb.separator : last ? undefined : true;\n breadcrumb.separator = separator;\n // If there is not an active breadcrumb already\n // set the last one to active\n if (!active && last) {\n breadcrumb.active = true;\n this.activeChanged = true;\n }\n }\n };\n this.getBreadcrumbs = () => {\n return Array.from(this.el.querySelectorAll('ion-breadcrumb'));\n };\n this.slotChanged = () => {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n };\n this.collapsed = undefined;\n this.activeChanged = undefined;\n this.color = undefined;\n this.maxItems = undefined;\n this.itemsBeforeCollapse = 1;\n this.itemsAfterCollapse = 1;\n }\n onCollapsedClick(ev) {\n const breadcrumbs = this.getBreadcrumbs();\n const collapsedBreadcrumbs = breadcrumbs.filter((breadcrumb) => breadcrumb.collapsed);\n this.ionCollapsedClick.emit(Object.assign(Object.assign({}, ev.detail), { collapsedBreadcrumbs }));\n }\n maxItemsChanged() {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n }\n componentWillLoad() {\n this.breadcrumbsInit();\n }\n render() {\n const { color, collapsed } = this;\n const mode = getIonMode(this);\n return (h(Host, { key: 'fe64e9cdf597ede2db140bf5fa05a0359d82db57', class: createColorClasses(color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'breadcrumbs-collapsed': collapsed,\n }) }, h(\"slot\", { key: 'a2c99b579e339055c50a613d5c6b61032f5ddffe', onSlotchange: this.slotChanged })));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"maxItems\": [\"maxItemsChanged\"],\n \"itemsBeforeCollapse\": [\"maxItemsChanged\"],\n \"itemsAfterCollapse\": [\"maxItemsChanged\"]\n }; }\n};\nBreadcrumbs.style = {\n ios: IonBreadcrumbsIosStyle0,\n md: IonBreadcrumbsMdStyle0\n};\n\nexport { Breadcrumb as ion_breadcrumb, Breadcrumbs as ion_breadcrumbs };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,CAAC,IAAIC,gBAAgB,EAAEC,CAAC,IAAIC,WAAW,EAAEC,CAAC,EAAEC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