@carbon/ibmdotcom-web-components 1.32.0-rc.0 → 1.32.0-rc.2
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/custom-elements.json +18 -18
- package/dist/{20-2c34f739.js → 20-4d0d088b.js} +1 -1
- package/dist/{20-002a62f9.js → 20-c7872d45.js} +1 -1
- package/dist/{20-e53335d3.js → 20-d0071628.js} +1 -1
- package/dist/{20-4f726b86.js → 20-f07ed7a1.js} +1 -1
- package/dist/cloud-masthead.js +2 -2
- package/dist/cloud-masthead.min.js +1 -1
- package/dist/cloud-masthead.rtl.js +2 -2
- package/dist/cloud-masthead.rtl.min.js +1 -1
- package/dist/dotcom-shell.js +2 -2
- package/dist/dotcom-shell.min.js +1 -1
- package/dist/dotcom-shell.rtl.js +2 -2
- package/dist/dotcom-shell.rtl.min.js +1 -1
- package/dist/ibmdotcom-web-components-dotcom-shell.js +9 -7
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +9 -7
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +2 -2
- package/dist/{left-nav-menu-72142ae5.js → left-nav-menu-0454e7fe.js} +1 -1
- package/dist/{left-nav-menu-136466dc.js → left-nav-menu-4bb5d738.js} +1 -1
- package/dist/{left-nav-menu-d0e0c8a1.js → left-nav-menu-a9193172.js} +1 -1
- package/dist/{left-nav-menu-3436909a.js → left-nav-menu-aa14d1fd.js} +1 -1
- package/dist/{left-nav-menu-category-heading-71bd687e.js → left-nav-menu-category-heading-308b7583.js} +1 -1
- package/dist/{left-nav-menu-category-heading-b2b5a65f.js → left-nav-menu-category-heading-c9962ac5.js} +1 -1
- package/dist/{left-nav-menu-category-heading-2a3e1e8f.js → left-nav-menu-category-heading-daf5ebfa.js} +1 -1
- package/dist/{left-nav-menu-category-heading-17849a08.js → left-nav-menu-category-heading-fc02a361.js} +1 -1
- package/dist/{left-nav-menu-item-19e02851.js → left-nav-menu-item-0275a3b9.js} +1 -1
- package/dist/{left-nav-menu-item-8caa4256.js → left-nav-menu-item-354f4261.js} +1 -1
- package/dist/{left-nav-menu-item-ee78e342.js → left-nav-menu-item-7814505a.js} +1 -1
- package/dist/{left-nav-menu-item-327fee2b.js → left-nav-menu-item-fa33cbd9.js} +1 -1
- package/dist/{left-nav-menu-section-5f999435.js → left-nav-menu-section-5c2e24f8.js} +2 -2
- package/dist/{left-nav-menu-section-518e5d37.js → left-nav-menu-section-94e4e49c.js} +1 -1
- package/dist/{left-nav-menu-section-e0a8964a.js → left-nav-menu-section-b5303d97.js} +2 -2
- package/dist/{left-nav-menu-section-6150369f.js → left-nav-menu-section-fcd88473.js} +1 -1
- package/dist/{left-nav-overlay-5731f7e5.js → left-nav-overlay-1e1910e9.js} +1 -1
- package/dist/{left-nav-overlay-6882d48d.js → left-nav-overlay-320c1270.js} +1 -1
- package/dist/{left-nav-overlay-a4cc3b3e.js → left-nav-overlay-81eb5e93.js} +1 -1
- package/dist/{left-nav-overlay-de7eb950.js → left-nav-overlay-ce49183f.js} +1 -1
- package/dist/{masthead-composite-c8dbcd61.js → masthead-composite-10b5102f.js} +3 -3
- package/dist/{masthead-composite-306adeb9.js → masthead-composite-1ed7f190.js} +3 -3
- package/dist/{masthead-composite-fb2bb203.js → masthead-composite-4096f117.js} +18 -14
- package/dist/{masthead-composite-73d938e4.js → masthead-composite-e578b925.js} +18 -14
- package/dist/{megamenu-category-group-43899a46.js → megamenu-category-group-0042c754.js} +1 -1
- package/dist/{megamenu-category-group-3bf5d73c.js → megamenu-category-group-b777facf.js} +1 -1
- package/dist/{megamenu-category-group-copy-2b87813d.js → megamenu-category-group-copy-69e90843.js} +1 -1
- package/dist/{megamenu-category-group-copy-283a25a3.js → megamenu-category-group-copy-6cc797f8.js} +1 -1
- package/dist/{megamenu-category-group-copy-93aa0a96.js → megamenu-category-group-copy-83e643e1.js} +1 -1
- package/dist/{megamenu-category-group-copy-775aaa80.js → megamenu-category-group-copy-e60dfb61.js} +1 -1
- package/dist/{megamenu-category-group-79513624.js → megamenu-category-group-d474b15d.js} +1 -1
- package/dist/{megamenu-category-group-999cba46.js → megamenu-category-group-f7dba932.js} +1 -1
- package/dist/{megamenu-category-link-71bd2020.js → megamenu-category-link-0df4440e.js} +1 -1
- package/dist/{megamenu-category-link-dbc8b4a4.js → megamenu-category-link-54e1011f.js} +1 -1
- package/dist/{megamenu-category-link-fb99f944.js → megamenu-category-link-68b5ea65.js} +1 -1
- package/dist/{megamenu-category-link-e3280b1e.js → megamenu-category-link-84732d66.js} +1 -1
- package/dist/{megamenu-left-navigation-3b9086ee.js → megamenu-left-navigation-7c8616c7.js} +1 -1
- package/dist/{megamenu-left-navigation-1f60ff1b.js → megamenu-left-navigation-862becf2.js} +1 -1
- package/dist/{megamenu-left-navigation-dd0372b5.js → megamenu-left-navigation-98f428cf.js} +1 -1
- package/dist/{megamenu-left-navigation-35bcade1.js → megamenu-left-navigation-c5ed7f0e.js} +1 -1
- package/dist/{megamenu-overlay-50af9c22.js → megamenu-overlay-213de889.js} +1 -1
- package/dist/{megamenu-overlay-2b2fe43c.js → megamenu-overlay-3ad6b0b2.js} +1 -1
- package/dist/{megamenu-overlay-5ff8fbf2.js → megamenu-overlay-ab9a9cff.js} +1 -1
- package/dist/{megamenu-overlay-ddd5122f.js → megamenu-overlay-d948063a.js} +1 -1
- package/es/components/image/image.d.ts +0 -3
- package/es/components/image/image.d.ts.map +1 -1
- package/es/components/image/image.js +1 -1
- package/es/components/image/image.js.map +1 -1
- package/es/components/locale-modal/locale-modal.d.ts.map +1 -1
- package/es/components/locale-modal/locale-modal.js +7 -5
- package/es/components/locale-modal/locale-modal.js.map +1 -1
- package/es/components/masthead/masthead-composite.d.ts +1 -1
- package/es/components/masthead/masthead-composite.d.ts.map +1 -1
- package/es/components/masthead/masthead-composite.js +4 -3
- package/es/components/masthead/masthead-composite.js.map +1 -1
- package/es/components/notice-choice/notice-choice.d.ts.map +1 -1
- package/es/components/notice-choice/notice-choice.js +0 -1
- package/es/components/notice-choice/notice-choice.js.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead.d.ts.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead.js +4 -1
- package/es/components/search-with-typeahead/search-with-typeahead.js.map +1 -1
- package/es/components/table-of-contents/table-of-contents.d.ts +12 -7
- package/es/components/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/es/components/table-of-contents/table-of-contents.js +13 -2
- package/es/components/table-of-contents/table-of-contents.js.map +1 -1
- package/es/components/video-player/video-player.d.ts +1 -9
- package/es/components/video-player/video-player.d.ts.map +1 -1
- package/es/components/video-player/video-player.js +7 -2
- package/es/components/video-player/video-player.js.map +1 -1
- package/es/components-react/footer/dropdown.js +39 -0
- package/es/components-react/masthead/masthead-composite.d.ts +1 -1
- package/es/components-react/masthead/masthead-composite.js +241 -0
- package/es/components-react/masthead/masthead-container.js +25 -0
- package/es/components-react/masthead/masthead.js +23 -0
- package/es/components-react/quote/quote-link-with-icon.js +25 -0
- package/es/components-react/quote/quote-source-bottom-copy.js +30 -0
- package/es/components-react/quote/quote-source-copy.js +30 -0
- package/es/components-react/quote/quote-source-heading.js +30 -0
- package/es/components-react/search-with-typeahead/scoped-search-dropdown-mobile.js +32 -0
- package/es/components-react/search-with-typeahead/scoped-search-dropdown.js +39 -0
- package/es/components-react/search-with-typeahead/search-with-typeahead-item.js +47 -0
- package/es/components-react/search-with-typeahead/search-with-typeahead.js +175 -0
- package/es/components-react/structured-list/structured-list-body.js +23 -0
- package/es/components-react/structured-list/structured-list-cell.js +41 -0
- package/es/components-react/structured-list/structured-list-group.js +29 -0
- package/es/components-react/structured-list/structured-list-head.js +23 -0
- package/es/components-react/structured-list/structured-list-header-cell.js +23 -0
- package/es/components-react/structured-list/structured-list-header-row.js +23 -0
- package/es/components-react/structured-list/structured-list-row.js +23 -0
- package/es/components-react/structured-list/structured-list.js +23 -0
- package/es/components-react/table-of-contents/table-of-contents.js +49 -0
- package/es/components-react/tabs-extended/tab.js +53 -0
- package/es/components-react/tabs-extended/tabs-extended.js +36 -0
- package/es/components-react/tabs-extended-media/tabs-extended-media.js +34 -0
- package/es/components-react/tag-group/tag-group.js +23 -0
- package/es/components-react/tag-link/tag-link.js +57 -0
- package/es/components-react/universal-banner/universal-banner-copy.js +29 -0
- package/es/components-react/universal-banner/universal-banner-heading.js +30 -0
- package/es/components-react/universal-banner/universal-banner-image.js +25 -0
- package/es/components-react/universal-banner/universal-banner.js +57 -0
- package/es/components-react/video-player/video-player.js +134 -0
- package/lib/components-react-node/footer/dropdown.js +80 -0
- package/lib/components-react-node/masthead/masthead-composite.js +295 -0
- package/lib/components-react-node/masthead/masthead-container.js +41 -0
- package/lib/components-react-node/masthead/masthead.js +40 -0
- package/lib/components-react-node/quote/quote-link-with-icon.js +41 -0
- package/lib/components-react-node/quote/quote-source-bottom-copy.js +47 -0
- package/lib/components-react-node/quote/quote-source-copy.js +47 -0
- package/lib/components-react-node/quote/quote-source-heading.js +47 -0
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown-mobile.js +49 -0
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown.js +68 -0
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead-item.js +102 -0
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead.js +230 -0
- package/lib/components-react-node/structured-list/structured-list-body.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-cell.js +58 -0
- package/lib/components-react-node/structured-list/structured-list-group.js +46 -0
- package/lib/components-react-node/structured-list/structured-list-head.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-header-cell.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-header-row.js +40 -0
- package/lib/components-react-node/structured-list/structured-list-row.js +40 -0
- package/lib/components-react-node/structured-list/structured-list.js +40 -0
- package/lib/components-react-node/table-of-contents/table-of-contents.js +104 -0
- package/lib/components-react-node/tabs-extended/tab.js +108 -0
- package/lib/components-react-node/tabs-extended/tabs-extended.js +53 -0
- package/lib/components-react-node/tabs-extended-media/tabs-extended-media.js +50 -0
- package/lib/components-react-node/tag-group/tag-group.js +40 -0
- package/lib/components-react-node/tag-link/tag-link.js +74 -0
- package/lib/components-react-node/universal-banner/universal-banner-copy.js +45 -0
- package/lib/components-react-node/universal-banner/universal-banner-heading.js +47 -0
- package/lib/components-react-node/universal-banner/universal-banner-image.js +41 -0
- package/lib/components-react-node/universal-banner/universal-banner.js +112 -0
- package/lib/components-react-node/video-player/video-player.js +197 -0
- package/package.json +7 -7
- package/scss/components/image/image.scss +1 -1
- package/es/components-react/notice-choice/notice-choice.d.ts +0 -48
package/custom-elements.json
CHANGED
|
@@ -14197,8 +14197,8 @@
|
|
|
14197
14197
|
{
|
|
14198
14198
|
"name": "has-search",
|
|
14199
14199
|
"description": "`true` if there is a search.",
|
|
14200
|
-
"type": "
|
|
14201
|
-
"default": "true"
|
|
14200
|
+
"type": "string",
|
|
14201
|
+
"default": "\"true\""
|
|
14202
14202
|
},
|
|
14203
14203
|
{
|
|
14204
14204
|
"name": "activate-search",
|
|
@@ -14363,8 +14363,8 @@
|
|
|
14363
14363
|
"name": "hasSearch",
|
|
14364
14364
|
"attribute": "has-search",
|
|
14365
14365
|
"description": "`true` if there is a search.",
|
|
14366
|
-
"type": "
|
|
14367
|
-
"default": "true"
|
|
14366
|
+
"type": "string",
|
|
14367
|
+
"default": "\"true\""
|
|
14368
14368
|
},
|
|
14369
14369
|
{
|
|
14370
14370
|
"name": "activateSearch",
|
|
@@ -14574,8 +14574,8 @@
|
|
|
14574
14574
|
{
|
|
14575
14575
|
"name": "has-search",
|
|
14576
14576
|
"description": "`true` if there is a search.",
|
|
14577
|
-
"type": "
|
|
14578
|
-
"default": "true"
|
|
14577
|
+
"type": "string",
|
|
14578
|
+
"default": "\"true\""
|
|
14579
14579
|
},
|
|
14580
14580
|
{
|
|
14581
14581
|
"name": "activate-search",
|
|
@@ -14740,8 +14740,8 @@
|
|
|
14740
14740
|
"name": "hasSearch",
|
|
14741
14741
|
"attribute": "has-search",
|
|
14742
14742
|
"description": "`true` if there is a search.",
|
|
14743
|
-
"type": "
|
|
14744
|
-
"default": "true"
|
|
14743
|
+
"type": "string",
|
|
14744
|
+
"default": "\"true\""
|
|
14745
14745
|
},
|
|
14746
14746
|
{
|
|
14747
14747
|
"name": "activateSearch",
|
|
@@ -15730,8 +15730,8 @@
|
|
|
15730
15730
|
{
|
|
15731
15731
|
"name": "has-search",
|
|
15732
15732
|
"description": "`true` if there is a search.",
|
|
15733
|
-
"type": "
|
|
15734
|
-
"default": "true"
|
|
15733
|
+
"type": "string",
|
|
15734
|
+
"default": "\"true\""
|
|
15735
15735
|
},
|
|
15736
15736
|
{
|
|
15737
15737
|
"name": "activate-search",
|
|
@@ -15860,8 +15860,8 @@
|
|
|
15860
15860
|
"name": "hasSearch",
|
|
15861
15861
|
"attribute": "has-search",
|
|
15862
15862
|
"description": "`true` if there is a search.",
|
|
15863
|
-
"type": "
|
|
15864
|
-
"default": "true"
|
|
15863
|
+
"type": "string",
|
|
15864
|
+
"default": "\"true\""
|
|
15865
15865
|
},
|
|
15866
15866
|
{
|
|
15867
15867
|
"name": "activateSearch",
|
|
@@ -16053,8 +16053,8 @@
|
|
|
16053
16053
|
{
|
|
16054
16054
|
"name": "has-search",
|
|
16055
16055
|
"description": "`true` if there is a search.",
|
|
16056
|
-
"type": "
|
|
16057
|
-
"default": "true"
|
|
16056
|
+
"type": "string",
|
|
16057
|
+
"default": "\"true\""
|
|
16058
16058
|
},
|
|
16059
16059
|
{
|
|
16060
16060
|
"name": "activate-search",
|
|
@@ -16183,8 +16183,8 @@
|
|
|
16183
16183
|
"name": "hasSearch",
|
|
16184
16184
|
"attribute": "has-search",
|
|
16185
16185
|
"description": "`true` if there is a search.",
|
|
16186
|
-
"type": "
|
|
16187
|
-
"default": "true"
|
|
16186
|
+
"type": "string",
|
|
16187
|
+
"default": "\"true\""
|
|
16188
16188
|
},
|
|
16189
16189
|
{
|
|
16190
16190
|
"name": "activateSearch",
|
|
@@ -18366,7 +18366,7 @@
|
|
|
18366
18366
|
"default": "\"Search all of IBM\""
|
|
18367
18367
|
},
|
|
18368
18368
|
{
|
|
18369
|
-
"name": "
|
|
18369
|
+
"name": "placeholder",
|
|
18370
18370
|
"description": "Value to display when the input has an empty `value`.",
|
|
18371
18371
|
"type": "string",
|
|
18372
18372
|
"default": "\"Search all of IBM\""
|
|
@@ -18486,7 +18486,7 @@
|
|
|
18486
18486
|
},
|
|
18487
18487
|
{
|
|
18488
18488
|
"name": "searchPlaceholder",
|
|
18489
|
-
"attribute": "
|
|
18489
|
+
"attribute": "placeholder",
|
|
18490
18490
|
"description": "Value to display when the input has an empty `value`.",
|
|
18491
18491
|
"type": "string",
|
|
18492
18492
|
"default": "\"Search all of IBM\""
|
package/dist/cloud-masthead.js
CHANGED
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
71
|
let process = { env: {} };
|
|
72
|
-
import { a4 as _createClass, ac as Cookies, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, ad as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, g as state, a as classMap, h as html, p as property, m as ifNonNull, b as carbonElement, s as settings_1, d as settings, L as LitElement, _ as _decorate$g, q as query, N as _get, O as _getPrototypeOf, ae as styles$4, af as DDSMastheadGlobalBar, ag as DDSMastheadProfile, u as ifDefined, ah as svgResultCarbonIcon$1, ai as DDSTopNavName, aj as DDSMegaMenu, ak as indexOf, al as forEach, am as _objectSpread2, H as HostListenerMixin, i as HostListener, v as FORM_ELEMENT_COLOR_SCHEME, an as find, J as svgResultCarbonIcon$2, ao as DDSMegaMenuRightNavigation, e as svg, f as spread, B as BXLink, aa as DDSMastheadComposite, ap as UNAUTHENTICATED_STATUS, T as globalInit, aq as NAV_ITEMS_RENDER_TARGET, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a2 as loadTranslation } from './masthead-composite-
|
|
73
|
-
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-
|
|
72
|
+
import { a4 as _createClass, ac as Cookies, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, ad as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, g as state, a as classMap, h as html, p as property, m as ifNonNull, b as carbonElement, s as settings_1, d as settings, L as LitElement, _ as _decorate$g, q as query, N as _get, O as _getPrototypeOf, ae as styles$4, af as DDSMastheadGlobalBar, ag as DDSMastheadProfile, u as ifDefined, ah as svgResultCarbonIcon$1, ai as DDSTopNavName, aj as DDSMegaMenu, ak as indexOf, al as forEach, am as _objectSpread2, H as HostListenerMixin, i as HostListener, v as FORM_ELEMENT_COLOR_SCHEME, an as find, J as svgResultCarbonIcon$2, ao as DDSMegaMenuRightNavigation, e as svg, f as spread, B as BXLink, aa as DDSMastheadComposite, ap as UNAUTHENTICATED_STATUS, T as globalInit, aq as NAV_ITEMS_RENDER_TARGET, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a2 as loadTranslation } from './masthead-composite-e578b925.js';
|
|
73
|
+
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-98f428cf.js';
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* The cookie name for determining user login status for cloud.ibm.com.
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* https://www.npmjs.com/package/axios
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
|
-
import{a4 as t,ac as e,a5 as o,a6 as i,a7 as r,a8 as n,ad as s,c as a,F as d,S as l,g as b,a as c,h as x,p,m as h,b as g,s as m,d as f,L as _,_ as v,q as u,N as y,O as w,ae as k,af as z,ag as E,u as T,ah as P,ai as A,aj as C,ak as S,al as D,am as I,H as j,i as $,v as q,an as O,J as M,ao as F,e as B,f as R,B as N,aa as U,ap as G,T as X,aq as L,U as Y,W as V,X as H,Y as K,Z,$ as W,a2 as J}from"./masthead-composite-
|
|
71
|
+
import{a4 as t,ac as e,a5 as o,a6 as i,a7 as r,a8 as n,ad as s,c as a,F as d,S as l,g as b,a as c,h as x,p,m as h,b as g,s as m,d as f,L as _,_ as v,q as u,N as y,O as w,ae as k,af as z,ag as E,u as T,ah as P,ai as A,aj as C,ak as S,al as D,am as I,H as j,i as $,v as q,an as O,J as M,ao as F,e as B,f as R,B as N,aa as U,ap as G,T as X,aq as L,U as Y,W as V,X as H,Y as K,Z,$ as W,a2 as J}from"./masthead-composite-10b5102f.js";import Q from"./megamenu-left-navigation-862becf2.js";var tt=function(){function s(){n(this,s)}var a;return t(s,null,[{key:"checkCookie",value:function(){return{user:"1"===e.get("com.ibm.cloud.iam.LoggedIn.prod")?"authenticated":"anonymous"}}},{key:"checkAPI",value:(a=o(i.mark((function t(){var e;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.get("/api/v6/selected-account?profile=true",{headers:{Accept:"application/json"}}).then((function(t){return 200===t.status?"authenticated":"anonymous"})).catch((function(t){return console.error(t),"anonymous"}));case 2:return e=t.sent,t.abrupt("return",{user:e});case 4:case"end":return t.stop()}}),t)}))),function(){return a.apply(this,arguments)})}]),s}();function et(t){return async e=>{const o="cookie"===t?tt.checkCookie():tt.checkAPI();var i;e((i=o,{type:s.SET_REQUEST_USER_STATUS_IN_PROGRESS,request:i}));try{e(function(t){return{type:s.SET_USER_STATUS,request:t}}(await o))}catch(t){throw e(
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
74
74
|
*
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
71
|
let process = { env: {} };
|
|
72
|
-
import { a4 as _createClass, ac as Cookies, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, ad as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, g as state, a as classMap, h as html, p as property, m as ifNonNull, b as carbonElement, s as settings_1, d as settings, L as LitElement, _ as _decorate$g, q as query, N as _get, O as _getPrototypeOf, ae as styles$4, af as DDSMastheadGlobalBar, ag as DDSMastheadProfile, u as ifDefined, ah as svgResultCarbonIcon$1, ai as DDSTopNavName, aj as DDSMegaMenu, ak as indexOf, al as forEach, am as _objectSpread2, H as HostListenerMixin, i as HostListener, v as FORM_ELEMENT_COLOR_SCHEME, an as find, J as svgResultCarbonIcon$2, ao as DDSMegaMenuRightNavigation, e as svg, f as spread, B as BXLink, aa as DDSMastheadComposite, ap as UNAUTHENTICATED_STATUS, T as globalInit, aq as NAV_ITEMS_RENDER_TARGET, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a2 as loadTranslation } from './masthead-composite-
|
|
73
|
-
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-
|
|
72
|
+
import { a4 as _createClass, ac as Cookies, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, ad as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, g as state, a as classMap, h as html, p as property, m as ifNonNull, b as carbonElement, s as settings_1, d as settings, L as LitElement, _ as _decorate$g, q as query, N as _get, O as _getPrototypeOf, ae as styles$4, af as DDSMastheadGlobalBar, ag as DDSMastheadProfile, u as ifDefined, ah as svgResultCarbonIcon$1, ai as DDSTopNavName, aj as DDSMegaMenu, ak as indexOf, al as forEach, am as _objectSpread2, H as HostListenerMixin, i as HostListener, v as FORM_ELEMENT_COLOR_SCHEME, an as find, J as svgResultCarbonIcon$2, ao as DDSMegaMenuRightNavigation, e as svg, f as spread, B as BXLink, aa as DDSMastheadComposite, ap as UNAUTHENTICATED_STATUS, T as globalInit, aq as NAV_ITEMS_RENDER_TARGET, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a2 as loadTranslation } from './masthead-composite-4096f117.js';
|
|
73
|
+
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-7c8616c7.js';
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* The cookie name for determining user login status for cloud.ibm.com.
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* https://www.npmjs.com/package/axios
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
|
-
import{a4 as t,ac as e,a5 as o,a6 as i,a7 as r,a8 as n,ad as s,c as a,F as d,S as l,g as b,a as c,h as x,p as h,m as p,b as g,s as m,d as f,L as _,_ as v,q as u,N as y,O as w,ae as k,af as z,ag as E,u as T,ah as P,ai as A,aj as C,ak as S,al as D,am as I,H as j,i as $,v as q,an as O,J as M,ao as F,e as B,f as R,B as N,aa as U,ap as G,T as X,aq as L,U as Y,W as V,X as H,Y as K,Z,$ as W,a2 as J}from"./masthead-composite-
|
|
71
|
+
import{a4 as t,ac as e,a5 as o,a6 as i,a7 as r,a8 as n,ad as s,c as a,F as d,S as l,g as b,a as c,h as x,p as h,m as p,b as g,s as m,d as f,L as _,_ as v,q as u,N as y,O as w,ae as k,af as z,ag as E,u as T,ah as P,ai as A,aj as C,ak as S,al as D,am as I,H as j,i as $,v as q,an as O,J as M,ao as F,e as B,f as R,B as N,aa as U,ap as G,T as X,aq as L,U as Y,W as V,X as H,Y as K,Z,$ as W,a2 as J}from"./masthead-composite-1ed7f190.js";import Q from"./megamenu-left-navigation-c5ed7f0e.js";var tt=function(){function s(){n(this,s)}var a;return t(s,null,[{key:"checkCookie",value:function(){return{user:"1"===e.get("com.ibm.cloud.iam.LoggedIn.prod")?"authenticated":"anonymous"}}},{key:"checkAPI",value:(a=o(i.mark((function t(){var e;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.get("/api/v6/selected-account?profile=true",{headers:{Accept:"application/json"}}).then((function(t){return 200===t.status?"authenticated":"anonymous"})).catch((function(t){return console.error(t),"anonymous"}));case 2:return e=t.sent,t.abrupt("return",{user:e});case 4:case"end":return t.stop()}}),t)}))),function(){return a.apply(this,arguments)})}]),s}();function et(t){return async e=>{const o="cookie"===t?tt.checkCookie():tt.checkAPI();var i;e((i=o,{type:s.SET_REQUEST_USER_STATUS_IN_PROGRESS,request:i}));try{e(function(t){return{type:s.SET_USER_STATUS,request:t}}(await o))}catch(t){throw e(
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
74
74
|
*
|
package/dist/dotcom-shell.js
CHANGED
package/dist/dotcom-shell.min.js
CHANGED
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
* https://www.npmjs.com/package/axios
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
|
-
import"./ibmdotcom-web-components-dotcom-shell.min.js";import"./masthead-composite-
|
|
71
|
+
import"./ibmdotcom-web-components-dotcom-shell.min.js";import"./masthead-composite-10b5102f.js";import"./20-c7872d45.js";
|
package/dist/dotcom-shell.rtl.js
CHANGED
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
* https://www.npmjs.com/package/axios
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
|
-
import"./ibmdotcom-web-components-dotcom-shell.rtl.min.js";import"./masthead-composite-
|
|
71
|
+
import"./ibmdotcom-web-components-dotcom-shell.rtl.min.js";import"./masthead-composite-1ed7f190.js";import"./20-f07ed7a1.js";
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
71
|
let process = { env: {} };
|
|
72
|
-
import { r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, b as carbonElement, s as settings_1, d as settings$1, L as LitElement, l as lib, e as svg, f as spread, H as HostListenerMixin, g as state, q as query, i as HostListener, o as on, j as selectorTabbable, _ as _decorate$v, F as FocusMixin, k as svgResultCarbonIcon$9, m as ifNonNull, n as LINK_SIZE, B as BXLink, t as StickyHeader, u as ifDefined, V as ValidityMixin, v as FORM_ELEMENT_COLOR_SCHEME, w as svgResultCarbonIcon$a, x as FormMixin, y as root, z as toNumber, A as isObject, C as forEach, D as LocaleAPI, E as spread$1, G as BXDropdown, I as indexOf, J as svgResultCarbonIcon$c, K as findIndex, M as filter, N as _get$c, O as _getPrototypeOf$c, P as DROPDOWN_SIZE$1, Q as styles$d, R as LocaleAPI$1, T as globalInit, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a0 as loadLocaleList, a1 as setLocaleList, a2 as loadTranslation, a3 as setTranslation, a4 as _createClass, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, a9 as PROFILE_API_ACTION, aa as DDSMastheadComposite, ab as UNAUTHENTICATED_STATUS } from './masthead-composite-
|
|
73
|
-
import { s as svgResultCarbonIcon$b } from './20-
|
|
72
|
+
import { r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, b as carbonElement, s as settings_1, d as settings$1, L as LitElement, l as lib, e as svg, f as spread, H as HostListenerMixin, g as state, q as query, i as HostListener, o as on, j as selectorTabbable, _ as _decorate$v, F as FocusMixin, k as svgResultCarbonIcon$9, m as ifNonNull, n as LINK_SIZE, B as BXLink, t as StickyHeader, u as ifDefined, V as ValidityMixin, v as FORM_ELEMENT_COLOR_SCHEME, w as svgResultCarbonIcon$a, x as FormMixin, y as root, z as toNumber, A as isObject, C as forEach, D as LocaleAPI, E as spread$1, G as BXDropdown, I as indexOf, J as svgResultCarbonIcon$c, K as findIndex, M as filter, N as _get$c, O as _getPrototypeOf$c, P as DROPDOWN_SIZE$1, Q as styles$d, R as LocaleAPI$1, T as globalInit, U as ConnectMixin, W as store, X as pickBy, Y as bindActionCreators, Z as loadLanguage, $ as setLanguage, a0 as loadLocaleList, a1 as setLocaleList, a2 as loadTranslation, a3 as setTranslation, a4 as _createClass, a5 as _asyncToGenerator, a6 as regenerator, a7 as axios, a8 as _classCallCheck, a9 as PROFILE_API_ACTION, aa as DDSMastheadComposite, ab as UNAUTHENTICATED_STATUS } from './masthead-composite-e578b925.js';
|
|
73
|
+
import { s as svgResultCarbonIcon$b } from './20-4d0d088b.js';
|
|
74
74
|
|
|
75
75
|
function _defineProperty$4(obj, key, value) { key = _toPropertyKey$x(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
76
76
|
function _toPropertyKey$x(arg) { var key = _toPrimitive$x(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
@@ -2046,15 +2046,17 @@ _decorate$o([carbonElement(`${ddsPrefix$o}-locale-modal`)], function (_initializ
|
|
|
2046
2046
|
value: async function updated(changedProperties) {
|
|
2047
2047
|
_get$8(_getPrototypeOf$8(DDSLocaleModal.prototype), "updated", this).call(this, changedProperties);
|
|
2048
2048
|
if (changedProperties.has('_currentRegion')) {
|
|
2049
|
-
var _this$_currentRegion;
|
|
2050
2049
|
const {
|
|
2051
2050
|
selectorLocaleSearch
|
|
2052
2051
|
} = this.constructor;
|
|
2053
2052
|
const localeSearch = this.querySelector(selectorLocaleSearch);
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
localeSearch.
|
|
2057
|
-
|
|
2053
|
+
if (localeSearch) {
|
|
2054
|
+
var _this$_currentRegion;
|
|
2055
|
+
localeSearch.region = (_this$_currentRegion = this._currentRegion) !== null && _this$_currentRegion !== void 0 ? _this$_currentRegion : '';
|
|
2056
|
+
if (this.open) {
|
|
2057
|
+
localeSearch.reset();
|
|
2058
|
+
localeSearch.focus();
|
|
2059
|
+
}
|
|
2058
2060
|
}
|
|
2059
2061
|
|
|
2060
2062
|
// re-focus on first region-item when navigating back to the first modal pane
|