solid-panes 4.2.6 → 4.4.1-test.0

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 (143) hide show
  1. package/README.md +45 -1
  2. package/dist/0314353e28ce6e5539af.svg +9 -0
  3. package/dist/04567ff683933c35c465.png +0 -0
  4. package/dist/10163fd9b5a0e00d63a0.png +0 -0
  5. package/dist/1234dcb2eec2e45f252b.png +0 -0
  6. package/dist/20899934157df4db56cb.png +0 -0
  7. package/dist/33760bf79f097f449da5.png +0 -0
  8. package/dist/4cceba29ab33b1ddd9bb.svg +6 -0
  9. package/dist/578d2b6ed32e7624164e.png +0 -0
  10. package/dist/5f62a5b2b7e99b9640c7.png +0 -0
  11. package/dist/6525766ecd288ec60129.png +0 -0
  12. package/dist/7800be6f6c4b5b0f4f20.png +0 -0
  13. package/dist/7b7538c6f6b317968009.svg +9 -0
  14. package/dist/92d03142abe6efc0b42d.svg +6 -0
  15. package/dist/976473cf5fe24d657d4b.png +0 -0
  16. package/dist/RDFXMLPane.css +70 -0
  17. package/dist/RDFXMLPane.d.ts +13 -0
  18. package/dist/RDFXMLPane.d.ts.map +1 -0
  19. package/dist/RDFXMLPane.js +46 -4
  20. package/dist/bda84f59e7216675a208.png +0 -0
  21. package/dist/cd68e8f3990ba8b2139e.png +0 -0
  22. package/dist/dashboard/basicPreferences.d.ts.map +1 -1
  23. package/dist/dashboard/basicPreferences.js +1 -0
  24. package/dist/dashboard/dashboardPane.d.ts.map +1 -1
  25. package/dist/dashboard/dashboardPane.js +9 -3
  26. package/dist/dashboard/homepage.d.ts +1 -1
  27. package/dist/dashboard/homepage.d.ts.map +1 -1
  28. package/dist/dashboard/homepage.js +5 -35
  29. package/dist/dataContentPane.css +271 -0
  30. package/dist/dataContentPane.d.ts +14 -0
  31. package/dist/dataContentPane.d.ts.map +1 -0
  32. package/dist/dataContentPane.js +68 -101
  33. package/dist/defaultPane.css +97 -0
  34. package/dist/defaultPane.d.ts +14 -0
  35. package/dist/defaultPane.d.ts.map +1 -0
  36. package/dist/defaultPane.js +9 -2
  37. package/dist/e7074a7e2cb69e51cfd3.png +0 -0
  38. package/dist/f3772696fb7ee53c23d8.png +0 -0
  39. package/dist/form/formPane.css +120 -0
  40. package/dist/form/pane.d.ts +4 -0
  41. package/dist/form/pane.d.ts.map +1 -0
  42. package/dist/form/pane.js +120 -54
  43. package/dist/home/homePane.d.ts.map +1 -1
  44. package/dist/home/homePane.js +2 -0
  45. package/dist/humanReadablePane.css +129 -0
  46. package/dist/humanReadablePane.d.ts +13 -0
  47. package/dist/humanReadablePane.d.ts.map +1 -0
  48. package/dist/humanReadablePane.js +53 -16
  49. package/dist/icons/clock.svg +7 -0
  50. package/dist/icons/comment.svg +6 -0
  51. package/dist/icons/dashboard.svg +9 -0
  52. package/dist/icons/downArrow.svg +6 -0
  53. package/dist/icons/folder.svg +6 -0
  54. package/dist/icons/friends.svg +9 -0
  55. package/dist/icons/help.svg +8 -0
  56. package/dist/icons/iconHelper.d.ts +2 -0
  57. package/dist/icons/iconHelper.d.ts.map +1 -0
  58. package/dist/icons/iconHelper.js +23 -0
  59. package/dist/icons/menu.svg +8 -0
  60. package/dist/icons/person.svg +6 -0
  61. package/dist/icons/personInCircle.svg +8 -0
  62. package/dist/icons/sharing.svg +10 -0
  63. package/dist/icons/signOut.svg +8 -0
  64. package/dist/icons/signUp.svg +9 -0
  65. package/dist/icons/star.svg +3 -0
  66. package/dist/imagePane.css +4 -0
  67. package/dist/imagePane.d.ts +12 -0
  68. package/dist/imagePane.d.ts.map +1 -0
  69. package/dist/imagePane.js +19 -21
  70. package/dist/index.d.ts +5 -4
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +19 -4
  73. package/dist/internal/internalPane.css +14 -0
  74. package/dist/internal/internalPane.d.ts +1 -0
  75. package/dist/internal/internalPane.d.ts.map +1 -1
  76. package/dist/internal/internalPane.js +6 -6
  77. package/dist/mainPage/footer.d.ts +14 -2
  78. package/dist/mainPage/footer.d.ts.map +1 -1
  79. package/dist/mainPage/footer.js +21 -13
  80. package/dist/mainPage/header.d.ts +16 -1
  81. package/dist/mainPage/header.d.ts.map +1 -1
  82. package/dist/mainPage/header.js +179 -61
  83. package/dist/mainPage/index.d.ts +16 -1
  84. package/dist/mainPage/index.d.ts.map +1 -1
  85. package/dist/mainPage/index.js +61 -7
  86. package/dist/mainPage/menu.css +243 -0
  87. package/dist/mainPage/menu.d.ts +7 -0
  88. package/dist/mainPage/menu.d.ts.map +1 -0
  89. package/dist/mainPage/menu.js +436 -0
  90. package/dist/n3Pane.css +49 -0
  91. package/dist/n3Pane.d.ts +13 -0
  92. package/dist/n3Pane.d.ts.map +1 -0
  93. package/dist/n3Pane.js +36 -4
  94. package/dist/outline/context.d.ts +2 -2
  95. package/dist/outline/context.d.ts.map +1 -1
  96. package/dist/outline/context.js +5 -2
  97. package/dist/outline/manager.css +12 -14
  98. package/dist/outline/manager.js +172 -82
  99. package/dist/outline/userInput.js +6 -3
  100. package/dist/pad/padPane.css +40 -0
  101. package/dist/pad/padPane.d.ts +1 -0
  102. package/dist/pad/padPane.d.ts.map +1 -1
  103. package/dist/pad/padPane.js +33 -22
  104. package/dist/playlist/playlistPane.js +2 -6
  105. package/dist/profileUtils/ownerProfile.d.ts +5 -0
  106. package/dist/profileUtils/ownerProfile.d.ts.map +1 -0
  107. package/dist/profileUtils/ownerProfile.js +84 -0
  108. package/dist/registerPanes.js +12 -12
  109. package/dist/schedule/schedulePane.css +294 -0
  110. package/dist/schedule/schedulePane.d.ts +23 -0
  111. package/dist/schedule/schedulePane.d.ts.map +1 -0
  112. package/dist/schedule/schedulePane.js +161 -61
  113. package/dist/slideshow/slideshowPane.js +1 -1
  114. package/dist/social/editProfileDetails.d.ts +19 -0
  115. package/dist/social/editProfileDetails.d.ts.map +1 -0
  116. package/dist/social/editProfileDetails.js +362 -0
  117. package/dist/social/icons.d.ts +7 -0
  118. package/dist/social/icons.d.ts.map +1 -0
  119. package/dist/social/icons.js +95 -0
  120. package/dist/social/socialPane.css +1464 -0
  121. package/dist/social/socialPane.d.ts +30 -0
  122. package/dist/social/socialPane.d.ts.map +1 -0
  123. package/dist/social/socialPane.js +651 -0
  124. package/dist/social/socialSections.d.ts +77 -0
  125. package/dist/social/socialSections.d.ts.map +1 -0
  126. package/dist/social/socialSections.js +393 -0
  127. package/dist/social/spinner.d.ts +3 -0
  128. package/dist/social/spinner.d.ts.map +1 -0
  129. package/dist/social/spinner.js +13 -0
  130. package/dist/social/triage.d.ts +17 -0
  131. package/dist/social/triage.d.ts.map +1 -0
  132. package/dist/social/triage.js +79 -0
  133. package/dist/solid-panes.js +49544 -18164
  134. package/dist/solid-panes.js.map +1 -1
  135. package/dist/solid-panes.min.js +3884 -240
  136. package/dist/solid-panes.min.js.map +1 -1
  137. package/dist/{style → styles}/tabbedtab.css +0 -281
  138. package/dist/styles/utilities.css +5 -0
  139. package/dist/tabbed/tabbedPane.d.ts.map +1 -1
  140. package/dist/tabbed/tabbedPane.js +2 -0
  141. package/dist/versionInfo.js +14 -14
  142. package/package.json +37 -31
  143. package/dist/socialPane.js +0 -430
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getName = getName;
7
+ exports.getNameOfPodOwner = getNameOfPodOwner;
8
+ exports.loadProfileFromURI = loadProfileFromURI;
9
+ var _rdflib = require("rdflib");
10
+ var _solidUi = require("solid-ui");
11
+ /*
12
+ * Utility functions to help load the profile
13
+ * especially when I am not logged in
14
+ */
15
+
16
+ const DEFAULT_PROFILE_PATH = 'profile/card#me';
17
+ async function loadProfileFromURI(uri, store, fetcher) {
18
+ const pod = uri.site().uri;
19
+ // TODO: This is a hack - we cannot assume that the profile is at this document, but we will live with it for now
20
+ const webId = (0, _rdflib.sym)(`${pod}${DEFAULT_PROFILE_PATH}`);
21
+ try {
22
+ await fetcher.load(webId);
23
+ return webId;
24
+ } catch (err) {
25
+ // continue
26
+ }
27
+
28
+ // we try a prefixed pod structure
29
+ try {
30
+ const uriUrl = new URL(uri.uri);
31
+ const pathSegments = uriUrl.pathname.split('/').filter(Boolean);
32
+ if (pathSegments.length > 0) {
33
+ const derivedPod = `${uriUrl.origin}/${pathSegments[0]}/`;
34
+ const derivedWebId = (0, _rdflib.sym)(`${derivedPod}${DEFAULT_PROFILE_PATH}`);
35
+ await fetcher.load(derivedWebId);
36
+ return derivedWebId;
37
+ }
38
+ } catch (err) {
39
+ // continue
40
+ }
41
+ try {
42
+ await fetcher.load(uri);
43
+ } catch (err) {
44
+ return uri;
45
+ }
46
+ const primaryTopic = store.any(uri, _solidUi.ns.foaf('primaryTopic'), null, uri.doc());
47
+ if (primaryTopic && primaryTopic.termType === 'NamedNode') {
48
+ try {
49
+ await fetcher.load(primaryTopic);
50
+ return primaryTopic;
51
+ } catch (err) {
52
+ return uri;
53
+ }
54
+ }
55
+ return uri;
56
+ }
57
+ async function getNameOfPodOwner(pod, store, fetcher) {
58
+ // TODO: This is a hack - we cannot assume that the profile is at this document, but we will live with it for now
59
+ const webId = (0, _rdflib.sym)(`${pod.uri}${DEFAULT_PROFILE_PATH}`);
60
+ try {
61
+ await fetcher.load(webId);
62
+ return getName(store, webId);
63
+ } catch (err) {
64
+ // continue
65
+ }
66
+
67
+ // we try a prefixed pod structure
68
+ try {
69
+ const uriUrl = new URL(pod.uri);
70
+ const pathSegments = uriUrl.pathname.split('/').filter(Boolean);
71
+ if (pathSegments.length > 0) {
72
+ const derivedPod = `${uriUrl.origin}/${pathSegments[0]}/`;
73
+ const derivedWebId = (0, _rdflib.sym)(`${derivedPod}${DEFAULT_PROFILE_PATH}`);
74
+ await fetcher.load(derivedWebId);
75
+ return getName(store, derivedWebId);
76
+ }
77
+ } catch (err) {
78
+ // continue
79
+ }
80
+ return '';
81
+ }
82
+ function getName(store, ownersProfile) {
83
+ return store.anyValue(ownersProfile, _solidUi.ns.vcard('fn'), null, ownersProfile.doc()) || store.anyValue(ownersProfile, _solidUi.ns.foaf('name'), null, ownersProfile.doc()) || new URL(ownersProfile.uri).host.split('.')[0];
84
+ }
@@ -17,9 +17,9 @@ var _period = _interopRequireDefault(require("./transaction/period.js"));
17
17
  var _meetingPane = _interopRequireDefault(require("meeting-pane"));
