solid-ui 3.0.1-11be53b → 3.0.1-3f71940
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 +302 -302
- package/dist/solid-ui.esm.js +364 -279
- package/dist/solid-ui.esm.js.map +1 -1
- package/dist/solid-ui.esm.min.js +2 -2
- package/dist/solid-ui.esm.min.js.map +1 -1
- package/dist/solid-ui.js +371 -285
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +8 -8
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/versionInfo.js +2 -2
- package/dist/widgets/buttons.js +17 -17
- package/package.json +133 -133
- /package/dist/{themes/foundation/accessibility.css → theme-accessibility.css} +0 -0
- /package/dist/{themes/presets/classic.css → theme-classic.css} +0 -0
- /package/dist/{themes/presets/default.css → theme-default.css} +0 -0
- /package/dist/{themes/presets/signal.css → theme-signal.css} +0 -0
- /package/dist/{themes/presets/telegram.css → theme-telegram.css} +0 -0
- /package/dist/{themes/foundation/variables.css → theme-variables.css} +0 -0
- /package/dist/{themes/presets/wave.css → theme-wave.css} +0 -0
- /package/dist/{themes/README.md → themes-README.md} +0 -0
package/dist/solid-ui.esm.js
CHANGED
|
@@ -1467,10 +1467,7 @@ 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
|
|
@@ -1481,7 +1478,7 @@ var _style;
|
|
|
1481
1478
|
// Fallback values preserve original appearance when themes aren't loaded
|
|
1482
1479
|
|
|
1483
1480
|
|
|
1484
|
-
var style =
|
|
1481
|
+
var style = {
|
|
1485
1482
|
// styleModule
|
|
1486
1483
|
|
|
1487
1484
|
checkboxStyle: 'color: var(--sui-text, black); font-size: 100%; padding-left: 0.5em; padding-right: 0.5em;',
|
|
@@ -1516,9 +1513,9 @@ var style = (_style = {
|
|
|
1516
1513
|
heading4Style: 'font-size: 110%; font-weight: bold; color: var(--sui-primary, #7C4DFF); padding: 0.2em; margin: 0.7em 0;',
|
|
1517
1514
|
formHeadingStyle: 'font-size: 110%; font-weight: bold; color: var(--sui-primary, #7C4DFF); padding: 0.2em; margin: 0.7em 0;',
|
|
1518
1515
|
formTextInput: 'font-size: 100%; margin: 0.1em; padding: 0.1em;',
|
|
1519
|
-
formGroupStyle: ["padding-left: 0; border: 0 solid var(--sui-form-border-color, ".concat(
|
|
1520
|
-
formFieldLabelStyle: "color: var(--sui-text-link, ".concat(
|
|
1521
|
-
formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width: ".concat(
|
|
1516
|
+
formGroupStyle: ["padding-left: 0; border: 0 solid var(--sui-form-border-color, ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "); border-radius: var(--sui-border-radius-sm, 0.2em);"), "padding-left: 2em; border: var(--sui-border-width, 0.05em) solid var(--sui-form-border-color, ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "); border-radius: var(--sui-border-radius-sm, 0.2em);"), "padding-left: 2em; border: 0.1em solid var(--sui-form-border-color, ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "); border-radius: var(--sui-border-radius-sm, 0.2em);"), "padding-left: 2em; border: 0.2em solid var(--sui-form-border-color, ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "); border-radius: var(--sui-border-radius-sm, 0.2em);")],
|
|
1517
|
+
formFieldLabelStyle: "color: var(--sui-text-link, ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.lowProfileLinkColor, "); text-decoration: none;"),
|
|
1518
|
+
formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width: ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formFieldNameBoxWidth, ";"),
|
|
1522
1519
|
multilineTextInputStyle: 'font-size: 100%; white-space: pre-wrap; background-color: var(--sui-bg-input, #eef); border: 0.07em solid var(--sui-border-color-dark, gray); padding: 1em 0.5em; margin: 1em;',
|
|
1523
1520
|
// Panes
|
|
1524
1521
|
folderPaneStyle: 'border-top: solid 1px var(--sui-border-color, #777); border-bottom: solid 1px var(--sui-border-color, #777); margin-top: var(--sui-space-md, 0.5em); margin-bottom: var(--sui-space-md, 0.5em); background-color: var(--sui-bg-panel, white); color: var(--sui-text, black); font-family: var(--sui-font-family, sans-serif);',
|
|
@@ -1531,8 +1528,86 @@ var style = (_style = {
|
|
|
1531
1528
|
linkDivStyle: 'width: var(--sui-icon-size, 2em); padding: 0.5em; height: 4em;',
|
|
1532
1529
|
// ACL
|
|
1533
1530
|
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;'));
|
|
1531
|
+
aclControlBoxHeader: 'font-size: 120%; margin: 0 0 1rem;',
|
|
1532
|
+
aclControlBoxStatus: 'display: none; margin: 1rem 0;',
|
|
1533
|
+
aclControlBoxStatusRevealed: 'display: block;',
|
|
1534
|
+
aclGroupContent: 'maxWidth: 650;',
|
|
1535
|
+
accessGroupList: 'display: grid; grid-template-columns: 1fr; margin: var(--sui-space-md, 1em); width: 100%;',
|
|
1536
|
+
accessGroupListItem: 'display: grid; grid-template-columns: 100px auto 30%;',
|
|
1537
|
+
defaultsController: 'display: flex;',
|
|
1538
|
+
defaultsControllerNotice: 'color: var(--sui-text-muted, #888); flexGrow: 1; fontSize: 80%;',
|
|
1539
|
+
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);',
|
|
1540
|
+
group: 'color: var(--sui-group-default, #888);',
|
|
1541
|
+
group1: 'color: var(--sui-group-1, green);',
|
|
1542
|
+
group2: 'color: var(--sui-group-2, #cc0);',
|
|
1543
|
+
group3: 'color: var(--sui-group-3, orange);',
|
|
1544
|
+
group5: 'color: var(--sui-group-5, red);',
|
|
1545
|
+
group9: 'color: var(--sui-group-9, blue);',
|
|
1546
|
+
group13: 'color: var(--sui-group-13, purple);',
|
|
1547
|
+
trustedAppAddApplicationsTable: 'background-color: var(--sui-bg-panel, #eee);',
|
|
1548
|
+
trustedAppCancelButton: 'float: right;',
|
|
1549
|
+
trustedAppControllerI: 'border-color: var(--sui-warning, orange); border-radius: var(--sui-border-radius-lg, 1em); border-width: 0.1em;',
|
|
1550
|
+
temporaryStatusInit: 'background: var(--sui-success, green);',
|
|
1551
|
+
temporaryStatusEnd: 'background: transparent; transition: background 5s linear;',
|
|
1552
|
+
// header
|
|
1553
|
+
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;',
|
|
1554
|
+
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%));',
|
|
1555
|
+
headerUserMenuTrigger: 'background: none; border: 0; cursor: pointer; width: var(--sui-header-height, 60px); height: var(--sui-header-height, 60px);',
|
|
1556
|
+
headerUserMenuTriggerImg: 'border-radius: var(--sui-border-radius-full, 50%); height: 56px; width: 28px !important;',
|
|
1557
|
+
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%;',
|
|
1558
|
+
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%));',
|
|
1559
|
+
headerUserMenuList: 'list-style: none; margin: 0; padding: 0;',
|
|
1560
|
+
headerUserMenuListDisplay: 'list-style: none; margin: 0; padding: 0; display:true;',
|
|
1561
|
+
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;',
|
|
1562
|
+
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;',
|
|
1563
|
+
headerUserMenuListItem: 'border-bottom: solid 1px var(--sui-text, #000000);',
|
|
1564
|
+
headerUserMenuPhoto: 'border-radius: var(--sui-border-radius-full, 50%); background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px;',
|
|
1565
|
+
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);',
|
|
1566
|
+
headerBannerRightMenu: 'display: flex;',
|
|
1567
|
+
headerBannerLogin: 'margin-left: auto;',
|
|
1568
|
+
allChildrenVisible: 'display: true;',
|
|
1569
|
+
headerBannerUserMenu: 'border-left: solid 1px var(--sui-text, #000000); margin-left: auto;',
|
|
1570
|
+
headerBannerHelpMenu: 'border-left: solid 1px var(--sui-text, #000000); margin-left: auto;',
|
|
1571
|
+
headerBannerIcon: 'background-size: 65px var(--sui-header-height, 60px) !important; height: var(--sui-header-height, 60px) !important; width: 65px !important;',
|
|
1572
|
+
// footer
|
|
1573
|
+
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);',
|
|
1574
|
+
// buttons
|
|
1575
|
+
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;',
|
|
1576
|
+
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;',
|
|
1577
|
+
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;',
|
|
1578
|
+
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;',
|
|
1579
|
+
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;',
|
|
1580
|
+
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;',
|
|
1581
|
+
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;',
|
|
1582
|
+
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;',
|
|
1583
|
+
// media
|
|
1584
|
+
controlStyle: "border-radius: var(--sui-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, ";"),
|
|
1585
|
+
// dragAndDrop
|
|
1586
|
+
dragEvent: 'background-color: var(--sui-bg-hover, #ccc); border: 0.25em dashed var(--sui-text, black); border-radius: var(--sui-border-radius, 0.3em);',
|
|
1587
|
+
dropEvent: 'background-color: var(--sui-bg-panel, white); border: 0 solid var(--sui-text, black);',
|
|
1588
|
+
restoreStyle: 'background-color: var(--sui-bg-panel, white);',
|
|
1589
|
+
// errors
|
|
1590
|
+
errorCancelButton: 'width: var(--sui-icon-size, 2em); height: var(--sui-icon-size, 2em); align: right;',
|
|
1591
|
+
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);',
|
|
1592
|
+
// pad
|
|
1593
|
+
notepadStyle: 'padding: var(--sui-space-md, 1em); overflow: auto; resize: horizontal; min-width: 40em;',
|
|
1594
|
+
upstreamStatus: 'width: 50%;',
|
|
1595
|
+
downstreamStatus: 'width: 50%;',
|
|
1596
|
+
baseStyle: 'font-size: 100%; font-family: var(--sui-font-family-mono, monospace); width: 100%; border: none; white-space: pre-wrap;',
|
|
1597
|
+
headingCore: 'font-family: var(--sui-font-family, sans-serif); font-weight: bold; border: none;',
|
|
1598
|
+
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%;'],
|
|
1599
|
+
// participation
|
|
1600
|
+
participantsStyle: 'margin: 0.8em;',
|
|
1601
|
+
participantsBlock: 'height: 1.5em; width: 1.5em; margin: 0.3em; border: 0.01em solid var(--sui-border-color-dark, #888);',
|
|
1602
|
+
personTableTD: 'vertical-align: middle;',
|
|
1603
|
+
// tabs
|
|
1604
|
+
tabsNavElement: 'margin: 0;',
|
|
1605
|
+
tabsRootElement: 'display: flex; height: 100%; width: 100%;',
|
|
1606
|
+
tabsMainElement: 'margin: 0; width: 100%; height: 100%;',
|
|
1607
|
+
tabContainer: 'list-style-type: none; display: flex; height: 100%; width: 100%; margin: 0; padding: 0;',
|
|
1608
|
+
makeNewSlot: 'background: none; border: none; font: inherit; cursor: pointer;',
|
|
1609
|
+
ellipsis: 'position: absolute; right: 0; bottom: 0; width: 20%; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;'
|
|
1610
|
+
};
|
|
1536
1611
|
style.setStyle = function setStyle(ele, styleName) {
|
|
1537
1612
|
ele.style = style[styleName];
|
|
1538
1613
|
};
|
|
@@ -3557,9 +3632,9 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3557
3632
|
|
|
3558
3633
|
|
|
3559
3634
|
/* 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.
|
|
3635
|
+
/*
|
|
3636
|
+
This file was copied from mashlib/src/global/header.ts file. It is modified to
|
|
3637
|
+
work in solid-ui by adjusting where imported functions are found.
|
|
3563
3638
|
*/
|
|
3564
3639
|
|
|
3565
3640
|
|
|
@@ -3571,29 +3646,29 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3571
3646
|
|
|
3572
3647
|
|
|
3573
3648
|
|
|
3574
|
-
/**
|
|
3575
|
-
* menu icons
|
|
3649
|
+
/**
|
|
3650
|
+
* menu icons
|
|
3576
3651
|
*/
|
|
3577
3652
|
var DEFAULT_HELP_MENU_ICON = _index__WEBPACK_IMPORTED_MODULE_2__/* .icons */ .Pt.iconBase + 'noun_help.svg';
|
|
3578
3653
|
var DEFAUL_SOLID_ICON_URL = 'https://solidproject.org/assets/img/solid-emblem.svg';
|
|
3579
3654
|
|
|
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.
|
|
3655
|
+
/*
|
|
3656
|
+
HeaderOptions allow for customizing the logo and menu list. If a logo is not provided the default
|
|
3657
|
+
is solid. Menulist will always show a link to logout and to the users profile.
|
|
3583
3658
|
*/
|
|
3584
3659
|
|
|
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
|
|
3660
|
+
/**
|
|
3661
|
+
* Initialize header component, the header object returned depends on whether the user is authenticated.
|
|
3662
|
+
* @param store the data store
|
|
3663
|
+
* @param userMenuList a list of menu items when the user is logged in
|
|
3664
|
+
* @param options allow the header to be customized with a personalized logo, help icon and a help menu list of links or buttons.
|
|
3665
|
+
* @returns a header for an authenticated user with menu items given or a login screen
|
|
3591
3666
|
*/
|
|
3592
3667
|
function initHeader(_x, _x2, _x3) {
|
|
3593
3668
|
return _initHeader.apply(this, arguments);
|
|
3594
3669
|
}
|
|
3595
|
-
/**
|
|
3596
|
-
* @ignore exporting this only for the unit test
|
|
3670
|
+
/**
|
|
3671
|
+
* @ignore exporting this only for the unit test
|
|
3597
3672
|
*/
|
|
3598
3673
|
function _initHeader() {
|
|
3599
3674
|
_initHeader = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee3(store, userMenuList, options) {
|
|
@@ -3640,14 +3715,14 @@ function rebuildHeader(header, store, pod, userMenuList, options) {
|
|
|
3640
3715
|
}, _callee);
|
|
3641
3716
|
}));
|
|
3642
3717
|
}
|
|
3643
|
-
/**
|
|
3644
|
-
* @ignore exporting this only for the unit test
|
|
3718
|
+
/**
|
|
3719
|
+
* @ignore exporting this only for the unit test
|
|
3645
3720
|
*/
|
|
3646
3721
|
function createBanner(_x4, _x5, _x6, _x7, _x8) {
|
|
3647
3722
|
return _createBanner.apply(this, arguments);
|
|
3648
3723
|
}
|
|
3649
|
-
/**
|
|
3650
|
-
* @ignore exporting this only for the unit test
|
|
3724
|
+
/**
|
|
3725
|
+
* @ignore exporting this only for the unit test
|
|
3651
3726
|
*/
|
|
3652
3727
|
function _createBanner() {
|
|
3653
3728
|
_createBanner = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee4(store, pod, user, userMenuList, options) {
|
|
@@ -3830,8 +3905,8 @@ function createHelpMenu(options, helpMenuItems) {
|
|
|
3830
3905
|
});
|
|
3831
3906
|
return helpMenuContainer;
|
|
3832
3907
|
}
|
|
3833
|
-
/**
|
|
3834
|
-
* @ignore exporting this only for the unit test
|
|
3908
|
+
/**
|
|
3909
|
+
* @ignore exporting this only for the unit test
|
|
3835
3910
|
*/
|
|
3836
3911
|
function createLoginSignUpButtons() {
|
|
3837
3912
|
var profileLoginButtonPre = document.createElement('div');
|
|
@@ -3839,8 +3914,8 @@ function createLoginSignUpButtons() {
|
|
|
3839
3914
|
profileLoginButtonPre.appendChild((0,_login_login__WEBPACK_IMPORTED_MODULE_4__.loginStatusBox)(document, null, {}));
|
|
3840
3915
|
return profileLoginButtonPre;
|
|
3841
3916
|
}
|
|
3842
|
-
/**
|
|
3843
|
-
* @ignore exporting this only for the unit test
|
|
3917
|
+
/**
|
|
3918
|
+
* @ignore exporting this only for the unit test
|
|
3844
3919
|
*/
|
|
3845
3920
|
function createUserMenuButton(label, onClick) {
|
|
3846
3921
|
var button = document.createElement('button');
|
|
@@ -3855,8 +3930,8 @@ function createUserMenuButton(label, onClick) {
|
|
|
3855
3930
|
button.innerText = label;
|
|
3856
3931
|
return button;
|
|
3857
3932
|
}
|
|
3858
|
-
/**
|
|
3859
|
-
* @ignore exporting this only for the unit test
|
|
3933
|
+
/**
|
|
3934
|
+
* @ignore exporting this only for the unit test
|
|
3860
3935
|
*/
|
|
3861
3936
|
function createUserMenuLink(label, href, target) {
|
|
3862
3937
|
var link = document.createElement('a');
|
|
@@ -3873,15 +3948,15 @@ function createUserMenuLink(label, href, target) {
|
|
|
3873
3948
|
return link;
|
|
3874
3949
|
}
|
|
3875
3950
|
|
|
3876
|
-
/**
|
|
3877
|
-
* @ignore exporting this only for the unit test
|
|
3951
|
+
/**
|
|
3952
|
+
* @ignore exporting this only for the unit test
|
|
3878
3953
|
*/
|
|
3879
3954
|
function createUserMenu(_x9, _x0, _x1) {
|
|
3880
3955
|
return _createUserMenu.apply(this, arguments);
|
|
3881
3956
|
}
|
|
3882
3957
|
|
|
3883
|
-
/**
|
|
3884
|
-
* @ignore exporting this only for the unit test
|
|
3958
|
+
/**
|
|
3959
|
+
* @ignore exporting this only for the unit test
|
|
3885
3960
|
*/
|
|
3886
3961
|
function _createUserMenu() {
|
|
3887
3962
|
_createUserMenu = (0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee5(store, user, userMenuList) {
|
|
@@ -3962,8 +4037,8 @@ function createUserMenuItem(child) {
|
|
|
3962
4037
|
menuProfileItem.appendChild(child);
|
|
3963
4038
|
return menuProfileItem;
|
|
3964
4039
|
}
|
|
3965
|
-
/**
|
|
3966
|
-
* @ignore exporting this only for the unit test
|
|
4040
|
+
/**
|
|
4041
|
+
* @ignore exporting this only for the unit test
|
|
3967
4042
|
*/
|
|
3968
4043
|
function getProfileImg(store, user) {
|
|
3969
4044
|
var profileUrl = null;
|
|
@@ -3981,8 +4056,8 @@ function getProfileImg(store, user) {
|
|
|
3981
4056
|
return profileImage;
|
|
3982
4057
|
}
|
|
3983
4058
|
|
|
3984
|
-
/**
|
|
3985
|
-
* @internal
|
|
4059
|
+
/**
|
|
4060
|
+
* @internal
|
|
3986
4061
|
*/
|
|
3987
4062
|
function toggleMenu(event, trigger, menu) {
|
|
3988
4063
|
var isExpanded = trigger.getAttribute('aria-expanded') === 'true';
|
|
@@ -10186,7 +10261,7 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10186
10261
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3468);
|
|
10187
10262
|
/* harmony import */ var _widgetHelpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(9287);
|
|
10188
10263
|
/* harmony import */ var _buttons_iconLinks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9326);
|
|
10189
|
-
/* Buttons
|
|
10264
|
+
/* Buttons
|
|
10190
10265
|
*/
|
|
10191
10266
|
|
|
10192
10267
|
|
|
@@ -10201,9 +10276,9 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10201
10276
|
|
|
10202
10277
|
|
|
10203
10278
|
|
|
10204
|
-
/**
|
|
10205
|
-
* UI Widgets such as buttons
|
|
10206
|
-
* @packageDocumentation
|
|
10279
|
+
/**
|
|
10280
|
+
* UI Widgets such as buttons
|
|
10281
|
+
* @packageDocumentation
|
|
10207
10282
|
*/
|
|
10208
10283
|
|
|
10209
10284
|
/* global alert */
|
|
@@ -10231,8 +10306,8 @@ function getStatusArea(context) {
|
|
|
10231
10306
|
return null;
|
|
10232
10307
|
}
|
|
10233
10308
|
|
|
10234
|
-
/**
|
|
10235
|
-
* Display an error message block
|
|
10309
|
+
/**
|
|
10310
|
+
* Display an error message block
|
|
10236
10311
|
*/
|
|
10237
10312
|
function complain(context, err) {
|
|
10238
10313
|
if (!err) return; // only if error
|
|
@@ -10241,8 +10316,8 @@ function complain(context, err) {
|
|
|
10241
10316
|
if (ele) ele.appendChild((0,_error__WEBPACK_IMPORTED_MODULE_10__/* .errorMessageBlock */ .F)(context && context.dom || document, err));else alert(err);
|
|
10242
10317
|
}
|
|
10243
10318
|
|
|
10244
|
-
/**
|
|
10245
|
-
* Remove all the children of an HTML element
|
|
10319
|
+
/**
|
|
10320
|
+
* Remove all the children of an HTML element
|
|
10246
10321
|
*/
|
|
10247
10322
|
function clearElement(ele) {
|
|
10248
10323
|
while (ele.firstChild) {
|
|
@@ -10251,8 +10326,8 @@ function clearElement(ele) {
|
|
|
10251
10326
|
return ele;
|
|
10252
10327
|
}
|
|
10253
10328
|
|
|
10254
|
-
/**
|
|
10255
|
-
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10329
|
+
/**
|
|
10330
|
+
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10256
10331
|
*/
|
|
10257
10332
|
function extractLogURI(fullURI) {
|
|
10258
10333
|
var logPos = fullURI.search(/logFile=/);
|
|
@@ -10260,11 +10335,11 @@ function extractLogURI(fullURI) {
|
|
|
10260
10335
|
return fullURI.substring(logPos + 8, rulPos);
|
|
10261
10336
|
}
|
|
10262
10337
|
|
|
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.
|
|
10338
|
+
/**
|
|
10339
|
+
* By default, converts e.g. '2020-02-19T19:35:28.557Z' to '19:35'
|
|
10340
|
+
* if today is 19 Feb 2020, and to 'Feb 19' if not.
|
|
10341
|
+
* @@@ TODO This needs to be changed to local time
|
|
10342
|
+
* @param noTime Return a string like 'Feb 19' even if it's today.
|
|
10268
10343
|
*/
|
|
10269
10344
|
function shortDate(str, noTime) {
|
|
10270
10345
|
if (!str) return '???';
|
|
@@ -10285,11 +10360,11 @@ function shortDate(str, noTime) {
|
|
|
10285
10360
|
}
|
|
10286
10361
|
}
|
|
10287
10362
|
|
|
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'
|
|
10363
|
+
/**
|
|
10364
|
+
* Format a date and time
|
|
10365
|
+
* @param date for instance `new Date()`
|
|
10366
|
+
* @param format for instance '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}'
|
|
10367
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10293
10368
|
*/
|
|
10294
10369
|
function formatDateTime(date, format) {
|
|
10295
10370
|
return format.split('{').map(function (s) {
|
|
@@ -10305,17 +10380,17 @@ function formatDateTime(date, format) {
|
|
|
10305
10380
|
}).join('');
|
|
10306
10381
|
}
|
|
10307
10382
|
|
|
10308
|
-
/**
|
|
10309
|
-
* Get a string representation of the current time
|
|
10310
|
-
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10383
|
+
/**
|
|
10384
|
+
* Get a string representation of the current time
|
|
10385
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10311
10386
|
*/
|
|
10312
10387
|
function timestamp() {
|
|
10313
10388
|
return formatDateTime(new Date(), '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
10314
10389
|
}
|
|
10315
10390
|
|
|
10316
|
-
/**
|
|
10317
|
-
* Get a short string representation of the current time
|
|
10318
|
-
* @returns for instance '23:14:23.002'
|
|
10391
|
+
/**
|
|
10392
|
+
* Get a short string representation of the current time
|
|
10393
|
+
* @returns for instance '23:14:23.002'
|
|
10319
10394
|
*/
|
|
10320
10395
|
function shortTime() {
|
|
10321
10396
|
return formatDateTime(new Date(), '{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
@@ -10323,8 +10398,8 @@ function shortTime() {
|
|
|
10323
10398
|
|
|
10324
10399
|
// ///////////////////// Handy UX widgets
|
|
10325
10400
|
|
|
10326
|
-
/**
|
|
10327
|
-
* Sets the best name we have and looks up a better one
|
|
10401
|
+
/**
|
|
10402
|
+
* Sets the best name we have and looks up a better one
|
|
10328
10403
|
*/
|
|
10329
10404
|
function setName(element, x) {
|
|
10330
10405
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10345,29 +10420,29 @@ function setName(element, x) {
|
|
|
10345
10420
|
}
|
|
10346
10421
|
}
|
|
10347
10422
|
|
|
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
|
-
|
|
10423
|
+
/**
|
|
10424
|
+
* Set of suitable images
|
|
10425
|
+
* See also [[findImage]]
|
|
10426
|
+
* @param x The thing for which we want to find an image
|
|
10427
|
+
* @param kb The RDF store to look in
|
|
10428
|
+
* @returns It goes looking for triples in `kb`,
|
|
10429
|
+
* `(subject: x), (predicate: see list below) (object: image-url)`
|
|
10430
|
+
* to find any image linked from the thing with one of the following
|
|
10431
|
+
* predicates (in order):
|
|
10432
|
+
* * ns.sioc('avatar')
|
|
10433
|
+
* * ns.foaf('img')
|
|
10434
|
+
* * ns.vcard('logo')
|
|
10435
|
+
* * ns.vcard('hasPhoto')
|
|
10436
|
+
* * ns.vcard('photo')
|
|
10437
|
+
* * ns.foaf('depiction')
|
|
10438
|
+
|
|
10364
10439
|
*/
|
|
10365
10440
|
function imagesOf(x, kb) {
|
|
10366
10441
|
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
10442
|
}
|
|
10368
10443
|
|
|
10369
|
-
/**
|
|
10370
|
-
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10444
|
+
/**
|
|
10445
|
+
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10371
10446
|
*/
|
|
10372
10447
|
var iconForClass = {
|
|
10373
10448
|
// Potentially extendable by other apps, panes, etc
|
|
@@ -10402,8 +10477,8 @@ var iconForClass = {
|
|
|
10402
10477
|
'wf:Closed': 'noun_17020.svg'
|
|
10403
10478
|
};
|
|
10404
10479
|
|
|
10405
|
-
/**
|
|
10406
|
-
* Returns the origin of the URI of a NamedNode
|
|
10480
|
+
/**
|
|
10481
|
+
* Returns the origin of the URI of a NamedNode
|
|
10407
10482
|
*/
|
|
10408
10483
|
function tempSite(x) {
|
|
10409
10484
|
// use only while one in rdflib fails with origins 2019
|
|
@@ -10419,8 +10494,8 @@ function tempSite(x) {
|
|
|
10419
10494
|
}
|
|
10420
10495
|
}
|
|
10421
10496
|
|
|
10422
|
-
/**
|
|
10423
|
-
* Find an image for this thing as a class
|
|
10497
|
+
/**
|
|
10498
|
+
* Find an image for this thing as a class
|
|
10424
10499
|
*/
|
|
10425
10500
|
function findImageFromURI(x) {
|
|
10426
10501
|
var iconDir = iconBase;
|
|
@@ -10450,22 +10525,22 @@ function findImageFromURI(x) {
|
|
|
10450
10525
|
return iconDir + 'noun_10636_grey.svg'; // Grey Circle - some thing
|
|
10451
10526
|
}
|
|
10452
10527
|
|
|
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')
|
|
10528
|
+
/**
|
|
10529
|
+
* Find something we have as explicit image data for the thing
|
|
10530
|
+
* See also [[imagesOf]]
|
|
10531
|
+
* @param thing The thing for which we want to find an image
|
|
10532
|
+
* @returns The URL of a globe icon if thing equals `ns.foaf('Agent')`
|
|
10533
|
+
* or `ns.rdf('Resource')`. Otherwise, it goes looking for
|
|
10534
|
+
* triples in `store`,
|
|
10535
|
+
* `(subject: thing), (predicate: see list below) (object: image-url)`
|
|
10536
|
+
* to find any image linked from the thing with one of the following
|
|
10537
|
+
* predicates (in order):
|
|
10538
|
+
* * ns.sioc('avatar')
|
|
10539
|
+
* * ns.foaf('img')
|
|
10540
|
+
* * ns.vcard('logo')
|
|
10541
|
+
* * ns.vcard('hasPhoto')
|
|
10542
|
+
* * ns.vcard('photo')
|
|
10543
|
+
* * ns.foaf('depiction')
|
|
10469
10544
|
*/
|
|
10470
10545
|
function findImage(thing) {
|
|
10471
10546
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10477,11 +10552,11 @@ function findImage(thing) {
|
|
|
10477
10552
|
return image ? image.uri : null;
|
|
10478
10553
|
}
|
|
10479
10554
|
|
|
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.
|
|
10555
|
+
/**
|
|
10556
|
+
* Do the best you can with the data available
|
|
10557
|
+
*
|
|
10558
|
+
* @return {Boolean} Are we happy with this icon?
|
|
10559
|
+
* Sets src AND STYLE of the image.
|
|
10485
10560
|
*/
|
|
10486
10561
|
function trySetImage(element, thing, iconForClassMap) {
|
|
10487
10562
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10517,8 +10592,8 @@ function trySetImage(element, thing, iconForClassMap) {
|
|
|
10517
10592
|
return false; // we can do better
|
|
10518
10593
|
}
|
|
10519
10594
|
|
|
10520
|
-
/**
|
|
10521
|
-
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10595
|
+
/**
|
|
10596
|
+
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10522
10597
|
*/
|
|
10523
10598
|
function setImage(element, thing) {
|
|
10524
10599
|
// 20191230a
|
|
@@ -10567,7 +10642,7 @@ function faviconOrDefault(dom, x) {
|
|
|
10567
10642
|
}
|
|
10568
10643
|
}
|
|
10569
10644
|
|
|
10570
|
-
/* Two-option dialog pop-up
|
|
10645
|
+
/* Two-option dialog pop-up
|
|
10571
10646
|
*/
|
|
10572
10647
|
|
|
10573
10648
|
function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunction) {
|
|
@@ -10618,9 +10693,9 @@ function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunctio
|
|
|
10618
10693
|
cancelPrompt.addEventListener('click', removePopup);
|
|
10619
10694
|
return popup;
|
|
10620
10695
|
}
|
|
10621
|
-
/**
|
|
10622
|
-
* Delete button with a check you really mean it
|
|
10623
|
-
* @@ Supress check if command key held down?
|
|
10696
|
+
/**
|
|
10697
|
+
* Delete button with a check you really mean it
|
|
10698
|
+
* @@ Supress check if command key held down?
|
|
10624
10699
|
*/
|
|
10625
10700
|
function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
10626
10701
|
function createPopup() {
|
|
@@ -10646,14 +10721,14 @@ function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
|
10646
10721
|
return deleteButton; // or button div? caller may change size of image
|
|
10647
10722
|
}
|
|
10648
10723
|
|
|
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
|
|
10724
|
+
/* Make a button
|
|
10725
|
+
*
|
|
10726
|
+
* @param dom - the DOM document object
|
|
10727
|
+
* @Param iconURI - the URI of the icon to use (if any)
|
|
10728
|
+
* @param text - the tooltip text or possibly button contents text
|
|
10729
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10730
|
+
*
|
|
10731
|
+
* @returns <dDomElement> - the button
|
|
10657
10732
|
*/
|
|
10658
10733
|
function button(dom, iconURI, text, handler) {
|
|
10659
10734
|
var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
|
|
@@ -10721,12 +10796,12 @@ function button(dom, iconURI, text, handler) {
|
|
|
10721
10796
|
return button;
|
|
10722
10797
|
}
|
|
10723
10798
|
|
|
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
|
|
10799
|
+
/* Make a cancel button
|
|
10800
|
+
*
|
|
10801
|
+
* @param dom - the DOM document object
|
|
10802
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10803
|
+
*
|
|
10804
|
+
* @returns <dDomElement> - the button
|
|
10730
10805
|
*/
|
|
10731
10806
|
function cancelButton(dom, handler) {
|
|
10732
10807
|
var b = button(dom, cancelIconURI, 'Cancel', handler);
|
|
@@ -10737,22 +10812,22 @@ function cancelButton(dom, handler) {
|
|
|
10737
10812
|
return b;
|
|
10738
10813
|
}
|
|
10739
10814
|
|
|
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
|
|
10815
|
+
/* Make a continue button
|
|
10816
|
+
*
|
|
10817
|
+
* @param dom - the DOM document object
|
|
10818
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10819
|
+
*
|
|
10820
|
+
* @returns <dDomElement> - the button
|
|
10746
10821
|
*/
|
|
10747
10822
|
function continueButton(dom, handler) {
|
|
10748
10823
|
return button(dom, checkIconURI, 'Continue', handler);
|
|
10749
10824
|
}
|
|
10750
10825
|
|
|
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)
|
|
10826
|
+
/* Grab a name for a new thing
|
|
10827
|
+
*
|
|
10828
|
+
* Form to get the name of a new thing before we create it
|
|
10829
|
+
* @params theClass Misspelt to avoid clashing with the JavaScript keyword
|
|
10830
|
+
* @returns: a promise of (a name or null if cancelled)
|
|
10756
10831
|
*/
|
|
10757
10832
|
function askName(dom, kb, container, predicate, theClass, noun) {
|
|
10758
10833
|
return new Promise(function (resolve, _reject) {
|
|
@@ -10794,10 +10869,10 @@ function askName(dom, kb, container, predicate, theClass, noun) {
|
|
|
10794
10869
|
}); // Promise
|
|
10795
10870
|
}
|
|
10796
10871
|
|
|
10797
|
-
/**
|
|
10798
|
-
* A TR to represent a draggable person, etc in a list
|
|
10799
|
-
*
|
|
10800
|
-
* pred is unused param at the moment
|
|
10872
|
+
/**
|
|
10873
|
+
* A TR to represent a draggable person, etc in a list
|
|
10874
|
+
*
|
|
10875
|
+
* pred is unused param at the moment
|
|
10801
10876
|
*/
|
|
10802
10877
|
var personTR = renderAsRow; // The legacy name is used in a lot of places
|
|
10803
10878
|
|
|
@@ -10841,11 +10916,11 @@ function renderAsRow(dom, pred, obj, options) {
|
|
|
10841
10916
|
return tr;
|
|
10842
10917
|
}
|
|
10843
10918
|
|
|
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
|
|
10919
|
+
/* A helper function for renderAsDiv
|
|
10920
|
+
* creates the NameDiv for the person
|
|
10921
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10922
|
+
* from buttons
|
|
10923
|
+
* @internal exporting this only for unit tests
|
|
10849
10924
|
*/
|
|
10850
10925
|
function createNameDiv(dom, div, title, obj) {
|
|
10851
10926
|
var nameDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10855,11 +10930,11 @@ function createNameDiv(dom, div, title, obj) {
|
|
|
10855
10930
|
setName(nameDiv, obj); // This is async
|
|
10856
10931
|
}
|
|
10857
10932
|
}
|
|
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
|
|
10933
|
+
/* A helper function for renderAsDiv
|
|
10934
|
+
* creates the linkDiv for the person
|
|
10935
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10936
|
+
* from buttons
|
|
10937
|
+
* @internal exporting this only for unit tests
|
|
10863
10938
|
*/
|
|
10864
10939
|
function createLinkDiv(dom, div, obj, options) {
|
|
10865
10940
|
var linkDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10875,9 +10950,9 @@ function createLinkDiv(dom, div, obj, options) {
|
|
|
10875
10950
|
(0,_dragAndDrop__WEBPACK_IMPORTED_MODULE_6__/* .makeDraggable */ .eB)(div, obj);
|
|
10876
10951
|
}
|
|
10877
10952
|
}
|
|
10878
|
-
/**
|
|
10879
|
-
* A Div to represent a draggable person, etc in a list
|
|
10880
|
-
* configurable to add an onClick listener
|
|
10953
|
+
/**
|
|
10954
|
+
* A Div to represent a draggable person, etc in a list
|
|
10955
|
+
* configurable to add an onClick listener
|
|
10881
10956
|
*/
|
|
10882
10957
|
function renderAsDiv(dom, obj, options) {
|
|
10883
10958
|
var div = dom.createElement('div');
|
|
@@ -10899,8 +10974,8 @@ function renderAsDiv(dom, obj, options) {
|
|
|
10899
10974
|
return div;
|
|
10900
10975
|
}
|
|
10901
10976
|
|
|
10902
|
-
/**
|
|
10903
|
-
* Refresh a DOM tree recursively
|
|
10977
|
+
/**
|
|
10978
|
+
* Refresh a DOM tree recursively
|
|
10904
10979
|
*/
|
|
10905
10980
|
function refreshTree(root) {
|
|
10906
10981
|
if (root.refresh) {
|
|
@@ -10912,15 +10987,15 @@ function refreshTree(root) {
|
|
|
10912
10987
|
}
|
|
10913
10988
|
}
|
|
10914
10989
|
|
|
10915
|
-
/**
|
|
10916
|
-
* Options argument for [[attachmentList]] function
|
|
10990
|
+
/**
|
|
10991
|
+
* Options argument for [[attachmentList]] function
|
|
10917
10992
|
*/
|
|
10918
10993
|
|
|
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.
|
|
10994
|
+
/**
|
|
10995
|
+
* Component that displays a list of resources, for instance
|
|
10996
|
+
* the attachments of a message, or the various documents related
|
|
10997
|
+
* to a meeting.
|
|
10998
|
+
* Accepts dropping URLs onto it to add attachments to it.
|
|
10924
10999
|
*/
|
|
10925
11000
|
function attachmentList(dom, subject, div) {
|
|
10926
11001
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
@@ -11033,11 +11108,11 @@ function attachmentList(dom, subject, div) {
|
|
|
11033
11108
|
|
|
11034
11109
|
// /////////////////////////////////////////////////////////////////////////////
|
|
11035
11110
|
|
|
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)
|
|
11111
|
+
/**
|
|
11112
|
+
* Event Handler for links within solid apps.
|
|
11113
|
+
*
|
|
11114
|
+
* Note that native links have constraints in Firefox, they
|
|
11115
|
+
* don't work with local files for instance (2011)
|
|
11041
11116
|
*/
|
|
11042
11117
|
function openHrefInOutlineMode(e) {
|
|
11043
11118
|
e.preventDefault();
|
|
@@ -11061,10 +11136,10 @@ function openHrefInOutlineMode(e) {
|
|
|
11061
11136
|
// dom.outlineManager.GotoSubject(store.sym(uri), true, undefined, true, undefined)
|
|
11062
11137
|
}
|
|
11063
11138
|
|
|
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.
|
|
11139
|
+
/**
|
|
11140
|
+
* Make a URI in the Tabulator.org annotation store out of the URI of the thing to be annotated.
|
|
11141
|
+
*
|
|
11142
|
+
* @@ Todo: make it a personal preference.
|
|
11068
11143
|
*/
|
|
11069
11144
|
function defaultAnnotationStore(subject) {
|
|
11070
11145
|
if (subject.uri === undefined) return undefined;
|
|
@@ -11082,10 +11157,10 @@ function defaultAnnotationStore(subject) {
|
|
|
11082
11157
|
return solid_logic__WEBPACK_IMPORTED_MODULE_7__.store.sym('http://tabulator.org/wiki/annnotation/' + s);
|
|
11083
11158
|
}
|
|
11084
11159
|
|
|
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.
|
|
11160
|
+
/**
|
|
11161
|
+
* Retrieve all RDF class URIs from solid-ui's RDF store
|
|
11162
|
+
* @returns an object `ret` such that `Object.keys(ret)` is
|
|
11163
|
+
* the list of all class URIs.
|
|
11089
11164
|
*/
|
|
11090
11165
|
function allClassURIs() {
|
|
11091
11166
|
var set = {};
|
|
@@ -11102,16 +11177,16 @@ function allClassURIs() {
|
|
|
11102
11177
|
return set;
|
|
11103
11178
|
}
|
|
11104
11179
|
|
|
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.
|
|
11180
|
+
/**
|
|
11181
|
+
* Figuring which properties we know about
|
|
11182
|
+
*
|
|
11183
|
+
* When the user inputs an RDF property, like for a form field
|
|
11184
|
+
* or when specifying the relationship between two arbitrary things,
|
|
11185
|
+
* then er can prompt them with properties the session knows about
|
|
11186
|
+
*
|
|
11187
|
+
* TODO: Look again by catching this somewhere. (On the kb?)
|
|
11188
|
+
* TODO: move to diff module? Not really a button.
|
|
11189
|
+
* @param {Store} kb The quadstore to be searched.
|
|
11115
11190
|
*/
|
|
11116
11191
|
|
|
11117
11192
|
function propertyTriage(kb) {
|
|
@@ -11149,12 +11224,12 @@ function propertyTriage(kb) {
|
|
|
11149
11224
|
return possibleProperties;
|
|
11150
11225
|
}
|
|
11151
11226
|
|
|
11152
|
-
/**
|
|
11153
|
-
* General purpose widgets
|
|
11227
|
+
/**
|
|
11228
|
+
* General purpose widgets
|
|
11154
11229
|
*/
|
|
11155
11230
|
|
|
11156
|
-
/**
|
|
11157
|
-
* A button for jumping
|
|
11231
|
+
/**
|
|
11232
|
+
* A button for jumping
|
|
11158
11233
|
*/
|
|
11159
11234
|
function linkButton(dom, object) {
|
|
11160
11235
|
var b = dom.createElement('button');
|
|
@@ -11169,8 +11244,8 @@ function linkButton(dom, object) {
|
|
|
11169
11244
|
return b;
|
|
11170
11245
|
}
|
|
11171
11246
|
|
|
11172
|
-
/**
|
|
11173
|
-
* A button to remove some other element from the page
|
|
11247
|
+
/**
|
|
11248
|
+
* A button to remove some other element from the page
|
|
11174
11249
|
*/
|
|
11175
11250
|
function removeButton(dom, element) {
|
|
11176
11251
|
var b = dom.createElement('button');
|
|
@@ -11200,17 +11275,17 @@ function removeButton(dom, element) {
|
|
|
11200
11275
|
//
|
|
11201
11276
|
// These are for selecting different modes, sources,styles, etc.
|
|
11202
11277
|
//
|
|
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
|
-
}
|
|
11278
|
+
/*
|
|
11279
|
+
buttons.headerButtons = function (dom, kb, name, words) {
|
|
11280
|
+
const box = dom.createElement('table')
|
|
11281
|
+
var i, word, s = '<tr>'
|
|
11282
|
+
box.setAttribute('style', 'width: 90%; height: 1.5em')
|
|
11283
|
+
for (i=0; i<words.length; i++) {
|
|
11284
|
+
s += '<td><input type="radio" name="' + name + '" id="' + words[i] + '" value='
|
|
11285
|
+
}
|
|
11286
|
+
box.innerHTML = s + '</tr>'
|
|
11287
|
+
|
|
11288
|
+
}
|
|
11214
11289
|
*/
|
|
11215
11290
|
// ////////////////////////////////////////////////////////////
|
|
11216
11291
|
//
|
|
@@ -11300,9 +11375,9 @@ function twoLineDefault(dom, x) {
|
|
|
11300
11375
|
return box;
|
|
11301
11376
|
}
|
|
11302
11377
|
|
|
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
|
|
11378
|
+
/**
|
|
11379
|
+
* Find a function that can create a widget for a given class
|
|
11380
|
+
* @param c The RDF class for which we want a widget generator function
|
|
11306
11381
|
*/
|
|
11307
11382
|
function twoLineWidgetForClass(c) {
|
|
11308
11383
|
var widget = index.twoLine[c.uri];
|
|
@@ -11316,12 +11391,12 @@ function twoLineWidgetForClass(c) {
|
|
|
11316
11391
|
return index.twoLine[''];
|
|
11317
11392
|
}
|
|
11318
11393
|
|
|
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
|
|
11394
|
+
/**
|
|
11395
|
+
* Display a transaction
|
|
11396
|
+
* @param x Should have attributes through triples in store:
|
|
11397
|
+
* * ns.qu('payee') -> a named node
|
|
11398
|
+
* * ns.qu('date) -> a literal
|
|
11399
|
+
* * ns.qu('amount') -> a literal
|
|
11325
11400
|
*/
|
|
11326
11401
|
function twoLineTransaction(dom, x) {
|
|
11327
11402
|
var failed = '';
|
|
@@ -11338,12 +11413,12 @@ function twoLineTransaction(dom, x) {
|
|
|
11338
11413
|
return box;
|
|
11339
11414
|
}
|
|
11340
11415
|
|
|
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
|
|
11416
|
+
/**
|
|
11417
|
+
* Display a trip
|
|
11418
|
+
* @param x Should have attributes through triples in store:
|
|
11419
|
+
* * ns.dc('title') -> a literal
|
|
11420
|
+
* * ns.cal('dtstart') -> a literal
|
|
11421
|
+
* * ns.cal('dtend') -> a literal
|
|
11347
11422
|
*/
|
|
11348
11423
|
function twoLineTrip(dom, x) {
|
|
11349
11424
|
var enc = function enc(p) {
|
|
@@ -11355,8 +11430,8 @@ function twoLineTrip(dom, x) {
|
|
|
11355
11430
|
return box;
|
|
11356
11431
|
}
|
|
11357
11432
|
|
|
11358
|
-
/**
|
|
11359
|
-
* Stick a stylesheet link the document if not already there
|
|
11433
|
+
/**
|
|
11434
|
+
* Stick a stylesheet link the document if not already there
|
|
11360
11435
|
*/
|
|
11361
11436
|
function addStyleSheet(dom, href) {
|
|
11362
11437
|
var links = dom.querySelectorAll('link');
|
|
@@ -11380,8 +11455,8 @@ function isAudio(file) {
|
|
|
11380
11455
|
function isVideo(file) {
|
|
11381
11456
|
return isImage(file, 'video');
|
|
11382
11457
|
}
|
|
11383
|
-
/**
|
|
11384
|
-
*
|
|
11458
|
+
/**
|
|
11459
|
+
*
|
|
11385
11460
|
*/
|
|
11386
11461
|
function isImage(file, kind) {
|
|
11387
11462
|
var dcCLasses = {
|
|
@@ -11403,12 +11478,12 @@ function isImage(file, kind) {
|
|
|
11403
11478
|
return false;
|
|
11404
11479
|
}
|
|
11405
11480
|
|
|
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.
|
|
11481
|
+
/**
|
|
11482
|
+
* File upload button
|
|
11483
|
+
* @param dom The DOM aka document
|
|
11484
|
+
* @param droppedFileHandler Same handler function as drop, takes array of file objects
|
|
11485
|
+
* @returns {Element} - a div with a button and a inout in it
|
|
11486
|
+
* The input is hidden, as it is uglky - the user clicks on the nice icons and fires the input.
|
|
11412
11487
|
*/
|
|
11413
11488
|
// See https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications
|
|
11414
11489
|
function fileUploadButtonDiv(dom, droppedFileHandler) {
|
|
@@ -21539,11 +21614,11 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21539
21614
|
function ThemeLoader() {
|
|
21540
21615
|
(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(this, ThemeLoader);
|
|
21541
21616
|
this.themes = {
|
|
21542
|
-
classic: '
|
|
21543
|
-
"default": '
|
|
21544
|
-
wave: '
|
|
21545
|
-
telegram: '
|
|
21546
|
-
signal: '
|
|
21617
|
+
classic: 'theme-classic.css',
|
|
21618
|
+
"default": 'theme-default.css',
|
|
21619
|
+
wave: 'theme-wave.css',
|
|
21620
|
+
telegram: 'theme-telegram.css',
|
|
21621
|
+
signal: 'theme-signal.css'
|
|
21547
21622
|
};
|
|
21548
21623
|
this.currentTheme = this.getSavedTheme();
|
|
21549
21624
|
this.linkElements = {};
|
|
@@ -21581,6 +21656,7 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21581
21656
|
case 4:
|
|
21582
21657
|
_context.prev = 4;
|
|
21583
21658
|
_t = _context["catch"](1);
|
|
21659
|
+
// eslint-disable-next-line no-console
|
|
21584
21660
|
console.error('Failed to initialize theme system:', _t);
|
|
21585
21661
|
// Continue without themes - use inline styles as fallback
|
|
21586
21662
|
case 5:
|
|
@@ -21607,12 +21683,12 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21607
21683
|
while (1) switch (_context2.prev = _context2.next) {
|
|
21608
21684
|
case 0:
|
|
21609
21685
|
// Variables
|
|
21610
|
-
variablesLink = this.createLinkElement('solid-ui-variables', '
|
|
21686
|
+
variablesLink = this.createLinkElement('solid-ui-variables', 'theme-variables.css');
|
|
21611
21687
|
document.head.insertBefore(variablesLink, document.head.firstChild);
|
|
21612
21688
|
this.linkElements.variables = variablesLink;
|
|
21613
21689
|
|
|
21614
21690
|
// Accessibility
|
|
21615
|
-
a11yLink = this.createLinkElement('solid-ui-accessibility', '
|
|
21691
|
+
a11yLink = this.createLinkElement('solid-ui-accessibility', 'theme-accessibility.css');
|
|
21616
21692
|
document.head.insertBefore(a11yLink, document.head.firstChild);
|
|
21617
21693
|
this.linkElements.accessibility = a11yLink;
|
|
21618
21694
|
|
|
@@ -21670,6 +21746,7 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21670
21746
|
case 3:
|
|
21671
21747
|
_context3.prev = 3;
|
|
21672
21748
|
_t2 = _context3["catch"](1);
|
|
21749
|
+
// eslint-disable-next-line no-console
|
|
21673
21750
|
console.error("Failed to load theme \"".concat(themeName, "\":"), _t2);
|
|
21674
21751
|
throw _t2;
|
|
21675
21752
|
case 4:
|
|
@@ -21731,13 +21808,18 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21731
21808
|
}, {
|
|
21732
21809
|
key: "resolveThemePath",
|
|
21733
21810
|
value: function resolveThemePath(path) {
|
|
21734
|
-
//
|
|
21735
|
-
//
|
|
21811
|
+
// Use webpack public path if available (set by mashlib/build config)
|
|
21812
|
+
// eslint-disable-next-line camelcase
|
|
21736
21813
|
if (true) {
|
|
21814
|
+
// eslint-disable-next-line camelcase, no-undef
|
|
21737
21815
|
return __webpack_require__.p + path;
|
|
21738
21816
|
}
|
|
21739
21817
|
|
|
21740
|
-
//
|
|
21818
|
+
// Use global base path if set by mashlib
|
|
21819
|
+
// removed by dead control flow
|
|
21820
|
+
|
|
21821
|
+
|
|
21822
|
+
// Try to find mashlib or solid-ui base path from script tags
|
|
21741
21823
|
// removed by dead control flow
|
|
21742
21824
|
var scripts;
|
|
21743
21825
|
// removed by dead control flow
|
|
@@ -21745,6 +21827,8 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21745
21827
|
// removed by dead control flow
|
|
21746
21828
|
var baseUrl, script;
|
|
21747
21829
|
// removed by dead control flow
|
|
21830
|
+
var origin;
|
|
21831
|
+
// removed by dead control flow
|
|
21748
21832
|
|
|
21749
21833
|
}
|
|
21750
21834
|
|
|
@@ -21794,6 +21878,7 @@ var ThemeLoader = /*#__PURE__*/function () {
|
|
|
21794
21878
|
try {
|
|
21795
21879
|
localStorage.setItem(STORAGE_KEY, themeName);
|
|
21796
21880
|
} catch (error) {
|
|
21881
|
+
// eslint-disable-next-line no-console
|
|
21797
21882
|
console.warn('Failed to save theme preference:', error);
|
|
21798
21883
|
}
|
|
21799
21884
|
}
|
|
@@ -27283,43 +27368,43 @@ var __webpack_exports__ = {};
|
|
|
27283
27368
|
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1648);
|
|
27284
27369
|
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(7134);
|
|
27285
27370
|
/* harmony import */ var _create_types__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(5912);
|
|
27286
|
-
/*
|
|
27287
|
-
The MIT License (MIT)
|
|
27288
|
-
|
|
27289
|
-
Copyright (c) 2015-2016 Solid
|
|
27290
|
-
|
|
27291
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
27292
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
27293
|
-
in the Software without restriction, including without limitation the rights
|
|
27294
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
27295
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
27296
|
-
furnished to do so, subject to the following conditions:
|
|
27297
|
-
|
|
27298
|
-
The above copyright notice and this permission notice shall be included in all
|
|
27299
|
-
copies or substantial portions of the Software.
|
|
27300
|
-
|
|
27301
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27302
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27303
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27304
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27305
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27306
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27307
|
-
SOFTWARE.
|
|
27308
|
-
|
|
27309
|
-
If you would like to know more about the solid Solid project, please see
|
|
27310
|
-
https://github.com/solidos/solid
|
|
27371
|
+
/*
|
|
27372
|
+
The MIT License (MIT)
|
|
27373
|
+
|
|
27374
|
+
Copyright (c) 2015-2016 Solid
|
|
27375
|
+
|
|
27376
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
27377
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
27378
|
+
in the Software without restriction, including without limitation the rights
|
|
27379
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
27380
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
27381
|
+
furnished to do so, subject to the following conditions:
|
|
27382
|
+
|
|
27383
|
+
The above copyright notice and this permission notice shall be included in all
|
|
27384
|
+
copies or substantial portions of the Software.
|
|
27385
|
+
|
|
27386
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27387
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27388
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27389
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27390
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27391
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27392
|
+
SOFTWARE.
|
|
27393
|
+
|
|
27394
|
+
If you would like to know more about the solid Solid project, please see
|
|
27395
|
+
https://github.com/solidos/solid
|
|
27311
27396
|
*/
|
|
27312
27397
|
|
|
27313
27398
|
|
|
27314
|
-
/**
|
|
27315
|
-
* Provides a Solid client helper object (which exposes various static modules).
|
|
27316
|
-
* @module UI.js
|
|
27317
|
-
* @main UI.js
|
|
27399
|
+
/**
|
|
27400
|
+
* Provides a Solid client helper object (which exposes various static modules).
|
|
27401
|
+
* @module UI.js
|
|
27402
|
+
* @main UI.js
|
|
27318
27403
|
*/
|
|
27319
27404
|
|
|
27320
|
-
/**
|
|
27321
|
-
* @class UI
|
|
27322
|
-
* @static
|
|
27405
|
+
/**
|
|
27406
|
+
* @class UI
|
|
27407
|
+
* @static
|
|
27323
27408
|
*/
|
|
27324
27409
|
|
|
27325
27410
|
// REMOVE @ts-ignore as you migrate files to TypeScript
|