solid-ui 2.4.28-e21f60c1 → 2.4.28-e3ba3633

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 CHANGED
@@ -10222,42 +10222,33 @@ Signup.prototype.signup = function signup(signupUrl) {
10222
10222
  /*!**********************!*\
10223
10223
  !*** ./lib/style.js ***!
10224
10224
  \**********************/
10225
- /***/ ((module, exports) => {
10225
+ /***/ ((module, exports, __webpack_require__) => {
10226
10226
 
10227
10227
  "use strict";
10228
10228
 
10229
10229
 
10230
+ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js");
10230
10231
  Object.defineProperty(exports, "__esModule", ({
10231
10232
  value: true
10232
10233
  }));
10233
10234
  exports.style = void 0;
10235
+ var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ./styleConstants */ "./lib/styleConstants.js"));
10234
10236
  // Common readable consistent stylesheet
10235
10237
  // to avoid using style sheets which are document-global
10236
10238
  // and make programmable style toggling with selection, drag over, etc easier
10237
-
10238
10239
  // These must all end with semicolon so they can be appended to.
10239
10240
 
10240
- var formBorderColor = '#888888'; // Mid-grey
10241
- var lowProfileLinkColor = '#3B5998'; // Grey-blue, e.g., for field labels linking to ontology
10242
- var formFieldNameBoxWidth = '8em'; // The fixed amount to get form fields to line up
10243
- // The latter we put in when switching awy from using tables. Getting allignment between
10244
- // fields in different groups though is hard problem.
10245
-
10246
- var mediaModuleCanvasWidth = '640';
10247
- var mediaModuleCanvasHeight = '480';
10248
10241
  var style = {
10249
10242
  // styleModule
10250
10243
 
10251
10244
  checkboxStyle: 'color: black; font-size: 100%; padding-left: 0.5 em; padding-right: 0.5 em;',
10252
10245
  checkboxInputStyle: 'font-size: 150%; height: 1.2em; width: 1.2em; background-color: #eef; border-radius:0.2em; margin: 0.1em',
10253
10246
  fieldLabelStyle: 'color: #3B5998; text-decoration: none;',
10254
- formSelectSTyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
10247
+ formSelectStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
10255
10248
  textInputStyle: 'background-color: #eef; padding: 0.5em; border: .05em solid #88c; border-radius:0.2em; font-size: 100%; margin:0.4em;',
10256
10249
  textInputStyleUneditable:
10257
10250
  // Color difference only
10258
10251
  'background-color: white; padding: 0.5em; border: .05em solid white; border-radius:0.2em; font-size: 100%; margin:0.4em;',
10259
- textInputSize: 20,
10260
- // Default text input size in characters roughly
10261
10252
  buttonStyle: 'background-color: #fff; padding: 0.7em; border: .01em solid white; border-radius:0.2em; font-size: 100%; margin: 0.3em;',
10262
10253
  // 'background-color: #eef;
10263
10254
  commentStyle: 'padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;',
@@ -10266,12 +10257,8 @@ var style = {
10266
10257
  classIconStyle: 'width: 3em; height: 3em; margin: 0.1em; border-radius: 0.2em; border: 0.1em solid green; padding: 0.2em; background-color: #efe;',
10267
10258
  // combine with buttonStyle
10268
10259
  confirmPopupStyle: 'padding: 0.7em; border-radius: 0.2em; border: 0.1em solid orange; background-color: white; box-shadow: 0.5em 0.9em #888;',
10269
- tabBorderRadius: '0.2em',
10270
10260
  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;',
10271
10261
  pendingeditModifier: 'color: #bbb;',
10272
- highlightColor: '#7C4DFF',
10273
- // Solid lavendar https://design.inrupt.com/atomic-core/?cat=Core
10274
-
10275
10262
  // Contacts
10276
10263
  personaBarStyle: 'width: 100%; height: 4em; background-color: #eee; vertical-align: middle;',
10277
10264
  searchInputStyle: 'border: 0.1em solid #444; border-radius: 0.2em; width: 100%; font-size: 100%; padding: 0.1em 0.6em; margin 0.2em;',
@@ -10290,24 +10277,15 @@ var style = {
10290
10277
  heading4Style: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
10291
10278
  // Lowest level used by default in small things
10292
10279
 
10293
- formBorderColor: formBorderColor,
10294
- // originally was brown; now grey
10295
- formHeadingColor: '#888888',
10296
- // originally was brown; now grey
10297
10280
  formHeadingStyle: 'font-size: 110%; font-weight: bold; color: #888888; padding: 0.2em; margin: 0.7em 0.0em;',
10298
10281
  // originally was brown; now grey
10299
10282
  formTextInput: 'font-size: 100%; margin: 0.1em; padding: 0.1em;',
10300
10283
  // originally used this
10301
- formGroupStyle: ["padding-left: 0em; border: 0.0em solid ".concat(formBorderColor, "; border-radius: 0.2em;"), // weight 0
10302
- "padding-left: 2em; border: 0.05em solid ".concat(formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.1em solid ".concat(formBorderColor, "; border-radius: 0.2em;"), "padding-left: 2em; border: 0.2em solid ".concat(formBorderColor, "; border-radius: 0.2em;") // @@ pink
10284
+ formGroupStyle: ["padding-left: 0em; border: 0.0em solid ".concat(_styleConstants["default"].formBorderColor, "; border-radius: 0.2em;"), // weight 0
10285
+ "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
10303
10286
  ],
10304
- formFieldLabelStyle: "'color: ".concat(lowProfileLinkColor, "; text-decoration: none;'"),
10305
- formFieldNameBoxWidth: formFieldNameBoxWidth,
10306
- formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width:".concat(formFieldNameBoxWidth, ";"),
10307
- textInputBackgroundColor: '#eef',
10308
- textInputBackgroundColorUneditable: '#fff',
10309
- textInputColor: '#000',
10310
- textInputColorPending: '#888',
10287
+ formFieldLabelStyle: "'color: ".concat(_styleConstants["default"].lowProfileLinkColor, "; text-decoration: none;'"),
10288
+ formFieldNameBoxStyle: "padding: 0.3em; vertical-align: middle; width:".concat(_styleConstants["default"].formFieldNameBoxWidth, ";"),
10311
10289
  multilineTextInputStyle: 'font-size:100%; white-space: pre-wrap; background-color: #eef;' + ' border: 0.07em solid gray; padding: 1em 0.5em; margin: 1em 1em;',
10312
10290
  // Buttons
10313
10291
  renderAsDivStyle: 'display: flex; align-items: center; justify-content: space-between; height: 2.5em; padding: 1em;',
@@ -10372,28 +10350,26 @@ var style = {
10372
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',
10373
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',
10374
10352
  // media
10375
- controlStyle: "border-radius: 0.5em; margin: 0.8em; width:".concat(mediaModuleCanvasWidth, "; height:").concat(mediaModuleCanvasHeight, ";"),
10353
+ controlStyle: "border-radius: 0.5em; margin: 0.8em; width:".concat(_styleConstants["default"].mediaModuleCanvasWidth, "; height:").concat(_styleConstants["default"].mediaModuleCanvasHeight, ";"),
10376
10354
  // dragAndDrop
10377
10355
  dragEvent: 'background-color: #ccc; border: 0.25em dashed black; border-radius: 0.3em;',
10378
10356
  dropEvent: 'background-color: white; border: 0em solid black;',
10379
10357
  restoreStyle: 'background-color: white;',
10380
10358
  // errors
10381
10359
  errorCancelButton: 'width: 2em; height: 2em; align: right;',
10382
- errorMessageBlock: 'margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color:black;',
10383
- defaultErrorBackgroundColor: '#fee',
10360
+ errorMessageBlockStyle: 'margin: 0.1em; padding: 0.5em; border: 0.05em solid gray; color:black;',
10384
10361
  // pad
10385
10362
  notepadStyle: 'padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;',
10386
10363
  upstreamStatus: 'width:50%',
10387
10364
  downstreamStatus: 'width:50%',
10388
10365
  baseStyle: 'font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;',
10389
10366
  headingCore: 'font-family: sans-serif; font-weight: bold; border: none;',
10390
- 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%;'],
10367
+ 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%;'],
10391
10368
  // participation
10392
10369
  participantsStyle: 'margin: 0.8em;',
10393
10370
  participantsBlock: 'height: 1.5em; width: 1.5em; margin: 0.3em; border 0.01em solid #888;',
10394
10371
  personTableTD: 'vertical-align: middle;',
10395
10372
  // tabs
10396
- tabsDefaultBackgroundColor: '#ddddcc',
10397
10373
  tabsNavElement: 'margin: 0;',
10398
10374
  tabsRootElement: 'display: flex; height: 100%; width: 100%;',
10399
10375
  tabsMainElement: 'margin: 0; width:100%; height: 100%;',
@@ -10410,6 +10386,50 @@ module.exports = style; // @@ No way to do this in ESM
10410
10386
 
10411
10387
  /***/ }),
10412
10388
 
10389
+ /***/ "./lib/styleConstants.js":
10390
+ /*!*******************************!*\
10391
+ !*** ./lib/styleConstants.js ***!
10392
+ \*******************************/
10393
+ /***/ ((__unused_webpack_module, exports) => {
10394
+
10395
+ "use strict";
10396
+
10397
+
10398
+ Object.defineProperty(exports, "__esModule", ({
10399
+ value: true
10400
+ }));
10401
+ exports["default"] = void 0;
10402
+ var _default = {
10403
+ highlightColor: '#7C4DFF',
10404
+ // Solid lavender https://design.inrupt.com/atomic-core/?cat=Core
10405
+
10406
+ formBorderColor: '#888888',
10407
+ // Mid-grey
10408
+ formHeadingColor: '#888888',
10409
+ // originally was brown; now grey
10410
+ lowProfileLinkColor: '#3B5998',
10411
+ // Grey-blue, e.g., for field labels linking to ontology
10412
+ formFieldNameBoxWidth: '8em',
10413
+ // The fixed amount to get form fields to line up
10414
+ // The latter we put in when switching awy from using tables. Getting alignment between
10415
+ // fields in different groups though is hard problem.
10416
+
10417
+ mediaModuleCanvasWidth: '640',
10418
+ mediaModuleCanvasHeight: '480',
10419
+ textInputSize: 20,
10420
+ // Default text input size in characters roughly
10421
+ tabBorderRadius: '0.2em',
10422
+ textInputBackgroundColor: '#eef',
10423
+ textInputBackgroundColorUneditable: '#fff',
10424
+ textInputColor: '#000',
10425
+ textInputColorPending: '#888',
10426
+ defaultErrorBackgroundColor: '#fee'
10427
+ };
10428
+ exports["default"] = _default;
10429
+ //# sourceMappingURL=styleConstants.js.map
10430
+
10431
+ /***/ }),
10432
+
10413
10433
  /***/ "./lib/style_multiSelect.js":
10414
10434
  /*!**********************************!*\
10415
10435
  !*** ./lib/style_multiSelect.js ***!
@@ -12284,11 +12304,12 @@ var TabElement = /*#__PURE__*/function (_HTMLElement3) {
12284
12304
  *
12285
12305
  * @param options
12286
12306
  */
12307
+ var tabsDefaultBackgroundColor = '#ddddcc';
12287
12308
  function tabWidget(options) {
12288
12309
  var subject = options.subject;
12289
12310
  var dom = options.dom || document;
12290
12311
  var orientation = parseInt(options.orientation || '0');
12291
- var backgroundColor = options.backgroundColor || style.tabsDefaultBackgroundColor;
12312
+ var backgroundColor = options.backgroundColor || tabsDefaultBackgroundColor;
12292
12313
  var flipped = orientation & 2;
12293
12314
  var vertical = orientation & 1;
12294
12315
  var onClose = options.onClose;
@@ -13685,8 +13706,8 @@ Object.defineProperty(exports, "__esModule", ({
13685
13706
  }));
13686
13707
  exports.versionInfo = void 0;
13687
13708
  var versionInfo = {
13688
- buildTime: '2023-07-01T18:02:23Z',
13689
- commit: 'e21f60c14dc28ede71cc357a9e23bf9fc3cbafd0',
13709
+ buildTime: '2023-07-01T18:57:06Z',
13710
+ commit: 'e3ba3633cc682051468264690205955f964e071c',
13690
13711
  npmInfo: {
13691
13712
  'solid-ui': '2.4.28',
13692
13713
  npm: '8.19.4',
@@ -15322,6 +15343,7 @@ function uploadFiles(fetcher, files, fileBase, imageBase, successHandler) {
15322
15343
  "use strict";
15323
15344
 
15324
15345
 
15346
+ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js");
15325
15347
  var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js");
15326
15348
  Object.defineProperty(exports, "__esModule", ({
15327
15349
  value: true
@@ -15329,6 +15351,7 @@ Object.defineProperty(exports, "__esModule", ({
15329
15351
  exports.errorMessageBlock = errorMessageBlock;
15330
15352
  var _widgets = __webpack_require__(/*! ../widgets */ "./lib/widgets/index.js");
15331
15353
  var style = _interopRequireWildcard(__webpack_require__(/*! ../style */ "./lib/style.js"));
15354
+ var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ../styleConstants */ "./lib/styleConstants.js"));
15332
15355
  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); }
15333
15356
  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; }
15334
15357
  /**
@@ -15360,8 +15383,8 @@ function errorMessageBlock(dom, err, backgroundColor, err2) {
15360
15383
  div.appendChild((0, _widgets.cancelButton)(dom, function () {
15361
15384
  if (div.parentNode) div.parentNode.removeChild(div);
15362
15385
  })).style = style.errorCancelButton;
15363
- div.setAttribute('style', style.errorMessageBlock);
15364
- div.style.backgroundColor = backgroundColor || style.defaultErrorBackgroundColor;
15386
+ div.setAttribute('style', style.errorMessageBlockStyle);
15387
+ div.style.backgroundColor = backgroundColor || _styleConstants["default"].defaultErrorBackgroundColor;
15365
15388
  return div;
15366
15389
  }
15367
15390
  //# sourceMappingURL=error.js.map
@@ -15458,6 +15481,7 @@ var _error = __webpack_require__(/*! ./error */ "./lib/widgets/error.js");
15458
15481
  var _basic = __webpack_require__(/*! ./forms/basic */ "./lib/widgets/forms/basic.js");
15459
15482
  var _autocompleteField = __webpack_require__(/*! ./forms/autocomplete/autocompleteField */ "./lib/widgets/forms/autocomplete/autocompleteField.js");
15460
15483
  var style = _interopRequireWildcard(__webpack_require__(/*! ../style */ "./lib/style.js"));
15484
+ var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ../styleConstants */ "./lib/styleConstants.js"));
15461
15485
  var _iconBase = __webpack_require__(/*! ../iconBase */ "./lib/iconBase.js");
15462
15486
  var log = _interopRequireWildcard(__webpack_require__(/*! ../log */ "./lib/log.js"));
15463
15487
  var ns = _interopRequireWildcard(__webpack_require__(/*! ../ns */ "./lib/ns.js"));
@@ -16143,7 +16167,7 @@ _fieldFunction.field[ns.ui('MultiLineTextField').uri] = function (dom, container
16143
16167
  box.style.display = 'flex';
16144
16168
  box.style.flexDirection = 'row';
16145
16169
  var left = box.appendChild(dom.createElement('div'));
16146
- left.style.width = style.formFieldNameBoxWidth;
16170
+ left.style.width = _styleConstants["default"].formFieldNameBoxWidth;
16147
16171
  var right = box.appendChild(dom.createElement('div'));
16148
16172
  left.appendChild((0, _basic.fieldLabel)(dom, property, form));
16149
16173
  dataDoc = (0, _basic.fieldStore)(subject, property, dataDoc);
@@ -16570,7 +16594,7 @@ function promptForNew(dom, kb, subject, predicate, theClass, form, dataDoc, call
16570
16594
  }
16571
16595
 
16572
16596
  log.debug('form is ' + form);
16573
- box.setAttribute('style', "border: 0.05em solid ".concat(style.formBorderColor, "; color: ").concat(style.formBorderColor)); // @@color?
16597
+ box.setAttribute('style', "border: 0.05em solid ".concat(_styleConstants["default"].formBorderColor, "; color: ").concat(_styleConstants["default"].formBorderColor)); // @@color?
16574
16598
  box.innerHTML = '<h3>New ' + utils.label(theClass) + '</h3>';
16575
16599
  var formFunction = (0, _fieldFunction.fieldFunction)(dom, form);
16576
16600
  var object = newThing(dataDoc);
@@ -16631,12 +16655,12 @@ function makeDescription(dom, kb, subject, predicate, dataDoc, callbackFunction)
16631
16655
  submit.disabled = true;
16632
16656
  submit.setAttribute('style', 'visibility: hidden; float: right;'); // Keep UI clean
16633
16657
  field.disabled = true;
16634
- field.style.color = style.textInputColorPending; // setAttribute('style', style + 'color: gray;') // pending
16658
+ field.style.color = _styleConstants["default"].textInputColorPending;
16635
16659
  var ds = kb.statementsMatching(subject, predicate, null, dataDoc);
16636
16660
  var is = $rdf.st(subject, predicate, field.value, dataDoc);
16637
16661
  kb.updater.update(ds, is, function (uri, ok, body) {
16638
16662
  if (ok) {
16639
- field.style.color = style.textInputColor;
16663
+ field.style.color = _styleConstants["default"].textInputColor;
16640
16664
  field.disabled = false;
16641
16665
  } else {
16642
16666
  group.appendChild((0, _error.errorMessageBlock)(dom, 'Error (while saving change to ' + dataDoc.uri + '): ' + body));
@@ -16665,7 +16689,7 @@ function makeDescription(dom, kb, subject, predicate, dataDoc, callbackFunction)
16665
16689
  field.addEventListener('change', saveChange, true);
16666
16690
  } else {
16667
16691
  field.disabled = true; // @@ change color too
16668
- field.style.backgroundColor = style.textInputBackgroundColorUneditable;
16692
+ field.style.backgroundColor = _styleConstants["default"].textInputBackgroundColorUneditable;
16669
16693
  }
16670
16694
  return group;
16671
16695
  }
@@ -16790,7 +16814,7 @@ function makeSelectForClassifierOptions(dom, kb, subject, predicate, possible, o
16790
16814
  });
16791
16815
  };
16792
16816
  var select = dom.createElement('select');
16793
- select.setAttribute('style', style.formSelectSTyle);
16817
+ select.setAttribute('style', style.formSelectStyle);
16794
16818
  if (options.multiple) select.setAttribute('multiple', 'true');
16795
16819
  select.currentURI = null;
16796
16820
  select.refresh = function () {
@@ -16933,7 +16957,7 @@ function makeSelectForOptions(dom, kb, subject, predicate, possible, options, da
16933
16957
  });
16934
16958
  };
16935
16959
  var select = dom.createElement('select');
16936
- select.setAttribute('style', style.formSelectSTyle);
16960
+ select.setAttribute('style', style.formSelectStyle);
16937
16961
  select.currentURI = null;
16938
16962
  select.refresh = function () {
16939
16963
  actual = getActual(); // refresh
@@ -17219,7 +17243,7 @@ function makeSelectForChoice(dom, container, kb, subject, predicate, inputPossib
17219
17243
  select.refresh();
17220
17244
  };
17221
17245
  var select = dom.createElement('select');
17222
- select.setAttribute('style', style.formSelectSTyle);
17246
+ select.setAttribute('style', style.formSelectStyle);
17223
17247
  select.setAttribute('id', 'formSelect');
17224
17248
  select.currentURI = null;
17225
17249
  for (var uri in optionsFromClassUIfrom) {
@@ -18004,6 +18028,7 @@ var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime
18004
18028
  var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
18005
18029
  var debug = _interopRequireWildcard(__webpack_require__(/*! ../../../debug */ "./lib/debug.js"));
18006
18030
  var style = _interopRequireWildcard(__webpack_require__(/*! ../../../style */ "./lib/style.js"));
18031
+ var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ../../../styleConstants */ "./lib/styleConstants.js"));
18007
18032
  var widgets = _interopRequireWildcard(__webpack_require__(/*! ../../../widgets */ "./lib/widgets/index.js"));
18008
18033
  var _solidLogic = __webpack_require__(/*! solid-logic */ "./node_modules/solid-logic/lib/index.js");
18009
18034
  var _publicData = __webpack_require__(/*! ./publicData */ "./lib/widgets/forms/autocomplete/publicData.js");
@@ -18401,7 +18426,7 @@ function _renderAutoComplete() {
18401
18426
  searchInput = cell.appendChild(dom.createElement('input'));
18402
18427
  searchInput.setAttribute('type', 'text');
18403
18428
  initialize();
18404
- size = acOptions.size || style.textInputSize || 20;
18429
+ size = acOptions.size || _styleConstants["default"].textInputSize || 20;
18405
18430
  searchInput.setAttribute('size', size);
18406
18431
  searchInput.setAttribute('data-testid', 'autocomplete-input');
18407
18432
  searchInputStyle = style.textInputStyle ||
@@ -19292,6 +19317,7 @@ function _getDbpediaDetails() {
19292
19317
  "use strict";
19293
19318
 
19294
19319
 
19320
+ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js");
19295
19321
  var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js");
19296
19322
  Object.defineProperty(exports, "__esModule", ({
19297
19323
  value: true
@@ -19304,6 +19330,7 @@ var _rdflib = __webpack_require__(/*! rdflib */ "./node_modules/rdflib/esm/index
19304
19330
  var _solidLogic = __webpack_require__(/*! solid-logic */ "./node_modules/solid-logic/lib/index.js");
19305
19331
  var ns = _interopRequireWildcard(__webpack_require__(/*! ../../ns */ "./lib/ns.js"));
19306
19332
  var _style = __webpack_require__(/*! ../../style */ "./lib/style.js");
19333
+ var _styleConstants = _interopRequireDefault(__webpack_require__(/*! ../../styleConstants */ "./lib/styleConstants.js"));
19307
19334
  var _utils = __webpack_require__(/*! ../../utils */ "./lib/utils/index.js");
19308
19335
  var _error = __webpack_require__(/*! ../error */ "./lib/widgets/error.js");
19309
19336
  var _fieldFunction = __webpack_require__(/*! ./fieldFunction */ "./lib/widgets/forms/fieldFunction.js");
@@ -19319,7 +19346,7 @@ function renderNameValuePair(dom, kb, box, form, label) {
19319
19346
  box.style.display = 'flex';
19320
19347
  box.style.flexDirection = 'row';
19321
19348
  var lhs = box.appendChild(dom.createElement('div'));
19322
- lhs.style.width = _style.formFieldNameBoxWidth;
19349
+ lhs.style.width = _styleConstants["default"].formFieldNameBoxWidth;
19323
19350
  var rhs = box.appendChild(dom.createElement('div'));
19324
19351
  lhs.setAttribute('class', 'formFieldName');
19325
19352
  lhs.setAttribute('style', _style.formFieldNameBoxStyle);
@@ -19424,7 +19451,7 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
19424
19451
  field.style = style;
19425
19452
  rhs.appendChild(field);
19426
19453
  field.setAttribute('type', params.type ? params.type : 'text');
19427
- var size = kb.anyJS(form, ns.ui('size')) || _style.textInputSize || 20;
19454
+ var size = kb.anyJS(form, ns.ui('size')) || _styleConstants["default"].textInputSize || 20;
19428
19455
  field.setAttribute('size', size);
19429
19456
  var maxLength = kb.any(form, ns.ui('maxLength'));
19430
19457
  field.setAttribute('maxLength', maxLength ? '' + maxLength : '4096');
@@ -19449,7 +19476,6 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
19449
19476
  field.readOnly = true // was: disabled. readOnly is better
19450
19477
  ;
19451
19478
  field.style = _style.textInputStyleUneditable + paramStyle;
19452
- // backgroundColor = textInputBackgroundColorUneditable
19453
19479
  if (suppressEmptyUneditable && field.value === '') {
19454
19480
  box.style.display = 'none'; // clutter
19455
19481
  }
@@ -19690,10 +19716,10 @@ var fieldParams = (_fieldParams = {}, (0, _defineProperty2["default"])(_fieldPar
19690
19716
  style: _style.formGroupStyle
19691
19717
  }), (0, _defineProperty2["default"])(_fieldParams, ns.ui('Comment').uri, {
19692
19718
  element: 'p',
19693
- style: _style.commentStyle // was `padding: 0.1em 1.5em; color: ${formHeadingColor}; white-space: pre-wrap;`
19719
+ style: _style.commentStyle
19694
19720
  }), (0, _defineProperty2["default"])(_fieldParams, ns.ui('Heading').uri, {
19695
19721
  element: 'h3',
19696
- style: _style.formHeadingStyle // was: `font-size: 110%; font-weight: bold; color: ${formHeadingColor}; padding: 0.2em;`
19722
+ style: _style.formHeadingStyle
19697
19723
  }), _fieldParams);
19698
19724
  exports.fieldParams = fieldParams;
19699
19725
  //# sourceMappingURL=fieldParams.js.map