18
18
  var _tabbedPane = _interopRequireDefault(require("./tabbed/tabbedPane"));
19
19
  var _chatPane = require("chat-pane");
20
- var _schedulePane = require("./schedule/schedulePane.js");
20
+ var _schedulePane = require("./schedule/schedulePane");
21
21
  var _tripPane = _interopRequireDefault(require("./trip/tripPane.js"));
22
- var _imagePane = require("./imagePane.js");
22
+ var _imagePane = require("./imagePane");
23
23
  var _playlistPane = _interopRequireDefault(require("./playlist/playlistPane.js"));
24
24
  var _videoPane = _interopRequireDefault(require("./video/videoPane.js"));
25
25
  var _audioPane = _interopRequireDefault(require("./audio/audioPane.js"));
@@ -27,15 +27,15 @@ var _dokieliPane = _interopRequireDefault(require("./dokieli/dokieliPane.js"));
27
27
  var _folderPane = _interopRequireDefault(require("folder-pane"));
28
28
  var _classInstancePane = require("./classInstancePane.js");
29
29
  var _slideshowPane = require("./slideshow/slideshowPane.js");
30
- var _socialPane = require("./socialPane.js");
31
- var _humanReadablePane = _interopRequireDefault(require("./humanReadablePane.js"));
32
- var _dataContentPane = require("./dataContentPane.js");
30
+ var _socialPane = require("./social/socialPane");
31
+ var _humanReadablePane = _interopRequireDefault(require("./humanReadablePane"));
32
+ var _dataContentPane = require("./dataContentPane");
33
33
  var _sourcePane = _interopRequireDefault(require("source-pane"));
