solid-ui 3.0.1-27039d9 → 3.0.1-278075f
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 +660 -1005
- 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 +445 -768
- 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
|
@@ -1461,78 +1461,272 @@ function _createCurveFields(type, CURVE, curveOpts = {}, FpFnLE) {
|
|
|
1461
1461
|
|
|
1462
1462
|
/***/ },
|
|
1463
1463
|
|
|
1464
|
+
/***/ 630
|
|
1465
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1466
|
+
|
|
1467
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1468
|
+
/* harmony export */ Od: () => (/* binding */ verifySignature),
|
|
1469
|
+
/* harmony export */ YJ: () => (/* binding */ getBlankMsg),
|
|
1470
|
+
/* harmony export */ vt: () => (/* binding */ signMsg),
|
|
1471
|
+
/* harmony export */ yv: () => (/* binding */ SEC)
|
|
1472
|
+
/* harmony export */ });
|
|
1473
|
+
/* unused harmony exports utf8Decoder, utf8Encoder, serializeMsg, getMsgHash */
|
|
1474
|
+
/* harmony import */ var _noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
1475
|
+
/* harmony import */ var _noble_hashes_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4976);
|
|
1476
|
+
/* harmony import */ var _noble_hashes_sha256__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8226);
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
// import {utf8Encoder} from './utils'
|
|
1482
|
+
// import { getPublicKey } from './keys'
|
|
1483
|
+
|
|
1484
|
+
var utf8Decoder = new TextDecoder('utf-8');
|
|
1485
|
+
var utf8Encoder = new TextEncoder();
|
|
1486
|
+
var SEC = 'https://w3id.org/security#'; // Proof, VerificationMethod
|
|
1487
|
+
// export const CERT = 'http://www.w3.org/ns/auth/cert#' // PrivateKey, PublicKey, key
|
|
1488
|
+
|
|
1489
|
+
/* export enum Kind {
|
|
1490
|
+
Metadata = 0,
|
|
1491
|
+
Text = 1,
|
|
1492
|
+
RecommendRelay = 2,
|
|
1493
|
+
Contacts = 3,
|
|
1494
|
+
EncryptedDirectMessage = 4,
|
|
1495
|
+
EventDeletion = 5,
|
|
1496
|
+
Reaction = 7,
|
|
1497
|
+
BadgeAward = 8,
|
|
1498
|
+
ChannelCreation = 40,
|
|
1499
|
+
ChannelMetadata = 41,
|
|
1500
|
+
ChannelMessage = 42,
|
|
1501
|
+
ChannelHideMessage = 43,
|
|
1502
|
+
ChannelMuteUser = 44,
|
|
1503
|
+
Report = 1984,
|
|
1504
|
+
ZapRequest = 9734,
|
|
1505
|
+
Zap = 9735,
|
|
1506
|
+
RelayList = 10002,
|
|
1507
|
+
ClientAuth = 22242,
|
|
1508
|
+
BadgeDefinition = 30008,
|
|
1509
|
+
ProfileBadge = 30009,
|
|
1510
|
+
Article = 30023
|
|
1511
|
+
} */
|
|
1512
|
+
|
|
1513
|
+
function getBlankMsg() {
|
|
1514
|
+
return {
|
|
1515
|
+
id: '',
|
|
1516
|
+
created: '',
|
|
1517
|
+
dateDeleted: '',
|
|
1518
|
+
// TODO to remove if not used
|
|
1519
|
+
content: '',
|
|
1520
|
+
maker: '',
|
|
1521
|
+
sig: '' // TODO to remove if not used
|
|
1522
|
+
};
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/* export function finishMsg (t: MsgTemplate, privateKey: string): Message {
|
|
1526
|
+
// to update to chat message triples
|
|
1527
|
+
const message = t as Message
|
|
1528
|
+
// message.pubkey = getPublicKey(privateKey)
|
|
1529
|
+
message.id = getMsgHash(message)
|
|
1530
|
+
message.sig = signMsg(message, privateKey)
|
|
1531
|
+
return message
|
|
1532
|
+
} */
|
|
1533
|
+
|
|
1534
|
+
function serializeMsg(msg) {
|
|
1535
|
+
// to update to chat messages triples
|
|
1536
|
+
/* if (!validateMsg(msg))
|
|
1537
|
+
throw new Error("can't serialize message with wrong or missing properties") */
|
|
1538
|
+
|
|
1539
|
+
return JSON.stringify(msg);
|
|
1540
|
+
}
|
|
1541
|
+
function getMsgHash(message) {
|
|
1542
|
+
var msgHash = (0,_noble_hashes_sha256__WEBPACK_IMPORTED_MODULE_2__/* .sha256 */ .sc)(utf8Encoder.encode(serializeMsg(message)));
|
|
1543
|
+
return (0,_noble_hashes_utils__WEBPACK_IMPORTED_MODULE_1__/* .bytesToHex */ .My)(msgHash);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
// const isRecord = (obj: unknown): obj is Record<string, unknown> => obj instanceof Object
|
|
1547
|
+
|
|
1548
|
+
/* export function validateMsg<T> (message: T): message is T & UnsignedMsg {
|
|
1549
|
+
if (!isRecord(message)) return false
|
|
1550
|
+
if (typeof message.kind !== 'number') return false
|
|
1551
|
+
if (typeof message.content !== 'string') return false
|
|
1552
|
+
if (typeof message.created_at !== 'number') return false
|
|
1553
|
+
if (typeof message.pubkey !== 'string') return false
|
|
1554
|
+
if (!message.pubkey.match(/^[a-f0-9]{64}$/)) return false
|
|
1555
|
+
|
|
1556
|
+
if (!Array.isArray(message.tags)) return false
|
|
1557
|
+
for (let i = 0; i < message.tags.length; i++) {
|
|
1558
|
+
let tag = message.tags[i]
|
|
1559
|
+
if (!Array.isArray(tag)) return false
|
|
1560
|
+
for (let j = 0; j < tag.length; j++) {
|
|
1561
|
+
if (typeof tag[j] === 'object') return false
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
return true
|
|
1566
|
+
} */
|
|
1567
|
+
|
|
1568
|
+
function verifySignature(sig, message, pubKey) {
|
|
1569
|
+
return _noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__/* .schnorr */ .ko.verify(sig, getMsgHash(message), pubKey);
|
|
1570
|
+
}
|
|
1571
|
+
function signMsg(message, key) {
|
|
1572
|
+
return (0,_noble_hashes_utils__WEBPACK_IMPORTED_MODULE_1__/* .bytesToHex */ .My)(_noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__/* .schnorr */ .ko.sign(getMsgHash(message), key));
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/***/ },
|
|
1576
|
+
|
|
1464
1577
|
/***/ 675
|
|
1465
1578
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1466
1579
|
|
|
1467
1580
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1468
1581
|
/* harmony export */ i: () => (/* binding */ style)
|
|
1469
1582
|
/* harmony export */ });
|
|
1470
|
-
/* harmony import */ var
|
|
1471
|
-
/* harmony import */ var _styleConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4762);
|
|
1472
|
-
|
|
1473
|
-
var _style;
|
|
1583
|
+
/* harmony import */ var _styleConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4762);
|
|
1474
1584
|
// Common readable consistent stylesheet
|
|
1475
1585
|
// to avoid using style sheets which are document-global
|
|
1476
1586
|
// and make programmable style toggling with selection, drag over, etc easier
|
|
1477
1587
|
// 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
1588
|
|
|
1483
1589
|
|
|
1484
|
-
var style =
|
|
1590
|
+
var style = {
|
|
1485
1591
|
// styleModule
|
|
1486
1592
|
|
|
1487
|
-
checkboxStyle: 'color:
|
|
1488
|
-
checkboxInputStyle: 'font-size:
|
|
1489
|
-
fieldLabelStyle: 'color:
|
|
1490
|
-
formSelectStyle: 'background-color:
|
|
1491
|
-
textInputStyle: 'background-color:
|
|
1593
|
+
checkboxStyle: 'color: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;',
|
|
1594
|
+
checkboxInputStyle: 'font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em;',
|
|
1595
|
+
fieldLabelStyle: 'color: #3B5998; text-decoration: none;',
|
|
1596
|
+
formSelectStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1597
|
+
textInputStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1492
1598
|
textInputStyleUneditable:
|
|
1493
1599
|
// Color difference only
|
|
1494
|
-
'background-color:
|
|
1495
|
-
buttonStyle: 'background-color:
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1600
|
+
'background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
1601
|
+
buttonStyle: 'background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;',
|
|
1602
|
+
// 'background-color: #eef;
|
|
1603
|
+
commentStyle: 'padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;',
|
|
1604
|
+
iconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 1em;',
|
|
1605
|
+
smallButtonStyle: 'margin: 0.2em; width: 1em; height:1em;',
|
|
1606
|
+
classIconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 0.2em; border: 0.1em solid green; padding: 0.2em; background-color: #efe;',
|
|
1607
|
+
// combine with buttonStyle
|
|
1608
|
+
confirmPopupStyle: 'padding: 0.7em; border-radius: 0.2em; border: 0.1em solid orange; background-color: white; box-shadow: 0.5em 0.9em #888;',
|
|
1609
|
+
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;',
|
|
1610
|
+
pendingeditModifier: 'color: #bbb;',
|
|
1503
1611
|
// Contacts
|
|
1504
|
-
personaBarStyle: 'width: 100%; height: 4em; background-color:
|
|
1505
|
-
searchInputStyle: 'border: 0.1em solid
|
|
1506
|
-
autocompleteRowStyle: 'border: 0.2em solid
|
|
1612
|
+
personaBarStyle: 'width: 100%; height: 4em; background-color: #eee; vertical-align: middle;',
|
|
1613
|
+
searchInputStyle: 'border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;',
|
|
1614
|
+
autocompleteRowStyle: 'border: 0.2em solid straw;',
|
|
1507
1615
|
// Login buttons
|
|
1508
|
-
signInAndUpButtonStyle: 'padding: 1em; border-radius:
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1616
|
+
signInAndUpButtonStyle: 'padding: 1em; border-radius:0.2em; font-size: 100%;',
|
|
1617
|
+
// was 0.5em radius
|
|
1618
|
+
headerBannerLoginInput: 'margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;',
|
|
1619
|
+
signUpBackground: 'background-color: #eef;',
|
|
1620
|
+
signInBackground: 'background-color: #efe;',
|
|
1512
1621
|
// Forms
|
|
1513
|
-
heading1Style: 'font-size: 180%; font-weight: bold; color:
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1622
|
+
heading1Style: 'font-size: 180%; font-weight: bold; color: #888888; padding: 0.5em; margin: 0.7em 0.0m;',
|
|
1623
|
+
// originally was brown; now grey
|
|
1624
|
+
heading2Style: 'font-size: 130%; font-weight: bold; color: #888888; padding: 0.4em; margin: 0.7em 0.0em;',
|
|
1625
|
+
// originally was brown; now grey
|
|
1626
|
+
heading3Style: 'font-size: 120%; font-weight: bold; color: #888888; padding: 0.3em; margin: 0.7em 0.0em;',
|
|
1627
|
+
// For example, in large forms or before a small form
|
|
1628
|
+
heading4Style: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
|
|
1629
|
+
// Lowest level used by default in small things
|
|
1630
|
+
|
|
1631
|
+
formHeadingStyle: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
|
|
1632
|
+
// originally was brown; now grey
|
|
1518
1633
|
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);',
|
|
1634
|
+
// originally used this
|
|
1635
|
+
formGroupStyle: ["padding-left: 0em; border: 0.0em solid ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formBorderColor, "; border-radius: 0.2em;"), // weight 0
|
|
1636
|
+
"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
|
|
1637
|
+
],
|
|
1638
|
+
formFieldLabelStyle: "color: ".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.lowProfileLinkColor, "; text-decoration: none;"),
|
|
1639
|
+
formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width:".concat(_styleConstants__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.formFieldNameBoxWidth, ";"),
|
|
1640
|
+
multilineTextInputStyle: 'font-size:100%; white-space: pre-wrap; background-color: #eef;' + ' border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;',
|
|
1528
1641
|
// Buttons
|
|
1529
|
-
renderAsDivStyle: 'display: flex; align-items: center; justify-content: space-between; height:
|
|
1530
|
-
imageDivStyle: 'width:
|
|
1531
|
-
linkDivStyle: 'width:
|
|
1642
|
+
renderAsDivStyle: 'display: flex; align-items: center; justify-content: space-between; height: 2.5em; padding: 1em;',
|
|
1643
|
+
imageDivStyle: 'width:2.5em; padding:0.5em; height: 2.5em;',
|
|
1644
|
+
linkDivStyle: 'width:2em; padding:0.5em; height: 4em;',
|
|
1532
1645
|
// ACL
|
|
1533
1646
|
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;'));
|
|
1647
|
+
aclControlBoxHeader: 'font-size: 120%; margin: 0 0 1rem;',
|
|
1648
|
+
aclControlBoxStatus: 'display: none; margin: 1rem 0;',
|
|
1649
|
+
aclControlBoxStatusRevealed: 'display: block;',
|
|
1650
|
+
aclGroupContent: 'maxWidth: 650;',
|
|
1651
|
+
accessGroupList: 'display: grid; grid-template-columns: 1fr; margin: 1em; width: 100%;',
|
|
1652
|
+
accessGroupListItem: 'display: grid; grid-template-columns: 100px auto 30%;',
|
|
1653
|
+
defaultsController: 'display: flex;',
|
|
1654
|
+
defaultsControllerNotice: 'color: #888; flexGrow: 1; fontSize: 80%;',
|
|
1655
|
+
bigButton: 'background-color: white; border: 0.1em solid #888; border-radius: 0.3em; max-width: 50%; padding-bottom: 1em; padding-top: 1em;',
|
|
1656
|
+
group: 'color: #888;',
|
|
1657
|
+
group1: 'color: green;',
|
|
1658
|
+
group2: 'color: #cc0;',
|
|
1659
|
+
group3: 'color: orange;',
|
|
1660
|
+
group5: 'color: red;',
|
|
1661
|
+
group9: 'color: blue;',
|
|
1662
|
+
group13: 'color: purple;',
|
|
1663
|
+
trustedAppAddApplicationsTable: 'background-color: #eee;',
|
|
1664
|
+
trustedAppCancelButton: 'float: right;',
|
|
1665
|
+
trustedAppControllerI: 'border-color: orange; border-radius: 1em; border-width: 0.1em;',
|
|
1666
|
+
temporaryStatusInit: 'background: green;',
|
|
1667
|
+
temporaryStatusEnd: 'background: transparent; transition: background 5s linear;',
|
|
1668
|
+
// header
|
|
1669
|
+
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;',
|
|
1670
|
+
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%);',
|
|
1671
|
+
headerUserMenuTrigger: 'background: none; border: 0; cursor: pointer; width: 60px; height: 60px;',
|
|
1672
|
+
headerUserMenuTriggerImg: 'border-radius: 50%; height: 56px; width: 28px !important;',
|
|
1673
|
+
headerUserMenuButton: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%;',
|
|
1674
|
+
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%);',
|
|
1675
|
+
headerUserMenuList: 'list-style: none; margin: 0; padding: 0;',
|
|
1676
|
+
headerUserMenuListDisplay: 'list-style: none; margin: 0; padding: 0; display:true;',
|
|
1677
|
+
headerUserMenuNavigationMenu: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: true;',
|
|
1678
|
+
headerUserMenuNavigationMenuNotDisplayed: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: none;',
|
|
1679
|
+
headerUserMenuListItem: 'border-bottom: solid 1px #000000;',
|
|
1680
|
+
headerUserMenuPhoto: 'border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px;',
|
|
1681
|
+
headerBanner: 'box-shadow: 0px 1px 4px #000000; display: flex; justify-content: space-between; padding: 0 1.5em; margin-bottom: 4px;',
|
|
1682
|
+
headerBannerLink: 'display: block;',
|
|
1683
|
+
headerBannerRightMenu: 'display: flex;',
|
|
1684
|
+
headerBannerLogin: 'margin-left: auto;',
|
|
1685
|
+
allChildrenVisible: 'display:true;',
|
|
1686
|
+
headerBannerUserMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
1687
|
+
headerBannerHelpMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
1688
|
+
headerBannerIcon: 'background-size: 65px 60px !important; height: 60px !important; width: 65px !important;',
|
|
1689
|
+
// may just be 65px round($icon-size * 352 / 322);
|
|
1690
|
+
|
|
1691
|
+
// footer
|
|
1692
|
+
footer: 'border-top: solid 1px $divider-color; font-size: 0.9em; padding: 0.5em 1.5em;',
|
|
1693
|
+
// buttons
|
|
1694
|
+
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;',
|
|
1695
|
+
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;',
|
|
1696
|
+
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;',
|
|
1697
|
+
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;',
|
|
1698
|
+
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;',
|
|
1699
|
+
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;',
|
|
1700
|
+
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;',
|
|
1701
|
+
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;',
|
|
1702
|
+
// media
|
|
1703
|
+
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, ";"),
|
|
1704
|
+
// dragAndDrop
|
|
1705
|
+
dragEvent: 'background-color: #ccc; border: 0.25em dashed black; border-radius: 0.3em;',
|
|
1706
|
+
dropEvent: 'background-color: white; border: 0em solid black;',
|
|
1707
|
+
restoreStyle: 'background-color: white;',
|
|
1708
|
+
// errors
|
|
1709
|
+
errorCancelButton: 'width: 2em; height: 2em; align: right;',
|
|
1710
|
+
errorMessageBlockStyle: 'margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color:black;',
|
|
1711
|
+
// pad
|
|
1712
|
+
notepadStyle: 'padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;',
|
|
1713
|
+
upstreamStatus: 'width: 50%;',
|
|
1714
|
+
downstreamStatus: 'width: 50%;',
|
|
1715
|
+
baseStyle: 'font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;',
|
|
1716
|
+
headingCore: 'font-family: sans-serif; font-weight: bold; border: none;',
|
|
1717
|
+
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%;'],
|
|
1718
|
+
// participation
|
|
1719
|
+
participantsStyle: 'margin: 0.8em;',
|
|
1720
|
+
participantsBlock: 'height: 1.5em; width: 1.5em; margin: 0.3em; border 0.01em solid #888;',
|
|
1721
|
+
personTableTD: 'vertical-align: middle;',
|
|
1722
|
+
// tabs
|
|
1723
|
+
tabsNavElement: 'margin: 0;',
|
|
1724
|
+
tabsRootElement: 'display: flex; height: 100%; width: 100%;',
|
|
1725
|
+
tabsMainElement: 'margin: 0; width:100%; height: 100%;',
|
|
1726
|
+
tabContainer: 'list-style-type: none; display: flex; height: 100%; width: 100%; margin: 0; padding: 0;',
|
|
1727
|
+
makeNewSlot: 'background: none; border: none; font: inherit; cursor: pointer;',
|
|
1728
|
+
ellipsis: 'position: absolute; right: 0; bottom: 0; width: 20%; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;'
|
|
1729
|
+
};
|
|
1536
1730
|
style.setStyle = function setStyle(ele, styleName) {
|
|
1537
1731
|
ele.style = style[styleName];
|
|
1538
1732
|
};
|
|
@@ -2875,51 +3069,6 @@ module.exports = function mimeScore (mimeType, source = 'default') {
|
|
|
2875
3069
|
}
|
|
2876
3070
|
|
|
2877
3071
|
|
|
2878
|
-
/***/ },
|
|
2879
|
-
|
|
2880
|
-
/***/ 1060
|
|
2881
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2882
|
-
|
|
2883
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2884
|
-
/* harmony export */ k: () => (/* binding */ unsafeStringify)
|
|
2885
|
-
/* harmony export */ });
|
|
2886
|
-
|
|
2887
|
-
const byteToHex = [];
|
|
2888
|
-
for (let i = 0; i < 256; ++i) {
|
|
2889
|
-
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
2890
|
-
}
|
|
2891
|
-
function unsafeStringify(arr, offset = 0) {
|
|
2892
|
-
return (byteToHex[arr[offset + 0]] +
|
|
2893
|
-
byteToHex[arr[offset + 1]] +
|
|
2894
|
-
byteToHex[arr[offset + 2]] +
|
|
2895
|
-
byteToHex[arr[offset + 3]] +
|
|
2896
|
-
'-' +
|
|
2897
|
-
byteToHex[arr[offset + 4]] +
|
|
2898
|
-
byteToHex[arr[offset + 5]] +
|
|
2899
|
-
'-' +
|
|
2900
|
-
byteToHex[arr[offset + 6]] +
|
|
2901
|
-
byteToHex[arr[offset + 7]] +
|
|
2902
|
-
'-' +
|
|
2903
|
-
byteToHex[arr[offset + 8]] +
|
|
2904
|
-
byteToHex[arr[offset + 9]] +
|
|
2905
|
-
'-' +
|
|
2906
|
-
byteToHex[arr[offset + 10]] +
|
|
2907
|
-
byteToHex[arr[offset + 11]] +
|
|
2908
|
-
byteToHex[arr[offset + 12]] +
|
|
2909
|
-
byteToHex[arr[offset + 13]] +
|
|
2910
|
-
byteToHex[arr[offset + 14]] +
|
|
2911
|
-
byteToHex[arr[offset + 15]]).toLowerCase();
|
|
2912
|
-
}
|
|
2913
|
-
function stringify(arr, offset = 0) {
|
|
2914
|
-
const uuid = unsafeStringify(arr, offset);
|
|
2915
|
-
if (!validate(uuid)) {
|
|
2916
|
-
throw TypeError('Stringified UUID is invalid');
|
|
2917
|
-
}
|
|
2918
|
-
return uuid;
|
|
2919
|
-
}
|
|
2920
|
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (stringify)));
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
3072
|
/***/ },
|
|
2924
3073
|
|
|
2925
3074
|
/***/ 1214
|
|
@@ -3557,9 +3706,9 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3557
3706
|
|
|
3558
3707
|
|
|
3559
3708
|
/* 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.
|
|
3709
|
+
/*
|
|
3710
|
+
This file was copied from mashlib/src/global/header.ts file. It is modified to
|
|
3711
|
+
work in solid-ui by adjusting where imported functions are found.
|
|
3563
3712
|
*/
|
|
3564
3713
|
|
|
3565
3714
|
|
|
@@ -3571,42 +3720,42 @@ hmac.create = (hash, key) => new HMAC(hash, key);
|
|
|
3571
3720
|
|
|
3572
3721
|
|
|
3573
3722
|
|
|
3574
|
-
/**
|
|
3575
|
-
* menu icons
|
|
3723
|
+
/**
|
|
3724
|
+
* menu icons
|
|
3576
3725
|
*/
|
|
3577
3726
|
var DEFAULT_HELP_MENU_ICON = _index__WEBPACK_IMPORTED_MODULE_2__/* .icons */ .Pt.iconBase + 'noun_help.svg';
|
|
3578
3727
|
var DEFAUL_SOLID_ICON_URL = 'https://solidproject.org/assets/img/solid-emblem.svg';
|
|
3579
3728
|
|
|
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.
|
|
3729
|
+
/*
|
|
3730
|
+
HeaderOptions allow for customizing the logo and menu list. If a logo is not provided the default
|
|
3731
|
+
is solid. Menulist will always show a link to logout and to the users profile.
|
|
3583
3732
|
*/
|
|
3584
3733
|
|
|
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
|
|
3734
|
+
/**
|
|
3735
|
+
* Initialize header component, the header object returned depends on whether the user is authenticated.
|
|
3736
|
+
* @param store the data store
|
|
3737
|
+
* @param userMenuList a list of menu items when the user is logged in
|
|
3738
|
+
* @param options allow the header to be customized with a personalized logo, help icon and a help menu list of links or buttons.
|
|
3739
|
+
* @returns a header for an authenticated user with menu items given or a login screen
|
|
3591
3740
|
*/
|
|
3592
3741
|
function initHeader(_x, _x2, _x3) {
|
|
3593
3742
|
return _initHeader.apply(this, arguments);
|
|
3594
3743
|
}
|
|
3595
|
-
/**
|
|
3596
|
-
* @ignore exporting this only for the unit test
|
|
3744
|
+
/**
|
|
3745
|
+
* @ignore exporting this only for the unit test
|
|
3597
3746
|
*/
|
|
3598
3747
|
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
|
|
3748
|
+
_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
3749
|
var header, pod;
|
|
3601
|
-
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (
|
|
3602
|
-
while (1) switch (
|
|
3750
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context2) {
|
|
3751
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
3603
3752
|
case 0:
|
|
3604
3753
|
header = document.getElementById('PageHeader');
|
|
3605
3754
|
if (header) {
|
|
3606
|
-
|
|
3755
|
+
_context2.next = 1;
|
|
3607
3756
|
break;
|
|
3608
3757
|
}
|
|
3609
|
-
return
|
|
3758
|
+
return _context2.abrupt("return");
|
|
3610
3759
|
case 1:
|
|
3611
3760
|
pod = (0,_utils_headerFooterHelpers__WEBPACK_IMPORTED_MODULE_8__/* .getPod */ .E6)();
|
|
3612
3761
|
rebuildHeader(header, store, pod, userMenuList, options)();
|
|
@@ -3614,9 +3763,9 @@ function _initHeader() {
|
|
|
3614
3763
|
solid_logic__WEBPACK_IMPORTED_MODULE_3__.authSession.events.on('login', rebuildHeader(header, store, pod, userMenuList, options));
|
|
3615
3764
|
case 2:
|
|
3616
3765
|
case "end":
|
|
3617
|
-
return
|
|
3766
|
+
return _context2.stop();
|
|
3618
3767
|
}
|
|
3619
|
-
},
|
|
3768
|
+
}, _callee2);
|
|
3620
3769
|
}));
|
|
3621
3770
|
return _initHeader.apply(this, arguments);
|
|
3622
3771
|
}
|
|
@@ -3640,20 +3789,20 @@ function rebuildHeader(header, store, pod, userMenuList, options) {
|
|
|
3640
3789
|
}, _callee);
|
|
3641
3790
|
}));
|
|
3642
3791
|
}
|
|
3643
|
-
/**
|
|
3644
|
-
* @ignore exporting this only for the unit test
|
|
3792
|
+
/**
|
|
3793
|
+
* @ignore exporting this only for the unit test
|
|
3645
3794
|
*/
|
|
3646
3795
|
function createBanner(_x4, _x5, _x6, _x7, _x8) {
|
|
3647
3796
|
return _createBanner.apply(this, arguments);
|
|
3648
3797
|
}
|
|
3649
|
-
/**
|
|
3650
|
-
* @ignore exporting this only for the unit test
|
|
3798
|
+
/**
|
|
3799
|
+
* @ignore exporting this only for the unit test
|
|
3651
3800
|
*/
|
|
3652
3801
|
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 (
|
|
3802
|
+
_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) {
|
|
3803
|
+
var podLink, image, userMenu, banner, leftSideOfHeader, helpMenu, _t2;
|
|
3804
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context3) {
|
|
3805
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
3657
3806
|
case 0:
|
|
3658
3807
|
podLink = document.createElement('a');
|
|
3659
3808
|
podLink.href = pod.uri;
|
|
@@ -3665,19 +3814,19 @@ function _createBanner() {
|
|
|
3665
3814
|
image.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerBannerIcon);
|
|
3666
3815
|
podLink.appendChild(image);
|
|
3667
3816
|
if (!user) {
|
|
3668
|
-
|
|
3817
|
+
_context3.next = 2;
|
|
3669
3818
|
break;
|
|
3670
3819
|
}
|
|
3671
|
-
|
|
3820
|
+
_context3.next = 1;
|
|
3672
3821
|
return createUserMenu(store, user, userMenuList);
|
|
3673
3822
|
case 1:
|
|
3674
|
-
|
|
3675
|
-
|
|
3823
|
+
_t2 = _context3.sent;
|
|
3824
|
+
_context3.next = 3;
|
|
3676
3825
|
break;
|
|
3677
3826
|
case 2:
|
|
3678
|
-
|
|
3827
|
+
_t2 = createLoginSignUpButtons();
|
|
3679
3828
|
case 3:
|
|
3680
|
-
userMenu =
|
|
3829
|
+
userMenu = _t2;
|
|
3681
3830
|
banner = document.createElement('div');
|
|
3682
3831
|
banner.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerBanner);
|
|
3683
3832
|
banner.appendChild(podLink);
|
|
@@ -3689,12 +3838,12 @@ function _createBanner() {
|
|
|
3689
3838
|
leftSideOfHeader.appendChild(helpMenu);
|
|
3690
3839
|
}
|
|
3691
3840
|
banner.appendChild(leftSideOfHeader);
|
|
3692
|
-
return
|
|
3841
|
+
return _context3.abrupt("return", banner);
|
|
3693
3842
|
case 4:
|
|
3694
3843
|
case "end":
|
|
3695
|
-
return
|
|
3844
|
+
return _context3.stop();
|
|
3696
3845
|
}
|
|
3697
|
-
},
|
|
3846
|
+
}, _callee3);
|
|
3698
3847
|
}));
|
|
3699
3848
|
return _createBanner.apply(this, arguments);
|
|
3700
3849
|
}
|
|
@@ -3702,88 +3851,6 @@ function createHelpMenu(options, helpMenuItems) {
|
|
|
3702
3851
|
if (!helpMenuItems) return;
|
|
3703
3852
|
var helpMenuList = document.createElement('ul');
|
|
3704
3853
|
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
3854
|
helpMenuItems.forEach(function (menuItem) {
|
|
3788
3855
|
var menuItemType = menuItem.url ? 'url' : 'onclick';
|
|
3789
3856
|
if (menuItemType === 'url') {
|
|
@@ -3830,8 +3897,8 @@ function createHelpMenu(options, helpMenuItems) {
|
|
|
3830
3897
|
});
|
|
3831
3898
|
return helpMenuContainer;
|
|
3832
3899
|
}
|
|
3833
|
-
/**
|
|
3834
|
-
* @ignore exporting this only for the unit test
|
|
3900
|
+
/**
|
|
3901
|
+
* @ignore exporting this only for the unit test
|
|
3835
3902
|
*/
|
|
3836
3903
|
function createLoginSignUpButtons() {
|
|
3837
3904
|
var profileLoginButtonPre = document.createElement('div');
|
|
@@ -3839,8 +3906,8 @@ function createLoginSignUpButtons() {
|
|
|
3839
3906
|
profileLoginButtonPre.appendChild((0,_login_login__WEBPACK_IMPORTED_MODULE_4__.loginStatusBox)(document, null, {}));
|
|
3840
3907
|
return profileLoginButtonPre;
|
|
3841
3908
|
}
|
|
3842
|
-
/**
|
|
3843
|
-
* @ignore exporting this only for the unit test
|
|
3909
|
+
/**
|
|
3910
|
+
* @ignore exporting this only for the unit test
|
|
3844
3911
|
*/
|
|
3845
3912
|
function createUserMenuButton(label, onClick) {
|
|
3846
3913
|
var button = document.createElement('button');
|
|
@@ -3855,8 +3922,8 @@ function createUserMenuButton(label, onClick) {
|
|
|
3855
3922
|
button.innerText = label;
|
|
3856
3923
|
return button;
|
|
3857
3924
|
}
|
|
3858
|
-
/**
|
|
3859
|
-
* @ignore exporting this only for the unit test
|
|
3925
|
+
/**
|
|
3926
|
+
* @ignore exporting this only for the unit test
|
|
3860
3927
|
*/
|
|
3861
3928
|
function createUserMenuLink(label, href, target) {
|
|
3862
3929
|
var link = document.createElement('a');
|
|
@@ -3873,28 +3940,28 @@ function createUserMenuLink(label, href, target) {
|
|
|
3873
3940
|
return link;
|
|
3874
3941
|
}
|
|
3875
3942
|
|
|
3876
|
-
/**
|
|
3877
|
-
* @ignore exporting this only for the unit test
|
|
3943
|
+
/**
|
|
3944
|
+
* @ignore exporting this only for the unit test
|
|
3878
3945
|
*/
|
|
3879
3946
|
function createUserMenu(_x9, _x0, _x1) {
|
|
3880
3947
|
return _createUserMenu.apply(this, arguments);
|
|
3881
3948
|
}
|
|
3882
3949
|
|
|
3883
|
-
/**
|
|
3884
|
-
* @ignore exporting this only for the unit test
|
|
3950
|
+
/**
|
|
3951
|
+
* @ignore exporting this only for the unit test
|
|
3885
3952
|
*/
|
|
3886
3953
|
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
|
|
3954
|
+
_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
3955
|
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 (
|
|
3956
|
+
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function (_context4) {
|
|
3957
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
3891
3958
|
case 0:
|
|
3892
3959
|
fetcher = store.fetcher;
|
|
3893
3960
|
if (!fetcher) {
|
|
3894
|
-
|
|
3961
|
+
_context4.next = 1;
|
|
3895
3962
|
break;
|
|
3896
3963
|
}
|
|
3897
|
-
|
|
3964
|
+
_context4.next = 1;
|
|
3898
3965
|
return fetcher.load(user);
|
|
3899
3966
|
case 1:
|
|
3900
3967
|
loggedInMenuList = document.createElement('ul');
|
|
@@ -3947,12 +4014,12 @@ function _createUserMenu() {
|
|
|
3947
4014
|
var nav = document.getElementById('loggedInNav');
|
|
3948
4015
|
nav === null || nav === void 0 || nav.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_6__/* .style */ .i.headerUserMenuNavigationMenuNotDisplayed);
|
|
3949
4016
|
});
|
|
3950
|
-
return
|
|
4017
|
+
return _context4.abrupt("return", loggedInMenuContainer);
|
|
3951
4018
|
case 2:
|
|
3952
4019
|
case "end":
|
|
3953
|
-
return
|
|
4020
|
+
return _context4.stop();
|
|
3954
4021
|
}
|
|
3955
|
-
},
|
|
4022
|
+
}, _callee4);
|
|
3956
4023
|
}));
|
|
3957
4024
|
return _createUserMenu.apply(this, arguments);
|
|
3958
4025
|
}
|
|
@@ -3962,8 +4029,8 @@ function createUserMenuItem(child) {
|
|
|
3962
4029
|
menuProfileItem.appendChild(child);
|
|
3963
4030
|
return menuProfileItem;
|
|
3964
4031
|
}
|
|
3965
|
-
/**
|
|
3966
|
-
* @ignore exporting this only for the unit test
|
|
4032
|
+
/**
|
|
4033
|
+
* @ignore exporting this only for the unit test
|
|
3967
4034
|
*/
|
|
3968
4035
|
function getProfileImg(store, user) {
|
|
3969
4036
|
var profileUrl = null;
|
|
@@ -3981,8 +4048,8 @@ function getProfileImg(store, user) {
|
|
|
3981
4048
|
return profileImage;
|
|
3982
4049
|
}
|
|
3983
4050
|
|
|
3984
|
-
/**
|
|
3985
|
-
* @internal
|
|
4051
|
+
/**
|
|
4052
|
+
* @internal
|
|
3986
4053
|
*/
|
|
3987
4054
|
function toggleMenu(event, trigger, menu) {
|
|
3988
4055
|
var isExpanded = trigger.getAttribute('aria-expanded') === 'true';
|
|
@@ -8559,7 +8626,7 @@ function toPrimitive(t, r) {
|
|
|
8559
8626
|
/* harmony import */ var solid_logic__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3138);
|
|
8560
8627
|
/* harmony import */ var _ns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1795);
|
|
8561
8628
|
/* harmony import */ var rdflib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4961);
|
|
8562
|
-
/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
8629
|
+
/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(630);
|
|
8563
8630
|
/* harmony import */ var _keys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(6855);
|
|
8564
8631
|
|
|
8565
8632
|
|
|
@@ -9420,7 +9487,7 @@ function _arrayLikeToArray(r, a) {
|
|
|
9420
9487
|
/* harmony import */ var _widgets__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(386);
|
|
9421
9488
|
/* harmony import */ var _widgets__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(3291);
|
|
9422
9489
|
/* harmony import */ var _widgets__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(3468);
|
|
9423
|
-
/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
9490
|
+
/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(630);
|
|
9424
9491
|
/* harmony import */ var _keys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(6855);
|
|
9425
9492
|
|
|
9426
9493
|
|
|
@@ -10186,7 +10253,7 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10186
10253
|
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3468);
|
|
10187
10254
|
/* harmony import */ var _widgetHelpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(9287);
|
|
10188
10255
|
/* harmony import */ var _buttons_iconLinks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9326);
|
|
10189
|
-
/* Buttons
|
|
10256
|
+
/* Buttons
|
|
10190
10257
|
*/
|
|
10191
10258
|
|
|
10192
10259
|
|
|
@@ -10201,9 +10268,9 @@ function renderMessageEditor(channelObject, messageTable, userContext, options,
|
|
|
10201
10268
|
|
|
10202
10269
|
|
|
10203
10270
|
|
|
10204
|
-
/**
|
|
10205
|
-
* UI Widgets such as buttons
|
|
10206
|
-
* @packageDocumentation
|
|
10271
|
+
/**
|
|
10272
|
+
* UI Widgets such as buttons
|
|
10273
|
+
* @packageDocumentation
|
|
10207
10274
|
*/
|
|
10208
10275
|
|
|
10209
10276
|
/* global alert */
|
|
@@ -10231,8 +10298,8 @@ function getStatusArea(context) {
|
|
|
10231
10298
|
return null;
|
|
10232
10299
|
}
|
|
10233
10300
|
|
|
10234
|
-
/**
|
|
10235
|
-
* Display an error message block
|
|
10301
|
+
/**
|
|
10302
|
+
* Display an error message block
|
|
10236
10303
|
*/
|
|
10237
10304
|
function complain(context, err) {
|
|
10238
10305
|
if (!err) return; // only if error
|
|
@@ -10241,8 +10308,8 @@ function complain(context, err) {
|
|
|
10241
10308
|
if (ele) ele.appendChild((0,_error__WEBPACK_IMPORTED_MODULE_10__/* .errorMessageBlock */ .F)(context && context.dom || document, err));else alert(err);
|
|
10242
10309
|
}
|
|
10243
10310
|
|
|
10244
|
-
/**
|
|
10245
|
-
* Remove all the children of an HTML element
|
|
10311
|
+
/**
|
|
10312
|
+
* Remove all the children of an HTML element
|
|
10246
10313
|
*/
|
|
10247
10314
|
function clearElement(ele) {
|
|
10248
10315
|
while (ele.firstChild) {
|
|
@@ -10251,8 +10318,8 @@ function clearElement(ele) {
|
|
|
10251
10318
|
return ele;
|
|
10252
10319
|
}
|
|
10253
10320
|
|
|
10254
|
-
/**
|
|
10255
|
-
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10321
|
+
/**
|
|
10322
|
+
* To figure out the log URI from the full URI used to invoke the reasoner
|
|
10256
10323
|
*/
|
|
10257
10324
|
function extractLogURI(fullURI) {
|
|
10258
10325
|
var logPos = fullURI.search(/logFile=/);
|
|
@@ -10260,11 +10327,11 @@ function extractLogURI(fullURI) {
|
|
|
10260
10327
|
return fullURI.substring(logPos + 8, rulPos);
|
|
10261
10328
|
}
|
|
10262
10329
|
|
|
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.
|
|
10330
|
+
/**
|
|
10331
|
+
* By default, converts e.g. '2020-02-19T19:35:28.557Z' to '19:35'
|
|
10332
|
+
* if today is 19 Feb 2020, and to 'Feb 19' if not.
|
|
10333
|
+
* @@@ TODO This needs to be changed to local time
|
|
10334
|
+
* @param noTime Return a string like 'Feb 19' even if it's today.
|
|
10268
10335
|
*/
|
|
10269
10336
|
function shortDate(str, noTime) {
|
|
10270
10337
|
if (!str) return '???';
|
|
@@ -10285,11 +10352,11 @@ function shortDate(str, noTime) {
|
|
|
10285
10352
|
}
|
|
10286
10353
|
}
|
|
10287
10354
|
|
|
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'
|
|
10355
|
+
/**
|
|
10356
|
+
* Format a date and time
|
|
10357
|
+
* @param date for instance `new Date()`
|
|
10358
|
+
* @param format for instance '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}'
|
|
10359
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10293
10360
|
*/
|
|
10294
10361
|
function formatDateTime(date, format) {
|
|
10295
10362
|
return format.split('{').map(function (s) {
|
|
@@ -10305,17 +10372,17 @@ function formatDateTime(date, format) {
|
|
|
10305
10372
|
}).join('');
|
|
10306
10373
|
}
|
|
10307
10374
|
|
|
10308
|
-
/**
|
|
10309
|
-
* Get a string representation of the current time
|
|
10310
|
-
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10375
|
+
/**
|
|
10376
|
+
* Get a string representation of the current time
|
|
10377
|
+
* @returns for instance '2000-01-15T23:14:23.002'
|
|
10311
10378
|
*/
|
|
10312
10379
|
function timestamp() {
|
|
10313
10380
|
return formatDateTime(new Date(), '{FullYear}-{Month}-{Date}T{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
10314
10381
|
}
|
|
10315
10382
|
|
|
10316
|
-
/**
|
|
10317
|
-
* Get a short string representation of the current time
|
|
10318
|
-
* @returns for instance '23:14:23.002'
|
|
10383
|
+
/**
|
|
10384
|
+
* Get a short string representation of the current time
|
|
10385
|
+
* @returns for instance '23:14:23.002'
|
|
10319
10386
|
*/
|
|
10320
10387
|
function shortTime() {
|
|
10321
10388
|
return formatDateTime(new Date(), '{Hours}:{Minutes}:{Seconds}.{Milliseconds}');
|
|
@@ -10323,8 +10390,8 @@ function shortTime() {
|
|
|
10323
10390
|
|
|
10324
10391
|
// ///////////////////// Handy UX widgets
|
|
10325
10392
|
|
|
10326
|
-
/**
|
|
10327
|
-
* Sets the best name we have and looks up a better one
|
|
10393
|
+
/**
|
|
10394
|
+
* Sets the best name we have and looks up a better one
|
|
10328
10395
|
*/
|
|
10329
10396
|
function setName(element, x) {
|
|
10330
10397
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10345,29 +10412,29 @@ function setName(element, x) {
|
|
|
10345
10412
|
}
|
|
10346
10413
|
}
|
|
10347
10414
|
|
|
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
|
-
|
|
10415
|
+
/**
|
|
10416
|
+
* Set of suitable images
|
|
10417
|
+
* See also [[findImage]]
|
|
10418
|
+
* @param x The thing for which we want to find an image
|
|
10419
|
+
* @param kb The RDF store to look in
|
|
10420
|
+
* @returns It goes looking for triples in `kb`,
|
|
10421
|
+
* `(subject: x), (predicate: see list below) (object: image-url)`
|
|
10422
|
+
* to find any image linked from the thing with one of the following
|
|
10423
|
+
* predicates (in order):
|
|
10424
|
+
* * ns.sioc('avatar')
|
|
10425
|
+
* * ns.foaf('img')
|
|
10426
|
+
* * ns.vcard('logo')
|
|
10427
|
+
* * ns.vcard('hasPhoto')
|
|
10428
|
+
* * ns.vcard('photo')
|
|
10429
|
+
* * ns.foaf('depiction')
|
|
10430
|
+
|
|
10364
10431
|
*/
|
|
10365
10432
|
function imagesOf(x, kb) {
|
|
10366
10433
|
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
10434
|
}
|
|
10368
10435
|
|
|
10369
|
-
/**
|
|
10370
|
-
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10436
|
+
/**
|
|
10437
|
+
* Best logo or avatar or photo etc to represent someone or some group etc
|
|
10371
10438
|
*/
|
|
10372
10439
|
var iconForClass = {
|
|
10373
10440
|
// Potentially extendable by other apps, panes, etc
|
|
@@ -10402,8 +10469,8 @@ var iconForClass = {
|
|
|
10402
10469
|
'wf:Closed': 'noun_17020.svg'
|
|
10403
10470
|
};
|
|
10404
10471
|
|
|
10405
|
-
/**
|
|
10406
|
-
* Returns the origin of the URI of a NamedNode
|
|
10472
|
+
/**
|
|
10473
|
+
* Returns the origin of the URI of a NamedNode
|
|
10407
10474
|
*/
|
|
10408
10475
|
function tempSite(x) {
|
|
10409
10476
|
// use only while one in rdflib fails with origins 2019
|
|
@@ -10419,8 +10486,8 @@ function tempSite(x) {
|
|
|
10419
10486
|
}
|
|
10420
10487
|
}
|
|
10421
10488
|
|
|
10422
|
-
/**
|
|
10423
|
-
* Find an image for this thing as a class
|
|
10489
|
+
/**
|
|
10490
|
+
* Find an image for this thing as a class
|
|
10424
10491
|
*/
|
|
10425
10492
|
function findImageFromURI(x) {
|
|
10426
10493
|
var iconDir = iconBase;
|
|
@@ -10450,22 +10517,22 @@ function findImageFromURI(x) {
|
|
|
10450
10517
|
return iconDir + 'noun_10636_grey.svg'; // Grey Circle - some thing
|
|
10451
10518
|
}
|
|
10452
10519
|
|
|
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')
|
|
10520
|
+
/**
|
|
10521
|
+
* Find something we have as explicit image data for the thing
|
|
10522
|
+
* See also [[imagesOf]]
|
|
10523
|
+
* @param thing The thing for which we want to find an image
|
|
10524
|
+
* @returns The URL of a globe icon if thing equals `ns.foaf('Agent')`
|
|
10525
|
+
* or `ns.rdf('Resource')`. Otherwise, it goes looking for
|
|
10526
|
+
* triples in `store`,
|
|
10527
|
+
* `(subject: thing), (predicate: see list below) (object: image-url)`
|
|
10528
|
+
* to find any image linked from the thing with one of the following
|
|
10529
|
+
* predicates (in order):
|
|
10530
|
+
* * ns.sioc('avatar')
|
|
10531
|
+
* * ns.foaf('img')
|
|
10532
|
+
* * ns.vcard('logo')
|
|
10533
|
+
* * ns.vcard('hasPhoto')
|
|
10534
|
+
* * ns.vcard('photo')
|
|
10535
|
+
* * ns.foaf('depiction')
|
|
10469
10536
|
*/
|
|
10470
10537
|
function findImage(thing) {
|
|
10471
10538
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10477,11 +10544,11 @@ function findImage(thing) {
|
|
|
10477
10544
|
return image ? image.uri : null;
|
|
10478
10545
|
}
|
|
10479
10546
|
|
|
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.
|
|
10547
|
+
/**
|
|
10548
|
+
* Do the best you can with the data available
|
|
10549
|
+
*
|
|
10550
|
+
* @return {Boolean} Are we happy with this icon?
|
|
10551
|
+
* Sets src AND STYLE of the image.
|
|
10485
10552
|
*/
|
|
10486
10553
|
function trySetImage(element, thing, iconForClassMap) {
|
|
10487
10554
|
var kb = solid_logic__WEBPACK_IMPORTED_MODULE_7__.store;
|
|
@@ -10517,8 +10584,8 @@ function trySetImage(element, thing, iconForClassMap) {
|
|
|
10517
10584
|
return false; // we can do better
|
|
10518
10585
|
}
|
|
10519
10586
|
|
|
10520
|
-
/**
|
|
10521
|
-
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10587
|
+
/**
|
|
10588
|
+
* ToDo: Also add icons for *properties* like home, work, email, range, domain, comment,
|
|
10522
10589
|
*/
|
|
10523
10590
|
function setImage(element, thing) {
|
|
10524
10591
|
// 20191230a
|
|
@@ -10567,7 +10634,7 @@ function faviconOrDefault(dom, x) {
|
|
|
10567
10634
|
}
|
|
10568
10635
|
}
|
|
10569
10636
|
|
|
10570
|
-
/* Two-option dialog pop-up
|
|
10637
|
+
/* Two-option dialog pop-up
|
|
10571
10638
|
*/
|
|
10572
10639
|
|
|
10573
10640
|
function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunction) {
|
|
@@ -10618,9 +10685,9 @@ function renderDeleteConfirmPopup(dom, refererenceElement, prompt, deleteFunctio
|
|
|
10618
10685
|
cancelPrompt.addEventListener('click', removePopup);
|
|
10619
10686
|
return popup;
|
|
10620
10687
|
}
|
|
10621
|
-
/**
|
|
10622
|
-
* Delete button with a check you really mean it
|
|
10623
|
-
* @@ Supress check if command key held down?
|
|
10688
|
+
/**
|
|
10689
|
+
* Delete button with a check you really mean it
|
|
10690
|
+
* @@ Supress check if command key held down?
|
|
10624
10691
|
*/
|
|
10625
10692
|
function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
10626
10693
|
function createPopup() {
|
|
@@ -10646,14 +10713,14 @@ function deleteButtonWithCheck(dom, container, noun, deleteFunction) {
|
|
|
10646
10713
|
return deleteButton; // or button div? caller may change size of image
|
|
10647
10714
|
}
|
|
10648
10715
|
|
|
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
|
|
10716
|
+
/* Make a button
|
|
10717
|
+
*
|
|
10718
|
+
* @param dom - the DOM document object
|
|
10719
|
+
* @Param iconURI - the URI of the icon to use (if any)
|
|
10720
|
+
* @param text - the tooltip text or possibly button contents text
|
|
10721
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10722
|
+
*
|
|
10723
|
+
* @returns <dDomElement> - the button
|
|
10657
10724
|
*/
|
|
10658
10725
|
function button(dom, iconURI, text, handler) {
|
|
10659
10726
|
var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
|
|
@@ -10666,7 +10733,7 @@ function button(dom, iconURI, text, handler) {
|
|
|
10666
10733
|
if (iconURI) {
|
|
10667
10734
|
var img = button.appendChild(dom.createElement('img'));
|
|
10668
10735
|
img.setAttribute('src', iconURI);
|
|
10669
|
-
img.setAttribute('style',
|
|
10736
|
+
img.setAttribute('style', 'width: 2em; height: 2em;'); // trial and error. 2em disappears
|
|
10670
10737
|
img.title = text;
|
|
10671
10738
|
button.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_3__/* .style */ .i.buttonStyle);
|
|
10672
10739
|
} else {
|
|
@@ -10721,12 +10788,12 @@ function button(dom, iconURI, text, handler) {
|
|
|
10721
10788
|
return button;
|
|
10722
10789
|
}
|
|
10723
10790
|
|
|
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
|
|
10791
|
+
/* Make a cancel button
|
|
10792
|
+
*
|
|
10793
|
+
* @param dom - the DOM document object
|
|
10794
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10795
|
+
*
|
|
10796
|
+
* @returns <dDomElement> - the button
|
|
10730
10797
|
*/
|
|
10731
10798
|
function cancelButton(dom, handler) {
|
|
10732
10799
|
var b = button(dom, cancelIconURI, 'Cancel', handler);
|
|
@@ -10737,22 +10804,22 @@ function cancelButton(dom, handler) {
|
|
|
10737
10804
|
return b;
|
|
10738
10805
|
}
|
|
10739
10806
|
|
|
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
|
|
10807
|
+
/* Make a continue button
|
|
10808
|
+
*
|
|
10809
|
+
* @param dom - the DOM document object
|
|
10810
|
+
* @param handler <function> - A handler to called when button is clicked
|
|
10811
|
+
*
|
|
10812
|
+
* @returns <dDomElement> - the button
|
|
10746
10813
|
*/
|
|
10747
10814
|
function continueButton(dom, handler) {
|
|
10748
10815
|
return button(dom, checkIconURI, 'Continue', handler);
|
|
10749
10816
|
}
|
|
10750
10817
|
|
|
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)
|
|
10818
|
+
/* Grab a name for a new thing
|
|
10819
|
+
*
|
|
10820
|
+
* Form to get the name of a new thing before we create it
|
|
10821
|
+
* @params theClass Misspelt to avoid clashing with the JavaScript keyword
|
|
10822
|
+
* @returns: a promise of (a name or null if cancelled)
|
|
10756
10823
|
*/
|
|
10757
10824
|
function askName(dom, kb, container, predicate, theClass, noun) {
|
|
10758
10825
|
return new Promise(function (resolve, _reject) {
|
|
@@ -10794,10 +10861,10 @@ function askName(dom, kb, container, predicate, theClass, noun) {
|
|
|
10794
10861
|
}); // Promise
|
|
10795
10862
|
}
|
|
10796
10863
|
|
|
10797
|
-
/**
|
|
10798
|
-
* A TR to represent a draggable person, etc in a list
|
|
10799
|
-
*
|
|
10800
|
-
* pred is unused param at the moment
|
|
10864
|
+
/**
|
|
10865
|
+
* A TR to represent a draggable person, etc in a list
|
|
10866
|
+
*
|
|
10867
|
+
* pred is unused param at the moment
|
|
10801
10868
|
*/
|
|
10802
10869
|
var personTR = renderAsRow; // The legacy name is used in a lot of places
|
|
10803
10870
|
|
|
@@ -10811,9 +10878,9 @@ function renderAsRow(dom, pred, obj, options) {
|
|
|
10811
10878
|
|
|
10812
10879
|
// const image = td1.appendChild(dom.createElement('img'))
|
|
10813
10880
|
var image = options.image || faviconOrDefault(dom, obj);
|
|
10814
|
-
td1.setAttribute('style', 'vertical-align: middle; width:
|
|
10881
|
+
td1.setAttribute('style', 'vertical-align: middle; width:2.5em; padding:0.5em; height: 2.5em;');
|
|
10815
10882
|
td2.setAttribute('style', 'vertical-align: middle; text-align:left;');
|
|
10816
|
-
td3.setAttribute('style', 'vertical-align: middle; width:
|
|
10883
|
+
td3.setAttribute('style', 'vertical-align: middle; width:2em; padding:0.5em; height: 4em;');
|
|
10817
10884
|
td1.appendChild(image);
|
|
10818
10885
|
if (options.title) {
|
|
10819
10886
|
td2.textContent = options.title;
|
|
@@ -10841,11 +10908,11 @@ function renderAsRow(dom, pred, obj, options) {
|
|
|
10841
10908
|
return tr;
|
|
10842
10909
|
}
|
|
10843
10910
|
|
|
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
|
|
10911
|
+
/* A helper function for renderAsDiv
|
|
10912
|
+
* creates the NameDiv for the person
|
|
10913
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10914
|
+
* from buttons
|
|
10915
|
+
* @internal exporting this only for unit tests
|
|
10849
10916
|
*/
|
|
10850
10917
|
function createNameDiv(dom, div, title, obj) {
|
|
10851
10918
|
var nameDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10855,11 +10922,11 @@ function createNameDiv(dom, div, title, obj) {
|
|
|
10855
10922
|
setName(nameDiv, obj); // This is async
|
|
10856
10923
|
}
|
|
10857
10924
|
}
|
|
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
|
|
10925
|
+
/* A helper function for renderAsDiv
|
|
10926
|
+
* creates the linkDiv for the person
|
|
10927
|
+
* Note: could not move it to the helper file because they call exported functions
|
|
10928
|
+
* from buttons
|
|
10929
|
+
* @internal exporting this only for unit tests
|
|
10863
10930
|
*/
|
|
10864
10931
|
function createLinkDiv(dom, div, obj, options) {
|
|
10865
10932
|
var linkDiv = div.appendChild(dom.createElement('div'));
|
|
@@ -10875,9 +10942,9 @@ function createLinkDiv(dom, div, obj, options) {
|
|
|
10875
10942
|
(0,_dragAndDrop__WEBPACK_IMPORTED_MODULE_6__/* .makeDraggable */ .eB)(div, obj);
|
|
10876
10943
|
}
|
|
10877
10944
|
}
|
|
10878
|
-
/**
|
|
10879
|
-
* A Div to represent a draggable person, etc in a list
|
|
10880
|
-
* configurable to add an onClick listener
|
|
10945
|
+
/**
|
|
10946
|
+
* A Div to represent a draggable person, etc in a list
|
|
10947
|
+
* configurable to add an onClick listener
|
|
10881
10948
|
*/
|
|
10882
10949
|
function renderAsDiv(dom, obj, options) {
|
|
10883
10950
|
var div = dom.createElement('div');
|
|
@@ -10899,8 +10966,8 @@ function renderAsDiv(dom, obj, options) {
|
|
|
10899
10966
|
return div;
|
|
10900
10967
|
}
|
|
10901
10968
|
|
|
10902
|
-
/**
|
|
10903
|
-
* Refresh a DOM tree recursively
|
|
10969
|
+
/**
|
|
10970
|
+
* Refresh a DOM tree recursively
|
|
10904
10971
|
*/
|
|
10905
10972
|
function refreshTree(root) {
|
|
10906
10973
|
if (root.refresh) {
|
|
@@ -10912,15 +10979,15 @@ function refreshTree(root) {
|
|
|
10912
10979
|
}
|
|
10913
10980
|
}
|
|
10914
10981
|
|
|
10915
|
-
/**
|
|
10916
|
-
* Options argument for [[attachmentList]] function
|
|
10982
|
+
/**
|
|
10983
|
+
* Options argument for [[attachmentList]] function
|
|
10917
10984
|
*/
|
|
10918
10985
|
|
|
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.
|
|
10986
|
+
/**
|
|
10987
|
+
* Component that displays a list of resources, for instance
|
|
10988
|
+
* the attachments of a message, or the various documents related
|
|
10989
|
+
* to a meeting.
|
|
10990
|
+
* Accepts dropping URLs onto it to add attachments to it.
|
|
10924
10991
|
*/
|
|
10925
10992
|
function attachmentList(dom, subject, div) {
|
|
10926
10993
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
@@ -11033,11 +11100,11 @@ function attachmentList(dom, subject, div) {
|
|
|
11033
11100
|
|
|
11034
11101
|
// /////////////////////////////////////////////////////////////////////////////
|
|
11035
11102
|
|
|
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)
|
|
11103
|
+
/**
|
|
11104
|
+
* Event Handler for links within solid apps.
|
|
11105
|
+
*
|
|
11106
|
+
* Note that native links have constraints in Firefox, they
|
|
11107
|
+
* don't work with local files for instance (2011)
|
|
11041
11108
|
*/
|
|
11042
11109
|
function openHrefInOutlineMode(e) {
|
|
11043
11110
|
e.preventDefault();
|
|
@@ -11061,10 +11128,10 @@ function openHrefInOutlineMode(e) {
|
|
|
11061
11128
|
// dom.outlineManager.GotoSubject(store.sym(uri), true, undefined, true, undefined)
|
|
11062
11129
|
}
|
|
11063
11130
|
|
|
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.
|
|
11131
|
+
/**
|
|
11132
|
+
* Make a URI in the Tabulator.org annotation store out of the URI of the thing to be annotated.
|
|
11133
|
+
*
|
|
11134
|
+
* @@ Todo: make it a personal preference.
|
|
11068
11135
|
*/
|
|
11069
11136
|
function defaultAnnotationStore(subject) {
|
|
11070
11137
|
if (subject.uri === undefined) return undefined;
|
|
@@ -11082,10 +11149,10 @@ function defaultAnnotationStore(subject) {
|
|
|
11082
11149
|
return solid_logic__WEBPACK_IMPORTED_MODULE_7__.store.sym('http://tabulator.org/wiki/annnotation/' + s);
|
|
11083
11150
|
}
|
|
11084
11151
|
|
|
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.
|
|
11152
|
+
/**
|
|
11153
|
+
* Retrieve all RDF class URIs from solid-ui's RDF store
|
|
11154
|
+
* @returns an object `ret` such that `Object.keys(ret)` is
|
|
11155
|
+
* the list of all class URIs.
|
|
11089
11156
|
*/
|
|
11090
11157
|
function allClassURIs() {
|
|
11091
11158
|
var set = {};
|
|
@@ -11102,16 +11169,16 @@ function allClassURIs() {
|
|
|
11102
11169
|
return set;
|
|
11103
11170
|
}
|
|
11104
11171
|
|
|
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.
|
|
11172
|
+
/**
|
|
11173
|
+
* Figuring which properties we know about
|
|
11174
|
+
*
|
|
11175
|
+
* When the user inputs an RDF property, like for a form field
|
|
11176
|
+
* or when specifying the relationship between two arbitrary things,
|
|
11177
|
+
* then er can prompt them with properties the session knows about
|
|
11178
|
+
*
|
|
11179
|
+
* TODO: Look again by catching this somewhere. (On the kb?)
|
|
11180
|
+
* TODO: move to diff module? Not really a button.
|
|
11181
|
+
* @param {Store} kb The quadstore to be searched.
|
|
11115
11182
|
*/
|
|
11116
11183
|
|
|
11117
11184
|
function propertyTriage(kb) {
|
|
@@ -11149,12 +11216,12 @@ function propertyTriage(kb) {
|
|
|
11149
11216
|
return possibleProperties;
|
|
11150
11217
|
}
|
|
11151
11218
|
|
|
11152
|
-
/**
|
|
11153
|
-
* General purpose widgets
|
|
11219
|
+
/**
|
|
11220
|
+
* General purpose widgets
|
|
11154
11221
|
*/
|
|
11155
11222
|
|
|
11156
|
-
/**
|
|
11157
|
-
* A button for jumping
|
|
11223
|
+
/**
|
|
11224
|
+
* A button for jumping
|
|
11158
11225
|
*/
|
|
11159
11226
|
function linkButton(dom, object) {
|
|
11160
11227
|
var b = dom.createElement('button');
|
|
@@ -11169,8 +11236,8 @@ function linkButton(dom, object) {
|
|
|
11169
11236
|
return b;
|
|
11170
11237
|
}
|
|
11171
11238
|
|
|
11172
|
-
/**
|
|
11173
|
-
* A button to remove some other element from the page
|
|
11239
|
+
/**
|
|
11240
|
+
* A button to remove some other element from the page
|
|
11174
11241
|
*/
|
|
11175
11242
|
function removeButton(dom, element) {
|
|
11176
11243
|
var b = dom.createElement('button');
|
|
@@ -11200,17 +11267,17 @@ function removeButton(dom, element) {
|
|
|
11200
11267
|
//
|
|
11201
11268
|
// These are for selecting different modes, sources,styles, etc.
|
|
11202
11269
|
//
|
|
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
|
-
}
|
|
11270
|
+
/*
|
|
11271
|
+
buttons.headerButtons = function (dom, kb, name, words) {
|
|
11272
|
+
const box = dom.createElement('table')
|
|
11273
|
+
var i, word, s = '<tr>'
|
|
11274
|
+
box.setAttribute('style', 'width: 90%; height: 1.5em')
|
|
11275
|
+
for (i=0; i<words.length; i++) {
|
|
11276
|
+
s += '<td><input type="radio" name="' + name + '" id="' + words[i] + '" value='
|
|
11277
|
+
}
|
|
11278
|
+
box.innerHTML = s + '</tr>'
|
|
11279
|
+
|
|
11280
|
+
}
|
|
11214
11281
|
*/
|
|
11215
11282
|
// ////////////////////////////////////////////////////////////
|
|
11216
11283
|
//
|
|
@@ -11300,9 +11367,9 @@ function twoLineDefault(dom, x) {
|
|
|
11300
11367
|
return box;
|
|
11301
11368
|
}
|
|
11302
11369
|
|
|
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
|
|
11370
|
+
/**
|
|
11371
|
+
* Find a function that can create a widget for a given class
|
|
11372
|
+
* @param c The RDF class for which we want a widget generator function
|
|
11306
11373
|
*/
|
|
11307
11374
|
function twoLineWidgetForClass(c) {
|
|
11308
11375
|
var widget = index.twoLine[c.uri];
|
|
@@ -11316,12 +11383,12 @@ function twoLineWidgetForClass(c) {
|
|
|
11316
11383
|
return index.twoLine[''];
|
|
11317
11384
|
}
|
|
11318
11385
|
|
|
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
|
|
11386
|
+
/**
|
|
11387
|
+
* Display a transaction
|
|
11388
|
+
* @param x Should have attributes through triples in store:
|
|
11389
|
+
* * ns.qu('payee') -> a named node
|
|
11390
|
+
* * ns.qu('date) -> a literal
|
|
11391
|
+
* * ns.qu('amount') -> a literal
|
|
11325
11392
|
*/
|
|
11326
11393
|
function twoLineTransaction(dom, x) {
|
|
11327
11394
|
var failed = '';
|
|
@@ -11338,12 +11405,12 @@ function twoLineTransaction(dom, x) {
|
|
|
11338
11405
|
return box;
|
|
11339
11406
|
}
|
|
11340
11407
|
|
|
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
|
|
11408
|
+
/**
|
|
11409
|
+
* Display a trip
|
|
11410
|
+
* @param x Should have attributes through triples in store:
|
|
11411
|
+
* * ns.dc('title') -> a literal
|
|
11412
|
+
* * ns.cal('dtstart') -> a literal
|
|
11413
|
+
* * ns.cal('dtend') -> a literal
|
|
11347
11414
|
*/
|
|
11348
11415
|
function twoLineTrip(dom, x) {
|
|
11349
11416
|
var enc = function enc(p) {
|
|
@@ -11355,8 +11422,8 @@ function twoLineTrip(dom, x) {
|
|
|
11355
11422
|
return box;
|
|
11356
11423
|
}
|
|
11357
11424
|
|
|
11358
|
-
/**
|
|
11359
|
-
* Stick a stylesheet link the document if not already there
|
|
11425
|
+
/**
|
|
11426
|
+
* Stick a stylesheet link the document if not already there
|
|
11360
11427
|
*/
|
|
11361
11428
|
function addStyleSheet(dom, href) {
|
|
11362
11429
|
var links = dom.querySelectorAll('link');
|
|
@@ -11380,8 +11447,8 @@ function isAudio(file) {
|
|
|
11380
11447
|
function isVideo(file) {
|
|
11381
11448
|
return isImage(file, 'video');
|
|
11382
11449
|
}
|
|
11383
|
-
/**
|
|
11384
|
-
*
|
|
11450
|
+
/**
|
|
11451
|
+
*
|
|
11385
11452
|
*/
|
|
11386
11453
|
function isImage(file, kind) {
|
|
11387
11454
|
var dcCLasses = {
|
|
@@ -11403,12 +11470,12 @@ function isImage(file, kind) {
|
|
|
11403
11470
|
return false;
|
|
11404
11471
|
}
|
|
11405
11472
|
|
|
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.
|
|
11473
|
+
/**
|
|
11474
|
+
* File upload button
|
|
11475
|
+
* @param dom The DOM aka document
|
|
11476
|
+
* @param droppedFileHandler Same handler function as drop, takes array of file objects
|
|
11477
|
+
* @returns {Element} - a div with a button and a inout in it
|
|
11478
|
+
* The input is hidden, as it is uglky - the user clicks on the nice icons and fires the input.
|
|
11412
11479
|
*/
|
|
11413
11480
|
// See https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications
|
|
11414
11481
|
function fileUploadButtonDiv(dom, droppedFileHandler) {
|
|
@@ -11803,6 +11870,27 @@ function _setPrototypeOf(t, e) {
|
|
|
11803
11870
|
}
|
|
11804
11871
|
|
|
11805
11872
|
|
|
11873
|
+
/***/ },
|
|
11874
|
+
|
|
11875
|
+
/***/ 3689
|
|
11876
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
11877
|
+
|
|
11878
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11879
|
+
/* harmony export */ A: () => (/* binding */ rng)
|
|
11880
|
+
/* harmony export */ });
|
|
11881
|
+
let getRandomValues;
|
|
11882
|
+
const rnds8 = new Uint8Array(16);
|
|
11883
|
+
function rng() {
|
|
11884
|
+
if (!getRandomValues) {
|
|
11885
|
+
if (typeof crypto === 'undefined' || !crypto.getRandomValues) {
|
|
11886
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
11887
|
+
}
|
|
11888
|
+
getRandomValues = crypto.getRandomValues.bind(crypto);
|
|
11889
|
+
}
|
|
11890
|
+
return getRandomValues(rnds8);
|
|
11891
|
+
}
|
|
11892
|
+
|
|
11893
|
+
|
|
11806
11894
|
/***/ },
|
|
11807
11895
|
|
|
11808
11896
|
/***/ 3693
|
|
@@ -13272,29 +13360,60 @@ function setInternals(window, document) {
|
|
|
13272
13360
|
|
|
13273
13361
|
/***/ },
|
|
13274
13362
|
|
|
13275
|
-
/***/
|
|
13363
|
+
/***/ 4243
|
|
13276
13364
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
13277
13365
|
|
|
13278
13366
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13279
|
-
/* harmony export */ A: () => (
|
|
13367
|
+
/* harmony export */ A: () => (/* binding */ _arrayWithoutHoles)
|
|
13280
13368
|
/* harmony export */ });
|
|
13281
|
-
|
|
13282
|
-
|
|
13369
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3145);
|
|
13370
|
+
|
|
13371
|
+
function _arrayWithoutHoles(r) {
|
|
13372
|
+
if (Array.isArray(r)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(r);
|
|
13373
|
+
}
|
|
13283
13374
|
|
|
13284
13375
|
|
|
13285
13376
|
/***/ },
|
|
13286
13377
|
|
|
13287
|
-
/***/
|
|
13378
|
+
/***/ 4296
|
|
13288
13379
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
13289
13380
|
|
|
13290
13381
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13291
|
-
/* harmony export */ A: () => (
|
|
13382
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13292
13383
|
/* harmony export */ });
|
|
13293
|
-
/* harmony import */ var
|
|
13384
|
+
/* harmony import */ var _native_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7697);
|
|
13385
|
+
/* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3689);
|
|
13386
|
+
/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8249);
|
|
13294
13387
|
|
|
13295
|
-
|
|
13296
|
-
|
|
13388
|
+
|
|
13389
|
+
|
|
13390
|
+
function _v4(options, buf, offset) {
|
|
13391
|
+
options = options || {};
|
|
13392
|
+
const rnds = options.random ?? options.rng?.() ?? (0,_rng_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();
|
|
13393
|
+
if (rnds.length < 16) {
|
|
13394
|
+
throw new Error('Random bytes length must be >= 16');
|
|
13395
|
+
}
|
|
13396
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
13397
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
13398
|
+
if (buf) {
|
|
13399
|
+
offset = offset || 0;
|
|
13400
|
+
if (offset < 0 || offset + 16 > buf.length) {
|
|
13401
|
+
throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
|
|
13402
|
+
}
|
|
13403
|
+
for (let i = 0; i < 16; ++i) {
|
|
13404
|
+
buf[offset + i] = rnds[i];
|
|
13405
|
+
}
|
|
13406
|
+
return buf;
|
|
13407
|
+
}
|
|
13408
|
+
return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_2__/* .unsafeStringify */ .k)(rnds);
|
|
13409
|
+
}
|
|
13410
|
+
function v4(options, buf, offset) {
|
|
13411
|
+
if (_native_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.randomUUID && !buf && !options) {
|
|
13412
|
+
return _native_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.randomUUID();
|
|
13413
|
+
}
|
|
13414
|
+
return _v4(options, buf, offset);
|
|
13297
13415
|
}
|
|
13416
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v4);
|
|
13298
13417
|
|
|
13299
13418
|
|
|
13300
13419
|
/***/ },
|
|
@@ -16198,7 +16317,7 @@ function _getProspectiveHolder() {
|
|
|
16198
16317
|
/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2901);
|
|
16199
16318
|
/* harmony import */ var escape_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
16200
16319
|
/* harmony import */ var escape_html__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(escape_html__WEBPACK_IMPORTED_MODULE_3__);
|
|
16201
|
-
/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
16320
|
+
/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4296);
|
|
16202
16321
|
/* harmony import */ var rdflib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4961);
|
|
16203
16322
|
/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7423);
|
|
16204
16323
|
/* harmony import */ var _dragAndDrop__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(386);
|
|
@@ -17136,46 +17255,6 @@ var media = {
|
|
|
17136
17255
|
cameraButton: _media_capture__WEBPACK_IMPORTED_MODULE_0__/* .cameraButton */ .Y
|
|
17137
17256
|
};
|
|
17138
17257
|
|
|
17139
|
-
/***/ },
|
|
17140
|
-
|
|
17141
|
-
/***/ 6235
|
|
17142
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17143
|
-
|
|
17144
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17145
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17146
|
-
/* harmony export */ });
|
|
17147
|
-
/* harmony import */ var _native_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4210);
|
|
17148
|
-
/* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6984);
|
|
17149
|
-
/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1060);
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
|
|
17153
|
-
function v4(options, buf, offset) {
|
|
17154
|
-
if (_native_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.randomUUID && !buf && !options) {
|
|
17155
|
-
return _native_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.randomUUID();
|
|
17156
|
-
}
|
|
17157
|
-
options = options || {};
|
|
17158
|
-
const rnds = options.random ?? options.rng?.() ?? (0,_rng_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();
|
|
17159
|
-
if (rnds.length < 16) {
|
|
17160
|
-
throw new Error('Random bytes length must be >= 16');
|
|
17161
|
-
}
|
|
17162
|
-
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
17163
|
-
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
17164
|
-
if (buf) {
|
|
17165
|
-
offset = offset || 0;
|
|
17166
|
-
if (offset < 0 || offset + 16 > buf.length) {
|
|
17167
|
-
throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
|
|
17168
|
-
}
|
|
17169
|
-
for (let i = 0; i < 16; ++i) {
|
|
17170
|
-
buf[offset + i] = rnds[i];
|
|
17171
|
-
}
|
|
17172
|
-
return buf;
|
|
17173
|
-
}
|
|
17174
|
-
return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_2__/* .unsafeStringify */ .k)(rnds);
|
|
17175
|
-
}
|
|
17176
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v4);
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
17258
|
/***/ },
|
|
17180
17259
|
|
|
17181
17260
|
/***/ 6247
|
|
@@ -20101,27 +20180,6 @@ function _saveKey() {
|
|
|
20101
20180
|
return _saveKey.apply(this, arguments);
|
|
20102
20181
|
}
|
|
20103
20182
|
|
|
20104
|
-
/***/ },
|
|
20105
|
-
|
|
20106
|
-
/***/ 6984
|
|
20107
|
-
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20108
|
-
|
|
20109
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20110
|
-
/* harmony export */ A: () => (/* binding */ rng)
|
|
20111
|
-
/* harmony export */ });
|
|
20112
|
-
let getRandomValues;
|
|
20113
|
-
const rnds8 = new Uint8Array(16);
|
|
20114
|
-
function rng() {
|
|
20115
|
-
if (!getRandomValues) {
|
|
20116
|
-
if (typeof crypto === 'undefined' || !crypto.getRandomValues) {
|
|
20117
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
20118
|
-
}
|
|
20119
|
-
getRandomValues = crypto.getRandomValues.bind(crypto);
|
|
20120
|
-
}
|
|
20121
|
-
return getRandomValues(rnds8);
|
|
20122
|
-
}
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
20183
|
/***/ },
|
|
20126
20184
|
|
|
20127
20185
|
/***/ 6986
|
|
@@ -21510,333 +21568,15 @@ function setFieldStyle(ele, field) {
|
|
|
21510
21568
|
|
|
21511
21569
|
/***/ },
|
|
21512
21570
|
|
|
21513
|
-
/***/
|
|
21514
|
-
(
|
|
21571
|
+
/***/ 7697
|
|
21572
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
21515
21573
|
|
|
21516
21574
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21517
|
-
/* harmony export */
|
|
21575
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21518
21576
|
/* harmony export */ });
|
|
21519
|
-
|
|
21520
|
-
/* harmony
|
|
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
|
-
// In development, path might need adjustment
|
|
21735
|
-
// In production (dist), themes should be copied alongside
|
|
21736
|
-
if (true) {
|
|
21737
|
-
return __webpack_require__.p + path;
|
|
21738
|
-
}
|
|
21739
|
-
|
|
21740
|
-
// Try to find solid-ui base path
|
|
21741
|
-
// removed by dead control flow
|
|
21742
|
-
var scripts;
|
|
21743
|
-
// removed by dead control flow
|
|
21744
|
-
var _iterator, _step;
|
|
21745
|
-
// removed by dead control flow
|
|
21746
|
-
var baseUrl, script;
|
|
21747
|
-
// removed by dead control flow
|
|
21748
|
-
|
|
21749
|
-
}
|
|
21750
|
-
|
|
21751
|
-
/**
|
|
21752
|
-
* Wait for stylesheet to load
|
|
21753
|
-
* @private
|
|
21754
|
-
*/
|
|
21755
|
-
}, {
|
|
21756
|
-
key: "waitForStylesheet",
|
|
21757
|
-
value: function waitForStylesheet(link) {
|
|
21758
|
-
return new Promise(function (resolve, reject) {
|
|
21759
|
-
link.onload = function () {
|
|
21760
|
-
return resolve();
|
|
21761
|
-
};
|
|
21762
|
-
link.onerror = function () {
|
|
21763
|
-
return reject(new Error("Failed to load: ".concat(link.href)));
|
|
21764
|
-
};
|
|
21765
|
-
|
|
21766
|
-
// Timeout after 10 seconds
|
|
21767
|
-
setTimeout(function () {
|
|
21768
|
-
return reject(new Error('Theme load timeout'));
|
|
21769
|
-
}, 10000);
|
|
21770
|
-
});
|
|
21771
|
-
}
|
|
21772
|
-
|
|
21773
|
-
/**
|
|
21774
|
-
* Get saved theme from localStorage
|
|
21775
|
-
* @private
|
|
21776
|
-
*/
|
|
21777
|
-
}, {
|
|
21778
|
-
key: "getSavedTheme",
|
|
21779
|
-
value: function getSavedTheme() {
|
|
21780
|
-
try {
|
|
21781
|
-
return localStorage.getItem(STORAGE_KEY) || DEFAULT_THEME;
|
|
21782
|
-
} catch (error) {
|
|
21783
|
-
return DEFAULT_THEME;
|
|
21784
|
-
}
|
|
21785
|
-
}
|
|
21786
|
-
|
|
21787
|
-
/**
|
|
21788
|
-
* Save theme to localStorage
|
|
21789
|
-
* @private
|
|
21790
|
-
*/
|
|
21791
|
-
}, {
|
|
21792
|
-
key: "saveTheme",
|
|
21793
|
-
value: function saveTheme(themeName) {
|
|
21794
|
-
try {
|
|
21795
|
-
localStorage.setItem(STORAGE_KEY, themeName);
|
|
21796
|
-
} catch (error) {
|
|
21797
|
-
console.warn('Failed to save theme preference:', error);
|
|
21798
|
-
}
|
|
21799
|
-
}
|
|
21800
|
-
|
|
21801
|
-
/**
|
|
21802
|
-
* Format theme name for display
|
|
21803
|
-
* @private
|
|
21804
|
-
*/
|
|
21805
|
-
}, {
|
|
21806
|
-
key: "formatThemeName",
|
|
21807
|
-
value: function formatThemeName(name) {
|
|
21808
|
-
return name.charAt(0).toUpperCase() + name.slice(1);
|
|
21809
|
-
}
|
|
21810
|
-
|
|
21811
|
-
/**
|
|
21812
|
-
* Emit theme change event
|
|
21813
|
-
* @private
|
|
21814
|
-
*/
|
|
21815
|
-
}, {
|
|
21816
|
-
key: "emitThemeChange",
|
|
21817
|
-
value: function emitThemeChange(themeName) {
|
|
21818
|
-
var event = new CustomEvent('solid-ui-theme-change', {
|
|
21819
|
-
detail: {
|
|
21820
|
-
theme: themeName
|
|
21821
|
-
}
|
|
21822
|
-
});
|
|
21823
|
-
window.dispatchEvent(event);
|
|
21824
|
-
}
|
|
21825
|
-
}]);
|
|
21826
|
-
}(); // Create singleton instance
|
|
21827
|
-
var themeLoader = new ThemeLoader();
|
|
21577
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
21578
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ randomUUID });
|
|
21828
21579
|
|
|
21829
|
-
// Auto-initialize on load (can be disabled if manual control needed)
|
|
21830
|
-
if (typeof window !== 'undefined') {
|
|
21831
|
-
if (document.readyState === 'loading') {
|
|
21832
|
-
document.addEventListener('DOMContentLoaded', function () {
|
|
21833
|
-
return themeLoader.init();
|
|
21834
|
-
});
|
|
21835
|
-
} else {
|
|
21836
|
-
themeLoader.init();
|
|
21837
|
-
}
|
|
21838
|
-
}
|
|
21839
|
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (themeLoader)));
|
|
21840
21580
|
|
|
21841
21581
|
/***/ },
|
|
21842
21582
|
|
|
@@ -23232,115 +22972,47 @@ const sha224 = (/* unused pure expression or super */ null && (sha224n));
|
|
|
23232
22972
|
/***/ },
|
|
23233
22973
|
|
|
23234
22974
|
/***/ 8249
|
|
23235
|
-
(
|
|
22975
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
23236
22976
|
|
|
23237
22977
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23238
|
-
/* harmony export */
|
|
23239
|
-
/* harmony export */ YJ: () => (/* binding */ getBlankMsg),
|
|
23240
|
-
/* harmony export */ vt: () => (/* binding */ signMsg),
|
|
23241
|
-
/* harmony export */ yv: () => (/* binding */ SEC)
|
|
22978
|
+
/* harmony export */ k: () => (/* binding */ unsafeStringify)
|
|
23242
22979
|
/* harmony export */ });
|
|
23243
|
-
/* unused harmony exports utf8Decoder, utf8Encoder, serializeMsg, getMsgHash */
|
|
23244
|
-
/* harmony import */ var _noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
23245
|
-
/* harmony import */ var _noble_hashes_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4976);
|
|
23246
|
-
/* harmony import */ var _noble_hashes_sha256__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8226);
|
|
23247
|
-
|
|
23248
|
-
|
|
23249
|
-
|
|
23250
|
-
|
|
23251
|
-
// import {utf8Encoder} from './utils'
|
|
23252
|
-
// import { getPublicKey } from './keys'
|
|
23253
|
-
|
|
23254
|
-
var utf8Decoder = new TextDecoder('utf-8');
|
|
23255
|
-
var utf8Encoder = new TextEncoder();
|
|
23256
|
-
var SEC = 'https://w3id.org/security#'; // Proof, VerificationMethod
|
|
23257
|
-
// export const CERT = 'http://www.w3.org/ns/auth/cert#' // PrivateKey, PublicKey, key
|
|
23258
|
-
|
|
23259
|
-
/* export enum Kind {
|
|
23260
|
-
Metadata = 0,
|
|
23261
|
-
Text = 1,
|
|
23262
|
-
RecommendRelay = 2,
|
|
23263
|
-
Contacts = 3,
|
|
23264
|
-
EncryptedDirectMessage = 4,
|
|
23265
|
-
EventDeletion = 5,
|
|
23266
|
-
Reaction = 7,
|
|
23267
|
-
BadgeAward = 8,
|
|
23268
|
-
ChannelCreation = 40,
|
|
23269
|
-
ChannelMetadata = 41,
|
|
23270
|
-
ChannelMessage = 42,
|
|
23271
|
-
ChannelHideMessage = 43,
|
|
23272
|
-
ChannelMuteUser = 44,
|
|
23273
|
-
Report = 1984,
|
|
23274
|
-
ZapRequest = 9734,
|
|
23275
|
-
Zap = 9735,
|
|
23276
|
-
RelayList = 10002,
|
|
23277
|
-
ClientAuth = 22242,
|
|
23278
|
-
BadgeDefinition = 30008,
|
|
23279
|
-
ProfileBadge = 30009,
|
|
23280
|
-
Article = 30023
|
|
23281
|
-
} */
|
|
23282
22980
|
|
|
23283
|
-
|
|
23284
|
-
|
|
23285
|
-
|
|
23286
|
-
created: '',
|
|
23287
|
-
dateDeleted: '',
|
|
23288
|
-
// TODO to remove if not used
|
|
23289
|
-
content: '',
|
|
23290
|
-
maker: '',
|
|
23291
|
-
sig: '' // TODO to remove if not used
|
|
23292
|
-
};
|
|
22981
|
+
const byteToHex = [];
|
|
22982
|
+
for (let i = 0; i < 256; ++i) {
|
|
22983
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
23293
22984
|
}
|
|
23294
|
-
|
|
23295
|
-
|
|
23296
|
-
|
|
23297
|
-
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
|
|
23301
|
-
|
|
23302
|
-
|
|
23303
|
-
|
|
23304
|
-
|
|
23305
|
-
|
|
23306
|
-
|
|
23307
|
-
|
|
23308
|
-
|
|
23309
|
-
|
|
22985
|
+
function unsafeStringify(arr, offset = 0) {
|
|
22986
|
+
return (byteToHex[arr[offset + 0]] +
|
|
22987
|
+
byteToHex[arr[offset + 1]] +
|
|
22988
|
+
byteToHex[arr[offset + 2]] +
|
|
22989
|
+
byteToHex[arr[offset + 3]] +
|
|
22990
|
+
'-' +
|
|
22991
|
+
byteToHex[arr[offset + 4]] +
|
|
22992
|
+
byteToHex[arr[offset + 5]] +
|
|
22993
|
+
'-' +
|
|
22994
|
+
byteToHex[arr[offset + 6]] +
|
|
22995
|
+
byteToHex[arr[offset + 7]] +
|
|
22996
|
+
'-' +
|
|
22997
|
+
byteToHex[arr[offset + 8]] +
|
|
22998
|
+
byteToHex[arr[offset + 9]] +
|
|
22999
|
+
'-' +
|
|
23000
|
+
byteToHex[arr[offset + 10]] +
|
|
23001
|
+
byteToHex[arr[offset + 11]] +
|
|
23002
|
+
byteToHex[arr[offset + 12]] +
|
|
23003
|
+
byteToHex[arr[offset + 13]] +
|
|
23004
|
+
byteToHex[arr[offset + 14]] +
|
|
23005
|
+
byteToHex[arr[offset + 15]]).toLowerCase();
|
|
23310
23006
|
}
|
|
23311
|
-
function
|
|
23312
|
-
|
|
23313
|
-
|
|
23007
|
+
function stringify(arr, offset = 0) {
|
|
23008
|
+
const uuid = unsafeStringify(arr, offset);
|
|
23009
|
+
if (!validate(uuid)) {
|
|
23010
|
+
throw TypeError('Stringified UUID is invalid');
|
|
23011
|
+
}
|
|
23012
|
+
return uuid;
|
|
23314
23013
|
}
|
|
23014
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (stringify)));
|
|
23315
23015
|
|
|
23316
|
-
// const isRecord = (obj: unknown): obj is Record<string, unknown> => obj instanceof Object
|
|
23317
|
-
|
|
23318
|
-
/* export function validateMsg<T> (message: T): message is T & UnsignedMsg {
|
|
23319
|
-
if (!isRecord(message)) return false
|
|
23320
|
-
if (typeof message.kind !== 'number') return false
|
|
23321
|
-
if (typeof message.content !== 'string') return false
|
|
23322
|
-
if (typeof message.created_at !== 'number') return false
|
|
23323
|
-
if (typeof message.pubkey !== 'string') return false
|
|
23324
|
-
if (!message.pubkey.match(/^[a-f0-9]{64}$/)) return false
|
|
23325
|
-
|
|
23326
|
-
if (!Array.isArray(message.tags)) return false
|
|
23327
|
-
for (let i = 0; i < message.tags.length; i++) {
|
|
23328
|
-
let tag = message.tags[i]
|
|
23329
|
-
if (!Array.isArray(tag)) return false
|
|
23330
|
-
for (let j = 0; j < tag.length; j++) {
|
|
23331
|
-
if (typeof tag[j] === 'object') return false
|
|
23332
|
-
}
|
|
23333
|
-
}
|
|
23334
|
-
|
|
23335
|
-
return true
|
|
23336
|
-
} */
|
|
23337
|
-
|
|
23338
|
-
function verifySignature(sig, message, pubKey) {
|
|
23339
|
-
return _noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__/* .schnorr */ .ko.verify(sig, getMsgHash(message), pubKey);
|
|
23340
|
-
}
|
|
23341
|
-
function signMsg(message, key) {
|
|
23342
|
-
return (0,_noble_hashes_utils__WEBPACK_IMPORTED_MODULE_1__/* .bytesToHex */ .My)(_noble_curves_secp256k1__WEBPACK_IMPORTED_MODULE_0__/* .schnorr */ .ko.sign(getMsgHash(message), key));
|
|
23343
|
-
}
|
|
23344
23016
|
|
|
23345
23017
|
/***/ },
|
|
23346
23018
|
|
|
@@ -27220,43 +26892,31 @@ function toPropertyKey(t) {
|
|
|
27220
26892
|
/******/ };
|
|
27221
26893
|
/******/ })();
|
|
27222
26894
|
/******/
|
|
27223
|
-
/******/ /* webpack/runtime/publicPath */
|
|
27224
|
-
/******/ (() => {
|
|
27225
|
-
/******/ var scriptUrl;
|
|
27226
|
-
/******/ if (typeof import.meta.url === "string") scriptUrl = import.meta.url
|
|
27227
|
-
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
|
|
27228
|
-
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
|
|
27229
|
-
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
|
|
27230
|
-
/******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
|
|
27231
|
-
/******/ __webpack_require__.p = scriptUrl;
|
|
27232
|
-
/******/ })();
|
|
27233
|
-
/******/
|
|
27234
26895
|
/************************************************************************/
|
|
27235
26896
|
var __webpack_exports__ = {};
|
|
27236
26897
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27237
26898
|
/* harmony export */ $_: () => (/* reexport safe */ _media_index__WEBPACK_IMPORTED_MODULE_7__.$),
|
|
27238
26899
|
/* harmony export */ BH: () => (/* reexport module object */ _widgets_forms_autocomplete_language__WEBPACK_IMPORTED_MODULE_4__),
|
|
27239
26900
|
/* harmony export */ BL: () => (/* reexport safe */ _acl_index__WEBPACK_IMPORTED_MODULE_1__.B),
|
|
27240
|
-
/* harmony export */ Iw: () => (/* reexport module object */
|
|
27241
|
-
/* harmony export */ Of: () => (/* reexport safe */
|
|
26901
|
+
/* harmony export */ Iw: () => (/* reexport module object */ _create_types__WEBPACK_IMPORTED_MODULE_21__),
|
|
26902
|
+
/* harmony export */ Of: () => (/* reexport safe */ _header__WEBPACK_IMPORTED_MODULE_19__.Of),
|
|
27242
26903
|
/* harmony export */ Pt: () => (/* reexport safe */ _iconBase__WEBPACK_IMPORTED_MODULE_3__.Pt),
|
|
27243
|
-
/* harmony export */ Qs: () => (/* reexport module object */
|
|
26904
|
+
/* harmony export */ Qs: () => (/* reexport module object */ _widgets_index__WEBPACK_IMPORTED_MODULE_18__),
|
|
27244
26905
|
/* harmony export */ Rm: () => (/* reexport module object */ _log__WEBPACK_IMPORTED_MODULE_5__),
|
|
27245
26906
|
/* harmony export */ UP: () => (/* reexport safe */ _matrix_index__WEBPACK_IMPORTED_MODULE_6__.U),
|
|
27246
|
-
/* harmony export */ Ux: () => (/* reexport safe */
|
|
27247
|
-
/* harmony export */ Wp: () => (/* reexport module object */
|
|
26907
|
+
/* harmony export */ Ux: () => (/* reexport safe */ _footer__WEBPACK_IMPORTED_MODULE_20__.Ux),
|
|
26908
|
+
/* harmony export */ Wp: () => (/* reexport module object */ _utils__WEBPACK_IMPORTED_MODULE_16__),
|
|
27248
26909
|
/* harmony export */ _f: () => (/* reexport module object */ _participation__WEBPACK_IMPORTED_MODULE_11__),
|
|
27249
26910
|
/* harmony export */ eV: () => (/* reexport module object */ _pad__WEBPACK_IMPORTED_MODULE_10__),
|
|
27250
|
-
/* harmony export */ iD: () => (/* reexport module object */
|
|
26911
|
+
/* harmony export */ iD: () => (/* reexport module object */ _login_login__WEBPACK_IMPORTED_MODULE_17__),
|
|
27251
26912
|
/* harmony export */ iF: () => (/* reexport safe */ _style__WEBPACK_IMPORTED_MODULE_13__.i),
|
|
27252
26913
|
/* harmony export */ ns: () => (/* reexport safe */ _ns__WEBPACK_IMPORTED_MODULE_0__.A),
|
|
27253
26914
|
/* harmony export */ r5: () => (/* reexport safe */ _chat_infinite__WEBPACK_IMPORTED_MODULE_9__.r5),
|
|
27254
|
-
/* harmony export */ rj: () => (/* reexport safe */ _themeLoader__WEBPACK_IMPORTED_MODULE_14__.r),
|
|
27255
26915
|
/* harmony export */ tT: () => (/* binding */ dom),
|
|
27256
|
-
/* harmony export */ tp: () => (/* reexport safe */
|
|
26916
|
+
/* harmony export */ tp: () => (/* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_14__.I),
|
|
27257
26917
|
/* harmony export */ um: () => (/* reexport safe */ _acl_index__WEBPACK_IMPORTED_MODULE_1__.u),
|
|
27258
26918
|
/* harmony export */ vJ: () => (/* reexport module object */ _preferences__WEBPACK_IMPORTED_MODULE_12__),
|
|
27259
|
-
/* harmony export */ vR: () => (/* reexport module object */
|
|
26919
|
+
/* harmony export */ vR: () => (/* reexport module object */ _tabs__WEBPACK_IMPORTED_MODULE_15__),
|
|
27260
26920
|
/* harmony export */ vV: () => (/* reexport safe */ _messageArea__WEBPACK_IMPORTED_MODULE_8__.v),
|
|
27261
26921
|
/* harmony export */ vt: () => (/* reexport safe */ _create_index__WEBPACK_IMPORTED_MODULE_2__.v)
|
|
27262
26922
|
/* harmony export */ });
|
|
@@ -27274,52 +26934,51 @@ var __webpack_exports__ = {};
|
|
|
27274
26934
|
/* harmony import */ var _participation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3605);
|
|
27275
26935
|
/* harmony import */ var _preferences__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5148);
|
|
27276
26936
|
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(675);
|
|
27277
|
-
/* harmony import */ var
|
|
27278
|
-
/* harmony import */ var
|
|
27279
|
-
/* harmony import */ var
|
|
27280
|
-
/* harmony import */ var
|
|
27281
|
-
/* harmony import */ var
|
|
27282
|
-
/* harmony import */ var
|
|
27283
|
-
/* harmony import */ var
|
|
27284
|
-
/* harmony import */ var
|
|
27285
|
-
/*
|
|
27286
|
-
|
|
27287
|
-
|
|
27288
|
-
|
|
27289
|
-
|
|
27290
|
-
|
|
27291
|
-
|
|
27292
|
-
|
|
27293
|
-
|
|
27294
|
-
|
|
27295
|
-
|
|
27296
|
-
|
|
27297
|
-
|
|
27298
|
-
|
|
27299
|
-
|
|
27300
|
-
|
|
27301
|
-
|
|
27302
|
-
|
|
27303
|
-
|
|
27304
|
-
|
|
27305
|
-
|
|
27306
|
-
|
|
27307
|
-
|
|
27308
|
-
|
|
27309
|
-
|
|
27310
|
-
https://github.com/solidos/solid
|
|
26937
|
+
/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2174);
|
|
26938
|
+
/* harmony import */ var _tabs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(6670);
|
|
26939
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52);
|
|
26940
|
+
/* harmony import */ var _login_login__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(967);
|
|
26941
|
+
/* harmony import */ var _widgets_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4608);
|
|
26942
|
+
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1648);
|
|
26943
|
+
/* harmony import */ var _footer__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(7134);
|
|
26944
|
+
/* harmony import */ var _create_types__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(5912);
|
|
26945
|
+
/*
|
|
26946
|
+
The MIT License (MIT)
|
|
26947
|
+
|
|
26948
|
+
Copyright (c) 2015-2016 Solid
|
|
26949
|
+
|
|
26950
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
26951
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
26952
|
+
in the Software without restriction, including without limitation the rights
|
|
26953
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
26954
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
26955
|
+
furnished to do so, subject to the following conditions:
|
|
26956
|
+
|
|
26957
|
+
The above copyright notice and this permission notice shall be included in all
|
|
26958
|
+
copies or substantial portions of the Software.
|
|
26959
|
+
|
|
26960
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26961
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26962
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26963
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26964
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26965
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26966
|
+
SOFTWARE.
|
|
26967
|
+
|
|
26968
|
+
If you would like to know more about the solid Solid project, please see
|
|
26969
|
+
https://github.com/solidos/solid
|
|
27311
26970
|
*/
|
|
27312
26971
|
|
|
27313
26972
|
|
|
27314
|
-
/**
|
|
27315
|
-
* Provides a Solid client helper object (which exposes various static modules).
|
|
27316
|
-
* @module UI.js
|
|
27317
|
-
* @main UI.js
|
|
26973
|
+
/**
|
|
26974
|
+
* Provides a Solid client helper object (which exposes various static modules).
|
|
26975
|
+
* @module UI.js
|
|
26976
|
+
* @main UI.js
|
|
27318
26977
|
*/
|
|
27319
26978
|
|
|
27320
|
-
/**
|
|
27321
|
-
* @class UI
|
|
27322
|
-
* @static
|
|
26979
|
+
/**
|
|
26980
|
+
* @class UI
|
|
26981
|
+
* @static
|
|
27323
26982
|
*/
|
|
27324
26983
|
|
|
27325
26984
|
// REMOVE @ts-ignore as you migrate files to TypeScript
|
|
@@ -27347,8 +27006,6 @@ https://github.com/solidos/solid
|
|
|
27347
27006
|
|
|
27348
27007
|
// @ts-ignore
|
|
27349
27008
|
|
|
27350
|
-
// @ts-ignore
|
|
27351
|
-
|
|
27352
27009
|
|
|
27353
27010
|
// @ts-ignore
|
|
27354
27011
|
|
|
@@ -27366,12 +27023,12 @@ if (typeof window !== 'undefined') {
|
|
|
27366
27023
|
acl: _acl_index__WEBPACK_IMPORTED_MODULE_1__/* .acl */ .B,
|
|
27367
27024
|
aclControl: _acl_index__WEBPACK_IMPORTED_MODULE_1__/* .aclControl */ .u,
|
|
27368
27025
|
create: _create_index__WEBPACK_IMPORTED_MODULE_2__/* .create */ .v,
|
|
27369
|
-
createTypes:
|
|
27026
|
+
createTypes: _create_types__WEBPACK_IMPORTED_MODULE_21__,
|
|
27370
27027
|
dom: dom,
|
|
27371
27028
|
icons: _iconBase__WEBPACK_IMPORTED_MODULE_3__/* .icons */ .Pt,
|
|
27372
27029
|
language: _widgets_forms_autocomplete_language__WEBPACK_IMPORTED_MODULE_4__,
|
|
27373
27030
|
log: _log__WEBPACK_IMPORTED_MODULE_5__,
|
|
27374
|
-
login:
|
|
27031
|
+
login: _login_login__WEBPACK_IMPORTED_MODULE_17__,
|
|
27375
27032
|
matrix: _matrix_index__WEBPACK_IMPORTED_MODULE_6__/* .matrix */ .U,
|
|
27376
27033
|
media: _media_index__WEBPACK_IMPORTED_MODULE_7__/* .media */ .$,
|
|
27377
27034
|
messageArea: _messageArea__WEBPACK_IMPORTED_MODULE_8__/* .messageArea */ .v,
|
|
@@ -27380,13 +27037,12 @@ if (typeof window !== 'undefined') {
|
|
|
27380
27037
|
participation: _participation__WEBPACK_IMPORTED_MODULE_11__,
|
|
27381
27038
|
preferences: _preferences__WEBPACK_IMPORTED_MODULE_12__,
|
|
27382
27039
|
style: _style__WEBPACK_IMPORTED_MODULE_13__/* .style */ .i,
|
|
27383
|
-
|
|
27384
|
-
|
|
27385
|
-
|
|
27386
|
-
|
|
27387
|
-
|
|
27388
|
-
|
|
27389
|
-
initFooter: _footer__WEBPACK_IMPORTED_MODULE_21__/* .initFooter */ .Ux
|
|
27040
|
+
table: _table__WEBPACK_IMPORTED_MODULE_14__/* .renderTableViewPane */ .I,
|
|
27041
|
+
tabs: _tabs__WEBPACK_IMPORTED_MODULE_15__,
|
|
27042
|
+
utils: _utils__WEBPACK_IMPORTED_MODULE_16__,
|
|
27043
|
+
widgets: _widgets_index__WEBPACK_IMPORTED_MODULE_18__,
|
|
27044
|
+
initHeader: _header__WEBPACK_IMPORTED_MODULE_19__/* .initHeader */ .Of,
|
|
27045
|
+
initFooter: _footer__WEBPACK_IMPORTED_MODULE_20__/* .initFooter */ .Ux
|
|
27390
27046
|
}; // Simpler access by non-node scripts
|
|
27391
27047
|
}
|
|
27392
27048
|
|
|
@@ -27415,9 +27071,8 @@ const __webpack_exports__preferences = __webpack_exports__.vJ;
|
|
|
27415
27071
|
const __webpack_exports__style = __webpack_exports__.iF;
|
|
27416
27072
|
const __webpack_exports__table = __webpack_exports__.tp;
|
|
27417
27073
|
const __webpack_exports__tabs = __webpack_exports__.vR;
|
|
27418
|
-
const __webpack_exports__themeLoader = __webpack_exports__.rj;
|
|
27419
27074
|
const __webpack_exports__utils = __webpack_exports__.Wp;
|
|
27420
27075
|
const __webpack_exports__widgets = __webpack_exports__.Qs;
|
|
27421
|
-
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,
|
|
27076
|
+
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 };
|
|
27422
27077
|
|
|
27423
27078
|
//# sourceMappingURL=solid-ui.esm.js.map
|