solid-ui 3.0.1-4cafc12 → 3.0.1-74b2436
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/README.md +288 -302
- package/dist/header/index.d.ts.map +1 -1
- package/dist/header/index.js +0 -52
- package/dist/header/index.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/solid-ui.esm.js +445 -798
- package/dist/solid-ui.esm.js.map +1 -1
- package/dist/solid-ui.esm.min.js +13 -13
- package/dist/solid-ui.esm.min.js.map +1 -1
- package/dist/solid-ui.js +430 -761
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +11 -11
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/versionInfo.js +5 -5
- package/dist/widgets/buttons.js +20 -20
- package/dist/widgets/buttons.js.map +1 -1
- package/package.json +134 -133
- package/dist/theme-accessibility.css +0 -147
- package/dist/theme-classic.css +0 -70
- package/dist/theme-default.css +0 -65
- package/dist/theme-signal.css +0 -65
- package/dist/theme-telegram.css +0 -65
- package/dist/theme-variables.css +0 -163
- package/dist/theme-wave.css +0 -65
- package/dist/themes-README.md +0 -254
package/dist/solid-ui.esm.js
CHANGED
|
@@ -1467,72 +1467,153 @@ function _createCurveFields(type, CURVE, curveOpts = {}, FpFnLE) {
|
|
|
1467
1467
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1468
1468
|
/* harmony export */ i: () => (/* binding */ style)
|
|
1469
1469
|
/* harmony export */ });
|
|
1470
|
-
/* harmony import */ var
|
|
1471
|
-
/* harmony import */ var _styleConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4762);
|
|
1472
|
-
|
|
1473
|
-
var _style;
|
|
1470
|
+
/* harmony import */ var _styleConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4762);
|
|
1474
1471
|
// Common readable consistent stylesheet
|
|
1475
1472
|
// to avoid using style sheets which are document-global
|
|
1476
1473
|
// and make programmable style toggling with selection, drag over, etc easier
|
|
1477
1474
|
// These must all end with semicolon so they can be appended to.
|
|
1478
|
-
//
|
|
1479
|
-
// PHASE 1: Hybrid mode - CSS variables with fallbacks
|
|
1480
|
-
// CSS variables (--sui-*) are provided by themes/foundation/variables.css
|
|
1481
|
-
// Fallback values preserve original appearance when themes aren't loaded
|
|
1482
1475
|
|
|
1483
1476
|
|
|
1484
|
-
var style =
|
|
1477
|
+
var style = {
|
|
1485
1478
|
// styleModule
|
|
1486
1479
|
|
|
1487
|
-
checkboxStyle: 'color:
|
|
1488
|
-
checkboxInputStyle: 'font-size:
|
|
1489
|
-
fieldLabelStyle: 'color:
|
|
1490
|
-
formSelectStyle: 'background-color:
|
|
1491
|
-
textInputStyle: 'background-color:
|
|
1480
|
+
checkboxStyle: 'color: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;',
|
|
1481
|
+
checkboxInputStyle: 'font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em;',
|
|
1482
|
+
fieldLabelStyle: 'color: #3B5998; text-decoration: none;',
|
|
1483
|
+
formSelectStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1484
|
+
textInputStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1492
1485
|
textInputStyleUneditable:
|
|
1493
1486
|
// Color difference only
|
|
1494
|
-
'background-color:
|
|
1495
|
-
buttonStyle: 'background-color:
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1487
|
+
'background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1488
|
+
buttonStyle: 'background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;',
|
|
1489
|
+
// 'background-color: #eef;
|
|
1490
|
+
commentStyle: 'padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;',
|
|
1491
|
+
iconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 1em;',
|
|
1492
|
+
smallButtonStyle: 'margin: 0.2em; width: 1em; height:1em;',
|
|
1493
|
+
classIconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 0.2em; border: 0.1em solid green; padding: 0.2em; background-color: #efe;',
|
|
1494
|
+
// combine with buttonStyle
|
|
1495
|
+
confirmPopupStyle: 'padding: 0.7em; border-radius: 0.2em; border: 0.1em solid orange; background-color: white; box-shadow: 0.5em 0.9em #888;',
|
|
1496
|
+
messageBodyStyle: 'white-space: pre-wrap; width: 99%; font-size:100%; border: 0.07em solid #eee; border-radius:0.2em; padding: .3em 0.5em; margin: 0.1em;',
|
|
1497
|
+
pendingeditModifier: 'color: #bbb;',
|
|
1503
1498
|
// Contacts
|
|
1504
|
-
personaBarStyle: 'width: 100%; height: 4em; background-color:
|
|
1505
|
-
searchInputStyle: 'border: 0.1em solid
|
|
1506
|
-
autocompleteRowStyle: 'border: 0.2em solid
|
|
1499
|
+
personaBarStyle: 'width: 100%; height: 4em; background-color: #eee; vertical-align: middle;',
|
|
1500
|
+
searchInputStyle: 'border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;',
|
|
1501
|
+
autocompleteRowStyle: 'border: 0.2em solid straw;',
|
|
1507
1502
|
// Login buttons
|
|
1508
|
-
signInAndUpButtonStyle: 'padding: 1em; border-radius:
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1503
|
+
signInAndUpButtonStyle: 'padding: 1em; border-radius:0.2em; font-size: 100%;',
|
|
1504
|
+
// was 0.5em radius
|
|
1505
|
+
headerBannerLoginInput: 'margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;',
|
|
1506
|
+
signUpBackground: 'background-color: #eef;',
|
|
1507
|
+
signInBackground: 'background-color: #efe;',
|
|
1512
1508
|
// Forms
|
|
1513
|
-
heading1Style: 'font-size: 180%; font-weight: bold; color:
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1509
|
+
heading1Style: 'font-size: 180%; font-weight: bold; color: #888888; padding: 0.5em; margin: 0.7em 0.0m;',
|
|
1510
|
+
// originally was brown; now grey
|
|
1511
|
+
heading2Style: 'font-size: 130%; font-weight: bold; color: #888888; padding: 0.4em; margin: 0.7em 0.0em;',
|
|
1512
|
+
// originally was brown; now grey
|
|
1513
|
+
heading3Style: 'font-size: 120%; font-weight: bold; color: #888888; padding: 0.3em; margin: 0.7em 0.0em;',
|
|
1514
|
+
// For example, in large forms or before a small form
|
|
1515
|
+
heading4Style: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
|
|
1516
|
+
// Lowest level used by default in small things
|
|
1517
|
+
|
|
1518
|
+
formHeadingStyle: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
|
|
1519
|
+
// originally was brown; now grey
|
|
1518
1520
|
formTextInput: 'font-size: 100%; margin: 0.1em; padding: 0.1em;',
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
sidebarStyle: 'overflow-x: auto; overflow-y: auto; border-radius: var(--sui-border-radius, 0.5em); border: 0.1em solid var(--sui-border-color, white); background-color: var(--sui-bg-panel, white);',
|
|
1527
|
-
sourcePaneStyle: 'font-family: var(--sui-font-family-mono, monospace); font-size: 100%; width: 100%; max-width: 60em; margin: 1em 0.2em 1em 0.2em; padding: var(--sui-space-lg, 1em); border: 0.1em solid var(--sui-border-color, #888); border-radius: var(--sui-border-radius, 0.5em); background-color: var(--sui-bg-panel, white); color: var(--sui-text, black);',
|
|
1521
|
+
// originally used this
|
|
1522
|
+
formGroupStyle: ["padding-left: 0em; border: 0.0em solid ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "; border-radius: 0.2em;"), // weight 0
|
|
1523
|
+
"padding-left: 2em; border: 0.05em solid ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.1em solid ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.2em solid ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "; border-radius: 0.2em;") // @@ pink
|
|
1524
|
+
],
|
|
1525
|
+
formFieldLabelStyle: "color: ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.lowProfileLinkColor, "; text-decoration: none;"),
|
|
1526
|
+
formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width:".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formFieldNameBoxWidth, ";"),
|
|
1527
|
+
multilineTextInputStyle: 'font-size:100%; white-space: pre-wrap; background-color: #eef;' + ' border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;',
|
|
1528
1528
|
// Buttons
|
|
1529
|
-
renderAsDivStyle: 'display: flex; align-items: center; justify-content: space-between; height:
|
|
1530
|
-
imageDivStyle: 'width:
|
|
1531
|
-
linkDivStyle: 'width:
|
|
1529
|
+
renderAsDivStyle: 'display: flex; align-items: center; justify-content: space-between; height: 2.5em; padding: 1em;',
|
|
1530
|
+
imageDivStyle: 'width:2.5em; padding:0.5em; height: 2.5em;',
|
|
1531
|
+
linkDivStyle: 'width:2em; padding:0.5em; height: 4em;',
|
|
1532
1532
|
// ACL
|
|
1533
1533
|
aclControlBoxContainer: 'margin: 1em;',
|
|
1534
|
-
aclControlBoxHeader: 'font-size:
|
|
1535
|
-
}, (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "aclControlBoxHeader", 'font-size: 120%; margin: 0 0 1rem;'), "aclControlBoxStatus", 'display: none; margin: 1rem 0;'), "aclControlBoxStatusRevealed", 'display: block;'), "aclGroupContent", 'maxWidth: 650;'), "accessGroupList", 'display: grid; grid-template-columns: 1fr; margin: var(--sui-space-md, 1em); width: 100%;'), "accessGroupListItem", 'display: grid; grid-template-columns: 100px auto 30%;'), "defaultsController", 'display: flex;'), "defaultsControllerNotice", 'color: var(--sui-text-muted, #888); flexGrow: 1; fontSize: 80%;'), "bigButton", 'background-color: var(--sui-bg-panel, white); border: 0.1em solid var(--sui-border-color-dark, #888); border-radius: var(--sui-border-radius, 0.3em); max-width: 50%; padding-bottom: var(--sui-space-md, 1em); padding-top: var(--sui-space-md, 1em);'), "group", 'color: var(--sui-group-default, #888);'), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "group1", 'color: var(--sui-group-1, green);'), "group2", 'color: var(--sui-group-2, #cc0);'), "group3", 'color: var(--sui-group-3, orange);'), "group5", 'color: var(--sui-group-5, red);'), "group9", 'color: var(--sui-group-9, blue);'), "group13", 'color: var(--sui-group-13, purple);'), "trustedAppAddApplicationsTable", 'background-color: var(--sui-bg-panel, #eee);'), "trustedAppCancelButton", 'float: right;'), "trustedAppControllerI", 'border-color: var(--sui-warning, orange); border-radius: var(--sui-border-radius-lg, 1em); border-width: 0.1em;'), "temporaryStatusInit", 'background: var(--sui-success, green);'), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "temporaryStatusEnd", 'background: transparent; transition: background 5s linear;'), "headerUserMenuLink", 'background: none; border: 0; color: var(--sui-text, black); cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: var(--sui-space-md, 1em); width: 100%; text-decoration: none;'), "headerUserMenuLinkHover", 'background: none; border: 0; color: var(--sui-text, black); cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: var(--sui-space-md, 1em); width: 100%; text-decoration: none; background-image: var(--sui-header-gradient, linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%));'), "headerUserMenuTrigger", 'background: none; border: 0; cursor: pointer; width: var(--sui-header-height, 60px); height: var(--sui-header-height, 60px);'), "headerUserMenuTriggerImg", 'border-radius: var(--sui-border-radius-full, 50%); height: 56px; width: 28px !important;'), "headerUserMenuButton", 'background: none; border: 0; color: var(--sui-text, black); cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: var(--sui-space-md, 1em); width: 100%;'), "headerUserMenuButtonHover", 'background: none; border: 0; color: var(--sui-text, black); cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: var(--sui-space-md, 1em); width: 100%; background-image: var(--sui-header-gradient, linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%));'), "headerUserMenuList", 'list-style: none; margin: 0; padding: 0;'), "headerUserMenuListDisplay", 'list-style: none; margin: 0; padding: 0; display:true;'), "headerUserMenuNavigationMenu", 'background: var(--sui-bg-panel, white); border: solid 1px var(--sui-text, #000000); border-right: 0; position: absolute; right: 0; top: var(--sui-header-height, 60px); width: 200px; z-index: var(--sui-z-dropdown, 1); display: true;'), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "headerUserMenuNavigationMenuNotDisplayed", 'background: var(--sui-bg-panel, white); border: solid 1px var(--sui-text, #000000); border-right: 0; position: absolute; right: 0; top: var(--sui-header-height, 60px); width: 200px; z-index: var(--sui-z-dropdown, 1); display: none;'), "headerUserMenuListItem", 'border-bottom: solid 1px var(--sui-text, #000000);'), "headerUserMenuPhoto", 'border-radius: var(--sui-border-radius-full, 50%); background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px;'), "headerBanner", 'background: var(--sui-bg-header, white); box-shadow: var(--sui-header-shadow, 0px 1px 4px #000000); display: flex; justify-content: space-between; padding: 0 var(--sui-space-lg, 1.5em);'), "headerBannerRightMenu", 'display: flex;'), "headerBannerLogin", 'margin-left: auto;'), "allChildrenVisible", 'display: true;'), "headerBannerUserMenu", 'border-left: solid 1px var(--sui-text, #000000); margin-left: auto;'), "headerBannerHelpMenu", 'border-left: solid 1px var(--sui-text, #000000); margin-left: auto;'), "headerBannerIcon", 'background-size: 65px var(--sui-header-height, 60px) !important; height: var(--sui-header-height, 60px) !important; width: 65px !important;'), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "footer", 'border-top: solid 1px var(--sui-border-color, #ccc); font-size: 0.9em; padding: var(--sui-space-sm, 0.5em) var(--sui-space-lg, 1.5em);'), "primaryButton", 'background-color: var(--sui-primary-light, #7c4dff); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-primary-light, #7c4dff); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "primaryButtonHover", 'background-color: var(--sui-primary, #9f7dff); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-primary-light, #7c4dff); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "primaryButtonNoBorder", 'background-color: var(--sui-bg-panel, #ffffff); color: var(--sui-primary-light, #7c4dff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-primary-light, #7c4dff); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "primaryButtonNoBorderHover", 'background-color: var(--sui-primary-light, #7c4dff); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-primary-light, #7c4dff); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "secondaryButton", 'background-color: var(--sui-accent, #01c9ea); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-accent, #01c9ea); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "secondaryButtonHover", 'background-color: var(--sui-info, #37cde6); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-primary-light, #7c4dff); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "secondaryButtonNoBorder", 'background-color: var(--sui-bg-panel, #ffffff); color: var(--sui-accent, #01c9ea); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-accent, #01c9ea); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "secondaryButtonNoBorderHover", 'background-color: var(--sui-accent, #01c9ea); color: var(--sui-text-on-primary, #ffffff); font-family: var(--sui-font-family, Raleway, Roboto, sans-serif); border-radius: var(--sui-border-radius, 0.25em); border-color: var(--sui-accent, #01c9ea); border: 1px solid; cursor: pointer; font-size: 0.8em; text-decoration: none; padding: var(--sui-button-padding-sm, 0.5em 4em); transition: var(--sui-transition, 0.25s all ease-in-out); outline: none;'), "controlStyle", "border-radius: var(--sui-border-radius, 0.5em); margin: 0.8em; width: ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.mediaModuleCanvasWidth, "; height: ").concat(_styleConstants__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.mediaModuleCanvasHeight, ";")), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "dragEvent", 'background-color: var(--sui-bg-hover, #ccc); border: 0.25em dashed var(--sui-text, black); border-radius: var(--sui-border-radius, 0.3em);'), "dropEvent", 'background-color: var(--sui-bg-panel, white); border: 0 solid var(--sui-text, black);'), "restoreStyle", 'background-color: var(--sui-bg-panel, white);'), "errorCancelButton", 'width: var(--sui-icon-size, 2em); height: var(--sui-icon-size, 2em); align: right;'), "errorMessageBlockStyle", 'margin: 0.1em; padding: var(--sui-space-sm, 0.5em); border: var(--sui-border-width, 0.05em) solid var(--sui-border-color-dark, gray); color: var(--sui-text, black);'), "notepadStyle", 'padding: var(--sui-space-md, 1em); overflow: auto; resize: horizontal; min-width: 40em;'), "upstreamStatus", 'width: 50%;'), "downstreamStatus", 'width: 50%;'), "baseStyle", 'font-size: 100%; font-family: var(--sui-font-family-mono, monospace); width: 100%; border: none; white-space: pre-wrap;'), "headingCore", 'font-family: var(--sui-font-family, sans-serif); font-weight: bold; border: none;'), (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_style, "headingStyle", ['font-size: 110%; padding-top: var(--sui-space-sm, 0.5em); padding-bottom: var(--sui-space-sm, 0.5em); width: 100%;', 'font-size: 120%; padding-top: var(--sui-space-md, 1em); padding-bottom: var(--sui-space-md, 1em); width: 100%;', 'font-size: 150%; padding-top: var(--sui-space-md, 1em); padding-bottom: var(--sui-space-md, 1em); width: 100%;']), "participantsStyle", 'margin: 0.8em;'), "participantsBlock", 'height: 1.5em; width: 1.5em; margin: 0.3em; border: 0.01em solid var(--sui-border-color-dark, #888);'), "personTableTD", 'vertical-align: middle;'), "tabsNavElement", 'margin: 0;'), "tabsRootElement", 'display: flex; height: 100%; width: 100%;'), "tabsMainElement", 'margin: 0; width: 100%; height: 100%;'), "tabContainer", 'list-style-type: none; display: flex; height: 100%; width: 100%; margin: 0; padding: 0;'), "makeNewSlot", 'background: none; border: none; font: inherit; cursor: pointer;'), "ellipsis", 'position: absolute; right: 0; bottom: 0; width: 20%; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;'));
|
|
1534
|
+
aclControlBoxHeader: 'font-size: 120%; margin: 0 0 1rem;',
|
|
1535
|
+
aclControlBoxStatus: 'display: none; margin: 1rem 0;',
|
|
1536
|
+
aclControlBoxStatusRevealed: 'display: block;',
|
|
1537
|
+
aclGroupContent: 'maxWidth: 650;',
|
|
1538
|
+
accessGroupList: 'display: grid; grid-template-columns: 1fr; margin: 1em; width: 100%;',
|
|
1539
|
+
accessGroupListItem: 'display: grid; grid-template-columns: 100px auto 30%;',
|
|
1540
|
+
defaultsController: 'display: flex;',
|
|
1541
|
+
defaultsControllerNotice: 'color: #888; flexGrow: 1; fontSize: 80%;',
|
|
1542
|
+
bigButton: 'background-color: white; border: 0.1em solid #888; border-radius: 0.3em; max-width: 50%; padding-bottom: 1em; padding-top: 1em;',
|
|
1543
|
+
group: 'color: #888;',
|
|
1544
|
+
group1: 'color: green;',
|
|
1545
|
+
group2: 'color: #cc0;',
|
|
1546
|
+
group3: 'color: orange;',
|
|
1547
|
+
group5: 'color: red;',
|
|
1548
|
+
group9: 'color: blue;',
|
|
1549
|
+
group13: 'color: purple;',
|
|
1550
|
+
trustedAppAddApplicationsTable: 'background-color: #eee;',
|
|
1551
|
+
trustedAppCancelButton: 'float: right;',
|
|
1552
|
+
trustedAppControllerI: 'border-color: orange; border-radius: 1em; border-width: 0.1em;',
|
|
1553
|
+
temporaryStatusInit: 'background: green;',
|
|
1554
|
+
temporaryStatusEnd: 'background: transparent; transition: background 5s linear;',
|
|
1555
|
+
// header
|
|
1556
|
+
headerUserMenuLink: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%; text-decoration: none;',
|
|
1557
|
+
headerUserMenuLinkHover: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%; text-decoration: none; background-image: linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%);',
|
|
1558
|
+
headerUserMenuTrigger: 'background: none; border: 0; cursor: pointer; width: 60px; height: 60px;',
|
|
1559
|
+
headerUserMenuTriggerImg: 'border-radius: 50%; height: 56px; width: 28px !important;',
|
|
1560
|
+
headerUserMenuButton: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%;',
|
|
1561
|
+
headerUserMenuButtonHover: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%; background-image: linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%);',
|
|
1562
|
+
headerUserMenuList: 'list-style: none; margin: 0; padding: 0;',
|
|
1563
|
+
headerUserMenuListDisplay: 'list-style: none; margin: 0; padding: 0; display:true;',
|
|
1564
|
+
headerUserMenuNavigationMenu: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: true;',
|
|
1565
|
+
headerUserMenuNavigationMenuNotDisplayed: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: none;',
|
|
1566
|
+
headerUserMenuListItem: 'border-bottom: solid 1px #000000;',
|
|
1567
|
+
headerUserMenuPhoto: 'border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px;',
|
|
1568
|
+
headerBanner: 'box-shadow: 0px 1px 4px #000000; display: flex; justify-content: space-between; padding: 0 1.5em; margin-bottom: 4px;',
|
|
1569
|
+
headerBannerLink: 'display: block;',
|
|
1570
|
+
headerBannerRightMenu: 'display: flex;',
|
|
1571
|
+
headerBannerLogin: 'margin-left: auto;',
|
|
1572
|
+
allChildrenVisible: 'display:true;',
|
|
1573
|
+
headerBannerUserMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
1574
|
+
headerBannerHelpMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
1575
|
+
headerBannerIcon: 'background-size: 65px 60px !important; height: 60px !important; width: 65px !important;',
|
|
1576
|
+
// may just be 65px round($icon-size * 352 / 322);
|
|
1577
|
+
|
|
1578
|
+
// footer
|
|
1579
|
+
footer: 'border-top: solid 1px $divider-color; font-size: 0.9em; padding: 0.5em 1.5em;',
|
|
1580
|
+
// buttons
|
|
1581
|
+
primaryButton: 'background-color: #7c4dff; color: #ffffff; font-family: Raleway, Roboto, sans-serif; border-radius: 0.25em; border-color: #7c4dff; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none;',
|
|
1582
|
+
primaryButtonHover: 'background-color: #9f7dff; color: #ffffff; font-family: Raleway, Roboto, sans-serif;border-radius: 0.25em; border-color: #7c4dff; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none; transition: 0.25s all ease-in-out;',
|
|
1583
|
+
primaryButtonNoBorder: 'background-color: #ffffff; color: #7c4dff; font-family: Raleway, Roboto, sans-serif;border-radius: 0.25em; border-color: #7c4dff; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none;',
|
|
1584
|
+
primaryButtonNoBorderHover: 'background-color: #7c4dff; color: #ffffff; font-family: Raleway, Roboto, sans-serif; border-radius: 0.25em; border-color: #7c4dff; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none; transition: 0.25s all ease-in-out;',
|
|
1585
|
+
secondaryButton: 'background-color: #01c9ea; color: #ffffff; font-family: Raleway, Roboto, sans-serif;border-radius: 0.25em; border-color: #01c9ea; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none;',
|
|
1586
|
+
secondaryButtonHover: 'background-color: #37cde6; color: #ffffff; font-family: Raleway, Roboto, sans-serif;border-radius: 0.25em; border-color: #7c4dff; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none; transition: 0.25s all ease-in-out;',
|
|
1587
|
+
secondaryButtonNoBorder: 'background-color: #ffffff; color: #01c9ea; font-family: Raleway, Roboto, sans-serif; border-radius: 0.25em; border-color: #01c9ea; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none;',
|
|
1588
|
+
secondaryButtonNoBorderHover: 'background-color: #01c9ea; color: #ffffff; font-family: Raleway, Roboto, sans-serif; border-radius: 0.25em; border-color: #01c9ea; border: 1px solid; cursor: pointer; font-size: .8em; text-decoration: none; padding: 0.5em 4em; transition: 0.25s all ease-in-out; outline: none; transition: 0.25s all ease-in-out;',
|
|
1589
|
+
// media
|
|
1590
|
+
controlStyle: "border-radius: 0.5em; margin: 0.8em; width:".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.mediaModuleCanvasWidth, "; height:").concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.mediaModuleCanvasHeight, ";"),
|
|
1591
|
+
// dragAndDrop
|
|
1592
|
+
dragEvent: 'background-color: #ccc; border: 0.25em dashed black; border-radius: 0.3em;',
|
|
1593
|
+
dropEvent: 'background-color: white; border: 0em solid black;',
|
|
1594
|
+
restoreStyle: 'background-color: white;',
|
|
1595
|
+
// errors
|
|
1596
|
+
errorCancelButton: 'width: 2em; height: 2em; align: right;',
|
|
1597
|
+
errorMessageBlockStyle: 'margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color:black;',
|
|
1598
|
+
// pad
|
|
1599
|
+
notepadStyle: 'padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;',
|
|
1600
|
+
upstreamStatus: 'width: 50%;',
|
|
1601
|
+
downstreamStatus: 'width: 50%;',
|
|
1602
|
+
baseStyle: 'font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;',
|
|
1603
|
+
headingCore: 'font-family: sans-serif; font-weight: bold; border: none;',
|
|
1604
|
+
headingStyle: ['font-size: 110%; padding-top: 0.5em; padding-bottom: 0.5em; width: 100%;', 'font-size: 120%; padding-top: 1em; padding-bottom: 1em; width: 100%;', 'font-size: 150%; padding-top: 1em; padding-bottom: 1em; width: 100%;'],
|
|
1605
|
+
// participation
|
|
1606
|
+
participantsStyle: 'margin: 0.8em;',
|
|
1607
|
+
participantsBlock: 'height: 1.5em; width: 1.5em; margin: 0.3em; border 0.01em solid #888;',
|
|
1608
|
+
personTableTD: 'vertical-align: middle;',
|
|
1609
|
+
// tabs
|
|
1610
|
+
tabsNavElement: 'margin: 0;',
|
|
1611
|
+
tabsRootElement: 'display: flex; height: 100%; width: 100%;',
|
|
1612
|
+
tabsMainElement: 'margin: 0; width:100%; height: 100%;',
|
|
1613
|
+
tabContainer: 'list-style-type: none; display: flex; height: 100%; width: 100%; margin: 0; padding: 0;',
|
|
1614
|
+
makeNewSlot: 'background: none; border: none; font: inherit; cursor: pointer;',
|
|
1615
|
+
ellipsis: 'position: absolute; right: 0; bottom: 0; width: 20%; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;'
|
|
1616
|
+
};
|
|
1536
1617
|
style.setStyle = function setStyle(ele, styleName) {
|
|
1537
1618
|
ele.style = style[styleName];
|
|
1538
1619
|
};
|
|
@@ -3557,9 +3638,9 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3557
3638
|
|
|
3558
3639
|
|
|
3559
3640
|
/* global EventListenerOrEventListenerObject */
|
|
3560
|
-
/*
|
|
3561
|
-
This file was copied from mashlib/src/global/header.ts file. It is modified to
|
|
3562
|
-
work in solid-ui by adjusting where imported functions are found.
|
|
3641
|
+
/*
|
|
3642
|
+
This file was copied from mashlib/src/global/header.ts file. It is modified to
|
|
3643
|
+
work in solid-ui by adjusting where imported functions are found.
|
|
3563
3644
|
*/
|
|
3564
3645
|
|
|
3565
3646
|
|
|
@@ -3571,42 +3652,42 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3571
3652
|
|
|
3572
3653
|
|
|
3573
3654
|
|
|
3574
|
-
/**
|
|
3575
|
-
* menu icons
|
|
3655
|
+
/**
|
|
3656
|
+
* menu icons
|
|
3576
3657
|
*/
|
|
3577
3658
|
var DEFAULT_HELP_MENU_ICON = _index__WEBPACK_IMPORTED_MODULE_2__/* .icons */ .Pt.iconBase + 'noun_help.svg';
|
|
3578
3659
|
var DEFAUL_SOLID_ICON_URL = 'https://solidproject.org/assets/img/solid-emblem.svg';
|
|
3579
3660
|
|
|
3580
|
-
/*
|
|
3581
|
-
HeaderOptions allow for customizing the logo and menu list. If a logo is not provided the default
|
|
3582
|
-
is solid. Menulist will always show a link to logout and to the users profile.
|
|
3661
|
+
/*
|
|
3662
|
+
HeaderOptions allow for customizing the logo and menu list. If a logo is not provided the default
|
|
3663
|
+
is solid. Menulist will always show a link to logout and to the users profile.
|
|
3583
3664
|
*/
|
|
3584
3665
|
|
|
3585
|
-
/**
|
|
3586
|
-
* Initialize header component, the header object returned depends on whether the user is authenticated.
|
|
3587
|
-
* @param store the data store
|
|
3588
|
-
* @param userMenuList a list of menu items when the user is logged in
|
|
3589
|
-
* @param options allow the header to be customized with a personalized logo, help icon and a help menu list of links or buttons.
|
|
3590
|
-
* @returns a header for an authenticated user with menu items given or a login screen
|
|
3666
|
+
/**
|
|
3667
|
+
* Initialize header component, the header object returned depends on whether the user is authenticated.
|
|
3668
|
+
* @param store the data store
|
|
3669
|
+
* @param userMenuList a list of menu items when the user is logged in
|
|
3670
|
+
* @param options allow the header to be customized with a personalized logo, help icon and a help menu list of links or buttons.
|
|
3671
|
+
* @returns a header for an authenticated user with menu items given or a login screen
|
|
3591
3672
|
*/
|
|
3592
3673
|
function initHeader(_x, _x2, _x3) {
|
|
3593
3674
|
return _initHeader.apply(this, arguments);
|
|
3594
3675
|
}
|
|
3595
|
-
/**
|
|
3596
|
-
* @ignore exporting this only for the unit test
|
|
3676
|
+
/**
|
|
3677
|
+
* @ignore exporting this only for the unit test
|
|
3597
3678
|
*/
|
|
3598
3679
|
function _initHeader() {
|
|
3599
|
-
_initHeader = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function
|
|
3680
|
+
_initHeader = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2(store, userMenuList, options) {
|
|
3600
3681
|
var header, pod;
|
|
3601
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (
|
|
3602
|
-
while (1) switch (
|
|
3682
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {
|
|
3683
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
3603
3684
|
case 0:
|
|
3604
3685
|
header = document.getElementById('PageHeader');
|
|
3605
3686
|
if (header) {
|
|
3606
|
-
|
|
3687
|
+
_context2.next = 1;
|
|
3607
3688
|
break;
|
|
3608
3689
|
}
|
|
3609
|
-
return
|
|
3690
|
+
return _context2.abrupt("return");
|
|
3610
3691
|
case 1:
|
|
3611
3692
|
pod = (0,_utils_headerFooterHelpers__WEBPACK_IMPORTED_MODULE_8__/* .getPod */ .E6)();
|
|
3612
3693
|
rebuildHeader(header, store, pod, userMenuList, options)();
|
|
@@ -3614,9 +3695,9 @@ function _initHeader() {
|
|
|
3614
3695
|
solid_logic__WEBPACK_IMPORTED_MODULE_3__.authSession.events.on('login', rebuildHeader(header, store, pod, userMenuList, options));
|
|
3615
3696
|
case 2:
|
|
3616
3697
|
case "end":
|
|
3617
|
-
return
|
|
3698
|
+
return _context2.stop();
|
|
3618
3699
|
}
|
|
3619
|
-
},
|
|
3700
|
+
}, _callee2);
|
|
3620
3701
|
}));
|
|
3621
3702
|
return _initHeader.apply(this, arguments);
|
|
3622
3703
|
}
|
|
@@ -3640,20 +3721,20 @@ function rebuildHeader(header, store, pod, userMenuList, options) {
|
|
|
3640
3721
|
}, _callee);
|
|
3641
3722
|
}));
|
|
3642
3723
|
}
|
|
3643
|
-
/**
|
|
3644
|
-
* @ignore exporting this only for the unit test
|
|
3724
|
+
/**
|
|
3725
|
+
* @ignore exporting this only for the unit test
|
|
3645
3726
|
*/
|
|
3646
3727
|
function createBanner(_x4, _x5, _x6, _x7, _x8) {
|
|
3647
3728
|
return _createBanner.apply(this, arguments);
|
|
3648
3729
|
}
|
|
3649
|
-
/**
|
|
3650
|
-
* @ignore exporting this only for the unit test
|
|
3730
|
+
/**
|
|
3731
|
+
* @ignore exporting this only for the unit test
|
|
3651
3732
|
*/
|
|
3652
3733
|
function _createBanner() {
|
|
3653
|
-
_createBanner = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function
|
|
3654
|
-
var podLink, image, userMenu, banner, leftSideOfHeader, helpMenu,
|
|
3655
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (
|
|
3656
|
-
while (1) switch (
|
|
3734
|
+
_createBanner = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee3(store, pod, user, userMenuList, options) {
|
|
3735
|
+
var podLink, image, userMenu, banner, leftSideOfHeader, helpMenu, _t2;
|
|
3736
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context3) {
|
|
3737
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
3657
3738
|
case 0:
|
|
3658
3739
|
podLink = document.createElement('a');
|
|
3659
3740
|
podLink.href = pod.uri;
|
|
@@ -3665,19 +3746,19 @@ function _createBanner() {
|
|
|
3665
3746
|
image.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerBannerIcon);
|
|
3666
3747
|
podLink.appendChild(image);
|
|
3667
3748
|
if (!user) {
|
|
3668
|
-
|
|
3749
|
+
_context3.next = 2;
|
|
3669
3750
|
break;
|
|
3670
3751
|
}
|
|
3671
|
-
|
|
3752
|
+
_context3.next = 1;
|
|
3672
3753
|
return createUserMenu(store, user, userMenuList);
|
|
3673
3754
|
case 1:
|
|
3674
|
-
|
|
3675
|
-
|
|
3755
|
+
_t2 = _context3.sent;
|
|
3756
|
+
_context3.next = 3;
|
|
3676
3757
|
break;
|
|
3677
3758
|
case 2:
|
|
3678
|
-
|
|
3759
|
+
_t2 = createLoginSignUpButtons();
|
|
3679
3760
|
case 3:
|
|
3680
|
-
userMenu =
|
|
3761
|
+
userMenu = _t2;
|
|
3681
3762
|
banner = document.createElement('div');
|
|
3682
3763
|
banner.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerBanner);
|
|
3683
3764
|
banner.appendChild(podLink);
|
|
@@ -3689,12 +3770,12 @@ function _createBanner() {
|
|
|
3689
3770
|
leftSideOfHeader.appendChild(helpMenu);
|
|
3690
3771
|
}
|
|
3691
3772
|
banner.appendChild(leftSideOfHeader);
|
|
3692
|
-
return
|
|
3773
|
+
return _context3.abrupt("return", banner);
|
|
3693
3774
|
case 4:
|
|
3694
3775
|
case "end":
|
|
3695
|
-
return
|
|
3776
|
+
return _context3.stop();
|
|
3696
3777
|
}
|
|
3697
|
-
},
|
|
3778
|
+
}, _callee3);
|
|
3698
3779
|
}));
|
|
3699
3780
|
return _createBanner.apply(this, arguments);
|
|
3700
3781
|
}
|
|
@@ -3702,88 +3783,6 @@ function createHelpMenu(options, helpMenuItems) {
|
|
|
3702
3783
|
if (!helpMenuItems) return;
|
|
3703
3784
|
var helpMenuList = document.createElement('ul');
|
|
3704
3785
|
helpMenuList.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerUserMenuList);
|
|
3705
|
-
|
|
3706
|
-
// Add theme selector submenu at the top
|
|
3707
|
-
try {
|
|
3708
|
-
var _UI, _UI2;
|
|
3709
|
-
var themeLoader = ((_UI = globalThis.UI) === null || _UI === void 0 ? void 0 : _UI.themeLoader) || ((_UI2 = window.UI) === null || _UI2 === void 0 ? void 0 : _UI2.themeLoader);
|
|
3710
|
-
if (themeLoader) {
|
|
3711
|
-
// Add theme label
|
|
3712
|
-
var themeLabel = document.createElement('li');
|
|
3713
|
-
themeLabel.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerUserMenuItem + ' font-weight: bold; padding: 0.5em 1em; color: #666; font-size: 0.9em;');
|
|
3714
|
-
themeLabel.textContent = '🎨 Themes';
|
|
3715
|
-
helpMenuList.appendChild(themeLabel);
|
|
3716
|
-
|
|
3717
|
-
// Add theme options
|
|
3718
|
-
var themes = [{
|
|
3719
|
-
name: 'classic',
|
|
3720
|
-
label: '📘 Classic',
|
|
3721
|
-
icon: '📘'
|
|
3722
|
-
}, {
|
|
3723
|
-
name: 'default',
|
|
3724
|
-
label: '💜 Default',
|
|
3725
|
-
icon: '💜'
|
|
3726
|
-
}, {
|
|
3727
|
-
name: 'wave',
|
|
3728
|
-
label: '💚 Wave',
|
|
3729
|
-
icon: '💚'
|
|
3730
|
-
}, {
|
|
3731
|
-
name: 'telegram',
|
|
3732
|
-
label: '💙 Telegram',
|
|
3733
|
-
icon: '💙'
|
|
3734
|
-
}, {
|
|
3735
|
-
name: 'signal',
|
|
3736
|
-
label: '🔵 Signal',
|
|
3737
|
-
icon: '🔵'
|
|
3738
|
-
}];
|
|
3739
|
-
var currentTheme = themeLoader.getCurrentTheme();
|
|
3740
|
-
themes.forEach(function (theme) {
|
|
3741
|
-
var themeButton = createUserMenuButton(theme.label + (theme.name === currentTheme ? ' ✓' : ''), /*#__PURE__*/(0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee2() {
|
|
3742
|
-
var _t2;
|
|
3743
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {
|
|
3744
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
3745
|
-
case 0:
|
|
3746
|
-
_context2.prev = 0;
|
|
3747
|
-
_context2.next = 1;
|
|
3748
|
-
return themeLoader.loadTheme(theme.name);
|
|
3749
|
-
case 1:
|
|
3750
|
-
console.log("Theme switched to: ".concat(theme.label));
|
|
3751
|
-
// Update checkmarks in all theme buttons
|
|
3752
|
-
setTimeout(function () {
|
|
3753
|
-
var newCurrentTheme = themeLoader.getCurrentTheme();
|
|
3754
|
-
helpMenuList.querySelectorAll('button').forEach(function (btn, idx) {
|
|
3755
|
-
// Theme buttons are first 5 buttons (after the label)
|
|
3756
|
-
if (idx < themes.length) {
|
|
3757
|
-
var themeInfo = themes[idx];
|
|
3758
|
-
btn.textContent = themeInfo.label + (themeInfo.name === newCurrentTheme ? ' ✓' : '');
|
|
3759
|
-
}
|
|
3760
|
-
});
|
|
3761
|
-
}, 100);
|
|
3762
|
-
_context2.next = 3;
|
|
3763
|
-
break;
|
|
3764
|
-
case 2:
|
|
3765
|
-
_context2.prev = 2;
|
|
3766
|
-
_t2 = _context2["catch"](0);
|
|
3767
|
-
console.error('Failed to switch theme:', _t2);
|
|
3768
|
-
case 3:
|
|
3769
|
-
case "end":
|
|
3770
|
-
return _context2.stop();
|
|
3771
|
-
}
|
|
3772
|
-
}, _callee2, null, [[0, 2]]);
|
|
3773
|
-
})));
|
|
3774
|
-
helpMenuList.appendChild(createUserMenuItem(themeButton));
|
|
3775
|
-
});
|
|
3776
|
-
|
|
3777
|
-
// Add separator
|
|
3778
|
-
var separator = document.createElement('li');
|
|
3779
|
-
separator.setAttribute('style', 'border-top: 1px solid #ddd; margin: 0.5em 0;');
|
|
3780
|
-
helpMenuList.appendChild(separator);
|
|
3781
|
-
}
|
|
3782
|
-
} catch (error) {
|
|
3783
|
-
console.warn('Theme loader not available', error);
|
|
3784
|
-
}
|
|
3785
|
-
|
|
3786
|
-
// Add regular help menu items
|
|
3787
3786
|
helpMenuItems.forEach(function (menuItem) {
|
|
3788
3787
|
var menuItemType = menuItem.url ? 'url' : 'onclick';
|
|
3789
3788
|
if (menuItemType === 'url') {
|
|
@@ -3830,8 +3829,8 @@ function createHelpMenu(options, helpMenuItems) {
|
|
|
3830
3829
|
});
|
|
3831
3830
|
return helpMenuContainer;
|
|
3832
3831
|
}
|
|
3833
|
-
/**
|
|
3834
|
-
* @ignore exporting this only for the unit test
|
|
3832
|
+
/**
|
|
3833
|
+
* @ignore exporting this only for the unit test
|
|
3835
3834
|
*/
|
|
3836
3835
|
function createLoginSignUpButtons() {
|
|
3837
3836
|
var profileLoginButtonPre = document.createElement('div');
|
|
@@ -3839,8 +3838,8 @@ function createLoginSignUpButtons() {
|
|
|
3839
3838
|
profileLoginButtonPre.appendChild((0,_login_login__WEBPACK_IMPORTED_MODULE_4__.loginStatusBox)(document, null, {}));
|
|
3840
3839
|
return profileLoginButtonPre;
|
|
3841
3840
|
}
|
|
3842
|
-
/**
|
|
3843
|
-
* @ignore exporting this only for the unit test
|
|
3841
|
+
/**
|
|
3842
|
+
* @ignore exporting this only for the unit test
|
|
3844
3843
|
*/
|
|
3845
3844
|
function createUserMenuButton(label, onClick) {
|
|
3846
3845
|
var button = document.createElement('button');
|
|
@@ -3855,8 +3854,8 @@ function createUserMenuButton(label, onClick) {
|
|
|
3855
3854
|
button.innerText = label;
|
|
3856
3855
|
return button;
|
|
3857
3856
|
}
|
|
3858
|
-
/**
|
|
3859
|
-
* @ignore exporting this only for the unit test
|
|
3857
|
+
/**
|
|
3858
|
+
* @ignore exporting this only for the unit test
|
|
3860
3859
|
*/
|
|
3861
3860
|
function createUserMenuLink(label, href, target) {
|
|
3862
3861
|
var link = document.createElement('a');
|
|
@@ -3873,28 +3872,28 @@ function createUserMenuLink(label, href, target) {
|
|
|
3873
3872
|
return link;
|
|
3874
3873
|
}
|
|
3875
3874
|
|
|
3876
|
-
/**
|
|
3877
|
-
* @ignore exporting this only for the unit test
|
|
3875
|
+
/**
|
|
3876
|
+
* @ignore exporting this only for the unit test
|
|
3878
3877
|
*/
|
|
3879
3878
|
function createUserMenu(_x9, _x0, _x1) {
|
|
3880
3879
|
return _createUserMenu.apply(this, arguments);
|
|
3881
3880
|
}
|
|
3882
3881
|
|
|
3883
|
-
/**
|
|
3884
|
-
* @ignore exporting this only for the unit test
|
|
3882
|
+
/**
|
|
3883
|
+
* @ignore exporting this only for the unit test
|
|
3885
3884
|
*/
|
|
3886
3885
|
function _createUserMenu() {
|
|
3887
|
-
_createUserMenu = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function
|
|
3886
|
+
_createUserMenu = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee4(store, user, userMenuList) {
|
|
3888
3887
|
var fetcher, loggedInMenuList, loggedInMenu, loggedInMenuTrigger, profileImg, loggedInMenuContainer, throttledMenuToggle, timer;
|
|
3889
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (
|
|
3890
|
-
while (1) switch (
|
|
3888
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context4) {
|
|
3889
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
3891
3890
|
case 0:
|
|
3892
3891
|
fetcher = store.fetcher;
|
|
3893
3892
|
if (!fetcher) {
|
|
3894
|
-
|
|
3893
|
+
_context4.next = 1;
|
|
3895
3894
|
break;
|
|
3896
3895
|
}
|
|
3897
|
-
|
|
3896
|
+
_context4.next = 1;
|
|
3898
3897
|
return fetcher.load(user);
|
|
3899
3898
|
case 1:
|
|
3900
3899
|
loggedInMenuList = document.createElement('ul');
|
|
@@ -3947,12 +3946,12 @@ function _createUserMenu() {
|
|
|
3947
3946
|
var nav = document.getElementById('loggedInNav');
|
|
3948
3947
|
nav === null || nav === void 0 || nav.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerUserMenuNavigationMenuNotDisplayed);
|
|
3949
3948
|
});
|
|
3950
|
-
return
|
|
3949
|
+
return _context4.abrupt("return", loggedInMenuContainer);
|
|
3951
3950
|
case 2:
|
|
3952
3951
|
case "end":
|
|
3953
|
-
return
|
|
3952
|
+
return _context4.stop();
|
|
3954
3953
|
}
|
|
3955
|
-
},
|
|
3954
|
+
}, _callee4);
|
|
3956
3955
|
}));
|
|
3957
3956
|
return _createUserMenu.apply(this, arguments);
|
|
3958
3957
|
}
|
|
@@ -3962,8 +3961,8 @@ function createUserMenuItem(child) {
|
|
|
3962
3961
|
menuProfileItem.appendChild(child);
|
|
3963
3962
|
return menuProfileItem;
|
|
3964
3963
|
}
|
|
3965
|
-
/**
|
|
3966
|
-
* @ignore exporting this only for the unit test
|
|
3964
|
+
/**
|
|
3965
|
+
* @ignore exporting this only for the unit test
|
|
3967
3966
|
*/
|
|
3968
3967
|
function getProfileImg(store, user) {
|
|
3969
3968
|
var profileUrl = null;
|
|
@@ -3981,8 +3980,8 @@ function getProfileImg(store, user) {
|
|
|
3981
3980
|
return profileImage;
|
|
3982
3981
|
}
|
|
3983
3982
|
|
|
3984
|
-
/**
|
|
3985
|
-
* @internal
|
|
3983
|
+
/**
|
|
3984
|
+
* @internal
|
|
3986
3985
|
*/
|
|
3987
3986
|
function toggleMenu(event, trigger, menu) {
|
|
3988
3987
|
var isExpanded = trigger.getAttribute('aria-expanded') === 'true';
|
|
@@ -10186,7 +10185,7 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10186
10185
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3468);
|
|
10187
10186
|
/* harmony import */ var _widgetHelpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(9287);
|
|
10188
10187
|
/* harmony import */ var _buttons_iconLinks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9326);
|
|
10189
|
-
/* Buttons
|
|
10188
|
+
/* Buttons
|
|
10190
10189
|
*/
|
|
10191
10190
|
|
|
10192
10191
|
|
|
@@ -10201,9 +10200,9 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10201
10200
|
|
|
10202
10201
|
|
|
10203
10202
|
|
|
10204
|
-
/**
|
|
10205
|
-
* UI Widgets such as buttons
|
|
10206
|
-
* @packageDocumentation
|
|
10203
|
+
/**
|
|
10204
|
+
* UI Widgets such as buttons
|
|
10205
|
+
* @packageDocumentation
|
|
10207
10206
|
*/
|
|
10208
10207
|
|
|
10209
10208
|
/* global alert */
|
|
@@ -10231,8 +10230,8 @@ function getStatusArea(context) {
|
|
|
10231
10230
|
return null;
|
|
10232
10231
|
}
|
|
10233
10232
|
|
|
10234
|
-
/**
|
|
10235
|
-
* Display an error message block
|
|
10233
|
+
/**
|
|
10234
|
+
* Display an error message block
|
|
10236
10235
|
*/
|
|
10237
10236
|
function complain(context, err) {
|
|
10238
10237
|
if (!err) return; // only if error
|
|
@@ -10241,8 +10240,8 @@ function complain(context, err) {
|
|
|
10241
10240
|
if (ele) ele.appendChild((0,_error__WEBPACK_IMPORTED_MODULE_10__/* .errorMessageBlock */ .F)(context && context.dom || document, err));else alert(err);
|
|
10242
10241
|
}
|
|
10243
10242
|
|
|
10244
|
-
/**
|
|
10245
|
-
* Remove all the children of an HTML element
|
|
10243
|
+
/**
|
|
10244
|
+
* Remove all the children of an HTML element
|
|
10246
10245
|
*/
|
|
10247
10246
|
function clearElement(ele) {
|
|
10248
10247
|
while (ele.firstChild) {
|
|
@@ -10251,8 +10250,8 @@ function clearElement(ele) {
|
|
|
10251
10250
|
return ele;
|
|
10252
10251
|
}
|
|
10253
10252
|
|
|
10254
|
-
/**
|
|
10255
|
-
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10253
|
+
/**
|
|
10254
|
+
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10256
10255
|
*/
|
|
10257
10256
|
function extractLogURI(fullURI) {
|
|
10258
10257
|
var logPos = fullURI.search(/logFile=/);
|
|
@@ -10260,11 +10259,11 @@ function extractLogURI(fullURI) {
|
|
|
10260
10259
|
return fullURI.substring(logPos + 8, rulPos);
|
|
10261
10260
|
}
|
|
10262
10261
|
|
|
10263
|
-
/**
|
|
10264
|
-
* By default, converts e.g. '2020-02-19T19:35:28.557Z' to '19:35'
|
|
10265
|
-
* if today is 19 Feb 2020, and to 'Feb 19' if not.
|
|
10266
|
-
* @@@ TODO This needs to be changed to local time
|
|
10267
|
-
* @param noTime Return a string like 'Feb 19' even if it's today.
|
|
10262
|
+
/**
|
|
10263
|
+
* By default, converts e.g. '2020-02-19T19:35:28.557Z' to '19:35'
|
|
10264
|
+
* if today is 19 Feb 2020, and to 'Feb 19' if not.
|
|
10265
|
+
* @@@ TODO This needs to be changed to local time
|
|
10266
|
+
* @param noTime Return a string like 'Feb 19' even if it's today.
|
|
10268
10267
|
*/
|
|
10269
10268
|
function shortDate(str, noTime) {
|
|
10270
10269
|
if (!str) return '???';
|
|
@@ -10285,11 +10284,11 @@ function shortDate(str, noTime) {
|
|
|
10285
10284
|
}
|
|
10286
10285
|
}
|
|
10287
10286
|
|
|
10288
|
-
/**
|
|
10289
|
-
* Format a date and time
|
|
10290
|
-
* @param date for instance `new Date()`
|
|
10291
|
-
* @param format for instance '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}'
|
|
10292
|
-
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10287
|
+
/**
|
|
10288
|
+
* Format a date and time
|
|
10289
|
+
* @param date for instance `new Date()`
|
|
10290
|
+
* @param format for instance '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}'
|
|
10291
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10293
10292
|
*/
|
|
10294
10293
|
function formatDateTime(date, format) {
|
|
10295
10294
|
return format.split('{').map(function (s) {
|
|
@@ -10305,17 +10304,17 @@ function formatDateTime(date, format) {
|
|
|
10305
10304
|
}).join('');
|
|
10306
10305
|
}
|
|
10307
10306
|
|
|
10308
|
-
/**
|
|
10309
|
-
* Get a string representation of the current time
|
|
10310
|
-
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10307
|
+
/**
|
|
10308
|
+
* Get a string representation of the current time
|
|
10309
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10311
10310
|
*/
|
|
10312
10311
|
function timestamp() {
|
|
10313
10312
|
return formatDateTime(new Date(), '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
10314
10313
|
}
|
|
10315
10314
|
|
|
10316
|
-
/**
|
|
10317
|
-
* Get a short string representation of the current time
|
|
10318
|
-
* @returns for instance '23:14:23.002'
|
|
10315
|
+
/**
|
|
10316
|
+
* Get a short string representation of the current time
|
|
10317
|
+
* @returns for instance '23:14:23.002'
|
|
10319
10318
|
*/
|
|
10320
10319
|
function shortTime() {
|
|
10321
10320
|
return formatDateTime(new Date(), '{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
@@ -10323,8 +10322,8 @@ function shortTime() {
|
|
|
10323
10322
|
|
|
10324
10323
|
// ///////////////////// Handy UX widgets
|
|
10325
10324
|
|
|
10326
|
-
/**
|
|
10327
|
-
* Sets the best name we have and looks up a better one
|
|
10325
|
+
/**
|
|
10326
|
+
* Sets the best name we have and looks up a better one
|
|
10328
10327
|
*/
|
|
10329
10328
|
function setName(element, x) {
|
|
10330
10329
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10345,29 +10344,29 @@ function setName(element, x) {
|
|
|
10345
10344
|
}
|
|
10346
10345
|
}
|
|
10347
10346
|
|
|
10348
|
-
/**
|
|
10349
|
-
* Set of suitable images
|
|
10350
|
-
* See also [[findImage]]
|
|
10351
|
-
* @param x The thing for which we want to find an image
|
|
10352
|
-
* @param kb The RDF store to look in
|
|
10353
|
-
* @returns It goes looking for triples in `kb`,
|
|
10354
|
-
* `(subject: x), (predicate: see list below) (object: image-url)`
|
|
10355
|
-
* to find any image linked from the thing with one of the following
|
|
10356
|
-
* predicates (in order):
|
|
10357
|
-
* * ns.sioc('avatar')
|
|
10358
|
-
* * ns.foaf('img')
|
|
10359
|
-
* * ns.vcard('logo')
|
|
10360
|
-
* * ns.vcard('hasPhoto')
|
|
10361
|
-
* * ns.vcard('photo')
|
|
10362
|
-
* * ns.foaf('depiction')
|
|
10363
|
-
|
|
10347
|
+
/**
|
|
10348
|
+
* Set of suitable images
|
|
10349
|
+
* See also [[findImage]]
|
|
10350
|
+
* @param x The thing for which we want to find an image
|
|
10351
|
+
* @param kb The RDF store to look in
|
|
10352
|
+
* @returns It goes looking for triples in `kb`,
|
|
10353
|
+
* `(subject: x), (predicate: see list below) (object: image-url)`
|
|
10354
|
+
* to find any image linked from the thing with one of the following
|
|
10355
|
+
* predicates (in order):
|
|
10356
|
+
* * ns.sioc('avatar')
|
|
10357
|
+
* * ns.foaf('img')
|
|
10358
|
+
* * ns.vcard('logo')
|
|
10359
|
+
* * ns.vcard('hasPhoto')
|
|
10360
|
+
* * ns.vcard('photo')
|
|
10361
|
+
* * ns.foaf('depiction')
|
|
10362
|
+
|
|
10364
10363
|
*/
|
|
10365
10364
|
function imagesOf(x, kb) {
|
|
10366
10365
|
return kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.sioc('avatar')).concat(kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.foaf('img'))).concat(kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.vcard('logo'))).concat(kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.vcard('hasPhoto'))).concat(kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.vcard('photo'))).concat(kb.each(x, _ns__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.foaf('depiction')));
|
|
10367
10366
|
}
|
|
10368
10367
|
|
|
10369
|
-
/**
|
|
10370
|
-
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10368
|
+
/**
|
|
10369
|
+
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10371
10370
|
*/
|
|
10372
10371
|
var iconForClass = {
|
|
10373
10372
|
// Potentially extendable by other apps, panes, etc
|
|
@@ -10402,8 +10401,8 @@ var iconForClass = {
|
|
|
10402
10401
|
'wf:Closed': 'noun_17020.svg'
|
|
10403
10402
|
};
|
|
10404
10403
|
|
|
10405
|
-
/**
|
|
10406
|
-
* Returns the origin of the URI of a NamedNode
|
|
10404
|
+
/**
|
|
10405
|
+
* Returns the origin of the URI of a NamedNode
|
|
10407
10406
|
*/
|
|
10408
10407
|
function tempSite(x) {
|
|
10409
10408
|
// use only while one in rdflib fails with origins 2019
|
|
@@ -10419,8 +10418,8 @@ function tempSite(x) {
|
|
|
10419
10418
|
}
|
|
10420
10419
|
}
|
|
10421
10420
|
|
|
10422
|
-
/**
|
|
10423
|
-
* Find an image for this thing as a class
|
|
10421
|
+
/**
|
|
10422
|
+
* Find an image for this thing as a class
|
|
10424
10423
|
*/
|
|
10425
10424
|
function findImageFromURI(x) {
|
|
10426
10425
|
var iconDir = iconBase;
|
|
@@ -10450,22 +10449,22 @@ function findImageFromURI(x) {
|
|
|
10450
10449
|
return iconDir + 'noun_10636_grey.svg'; // Grey Circle - some thing
|
|
10451
10450
|
}
|
|
10452
10451
|
|
|
10453
|
-
/**
|
|
10454
|
-
* Find something we have as explicit image data for the thing
|
|
10455
|
-
* See also [[imagesOf]]
|
|
10456
|
-
* @param thing The thing for which we want to find an image
|
|
10457
|
-
* @returns The URL of a globe icon if thing equals `ns.foaf('Agent')`
|
|
10458
|
-
* or `ns.rdf('Resource')`. Otherwise, it goes looking for
|
|
10459
|
-
* triples in `store`,
|
|
10460
|
-
* `(subject: thing), (predicate: see list below) (object: image-url)`
|
|
10461
|
-
* to find any image linked from the thing with one of the following
|
|
10462
|
-
* predicates (in order):
|
|
10463
|
-
* * ns.sioc('avatar')
|
|
10464
|
-
* * ns.foaf('img')
|
|
10465
|
-
* * ns.vcard('logo')
|
|
10466
|
-
* * ns.vcard('hasPhoto')
|
|
10467
|
-
* * ns.vcard('photo')
|
|
10468
|
-
* * ns.foaf('depiction')
|
|
10452
|
+
/**
|
|
10453
|
+
* Find something we have as explicit image data for the thing
|
|
10454
|
+
* See also [[imagesOf]]
|
|
10455
|
+
* @param thing The thing for which we want to find an image
|
|
10456
|
+
* @returns The URL of a globe icon if thing equals `ns.foaf('Agent')`
|
|
10457
|
+
* or `ns.rdf('Resource')`. Otherwise, it goes looking for
|
|
10458
|
+
* triples in `store`,
|
|
10459
|
+
* `(subject: thing), (predicate: see list below) (object: image-url)`
|
|
10460
|
+
* to find any image linked from the thing with one of the following
|
|
10461
|
+
* predicates (in order):
|
|
10462
|
+
* * ns.sioc('avatar')
|
|
10463
|
+
* * ns.foaf('img')
|
|
10464
|
+
* * ns.vcard('logo')
|
|
10465
|
+
* * ns.vcard('hasPhoto')
|
|
10466
|
+
* * ns.vcard('photo')
|
|
10467
|
+
* * ns.foaf('depiction')
|
|
10469
10468
|
*/
|
|
10470
10469
|
function findImage(thing) {
|
|
10471
10470
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10477,11 +10476,11 @@ function findImage(thing) {
|
|
|
10477
10476
|
return image ? image.uri : null;
|
|
10478
10477
|
}
|
|
10479
10478
|
|
|
10480
|
-
/**
|
|
10481
|
-
* Do the best you can with the data available
|
|
10482
|
-
*
|
|
10483
|
-
* @return {Boolean} Are we happy with this icon?
|
|
10484
|
-
* Sets src AND STYLE of the image.
|
|
10479
|
+
/**
|
|
10480
|
+
* Do the best you can with the data available
|
|
10481
|
+
*
|
|
10482
|
+
* @return {Boolean} Are we happy with this icon?
|
|
10483
|
+
* Sets src AND STYLE of the image.
|
|
10485
10484
|
*/
|
|
10486
10485
|
function trySetImage(element, thing, iconForClassMap) {
|
|
10487
10486
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10517,8 +10516,8 @@ function trySetImage(element, thing, iconForClassMap) {
|
|
|
10517
10516
|
return false; // we can do better
|
|
10518
10517
|
}
|
|
10519
10518
|
|
|
10520
|
-
/**
|
|
10521
|
-
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10519
|
+
/**
|
|
10520
|
+
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10522
10521
|
*/
|
|
10523
10522
|
function setImage(element, thing) {
|
|
10524
10523
|
// 20191230a
|
|
@@ -10567,7 +10566,7 @@ function faviconOrDefault(dom, x) {
|
|
|
10567
10566
|
}
|
|
10568
10567
|
}
|
|
10569
10568
|
|
|
10570
|
-
/* Two-option dialog pop-up
|
|
10569
|
+
/* Two-option dialog pop-up
|
|
10571
10570
|
*/
|
|
10572
10571
|
|
|
10573
10572
|
function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunction) {
|
|
@@ -10618,9 +10617,9 @@ function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunctio
|
|
|
10618
10617
|
cancelPrompt.addEventListener('click', removePopup);
|
|
10619
10618
|
return popup;
|
|
10620
10619
|
}
|
|
10621
|
-
/**
|
|
10622
|
-
* Delete button with a check you really mean it
|
|
10623
|
-
* @@ Supress check if command key held down?
|
|
10620
|
+
/**
|
|
10621
|
+
* Delete button with a check you really mean it
|
|
10622
|
+
* @@ Supress check if command key held down?
|
|
10624
10623
|
*/
|
|
10625
10624
|
function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
10626
10625
|
function createPopup() {
|
|
@@ -10646,14 +10645,14 @@ function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
|
10646
10645
|
return deleteButton; // or button div? caller may change size of image
|
|
10647
10646
|
}
|
|
10648
10647
|
|
|
10649
|
-
/* Make a button
|
|
10650
|
-
*
|
|
10651
|
-
* @param dom - the DOM document object
|
|
10652
|
-
* @Param iconURI - the URI of the icon to use (if any)
|
|
10653
|
-
* @param text - the tooltip text or possibly button contents text
|
|
10654
|
-
* @param handler <function> - A handler to called when button is clicked
|
|
10655
|
-
*
|
|
10656
|
-
* @returns <dDomElement> - the button
|
|
10648
|
+
/* Make a button
|
|
10649
|
+
*
|
|
10650
|
+
* @param dom - the DOM document object
|
|
10651
|
+
* @Param iconURI - the URI of the icon to use (if any)
|
|
10652
|
+
* @param text - the tooltip text or possibly button contents text
|
|
10653
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10654
|
+
*
|
|
10655
|
+
* @returns <dDomElement> - the button
|
|
10657
10656
|
*/
|
|
10658
10657
|
function button(dom, iconURI, text, handler) {
|
|
10659
10658
|
var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
|
|
@@ -10666,7 +10665,7 @@ function button(dom, iconURI, text, handler) {
|
|
|
10666
10665
|
if (iconURI) {
|
|
10667
10666
|
var img = button.appendChild(dom.createElement('img'));
|
|
10668
10667
|
img.setAttribute('src', iconURI);
|
|
10669
|
-
img.setAttribute('style',
|
|
10668
|
+
img.setAttribute('style', 'width: 2em; height: 2em;'); // trial and error. 2em disappears
|
|
10670
10669
|
img.title = text;
|
|
10671
10670
|
button.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_3__/* .style */ .i.buttonStyle);
|
|
10672
10671
|
} else {
|
|
@@ -10721,12 +10720,12 @@ function button(dom, iconURI, text, handler) {
|
|
|
10721
10720
|
return button;
|
|
10722
10721
|
}
|
|
10723
10722
|
|
|
10724
|
-
/* Make a cancel button
|
|
10725
|
-
*
|
|
10726
|
-
* @param dom - the DOM document object
|
|
10727
|
-
* @param handler <function> - A handler to called when button is clicked
|
|
10728
|
-
*
|
|
10729
|
-
* @returns <dDomElement> - the button
|
|
10723
|
+
/* Make a cancel button
|
|
10724
|
+
*
|
|
10725
|
+
* @param dom - the DOM document object
|
|
10726
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10727
|
+
*
|
|
10728
|
+
* @returns <dDomElement> - the button
|
|
10730
10729
|
*/
|
|
10731
10730
|
function cancelButton(dom, handler) {
|
|
10732
10731
|
var b = button(dom, cancelIconURI, 'Cancel', handler);
|
|
@@ -10737,22 +10736,22 @@ function cancelButton(dom, handler) {
|
|
|
10737
10736
|
return b;
|
|
10738
10737
|
}
|
|
10739
10738
|
|
|
10740
|
-
/* Make a continue button
|
|
10741
|
-
*
|
|
10742
|
-
* @param dom - the DOM document object
|
|
10743
|
-
* @param handler <function> - A handler to called when button is clicked
|
|
10744
|
-
*
|
|
10745
|
-
* @returns <dDomElement> - the button
|
|
10739
|
+
/* Make a continue button
|
|
10740
|
+
*
|
|
10741
|
+
* @param dom - the DOM document object
|
|
10742
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10743
|
+
*
|
|
10744
|
+
* @returns <dDomElement> - the button
|
|
10746
10745
|
*/
|
|
10747
10746
|
function continueButton(dom, handler) {
|
|
10748
10747
|
return button(dom, checkIconURI, 'Continue', handler);
|
|
10749
10748
|
}
|
|
10750
10749
|
|
|
10751
|
-
/* Grab a name for a new thing
|
|
10752
|
-
*
|
|
10753
|
-
* Form to get the name of a new thing before we create it
|
|
10754
|
-
* @params theClass Misspelt to avoid clashing with the JavaScript keyword
|
|
10755
|
-
* @returns: a promise of (a name or null if cancelled)
|
|
10750
|
+
/* Grab a name for a new thing
|
|
10751
|
+
*
|
|
10752
|
+
* Form to get the name of a new thing before we create it
|
|
10753
|
+
* @params theClass Misspelt to avoid clashing with the JavaScript keyword
|
|
10754
|
+
* @returns: a promise of (a name or null if cancelled)
|
|
10756
10755
|
*/
|
|
10757
10756
|
function askName(dom, kb, container, predicate, theClass, noun) {
|
|
10758
10757
|
return new Promise(function (resolve, _reject) {
|
|
@@ -10794,10 +10793,10 @@ function askName(dom, kb, container, predicate, theClass, noun) {
|
|
|
10794
10793
|
}); // Promise
|
|
10795
10794
|
}
|
|
10796
10795
|
|
|
10797
|
-
/**
|
|
10798
|
-
* A TR to represent a draggable person, etc in a list
|
|
10799
|
-
*
|
|
10800
|
-
* pred is unused param at the moment
|
|
10796
|
+
/**
|
|
10797
|
+
* A TR to represent a draggable person, etc in a list
|
|
10798
|
+
*
|
|
10799
|
+
* pred is unused param at the moment
|
|
10801
10800
|
*/
|
|
10802
10801
|
var personTR = renderAsRow; // The legacy name is used in a lot of places
|
|
10803
10802
|
|
|
@@ -10811,9 +10810,9 @@ function renderAsRow(dom, pred, obj, options) {
|
|
|
10811
10810
|
|
|
10812
10811
|
// const image = td1.appendChild(dom.createElement('img'))
|
|
10813
10812
|
var image = options.image || faviconOrDefault(dom, obj);
|
|
10814
|
-
td1.setAttribute('style', 'vertical-align: middle; width:
|
|
10813
|
+
td1.setAttribute('style', 'vertical-align: middle; width:2.5em; padding:0.5em; height: 2.5em;');
|
|
10815
10814
|
td2.setAttribute('style', 'vertical-align: middle; text-align:left;');
|
|
10816
|
-
td3.setAttribute('style', 'vertical-align: middle; width:
|
|
10815
|
+
td3.setAttribute('style', 'vertical-align: middle; width:2em; padding:0.5em; height: 4em;');
|
|
10817
10816
|
td1.appendChild(image);
|
|
10818
10817
|
if (options.title) {
|
|
10819
10818
|
td2.textContent = options.title;
|
|
@@ -10841,11 +10840,11 @@ function renderAsRow(dom, pred, obj, options) {
|
|
|
10841
10840
|
return tr;
|
|
10842
10841
|
}
|
|
10843
10842
|
|
|
10844
|
-
/* A helper function for renderAsDiv
|
|
10845
|
-
* creates the NameDiv for the person
|
|
10846
|
-
* Note: could not move it to the helper file because they call exported functions
|
|
10847
|
-
* from buttons
|
|
10848
|
-
* @internal exporting this only for unit tests
|
|
10843
|
+
/* A helper function for renderAsDiv
|
|
10844
|
+
* creates the NameDiv for the person
|
|
10845
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10846
|
+
* from buttons
|
|
10847
|
+
* @internal exporting this only for unit tests
|
|
10849
10848
|
*/
|
|
10850
10849
|
function createNameDiv(dom, div, title, obj) {
|
|
10851
10850
|
var nameDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10855,11 +10854,11 @@ function createNameDiv(dom, div, title, obj) {
|
|
|
10855
10854
|
setName(nameDiv, obj); // This is async
|
|
10856
10855
|
}
|
|
10857
10856
|
}
|
|
10858
|
-
/* A helper function for renderAsDiv
|
|
10859
|
-
* creates the linkDiv for the person
|
|
10860
|
-
* Note: could not move it to the helper file because they call exported functions
|
|
10861
|
-
* from buttons
|
|
10862
|
-
* @internal exporting this only for unit tests
|
|
10857
|
+
/* A helper function for renderAsDiv
|
|
10858
|
+
* creates the linkDiv for the person
|
|
10859
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10860
|
+
* from buttons
|
|
10861
|
+
* @internal exporting this only for unit tests
|
|
10863
10862
|
*/
|
|
10864
10863
|
function createLinkDiv(dom, div, obj, options) {
|
|
10865
10864
|
var linkDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10875,9 +10874,9 @@ function createLinkDiv(dom, div, obj, options) {
|
|
|
10875
10874
|
(0,_dragAndDrop__WEBPACK_IMPORTED_MODULE_6__/* .makeDraggable */ .eB)(div, obj);
|
|
10876
10875
|
}
|
|
10877
10876
|
}
|
|
10878
|
-
/**
|
|
10879
|
-
* A Div to represent a draggable person, etc in a list
|
|
10880
|
-
* configurable to add an onClick listener
|
|
10877
|
+
/**
|
|
10878
|
+
* A Div to represent a draggable person, etc in a list
|
|
10879
|
+
* configurable to add an onClick listener
|
|
10881
10880
|
*/
|
|
10882
10881
|
function renderAsDiv(dom, obj, options) {
|
|
10883
10882
|
var div = dom.createElement('div');
|
|
@@ -10899,8 +10898,8 @@ function renderAsDiv(dom, obj, options) {
|
|
|
10899
10898
|
return div;
|
|
10900
10899
|
}
|
|
10901
10900
|
|
|
10902
|
-
/**
|
|
10903
|
-
* Refresh a DOM tree recursively
|
|
10901
|
+
/**
|
|
10902
|
+
* Refresh a DOM tree recursively
|
|
10904
10903
|
*/
|
|
10905
10904
|
function refreshTree(root) {
|
|
10906
10905
|
if (root.refresh) {
|
|
@@ -10912,15 +10911,15 @@ function refreshTree(root) {
|
|
|
10912
10911
|
}
|
|
10913
10912
|
}
|
|
10914
10913
|
|
|
10915
|
-
/**
|
|
10916
|
-
* Options argument for [[attachmentList]] function
|
|
10914
|
+
/**
|
|
10915
|
+
* Options argument for [[attachmentList]] function
|
|
10917
10916
|
*/
|
|
10918
10917
|
|
|
10919
|
-
/**
|
|
10920
|
-
* Component that displays a list of resources, for instance
|
|
10921
|
-
* the attachments of a message, or the various documents related
|
|
10922
|
-
* to a meeting.
|
|
10923
|
-
* Accepts dropping URLs onto it to add attachments to it.
|
|
10918
|
+
/**
|
|
10919
|
+
* Component that displays a list of resources, for instance
|
|
10920
|
+
* the attachments of a message, or the various documents related
|
|
10921
|
+
* to a meeting.
|
|
10922
|
+
* Accepts dropping URLs onto it to add attachments to it.
|
|
10924
10923
|
*/
|
|
10925
10924
|
function attachmentList(dom, subject, div) {
|
|
10926
10925
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
@@ -11033,11 +11032,11 @@ function attachmentList(dom, subject, div) {
|
|
|
11033
11032
|
|
|
11034
11033
|
// /////////////////////////////////////////////////////////////////////////////
|
|
11035
11034
|
|
|
11036
|
-
/**
|
|
11037
|
-
* Event Handler for links within solid apps.
|
|
11038
|
-
*
|
|
11039
|
-
* Note that native links have constraints in Firefox, they
|
|
11040
|
-
* don't work with local files for instance (2011)
|
|
11035
|
+
/**
|
|
11036
|
+
* Event Handler for links within solid apps.
|
|
11037
|
+
*
|
|
11038
|
+
* Note that native links have constraints in Firefox, they
|
|
11039
|
+
* don't work with local files for instance (2011)
|
|
11041
11040
|
*/
|
|
11042
11041
|
function openHrefInOutlineMode(e) {
|
|
11043
11042
|
e.preventDefault();
|
|
@@ -11061,10 +11060,10 @@ function openHrefInOutlineMode(e) {
|
|
|
11061
11060
|
// dom.outlineManager.GotoSubject(store.sym(uri), true, undefined, true, undefined)
|
|
11062
11061
|
}
|
|
11063
11062
|
|
|
11064
|
-
/**
|
|
11065
|
-
* Make a URI in the Tabulator.org annotation store out of the URI of the thing to be annotated.
|
|
11066
|
-
*
|
|
11067
|
-
* @@ Todo: make it a personal preference.
|
|
11063
|
+
/**
|
|
11064
|
+
* Make a URI in the Tabulator.org annotation store out of the URI of the thing to be annotated.
|
|
11065
|
+
*
|
|
11066
|
+
* @@ Todo: make it a personal preference.
|
|
11068
11067
|
*/
|
|
11069
11068
|
function defaultAnnotationStore(subject) {
|
|
11070
11069
|
if (subject.uri === undefined) return undefined;
|
|
@@ -11082,10 +11081,10 @@ function defaultAnnotationStore(subject) {
|
|
|
11082
11081
|
return solid_logic__WEBPACK_IMPORTED_MODULE_7__.store.sym('http://tabulator.org/wiki/annnotation/' + s);
|
|
11083
11082
|
}
|
|
11084
11083
|
|
|
11085
|
-
/**
|
|
11086
|
-
* Retrieve all RDF class URIs from solid-ui's RDF store
|
|
11087
|
-
* @returns an object `ret` such that `Object.keys(ret)` is
|
|
11088
|
-
* the list of all class URIs.
|
|
11084
|
+
/**
|
|
11085
|
+
* Retrieve all RDF class URIs from solid-ui's RDF store
|
|
11086
|
+
* @returns an object `ret` such that `Object.keys(ret)` is
|
|
11087
|
+
* the list of all class URIs.
|
|
11089
11088
|
*/
|
|
11090
11089
|
function allClassURIs() {
|
|
11091
11090
|
var set = {};
|
|
@@ -11102,16 +11101,16 @@ function allClassURIs() {
|
|
|
11102
11101
|
return set;
|
|
11103
11102
|
}
|
|
11104
11103
|
|
|
11105
|
-
/**
|
|
11106
|
-
* Figuring which properties we know about
|
|
11107
|
-
*
|
|
11108
|
-
* When the user inputs an RDF property, like for a form field
|
|
11109
|
-
* or when specifying the relationship between two arbitrary things,
|
|
11110
|
-
* then er can prompt them with properties the session knows about
|
|
11111
|
-
*
|
|
11112
|
-
* TODO: Look again by catching this somewhere. (On the kb?)
|
|
11113
|
-
* TODO: move to diff module? Not really a button.
|
|
11114
|
-
* @param {Store} kb The quadstore to be searched.
|
|
11104
|
+
/**
|
|
11105
|
+
* Figuring which properties we know about
|
|
11106
|
+
*
|
|
11107
|
+
* When the user inputs an RDF property, like for a form field
|
|
11108
|
+
* or when specifying the relationship between two arbitrary things,
|
|
11109
|
+
* then er can prompt them with properties the session knows about
|
|
11110
|
+
*
|
|
11111
|
+
* TODO: Look again by catching this somewhere. (On the kb?)
|
|
11112
|
+
* TODO: move to diff module? Not really a button.
|
|
11113
|
+
* @param {Store} kb The quadstore to be searched.
|
|
11115
11114
|
*/
|
|
11116
11115
|
|
|
11117
11116
|
function propertyTriage(kb) {
|
|
@@ -11149,12 +11148,12 @@ function propertyTriage(kb) {
|
|
|
11149
11148
|
return possibleProperties;
|
|
11150
11149
|
}
|
|
11151
11150
|
|
|
11152
|
-
/**
|
|
11153
|
-
* General purpose widgets
|
|
11151
|
+
/**
|
|
11152
|
+
* General purpose widgets
|
|
11154
11153
|
*/
|
|
11155
11154
|
|
|
11156
|
-
/**
|
|
11157
|
-
* A button for jumping
|
|
11155
|
+
/**
|
|
11156
|
+
* A button for jumping
|
|
11158
11157
|
*/
|
|
11159
11158
|
function linkButton(dom, object) {
|
|
11160
11159
|
var b = dom.createElement('button');
|
|
@@ -11169,8 +11168,8 @@ function linkButton(dom, object) {
|
|
|
11169
11168
|
return b;
|
|
11170
11169
|
}
|
|
11171
11170
|
|
|
11172
|
-
/**
|
|
11173
|
-
* A button to remove some other element from the page
|
|
11171
|
+
/**
|
|
11172
|
+
* A button to remove some other element from the page
|
|
11174
11173
|
*/
|
|
11175
11174
|
function removeButton(dom, element) {
|
|
11176
11175
|
var b = dom.createElement('button');
|
|
@@ -11200,17 +11199,17 @@ function removeButton(dom, element) {
|
|
|
11200
11199
|
//
|
|
11201
11200
|
// These are for selecting different modes, sources,styles, etc.
|
|
11202
11201
|
//
|
|
11203
|
-
/*
|
|
11204
|
-
buttons.headerButtons = function (dom, kb, name, words) {
|
|
11205
|
-
const box = dom.createElement('table')
|
|
11206
|
-
var i, word, s = '<tr>'
|
|
11207
|
-
box.setAttribute('style', 'width: 90%; height: 1.5em')
|
|
11208
|
-
for (i=0; i<words.length; i++) {
|
|
11209
|
-
s += '<td><input type="radio" name="' + name + '" id="' + words[i] + '" value='
|
|
11210
|
-
}
|
|
11211
|
-
box.innerHTML = s + '</tr>'
|
|
11212
|
-
|
|
11213
|
-
}
|
|
11202
|
+
/*
|
|
11203
|
+
buttons.headerButtons = function (dom, kb, name, words) {
|
|
11204
|
+
const box = dom.createElement('table')
|
|
11205
|
+
var i, word, s = '<tr>'
|
|
11206
|
+
box.setAttribute('style', 'width: 90%; height: 1.5em')
|
|
11207
|
+
for (i=0; i<words.length; i++) {
|
|
11208
|
+
s += '<td><input type="radio" name="' + name + '" id="' + words[i] + '" value='
|
|
11209
|
+
}
|
|
11210
|
+
box.innerHTML = s + '</tr>'
|
|
11211
|
+
|
|
11212
|
+
}
|
|
11214
11213
|
*/
|
|
11215
11214
|
// ////////////////////////////////////////////////////////////
|
|
11216
11215
|
//
|
|
@@ -11300,9 +11299,9 @@ function twoLineDefault(dom, x) {
|
|
|
11300
11299
|
return box;
|
|
11301
11300
|
}
|
|
11302
11301
|
|
|
11303
|
-
/**
|
|
11304
|
-
* Find a function that can create a widget for a given class
|
|
11305
|
-
* @param c The RDF class for which we want a widget generator function
|
|
11302
|
+
/**
|
|
11303
|
+
* Find a function that can create a widget for a given class
|
|
11304
|
+
* @param c The RDF class for which we want a widget generator function
|
|
11306
11305
|
*/
|
|
11307
11306
|
function twoLineWidgetForClass(c) {
|
|
11308
11307
|
var widget = index.twoLine[c.uri];
|
|
@@ -11316,12 +11315,12 @@ function twoLineWidgetForClass(c) {
|
|
|
11316
11315
|
return index.twoLine[''];
|
|
11317
11316
|
}
|
|
11318
11317
|
|
|
11319
|
-
/**
|
|
11320
|
-
* Display a transaction
|
|
11321
|
-
* @param x Should have attributes through triples in store:
|
|
11322
|
-
* * ns.qu('payee') -> a named node
|
|
11323
|
-
* * ns.qu('date) -> a literal
|
|
11324
|
-
* * ns.qu('amount') -> a literal
|
|
11318
|
+
/**
|
|
11319
|
+
* Display a transaction
|
|
11320
|
+
* @param x Should have attributes through triples in store:
|
|
11321
|
+
* * ns.qu('payee') -> a named node
|
|
11322
|
+
* * ns.qu('date) -> a literal
|
|
11323
|
+
* * ns.qu('amount') -> a literal
|
|
11325
11324
|
*/
|
|
11326
11325
|
function twoLineTransaction(dom, x) {
|
|
11327
11326
|
var failed = '';
|
|
@@ -11338,12 +11337,12 @@ function twoLineTransaction(dom, x) {
|
|
|
11338
11337
|
return box;
|
|
11339
11338
|
}
|
|
11340
11339
|
|
|
11341
|
-
/**
|
|
11342
|
-
* Display a trip
|
|
11343
|
-
* @param x Should have attributes through triples in store:
|
|
11344
|
-
* * ns.dc('title') -> a literal
|
|
11345
|
-
* * ns.cal('dtstart') -> a literal
|
|
11346
|
-
* * ns.cal('dtend') -> a literal
|
|
11340
|
+
/**
|
|
11341
|
+
* Display a trip
|
|
11342
|
+
* @param x Should have attributes through triples in store:
|
|
11343
|
+
* * ns.dc('title') -> a literal
|
|
11344
|
+
* * ns.cal('dtstart') -> a literal
|
|
11345
|
+
* * ns.cal('dtend') -> a literal
|
|
11347
11346
|
*/
|
|
11348
11347
|
function twoLineTrip(dom, x) {
|
|
11349
11348
|
var enc = function enc(p) {
|
|
@@ -11355,8 +11354,8 @@ function twoLineTrip(dom, x) {
|
|
|
11355
11354
|
return box;
|
|
11356
11355
|
}
|
|
11357
11356
|
|
|
11358
|
-
/**
|
|
11359
|
-
* Stick a stylesheet link the document if not already there
|
|
11357
|
+
/**
|
|
11358
|
+
* Stick a stylesheet link the document if not already there
|
|
11360
11359
|
*/
|
|
11361
11360
|
function addStyleSheet(dom, href) {
|
|
11362
11361
|
var links = dom.querySelectorAll('link');
|
|
@@ -11380,8 +11379,8 @@ function isAudio(file) {
|
|
|
11380
11379
|
function isVideo(file) {
|
|
11381
11380
|
return isImage(file, 'video');
|
|
11382
11381
|
}
|
|
11383
|
-
/**
|
|
11384
|
-
*
|
|
11382
|
+
/**
|
|
11383
|
+
*
|
|
11385
11384
|
*/
|
|
11386
11385
|
function isImage(file, kind) {
|
|
11387
11386
|
var dcCLasses = {
|
|
@@ -11403,12 +11402,12 @@ function isImage(file, kind) {
|
|
|
11403
11402
|
return false;
|
|
11404
11403
|
}
|
|
11405
11404
|
|
|
11406
|
-
/**
|
|
11407
|
-
* File upload button
|
|
11408
|
-
* @param dom The DOM aka document
|
|
11409
|
-
* @param droppedFileHandler Same handler function as drop, takes array of file objects
|
|
11410
|
-
* @returns {Element} - a div with a button and a inout in it
|
|
11411
|
-
* The input is hidden, as it is uglky - the user clicks on the nice icons and fires the input.
|
|
11405
|
+
/**
|
|
11406
|
+
* File upload button
|
|
11407
|
+
* @param dom The DOM aka document
|
|
11408
|
+
* @param droppedFileHandler Same handler function as drop, takes array of file objects
|
|
11409
|
+
* @returns {Element} - a div with a button and a inout in it
|
|
11410
|
+
* The input is hidden, as it is uglky - the user clicks on the nice icons and fires the input.
|
|
11412
11411
|
*/
|
|
11413
11412
|
// See https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications
|
|
11414
11413
|
function fileUploadButtonDiv(dom, droppedFileHandler) {
|
|
@@ -21510,341 +21509,6 @@ function setFieldStyle(ele, field) {
|
|
|
21510
21509
|
|
|
21511
21510
|
/***/ },
|
|
21512
21511
|
|
|
21513
|
-
/***/ 7732
|
|
21514
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21515
|
-
|
|
21516
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21517
|
-
/* harmony export */ r: () => (/* binding */ themeLoader)
|
|
21518
|
-
/* harmony export */ });
|
|
21519
|
-
/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(467);
|
|
21520
|
-
/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3029);
|
|
21521
|
-
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2901);
|
|
21522
|
-
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4756);
|
|
21523
|
-
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3__);
|
|
21524
|
-
|
|
21525
|
-
|
|
21526
|
-
|
|
21527
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
21528
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
21529
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
21530
|
-
|
|
21531
|
-
/**
|
|
21532
|
-
* Theme Loader for Solid-UI
|
|
21533
|
-
* Handles dynamic theme loading and switching
|
|
21534
|
-
*/
|
|
21535
|
-
|
|
21536
|
-
var STORAGE_KEY = 'solid-ui-theme';
|
|
21537
|
-
var DEFAULT_THEME = 'classic';
|
|
21538
|
-
var ThemeLoader = /*#__PURE__*/function () {
|
|
21539
|
-
function ThemeLoader() {
|
|
21540
|
-
(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(this, ThemeLoader);
|
|
21541
|
-
this.themes = {
|
|
21542
|
-
classic: 'theme-classic.css',
|
|
21543
|
-
"default": 'theme-default.css',
|
|
21544
|
-
wave: 'theme-wave.css',
|
|
21545
|
-
telegram: 'theme-telegram.css',
|
|
21546
|
-
signal: 'theme-signal.css'
|
|
21547
|
-
};
|
|
21548
|
-
this.currentTheme = this.getSavedTheme();
|
|
21549
|
-
this.linkElements = {};
|
|
21550
|
-
this.initialized = false;
|
|
21551
|
-
}
|
|
21552
|
-
|
|
21553
|
-
/**
|
|
21554
|
-
* Initialize the theme system
|
|
21555
|
-
* Loads foundation CSS and current theme
|
|
21556
|
-
*/
|
|
21557
|
-
return (0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(ThemeLoader, [{
|
|
21558
|
-
key: "init",
|
|
21559
|
-
value: (function () {
|
|
21560
|
-
var _init = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().mark(function _callee() {
|
|
21561
|
-
var _t;
|
|
21562
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().wrap(function (_context) {
|
|
21563
|
-
while (1) switch (_context.prev = _context.next) {
|
|
21564
|
-
case 0:
|
|
21565
|
-
if (!this.initialized) {
|
|
21566
|
-
_context.next = 1;
|
|
21567
|
-
break;
|
|
21568
|
-
}
|
|
21569
|
-
return _context.abrupt("return");
|
|
21570
|
-
case 1:
|
|
21571
|
-
_context.prev = 1;
|
|
21572
|
-
_context.next = 2;
|
|
21573
|
-
return this.loadFoundation();
|
|
21574
|
-
case 2:
|
|
21575
|
-
_context.next = 3;
|
|
21576
|
-
return this.loadTheme(this.currentTheme);
|
|
21577
|
-
case 3:
|
|
21578
|
-
this.initialized = true;
|
|
21579
|
-
_context.next = 5;
|
|
21580
|
-
break;
|
|
21581
|
-
case 4:
|
|
21582
|
-
_context.prev = 4;
|
|
21583
|
-
_t = _context["catch"](1);
|
|
21584
|
-
console.error('Failed to initialize theme system:', _t);
|
|
21585
|
-
// Continue without themes - use inline styles as fallback
|
|
21586
|
-
case 5:
|
|
21587
|
-
case "end":
|
|
21588
|
-
return _context.stop();
|
|
21589
|
-
}
|
|
21590
|
-
}, _callee, this, [[1, 4]]);
|
|
21591
|
-
}));
|
|
21592
|
-
function init() {
|
|
21593
|
-
return _init.apply(this, arguments);
|
|
21594
|
-
}
|
|
21595
|
-
return init;
|
|
21596
|
-
}()
|
|
21597
|
-
/**
|
|
21598
|
-
* Load foundation CSS (variables + accessibility)
|
|
21599
|
-
*/
|
|
21600
|
-
)
|
|
21601
|
-
}, {
|
|
21602
|
-
key: "loadFoundation",
|
|
21603
|
-
value: (function () {
|
|
21604
|
-
var _loadFoundation = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().mark(function _callee2() {
|
|
21605
|
-
var variablesLink, a11yLink;
|
|
21606
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().wrap(function (_context2) {
|
|
21607
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
21608
|
-
case 0:
|
|
21609
|
-
// Variables
|
|
21610
|
-
variablesLink = this.createLinkElement('solid-ui-variables', 'theme-variables.css');
|
|
21611
|
-
document.head.insertBefore(variablesLink, document.head.firstChild);
|
|
21612
|
-
this.linkElements.variables = variablesLink;
|
|
21613
|
-
|
|
21614
|
-
// Accessibility
|
|
21615
|
-
a11yLink = this.createLinkElement('solid-ui-accessibility', 'theme-accessibility.css');
|
|
21616
|
-
document.head.insertBefore(a11yLink, document.head.firstChild);
|
|
21617
|
-
this.linkElements.accessibility = a11yLink;
|
|
21618
|
-
|
|
21619
|
-
// Wait for CSS to load
|
|
21620
|
-
_context2.next = 1;
|
|
21621
|
-
return Promise.all([this.waitForStylesheet(variablesLink), this.waitForStylesheet(a11yLink)]);
|
|
21622
|
-
case 1:
|
|
21623
|
-
case "end":
|
|
21624
|
-
return _context2.stop();
|
|
21625
|
-
}
|
|
21626
|
-
}, _callee2, this);
|
|
21627
|
-
}));
|
|
21628
|
-
function loadFoundation() {
|
|
21629
|
-
return _loadFoundation.apply(this, arguments);
|
|
21630
|
-
}
|
|
21631
|
-
return loadFoundation;
|
|
21632
|
-
}()
|
|
21633
|
-
/**
|
|
21634
|
-
* Load a theme by name
|
|
21635
|
-
* @param {string} themeName - Name of theme to load
|
|
21636
|
-
*/
|
|
21637
|
-
)
|
|
21638
|
-
}, {
|
|
21639
|
-
key: "loadTheme",
|
|
21640
|
-
value: (function () {
|
|
21641
|
-
var _loadTheme = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().mark(function _callee3(themeName) {
|
|
21642
|
-
var themeFile, themeLink, _t2;
|
|
21643
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_3___default().wrap(function (_context3) {
|
|
21644
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
21645
|
-
case 0:
|
|
21646
|
-
themeFile = this.themes[themeName] || this.themes[DEFAULT_THEME];
|
|
21647
|
-
_context3.prev = 1;
|
|
21648
|
-
// Create or update theme link
|
|
21649
|
-
themeLink = this.linkElements.theme;
|
|
21650
|
-
if (!themeLink) {
|
|
21651
|
-
themeLink = this.createLinkElement('solid-ui-theme', themeFile);
|
|
21652
|
-
document.head.appendChild(themeLink);
|
|
21653
|
-
this.linkElements.theme = themeLink;
|
|
21654
|
-
} else {
|
|
21655
|
-
themeLink.href = this.resolveThemePath(themeFile);
|
|
21656
|
-
}
|
|
21657
|
-
|
|
21658
|
-
// Wait for theme to load
|
|
21659
|
-
_context3.next = 2;
|
|
21660
|
-
return this.waitForStylesheet(themeLink);
|
|
21661
|
-
case 2:
|
|
21662
|
-
// Update state
|
|
21663
|
-
this.currentTheme = themeName;
|
|
21664
|
-
this.saveTheme(themeName);
|
|
21665
|
-
|
|
21666
|
-
// Emit event for listeners
|
|
21667
|
-
this.emitThemeChange(themeName);
|
|
21668
|
-
_context3.next = 4;
|
|
21669
|
-
break;
|
|
21670
|
-
case 3:
|
|
21671
|
-
_context3.prev = 3;
|
|
21672
|
-
_t2 = _context3["catch"](1);
|
|
21673
|
-
console.error("Failed to load theme \"".concat(themeName, "\":"), _t2);
|
|
21674
|
-
throw _t2;
|
|
21675
|
-
case 4:
|
|
21676
|
-
case "end":
|
|
21677
|
-
return _context3.stop();
|
|
21678
|
-
}
|
|
21679
|
-
}, _callee3, this, [[1, 3]]);
|
|
21680
|
-
}));
|
|
21681
|
-
function loadTheme(_x) {
|
|
21682
|
-
return _loadTheme.apply(this, arguments);
|
|
21683
|
-
}
|
|
21684
|
-
return loadTheme;
|
|
21685
|
-
}()
|
|
21686
|
-
/**
|
|
21687
|
-
* Get list of available themes
|
|
21688
|
-
* @returns {Array<{name: string, label: string}>}
|
|
21689
|
-
*/
|
|
21690
|
-
)
|
|
21691
|
-
}, {
|
|
21692
|
-
key: "getAvailableThemes",
|
|
21693
|
-
value: function getAvailableThemes() {
|
|
21694
|
-
var _this = this;
|
|
21695
|
-
return Object.keys(this.themes).map(function (name) {
|
|
21696
|
-
return {
|
|
21697
|
-
name: name,
|
|
21698
|
-
label: _this.formatThemeName(name)
|
|
21699
|
-
};
|
|
21700
|
-
});
|
|
21701
|
-
}
|
|
21702
|
-
|
|
21703
|
-
/**
|
|
21704
|
-
* Get currently active theme
|
|
21705
|
-
* @returns {string}
|
|
21706
|
-
*/
|
|
21707
|
-
}, {
|
|
21708
|
-
key: "getCurrentTheme",
|
|
21709
|
-
value: function getCurrentTheme() {
|
|
21710
|
-
return this.currentTheme;
|
|
21711
|
-
}
|
|
21712
|
-
|
|
21713
|
-
/**
|
|
21714
|
-
* Create a link element for CSS
|
|
21715
|
-
* @private
|
|
21716
|
-
*/
|
|
21717
|
-
}, {
|
|
21718
|
-
key: "createLinkElement",
|
|
21719
|
-
value: function createLinkElement(id, href) {
|
|
21720
|
-
var link = document.createElement('link');
|
|
21721
|
-
link.id = id;
|
|
21722
|
-
link.rel = 'stylesheet';
|
|
21723
|
-
link.href = this.resolveThemePath(href);
|
|
21724
|
-
return link;
|
|
21725
|
-
}
|
|
21726
|
-
|
|
21727
|
-
/**
|
|
21728
|
-
* Resolve theme path relative to solid-ui
|
|
21729
|
-
* @private
|
|
21730
|
-
*/
|
|
21731
|
-
}, {
|
|
21732
|
-
key: "resolveThemePath",
|
|
21733
|
-
value: function resolveThemePath(path) {
|
|
21734
|
-
// Use webpack public path if available (set by mashlib/build config)
|
|
21735
|
-
if (true) {
|
|
21736
|
-
return __webpack_require__.p + path;
|
|
21737
|
-
}
|
|
21738
|
-
|
|
21739
|
-
// Use global base path if set by mashlib
|
|
21740
|
-
// removed by dead control flow
|
|
21741
|
-
|
|
21742
|
-
|
|
21743
|
-
// Try to find mashlib or solid-ui base path from script tags
|
|
21744
|
-
// removed by dead control flow
|
|
21745
|
-
var scripts;
|
|
21746
|
-
// removed by dead control flow
|
|
21747
|
-
var _iterator, _step;
|
|
21748
|
-
// removed by dead control flow
|
|
21749
|
-
var baseUrl, script;
|
|
21750
|
-
// removed by dead control flow
|
|
21751
|
-
var origin;
|
|
21752
|
-
// removed by dead control flow
|
|
21753
|
-
|
|
21754
|
-
}
|
|
21755
|
-
|
|
21756
|
-
/**
|
|
21757
|
-
* Wait for stylesheet to load
|
|
21758
|
-
* @private
|
|
21759
|
-
*/
|
|
21760
|
-
}, {
|
|
21761
|
-
key: "waitForStylesheet",
|
|
21762
|
-
value: function waitForStylesheet(link) {
|
|
21763
|
-
return new Promise(function (resolve, reject) {
|
|
21764
|
-
link.onload = function () {
|
|
21765
|
-
return resolve();
|
|
21766
|
-
};
|
|
21767
|
-
link.onerror = function () {
|
|
21768
|
-
return reject(new Error("Failed to load: ".concat(link.href)));
|
|
21769
|
-
};
|
|
21770
|
-
|
|
21771
|
-
// Timeout after 10 seconds
|
|
21772
|
-
setTimeout(function () {
|
|
21773
|
-
return reject(new Error('Theme load timeout'));
|
|
21774
|
-
}, 10000);
|
|
21775
|
-
});
|
|
21776
|
-
}
|
|
21777
|
-
|
|
21778
|
-
/**
|
|
21779
|
-
* Get saved theme from localStorage
|
|
21780
|
-
* @private
|
|
21781
|
-
*/
|
|
21782
|
-
}, {
|
|
21783
|
-
key: "getSavedTheme",
|
|
21784
|
-
value: function getSavedTheme() {
|
|
21785
|
-
try {
|
|
21786
|
-
return localStorage.getItem(STORAGE_KEY) || DEFAULT_THEME;
|
|
21787
|
-
} catch (error) {
|
|
21788
|
-
return DEFAULT_THEME;
|
|
21789
|
-
}
|
|
21790
|
-
}
|
|
21791
|
-
|
|
21792
|
-
/**
|
|
21793
|
-
* Save theme to localStorage
|
|
21794
|
-
* @private
|
|
21795
|
-
*/
|
|
21796
|
-
}, {
|
|
21797
|
-
key: "saveTheme",
|
|
21798
|
-
value: function saveTheme(themeName) {
|
|
21799
|
-
try {
|
|
21800
|
-
localStorage.setItem(STORAGE_KEY, themeName);
|
|
21801
|
-
} catch (error) {
|
|
21802
|
-
console.warn('Failed to save theme preference:', error);
|
|
21803
|
-
}
|
|
21804
|
-
}
|
|
21805
|
-
|
|
21806
|
-
/**
|
|
21807
|
-
* Format theme name for display
|
|
21808
|
-
* @private
|
|
21809
|
-
*/
|
|
21810
|
-
}, {
|
|
21811
|
-
key: "formatThemeName",
|
|
21812
|
-
value: function formatThemeName(name) {
|
|
21813
|
-
return name.charAt(0).toUpperCase() + name.slice(1);
|
|
21814
|
-
}
|
|
21815
|
-
|
|
21816
|
-
/**
|
|
21817
|
-
* Emit theme change event
|
|
21818
|
-
* @private
|
|
21819
|
-
*/
|
|
21820
|
-
}, {
|
|
21821
|
-
key: "emitThemeChange",
|
|
21822
|
-
value: function emitThemeChange(themeName) {
|
|
21823
|
-
var event = new CustomEvent('solid-ui-theme-change', {
|
|
21824
|
-
detail: {
|
|
21825
|
-
theme: themeName
|
|
21826
|
-
}
|
|
21827
|
-
});
|
|
21828
|
-
window.dispatchEvent(event);
|
|
21829
|
-
}
|
|
21830
|
-
}]);
|
|
21831
|
-
}(); // Create singleton instance
|
|
21832
|
-
var themeLoader = new ThemeLoader();
|
|
21833
|
-
|
|
21834
|
-
// Auto-initialize on load (can be disabled if manual control needed)
|
|
21835
|
-
if (typeof window !== 'undefined') {
|
|
21836
|
-
if (document.readyState === 'loading') {
|
|
21837
|
-
document.addEventListener('DOMContentLoaded', function () {
|
|
21838
|
-
return themeLoader.init();
|
|
21839
|
-
});
|
|
21840
|
-
} else {
|
|
21841
|
-
themeLoader.init();
|
|
21842
|
-
}
|
|
21843
|
-
}
|
|
21844
|
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (themeLoader)));
|
|
21845
|
-
|
|
21846
|
-
/***/ },
|
|
21847
|
-
|
|
21848
21512
|
/***/ 7800
|
|
21849
21513
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
21850
21514
|
|
|
@@ -27225,43 +26889,31 @@ function toPropertyKey(t) {
|
|
|
27225
26889
|
/******/ };
|
|
27226
26890
|
/******/ })();
|
|
27227
26891
|
/******/
|
|
27228
|
-
/******/ /* webpack/runtime/publicPath */
|
|
27229
|
-
/******/ (() => {
|
|
27230
|
-
/******/ var scriptUrl;
|
|
27231
|
-
/******/ if (typeof import.meta.url === "string") scriptUrl = import.meta.url
|
|
27232
|
-
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
27233
|
-
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
27234
|
-
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
27235
|
-
/******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
27236
|
-
/******/ __webpack_require__.p = scriptUrl;
|
|
27237
|
-
/******/ })();
|
|
27238
|
-
/******/
|
|
27239
26892
|
/************************************************************************/
|
|
27240
26893
|
var __webpack_exports__ = {};
|
|
27241
26894
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27242
26895
|
/* harmony export */ $_: () => (/* reexport safe */ _media_index__WEBPACK_IMPORTED_MODULE_7__.$),
|
|
27243
26896
|
/* harmony export */ BH: () => (/* reexport module object */ _widgets_forms_autocomplete_language__WEBPACK_IMPORTED_MODULE_4__),
|
|
27244
26897
|
/* harmony export */ BL: () => (/* reexport safe */ _acl_index__WEBPACK_IMPORTED_MODULE_1__.B),
|
|
27245
|
-
/* harmony export */ Iw: () => (/* reexport module object */
|
|
27246
|
-
/* harmony export */ Of: () => (/* reexport safe */
|
|
26898
|
+
/* harmony export */ Iw: () => (/* reexport module object */ _create_types__WEBPACK_IMPORTED_MODULE_21__),
|
|
26899
|
+
/* harmony export */ Of: () => (/* reexport safe */ _header__WEBPACK_IMPORTED_MODULE_19__.Of),
|
|
27247
26900
|
/* harmony export */ Pt: () => (/* reexport safe */ _iconBase__WEBPACK_IMPORTED_MODULE_3__.Pt),
|
|
27248
|
-
/* harmony export */ Qs: () => (/* reexport module object */
|
|
26901
|
+
/* harmony export */ Qs: () => (/* reexport module object */ _widgets_index__WEBPACK_IMPORTED_MODULE_18__),
|
|
27249
26902
|
/* harmony export */ Rm: () => (/* reexport module object */ _log__WEBPACK_IMPORTED_MODULE_5__),
|
|
27250
26903
|
/* harmony export */ UP: () => (/* reexport safe */ _matrix_index__WEBPACK_IMPORTED_MODULE_6__.U),
|
|
27251
|
-
/* harmony export */ Ux: () => (/* reexport safe */
|
|
27252
|
-
/* harmony export */ Wp: () => (/* reexport module object */
|
|
26904
|
+
/* harmony export */ Ux: () => (/* reexport safe */ _footer__WEBPACK_IMPORTED_MODULE_20__.Ux),
|
|
26905
|
+
/* harmony export */ Wp: () => (/* reexport module object */ _utils__WEBPACK_IMPORTED_MODULE_16__),
|
|
27253
26906
|
/* harmony export */ _f: () => (/* reexport module object */ _participation__WEBPACK_IMPORTED_MODULE_11__),
|
|
27254
26907
|
/* harmony export */ eV: () => (/* reexport module object */ _pad__WEBPACK_IMPORTED_MODULE_10__),
|
|
27255
|
-
/* harmony export */ iD: () => (/* reexport module object */
|
|
26908
|
+
/* harmony export */ iD: () => (/* reexport module object */ _login_login__WEBPACK_IMPORTED_MODULE_17__),
|
|
27256
26909
|
/* harmony export */ iF: () => (/* reexport safe */ _style__WEBPACK_IMPORTED_MODULE_13__.i),
|
|
27257
26910
|
/* harmony export */ ns: () => (/* reexport safe */ _ns__WEBPACK_IMPORTED_MODULE_0__.A),
|
|
27258
26911
|
/* harmony export */ r5: () => (/* reexport safe */ _chat_infinite__WEBPACK_IMPORTED_MODULE_9__.r5),
|
|
27259
|
-
/* harmony export */ rj: () => (/* reexport safe */ _themeLoader__WEBPACK_IMPORTED_MODULE_14__.r),
|
|
27260
26912
|
/* harmony export */ tT: () => (/* binding */ dom),
|
|
27261
|
-
/* harmony export */ tp: () => (/* reexport safe */
|
|
26913
|
+
/* harmony export */ tp: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_14__.I),
|
|
27262
26914
|
/* harmony export */ um: () => (/* reexport safe */ _acl_index__WEBPACK_IMPORTED_MODULE_1__.u),
|
|
27263
26915
|
/* harmony export */ vJ: () => (/* reexport module object */ _preferences__WEBPACK_IMPORTED_MODULE_12__),
|
|
27264
|
-
/* harmony export */ vR: () => (/* reexport module object */
|
|
26916
|
+
/* harmony export */ vR: () => (/* reexport module object */ _tabs__WEBPACK_IMPORTED_MODULE_15__),
|
|
27265
26917
|
/* harmony export */ vV: () => (/* reexport safe */ _messageArea__WEBPACK_IMPORTED_MODULE_8__.v),
|
|
27266
26918
|
/* harmony export */ vt: () => (/* reexport safe */ _create_index__WEBPACK_IMPORTED_MODULE_2__.v)
|
|
27267
26919
|
/* harmony export */ });
|
|
@@ -27279,52 +26931,51 @@ var __webpack_exports__ = {};
|
|
|
27279
26931
|
/* harmony import */ var _participation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3605);
|
|
27280
26932
|
/* harmony import */ var _preferences__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5148);
|
|
27281
26933
|
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(675);
|
|
27282
|
-
/* harmony import */ var
|
|
27283
|
-
/* harmony import */ var
|
|
27284
|
-
/* harmony import */ var
|
|
27285
|
-
/* harmony import */ var
|
|
27286
|
-
/* harmony import */ var
|
|
27287
|
-
/* harmony import */ var
|
|
27288
|
-
/* harmony import */ var
|
|
27289
|
-
/* harmony import */ var
|
|
27290
|
-
/*
|
|
27291
|
-
|
|
27292
|
-
|
|
27293
|
-
|
|
27294
|
-
|
|
27295
|
-
|
|
27296
|
-
|
|
27297
|
-
|
|
27298
|
-
|
|
27299
|
-
|
|
27300
|
-
|
|
27301
|
-
|
|
27302
|
-
|
|
27303
|
-
|
|
27304
|
-
|
|
27305
|
-
|
|
27306
|
-
|
|
27307
|
-
|
|
27308
|
-
|
|
27309
|
-
|
|
27310
|
-
|
|
27311
|
-
|
|
27312
|
-
|
|
27313
|
-
|
|
27314
|
-
|
|
27315
|
-
https://github.com/solidos/solid
|
|
26934
|
+
/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2174);
|
|
26935
|
+
/* harmony import */ var _tabs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(6670);
|
|
26936
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52);
|
|
26937
|
+
/* harmony import */ var _login_login__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(967);
|
|
26938
|
+
/* harmony import */ var _widgets_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4608);
|
|
26939
|
+
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1648);
|
|
26940
|
+
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(7134);
|
|
26941
|
+
/* harmony import */ var _create_types__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(5912);
|
|
26942
|
+
/*
|
|
26943
|
+
The MIT License (MIT)
|
|
26944
|
+
|
|
26945
|
+
Copyright (c) 2015-2016 Solid
|
|
26946
|
+
|
|
26947
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
26948
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
26949
|
+
in the Software without restriction, including without limitation the rights
|
|
26950
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
26951
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
26952
|
+
furnished to do so, subject to the following conditions:
|
|
26953
|
+
|
|
26954
|
+
The above copyright notice and this permission notice shall be included in all
|
|
26955
|
+
copies or substantial portions of the Software.
|
|
26956
|
+
|
|
26957
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26958
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26959
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26960
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26961
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26962
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26963
|
+
SOFTWARE.
|
|
26964
|
+
|
|
26965
|
+
If you would like to know more about the solid Solid project, please see
|
|
26966
|
+
https://github.com/solidos/solid
|
|
27316
26967
|
*/
|
|
27317
26968
|
|
|
27318
26969
|
|
|
27319
|
-
/**
|
|
27320
|
-
* Provides a Solid client helper object (which exposes various static modules).
|
|
27321
|
-
* @module UI.js
|
|
27322
|
-
* @main UI.js
|
|
26970
|
+
/**
|
|
26971
|
+
* Provides a Solid client helper object (which exposes various static modules).
|
|
26972
|
+
* @module UI.js
|
|
26973
|
+
* @main UI.js
|
|
27323
26974
|
*/
|
|
27324
26975
|
|
|
27325
|
-
/**
|
|
27326
|
-
* @class UI
|
|
27327
|
-
* @static
|
|
26976
|
+
/**
|
|
26977
|
+
* @class UI
|
|
26978
|
+
* @static
|
|
27328
26979
|
*/
|
|
27329
26980
|
|
|
27330
26981
|
// REMOVE @ts-ignore as you migrate files to TypeScript
|
|
@@ -27352,8 +27003,6 @@ https://github.com/solidos/solid
|
|
|
27352
27003
|
|
|
27353
27004
|
// @ts-ignore
|
|
27354
27005
|
|
|
27355
|
-
// @ts-ignore
|
|
27356
|
-
|
|
27357
27006
|
|
|
27358
27007
|
// @ts-ignore
|
|
27359
27008
|
|
|
@@ -27371,12 +27020,12 @@ if (typeof window !== 'undefined') {
|
|
|
27371
27020
|
acl: _acl_index__WEBPACK_IMPORTED_MODULE_1__/* .acl */ .B,
|
|
27372
27021
|
aclControl: _acl_index__WEBPACK_IMPORTED_MODULE_1__/* .aclControl */ .u,
|
|
27373
27022
|
create: _create_index__WEBPACK_IMPORTED_MODULE_2__/* .create */ .v,
|
|
27374
|
-
createTypes:
|
|
27023
|
+
createTypes: _create_types__WEBPACK_IMPORTED_MODULE_21__,
|
|
27375
27024
|
dom: dom,
|
|
27376
27025
|
icons: _iconBase__WEBPACK_IMPORTED_MODULE_3__/* .icons */ .Pt,
|
|
27377
27026
|
language: _widgets_forms_autocomplete_language__WEBPACK_IMPORTED_MODULE_4__,
|
|
27378
27027
|
log: _log__WEBPACK_IMPORTED_MODULE_5__,
|
|
27379
|
-
login:
|
|
27028
|
+
login: _login_login__WEBPACK_IMPORTED_MODULE_17__,
|
|
27380
27029
|
matrix: _matrix_index__WEBPACK_IMPORTED_MODULE_6__/* .matrix */ .U,
|
|
27381
27030
|
media: _media_index__WEBPACK_IMPORTED_MODULE_7__/* .media */ .$,
|
|
27382
27031
|
messageArea: _messageArea__WEBPACK_IMPORTED_MODULE_8__/* .messageArea */ .v,
|
|
@@ -27385,13 +27034,12 @@ if (typeof window !== 'undefined') {
|
|
|
27385
27034
|
participation: _participation__WEBPACK_IMPORTED_MODULE_11__,
|
|
27386
27035
|
preferences: _preferences__WEBPACK_IMPORTED_MODULE_12__,
|
|
27387
27036
|
style: _style__WEBPACK_IMPORTED_MODULE_13__/* .style */ .i,
|
|
27388
|
-
|
|
27389
|
-
|
|
27390
|
-
|
|
27391
|
-
|
|
27392
|
-
|
|
27393
|
-
|
|
27394
|
-
initFooter: _footer__WEBPACK_IMPORTED_MODULE_21__/* .initFooter */ .Ux
|
|
27037
|
+
table: _table__WEBPACK_IMPORTED_MODULE_14__/* .renderTableViewPane */ .I,
|
|
27038
|
+
tabs: _tabs__WEBPACK_IMPORTED_MODULE_15__,
|
|
27039
|
+
utils: _utils__WEBPACK_IMPORTED_MODULE_16__,
|
|
27040
|
+
widgets: _widgets_index__WEBPACK_IMPORTED_MODULE_18__,
|
|
27041
|
+
initHeader: _header__WEBPACK_IMPORTED_MODULE_19__/* .initHeader */ .Of,
|
|
27042
|
+
initFooter: _footer__WEBPACK_IMPORTED_MODULE_20__/* .initFooter */ .Ux
|
|
27395
27043
|
}; // Simpler access by non-node scripts
|
|
27396
27044
|
}
|
|
27397
27045
|
|
|
@@ -27420,9 +27068,8 @@ const __webpack_exports__preferences = __webpack_exports__.vJ;
|
|
|
27420
27068
|
const __webpack_exports__style = __webpack_exports__.iF;
|
|
27421
27069
|
const __webpack_exports__table = __webpack_exports__.tp;
|
|
27422
27070
|
const __webpack_exports__tabs = __webpack_exports__.vR;
|
|
27423
|
-
const __webpack_exports__themeLoader = __webpack_exports__.rj;
|
|
27424
27071
|
const __webpack_exports__utils = __webpack_exports__.Wp;
|
|
27425
27072
|
const __webpack_exports__widgets = __webpack_exports__.Qs;
|
|
27426
|
-
export { __webpack_exports__acl as acl, __webpack_exports__aclControl as aclControl, __webpack_exports__create as create, __webpack_exports__createTypes as createTypes, __webpack_exports__dom as dom, __webpack_exports__icons as icons, __webpack_exports__infiniteMessageArea as infiniteMessageArea, __webpack_exports__initFooter as initFooter, __webpack_exports__initHeader as initHeader, __webpack_exports__language as language, __webpack_exports__log as log, __webpack_exports__login as login, __webpack_exports__matrix as matrix, __webpack_exports__media as media, __webpack_exports__messageArea as messageArea, __webpack_exports__ns as ns, __webpack_exports__pad as pad, __webpack_exports__participation as participation, __webpack_exports__preferences as preferences, __webpack_exports__style as style, __webpack_exports__table as table, __webpack_exports__tabs as tabs,
|
|
27073
|
+
export { __webpack_exports__acl as acl, __webpack_exports__aclControl as aclControl, __webpack_exports__create as create, __webpack_exports__createTypes as createTypes, __webpack_exports__dom as dom, __webpack_exports__icons as icons, __webpack_exports__infiniteMessageArea as infiniteMessageArea, __webpack_exports__initFooter as initFooter, __webpack_exports__initHeader as initHeader, __webpack_exports__language as language, __webpack_exports__log as log, __webpack_exports__login as login, __webpack_exports__matrix as matrix, __webpack_exports__media as media, __webpack_exports__messageArea as messageArea, __webpack_exports__ns as ns, __webpack_exports__pad as pad, __webpack_exports__participation as participation, __webpack_exports__preferences as preferences, __webpack_exports__style as style, __webpack_exports__table as table, __webpack_exports__tabs as tabs, __webpack_exports__utils as utils, __webpack_exports__widgets as widgets };
|
|
27427
27074
|
|
|
27428
27075
|
//# sourceMappingURL=solid-ui.esm.js.map
|