Mini Shell
Direktori : /home/funerariamayer/www/app/ |
|
Current File : /home/funerariamayer/www/app/node_modules_ionic_core_dist_esm_ion-breadcrumb_2_entry_js.js.map |
{"version":3,"file":"node_modules_ionic_core_dist_esm_ion-breadcrumb_2_entry_js.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAC6G;AACnB;AAC7B;AACE;AAC+B;;AAE9F,gCAAgC,oBAAoB,aAAa,kBAAkB,cAAc,sBAAsB,mBAAmB,mBAAmB,eAAe,gBAAgB,gBAAgB,mBAAmB,oBAAoB,kBAAkB,mBAAmB,oBAAoB,uBAAuB,wBAAwB,oBAAoB,sBAAsB,uBAAuB,mBAAmB,oBAAoB,cAAc,eAAe,gBAAgB,cAAc,iBAAiB,cAAc,eAAe,aAAa,gBAAgB,oBAAoB,aAAa,sBAAsB,mBAAmB,WAAW,aAAa,mBAAmB,4BAA4B,eAAe,YAAY,oBAAoB,0BAA0B,0BAA0B,oBAAoB,2BAA2B,uCAAuC,qCAAqC,0BAA0B,8BAA8B,yBAAyB,2FAA2F,8BAA8B,sBAAsB,2BAA2B,oBAAoB,gDAAgD,aAAa,4EAA4E,4BAA4B,mDAAmD,4BAA4B,kBAAkB,4BAA4B,wEAAwE,+CAA+C,2CAA2C,gCAAgC,iCAAiC,eAAe,gBAAgB,cAAc,iBAAiB,iBAAiB,kBAAkB,aAAa,gBAAgB,oBAAoB,aAAa,kBAAkB,cAAc,sBAAsB,mBAAmB,qBAAqB,uBAAuB,WAAW,YAAY,SAAS,aAAa,eAAe,wBAAwB,qBAAqB,gBAAgB,+FAA+F,iCAAiC,kBAAkB,mBAAmB,0BAA0B,yBAAyB,wBAAwB,wBAAwB,0CAA0C,eAAe,eAAe,MAAM,2CAA2C,8CAA8C,6CAA6C,oCAAoC,wEAAwE,0BAA0B,gBAAgB,mBAAmB,kBAAkB,kBAAkB,mBAAmB,gBAAgB,mBAAmB,6BAA6B,+FAA+F,mBAAmB,mBAAmB,oBAAoB,2BAA2B,0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B;AACpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,mBAAmB;AAC/B,iBAAiB,4DAAU;AAC3B,YAAY,qDAAC,CAAC,iDAAI,IAAI,OAAO,qDAAkB;AAC/C;AACA,sBAAsB,qDAAW;AACjC,4BAA4B,qDAAW;AACvC;AACA,OAAO,GAAG,EAAE,qDAAC;AACb;AACA,aAAa,OAAO,qDAAU;AAC9B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEwE","sources":["./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, e as createEvent, h, H as Host, i as getElement } from './index-06cd27b1.js';\nimport { b as chevronForwardOutline, e as ellipsisHorizontal } from './index-3f6412b6.js';\nimport { b as getIonMode } from './ionic-global-a049bcbf.js';\nimport { i as inheritAttributes } from './helpers-eed79a2b.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-a24ff1ad.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:16px;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;margin-left:14px;margin-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-850, #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, rgba(233, 237, 243, 0.7))}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;padding-left:12px;padding-right:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}: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, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}\";\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:16px;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;margin-left:14px;margin-right: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}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:$breadcrumb-md-background-focused}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.breadcrumb-separator{margin-left:10px;margin-right:10px;margin-top:-1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-separator{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}: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, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}\";\n\nlet 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 /** @internal */\n this.collapsed = false;\n /**\n * If `true`, the breadcrumb will take on a different look to show that\n * it is the currently active breadcrumb. Defaults to `true` for the\n * last breadcrumb if it is not set on any.\n */\n this.active = false;\n /**\n * If `true`, the user cannot interact with the breadcrumb.\n */\n this.disabled = false;\n /**\n * When using a router, it specifies the transition direction when navigating to\n * another page using `href`.\n */\n this.routerDirection = 'forward';\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 }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\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\n ? false\n : collapsed\n ? showCollapsedIndicator && !last ? true : false\n : separator;\n return (h(Host, { 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({}, attrs, { class: \"breadcrumb-native\", part: \"native\", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h(\"slot\", { name: \"start\" }), h(\"slot\", null), h(\"slot\", { name: \"end\" })), showCollapsedIndicator &&\n h(\"button\", { part: \"collapsed-indicator\", onClick: () => this.collapsedIndicatorClick(), ref: collapsedEl => this.collapsedRef = collapsedEl, class: {\n 'breadcrumbs-collapsed-indicator': true,\n } }, h(\"ion-icon\", { icon: ellipsisHorizontal, lazy: false })), showSeparator &&\n h(\"span\", { class: \"breadcrumb-separator\", part: \"separator\" }, h(\"slot\", { name: \"separator\" }, mode === 'ios'\n ? h(\"ion-icon\", { icon: chevronForwardOutline, lazy: false })\n : h(\"span\", null, \"/\")))));\n }\n get el() { return getElement(this); }\n};\nBreadcrumb.style = {\n ios: breadcrumbIosCss,\n md: breadcrumbMdCss\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){padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}\";\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){padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}\";\n\nlet Breadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionCollapsedClick = createEvent(this, \"ionCollapsedClick\", 7);\n /**\n * The number of breadcrumbs to show before the collapsed indicator.\n * If this property exists `maxItems` will be ignored.\n */\n this.itemsBeforeCollapse = 1;\n /**\n * The number of breadcrumbs to show after the collapsed indicator.\n * If this property exists `maxItems` will be ignored.\n */\n this.itemsAfterCollapse = 1;\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\n && breadcrumbs.length > maxItems\n && 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\n ? breadcrumb.separator\n : (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 }\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, { 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\", null)));\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: breadcrumbsIosCss,\n md: breadcrumbsMdCss\n};\n\nexport { Breadcrumb as ion_breadcrumb, Breadcrumbs as ion_breadcrumbs };\n"],"names":[],"sourceRoot":"webpack:///"}
Zerion Mini Shell 1.0