@visns-studio/visns-components 6.21.0 → 6.23.1
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/package.json +1 -1
- package/src/components/DataGrid.jsx +15 -2
- package/src/components/JsonView.jsx +299 -0
- package/src/components/Navigation.jsx +10 -1
- package/src/components/columns/SelectFilterEditor.jsx +372 -0
- package/src/components/controls/DataGridSearch.jsx +6 -1
- package/src/components/phone/ZoomPhoneBadge.jsx +625 -0
- package/src/components/phone/phonePresenceEndpoints.js +34 -0
- package/src/components/phone/phonePresenceHelpers.js +298 -0
- package/src/components/phone/useZoomPhoneLive.js +165 -0
- package/src/components/sms/SmsClientConversations.jsx +8 -0
- package/src/components/sms/SmsInbox.jsx +11 -0
- package/src/components/sms/SmsThreadPanel.jsx +258 -29
- package/src/components/sms/smsHelpers.js +37 -0
- package/src/components/styles/DataGrid.module.scss +10 -0
- package/src/components/styles/GenericDetail.module.scss +12 -2
- package/src/components/styles/JsonView.module.scss +233 -0
- package/src/components/styles/Sms.module.scss +131 -0
- package/src/components/styles/Vault.module.scss +114 -0
- package/src/components/styles/ZoomPhone.module.scss +550 -0
- package/src/components/styles/global-datagrid.css +23 -0
- package/src/components/vault/VaultAccessLog.jsx +24 -0
- package/src/components/vault/VaultEntryForm.jsx +239 -8
- package/src/components/vault/VaultManager.jsx +14 -2
- package/src/components/vault/VaultShareModal.jsx +126 -5
- package/src/components/vault/vaultShares.js +67 -3
- package/src/index.js +49 -2
package/src/index.js
CHANGED
|
@@ -47,6 +47,11 @@ import ImageModal from './components/ImageModal';
|
|
|
47
47
|
import DatePickerPortal from './components/utils/DatePickerPortal';
|
|
48
48
|
import NativeDateFilterEditor from './components/columns/NativeDateFilterEditor';
|
|
49
49
|
import ImportWizardModal from './components/ImportWizardModal';
|
|
50
|
+
// A parsed JSON value as a collapsible tree, plus the rule for deciding whether
|
|
51
|
+
// some text is one worth drawing. Written for the vault's notes — a machine
|
|
52
|
+
// written backup blob in a textarea is unreadable — but there is nothing
|
|
53
|
+
// vault-specific in either half, so both live out here.
|
|
54
|
+
import JsonView, { parseJsonDocument, STRING_PREVIEW_LIMIT } from './components/JsonView';
|
|
50
55
|
export * from './components/columns/ColumnRenderers.jsx';
|
|
51
56
|
|
|
52
57
|
/** Auth Specific Components */
|
|
@@ -197,6 +202,30 @@ import {
|
|
|
197
202
|
toE164,
|
|
198
203
|
} from './components/sms/smsHelpers';
|
|
199
204
|
|
|
205
|
+
// Zoom Phone presence — the header phone chip. ZoomPhoneBadge mounts through
|
|
206
|
+
// Navigation's `renderers` slot and is the whole feature; the helpers are
|
|
207
|
+
// exported for a consumer that wants the same roster somewhere else (a wall
|
|
208
|
+
// board, say) without re-deriving what "available" means.
|
|
209
|
+
import ZoomPhoneBadge from './components/phone/ZoomPhoneBadge';
|
|
210
|
+
import useZoomPhoneLive from './components/phone/useZoomPhoneLive';
|
|
211
|
+
import {
|
|
212
|
+
DEFAULT_ENDPOINTS as DEFAULT_PHONE_PRESENCE_ENDPOINTS,
|
|
213
|
+
makePhonePresenceEndpoints,
|
|
214
|
+
resolvePhonePresenceEndpoints,
|
|
215
|
+
} from './components/phone/phonePresenceEndpoints';
|
|
216
|
+
import {
|
|
217
|
+
STATUS as PHONE_PRESENCE_STATUS,
|
|
218
|
+
applyPresenceEvent,
|
|
219
|
+
callDuration,
|
|
220
|
+
callSummary,
|
|
221
|
+
freshnessLabel,
|
|
222
|
+
onCallCount,
|
|
223
|
+
orderRoster,
|
|
224
|
+
presenceNote,
|
|
225
|
+
statusLabel as phoneStatusLabel,
|
|
226
|
+
statusTone as phoneStatusTone,
|
|
227
|
+
} from './components/phone/phonePresenceHelpers';
|
|
228
|
+
|
|
200
229
|
// Desktop alerts — the browser Notification API behind three gates (support,
|
|
201
230
|
// permission, the user's own switch). Used by the bell and the SMS badge; the
|
|
202
231
|
// module is exported so a consumer can drive it from anywhere else too.
|
|
@@ -281,7 +310,6 @@ import OAuthConnectionStatus from './components/oauth/OAuthConnectionStatus';
|
|
|
281
310
|
import OAuthIntegrationsPage from './components/oauth/OAuthIntegrationsPage';
|
|
282
311
|
import DataSyncWizard from './components/oauth/DataSyncWizard';
|
|
283
312
|
|
|
284
|
-
|
|
285
313
|
export {
|
|
286
314
|
applyUsernameDomain,
|
|
287
315
|
AsyncSelect,
|
|
@@ -371,6 +399,22 @@ export {
|
|
|
371
399
|
displayNumber,
|
|
372
400
|
smsHref,
|
|
373
401
|
telHref,
|
|
402
|
+
// Zoom Phone presence — the header roster.
|
|
403
|
+
ZoomPhoneBadge,
|
|
404
|
+
useZoomPhoneLive,
|
|
405
|
+
DEFAULT_PHONE_PRESENCE_ENDPOINTS,
|
|
406
|
+
makePhonePresenceEndpoints,
|
|
407
|
+
resolvePhonePresenceEndpoints,
|
|
408
|
+
PHONE_PRESENCE_STATUS,
|
|
409
|
+
applyPresenceEvent,
|
|
410
|
+
callDuration,
|
|
411
|
+
callSummary,
|
|
412
|
+
freshnessLabel,
|
|
413
|
+
onCallCount,
|
|
414
|
+
orderRoster,
|
|
415
|
+
presenceNote,
|
|
416
|
+
phoneStatusLabel,
|
|
417
|
+
phoneStatusTone,
|
|
374
418
|
// Page primitives.
|
|
375
419
|
AnchoredMenu,
|
|
376
420
|
Band,
|
|
@@ -440,6 +484,9 @@ export {
|
|
|
440
484
|
ImportWizardModal,
|
|
441
485
|
isCompleteOtp,
|
|
442
486
|
isSuccessBody,
|
|
487
|
+
JsonView,
|
|
488
|
+
parseJsonDocument,
|
|
489
|
+
STRING_PREVIEW_LIMIT,
|
|
443
490
|
Loader,
|
|
444
491
|
Login,
|
|
445
492
|
LogoutScreen,
|
|
@@ -505,4 +552,4 @@ export {
|
|
|
505
552
|
VariableInserter,
|
|
506
553
|
verifyContactFor,
|
|
507
554
|
Verify,
|
|
508
|
-
};
|
|
555
|
+
};
|