solid-ui 2.4.28-69262fe5 → 2.4.28-6acecd56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/solid-ui.js +98 -98
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +1 -1
- package/dist/solid-ui.min.js.map +1 -1
- package/lib/login/login.d.ts.map +1 -1
- package/lib/login/login.js +14 -18
- package/lib/login/login.js.map +1 -1
- package/lib/media/media-capture.d.ts +1 -1
- package/lib/media/media-capture.js +2 -2
- package/lib/media/media-capture.js.map +1 -1
- package/lib/pad.d.ts +1 -1
- package/lib/pad.js +2 -2
- package/lib/pad.js.map +1 -1
- package/lib/participation.d.ts +2 -2
- package/lib/participation.d.ts.map +1 -1
- package/lib/participation.js +4 -3
- package/lib/participation.js.map +1 -1
- package/lib/style.js +64 -63
- package/lib/style.js.map +1 -1
- package/lib/styleConstants.js +4 -2
- package/lib/styleConstants.js.map +1 -1
- package/lib/versionInfo.js +2 -2
- package/lib/versionInfo.js.map +1 -1
- package/lib/widgets/dragAndDrop.js +5 -5
- package/lib/widgets/dragAndDrop.js.map +1 -1
- package/lib/widgets/forms/basic.js +1 -1
- package/lib/widgets/forms/basic.js.map +1 -1
- package/package.json +1 -1
package/dist/solid-ui.js
CHANGED
|
@@ -7134,6 +7134,15 @@ function renderScopeHeadingRow(context, store, scope) {
|
|
|
7134
7134
|
function registrationList(_x9, _x10) {
|
|
7135
7135
|
return _registrationList.apply(this, arguments);
|
|
7136
7136
|
} // registrationList
|
|
7137
|
+
/**
|
|
7138
|
+
* Bootstrapping identity
|
|
7139
|
+
* (Called by `loginStatusBox()`)
|
|
7140
|
+
*
|
|
7141
|
+
* @param dom
|
|
7142
|
+
* @param setUserCallback
|
|
7143
|
+
*
|
|
7144
|
+
* @returns
|
|
7145
|
+
*/
|
|
7137
7146
|
function _registrationList() {
|
|
7138
7147
|
_registrationList = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9(context, options) {
|
|
7139
7148
|
var dom, div, box, scopes, table, tbody, _iterator2, _step2, scope, headingRow, items, _iterator3, _step3, _loop;
|
|
@@ -7265,23 +7274,10 @@ function _registrationList() {
|
|
|
7265
7274
|
}));
|
|
7266
7275
|
return _registrationList.apply(this, arguments);
|
|
7267
7276
|
}
|
|
7268
|
-
function getDefaultSignInButtonStyle() {
|
|
7269
|
-
return 'padding: 1em; border-radius:0.5em; font-size: 100%;';
|
|
7270
|
-
}
|
|
7271
|
-
|
|
7272
|
-
/**
|
|
7273
|
-
* Bootstrapping identity
|
|
7274
|
-
* (Called by `loginStatusBox()`)
|
|
7275
|
-
*
|
|
7276
|
-
* @param dom
|
|
7277
|
-
* @param setUserCallback
|
|
7278
|
-
*
|
|
7279
|
-
* @returns
|
|
7280
|
-
*/
|
|
7281
7277
|
function signInOrSignUpBox(dom, setUserCallback) {
|
|
7282
7278
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
7283
7279
|
options = options || {};
|
|
7284
|
-
var signInButtonStyle = options.buttonStyle ||
|
|
7280
|
+
var signInButtonStyle = options.buttonStyle || style.signInAndUpButtonStyle;
|
|
7285
7281
|
var box = dom.createElement('div');
|
|
7286
7282
|
var magicClassName = 'SolidSignInOrSignUpBox';
|
|
7287
7283
|
debug.log('widgets.signInOrSignUpBox');
|
|
@@ -7294,7 +7290,7 @@ function signInOrSignUpBox(dom, setUserCallback) {
|
|
|
7294
7290
|
box.appendChild(signInPopUpButton);
|
|
7295
7291
|
signInPopUpButton.setAttribute('type', 'button');
|
|
7296
7292
|
signInPopUpButton.setAttribute('value', 'Log in');
|
|
7297
|
-
signInPopUpButton.setAttribute('style', "".concat(signInButtonStyle
|
|
7293
|
+
signInPopUpButton.setAttribute('style', "".concat(signInButtonStyle).concat(style.headerBannerLoginInput) + style.signUpBackground);
|
|
7298
7294
|
_solidLogic.authSession.onLogin(function () {
|
|
7299
7295
|
var me = _solidLogic.authn.currentUser();
|
|
7300
7296
|
// const sessionInfo = authSession.info
|
|
@@ -7335,7 +7331,7 @@ function signInOrSignUpBox(dom, setUserCallback) {
|
|
|
7335
7331
|
box.appendChild(signupButton);
|
|
7336
7332
|
signupButton.setAttribute('type', 'button');
|
|
7337
7333
|
signupButton.setAttribute('value', 'Sign Up for Solid');
|
|
7338
|
-
signupButton.setAttribute('style', "".concat(signInButtonStyle
|
|
7334
|
+
signupButton.setAttribute('style', "".concat(signInButtonStyle).concat(style.headerBannerLoginInput) + style.signInBackground);
|
|
7339
7335
|
signupButton.addEventListener('click', function (_event) {
|
|
7340
7336
|
var signupMgr = new _signup.Signup();
|
|
7341
7337
|
signupMgr.signup().then(function (uri) {
|
|
@@ -7503,7 +7499,7 @@ function loginStatusBox(dom) {
|
|
|
7503
7499
|
});
|
|
7504
7500
|
}
|
|
7505
7501
|
function logoutButton(me, options) {
|
|
7506
|
-
var signInButtonStyle = options.buttonStyle ||
|
|
7502
|
+
var signInButtonStyle = options.buttonStyle || style.signInAndUpButtonStyle;
|
|
7507
7503
|
var logoutLabel = 'WebID logout';
|
|
7508
7504
|
if (me) {
|
|
7509
7505
|
var nick = _solidLogic.solidLogicSingleton.store.any(me, ns.foaf('nick')) || _solidLogic.solidLogicSingleton.store.any(me, ns.foaf('name'));
|
|
@@ -7515,7 +7511,7 @@ function loginStatusBox(dom) {
|
|
|
7515
7511
|
// signOutButton.className = 'WebIDCancelButton'
|
|
7516
7512
|
signOutButton.setAttribute('type', 'button');
|
|
7517
7513
|
signOutButton.setAttribute('value', logoutLabel);
|
|
7518
|
-
signOutButton.setAttribute('style', "".concat(signInButtonStyle
|
|
7514
|
+
signOutButton.setAttribute('style', "".concat(signInButtonStyle));
|
|
7519
7515
|
signOutButton.addEventListener('click', logoutButtonHandler, false);
|
|
7520
7516
|
return signOutButton;
|
|
7521
7517
|
}
|
|
@@ -8264,7 +8260,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
8264
8260
|
//
|
|
8265
8261
|
// Workflow:
|
|
8266
8262
|
// The HTML5 functionality (on mobile) is to prompt for either
|
|
8267
|
-
// a realtime camera capture, OR a selection from images already
|
|
8263
|
+
// a realtime camera capture, OR a selection from images already on the device
|
|
8268
8264
|
// (eg camera roll).
|
|
8269
8265
|
//
|
|
8270
8266
|
// The solid alternative is to either take a photo
|
|
@@ -8404,7 +8400,7 @@ function cameraCaptureControl(dom, store, getImageDoc, doneCallback) {
|
|
|
8404
8400
|
* @param {function<Node>} doneCallback - called with the image taken
|
|
8405
8401
|
* @returns {DomElement} - A div element with the button in it
|
|
8406
8402
|
*
|
|
8407
|
-
* This
|
|
8403
|
+
* This expands the button to a large control when it is pressed
|
|
8408
8404
|
*/
|
|
8409
8405
|
|
|
8410
8406
|
function cameraButton(dom, store, getImageDoc, doneCallback) {
|
|
@@ -8928,7 +8924,7 @@ function lightColorHash(author) {
|
|
|
8928
8924
|
/** notepad
|
|
8929
8925
|
*
|
|
8930
8926
|
* @param {HTMLDocument} dom - the web page of the browser
|
|
8931
|
-
* @param {NamedNode} padDoc - the document
|
|
8927
|
+
* @param {NamedNode} padDoc - the document in which the participation should be shown
|
|
8932
8928
|
* @param {NamedNode} subject - the thing in which participation is happening
|
|
8933
8929
|
* @param {NamedNode} me - person who is logged into the pod
|
|
8934
8930
|
* @param {notepadOptions} options - the options that can be passed in consist of statusArea, exists
|
|
@@ -9112,7 +9108,7 @@ function notepad(dom, padDoc, subject, me, options) {
|
|
|
9112
9108
|
// contents need to be sent again
|
|
9113
9109
|
part.state = 4; // delete me
|
|
9114
9110
|
return;
|
|
9115
|
-
case 3: // being deleted
|
|
9111
|
+
case 3: // already being deleted
|
|
9116
9112
|
case 4:
|
|
9117
9113
|
// already deleted state
|
|
9118
9114
|
return;
|
|
@@ -9659,6 +9655,7 @@ var _widgets = __webpack_require__(/*! ./widgets */ "./lib/widgets/index.js");
|
|
|
9659
9655
|
var _utils = __webpack_require__(/*! ./utils */ "./lib/utils/index.js");
|
|
9660
9656
|
var _pad = __webpack_require__(/*! ./pad */ "./lib/pad.js");
|
|
9661
9657
|
var style = _interopRequireWildcard(__webpack_require__(/*! ./style */ "./lib/style.js"));
|
|
9658
|
+
var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ./styleConstants */ "./lib/styleConstants.js"));
|
|
9662
9659
|
var _solidLogic = __webpack_require__(/*! solid-logic */ "./node_modules/solid-logic/lib/index.js");
|
|
9663
9660
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
9664
9661
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -9691,7 +9688,7 @@ var store = _solidLogic.solidLogicSingleton.store;
|
|
|
9691
9688
|
* @param {NamedNode} unused1/document - the document to render (this argument is no longer used, but left in for backwards compatibility)
|
|
9692
9689
|
* @param {NamedNode} subject - the thing in which the participation is happening
|
|
9693
9690
|
* @param {NamedNode} unused2/me - user that is logged into the pod (this argument is no longer used, but left in for backwards compatibility)
|
|
9694
|
-
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable these are used by the personTR button
|
|
9691
|
+
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable; these are used by the personTR button
|
|
9695
9692
|
*/
|
|
9696
9693
|
function renderParticipants(dom, table, unused1, subject, unused2, options) {
|
|
9697
9694
|
table.setAttribute('style', style.participantsStyle);
|
|
@@ -9703,7 +9700,7 @@ function renderParticipants(dom, table, unused1, subject, unused2, options) {
|
|
|
9703
9700
|
tr.textContent = '???'; // Don't crash - invalid part'n entry
|
|
9704
9701
|
return tr;
|
|
9705
9702
|
}
|
|
9706
|
-
var bg = store.anyValue(parp, ns.ui('backgroundColor')) ||
|
|
9703
|
+
var bg = store.anyValue(parp, ns.ui('backgroundColor')) || _styleConstants["default"].participationDefaultBackground;
|
|
9707
9704
|
var block = dom.createElement('div');
|
|
9708
9705
|
block.setAttribute('style', style.participantsBlock);
|
|
9709
9706
|
block.style.backgroundColor = bg;
|
|
@@ -9837,7 +9834,7 @@ function recordParticipation(subject, padDoc, refreshable) {
|
|
|
9837
9834
|
* @param {NamedNode} document - the document into which the participation should be shown
|
|
9838
9835
|
* @param {NamedNode} subject - the thing in which participation is happening
|
|
9839
9836
|
* @param {NamedNode} me - the logged in user
|
|
9840
|
-
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable these are used by the personTR button
|
|
9837
|
+
* @param {ParticipationOptions} options - the options that can be passed in are deleteFunction, link, and draggable; these are used by the personTR button
|
|
9841
9838
|
*
|
|
9842
9839
|
*/
|
|
9843
9840
|
function manageParticipation(dom, container, padDoc, subject, me, options) {
|
|
@@ -10242,14 +10239,14 @@ var style = {
|
|
|
10242
10239
|
// styleModule
|
|
10243
10240
|
|
|
10244
10241
|
checkboxStyle: 'color: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;',
|
|
10245
|
-
checkboxInputStyle: 'font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em',
|
|
10242
|
+
checkboxInputStyle: 'font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em;',
|
|
10246
10243
|
fieldLabelStyle: 'color: #3B5998; text-decoration: none;',
|
|
10247
|
-
formSelectStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c;
|
|
10248
|
-
textInputStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c;
|
|
10244
|
+
formSelectStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
10245
|
+
textInputStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
10249
10246
|
textInputStyleUneditable:
|
|
10250
10247
|
// Color difference only
|
|
10251
|
-
'background-color: white; padding: 0.5em; border: .05em solid white;
|
|
10252
|
-
buttonStyle: 'background-color: #fff; padding: 0.7em; border: .01em solid white;
|
|
10248
|
+
'background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.4em;',
|
|
10249
|
+
buttonStyle: 'background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;',
|
|
10253
10250
|
// 'background-color: #eef;
|
|
10254
10251
|
commentStyle: 'padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;',
|
|
10255
10252
|
iconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 1em;',
|
|
@@ -10264,9 +10261,11 @@ var style = {
|
|
|
10264
10261
|
searchInputStyle: 'border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;',
|
|
10265
10262
|
autocompleteRowStyle: 'border: 0.2em solid straw;',
|
|
10266
10263
|
// Login buttons
|
|
10267
|
-
|
|
10264
|
+
signInAndUpButtonStyle: 'padding: 1em; border-radius:0.2em; font-size: 100%;',
|
|
10268
10265
|
// was 0.5em radius
|
|
10269
|
-
|
|
10266
|
+
headerBannerLoginInput: 'margin: 0.75em 0 0.75em 0.5em !important; padding: 0.5em !important;',
|
|
10267
|
+
signUpBackground: 'background-color: #eef;',
|
|
10268
|
+
signInBackground: 'background-color: #efe;',
|
|
10270
10269
|
// Forms
|
|
10271
10270
|
heading1Style: 'font-size: 180%; font-weight: bold; color: #888888; padding: 0.5em; margin: 0.7em 0.0m;',
|
|
10272
10271
|
// originally was brown; now grey
|
|
@@ -10284,7 +10283,7 @@ var style = {
|
|
|
10284
10283
|
formGroupStyle: ["padding-left: 0em; border: 0.0em solid ".concat(_styleConstants["default"].formBorderColor, "; border-radius: 0.2em;"), // weight 0
|
|
10285
10284
|
"padding-left: 2em; border: 0.05em solid ".concat(_styleConstants["default"].formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.1em solid ".concat(_styleConstants["default"].formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.2em solid ".concat(_styleConstants["default"].formBorderColor, "; border-radius: 0.2em;") // @@ pink
|
|
10286
10285
|
],
|
|
10287
|
-
formFieldLabelStyle: "
|
|
10286
|
+
formFieldLabelStyle: "color: ".concat(_styleConstants["default"].lowProfileLinkColor, "; text-decoration: none;"),
|
|
10288
10287
|
formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width:".concat(_styleConstants["default"].formFieldNameBoxWidth, ";"),
|
|
10289
10288
|
multilineTextInputStyle: 'font-size:100%; white-space: pre-wrap; background-color: #eef;' + ' border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;',
|
|
10290
10289
|
// Buttons
|
|
@@ -10292,63 +10291,62 @@ var style = {
|
|
|
10292
10291
|
imageDivStyle: 'width:2.5em; padding:0.5em; height: 2.5em;',
|
|
10293
10292
|
linkDivStyle: 'width:2em; padding:0.5em; height: 4em;',
|
|
10294
10293
|
// ACL
|
|
10295
|
-
aclControlBoxContainer: 'margin: 1em',
|
|
10296
|
-
aclControlBoxHeader: 'font-size: 120%; margin: 0 0 1rem',
|
|
10297
|
-
aclControlBoxStatus: 'display: none; margin: 1rem 0',
|
|
10298
|
-
aclControlBoxStatusRevealed: 'display: block',
|
|
10299
|
-
aclGroupContent: 'maxWidth: 650',
|
|
10300
|
-
accessGroupList: 'display: grid; grid-template-columns: 1fr; margin: 1em; width: 100
|
|
10301
|
-
accessGroupListItem: 'display: grid; grid-template-columns: 100px auto 30
|
|
10302
|
-
defaultsController: 'display: flex',
|
|
10303
|
-
defaultsControllerNotice: 'color: #888; flexGrow: 1; fontSize: 80
|
|
10304
|
-
bigButton: 'background-color: white; border: 0.1em solid #888; border-radius: 0.3em; max-width: 50%; padding-bottom: 1em; padding-top: 1em',
|
|
10305
|
-
group: 'color: #888',
|
|
10306
|
-
group1: 'color: green',
|
|
10307
|
-
group2: 'color: #cc0',
|
|
10308
|
-
group3: 'color: orange',
|
|
10309
|
-
group5: 'color: red',
|
|
10310
|
-
group9: 'color: blue',
|
|
10311
|
-
group13: 'color: purple',
|
|
10312
|
-
trustedAppAddApplicationsTable: 'background-color: #eee',
|
|
10313
|
-
trustedAppCancelButton: 'float: right',
|
|
10314
|
-
trustedAppControllerI: 'border-color: orange;
|
|
10315
|
-
temporaryStatusInit: 'background: green',
|
|
10316
|
-
temporaryStatusEnd: 'background: transparent; transition: background 5s linear',
|
|
10294
|
+
aclControlBoxContainer: 'margin: 1em;',
|
|
10295
|
+
aclControlBoxHeader: 'font-size: 120%; margin: 0 0 1rem;',
|
|
10296
|
+
aclControlBoxStatus: 'display: none; margin: 1rem 0;',
|
|
10297
|
+
aclControlBoxStatusRevealed: 'display: block;',
|
|
10298
|
+
aclGroupContent: 'maxWidth: 650;',
|
|
10299
|
+
accessGroupList: 'display: grid; grid-template-columns: 1fr; margin: 1em; width: 100%;',
|
|
10300
|
+
accessGroupListItem: 'display: grid; grid-template-columns: 100px auto 30%;',
|
|
10301
|
+
defaultsController: 'display: flex;',
|
|
10302
|
+
defaultsControllerNotice: 'color: #888; flexGrow: 1; fontSize: 80%;',
|
|
10303
|
+
bigButton: 'background-color: white; border: 0.1em solid #888; border-radius: 0.3em; max-width: 50%; padding-bottom: 1em; padding-top: 1em;',
|
|
10304
|
+
group: 'color: #888;',
|
|
10305
|
+
group1: 'color: green;',
|
|
10306
|
+
group2: 'color: #cc0;',
|
|
10307
|
+
group3: 'color: orange;',
|
|
10308
|
+
group5: 'color: red;',
|
|
10309
|
+
group9: 'color: blue;',
|
|
10310
|
+
group13: 'color: purple;',
|
|
10311
|
+
trustedAppAddApplicationsTable: 'background-color: #eee;',
|
|
10312
|
+
trustedAppCancelButton: 'float: right;',
|
|
10313
|
+
trustedAppControllerI: 'border-color: orange; border-radius: 1em; border-width: 0.1em;',
|
|
10314
|
+
temporaryStatusInit: 'background: green;',
|
|
10315
|
+
temporaryStatusEnd: 'background: transparent; transition: background 5s linear;',
|
|
10317
10316
|
// header
|
|
10318
|
-
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',
|
|
10319
|
-
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%)',
|
|
10320
|
-
headerUserMenuTrigger: 'background: none; border: 0; cursor: pointer; width: 60px; height: 60px',
|
|
10321
|
-
headerUserMenuTriggerImg: 'border-radius: 50%; height: 56px; width: 28px !important',
|
|
10322
|
-
headerUserMenuButton: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100
|
|
10323
|
-
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%)',
|
|
10324
|
-
headerUserMenuList: 'list-style: none; margin: 0; padding: 0',
|
|
10325
|
-
headerUserMenuListDisplay: 'list-style: none; margin: 0; padding: 0; display:true',
|
|
10326
|
-
headerUserMenuNavigationMenu: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: true',
|
|
10327
|
-
headerUserMenuNavigationMenuNotDisplayed: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: none',
|
|
10328
|
-
headerUserMenuListItem: 'border-bottom: solid 1px #000000',
|
|
10329
|
-
headerUserMenuPhoto: 'border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px',
|
|
10330
|
-
headerBanner: 'box-shadow: 0px 1px 4px #000000; display: flex; justify-content: space-between; padding: 0 1.5em; margin-bottom: 4px',
|
|
10331
|
-
headerBannerLink: 'display: block',
|
|
10332
|
-
headerBannerRightMenu: 'display: flex',
|
|
10333
|
-
headerBannerLogin: 'margin-left: auto',
|
|
10334
|
-
allChildrenVisible: 'display:true',
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
headerBannerIcon: 'background-size: 65px 60px !important; height: 60px !important; width: 65px !important',
|
|
10317
|
+
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;',
|
|
10318
|
+
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%);',
|
|
10319
|
+
headerUserMenuTrigger: 'background: none; border: 0; cursor: pointer; width: 60px; height: 60px;',
|
|
10320
|
+
headerUserMenuTriggerImg: 'border-radius: 50%; height: 56px; width: 28px !important;',
|
|
10321
|
+
headerUserMenuButton: 'background: none; border: 0; color: black; cursor: pointer; display: block; font-family: Arial; font-size: 1em; text-align: left; padding: 1em; width: 100%;',
|
|
10322
|
+
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%);',
|
|
10323
|
+
headerUserMenuList: 'list-style: none; margin: 0; padding: 0;',
|
|
10324
|
+
headerUserMenuListDisplay: 'list-style: none; margin: 0; padding: 0; display:true;',
|
|
10325
|
+
headerUserMenuNavigationMenu: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: true;',
|
|
10326
|
+
headerUserMenuNavigationMenuNotDisplayed: 'background: white; border: solid 1px #000000; border-right: 0; position: absolute; right: 0; top: 60px; width: 200px; z-index: 1; display: none;',
|
|
10327
|
+
headerUserMenuListItem: 'border-bottom: solid 1px #000000;',
|
|
10328
|
+
headerUserMenuPhoto: 'border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: cover; height: 50px; width: 50px;',
|
|
10329
|
+
headerBanner: 'box-shadow: 0px 1px 4px #000000; display: flex; justify-content: space-between; padding: 0 1.5em; margin-bottom: 4px;',
|
|
10330
|
+
headerBannerLink: 'display: block;',
|
|
10331
|
+
headerBannerRightMenu: 'display: flex;',
|
|
10332
|
+
headerBannerLogin: 'margin-left: auto;',
|
|
10333
|
+
allChildrenVisible: 'display:true;',
|
|
10334
|
+
headerBannerUserMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
10335
|
+
headerBannerHelpMenu: 'border-left: solid 1px #000000; margin-left: auto;',
|
|
10336
|
+
headerBannerIcon: 'background-size: 65px 60px !important; height: 60px !important; width: 65px !important;',
|
|
10339
10337
|
// may just be 65px round($icon-size * 352 / 322);
|
|
10340
10338
|
|
|
10341
10339
|
// footer
|
|
10342
|
-
footer: 'border-top: solid 1px $divider-color; font-size: 0.9em; padding: 0.5em 1.5em',
|
|
10340
|
+
footer: 'border-top: solid 1px $divider-color; font-size: 0.9em; padding: 0.5em 1.5em;',
|
|
10343
10341
|
// buttons
|
|
10344
|
-
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',
|
|
10345
|
-
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',
|
|
10346
|
-
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',
|
|
10347
|
-
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',
|
|
10348
|
-
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',
|
|
10349
|
-
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',
|
|
10350
|
-
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',
|
|
10351
|
-
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',
|
|
10342
|
+
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;',
|
|
10343
|
+
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;',
|
|
10344
|
+
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;',
|
|
10345
|
+
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;',
|
|
10346
|
+
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;',
|
|
10347
|
+
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;',
|
|
10348
|
+
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;',
|
|
10349
|
+
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;',
|
|
10352
10350
|
// media
|
|
10353
10351
|
controlStyle: "border-radius: 0.5em; margin: 0.8em; width:".concat(_styleConstants["default"].mediaModuleCanvasWidth, "; height:").concat(_styleConstants["default"].mediaModuleCanvasHeight, ";"),
|
|
10354
10352
|
// dragAndDrop
|
|
@@ -10360,8 +10358,8 @@ var style = {
|
|
|
10360
10358
|
errorMessageBlockStyle: 'margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color:black;',
|
|
10361
10359
|
// pad
|
|
10362
10360
|
notepadStyle: 'padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;',
|
|
10363
|
-
upstreamStatus: 'width:50
|
|
10364
|
-
downstreamStatus: 'width:50
|
|
10361
|
+
upstreamStatus: 'width: 50%;',
|
|
10362
|
+
downstreamStatus: 'width: 50%;',
|
|
10365
10363
|
baseStyle: 'font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;',
|
|
10366
10364
|
headingCore: 'font-family: sans-serif; font-weight: bold; border: none;',
|
|
10367
10365
|
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%;'],
|
|
@@ -10374,7 +10372,7 @@ var style = {
|
|
|
10374
10372
|
tabsRootElement: 'display: flex; height: 100%; width: 100%;',
|
|
10375
10373
|
tabsMainElement: 'margin: 0; width:100%; height: 100%;',
|
|
10376
10374
|
tabContainer: 'list-style-type: none; display: flex; height: 100%; width: 100%; margin: 0; padding: 0;',
|
|
10377
|
-
makeNewSlot: 'background: none; border: none; font: inherit; cursor: pointer',
|
|
10375
|
+
makeNewSlot: 'background: none; border: none; font: inherit; cursor: pointer;',
|
|
10378
10376
|
ellipsis: 'position: absolute; right: 0; bottom: 0; width: 20%; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;'
|
|
10379
10377
|
};
|
|
10380
10378
|
exports.style = style;
|
|
@@ -10417,13 +10415,15 @@ var _default = {
|
|
|
10417
10415
|
mediaModuleCanvasWidth: '640',
|
|
10418
10416
|
mediaModuleCanvasHeight: '480',
|
|
10419
10417
|
textInputSize: 20,
|
|
10420
|
-
//
|
|
10418
|
+
// Rough default text input size, in characters
|
|
10421
10419
|
tabBorderRadius: '0.2em',
|
|
10422
10420
|
textInputBackgroundColor: '#eef',
|
|
10423
10421
|
textInputBackgroundColorUneditable: '#fff',
|
|
10424
10422
|
textInputColor: '#000',
|
|
10425
10423
|
textInputColorPending: '#888',
|
|
10426
|
-
defaultErrorBackgroundColor: '#fee'
|
|
10424
|
+
defaultErrorBackgroundColor: '#fee',
|
|
10425
|
+
participationDefaultBackground: 'white',
|
|
10426
|
+
basicMaxLength: '4096'
|
|
10427
10427
|
};
|
|
10428
10428
|
exports["default"] = _default;
|
|
10429
10429
|
//# sourceMappingURL=styleConstants.js.map
|
|
@@ -13706,8 +13706,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
13706
13706
|
}));
|
|
13707
13707
|
exports.versionInfo = void 0;
|
|
13708
13708
|
var versionInfo = {
|
|
13709
|
-
buildTime: '2023-
|
|
13710
|
-
commit: '
|
|
13709
|
+
buildTime: '2023-08-16T08:07:53Z',
|
|
13710
|
+
commit: '6acecd56300c8f2aeab15d3da2f6d11f83a0653d',
|
|
13711
13711
|
npmInfo: {
|
|
13712
13712
|
'solid-ui': '2.4.28',
|
|
13713
13713
|
npm: '8.19.4',
|
|
@@ -15152,19 +15152,19 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
15152
15152
|
/* Drag and drop common functionality
|
|
15153
15153
|
*
|
|
15154
15154
|
* It is easy to make something draggable, or to make it a drag target!
|
|
15155
|
-
* Just call the functions below. In a
|
|
15156
|
-
*
|
|
15155
|
+
* Just call the functions below. In a Solid world, any part of the UI which
|
|
15156
|
+
* represents one thing which has a URI, should be made draggable using makeDraggable.
|
|
15157
15157
|
* Any list of things should typically allow you to drag new members of the list
|
|
15158
15158
|
* onto it.
|
|
15159
|
-
* The file upload function uploadFiles is provided as often as someone drags a file from the computer
|
|
15160
|
-
* desktop
|
|
15159
|
+
* The file upload function, uploadFiles, is provided as often as someone drags a file from the computer
|
|
15160
|
+
* desktop. You may want to upload it into the pod.
|
|
15161
15161
|
*/
|
|
15162
15162
|
|
|
15163
15163
|
/* global FileReader alert */
|
|
15164
15164
|
|
|
15165
15165
|
function makeDropTarget(ele, droppedURIHandler, droppedFileHandler) {
|
|
15166
15166
|
var dragoverListener = function dragoverListener(e) {
|
|
15167
|
-
e.preventDefault(); // Need
|
|
15167
|
+
e.preventDefault(); // Need this; otherwise, drop does not work.
|
|
15168
15168
|
e.dataTransfer.dropEffect = 'copy';
|
|
15169
15169
|
};
|
|
15170
15170
|
var dragenterListener = function dragenterListener(e) {
|
|
@@ -19454,7 +19454,7 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
|
|
|
19454
19454
|
var size = kb.anyJS(form, ns.ui('size')) || _styleConstants["default"].textInputSize || 20;
|
|
19455
19455
|
field.setAttribute('size', size);
|
|
19456
19456
|
var maxLength = kb.any(form, ns.ui('maxLength'));
|
|
19457
|
-
field.setAttribute('maxLength', maxLength ? '' + maxLength :
|
|
19457
|
+
field.setAttribute('maxLength', maxLength ? '' + maxLength : _styleConstants["default"].basicMaxLength);
|
|
19458
19458
|
doc = doc || fieldStore(subject, property, doc);
|
|
19459
19459
|
var obj = kb.any(subject, property, undefined, doc);
|
|
19460
19460
|
if (!obj) {
|