@pod-os/elements 0.4.0 → 0.4.1-97844f2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/elements.cjs.js +1 -1
- package/dist/cjs/{ion-app_40.cjs.entry.js → ion-app_42.cjs.entry.js} +389 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/apps/pos-app-browser/pos-app-browser.js +7 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js +64 -0
- package/dist/collection/components/pos-router/pos-router.js +1 -1
- package/dist/custom-elements/index.d.ts +12 -6
- package/dist/custom-elements/index.js +33 -10
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/{p-4809c08b.entry.js → p-0be044f1.entry.js} +1 -1
- package/dist/elements/{p-9038f68e.entry.js → p-119c7c6c.entry.js} +1 -1
- package/dist/elements/{p-ab1b1b03.entry.js → p-14c7c3ea.entry.js} +1 -1
- package/dist/elements/{p-c4fb313e.entry.js → p-1d894ac4.entry.js} +1 -1
- package/dist/elements/{p-4250dc8d.entry.js → p-23b89ccb.entry.js} +1 -1
- package/dist/elements/{p-d2d84b3a.entry.js → p-2c03b9ab.entry.js} +1 -1
- package/dist/elements/{p-0908233c.entry.js → p-31d30e42.entry.js} +1 -1
- package/dist/elements/p-346985f2.js +1 -0
- package/dist/elements/{p-5617a76d.entry.js → p-360f1c62.entry.js} +1 -1
- package/dist/elements/{p-9813457e.entry.js → p-373e1f25.entry.js} +1 -1
- package/dist/elements/{p-84fa4ed5.entry.js → p-40547acb.entry.js} +1 -1
- package/dist/elements/{p-9fb98135.entry.js → p-40b68014.entry.js} +1 -1
- package/dist/elements/{p-b46d3ab6.entry.js → p-42e4f702.entry.js} +1 -1
- package/dist/elements/p-489807e5.js +1 -0
- package/dist/elements/{p-feda4431.entry.js → p-4ad72d54.entry.js} +1 -1
- package/dist/elements/{p-735719e4.js → p-4f24d306.js} +1 -1
- package/dist/elements/{p-0dbeacc4.entry.js → p-536e8e52.entry.js} +1 -1
- package/dist/elements/p-5eb7a546.js +1 -0
- package/dist/elements/{p-bab1fbc4.entry.js → p-60df2bed.entry.js} +1 -1
- package/dist/elements/{p-9b903903.js → p-6693fce8.js} +1 -1
- package/dist/elements/{p-c11279fc.js → p-707d5d76.js} +1 -1
- package/dist/elements/{p-f5b9742c.js → p-7212b7f2.js} +1 -1
- package/dist/elements/{p-78511267.entry.js → p-73992898.entry.js} +1 -1
- package/dist/elements/p-74916699.entry.js +67 -0
- package/dist/elements/{p-3dabcacb.entry.js → p-83accf46.entry.js} +1 -1
- package/dist/elements/{p-e5e5d3fe.entry.js → p-89c12ce8.entry.js} +1 -1
- package/dist/elements/{p-36f660e0.entry.js → p-8c759f51.entry.js} +1 -1
- package/dist/elements/{p-5d1dc8fb.entry.js → p-8f945e6b.entry.js} +1 -1
- package/dist/elements/{p-c3c81ed2.js → p-9300ab6a.js} +1 -1
- package/dist/elements/{p-1aa0e849.js → p-99f8abed.js} +1 -1
- package/dist/elements/{p-1bb1a7ba.js → p-9ca7e079.js} +1 -1
- package/dist/elements/{p-971d348c.entry.js → p-a4648b74.entry.js} +1 -1
- package/dist/elements/{p-f8be6f3e.entry.js → p-ad4e2295.entry.js} +1 -1
- package/dist/elements/{p-e89acad8.entry.js → p-b078d63b.entry.js} +1 -1
- package/dist/elements/{p-24605c2e.entry.js → p-b5406b58.entry.js} +1 -1
- package/dist/elements/{p-203cbbcc.entry.js → p-b5ef0c91.entry.js} +1 -1
- package/dist/elements/{p-9dad7470.entry.js → p-b6ba623e.entry.js} +1 -1
- package/dist/elements/{p-d7dfabd5.entry.js → p-bfd4cfcd.entry.js} +1 -1
- package/dist/elements/p-c0db9c51.entry.js +1 -0
- package/dist/elements/{p-4d7de1f8.entry.js → p-cf8a7031.entry.js} +1 -1
- package/dist/elements/{p-77d68651.entry.js → p-d6d1e65f.entry.js} +1 -1
- package/dist/elements/{p-4a732500.entry.js → p-e642b266.entry.js} +1 -1
- package/dist/elements/{p-039fd555.js → p-f0474f46.js} +1 -1
- package/dist/elements/{p-db7feea8.entry.js → p-f10a94f6.entry.js} +1 -1
- package/dist/elements/{p-a68c3324.js → p-f327fd21.js} +1 -1
- package/dist/elements/p-f84987ee.js +1 -0
- package/dist/esm/{animation-cb124ae5.js → animation-fe6ed422.js} +1 -1
- package/dist/esm/elements.js +1 -1
- package/dist/esm/{framework-delegate-ef487ffc.js → framework-delegate-9cd8048f.js} +1 -1
- package/dist/esm/{helpers-af16fc18.js → helpers-44e3bd9f.js} +1 -1
- package/dist/esm/{index-8b5d780d.js → index-8a463a85.js} +3 -3
- package/dist/esm/{index-6f52f626.js → index-97199683.js} +2 -2
- package/dist/esm/{input-shims-dbfbbeff.js → input-shims-3b48722f.js} +1 -1
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/{ion-app_40.entry.js → ion-app_42.entry.js} +391 -12
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-datetime.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item-options.entry.js +1 -1
- package/dist/esm/ion-item-sliding.entry.js +1 -1
- package/dist/esm/ion-list-header_3.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-refresher.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +4 -4
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-segment-button.entry.js +1 -1
- package/dist/esm/ion-segment.entry.js +1 -1
- package/dist/esm/ion-select-popover.entry.js +2 -2
- package/dist/esm/ion-select.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +1 -1
- package/dist/esm/ion-tab.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/ion-virtual-scroll.entry.js +1 -1
- package/dist/esm/{ios.transition-b01e6585.js → ios.transition-a783e3cd.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-8b14ce53.js → md.transition-5a4a8c82.js} +3 -3
- package/dist/esm/{menu-toggle-util-e1b8b1b3.js → menu-toggle-util-562dfc9c.js} +1 -1
- package/dist/esm/{overlays-a2145347.js → overlays-fc9a0625.js} +1 -1
- package/dist/esm/{status-tap-b8a70b06.js → status-tap-69e62ad6.js} +1 -1
- package/dist/esm/{swipe-back-7e655479.js → swipe-back-d84cfc8a.js} +1 -1
- package/dist/esm/{tap-click-faa3d392.js → tap-click-a7e55ef5.js} +1 -1
- package/dist/types/apps/pos-app-browser/pos-app-browser.d.ts +3 -0
- package/dist/types/components/pos-navigation-bar/pos-navigation-bar.d.ts +9 -0
- package/dist/types/components.d.ts +33 -13
- package/package.json +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +0 -370
- package/dist/collection/components/pos-demo-app/pos-demo-app.js +0 -7
- package/dist/elements/p-263a0343.js +0 -1
- package/dist/elements/p-2c747ed4.entry.js +0 -1
- package/dist/elements/p-2f2718d4.entry.js +0 -1
- package/dist/elements/p-53166138.js +0 -1
- package/dist/elements/p-6e247b63.js +0 -1
- package/dist/elements/p-a15e4603.js +0 -1
- package/dist/elements/p-ed0c27e2.entry.js +0 -67
- package/dist/esm/ion-searchbar.entry.js +0 -366
- package/dist/types/components/pos-demo-app/pos-demo-app.d.ts +0 -3
package/dist/cjs/elements.cjs.js
CHANGED
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
20
|
appGlobals.globalScripts();
|
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"ion-app_40.cjs\",[[0,\"pos-demo-app\"],[0,\"pos-router\",{\"uri\":[32]},[[0,\"pod-os:link\",\"linkClicked\"]]],[1,\"pos-login\",{\"os\":[32]}],[4,\"pos-app\",{\"os\":[32]},[[0,\"pod-os:init\",\"initializeOs\"]]],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]],[36,\"ion-footer\",{\"translucent\":[4]}],[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[1,\"pos-type-router\",{\"types\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[0,\"ion-app\"],[0,\"pos-app-generic\"],[0,\"pos-app-rdf-document\"],[1,\"pos-relations\",{\"data\":[32]}],[1,\"pos-reverse-relations\",{\"data\":[32]}],[1,\"pos-subjects\",{\"data\":[32]}],[32,\"ion-card-content\"],[1,\"pos-literals\",{\"data\":[32]}],[1,\"pos-picture\",{\"resource\":[32]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}],[33,\"ion-card-title\",{\"color\":[513]}],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[1,\"ion-row\"],[1,\"pos-image\",{\"src\":[1],\"os\":[32],\"dataUri\":[32],\"brokenFile\":[32],\"error\":[32],\"loading\":[32]}],[1,\"ion-skeleton-text\",{\"animated\":[4]}],[1,\"pos-rich-link\",{\"uri\":[1]}],[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}],[32,\"ion-item-group\"],[1,\"pos-description\",{\"resource\":[32]}],[1,\"pos-resource\",{\"uri\":[1],\"lazy\":[4],\"os\":[32],\"resource\":[32],\"consumers\":[32],\"error\":[32],\"loading\":[32],\"fetch\":[64]},[[0,\"pod-os:resource\",\"provideResource\"]]],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[1,\"pos-label\",{\"resource\":[32]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32],\"focusable\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"ion-select-popover.cjs\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"ion-action-sheet.cjs\",[[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-alert.cjs\",[[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover.cjs\",[[34,\"ion-popover\",{\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-searchbar.cjs\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"ion-avatar.cjs\",[[33,\"ion-avatar\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-buttons.cjs\",[[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-checkbox.cjs\",[[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-input.cjs\",[[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[1],\"maxlength\":[2],\"min\":[1],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note.cjs\",[[33,\"ion-note\",{\"color\":[513]}]]],[\"ion-range.cjs\",[[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-select.cjs\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-select-option.cjs\",[[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-text.cjs\",[[1,\"ion-text\",{\"color\":[513]}]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"test-component.cjs\",[[0,\"test-component\"]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-list-header_3.cjs\",[[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-spinner.cjs\",[[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]]]"), options);
|
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"ion-app_42.cjs\",[[0,\"pos-app-browser\"],[0,\"pos-router\",{\"uri\":[32]},[[0,\"pod-os:link\",\"linkClicked\"]]],[1,\"pos-login\",{\"os\":[32]}],[4,\"pos-app\",{\"os\":[32]},[[0,\"pod-os:init\",\"initializeOs\"]]],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]],[36,\"ion-footer\",{\"translucent\":[4]}],[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[1,\"pos-type-router\",{\"types\":[32]}],[1,\"pos-navigation-bar\",{\"uri\":[1],\"value\":[32]}],[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1]}],[0,\"ion-app\"],[0,\"pos-app-generic\"],[0,\"pos-app-rdf-document\"],[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}],[1,\"pos-relations\",{\"data\":[32]}],[1,\"pos-reverse-relations\",{\"data\":[32]}],[1,\"pos-subjects\",{\"data\":[32]}],[32,\"ion-card-content\"],[1,\"pos-literals\",{\"data\":[32]}],[1,\"pos-picture\",{\"resource\":[32]}],[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}],[33,\"ion-card-title\",{\"color\":[513]}],[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[1,\"ion-row\"],[1,\"pos-image\",{\"src\":[1],\"os\":[32],\"dataUri\":[32],\"brokenFile\":[32],\"error\":[32],\"loading\":[32]}],[1,\"ion-skeleton-text\",{\"animated\":[4]}],[1,\"pos-rich-link\",{\"uri\":[1]}],[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}],[32,\"ion-item-group\"],[1,\"pos-description\",{\"resource\":[32]}],[1,\"pos-resource\",{\"uri\":[1],\"lazy\":[4],\"os\":[32],\"resource\":[32],\"consumers\":[32],\"error\":[32],\"loading\":[32],\"fetch\":[64]},[[0,\"pod-os:resource\",\"provideResource\"]]],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[1,\"pos-label\",{\"resource\":[32]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"multipleInputs\":[32],\"focusable\":[32]},[[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}],[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"ion-select-popover.cjs\",[[2,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"ion-action-sheet.cjs\",[[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-alert.cjs\",[[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-back-button.cjs\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-fab-button.cjs\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}]]],[\"ion-loading.cjs\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-menu-button.cjs\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-picker.cjs\",[[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}]]],[\"ion-refresher-content.cjs\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}]]],[\"ion-toast.cjs\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-chip.cjs\",[[33,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-infinite-scroll-content.cjs\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}]]],[\"ion-item-option.cjs\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}]]],[\"ion-menu.cjs\",[[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-modal.cjs\",[[34,\"ion-modal\",{\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-popover.cjs\",[[34,\"ion-popover\",{\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-reorder.cjs\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]]]],[\"ion-segment-button.cjs\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}]]],[\"ion-tab-button.cjs\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]]]],[\"ion-avatar.cjs\",[[33,\"ion-avatar\"]]],[\"ion-badge.cjs\",[[33,\"ion-badge\",{\"color\":[513]}]]],[\"ion-buttons.cjs\",[[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"ion-card-subtitle.cjs\",[[33,\"ion-card-subtitle\",{\"color\":[513]}]]],[\"ion-checkbox.cjs\",[[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[1]}]]],[\"ion-datetime.cjs\",[[33,\"ion-datetime\",{\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[1025],\"max\":[1025],\"displayFormat\":[1,\"display-format\"],\"displayTimezone\":[1,\"display-timezone\"],\"pickerFormat\":[1,\"picker-format\"],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"monthNames\":[1,\"month-names\"],\"monthShortNames\":[1,\"month-short-names\"],\"dayNames\":[1,\"day-names\"],\"dayShortNames\":[1,\"day-short-names\"],\"pickerOptions\":[16],\"placeholder\":[1],\"value\":[1025],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-fab.cjs\",[[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64]}]]],[\"ion-fab-list.cjs\",[[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-img.cjs\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-infinite-scroll.cjs\",[[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-input.cjs\",[[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[1],\"maxlength\":[2],\"min\":[1],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-item-options.cjs\",[[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}]]],[\"ion-item-sliding.cjs\",[[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-menu-toggle.cjs\",[[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-nav.cjs\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}]]],[\"ion-nav-link.cjs\",[[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-note.cjs\",[[33,\"ion-note\",{\"color\":[513]}]]],[\"ion-range.cjs\",[[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}]]],[\"ion-refresher.cjs\",[[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-reorder-group.cjs\",[[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-route.cjs\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}]]],[\"ion-route-redirect.cjs\",[[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}]]],[\"ion-router.cjs\",[[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]]]],[\"ion-router-link.cjs\",[[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-router-outlet.cjs\",[[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-segment.cjs\",[[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"activated\":[32]}]]],[\"ion-select.cjs\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}]]],[\"ion-select-option.cjs\",[[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}]]],[\"ion-slide.cjs\",[[0,\"ion-slide\"]]],[\"ion-slides.cjs\",[[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-split-pane.cjs\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-tab.cjs\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}]]],[\"ion-tab-bar.cjs\",[[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-tabs.cjs\",[[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-text.cjs\",[[1,\"ion-text\",{\"color\":[513]}]]],[\"ion-textarea.cjs\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[4,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-thumbnail.cjs\",[[1,\"ion-thumbnail\"]]],[\"ion-toggle.cjs\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"activated\":[32]}]]],[\"ion-virtual-scroll.cjs\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"test-component.cjs\",[[0,\"test-component\"]]],[\"ion-picker-column.cjs\",[[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-list-header_3.cjs\",[[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-spinner.cjs\",[[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}]]],[\"ion-backdrop.cjs\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]]]"), options);
|
|
22
22
|
});
|
|
@@ -1844,6 +1844,366 @@ const Row = class {
|
|
|
1844
1844
|
};
|
|
1845
1845
|
Row.style = rowCss;
|
|
1846
1846
|
|
|
1847
|
+
const searchbarIosCss = ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{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;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;box-shadow:var(--box-shadow);box-sizing:border-box;appearance:none}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-searchbar-ios-h{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:calc(50% - 60px);left:5px;top:0;position:absolute;width:22px;height:100%;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px)}}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}.searchbar-input.sc-ion-searchbar-ios{padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px}}.searchbar-clear-button.sc-ion-searchbar-ios{right:0;top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:8px;padding-right:0;padding-top:0;padding-bottom:0;flex-shrink:0;background-color:transparent;font-size:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:30px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:unset;-webkit-padding-start:30px;padding-inline-start:30px}}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:-100%;transform:translate3d(0, 0, 0);transition:all 300ms ease;opacity:0;pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:unset;-webkit-margin-end:-100%;margin-inline-end:-100%}}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}";
|
|
1848
|
+
|
|
1849
|
+
const searchbarMdCss = ".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{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;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;box-shadow:var(--box-shadow);box-sizing:border-box;appearance:none}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;background:inherit}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.searchbar-search-icon.sc-ion-searchbar-md{left:16px;top:11px;width:21px;height:21px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}.searchbar-cancel-button.sc-ion-searchbar-md{left:5px;top:0;background-color:transparent;font-size:1.6em}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{padding-left:55px;padding-right:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-md{padding-left:unset;padding-right:unset;-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px}}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}.searchbar-clear-button.sc-ion-searchbar-md{right:13px;top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:7px;padding-right:7px;padding-top:3px;padding-bottom:3px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px}}";
|
|
1850
|
+
|
|
1851
|
+
const Searchbar = class {
|
|
1852
|
+
constructor(hostRef) {
|
|
1853
|
+
index$1.registerInstance(this, hostRef);
|
|
1854
|
+
this.ionInput = index$1.createEvent(this, "ionInput", 7);
|
|
1855
|
+
this.ionChange = index$1.createEvent(this, "ionChange", 7);
|
|
1856
|
+
this.ionCancel = index$1.createEvent(this, "ionCancel", 7);
|
|
1857
|
+
this.ionClear = index$1.createEvent(this, "ionClear", 7);
|
|
1858
|
+
this.ionBlur = index$1.createEvent(this, "ionBlur", 7);
|
|
1859
|
+
this.ionFocus = index$1.createEvent(this, "ionFocus", 7);
|
|
1860
|
+
this.ionStyle = index$1.createEvent(this, "ionStyle", 7);
|
|
1861
|
+
this.isCancelVisible = false;
|
|
1862
|
+
this.shouldAlignLeft = true;
|
|
1863
|
+
this.focused = false;
|
|
1864
|
+
this.noAnimate = true;
|
|
1865
|
+
/**
|
|
1866
|
+
* If `true`, enable searchbar animation.
|
|
1867
|
+
*/
|
|
1868
|
+
this.animated = false;
|
|
1869
|
+
/**
|
|
1870
|
+
* Set the input's autocomplete property.
|
|
1871
|
+
*/
|
|
1872
|
+
this.autocomplete = 'off';
|
|
1873
|
+
/**
|
|
1874
|
+
* Set the input's autocorrect property.
|
|
1875
|
+
*/
|
|
1876
|
+
this.autocorrect = 'off';
|
|
1877
|
+
/**
|
|
1878
|
+
* Set the cancel button icon. Only applies to `md` mode.
|
|
1879
|
+
* Defaults to `"arrow-back-sharp"`.
|
|
1880
|
+
*/
|
|
1881
|
+
this.cancelButtonIcon = ionicGlobal.config.get('backButtonIcon', 'arrow-back-sharp');
|
|
1882
|
+
/**
|
|
1883
|
+
* Set the the cancel button text. Only applies to `ios` mode.
|
|
1884
|
+
*/
|
|
1885
|
+
this.cancelButtonText = 'Cancel';
|
|
1886
|
+
/**
|
|
1887
|
+
* Set the amount of time, in milliseconds, to wait to trigger the `ionChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
|
|
1888
|
+
*/
|
|
1889
|
+
this.debounce = 250;
|
|
1890
|
+
/**
|
|
1891
|
+
* If `true`, the user cannot interact with the input.
|
|
1892
|
+
*/
|
|
1893
|
+
this.disabled = false;
|
|
1894
|
+
/**
|
|
1895
|
+
* Set the input's placeholder.
|
|
1896
|
+
* `placeholder` can accept either plaintext or HTML as a string.
|
|
1897
|
+
* To display characters normally reserved for HTML, they
|
|
1898
|
+
* must be escaped. For example `<Ionic>` would become
|
|
1899
|
+
* `<Ionic>`
|
|
1900
|
+
*
|
|
1901
|
+
* For more information: [Security Documentation](https://ionicframework.com/docs/faq/security)
|
|
1902
|
+
*/
|
|
1903
|
+
this.placeholder = 'Search';
|
|
1904
|
+
/**
|
|
1905
|
+
* Sets the behavior for the cancel button. Defaults to `"never"`.
|
|
1906
|
+
* Setting to `"focus"` shows the cancel button on focus.
|
|
1907
|
+
* Setting to `"never"` hides the cancel button.
|
|
1908
|
+
* Setting to `"always"` shows the cancel button regardless
|
|
1909
|
+
* of focus state.
|
|
1910
|
+
*/
|
|
1911
|
+
this.showCancelButton = 'never';
|
|
1912
|
+
/**
|
|
1913
|
+
* Sets the behavior for the clear button. Defaults to `"focus"`.
|
|
1914
|
+
* Setting to `"focus"` shows the clear button on focus if the
|
|
1915
|
+
* input is not empty.
|
|
1916
|
+
* Setting to `"never"` hides the clear button.
|
|
1917
|
+
* Setting to `"always"` shows the clear button regardless
|
|
1918
|
+
* of focus state, but only if the input is not empty.
|
|
1919
|
+
*/
|
|
1920
|
+
this.showClearButton = 'focus';
|
|
1921
|
+
/**
|
|
1922
|
+
* If `true`, enable spellcheck on the input.
|
|
1923
|
+
*/
|
|
1924
|
+
this.spellcheck = false;
|
|
1925
|
+
/**
|
|
1926
|
+
* Set the type of the input.
|
|
1927
|
+
*/
|
|
1928
|
+
this.type = 'search';
|
|
1929
|
+
/**
|
|
1930
|
+
* the value of the searchbar.
|
|
1931
|
+
*/
|
|
1932
|
+
this.value = '';
|
|
1933
|
+
/**
|
|
1934
|
+
* Clears the input field and triggers the control change.
|
|
1935
|
+
*/
|
|
1936
|
+
this.onClearInput = (ev, shouldFocus) => {
|
|
1937
|
+
this.ionClear.emit();
|
|
1938
|
+
if (ev) {
|
|
1939
|
+
ev.preventDefault();
|
|
1940
|
+
ev.stopPropagation();
|
|
1941
|
+
}
|
|
1942
|
+
// setTimeout() fixes https://github.com/ionic-team/ionic/issues/7527
|
|
1943
|
+
// wait for 4 frames
|
|
1944
|
+
setTimeout(() => {
|
|
1945
|
+
const value = this.getValue();
|
|
1946
|
+
if (value !== '') {
|
|
1947
|
+
this.value = '';
|
|
1948
|
+
this.ionInput.emit();
|
|
1949
|
+
/**
|
|
1950
|
+
* When tapping clear button
|
|
1951
|
+
* ensure input is focused after
|
|
1952
|
+
* clearing input so users
|
|
1953
|
+
* can quickly start typing.
|
|
1954
|
+
*/
|
|
1955
|
+
if (shouldFocus && !this.focused) {
|
|
1956
|
+
this.setFocus();
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
}, 16 * 4);
|
|
1960
|
+
};
|
|
1961
|
+
/**
|
|
1962
|
+
* Clears the input field and tells the input to blur since
|
|
1963
|
+
* the clearInput function doesn't want the input to blur
|
|
1964
|
+
* then calls the custom cancel function if the user passed one in.
|
|
1965
|
+
*/
|
|
1966
|
+
this.onCancelSearchbar = (ev) => {
|
|
1967
|
+
if (ev) {
|
|
1968
|
+
ev.preventDefault();
|
|
1969
|
+
ev.stopPropagation();
|
|
1970
|
+
}
|
|
1971
|
+
this.ionCancel.emit();
|
|
1972
|
+
this.onClearInput();
|
|
1973
|
+
if (this.nativeInput) {
|
|
1974
|
+
this.nativeInput.blur();
|
|
1975
|
+
}
|
|
1976
|
+
};
|
|
1977
|
+
/**
|
|
1978
|
+
* Update the Searchbar input value when the input changes
|
|
1979
|
+
*/
|
|
1980
|
+
this.onInput = (ev) => {
|
|
1981
|
+
const input = ev.target;
|
|
1982
|
+
if (input) {
|
|
1983
|
+
this.value = input.value;
|
|
1984
|
+
}
|
|
1985
|
+
this.ionInput.emit(ev);
|
|
1986
|
+
};
|
|
1987
|
+
/**
|
|
1988
|
+
* Sets the Searchbar to not focused and checks if it should align left
|
|
1989
|
+
* based on whether there is a value in the searchbar or not.
|
|
1990
|
+
*/
|
|
1991
|
+
this.onBlur = () => {
|
|
1992
|
+
this.focused = false;
|
|
1993
|
+
this.ionBlur.emit();
|
|
1994
|
+
this.positionElements();
|
|
1995
|
+
};
|
|
1996
|
+
/**
|
|
1997
|
+
* Sets the Searchbar to focused and active on input focus.
|
|
1998
|
+
*/
|
|
1999
|
+
this.onFocus = () => {
|
|
2000
|
+
this.focused = true;
|
|
2001
|
+
this.ionFocus.emit();
|
|
2002
|
+
this.positionElements();
|
|
2003
|
+
};
|
|
2004
|
+
}
|
|
2005
|
+
debounceChanged() {
|
|
2006
|
+
this.ionChange = helpers.debounceEvent(this.ionChange, this.debounce);
|
|
2007
|
+
}
|
|
2008
|
+
valueChanged() {
|
|
2009
|
+
const inputEl = this.nativeInput;
|
|
2010
|
+
const value = this.getValue();
|
|
2011
|
+
if (inputEl && inputEl.value !== value) {
|
|
2012
|
+
inputEl.value = value;
|
|
2013
|
+
}
|
|
2014
|
+
this.ionChange.emit({ value });
|
|
2015
|
+
}
|
|
2016
|
+
showCancelButtonChanged() {
|
|
2017
|
+
requestAnimationFrame(() => {
|
|
2018
|
+
this.positionElements();
|
|
2019
|
+
index$1.forceUpdate(this);
|
|
2020
|
+
});
|
|
2021
|
+
}
|
|
2022
|
+
connectedCallback() {
|
|
2023
|
+
this.emitStyle();
|
|
2024
|
+
}
|
|
2025
|
+
componentDidLoad() {
|
|
2026
|
+
this.positionElements();
|
|
2027
|
+
this.debounceChanged();
|
|
2028
|
+
setTimeout(() => {
|
|
2029
|
+
this.noAnimate = false;
|
|
2030
|
+
}, 300);
|
|
2031
|
+
}
|
|
2032
|
+
emitStyle() {
|
|
2033
|
+
this.ionStyle.emit({
|
|
2034
|
+
'searchbar': true
|
|
2035
|
+
});
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Sets focus on the specified `ion-searchbar`. Use this method instead of the global
|
|
2039
|
+
* `input.focus()`.
|
|
2040
|
+
*/
|
|
2041
|
+
async setFocus() {
|
|
2042
|
+
if (this.nativeInput) {
|
|
2043
|
+
this.nativeInput.focus();
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Returns the native `<input>` element used under the hood.
|
|
2048
|
+
*/
|
|
2049
|
+
getInputElement() {
|
|
2050
|
+
return Promise.resolve(this.nativeInput);
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* Positions the input search icon, placeholder, and the cancel button
|
|
2054
|
+
* based on the input value and if it is focused. (ios only)
|
|
2055
|
+
*/
|
|
2056
|
+
positionElements() {
|
|
2057
|
+
const value = this.getValue();
|
|
2058
|
+
const prevAlignLeft = this.shouldAlignLeft;
|
|
2059
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
2060
|
+
const shouldAlignLeft = (!this.animated || value.trim() !== '' || !!this.focused);
|
|
2061
|
+
this.shouldAlignLeft = shouldAlignLeft;
|
|
2062
|
+
if (mode !== 'ios') {
|
|
2063
|
+
return;
|
|
2064
|
+
}
|
|
2065
|
+
if (prevAlignLeft !== shouldAlignLeft) {
|
|
2066
|
+
this.positionPlaceholder();
|
|
2067
|
+
}
|
|
2068
|
+
if (this.animated) {
|
|
2069
|
+
this.positionCancelButton();
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
/**
|
|
2073
|
+
* Positions the input placeholder
|
|
2074
|
+
*/
|
|
2075
|
+
positionPlaceholder() {
|
|
2076
|
+
const inputEl = this.nativeInput;
|
|
2077
|
+
if (!inputEl) {
|
|
2078
|
+
return;
|
|
2079
|
+
}
|
|
2080
|
+
const isRTL = document.dir === 'rtl';
|
|
2081
|
+
const iconEl = (this.el.shadowRoot || this.el).querySelector('.searchbar-search-icon');
|
|
2082
|
+
if (this.shouldAlignLeft) {
|
|
2083
|
+
inputEl.removeAttribute('style');
|
|
2084
|
+
iconEl.removeAttribute('style');
|
|
2085
|
+
}
|
|
2086
|
+
else {
|
|
2087
|
+
// Create a dummy span to get the placeholder width
|
|
2088
|
+
const doc = document;
|
|
2089
|
+
const tempSpan = doc.createElement('span');
|
|
2090
|
+
tempSpan.innerText = this.placeholder || '';
|
|
2091
|
+
doc.body.appendChild(tempSpan);
|
|
2092
|
+
// Get the width of the span then remove it
|
|
2093
|
+
helpers.raf(() => {
|
|
2094
|
+
const textWidth = tempSpan.offsetWidth;
|
|
2095
|
+
tempSpan.remove();
|
|
2096
|
+
// Calculate the input padding
|
|
2097
|
+
const inputLeft = 'calc(50% - ' + (textWidth / 2) + 'px)';
|
|
2098
|
+
// Calculate the icon margin
|
|
2099
|
+
const iconLeft = 'calc(50% - ' + ((textWidth / 2) + 30) + 'px)';
|
|
2100
|
+
// Set the input padding start and icon margin start
|
|
2101
|
+
if (isRTL) {
|
|
2102
|
+
inputEl.style.paddingRight = inputLeft;
|
|
2103
|
+
iconEl.style.marginRight = iconLeft;
|
|
2104
|
+
}
|
|
2105
|
+
else {
|
|
2106
|
+
inputEl.style.paddingLeft = inputLeft;
|
|
2107
|
+
iconEl.style.marginLeft = iconLeft;
|
|
2108
|
+
}
|
|
2109
|
+
});
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
/**
|
|
2113
|
+
* Show the iOS Cancel button on focus, hide it offscreen otherwise
|
|
2114
|
+
*/
|
|
2115
|
+
positionCancelButton() {
|
|
2116
|
+
const isRTL = document.dir === 'rtl';
|
|
2117
|
+
const cancelButton = (this.el.shadowRoot || this.el).querySelector('.searchbar-cancel-button');
|
|
2118
|
+
const shouldShowCancel = this.shouldShowCancelButton();
|
|
2119
|
+
if (cancelButton && shouldShowCancel !== this.isCancelVisible) {
|
|
2120
|
+
const cancelStyle = cancelButton.style;
|
|
2121
|
+
this.isCancelVisible = shouldShowCancel;
|
|
2122
|
+
if (shouldShowCancel) {
|
|
2123
|
+
if (isRTL) {
|
|
2124
|
+
cancelStyle.marginLeft = '0';
|
|
2125
|
+
}
|
|
2126
|
+
else {
|
|
2127
|
+
cancelStyle.marginRight = '0';
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
else {
|
|
2131
|
+
const offset = cancelButton.offsetWidth;
|
|
2132
|
+
if (offset > 0) {
|
|
2133
|
+
if (isRTL) {
|
|
2134
|
+
cancelStyle.marginLeft = -offset + 'px';
|
|
2135
|
+
}
|
|
2136
|
+
else {
|
|
2137
|
+
cancelStyle.marginRight = -offset + 'px';
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
getValue() {
|
|
2144
|
+
return this.value || '';
|
|
2145
|
+
}
|
|
2146
|
+
hasValue() {
|
|
2147
|
+
return this.getValue() !== '';
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Determines whether or not the cancel button should be visible onscreen.
|
|
2151
|
+
* Cancel button should be shown if one of two conditions applies:
|
|
2152
|
+
* 1. `showCancelButton` is set to `always`.
|
|
2153
|
+
* 2. `showCancelButton` is set to `focus`, and the searchbar has been focused.
|
|
2154
|
+
*/
|
|
2155
|
+
shouldShowCancelButton() {
|
|
2156
|
+
if ((this.showCancelButton === 'never') || (this.showCancelButton === 'focus' && !this.focused)) {
|
|
2157
|
+
return false;
|
|
2158
|
+
}
|
|
2159
|
+
return true;
|
|
2160
|
+
}
|
|
2161
|
+
/**
|
|
2162
|
+
* Determines whether or not the clear button should be visible onscreen.
|
|
2163
|
+
* Clear button should be shown if one of two conditions applies:
|
|
2164
|
+
* 1. `showClearButton` is set to `always`.
|
|
2165
|
+
* 2. `showClearButton` is set to `focus`, and the searchbar has been focused.
|
|
2166
|
+
*/
|
|
2167
|
+
shouldShowClearButton() {
|
|
2168
|
+
if ((this.showClearButton === 'never') || (this.showClearButton === 'focus' && !this.focused)) {
|
|
2169
|
+
return false;
|
|
2170
|
+
}
|
|
2171
|
+
return true;
|
|
2172
|
+
}
|
|
2173
|
+
render() {
|
|
2174
|
+
const { cancelButtonText } = this;
|
|
2175
|
+
const animated = this.animated && ionicGlobal.config.getBoolean('animated', true);
|
|
2176
|
+
const mode = ionicGlobal.getIonMode(this);
|
|
2177
|
+
const clearIcon = this.clearIcon || (mode === 'ios' ? 'close-circle' : 'close-sharp');
|
|
2178
|
+
const searchIcon = this.searchIcon || (mode === 'ios' ? 'search-outline' : 'search-sharp');
|
|
2179
|
+
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
2180
|
+
const cancelButton = (this.showCancelButton !== 'never') && (index$1.h("button", { "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, index$1.h("div", { "aria-hidden": "true" }, mode === 'md'
|
|
2181
|
+
? index$1.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })
|
|
2182
|
+
: cancelButtonText)));
|
|
2183
|
+
return (index$1.h(index$1.Host, { role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
2184
|
+
[mode]: true,
|
|
2185
|
+
'searchbar-animated': animated,
|
|
2186
|
+
'searchbar-disabled': this.disabled,
|
|
2187
|
+
'searchbar-no-animate': animated && this.noAnimate,
|
|
2188
|
+
'searchbar-has-value': this.hasValue(),
|
|
2189
|
+
'searchbar-left-aligned': this.shouldAlignLeft,
|
|
2190
|
+
'searchbar-has-focus': this.focused,
|
|
2191
|
+
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
2192
|
+
'searchbar-should-show-cancel': this.shouldShowCancelButton()
|
|
2193
|
+
}) }, index$1.h("div", { class: "searchbar-input-container" }, index$1.h("input", { "aria-label": "search text", disabled: this.disabled, ref: el => this.nativeInput = el, class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }), mode === 'md' && cancelButton, index$1.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), index$1.h("button", { "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onMouseDown: ev => this.onClearInput(ev, true), onTouchStart: ev => this.onClearInput(ev, true) }, index$1.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
2194
|
+
}
|
|
2195
|
+
get el() { return index$1.getElement(this); }
|
|
2196
|
+
static get watchers() { return {
|
|
2197
|
+
"debounce": ["debounceChanged"],
|
|
2198
|
+
"value": ["valueChanged"],
|
|
2199
|
+
"showCancelButton": ["showCancelButtonChanged"]
|
|
2200
|
+
}; }
|
|
2201
|
+
};
|
|
2202
|
+
Searchbar.style = {
|
|
2203
|
+
ios: searchbarIosCss,
|
|
2204
|
+
md: searchbarMdCss
|
|
2205
|
+
};
|
|
2206
|
+
|
|
1847
2207
|
const skeletonTextCss = ":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:shimmer;animation-timing-function:linear}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}";
|
|
1848
2208
|
|
|
1849
2209
|
const SkeletonText = class {
|
|
@@ -40027,30 +40387,30 @@ const PosApp = class {
|
|
|
40027
40387
|
}
|
|
40028
40388
|
};
|
|
40029
40389
|
|
|
40030
|
-
const
|
|
40390
|
+
const PosAppBrowser = class {
|
|
40031
40391
|
constructor(hostRef) {
|
|
40032
40392
|
index$1.registerInstance(this, hostRef);
|
|
40033
40393
|
}
|
|
40034
40394
|
render() {
|
|
40035
|
-
return (index$1.h("
|
|
40395
|
+
return (index$1.h("pos-app", null, index$1.h("ion-header", null, index$1.h("ion-toolbar", null, index$1.h("ion-title", { slot: "start" }, "PodOS"), index$1.h("pos-login", null))), index$1.h("ion-content", null, index$1.h("pos-router", null)), index$1.h("ion-footer", null, index$1.h("ion-toolbar", null, index$1.h("ion-title", null, "PodOS Browser")))));
|
|
40036
40396
|
}
|
|
40037
40397
|
};
|
|
40038
40398
|
|
|
40039
|
-
const
|
|
40399
|
+
const PosAppGeneric = class {
|
|
40040
40400
|
constructor(hostRef) {
|
|
40041
40401
|
index$1.registerInstance(this, hostRef);
|
|
40042
40402
|
}
|
|
40043
40403
|
render() {
|
|
40044
|
-
return (index$1.h("ion-grid", null, index$1.h("ion-row", null, index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("pos-
|
|
40404
|
+
return (index$1.h("ion-grid", null, index$1.h("ion-row", null, index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("ion-card", null, index$1.h("ion-card-header", null, index$1.h("pos-picture", null), index$1.h("ion-card-title", null, index$1.h("pos-label", null))), index$1.h("ion-card-content", null, index$1.h("pos-description", null)))), index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("pos-literals", null)), index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("pos-relations", null), index$1.h("pos-reverse-relations", null)))));
|
|
40045
40405
|
}
|
|
40046
40406
|
};
|
|
40047
40407
|
|
|
40048
|
-
const
|
|
40408
|
+
const PosAppRdfDocument = class {
|
|
40049
40409
|
constructor(hostRef) {
|
|
40050
40410
|
index$1.registerInstance(this, hostRef);
|
|
40051
40411
|
}
|
|
40052
40412
|
render() {
|
|
40053
|
-
return (index$1.h("
|
|
40413
|
+
return (index$1.h("ion-grid", null, index$1.h("ion-row", null, index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("pos-subjects", null)), index$1.h("ion-col", { size: "12", "size-sm": true }, index$1.h("ion-card", null, index$1.h("ion-card-header", null, index$1.h("ion-card-title", null, index$1.h("pos-label", null)), index$1.h("pos-literals", null)))))));
|
|
40054
40414
|
}
|
|
40055
40415
|
};
|
|
40056
40416
|
|
|
@@ -40216,6 +40576,25 @@ const PosLogin = class {
|
|
|
40216
40576
|
};
|
|
40217
40577
|
PosLogin.style = posLoginCss;
|
|
40218
40578
|
|
|
40579
|
+
const PosNavigationBar = class {
|
|
40580
|
+
constructor(hostRef) {
|
|
40581
|
+
index$1.registerInstance(this, hostRef);
|
|
40582
|
+
this.linkEmitter = index$1.createEvent(this, "pod-os:link", 7);
|
|
40583
|
+
this.uri = '';
|
|
40584
|
+
this.value = this.uri;
|
|
40585
|
+
}
|
|
40586
|
+
onChange(event) {
|
|
40587
|
+
this.value = event.detail.value;
|
|
40588
|
+
}
|
|
40589
|
+
onSubmit(event) {
|
|
40590
|
+
event.preventDefault();
|
|
40591
|
+
this.linkEmitter.emit(this.value);
|
|
40592
|
+
}
|
|
40593
|
+
render() {
|
|
40594
|
+
return (index$1.h("form", { onSubmit: e => this.onSubmit(e) }, index$1.h("ion-searchbar", { enterkeyhint: "search", placeholder: "Enter URI", value: this.uri, onIonChange: e => this.onChange(e) })));
|
|
40595
|
+
}
|
|
40596
|
+
};
|
|
40597
|
+
|
|
40219
40598
|
const posPictureCss = ":host{--width:300px;--height:300px;--border-radius:var(--border-radius, 0)}";
|
|
40220
40599
|
|
|
40221
40600
|
const PosPicture = class {
|
|
@@ -40748,7 +41127,7 @@ const PosRouter = class {
|
|
|
40748
41127
|
}
|
|
40749
41128
|
render() {
|
|
40750
41129
|
console.log('render router', this.uri);
|
|
40751
|
-
return (index$1.h(Router.Switch, null, index$1.h(Route, { path: match('', { exact: false }) }, index$1.h("pos-resource", { key: this.uri, uri: this.uri }, index$1.h("pos-type-router", null)))));
|
|
41130
|
+
return (index$1.h(Router.Switch, null, index$1.h(Route, { path: match('', { exact: false }) }, index$1.h("pos-navigation-bar", { uri: this.uri }), index$1.h("pos-resource", { key: this.uri, uri: this.uri }, index$1.h("pos-type-router", null)))));
|
|
40752
41131
|
}
|
|
40753
41132
|
};
|
|
40754
41133
|
|
|
@@ -40816,18 +41195,20 @@ exports.ion_list = List;
|
|
|
40816
41195
|
exports.ion_progress_bar = ProgressBar;
|
|
40817
41196
|
exports.ion_ripple_effect = RippleEffect;
|
|
40818
41197
|
exports.ion_row = Row;
|
|
41198
|
+
exports.ion_searchbar = Searchbar;
|
|
40819
41199
|
exports.ion_skeleton_text = SkeletonText;
|
|
40820
41200
|
exports.ion_title = ToolbarTitle;
|
|
40821
41201
|
exports.ion_toolbar = Toolbar;
|
|
40822
41202
|
exports.pos_app = PosApp;
|
|
41203
|
+
exports.pos_app_browser = PosAppBrowser;
|
|
40823
41204
|
exports.pos_app_generic = PosAppGeneric;
|
|
40824
41205
|
exports.pos_app_rdf_document = PosAppRdfDocument;
|
|
40825
|
-
exports.pos_demo_app = PosDemoApp;
|
|
40826
41206
|
exports.pos_description = PosDescription;
|
|
40827
41207
|
exports.pos_image = PosImage;
|
|
40828
41208
|
exports.pos_label = PosLabel;
|
|
40829
41209
|
exports.pos_literals = PosLiterals;
|
|
40830
41210
|
exports.pos_login = PosLogin;
|
|
41211
|
+
exports.pos_navigation_bar = PosNavigationBar;
|
|
40831
41212
|
exports.pos_picture = PosPicture;
|
|
40832
41213
|
exports.pos_relations = PosRelations;
|
|
40833
41214
|
exports.pos_resource = PosResource;
|