34
- var _n3Pane = require("./n3Pane.js");
35
- var _RDFXMLPane = require("./RDFXMLPane.js");
36
- var _pane2 = require("./form/pane.js");
34
+ var _n3Pane = require("./n3Pane");
35
+ var _RDFXMLPane = require("./RDFXMLPane");
36
+ var _pane2 = require("./form/pane");
37
37
  var _tableViewPane = require("./tableViewPane.js");
38
- var _defaultPane = require("./defaultPane.js");
38
+ var _defaultPane = require("./defaultPane");
39
39
  var _pane3 = _interopRequireDefault(require("./ui/pane.js"));
40
40
  var _sharingPane = _interopRequireDefault(require("./sharing/sharingPane"));
41
41
  var _internalPane = _interopRequireDefault(require("./internal/internalPane"));
@@ -57,11 +57,11 @@ function registerPanes(register) {
57
57
  const editProfileView = _profilePane.default.editor;
58
58
  if (!editProfileView) {
59
59
  console.log('@@@ editProfileView', 'profilePane is not providing an editor pane');
60
+ } else {
61
+ register(editProfileView); // Edit my profile.
60
62
  }
61
- register(editProfileView); // Edit my profile.
62
-
63
63
  register(_trustedApplications.default); // must be registered before basicPreferences
64
- register(_dashboardPane.default);
64
+ // register(dashboardPane)
65
65
  register(_basicPreferences.default);
66
66
  register(_issuePane.default);
67
67
  register(_contactsPane.default);
@@ -0,0 +1,294 @@
1
+ .schedule-pane__table {
2
+ border-collapse: collapse;
3
+ background-color: white;
4
+ min-width: 40rem;
5
+ min-height: 13rem;
6
+ }
7
+
8
+ .schedule-pane__button {
9
+ background-color: #eef;
10
+ padding: var(--spacing-xs, 0.5rem);
11
+ border: .5rem solid white;
12
+ font-size: 100%;
13
+ }
14
+
15
+ .schedule-pane__button-icon {
16
+ width: var(--icon-sm, 1.8rem);
17
+ height: var(--icon-sm, 1.8rem);
18
+ }
19
+
20
+ .schedule-pane__nav {
21
+ text-align: center;
22
+ vertical-align: middle;
23
+ padding-top: 4rem;
24
+ }
25
+
26
+ .schedule-pane__cell {
27
+ padding: var(--spacing-xs, 0.3rem);
28
+ text-align: center;
29
+ }
30
+
31
+ .schedule-pane__table .schedule-pane__form-heading {
32
+ font-size: 110% !important;
33
+ font-weight: bold;
34
+ color: #888888;
35
+ padding: 0.2em;
36
+ margin: 0.7em 0 !important;
37
+ }
38
+
39
+ .schedule-pane__table .schedule-pane__form-heading--time-proposals {
40
+ margin-bottom: 0 !important;
41
+ }
42
+
43
+ .schedule-pane__table .schedule-pane__panel--time-proposals {
44
+ padding-bottom: 0.9rem !important;
45
+ border: none !important;
46
+ }
47
+
48
+ .schedule-pane__table .schedule-pane__panel {
49
+ padding-left: 0.75rem !important;
50
+ padding-right: 0.75rem !important;
51
+ margin-right: 0.5rem;
52
+ max-width: 100%;
53
+ box-sizing: border-box;
54
+ }
55
+
56
+ @media (max-width: 1024px) {
57
+ .schedule-pane__table .schedule-pane__main-cell {
58
+ padding-left: 0.5rem;
59
+ padding-right: 0.5rem;
60
+ box-sizing: border-box;
61
+ }
62
+
63
+ .schedule-pane__table .schedule-pane__field-row--comment {
64
+ display: flex !important;
65
+ flex-direction: row !important;
66
+ flex-wrap: wrap;
67
+ align-items: flex-start;
68
+ gap: 0.5rem;
69
+ }
70
+
71
+ .schedule-pane__table .schedule-pane__field-row--comment > div:first-child {
72
+ width: auto !important;
73
+ min-width: 4.5rem;
74
+ flex: 0 1 6rem;
75
+ }
76
+
77
+ .schedule-pane__table .schedule-pane__field-value--comment {
78
+ min-width: 0;
79
+ flex: 1 1 20rem;
80
+ width: auto;
81
+ padding-right: 0.25rem;
82
+ box-sizing: border-box;
83
+ }
84
+
85
+ .schedule-pane__table .schedule-pane__field-value--comment .schedule-pane__form-control--textarea,
86
+ .schedule-pane__table .schedule-pane__field-row--comment .schedule-pane__form-control--textarea {
87
+ width: 100% !important;
88
+ max-width: 100% !important;
89
+ min-width: 0 !important;
90
+ box-sizing: border-box;
91
+ margin: 0.2rem 0 0 !important;
92
+ padding: 0.5rem 0.45rem;
93
+ }
94
+ }
95
+
96
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table {
97
+ min-width: 0;
98
+ width: 100%;
99
+ min-height: 0;
100
+ table-layout: fixed;
101
+ }
102
+
103
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table td,
104
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table th {
105
+ min-width: 0;
106
+ max-width: 100%;
107
+ overflow-wrap: anywhere;
108
+ }
109
+
110
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__main-cell {
111
+ padding-left: 0.5rem;
112
+ padding-right: 0.5rem;
113
+ box-sizing: border-box;
114
+ }
115
+
116
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--compact {
117
+ align-items: flex-start;
118
+ gap: 0.25rem;
119
+ }
120
+
121
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--compact .formFieldName {
122
+ width: auto !important;
123
+ min-width: 4.5rem;
124
+ flex: 0 1 5.5rem;
125
+ }
126
+
127
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--compact .formFieldValue {
128
+ min-width: 0;
129
+ flex: 1 1 auto;
130
+ }
131
+
132
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--compact .schedule-pane__form-control {
133
+ width: 100% !important;
134
+ max-width: 100% !important;
135
+ min-width: 0 !important;
136
+ box-sizing: border-box;
137
+ margin: 0.2rem 0 0 !important;
138
+ font-size: var(--font-size-sm, 0.875rem);
139
+ padding: 0.35rem 0.45rem;
140
+ }
141
+
142
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment {
143
+ display: flex !important;
144
+ flex-direction: column !important;
145
+ align-items: stretch;
146
+ gap: 0.25rem;
147
+ }
148
+
149
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment .formFieldName,
150
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment > div:first-child {
151
+ width: auto !important;
152
+ min-width: 0;
153
+ flex: 0 0 auto;
154
+ }
155
+
156
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment .formFieldValue,
157
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment > div:last-child,
158
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-value--comment {
159
+ min-width: 0;
160
+ display: block;
161
+ flex: 1 1 auto;
162
+ width: 100%;
163
+ }
164
+
165
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-row--comment .schedule-pane__form-control--textarea,
166
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__table .schedule-pane__field-value--comment .schedule-pane__form-control--textarea {
167
+ width: 100% !important;
168
+ max-width: 100% !important;
169
+ min-width: 0 !important;
170
+ box-sizing: border-box;
171
+ margin: 0 !important;
172
+ font-size: var(--font-size-sm, 0.875rem);
173
+ padding: 0.35rem 0.45rem;
174
+ min-height: 5.5rem;
175
+ }
176
+
177
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__button {
178
+ padding: 0.4rem;
179
+ border-width: 0.2rem;
180
+ }
181
+
182
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__button-icon {
183
+ width: 1.35rem;
184
+ height: 1.35rem;
185
+ }
186
+
187
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__nav {
188
+ padding-top: 1rem;
189
+ }
190
+
191
+ div.schedule-pane[data-layout='mobile'] .schedule-pane__cell {
192
+ padding: 0.2rem;
193
+ }
194
+
195
+ @media (max-width: 576px) {
196
+ .schedule-pane__table {
197
+ min-width: 0;
198
+ width: 100%;
199
+ min-height: 0;
200
+ table-layout: fixed;
201
+ }
202
+
203
+ .schedule-pane__table td,
204
+ .schedule-pane__table th {
205
+ min-width: 0;
206
+ max-width: 100%;
207
+ overflow-wrap: anywhere;
208
+ }
209
+
210
+ .schedule-pane__table .schedule-pane__main-cell {
211
+ padding-left: 0.5rem;
212
+ padding-right: 0.5rem;
213
+ box-sizing: border-box;
214
+ }
215
+
216
+ .schedule-pane__table .schedule-pane__field-row--compact {
217
+ align-items: flex-start;
218
+ gap: 0.25rem;
219
+ }
220
+
221
+ .schedule-pane__table .schedule-pane__field-row--compact .formFieldName {
222
+ width: auto !important;
223
+ min-width: 4.5rem;
224
+ flex: 0 1 5.5rem;
225
+ }
226
+
227
+ .schedule-pane__table .schedule-pane__field-row--compact .formFieldValue {
228
+ min-width: 0;
229
+ flex: 1 1 auto;
230
+ }
231
+
232
+ .schedule-pane__table .schedule-pane__field-row--compact .schedule-pane__form-control {
233
+ width: 100% !important;
234
+ max-width: 100% !important;
235
+ min-width: 0 !important;
236
+ box-sizing: border-box;
237
+ margin: 0.2rem 0 0 !important;
238
+ font-size: var(--font-size-sm, 0.875rem);
239
+ padding: 0.35rem 0.45rem;
240
+ }
241
+
242
+ .schedule-pane__table .schedule-pane__field-row--comment {
243
+ display: flex !important;
244
+ flex-direction: column !important;
245
+ align-items: stretch;
246
+ gap: 0.25rem;
247
+ }
248
+
249
+ .schedule-pane__table .schedule-pane__field-row--comment .formFieldName,
250
+ .schedule-pane__table .schedule-pane__field-row--comment > div:first-child {
251
+ width: auto !important;
252
+ min-width: 0;
253
+ flex: 0 0 auto;
254
+ }
255
+
256
+ .schedule-pane__table .schedule-pane__field-row--comment .formFieldValue,
257
+ .schedule-pane__table .schedule-pane__field-row--comment > div:last-child,
258
+ .schedule-pane__table .schedule-pane__field-value--comment {
259
+ min-width: 0;
260
+ display: block;
261
+ flex: 1 1 auto;
262
+ width: 100%;
263
+ }
264
+
265
+ .schedule-pane__table .schedule-pane__field-row--comment .schedule-pane__form-control--textarea,
266
+ .schedule-pane__table .schedule-pane__field-value--comment .schedule-pane__form-control--textarea {
267
+ width: 100% !important;
268
+ max-width: 100% !important;
269
+ min-width: 0 !important;
270
+ box-sizing: border-box;
271
+ margin: 0 !important;
272
+ font-size: var(--font-size-sm, 0.875rem);
273
+ padding: 0.35rem 0.45rem;
274
+ min-height: 5.5rem;
275
+ }
276
+
277
+ .schedule-pane__button {
278
+ padding: 0.4rem;
279
+ border-width: 0.2rem;
280
+ }
281
+
282
+ .schedule-pane__button-icon {
283
+ width: 1.35rem;
284
+ height: 1.35rem;
285
+ }
286
+
287
+ .schedule-pane__nav {
288
+ padding-top: 1rem;
289
+ }
290
+
291
+ .schedule-pane__cell {
292
+ padding: 0.2rem;
293
+ }
294
+ }
@@ -0,0 +1,23 @@
1
+ import type { DataBrowserContext } from 'pane-registry';
2
+ import type { NamedNode } from 'rdflib';
3
+ import './schedulePane.css';
4
+ import '../styles/utilities.css';
5
+ type MintOptions = {
6
+ newBase: string;
7
+ useExisting?: NamedNode;
8
+ noIndexHTML?: boolean;
9
+ me?: NamedNode | null;
10
+ newInstance?: NamedNode;
11
+ thisInstance?: NamedNode;
12
+ };
13
+ export declare const schedulePane: {
14
+ icon: string;
15
+ name: string;
16
+ audience: any[];
17
+ label: (subject: NamedNode, context: DataBrowserContext) => "Scheduling poll" | null;
18
+ mintClass: any;
19
+ mintNew: (context: DataBrowserContext, options: MintOptions) => Promise<MintOptions>;
20
+ render: (subject: NamedNode, context: DataBrowserContext) => HTMLDivElement;
21
+ };
22
+ export {};
23
+ //# sourceMappingURL=schedulePane.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedulePane.d.ts","sourceRoot":"","sources":["../../src/schedule/schedulePane.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,SAAS,EAA2C,MAAM,QAAQ,CAAA;AAEhF,OAAO,oBAAoB,CAAA;AAC3B,OAAO,yBAAyB,CAAA;AAkBhC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,EAAE,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB,CAAA;AA2BD,eAAO,MAAM,YAAY;;;;qBAQG,SAAS,WAAW,kBAAkB;;uBAYpC,kBAAkB,WAAW,WAAW;sBAwSzC,SAAS,WAAW,kBAAkB;CAygClE,CAAA"}