solid-panes 4.2.3-d75b2aa8 → 4.2.3-e7f59222

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.
Files changed (117) hide show
  1. package/dist/RDFXMLPane.js +1 -2
  2. package/dist/argument/argumentPane.js +1 -2
  3. package/dist/attach/attachPane.js +1 -2
  4. package/dist/audio/audioPane.js +1 -2
  5. package/dist/classInstancePane.js +1 -2
  6. package/dist/dataContentPane.js +12 -10
  7. package/dist/defaultPane.js +1 -2
  8. package/dist/dokieli/dokieliPane.js +1 -2
  9. package/dist/dokieli/new.js +1 -2
  10. package/dist/form/pane.js +8 -7
  11. package/dist/humanReadablePane.js +12 -10
  12. package/dist/imagePane.js +5 -7
  13. package/dist/internal/internalPane.d.ts +1 -0
  14. package/dist/internal/internalPane.d.ts.map +1 -1
  15. package/dist/microblogPane/mbStyle.css +267 -0
  16. package/dist/microblogPane/microblogPane.js +1 -2
  17. package/dist/n3Pane.js +1 -2
  18. package/dist/outline/manager.css +80 -0
  19. package/dist/outline/manager.js +14 -11
  20. package/dist/outline/outlineIcons.js +1 -2
  21. package/dist/outline/queryByExample.js +1 -2
  22. package/dist/outline/userInput.js +1 -2
  23. package/dist/pad/padPane.d.ts +1 -0
  24. package/dist/pad/padPane.d.ts.map +1 -1
  25. package/dist/playlist/playlistPane.js +1 -2
  26. package/dist/registerPanes.js +1 -2
  27. package/dist/schedule/schedulePane.js +43 -22
  28. package/dist/slideshow/slideshowPane.js +1 -2
  29. package/dist/socialPane.js +1 -2
  30. package/dist/solid-panes.js +49898 -0
  31. package/dist/solid-panes.js.map +1 -0
  32. package/dist/solid-panes.min.js +290 -0
  33. package/dist/solid-panes.min.js.map +1 -0
  34. package/dist/styles/dataContentPane.css +23 -0
  35. package/dist/styles/formPane.css +19 -0
  36. package/dist/styles/humanReadablePane.css +8 -0
  37. package/dist/styles/imagePane.css +4 -0
  38. package/dist/styles/internalPane.css +12 -0
  39. package/dist/styles/padPane.css +13 -0
  40. package/dist/styles/schedulePane.css +27 -0
  41. package/dist/styles/tabbedtab.css +1347 -0
  42. package/dist/tableViewPane.js +1 -2
  43. package/dist/transaction/pane.js +1 -2
  44. package/dist/transaction/period.js +1 -2
  45. package/dist/trip/tripPane.js +1 -2
  46. package/dist/ui/pane.js +1 -2
  47. package/dist/video/videoPane.js +1 -2
  48. package/package.json +7 -6
  49. package/dist/RDFXMLPane.js.map +0 -1
  50. package/dist/argument/argumentPane.js.map +0 -1
  51. package/dist/attach/attachPane.js.map +0 -1
  52. package/dist/audio/audioPane.js.map +0 -1
  53. package/dist/classInstancePane.js.map +0 -1
  54. package/dist/dashboard/basicPreferences.js +0 -147
  55. package/dist/dashboard/basicPreferences.js.map +0 -1
  56. package/dist/dashboard/dashboardPane.js +0 -68
  57. package/dist/dashboard/dashboardPane.js.map +0 -1
  58. package/dist/dashboard/homepage.js +0 -73
  59. package/dist/dashboard/homepage.js.map +0 -1
  60. package/dist/dataContentPane.js.map +0 -1
  61. package/dist/defaultPane.js.map +0 -1
  62. package/dist/dokieli/dokieliPane.js.map +0 -1
  63. package/dist/dokieli/new.js.map +0 -1
  64. package/dist/form/pane.js.map +0 -1
  65. package/dist/home/homePane.js +0 -73
  66. package/dist/home/homePane.js.map +0 -1
  67. package/dist/humanReadablePane.js.map +0 -1
  68. package/dist/imagePane.js.map +0 -1
  69. package/dist/index.js +0 -109
  70. package/dist/index.js.map +0 -1
  71. package/dist/internal/internalPane.js +0 -184
  72. package/dist/internal/internalPane.js.map +0 -1
  73. package/dist/mainPage/footer.js +0 -22
  74. package/dist/mainPage/footer.js.map +0 -1
  75. package/dist/mainPage/header.js +0 -86
  76. package/dist/mainPage/header.js.map +0 -1
  77. package/dist/mainPage/index.js +0 -25
  78. package/dist/mainPage/index.js.map +0 -1
  79. package/dist/microblogPane/microblogPane.js.map +0 -1
  80. package/dist/n3Pane.js.map +0 -1
  81. package/dist/outline/context.js +0 -19
  82. package/dist/outline/context.js.map +0 -1
  83. package/dist/outline/manager.js.map +0 -1
  84. package/dist/outline/outlineIcons.js.map +0 -1
  85. package/dist/outline/propertyViews.js +0 -44
  86. package/dist/outline/propertyViews.js.map +0 -1
  87. package/dist/outline/queryByExample.js.map +0 -1
  88. package/dist/outline/userInput.js.map +0 -1
  89. package/dist/outline/viewAsImage.js +0 -15
  90. package/dist/outline/viewAsImage.js.map +0 -1
  91. package/dist/outline/viewAsMbox.js +0 -22
  92. package/dist/outline/viewAsMbox.js.map +0 -1
  93. package/dist/pad/padPane.js +0 -411
  94. package/dist/pad/padPane.js.map +0 -1
  95. package/dist/playlist/playlistPane.js.map +0 -1
  96. package/dist/registerPanes.js.map +0 -1
  97. package/dist/schedule/schedulePane.js.map +0 -1
  98. package/dist/sharing/sharingPane.js +0 -49
  99. package/dist/sharing/sharingPane.js.map +0 -1
  100. package/dist/slideshow/slideshowPane.js.map +0 -1
  101. package/dist/socialPane.js.map +0 -1
  102. package/dist/tabbed/tabbedPane.js +0 -58
  103. package/dist/tabbed/tabbedPane.js.map +0 -1
  104. package/dist/tableViewPane.js.map +0 -1
  105. package/dist/transaction/pane.js.map +0 -1
  106. package/dist/transaction/period.js.map +0 -1
  107. package/dist/trip/tripPane.js.map +0 -1
  108. package/dist/trustedApplications/trustedApplications.dom.js +0 -146
  109. package/dist/trustedApplications/trustedApplications.dom.js.map +0 -1
  110. package/dist/trustedApplications/trustedApplications.utils.js +0 -24
  111. package/dist/trustedApplications/trustedApplications.utils.js.map +0 -1
  112. package/dist/trustedApplications/trustedApplications.view.js +0 -56
  113. package/dist/trustedApplications/trustedApplications.view.js.map +0 -1
  114. package/dist/ui/pane.js.map +0 -1
  115. package/dist/versionInfo.js +0 -42
  116. package/dist/versionInfo.js.map +0 -1
  117. package/dist/video/videoPane.js.map +0 -1
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = _default;
7
7
  var paneRegistry = _interopRequireWildcard(require("pane-registry"));
