Files
WrenchBoardIonic2023/.angular/cache/14.2.0/babel-webpack/af86c2fc1b5449d0e8ad29dab879499c.json
T
CHIEFSOFT\ameye cea49e295a first commit
2023-05-12 22:30:08 -04:00

1 line
21 KiB
JSON

{"ast":null,"code":"import _asyncToGenerator from \"D:/MobileDev/WRB/WrenchBoard2023a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\n\n/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, h, H as Host, i as getElement, e as createEvent } from './index-1a99aeb7.js';\nimport { a as attachComponent } from './framework-delegate-ce4f806c.js';\nimport './helpers-4d272360.js';\nconst tabCss = \":host(.tab-hidden){display:none !important}\";\nconst Tab = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.loaded = false;\n /** @internal */\n\n this.active = false;\n }\n\n componentWillLoad() {\n var _this = this;\n\n return _asyncToGenerator(function* () {\n if (_this.active) {\n yield _this.setActive();\n }\n })();\n }\n /** Set the active component for the tab */\n\n\n setActive() {\n var _this2 = this;\n\n return _asyncToGenerator(function* () {\n yield _this2.prepareLazyLoaded();\n _this2.active = true;\n })();\n }\n\n changeActive(isActive) {\n if (isActive) {\n this.prepareLazyLoaded();\n }\n }\n\n prepareLazyLoaded() {\n if (!this.loaded && this.component != null) {\n this.loaded = true;\n\n try {\n return attachComponent(this.delegate, this.el, this.component, ['ion-page']);\n } catch (e) {\n console.error(e);\n }\n }\n\n return Promise.resolve(undefined);\n }\n\n render() {\n const {\n tab,\n active,\n component\n } = this;\n return h(Host, {\n role: \"tabpanel\",\n \"aria-hidden\": !active ? 'true' : null,\n \"aria-labelledby\": `tab-button-${tab}`,\n class: {\n 'ion-page': component === undefined,\n 'tab-hidden': !active\n }\n }, h(\"slot\", null));\n }\n\n get el() {\n return getElement(this);\n }\n\n static get watchers() {\n return {\n \"active\": [\"changeActive\"]\n };\n }\n\n};\nTab.style = tabCss;\nconst tabsCss = \":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}\";\nconst Tabs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionNavWillLoad = createEvent(this, \"ionNavWillLoad\", 7);\n this.ionTabsWillChange = createEvent(this, \"ionTabsWillChange\", 3);\n this.ionTabsDidChange = createEvent(this, \"ionTabsDidChange\", 3);\n this.transitioning = false;\n /** @internal */\n\n this.useRouter = false;\n\n this.onTabClicked = ev => {\n const {\n href,\n tab\n } = ev.detail;\n\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n\n if (router) {\n router.push(href);\n }\n } else {\n this.select(tab);\n }\n };\n }\n\n componentWillLoad() {\n var _this3 = this;\n\n return _asyncToGenerator(function* () {\n if (!_this3.useRouter) {\n _this3.useRouter = !!document.querySelector('ion-router') && !_this3.el.closest('[no-router]');\n }\n\n if (!_this3.useRouter) {\n const tabs = _this3.tabs;\n\n if (tabs.length > 0) {\n yield _this3.select(tabs[0]);\n }\n }\n\n _this3.ionNavWillLoad.emit();\n })();\n }\n\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n\n\n select(tab) {\n var _this4 = this;\n\n return _asyncToGenerator(function* () {\n const selectedTab = getTab(_this4.tabs, tab);\n\n if (!_this4.shouldSwitch(selectedTab)) {\n return false;\n }\n\n yield _this4.setActive(selectedTab);\n yield _this4.notifyRouter();\n\n _this4.tabSwitch();\n\n return true;\n })();\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n\n\n getTab(tab) {\n var _this5 = this;\n\n return _asyncToGenerator(function* () {\n return getTab(_this5.tabs, tab);\n })();\n }\n /**\n * Get the currently selected tab.\n */\n\n\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n\n\n setRouteId(id) {\n var _this6 = this;\n\n return _asyncToGenerator(function* () {\n const selectedTab = getTab(_this6.tabs, id);\n\n if (!_this6.shouldSwitch(selectedTab)) {\n return {\n changed: false,\n element: _this6.selectedTab\n };\n }\n\n yield _this6.setActive(selectedTab);\n return {\n changed: true,\n element: _this6.selectedTab,\n markVisible: () => _this6.tabSwitch()\n };\n })();\n }\n /** @internal */\n\n\n getRouteId() {\n var _this7 = this;\n\n return _asyncToGenerator(function* () {\n var _a;\n\n const tabId = (_a = _this7.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? {\n id: tabId,\n element: _this7.selectedTab\n } : undefined;\n })();\n }\n\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({\n tab: selectedTab.tab\n });\n selectedTab.active = true;\n return Promise.resolve();\n }\n\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n\n if (!selectedTab) {\n return;\n }\n\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n\n this.ionTabsDidChange.emit({\n tab: selectedTab.tab\n });\n }\n }\n\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n\n if (router) {\n return router.navChanged('forward');\n }\n }\n\n return Promise.resolve(false);\n }\n\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n\n render() {\n return h(Host, {\n onIonTabButtonClick: this.onTabClicked\n }, h(\"slot\", {\n name: \"top\"\n }), h(\"div\", {\n class: \"tabs-inner\"\n }, h(\"slot\", null)), h(\"slot\", {\n name: \"bottom\"\n }));\n }\n\n get el() {\n return getElement(this);\n }\n\n};\n\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find(t => t.tab === tab) : tab;\n\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n\n return tabEl;\n};\n\nTabs.style = tabsCss;\nexport { Tab as ion_tab, Tabs as ion_tabs };","map":{"version":3,"names":["r","registerInstance","h","H","Host","i","getElement","e","createEvent","a","attachComponent","tabCss","Tab","constructor","hostRef","loaded","active","componentWillLoad","setActive","prepareLazyLoaded","changeActive","isActive","component","delegate","el","console","error","Promise","resolve","undefined","render","tab","role","class","watchers","style","tabsCss","Tabs","ionNavWillLoad","ionTabsWillChange","ionTabsDidChange","transitioning","useRouter","onTabClicked","ev","href","detail","router","document","querySelector","push","select","closest","tabs","length","emit","componentWillRender","tabBar","selectedTab","getTab","shouldSwitch","notifyRouter","tabSwitch","getSelected","setRouteId","id","changed","element","markVisible","getRouteId","_a","tabId","reject","leavingTab","navChanged","Array","from","querySelectorAll","onIonTabButtonClick","name","tabEl","find","t","ion_tab","ion_tabs"],"sources":["D:/MobileDev/WRB/WrenchBoard2023a/node_modules/@ionic/core/dist/esm/ion-tab_2.entry.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, h, H as Host, i as getElement, e as createEvent } from './index-1a99aeb7.js';\nimport { a as attachComponent } from './framework-delegate-ce4f806c.js';\nimport './helpers-4d272360.js';\n\nconst tabCss = \":host(.tab-hidden){display:none !important}\";\n\nconst Tab = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.loaded = false;\n /** @internal */\n this.active = false;\n }\n async componentWillLoad() {\n if (this.active) {\n await this.setActive();\n }\n }\n /** Set the active component for the tab */\n async setActive() {\n await this.prepareLazyLoaded();\n this.active = true;\n }\n changeActive(isActive) {\n if (isActive) {\n this.prepareLazyLoaded();\n }\n }\n prepareLazyLoaded() {\n if (!this.loaded && this.component != null) {\n this.loaded = true;\n try {\n return attachComponent(this.delegate, this.el, this.component, ['ion-page']);\n }\n catch (e) {\n console.error(e);\n }\n }\n return Promise.resolve(undefined);\n }\n render() {\n const { tab, active, component } = this;\n return (h(Host, { role: \"tabpanel\", \"aria-hidden\": !active ? 'true' : null, \"aria-labelledby\": `tab-button-${tab}`, class: {\n 'ion-page': component === undefined,\n 'tab-hidden': !active,\n } }, h(\"slot\", null)));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"active\": [\"changeActive\"]\n }; }\n};\nTab.style = tabCss;\n\nconst tabsCss = \":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}\";\n\nconst Tabs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionNavWillLoad = createEvent(this, \"ionNavWillLoad\", 7);\n this.ionTabsWillChange = createEvent(this, \"ionTabsWillChange\", 3);\n this.ionTabsDidChange = createEvent(this, \"ionTabsDidChange\", 3);\n this.transitioning = false;\n /** @internal */\n this.useRouter = false;\n this.onTabClicked = (ev) => {\n const { href, tab } = ev.detail;\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n if (router) {\n router.push(href);\n }\n }\n else {\n this.select(tab);\n }\n };\n }\n async componentWillLoad() {\n if (!this.useRouter) {\n this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');\n }\n if (!this.useRouter) {\n const tabs = this.tabs;\n if (tabs.length > 0) {\n await this.select(tabs[0]);\n }\n }\n this.ionNavWillLoad.emit();\n }\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async select(tab) {\n const selectedTab = getTab(this.tabs, tab);\n if (!this.shouldSwitch(selectedTab)) {\n return false;\n }\n await this.setActive(selectedTab);\n await this.notifyRouter();\n this.tabSwitch();\n return true;\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async getTab(tab) {\n return getTab(this.tabs, tab);\n }\n /**\n * Get the currently selected tab.\n */\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n async setRouteId(id) {\n const selectedTab = getTab(this.tabs, id);\n if (!this.shouldSwitch(selectedTab)) {\n return { changed: false, element: this.selectedTab };\n }\n await this.setActive(selectedTab);\n return {\n changed: true,\n element: this.selectedTab,\n markVisible: () => this.tabSwitch(),\n };\n }\n /** @internal */\n async getRouteId() {\n var _a;\n const tabId = (_a = this.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? { id: tabId, element: this.selectedTab } : undefined;\n }\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({ tab: selectedTab.tab });\n selectedTab.active = true;\n return Promise.resolve();\n }\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n if (!selectedTab) {\n return;\n }\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n this.ionTabsDidChange.emit({ tab: selectedTab.tab });\n }\n }\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n if (router) {\n return router.navChanged('forward');\n }\n }\n return Promise.resolve(false);\n }\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n render() {\n return (h(Host, { onIonTabButtonClick: this.onTabClicked }, h(\"slot\", { name: \"top\" }), h(\"div\", { class: \"tabs-inner\" }, h(\"slot\", null)), h(\"slot\", { name: \"bottom\" })));\n }\n get el() { return getElement(this); }\n};\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n return tabEl;\n};\nTabs.style = tabsCss;\n\nexport { Tab as ion_tab, Tabs as ion_tabs };\n"],"mappings":";;AAAA;AACA;AACA;AACA,SAASA,CAAC,IAAIC,gBAAd,EAAgCC,CAAhC,EAAmCC,CAAC,IAAIC,IAAxC,EAA8CC,CAAC,IAAIC,UAAnD,EAA+DC,CAAC,IAAIC,WAApE,QAAuF,qBAAvF;AACA,SAASC,CAAC,IAAIC,eAAd,QAAqC,kCAArC;AACA,OAAO,uBAAP;AAEA,MAAMC,MAAM,GAAG,6CAAf;AAEA,MAAMC,GAAG,GAAG,MAAM;EAChBC,WAAW,CAACC,OAAD,EAAU;IACnBb,gBAAgB,CAAC,IAAD,EAAOa,OAAP,CAAhB;IACA,KAAKC,MAAL,GAAc,KAAd;IACA;;IACA,KAAKC,MAAL,GAAc,KAAd;EACD;;EACKC,iBAAiB,GAAG;IAAA;;IAAA;MACxB,IAAI,KAAI,CAACD,MAAT,EAAiB;QACf,MAAM,KAAI,CAACE,SAAL,EAAN;MACD;IAHuB;EAIzB;EACD;;;EACMA,SAAS,GAAG;IAAA;;IAAA;MAChB,MAAM,MAAI,CAACC,iBAAL,EAAN;MACA,MAAI,CAACH,MAAL,GAAc,IAAd;IAFgB;EAGjB;;EACDI,YAAY,CAACC,QAAD,EAAW;IACrB,IAAI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