@six-group/ui-library 4.2.0 → 4.2.1
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/{form-control-b6ca8224.js → form-control-73ff961d.js} +2 -2
- package/dist/cjs/{form-control-b6ca8224.js.map → form-control-73ff961d.js.map} +1 -1
- package/dist/cjs/{index-5bfcf88b.js → index-b288f7d9.js} +11 -2
- package/dist/cjs/index-b288f7d9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/six-alert.cjs.entry.js +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +1 -1
- package/dist/cjs/six-button.cjs.entry.js +1 -1
- package/dist/cjs/six-card.cjs.entry.js +1 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/six-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-details.cjs.entry.js +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +1 -1
- package/dist/cjs/six-error.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +2 -2
- package/dist/cjs/six-header.cjs.entry.js +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +1 -1
- package/dist/cjs/six-input.cjs.entry.js +2 -2
- package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +1 -1
- package/dist/cjs/six-range.cjs.entry.js +2 -2
- package/dist/cjs/six-root.cjs.entry.js +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +1 -1
- package/dist/cjs/six-select.cjs.entry.js +2 -2
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +1 -1
- package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +2 -2
- package/dist/cjs/six-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +2 -2
- package/dist/cjs/six-tile.cjs.entry.js +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ui-library.cjs.js +2 -2
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components.json +2 -2
- package/dist/esm/{form-control-5d3cf9d4.js → form-control-40c37714.js} +2 -2
- package/dist/esm/{form-control-5d3cf9d4.js.map → form-control-40c37714.js.map} +1 -1
- package/dist/esm/{index-d415464d.js → index-52a755dc.js} +11 -2
- package/dist/esm/index-52a755dc.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/six-alert.entry.js +1 -1
- package/dist/esm/six-avatar.entry.js +1 -1
- package/dist/esm/six-badge.entry.js +1 -1
- package/dist/esm/six-button.entry.js +1 -1
- package/dist/esm/six-card.entry.js +1 -1
- package/dist/esm/six-checkbox_2.entry.js +2 -2
- package/dist/esm/six-datepicker.entry.js +1 -1
- package/dist/esm/six-details.entry.js +1 -1
- package/dist/esm/six-dialog.entry.js +1 -1
- package/dist/esm/six-drawer.entry.js +1 -1
- package/dist/esm/six-dropdown_2.entry.js +1 -1
- package/dist/esm/six-error-page.entry.js +1 -1
- package/dist/esm/six-error.entry.js +1 -1
- package/dist/esm/six-file-list-item.entry.js +1 -1
- package/dist/esm/six-file-list.entry.js +1 -1
- package/dist/esm/six-file-upload.entry.js +1 -1
- package/dist/esm/six-footer.entry.js +1 -1
- package/dist/esm/six-group-label.entry.js +2 -2
- package/dist/esm/six-header.entry.js +1 -1
- package/dist/esm/six-icon-button.entry.js +1 -1
- package/dist/esm/six-icon.entry.js +1 -1
- package/dist/esm/six-input.entry.js +2 -2
- package/dist/esm/six-item-picker.entry.js +1 -1
- package/dist/esm/six-language-switcher.entry.js +1 -1
- package/dist/esm/six-layout-grid.entry.js +1 -1
- package/dist/esm/six-main-container.entry.js +1 -1
- package/dist/esm/six-menu-divider.entry.js +1 -1
- package/dist/esm/six-menu-label.entry.js +1 -1
- package/dist/esm/six-picto.entry.js +1 -1
- package/dist/esm/six-progress-bar.entry.js +1 -1
- package/dist/esm/six-progress-ring.entry.js +1 -1
- package/dist/esm/six-radio.entry.js +1 -1
- package/dist/esm/six-range.entry.js +2 -2
- package/dist/esm/six-root.entry.js +1 -1
- package/dist/esm/six-search-field.entry.js +1 -1
- package/dist/esm/six-select.entry.js +2 -2
- package/dist/esm/six-sidebar-item-group.entry.js +1 -1
- package/dist/esm/six-sidebar-item.entry.js +1 -1
- package/dist/esm/six-sidebar.entry.js +1 -1
- package/dist/esm/six-spinner.entry.js +1 -1
- package/dist/esm/six-stage-indicator.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +2 -2
- package/dist/esm/six-tab-group.entry.js +1 -1
- package/dist/esm/six-tab-panel.entry.js +1 -1
- package/dist/esm/six-tab.entry.js +1 -1
- package/dist/esm/six-tag.entry.js +1 -1
- package/dist/esm/six-textarea.entry.js +2 -2
- package/dist/esm/six-tile.entry.js +1 -1
- package/dist/esm/six-timepicker.entry.js +1 -1
- package/dist/esm/six-tooltip.entry.js +1 -1
- package/dist/esm/ui-library.js +3 -3
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/ui-library/{p-3a879e1d.entry.js → p-01853739.entry.js} +2 -2
- package/dist/ui-library/{p-e6db01a9.entry.js → p-03900e17.entry.js} +2 -2
- package/dist/ui-library/{p-ce59d17f.entry.js → p-0a094514.entry.js} +2 -2
- package/dist/ui-library/{p-50d589eb.entry.js → p-0cca70c0.entry.js} +2 -2
- package/dist/ui-library/{p-b902eb65.entry.js → p-19a1d34c.entry.js} +2 -2
- package/dist/ui-library/{p-9a7c45c4.entry.js → p-19ca3bd1.entry.js} +2 -2
- package/dist/ui-library/{p-e6db442b.entry.js → p-1f1224ae.entry.js} +2 -2
- package/dist/ui-library/{p-3c582981.entry.js → p-21002de1.entry.js} +2 -2
- package/dist/ui-library/{p-1903aa37.entry.js → p-29b75db4.entry.js} +2 -2
- package/dist/ui-library/{p-a67b3f42.entry.js → p-338205f4.entry.js} +2 -2
- package/dist/ui-library/{p-fe483fc6.entry.js → p-3827f9e0.entry.js} +2 -2
- package/dist/ui-library/{p-59744f17.entry.js → p-38a9a590.entry.js} +2 -2
- package/dist/ui-library/{p-57ab8f42.entry.js → p-3e9324c8.entry.js} +2 -2
- package/dist/ui-library/{p-499480a2.entry.js → p-3eed2287.entry.js} +2 -2
- package/dist/ui-library/{p-fdf271fd.entry.js → p-45960b56.entry.js} +2 -2
- package/dist/ui-library/{p-034b3bb1.entry.js → p-49e5d8bb.entry.js} +2 -2
- package/dist/ui-library/{p-7ad67887.entry.js → p-4af73ea9.entry.js} +2 -2
- package/dist/ui-library/{p-1a17a806.entry.js → p-50dbe99f.entry.js} +2 -2
- package/dist/ui-library/{p-24c42aab.entry.js → p-52c04973.entry.js} +2 -2
- package/dist/ui-library/{p-9e14b37a.entry.js → p-5f810571.entry.js} +2 -2
- package/dist/ui-library/{p-e9726db2.entry.js → p-6c96b62e.entry.js} +2 -2
- package/dist/ui-library/{p-b863dcc4.entry.js → p-724d0458.entry.js} +2 -2
- package/dist/ui-library/{p-f2320c65.entry.js → p-7562d5f5.entry.js} +2 -2
- package/dist/ui-library/{p-2e7312fc.entry.js → p-756f4acf.entry.js} +2 -2
- package/dist/ui-library/{p-2b7e2bcb.entry.js → p-775e6891.entry.js} +2 -2
- package/dist/ui-library/{p-716019b6.entry.js → p-7a722a13.entry.js} +2 -2
- package/dist/ui-library/{p-52e2a64b.entry.js → p-7a9dcb16.entry.js} +2 -2
- package/dist/ui-library/{p-38271a5e.entry.js → p-7fc0bf6b.entry.js} +2 -2
- package/dist/ui-library/{p-71ff0e72.entry.js → p-803915da.entry.js} +2 -2
- package/dist/ui-library/{p-e924132d.entry.js → p-80476b0f.entry.js} +2 -2
- package/dist/ui-library/{p-3f8ed1d4.entry.js → p-8644f970.entry.js} +2 -2
- package/dist/ui-library/{p-81390410.entry.js → p-8938e9bd.entry.js} +2 -2
- package/dist/ui-library/{p-740d3c8b.entry.js → p-8dff4dcb.entry.js} +2 -2
- package/dist/ui-library/{p-dea8f89c.entry.js → p-8f307b55.entry.js} +2 -2
- package/dist/ui-library/{p-0054410d.entry.js → p-93ab2efc.entry.js} +2 -2
- package/dist/ui-library/{p-ab22dafd.entry.js → p-9426a37b.entry.js} +2 -2
- package/dist/ui-library/{p-380ba2b7.entry.js → p-a2a6aaea.entry.js} +2 -2
- package/dist/ui-library/{p-23f5dae2.entry.js → p-a2b8aca7.entry.js} +2 -2
- package/dist/ui-library/{p-6ee48e81.js → p-aa99a393.js} +2 -2
- package/dist/ui-library/{p-b68f4556.entry.js → p-acc487ec.entry.js} +2 -2
- package/dist/ui-library/{p-3c05fdf3.entry.js → p-ba7424b3.entry.js} +2 -2
- package/dist/ui-library/{p-4272021f.entry.js → p-be0c0ec9.entry.js} +2 -2
- package/dist/ui-library/{p-786148a6.entry.js → p-c948cf70.entry.js} +2 -2
- package/dist/ui-library/{p-ad244587.entry.js → p-d55db23a.entry.js} +2 -2
- package/dist/ui-library/{p-61c91764.entry.js → p-d717a2f2.entry.js} +2 -2
- package/dist/ui-library/{p-1c5e8dec.entry.js → p-d7739200.entry.js} +2 -2
- package/dist/ui-library/{p-a2dad0ab.entry.js → p-e3766acb.entry.js} +2 -2
- package/dist/ui-library/{p-a69ba529.entry.js → p-e43e5e45.entry.js} +2 -2
- package/dist/ui-library/{p-5cde0403.entry.js → p-e798314b.entry.js} +2 -2
- package/dist/ui-library/{p-c297662b.entry.js → p-f1bb5648.entry.js} +2 -2
- package/dist/ui-library/{p-b922e8ac.entry.js → p-f8572492.entry.js} +2 -2
- package/dist/ui-library/{p-e8d5a789.js → p-f93d8a4e.js} +3 -3
- package/dist/ui-library/p-f93d8a4e.js.map +1 -0
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/index-5bfcf88b.js.map +0 -1
- package/dist/esm/index-d415464d.js.map +0 -1
- package/dist/ui-library/p-e8d5a789.js.map +0 -1
- /package/dist/ui-library/{p-3a879e1d.entry.js.map → p-01853739.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e6db01a9.entry.js.map → p-03900e17.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ce59d17f.entry.js.map → p-0a094514.entry.js.map} +0 -0
- /package/dist/ui-library/{p-50d589eb.entry.js.map → p-0cca70c0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b902eb65.entry.js.map → p-19a1d34c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9a7c45c4.entry.js.map → p-19ca3bd1.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e6db442b.entry.js.map → p-1f1224ae.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3c582981.entry.js.map → p-21002de1.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1903aa37.entry.js.map → p-29b75db4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a67b3f42.entry.js.map → p-338205f4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-fe483fc6.entry.js.map → p-3827f9e0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-59744f17.entry.js.map → p-38a9a590.entry.js.map} +0 -0
- /package/dist/ui-library/{p-57ab8f42.entry.js.map → p-3e9324c8.entry.js.map} +0 -0
- /package/dist/ui-library/{p-499480a2.entry.js.map → p-3eed2287.entry.js.map} +0 -0
- /package/dist/ui-library/{p-fdf271fd.entry.js.map → p-45960b56.entry.js.map} +0 -0
- /package/dist/ui-library/{p-034b3bb1.entry.js.map → p-49e5d8bb.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7ad67887.entry.js.map → p-4af73ea9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1a17a806.entry.js.map → p-50dbe99f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-24c42aab.entry.js.map → p-52c04973.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9e14b37a.entry.js.map → p-5f810571.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e9726db2.entry.js.map → p-6c96b62e.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b863dcc4.entry.js.map → p-724d0458.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f2320c65.entry.js.map → p-7562d5f5.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2e7312fc.entry.js.map → p-756f4acf.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2b7e2bcb.entry.js.map → p-775e6891.entry.js.map} +0 -0
- /package/dist/ui-library/{p-716019b6.entry.js.map → p-7a722a13.entry.js.map} +0 -0
- /package/dist/ui-library/{p-52e2a64b.entry.js.map → p-7a9dcb16.entry.js.map} +0 -0
- /package/dist/ui-library/{p-38271a5e.entry.js.map → p-7fc0bf6b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-71ff0e72.entry.js.map → p-803915da.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e924132d.entry.js.map → p-80476b0f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3f8ed1d4.entry.js.map → p-8644f970.entry.js.map} +0 -0
- /package/dist/ui-library/{p-81390410.entry.js.map → p-8938e9bd.entry.js.map} +0 -0
- /package/dist/ui-library/{p-740d3c8b.entry.js.map → p-8dff4dcb.entry.js.map} +0 -0
- /package/dist/ui-library/{p-dea8f89c.entry.js.map → p-8f307b55.entry.js.map} +0 -0
- /package/dist/ui-library/{p-0054410d.entry.js.map → p-93ab2efc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ab22dafd.entry.js.map → p-9426a37b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-380ba2b7.entry.js.map → p-a2a6aaea.entry.js.map} +0 -0
- /package/dist/ui-library/{p-23f5dae2.entry.js.map → p-a2b8aca7.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6ee48e81.js.map → p-aa99a393.js.map} +0 -0
- /package/dist/ui-library/{p-b68f4556.entry.js.map → p-acc487ec.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3c05fdf3.entry.js.map → p-ba7424b3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-4272021f.entry.js.map → p-be0c0ec9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-786148a6.entry.js.map → p-c948cf70.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ad244587.entry.js.map → p-d55db23a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-61c91764.entry.js.map → p-d717a2f2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1c5e8dec.entry.js.map → p-d7739200.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a2dad0ab.entry.js.map → p-e3766acb.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a69ba529.entry.js.map → p-e43e5e45.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5cde0403.entry.js.map → p-e798314b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c297662b.entry.js.map → p-f1bb5648.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b922e8ac.entry.js.map → p-f8572492.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as i,h as s,H as t,g as a}from"./p-e8d5a789.js";import{E as r}from"./p-8bfb4bfc.js";import{g as h,h as c}from"./p-0cebf1d2.js";const d=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;user-select:none;--search-border-width:1px}::slotted(six-search-field){position:absolute;margin-left:var(--search-border-width);width:calc(100% - 2 * var(--search-border-width))}.six-header{display:flex;width:100%;height:3.75rem;background-color:var(--six-header-background-color);align-items:center;flex-wrap:wrap;box-shadow:var(--six-shadow-medium);border-bottom:var(--six-header-border-with) solid var(--six-header-border-color)}.six-header__logo{width:6rem;margin-top:0.15rem}.six-header__logo--clickable{cursor:pointer}.six-header__placeholder{flex:1}.six-header__menu,.six-header__logo,.six-header__custom,.six-header__search,.six-header__notification,.six-header__app-switcher,.six-header__profile{height:calc(100% - 0.25rem - 1px);padding:0 1.25rem;display:flex;align-items:center;border-bottom:solid 0.25rem transparent}.six-header__menu--open,.six-header__logo--open,.six-header__custom--open,.six-header__search--open,.six-header__notification--open,.six-header__app-switcher--open,.six-header__profile--open{border-bottom:solid 0.25rem var(--six-header-border-color-open)}.six-header__app-switcher-dropdown{display:flex;align-items:center}.six-header__selected-app{cursor:pointer;font-size:0.9rem;font-weight:600;padding-right:0;padding-left:0.3rem}.six-header__selected-app:hover{color:var(--six-header-selected-app-color-hover)}.six-header__search-field{opacity:0;transform:scale(0.9);transition:var(--six-transition-fast) opacity, var(--six-transition-fast) transform;display:none}.six-header__search-field--visible{opacity:1;transform:none;display:block}.six-header__search-field--shift-content.six-header__search-field--visible{height:2.65rem;transition:var(--six-transition-fast) height}.six-header__search-field--shift-content:not(.six-header__search-field--visible){height:0;transition:var(--six-transition-fast) height}";const o=d;var n;(function(e){e[e["None"]=0]="None";e[e["Search"]=1]="Search";e[e["AppSwitcher"]=2]="AppSwitcher";e[e["Profile"]=3]="Profile"})(n||(n={}));var l;(function(e){e["Search"]="search-field";e["Notifications"]="notifications";e["AppSwitcher"]="app-switcher-menu";e["Profile"]="profile-menu";e["Logo"]="logo"})(l||(l={}));const f=class{constructor(s){e(this,s);this.sixAppNameClicked=i(this,"six-header-app-name-clicked",7);this.sixAppSwitcherSelect=i(this,"six-header-app-switcher-select",7);this.sixProfileSelect=i(this,"six-header-profile-select",7);this.sixHamburgerClick=i(this,"six-header-hamburger-menu-clicked",7);this.sixLogoClick=i(this,"six-header-logo-clicked",7);this.sixSearchFieldToggle=i(this,"six-header-search-field-toggle",7);this.eventListeners=new r;this.setupMenu=e=>{if(e==null)return;this.eventListeners.add(e,"click",(()=>this.sixHamburgerClick.emit()))};this.setupLogo=e=>{if(!this.clickableLogo||e==null)return;this.eventListeners.add(e,"click",(()=>this.sixLogoClick.emit()))};this.setupProfile=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.Profile));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.sixProfileSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.setupAppSwitcher=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.AppSwitcher));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.selectedApp=s.innerText;this.sixAppSwitcherSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.appNameClicked=()=>this.sixAppNameClicked.emit();this.computeSearchOpenState=()=>{this.selectedSection=this.openSearch?n.Search:n.None};this.shiftContent=false;this.hideHamburgerMenu=false;this.openHamburgerMenu=false;this.openSearch=false;this.clickableLogo=false;this.selectedApp=undefined;this.selectedSection=undefined}handleOpenSearchChange(){this.computeSearchOpenState()}async setSearchOpenState(e){if(this.selectedSection===n.Search&&!e){this.selectedSection=n.None}else if(e&&this.selectedSection!==n.Search){this.selectedSection=n.Search}}async getIsSearchOpen(){return this.selectedSection===n.Search}hasSlot(e){if(this.slots==null){return false}return this.slots[e]}isSectionSelected(e){return e===this.selectedSection}selectSection(e){return()=>this.selectedSection=e}toggleSearch(){const e=this.selectedSection!==n.Search;this.selectedSection=this.selectedSection===n.Search?n.None:n.Search;this.sixSearchFieldToggle.emit({visible:e});if(this.selectedSection===n.Search){setTimeout((async()=>{var e,i;const s=h(this.host,l.Search);(i=(e=s===null||s===void 0?void 0:s.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-input"))===null||i===void 0?void 0:i.setFocus()}),50)}}componentWillLoad(){this.slots={[l.Search]:c(this.host,l.Search),[l.Notifications]:c(this.host,l.Notifications),[l.AppSwitcher]:c(this.host,l.AppSwitcher),[l.Profile]:c(this.host,l.Profile),[l.Logo]:c(this.host,l.Logo)};if(this.hasSlot(l.AppSwitcher)){this.updateSelectedApp()}if(this.hasSlot(l.Search)){this.computeSearchOpenState()}}connectedCallback(){const e=h(this.host,l.AppSwitcher);if(e){this.mutationObserver=new MutationObserver((e=>{if(e.some((e=>e.type==="childList"||e.type==="attributes"))){this.updateSelectedApp()}}));this.mutationObserver.observe(e,{attributes:true,childList:true,subtree:true})}}updateSelectedApp(){var e;const i=h(this.host,l.AppSwitcher);if(i==null){return undefined}const s=Array.from(i.querySelectorAll("six-menu-item"));const t=s.find((e=>e.hasAttribute("checked")&&e.getAttribute("checked")!=="false"));this.selectedApp=(e=t===null||t===void 0?void 0:t.textContent)!==null&&e!==void 0?e:undefined}disconnectedCallback(){var e;this.eventListeners.removeAll();(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){const e=!this.hideHamburgerMenu&&s("section",{key:"4bdfb040919e63d80c73907e4ab99f81f41ed962",class:"six-header__menu"},s("six-icon-button",{key:"65979bc405df9ede5ff51ba6671a20c89dcc07db",name:this.openHamburgerMenu?"menu_open":"menu",ref:this.setupMenu}));const i=this.hasSlot(l.Search)&&s("section",{key:"dea31e61c8c3abdd62bbfdb427c0d5c994ca005b",class:{"six-header__search":true,"six-header__search--open":this.isSectionSelected(n.Search)}},s("six-icon-button",{key:"36411dc4797c5c14f54be612422b2b8a651dc042",name:"search",onClick:()=>this.toggleSearch(),"data-testid":"search-trigger"}));const a=this.hasSlot(l.Notifications)&&s("section",{key:"42703240d867b07571e2cae5b1475c4b40d5cab9",class:"six-header__notification"},s("slot",{key:"17ab8c5a38463636bb485ced2bb7ff04917e2a99",name:l.Notifications}));const r=this.hasSlot(l.AppSwitcher)&&s("section",{key:"1663cb55a4a112cfee5b0bd1b4162c7425b8e25c",class:{"six-header__app-switcher":true,"six-header__app-switcher--open":this.isSectionSelected(n.AppSwitcher)}},s("six-dropdown",{key:"e0b0599707152e3514dc9216a4d3b6256631377e",distance:13,skidding:20,placement:"bottom-end",ref:this.setupAppSwitcher},s("div",{key:"89a8ee9eb2af751a681256f40b66930ca7a6e6dc",slot:"trigger",class:"six-header__app-switcher-dropdown"},s("a",{key:"bcf7e1f1249cf0def1d2575d0e2e9a2a5543f808",onClick:this.appNameClicked,class:"six-header__selected-app"},this.selectedApp),s("six-icon-button",{key:"f5996669051d290c957e9a0417b77d7a424e3dab",name:"apps"})),s("slot",{key:"a55a8cd1cf35bb4b229199d86fb119678fc79617",name:l.AppSwitcher})));const h=this.hasSlot(l.Profile)&&s("section",{key:"70840d293a70fb869c6de4c70353b1f47b995e5d",class:{"six-header__profile":true,"six-header__profile--open":this.isSectionSelected(n.Profile)}},s("six-dropdown",{key:"50463552c655c87b793cee909810475c418abddf",distance:17,skidding:20,placement:"bottom-end",ref:this.setupProfile},s("slot",{key:"fae7475c62c9a0c273398a77f344dfde87c85b7c",name:"profile-avatar",slot:"trigger"}),s("slot",{key:"147b4944e080330652d02e0e6680277b910f31b9",name:"profile-menu"})));const c=this.hasSlot(l.Logo)?s("section",null,s("slot",{name:"logo"})):s("section",{class:{"six-header__logo":true,"six-header__logo--clickable":this.clickableLogo},ref:this.setupLogo},s("svg",{height:"20",viewBox:"0 0 90 26",xmlns:"http://www.w3.org/2000/svg"},s("title",null,"SIX"),s("g",{fill:"#DE3919","fill-rule":"nonzero"},s("path",{d:"m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525"}),s("path",{d:"m42.16.324h5.21v24.806h-5.21z"}),s("path",{d:"m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545"}))));return s(t,{key:"fe3df0b60941b770dc1a4a876fea67648103feeb"},s("header",{key:"297d9e50c392a86028d4a982262bb292abe9720c",class:"six-header"},e,c,s("section",{key:"b2f2c0a98b8bfae711ad941986c98e616c55073c",class:"six-header__placeholder"}),s("section",{key:"6d6800f2abb6986304588dda3e9a8d8905f98266",class:"six-header__custom"},s("slot",{key:"4a8d385406e6e878c620be5945affd4e77cf7d9f"})),i,a,r,h),s("div",{key:"1d2f6aa7a0842212e556f01cbaf31d04a65ec6d5",class:{"six-header__search-field":true,"six-header__search-field--visible":this.isSectionSelected(n.Search),"six-header__search-field--shift-content":this.shiftContent}},s("slot",{key:"02619aaa886ecdee27f31a9687deab5fb1ec254c",name:l.Search})))}static get assetsDirs(){return["assets"]}get host(){return a(this)}static get watchers(){return{openSearch:["handleOpenSearchChange"]}}};f.style=o;export{f as six_header};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as i,h as s,H as t,g as a}from"./p-f93d8a4e.js";import{E as r}from"./p-8bfb4bfc.js";import{g as h,h as c}from"./p-0cebf1d2.js";const d=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;user-select:none;--search-border-width:1px}::slotted(six-search-field){position:absolute;margin-left:var(--search-border-width);width:calc(100% - 2 * var(--search-border-width))}.six-header{display:flex;width:100%;height:3.75rem;background-color:var(--six-header-background-color);align-items:center;flex-wrap:wrap;box-shadow:var(--six-shadow-medium);border-bottom:var(--six-header-border-with) solid var(--six-header-border-color)}.six-header__logo{width:6rem;margin-top:0.15rem}.six-header__logo--clickable{cursor:pointer}.six-header__placeholder{flex:1}.six-header__menu,.six-header__logo,.six-header__custom,.six-header__search,.six-header__notification,.six-header__app-switcher,.six-header__profile{height:calc(100% - 0.25rem - 1px);padding:0 1.25rem;display:flex;align-items:center;border-bottom:solid 0.25rem transparent}.six-header__menu--open,.six-header__logo--open,.six-header__custom--open,.six-header__search--open,.six-header__notification--open,.six-header__app-switcher--open,.six-header__profile--open{border-bottom:solid 0.25rem var(--six-header-border-color-open)}.six-header__app-switcher-dropdown{display:flex;align-items:center}.six-header__selected-app{cursor:pointer;font-size:0.9rem;font-weight:600;padding-right:0;padding-left:0.3rem}.six-header__selected-app:hover{color:var(--six-header-selected-app-color-hover)}.six-header__search-field{opacity:0;transform:scale(0.9);transition:var(--six-transition-fast) opacity, var(--six-transition-fast) transform;display:none}.six-header__search-field--visible{opacity:1;transform:none;display:block}.six-header__search-field--shift-content.six-header__search-field--visible{height:2.65rem;transition:var(--six-transition-fast) height}.six-header__search-field--shift-content:not(.six-header__search-field--visible){height:0;transition:var(--six-transition-fast) height}";const o=d;var n;(function(e){e[e["None"]=0]="None";e[e["Search"]=1]="Search";e[e["AppSwitcher"]=2]="AppSwitcher";e[e["Profile"]=3]="Profile"})(n||(n={}));var l;(function(e){e["Search"]="search-field";e["Notifications"]="notifications";e["AppSwitcher"]="app-switcher-menu";e["Profile"]="profile-menu";e["Logo"]="logo"})(l||(l={}));const f=class{constructor(s){e(this,s);this.sixAppNameClicked=i(this,"six-header-app-name-clicked",7);this.sixAppSwitcherSelect=i(this,"six-header-app-switcher-select",7);this.sixProfileSelect=i(this,"six-header-profile-select",7);this.sixHamburgerClick=i(this,"six-header-hamburger-menu-clicked",7);this.sixLogoClick=i(this,"six-header-logo-clicked",7);this.sixSearchFieldToggle=i(this,"six-header-search-field-toggle",7);this.eventListeners=new r;this.setupMenu=e=>{if(e==null)return;this.eventListeners.add(e,"click",(()=>this.sixHamburgerClick.emit()))};this.setupLogo=e=>{if(!this.clickableLogo||e==null)return;this.eventListeners.add(e,"click",(()=>this.sixLogoClick.emit()))};this.setupProfile=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.Profile));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.sixProfileSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.setupAppSwitcher=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.AppSwitcher));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.selectedApp=s.innerText;this.sixAppSwitcherSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.appNameClicked=()=>this.sixAppNameClicked.emit();this.computeSearchOpenState=()=>{this.selectedSection=this.openSearch?n.Search:n.None};this.shiftContent=false;this.hideHamburgerMenu=false;this.openHamburgerMenu=false;this.openSearch=false;this.clickableLogo=false;this.selectedApp=undefined;this.selectedSection=undefined}handleOpenSearchChange(){this.computeSearchOpenState()}async setSearchOpenState(e){if(this.selectedSection===n.Search&&!e){this.selectedSection=n.None}else if(e&&this.selectedSection!==n.Search){this.selectedSection=n.Search}}async getIsSearchOpen(){return this.selectedSection===n.Search}hasSlot(e){if(this.slots==null){return false}return this.slots[e]}isSectionSelected(e){return e===this.selectedSection}selectSection(e){return()=>this.selectedSection=e}toggleSearch(){const e=this.selectedSection!==n.Search;this.selectedSection=this.selectedSection===n.Search?n.None:n.Search;this.sixSearchFieldToggle.emit({visible:e});if(this.selectedSection===n.Search){setTimeout((async()=>{var e,i;const s=h(this.host,l.Search);(i=(e=s===null||s===void 0?void 0:s.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-input"))===null||i===void 0?void 0:i.setFocus()}),50)}}componentWillLoad(){this.slots={[l.Search]:c(this.host,l.Search),[l.Notifications]:c(this.host,l.Notifications),[l.AppSwitcher]:c(this.host,l.AppSwitcher),[l.Profile]:c(this.host,l.Profile),[l.Logo]:c(this.host,l.Logo)};if(this.hasSlot(l.AppSwitcher)){this.updateSelectedApp()}if(this.hasSlot(l.Search)){this.computeSearchOpenState()}}connectedCallback(){const e=h(this.host,l.AppSwitcher);if(e){this.mutationObserver=new MutationObserver((e=>{if(e.some((e=>e.type==="childList"||e.type==="attributes"))){this.updateSelectedApp()}}));this.mutationObserver.observe(e,{attributes:true,childList:true,subtree:true})}}updateSelectedApp(){var e;const i=h(this.host,l.AppSwitcher);if(i==null){return undefined}const s=Array.from(i.querySelectorAll("six-menu-item"));const t=s.find((e=>e.hasAttribute("checked")&&e.getAttribute("checked")!=="false"));this.selectedApp=(e=t===null||t===void 0?void 0:t.textContent)!==null&&e!==void 0?e:undefined}disconnectedCallback(){var e;this.eventListeners.removeAll();(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){const e=!this.hideHamburgerMenu&&s("section",{key:"4bdfb040919e63d80c73907e4ab99f81f41ed962",class:"six-header__menu"},s("six-icon-button",{key:"65979bc405df9ede5ff51ba6671a20c89dcc07db",name:this.openHamburgerMenu?"menu_open":"menu",ref:this.setupMenu}));const i=this.hasSlot(l.Search)&&s("section",{key:"dea31e61c8c3abdd62bbfdb427c0d5c994ca005b",class:{"six-header__search":true,"six-header__search--open":this.isSectionSelected(n.Search)}},s("six-icon-button",{key:"36411dc4797c5c14f54be612422b2b8a651dc042",name:"search",onClick:()=>this.toggleSearch(),"data-testid":"search-trigger"}));const a=this.hasSlot(l.Notifications)&&s("section",{key:"42703240d867b07571e2cae5b1475c4b40d5cab9",class:"six-header__notification"},s("slot",{key:"17ab8c5a38463636bb485ced2bb7ff04917e2a99",name:l.Notifications}));const r=this.hasSlot(l.AppSwitcher)&&s("section",{key:"1663cb55a4a112cfee5b0bd1b4162c7425b8e25c",class:{"six-header__app-switcher":true,"six-header__app-switcher--open":this.isSectionSelected(n.AppSwitcher)}},s("six-dropdown",{key:"e0b0599707152e3514dc9216a4d3b6256631377e",distance:13,skidding:20,placement:"bottom-end",ref:this.setupAppSwitcher},s("div",{key:"89a8ee9eb2af751a681256f40b66930ca7a6e6dc",slot:"trigger",class:"six-header__app-switcher-dropdown"},s("a",{key:"bcf7e1f1249cf0def1d2575d0e2e9a2a5543f808",onClick:this.appNameClicked,class:"six-header__selected-app"},this.selectedApp),s("six-icon-button",{key:"f5996669051d290c957e9a0417b77d7a424e3dab",name:"apps"})),s("slot",{key:"a55a8cd1cf35bb4b229199d86fb119678fc79617",name:l.AppSwitcher})));const h=this.hasSlot(l.Profile)&&s("section",{key:"70840d293a70fb869c6de4c70353b1f47b995e5d",class:{"six-header__profile":true,"six-header__profile--open":this.isSectionSelected(n.Profile)}},s("six-dropdown",{key:"50463552c655c87b793cee909810475c418abddf",distance:17,skidding:20,placement:"bottom-end",ref:this.setupProfile},s("slot",{key:"fae7475c62c9a0c273398a77f344dfde87c85b7c",name:"profile-avatar",slot:"trigger"}),s("slot",{key:"147b4944e080330652d02e0e6680277b910f31b9",name:"profile-menu"})));const c=this.hasSlot(l.Logo)?s("section",null,s("slot",{name:"logo"})):s("section",{class:{"six-header__logo":true,"six-header__logo--clickable":this.clickableLogo},ref:this.setupLogo},s("svg",{height:"20",viewBox:"0 0 90 26",xmlns:"http://www.w3.org/2000/svg"},s("title",null,"SIX"),s("g",{fill:"#DE3919","fill-rule":"nonzero"},s("path",{d:"m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525"}),s("path",{d:"m42.16.324h5.21v24.806h-5.21z"}),s("path",{d:"m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545"}))));return s(t,{key:"fe3df0b60941b770dc1a4a876fea67648103feeb"},s("header",{key:"297d9e50c392a86028d4a982262bb292abe9720c",class:"six-header"},e,c,s("section",{key:"b2f2c0a98b8bfae711ad941986c98e616c55073c",class:"six-header__placeholder"}),s("section",{key:"6d6800f2abb6986304588dda3e9a8d8905f98266",class:"six-header__custom"},s("slot",{key:"4a8d385406e6e878c620be5945affd4e77cf7d9f"})),i,a,r,h),s("div",{key:"1d2f6aa7a0842212e556f01cbaf31d04a65ec6d5",class:{"six-header__search-field":true,"six-header__search-field--visible":this.isSectionSelected(n.Search),"six-header__search-field--shift-content":this.shiftContent}},s("slot",{key:"02619aaa886ecdee27f31a9687deab5fb1ec254c",name:l.Search})))}static get assetsDirs(){return["assets"]}get host(){return a(this)}static get watchers(){return{openSearch:["handleOpenSearchChange"]}}};f.style=o;export{f as six_header};
|
|
2
|
+
//# sourceMappingURL=p-f1bb5648.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as a,h as i,H as s,g as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as a,h as i,H as s,g as o}from"./p-f93d8a4e.js";const e=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:flex}.tab{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-semibold);color:var(--six-tab-color);padding:var(--six-spacing-medium) var(--six-spacing-large);white-space:nowrap;user-select:none;cursor:pointer;width:100%}.tab:focus{outline:none}.tab:focus-visible{outline:var(--six-focus-ring);outline-offset:calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset))}.tab.tab--active:not(.tab--disabled){color:var(--six-tab-color-active);font-weight:var(--six-font-weight-bold)}.tab.tab--closable{padding-right:var(--six-spacing-small)}.tab.tab--disabled{color:var(--six-tab-color-disabled);cursor:not-allowed}.tab:hover:not(.tab--disabled){color:var(--six-tab-color-hover)}.tab__close-button{font-size:var(--six-font-size-large);margin-left:var(--six-spacing-xx-small)}.tab__close-button::part(base){padding:var(--six-spacing-xxx-small)}.tab__indicator{position:absolute}.tab__indicator.tab__indicator--active{background-color:var(--six-tab-border-color-active)}.tab--top{margin-bottom:var(--six-spacing-xxx-small)}.tab__indicator--top{width:100%;bottom:0;height:var(--six-tab-border-width)}.tab--bottom{margin-top:var(--six-spacing-xxx-small)}.tab__indicator--bottom{width:100%;top:0;height:var(--six-tab-border-width)}.tab--left{margin-right:var(--six-spacing-xxx-small)}.tab__indicator--left{height:100%;right:0;top:0;width:var(--six-tab-border-width)}.tab--right{margin-left:var(--six-spacing-xxx-small)}.tab__indicator--right{height:100%;left:0;top:0;width:var(--six-tab-border-width)}";const r=e;let b=0;const l=class{constructor(i){t(this,i);this.sixClose=a(this,"six-tab-close",7);this.componentId=`tab-${++b}`;this.panel="";this.active=false;this.closable=false;this.disabled=false}connectedCallback(){this.handleCloseClick=this.handleCloseClick.bind(this)}async setFocus(t){var a;(a=this.tab)===null||a===void 0?void 0:a.focus(t)}async removeFocus(){var t;(t=this.tab)===null||t===void 0?void 0:t.blur()}handleCloseClick(){this.sixClose.emit()}render(){var t;const a=this.host.closest("six-tab-group");const o=(t=a===null||a===void 0?void 0:a.placement)!==null&&t!==void 0?t:"top";return i(s,{key:"c5b8229e0f721259a30d70e4756ae4504c915d0f",id:this.host.id||this.componentId},i("div",{key:"2f3b8d1d278020352802f885a859232370cbbcb3",part:"base",ref:t=>this.tab=t,class:{tab:true,"tab--top":o==="top","tab--bottom":o==="bottom","tab--left":o==="left","tab--right":o==="right","tab--active":this.active,"tab--closable":this.closable,"tab--disabled":this.disabled},role:"tab","aria-disabled":this.disabled?"true":"false","aria-selected":this.active?"true":"false",tabindex:this.disabled||!this.active?"-1":"0"},i("slot",{key:"a09a1df3cb8a119d736a200b618e114399fe57c3"}),this.closable&&i("six-icon-button",{name:"close",size:"xSmall",exportparts:"base:close-button",class:"tab__close-button",onClick:this.handleCloseClick,tabIndex:-1,"aria-hidden":"true"})),i("div",{key:"31c108fd748bf326b1dd40a92d2b35eaef7f8c29",class:{tab__indicator:true,"tab__indicator--active":this.active,"tab__indicator--top":o==="top","tab__indicator--bottom":o==="bottom","tab__indicator--left":o==="left","tab__indicator--right":o==="right"}}))}get host(){return o(this)}};l.style=r;export{l as six_tab};
|
|
2
|
+
//# sourceMappingURL=p-f8572492.entry.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const t="ui-library";let e;let n;let s=false;let o=false;let l=false;const c=(t,e="")=>{{return()=>{}}};const i=(t,e)=>{{return()=>{}}};const f="{visibility:hidden}.hydrated{visibility:inherit}";const r="slot-fb{display:contents}slot-fb[hidden]{display:none}";const u={};const a="http://www.w3.org/2000/svg";const d="http://www.w3.org/1999/xhtml";const v=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function y(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const h=(t,e,...n)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof t!=="function"&&!p(s)){s=String(s)}if(l&&c){i[i.length-1].t+=s}else{i.push(l?b(null,s):s)}c=l}}};f(n);if(e){if(e.key){o=e.key}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,i,$)}const r=b(t,null);r.o=e;if(i.length>0){r.l=i}{r.i=o}return r};const b=(t,e)=>{const n={u:0,v:t,t:e,p:null,l:null};{n.o=null}{n.i=null}return n};const m={};const w=t=>t&&t.v===m;const $={forEach:(t,e)=>t.map(g).forEach(e),map:(t,e)=>t.map(g).map(e).map(S)};const g=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.h,vtag:t.v,vtext:t.t});const S=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return h(t.vtag,e,...t.vchildren||[])}const e=b(t.vtag,t.vtext);e.o=t.vattrs;e.l=t.vchildren;e.i=t.vkey;e.h=t.vname;return e};const j=(t,e)=>{if(t!=null&&!p(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const O=t=>mt(t).$hostElement$;const k=(t,e,n)=>{const s=O(t);return{emit:t=>C(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const C=(t,e,n)=>{const s=xt.ce(e,n);t.dispatchEvent(s);return s};const M=new WeakMap;const x=(t,e,n)=>{let s=kt.get(t);if(Ut&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}kt.set(t,s)};const P=(t,e,n)=>{var s;const o=U(e);const l=kt.get(o);t=t.nodeType===11?t:Mt;if(l){if(typeof l==="string"){t=t.head||t;let n=M.get(t);let c;if(!n){M.set(t,n=new Set)}if(!n.has(o)){{c=Mt.createElement("style");c.innerHTML=l;const e=(s=xt.m)!==null&&s!==void 0?s:y(Mt);if(e!=null){c.setAttribute("nonce",e)}t.insertBefore(c,t.querySelector("link"))}if(e.u&4){c.innerHTML+=r}if(n){n.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const E=t=>{const e=t.$;const n=t.$hostElement$;const s=e.u;const o=c("attachStyles",e.S);const l=P(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=l;n.classList.add(l+"-h");if(s&2){n.classList.add(l+"-s")}}o()};const U=(t,e)=>"sc-"+t.S;const L=(t,e,n,s,o,l)=>{if(n!==s){let c=gt(t,e);let i=e.toLowerCase();if(e==="class"){const e=t.classList;const o=A(n);const l=A(s);e.remove(...o.filter((t=>t&&!l.includes(t))));e.add(...l.filter((t=>t&&!o.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!c&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(gt(Ct,i)){e=i.slice(2)}else{e=i[2]+e.slice(3)}if(n||s){const o=e.endsWith(D);e=e.replace(N,"");if(n){xt.rel(t,e,n,o)}if(s){xt.ael(t,e,s,o)}}}else{const i=p(s);if((c||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(e==="list"){c=false}else if(n==null||t[e]!=o){t[e]=o}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!c||l&4||o)&&!i){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const R=/\s/;const A=t=>!t?[]:t.split(R);const D="Capture";const N=new RegExp(D+"$");const T=(t,e,n,s)=>{const o=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const l=t&&t.o||u;const c=e.o||u;{for(s in l){if(!(s in c)){L(o,s,l[s],undefined,n,e.u)}}}for(s in c){L(o,s,l[s],c[s],n,e.u)}};const W=(t,s,l,c)=>{const i=s.l[l];let f=0;let r;let u;if(i.t!==null){r=i.p=Mt.createTextNode(i.t)}else{if(!o){o=i.v==="svg"}r=i.p=Mt.createElementNS(o?a:d,i.v);if(o&&i.v==="foreignObject"){o=false}{T(null,i,o)}if(v(e)&&r["s-si"]!==e){r.classList.add(r["s-si"]=e)}if(i.l){for(f=0;f<i.l.length;++f){u=W(t,i,f);if(u){r.appendChild(u)}}}{if(i.v==="svg"){o=false}else if(r.tagName==="foreignObject"){o=true}}}r["s-hn"]=n;return r};const F=(t,e,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===n){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=W(null,s,l);if(f){o[l].p=f;i.insertBefore(f,e)}}}};const H=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;_(e);if(t){t.remove()}}}};const q=(t,e,n,s,o=false)=>{let l=0;let c=0;let i=0;let f=0;let r=e.length-1;let u=e[0];let a=e[r];let d=s.length-1;let v=s[0];let p=s[d];let y;let h;while(l<=r&&c<=d){if(u==null){u=e[++l]}else if(a==null){a=e[--r]}else if(v==null){v=s[++c]}else if(p==null){p=s[--d]}else if(I(u,v,o)){V(u,v,o);u=e[++l];v=s[++c]}else if(I(a,p,o)){V(a,p,o);a=e[--r];p=s[--d]}else if(I(u,p,o)){V(u,p,o);t.insertBefore(u.p,a.p.nextSibling);u=e[++l];p=s[--d]}else if(I(a,v,o)){V(a,v,o);t.insertBefore(a.p,u.p);a=e[--r];v=s[++c]}else{i=-1;{for(f=l;f<=r;++f){if(e[f]&&e[f].i!==null&&e[f].i===v.i){i=f;break}}}if(i>=0){h=e[i];if(h.v!==v.v){y=W(e&&e[c],n,i)}else{V(h,v,o);e[i]=undefined;y=h.p}v=s[++c]}else{y=W(e&&e[c],n,c);v=s[++c]}if(y){{u.p.parentNode.insertBefore(y,u.p)}}}}if(l>r){F(t,s[d+1]==null?null:s[d+1].p,n,s,c,d)}else if(c>d){H(e,l,r)}};const I=(t,e,n=false)=>{if(t.v===e.v){if(!n){return t.i===e.i}return true}return false};const V=(t,e,n=false)=>{const l=e.p=t.p;const c=t.l;const i=e.l;const f=e.v;const r=e.t;if(r===null){{o=f==="svg"?true:f==="foreignObject"?false:o}{if(f==="slot"&&!s);else{T(t,e,o)}}if(c!==null&&i!==null){q(l,c,e,i,n)}else if(i!==null){if(t.t!==null){l.textContent=""}F(l,null,e,i,0,i.length-1)}else if(c!==null){H(c,0,c.length-1)}if(o&&f==="svg"){o=false}}else if(t.t!==r){l.data=r}};const _=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(_)}};const z=(t,o,l=false)=>{const c=t.$hostElement$;const i=t.$;const f=t.j||b(null,null);const r=w(o)?o:h(null,null,o);n=c.tagName;if(i.O){r.o=r.o||{};i.O.map((([t,e])=>r.o[e]=c[t]))}if(l&&r.o){for(const t of Object.keys(r.o)){if(c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){r.o[t]=c[t]}}}r.v=null;r.u|=4;t.j=r;r.p=f.p=c.shadowRoot||c;{e=c["s-sc"]}s=(i.u&1)!==0;V(f,r,l)};const B=(t,e)=>{if(e&&!t.k&&e["s-p"]){e["s-p"].push(new Promise((e=>t.k=e)))}};const G=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}B(t,t.C);const n=()=>J(t,e);return Wt(n)};const J=(t,e)=>{const n=c("scheduleUpdate",t.$.S);const s=t.M;let o;if(e){{t.u|=256;if(t.P){t.P.map((([t,e])=>et(s,t,e)));t.P=undefined}}{o=et(s,"componentWillLoad")}}n();return K(o,(()=>X(t,s,e)))};const K=(t,e)=>Q(t)?t.then(e):e();const Q=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const X=async(t,e,n)=>{var s;const o=t.$hostElement$;const l=c("update",t.$.S);const i=o["s-rc"];if(n){E(t)}const f=c("render",t.$.S);{Y(t,e,o,n)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();l();{const e=(s=o["s-p"])!==null&&s!==void 0?s:[];const n=()=>Z(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const Y=(t,e,n,s)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{z(t,e,s)}}}}catch(e){St(e,t.$hostElement$)}return null};const Z=t=>{const e=t.$.S;const n=t.$hostElement$;const s=c("postUpdate",e);const o=t.M;const l=t.C;{et(o,"componentDidRender")}if(!(t.u&64)){t.u|=64;{nt(n)}{et(o,"componentDidLoad")}s();{t.U(n);if(!l){tt()}}}else{{et(o,"componentDidUpdate")}s()}{t.L(n)}{if(t.k){t.k();t.k=undefined}if(t.u&512){Tt((()=>G(t,false)))}t.u&=~(4|512)}};const tt=e=>{{nt(Mt.documentElement)}Tt((()=>C(Ct,"appload",{detail:{namespace:t}})))};const et=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){St(t)}}return undefined};const nt=t=>t.classList.add("hydrated");const st=(t,e)=>mt(t).R.get(e);const ot=(t,e,n,s)=>{const o=mt(t);const l=o.$hostElement$;const c=o.R.get(e);const i=o.u;const f=o.M;n=j(n,s.A[e][0]);const r=Number.isNaN(c)&&Number.isNaN(n);const u=n!==c&&!r;if((!(i&8)||c===undefined)&&u){o.R.set(e,n);if(f){if(s.D&&i&128){const t=s.D[e];if(t){t.map((t=>{try{f[t](n,c,e)}catch(t){St(t,l)}}))}}if((i&(2|16))===2){G(o,false)}}}};const lt=(t,e,n)=>{var s;const o=t.prototype;if(e.A){if(t.watchers){e.D=t.watchers}const l=Object.entries(e.A);l.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(o,t,{get(){return st(this,t)},set(n){ot(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(o,t,{value(...e){var n;const s=mt(this);return(n=s===null||s===void 0?void 0:s.N)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.M)===null||n===void 0?void 0:n[t](...e)}))}})}}));if(n&1){const n=new Map;o.attributeChangedCallback=function(t,s,l){xt.jmp((()=>{var c;const i=n.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const n=mt(this);const o=n===null||n===void 0?void 0:n.u;if(o&&!(o&8)&&o&128&&l!==s){const o=n.M;const i=(c=e.D)===null||c===void 0?void 0:c[t];i===null||i===void 0?void 0:i.forEach((e=>{if(o[e]!=null){o[e].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.D)!==null&&s!==void 0?s:{}),...l.filter((([t,e])=>e[0]&15)).map((([t,s])=>{var o;const l=s[1]||t;n.set(l,t);if(s[0]&512){(o=e.O)===null||o===void 0?void 0:o.push([t,l])}return l}))]))}}return t};const ct=async(t,e,n,s)=>{let o;if((e.u&32)===0){e.u|=32;{o=Ot(n);if(o.then){const t=i();o=await o;t()}if(!o.isProxied){{n.D=o.watchers}lt(o,n,2);o.isProxied=true}const t=c("createInstance",n.S);{e.u|=8}try{new o(e)}catch(t){St(t)}{e.u&=~8}{e.u|=128}t();it(e.M)}if(o.style){let t=o.style;const e=U(n);if(!kt.has(e)){const s=c("registerStyles",n.S);x(e,t,!!(n.u&1));s()}}}const l=e.C;const f=()=>G(e,true);if(l&&l["s-rc"]){l["s-rc"].push(f)}else{f()}};const it=t=>{{et(t,"connectedCallback")}};const ft=t=>{if((xt.u&1)===0){const e=mt(t);const n=e.$;const s=c("connectedCallback",n.S);if(!(e.u&1)){e.u|=1;{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){B(e,e.C=n);break}}}if(n.A){Object.entries(n.A).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{ct(t,e,n)}}else{dt(t,e,n.T);if(e===null||e===void 0?void 0:e.M){it(e.M)}else if(e===null||e===void 0?void 0:e.W){e.W.then((()=>it(e.M)))}}s()}};const rt=t=>{{et(t,"disconnectedCallback")}};const ut=async t=>{if((xt.u&1)===0){const e=mt(t);{if(e.F){e.F.map((t=>t()));e.F=undefined}}if(e===null||e===void 0?void 0:e.M){rt(e.M)}else if(e===null||e===void 0?void 0:e.W){e.W.then((()=>rt(e.M)))}}};const at=(t,e={})=>{var n;const s=c();const o=[];const l=e.exclude||[];const i=Ct.customElements;const u=Mt.head;const a=u.querySelector("meta[charset]");const d=Mt.createElement("style");const v=[];let p;let h=true;Object.assign(xt,e);xt.H=new URL(e.resourcesUrl||"./",Mt.baseURI).href;let b=false;t.map((t=>{t[1].map((e=>{var n;const s={u:e[0],S:e[1],A:e[2],T:e[3]};if(s.u&4){b=true}{s.A=e[2]}{s.T=e[3]}{s.O=[]}{s.D=(n=e[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(t){super(t);t=this;$t(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){v.push(this)}else{xt.jmp((()=>ft(this)))}}disconnectedCallback(){xt.jmp((()=>ut(this)))}componentOnReady(){return mt(this).W}};s.q=t[0];if(!l.includes(c)&&!i.get(c)){o.push(c);i.define(c,lt(f,s,1))}}))}));if(o.length>0){if(b){d.textContent+=r}{d.textContent+=o+f}if(d.innerHTML.length){d.setAttribute("data-styles","");const t=(n=xt.m)!==null&&n!==void 0?n:y(Mt);if(t!=null){d.setAttribute("nonce",t)}u.insertBefore(d,a?a.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((t=>t.connectedCallback()))}else{{xt.jmp((()=>p=setTimeout(tt,30)))}}s()};const dt=(t,e,n,s)=>{if(n){n.map((([n,s,o])=>{const l=pt(t,n);const c=vt(e,o);const i=yt(n);xt.ael(l,s,c,i);(e.F=e.F||[]).push((()=>xt.rel(l,s,c,i)))}))}};const vt=(t,e)=>n=>{try{{if(t.u&256){t.M[e](n)}else{(t.P=t.P||[]).push([e,n])}}}catch(t){St(t)}};const pt=(t,e)=>{if(e&8)return Ct;return t};const yt=t=>Pt?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0;const ht=t=>xt.m=t;const bt=new WeakMap;const mt=t=>bt.get(t);const wt=(t,e)=>bt.set(e.M=t,e);const $t=(t,e)=>{const n={u:0,$hostElement$:t,$:e,R:new Map};{n.N=new Promise((t=>n.L=t))}{n.W=new Promise((t=>n.U=t));t["s-p"]=[];t["s-rc"]=[]}dt(t,n,e.T);return bt.set(t,n)};const gt=(t,e)=>e in t;const St=(t,e)=>(0,console.error)(t,e);const jt=new Map;const Ot=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const o=t.q;const l=jt.get(o);if(l){return l[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{jt.set(o,t)}return t[s]}),St)};const kt=new Map;const Ct=typeof window!=="undefined"?window:{};const Mt=Ct.document||{head:{}};const xt={u:0,
|
|
3
|
-
//# sourceMappingURL=p-
|
|
1
|
+
const t="ui-library";let e;let n;let s=false;let o=false;let l=false;const c=(t,e="")=>{{return()=>{}}};const i=(t,e)=>{{return()=>{}}};const f="{visibility:hidden}.hydrated{visibility:inherit}";const r="slot-fb{display:contents}slot-fb[hidden]{display:none}";const u={};const a="http://www.w3.org/2000/svg";const d="http://www.w3.org/1999/xhtml";const v=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function y(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const h=(t,e,...n)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof t!=="function"&&!p(s)){s=String(s)}if(l&&c){i[i.length-1].t+=s}else{i.push(l?m(null,s):s)}c=l}}};f(n);if(e){if(e.key){o=e.key}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,i,$)}const r=m(t,null);r.o=e;if(i.length>0){r.l=i}{r.i=o}return r};const m=(t,e)=>{const n={u:0,v:t,t:e,p:null,l:null};{n.o=null}{n.i=null}return n};const b={};const w=t=>t&&t.v===b;const $={forEach:(t,e)=>t.map(g).forEach(e),map:(t,e)=>t.map(g).map(e).map(S)};const g=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.h,vtag:t.v,vtext:t.t});const S=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return h(t.vtag,e,...t.vchildren||[])}const e=m(t.vtag,t.vtext);e.o=t.vattrs;e.l=t.vchildren;e.i=t.vkey;e.h=t.vname;return e};const j=(t,e)=>{if(t!=null&&!p(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const O=t=>bt(t).$hostElement$;const k=(t,e,n)=>{const s=O(t);return{emit:t=>C(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const C=(t,e,n)=>{const s=xt.ce(e,n);t.dispatchEvent(s);return s};const M=new WeakMap;const x=(t,e,n)=>{let s=kt.get(t);if(Ut&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}kt.set(t,s)};const E=(t,e,n)=>{var s;const o=U(e);const l=kt.get(o);t=t.nodeType===11?t:Mt;if(l){if(typeof l==="string"){t=t.head||t;let n=M.get(t);let c;if(!n){M.set(t,n=new Set)}if(!n.has(o)){{c=Mt.createElement("style");c.innerHTML=l;const e=(s=xt.m)!==null&&s!==void 0?s:y(Mt);if(e!=null){c.setAttribute("nonce",e)}t.insertBefore(c,t.querySelector("link"))}if(e.u&4){c.innerHTML+=r}if(n){n.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const P=t=>{const e=t.$;const n=t.$hostElement$;const s=e.u;const o=c("attachStyles",e.S);const l=E(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=l;n.classList.add(l+"-h");if(s&2){n.classList.add(l+"-s")}}o()};const U=(t,e)=>"sc-"+t.S;const L=(t,e,n,s,o,l)=>{if(n!==s){let c=gt(t,e);let i=e.toLowerCase();if(e==="class"){const e=t.classList;const o=A(n);const l=A(s);e.remove(...o.filter((t=>t&&!l.includes(t))));e.add(...l.filter((t=>t&&!o.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!c&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(gt(Ct,i)){e=i.slice(2)}else{e=i[2]+e.slice(3)}if(n||s){const o=e.endsWith(D);e=e.replace(N,"");if(n){xt.rel(t,e,n,o)}if(s){xt.ael(t,e,s,o)}}}else{const i=p(s);if((c||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(e==="list"){c=false}else if(n==null||t[e]!=o){t[e]=o}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!c||l&4||o)&&!i){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const R=/\s/;const A=t=>!t?[]:t.split(R);const D="Capture";const N=new RegExp(D+"$");const T=(t,e,n,s)=>{const o=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const l=t&&t.o||u;const c=e.o||u;{for(s in l){if(!(s in c)){L(o,s,l[s],undefined,n,e.u)}}}for(s in c){L(o,s,l[s],c[s],n,e.u)}};const W=(t,s,l,c)=>{const i=s.l[l];let f=0;let r;let u;if(i.t!==null){r=i.p=Mt.createTextNode(i.t)}else{if(!o){o=i.v==="svg"}r=i.p=Mt.createElementNS(o?a:d,i.v);if(o&&i.v==="foreignObject"){o=false}{T(null,i,o)}if(v(e)&&r["s-si"]!==e){r.classList.add(r["s-si"]=e)}if(i.l){for(f=0;f<i.l.length;++f){u=W(t,i,f);if(u){r.appendChild(u)}}}{if(i.v==="svg"){o=false}else if(r.tagName==="foreignObject"){o=true}}}r["s-hn"]=n;return r};const F=(t,e,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===n){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=W(null,s,l);if(f){o[l].p=f;i.insertBefore(f,e)}}}};const H=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;_(e);if(t){t.remove()}}}};const q=(t,e,n,s,o=false)=>{let l=0;let c=0;let i=0;let f=0;let r=e.length-1;let u=e[0];let a=e[r];let d=s.length-1;let v=s[0];let p=s[d];let y;let h;while(l<=r&&c<=d){if(u==null){u=e[++l]}else if(a==null){a=e[--r]}else if(v==null){v=s[++c]}else if(p==null){p=s[--d]}else if(I(u,v,o)){V(u,v,o);u=e[++l];v=s[++c]}else if(I(a,p,o)){V(a,p,o);a=e[--r];p=s[--d]}else if(I(u,p,o)){V(u,p,o);t.insertBefore(u.p,a.p.nextSibling);u=e[++l];p=s[--d]}else if(I(a,v,o)){V(a,v,o);t.insertBefore(a.p,u.p);a=e[--r];v=s[++c]}else{i=-1;{for(f=l;f<=r;++f){if(e[f]&&e[f].i!==null&&e[f].i===v.i){i=f;break}}}if(i>=0){h=e[i];if(h.v!==v.v){y=W(e&&e[c],n,i)}else{V(h,v,o);e[i]=undefined;y=h.p}v=s[++c]}else{y=W(e&&e[c],n,c);v=s[++c]}if(y){{u.p.parentNode.insertBefore(y,u.p)}}}}if(l>r){F(t,s[d+1]==null?null:s[d+1].p,n,s,c,d)}else if(c>d){H(e,l,r)}};const I=(t,e,n=false)=>{if(t.v===e.v){if(!n){return t.i===e.i}return true}return false};const V=(t,e,n=false)=>{const l=e.p=t.p;const c=t.l;const i=e.l;const f=e.v;const r=e.t;if(r===null){{o=f==="svg"?true:f==="foreignObject"?false:o}{if(f==="slot"&&!s);else{T(t,e,o)}}if(c!==null&&i!==null){q(l,c,e,i,n)}else if(i!==null){if(t.t!==null){l.textContent=""}F(l,null,e,i,0,i.length-1)}else if(c!==null){H(c,0,c.length-1)}if(o&&f==="svg"){o=false}}else if(t.t!==r){l.data=r}};const _=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(_)}};const z=(t,o,l=false)=>{const c=t.$hostElement$;const i=t.$;const f=t.j||m(null,null);const r=w(o)?o:h(null,null,o);n=c.tagName;if(i.O){r.o=r.o||{};i.O.map((([t,e])=>r.o[e]=c[t]))}if(l&&r.o){for(const t of Object.keys(r.o)){if(c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){r.o[t]=c[t]}}}r.v=null;r.u|=4;t.j=r;r.p=f.p=c.shadowRoot||c;{e=c["s-sc"]}s=(i.u&1)!==0;V(f,r,l)};const B=(t,e)=>{if(e&&!t.k&&e["s-p"]){e["s-p"].push(new Promise((e=>t.k=e)))}};const G=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}B(t,t.C);const n=()=>J(t,e);return Wt(n)};const J=(t,e)=>{const n=c("scheduleUpdate",t.$.S);const s=t.M;let o;if(e){{t.u|=256;if(t.P){t.P.map((([t,e])=>et(s,t,e)));t.P=undefined}}{o=et(s,"componentWillLoad")}}n();return K(o,(()=>X(t,s,e)))};const K=(t,e)=>Q(t)?t.then(e):e();const Q=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const X=async(t,e,n)=>{var s;const o=t.$hostElement$;const l=c("update",t.$.S);const i=o["s-rc"];if(n){P(t)}const f=c("render",t.$.S);{Y(t,e,o,n)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();l();{const e=(s=o["s-p"])!==null&&s!==void 0?s:[];const n=()=>Z(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const Y=(t,e,n,s)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{z(t,e,s)}}}}catch(e){St(e,t.$hostElement$)}return null};const Z=t=>{const e=t.$.S;const n=t.$hostElement$;const s=c("postUpdate",e);const o=t.M;const l=t.C;{et(o,"componentDidRender")}if(!(t.u&64)){t.u|=64;{nt(n)}{et(o,"componentDidLoad")}s();{t.U(n);if(!l){tt()}}}else{{et(o,"componentDidUpdate")}s()}{t.L(n)}{if(t.k){t.k();t.k=undefined}if(t.u&512){Tt((()=>G(t,false)))}t.u&=~(4|512)}};const tt=e=>{{nt(Mt.documentElement)}Tt((()=>C(Ct,"appload",{detail:{namespace:t}})))};const et=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){St(t)}}return undefined};const nt=t=>t.classList.add("hydrated");const st=(t,e)=>bt(t).R.get(e);const ot=(t,e,n,s)=>{const o=bt(t);const l=o.$hostElement$;const c=o.R.get(e);const i=o.u;const f=o.M;n=j(n,s.A[e][0]);const r=Number.isNaN(c)&&Number.isNaN(n);const u=n!==c&&!r;if((!(i&8)||c===undefined)&&u){o.R.set(e,n);if(f){if(s.D&&i&128){const t=s.D[e];if(t){t.map((t=>{try{f[t](n,c,e)}catch(t){St(t,l)}}))}}if((i&(2|16))===2){G(o,false)}}}};const lt=(t,e,n)=>{var s;const o=t.prototype;if(e.A){if(t.watchers){e.D=t.watchers}const l=Object.entries(e.A);l.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(o,t,{get(){return st(this,t)},set(n){ot(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(o,t,{value(...e){var n;const s=bt(this);return(n=s===null||s===void 0?void 0:s.N)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.M)===null||n===void 0?void 0:n[t](...e)}))}})}}));if(n&1){const n=new Map;o.attributeChangedCallback=function(t,s,l){xt.jmp((()=>{var c;const i=n.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const n=bt(this);const o=n===null||n===void 0?void 0:n.u;if(o&&!(o&8)&&o&128&&l!==s){const o=n.M;const i=(c=e.D)===null||c===void 0?void 0:c[t];i===null||i===void 0?void 0:i.forEach((e=>{if(o[e]!=null){o[e].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.D)!==null&&s!==void 0?s:{}),...l.filter((([t,e])=>e[0]&15)).map((([t,s])=>{var o;const l=s[1]||t;n.set(l,t);if(s[0]&512){(o=e.O)===null||o===void 0?void 0:o.push([t,l])}return l}))]))}}return t};const ct=async(t,e,n,s)=>{let o;if((e.u&32)===0){e.u|=32;const s=n.T;if(s){o=Ot(n);if(o.then){const t=i();o=await o;t()}if(!o.isProxied){{n.D=o.watchers}lt(o,n,2);o.isProxied=true}const t=c("createInstance",n.S);{e.u|=8}try{new o(e)}catch(t){St(t)}{e.u&=~8}{e.u|=128}t();it(e.M)}else{o=t.constructor;customElements.whenDefined(n.S).then((()=>e.u|=128))}if(o.style){let t=o.style;const e=U(n);if(!kt.has(e)){const s=c("registerStyles",n.S);x(e,t,!!(n.u&1));s()}}}const l=e.C;const f=()=>G(e,true);if(l&&l["s-rc"]){l["s-rc"].push(f)}else{f()}};const it=t=>{{et(t,"connectedCallback")}};const ft=t=>{if((xt.u&1)===0){const e=bt(t);const n=e.$;const s=c("connectedCallback",n.S);if(!(e.u&1)){e.u|=1;{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){B(e,e.C=n);break}}}if(n.A){Object.entries(n.A).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{ct(t,e,n)}}else{dt(t,e,n.W);if(e===null||e===void 0?void 0:e.M){it(e.M)}else if(e===null||e===void 0?void 0:e.F){e.F.then((()=>it(e.M)))}}s()}};const rt=t=>{{et(t,"disconnectedCallback")}};const ut=async t=>{if((xt.u&1)===0){const e=bt(t);{if(e.H){e.H.map((t=>t()));e.H=undefined}}if(e===null||e===void 0?void 0:e.M){rt(e.M)}else if(e===null||e===void 0?void 0:e.F){e.F.then((()=>rt(e.M)))}}};const at=(t,e={})=>{var n;const s=c();const o=[];const l=e.exclude||[];const i=Ct.customElements;const u=Mt.head;const a=u.querySelector("meta[charset]");const d=Mt.createElement("style");const v=[];let p;let h=true;Object.assign(xt,e);xt.q=new URL(e.resourcesUrl||"./",Mt.baseURI).href;let m=false;t.map((t=>{t[1].map((e=>{var n;const s={u:e[0],S:e[1],A:e[2],W:e[3]};if(s.u&4){m=true}{s.A=e[2]}{s.W=e[3]}{s.O=[]}{s.D=(n=e[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(t){super(t);t=this;$t(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){v.push(this)}else{xt.jmp((()=>ft(this)))}}disconnectedCallback(){xt.jmp((()=>ut(this)))}componentOnReady(){return bt(this).F}};s.T=t[0];if(!l.includes(c)&&!i.get(c)){o.push(c);i.define(c,lt(f,s,1))}}))}));if(o.length>0){if(m){d.textContent+=r}{d.textContent+=o+f}if(d.innerHTML.length){d.setAttribute("data-styles","");const t=(n=xt.m)!==null&&n!==void 0?n:y(Mt);if(t!=null){d.setAttribute("nonce",t)}u.insertBefore(d,a?a.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((t=>t.connectedCallback()))}else{{xt.jmp((()=>p=setTimeout(tt,30)))}}s()};const dt=(t,e,n,s)=>{if(n){n.map((([n,s,o])=>{const l=pt(t,n);const c=vt(e,o);const i=yt(n);xt.ael(l,s,c,i);(e.H=e.H||[]).push((()=>xt.rel(l,s,c,i)))}))}};const vt=(t,e)=>n=>{try{{if(t.u&256){t.M[e](n)}else{(t.P=t.P||[]).push([e,n])}}}catch(t){St(t)}};const pt=(t,e)=>{if(e&8)return Ct;return t};const yt=t=>Et?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0;const ht=t=>xt.m=t;const mt=new WeakMap;const bt=t=>mt.get(t);const wt=(t,e)=>mt.set(e.M=t,e);const $t=(t,e)=>{const n={u:0,$hostElement$:t,$:e,R:new Map};{n.N=new Promise((t=>n.L=t))}{n.F=new Promise((t=>n.U=t));t["s-p"]=[];t["s-rc"]=[]}dt(t,n,e.W);return mt.set(t,n)};const gt=(t,e)=>e in t;const St=(t,e)=>(0,console.error)(t,e);const jt=new Map;const Ot=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const o=t.T;const l=jt.get(o);if(l){return l[s]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{jt.set(o,t)}return t[s]}),St)};const kt=new Map;const Ct=typeof window!=="undefined"?window:{};const Mt=Ct.document||{head:{}};const xt={u:0,q:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Et=(()=>{let t=false;try{Mt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(t){}return t})();const Pt=t=>Promise.resolve(t);const Ut=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Lt=[];const Rt=[];const At=(t,e)=>n=>{t.push(n);if(!l){l=true;if(e&&xt.u&4){Tt(Nt)}else{xt.raf(Nt)}}};const Dt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){St(t)}}t.length=0};const Nt=()=>{Dt(Lt);{Dt(Rt);if(l=Lt.length>0){xt.raf(Nt)}}};const Tt=t=>Pt().then(t);const Wt=At(Rt,true);export{b as H,at as b,k as c,O as g,h,Pt as p,wt as r,ht as s};
|
|
3
|
+
//# sourceMappingURL=p-f93d8a4e.js.map
|