8
+ require("./manager.css");
8
9
  var $rdf = _interopRequireWildcard(require("rdflib"));
9
10
  var UI = _interopRequireWildcard(require("solid-ui"));
10
11
  var _solidLogic = require("solid-logic");
@@ -151,8 +152,12 @@ function _default(context) {
151
152
 
152
153
  this.outlineObjectTD = function outlineObjectTD(obj, view, deleteNode, statement) {
153
154
  const td = dom.createElement('td');
154
- td.setAttribute('style', 'margin: 0.2em; border: none; padding: 0; vertical-align: top;');
155
+ td.classList.add('obj');
155
156
  td.setAttribute('notSelectable', 'false');
157
+ td.style.margin = '0.2em';
158
+ td.style.border = 'none';
159
+ td.style.padding = '0';
160
+ td.style.verticalAlign = 'top';
156
161
  const theClass = 'obj';
157
162
 
158
163
  // set about and put 'expand' icon
@@ -161,7 +166,6 @@ function _default(context) {
161
166
  td.appendChild(UI.utils.AJARImage(UI.icons.originalIconBase + 'tbl-expand-trans.png', 'expand', undefined, dom)).addEventListener('click', expandMouseDownListener);
162
167
  }
163
168
  td.setAttribute('class', theClass); // this is how you find an object
164
- // @@ TAKE CSS OUT OF STYLE SHEET
165
169
  if (kb.whether(obj, UI.ns.rdf('type'), UI.ns.link('Request'))) {
166
170
  td.className = 'undetermined';
167
171
  } // @@? why-timbl
@@ -207,7 +211,7 @@ function _default(context) {
207
211
  // if (kb.statementsMatching(predicate,rdf('type'), UI.ns.link('Request')).length) predicateTD.className='undetermined';
208
212
 
209
213
  const labelTD = dom.createElement('TD');
210
- labelTD.setAttribute('style', 'margin: 0.2em; border: none; padding: 0; vertical-align: top;');
214
+ labelTD.classList.add('labelTD');
211
215
  labelTD.setAttribute('notSelectable', 'true');
212
216
  labelTD.appendChild(dom.createTextNode(lab));
213
217
  predicateTD.appendChild(labelTD);
@@ -281,7 +285,7 @@ function _default(context) {
281
285
  const me = _solidLogic.authn.currentUser();
282
286
  if (!me) return [];
283
287
  const div = dom.createElement('div');
284
- const [books, pods] = await Promise.all([getAddressBooks(), getPods()]);
288
+ const [pods] = await Promise.all([getPods()]);
285
289
  return [{
286
290
  paneName: 'home',
287
291
  label: 'Your stuff',
@@ -298,7 +302,7 @@ function _default(context) {
298
302
  paneName: 'editProfile',
299
303
  label: 'Edit your Profile',
300
304
  icon: UI.icons.iconBase + 'noun_492246.svg'
301
- }].concat(books).concat(pods);
305
+ }].concat(pods);
302
306
  async function getPods() {
303
307
  async function addPodStorage(pod) {
304
308
  // namedNode
@@ -667,7 +671,7 @@ function _default(context) {
667
671
  const table = d.parentNode;
668
672
  const par = table.parentNode;
669
673
  const placeholder = dom.createElement('table');
670
- placeholder.setAttribute('style', 'width: 100%;');
674
+ placeholder.classList.add('placeholderTable');
671
675
  par.replaceChild(placeholder, table);
672
676
  table.removeChild(d);
673
677
  par.replaceChild(table, placeholder); // Attempt to
@@ -680,7 +684,7 @@ function _default(context) {
680
684
  if (!table) {
681
685
  // Create a new property table
682
686
  table = dom.createElement('table');
683
- table.setAttribute('style', 'width: 100%;');
687
+ table.classList.add('tableFullWidth');
684
688
  expandedHeaderTR(subject, pane, options).then(tr1 => {
685
689
  table.appendChild(tr1);
686
690
  if (tr1.firstPane) {
@@ -1977,7 +1981,7 @@ function _default(context) {
1977
1981
  } else if (obj.termType === 'Collection') {
1978
1982
  // obj.elements is an array of the elements in the collection
1979
1983
  rep = dom.createElement('table');
1980
- rep.setAttribute('style', 'width: 100%;');
1984
+ rep.classList.add('tableFullWidth');
1981
1985
  rep.setAttribute('about', obj.toNT());
1982
1986
  /* Not sure which looks best -- with or without. I think without
1983
1987
  var tr = rep.appendChild(document.createElement('tr'));
@@ -1988,7 +1992,7 @@ function _default(context) {
1988
1992
  const elt = obj.elements[i];
1989
1993
  const row = rep.appendChild(dom.createElement('tr'));
1990
1994
  const numcell = row.appendChild(dom.createElement('td'));
1991
- numcell.setAttribute('style', 'margin: 0.2em; border: none; padding: 0; vertical-align: top;');
1995
+ numcell.classList.add('obj');
1992
1996
  numcell.setAttribute('notSelectable', 'false');
1993
1997
  numcell.setAttribute('about', obj.toNT());
1994
1998
  numcell.innerHTML = i + 1 + ')';
@@ -2018,5 +2022,4 @@ function _default(context) {
2018
2022
  // this.panes = panes; // Allow external panes to register
2019
2023
 
2020
2024
  return this;
2021
- } // END OF OUTLINE
2022
- //# sourceMappingURL=manager.js.map
2025
+ } // END OF OUTLINE
@@ -123,5 +123,4 @@ outlineIcons.termWidgets = {};
123
123
  outlineIcons.termWidgets.optOn = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_opton, 20, 'opt on', 'Make this branch of your query mandatory.');
124
124
  outlineIcons.termWidgets.optOff = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_optoff, 20, 'opt off', 'Make this branch of your query optional.');
125
125
  outlineIcons.termWidgets.addTri = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_add_triple, 18, 'add tri', 'Add one');
126
- // Ideally: "New "+label(subject)
127
- //# sourceMappingURL=outlineIcons.js.map
126
+ // Ideally: "New "+label(subject)
@@ -282,5 +282,4 @@ function QuerySource() {
282
282
  }
283
283
  }
284
284
  };
285
- }
286
- //# sourceMappingURL=queryByExample.js.map
285
+ }
@@ -1815,5 +1815,4 @@ function UserInput(outline) {
1815
1815
  return trNode.AJAR_statement;
1816
1816
  }
1817
1817
  };
1818
- }
1819
- //# sourceMappingURL=userInput.js.map
1818
+ }
@@ -1,4 +1,5 @@
1
1
  import { PaneDefinition } from 'pane-registry';
2
+ import '../styles/padPane.css';
2
3
  declare const paneDef: PaneDefinition;
3
4
  export default paneDef;
4
5
  //# sourceMappingURL=padPane.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"padPane.d.ts","sourceRoot":"","sources":["../../src/pad/padPane.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAK9C,QAAA,MAAM,OAAO,EAAE,cAmiBd,CAAA;AAGD,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"padPane.d.ts","sourceRoot":"","sources":["../../src/pad/padPane.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,uBAAuB,CAAA;AAK9B,QAAA,MAAM,OAAO,EAAE,cA+hBd,CAAA;AAGD,eAAe,OAAO,CAAA"}
@@ -120,5 +120,4 @@ var _default = exports.default = {
120
120
  div.appendChild(tr);
121
121
  return div;
122
122
  }
123
- }; // ends
124
- //# sourceMappingURL=playlistPane.js.map
123
+ }; // ends
@@ -142,5 +142,4 @@ function registerPanes(register) {
142
142
  register(_homePane.default); // This is a global pane
143
143
 
144
144
  // ENDS
145
- }
146
- //# sourceMappingURL=registerPanes.js.map
145
+ }
@@ -7,6 +7,7 @@ exports.schedulePane = void 0;
7
7
  var UI = _interopRequireWildcard(require("solid-ui"));
8
8
  var _solidLogic = require("solid-logic");
9
9
  var $rdf = _interopRequireWildcard(require("rdflib"));
10
+ require("../styles/schedulePane.css");
10
11
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
12
  /* Scheduler Pane
12
13
  **
@@ -252,9 +253,6 @@ const schedulePane = exports.schedulePane = {
252
253
  const form3 = kb.sym(formsURI + '#form3');
253
254
  $rdf.parse(formText, kb, formsURI, 'text/turtle'); // Load forms directly
254
255
 
255
- const inputStyle = 'background-color: #eef; padding: 0.5em; border: .5em solid white; font-size: 100%'; // font-size: 120%
256
- const buttonIconStyle = 'width: 1.8em; height: 1.8em;';
257
-
258
256
  // Utility functions
259
257
 
260
258
  const complainIfBad = function (ok, message) {
@@ -271,7 +269,8 @@ const schedulePane = exports.schedulePane = {
271
269
  const refreshCellColor = function (cell, value) {
272
270
  const bg = kb.any(value, UI.ns.ui('backgroundColor'));
273
271
  if (bg) {
274
- cell.setAttribute('style', 'padding: 0.3em; text-align: center; background-color: ' + bg + ';');
272
+ cell.classList.add('schedulePaneCell');
273
+ cell.setAttribute('style', 'background-color: ' + bg + ';');
275
274
  }
276
275
  };
277
276
  let me;
@@ -296,7 +295,7 @@ const schedulePane = exports.schedulePane = {
296
295
  const b = UI.login.newAppInstance(dom, {
297
296
  noun: 'scheduler'
298
297
  }, initializeNewInstanceInWorkspace);
299
- b.firstChild.setAttribute('style', inputStyle);
298
+ b.firstChild.classList.add('schedulePaneButton');
300
299
  return b;
301
300
  }; // newInstanceButton
302
301
 
@@ -406,7 +405,7 @@ const schedulePane = exports.schedulePane = {
406
405
  div.appendChild(dom.createElement('br')); // @@
407
406
 
408
407
  const button = div.appendChild(dom.createElement('button'));
409
- button.setAttribute('style', inputStyle);
408
+ button.classList.add('schedulePaneButton');
410
409
  button.textContent = 'Start new poll at this URI';
411
410
  button.addEventListener('click', function (_e) {
412
411
  let newBase = baseField.value;
@@ -423,9 +422,29 @@ const schedulePane = exports.schedulePane = {
423
422
  const showForms = function () {
424
423
  clearElement(naviCenter); // Remove refresh button if nec
425
424
  const div = naviMain;
425
+
426
+ // form2 depends on sched:allDay; seed a local default for new polls
427
+ if (!kb.any(subject, ns.sched('allDay'))) {
428
+ kb.add(subject, ns.sched('allDay'), $rdf.literal('true', undefined, $rdf.sym('http://www.w3.org/2001/XMLSchema#boolean')), detailsDoc);
429
+ }
426
430
  const wizard = true;
427
431
  let currentSlide = 0;
428
432
  let gotDoneButton = false;
433
+ const hasFormControls = function (container) {
434
+ return !!container.querySelector('input, select, textarea, button');
435
+ };
436
+ const asBoolean = function (term, fallback) {
437
+ if (!term) return fallback;
438
+ const value = (term.value || '').toLowerCase();
439
+ if (value === 'true' || value === '1') return true;
440
+ if (value === 'false' || value === '0') return false;
441
+ return fallback;
442
+ };
443
+ const renderTimeProposalFallback = function (slide) {
444
+ const allDayValue = asBoolean(kb.any(subject, ns.sched('allDay')), true);
445
+ const fallbackForm = kb.sym(formsURI + (allDayValue ? '#AllDayForm2' : '#NotAllDayForm2'));
446
+ UI.widgets.appendForm(document, slide, {}, subject, fallbackForm, detailsDoc, complainIfBad);
447
+ };
429
448
  if (wizard) {
430
449
  const forms = [form1, form2, form3];
431
450
  const slides = [];
@@ -433,6 +452,11 @@ const schedulePane = exports.schedulePane = {
433
452
  for (let f = 0; f < forms.length; f++) {
434
453
  const slide = dom.createElement('div');
435
454
  UI.widgets.appendForm(document, slide, {}, subject, forms[f], detailsDoc, complainIfBad);
455
+
456
+ // Some stores end up with form2's ui:Options unresolved; force a usable input form.
457
+ if (f === 1 && !hasFormControls(slide)) {
458
+ renderTimeProposalFallback(slide);
459
+ }
436
460
  slides.push(slide);
437
461
  }
438
462
  const refresh = function () {
@@ -455,7 +479,7 @@ const schedulePane = exports.schedulePane = {
455
479
  }
456
480
  };
457
481
  const b1 = clearElement(naviLeft).appendChild(dom.createElement('button'));
458
- b1.setAttribute('style', inputStyle);
482
+ b1.classList.add('schedulePaneButton');
459
483
  b1.textContent = '<- go back';
460
484
  b1.addEventListener('click', function (_e) {
461
485
  if (currentSlide > 0) {
@@ -464,7 +488,7 @@ const schedulePane = exports.schedulePane = {
464
488
  }
465
489
  }, false);
466
490
  const b2 = clearElement(naviRight).appendChild(dom.createElement('button'));
467
- b2.setAttribute('style', inputStyle);
491
+ b2.classList.add('schedulePaneButton');
468
492
  b2.textContent = 'continue ->';
469
493
  b2.addEventListener('click', function (_e) {
470
494
  if (currentSlide < slides.length - 1) {
@@ -489,7 +513,7 @@ const schedulePane = exports.schedulePane = {
489
513
  insertables.push($rdf.st(subject, ns.sched('ready'), new Date(), detailsDoc));
490
514
  insertables.push($rdf.st(subject, ns.sched('results'), resultsDoc, detailsDoc)); // @@ also link in results
491
515
 
492
- doneButton.setAttribute('style', inputStyle);
516
+ doneButton.classList.add('schedulePaneButton');
493
517
  doneButton.textContent = 'Go to poll';
494
518
  doneButton.addEventListener('click', function (_e) {
495
519
  if (kb.any(subject, ns.sched('ready'))) {
@@ -509,10 +533,10 @@ const schedulePane = exports.schedulePane = {
509
533
  }
510
534
  }, false);
511
535
  const emailButton = dom.createElement('button');
512
- emailButton.setAttribute('style', inputStyle);
536
+ emailButton.classList.add('schedulePaneButton');
513
537
  const emailIcon = emailButton.appendChild(dom.createElement('img'));
514
538
  emailIcon.setAttribute('src', UI.icons.iconBase + 'noun_480183.svg'); // noun_480183.svg
515
- emailIcon.setAttribute('style', buttonIconStyle);
539
+ emailIcon.classList.add('schedulePaneButtonIcon');
516
540
  // emailButton.textContent = 'email invitations'
517
541
  emailButton.addEventListener('click', function (_e) {
518
542
  const title = kb.anyValue(subject, ns.cal('summary')) || kb.anyValue(subject, ns.dc('title')) || '';
@@ -649,7 +673,7 @@ const schedulePane = exports.schedulePane = {
649
673
 
650
674
  // Read or create empty results file
651
675
  function getResults() {
652
- fetcher.nowOrWhenFetched(resultsDoc.uri, (ok, body, response) => {
676
+ fetcher.nowOrWhenFetched(resultsDoc.uri, undefined, (ok, body, response) => {
653
677
  if (!ok) {
654
678
  if (response.status === 404) {
655
679
  // / Check explicitly for 404 error
@@ -729,11 +753,11 @@ const schedulePane = exports.schedulePane = {
729
753
  const matrix = div.appendChild(UI.matrix.matrixForQuery(dom, query, v.time, v.author, v.value, options, function () {}));
730
754
  matrix.setAttribute('class', 'matrix');
731
755
  const refreshButton = dom.createElement('button');
732
- refreshButton.setAttribute('style', inputStyle);
756
+ refreshButton.classList.add('schedulePaneButton');
733
757
  // refreshButton.textContent = 'refresh' // noun_479395.svg
734
758
  const refreshIcon = dom.createElement('img');
735
759
  refreshIcon.setAttribute('src', UI.icons.iconBase + 'noun_479395.svg');
736
- refreshIcon.setAttribute('style', buttonIconStyle);
760
+ refreshIcon.classList.add('schedulePaneButtonIcon');
737
761
  refreshButton.appendChild(refreshIcon);
738
762
  refreshButton.addEventListener('click', function (_e) {
739
763
  refreshButton.disabled = true;
@@ -834,11 +858,11 @@ const schedulePane = exports.schedulePane = {
834
858
  const instanceCreator = kb.any(subject, ns.foaf('maker')); // owner?
835
859
  if (!instanceCreator || instanceCreator.sameTerm(me)) {
836
860
  const editButton = dom.createElement('button');
837
- editButton.setAttribute('style', inputStyle);
861
+ editButton.classList.add('schedulePaneButton');
838
862
  // editButton.textContent = '(Modify the poll)' // noun_344563.svg
839
863
  const editIcon = dom.createElement('img');
840
864
  editIcon.setAttribute('src', UI.icons.iconBase + 'noun_344563.svg');
841
- editIcon.setAttribute('style', buttonIconStyle);
865
+ editIcon.classList.add('schedulePaneButtonIcon');
842
866
  editButton.appendChild(editIcon);
843
867
  editButton.addEventListener('click', function (_e) {
844
868
  clearElement(div);
@@ -856,7 +880,7 @@ const schedulePane = exports.schedulePane = {
856
880
 
857
881
  const div = dom.createElement('div');
858
882
  const structure = div.appendChild(dom.createElement('table')); // @@ make responsive style
859
- structure.setAttribute('style', 'background-color: white; min-width: 40em; min-height: 13em;');
883
+ structure.classList.add('schedulePaneTable');
860
884
  const naviLoginoutTR = structure.appendChild(dom.createElement('tr'));
861
885
  naviLoginoutTR.appendChild(dom.createElement('td'));
862
886
  naviLoginoutTR.appendChild(dom.createElement('td'));
@@ -874,9 +898,7 @@ const schedulePane = exports.schedulePane = {
874
898
  const naviMain = naviTop.appendChild(dom.createElement('td'));
875
899
  naviMain.setAttribute('colspan', '3');
876
900
  const naviMenu = structure.appendChild(dom.createElement('tr'));
877
- naviMenu.setAttribute('class', 'naviMenu');
878
- naviMenu.setAttribute('style', ' text-align: middle; vertical-align: middle; padding-top: 4em; ');
879
- // naviMenu.setAttribute('style', 'margin-top: 3em;')
901
+ naviMenu.classList.add('naviMenu', 'schedulePaneNaviMenu');
880
902
  const naviLeft = naviMenu.appendChild(dom.createElement('td'));
881
903
  const naviCenter = naviMenu.appendChild(dom.createElement('td'));
882
904
  const naviRight = naviMenu.appendChild(dom.createElement('td'));
@@ -884,5 +906,4 @@ const schedulePane = exports.schedulePane = {
884
906
  return div;
885
907
  } // render
886
908
  }; // property list
887
- // ends
888
- //# sourceMappingURL=schedulePane.js.map
909
+ // ends
@@ -76,5 +76,4 @@ const slideshowPane = exports.slideshowPane = {
76
76
  }
77
77
  };
78
78
 
79
- // ends
80
- //# sourceMappingURL=slideshowPane.js.map
79
+ // ends
@@ -427,5 +427,4 @@ const socialPane = exports.socialPane = {
427
427
  return div;
428
428
  } // render()
429
429
  }; //
430
- // ends
431
- //# sourceMappingURL=socialPane.js.map
430
+ // ends