dash-button-web 0.0.23-beta.8 → 0.0.23-beta.9
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/dash-button_4.cjs.entry.js +119 -39
- package/dist/cjs/{index-DcvBej9f.js → index-CyJNVLIY.js} +23 -25
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-compnont.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/my-component/dash-button.css +282 -0
- package/dist/collection/components/my-component/dash-button.js +120 -40
- package/dist/collection/services/menu.js +1 -0
- package/dist/components/dash-button.js +1 -1
- package/dist/esm/dash-button_4.entry.js +119 -39
- package/dist/esm/{index-p0GxQx6x.js → index-NLvZO6-E.js} +23 -25
- package/dist/esm/loader.js +3 -3
- package/dist/esm/web-compnont.js +4 -4
- package/dist/types/components/my-component/dash-button.d.ts +22 -4
- package/dist/types/components.d.ts +5 -5
- package/dist/types/services/menu.d.ts +2 -0
- package/dist/web-compnont/p-NLvZO6-E.js +3 -0
- package/dist/web-compnont/{p-a723fd01.entry.js → p-ce35027b.entry.js} +2 -2
- package/dist/web-compnont/web-compnont.esm.js +1 -1
- package/package.json +2 -2
- package/dist/web-compnont/p-p0GxQx6x.js +0 -3
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'web-compnont';
|
|
|
4
4
|
const BUILD = /* web-compnont */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.45.
|
|
7
|
+
Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -166,7 +166,7 @@ var queueDomReads = [];
|
|
|
166
166
|
var queueDomWrites = [];
|
|
167
167
|
var scheduleFlush = () => {
|
|
168
168
|
var _a;
|
|
169
|
-
return ((_a = win.document) == null ? void 0 : _a.hidden) ?
|
|
169
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? setTimeout(flush, 16) : plt.raf(flush);
|
|
170
170
|
};
|
|
171
171
|
var queueTask = (queue, write) => (cb) => {
|
|
172
172
|
queue.push(cb);
|
|
@@ -521,7 +521,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
521
521
|
const oldClasses = parseClassList(oldValue);
|
|
522
522
|
let newClasses = parseClassList(newValue);
|
|
523
523
|
{
|
|
524
|
-
|
|
524
|
+
let removedClasses = oldClasses.filter((c) => c && !newClasses.includes(c));
|
|
525
|
+
classList.remove(...removedClasses);
|
|
525
526
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
526
527
|
}
|
|
527
528
|
} else if (memberName === "style") {
|
|
@@ -1161,6 +1162,19 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1161
1162
|
}
|
|
1162
1163
|
}
|
|
1163
1164
|
};
|
|
1165
|
+
var replayPendingSetterValues = (hostRef, cmpMeta) => {
|
|
1166
|
+
var _a;
|
|
1167
|
+
const instance = hostRef.$lazyInstance$;
|
|
1168
|
+
if (!instance) return;
|
|
1169
|
+
for (const [memberName, [memberFlags]] of Object.entries((_a = cmpMeta.$members$) != null ? _a : {})) {
|
|
1170
|
+
if (memberFlags & 4096 /* Setter */ && hostRef.$instanceValues$.has(memberName)) {
|
|
1171
|
+
const pendingValue = hostRef.$instanceValues$.get(memberName);
|
|
1172
|
+
if (instance[memberName] !== pendingValue) {
|
|
1173
|
+
instance[memberName] = pendingValue;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
};
|
|
1164
1178
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1165
1179
|
var _a, _b;
|
|
1166
1180
|
const prototype = Cstr.prototype;
|
|
@@ -1190,9 +1204,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1190
1204
|
return getValue(this, memberName);
|
|
1191
1205
|
}
|
|
1192
1206
|
const ref = getHostRef(this);
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
return instance[memberName];
|
|
1207
|
+
if (!ref) return prototype[memberName];
|
|
1208
|
+
return ref.$lazyInstance$ ? ref.$lazyInstance$[memberName] : getValue(this, memberName);
|
|
1196
1209
|
}
|
|
1197
1210
|
},
|
|
1198
1211
|
configurable: true,
|
|
@@ -1222,36 +1235,20 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1222
1235
|
{
|
|
1223
1236
|
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1224
1237
|
setValue(this, memberName, newValue, cmpMeta);
|
|
1225
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1226
|
-
ref.$fetchedCbList$.push(() => {
|
|
1227
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1228
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
1229
|
-
}
|
|
1230
|
-
});
|
|
1231
|
-
}
|
|
1232
1238
|
return;
|
|
1233
1239
|
}
|
|
1234
1240
|
const parsedValue = parsePropertyValue(
|
|
1235
1241
|
newValue,
|
|
1236
1242
|
memberFlags);
|
|
1237
|
-
|
|
1243
|
+
if (ref.$lazyInstance$) {
|
|
1238
1244
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1239
1245
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1240
1246
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1241
1247
|
}
|
|
1242
|
-
ref.$lazyInstance$[memberName] =
|
|
1248
|
+
ref.$lazyInstance$[memberName] = parsedValue;
|
|
1243
1249
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1244
|
-
};
|
|
1245
|
-
if (ref.$lazyInstance$) {
|
|
1246
|
-
setterSetVal(parsedValue);
|
|
1247
1250
|
} else {
|
|
1248
1251
|
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1249
|
-
ref.$fetchedCbList$.push(() => {
|
|
1250
|
-
const pendingValue = ref.$instanceValues$.get(memberName);
|
|
1251
|
-
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
1252
|
-
setterSetVal(pendingValue);
|
|
1253
|
-
}
|
|
1254
|
-
});
|
|
1255
1252
|
}
|
|
1256
1253
|
}
|
|
1257
1254
|
}
|
|
@@ -1291,7 +1288,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1291
1288
|
const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
|
|
1292
1289
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1293
1290
|
if (isBooleanTarget) {
|
|
1294
|
-
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1291
|
+
newValue = newValue === null || newValue === "false" && true ? false : true;
|
|
1295
1292
|
}
|
|
1296
1293
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1297
1294
|
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
@@ -1360,6 +1357,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1360
1357
|
}
|
|
1361
1358
|
{
|
|
1362
1359
|
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1360
|
+
replayPendingSetterValues(hostRef, cmpMeta);
|
|
1363
1361
|
}
|
|
1364
1362
|
{
|
|
1365
1363
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CyJNVLIY.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy([["dash-button_4.cjs",[[513,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"portalApiUrl":[1,"portal-api-url"],"plmUrl":[1,"plm-url"],"showUnauthorizedModal":[4,"show-unauthorized-modal"],"primaryColor":[1,"primary-color"],"accentColor":[1,"accent-color"],"showNotification":[4,"show-notification"],"notificationPosition":[1,"notification-position"],"keycloak":[32],"isAuth":[32],"givenUserName":[32],"silentCheckSsoRedirectUri":[32],"appList":[32],"avatarSvg":[32],"isLoading":[32],"config":[32],"localMenuLinks":[32],"organizationUrl":[32],"isRestricted":[32]}],[513,"notification-component",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showModal":[32]},null,{"showModal":[{"ownerChanged":0}]}],[513,"notification-table",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showTable":[32],"loading":[32],"loadingNew":[32],"newCount":[32],"notificationList":[32],"markingRead":[32],"pageNumber":[32],"totalRecords":[32],"notificationType":[32],"search":[32],"searching":[32],"showSearchBar":[32],"categoryList":[32],"statusList":[32],"timeoutId":[32],"cancelRequest":[32],"cancelCountRequest":[32]},null,{"owner":[{"ownerChanged":0}]}],[513,"loading-component",{"show":[4],"size":[1]}]]]], options);
|
|
9
|
+
return index.bootstrapLazy([["dash-button_4.cjs",[[513,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"portalApiUrl":[1,"portal-api-url"],"plmUrl":[1,"plm-url"],"showUnauthorizedModal":[4,"show-unauthorized-modal"],"primaryColor":[1,"primary-color"],"accentColor":[1,"accent-color"],"showNotification":[4,"show-notification"],"notificationPosition":[1,"notification-position"],"keycloak":[32],"isAuth":[32],"givenUserName":[32],"silentCheckSsoRedirectUri":[32],"appList":[32],"avatarSvg":[32],"isLoading":[32],"config":[32],"localMenuLinks":[32],"organizationUrl":[32],"isRestricted":[32],"collapsedModuleSection":[32]}],[513,"notification-component",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showModal":[32]},null,{"showModal":[{"ownerChanged":0}]}],[513,"notification-table",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showTable":[32],"loading":[32],"loadingNew":[32],"newCount":[32],"notificationList":[32],"markingRead":[32],"pageNumber":[32],"totalRecords":[32],"notificationType":[32],"search":[32],"searching":[32],"showSearchBar":[32],"categoryList":[32],"statusList":[32],"timeoutId":[32],"cancelRequest":[32],"cancelCountRequest":[32]},null,{"owner":[{"ownerChanged":0}]}],[513,"loading-component",{"show":[4],"size":[1]}]]]], options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CyJNVLIY.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.45.
|
|
8
|
+
Stencil Client Patch Browser v4.45.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["dash-button_4.cjs",[[513,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"portalApiUrl":[1,"portal-api-url"],"plmUrl":[1,"plm-url"],"showUnauthorizedModal":[4,"show-unauthorized-modal"],"primaryColor":[1,"primary-color"],"accentColor":[1,"accent-color"],"showNotification":[4,"show-notification"],"notificationPosition":[1,"notification-position"],"keycloak":[32],"isAuth":[32],"givenUserName":[32],"silentCheckSsoRedirectUri":[32],"appList":[32],"avatarSvg":[32],"isLoading":[32],"config":[32],"localMenuLinks":[32],"organizationUrl":[32],"isRestricted":[32]}],[513,"notification-component",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showModal":[32]},null,{"showModal":[{"ownerChanged":0}]}],[513,"notification-table",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showTable":[32],"loading":[32],"loadingNew":[32],"newCount":[32],"notificationList":[32],"markingRead":[32],"pageNumber":[32],"totalRecords":[32],"notificationType":[32],"search":[32],"searching":[32],"showSearchBar":[32],"categoryList":[32],"statusList":[32],"timeoutId":[32],"cancelRequest":[32],"cancelCountRequest":[32]},null,{"owner":[{"ownerChanged":0}]}],[513,"loading-component",{"show":[4],"size":[1]}]]]], options);
|
|
22
|
+
return index.bootstrapLazy([["dash-button_4.cjs",[[513,"dash-button",{"showPostLoginText":[4,"show-post-login-text"],"silentCheckSso":[4,"silent-check-sso"],"redirectUri":[1,"redirect-uri"],"authMethod":[1,"auth-method"],"portalApiUrl":[1,"portal-api-url"],"plmUrl":[1,"plm-url"],"showUnauthorizedModal":[4,"show-unauthorized-modal"],"primaryColor":[1,"primary-color"],"accentColor":[1,"accent-color"],"showNotification":[4,"show-notification"],"notificationPosition":[1,"notification-position"],"keycloak":[32],"isAuth":[32],"givenUserName":[32],"silentCheckSsoRedirectUri":[32],"appList":[32],"avatarSvg":[32],"isLoading":[32],"config":[32],"localMenuLinks":[32],"organizationUrl":[32],"isRestricted":[32],"collapsedModuleSection":[32]}],[513,"notification-component",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showModal":[32]},null,{"showModal":[{"ownerChanged":0}]}],[513,"notification-table",{"owner":[1],"applicationId":[1,"application-id"],"maxRecords":[2,"max-records"],"listUrl":[1,"list-url"],"displayType":[1,"display-type"],"notificationUrl":[1,"notification-url"],"socketConnect":[4,"socket-connect"],"socketUrl":[1,"socket-url"],"showTable":[32],"loading":[32],"loadingNew":[32],"newCount":[32],"notificationList":[32],"markingRead":[32],"pageNumber":[32],"totalRecords":[32],"notificationType":[32],"search":[32],"searching":[32],"showSearchBar":[32],"categoryList":[32],"statusList":[32],"timeoutId":[32],"cancelRequest":[32],"cancelCountRequest":[32]},null,{"owner":[{"ownerChanged":0}]}],[513,"loading-component",{"show":[4],"size":[1]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -568,3 +568,285 @@ hr.solid {
|
|
|
568
568
|
transform: translateY(0);
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
/*
|
|
574
|
+
Styles for the new "Applications" / "Modules" sections and the
|
|
575
|
+
icon-only Portal + Logout buttons now living in the profile header. */
|
|
576
|
+
|
|
577
|
+
/* Add these rules to your existing .dropdown-user-profile block
|
|
578
|
+
(keep whatever padding/border-bottom it already has) so the name
|
|
579
|
+
and the icon buttons sit on one row. */
|
|
580
|
+
.dropdown-user-profile {
|
|
581
|
+
display: flex;
|
|
582
|
+
align-items: center;
|
|
583
|
+
justify-content: space-between;
|
|
584
|
+
gap: 12px;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.user-profile-info {
|
|
588
|
+
min-width: 0;
|
|
589
|
+
overflow: hidden;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.user-profile-info .username,
|
|
593
|
+
.user-profile-info .first-last-name {
|
|
594
|
+
white-space: nowrap;
|
|
595
|
+
overflow: hidden;
|
|
596
|
+
text-overflow: ellipsis;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.user-profile-actions {
|
|
600
|
+
display: flex;
|
|
601
|
+
align-items: center;
|
|
602
|
+
gap: 8px;
|
|
603
|
+
flex-shrink: 0;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/* Section header row: icon chip + title + item-count badge on the left,
|
|
607
|
+
a circular chevron toggle on the right. Clickable to collapse/expand
|
|
608
|
+
Global Modules and Local Modules independently. Taller and more
|
|
609
|
+
deliberately styled than a plain label, with its own hover state and
|
|
610
|
+
a bottom divider so it reads as a distinct toolbar, not just text. */
|
|
611
|
+
.menu-section-header {
|
|
612
|
+
display: flex;
|
|
613
|
+
align-items: center;
|
|
614
|
+
justify-content: space-between;
|
|
615
|
+
gap: 10px;
|
|
616
|
+
padding: 12px 16px;
|
|
617
|
+
cursor: pointer;
|
|
618
|
+
user-select: none;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/* Same hover treatment as the regular dropdown items below it, so the
|
|
622
|
+
header reads as part of the same list rather than a separate card. */
|
|
623
|
+
.menu-section-header:hover {
|
|
624
|
+
background-color: #f1f1f1;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.menu-section-header-left {
|
|
628
|
+
display: flex;
|
|
629
|
+
align-items: center;
|
|
630
|
+
gap: 8px;
|
|
631
|
+
min-width: 0;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.menu-section-icon {
|
|
635
|
+
display: inline-flex;
|
|
636
|
+
align-items: center;
|
|
637
|
+
justify-content: center;
|
|
638
|
+
color: #128f8b;
|
|
639
|
+
font-size: 12px;
|
|
640
|
+
flex-shrink: 0;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.menu-section-title {
|
|
644
|
+
font-size: 11px;
|
|
645
|
+
font-weight: 600;
|
|
646
|
+
letter-spacing: 0.06em;
|
|
647
|
+
text-transform: uppercase;
|
|
648
|
+
color: #9aa0a6;
|
|
649
|
+
white-space: nowrap;
|
|
650
|
+
overflow: hidden;
|
|
651
|
+
text-overflow: ellipsis;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.menu-section-count {
|
|
655
|
+
font-size: 10px;
|
|
656
|
+
font-weight: 600;
|
|
657
|
+
color: #9aa0a6;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.menu-section-chevron-btn {
|
|
661
|
+
display: inline-flex;
|
|
662
|
+
align-items: center;
|
|
663
|
+
justify-content: center;
|
|
664
|
+
color: #9aa0a6;
|
|
665
|
+
font-size: 10px;
|
|
666
|
+
flex-shrink: 0;
|
|
667
|
+
transition: transform 0.2s ease;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.menu-section-chevron-btn-collapsed {
|
|
671
|
+
transform: rotate(-90deg);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/* Keep the Global Modules list-view section from growing unbounded.
|
|
675
|
+
.grid-view-menu already has its own max-height/overflow rule above
|
|
676
|
+
(230px) — not repeated here, since this would just override it with a
|
|
677
|
+
different value further down the cascade. */
|
|
678
|
+
.dropdown-content-link {
|
|
679
|
+
max-height: 230px;
|
|
680
|
+
overflow-y: auto;
|
|
681
|
+
position: relative;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/* Local Modules list-view items get their own scroll box, separate from
|
|
685
|
+
the shared Global Modules container above. Its max-height is set
|
|
686
|
+
inline by the component (capToRowPeek in dash-button.tsx) to 2.5x the
|
|
687
|
+
first item's real rendered height — a plain CSS rule can't know that
|
|
688
|
+
height in advance, and inline styles win over this max-height anyway,
|
|
689
|
+
so this is just the fallback + what makes it scroll. */
|
|
690
|
+
.local-modules-scroll {
|
|
691
|
+
max-height: 260px;
|
|
692
|
+
overflow-y: auto;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/* Local Modules list-view items reuse id="applications-btn" directly
|
|
696
|
+
(same as Global items), so they inherit your existing row styling
|
|
697
|
+
as-is — no separate class/rule needed here. This is only the
|
|
698
|
+
disabled-state dimming, applied as an extra class on top of that id. */
|
|
699
|
+
.applications-btn-disabled,
|
|
700
|
+
.grid-view-link-disabled {
|
|
701
|
+
opacity: 0.45;
|
|
702
|
+
cursor: not-allowed;
|
|
703
|
+
pointer-events: none;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/* Icon buttons for Portal + Logout, in the profile header. Sized up from
|
|
707
|
+
28px to 38px so they read clearly at a glance, not just on hover.
|
|
708
|
+
Tinted per action so they stand out against the plain header text. */
|
|
709
|
+
.footer-icon-btn {
|
|
710
|
+
display: inline-flex;
|
|
711
|
+
align-items: center;
|
|
712
|
+
justify-content: center;
|
|
713
|
+
width: 38px;
|
|
714
|
+
height: 38px;
|
|
715
|
+
border-radius: 50%;
|
|
716
|
+
border: none;
|
|
717
|
+
font-size: 17px;
|
|
718
|
+
cursor: pointer;
|
|
719
|
+
text-decoration: none;
|
|
720
|
+
transition: background-color 0.15s ease, transform 0.15s ease;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.footer-icon-btn:active {
|
|
724
|
+
transform: scale(0.92);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.footer-icon-btn-portal {
|
|
728
|
+
background: rgba(18, 143, 139, 0.12);
|
|
729
|
+
color: #128f8b;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.footer-icon-btn-portal:hover {
|
|
733
|
+
background: rgba(18, 143, 139, 0.22);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.footer-icon-btn-logout {
|
|
737
|
+
background: rgba(220, 38, 38, 0.12);
|
|
738
|
+
color: #dc2626;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.footer-icon-btn-logout:hover {
|
|
742
|
+
background: rgba(220, 38, 38, 0.22);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* Custom tooltip (via data-tooltip) instead of the native title tooltip,
|
|
746
|
+
shown below the icons since they sit at the top of the dropdown. */
|
|
747
|
+
.footer-icon-btn[data-tooltip] {
|
|
748
|
+
position: relative;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.footer-icon-btn[data-tooltip]::after {
|
|
752
|
+
content: attr(data-tooltip);
|
|
753
|
+
position: absolute;
|
|
754
|
+
top: 130%;
|
|
755
|
+
left: 50%;
|
|
756
|
+
transform: translateX(-50%) translateY(-4px);
|
|
757
|
+
background: rgba(0, 0, 0, 0.85);
|
|
758
|
+
color: #fff;
|
|
759
|
+
padding: 4px 8px;
|
|
760
|
+
border-radius: 4px;
|
|
761
|
+
font-size: 11px;
|
|
762
|
+
line-height: 1.2;
|
|
763
|
+
white-space: nowrap;
|
|
764
|
+
opacity: 0;
|
|
765
|
+
visibility: hidden;
|
|
766
|
+
pointer-events: none;
|
|
767
|
+
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
768
|
+
z-index: 20;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.footer-icon-btn[data-tooltip]::before {
|
|
772
|
+
content: "";
|
|
773
|
+
position: absolute;
|
|
774
|
+
top: 115%;
|
|
775
|
+
left: 50%;
|
|
776
|
+
transform: translateX(-50%);
|
|
777
|
+
border: 4px solid transparent;
|
|
778
|
+
border-bottom-color: rgba(0, 0, 0, 0.85);
|
|
779
|
+
opacity: 0;
|
|
780
|
+
visibility: hidden;
|
|
781
|
+
pointer-events: none;
|
|
782
|
+
transition: opacity 0.15s ease;
|
|
783
|
+
z-index: 20;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.footer-icon-btn[data-tooltip]:hover::after,
|
|
787
|
+
.footer-icon-btn[data-tooltip]:hover::before,
|
|
788
|
+
.footer-icon-btn[data-tooltip]:focus-visible::after,
|
|
789
|
+
.footer-icon-btn[data-tooltip]:focus-visible::before {
|
|
790
|
+
opacity: 1;
|
|
791
|
+
visibility: visible;
|
|
792
|
+
transform: translateX(-50%) translateY(0);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/* */
|
|
798
|
+
.menu-section-header-actions {
|
|
799
|
+
display: flex;
|
|
800
|
+
align-items: center;
|
|
801
|
+
gap: 8px;
|
|
802
|
+
margin-left: auto;
|
|
803
|
+
flex-shrink: 0;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.menu-section-header-actions > a.local-module-shortcut {
|
|
807
|
+
display: inline-flex;
|
|
808
|
+
align-items: center;
|
|
809
|
+
justify-content: center;
|
|
810
|
+
box-sizing: border-box;
|
|
811
|
+
width: 36px;
|
|
812
|
+
min-width: 36px;
|
|
813
|
+
height: 36px;
|
|
814
|
+
padding: 0;
|
|
815
|
+
margin: 0;
|
|
816
|
+
border: 0;
|
|
817
|
+
border-radius: 50%;
|
|
818
|
+
background: #e0eeee;
|
|
819
|
+
color: #139694;
|
|
820
|
+
text-decoration: none;
|
|
821
|
+
flex-shrink: 0;
|
|
822
|
+
cursor: pointer;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.menu-section-header-actions .local-module-shortcut i {
|
|
826
|
+
display: inline-block;
|
|
827
|
+
font-size: 20px;
|
|
828
|
+
line-height: 1;
|
|
829
|
+
pointer-events: none;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.menu-section-header-actions > a.local-module-shortcut:hover {
|
|
833
|
+
background: #cce5e5;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.menu-section-header-actions > a.local-module-shortcut:focus-visible {
|
|
837
|
+
outline: 2px solid currentColor;
|
|
838
|
+
outline-offset: 2px;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.menu-section-header-actions > a.local-module-shortcut[aria-disabled="true"] {
|
|
842
|
+
opacity: 0.45;
|
|
843
|
+
cursor: not-allowed;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/* Local modules icon image */
|
|
847
|
+
.grid-view-link-image {
|
|
848
|
+
width: 32px;
|
|
849
|
+
height: 32px;
|
|
850
|
+
object-fit: contain;
|
|
851
|
+
display: block;
|
|
852
|
+
}
|